cortex-react-components 1.39.6 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-YGQFXPN4.mjs → chunk-4ZT572BM.mjs} +1 -1
- package/dist/{chunk-O77SHHMY.mjs → chunk-6FABK6XD.mjs} +1 -1
- package/dist/chunk-AJICJKPD.mjs +4 -0
- package/dist/chunk-CTKUF2I6.mjs +4 -0
- package/dist/chunk-DE2DIWCC.mjs +4 -0
- package/dist/{chunk-ILCZ25VJ.mjs → chunk-DPC76VYR.mjs} +1 -1
- package/dist/chunk-DRJBYVJB.mjs +4 -0
- package/dist/{chunk-2JZGT4F6.mjs → chunk-EI7PFWFS.mjs} +1 -1
- package/dist/{chunk-3O45WZBW.mjs → chunk-GQWLRBA5.mjs} +1 -1
- package/dist/{chunk-WUSJBHXI.mjs → chunk-K3ZT73NE.mjs} +1 -1
- package/dist/{chunk-U4NCHUCT.mjs → chunk-KKLZ6CCZ.mjs} +1 -1
- package/dist/{chunk-R75QPTHT.mjs → chunk-L7HV5BKW.mjs} +1 -1
- package/dist/{chunk-DOZXVU56.mjs → chunk-SC2BOUEN.mjs} +1 -1
- package/dist/chunk-T6LPMF7A.mjs +4 -0
- package/dist/chunk-TXXFXCXB.mjs +4 -0
- package/dist/chunk-TYFBZ3Q7.mjs +1 -0
- package/dist/{chunk-YCOPE2XU.mjs → chunk-UDRX6THN.mjs} +1 -1
- package/dist/chunk-UGWWR3LF.mjs +4 -0
- package/dist/{chunk-WSRF2ZBD.mjs → chunk-UT2M6WL5.mjs} +1 -1
- package/dist/{chunk-YF7BU7S3.mjs → chunk-ZQJMFGKU.mjs} +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/CalendarView.js +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.js +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.d.ts +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.js +114 -114
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.js +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.js +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +6 -6
- 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.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.js +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +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/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- 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.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.d.ts +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/form/index.js +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/form/server/contact-us-form-submit.js +1 -1
- package/dist/sections/form/server/contact-us-form-submit.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-65EMMROH.mjs +0 -4
- package/dist/chunk-6D7LTGTN.mjs +0 -4
- package/dist/chunk-JVRJU2VL.mjs +0 -4
- package/dist/chunk-KAVGGNPV.mjs +0 -1
- package/dist/chunk-O5XLZ254.mjs +0 -4
- package/dist/chunk-OOQZDDQC.mjs +0 -4
- package/dist/chunk-RJGFEJBJ.mjs +0 -4
- package/dist/chunk-YLGJP63J.mjs +0 -4
package/dist/sections/index.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var vr=Object.create;var ke=Object.defineProperty;var wr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var kr=(e,t)=>{for(var r in t)ke(e,r,{get:t[r],enumerable:!0})},ut=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Cr(t))!Ar.call(e,n)&&n!==r&&ke(e,n,{get:()=>t[n],enumerable:!(a=wr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?vr(Nr(e)):{},ut(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e)),Pr=e=>ut(ke({},"__esModule",{value:!0}),e);var Ao={};kr(Ao,{AboutSection:()=>co,BlogDetail:()=>Co,BlogListSection:()=>uo,ContactSection:()=>vo,MainPageSection:()=>No,PricingSection:()=>lo,ServiceSection:()=>so});module.exports=Pr(Ao);var Nt=require("clsx");var Je="-",Sr=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),ht(i,t)||Tr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},ht=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?ht(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ft=/^\[(.+)\]$/,Tr=e=>{if(ft.test(e)){let t=ft.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Ir(Object.entries(e.classGroups),r).forEach(([o,s])=>{qe(s,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:bt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Br(n)){qe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{qe(s,bt(t,o),r,a)})})},bt=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Br=e=>e.isThemeGetter,Ir=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},xt="!",Mr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,f=0,m;for(let g=0;g<i.length;g++){let v=i[g];if(p===0){if(v===n&&(a||i.slice(g,g+o)===t)){c.push(i.slice(f,g)),f=g+o;continue}if(v==="/"){m=g;continue}}v==="["?p++:v==="]"&&p--}let u=c.length===0?i:i.substring(f),T=u.startsWith(xt),I=T?u.substring(1):u,w=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:T,baseClassName:I,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:s}):s},Er=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},zr=e=>({cache:Lr(e.cacheSize),parseClassName:Mr(e),...Sr(e)}),Hr=/\s+/,Fr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:f,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:T}=r(p),I=!!T,w=a(I?u.substring(0,T):u);if(!w){if(!I){i=p+(i.length>0?" "+i:i);continue}if(w=a(u),!w){i=p+(i.length>0?" "+i:i);continue}I=!1}let g=Er(f).join(":"),v=m?g+xt:g,N=v+w;if(o.includes(N))continue;o.push(N);let j=n(w,I);for(let z=0;z<j.length;++z){let te=j[z];o.push(v+te)}i=p+(i.length>0?" "+i:i)}return i};function Dr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=yt(t))&&(a&&(a+=" "),a+=r);return a}var yt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=yt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ur(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((f,m)=>m(f),e());return r=zr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let f=Fr(c,r);return n(c,f),f}return function(){return o(Dr.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gr=/^\d+\/\d+$/,Or=new Set(["px","full","screen"]),Vr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|At|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,$r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>le(e)||Or.has(e)||Gr.test(e),Z=e=>ce(e,"length",eo),le=e=>!!e&&!Number.isNaN(Number(e)),We=e=>ce(e,"number",le),ye=e=>!!e&&Number.isInteger(Number(e)),Qr=e=>e.endsWith("%")&&le(e.slice(0,-1)),d=e=>vt.test(e),X=e=>Vr.test(e),_r=new Set(["length","size","percentage"]),Wr=e=>ce(e,_r,wt),qr=e=>ce(e,"position",wt),Jr=new Set(["image","url"]),Zr=e=>ce(e,Jr,ro),Xr=e=>ce(e,"",to),ve=()=>!0,ce=(e,t,r)=>{let a=vt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},eo=e=>Yr.test(e)&&!$r.test(e),wt=()=>!1,to=e=>Kr.test(e),ro=e=>jr.test(e);var oo=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),n=k("borderColor"),o=k("borderRadius"),s=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),p=k("grayscale"),f=k("hueRotate"),m=k("invert"),u=k("gap"),T=k("gradientColorStops"),I=k("gradientColorStopPositions"),w=k("inset"),g=k("margin"),v=k("opacity"),N=k("padding"),j=k("saturate"),z=k("scale"),te=k("sepia"),it=k("skew"),lt=k("space"),ct=k("translate"),Ke=()=>["auto","contain","none"],je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",d,t],S=()=>[d,t],dt=()=>["",_,Z],Ne=()=>["auto",le,d],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>["start","end","center","between","around","evenly","stretch"],xe=()=>["","0",d],gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[le,d];return{cacheSize:500,separator:":",theme:{colors:[ve],spacing:[_,Z],blur:["none","",X,d],brightness:Q(),borderColor:[e],borderRadius:["none","","full",X,d],borderSpacing:S(),borderWidth:dt(),contrast:Q(),grayscale:xe(),hueRotate:Q(),invert:xe(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Qr,Z],inset:Qe(),margin:Qe(),opacity:Q(),padding:S(),saturate:Q(),scale:Q(),sepia:xe(),skew:Q(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":gt()}],"break-before":[{"break-before":gt()}],"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:[...pt(),d]}],overflow:[{overflow:je()}],"overflow-At":[{"overflow-At":je()}],"overflow-At":[{"overflow-At":je()}],overscroll:[{overscroll:Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-At":[{"inset-At":[w]}],"inset-At":[{"inset-At":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ye,d]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:xe()}],shrink:[{shrink:xe()}],order:[{order:["first","last","none",ye,d]}],"grid-cols":[{"grid-cols":[ve]}],"col-start-end":[{col:["auto",{span:["full",ye,d]},d]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[ye,d]},d]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-At":[{"gap-At":[u]}],"gap-At":[{"gap-At":[u]}],"justify-content":[{justify:["normal",..._e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[X]},X]}],At:[{At:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-At":[{"min-At":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-At":[{"max-At":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",X,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",We]}],"font-family":[{font:[ve]}],"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",d]}],"line-clamp":[{"line-clamp":["none",le,We]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"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:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_,Z]}],"underline-offset":[{"underline-offset":["auto",_,d]}],"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:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"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:[...pt(),qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Zr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-At":[{"border-At":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-At":[{"border-At":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[_,d]}],"outline-w":[{outline:[_,Z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:dt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,Xr]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...mt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":mt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",X,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[j]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-At":[{"scale-At":[z]}],"scale-At":[{"scale-At":[z]}],rotate:[{rotate:[ye,d]}],"translate-At":[{"translate-At":[ct]}],"translate-At":[{"translate-At":[ct]}],"skew-At":[{"skew-At":[it]}],"skew-At":[{"skew-At":[it]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","At-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_,Z,We]}],stroke:[{stroke:[e,"none"]}],Dt:["Dt-only","not-Dt-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-At"],overscroll:["overscroll-At","overscroll-At"],inset:["inset-At","inset-At","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-At"],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","At"],"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-At","rounded-l","rounded-ss","rounded-At","rounded-At","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-At","rounded-At"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-At":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-At","border-spacing-At"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-At","border-w-l"],"border-w-At":["border-w-r","border-w-l"],"border-w-At":["border-w-t","border-w-At"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-At","border-color-l"],"border-color-At":["border-color-r","border-color-l"],"border-color-At":["border-color-t","border-color-At"],"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-At","touch-At","touch-pz"],"touch-At":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ct=Ur(oo);function l(...e){return Ct((0,Nt.clsx)(e))}var At=require("react/jsx-runtime");function H({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:n,children:e})}var Pe=(e,t)=>e[t%e.length];var kt=require("@radix-ui/react-slot"),Pt=require("class-variance-authority"),St=E(require("react")),ao=(0,Pt.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:"At-10 px-4 py-2",icon:"At-10 w-10",lg:"At-11 rounded px-8",sm:"At-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),B=St.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?kt.Slot:"button",{className:l(ao({className:t,size:r,variant:a})),ref:o,...n}));B.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};var It=E(require("next/link"));function re({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(It.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function no(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Mt({icon:e,title:t,description:r,slug:a}){return(0,At.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block At-full space-At-6 overflow-hidden rounded-5 p-6 md:space-At-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,At.jsxs)("div",{className:"flex items-center gap-5",children:[(0,At.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:no(e)?(0,At.jsx)(Rt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,At.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,At.jsx)(re,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(B,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,At.jsxs)(re,{href:a,children:[(0,At.jsx)("span",{children:"Read More"}),(0,At.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 At-[2px] w-full scale-At-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-At-100 group-hover/service:opacity-100"})]})}function so({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(H,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-At-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,At.jsx)(Mt,{...r})},a))})})})}var Se=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:n,button:o}){return(0,At.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,At.jsxs)("div",{className:"At-full border-card p-6 dark:border-opacity-20 max-lg:border-At max-lg:pt-14 lg:border-r lg:p-10",children:[(0,At.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,At.jsx)("p",{children:t})]}),(0,At.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,At.jsxs)("div",{className:"flex flex-col justify-stretch gap-At-14 gap-At-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,i)=>(0,At.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,At.jsx)("span",{className:"text-accent pt-1",children:(0,At.jsx)(Se.FaCircleCheck,{})}),(0,At.jsx)("span",{children:s})]},i))}),(0,At.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,At.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:n&&n})]}),o&&(0,At.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,At.jsx)(B,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(re,{href:o.href,openNewTab:o.openNewTab,children:[(0,At.jsx)("span",{className:"relative z-1",children:o.label}),(0,At.jsx)("span",{className:"relative z-1 pl-2",children:(0,At.jsx)(Se.FaAnglesRight,{})})]})})})]})})]})}var zt=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,At.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!f)return null;let m=r==="link"?"clear":c,u=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,At.jsx)(B,{asChild:!0,className:n,size:m,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(U,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(Re,{size:"lg",...r},a))})]})});var Be=require("prism-react-renderer");var Ft=require("lucide-react"),Dt=require("react");function Ut({code:e}){let[t,r]=(0,Dt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(B,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("p",{children:t}),(0,At.jsx)("div",{className:"w-6 At-6 dark:invert",children:(0,At.jsx)(Ft.ClipboardCopy,{})})]})})}var Gt=({code:e,language:t=""})=>e?(0,At.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[n.map((o,s)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(Ut,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Gt,{code:t,language:r})});var Yt=E(require("next/image")),io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",$t=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,f,m=t,u=i||"";if(!u&&o&&typeof o=="object"){let{alt:w,filename:g,height:v,url:N,width:j}=o;p=j,f=v,m=w||"",u=N||Vt}let T=c||"lazy",I=s||Object.entries(io).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(Yt.default,{alt:m||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Vt,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:I,src:u,width:r?void 0:p})})};var Kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var jt=()=>{if(Kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Qt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Dt.useRef)(null);if((0,Dt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,At.jsx)("source",{src:`${jt()}/media/${o}`})})}return null};var Wt=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||Dt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(Qt,{...e}):(0,At.jsx)($t,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Wt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Jt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,At.jsx)(U,{content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent At-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(U,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,At.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var Ee=E(require("react"));function Me({nodes:e}){return(0,At.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,At.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Me({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Me({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(Ht,{...o},r);case"mediaBlock":return(0,At.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(zt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Jt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var U=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Me({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function pe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:n=!1,className:o,invert:s=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,At.jsxs)("div",{className:i,children:[e&&(0,At.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,At.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",s&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,At.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,At.jsx)(U,{content:r,enableGutter:!1})]})}function lo({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(H,{children:[(0,At.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(pe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,At.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var me=E(require("next/image"));function co(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,At.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,At.jsx)(pe,{...r}),a&&a.length>0&&(0,At.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,s)=>(0,At.jsxs)("div",{className:"group flex min-At-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-At-[85px] md:px-[1.875rem] md:py-3",children:[(0,At.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,At.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),n&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,At.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 At-full w-full rounded-tl-[60px] bg-primary-light"}),(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,At.jsx)(me.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-At-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid At-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var er=E(require("next/image"));var Xt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function tr({blogs:e}){return(0,At.jsx)("div",{children:e&&e.length>0&&(0,At.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,At.jsx)(po,{post:t,id:r},r))})})}var po=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,description:i,publishedAt:c}=e;return(0,At.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,At.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,At.jsx)(er.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,At.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-At-4 text-xs",children:[(0,At.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Xt(e.publishedAt)}),e.categories&&e.categories.map((p,f)=>(0,At.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},f))]}),(0,At.jsxs)("div",{className:"group relative max-w-xl",children:[(0,At.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,At.jsxs)("a",{href:e.slug,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,At.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,At.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-At-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((p,f)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[p.image?(0,At.jsx)("img",{alt:p.image.alt,src:p.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,At.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,At.jsx)("div",{className:"text-sm/6",children:(0,At.jsxs)("p",{className:"text-foreground pr-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},f))})]})]},t)};var ge=require("next/navigation");var ne=E(require("react"));var G=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));G.displayName="Card";var Y=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 p-6",e),...t}));Y.displayName="CardHeader";var $=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var mo=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));mo.displayName="CardDescription";var O=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));O.displayName="CardContent";var go=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));go.displayName="CardFooter";var wn=l("transition-colors duration-400 hover:text-primary ease-in-out");function ze({title:e,links:t}){let r=(0,ge.useSearchParams)(),a=(0,ge.usePathname)(),{replace:n}=(0,ge.useRouter)();function o(s){console.log(s);let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:e&&e})}),(0,At.jsx)(O,{children:t&&t.length>0&&(0,At.jsx)("nav",{"aria-label":"footer links navigation",children:(0,At.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,At.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(),o(s.href)},children:[s.label,(0,At.jsx)(Ft.ExternalLink,{className:"ml-1 At-3 w-3"})]},i))})})})]})}var or=E(require("next/link"));var nr=({links:e,title:t="Related Content"})=>(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:t})}),(0,At.jsx)(O,{children:(0,At.jsx)("nav",{className:"flex flex-col space-At-2",children:e.map((r,a)=>(0,At.jsxs)(or.default,{href:r.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[r.title,r.url.startsWith("http")&&(0,At.jsx)(Ft.ExternalLink,{className:"ml-1 At-3 w-3"})]},a))})})]});var ot=l("grid At-[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 ir({pages:e}){let t=(0,ge.useSearchParams)(),r=(0,ge.usePathname)(),{replace:a}=(0,ge.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,Dt.useState)({start:o>3?o-3:1,end:o+2}),c=m=>{m==="left"&&s.start>1?i(u=>({start:u.start-1,end:u.end-1})):m==="right"&&s.end<n&&i(u=>({start:u.start+1,end:u.end+1}))};function p(m){let u=new URLSearchParams(t);m?u.set("page",m):u.delete("page"),a(`${r}?${u.toString()}`)}if(n<=1)return null;let f=[];for(let m=s.start;m<=s.end;m++)f.push(m);return(0,At.jsx)("div",{className:"mt-12",children:(0,At.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Se.FaArrowLeft,{})})}),f.map((m,u)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(ot,m===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${m}`,role:"button",onClick:T=>{T.preventDefault(),p(m.toString())},children:m})},u)),s.end<n&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Se.FaArrowRight,{})})})]})})}function cr({types:e}){let[t,r]=(0,Dt.useState)(e&&e[0].href),a=(0,ge.useSearchParams)(),n=(0,ge.usePathname)(),{replace:o}=(0,ge.useRouter)();function s(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${n}?${c.toString()}`)}return(0,At.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-At-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,At.jsx)(B,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(i.href),children:i.label},c))})}function uo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsxs)("div",{children:[a&&(0,At.jsx)(cr,{types:a}),(0,At.jsx)(tr,{blogs:e}),(0,At.jsx)(ir,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,At.jsx)(ze,{links:r.links,title:r.title})})})]})})})}var fr=E(require("next/image"));var Fe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function De({className:e}){return l("flex items-center min-At-[3.5rem] md:min-At-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function fo({className:e,...t}){return(0,At.jsx)("input",{...t,className:De({className:e})})}function Ue({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(fo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-At-1/2 text-accent",children:e})]})}function bo({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(De({}),"resize-none md:min-At-[130px]",e)})}function dr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(bo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var mr=require("formik"),ie=E(require("yup"));async function pr(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(s));try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),V={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},ho=ie.object().shape({name:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:ie.string().email(V.email).required(V.required),subject:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:ie.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Ge=l("!pr-[44px]"),Oe=l("!border-red-600 border"),Ve=l("Dt-only");function ur(){return(0,At.jsx)(mr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ho,onSubmit:async(e,{resetForm:t})=>{let r=await pr(e);r.data===null?nt.toast.error(r.message):(nt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(Ue,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(Se.FaUser,{}),className:l(Ge,e.name&&t.name&&Oe)}),e.name&&t.name&&(0,At.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ve,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(Ue,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(xo,{}),className:l(Ge,e.email&&t.email&&Oe)}),e.email&&t.email&&(0,At.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ve,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(Ue,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Ge,e.subject&&t.subject&&Oe)}),e.subject&&t.subject&&(0,At.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ve,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(dr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(yo,{}),className:l(Ge,e.message&&t.message&&Oe)}),e.message&&t.message&&(0,At.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ve,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2",children:(0,At.jsx)(B,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,At.jsx)("span",{children:"SEND"})})})]})})}function xo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function yo(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function vo(e){let{sectionHeading:t,image:r}=e;return(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsx)("div",{className:"",children:(0,At.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-w-2xl space-At-16 divide-At divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,At.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,At.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where At are based. These are our key locations."})]}),(0,At.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,n)=>{var o;return(0,At.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,At.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,At.jsxs)("address",{className:"mt-3 space-At-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,At.jsx)("p",{children:s},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,At.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsxs)("div",{className:"relative py-[60px]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 z-1 At-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,At.jsx)(fr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fe})}),(0,At.jsx)(H,{children:(0,At.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,At.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,At.jsx)("div",{className:"mb-30px",children:(0,At.jsx)(pe,{...t,invert:!0})}),(0,At.jsx)(ur,{})]})})})]})})]})}var br=E(require("next/image"));var xr=E(require("next/link"));function wo({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,At.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsx)(G,{children:(0,At.jsxs)(O,{children:[e&&e.src&&(0,At.jsx)(br.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Fe,className:"mx-auto mt-6 rounded-full object-cover"}),(0,At.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,At.jsx)("p",{children:r}),a&&a.length>0&&(0,At.jsx)("nav",{"aria-label":"social links",children:(0,At.jsx)("ul",{className:"inline-flex items-center divide-At divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(re,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-At-1 hover:text-accents",children:(0,At.jsx)("span",{children:n.icon})})},o))})})]})})})}function Co({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,ge.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:p}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},m=s==null?void 0:s.map(T=>{var I,w;return{name:T.name||"",about:"",image:{src:T.profilePicture&&((w=(I=T.profilePicture.sizes)==null?void 0:I.square)==null?void 0:w.url)||"",alt:T.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsx)("div",{children:(0,At.jsxs)("div",{className:"[&_p+At]:mt-4",children:[(0,At.jsx)("div",{className:"my-4 At-px bg-body/30 lg:my-5"}),(0,At.jsx)(U,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,At.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(O,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,At.jsx)(xr.default,{href:`${a}${e.id}`,children:(0,At.jsx)(B,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),m&&m.map((T,I)=>(0,At.jsx)(wo,{...T},I)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(ze,{links:t.links,title:t.title})})]})]})})}var st=E(require("next/link"));var No=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o={title:"Related Content",links:[]}})=>{let[s,i]=(0,Dt.useState)(!1),[c,p]=(0,Dt.useState)(""),f=(0,ge.usePathname)(),m=()=>{i(!s)},u=g=>{switch(g){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},T=(g,v)=>{g.preventDefault();let N=document.getElementById(v);if(N){let z=N.offsetTop+-100,te=document.querySelector(".container")||window;te===window?window.scrollTo({top:z,behavior:"smooth"}):te.scrollTo({top:z,behavior:"smooth"}),p(v)}else console.error(`Element with ID "${v}" not found.`)},I=()=>{let v="/print/"+f.split("/")[1],N=window.open(v,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()},w=()=>{let v="/present/"+f.split("/")[1],N=window.open(v,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()};return(0,Dt.useEffect)(()=>{let g=window.location.hash;if(g){let v=g.substring(1),N=document.getElementById(v);if(N){let z=N.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:z,behavior:"smooth"})}}},[window.location.hash]),(0,At.jsxs)("div",{className:"container py-8",children:[(0,At.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,At.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,At.jsxs)("div",{className:l("space-At-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-At-0 xl:-mt-20",s?"translate-At-0":"md:translate-At-full","xl:block xl:col-span-1 xl:translate-At-0"),children:[a&&(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(O,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,At.jsx)(st.default,{href:`${n}${t}`,children:(0,At.jsx)(B,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,At.jsx)(st.default,{href:"/admin/collections/pages/create",children:(0,At.jsx)(B,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),(0,At.jsxs)("div",{className:"flex space-At-2 mt-4",children:[(0,At.jsxs)(B,{variant:"outline",className:"text-accent hover:text-foreground",onClick:I,children:[(0,At.jsx)($e.Printer,{className:"mr-2"})," Print"]}),(0,At.jsxs)(B,{variant:"outline",className:"text-accent hover:text-foreground",onClick:w,children:[(0,At.jsx)($e.Presentation,{className:"mr-2"})," Present"]})]})]})]}),r.length>3&&(0,At.jsxs)(G,{className:"w-full max-w-sm mt-4",children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"On this page"})}),(0,At.jsx)(O,{children:(0,At.jsx)("ul",{className:"space-At-2",children:r.map((g,v)=>(0,At.jsx)("li",{className:u(g.tag),children:(0,At.jsx)("a",{href:`#${g.id}`,className:`text-xs ${c===g.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:g.text})},v))})})]}),o&&o.links.length>0&&(0,At.jsx)(nr,{...o})]}),(0,At.jsx)("button",{onClick:m,className:l("fixed top-1/2 right-0 z-50 At-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-At-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-At-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
|
|
5
|
+
"use strict";var vr=Object.create;var ke=Object.defineProperty;var wr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Nr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var kr=(e,t)=>{for(var r in t)ke(e,r,{get:t[r],enumerable:!0})},ut=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Cr(t))!Ar.call(e,n)&&n!==r&&ke(e,n,{get:()=>t[n],enumerable:!(a=wr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?vr(Nr(e)):{},ut(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e)),Pr=e=>ut(ke({},"__esModule",{value:!0}),e);var Ao={};kr(Ao,{AboutSection:()=>co,BlogDetail:()=>Co,BlogListSection:()=>uo,ContactSection:()=>vo,MainPageSection:()=>No,PricingSection:()=>lo,ServiceSection:()=>so});module.exports=Pr(Ao);var Nt=require("clsx");var Je="-",Sr=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),ht(i,t)||Tr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},ht=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?ht(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},ft=/^\[(.+)\]$/,Tr=e=>{if(ft.test(e)){let t=ft.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Ir(Object.entries(e.classGroups),r).forEach(([o,s])=>{qe(s,a,o,t)}),a},qe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:bt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Br(n)){qe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{qe(s,bt(t,o),r,a)})})},bt=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Br=e=>e.isThemeGetter,Ir=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},xt="!",Mr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],m=0,f=0,g;for(let p=0;p<i.length;p++){let h=i[p];if(m===0){if(h===n&&(a||i.slice(p,p+o)===t)){c.push(i.slice(f,p)),f=p+o;continue}if(h==="/"){g=p;continue}}h==="["?m++:h==="]"&&m--}let u=c.length===0?i:i.substring(f),T=u.startsWith(xt),I=T?u.substring(1):u,w=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:T,baseClassName:I,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:s}):s},Er=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},zr=e=>({cache:Lr(e.cacheSize),parseClassName:Mr(e),...Sr(e)}),Hr=/\s+/,Fr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:f,hasImportantModifier:g,baseClassName:u,maybePostfixModifierPosition:T}=r(m),I=!!T,w=a(I?u.substring(0,T):u);if(!w){if(!I){i=m+(i.length>0?" "+i:i);continue}if(w=a(u),!w){i=m+(i.length>0?" "+i:i);continue}I=!1}let p=Er(f).join(":"),h=g?p+xt:p,N=h+w;if(o.includes(N))continue;o.push(N);let j=n(w,I);for(let z=0;z<j.length;++z){let te=j[z];o.push(h+te)}i=m+(i.length>0?" "+i:i)}return i};function Dr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=yt(t))&&(a&&(a+=" "),a+=r);return a}var yt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=yt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ur(e,...t){let r,a,n,o=s;function s(c){let m=t.reduce((f,g)=>g(f),e());return r=zr(m),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let f=Fr(c,r);return n(c,f),f}return function(){return o(Dr.apply(null,arguments))}}var k=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},vt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Gr=/^\d+\/\d+$/,Or=new Set(["px","full","screen"]),Vr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?At([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|At|min|max))|\At(calc|min|max|clamp)\(.+\)|^0$/,$r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Kr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>le(e)||Or.has(e)||Gr.test(e),Z=e=>ce(e,"length",eo),le=e=>!!e&&!Number.isNaN(Number(e)),We=e=>ce(e,"number",le),ye=e=>!!e&&Number.isInteger(Number(e)),Qr=e=>e.endsWith("%")&&le(e.slice(0,-1)),d=e=>vt.test(e),X=e=>Vr.test(e),_r=new Set(["length","size","percentage"]),Wr=e=>ce(e,_r,wt),qr=e=>ce(e,"position",wt),Jr=new Set(["image","url"]),Zr=e=>ce(e,Jr,ro),Xr=e=>ce(e,"",to),ve=()=>!0,ce=(e,t,r)=>{let a=vt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},eo=e=>Yr.test(e)&&!$r.test(e),wt=()=>!1,to=e=>Kr.test(e),ro=e=>jr.test(e);var oo=()=>{let e=k("colors"),t=k("spacing"),r=k("blur"),a=k("brightness"),n=k("borderColor"),o=k("borderRadius"),s=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),m=k("grayscale"),f=k("hueRotate"),g=k("invert"),u=k("gap"),T=k("gradientColorStops"),I=k("gradientColorStopPositions"),w=k("inset"),p=k("margin"),h=k("opacity"),N=k("padding"),j=k("saturate"),z=k("scale"),te=k("sepia"),it=k("skew"),lt=k("space"),ct=k("translate"),Ke=()=>["auto","contain","none"],je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",d,t],S=()=>[d,t],dt=()=>["",_,Z],Ne=()=>["auto",le,d],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ae=()=>["solid","dashed","dotted","double","none"],mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>["start","end","center","between","around","evenly","stretch"],xe=()=>["","0",d],gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[le,d];return{cacheSize:500,separator:":",theme:{colors:[ve],spacing:[_,Z],blur:["none","",X,d],brightness:Q(),borderColor:[e],borderRadius:["none","","full",X,d],borderSpacing:S(),borderWidth:dt(),contrast:Q(),grayscale:xe(),hueRotate:Q(),invert:xe(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Qr,Z],inset:Qe(),margin:Qe(),opacity:Q(),padding:S(),saturate:Q(),scale:Q(),sepia:xe(),skew:Q(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[X]}],"break-after":[{"break-after":gt()}],"break-before":[{"break-before":gt()}],"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:[...pt(),d]}],overflow:[{overflow:je()}],"overflow-At":[{"overflow-At":je()}],"overflow-At":[{"overflow-At":je()}],overscroll:[{overscroll:Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],"overscroll-At":[{"overscroll-At":Ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-At":[{"inset-At":[w]}],"inset-At":[{"inset-At":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ye,d]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:xe()}],shrink:[{shrink:xe()}],order:[{order:["first","last","none",ye,d]}],"grid-cols":[{"grid-cols":[ve]}],"col-start-end":[{col:["auto",{span:["full",ye,d]},d]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[ye,d]},d]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-At":[{"gap-At":[u]}],"gap-At":[{"gap-At":[u]}],"justify-content":[{justify:["normal",..._e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],"space-At":[{"space-At":[lt]}],"space-At-reverse":["space-At-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[X]},X]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",X,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",We]}],"font-family":[{font:[ve]}],"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",d]}],"line-clamp":[{"line-clamp":["none",le,We]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ae(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_,Z]}],"underline-offset":[{"underline-offset":["auto",_,d]}],"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:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","At","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","At","bl","l","tl"]},Zr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-At":[{"rounded-At":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-At":[{"border-At":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Ae(),"hidden"]}],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:Ae()}],"border-color":[{border:[n]}],"border-color-At":[{"border-At":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Ae()]}],"outline-offset":[{"outline-offset":[_,d]}],"outline-w":[{outline:[_,Z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:dt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",X,Xr]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...mt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":mt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",X,d]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[j]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-At":[{"scale-At":[z]}],"scale-At":[{"scale-At":[z]}],rotate:[{rotate:[ye,d]}],"translate-At":[{"translate-At":[ct]}],"translate-At":[{"translate-At":[ct]}],"skew-At":[{"skew-At":[it]}],"skew-At":[{"skew-At":[it]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","At-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","At",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","At","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-At":[{"touch-pan":["At","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_,Z,We]}],stroke:[{stroke:[e,"none"]}],Dt:["Dt-only","not-Dt-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-At","overflow-At"],overscroll:["overscroll-At","overscroll-At"],inset:["inset-At","inset-At","start","end","top","right","bottom","left"],"inset-At":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-At","gap-At"],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-At","rounded-l","rounded-ss","rounded-At","rounded-At","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-At","rounded-At"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-At":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-At","border-spacing-At"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-At","border-w-l"],"border-w-At":["border-w-r","border-w-l"],"border-w-At":["border-w-t","border-w-At"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-At","border-color-l"],"border-color-At":["border-color-r","border-color-l"],"border-color-At":["border-color-t","border-color-At"],"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-At","touch-At","touch-pz"],"touch-At":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ct=Ur(oo);function l(...e){return Ct((0,Nt.clsx)(e))}var At=require("react/jsx-runtime");function H({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,At.jsx)("div",{className:n,children:e})}var Pe=(e,t)=>e[t%e.length];var kt=require("@radix-ui/react-slot"),Pt=require("class-variance-authority"),St=E(require("react")),ao=(0,Pt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),B=St.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?kt.Slot:"button",{className:l(ao({className:t,size:r,variant:a})),ref:o,...n}));B.displayName="Button";var Rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};var It=E(require("next/link"));function re({children:e,href:t,openNewTab:r,...a}){return(0,At.jsx)(It.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function no(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Mt({icon:e,title:t,description:r,slug:a}){return(0,At.jsxs)("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block h-full space-At-6 overflow-hidden rounded-5 p-6 md:space-At-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,At.jsxs)("div",{className:"flex items-center gap-5",children:[(0,At.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:no(e)?(0,At.jsx)(Rt,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,At.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,At.jsx)(re,{href:a,children:t}):t})]}),(0,At.jsx)("p",{className:"text-body dark:text-body",children:r}),a&&(0,At.jsx)(B,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,At.jsxs)(re,{href:a,children:[(0,At.jsx)("span",{children:"Read More"}),(0,At.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,At.jsx)("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-At-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-At-100 group-hover/service:opacity-100"})]})}function so({services:e,className:t}){return(0,At.jsx)("section",{id:"next-section",className:l("section-padding-primary",t),children:(0,At.jsx)(H,{className:"py-8",children:e&&e.length>0&&(0,At.jsx)("div",{className:"flex flex-wrap justify-center gap-At-8",children:e.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,At.jsx)(Mt,{...r})},a))})})})}var Se=require("react-icons/fa6");function Et({title:e,description:t,features:r,price:a,duration:n,button:o}){return(0,At.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,At.jsxs)("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-At max-lg:pt-14 lg:border-r lg:p-10",children:[(0,At.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,At.jsx)("p",{children:t})]}),(0,At.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,At.jsxs)("div",{className:"flex flex-col justify-stretch gap-At-14 gap-At-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,At.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,i)=>(0,At.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,At.jsx)("span",{className:"text-accent pt-1",children:(0,At.jsx)(Se.FaCircleCheck,{})}),(0,At.jsx)("span",{children:s})]},i))}),(0,At.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,At.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:n&&n})]}),o&&(0,At.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,At.jsx)(B,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,At.jsxs)(re,{href:o.href,openNewTab:o.openNewTab,children:[(0,At.jsx)("span",{className:"relative z-1",children:o.label}),(0,At.jsx)("span",{className:"relative z-1 pl-2",children:(0,At.jsx)(Se.FaAnglesRight,{})})]})})})]})})]})}var zt=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,At.jsx)(U,{content:t,enableGutter:!1,enableProse:!1})})});var Ze=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let g=r==="link"?"clear":c,u=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(Ze.default,{className:l(n),href:f||m||"",...u,children:[o&&o,a&&a]}):(0,At.jsx)(B,{asChild:!0,className:n,size:g,variant:r,children:(0,At.jsxs)(Ze.default,{className:l(n),href:f||m||"",...u,children:[o&&o,a&&a]})})};var Ht=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(U,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(Re,{size:"lg",...r},a))})]})});var Be=require("prism-react-renderer");var Ft=require("lucide-react"),Dt=require("react");function Ut({code:e}){let[t,r]=(0,Dt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(B,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("p",{children:t}),(0,At.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,At.jsx)(Ft.ClipboardCopy,{})})]})})}var Gt=({code:e,language:t=""})=>e?(0,At.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-At-auto",children:[n.map((o,s)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(Ut,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(Gt,{code:t,language:r})});var Yt=E(require("next/image")),io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",$t=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,m,f,g=t,u=i||"";if(!u&&o&&typeof o=="object"){let{alt:w,filename:p,height:h,url:N,width:j}=o;m=j,f=h,g=w||"",u=N||Vt}let T=c||"lazy",I=s||Object.entries(io).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(Yt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Vt,priority:T!=="lazy"&&n,quality:100,loading:T,sizes:I,src:u,width:r?void 0:m})})};var Kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var jt=()=>{if(Kt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Qt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Dt.useRef)(null);if((0,Dt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,At.jsx)("source",{src:`${jt()}/media/${o}`})})}return null};var Wt=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||Dt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(Qt,{...e}):(0,At.jsx)($t,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(Wt,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Jt=({title:e,description:t,features:r,id:a})=>(0,At.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,At.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,At.jsx)(U,{content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let s=(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,At.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,At.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,At.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,At.jsx)("div",{className:"text-lg opacity-80",children:(0,At.jsx)(U,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,At.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:s},o):s})})]});var Ee=E(require("react"));function Me({nodes:e}){return(0,At.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,At.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Me({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Me({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(Ht,{...o},r);case"mediaBlock":return(0,At.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,At.jsx)(zt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(Jt,{...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var U=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Me({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function pe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:n=!1,className:o,invert:s=!1}){let i=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},o);return(0,At.jsxs)("div",{className:i,children:[e&&(0,At.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,At.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",s&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,At.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,At.jsx)(U,{content:r,enableGutter:!1})]})}function lo({sectionHeading:e,cards:t}){return(0,At.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,At.jsxs)(H,{children:[(0,At.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,At.jsx)(pe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,At.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,At.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Pe([200,400,600],a),className:"py-2",children:(0,At.jsx)(Et,{...r})},a))})]})})}var me=E(require("next/image"));function co(e){let{images:t,sectionHeading:r,keyPoints:a,description:n}=e;return(0,At.jsx)("section",{id:"about-section",className:l("section-padding-primary",e.className||""),children:(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,At.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,At.jsx)(pe,{...r}),a&&a.length>0&&(0,At.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,s)=>(0,At.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,At.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,At.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),n&&(0,At.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:n})]}),t&&(0,At.jsx)("div",{className:"mx-auto text-center",children:(0,At.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,At.jsxs)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,At.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,At.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,At.jsx)(me.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,At.jsx)("div",{className:"flex overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,At.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,At.jsx)("div",{className:"overflow-hidden",children:(0,At.jsx)(me.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,At.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-At-1/2 -translate-At-1/2 overflow-hidden",children:(0,At.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,At.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,At.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var er=E(require("next/image"));var Xt=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${n}`};function tr({blogs:e}){return(0,At.jsx)("div",{children:e&&e.length>0&&(0,At.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,At.jsx)(po,{post:t,id:r},r))})})}var po=({post:e,id:t})=>{let{slug:r,image:a,authors:n,categories:o,title:s,description:i,publishedAt:c}=e;return(0,At.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,At.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[a&&(0,At.jsx)(er.default,{src:a.src,alt:a.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,At.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-At-4 text-xs",children:[(0,At.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Xt(e.publishedAt)}),e.categories&&e.categories.map((m,f)=>(0,At.jsx)("a",{href:`#${m}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m},f))]}),(0,At.jsxs)("div",{className:"group relative max-w-xl",children:[(0,At.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,At.jsxs)("a",{href:e.slug,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,At.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,At.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-At-2 border-gray-200 dark:border-gray-700 pt-6",children:n&&n.map((m,f)=>(0,At.jsxs)("div",{className:"relative flex items-center gap-At-4",children:[m.image?(0,At.jsx)("img",{alt:m.image.alt,src:m.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,At.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,At.jsx)("div",{className:"text-sm/6",children:(0,At.jsxs)("p",{className:"text-foreground pr-6",children:[(0,At.jsx)("span",{className:"absolute inset-0"}),m.name]})})]},f))})]})]},t)};var ge=require("next/navigation");var ne=E(require("react"));var G=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));G.displayName="Card";var Y=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 p-6",e),...t}));Y.displayName="CardHeader";var $=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));$.displayName="CardTitle";var mo=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));mo.displayName="CardDescription";var O=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));O.displayName="CardContent";var go=ne.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));go.displayName="CardFooter";var wn=l("transition-colors duration-400 hover:text-primary ease-in-out");function ze({title:e,links:t}){let r=(0,ge.useSearchParams)(),a=(0,ge.usePathname)(),{replace:n}=(0,ge.useRouter)();function o(s){let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:e&&e})}),(0,At.jsx)(O,{children:t&&t.length>0&&(0,At.jsx)("nav",{"aria-label":"footer links navigation",children:(0,At.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,At.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(),o(s.href)},children:[s.label,(0,At.jsx)(Ft.ExternalLink,{className:"ml-1 h-3 w-3"})]},i))})})})]})}var or=E(require("next/link"));var nr=({links:e,title:t="Related Content"})=>(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:t})}),(0,At.jsx)(O,{children:(0,At.jsx)("nav",{className:"flex flex-col space-At-2",children:e.map((r,a)=>(0,At.jsxs)(or.default,{href:r.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[r.title,r.url.startsWith("http")&&(0,At.jsx)(Ft.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})]});var ot=l("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 ir({pages:e}){let t=(0,ge.useSearchParams)(),r=(0,ge.usePathname)(),{replace:a}=(0,ge.useRouter)(),{totalPages:n,page:o}=e,[s,i]=(0,Dt.useState)({start:o>3?o-3:1,end:o+2}),c=g=>{g==="left"&&s.start>1?i(u=>({start:u.start-1,end:u.end-1})):g==="right"&&s.end<n&&i(u=>({start:u.start+1,end:u.end+1}))};function m(g){let u=new URLSearchParams(t);g?u.set("page",g):u.delete("page"),a(`${r}?${u.toString()}`)}if(n<=1)return null;let f=[];for(let g=s.start;g<=s.end;g++)f.push(g);return(0,At.jsx)("div",{className:"mt-12",children:(0,At.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,At.jsx)(Se.FaArrowLeft,{})})}),f.map((g,u)=>(0,At.jsx)("li",{children:(0,At.jsx)("a",{className:l(ot,g===o?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${g}`,role:"button",onClick:T=>{T.preventDefault(),m(g.toString())},children:g})},u)),s.end<n&&(0,At.jsx)("li",{children:(0,At.jsx)("button",{className:l(ot,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,At.jsx)(Se.FaArrowRight,{})})})]})})}function cr({types:e}){let[t,r]=(0,Dt.useState)(e&&e[0].href),a=(0,ge.useSearchParams)(),n=(0,ge.usePathname)(),{replace:o}=(0,ge.useRouter)();function s(i){let c=new URLSearchParams(a);i?c.set("type",i):c.delete("type"),r(i),o(`${n}?${c.toString()}`)}return(0,At.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-At-auto pb-4 mb-6",children:e&&e.map((i,c)=>(0,At.jsx)(B,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(i.href),children:i.label},c))})}function uo({blogs:e,pages:t,categories:r,types:a}){return(0,At.jsx)("section",{children:(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsxs)("div",{children:[a&&(0,At.jsx)(cr,{types:a}),(0,At.jsx)(tr,{blogs:e}),(0,At.jsx)(ir,{pages:t})]}),(0,At.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,At.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,At.jsx)(ze,{links:r.links,title:r.title})})})]})})})}var fr=E(require("next/image"));var Fe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function De({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function fo({className:e,...t}){return(0,At.jsx)("input",{...t,className:De({className:e})})}function Ue({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(fo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-At-1/2 text-accent",children:e})]})}function bo({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(De({}),"resize-none md:min-h-[130px]",e)})}function dr({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(bo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var mr=require("formik"),ie=E(require("yup"));async function pr(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var nt=require("sonner"),V={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},ho=ie.object().shape({name:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:ie.string().email(V.email).required(V.required),subject:ie.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:ie.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Ge=l("!pr-[44px]"),Oe=l("!border-red-600 border"),Ve=l("Dt-only");function ur(){return(0,At.jsx)(mr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ho,onSubmit:async(e,{resetForm:t})=>{let r=await pr(e);r.data===null?nt.toast.error(r.message):(nt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(Ue,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(Se.FaUser,{}),className:l(Ge,e.name&&t.name&&Oe)}),e.name&&t.name&&(0,At.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ve,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(Ue,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(xo,{}),className:l(Ge,e.email&&t.email&&Oe)}),e.email&&t.email&&(0,At.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ve,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(Ue,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Ge,e.subject&&t.subject&&Oe)}),e.subject&&t.subject&&(0,At.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ve,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(dr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(yo,{}),className:l(Ge,e.message&&t.message&&Oe)}),e.message&&t.message&&(0,At.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ve,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2",children:(0,At.jsx)(B,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,At.jsx)("span",{children:"SEND"})})})]})})}function xo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function yo(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,At.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function vo(e){let{sectionHeading:t,image:r}=e;return(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsx)("div",{className:"",children:(0,At.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,At.jsx)("div",{className:"mx-auto max-w-2xl space-At-16 divide-At divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,At.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,At.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where At are based. These are our key locations."})]}),(0,At.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,n)=>{var o;return(0,At.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,At.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,At.jsxs)("address",{className:"mt-3 space-At-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((s,i)=>(0,At.jsx)("p",{children:s},i))," ",a.mails&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,At.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,At.jsxs)("p",{className:"flex items-center space-At-2",children:[(0,At.jsx)(Se.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,At.jsx)("section",{className:"section-padding-primary",children:(0,At.jsxs)("div",{className:"relative py-[60px]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,At.jsx)(fr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Fe})}),(0,At.jsx)(H,{children:(0,At.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,At.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,At.jsx)("div",{className:"mb-30px",children:(0,At.jsx)(pe,{...t,invert:!0})}),(0,At.jsx)(ur,{})]})})})]})})]})}var br=E(require("next/image"));var xr=E(require("next/link"));function wo({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,At.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsx)(G,{children:(0,At.jsxs)(O,{children:[e&&e.src&&(0,At.jsx)(br.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Fe,className:"mx-auto mt-6 rounded-full object-cover"}),(0,At.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,At.jsx)("p",{children:r}),a&&a.length>0&&(0,At.jsx)("nav",{"aria-label":"social links",children:(0,At.jsx)("ul",{className:"inline-flex items-center divide-At divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,At.jsx)("li",{children:(0,At.jsx)(re,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-At-1 hover:text-accents",children:(0,At.jsx)("span",{children:n.icon})})},o))})})]})})})}function Co({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,ge.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:m}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:i,commentCount:0,title:m,description:(n==null?void 0:n.description)||""},g=s==null?void 0:s.map(T=>{var I,w;return{name:T.name||"",about:"",image:{src:T.profilePicture&&((w=(I=T.profilePicture.sizes)==null?void 0:I.square)==null?void 0:w.url)||"",alt:T.name||"blog author"},socialLinks:[]}});return(0,At.jsx)(H,{children:(0,At.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,At.jsx)("div",{children:(0,At.jsxs)("div",{className:"[&_p+At]:mt-4",children:[(0,At.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,At.jsx)(U,{content:c,enableGutter:!1})]})}),(0,At.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,At.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(O,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,At.jsx)(xr.default,{href:`${a}${e.id}`,children:(0,At.jsx)(B,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),g&&g.map((T,I)=>(0,At.jsx)(wo,{...T},I)),t&&t.links&&(0,At.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,At.jsx)(ze,{links:t.links,title:t.title})})]})]})})}var st=E(require("next/link"));var No=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:n="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,i]=(0,Dt.useState)(!1),[c,m]=(0,Dt.useState)(""),f=(0,ge.usePathname)(),g=()=>{i(!s)},u=p=>{switch(p){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},T=(p,h)=>{p.preventDefault();let N=document.getElementById(h);if(N){let z=N.offsetTop+-100,te=document.querySelector(".container")||window;te===window?window.scrollTo({top:z,behavior:"smooth"}):te.scrollTo({top:z,behavior:"smooth"}),m(h)}else console.error(`Element with ID "${h}" not found.`)},I=()=>{let h="/print/"+f.split("/")[1],N=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()},w=()=>{let h="/present/"+f.split("/")[1],N=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");N&&N.focus()};return(0,Dt.useEffect)(()=>{let p=window.location.hash;if(p){let h=p.substring(1),N=document.getElementById(h);if(N){let z=N.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:z,behavior:"smooth"})}}},[window.location.hash]),(0,At.jsxs)("div",{className:"container py-8",children:[(0,At.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[(0,At.jsx)("div",{className:l(s?"col-span-2":"col-span-3","xl:col-span-3"),children:e}),(0,At.jsxs)("div",{className:l("space-At-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-At-0 xl:-mt-20",s?"translate-At-0":"md:translate-At-full","xl:block xl:col-span-1 xl:translate-At-0"),children:[a&&(0,At.jsxs)(G,{children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"Content Actions"})}),(0,At.jsxs)(O,{children:[(0,At.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),(0,At.jsx)(st.default,{href:`${n}${t}`,children:(0,At.jsx)(B,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),(0,At.jsx)(st.default,{href:"/admin/collections/pages/create",children:(0,At.jsx)(B,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),(0,At.jsxs)("div",{className:"flex space-At-2 mt-4",children:[(0,At.jsxs)(B,{variant:"outline",className:"text-accent hover:text-foreground",onClick:I,children:[(0,At.jsx)($e.Printer,{className:"mr-2"})," Print"]}),(0,At.jsxs)(B,{variant:"outline",className:"text-accent hover:text-foreground",onClick:w,children:[(0,At.jsx)($e.Presentation,{className:"mr-2"})," Present"]})]})]})]}),o&&o.length>0&&o.map((p,h)=>p.links&&p.links.length>0&&(0,At.jsx)(nr,{...p},h)),r.length>3&&(0,At.jsxs)(G,{className:"w-full max-w-sm mt-4",children:[(0,At.jsx)(Y,{children:(0,At.jsx)($,{className:"text-accent",children:"On this page"})}),(0,At.jsx)(O,{children:(0,At.jsx)("ul",{className:"space-At-2",children:r.map((p,h)=>(0,At.jsx)("li",{className:u(p.tag),children:(0,At.jsx)("a",{href:`#${p.id}`,className:`text-xs ${c===p.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:p.text})},h))})})]})]}),(0,At.jsx)("button",{onClick:g,className:l("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-At-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),(0,At.jsx)("div",{className:"block md:hidden mt-8",children:(0,At.jsx)("div",{className:"space-At-6",children:e})})]})};0&&(module.exports={AboutSection,BlogDetail,BlogListSection,ContactSection,MainPageSection,PricingSection,ServiceSection});
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as b}from"../chunk-VAEKAYFF.mjs";import{a}from"../chunk-SBHCQ2HK.mjs";import{a as d}from"../chunk-KKLZ6CCZ.mjs";import"../chunk-AD7PG4E2.mjs";import{a as e}from"../chunk-6FABK6XD.mjs";import"../chunk-EI7PFWFS.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import{a as g}from"../chunk-T6LPMF7A.mjs";import{a as c}from"../chunk-GMMJ5NQ2.mjs";import{a as f}from"../chunk-L7HV5BKW.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-TQCGX4Y6.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-BYXEE5EN.mjs";import"../chunk-QL74DMZ3.mjs";import"../chunk-4VDJWCUB.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-OCZTJKMQ.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-UK4IPFAO.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-AFA6LBJ4.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,f as BlogDetail,d as BlogListSection,e as ContactSection,g as MainPageSection,b as PricingSection,a as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.40.0",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
package/dist/chunk-65EMMROH.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as s,b as i,c,e as l}from"./chunk-D76EO57Z.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{useSearchParams as h,usePathname as u,useRouter as x}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as r,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=h(),d=u(),{replace:C}=x();function f(e){console.log(e);let t=new URLSearchParams(p);e?t.set("category",e):t.delete("category"),C(`${d}?${t.toString()}`)}return m(s,{children:[r(i,{children:r(c,{className:"text-accent",children:o&&o})}),r(l,{children:a&&a.length>0&&r("nav",{"aria-label":"footer links navigation",children:r("ul",{className:"grid gap-2.5 ",children:a.map((e,t)=>m("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(e.href)},children:[e.label,r(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};
|
package/dist/chunk-6D7LTGTN.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as x}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-GLEWUUGS.mjs";import{a as d,b as m,c as f,e as u}from"./chunk-D76EO57Z.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v,useEffect as O}from"react";import C from"next/link";import{Printer as z,Presentation as S}from"lucide-react";import{usePathname as H}from"next/navigation";import{jsx as t,jsxs as a}from"react/jsx-runtime";var G=({children:h,pageId:b,tableOfContents:p=[],edit:N=!0,path:y="/admin/collections/pages/",relatedContent:l={title:"Related Content",links:[]}})=>{let[c,P]=v(!1),[k,T]=v(""),g=H(),E=()=>{P(!c)},I=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},$=(e,n)=>{e.preventDefault();let o=document.getElementById(n);if(o){let r=o.offsetTop+-100,w=document.querySelector(".container")||window;w===window?window.scrollTo({top:r,behavior:"smooth"}):w.scrollTo({top:r,behavior:"smooth"}),T(n)}else console.error(`Element with ID "${n}" not found.`)},L=()=>{let n="/print/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()},R=()=>{let n="/present/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()};return O(()=>{let e=window.location.hash;if(e){let n=e.substring(1),o=document.getElementById(n);if(o){let r=o.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:r,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"container py-8",children:[a("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:i(c?"col-span-2":"col-span-3","xl:col-span-3"),children:h}),a("div",{className:i("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",c?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[N&&a(d,{children:[t(m,{children:t(f,{className:"text-accent",children:"Content Actions"})}),a(u,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),t(C,{href:`${y}${b}`,children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(C,{href:"/admin/collections/pages/create",children:t(s,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),a("div",{className:"flex space-x-2 mt-4",children:[a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:L,children:[t(z,{className:"mr-2"})," Print"]}),a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:R,children:[t(S,{className:"mr-2"})," Present"]})]})]})]}),p.length>3&&a(d,{className:"w-full max-w-sm mt-4",children:[t(m,{children:t(f,{className:"text-accent",children:"On this page"})}),t(u,{children:t("ul",{className:"space-y-2",children:p.map((e,n)=>t("li",{className:I(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${k===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},n))})})]}),l&&l.links.length>0&&t(x,{...l})]}),t("button",{onClick:E,className:i("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:h})})]})};export{G as a};
|
package/dist/chunk-JVRJU2VL.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as m}from"./chunk-FF5RGGCG.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{useState as h,useEffect as g,useCallback as w}from"react";import{AnimatePresence as x,motion as y}from"framer-motion";import{jsx as t,jsxs as N}from"react/jsx-runtime";var W=p=>{let[l,a]=h(0),{blocks:n}=p,f=n&&Array.isArray(n)&&n.length>0,b=e=>{console.log("sectionId",e),console.log("block",n[e]),a(e)},i=()=>{a(e=>(e+1)%n.length)},s=()=>{a(e=>(e-1+n.length)%n.length)},c=w(((e,o)=>{let d;return(...v)=>{clearTimeout(d),d=setTimeout(()=>e(...v),o)}})(e=>{e.deltaY>0?i():s()},300),[]),u=e=>{e.key==="ArrowDown"?i():e.key==="ArrowUp"&&s()};return g(()=>(window.addEventListener("wheel",c),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",c),window.removeEventListener("keydown",u)}),[]),N("div",{className:"flex h-screen relative",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:f&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${l===o?"bg-accent":"bg-gray-300"}`,onClick:()=>b(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),n.map((e,o)=>t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${o===l?"opacity-100":"opacity-0"}`,children:t(m,{blocks:[e]})},o)),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:t(k,{})})]})},k=()=>t(x,{children:t(y.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:r("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:t(y.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:r("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});export{W as a};
|
package/dist/chunk-KAVGGNPV.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b,b as v,c as h}from"./chunk-SBM5HULF.mjs";import{b as l}from"./chunk-GLEWUUGS.mjs";import{ChevronLeft as w,ChevronRight as k}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u(...t){return t.filter(Boolean).join(" ")}function $({currentDate:t,setCurrentDate:n,holidays:f,employees:i}){let m=new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),y=()=>{n(new Date(t.getFullYear(),t.getMonth()-1,1))},x=()=>{n(new Date(t.getFullYear(),t.getMonth()+1,1))},N=()=>{n(new Date)};return console.log("currentDate",t),r("div",{className:"px-4 sm:px-6 lg:px-8",children:[r("div",{className:"sm:flex sm:items-center",children:[r("div",{className:"sm:flex-auto",children:[e("h1",{className:"text-2xl font-semibold text-accent",children:t.toLocaleString("default",{month:"long",year:"numeric"})}),e("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),r("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[r(l,{onClick:y,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Previous month"}),e(w,{className:"h-5 w-5","aria-hidden":"true"})]}),e(l,{variant:"outline",onClick:N,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),r(l,{onClick:x,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Next month"}),e(k,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),e("div",{className:"mt-8 flow-root",children:e("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:e("div",{className:"inline-block min-w-full py-2 align-middle",children:r("table",{className:"min-w-full border-separate border-spacing-0",children:[e("thead",{children:r("tr",{children:[e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(m)].map((o,s)=>e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter",children:s+1},s))]})}),e("tbody",{children:i.map((o,s)=>r("tr",{children:[e("td",{className:u(s!==i.length-1?" border-gray-200":"","whitespace-nowrap py-4 border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:r("div",{className:"flex items-center",children:[r(b,{className:"h-11 w-11",children:[e(v,{src:o.image,alt:o.name}),e(h,{children:o.name.split(" ").map(c=>c[0]).join("")})]}),e("div",{className:"ml-4",children:e("div",{className:"font-medium text-accent",children:o.name})})]})}),[...Array(m)].map((c,g)=>{let p=new Date(t.getFullYear(),t.getMonth(),g+1),a=f.find(d=>d.userId===o.id&&new Date(d.startDate)<=p&&new Date(d.endDate)>=p);return e("td",{className:u(s!==i.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200"),children:e("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${a?a.status==="approved"?"bg-green-500":a.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:a?`${o.name}: ${a.status} (${a.startDate} - ${a.endDate}) - ${a.leaveType}`:"",children:a&&a.leaveType!=="Full Day"&&e("div",{className:`h-3 w-6 ${a.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${o.id}-${g}`)})]},o.id))})]})})})})]})}export{$ as a};
|
package/dist/chunk-O5XLZ254.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as h}from"./chunk-SV3TTIPR.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as t}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:a,menuItems:d}){let[o,n]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=a==null?void 0:a.split(".")[0],i=a==null?void 0:a.split(".")[1],[b,p]=m(`${r}.${i}`),f=s=>{c.includes(s)?p(s==="light"?`${r}.${i}`:`${r}-${s}.${i}`):p(`${r}.${i}`)};v(()=>{let s=localStorage.getItem("theme")||"light";console.log("storedTheme",s),g(s),document.documentElement.setAttribute("class",s),f(s)},[]);let x=()=>{let s=c[(c.indexOf(u)+1)%c.length];g(s),document.documentElement.setAttribute("class",s),localStorage.setItem("theme",s),f(s)};return t("header",{className:"relative isolate z-10 bg-background h-14",children:[t("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:t("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(s=>e(h,{...s},s.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),t(w,{open:o,onClose:n,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),t(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[t("div",{className:"flex items-center justify-between",children:[t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:a,className:"h-8 w-auto"})]}),t("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(s=>e(H,{...s},s.name))})})})]})]})]})}function H({name:l,items:a,actions:d,href:o}){return!a&&o?e("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):t(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:a&&a.map(n=>e(y,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}export{A as a};
|
package/dist/chunk-OOQZDDQC.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as v}from"./chunk-YF7BU7S3.mjs";import{a as p}from"./chunk-DYIUZ4V5.mjs";import{a as y}from"./chunk-RJGFEJBJ.mjs";import{a as f}from"./chunk-KAVGGNPV.mjs";import{useState as N}from"react";import{ChevronDown as C}from"lucide-react";import{CalendarDays as q,Grid as R,PlusCircle as P,CheckSquare as A}from"lucide-react";import{useRouter as k}from"next/navigation";import{format as T}from"date-fns";import{jsx as r,jsxs as n}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function B({holidays:s,currentUser:t,currentDate:o,leaveApprovals:D,employees:h,submitLeaveRequest:d,approveLeave:m,rejectLeave:l}){let[a,c]=N("Calendar View"),x=k(),L=!1;console.log("currentDate:",o);let u=async e=>{let w=T(e,"dd-MM-yyyy"),i=new URL(window.location.href);return i.searchParams.set("date",w),console.log("URL:",i.toString()),x.push(i.toString()),{success:!0}};if(L)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let g=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:q,current:a==="Calendar View"},{name:"Request Leave",icon:P,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return n("div",{className:"container mx-auto p-4",children:[r("h1",{className:"text-3xl font-bold mb-4",children:"Holiday Tracker"}),n("div",{className:"mb-8",children:[n("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>c(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:g.map(e=>r("option",{children:e.name},e.name))}),r(C,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:g.map(e=>n("a",{onClick:()=>{(e.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&c(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:o,setCurrentDate:u,holidays:s,employees:h}),a==="Calendar View"&&r(y,{currentDate:o,setCurrentDate:u,holidays:s}),a==="Request Leave"&&r(v,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:e=>d?d(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(p,{leaveRequests:D,onApprove:e=>m?m(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>l?l(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{B as a};
|
package/dist/chunk-RJGFEJBJ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as r}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v}from"react";import{ChevronLeft as f,ChevronRight as x}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function F({currentDate:s,setCurrentDate:d,holidays:c}){let[o,b]=v(null),N=new Date(s.getFullYear(),s.getMonth()+1,0).getDate(),p=new Date(s.getFullYear(),s.getMonth(),1).getDay(),g=Array.from({length:42},(e,n)=>{let l=new Date(s.getFullYear(),s.getMonth(),n-p+1);return{date:l,isCurrentMonth:l.getMonth()===s.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),h=()=>{d(new Date(s.getFullYear(),s.getMonth()-1,1))},u=()=>{d(new Date(s.getFullYear(),s.getMonth()+1,1))},y=()=>{d(new Date)};return a("div",{className:"lg:flex lg:h-full lg:flex-col",children:[a("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:s.toISOString(),children:s.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(f,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:y,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(r,{onClick:u,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(x,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),a("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[a("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[a("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),a("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),a("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),a("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:g.map(e=>a("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1",children:e.holidays.map(n=>t("li",{children:t("div",{className:`text-xs px-1 py-0.5 rounded ${n.status==="approved"?"border-green-500":"border-gray-500"} border`,children:n.userName})},n.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>a("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===o||e.isToday)&&"font-semibold",e.date===o&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==o&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==o&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===o&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===o&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),a("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(n=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${n.status==="approved"?"bg-green-500":"bg-gray-500"}`},n.id))})]},e.date.toISOString()))})]})]})]})}export{F as a};
|
package/dist/chunk-YLGJP63J.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
async function i(r){let{name:s,email:a,subject:n,message:c}=r,t=process.env.TEAMS_WEBHOOK_URL;if(!t)throw new Error("TEAMS_WEBHOOK_URL is not defined");let o={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${s}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${c}`,wrap:!0}]}}]};console.log(JSON.stringify(o));try{let e=await fetch(t,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!e.ok)throw console.error(e),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(e){return console.error(e),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{i as a};
|