cortex-react-components 1.52.5 → 1.52.7
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-UBA3ZRKC.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
- package/dist/{chunk-5YTDIEDJ.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-W7IJKJZC.mjs → chunk-2LC4EYF7.mjs} +1 -1
- package/dist/{chunk-WVDIFSZH.mjs → chunk-36IPIP4Y.mjs} +1 -1
- package/dist/{chunk-Y2KKUQDU.mjs → chunk-3IUQUN6R.mjs} +1 -1
- package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
- package/dist/{chunk-NXYL4UBB.mjs → chunk-5AVM2WWT.mjs} +1 -1
- package/dist/{chunk-C3JUPZ34.mjs → chunk-6PFTCPKQ.mjs} +1 -1
- package/dist/{chunk-TCLCV3LW.mjs → chunk-6W42A4VY.mjs} +1 -1
- package/dist/{chunk-YVDQBQ2H.mjs → chunk-AQPPHJYT.mjs} +1 -1
- package/dist/chunk-CW4LB3UU.mjs +1 -0
- package/dist/{chunk-GBXJMA7G.mjs → chunk-E6WRDHEH.mjs} +1 -1
- package/dist/{chunk-N42N4DBZ.mjs → chunk-EYEUGIEZ.mjs} +1 -1
- package/dist/{chunk-BCAE5YI2.mjs → chunk-F4BXMU2F.mjs} +1 -1
- package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
- package/dist/{chunk-7RCXCEKM.mjs → chunk-FUPFWOHH.mjs} +1 -1
- package/dist/{chunk-BRYZOZKY.mjs → chunk-FZFHGTZB.mjs} +1 -1
- package/dist/chunk-G7KHLVD3.mjs +1 -0
- package/dist/{chunk-TNAP6TO7.mjs → chunk-GTD5N7GH.mjs} +1 -1
- package/dist/{chunk-TWXXQQ2R.mjs → chunk-GTHQG4I4.mjs} +1 -1
- package/dist/{chunk-AAI2VZST.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/chunk-IQ4OBCKJ.mjs +4 -0
- package/dist/{chunk-2LJVMEWU.mjs → chunk-ISZD24DJ.mjs} +1 -1
- package/dist/{chunk-NPT5XX2I.mjs → chunk-IVFRIMKP.mjs} +1 -1
- package/dist/{chunk-BYNGPRHW.mjs → chunk-K7NWCLN3.mjs} +1 -1
- package/dist/{chunk-YOASVS2O.mjs → chunk-LQNF72HZ.mjs} +1 -1
- package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
- package/dist/{chunk-6NHBVSPJ.mjs → chunk-MIEA2HVE.mjs} +1 -1
- package/dist/chunk-P2NZLGKD.mjs +1 -0
- package/dist/{chunk-KPIWBWE2.mjs → chunk-PXZ36U3P.mjs} +1 -1
- package/dist/{chunk-4OXDF7DO.mjs → chunk-PZ24BROJ.mjs} +1 -1
- package/dist/{chunk-ATBVXV4P.mjs → chunk-QBQFXNGD.mjs} +1 -1
- package/dist/{chunk-SJ63EKON.mjs → chunk-QLNQHPNP.mjs} +1 -1
- package/dist/{chunk-2CGADBJZ.mjs → chunk-QM2W7CB7.mjs} +1 -1
- package/dist/{chunk-KEUZSK3N.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-6XPEWLMB.mjs → chunk-QNPY7PXF.mjs} +1 -1
- package/dist/{chunk-A6RIVBDI.mjs → chunk-UOVG5V74.mjs} +1 -1
- package/dist/{chunk-TLVJ4LEU.mjs → chunk-UW57YIIJ.mjs} +1 -1
- package/dist/{chunk-UCM3YK2P.mjs → chunk-VTXQSH5T.mjs} +1 -1
- package/dist/{chunk-3QZJOADY.mjs → chunk-VUEUCN5H.mjs} +1 -1
- package/dist/{chunk-H4QS5ON5.mjs → chunk-WBNYJISJ.mjs} +1 -1
- package/dist/{chunk-ARDUHBRG.mjs → chunk-WSOSC6WV.mjs} +1 -1
- package/dist/{chunk-3BUDBFWP.mjs → chunk-YS3Z4KM7.mjs} +1 -1
- package/dist/{chunk-LI327LRM.mjs → chunk-YVKLIY64.mjs} +1 -1
- package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
- package/dist/chunk-ZR4DUVVN.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.js +181 -181
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.js +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.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/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsList.d.ts +2 -2
- package/dist/components/Layouts/NewsList.js +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/NewsList.stories.js +1 -1
- package/dist/components/Layouts/NewsList.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.js +180 -180
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +180 -180
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.d.ts +2 -2
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/index.js +2 -2
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-AD7PG4E2.mjs +0 -1
- package/dist/chunk-IG5RFSL5.mjs +0 -4
- package/dist/chunk-OGB5WICP.mjs +0 -1
- package/dist/chunk-SBQGXEDZ.mjs +0 -1
- package/dist/chunk-XDP6BKTK.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ve=Object.create;var j=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Ue=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,_e=Object.prototype.hasOwnProperty;var je=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},be=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ue(t))!_e.call(e,a)&&a!==r&&j(e,a,{get:()=>t[a],enumerable:!(o=Oe(t,a))||o.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?Ve(We(e)):{},be(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),Ye=e=>be(j({},"__esModule",{value:!0}),e);var zt={};je(zt,{BlogListSection:()=>Tt});module.exports=Ye(zt);var Ne=require("clsx");var te="-",qe=e=>{let t=Ke(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(te);return n[0]===""&&n.length!==1&&n.shift(),ye(n,t)||Je(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&o[i]?[...c,...o[i]]:c}}},ye=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ye(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(te);return(i=t.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},he=/^\[(.+)\]$/,Je=e=>{if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ke=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ze(Object.entries(e.classGroups),r).forEach(([s,i])=>{ee(i,o,s,t)}),o},ee=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:xe(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Xe(a)){ee(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,i])=>{ee(i,xe(t,s),r,o)})})},xe=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Xe=e=>e.isThemeGetter,Ze=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[t+i,n])):s);return[r,a]}):e,Qe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){r.has(s)?r.set(s,i):a(s,i)}}},ve="!",et=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,i=n=>{let c=[],d=0,b=0,p;for(let h=0;h<n.length;h++){let v=n[h];if(d===0){if(v===a&&(o||n.slice(h,h+s)===t)){c.push(n.slice(b,h)),b=h+s;continue}if(v==="/"){p=h;continue}}v==="["?d++:v==="]"&&d--}let f=c.length===0?n:n.substring(b),P=f.startsWith(ve),N=P?f.substring(1):f,y=p&&p>b?p-b:void 0;return{modifiers:c,hasImportantModifier:P,baseClassName:N,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:i}):i},tt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},rt=e=>({cache:Qe(e.cacheSize),parseClassName:et(e),...qe(e)}),ot=/\s+/,nt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],i=e.trim().split(ot),n="";for(let c=i.length-1;c>=0;c-=1){let d=i[c],{modifiers:b,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:P}=r(d),N=!!P,y=o(N?f.substring(0,P):f);if(!y){if(!N){n=d+(n.length>0?" "+n:n);continue}if(y=o(f),!y){n=d+(n.length>0?" "+n:n);continue}N=!1}let h=tt(b).join(":"),v=p?h+ve:h,w=v+y;if(s.includes(w))continue;s.push(w);let B=a(y,N);for(let L=0;L<B.length;++L){let U=B[L];s.push(v+U)}n=d+(n.length>0?" "+n:n)}return n};function st(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=we(t))&&(o&&(o+=" "),o+=r);return o}var we=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=we(e[o]))&&(r&&(r+=" "),r+=t);return r};function at(e,...t){let r,o,a,s=i;function i(c){let d=t.reduce((b,p)=>p(b),e());return r=rt(d),o=r.cache.get,a=r.cache.set,s=n,n(c)}function n(c){let d=o(c);if(d)return d;let b=nt(c,r);return a(c,b),b}return function(){return s(st.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,lt=new Set(["px","full","screen"]),ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ut=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>D(e)||lt.has(e)||it.test(e),T=e=>$(e,"length",wt),D=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>$(e,"number",D),V=e=>!!e&&Number.isInteger(Number(e)),mt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ce.test(e),z=e=>ct.test(e),ft=new Set(["length","size","percentage"]),bt=e=>$(e,ft,ke),ht=e=>$(e,"position",ke),xt=new Set(["image","url"]),yt=e=>$(e,xt,kt),vt=e=>$(e,"",Ct),O=()=>!0,$=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},wt=e=>dt.test(e)&&!pt.test(e),ke=()=>!1,Ct=e=>ut.test(e),kt=e=>gt.test(e);var Pt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),a=u("borderColor"),s=u("borderRadius"),i=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),d=u("grayscale"),b=u("hueRotate"),p=u("invert"),f=u("gap"),P=u("gradientColorStops"),N=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),v=u("opacity"),w=u("padding"),B=u("saturate"),L=u("scale"),U=u("sepia"),ce=u("skew"),de=u("space"),pe=u("translate"),q=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],m=()=>[l,t],ue=()=>["",M,T],W=()=>["auto",D,l],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],me=()=>["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"],F=()=>["","0",l],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[M,T],blur:["none","",z,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:m(),borderWidth:ue(),contrast:R(),grayscale:F(),hueRotate:R(),invert:F(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[mt,T],inset:K(),margin:K(),opacity:R(),padding:m(),saturate:R(),scale:R(),sepia:F(),skew:R(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"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:[...ge(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"font-family":[{font:[O]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,T]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),ht]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},yt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[M,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,vt]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[p]}],saturate:[{saturate:[B]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[V,l]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[ce]}],"skew-y":[{"skew-y":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,T,Q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=at(Pt);function x(...e){return Pe((0,Ne.clsx)(e))}var Re=require("react/jsx-runtime");function Se({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=x("container",t&&"full-width",r&&"no-padding",o);return(0,Re.jsx)("div",{className:a,children:e})}var Te=Z(require("next/image"));var Me=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${a}`};function ze({blogs:e}){return(0,Re.jsx)("div",{children:e&&e.length>0&&(0,Re.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Re.jsx)(Nt,{post:t,id:r},r))})})}var Nt=({post:e,id:t})=>{let{slug:r,image:o,authors:a,categories:s,title:i,description:n,publishedAt:c}=e;return(0,Re.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Re.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Re.jsx)(Te.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Re.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Re.jsxs)("div",{children:[(0,Re.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Re.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Me(e.publishedAt)}),e.categories&&e.categories.map((d,b)=>(0,Re.jsx)("a",{href:`#${d}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},b))]}),(0,Re.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Re.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Re.jsxs)("a",{href:e.slug,children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Re.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,Re.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:a&&a.map((d,b)=>(0,Re.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[d.image?(0,Re.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Re.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Re.jsx)("div",{className:"text-sm/6",children:(0,Re.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},b))})]})]},t)};var E=require("next/navigation");var A=Z(require("react"));var re=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var oe=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));oe.displayName="CardHeader";var ne=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));ne.displayName="CardTitle";var St=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));St.displayName="CardDescription";var se=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));se.displayName="CardContent";var Rt=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));Rt.displayName="CardFooter";var Le=require("lucide-react"),qt=x("transition-colors duration-400 hover:text-primary ease-in-out");function Ae({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:a}=(0,E.useRouter)();function s(i){let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,Re.jsxs)(re,{children:[(0,Re.jsx)(oe,{children:(0,Re.jsx)(ne,{className:"text-accent",children:e&&e})}),(0,Re.jsx)(se,{children:t&&t.length>0&&(0,Re.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Re.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Re.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(i.href)},children:[i.label,(0,Re.jsx)(Le.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ie=require("@radix-ui/react-slot"),De=require("class-variance-authority"),$e=Z(require("react")),Mt=(0,De.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),ae=$e.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,Re.jsx)(e?Ie.Slot:"button",{className:x(Mt({className:t,size:r,variant:o})),ref:s,...a}));ae.displayName="Button";var Y=require("react-icons/fa6"),Ge=require("react"),ie=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function He({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:a,page:s}=e,[i,n]=(0,Ge.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&i.start>1?n(f=>({start:f.start-1,end:f.end-1})):p==="right"&&i.end<a&&n(f=>({start:f.start+1,end:f.end+1}))};function d(p){let f=new URLSearchParams(t);p?f.set("page",p):f.delete("page"),o(`${r}?${f.toString()}`)}if(a<=1)return null;let b=[];for(let p=i.start;p<=i.end;p++)b.push(p);return(0,Re.jsx)("div",{className:"mt-12",children:(0,Re.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[i.start>1&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Re.jsx)(Y.FaArrowLeft,{})})}),b.map((p,f)=>(0,Re.jsx)("li",{children:(0,Re.jsx)("a",{className:x(ie,p===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:P=>{P.preventDefault(),d(p.toString())},children:p})},f)),i.end<a&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Re.jsx)(Y.FaArrowRight,{})})})]})})}function Fe({types:e}){let[t,r]=(0,Ge.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),a=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function i(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),s(`${a}?${c.toString()}`)}return(0,Re.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Re.jsx)(ae,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(n.href),children:n.label},c))})}function Tt({blogs:e,pages:t,categories:r,types:o}){return(0,Re.jsx)("section",{children:(0,Re.jsx)(Se,{children:(0,Re.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Re.jsxs)("div",{children:[o&&(0,Re.jsx)(Fe,{types:o}),(0,Re.jsx)(ze,{blogs:e}),(0,Re.jsx)(He,{pages:t})]}),(0,Re.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Re.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Re.jsx)(Ae,{links:r.links,title:r.title})})})]})})})}0&&(module.exports={BlogListSection});
|
|
4
|
+
"use strict";var Ue=Object.create;var j=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var Ve=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,We=Object.prototype.hasOwnProperty;var _e=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},fe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ve(t))!We.call(e,i)&&i!==r&&j(e,i,{get:()=>t[i],enumerable:!(o=Be(t,i))||o.enumerable});return e};var be=(e,t,r)=>(r=e!=null?Ue(Oe(e)):{},fe(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),je=e=>fe(j({},"__esModule",{value:!0}),e);var Tt={};_e(Tt,{BlogListSection:()=>Mt});module.exports=je(Tt);var Ne=require("clsx");var ee="-",Ye=e=>{let t=Je(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let n=a.split(ee);return n[0]===""&&n.length!==1&&n.shift(),ye(n,t)||qe(a)},getConflictingClassGroupIds:(a,n)=>{let c=r[a]||[];return n&&o[a]?[...c,...o[a]]:c}}},ye=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),i=o?ye(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;let s=e.join(ee);return(a=t.validators.find(({validator:n})=>n(s)))==null?void 0:a.classGroupId},he=/^\[(.+)\]$/,qe=e=>{if(he.test(e)){let t=he.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,o={nextPart:new Map,validators:[]};return Xe(Object.entries(e.classGroups),r).forEach(([s,a])=>{Q(a,o,s,t)}),o},Q=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){let s=i===""?t:xe(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(Ke(i)){Q(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{Q(a,xe(t,s),r,o)})})},xe=(e,t)=>{let r=e;return t.split(ee).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ke=e=>e.isThemeGetter,Xe=(e,t)=>t?e.map(([r,o])=>{let i=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,n])=>[t+a,n])):s);return[r,i]}):e,Ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},ve="!",Qe=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,i=t[0],s=t.length,a=n=>{let c=[],p=0,b=0,d;for(let h=0;h<n.length;h++){let v=n[h];if(p===0){if(v===i&&(o||n.slice(h,h+s)===t)){c.push(n.slice(b,h)),b=h+s;continue}if(v==="/"){d=h;continue}}v==="["?p++:v==="]"&&p--}let m=c.length===0?n:n.substring(b),P=m.startsWith(ve),N=P?m.substring(1):m,y=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:P,baseClassName:N,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:a}):a},et=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},tt=e=>({cache:Ze(e.cacheSize),parseClassName:Qe(e),...Ye(e)}),rt=/\s+/,ot=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,s=[],a=e.trim().split(rt),n="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:b,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:P}=r(p),N=!!P,y=o(N?m.substring(0,P):m);if(!y){if(!N){n=p+(n.length>0?" "+n:n);continue}if(y=o(m),!y){n=p+(n.length>0?" "+n:n);continue}N=!1}let h=et(b).join(":"),v=d?h+ve:h,w=v+y;if(s.includes(w))continue;s.push(w);let F=i(y,N);for(let z=0;z<F.length;++z){let O=F[z];s.push(v+O)}n=p+(n.length>0?" "+n:n)}return n};function nt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=we(t))&&(o&&(o+=" "),o+=r);return o}var we=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=we(e[o]))&&(r&&(r+=" "),r+=t);return r};function st(e,...t){let r,o,i,s=a;function a(c){let p=t.reduce((b,d)=>d(b),e());return r=tt(p),o=r.cache.get,i=r.cache.set,s=n,n(c)}function n(c){let p=o(c);if(p)return p;let b=ot(c,r);return i(c,b),b}return function(){return s(nt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,at=/^\d+\/\d+$/,it=new Set(["px","full","screen"]),lt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ct=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,pt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>D(e)||it.has(e)||at.test(e),T=e=>$(e,"length",vt),D=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>$(e,"number",D),B=e=>!!e&&Number.isInteger(Number(e)),gt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ce.test(e),L=e=>lt.test(e),mt=new Set(["length","size","percentage"]),ft=e=>$(e,mt,ke),bt=e=>$(e,"position",ke),ht=new Set(["image","url"]),xt=e=>$(e,ht,Ct),yt=e=>$(e,"",wt),V=()=>!0,$=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},vt=e=>ct.test(e)&&!dt.test(e),ke=()=>!1,wt=e=>pt.test(e),Ct=e=>ut.test(e);var kt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),i=u("borderColor"),s=u("borderRadius"),a=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),p=u("grayscale"),b=u("hueRotate"),d=u("invert"),m=u("gap"),P=u("gradientColorStops"),N=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),v=u("opacity"),w=u("padding"),F=u("saturate"),z=u("scale"),O=u("sepia"),le=u("skew"),ce=u("space"),de=u("translate"),q=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],g=()=>[l,t],pe=()=>["",M,T],W=()=>["auto",D,l],ue=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],ge=()=>["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",l],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[M,T],blur:["none","",L,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",L,l],borderSpacing:g(),borderWidth:pe(),contrast:R(),grayscale:U(),hueRotate:R(),invert:U(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[gt,T],inset:K(),margin:K(),opacity:R(),padding:g(),saturate:R(),scale:R(),sepia:U(),skew:R(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"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:[...ue(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",B,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",B,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[B,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,T]}],"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:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,T]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ue(),bt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ft]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[M,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,yt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,l]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[F]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[B,l]}],"translate-x":[{"translate-x":[de]}],"translate-y":[{"translate-y":[de]}],"skew-x":[{"skew-x":[le]}],"skew-y":[{"skew-y":[le]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,T,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"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=st(kt);function x(...e){return Pe((0,Ne.clsx)(e))}var Re=require("react/jsx-runtime");function Se({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let i=x("container",t&&"full-width",r&&"no-padding",o);return(0,Re.jsx)("div",{className:i,children:e})}var Me=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),i=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(a=>{if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${i}`};function Te({blogs:e}){return(0,Re.jsx)("div",{children:e&&e.length>0&&(0,Re.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Re.jsx)(Pt,{post:t,id:r},r))})})}var Pt=({post:e,id:t})=>{var n,c;let{slug:r,authors:o,categories:i,title:s,publishedAt:a}=e;return(0,Re.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Re.jsx)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:(0,Re.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})}),(0,Re.jsxs)("div",{children:[(0,Re.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Re.jsx)("time",{dateTime:(n=e.publishedAt)!=null?n:void 0,className:"text-foreground",children:Me((c=e.publishedAt)!=null?c:"")}),e.categories&&e.categories.map((p,b)=>(0,Re.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p.title},b))]}),(0,Re.jsx)("div",{className:"group relative max-w-xl",children:(0,Re.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Re.jsxs)("a",{href:e.slug||"#",children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Re.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((p,b)=>{var d;return(0,Re.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[p.profilePicture?(0,Re.jsx)("img",{alt:p.name||"Author",src:((d=p.profilePicture)==null?void 0:d.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Re.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Re.jsx)("div",{className:"text-sm/6",children:(0,Re.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},b)})})]})]},t)};var E=require("next/navigation");var A=be(require("react"));var te=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";var re=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));re.displayName="CardHeader";var oe=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));oe.displayName="CardTitle";var Nt=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));Nt.displayName="CardDescription";var ne=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));ne.displayName="CardContent";var St=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));St.displayName="CardFooter";var Le=require("lucide-react"),Yt=x("transition-colors duration-400 hover:text-primary ease-in-out");function ze({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:i}=(0,E.useRouter)();function s(a){let n=new URLSearchParams(r);a?n.set("category",a):n.delete("category"),i(`${o}?${n.toString()}`)}return(0,Re.jsxs)(te,{children:[(0,Re.jsx)(re,{children:(0,Re.jsx)(oe,{className:"text-accent",children:e&&e})}),(0,Re.jsx)(ne,{children:t&&t.length>0&&(0,Re.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Re.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((a,n)=>(0,Re.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(a.href)},children:[a.label,(0,Re.jsx)(Le.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ae=require("@radix-ui/react-slot"),Ie=require("class-variance-authority"),De=be(require("react")),Rt=(0,Ie.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),se=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...i},s)=>(0,$e.jsx)(e?Ae.Slot:"button",{className:x(Rt({className:t,size:r,variant:o})),ref:s,...i}));se.displayName="Button";var Y=require("react-icons/fa6"),Ee=require("react"),ae=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Ge({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:i,page:s}=e,[a,n]=(0,Ee.useState)({start:s>3?s-3:1,end:s+2}),c=d=>{d==="left"&&a.start>1?n(m=>({start:m.start-1,end:m.end-1})):d==="right"&&a.end<i&&n(m=>({start:m.start+1,end:m.end+1}))};function p(d){let m=new URLSearchParams(t);d?m.set("page",d):m.delete("page"),o(`${r}?${m.toString()}`)}if(i<=1)return null;let b=[];for(let d=a.start;d<=a.end;d++)b.push(d);return(0,Re.jsx)("div",{className:"mt-12",children:(0,Re.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[a.start>1&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ae,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Re.jsx)(Y.FaArrowLeft,{})})}),b.map((d,m)=>(0,Re.jsx)("li",{children:(0,Re.jsx)("a",{className:x(ae,d===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:P=>{P.preventDefault(),p(d.toString())},children:d})},m)),a.end<i&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ae,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Re.jsx)(Y.FaArrowRight,{})})})]})})}function Fe({types:e}){let[t,r]=(0,Ee.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),i=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function a(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),s(`${i}?${c.toString()}`)}return(0,Re.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Re.jsx)(se,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>a(n.href),children:n.label},c))})}function Mt({blogs:e,pages:t,categories:r,types:o}){return(0,Re.jsx)("section",{children:(0,Re.jsx)(Se,{children:(0,Re.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Re.jsxs)("div",{children:[o&&(0,Re.jsx)(Fe,{types:o}),(0,Re.jsx)(Te,{blogs:e}),(0,Re.jsx)(Ge,{pages:t})]}),(0,Re.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Re.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Re.jsx)(ze,{links:r.links,title:r.title})})})]})})})}0&&(module.exports={BlogListSection});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-P2NZLGKD.mjs";import"../chunk-G7KHLVD3.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogListSection};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ye=Object.create;var j=Object.defineProperty;var qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty;var Xe=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},ve=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!Ke.call(e,a)&&a!==r&&j(e,a,{get:()=>t[a],enumerable:!(o=qe(t,a))||o.enumerable});return e};var Q=(e,t,r)=>(r=e!=null?Ye(Je(e)):{},ve(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),Qe=e=>ve(j({},"__esModule",{value:!0}),e);var Bt={};Xe(Bt,{Default:()=>q,LoadsOfBlogs:()=>_e,NoCategories:()=>je,default:()=>$t});module.exports=Qe(Bt);var Me=require("clsx");var re="-",et=e=>{let t=rt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(re);return n[0]===""&&n.length!==1&&n.shift(),Pe(n,t)||tt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&o[i]?[...c,...o[i]]:c}}},Pe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?Pe(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(re);return(i=t.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},we=/^\[(.+)\]$/,tt=e=>{if(we.test(e)){let t=we.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return nt(Object.entries(e.classGroups),r).forEach(([s,i])=>{te(i,o,s,t)}),o},te=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:Ce(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(ot(a)){te(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,i])=>{te(i,Ce(t,s),r,o)})})},Ce=(e,t)=>{let r=e;return t.split(re).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},ot=e=>e.isThemeGetter,nt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[t+i,n])):s);return[r,a]}):e,st=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){r.has(s)?r.set(s,i):a(s,i)}}},ke="!",at=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,i=n=>{let c=[],d=0,b=0,p;for(let h=0;h<n.length;h++){let v=n[h];if(d===0){if(v===a&&(o||n.slice(h,h+s)===t)){c.push(n.slice(b,h)),b=h+s;continue}if(v==="/"){p=h;continue}}v==="["?d++:v==="]"&&d--}let f=c.length===0?n:n.substring(b),k=f.startsWith(ke),S=k?f.substring(1):f,y=p&&p>b?p-b:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:i}):i},it=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},lt=e=>({cache:st(e.cacheSize),parseClassName:at(e),...et(e)}),ct=/\s+/,dt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],i=e.trim().split(ct),n="";for(let c=i.length-1;c>=0;c-=1){let d=i[c],{modifiers:b,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:k}=r(d),S=!!k,y=o(S?f.substring(0,k):f);if(!y){if(!S){n=d+(n.length>0?" "+n:n);continue}if(y=o(f),!y){n=d+(n.length>0?" "+n:n);continue}S=!1}let h=it(b).join(":"),v=p?h+ke:h,w=v+y;if(s.includes(w))continue;s.push(w);let F=a(y,S);for(let A=0;A<F.length;++A){let U=F[A];s.push(v+U)}n=d+(n.length>0?" "+n:n)}return n};function pt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Se(t))&&(o&&(o+=" "),o+=r);return o}var Se=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Se(e[o]))&&(r&&(r+=" "),r+=t);return r};function ut(e,...t){let r,o,a,s=i;function i(c){let d=t.reduce((b,p)=>p(b),e());return r=lt(d),o=r.cache.get,a=r.cache.set,s=n,n(c)}function n(c){let d=o(c);if(d)return d;let b=dt(c,r);return a(c,b),b}return function(){return s(pt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,gt=/^\d+\/\d+$/,mt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>D(e)||mt.has(e)||gt.test(e),M=e=>$(e,"length",Tt),D=e=>!!e&&!Number.isNaN(Number(e)),ee=e=>$(e,"number",D),O=e=>!!e&&Number.isInteger(Number(e)),vt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ne.test(e),L=e=>ft.test(e),wt=new Set(["length","size","percentage"]),Ct=e=>$(e,wt,Te),Pt=e=>$(e,"position",Te),kt=new Set(["image","url"]),St=e=>$(e,kt,Mt),Nt=e=>$(e,"",Rt),V=()=>!0,$=(e,t,r)=>{let o=Ne.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Tt=e=>bt.test(e)&&!ht.test(e),Te=()=>!1,Rt=e=>xt.test(e),Mt=e=>yt.test(e);var Lt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),a=u("borderColor"),s=u("borderRadius"),i=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),d=u("grayscale"),b=u("hueRotate"),p=u("invert"),f=u("gap"),k=u("gradientColorStops"),S=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),v=u("opacity"),w=u("padding"),F=u("saturate"),A=u("scale"),U=u("sepia"),ge=u("skew"),me=u("space"),fe=u("translate"),Z=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],m=()=>[l,t],be=()=>["",R,M],W=()=>["auto",D,l],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],xe=()=>["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"],H=()=>["","0",l],ye=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,M],blur:["none","",L,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",L,l],borderSpacing:m(),borderWidth:be(),contrast:T(),grayscale:H(),hueRotate:T(),invert:H(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[vt,M],inset:K(),margin:K(),opacity:T(),padding:m(),saturate:T(),scale:T(),sepia:H(),skew:T(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":ye()}],"break-before":[{"break-before":ye()}],"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:[...he(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",O,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",O,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",O,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[O,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ee]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,ee]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,M]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),Pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ct]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},St]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[R,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,Nt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,l]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[p]}],saturate:[{saturate:[F]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[O,l]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[ge]}],"skew-y":[{"skew-y":[ge]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,M,ee]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Re=ut(Lt);function x(...e){return Re((0,Me.clsx)(e))}var Ae=require("react/jsx-runtime");function Le({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=x("container",t&&"full-width",r&&"no-padding",o);return(0,Ae.jsx)("div",{className:a,children:e})}var Ie=Q(require("next/image"));var ze=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${a}`};function De({blogs:e}){return(0,Ae.jsx)("div",{children:e&&e.length>0&&(0,Ae.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Ae.jsx)(At,{post:t,id:r},r))})})}var At=({post:e,id:t})=>{let{slug:r,image:o,authors:a,categories:s,title:i,description:n,publishedAt:c}=e;return(0,Ae.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Ae.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Ae.jsx)(Ie.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ae.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Ae.jsxs)("div",{children:[(0,Ae.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Ae.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:ze(e.publishedAt)}),e.categories&&e.categories.map((d,b)=>(0,Ae.jsx)("a",{href:`#${d}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},b))]}),(0,Ae.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Ae.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Ae.jsxs)("a",{href:e.slug,children:[(0,Ae.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Ae.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,Ae.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:a&&a.map((d,b)=>(0,Ae.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[d.image?(0,Ae.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Ae.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Ae.jsx)("div",{className:"text-sm/6",children:(0,Ae.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Ae.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},b))})]})]},t)};var B=require("next/navigation");var z=Q(require("react"));var oe=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));oe.displayName="Card";var ne=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));ne.displayName="CardHeader";var se=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));se.displayName="CardTitle";var zt=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));zt.displayName="CardDescription";var ae=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));ae.displayName="CardContent";var It=z.forwardRef(({className:e,...t},r)=>(0,Ae.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));It.displayName="CardFooter";var $e=require("lucide-react"),er=x("transition-colors duration-400 hover:text-primary ease-in-out");function Be({title:e,links:t}){let r=(0,B.useSearchParams)(),o=(0,B.usePathname)(),{replace:a}=(0,B.useRouter)();function s(i){let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,Ae.jsxs)(oe,{children:[(0,Ae.jsx)(ne,{children:(0,Ae.jsx)(se,{className:"text-accent",children:e&&e})}),(0,Ae.jsx)(ae,{children:t&&t.length>0&&(0,Ae.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ae.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Ae.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(i.href)},children:[i.label,(0,Ae.jsx)($e.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ee=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Fe=Q(require("react")),Dt=(0,Ge.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),ie=Fe.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,Ae.jsx)(e?Ee.Slot:"button",{className:x(Dt({className:t,size:r,variant:o})),ref:s,...a}));ie.displayName="Button";var Y=require("react-icons/fa6"),Oe=require("react"),le=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Ve({pages:e}){let t=(0,B.useSearchParams)(),r=(0,B.usePathname)(),{replace:o}=(0,B.useRouter)(),{totalPages:a,page:s}=e,[i,n]=(0,Oe.useState)({start:s>3?s-3:1,end:s+2}),c=p=>{p==="left"&&i.start>1?n(f=>({start:f.start-1,end:f.end-1})):p==="right"&&i.end<a&&n(f=>({start:f.start+1,end:f.end+1}))};function d(p){let f=new URLSearchParams(t);p?f.set("page",p):f.delete("page"),o(`${r}?${f.toString()}`)}if(a<=1)return null;let b=[];for(let p=i.start;p<=i.end;p++)b.push(p);return(0,Ae.jsx)("div",{className:"mt-12",children:(0,Ae.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[i.start>1&&(0,Ae.jsx)("li",{children:(0,Ae.jsx)("button",{className:x(le,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Ae.jsx)(Y.FaArrowLeft,{})})}),b.map((p,f)=>(0,Ae.jsx)("li",{children:(0,Ae.jsx)("a",{className:x(le,p===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:k=>{k.preventDefault(),d(p.toString())},children:p})},f)),i.end<a&&(0,Ae.jsx)("li",{children:(0,Ae.jsx)("button",{className:x(le,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Ae.jsx)(Y.FaArrowRight,{})})})]})})}function We({types:e}){let[t,r]=(0,Oe.useState)(e&&e[0].href),o=(0,B.useSearchParams)(),a=(0,B.usePathname)(),{replace:s}=(0,B.useRouter)();function i(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),s(`${a}?${c.toString()}`)}return(0,Ae.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Ae.jsx)(ie,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(n.href),children:n.label},c))})}function de({blogs:e,pages:t,categories:r,types:o}){return(0,Ae.jsx)("section",{children:(0,Ae.jsx)(Le,{children:(0,Ae.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ae.jsxs)("div",{children:[o&&(0,Ae.jsx)(We,{types:o}),(0,Ae.jsx)(De,{blogs:e}),(0,Ae.jsx)(Ve,{pages:t})]}),(0,Ae.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Ae.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Ae.jsx)(Be,{links:r.links,title:r.title})})})]})})})}var $t={title:"Website Components/BlogListSection",component:de,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,Ae.jsx)(e,{})]},pe=e=>(0,Ae.jsx)(de,{...e}),q=pe.bind({});q.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var _e=pe.bind({});_e.args={...q.args,pages:{totalPages:40,page:20}};var je=pe.bind({});je.args={...q.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
|
|
4
|
+
"use strict";var je=Object.create;var j=Object.defineProperty;var Ye=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var Ze=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var Ke=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},ye=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qe(t))!Je.call(e,i)&&i!==r&&j(e,i,{get:()=>t[i],enumerable:!(o=Ye(t,i))||o.enumerable});return e};var ve=(e,t,r)=>(r=e!=null?je(Ze(e)):{},ye(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),Xe=e=>ye(j({},"__esModule",{value:!0}),e);var $t={};Ke($t,{Default:()=>q,LoadsOfBlogs:()=>We,NoCategories:()=>_e,default:()=>Dt});module.exports=Xe($t);var Re=require("clsx");var te="-",Qe=e=>{let t=tt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let n=a.split(te);return n[0]===""&&n.length!==1&&n.shift(),Pe(n,t)||et(a)},getConflictingClassGroupIds:(a,n)=>{let c=r[a]||[];return n&&o[a]?[...c,...o[a]]:c}}},Pe=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),i=o?Pe(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;let s=e.join(te);return(a=t.validators.find(({validator:n})=>n(s)))==null?void 0:a.classGroupId},we=/^\[(.+)\]$/,et=e=>{if(we.test(e)){let t=we.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},tt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return ot(Object.entries(e.classGroups),r).forEach(([s,a])=>{ee(a,o,s,t)}),o},ee=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){let s=i===""?t:Ce(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(rt(i)){ee(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{ee(a,Ce(t,s),r,o)})})},Ce=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},rt=e=>e.isThemeGetter,ot=(e,t)=>t?e.map(([r,o])=>{let i=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,n])=>[t+a,n])):s);return[r,i]}):e,nt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},ke="!",st=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,i=t[0],s=t.length,a=n=>{let c=[],p=0,b=0,d;for(let h=0;h<n.length;h++){let v=n[h];if(p===0){if(v===i&&(o||n.slice(h,h+s)===t)){c.push(n.slice(b,h)),b=h+s;continue}if(v==="/"){d=h;continue}}v==="["?p++:v==="]"&&p--}let m=c.length===0?n:n.substring(b),k=m.startsWith(ke),S=k?m.substring(1):m,y=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:a}):a},at=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},it=e=>({cache:nt(e.cacheSize),parseClassName:st(e),...Qe(e)}),lt=/\s+/,ct=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,s=[],a=e.trim().split(lt),n="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:b,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:k}=r(p),S=!!k,y=o(S?m.substring(0,k):m);if(!y){if(!S){n=p+(n.length>0?" "+n:n);continue}if(y=o(m),!y){n=p+(n.length>0?" "+n:n);continue}S=!1}let h=at(b).join(":"),v=d?h+ke:h,w=v+y;if(s.includes(w))continue;s.push(w);let F=i(y,S);for(let L=0;L<F.length;++L){let V=F[L];s.push(v+V)}n=p+(n.length>0?" "+n:n)}return n};function dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Se(t))&&(o&&(o+=" "),o+=r);return o}var Se=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Se(e[o]))&&(r&&(r+=" "),r+=t);return r};function pt(e,...t){let r,o,i,s=a;function a(c){let p=t.reduce((b,d)=>d(b),e());return r=it(p),o=r.cache.get,i=r.cache.set,s=n,n(c)}function n(c){let p=o(c);if(p)return p;let b=ct(c,r);return i(c,b),b}return function(){return s(dt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,ut=/^\d+\/\d+$/,gt=new Set(["px","full","screen"]),mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ft=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,bt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ht=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>D(e)||gt.has(e)||ut.test(e),R=e=>$(e,"length",Nt),D=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>$(e,"number",D),U=e=>!!e&&Number.isInteger(Number(e)),yt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ne.test(e),A=e=>mt.test(e),vt=new Set(["length","size","percentage"]),wt=e=>$(e,vt,Te),Ct=e=>$(e,"position",Te),Pt=new Set(["image","url"]),kt=e=>$(e,Pt,Mt),St=e=>$(e,"",Tt),O=()=>!0,$=(e,t,r)=>{let o=Ne.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Nt=e=>ft.test(e)&&!bt.test(e),Te=()=>!1,Tt=e=>ht.test(e),Mt=e=>xt.test(e);var Rt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),i=u("borderColor"),s=u("borderRadius"),a=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),p=u("grayscale"),b=u("hueRotate"),d=u("invert"),m=u("gap"),k=u("gradientColorStops"),S=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),v=u("opacity"),w=u("padding"),F=u("saturate"),L=u("scale"),V=u("sepia"),ue=u("skew"),ge=u("space"),me=u("translate"),Z=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],g=()=>[l,t],fe=()=>["",M,R],W=()=>["auto",D,l],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],he=()=>["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"],H=()=>["","0",l],xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[M,R],blur:["none","",A,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",A,l],borderSpacing:g(),borderWidth:fe(),contrast:T(),grayscale:H(),hueRotate:T(),invert:H(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[yt,R],inset:K(),margin:K(),opacity:T(),padding:g(),saturate:T(),scale:T(),sepia:H(),skew:T(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":xe()}],"break-before":[{"break-before":xe()}],"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:[...be(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",U,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",U,l]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",U,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[U,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],Le:[{Le:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ge]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",A,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"font-family":[{font:[O]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,R]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),Ct]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,R]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[M,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,St]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",A,l]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[F]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[U,l]}],"translate-x":[{"translate-x":[me]}],"translate-y":[{"translate-y":[me]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-Le":[{"scroll-Le":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",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,R,Q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Le","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Le","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 Me=pt(Rt);function x(...e){return Me((0,Re.clsx)(e))}var Le=require("react/jsx-runtime");function Ae({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let i=x("container",t&&"full-width",r&&"no-padding",o);return(0,Le.jsx)("div",{className:i,children:e})}var ze=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),i=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(a=>{if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${i}`};function Ie({blogs:e}){return(0,Le.jsx)("div",{children:e&&e.length>0&&(0,Le.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Le.jsx)(At,{post:t,id:r},r))})})}var At=({post:e,id:t})=>{var n,c;let{slug:r,authors:o,categories:i,title:s,publishedAt:a}=e;return(0,Le.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Le.jsx)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:(0,Le.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})}),(0,Le.jsxs)("div",{children:[(0,Le.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Le.jsx)("time",{dateTime:(n=e.publishedAt)!=null?n:void 0,className:"text-foreground",children:ze((c=e.publishedAt)!=null?c:"")}),e.categories&&e.categories.map((p,b)=>(0,Le.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p.title},b))]}),(0,Le.jsx)("div",{className:"group relative max-w-xl",children:(0,Le.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Le.jsxs)("a",{href:e.slug||"#",children:[(0,Le.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Le.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((p,b)=>{var d;return(0,Le.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[p.profilePicture?(0,Le.jsx)("img",{alt:p.name||"Author",src:((d=p.profilePicture)==null?void 0:d.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Le.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Le.jsx)("div",{className:"text-sm/6",children:(0,Le.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Le.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},b)})})]})]},t)};var E=require("next/navigation");var z=ve(require("react"));var re=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var oe=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));oe.displayName="CardHeader";var ne=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));ne.displayName="CardTitle";var Lt=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));Lt.displayName="CardDescription";var se=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));se.displayName="CardContent";var zt=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));zt.displayName="CardFooter";var De=require("lucide-react"),Qt=x("transition-colors duration-400 hover:text-primary ease-in-out");function $e({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:i}=(0,E.useRouter)();function s(a){let n=new URLSearchParams(r);a?n.set("category",a):n.delete("category"),i(`${o}?${n.toString()}`)}return(0,Le.jsxs)(re,{children:[(0,Le.jsx)(oe,{children:(0,Le.jsx)(ne,{className:"text-accent",children:e&&e})}),(0,Le.jsx)(se,{children:t&&t.length>0&&(0,Le.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Le.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((a,n)=>(0,Le.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),s(a.href)},children:[a.label,(0,Le.jsx)(De.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ee=require("@radix-ui/react-slot"),Be=require("class-variance-authority"),Ge=ve(require("react")),It=(0,Be.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),ae=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...i},s)=>(0,Le.jsx)(e?Ee.Slot:"button",{className:x(It({className:t,size:r,variant:o})),ref:s,...i}));ae.displayName="Button";var Y=require("react-icons/fa6"),He=require("react"),ie=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Ue({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:i,page:s}=e,[a,n]=(0,He.useState)({start:s>3?s-3:1,end:s+2}),c=d=>{d==="left"&&a.start>1?n(m=>({start:m.start-1,end:m.end-1})):d==="right"&&a.end<i&&n(m=>({start:m.start+1,end:m.end+1}))};function p(d){let m=new URLSearchParams(t);d?m.set("page",d):m.delete("page"),o(`${r}?${m.toString()}`)}if(i<=1)return null;let b=[];for(let d=a.start;d<=a.end;d++)b.push(d);return(0,Le.jsx)("div",{className:"mt-12",children:(0,Le.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[a.start>1&&(0,Le.jsx)("li",{children:(0,Le.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Le.jsx)(Y.FaArrowLeft,{})})}),b.map((d,m)=>(0,Le.jsx)("li",{children:(0,Le.jsx)("a",{className:x(ie,d===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:k=>{k.preventDefault(),p(d.toString())},children:d})},m)),a.end<i&&(0,Le.jsx)("li",{children:(0,Le.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Le.jsx)(Y.FaArrowRight,{})})})]})})}function Ve({types:e}){let[t,r]=(0,He.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),i=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function a(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),s(`${i}?${c.toString()}`)}return(0,Le.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Le.jsx)(ae,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>a(n.href),children:n.label},c))})}function ce({blogs:e,pages:t,categories:r,types:o}){return(0,Le.jsx)("section",{children:(0,Le.jsx)(Ae,{children:(0,Le.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Le.jsxs)("div",{children:[o&&(0,Le.jsx)(Ve,{types:o}),(0,Le.jsx)(Ie,{blogs:e}),(0,Le.jsx)(Ue,{pages:t})]}),(0,Le.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Le.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Le.jsx)($e,{links:r.links,title:r.title})})})]})})})}var Dt={title:"Website Components/BlogListSection",component:ce,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,Le.jsx)(e,{})]},de=e=>(0,Le.jsx)(ce,{...e}),q=de.bind({});q.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var We=de.bind({});We.args={...q.args,pages:{totalPages:40,page:20}};var _e=de.bind({});_e.args={...q.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"../chunk-
|
|
1
|
+
import{a as t}from"../chunk-P2NZLGKD.mjs";import"../chunk-G7KHLVD3.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as a}from"react/jsx-runtime";var l={title:"Website Components/BlogListSection",component:t,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QNPY7PXF.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";export{a as ContactSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-QNPY7PXF.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Website Components/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-X76XZNRS.mjs";import{f as t}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-X76XZNRS.mjs";import{f as t}from"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-6W42A4VY.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";export{a as PricingSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-6W42A4VY.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var m={title:"Website Components/PricingSection",component:i,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[t=>e(t,{})]},o=t=>e(i,{...t}),r=o.bind({});r.args={sectionHeading:{subtitle:"Pricing Action",title:"Innovating for a better tomorrow",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply"},cards:[{title:"Basic Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$49",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}},{title:"Standard Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$79",duration:"/month",isPopular:!0,button:{href:"/",label:"Select Plan"}},{title:"Premium Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$99",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}}]};export{r as Default,m as default};
|