cortex-react-components 1.55.5 → 1.56.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-BAUUQRVM.mjs → chunk-26K34DNO.mjs} +1 -1
- package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
- package/dist/{chunk-TZE7RZAV.mjs → chunk-7IZ2X75V.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-HHPCESGS.mjs → chunk-BWRPSU6I.mjs} +1 -1
- package/dist/{chunk-KRG7X4TK.mjs → chunk-BXIDYE67.mjs} +1 -1
- package/dist/{chunk-IAXO6JAE.mjs → chunk-C2WXWFU6.mjs} +1 -1
- package/dist/{chunk-IC3VQFYT.mjs → chunk-EEKDSPJW.mjs} +1 -1
- package/dist/{chunk-YFQ3OKVI.mjs → chunk-EML6AVUM.mjs} +1 -1
- package/dist/{chunk-PZ23H656.mjs → chunk-EOVMD5QE.mjs} +1 -1
- package/dist/{chunk-VOWEZOIZ.mjs → chunk-FYVORNBL.mjs} +1 -1
- package/dist/{chunk-BHIT4BC3.mjs → chunk-GGDYYSFG.mjs} +1 -1
- package/dist/{chunk-OJPHYSRN.mjs → chunk-GYUMEOL2.mjs} +1 -1
- package/dist/{chunk-3SM2M4FI.mjs → chunk-HQOFQGRQ.mjs} +1 -1
- package/dist/{chunk-QP5BC6S5.mjs → chunk-IJT4XHN7.mjs} +1 -1
- package/dist/{chunk-HMOEAXGJ.mjs → chunk-IS27WYEV.mjs} +1 -1
- package/dist/{chunk-37QDUTV3.mjs → chunk-JXPOV3A4.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
- package/dist/{chunk-Y2EZ27IZ.mjs → chunk-KIAZOHM4.mjs} +1 -1
- package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
- package/dist/{chunk-D7A7EUEW.mjs → chunk-KQJLOUAU.mjs} +1 -1
- package/dist/{chunk-6KBH34LQ.mjs → chunk-KVA4UPK2.mjs} +1 -1
- package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-UUVM6BMY.mjs → chunk-MIWMERSR.mjs} +1 -1
- package/dist/{chunk-MLA2WBXX.mjs → chunk-OIIEDD56.mjs} +1 -1
- package/dist/{chunk-CIOQJPVO.mjs → chunk-OUF4RW7E.mjs} +1 -1
- package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
- package/dist/chunk-OXFWH45D.mjs +4 -0
- package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
- package/dist/{chunk-KERNAICH.mjs → chunk-S3GITHJW.mjs} +1 -1
- package/dist/{chunk-XHIPA45Q.mjs → chunk-S66RCEAN.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
- package/dist/{chunk-D44ZXHH4.mjs → chunk-T4I5D4XZ.mjs} +1 -1
- package/dist/{chunk-5YMLNSFW.mjs → chunk-TT3GBHBO.mjs} +1 -1
- package/dist/{chunk-DWNVKANO.mjs → chunk-TV6WUXSN.mjs} +1 -1
- package/dist/{chunk-AOWDLX6I.mjs → chunk-UUQ4YJSJ.mjs} +1 -1
- package/dist/{chunk-AZDOLWBF.mjs → chunk-W5IV2HHX.mjs} +1 -1
- package/dist/{chunk-PN4MU2NX.mjs → chunk-WMVRW4SF.mjs} +1 -1
- package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.d.ts +3 -0
- package/dist/components/Blocks/CollapsibleArea.js +4 -0
- package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
- package/dist/components/Blocks/{CollapableArea.stories.js → CollapsibleArea.stories.js} +1 -1
- package/dist/components/Blocks/{CollapableArea.stories.mjs → CollapsibleArea.stories.mjs} +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +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/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/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +13 -12
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-25HHS5PQ.mjs +0 -1
- package/dist/components/Blocks/CollapsableArea.d.ts +0 -3
- package/dist/components/Blocks/CollapsableArea.js +0 -4
- package/dist/components/Blocks/CollapsableArea.mjs +0 -1
- /package/dist/components/Blocks/{CollapableArea.stories.css → CollapsibleArea.css} +0 -0
- /package/dist/components/Blocks/{CollapsableArea.css → CollapsibleArea.stories.css} +0 -0
package/dist/pages/Publish.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var jt=Object.create;var Ta=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var $t=(t,a)=>{for(var o in a)Ta(t,o,{get:a[o],enumerable:!0})},Ka=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of Wt(a))!Vt.call(t,r)&&r!==o&&Ta(t,r,{get:()=>a[r],enumerable:!(s=Ot(a,r))||s.enumerable});return t};var V=(t,a,o)=>(o=t!=null?jt(qt(t)):{},Ka(a||!t||!t.__esModule?Ta(o,"default",{value:t,enumerable:!0}):o,t)),Yt=t=>Ka(Ta({},"__esModule",{value:!0}),t);var Do={};$t(Do,{Publish:()=>Lo});module.exports=Yt(Do);var Gt=require("react");var it=require("clsx");var Ua="-",Qt=t=>{let a=Jt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let n=i.split(Ua);return n[0]===""&&n.length!==1&&n.shift(),tt(n,a)||Xt(i)},getConflictingClassGroupIds:(i,n)=>{let d=o[i]||[];return n&&s[i]?[...d,...s[i]]:d}}},tt=(t,a)=>{var i;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?tt(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Ua);return(i=a.validators.find(({validator:n})=>n(e)))==null?void 0:i.classGroupId},Za=/^\[(.+)\]$/,Xt=t=>{if(Za.test(t)){let a=Za.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Jt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return Kt(Object.entries(t.classGroups),o).forEach(([e,i])=>{Ga(i,s,e,a)}),s},Ga=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:at(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(_t(r)){Ga(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,i])=>{Ga(i,at(a,e),o,s)})})},at=(t,a)=>{let o=t;return a.split(Ua).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},_t=t=>t.isThemeGetter,Kt=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>[a+i,n])):e);return[o,r]}):t,Zt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,i)=>{o.set(e,i),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let i=o.get(e);if(i!==void 0)return i;if((i=s.get(e))!==void 0)return r(e,i),i},set(e,i){o.has(e)?o.set(e,i):r(e,i)}}},ot="!",ao=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,i=n=>{let d=[],p=0,l=0,c;for(let f=0;f<n.length;f++){let w=n[f];if(p===0){if(w===r&&(s||n.slice(f,f+e)===a)){d.push(n.slice(l,f)),l=f+e;continue}if(w==="/"){c=f;continue}}w==="["?p++:w==="]"&&p--}let g=d.length===0?n:n.substring(l),x=g.startsWith(ot),h=x?g.substring(1):g,u=c&&c>l?c-l:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:u}};return o?n=>o({className:n,parseClassName:i}):i},to=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},oo=t=>({cache:Zt(t.cacheSize),parseClassName:ao(t),...Qt(t)}),eo=/\s+/,so=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],i=t.trim().split(eo),n="";for(let d=i.length-1;d>=0;d-=1){let p=i[d],{modifiers:l,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:x}=o(p),h=!!x,u=s(h?g.substring(0,x):g);if(!u){if(!h){n=p+(n.length>0?" "+n:n);continue}if(u=s(g),!u){n=p+(n.length>0?" "+n:n);continue}h=!1}let f=to(l).join(":"),w=c?f+ot:f,R=w+u;if(e.includes(R))continue;e.push(R);let F=r(u,h);for(let L=0;L<F.length;++L){let oa=F[L];e.push(w+oa)}n=p+(n.length>0?" "+n:n)}return n};function ro(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=et(a))&&(s&&(s+=" "),s+=o);return s}var et=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=et(t[s]))&&(o&&(o+=" "),o+=a);return o};function no(t,...a){let o,s,r,e=i;function i(d){let p=a.reduce((l,c)=>c(l),t());return o=oo(p),s=o.cache.get,r=o.cache.set,e=n,n(d)}function n(d){let p=s(d);if(p)return p;let l=so(d,o);return r(d,l),l}return function(){return e(ro.apply(null,arguments))}}var N=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},st=/^\[(?:([a-z-]+):)?(.+)\]$/i,io=/^\d+\/\d+$/,lo=new Set(["px","full","screen"]),co=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mo=/\d+(%|px|r?em|[sdl]?mt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|mt|min|max))|\mt(calc|min|max|clamp)\(.+\)|^0$/,po=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=t=>la(t)||lo.has(t)||io.test(t),_=t=>ca(t,"length",ko),la=t=>!!t&&!Number.isNaN(Number(t)),Ha=t=>ca(t,"number",la),wa=t=>!!t&&Number.isInteger(Number(t)),go=t=>t.endsWith("%")&&la(t.slice(0,-1)),y=t=>st.test(t),K=t=>co.test(t),fo=new Set(["length","size","percentage"]),bo=t=>ca(t,fo,rt),ho=t=>ca(t,"position",rt),xo=new Set(["image","url"]),wo=t=>ca(t,xo,No),vo=t=>ca(t,"",Co),va=()=>!0,ca=(t,a,o)=>{let s=st.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},ko=t=>mo.test(t)&&!po.test(t),rt=()=>!1,Co=t=>uo.test(t),No=t=>yo.test(t);var Po=()=>{let t=N("colors"),a=N("spacing"),o=N("blur"),s=N("brightness"),r=N("borderColor"),e=N("borderRadius"),i=N("borderSpacing"),n=N("borderWidth"),d=N("contrast"),p=N("grayscale"),l=N("hueRotate"),c=N("invert"),g=N("gap"),x=N("gradientColorStops"),h=N("gradientColorStopPositions"),u=N("inset"),f=N("margin"),w=N("opacity"),R=N("padding"),F=N("saturate"),L=N("scale"),oa=N("sepia"),ea=N("skew"),D=N("space"),ha=N("translate"),ia=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",y,a],C=()=>[y,a],xa=()=>["",$,_],j=()=>["auto",la,y],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],da=()=>["solid","dashed","dotted","double","none"],Ra=()=>["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"],W=()=>["","0",y],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[la,y];return{cacheSize:500,separator:":",theme:{colors:[va],spacing:[$,_],blur:["none","",K,y],brightness:I(),borderColor:[t],borderRadius:["none","","full",K,y],borderSpacing:C(),borderWidth:xa(),contrast:I(),grayscale:W(),hueRotate:I(),invert:W(),gap:C(),gradientColorStops:[t],gradientColorStopPositions:[go,_],inset:U(),margin:U(),opacity:I(),padding:C(),saturate:I(),scale:I(),sepia:W(),skew:I(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:[...q(),y]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:ia()}],"overscroll-x":[{"overscroll-x":ia()}],"overscroll-y":[{"overscroll-y":ia()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wa,y]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",wa,y]}],"grid-cols":[{"grid-cols":[va]}],"col-start-end":[{col:["auto",{span:["full",wa,y]},y]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[va]}],"row-start-end":[{row:["auto",{span:[wa,y]},y]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"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:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-w":[{"min-w":[y,a,"min","max","fit"]}],"max-w":[{"max-w":[y,a,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",K,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ha]}],"font-family":[{font:[va]}],"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",y]}],"line-clamp":[{"line-clamp":["none",la,Ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...da(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,_]}],"underline-offset":[{"underline-offset":["auto",$,y]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),ho]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","mt","bl","l","tl"]},wo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-mt":[{"rounded-mt":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-mt":[{"border-mt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...da(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:da()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-mt":[{"border-mt":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...da()]}],"outline-offset":[{"outline-offset":[$,y]}],"outline-w":[{outline:[$,_]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xa()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[$,_]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",K,vo]}],"shadow-color":[{shadow:[va]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ra(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ra()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",K,y]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[c]}],saturate:[{saturate:[F]}],sepia:[{sepia:[oa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[oa]}],"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",y]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[wa,y]}],"translate-x":[{"translate-x":[ha]}],"translate-y":[{"translate-y":[ha]}],"skew-x":[{"skew-x":[ea]}],"skew-y":[{"skew-y":[ea]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],accent:[{accent:["auto",t]}],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",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,_,Ha]}],stroke:[{stroke:[t,"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-mt","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-mt":["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-mt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-mt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-mt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-mt"],"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 nt=no(Po);function m(...t){return nt((0,it.clsx)(t))}function ka(t){let a=0,o=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,s=t.layout.flatMap(e=>{let i=[];return"title"in e&&e.title&&i.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(n=>{var d,p,l,c,g;if(n.title&&i.push({text:n.title,id:o(n.title,a++),tag:"h2"}),(p=(d=n.richText)==null?void 0:d.root)!=null&&p.children&&((c=(l=n.richText)==null?void 0:l.root)==null?void 0:c.children.length)===1){let x=n.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of x)h.children[0]&&i.push({text:(g=h.children[0].text)!=null?g:"",id:o(h.children[0].text,a++),tag:h.tag||"h2"})}}),i}),r=Ao(t.layout);return{tableOfContents:s,contentWithIds:r}}function Ao(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var dt=require("@radix-ui/react-slot"),lt=require("class-variance-authority"),ct=V(require("react")),mt=require("react/jsx-runtime"),Bo=(0,lt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),sa=ct.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,mt.jsx)(t?dt.Slot:"button",{className:m(Bo({className:a,size:o,variant:s})),ref:e,...r}));sa.displayName="Button";var pt=({className:t,content:a,style:o})=>(0,mt.jsx)("div",{className:m("mx-auto my-8 w-full",t),children:(0,mt.jsx)("div",{className:m("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,mt.jsx)(M,{content:a,enableGutter:!1,enableProse:!1})})});var ja=V(require("next/link")),ra=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:i,reference:n,size:d,url:p}=t,l=a==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!l)return null;let c=o==="link"?"clear":d,g=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]}):(0,mt.jsx)(sa,{asChild:!0,className:r,size:c,variant:o,children:(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]})})};var ma=({links:t,richText:a})=>(0,mt.jsx)("div",{className:"container",children:(0,mt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,mt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,mt.jsx)(M,{className:"mb-0",content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,mt.jsx)(ra,{size:"lg",...o},s))})]})});var Sa=require("prism-react-renderer");var ut=require("lucide-react");function gt({code:t}){let[a,o]=(0,Gt.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,mt.jsx)("div",{className:"flex justify-end align-middle",children:(0,mt.jsxs)(sa,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,mt.jsx)("p",{children:a}),(0,mt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,mt.jsx)(ut.ClipboardCopy,{})})]})})}var ft=({code:t,language:a=""})=>t?(0,mt.jsx)(Sa.Highlight,{code:t,language:a,theme:Sa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,mt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,i)=>(0,mt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,mt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,mt.jsx)("span",{className:"table-cell pl-4",children:e.map((n,d)=>(0,mt.jsx)("span",{...s({token:n})},d))})]},i)),(0,mt.jsx)(gt,{code:t})]})}):null;var bt=({className:t,code:a,language:o})=>(0,mt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,mt.jsx)(ft,{code:a,language:o})});var xt=V(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ht="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=",wt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:i,src:n,loading:d}=t,p,l,c=a,g=n||"";if(!g&&e&&typeof e=="object"){let{alt:u,filename:f,height:w,url:R,width:F}=e;if(w&&w>500){let L=500/w;p=F*L,l=w*L}else p=F,l=w;c=u||"",g=R||ht}let x=d||"lazy",h=i||Object.entries(Ro).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,mt.jsx)("picture",{children:(0,mt.jsx)(xt.default,{alt:c||"",className:m(s),fill:o,height:o?void 0:l,placeholder:"blur",blurDataURL:ht,priority:x!=="lazy"&&r,quality:100,loading:x,sizes:h,src:g,width:o?void 0:p})})};var vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{if(vt){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ct=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,mt.jsx)("video",{autoPlay:!0,className:m(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,mt.jsx)("source",{src:`${kt()}/media/${e}`})})}return null};var Ea=t=>{var i;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,mt.jsx)(o||Gt.Fragment,{...o!==null?{className:a}:{},children:r?(0,mt.jsx)(Ct,{...t}):(0,mt.jsx)(wt,{...t})})};var aa=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,mt.jsx)("div",{className:m("h-full ",{container:o},a),children:(0,mt.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var Pt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,$a.jsx)("div",{className:m("",{container:o},a),children:(0,$a.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),resource:r,src:e})})};var pa=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,mt.jsxs)("section",{className:m(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,mt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,mt.jsx)(M,{content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,i)=>{var d,p,l,c,g;let n=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,mt.jsx)(At,{variant:((d=e.settings)==null?void 0:d.card)==="default"?"light":((p=e.settings)==null?void 0:p.card)||"outline",icon:n()||void 0,iconSize:((l=e.settings)==null?void 0:l.iconSize)||"large",width:"auto",order:i,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(c=e.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=e.link)==null?void 0:g.url)||void 0},i)})})]});var La=V(require("react"));function Na({nodes:t}){return(0,mt.jsx)(La.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,mt.jsx)(La.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,mt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,mt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,mt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,mt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,mt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,mt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,mt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,mt.jsx)("table",{children:(0,mt.jsx)("tbody",{children:a.children.map((e,i)=>(0,mt.jsx)("tr",{children:e.children.map((n,d)=>(0,mt.jsx)("td",{children:Na({nodes:n.children})},d))},i))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let i of e.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Na({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,i=e==null?void 0:e.blockType;if(!e||!i)return null;switch(i){case"cta":return(0,mt.jsx)(ma,{...e},o);case"mediaBlock":return(0,mt.jsx)(aa,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,mt.jsx)(Pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,mt.jsx)(pt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,mt.jsx)(bt,{className:"col-start-2",...e},o);case"features":return(0,mt.jsx)(pa,{...e,nested:!0},o);case"reusableContentBlock":Na({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,mt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,mt.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,mt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,mt.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,mt.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var M=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,mt.jsx)("div",{className:m({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Na({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};var Ya=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("Gt-")?t+" ":"Gt-"+t+" ",e="Gt-"+a,i=s!=null?s:"",n=r+e+" Gt-"+o+" "+i;return(0,mt.jsx)("i",{className:n})};function Tt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function At({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:i,subheading:n,content:d,statistic:p,buttonText:l,buttonHref:c}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,mt.jsxs)("div",{className:m("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[t],t==="outline"?"text-gray-900":"text-white",a,x[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)(To,{icon:o,heading:i,variant:t,iconSize:s})}),p&&(0,mt.jsx)("div",{className:"mb-6",children:(0,mt.jsx)("div",{className:m("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:p})}),n&&(0,mt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),d&&typeof d=="object"&&(0,mt.jsx)("div",{className:m("space-y-6"),children:(0,mt.jsx)(M,{enableGutter:!1,content:d,enableProse:!1,className:m(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,mt.jsx)("div",{className:m("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:d}),l&&(0,mt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,mt.jsx)(sa,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,mt.jsx)("a",{href:c,children:l})})}),t==="radial"&&(0,mt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var To=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,mt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,mt.jsxs)("div",{className:"flex flex-col gap-4",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,mt.jsx)("h3",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Fa=t=>{var n;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=d=>{if(d.type&&d.type==="block"&&d.fields&&(d.fields.blockType==="imageBlock"||d.fields.blockType==="mediaBlock"))return!0;if(d.root&&d.root.children){for(let p of d.root.children)if(e(p))return!0}if(d.children){for(let p of d.children)if(e(p))return!0}return!1},i=(d,p,l)=>{if(p==="none"||l==="full")return{processedRichText:d,heading:null};let c=d,g=null;return d&&d.root&&d.root.children&&d.root.children[0].tag==="h2"&&(c={...d,root:{...d.root,children:d.root.children.slice(1)}},g=d.root.children[0]),{processedRichText:c,heading:g}};return(0,mt.jsx)("div",{className:"container my-6",children:(0,mt.jsx)("div",{className:m("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=o==null?void 0:o.settings)!=null&&n.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((d,p)=>{var f,w;let{enableLink:l,link:c,richText:g,size:x}=d,{processedRichText:h,heading:u}=i(g,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",x||"full");return(0,mt.jsxs)("div",{className:m(`col-span-4 lg:col-span-${s[x]}`,{"md:col-span-2":x!=="full"},r[x!=="full"&&!e(g)&&((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${p+1}00`),children:[u&&(0,mt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),h&&(0,mt.jsx)(M,{content:h,enableGutter:!1,className:"rich-text"}),l&&(0,mt.jsx)(ra,{...c})]},p)})})})};var Ft=V(require("next/image"));var St=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,mt.jsx)(Io,{blocks:o.layout}):(0,mt.jsx)(mt.Fragment,{})},It={content:Fa,cta:ma,mediaBlock:aa,imageBlock:aa,features:pa},Io=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)(mt.Fragment,{children:a.map((s,r)=>{var n,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in It){let p=It[e];if(p)return(0,mt.jsxs)("div",{className:"py-6 relative",children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m(((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,mt.jsx)(p,{...s})})]},r)}return null})}):null};var zt=V(require("react")),ua=V(require("@radix-ui/react-collapsible")),Da=require("@radix-ui/react-icons");var Mt=({title:t,richText:a})=>{let[o,s]=zt.default.useState(!1);return console.log("title",t),console.log("richText",a),(0,mt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,mt.jsxs)(ua.Root,{className:m("w-full"),open:o,onOpenChange:s,children:[(0,mt.jsxs)(ua.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,mt.jsx)("h2",{className:"text-lg font-medium",children:t}),o?(0,mt.jsx)(Da.ChevronUpIcon,{className:"h-6 w-6"}):(0,mt.jsx)(Da.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,mt.jsx)(ua.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,mt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,mt.jsx)(M,{content:a||{},enableGutter:!1})})})]})})};var Et={content:Fa,cta:ma,mediaBlock:aa,collasableBlock:Mt,imageBlock:aa,features:pa,reusableContentBlock:St},ya=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)("section",{id:"render-blocks",className:m(t.fill?"h-full w-full":""),children:a.map((s,r)=>{var n;console.log("block",s);let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in Et){let d=Et[e];if(e==="reusableContentBlock")return(0,mt.jsx)(Gt.Fragment,{children:(0,mt.jsx)(ya,{blocks:s.reusableContent.layout})},r);if(d)return(0,mt.jsxs)("div",{className:m("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m("container h-full relative",((n=i==null?void 0:i.settings)==null?void 0:n.theme)||"dark"),children:(0,mt.jsx)(d,{...s})})]},r)}return null})}):null},Qa=t=>{var o,s,r,e,i;if(!("theme"in t.block))return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let n={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,mt.jsxs)("div",{className:m("absolute inset-0 w-full h-full bg-background",a.settings.theme||"dark"),children:[(0,mt.jsx)(Ft.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((i=(e=a.settings)==null?void 0:e.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,mt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full bg-background",a.settings.theme||"dark")})};var ga=require("framer-motion");var Gs=require("pagedjs");var Xa=V(require("next/image")),Dt=({logoImage:t})=>(0,mt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
4
|
+
"use strict";"use client";var jt=Object.create;var Ta=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var $t=(t,a)=>{for(var o in a)Ta(t,o,{get:a[o],enumerable:!0})},Ka=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of Wt(a))!Vt.call(t,r)&&r!==o&&Ta(t,r,{get:()=>a[r],enumerable:!(s=Ot(a,r))||s.enumerable});return t};var V=(t,a,o)=>(o=t!=null?jt(qt(t)):{},Ka(a||!t||!t.__esModule?Ta(o,"default",{value:t,enumerable:!0}):o,t)),Yt=t=>Ka(Ta({},"__esModule",{value:!0}),t);var Do={};$t(Do,{Publish:()=>Lo});module.exports=Yt(Do);var Gt=require("react");var it=require("clsx");var Ua="-",Qt=t=>{let a=Jt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let n=i.split(Ua);return n[0]===""&&n.length!==1&&n.shift(),tt(n,a)||Xt(i)},getConflictingClassGroupIds:(i,n)=>{let d=o[i]||[];return n&&s[i]?[...d,...s[i]]:d}}},tt=(t,a)=>{var i;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?tt(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Ua);return(i=a.validators.find(({validator:n})=>n(e)))==null?void 0:i.classGroupId},Za=/^\[(.+)\]$/,Xt=t=>{if(Za.test(t)){let a=Za.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Jt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return Kt(Object.entries(t.classGroups),o).forEach(([e,i])=>{Ga(i,s,e,a)}),s},Ga=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:at(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(_t(r)){Ga(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,i])=>{Ga(i,at(a,e),o,s)})})},at=(t,a)=>{let o=t;return a.split(Ua).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},_t=t=>t.isThemeGetter,Kt=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>[a+i,n])):e);return[o,r]}):t,Zt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,i)=>{o.set(e,i),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let i=o.get(e);if(i!==void 0)return i;if((i=s.get(e))!==void 0)return r(e,i),i},set(e,i){o.has(e)?o.set(e,i):r(e,i)}}},ot="!",ao=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,i=n=>{let d=[],p=0,l=0,c;for(let f=0;f<n.length;f++){let w=n[f];if(p===0){if(w===r&&(s||n.slice(f,f+e)===a)){d.push(n.slice(l,f)),l=f+e;continue}if(w==="/"){c=f;continue}}w==="["?p++:w==="]"&&p--}let g=d.length===0?n:n.substring(l),x=g.startsWith(ot),h=x?g.substring(1):g,u=c&&c>l?c-l:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:u}};return o?n=>o({className:n,parseClassName:i}):i},to=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},oo=t=>({cache:Zt(t.cacheSize),parseClassName:ao(t),...Qt(t)}),eo=/\s+/,so=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],i=t.trim().split(eo),n="";for(let d=i.length-1;d>=0;d-=1){let p=i[d],{modifiers:l,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:x}=o(p),h=!!x,u=s(h?g.substring(0,x):g);if(!u){if(!h){n=p+(n.length>0?" "+n:n);continue}if(u=s(g),!u){n=p+(n.length>0?" "+n:n);continue}h=!1}let f=to(l).join(":"),w=c?f+ot:f,R=w+u;if(e.includes(R))continue;e.push(R);let F=r(u,h);for(let L=0;L<F.length;++L){let oa=F[L];e.push(w+oa)}n=p+(n.length>0?" "+n:n)}return n};function ro(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=et(a))&&(s&&(s+=" "),s+=o);return s}var et=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=et(t[s]))&&(o&&(o+=" "),o+=a);return o};function no(t,...a){let o,s,r,e=i;function i(d){let p=a.reduce((l,c)=>c(l),t());return o=oo(p),s=o.cache.get,r=o.cache.set,e=n,n(d)}function n(d){let p=s(d);if(p)return p;let l=so(d,o);return r(d,l),l}return function(){return e(ro.apply(null,arguments))}}var N=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},st=/^\[(?:([a-z-]+):)?(.+)\]$/i,io=/^\d+\/\d+$/,lo=new Set(["px","full","screen"]),co=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mo=/\d+(%|px|r?em|[sdl]?mt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|mt|min|max))|\mt(calc|min|max|clamp)\(.+\)|^0$/,po=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=t=>la(t)||lo.has(t)||io.test(t),_=t=>ca(t,"length",ko),la=t=>!!t&&!Number.isNaN(Number(t)),Ha=t=>ca(t,"number",la),wa=t=>!!t&&Number.isInteger(Number(t)),go=t=>t.endsWith("%")&&la(t.slice(0,-1)),y=t=>st.test(t),K=t=>co.test(t),fo=new Set(["length","size","percentage"]),bo=t=>ca(t,fo,rt),ho=t=>ca(t,"position",rt),xo=new Set(["image","url"]),wo=t=>ca(t,xo,No),vo=t=>ca(t,"",Co),va=()=>!0,ca=(t,a,o)=>{let s=st.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},ko=t=>mo.test(t)&&!po.test(t),rt=()=>!1,Co=t=>uo.test(t),No=t=>yo.test(t);var Po=()=>{let t=N("colors"),a=N("spacing"),o=N("blur"),s=N("brightness"),r=N("borderColor"),e=N("borderRadius"),i=N("borderSpacing"),n=N("borderWidth"),d=N("contrast"),p=N("grayscale"),l=N("hueRotate"),c=N("invert"),g=N("gap"),x=N("gradientColorStops"),h=N("gradientColorStopPositions"),u=N("inset"),f=N("margin"),w=N("opacity"),R=N("padding"),F=N("saturate"),L=N("scale"),oa=N("sepia"),ea=N("skew"),D=N("space"),ha=N("translate"),ia=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",y,a],C=()=>[y,a],xa=()=>["",$,_],j=()=>["auto",la,y],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],da=()=>["solid","dashed","dotted","double","none"],Ra=()=>["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"],W=()=>["","0",y],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[la,y];return{cacheSize:500,separator:":",theme:{colors:[va],spacing:[$,_],blur:["none","",K,y],brightness:I(),borderColor:[t],borderRadius:["none","","full",K,y],borderSpacing:C(),borderWidth:xa(),contrast:I(),grayscale:W(),hueRotate:I(),invert:W(),gap:C(),gradientColorStops:[t],gradientColorStopPositions:[go,_],inset:U(),margin:U(),opacity:I(),padding:C(),saturate:I(),scale:I(),sepia:W(),skew:I(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:[...q(),y]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:ia()}],"overscroll-x":[{"overscroll-x":ia()}],"overscroll-y":[{"overscroll-y":ia()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wa,y]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",wa,y]}],"grid-cols":[{"grid-cols":[va]}],"col-start-end":[{col:["auto",{span:["full",wa,y]},y]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[va]}],"row-start-end":[{row:["auto",{span:[wa,y]},y]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"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:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-w":[{"min-w":[y,a,"min","max","fit"]}],"max-w":[{"max-w":[y,a,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",K,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ha]}],"font-family":[{font:[va]}],"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",y]}],"line-clamp":[{"line-clamp":["none",la,Ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...da(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,_]}],"underline-offset":[{"underline-offset":["auto",$,y]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),ho]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","mt","bl","l","tl"]},wo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-mt":[{"rounded-mt":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-mt":[{"border-mt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...da(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:da()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-mt":[{"border-mt":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...da()]}],"outline-offset":[{"outline-offset":[$,y]}],"outline-w":[{outline:[$,_]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xa()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[$,_]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",K,vo]}],"shadow-color":[{shadow:[va]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ra(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ra()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",K,y]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[c]}],saturate:[{saturate:[F]}],sepia:[{sepia:[oa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[oa]}],"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",y]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[wa,y]}],"translate-x":[{"translate-x":[ha]}],"translate-y":[{"translate-y":[ha]}],"skew-x":[{"skew-x":[ea]}],"skew-y":[{"skew-y":[ea]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],accent:[{accent:["auto",t]}],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",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,_,Ha]}],stroke:[{stroke:[t,"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-mt","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-mt":["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-mt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-mt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-mt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-mt"],"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 nt=no(Po);function m(...t){return nt((0,it.clsx)(t))}function ka(t){let a=0,o=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,s=t.layout.flatMap(e=>{let i=[];return"title"in e&&e.title&&i.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(n=>{var d,p,l,c,g;if(n.title&&i.push({text:n.title,id:o(n.title,a++),tag:"h2"}),(p=(d=n.richText)==null?void 0:d.root)!=null&&p.children&&((c=(l=n.richText)==null?void 0:l.root)==null?void 0:c.children.length)===1){let x=n.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of x)h.children[0]&&i.push({text:(g=h.children[0].text)!=null?g:"",id:o(h.children[0].text,a++),tag:h.tag||"h2"})}}),i}),r=Ao(t.layout);return{tableOfContents:s,contentWithIds:r}}function Ao(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var dt=require("@radix-ui/react-slot"),lt=require("class-variance-authority"),ct=V(require("react")),mt=require("react/jsx-runtime"),Bo=(0,lt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),sa=ct.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,mt.jsx)(t?dt.Slot:"button",{className:m(Bo({className:a,size:o,variant:s})),ref:e,...r}));sa.displayName="Button";var pt=({className:t,content:a,style:o})=>(0,mt.jsx)("div",{className:m("mx-auto my-8 w-full",t),children:(0,mt.jsx)("div",{className:m("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,mt.jsx)(M,{content:a,enableGutter:!1,enableProse:!1})})});var ja=V(require("next/link")),ra=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:i,reference:n,size:d,url:p}=t,l=a==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!l)return null;let c=o==="link"?"clear":d,g=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]}):(0,mt.jsx)(sa,{asChild:!0,className:r,size:c,variant:o,children:(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]})})};var ma=({links:t,richText:a})=>(0,mt.jsx)("div",{className:"container",children:(0,mt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,mt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,mt.jsx)(M,{className:"mb-0",content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,mt.jsx)(ra,{size:"lg",...o},s))})]})});var Sa=require("prism-react-renderer");var ut=require("lucide-react");function gt({code:t}){let[a,o]=(0,Gt.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,mt.jsx)("div",{className:"flex justify-end align-middle",children:(0,mt.jsxs)(sa,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,mt.jsx)("p",{children:a}),(0,mt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,mt.jsx)(ut.ClipboardCopy,{})})]})})}var ft=({code:t,language:a=""})=>t?(0,mt.jsx)(Sa.Highlight,{code:t,language:a,theme:Sa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,mt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,i)=>(0,mt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,mt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,mt.jsx)("span",{className:"table-cell pl-4",children:e.map((n,d)=>(0,mt.jsx)("span",{...s({token:n})},d))})]},i)),(0,mt.jsx)(gt,{code:t})]})}):null;var bt=({className:t,code:a,language:o})=>(0,mt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,mt.jsx)(ft,{code:a,language:o})});var xt=V(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ht="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=",wt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:i,src:n,loading:d}=t,p,l,c=a,g=n||"";if(!g&&e&&typeof e=="object"){let{alt:u,filename:f,height:w,url:R,width:F}=e;if(w&&w>500){let L=500/w;p=F*L,l=w*L}else p=F,l=w;c=u||"",g=R||ht}let x=d||"lazy",h=i||Object.entries(Ro).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,mt.jsx)("picture",{children:(0,mt.jsx)(xt.default,{alt:c||"",className:m(s),fill:o,height:o?void 0:l,placeholder:"blur",blurDataURL:ht,priority:x!=="lazy"&&r,quality:100,loading:x,sizes:h,src:g,width:o?void 0:p})})};var vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{if(vt){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ct=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,mt.jsx)("video",{autoPlay:!0,className:m(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,mt.jsx)("source",{src:`${kt()}/media/${e}`})})}return null};var Ea=t=>{var i;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,mt.jsx)(o||Gt.Fragment,{...o!==null?{className:a}:{},children:r?(0,mt.jsx)(Ct,{...t}):(0,mt.jsx)(wt,{...t})})};var aa=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,mt.jsx)("div",{className:m("h-full ",{container:o},a),children:(0,mt.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var Pt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,$a.jsx)("div",{className:m("",{container:o},a),children:(0,$a.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),resource:r,src:e})})};var pa=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,mt.jsxs)("section",{className:m(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,mt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,mt.jsx)(M,{content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,i)=>{var d,p,l,c,g;let n=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,mt.jsx)(At,{variant:((d=e.settings)==null?void 0:d.card)==="default"?"light":((p=e.settings)==null?void 0:p.card)||"outline",icon:n()||void 0,iconSize:((l=e.settings)==null?void 0:l.iconSize)||"large",width:"auto",order:i,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(c=e.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=e.link)==null?void 0:g.url)||void 0},i)})})]});var La=V(require("react"));function Na({nodes:t}){return(0,mt.jsx)(La.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,mt.jsx)(La.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,mt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,mt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,mt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,mt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,mt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,mt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,mt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,mt.jsx)("table",{children:(0,mt.jsx)("tbody",{children:a.children.map((e,i)=>(0,mt.jsx)("tr",{children:e.children.map((n,d)=>(0,mt.jsx)("td",{children:Na({nodes:n.children})},d))},i))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let i of e.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Na({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,i=e==null?void 0:e.blockType;if(!e||!i)return null;switch(i){case"cta":return(0,mt.jsx)(ma,{...e},o);case"mediaBlock":return(0,mt.jsx)(aa,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,mt.jsx)(Pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,mt.jsx)(pt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,mt.jsx)(bt,{className:"col-start-2",...e},o);case"features":return(0,mt.jsx)(pa,{...e,nested:!0},o);case"reusableContentBlock":Na({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,mt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,mt.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,mt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,mt.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,mt.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var M=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,mt.jsx)("div",{className:m({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Na({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};var Ya=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("Gt-")?t+" ":"Gt-"+t+" ",e="Gt-"+a,i=s!=null?s:"",n=r+e+" Gt-"+o+" "+i;return(0,mt.jsx)("i",{className:n})};function Tt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function At({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:i,subheading:n,content:d,statistic:p,buttonText:l,buttonHref:c}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,mt.jsxs)("div",{className:m("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[t],t==="outline"?"text-gray-900":"text-white",a,x[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)(To,{icon:o,heading:i,variant:t,iconSize:s})}),p&&(0,mt.jsx)("div",{className:"mb-6",children:(0,mt.jsx)("div",{className:m("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:p})}),n&&(0,mt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),d&&typeof d=="object"&&(0,mt.jsx)("div",{className:m("space-y-6"),children:(0,mt.jsx)(M,{enableGutter:!1,content:d,enableProse:!1,className:m(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,mt.jsx)("div",{className:m("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:d}),l&&(0,mt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,mt.jsx)(sa,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,mt.jsx)("a",{href:c,children:l})})}),t==="radial"&&(0,mt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var To=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,mt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,mt.jsxs)("div",{className:"flex flex-col gap-4",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,mt.jsx)("h3",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Fa=t=>{var n;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=d=>{if(d.type&&d.type==="block"&&d.fields&&(d.fields.blockType==="imageBlock"||d.fields.blockType==="mediaBlock"))return!0;if(d.root&&d.root.children){for(let p of d.root.children)if(e(p))return!0}if(d.children){for(let p of d.children)if(e(p))return!0}return!1},i=(d,p,l)=>{if(p==="none"||l==="full")return{processedRichText:d,heading:null};let c=d,g=null;return d&&d.root&&d.root.children&&d.root.children[0].tag==="h2"&&(c={...d,root:{...d.root,children:d.root.children.slice(1)}},g=d.root.children[0]),{processedRichText:c,heading:g}};return(0,mt.jsx)("div",{className:"container my-6",children:(0,mt.jsx)("div",{className:m("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=o==null?void 0:o.settings)!=null&&n.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((d,p)=>{var f,w;let{enableLink:l,link:c,richText:g,size:x}=d,{processedRichText:h,heading:u}=i(g,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",x||"full");return(0,mt.jsxs)("div",{className:m(`col-span-4 lg:col-span-${s[x]}`,{"md:col-span-2":x!=="full"},r[x!=="full"&&!e(g)&&((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${p+1}00`),children:[u&&(0,mt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),h&&(0,mt.jsx)(M,{content:h,enableGutter:!1,className:"rich-text"}),l&&(0,mt.jsx)(ra,{...c})]},p)})})})};var Ft=V(require("next/image"));var St=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,mt.jsx)(Io,{blocks:o.layout}):(0,mt.jsx)(mt.Fragment,{})},It={content:Fa,cta:ma,mediaBlock:aa,imageBlock:aa,features:pa},Io=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)(mt.Fragment,{children:a.map((s,r)=>{var n,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in It){let p=It[e];if(p)return(0,mt.jsxs)("div",{className:"py-6 relative",children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m(((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,mt.jsx)(p,{...s})})]},r)}return null})}):null};var zt=V(require("react")),ua=V(require("@radix-ui/react-collapsible")),Da=require("@radix-ui/react-icons");var Mt=({title:t,richText:a})=>{let[o,s]=zt.default.useState(!1);return(0,mt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,mt.jsxs)(ua.Root,{className:m("w-full"),open:o,onOpenChange:s,children:[(0,mt.jsxs)(ua.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,mt.jsx)("h2",{className:"text-lg font-medium",children:t}),o?(0,mt.jsx)(Da.ChevronUpIcon,{className:"h-6 w-6"}):(0,mt.jsx)(Da.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,mt.jsx)(ua.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,mt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,mt.jsx)(M,{content:a||{},enableGutter:!1})})})]})})};var Et={content:Fa,cta:ma,mediaBlock:aa,collapsibleArea:Mt,imageBlock:aa,features:pa,reusableContentBlock:St},ya=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)("section",{id:"render-blocks",className:m(t.fill?"h-full w-full":""),children:a.map((s,r)=>{var n;console.log("block",s);let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in Et){let d=Et[e];if(e==="reusableContentBlock")return(0,mt.jsx)(Gt.Fragment,{children:(0,mt.jsx)(ya,{blocks:s.reusableContent.layout})},r);if(d)return(0,mt.jsxs)("div",{className:m("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m("container h-full relative",((n=i==null?void 0:i.settings)==null?void 0:n.theme)||"dark"),children:(0,mt.jsx)(d,{...s})})]},r)}return null})}):null},Qa=t=>{var o,s,r,e,i;if(!("theme"in t.block))return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let n={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,mt.jsxs)("div",{className:m("absolute inset-0 w-full h-full bg-background",a.settings.theme||"dark"),children:[(0,mt.jsx)(Ft.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((i=(e=a.settings)==null?void 0:e.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,mt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full bg-background",a.settings.theme||"dark")})};var ga=require("framer-motion");var Gs=require("pagedjs");var Xa=V(require("next/image")),Dt=({logoImage:t})=>(0,mt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
5
5
|
dark bg-background text-primary`,children:[(0,mt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[t&&(0,mt.jsx)("img",{src:t.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,mt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,mt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Pa=({title:t})=>(0,mt.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,mt.jsx)("div",{className:"container",children:(0,mt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Aa=t=>{var r,e;let{title:a,hero:o,logoImage:s}=t;return(0,mt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,mt.jsx)("div",{className:"absolute inset-0",children:(0,mt.jsx)(Xa.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(r=o.media.width)!=null?r:1920,height:o.media&&o.media.height&&(e=o.media.height)!=null?e:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,mt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&(0,mt.jsx)("div",{className:"h-24",children:(0,mt.jsx)(Xa.default,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,mt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,mt.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,mt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,mt.jsx)(M,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var Ja=t=>{let[a,o]=(0,Gt.useState)(0),{blocks:s,hero:r,logoImage:e}=t,i=s&&Array.isArray(s)&&s.length>0,d=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],p=u=>{o(u)},l=()=>{o(u=>(u+1)%d.length)},c=()=>{o(u=>(u-1+d.length)%d.length)},x=(0,Gt.useCallback)(((u,f)=>{let w;return(...R)=>{clearTimeout(w),w=setTimeout(()=>u(...R),f)}})(u=>{u.deltaY>0?l():c()},300),[]),h=u=>{u.key==="ArrowDown"?l():u.key==="ArrowUp"&&c()};return(0,Gt.useEffect)(()=>(window.addEventListener("wheel",x),window.addEventListener("keydown",h),()=>{window.removeEventListener("wheel",x),window.removeEventListener("keydown",h)}),[]),(0,mt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,mt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:i&&d.map((u,f)=>(0,mt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${a===f?"bg-accent":"bg-gray-600"}`,onClick:()=>p(f),children:(0,mt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:u.blockName})},u.id))}),(0,mt.jsx)(ga.AnimatePresence,{children:d.map((u,f)=>(0,mt.jsx)("div",{id:`slide-${f}`,className:"print-section",children:(0,mt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
6
6
|
${f===a?"opacity-100":"opacity-0"}
|
|
7
7
|
w-full h-full bg-cover bg-center`,children:f===0?(0,mt.jsx)(Aa,{hero:r,title:t.title,logoImage:e}):(0,mt.jsxs)(mt.Fragment,{children:[u.blockName&&(0,mt.jsx)(Pa,{title:u.blockName}),(0,mt.jsx)(ya,{blocks:[u],fill:!0}),(0,mt.jsx)(Dt,{logoImage:e})]})})},f))}),(0,mt.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,mt.jsx)(So,{})})]})},So=()=>(0,mt.jsx)(ga.AnimatePresence,{children:(0,mt.jsx)(ga.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:m("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,mt.jsx)(ga.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:m("w-[12px] h-[12px] rounded-full","bg-accent")})})});function zo(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var ba=t=>{let a=document.createElement("div");a.style.height="1mm",document.body.appendChild(a);let o=parseFloat(window.getComputedStyle(a).height);return document.body.removeChild(a),Math.floor(t/o)},Ht=({page:t,layout:a="portrait",logoImage:o})=>a==="flow"?(0,mt.jsx)(Mo,{page:t,layout:a,logoImage:o}):(0,mt.jsx)(Eo,{page:t,layout:a,logoImage:o}),Mo=({page:t,layout:a="portrait",logoImage:o})=>{let{contentWithIds:s}=ka(t),r=(0,Gt.useRef)(null),e=(0,Gt.useRef)(null),i=(0,Gt.useRef)(new Gs.Previewer),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,Gt.useEffect)(()=>{let l=document.getElementById("printable-content");if(l){let c=document.createElement("style");return c.textContent=`@page { size: ${ba(l.offsetWidth)}mm ${ba(l.offsetHeight)}mm ; margin: 0mm; width: ${ba(l.offsetWidth)}mm }; .container : { max-width: ${ba(l.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(c),()=>{document.head.removeChild(c)}}},[a]);let d=(0,Gt.useCallback)(()=>{if(!e.current)return;e.current&&(e.current.innerHTML="");let l=document.getElementById("printable-content");l&&i.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${ba(l.offsetWidth)}mm ${ba(l.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],e.current).catch(c=>console.error("Paged.js error:",c))},[a]);(0,Gt.useEffect)(()=>{i.current=new Gs.Previewer},[d,a]);let p=[n,...s];return(0,mt.jsxs)("div",{children:[(0,mt.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,mt.jsxs)("div",{id:"printable-content",ref:r,children:[p.map((l,c)=>(0,mt.jsx)(mt.Fragment,{children:c===0?(0,mt.jsx)("section",{className:"title-page w-full h-full",children:(0,mt.jsx)(Aa,{hero:t.hero,title:t.title})},c):(0,mt.jsxs)("section",{className:"normal-page overflow-hidden",children:[l.blockName&&(0,mt.jsx)(Pa,{title:l.blockName}),(0,mt.jsx)(ya,{blocks:[l],fill:!0})]},c)})),(0,mt.jsx)("section",{className:"normal-page",children:(0,mt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
package/dist/pages/Publish.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-MIWMERSR.mjs";import"../chunk-IJT4XHN7.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-S3GITHJW.mjs";import"../chunk-EML6AVUM.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-7XB4Y3U2.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-GYUMEOL2.mjs";import"../chunk-3GYJDXNA.mjs";import"../chunk-Z7P4QOKT.mjs";import"../chunk-OUKKI47A.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-EOVMD5QE.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-UUQ4YJSJ.mjs";import"../chunk-OUF4RW7E.mjs";import"../chunk-C2WXWFU6.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-BXIDYE67.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-26K34DNO.mjs";import"../chunk-FYVORNBL.mjs";import"../chunk-OXFWH45D.mjs";import"../chunk-OIIEDD56.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as Publish};
|