cortex-react-components 1.17.0 → 1.18.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-NSUCU5DU.mjs → chunk-5O6DFU4X.mjs} +1 -1
- package/dist/{chunk-KVLKXXVS.mjs → chunk-6AIYOOQB.mjs} +1 -1
- package/dist/{chunk-5M4ELXL3.mjs → chunk-6B34FUZY.mjs} +1 -1
- package/dist/{chunk-PMSQWXAT.mjs → chunk-7LAWX74V.mjs} +1 -1
- package/dist/{chunk-GCVL4HMJ.mjs → chunk-CLX23VLS.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-FHRWUBJS.mjs → chunk-DSLEVJ5J.mjs} +1 -1
- package/dist/chunk-FTXWB6OV.mjs +4 -0
- package/dist/{chunk-N7Z6I6KY.mjs → chunk-G2IGGQXC.mjs} +1 -1
- package/dist/{chunk-O7JZET2F.mjs → chunk-GXHXPWKT.mjs} +1 -1
- package/dist/{chunk-QCZZL6MD.mjs → chunk-HOTJ3KYZ.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-Q24IVBS5.mjs → chunk-KHQHXFXT.mjs} +1 -1
- package/dist/{chunk-NV7LUI3U.mjs → chunk-MGZHZWWG.mjs} +1 -1
- package/dist/{chunk-YLVDYTR5.mjs → chunk-PGGLOICR.mjs} +1 -1
- package/dist/{chunk-XS2GYYRB.mjs → chunk-QAZT4VG7.mjs} +1 -1
- package/dist/{chunk-6MWJ4LJP.mjs → chunk-U4Z5UCHZ.mjs} +1 -1
- package/dist/{chunk-QXFTL6FL.mjs → chunk-UJRNR62B.mjs} +1 -1
- package/dist/{chunk-Y7INXZZZ.mjs → chunk-VAEYKO2L.mjs} +1 -1
- package/dist/{chunk-ERWTLUYM.mjs → chunk-VDTIBSYZ.mjs} +1 -1
- package/dist/{chunk-KHYUZ2PB.mjs → chunk-VYJK4R76.mjs} +1 -1
- package/dist/{chunk-Q3HKMCDA.mjs → chunk-W4BDQBY4.mjs} +1 -1
- package/dist/{chunk-QRV2F2XT.mjs → chunk-YJLGN2LA.mjs} +1 -1
- package/dist/chunk-YLGJP63J.mjs +4 -0
- package/dist/chunk-ZBKZHJB4.mjs +1 -0
- package/dist/{chunk-GCBC75DA.mjs → chunk-ZDDN4BC5.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +51 -51
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogListSection.d.ts +19 -0
- package/dist/sections/BlogListSection.js +1 -0
- package/dist/sections/BlogListSection.mjs +1 -0
- package/dist/sections/BlogListSection.stories.js +1 -0
- package/dist/sections/BlogListSection.stories.mjs +1 -0
- 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/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.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.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-H2JWQHUC.mjs +0 -4
- package/dist/chunk-WASMU2IJ.mjs +0 -4
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var vt=Object.create;var $=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty;var Pt=(e,t)=>{for(var o in t)$(e,o,{get:t[o],enumerable:!0})},Le=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kt(t))!St.call(e,n)&&n!==o&&$(e,n,{get:()=>t[n],enumerable:!(s=Ct(t,n))||s.enumerable});return e};var D=(e,t,o)=>(o=e!=null?vt(Nt(e)):{},Le(t||!e||!e.__esModule?$(o,"default",{value:e,enumerable:!0}):o,e)),Bt=e=>Le($({},"__esModule",{value:!0}),e);var ho={};Pt(ho,{Default:()=>At,default:()=>fo});module.exports=Bt(ho);var xt=D(require("next/image"));var ze="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Ve=require("clsx");var xe="-",It=e=>{let t=Rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(xe);return a[0]===""&&a.length!==1&&a.shift(),He(a,t)||Tt(i)},getConflictingClassGroupIds:(i,a)=>{let d=o[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],s=t.nextPart.get(o),n=s?He(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(xe);return(i=t.validators.find(({validator:a})=>a(r)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,Tt=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Rt=e=>{let{theme:t,prefix:o}=e,s={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),o).forEach(([r,i])=>{ye(i,s,r,t)}),s},ye=(e,t,o,s)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:Ge(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(Mt(n)){ye(n(s),t,o,s);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{ye(i,Ge(t,r),o,s)})})},Ge=(e,t)=>{let o=e;return t.split(xe).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Mt=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([o,s])=>{let n=s.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,a])=>[t+i,a])):r);return[o,n]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,n=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,s=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=s.get(r))!==void 0)return n(r,i),i},set(r,i){o.has(r)?o.set(r,i):n(r,i)}}},De="!",Lt=e=>{let{separator:t,experimentalParseClassName:o}=e,s=t.length===1,n=t[0],r=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let A=a[y];if(f===0){if(A===n&&(s||a.slice(y,y+r)===t)){d.push(a.slice(b,y)),b=y+r;continue}if(A==="/"){v=y;continue}}A==="["?f++:A==="]"&&f--}let w=d.length===0?a:a.substring(b),k=w.startsWith(De),N=k?w.substring(1):w,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return o?a=>o({className:a,parseClassName:i}):i},zt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},Ut=e=>({cache:Ft(e.cacheSize),parseClassName:Lt(e),...It(e)}),Gt=/\s+/,Ht=(e,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(Gt),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:k}=o(f),N=!!k,h=s(N?w.substring(0,k):w);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(w),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=zt(b).join(":"),A=v?y+De:y,C=A+h;if(r.includes(C))continue;r.push(C);let F=n(h,N);for(let L=0;L<F.length;++L){let W=F[L];r.push(A+W)}a=f+(a.length>0?" "+a:a)}return a};function Dt(){let e=0,t,o,s="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ke(t))&&(s&&(s+=" "),s+=o);return s}var Ke=e=>{if(typeof e=="string")return e;let t,o="";for(let s=0;s<e.length;s++)e[s]&&(t=Ke(e[s]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,s,n,r=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return o=Ut(f),s=o.cache.get,n=o.cache.set,r=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=Ht(d,o);return n(d,b),b}return function(){return r(Dt.apply(null,arguments))}}var u=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),Qt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Je-?((\d+)?\.?(\d+)[a-z]+|0)/,qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>K(e)||Yt.has(e)||Ot.test(e),T=e=>O(e,"length",oo),K=e=>!!e&&!Number.isNaN(Number(e)),he=e=>O(e,"number",K),J=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&K(e.slice(0,-1)),l=e=>Oe.test(e),R=e=>Qt.test(e),Wt=new Set(["length","size","percentage"]),Xt=e=>O(e,Wt,Ye),Zt=e=>O(e,"position",Ye),$t=new Set(["image","url"]),eo=e=>O(e,$t,so),to=e=>O(e,"",ro),q=()=>!0,O=(e,t,o)=>{let s=Oe.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},oo=e=>Vt.test(e)&&!jt.test(e),Ye=()=>!1,ro=e=>Jt.test(e),so=e=>qt.test(e);var no=()=>{let e=u("colors"),t=u("spacing"),o=u("blur"),s=u("brightness"),n=u("borderColor"),r=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),w=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),A=u("opacity"),C=u("padding"),F=u("saturate"),L=u("scale"),W=u("sepia"),Be=u("skew"),Ie=u("space"),Te=u("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,t],g=()=>[l,t],Re=()=>["",B,T],X=()=>["auto",K,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[K,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[B,T],blur:["none","",R,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",R,l],borderSpacing:g(),borderWidth:Re(),contrast:P(),grayscale:j(),hueRotate:P(),invert:j(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[_t,T],inset:fe(),margin:fe(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:j(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-Je":[{"overflow-Je":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-Je":[{"overscroll-Je":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Je":[{"inset-Je":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-Je":[{"gap-Je":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Je:[{Je:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Je:[{Je:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],ht:[{ht:[y]}],Je:[{Je:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Je":[{"space-Je":[Ie]}],"space-Je-reverse":["space-Je-reverse"],"space-y":[{"space-y":[Ie]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",K,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,T]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Je","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-tt":[{"rounded-tt":[r]}],"rounded-Je":[{"rounded-Je":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[a]}],"border-w-Je":[{"border-Je":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-Je":[{"divide-Je":[a]}],"divide-Je-reverse":["divide-Je-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Z()}],"border-color":[{border:[n]}],"border-color-Je":[{"border-Je":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-w":[{outline:[B,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[B,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,to]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",R,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[F]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Je":[{"border-spacing-Je":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-Je":[{"scale-Je":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[J,l]}],"translate-Je":[{"translate-Je":[Te]}],"translate-y":[{"translate-y":[Te]}],"skew-Je":[{"skew-Je":[Be]}],"skew-y":[{"skew-y":[Be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Je-resize","nw-resize","tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Je",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-ht":[{"scroll-ht":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Je","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Je":[{"touch-pan":["Je","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,T,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Je","overflow-y"],overscroll:["overscroll-Je","overscroll-y"],inset:["inset-Je","inset-y","start","end","top","right","bottom","left"],"inset-Je":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Je","gap-y"],Je:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Je:["mx","my","ms","ht","Je","mr","mb","ml"],mx:["mr","ml"],my:["Je","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-tt","rounded-Je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-tt","rounded-Je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Je","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Je":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Je":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Je":["scroll-mx","scroll-my","scroll-ms","scroll-ht","scroll-Je","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Je","scroll-mb"],"scroll-Je":["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-Je","touch-y","touch-pz"],"touch-Je":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Qe=Kt(no);function c(...e){return Qe((0,Ve.clsx)(e))}var Je=require("react/jsx-runtime");function je({children:e,isFluid:t=!1,isNoPadding:o=!1,className:s=""}){let n=c("container",t&&"full-width",o&&"no-padding",s);return(0,Je.jsx)("div",{className:n,children:e})}var qe=({className:e,content:t,style:o})=>(0,Je.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,Je.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Je.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Xe=D(require("react")),ao=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"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"}}}),z=Xe.forwardRef(({asChild:e=!1,className:t,size:o,variant:s,...n},r)=>(0,Je.jsx)(e?_e.Slot:"button",{className:c(ao({className:t,size:o,variant:s})),ref:r,...n}));z.displayName="Button";var we=D(require("next/link")),te=e=>{let{type:t,appearance:o="inline",children:s,className:n,label:r,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=o==="link"?"clear":d,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]}):(0,Je.jsx)(z,{asChild:!0,className:n,size:v,variant:o,children:(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]})})};var $e=({links:e,richText:t})=>(0,Je.jsx)("div",{className:"container",children:(0,Je.jsxs)("div",{className:"bg-card rounded border-border border Je-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Je.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},s)=>(0,Je.jsx)(te,{size:"lg",...o},s))})]})});var oe=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function ot({code:e}){let[t,o]=(0,tt.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Je.jsx)("div",{className:"flex justify-end align-middle",children:(0,Je.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Je.jsx)("Je",{children:t}),(0,Je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Je.jsx)(et.ClipboardCopy,{})})]})})}var rt=({code:e,language:t=""})=>e?(0,Je.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,Je.jsxs)("pre",{className:"bg-black Je-4 border text-xs border-border rounded overflow-Je-auto",children:[n.map((r,i)=>(0,Je.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Je.jsx)("span",{className:"table-cell pl-4",children:r.map((a,d)=>(0,Je.jsx)("span",{...s({token:a})},d))})]},i)),(0,Je.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:o})=>(0,Je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Je.jsx)(rt,{code:t,language:o})});var at=D(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(nt){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lo="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=",it=e=>{let{alt:t,fill:o,imgClassName:s,priority:n,resource:r,size:i,src:a,loading:d}=e,f,b,v=t,w=a||"";if(!w&&r&&typeof r=="object"){let{alt:h,filename:y,height:A,url:C,width:F}=r;f=F,b=A,v=h||"",w=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(io).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Je.jsx)("picture",{children:(0,Je.jsx)(at.default,{alt:v||"",className:c(s),fill:o,height:o?void 0:b,placeholder:"blur",blurDataURL:lo,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:w,width:o?void 0:f})})};var lt=e=>{let{onClick:t,resource:o,videoClassName:s}=e,n=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Je.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Je.jsx)("source",{src:`${re()}/media/${r}`})})}return null};var pt=e=>{var i;let{className:t,htmlElement:o="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Je.jsx)(o||tt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Je.jsx)(lt,{...e}):(0,Je.jsx)(it,{...e})})};var dt=e=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:n,staticImage:r}=e;return(0,Je.jsx)("div",{className:c("",{container:o},t),children:(0,Je.jsx)(pt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:r})})};var ae=D(require("react"));function Ne({nodes:e}){return(0,Je.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let r=(0,Je.jsx)(ae.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Je.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Je.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Je.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Je.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Je.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Je.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Je.jsx)("sup",{children:r},o)),r}let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let i of r.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ne({nodes:r.children})},n="children"in t?s(t):"";if(t.type==="block"){let r=t.fields,i=r==null?void 0:r.blockType;if(!r||!i)return null;switch(i){case"cta":return(0,Je.jsx)($e,{...r},o);case"mediaBlock":return(0,Je.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Je-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Je.jsx)(qe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Je.jsx)(st,{className:"col-start-2",...r},o);default:return null}}else switch(t.type){case"linebreak":return(0,Je.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Je.jsx)("Je",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"col-start-2",children:n},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Je.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},o):(0,Je.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Je.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Je.jsx)(te,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var Y=({className:e,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var n;return t?(0,Je.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function ut({subtitle:e,title:t,description:o,alignment:s="start",hasBottomSpacing:n=!1,className:r}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},r);return(0,Je.jsxs)("div",{className:i,children:[e&&(0,Je.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,Je.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof o=="string"?o&&(0,Je.jsx)("Je",{className:"Je-5 whitespace-pre-line",children:o}):o&&(0,Je.jsx)(Y,{content:o,enableGutter:!1})]})}function ie({className:e}){return c("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 co({className:e,...t}){return(0,Je.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(co,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function po({className:e,...t}){return(0,Je.jsx)("textarea",{...t,className:c(ie({}),"resize-none md:min-h-[130px]",e)})}function gt({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(po,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var bt=require("formik"),ht=require("react-icons/fa6"),H=D(require("yup"));async function ft(e){let{name:t,email:o,subject:s,message:n}=e,r="https://reply.webhook.office.com/webhookb2/bd96f013-d306-4244-8611-743f6bf96fb9@b00367e2-193a-4f48-94de-7245d45c0947/IncomingWebhook/03eafcb222a24d38aa7af5b5c09af0f0/a03e7d9d-7fba-4893-8c70-fcfcf540483d/V2TvPmNJLZgvGfNKyLJP51BEpKG04B-XU3o8hEp0vLFcU1";if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"New Contact Us Form Submission",weight:"Bolder",size:"Medium"},{type:"TextBlock",text:`**Name:** ${t}`,wrap:!0},{type:"TextBlock",text:`**Email:** ${o}`,wrap:!0},{type:"TextBlock",text:`**Subject:** ${s}`,wrap:!0},{type:"TextBlock",text:`**Message:** ${n}`,wrap:!0}]}}]};try{if(!(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})).ok)throw new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=c("!pr-[44px]"),pe=c("!border-red-600 border"),de=c("sr-only");function yt(){return(0,Je.jsx)(bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let o=await ft(e);o.data===null?Se.toast.error(o.message):(Se.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:s,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Je.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(ht.FaUser,{}),className:c(ce,e.name&&t.name&&pe)}),e.name&&t.name&&(0,Je.jsx)("Je",{title:e.name,"aria-live":"polite",role:"error message",className:de,children:e.name})]}),(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(uo,{}),className:c(ce,e.email&&t.email&&pe)}),e.email&&t.email&&(0,Je.jsx)("Je",{title:e.email,"aria-live":"polite",role:"error message",className:de,children:e.email})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:s,onBlur:n,disabled:r,className:c(ce,e.subject&&t.subject&&pe)}),e.subject&&t.subject&&(0,Je.jsx)("Je",{title:e.subject,"aria-live":"polite",role:"error message",className:de,children:e.subject})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(gt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(go,{}),className:c(ce,e.message&&t.message&&pe)}),e.message&&t.message&&(0,Je.jsx)("Je",{title:e.message,"aria-live":"polite",role:"error message",className:de,children:e.message})]}),(0,Je.jsx)("div",{className:"lg:col-span-2",children:(0,Je.jsx)(z,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:r,children:(0,Je.jsx)("span",{children:"SEND"})})})]})})}function uo(){return(0,Je.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.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 go(){return(0,Je.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.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 Pe(e){let{sectionHeading:t,image:o}=e;return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsx)("div",{className:"",children:(0,Je.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Je.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Je.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Je.jsx)("Je",{className:"Je-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Je.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((s,n)=>{var r;return(0,Je.jsxs)("div",{className:"rounded-2xl Je-10 border",children:[(0,Je.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Je.jsxs)("address",{className:"Je-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=s.location.split(","))==null?void 0:r.map((i,a)=>(0,Je.jsx)("Je",{children:i},a))," ",s.mails&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Je.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsxs)("div",{className:"relative py-[60px]",children:[(0,Je.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,Je.jsx)(xt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:ze})}),(0,Je.jsx)(je,{children:(0,Je.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Je.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Je-10 shadow-1 dark:bg-accent-700 lg:Je-[60px]",children:[(0,Je.jsx)("div",{className:"mb-30px",children:(0,Je.jsx)(ut,{...t})}),(0,Je.jsx)(yt,{})]})})})]})})]})}var fo={title:"Sections/ContactSection",component:Pe,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[e=>(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(e,{}),(0,Je.jsx)(Se.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},bo=e=>(0,Je.jsx)(Pe,{...e}),At=bo.bind({});At.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};0&&(module.exports={Default});
|
|
5
|
+
"use strict";var vt=Object.create;var $=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var o in t)$(e,o,{get:t[o],enumerable:!0})},ze=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kt(t))!St.call(e,n)&&n!==o&&$(e,n,{get:()=>t[n],enumerable:!(s=Ct(t,n))||s.enumerable});return e};var D=(e,t,o)=>(o=e!=null?vt(Nt(e)):{},ze(t||!e||!e.__esModule?$(o,"default",{value:e,enumerable:!0}):o,e)),Pt=e=>ze($({},"__esModule",{value:!0}),e);var ho={};Bt(ho,{Default:()=>At,default:()=>fo});module.exports=Pt(ho);var xt=D(require("next/image"));var Le="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Qe=require("clsx");var xe="-",Tt=e=>{let t=Rt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let a=i.split(xe);return a[0]===""&&a.length!==1&&a.shift(),He(a,t)||It(i)},getConflictingClassGroupIds:(i,a)=>{let d=o[i]||[];return a&&s[i]?[...d,...s[i]]:d}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let o=e[0],s=t.nextPart.get(o),n=s?He(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;let r=e.join(xe);return(i=t.validators.find(({validator:a})=>a(r)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,It=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Rt=e=>{let{theme:t,prefix:o}=e,s={nextPart:new Map,validators:[]};return Et(Object.entries(e.classGroups),o).forEach(([r,i])=>{ye(i,s,r,t)}),s},ye=(e,t,o,s)=>{e.forEach(n=>{if(typeof n=="string"){let r=n===""?t:Ge(t,n);r.classGroupId=o;return}if(typeof n=="function"){if(Mt(n)){ye(n(s),t,o,s);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([r,i])=>{ye(i,Ge(t,r),o,s)})})},Ge=(e,t)=>{let o=e;return t.split(xe).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Mt=e=>e.isThemeGetter,Et=(e,t)=>t?e.map(([o,s])=>{let n=s.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,a])=>[t+i,a])):r);return[o,n]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map,n=(r,i)=>{o.set(r,i),t++,t>e&&(t=0,s=o,o=new Map)};return{get(r){let i=o.get(r);if(i!==void 0)return i;if((i=s.get(r))!==void 0)return n(r,i),i},set(r,i){o.has(r)?o.set(r,i):n(r,i)}}},De="!",zt=e=>{let{separator:t,experimentalParseClassName:o}=e,s=t.length===1,n=t[0],r=t.length,i=a=>{let d=[],f=0,b=0,v;for(let y=0;y<a.length;y++){let A=a[y];if(f===0){if(A===n&&(s||a.slice(y,y+r)===t)){d.push(a.slice(b,y)),b=y+r;continue}if(A==="/"){v=y;continue}}A==="["?f++:A==="]"&&f--}let w=d.length===0?a:a.substring(b),k=w.startsWith(De),N=k?w.substring(1):w,h=v&&v>b?v-b:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:h}};return o?a=>o({className:a,parseClassName:i}):i},Lt=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},Ut=e=>({cache:Ft(e.cacheSize),parseClassName:zt(e),...Tt(e)}),Gt=/\s+/,Ht=(e,t)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=t,r=[],i=e.trim().split(Gt),a="";for(let d=i.length-1;d>=0;d-=1){let f=i[d],{modifiers:b,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:k}=o(f),N=!!k,h=s(N?w.substring(0,k):w);if(!h){if(!N){a=f+(a.length>0?" "+a:a);continue}if(h=s(w),!h){a=f+(a.length>0?" "+a:a);continue}N=!1}let y=Lt(b).join(":"),A=v?y+De:y,C=A+h;if(r.includes(C))continue;r.push(C);let F=n(h,N);for(let z=0;z<F.length;++z){let W=F[z];r.push(A+W)}a=f+(a.length>0?" "+a:a)}return a};function Dt(){let e=0,t,o,s="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ke(t))&&(s&&(s+=" "),s+=o);return s}var Ke=e=>{if(typeof e=="string")return e;let t,o="";for(let s=0;s<e.length;s++)e[s]&&(t=Ke(e[s]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,s,n,r=i;function i(d){let f=t.reduce((b,v)=>v(b),e());return o=Ut(f),s=o.cache.get,n=o.cache.set,r=a,a(d)}function a(d){let f=s(d);if(f)return f;let b=Ht(d,o);return n(d,b),b}return function(){return r(Dt.apply(null,arguments))}}var u=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ot=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Je-?((\d+)?\.?(\d+)[a-z]+|0)/,qt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>K(e)||Yt.has(e)||Ot.test(e),I=e=>O(e,"length",oo),K=e=>!!e&&!Number.isNaN(Number(e)),he=e=>O(e,"number",K),J=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&K(e.slice(0,-1)),l=e=>Oe.test(e),R=e=>jt.test(e),Wt=new Set(["length","size","percentage"]),Xt=e=>O(e,Wt,Ye),Zt=e=>O(e,"position",Ye),$t=new Set(["image","url"]),eo=e=>O(e,$t,so),to=e=>O(e,"",ro),q=()=>!0,O=(e,t,o)=>{let s=Oe.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},oo=e=>Qt.test(e)&&!Vt.test(e),Ye=()=>!1,ro=e=>Jt.test(e),so=e=>qt.test(e);var no=()=>{let e=u("colors"),t=u("spacing"),o=u("blur"),s=u("brightness"),n=u("borderColor"),r=u("borderRadius"),i=u("borderSpacing"),a=u("borderWidth"),d=u("contrast"),f=u("grayscale"),b=u("hueRotate"),v=u("invert"),w=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),h=u("inset"),y=u("margin"),A=u("opacity"),C=u("padding"),F=u("saturate"),z=u("scale"),W=u("sepia"),Pe=u("skew"),Te=u("space"),Ie=u("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,t],g=()=>[l,t],Re=()=>["",P,I],X=()=>["auto",K,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[K,l];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[P,I],blur:["none","",R,l],brightness:B(),borderColor:[e],borderRadius:["none","","full",R,l],borderSpacing:g(),borderWidth:Re(),contrast:B(),grayscale:V(),hueRotate:B(),invert:V(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[_t,I],inset:fe(),margin:fe(),opacity:B(),padding:g(),saturate:B(),scale:B(),sepia:V(),skew:B(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-Je":[{"overflow-Je":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-Je":[{"overscroll-Je":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-Je":[{"inset-Je":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,l]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",J,l]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",J,l]},l]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[J,l]},l]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-Je":[{"gap-Je":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Je:[{Je:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],Je:[{Je:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],ht:[{ht:[y]}],Je:[{Je:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-Je":[{"space-Je":[Te]}],"space-Je-reverse":["space-Je-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",K,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,I]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),Zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Je","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-tt":[{"rounded-tt":[r]}],"rounded-Je":[{"rounded-Je":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[a]}],"border-w-Je":[{"border-Je":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-Je":[{"divide-Je":[a]}],"divide-Je-reverse":["divide-Je-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Z()}],"border-color":[{border:[n]}],"border-color-Je":[{"border-Je":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[P,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,to]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",R,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[v]}],saturate:[{saturate:[F]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Je":[{"border-spacing-Je":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-Je":[{"scale-Je":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[J,l]}],"translate-Je":[{"translate-Je":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-Je":[{"skew-Je":[Pe]}],"skew-y":[{"skew-y":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Je-resize","nw-resize","tt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Je",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-ht":[{"scroll-ht":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-Je":[{"scroll-Je":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Je","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Je":[{"touch-pan":["Je","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,I,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Je","overflow-y"],overscroll:["overscroll-Je","overscroll-y"],inset:["inset-Je","inset-y","start","end","top","right","bottom","left"],"inset-Je":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Je","gap-y"],Je:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Je:["mx","my","ms","ht","Je","mr","mb","ml"],mx:["mr","ml"],my:["Je","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-tt","rounded-Je","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-tt","rounded-Je"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Je","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Je":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Je":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Je":["scroll-mx","scroll-my","scroll-ms","scroll-ht","scroll-Je","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Je","scroll-mb"],"scroll-Je":["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-Je","touch-y","touch-pz"],"touch-Je":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var je=Kt(no);function c(...e){return je((0,Qe.clsx)(e))}var Je=require("react/jsx-runtime");function Ve({children:e,isFluid:t=!1,isNoPadding:o=!1,className:s=""}){let n=c("container",t&&"full-width",o&&"no-padding",s);return(0,Je.jsx)("div",{className:n,children:e})}var qe=({className:e,content:t,style:o})=>(0,Je.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,Je.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Je.jsx)(Y,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Xe=D(require("react")),ao=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"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"}}}),L=Xe.forwardRef(({asChild:e=!1,className:t,size:o,variant:s,...n},r)=>(0,Je.jsx)(e?_e.Slot:"button",{className:c(ao({className:t,size:o,variant:s})),ref:r,...n}));L.displayName="Button";var we=D(require("next/link")),te=e=>{let{type:t,appearance:o="inline",children:s,className:n,label:r,newTab:i,reference:a,size:d,url:f}=e,b=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:f;if(!b)return null;let v=o==="link"?"clear":d,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]}):(0,Je.jsx)(L,{asChild:!0,className:n,size:v,variant:o,children:(0,Je.jsxs)(we.default,{className:c(n),href:b||f||"",...w,children:[r&&r,s&&s]})})};var $e=({links:e,richText:t})=>(0,Je.jsx)("div",{className:"container",children:(0,Je.jsxs)("div",{className:"bg-card rounded border-border border Je-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Je.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Je.jsx)(Y,{className:"mb-0",content:t,enableGutter:!1})}),(0,Je.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},s)=>(0,Je.jsx)(te,{size:"lg",...o},s))})]})});var oe=require("prism-react-renderer");var et=require("lucide-react"),tt=require("react");function ot({code:e}){let[t,o]=(0,tt.useState)("Copy");function s(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Je.jsx)("div",{className:"flex justify-end align-middle",children:(0,Je.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),s()},children:[(0,Je.jsx)("Je",{children:t}),(0,Je.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Je.jsx)(et.ClipboardCopy,{})})]})})}var rt=({code:e,language:t=""})=>e?(0,Je.jsx)(oe.Highlight,{code:e,language:t,theme:oe.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,Je.jsxs)("pre",{className:"bg-black Je-4 border text-xs border-border rounded overflow-Je-auto",children:[n.map((r,i)=>(0,Je.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Je.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Je.jsx)("span",{className:"table-cell pl-4",children:r.map((a,d)=>(0,Je.jsx)("span",{...s({token:a})},d))})]},i)),(0,Je.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:o})=>(0,Je.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Je.jsx)(rt,{code:t,language:o})});var at=D(require("next/image"));var nt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(nt){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var io={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},lo="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=",it=e=>{let{alt:t,fill:o,imgClassName:s,priority:n,resource:r,size:i,src:a,loading:d}=e,f,b,v=t,w=a||"";if(!w&&r&&typeof r=="object"){let{alt:h,filename:y,height:A,url:C,width:F}=r;f=F,b=A,v=h||"",w=`${re()}${C}`}let k=d||"lazy",N=i||Object.entries(io).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,Je.jsx)("picture",{children:(0,Je.jsx)(at.default,{alt:v||"",className:c(s),fill:o,height:o?void 0:b,placeholder:"blur",blurDataURL:lo,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:N,src:w,width:o?void 0:f})})};var lt=e=>{let{onClick:t,resource:o,videoClassName:s}=e,n=(0,tt.useRef)(null);if((0,tt.useEffect)(()=>{let{current:r}=n;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Je.jsx)("video",{autoPlay:!0,className:c(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Je.jsx)("source",{src:`${re()}/media/${r}`})})}return null};var pt=e=>{var i;let{className:t,htmlElement:o="div",resource:s}=e,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,Je.jsx)(o||tt.Fragment,{...o!==null?{className:t}:{},children:n?(0,Je.jsx)(lt,{...e}):(0,Je.jsx)(it,{...e})})};var dt=e=>{let{className:t,enableGutter:o=!0,imgClassName:s,media:n,staticImage:r}=e;return(0,Je.jsx)("div",{className:c("",{container:o},t),children:(0,Je.jsx)(pt,{imgClassName:c("border border-border rounded-[0.8rem]",s),resource:n,src:r})})};var ae=D(require("react"));function Ne({nodes:e}){return(0,Je.jsx)(ae.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let r=(0,Je.jsx)(ae.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Je.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Je.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Je.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Je.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Je.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Je.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Je.jsx)("sup",{children:r},o)),r}let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let i of r.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ne({nodes:r.children})},n="children"in t?s(t):"";if(t.type==="block"){let r=t.fields,i=r==null?void 0:r.blockType;if(!r||!i)return null;switch(i){case"cta":return(0,Je.jsx)($e,{...r},o);case"mediaBlock":return(0,Je.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Je-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Je.jsx)(qe,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Je.jsx)(st,{className:"col-start-2",...r},o);default:return null}}else switch(t.type){case"linebreak":return(0,Je.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Je.jsx)("Je",{className:"col-start-2",children:n},o);case"heading":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"col-start-2",children:n},o)}case"list":{let r=t==null?void 0:t.tag;return(0,Je.jsx)(r,{className:"list col-start-2",children:n},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Je.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},o):(0,Je.jsx)("li",{value:t==null?void 0:t.value,children:n},o);case"quote":return(0,Je.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let r=t.fields;return(0,Je.jsx)(te,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:n},o)}default:return null}})})}var Y=({className:e,content:t,enableGutter:o=!0,enableProse:s=!0})=>{var n;return t?(0,Je.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};function ut({subtitle:e,title:t,description:o,alignment:s="start",hasBottomSpacing:n=!1,className:r}){let i=c(s==="start"&&"text-left",s==="center"&&"text-center",s==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":n},r);return(0,Je.jsxs)("div",{className:i,children:[e&&(0,Je.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,Je.jsx)("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:t}),typeof o=="string"?o&&(0,Je.jsx)("Je",{className:"Je-5 whitespace-pre-line",children:o}):o&&(0,Je.jsx)(Y,{content:o,enableGutter:!1})]})}function ie({className:e}){return c("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 co({className:e,...t}){return(0,Je.jsx)("input",{...t,className:ie({className:e})})}function le({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(co,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function po({className:e,...t}){return(0,Je.jsx)("textarea",{...t,className:c(ie({}),"resize-none md:min-h-[130px]",e)})}function gt({icon:e,...t}){return(0,Je.jsxs)("div",{className:"relative w-full",children:[(0,Je.jsx)(po,{...t}),e&&(0,Je.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var bt=require("formik"),ht=require("react-icons/fa6"),H=D(require("yup"));async function ft(e){let{name:t,email:o,subject:s,message:n}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={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:`${o}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),S={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=H.object().shape({name:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),email:H.string().email(S.email).required(S.required),subject:H.string().min(2,S.tooShort).max(50,S.tooLong).required(S.required),message:H.string().min(2,S.tooShort).max(300,S.tooLong).required(S.required)}),ce=c("!pr-[44px]"),pe=c("!border-red-600 border"),de=c("sr-only");function yt(){return(0,Je.jsx)(bt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let o=await ft(e);o.data===null?Se.toast.error(o.message):(Se.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:s,handleBlur:n,isSubmitting:r,handleSubmit:i})=>(0,Je.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(ht.FaUser,{}),className:c(ce,e.name&&t.name&&pe)}),e.name&&t.name&&(0,Je.jsx)("Je",{title:e.name,"aria-live":"polite",role:"error message",className:de,children:e.name})]}),(0,Je.jsxs)("div",{children:[(0,Je.jsx)(le,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(uo,{}),className:c(ce,e.email&&t.email&&pe)}),e.email&&t.email&&(0,Je.jsx)("Je",{title:e.email,"aria-live":"polite",role:"error message",className:de,children:e.email})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(le,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:s,onBlur:n,disabled:r,className:c(ce,e.subject&&t.subject&&pe)}),e.subject&&t.subject&&(0,Je.jsx)("Je",{title:e.subject,"aria-live":"polite",role:"error message",className:de,children:e.subject})]}),(0,Je.jsxs)("div",{className:"lg:col-span-2",children:[(0,Je.jsx)(gt,{placeholder:"Write Message...",name:"message",value:o.message,onChange:s,onBlur:n,disabled:r,icon:(0,Je.jsx)(go,{}),className:c(ce,e.message&&t.message&&pe)}),e.message&&t.message&&(0,Je.jsx)("Je",{title:e.message,"aria-live":"polite",role:"error message",className:de,children:e.message})]}),(0,Je.jsx)("div",{className:"lg:col-span-2",children:(0,Je.jsx)(L,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:r,children:(0,Je.jsx)("span",{children:"SEND"})})})]})})}function uo(){return(0,Je.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.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 go(){return(0,Je.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Je.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 Be(e){let{sectionHeading:t,image:o}=e;return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsx)("div",{className:"",children:(0,Je.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Je.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Je.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Je.jsxs)("div",{children:[(0,Je.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Je.jsx)("Je",{className:"Je-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Je.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((s,n)=>{var r;return(0,Je.jsxs)("div",{className:"rounded-2xl Je-10 border",children:[(0,Je.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:s.title}),(0,Je.jsxs)("address",{className:"Je-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(r=s.location.split(","))==null?void 0:r.map((i,a)=>(0,Je.jsx)("Je",{children:i},a))," ",s.mails&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Je.jsx)("span",{children:s.mails[0]})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&(0,Je.jsxs)("Je",{className:"flex items-center space-Je-2",children:[(0,Je.jsx)(ht.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),s.phoneNumbers[0]]})]})]},n)})})]})})})})}),(0,Je.jsx)("section",{className:"section-padding-primary",children:(0,Je.jsxs)("div",{className:"relative py-[60px]",children:[(0,Je.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,Je.jsx)(xt.default,{src:o.src,alt:o.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Le})}),(0,Je.jsx)(Ve,{children:(0,Je.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Je.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white Je-10 shadow-1 dark:bg-accent-700 lg:Je-[60px]",children:[(0,Je.jsx)("div",{className:"mb-30px",children:(0,Je.jsx)(ut,{...t})}),(0,Je.jsx)(yt,{})]})})})]})})]})}var fo={title:"Sections/ContactSection",component:Be,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[e=>(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(e,{}),(0,Je.jsx)(Se.Toaster,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},bo=e=>(0,Je.jsx)(Be,{...e}),At=bo.bind({});At.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};0&&(module.exports={Default});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-PGGLOICR.mjs";import"../chunk-MGZHZWWG.mjs";import"../chunk-YLGJP63J.mjs";import"../chunk-52UEE46P.mjs";import"../chunk-J3CPOHE6.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.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-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Sections/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-VAEYKO2L.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.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-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as PricingSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../chunk-
|
|
1
|
+
import{a as i}from"../chunk-VAEYKO2L.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.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-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as o}from"react/jsx-runtime";var m={title:"Sections/PricingSection",component:i,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[t=>o(t,{})]},e=t=>o(i,{...t}),r=e.bind({});r.args={sectionHeading:{subtitle:"Pricing Action",title:"Innovating for a better tomorrow",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply"},cards:[{title:"Basic Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$49",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}},{title:"Standard Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$79",duration:"/month",isPopular:!0,button:{href:"/",label:"Select Plan"}},{title:"Premium Plan",description:"Lorem Ipsum is simply dummy text of the printing Ipsum is simply dummy text of the Lorem Ipsum is simply",features:["Mistakes To Avoid","Your Startup","Knew About Fonts","Winning Metric for Your Startup"],price:"$99",duration:"/month",isPopular:!1,button:{href:"/",label:"Select Plan"}}]};export{r as Default,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as ServiceSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{FaCog as i}from"react-icons/fa";import{jsx as e}from"react/jsx-runtime";var d={title:"Sections/ServiceSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[s=>e(s,{})]},t=s=>e(o,{...s}),c=t.bind({});c.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"kit",iconName:"software"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var r=t.bind({});r.args={services:[]};var n=t.bind({});n.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};var p=t.bind({});p.args={services:[{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:e(i,{}),title:"Service Title",description:"This is a description of the service.",slug:"/service"},{icon:{type:"thin",iconName:"image"},title:"Service Title",description:"This is a description of the service.",slug:"/service"}]};export{c as Default,r as Empty,p as Four,n as Two,d as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";"use client";var Te=Object.create;var W=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Ae=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Ge=(e,t)=>{for(var r in t)W(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ae(t))!Le.call(e,s)&&s!==r&&W(e,s,{get:()=>t[s],enumerable:!(o=Ie(t,s))||o.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?Te(Re(e)):{},de(t||!e||!e.__esModule?W(r,"default",{value:e,enumerable:!0}):r,e)),Ee=e=>de(W({},"__esModule",{value:!0}),e);var vt={};Ge(vt,{Form:()=>ht});module.exports=Ee(vt);var ve=require("clsx");var ee="-",Be=e=>{let t=Ve(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(ee);return a[0]===""&&a.length!==1&&a.shift(),be(a,t)||je(i)},getConflictingClassGroupIds:(i,a)=>{let m=r[i]||[];return a&&o[i]?[...m,...o[i]]:m}}},be=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?be(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let n=e.join(ee);return(i=t.validators.find(({validator:a})=>a(n)))==null?void 0:i.classGroupId},ue=/^\[(.+)\]$/,je=e=>{if(ue.test(e)){let t=ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ve=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Fe(Object.entries(e.classGroups),r).forEach(([n,i])=>{D(i,o,n,t)}),o},D=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let n=s===""?t:me(t,s);n.classGroupId=r;return}if(typeof s=="function"){if(Ue(s)){D(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([n,i])=>{D(i,me(t,n),r,o)})})},me=(e,t)=>{let r=e;return t.split(ee).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ue=e=>e.isThemeGetter,Fe=(e,t)=>t?e.map(([r,o])=>{let s=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,a])=>[t+i,a])):n);return[r,s]}):e,_e=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return s(n,i),i},set(n,i){r.has(n)?r.set(n,i):s(n,i)}}},ge="!",We=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],n=t.length,i=a=>{let m=[],g=0,h=0,v;for(let u=0;u<a.length;u++){let f=a[u];if(g===0){if(f===s&&(o||a.slice(u,u+n)===t)){m.push(a.slice(h,u)),h=u+n;continue}if(f==="/"){v=u;continue}}f==="["?g++:f==="]"&&g--}let w=m.length===0?a:a.substring(h),S=w.startsWith(ge),k=S?w.substring(1):w,b=v&&v>h?v-h:void 0;return{modifiers:m,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:i}):i},$e=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},qe=e=>({cache:_e(e.cacheSize),parseClassName:We(e),...Be(e)}),Oe=/\s+/,Ye=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,n=[],i=e.trim().split(Oe),a="";for(let m=i.length-1;m>=0;m-=1){let g=i[m],{modifiers:h,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:S}=r(g),k=!!S,b=o(k?w.substring(0,S):w);if(!b){if(!k){a=g+(a.length>0?" "+a:a);continue}if(b=o(w),!b){a=g+(a.length>0?" "+a:a);continue}k=!1}let u=$e(h).join(":"),f=v?u+ge:u,y=f+b;if(n.includes(y))continue;n.push(y);let E=s(b,k);for(let T=0;T<E.length;++T){let U=E[T];n.push(f+U)}a=g+(a.length>0?" "+a:a)}return a};function He(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=fe(t))&&(o&&(o+=" "),o+=r);return o}var fe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=fe(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ze(e,...t){let r,o,s,n=i;function i(m){let g=t.reduce((h,v)=>v(h),e());return r=qe(g),o=r.cache.get,s=r.cache.set,n=a,a(m)}function a(m){let g=o(m);if(g)return g;let h=Ye(m,r);return s(m,h),h}return function(){return n(He.apply(null,arguments))}}var d=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},he=/^\[(?:([a-z-]+):)?(.+)\]$/i,Je=/^\d+\/\d+$/,Ke=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,De=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||Ke.has(e)||Je.test(e),P=e=>R(e,"length",ct),A=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>R(e,"number",A),j=e=>!!e&&Number.isInteger(Number(e)),rt=e=>e.endsWith("%")&&A(e.slice(0,-1)),l=e=>he.test(e),M=e=>Xe.test(e),ot=new Set(["length","size","percentage"]),nt=e=>R(e,ot,xe),st=e=>R(e,"position",xe),at=new Set(["image","url"]),it=e=>R(e,at,pt),lt=e=>R(e,"",dt),V=()=>!0,R=(e,t,r)=>{let o=he.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},ct=e=>Qe.test(e)&&!De.test(e),xe=()=>!1,dt=e=>et.test(e),pt=e=>tt.test(e);var ut=()=>{let e=d("colors"),t=d("spacing"),r=d("blur"),o=d("brightness"),s=d("borderColor"),n=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),m=d("contrast"),g=d("grayscale"),h=d("hueRotate"),v=d("invert"),w=d("gap"),S=d("gradientColorStops"),k=d("gradientColorStopPositions"),b=d("inset"),u=d("margin"),f=d("opacity"),y=d("padding"),E=d("saturate"),T=d("scale"),U=d("sepia"),oe=d("skew"),ne=d("space"),se=d("translate"),Z=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],p=()=>[l,t],ae=()=>["",N,P],F=()=>["auto",A,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",l],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[A,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,P],blur:["none","",M,l],brightness:z(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:p(),borderWidth:ae(),contrast:z(),grayscale:B(),hueRotate:z(),invert:B(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[rt,P],inset:K(),margin:K(),opacity:z(),padding:p(),saturate:z(),scale:z(),sepia:B(),skew:z(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",j,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",j,l]},l]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[j,l]},l]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",A,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,P]}],"underline-offset":[{"underline-offset":["auto",N,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),st]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},it]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:_()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[N,l]}],"outline-w":[{outline:[N,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[N,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,lt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[j,l]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,P,Q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ye=Ze(ut);function x(...e){return ye((0,ve.clsx)(e))}var we=require("@radix-ui/react-slot"),Ce=require("class-variance-authority"),ke=pe(require("react")),Se=require("react/jsx-runtime"),mt=(0,Ce.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"}}}),te=ke.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...s},n)=>(0,Se.jsx)(e?we.Slot:"button",{className:x(mt({className:t,size:r,variant:o})),ref:n,...s}));te.displayName="Button";function $({className:e}){return x("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 bt({className:e,...t}){return(0,Se.jsx)("input",{...t,className:$({className:e})})}function q({icon:e,...t}){return(0,Se.jsxs)("div",{className:"relative w-full",children:[(0,Se.jsx)(bt,{...t}),e&&(0,Se.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function gt({className:e,...t}){return(0,Se.jsx)("textarea",{...t,className:x($({}),"resize-none md:min-h-[130px]",e)})}function ze({icon:e,...t}){return(0,Se.jsxs)("div",{className:"relative w-full",children:[(0,Se.jsx)(gt,{...t}),e&&(0,Se.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var Pe=require("formik"),Me=require("react-icons/fa6"),I=pe(require("yup"));async function Ne(e){let{name:t,email:r,subject:o,message:s}=e,n="https://reply.webhook.office.com/webhookb2/bd96f013-d306-4244-8611-743f6bf96fb9@b00367e2-193a-4f48-94de-7245d45c0947/IncomingWebhook/03eafcb222a24d38aa7af5b5c09af0f0/a03e7d9d-7fba-4893-8c70-fcfcf540483d/V2TvPmNJLZgvGfNKyLJP51BEpKG04B-XU3o8hEp0vLFcU1";if(!n)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"New Contact Us Form Submission",weight:"Bolder",size:"Medium"},{type:"TextBlock",text:`**Name:** ${t}`,wrap:!0},{type:"TextBlock",text:`**Email:** ${r}`,wrap:!0},{type:"TextBlock",text:`**Subject:** ${o}`,wrap:!0},{type:"TextBlock",text:`**Message:** ${s}`,wrap:!0}]}}]};try{if(!(await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})).ok)throw new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var re=require("sonner"),C={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},ft=I.object().shape({name:I.string().min(2,C.tooShort).max(50,C.tooLong).required(C.required),email:I.string().email(C.email).required(C.required),subject:I.string().min(2,C.tooShort).max(50,C.tooLong).required(C.required),message:I.string().min(2,C.tooShort).max(300,C.tooLong).required(C.required)}),O=x("!pr-[44px]"),Y=x("!border-red-600 border"),H=x("sr-only");function ht(){return(0,Se.jsx)(Pe.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ft,onSubmit:async(e,{resetForm:t})=>{let r=await Ne(e);r.data===null?re.toast.error(r.message):(re.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:o,handleBlur:s,isSubmitting:n,handleSubmit:i})=>(0,Se.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Se.jsxs)("div",{children:[(0,Se.jsx)(q,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:o,onBlur:s,disabled:n,icon:(0,Se.jsx)(Me.FaUser,{}),className:x(O,e.name&&t.name&&Y)}),e.name&&t.name&&(0,Se.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:H,children:e.name})]}),(0,Se.jsxs)("div",{children:[(0,Se.jsx)(q,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:o,onBlur:s,disabled:n,icon:(0,Se.jsx)(xt,{}),className:x(O,e.email&&t.email&&Y)}),e.email&&t.email&&(0,Se.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:H,children:e.email})]}),(0,Se.jsxs)("div",{className:"lg:col-span-2",children:[(0,Se.jsx)(q,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:o,onBlur:s,disabled:n,className:x(O,e.subject&&t.subject&&Y)}),e.subject&&t.subject&&(0,Se.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:H,children:e.subject})]}),(0,Se.jsxs)("div",{className:"lg:col-span-2",children:[(0,Se.jsx)(ze,{placeholder:"Write Message...",name:"message",value:r.message,onChange:o,onBlur:s,disabled:n,icon:(0,Se.jsx)(yt,{}),className:x(O,e.message&&t.message&&Y)}),e.message&&t.message&&(0,Se.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:H,children:e.message})]}),(0,Se.jsx)("div",{className:"lg:col-span-2",children:(0,Se.jsx)(te,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:n,children:(0,Se.jsx)("span",{children:"SEND"})})})]})})}function xt(){return(0,Se.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Se.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 yt(){return(0,Se.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Se.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"})})}0&&(module.exports={Form});
|
|
5
|
+
"use strict";"use client";var Pe=Object.create;var $=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Be=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Le.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(o=Ae(t,a))||o.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?Pe(Re(e)):{},de(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Ge=e=>de($({},"__esModule",{value:!0}),e);var vt={};Be(vt,{Form:()=>ht});module.exports=Ge(vt);var ve=require("clsx");var ee="-",Ee=e=>{let t=Ve(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(ee);return s[0]===""&&s.length!==1&&s.shift(),ge(s,t)||je(i)},getConflictingClassGroupIds:(i,s)=>{let m=r[i]||[];return s&&o[i]?[...m,...o[i]]:m}}},ge=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ge(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(ee);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},ue=/^\[(.+)\]$/,je=e=>{if(ue.test(e)){let t=ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ve=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Fe(Object.entries(e.classGroups),r).forEach(([n,i])=>{D(i,o,n,t)}),o},D=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:me(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Ue(a)){D(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{D(i,me(t,n),r,o)})})},me=(e,t)=>{let r=e;return t.split(ee).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ue=e=>e.isThemeGetter,Fe=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,_e=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},be="!",$e=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let m=[],b=0,h=0,v;for(let u=0;u<s.length;u++){let f=s[u];if(b===0){if(f===a&&(o||s.slice(u,u+n)===t)){m.push(s.slice(h,u)),h=u+n;continue}if(f==="/"){v=u;continue}}f==="["?b++:f==="]"&&b--}let w=m.length===0?s:s.substring(h),S=w.startsWith(be),k=S?w.substring(1):w,g=v&&v>h?v-h:void 0;return{modifiers:m,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:g}};return r?s=>r({className:s,parseClassName:i}):i},We=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},qe=e=>({cache:_e(e.cacheSize),parseClassName:$e(e),...Ee(e)}),Oe=/\s+/,Ye=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(Oe),s="";for(let m=i.length-1;m>=0;m-=1){let b=i[m],{modifiers:h,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:S}=r(b),k=!!S,g=o(k?w.substring(0,S):w);if(!g){if(!k){s=b+(s.length>0?" "+s:s);continue}if(g=o(w),!g){s=b+(s.length>0?" "+s:s);continue}k=!1}let u=We(h).join(":"),f=v?u+be:u,y=f+g;if(n.includes(y))continue;n.push(y);let G=a(g,k);for(let P=0;P<G.length;++P){let U=G[P];n.push(f+U)}s=b+(s.length>0?" "+s:s)}return s};function He(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=fe(t))&&(o&&(o+=" "),o+=r);return o}var fe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=fe(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ze(e,...t){let r,o,a,n=i;function i(m){let b=t.reduce((h,v)=>v(h),e());return r=qe(b),o=r.cache.get,a=r.cache.set,n=s,s(m)}function s(m){let b=o(m);if(b)return b;let h=Ye(m,r);return a(m,h),h}return function(){return n(He.apply(null,arguments))}}var d=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},he=/^\[(?:([a-z-]+):)?(.+)\]$/i,Je=/^\d+\/\d+$/,Ke=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,De=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>I(e)||Ke.has(e)||Je.test(e),N=e=>R(e,"length",ct),I=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>R(e,"number",I),j=e=>!!e&&Number.isInteger(Number(e)),rt=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>he.test(e),M=e=>Xe.test(e),ot=new Set(["length","size","percentage"]),nt=e=>R(e,ot,xe),st=e=>R(e,"position",xe),at=new Set(["image","url"]),it=e=>R(e,at,pt),lt=e=>R(e,"",dt),V=()=>!0,R=(e,t,r)=>{let o=he.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},ct=e=>Qe.test(e)&&!De.test(e),xe=()=>!1,dt=e=>et.test(e),pt=e=>tt.test(e);var ut=()=>{let e=d("colors"),t=d("spacing"),r=d("blur"),o=d("brightness"),a=d("borderColor"),n=d("borderRadius"),i=d("borderSpacing"),s=d("borderWidth"),m=d("contrast"),b=d("grayscale"),h=d("hueRotate"),v=d("invert"),w=d("gap"),S=d("gradientColorStops"),k=d("gradientColorStopPositions"),g=d("inset"),u=d("margin"),f=d("opacity"),y=d("padding"),G=d("saturate"),P=d("scale"),U=d("sepia"),oe=d("skew"),ne=d("space"),se=d("translate"),Z=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],p=()=>[l,t],ae=()=>["",z,N],F=()=>["auto",I,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],E=()=>["","0",l],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[z,N],blur:["none","",M,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:p(),borderWidth:ae(),contrast:T(),grayscale:E(),hueRotate:T(),invert:E(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[rt,N],inset:K(),margin:K(),opacity:T(),padding:p(),saturate:T(),scale:T(),sepia:E(),skew:T(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:E()}],shrink:[{shrink:E()}],order:[{order:["first","last","none",j,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",j,l]},l]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[j,l]},l]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",I,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,N]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),st]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},it]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:_()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[z,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,lt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[j,l]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,N,Q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ye=Ze(ut);function x(...e){return ye((0,ve.clsx)(e))}var we=require("@radix-ui/react-slot"),Ce=require("class-variance-authority"),ke=pe(require("react")),Se=require("react/jsx-runtime"),mt=(0,Ce.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"}}}),te=ke.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},n)=>(0,Se.jsx)(e?we.Slot:"button",{className:x(mt({className:t,size:r,variant:o})),ref:n,...a}));te.displayName="Button";function W({className:e}){return x("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 gt({className:e,...t}){return(0,Se.jsx)("input",{...t,className:W({className:e})})}function q({icon:e,...t}){return(0,Se.jsxs)("div",{className:"relative w-full",children:[(0,Se.jsx)(gt,{...t}),e&&(0,Se.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-primary",children:e})]})}function bt({className:e,...t}){return(0,Se.jsx)("textarea",{...t,className:x(W({}),"resize-none md:min-h-[130px]",e)})}function Te({icon:e,...t}){return(0,Se.jsxs)("div",{className:"relative w-full",children:[(0,Se.jsx)(bt,{...t}),e&&(0,Se.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-primary",children:e})]})}var Ne=require("formik"),Me=require("react-icons/fa6"),A=pe(require("yup"));async function ze(e){let{name:t,email:r,subject:o,message:a}=e,n=process.env.TEAMS_WEBHOOK_URL;if(!n)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={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:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${a}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let s=await fetch(n,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!s.ok)throw console.error(s),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(s){return console.error(s),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var re=require("sonner"),C={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},ft=A.object().shape({name:A.string().min(2,C.tooShort).max(50,C.tooLong).required(C.required),email:A.string().email(C.email).required(C.required),subject:A.string().min(2,C.tooShort).max(50,C.tooLong).required(C.required),message:A.string().min(2,C.tooShort).max(300,C.tooLong).required(C.required)}),O=x("!pr-[44px]"),Y=x("!border-red-600 border"),H=x("sr-only");function ht(){return(0,Se.jsx)(Ne.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ft,onSubmit:async(e,{resetForm:t})=>{let r=await ze(e);r.data===null?re.toast.error(r.message):(re.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:o,handleBlur:a,isSubmitting:n,handleSubmit:i})=>(0,Se.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Se.jsxs)("div",{children:[(0,Se.jsx)(q,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:o,onBlur:a,disabled:n,icon:(0,Se.jsx)(Me.FaUser,{}),className:x(O,e.name&&t.name&&Y)}),e.name&&t.name&&(0,Se.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:H,children:e.name})]}),(0,Se.jsxs)("div",{children:[(0,Se.jsx)(q,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:o,onBlur:a,disabled:n,icon:(0,Se.jsx)(xt,{}),className:x(O,e.email&&t.email&&Y)}),e.email&&t.email&&(0,Se.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:H,children:e.email})]}),(0,Se.jsxs)("div",{className:"lg:col-span-2",children:[(0,Se.jsx)(q,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:o,onBlur:a,disabled:n,className:x(O,e.subject&&t.subject&&Y)}),e.subject&&t.subject&&(0,Se.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:H,children:e.subject})]}),(0,Se.jsxs)("div",{className:"lg:col-span-2",children:[(0,Se.jsx)(Te,{placeholder:"Write Message...",name:"message",value:r.message,onChange:o,onBlur:a,disabled:n,icon:(0,Se.jsx)(yt,{}),className:x(O,e.message&&t.message&&Y)}),e.message&&t.message&&(0,Se.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:H,children:e.message})]}),(0,Se.jsx)("div",{className:"lg:col-span-2",children:(0,Se.jsx)(te,{type:"submit",className:"w-full outline outline-accent bg-background text-accent hover:bg-accent hover:text-accent-foreground",disabled:n,children:(0,Se.jsx)("span",{children:"SEND"})})})]})})}function xt(){return(0,Se.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Se.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 yt(){return(0,Se.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Se.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"})})}0&&(module.exports={Form});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-MGZHZWWG.mjs";import"../../chunk-YLGJP63J.mjs";import"../../chunk-52UEE46P.mjs";import"../../chunk-J3CPOHE6.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as Form};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use server";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use server";var
|
|
4
|
+
"use strict";"use server";var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of l(e))!m.call(t,o)&&o!==r&&n(t,o,{get:()=>e[o],enumerable:!(s=p(e,o))||s.enumerable});return t};var h=t=>u(n({},"__esModule",{value:!0}),t);var w={};d(w,{contactUsFormSubmit:()=>y});module.exports=h(w);async function y(t){let{name:e,email:r,subject:s,message:o}=t,c=process.env.TEAMS_WEBHOOK_URL;if(!c)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={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:`${e}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};console.log(JSON.stringify(i));try{let a=await fetch(c,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!a.ok)throw console.error(a),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(a){return console.error(a),{isSuccess:!1,data:null,message:"Internal Server Error"}}}0&&(module.exports={contactUsFormSubmit});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use server";
|
|
2
|
-
"use strict";import{a}from"../../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../../chunk-YLGJP63J.mjs";import"../../../chunk-D2WXBUVJ.mjs";export{a as contactUsFormSubmit};
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as b}from"../chunk-VAEYKO2L.mjs";import{a}from"../chunk-VPMCRWSX.mjs";import"../chunk-SV7NMNDI.mjs";import{a as c}from"../chunk-GXHXPWKT.mjs";import"../chunk-VYJK4R76.mjs";import"../chunk-FNCXXX4V.mjs";import"../chunk-C4W4JBZN.mjs";import"../chunk-SABHLBUI.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-5O6DFU4X.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.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-GLEWUUGS.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";export{c as AboutSection,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.18.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-H2JWQHUC.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
async function i(o){let{name:r,email:a,subject:s,message:n}=o,e="https://reply.webhook.office.com/webhookb2/bd96f013-d306-4244-8611-743f6bf96fb9@b00367e2-193a-4f48-94de-7245d45c0947/IncomingWebhook/03eafcb222a24d38aa7af5b5c09af0f0/a03e7d9d-7fba-4893-8c70-fcfcf540483d/V2TvPmNJLZgvGfNKyLJP51BEpKG04B-XU3o8hEp0vLFcU1";if(!e)throw new Error("TEAMS_WEBHOOK_URL is not defined");let c={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"New Contact Us Form Submission",weight:"Bolder",size:"Medium"},{type:"TextBlock",text:`**Name:** ${r}`,wrap:!0},{type:"TextBlock",text:`**Email:** ${a}`,wrap:!0},{type:"TextBlock",text:`**Subject:** ${s}`,wrap:!0},{type:"TextBlock",text:`**Message:** ${n}`,wrap:!0}]}}]};try{if(!(await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})).ok)throw new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(t){return console.error(t),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{i as a};
|