@windstream/react-shared-components 0.2.56 → 0.2.58

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.
Files changed (33) hide show
  1. package/dist/contentful/index.d.ts +15 -1
  2. package/dist/contentful/index.esm.js +4 -4
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +4 -4
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/index.esm.js +2 -2
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/index.js.map +1 -1
  10. package/dist/next/index.esm.js +1 -17
  11. package/dist/next/index.esm.js.map +1 -1
  12. package/dist/next/index.js +1 -17
  13. package/dist/next/index.js.map +1 -1
  14. package/dist/styles.css +1 -1
  15. package/package.json +1 -1
  16. package/src/components/brand-button/index.tsx +2 -2
  17. package/src/components/collapse/index.test.tsx +20 -0
  18. package/src/components/collapse/index.tsx +4 -0
  19. package/src/components/next-image/index.tsx +1 -1
  20. package/src/components/video-link/contentful-video-embed.tsx +1 -1
  21. package/src/components/video-link/index.tsx +1 -1
  22. package/src/components/video-link/vimeo-embed.tsx +1 -1
  23. package/src/components/video-link/youtube-embed.tsx +1 -1
  24. package/src/contentful/blocks/button/index.tsx +1 -0
  25. package/src/contentful/blocks/cart-retention-banner/CartRetentionBanner.stories.tsx +89 -1
  26. package/src/contentful/blocks/cart-retention-banner/index.test.tsx +85 -0
  27. package/src/contentful/blocks/cart-retention-banner/index.tsx +222 -39
  28. package/src/contentful/blocks/cart-retention-banner/types.ts +34 -0
  29. package/src/contentful/blocks/fiber-form/index.tsx +1 -0
  30. package/src/contentful/blocks/modal/index.tsx +14 -3
  31. package/src/contentful/blocks/shape-background-wrapper/index.test.tsx +17 -1
  32. package/src/contentful/blocks/shape-background-wrapper/index.tsx +30 -0
  33. package/src/contentful/index.ts +5 -0
@@ -1,20 +1,4 @@
1
1
  "use client";
2
2
 
3
- import{jsx as e}from"react/jsx-runtime";import t,{forwardRef as r}from"react";import n from"next/image";import o from"next/link";function i(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=i(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const a=e=>{const t=u(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),s(r,t)||c(e)},getConflictingClassGroupIds:(e,t)=>{const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},s=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?s(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},l=/^\[(.+)\]$/,c=e=>{if(l.test(e)){const t=l.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},u=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const e in r)d(r[e],n,e,t);return n},d=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:f(t,e)).classGroupId=r)}if("function"==typeof e)return p(e)?void d(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach(([e,o])=>{d(o,f(t,e),r,n)})})},f=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},p=e=>e.isThemeGetter,m=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},h=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=e=>{const t=[];let r,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===n&&0===o){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){r=a;continue}}"["===s?n++:"]"===s?n--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(i),s=y(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:r&&r>i?r-i:void 0}};if(t){const e=t+":",r=n;n=t=>t.startsWith(e)?r(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(r){const e=n;n=t=>r({className:t,parseClassName:e})}return n},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,b=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const r=[];let n=[];return e.forEach(e=>{"["===e[0]||t[e]?(r.push(...n.sort(),e),n=[]):n.push(e)}),r.push(...n.sort()),r}},g=/\s+/;function E(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=v(e))&&(n&&(n+=" "),n+=t);return n}const v=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=v(e[n]))&&(r&&(r+=" "),r+=t);return r};function w(e,...t){let r,n,o,i=function(l){const c=t.reduce((e,t)=>t(e),e());return r=(e=>({cache:m(e.cacheSize),parseClassName:h(e),sortModifiers:b(e),...a(e)}))(c),n=r.cache.get,o=r.cache.set,i=s,s(l)};function s(e){const t=n(e);if(t)return t;const i=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(g);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!p,h=n(m?f.substring(0,p):f);if(!h){if(!m){l=t+(l.length>0?" "+l:l);continue}if(h=n(f),!h){l=t+(l.length>0?" "+l:l);continue}m=!1}const y=i(u).join(":"),b=d?y+"!":y,g=b+h;if(a.includes(g))continue;a.push(g);const E=o(h,m);for(let e=0;e<E.length;++e){const t=E[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return o(e,i),i}return function(){return i(E.apply(null,arguments))}}const A=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},L=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,S=/^\((?:(\w[\w-]*):)?(.+)\)$/i,O=/^\d+\/\d+$/,T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>O.test(e),D=e=>!!e&&!Number.isNaN(Number(e)),x=e=>!!e&&Number.isInteger(Number(e)),R=e=>e.endsWith("%")&&D(e.slice(0,-1)),P=e=>T.test(e),j=()=>!0,B=e=>_.test(e)&&!k.test(e),M=()=>!1,K=e=>C.test(e),H=e=>I.test(e),G=e=>!z(e)&&!V(e),U=e=>re(e,ae,M),z=e=>L.test(e),Y=e=>re(e,se,B),$=e=>re(e,le,D),F=e=>re(e,oe,M),q=e=>re(e,ie,H),W=e=>re(e,ue,K),V=e=>S.test(e),Q=e=>ne(e,se),J=e=>ne(e,ce),X=e=>ne(e,oe),Z=e=>ne(e,ae),ee=e=>ne(e,ie),te=e=>ne(e,ue,!0),re=(e,t,r)=>{const n=L.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},ne=(e,t,r=!1)=>{const n=S.exec(e);return!!n&&(n[1]?t(n[1]):r)},oe=e=>"position"===e||"percentage"===e,ie=e=>"image"===e||"url"===e,ae=e=>"length"===e||"size"===e||"bg-size"===e,se=e=>"length"===e,le=e=>"number"===e,ce=e=>"family-name"===e,ue=e=>"shadow"===e,de=()=>{const e=A("color"),t=A("font"),r=A("text"),n=A("font-weight"),o=A("tracking"),i=A("leading"),a=A("breakpoint"),s=A("container"),l=A("spacing"),c=A("radius"),u=A("shadow"),d=A("inset-shadow"),f=A("text-shadow"),p=A("drop-shadow"),m=A("blur"),h=A("perspective"),y=A("aspect"),b=A("ease"),g=A("animate"),E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",V,z],v=()=>[V,z,l],w=()=>[N,"full","auto",...v()],L=()=>[x,"none","subgrid",V,z],S=()=>["auto",{span:["full",x,V,z]},x,V,z],O=()=>[x,"auto",V,z],T=()=>["auto","min","max","fr",V,z],_=()=>["auto",...v()],k=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...v()],C=()=>[e,V,z],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",X,F,{position:[V,z]}],B=()=>["auto","cover","contain",Z,U,{size:[V,z]}],M=()=>[R,Q,Y],K=()=>["","none","full",c,V,z],H=()=>["",D,Q,Y],re=()=>[D,R,X,F],ne=()=>["","none",m,V,z],oe=()=>["none",D,V,z],ie=()=>["none",D,V,z],ae=()=>[D,V,z],se=()=>[N,"full",...v()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[P],breakpoint:[P],color:[j],container:[P],"drop-shadow":[P],ease:["in","out","in-out"],font:[G],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[P],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[P],shadow:[P],spacing:["px",D],text:[P],"text-shadow":[P],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,z,V,y]}],container:["container"],columns:[{columns:[D,z,V,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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"],sr:["sr-only","not-sr-only"],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:E()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[x,"auto",V,z]}],basis:[{basis:[N,"full","auto",s,...v()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[D,N,"auto","initial","none",z]}],grow:[{grow:["",D,V,z]}],shrink:[{shrink:["",D,V,z]}],order:[{order:[x,"first","last","none",V,z]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":T()}],"auto-rows":[{"auto-rows":T()}],gap:[{gap:v()}],"gap-x":[{"gap-x":v()}],"gap-y":[{"gap-y":v()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:v()}],px:[{px:v()}],py:[{py:v()}],ps:[{ps:v()}],pe:[{pe:v()}],pt:[{pt:v()}],pr:[{pr:v()}],pb:[{pb:v()}],pl:[{pl:v()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":v()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":v()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[s,"screen",...k()]}],"min-w":[{"min-w":[s,"screen","none",...k()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",r,Q,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,V,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",R,z]}],"font-family":[{font:[J,z,t]}],"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:[o,V,z]}],"line-clamp":[{"line-clamp":[D,"none",V,$]}],leading:[{leading:[i,...v()]}],"list-image":[{"list-image":["none",V,z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",V,z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:C()}],"text-color":[{text:C()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[D,"from-font","auto",V,Y]}],"text-decoration-color":[{decoration:C()}],"underline-offset":[{"underline-offset":[D,"auto",V,z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V,z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V,z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:I()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},x,V,z],radial:["",V,z],conic:[x,V,z]},ee,q]}],"bg-color":[{bg:C()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:C()}],"gradient-via":[{via:C()}],"gradient-to":[{to:C()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:C()}],"border-color-x":[{"border-x":C()}],"border-color-y":[{"border-y":C()}],"border-color-s":[{"border-s":C()}],"border-color-e":[{"border-e":C()}],"border-color-t":[{"border-t":C()}],"border-color-r":[{"border-r":C()}],"border-color-b":[{"border-b":C()}],"border-color-l":[{"border-l":C()}],"divide-color":[{divide:C()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[D,V,z]}],"outline-w":[{outline:["",D,Q,Y]}],"outline-color":[{outline:C()}],shadow:[{shadow:["","none",u,te,W]}],"shadow-color":[{shadow:C()}],"inset-shadow":[{"inset-shadow":["none",d,te,W]}],"inset-shadow-color":[{"inset-shadow":C()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:C()}],"ring-offset-w":[{"ring-offset":[D,Y]}],"ring-offset-color":[{"ring-offset":C()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":C()}],"text-shadow":[{"text-shadow":["none",f,te,W]}],"text-shadow-color":[{"text-shadow":C()}],opacity:[{opacity:[D,V,z]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[D]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":C()}],"mask-image-linear-to-color":[{"mask-linear-to":C()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":C()}],"mask-image-t-to-color":[{"mask-t-to":C()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":C()}],"mask-image-r-to-color":[{"mask-r-to":C()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":C()}],"mask-image-b-to-color":[{"mask-b-to":C()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":C()}],"mask-image-l-to-color":[{"mask-l-to":C()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":C()}],"mask-image-x-to-color":[{"mask-x-to":C()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":C()}],"mask-image-y-to-color":[{"mask-y-to":C()}],"mask-image-radial":[{"mask-radial":[V,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":C()}],"mask-image-radial-to-color":[{"mask-radial-to":C()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[D]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":C()}],"mask-image-conic-to-color":[{"mask-conic-to":C()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:I()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",V,z]}],filter:[{filter:["","none",V,z]}],blur:[{blur:ne()}],brightness:[{brightness:[D,V,z]}],contrast:[{contrast:[D,V,z]}],"drop-shadow":[{"drop-shadow":["","none",p,te,W]}],"drop-shadow-color":[{"drop-shadow":C()}],grayscale:[{grayscale:["",D,V,z]}],"hue-rotate":[{"hue-rotate":[D,V,z]}],invert:[{invert:["",D,V,z]}],saturate:[{saturate:[D,V,z]}],sepia:[{sepia:["",D,V,z]}],"backdrop-filter":[{"backdrop-filter":["","none",V,z]}],"backdrop-blur":[{"backdrop-blur":ne()}],"backdrop-brightness":[{"backdrop-brightness":[D,V,z]}],"backdrop-contrast":[{"backdrop-contrast":[D,V,z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",D,V,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[D,V,z]}],"backdrop-invert":[{"backdrop-invert":["",D,V,z]}],"backdrop-opacity":[{"backdrop-opacity":[D,V,z]}],"backdrop-saturate":[{"backdrop-saturate":[D,V,z]}],"backdrop-sepia":[{"backdrop-sepia":["",D,V,z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":v()}],"border-spacing-x":[{"border-spacing-x":v()}],"border-spacing-y":[{"border-spacing-y":v()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",V,z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[D,"initial",V,z]}],ease:[{ease:["linear","initial",b,V,z]}],delay:[{delay:[D,V,z]}],animate:[{animate:["none",g,V,z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,V,z]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:oe()}],"rotate-x":[{"rotate-x":oe()}],"rotate-y":[{"rotate-y":oe()}],"rotate-z":[{"rotate-z":oe()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[V,z,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:C()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:C()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",V,z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"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",V,z]}],fill:[{fill:["none",...C()]}],"stroke-w":[{stroke:[D,Q,Y,$]}],stroke:[{stroke:["none",...C()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},fe=(e,t,r)=>{void 0!==r&&(e[t]=r)},pe=(e,t)=>{if(t)for(const r in t)fe(e,r,t[r])},me=(e,t)=>{if(t)for(const r in t)he(e,t,r)},he=(e,t,r)=>{const n=t[r];void 0!==n&&(e[r]=e[r]?e[r].concat(n):n)},ye=((e,...t)=>"function"==typeof e?w(de,e,...t):w(()=>((e,{cacheSize:t,prefix:r,experimentalParseClassName:n,extend:o={},override:i={}})=>(fe(e,"cacheSize",t),fe(e,"prefix",r),fe(e,"experimentalParseClassName",n),pe(e.theme,i.theme),pe(e.classGroups,i.classGroups),pe(e.conflictingClassGroups,i.conflictingClassGroups),pe(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),fe(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),me(e.theme,o.theme),me(e.classGroups,o.classGroups),me(e.conflictingClassGroups,o.conflictingClassGroups),me(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),he(e,o,"orderSensitiveModifiers"),e))(de(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),be=(...e)=>ye(function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=i(e))&&(n&&(n+=" "),n+=t);return n}(...e));
4
- /*! js-cookie v3.0.5 | MIT */
5
- function ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}function Ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}!function e(t,r){function n(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=ge({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+i}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",ge({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,ge({},this.attributes,t))},withConverter:function(t){return e(ge({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var ve,we={},Ae={},Le={};function Se(){return ve||(ve=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(Le)),Le}var Oe,Te={};function _e(){return Oe||(Oe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Te)),Te}var ke,Ce={};function Ie(){return ke||(ke=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(Ce)),Ce}var Ne,De={};function xe(){return Ne||(Ne=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get CONTAINERS(){return f},get HEADINGS(){return p},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return y},get V1_NODE_TYPES(){return h},get VOID_BLOCKS(){return d}});var t=Se(),r=_e(),n=Ie();function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],f=(i(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.LIST_ITEM,c),i(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),p=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(s=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,r.INLINES.HYPERLINK,r.INLINES.ENTRY_HYPERLINK,r.INLINES.ASSET_HYPERLINK,r.INLINES.EMBEDDED_ENTRY,"text"],y=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE]}(De)),De}var Re,Pe={};var je,Be={};var Me,Ke={};var He,Ge={};function Ue(){return He||(He=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return f}});var t=Se(),r=_e();function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function i(e,t){var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(e)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){if(t===e[i.value])return!0}}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!1}function a(e){return i(r.INLINES,e.nodeType)}function s(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var r=e.content[0];return"text"===r.nodeType&&""===r.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function f(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(Ge)),Ge}var ze,Ye,$e={},Fe={};function qe(){return Ye?ze:(Ye=1,ze=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var We,Ve,Qe={};function Je(){return We||(We=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get enumError(){return a},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return n},get unknownPropertyError(){return s}});var n=function(e){var t=e.path,r=e.property,n=e.typeName,o=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:o}},o=function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}},i=function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}},a=function(e){var t=e.expected,n=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:r(t).sort(),path:o.toArray(),value:n}},s=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},l=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}}(Qe)),Qe}function Xe(){return Ve||(Ve=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(qe()),r=Je();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(n,o){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=n,this.path=o,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;(n=l._errors).push.apply(n,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,r.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var n=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(n))return!0;var o,i=e?a.path.of(e):a.path,s=null!==(o=null!=e?e:a.path.last())&&void 0!==o?o:"value";return a.catch((0,r.typeMismatchError)({typeName:"Object",property:s,path:i,value:n})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,r.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var n=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(a.catch((0,r.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:n})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,r.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=a.obj[e];return!("string"!=typeof n||!t.includes(n))||(a.catch((0,r.enumError)({expected:t,value:n,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,r.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var n=a.obj[e];return n.length>=t||(a.catch((0,r.minSizeError)({min:t,value:n,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,r.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var r=a.obj[e],n=!1;r.forEach(function(r,o){if(!n){var i=t(r,a.path.of(e).of(o));i.length>0&&(n=!0),a.catch.apply(a,s(i))}})}}}return o(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===n})}}]),e}()}(Fe)),Fe}var Ze,et={};function tt(){return Ze||(Ze=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get EntityLinkAssertion(){return h},get HyperLinkAssertion(){return y},get NodeAssertion(){return m},get VOID_CONTENT(){return p},get assert(){return b},get assertLink(){return g}});var t=Xe();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,r){return t=l(t),function(e,t){if(t&&("object"==(r=t,r&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;var r;return n(e)}(e,f()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var p=[],m=function(){function e(t,r){i(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return a(e,[{key:"assert",value:function(e,r){var n=new t.ObjectAssertion(e,r);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,r),i=o.nodeTypes,a=o.min,s=void 0===a?0:a;if(0===i.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(n.minLength("content",s),0===i.length?n.empty("content"):n.each("content",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var l,c,u,f=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,r.of("data")))&&void 0!==u?u:[];(l=n).catch.apply(l,d(f))}return n.errors}}]),e}(),h=function(e){function r(e,a){var l;return i(this,r),l=o(this,r,[a,function(e,t){return n(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,r){var n=new t.ObjectAssertion(e,r);if(n.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,r.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,d(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(r,e),r}(m),y=function(e){function r(){var e;return i(this,r),e=o(this,r,[["text"],function(t,r){return n(e).assertLink(t,r)}]),s(e,"assertLink",function(e,r){var n=new t.ObjectAssertion(e,r);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return c(r,e),r}(m),b=function(e,t){return new m(e,t)},g=function(e,t){return new h(e,t)}}(et)),et}var rt,nt={};function ot(){return rt||(rt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return o}});var o=function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,"path",void 0),r(this,"of",void 0),r(this,"isRoot",void 0),r(this,"last",void 0),r(this,"toArray",void 0),this.path=o,this.of=function(r){return new e(n(t.path).concat([r]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(nt)),nt}var it,at,st,lt,ct={};function ut(){return at||(at=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return g}});var t=Se(),r=_e(),n=xe(),o=Xe(),i=tt(),a=ot(),s=(it||(it=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return r}});var t=Xe();function r(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.noAdditionalProperties(["nodeType","data","value","marks"]),n.object("data"),n.each("marks",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.string("type"),n.errors):n.errors}),n.string("value"),n.errors):n.errors}}(ct)),ct);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,f=(0,i.assert)(u(Object.values(r.INLINES)).concat(["text"]).sort()),p=(0,i.assert)([t.BLOCKS.LIST_ITEM]),m=(0,i.assertLink)("Entry",i.VOID_CONTENT),h=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new o.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),y=(c(d={},t.BLOCKS.DOCUMENT,(0,i.assert)(n.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,f),c(d,t.BLOCKS.HEADING_1,f),c(d,t.BLOCKS.HEADING_2,f),c(d,t.BLOCKS.HEADING_3,f),c(d,t.BLOCKS.HEADING_4,f),c(d,t.BLOCKS.HEADING_5,f),c(d,t.BLOCKS.HEADING_6,f),c(d,t.BLOCKS.QUOTE,(0,i.assert)(n.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,m),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,p),c(d,t.BLOCKS.UL_LIST,p),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(u(n.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,h),c(d,t.BLOCKS.TABLE_HEADER_CELL,h),c(d,r.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,r.INLINES.EMBEDDED_ENTRY,m),c(d,r.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,r.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,r.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,r.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var r=y[e.nodeType].assert(e,t);if(r.length>0)return r;var n=new o.ObjectAssertion(e,t);return n.each("content",function(e,t){return b(e,t)}),n.errors}var g=function(e){var r=new a.Path,n=new o.ObjectAssertion(e,r);return n.object()&&n.enum("nodeType",[t.BLOCKS.DOCUMENT]),n.errors.length>0?n.errors:b(e,r)}}($e)),$e}function dt(){return st||(st=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return r.INLINES},get MARKS(){return n.MARKS},get helpers(){return i},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Se(),r=_e(),n=Ie();s(xe(),e),s((Re||(Re=1,Object.defineProperty(Pe,"__esModule",{value:!0})),Pe),e),s((je||(je=1,Object.defineProperty(Be,"__esModule",{value:!0})),Be),e);var o=(Me||(Me=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return r}});var t=Se(),r={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(Ke)),Ke),i=c(Ue()),a=ut();function s(e,t){return Object.keys(e).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}}(Ae)),Ae}!function(){if(lt)return we;lt=1;var e=t,r=dt();function n(t,r){return t.map((t,n)=>{return i=o(t,r),a=n,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:a}):i;var i,a})}function o(t,o){const{renderNode:i,renderMark:a,renderText:s,preserveWhitespace:l}=o;if(r.helpers.isText(t)){let r=s?s(t.value):t.value;if(l&&!s){r=r.replace(/ {2,}/g,e=>" ".repeat(e.length));const t=r.split("\n"),n=[];t.forEach((r,o)=>{n.push(r),o!==t.length-1&&n.push(e.createElement("br",null))}),r=n}return t.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,r)}{const r=n(t.content,o);return t.nodeType&&i[t.nodeType]?i[t.nodeType](t,r):e.createElement(e.Fragment,null,r)}}const i={[r.BLOCKS.DOCUMENT]:(e,t)=>t,[r.BLOCKS.PARAGRAPH]:(t,r)=>e.createElement("p",null,r),[r.BLOCKS.HEADING_1]:(t,r)=>e.createElement("h1",null,r),[r.BLOCKS.HEADING_2]:(t,r)=>e.createElement("h2",null,r),[r.BLOCKS.HEADING_3]:(t,r)=>e.createElement("h3",null,r),[r.BLOCKS.HEADING_4]:(t,r)=>e.createElement("h4",null,r),[r.BLOCKS.HEADING_5]:(t,r)=>e.createElement("h5",null,r),[r.BLOCKS.HEADING_6]:(t,r)=>e.createElement("h6",null,r),[r.BLOCKS.EMBEDDED_ENTRY]:(t,r)=>e.createElement("div",null,r),[r.BLOCKS.EMBEDDED_RESOURCE]:(t,r)=>e.createElement("div",null,r),[r.BLOCKS.UL_LIST]:(t,r)=>e.createElement("ul",null,r),[r.BLOCKS.OL_LIST]:(t,r)=>e.createElement("ol",null,r),[r.BLOCKS.LIST_ITEM]:(t,r)=>e.createElement("li",null,r),[r.BLOCKS.QUOTE]:(t,r)=>e.createElement("blockquote",null,r),[r.BLOCKS.HR]:()=>e.createElement("hr",null),[r.BLOCKS.TABLE]:(t,r)=>e.createElement("table",null,e.createElement("tbody",null,r)),[r.BLOCKS.TABLE_ROW]:(t,r)=>e.createElement("tr",null,r),[r.BLOCKS.TABLE_HEADER_CELL]:(t,r)=>e.createElement("th",null,r),[r.BLOCKS.TABLE_CELL]:(t,r)=>e.createElement("td",null,r),[r.INLINES.ASSET_HYPERLINK]:e=>s(r.INLINES.ASSET_HYPERLINK,e),[r.INLINES.ENTRY_HYPERLINK]:e=>s(r.INLINES.ENTRY_HYPERLINK,e),[r.INLINES.RESOURCE_HYPERLINK]:e=>l(r.INLINES.RESOURCE_HYPERLINK,e),[r.INLINES.EMBEDDED_ENTRY]:e=>s(r.INLINES.EMBEDDED_ENTRY,e),[r.INLINES.EMBEDDED_RESOURCE]:(e,t)=>l(r.INLINES.EMBEDDED_RESOURCE,e),[r.INLINES.HYPERLINK]:(t,r)=>e.createElement("a",{href:t.data.uri},r)},a={[r.MARKS.BOLD]:t=>e.createElement("b",null,t),[r.MARKS.ITALIC]:t=>e.createElement("i",null,t),[r.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[r.MARKS.CODE]:t=>e.createElement("code",null,t),[r.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[r.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[r.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,r){return e.createElement("span",{key:r.data.target.sys.id},"type: ",r.nodeType," id: ",r.data.target.sys.id)}function l(t,r){return e.createElement("span",{key:r.data.target.sys.urn},"type: ",r.nodeType," urn: ",r.data.target.sys.urn)}we.documentToReactComponents=function(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=r.helpers.stripEmptyTrailingParagraphFromDocument(e)),o(n,{renderNode:{...i,...t.renderNode},renderMark:{...a,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}}();var ft=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),pt=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});function mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yt,bt=[ft.PARAGRAPH,ft.HEADING_1,ft.HEADING_2,ft.HEADING_3,ft.HEADING_4,ft.HEADING_5,ft.HEADING_6,ft.OL_LIST,ft.UL_LIST,ft.HR,ft.QUOTE,ft.EMBEDDED_ENTRY,ft.EMBEDDED_ASSET,ft.EMBEDDED_RESOURCE,ft.TABLE],gt=[ft.PARAGRAPH,ft.HEADING_1,ft.HEADING_2,ft.HEADING_3,ft.HEADING_4,ft.HEADING_5,ft.HEADING_6,ft.OL_LIST,ft.UL_LIST,ft.HR,ft.QUOTE,ft.EMBEDDED_ENTRY,ft.EMBEDDED_ASSET,ft.EMBEDDED_RESOURCE];ft.TABLE,ft.TABLE_ROW,ft.TABLE_CELL,ft.TABLE_HEADER_CELL,ft.HR,ft.EMBEDDED_ENTRY,ft.EMBEDDED_ASSET,ft.EMBEDDED_RESOURCE;var Et,vt=(ht(yt={},ft.OL_LIST,[ft.LIST_ITEM]),ht(yt,ft.UL_LIST,[ft.LIST_ITEM]),ht(yt,ft.LIST_ITEM,gt),ht(yt,ft.QUOTE,[ft.PARAGRAPH]),ht(yt,ft.TABLE,[ft.TABLE_ROW]),ht(yt,ft.TABLE_ROW,[ft.TABLE_CELL,ft.TABLE_HEADER_CELL]),ht(yt,ft.TABLE_CELL,[ft.PARAGRAPH,ft.UL_LIST,ft.OL_LIST]),ht(yt,ft.TABLE_HEADER_CELL,[ft.PARAGRAPH]),yt),wt=[ft.HEADING_1,ft.HEADING_2,ft.HEADING_3,ft.HEADING_4,ft.HEADING_5,ft.HEADING_6];[ft.PARAGRAPH].concat(function(e){if(Array.isArray(e))return mt(e)}(Et=wt)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Et)||function(e,t){if(e){if("string"==typeof e)return mt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mt(e,t):void 0}}(Et)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),ft.DOCUMENT,ft.PARAGRAPH,ft.HEADING_1,ft.HEADING_2,ft.HEADING_3,ft.HEADING_4,ft.HEADING_5,ft.HEADING_6,ft.OL_LIST,ft.UL_LIST,ft.LIST_ITEM,ft.HR,ft.QUOTE,ft.EMBEDDED_ENTRY,ft.EMBEDDED_ASSET,pt.HYPERLINK,pt.ENTRY_HYPERLINK,pt.ASSET_HYPERLINK,pt.EMBEDDED_ENTRY,ft.DOCUMENT,ft.PARAGRAPH;var At=Ee(qe());function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function St(e){return function(e){if(Array.isArray(e))return Lt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Lt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ot=function(e){var t=e.path,r=e.property,n=e.typeName,o=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:o}};function Tt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _t(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ct(e){return function(e){if(Array.isArray(e))return Tt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Tt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var It=function(){function e(t,r){var n=this,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),kt(this,"obj",void 0),kt(this,"path",void 0),kt(this,"_errors",void 0),kt(this,"catch",void 0),kt(this,"exists",void 0),kt(this,"object",void 0),kt(this,"string",void 0),kt(this,"number",void 0),kt(this,"array",void 0),kt(this,"enum",void 0),kt(this,"empty",void 0),kt(this,"minLength",void 0),kt(this,"noAdditionalProperties",void 0),kt(this,"each",void 0),this.obj=t,this.path=r,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;(n=o._errors).push.apply(n,Ct(t))},this.exists=function(e){return e in n.obj||(n.catch(function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}({property:e,path:n.path.of(e)})),!1)},this.object=function(e){var t=e?n.obj[e]:n.obj;if(e&&!n.exists(e))return!1;if(At(t))return!0;var r,o=e?n.path.of(e):n.path,i=null!==(r=null!=e?e:n.path.last())&&void 0!==r?r:"value";return n.catch(Ot({typeName:"Object",property:i,path:o,value:t})),!1},this.string=function(e){var t=n.obj[e];return!(e&&!n.exists(e))&&("string"==typeof t||(n.catch(Ot({typeName:"String",property:e,path:n.path.of(e),value:t})),!1))},this.number=function(e,t){var r=n.obj[e];return!(!t||e in n.obj)||!!n.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(n.catch(Ot({typeName:"Number",property:e,path:n.path.of(e),value:r})),!1))},this.array=function(e){var t=n.obj[e];return!(e&&!n.exists(e))&&(!!Array.isArray(t)||(n.catch(Ot({typeName:"Array",property:e,path:n.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=n.obj[e];return!("string"!=typeof r||!t.includes(r))||(n.catch(function(e){var t=e.expected,r=e.value,n=e.path;return{details:"Value must be one of expected values",name:"in",expected:St(t).sort(),path:n.toArray(),value:r}}({expected:t,value:r,path:n.path.of(e)})),!1)},this.empty=function(e){if(!n.array(e))return!1;var t=n.obj[e];return 0===t.length||(n.catch(function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}}({max:0,value:t,path:n.path.of(e)})),!1)},this.minLength=function(e,t){if(!n.array(e))return!1;var r=n.obj[e];return r.length>=t||(n.catch(function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}}({min:t,value:r,path:n.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(n.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return n.catch(function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}}({property:e,path:n.path.of(e)}))}),0===t.length},this.each=function(e,t){if(n.array(e)){var r=n.obj[e],o=!1;r.forEach(function(r,i){if(!o){var a=t(r,n.path.of(e).of(i));a.length>0&&(o=!0),n.catch.apply(n,Ct(a))}})}}}return _t(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===n})}}]),e}();function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xt(e,t,r){return t=Bt(t),function(e,t){if(t&&("object"==(r=t,r&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;var r;return Dt(e)}(e,Gt()?Reflect.construct(t,r||[],Bt(e).constructor):t.apply(e,r))}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Bt(e)}function Mt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kt(e,t)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kt(e,t)}function Ht(e){return function(e){if(Array.isArray(e))return Nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gt=function(){return!!e})()}var Ut=[],zt=function(){function e(t,r){Rt(this,e),jt(this,"contentRule",void 0),jt(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return Pt(e,[{key:"assert",value:function(e,t){var r=new It(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var n=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),o=n.nodeTypes,i=n.min,a=void 0===i?0:i;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===o.length?r.empty("content"):r.each("content",function(e,t){var r=new It(e,t);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=r).catch.apply(s,Ht(u))}return r.errors}}]),e}(),Yt=function(e){function t(e,r){var n;return Rt(this,t),n=xt(this,t,[r,function(e,t){return Dt(n).assertLink(e,t)}]),jt(n,"linkType",void 0),jt(n,"type",void 0),jt(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new It(e,t);if(r.object("target")){var o,i=new It(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[n.type]),i.enum("linkType",[n.linkType]),"Link"===n.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===n.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=r).catch.apply(o,Ht(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return Mt(t,e),t}(zt),$t=function(e){function t(){var e;return Rt(this,t),e=xt(this,t,[["text"],function(t,r){return Dt(e).assertLink(t,r)}]),jt(e,"assertLink",function(e,t){var r=new It(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return Mt(t,e),t}(zt),Ft=function(e,t){return new zt(e,t)},qt=function(e,t){return new Yt(e,t)};function Wt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qt(e){return function(e){if(Array.isArray(e))return Wt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Wt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Jt,Xt=Ft(Qt(Object.values(pt)).concat(["text"]).sort()),Zt=Ft([ft.LIST_ITEM]),er=qt("Entry",Ut),tr=Ft(function(){return{nodeTypes:[ft.PARAGRAPH],min:1}},function(e,t){var r=new It(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors});Vt(Jt={},ft.DOCUMENT,Ft(bt)),Vt(Jt,ft.PARAGRAPH,Xt),Vt(Jt,ft.HEADING_1,Xt),Vt(Jt,ft.HEADING_2,Xt),Vt(Jt,ft.HEADING_3,Xt),Vt(Jt,ft.HEADING_4,Xt),Vt(Jt,ft.HEADING_5,Xt),Vt(Jt,ft.HEADING_6,Xt),Vt(Jt,ft.QUOTE,Ft(vt[ft.QUOTE])),Vt(Jt,ft.EMBEDDED_ENTRY,er),Vt(Jt,ft.EMBEDDED_ASSET,qt("Asset",Ut)),Vt(Jt,ft.EMBEDDED_RESOURCE,qt("Contentful:Entry",Ut)),Vt(Jt,ft.HR,Ft(Ut)),Vt(Jt,ft.OL_LIST,Zt),Vt(Jt,ft.UL_LIST,Zt),Vt(Jt,ft.LIST_ITEM,Ft(Qt(gt).sort())),Vt(Jt,ft.TABLE,Ft(function(){return{nodeTypes:[ft.TABLE_ROW],min:1}})),Vt(Jt,ft.TABLE_ROW,Ft(function(){return{nodeTypes:[ft.TABLE_CELL,ft.TABLE_HEADER_CELL],min:1}})),Vt(Jt,ft.TABLE_CELL,tr),Vt(Jt,ft.TABLE_HEADER_CELL,tr),Vt(Jt,pt.HYPERLINK,new $t),Vt(Jt,pt.EMBEDDED_ENTRY,er),Vt(Jt,pt.EMBEDDED_RESOURCE,qt("Contentful:Entry",Ut)),Vt(Jt,pt.ENTRY_HYPERLINK,qt("Entry",["text"])),Vt(Jt,pt.ASSET_HYPERLINK,qt("Asset",["text"])),Vt(Jt,pt.RESOURCE_HYPERLINK,qt("Contentful:Entry",["text"]));const rr=r(({children:t,className:r="",variant:n="unstyled",style:o,...i},a)=>{const s=be("unstyled"===n?"":"mb-1 leading-6","list-item",`list-item--${n}`,r);return e("li",{ref:a,className:s,style:o,...i,children:t})});rr.displayName="ListItem";r(({type:t="ul",items:r,className:n="",renderItem:o,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d={className:be(u,`list--${t}`,`list--${a}`,n),style:s,...l,children:i||(r&&0!==r.length?r.map((t,r)=>o?o(t,r):e(rr,{className:t.className,variant:a,children:t.content},t.id||r)):null)};return e("ol"===t?"ol":"ul",{...d,ref:c,role:"list"})}).displayName="List";var nr;r(({children:e,as:r,className:n="",style:o,...i},a)=>{const s=r||"p";return t.createElement(s,{ref:a,className:n,style:o,...i},e)}).displayName="Text";const or="function"==typeof o?o:null!==(nr=o.default)&&void 0!==nr?nr:o;r(({children:t,href:r,className:n="",onClick:o,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),f=e=>{l?e.preventDefault():null==o||o(e)},p=be(d,`link--${i}`,l&&"link--disabled",n),m={...c,ref:u,className:p,style:a,href:l?void 0:r,onClick:f,...s&&!l&&{target:"_blank",rel:"noopener"},...l&&{"aria-disabled":!0,tabIndex:-1}};return l||s||"string"==typeof r&&r.startsWith("http")?e("a",{...m,children:t}):e(or,{href:r||"#",ref:u,className:p,style:a,onClick:f,...c,children:t})}).displayName="Link";
6
- /*! @vimeo/player v2.30.4 | (c) 2026 Vimeo | MIT License | https://github.com/vimeo/player.js */
7
- const ir="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),ar="undefined"!=typeof Bun,sr="undefined"!=typeof Deno,lr="function"==typeof WebSocketPair&&void 0!==caches?.default,cr=ir||ar||sr||lr;function ur(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function dr(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function fr(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function pr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.id,r=e.url,n=t||r;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(o=n,!isNaN(parseFloat(o))&&isFinite(o)&&Math.floor(o)==o)return`https://vimeo.com/${n}`;var o;if(dr(n))return n.replace("http:","https:");if(t)throw new TypeError(`“${t}” is not a valid video id.`);throw new TypeError(`“${n}” is not a vimeo.com url.`)}const mr=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const i="string"==typeof t?[t]:t;return i.forEach(t=>{e[n](t,r)}),{cancel:()=>i.forEach(t=>e[o](t,r))}};function hr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;const r=t.querySelectorAll("iframe");for(let t=0;t<r.length;t++)if(r[t]&&r[t].contentWindow===e)return r[t];return null}const yr=void 0!==Array.prototype.indexOf,br="undefined"!=typeof window&&void 0!==window.postMessage;if(!(cr||yr&&br))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var gr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
8
- /*!
9
- * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
10
- * https://github.com/polygonplanet/weakmap-polyfill
11
- * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
12
- * @license MIT
13
- */
14
- !function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+i()+"."+i()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!o(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+typeof e)}function i(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)}),n(e.prototype,"get",function(e){if(r(this,"get"),o(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),n(e.prototype,"has",function(e){if(r(this,"has"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!o(e))throw new TypeError("Invalid value used as weak map key");var i=e[this._id];return i&&i[0]===e?(i[1]=t,this):(n(e,this._id,[e,t]),this)}),n(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:gr);var Er,vr,wr=(Er=function(e){
15
- /*! Native Promise Only
16
- v0.8.1 (c) Kyle Simpson
17
- MIT License: http://getify.mit-license.org
18
- */
19
- var t,r,n;n=function(){var e,t,r,n=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(t){e=function(e,t,r){return e[t]=r,e}}function i(e,n){r.add(e,n),t||(t=o(r.drain))}function a(e){var t,r=typeof e;return null==e||"object"!=r&&"function"!=r||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)l(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e,t,r){var n,o;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(o=a(n))?o.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function c(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=a(e))?i(function(){var n=new f(r);try{t.call(e,function(){c.apply(n,arguments)},function(){u.apply(n,arguments)})}catch(e){u.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&i(s,r))}catch(e){u.call(new f(r),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(s,t))}function d(e,t,r,n){for(var o=0;o<t.length;o++)(function(o){e.resolve(t[o]).then(function(e){r(o,e)},n)})(o)}function f(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&i(s,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){c.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}r=function(){var e,r,n;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,i){n=new o(t,i),r?r.next=n:e=n,r=n,n=void 0},drain:function(){var n=e;for(e=r=t=void 0;n;)n.fn.call(n.self),n=n.next}}}();var h=e({},"constructor",m,!1);return m.prototype=h,e(h,"__NPO__",0,!1),e(m,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),e(m,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),e(m,"all",function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var o=e.length,i=Array(o),a=0;d(t,e,function(e,t){i[e]=t,++a===o&&r(i)},n)})}),e(m,"race",function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");d(t,e,function(e,t){r(t)},n)})}),m},(r=gr)[t="Promise"]=r[t]||n(),e.exports&&(e.exports=r[t])},Er(vr={exports:{}},vr.exports),vr.exports);const Ar=new WeakMap;function Lr(e,t,r){const n=Ar.get(e.element)||{};t in n||(n[t]=[]),n[t].push(r),Ar.set(e.element,n)}function Sr(e,t){return(Ar.get(e.element)||{})[t]||[]}function Or(e,t,r){const n=Ar.get(e.element)||{};if(!n[t])return!0;if(!r)return n[t]=[],Ar.set(e.element,n),!0;const o=n[t].indexOf(r);return-1!==o&&n[t].splice(o,1),Ar.set(e.element,n),n[t]&&0===n[t].length}function Tr(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function _r(e,t,r){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let n={method:t};void 0!==r&&(n.value=r);const o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(n=JSON.stringify(n)),e.element.contentWindow.postMessage(n,e.origin)}function kr(e,t){let r,n=[];if((t=Tr(t)).event){if("error"===t.event){Sr(e,t.data.method).forEach(r=>{const n=new Error(t.data.message);n.name=t.data.name,r.reject(n),Or(e,t.data.method,r)})}n=Sr(e,`event:${t.event}`),r=t.data}else if(t.method){const o=function(e,t){const r=Sr(e,t);if(r.length<1)return!1;const n=r.shift();return Or(e,t,n),n}(e,t.method);o&&(n.push(o),r=t.value)}n.forEach(t=>{try{if("function"==typeof t)return void t.call(e,r);t.resolve(r)}catch(e){}})}const Cr=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Ir(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Cr.reduce((t,r)=>{const n=e.getAttribute(`data-vimeo-${r}`);return(n||""===n)&&(t[r]=""===n?1:n),t},t)}function Nr(e,t){let{html:r}=e;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");const n=document.createElement("div");return n.innerHTML=r,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Dr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return new Promise((n,o)=>{if(!dr(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);const i=function(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),r=(t&&t[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const e of n)if(r.endsWith(e))return r;return"vimeo.com"}(e);let a=`https://${i}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);const s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{const t=JSON.parse(s.responseText);if(403===t.domain_status_code)return Nr(t,r),void o(new Error(`“${e}” is not embeddable.`));n(t)}catch(e){o(e)}else o(new Error(`“${e}” is not embeddable.`));else o(new Error(`“${e}” was not found.`))},s.onerror=function(){const e=s.status?` (${s.status})`:"";o(new Error(`There was an error fetching the embed code from Vimeo${e}.`))},s.send()})}const xr={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class Rr extends EventTarget{logger;constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;super(),this.logger=n,this.init(t,e,{...xr,...r})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,r){if(await this.waitForTOReadyState(e,"open"),"viewer"===r.role){await this.updatePlayer(e,t,r);const n=mr(e,"change",()=>this.updatePlayer(e,t,r)),o=this.maintainPlaybackPosition(e,t,r);this.addEventListener("disconnect",()=>{o.cancel(),n.cancel()})}else{await this.updateTimingObject(e,t);const r=mr(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>r.cancel())}}async updateTimingObject(e,t){const[r,n,o]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:r,velocity:n?0:o})}async updatePlayer(e,t,r){const{position:n,velocity:o}=e.query();"number"==typeof n&&t.setCurrentTime(n),"number"==typeof o&&(0===o?!1===await t.getPaused()&&t.pause():o>0&&(!0===await t.getPaused()&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&r.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,r)),await t.getPlaybackRate()!==o&&t.setPlaybackRate(o)))}maintainPlaybackPosition(e,t,r){const{allowedDrift:n,maxAllowedDrift:o,minCheckInterval:i,maxRateAdjustment:a,maxTimeToCatchUp:s}=r,l=1e3*Math.min(s,Math.max(i,o)),c=async()=>{if(0===e.query().velocity||!0===await t.getPaused())return;const r=e.query().position-await t.getCurrentTime(),i=Math.abs(r);if(this.log(`Drift: ${r}`),i>o)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(i>n){const e=i/s,n=e<a?(a-e)/2:a;await this.adjustSpeed(t,n*Math.sign(r)),this.log("Resync by playbackRate")}},u=setInterval(()=>c(),l);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const r=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${r}`),await e.setPlaybackRate(r),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(r=>{const n=()=>{e.readyState===t?r():e.addEventListener("readystatechange",n,{once:!0})};n()})}}const Pr=new WeakMap,jr=new WeakMap;let Br={};class Mr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){const t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!dr(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Pr.has(e))return Pr.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const r=new wr((r,n)=>{if(this._onMessage=e=>{if(!dr(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);const t=Tr(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){const e=new Error(t.data.message);return e.name=t.data.name,void n(e)}const o=t&&"ready"===t.event,i=t&&"ping"===t.method;if(o||i)return this.element.setAttribute("data-ready","true"),void r();kr(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const r=Ir(e,t);Dr(pr(r),r,e).then(t=>{const r=Nr(t,e);return this.element=r,this._originalElement=e,function(e,t){const r=Ar.get(e);Ar.set(t,r),Ar.delete(e)}(e,r),Pr.set(this.element,this),t}).catch(n)}});if(jr.set(this,r),Pr.set(this.element,this),"IFRAME"===this.element.nodeName&&_r(this,"ping"),Br.isEnabled){const e=()=>Br.exit();this.fullscreenchangeHandler=()=>{Br.isFullscreen?Lr(this,"event:exitFullscreen",e):Or(this,"event:exitFullscreen",e),this.ready().then(()=>{_r(this,"fullscreenchange",Br.isFullscreen)})},Br.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return dr(e)}callMethod(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(null==e)throw new TypeError("You must pass a method name.");return new wr((t,n)=>this.ready().then(()=>{Lr(this,e,{resolve:t,reject:n}),0===r.length?r={}:1===r.length&&(r=r[0]),_r(this,e,r)}).catch(n))}get(e){return new wr((t,r)=>(e=ur(e,"get"),this.ready().then(()=>{Lr(this,e,{resolve:t,reject:r}),_r(this,e)}).catch(r)))}set(e,t){return new wr((r,n)=>{if(e=ur(e,"set"),null==t)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Lr(this,e,{resolve:r,reject:n}),_r(this,e,t)}).catch(n)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===Sr(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),Lr(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");Or(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=jr.get(this)||new wr((e,t)=>{t(new Error("Unknown player. Probably unloaded."))});return wr.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:r})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return Br.isEnabled?Br.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return Br.isEnabled?Br.exit():this.callMethod("exitFullscreen")}getFullscreen(){return Br.isEnabled?wr.resolve(Br.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new wr(e=>{if(jr.delete(this),Pr.delete(this.element),this._originalElement&&(Pr.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),Br.isEnabled&&Br.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return wr.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new wr((e,t)=>t(new TypeError("Argument must be an array.")));const t=new wr(e=>e(null)),r=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return wr.all(r)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const r=new Rr(this,e,t);return _r(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",()=>_r(this,"notifyTimingObjectDisconnect")),r}}cr||(Br=function(){const e=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let r=0;const n=t.length,o={};for(;r<n;r++)if(e=t[r],e&&e[1]in document){for(r=0;r<e.length;r++)o[t[0][r]]=e[r];return o}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},r={request:t=>new Promise((n,o)=>{const i=function(){r.off("fullscreenchange",i),n()};r.on("fullscreenchange",i);const a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(o)}),exit:()=>new Promise((t,n)=>{if(!r.isFullscreen)return void t();const o=function(){r.off("fullscreenchange",o),t()};r.on("fullscreenchange",o);const i=document[e.exitFullscreen]();i instanceof Promise&&i.then(o).catch(n)}),on(e,r){const n=t[e];n&&document.addEventListener(n,r)},off(e,r){const n=t[e];n&&document.removeEventListener(n,r)}};return Object.defineProperties(r,{isFullscreen:{get:()=>Boolean(document[e.fullscreenElement])},element:{enumerable:!0,get:()=>document[e.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>Boolean(document[e.fullscreenEnabled])}}),r}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),r=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;const t=Ir(e);Dr(pr(t),t,e).then(t=>Nr(t,e)).catch(r)}catch(e){r(e)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!dr(t.origin))return;if(!t.data||"spacechange"!==t.data.event)return;const r=t.source?hr(t.source,e):null;r&&(r.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!dr(t.origin))return;const r=Tr(t.data);if(!r||"ready"!==r.event)return;const n=t.source?hr(t.source,e):null;n&&fr(n.src)&&new Mr(n).callMethod("appendVideoMetadata",window.location.href)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",r=>{if(!dr(r.origin))return;const n=Tr(r.data);if(!n||"ready"!==n.event)return;const o=r.source?hr(r.source,e):null;if(o&&fr(o.src)){const e=new Mr(o);e.getVideoId().then(t=>{const r=new RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(r&&r[1]){const t=decodeURI(r[1]);e.setCurrentTime(t)}}).catch(t)}})}(),function(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!dr(e.origin))return;const t=Tr(e.data);if(!t||"drminitfailed"!==t.event)return;const r=e.source?hr(e.source):null;if(!r)return;const n=r.getAttribute("allow")||"";if(!n.includes("encrypted-media")){r.setAttribute("allow",`${n}; encrypted-media`);const e=new URL(r.getAttribute("src"));return e.searchParams.set("forcereload","drm"),void r.setAttribute("src",e.toString())}})}());const Kr=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(n),Hr=({src:e,width:t,quality:r})=>{const n=e.startsWith("//")?`https:${e}`:e;let o;try{o=new URL(n)}catch(t){return e}return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(r||90)),o.searchParams.set("fm","webp"),o.toString()},Gr=r(({className:t,...r},n)=>{const o="string"==typeof r.src?r.src:"",i=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:Hr,unoptimized:!1}:{unoptimized:s};return e(Kr,{ref:n,className:be(t),...r,...l})});Gr.displayName="NextImage";export{Gr as NextImage};
3
+ import{jsx as e}from"react/jsx-runtime";import{forwardRef as o}from"react";import r from"next/image";function t(e){var o,r,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(o=0;o<a;o++)e[o]&&(r=t(e[o]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}const s=e=>{const o=i(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),a(r,o)||l(e)},getConflictingClassGroupIds:(e,o)=>{const s=r[e]||[];return o&&t[e]?[...s,...t[e]]:s}}},a=(e,o)=>{if(0===e.length)return o.classGroupId;const r=e[0],t=o.nextPart.get(r),s=t?a(e.slice(1),t):void 0;if(s)return s;if(0===o.validators.length)return;const n=e.join("-");return o.validators.find(({validator:e})=>e(n))?.classGroupId},n=/^\[(.+)\]$/,l=e=>{if(n.test(e)){const o=n.exec(e)[1],r=o?.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},i=e=>{const{theme:o,classGroups:r}=e,t={nextPart:new Map,validators:[]};for(const e in r)d(r[e],t,e,o);return t},d=(e,o,r,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?o:c(o,e)).classGroupId=r)}if("function"==typeof e)return m(e)?void d(e(t),o,r,t):void o.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach(([e,s])=>{d(s,c(o,e),r,t)})})},c=(e,o)=>{let r=e;return o.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},m=e=>e.isThemeGetter,p=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,t=new Map;const s=(s,a)=>{r.set(s,a),o++,o>e&&(o=0,t=r,r=new Map)};return{get(e){let o=r.get(e);return void 0!==o?o:void 0!==(o=t.get(e))?(s(e,o),o):void 0},set(e,o){r.has(e)?r.set(e,o):s(e,o)}}},u=e=>{const{prefix:o,experimentalParseClassName:r}=e;let t=e=>{const o=[];let r,t=0,s=0,a=0;for(let n=0;n<e.length;n++){let l=e[n];if(0===t&&0===s){if(":"===l){o.push(e.slice(a,n)),a=n+1;continue}if("/"===l){r=n;continue}}"["===l?t++:"]"===l?t--:"("===l?s++:")"===l&&s--}const n=0===o.length?e:e.substring(a),l=f(n);return{modifiers:o,hasImportantModifier:l!==n,baseClassName:l,maybePostfixModifierPosition:r&&r>a?r-a:void 0}};if(o){const e=o+":",r=t;t=o=>o.startsWith(e)?r(o.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(r){const e=t;t=o=>r({className:o,parseClassName:e})}return t},f=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,b=e=>{const o=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach(e=>{"["===e[0]||o[e]?(r.push(...t.sort(),e),t=[]):t.push(e)}),r.push(...t.sort()),r}},g=/\s+/;function h(){let e,o,r=0,t="";for(;r<arguments.length;)(e=arguments[r++])&&(o=x(e))&&(t&&(t+=" "),t+=o);return t}const x=e=>{if("string"==typeof e)return e;let o,r="";for(let t=0;t<e.length;t++)e[t]&&(o=x(e[t]))&&(r&&(r+=" "),r+=o);return r};function k(e,...o){let r,t,a,n=function(i){const d=o.reduce((e,o)=>o(e),e());return r=(e=>({cache:p(e.cacheSize),parseClassName:u(e),sortModifiers:b(e),...s(e)}))(d),t=r.cache.get,a=r.cache.set,n=l,l(i)};function l(e){const o=t(e);if(o)return o;const s=((e,o)=>{const{parseClassName:r,getClassGroupId:t,getConflictingClassGroupIds:s,sortModifiers:a}=o,n=[],l=e.trim().split(g);let i="";for(let e=l.length-1;e>=0;e-=1){const o=l[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:u}=r(o);if(d){i=o+(i.length>0?" "+i:i);continue}let f=!!u,b=t(f?p.substring(0,u):p);if(!b){if(!f){i=o+(i.length>0?" "+i:i);continue}if(b=t(p),!b){i=o+(i.length>0?" "+i:i);continue}f=!1}const g=a(c).join(":"),h=m?g+"!":g,x=h+b;if(n.includes(x))continue;n.push(x);const k=s(b,f);for(let e=0;e<k.length;++e){const o=k[e];n.push(h+o)}i=o+(i.length>0?" "+i:i)}return i})(e,r);return a(e,s),s}return function(){return n(h.apply(null,arguments))}}const w=e=>{const o=o=>o[e]||[];return o.isThemeGetter=!0,o},y=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,v=/^\((?:(\w[\w-]*):)?(.+)\)$/i,z=/^\d+\/\d+$/,G=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,M=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>z.test(e),I=e=>!!e&&!Number.isNaN(Number(e)),S=e=>!!e&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&I(e.slice(0,-1)),E=e=>G.test(e),W=()=>!0,q=e=>C.test(e)&&!M.test(e),O=()=>!1,A=e=>j.test(e),L=e=>N.test(e),T=e=>!R(e)&&!J(e),_=e=>ee(e,se,O),R=e=>y.test(e),U=e=>ee(e,ae,q),B=e=>ee(e,ne,I),D=e=>ee(e,re,O),F=e=>ee(e,te,L),H=e=>ee(e,ie,A),J=e=>v.test(e),K=e=>oe(e,ae),Q=e=>oe(e,le),V=e=>oe(e,re),X=e=>oe(e,se),Y=e=>oe(e,te),Z=e=>oe(e,ie,!0),ee=(e,o,r)=>{const t=y.exec(e);return!!t&&(t[1]?o(t[1]):r(t[2]))},oe=(e,o,r=!1)=>{const t=v.exec(e);return!!t&&(t[1]?o(t[1]):r)},re=e=>"position"===e||"percentage"===e,te=e=>"image"===e||"url"===e,se=e=>"length"===e||"size"===e||"bg-size"===e,ae=e=>"length"===e,ne=e=>"number"===e,le=e=>"family-name"===e,ie=e=>"shadow"===e,de=()=>{const e=w("color"),o=w("font"),r=w("text"),t=w("font-weight"),s=w("tracking"),a=w("leading"),n=w("breakpoint"),l=w("container"),i=w("spacing"),d=w("radius"),c=w("shadow"),m=w("inset-shadow"),p=w("text-shadow"),u=w("drop-shadow"),f=w("blur"),b=w("perspective"),g=w("aspect"),h=w("ease"),x=w("animate"),k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",J,R],y=()=>[J,R,i],v=()=>[P,"full","auto",...y()],z=()=>[S,"none","subgrid",J,R],G=()=>["auto",{span:["full",S,J,R]},S,J,R],C=()=>[S,"auto",J,R],M=()=>["auto","min","max","fr",J,R],j=()=>["auto",...y()],N=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],q=()=>[e,J,R],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",V,D,{position:[J,R]}],A=()=>["auto","cover","contain",X,_,{size:[J,R]}],L=()=>[$,K,U],ee=()=>["","none","full",d,J,R],oe=()=>["",I,K,U],re=()=>[I,$,V,D],te=()=>["","none",f,J,R],se=()=>["none",I,J,R],ae=()=>["none",I,J,R],ne=()=>[I,J,R],le=()=>[P,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[E],breakpoint:[E],color:[W],container:[E],"drop-shadow":[E],ease:["in","out","in-out"],font:[T],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[E],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[E],shadow:[E],spacing:["px",I],text:[E],"text-shadow":[E],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,R,J,g]}],container:["container"],columns:[{columns:[I,R,J,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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"],sr:["sr-only","not-sr-only"],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:k()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:v()}],"inset-x":[{"inset-x":v()}],"inset-y":[{"inset-y":v()}],start:[{start:v()}],end:[{end:v()}],top:[{top:v()}],right:[{right:v()}],bottom:[{bottom:v()}],left:[{left:v()}],visibility:["visible","invisible","collapse"],z:[{z:[S,"auto",J,R]}],basis:[{basis:[P,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[I,P,"auto","initial","none",R]}],grow:[{grow:["",I,J,R]}],shrink:[{shrink:["",I,J,R]}],order:[{order:[S,"first","last","none",J,R]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],w:[{w:[l,"screen",...N()]}],"min-w":[{"min-w":[l,"screen","none",...N()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[n]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",r,K,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,J,B]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$,R]}],"font-family":[{font:[Q,R,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,J,R]}],"line-clamp":[{"line-clamp":[I,"none",J,B]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",J,R]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[I,"from-font","auto",J,U]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[I,"auto",J,R]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J,R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J,R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},S,J,R],radial:["",J,R],conic:[S,J,R]},Y,F]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:oe()}],"border-w-x":[{"border-x":oe()}],"border-w-y":[{"border-y":oe()}],"border-w-s":[{"border-s":oe()}],"border-w-e":[{"border-e":oe()}],"border-w-t":[{"border-t":oe()}],"border-w-r":[{"border-r":oe()}],"border-w-b":[{"border-b":oe()}],"border-w-l":[{"border-l":oe()}],"divide-x":[{"divide-x":oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[I,J,R]}],"outline-w":[{outline:["",I,K,U]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","none",c,Z,H]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",m,Z,H]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[I,U]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":oe()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",p,Z,H]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[I,J,R]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[I]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[J,R]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[I]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,R]}],filter:[{filter:["","none",J,R]}],blur:[{blur:te()}],brightness:[{brightness:[I,J,R]}],contrast:[{contrast:[I,J,R]}],"drop-shadow":[{"drop-shadow":["","none",u,Z,H]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",I,J,R]}],"hue-rotate":[{"hue-rotate":[I,J,R]}],invert:[{invert:["",I,J,R]}],saturate:[{saturate:[I,J,R]}],sepia:[{sepia:["",I,J,R]}],"backdrop-filter":[{"backdrop-filter":["","none",J,R]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[I,J,R]}],"backdrop-contrast":[{"backdrop-contrast":[I,J,R]}],"backdrop-grayscale":[{"backdrop-grayscale":["",I,J,R]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I,J,R]}],"backdrop-invert":[{"backdrop-invert":["",I,J,R]}],"backdrop-opacity":[{"backdrop-opacity":[I,J,R]}],"backdrop-saturate":[{"backdrop-saturate":[I,J,R]}],"backdrop-sepia":[{"backdrop-sepia":["",I,J,R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",J,R]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[I,"initial",J,R]}],ease:[{ease:["linear","initial",h,J,R]}],delay:[{delay:[I,J,R]}],animate:[{animate:["none",x,J,R]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,J,R]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[J,R,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",J,R]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",J,R]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[I,K,U,B]}],stroke:[{stroke:["none",...q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ce=(e,o,r)=>{void 0!==r&&(e[o]=r)},me=(e,o)=>{if(o)for(const r in o)ce(e,r,o[r])},pe=(e,o)=>{if(o)for(const r in o)ue(e,o,r)},ue=(e,o,r)=>{const t=o[r];void 0!==t&&(e[r]=e[r]?e[r].concat(t):t)},fe=((e,...o)=>"function"==typeof e?k(de,e,...o):k(()=>((e,{cacheSize:o,prefix:r,experimentalParseClassName:t,extend:s={},override:a={}})=>(ce(e,"cacheSize",o),ce(e,"prefix",r),ce(e,"experimentalParseClassName",t),me(e.theme,a.theme),me(e.classGroups,a.classGroups),me(e.conflictingClassGroups,a.conflictingClassGroups),me(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),ce(e,"orderSensitiveModifiers",a.orderSensitiveModifiers),pe(e.theme,s.theme),pe(e.classGroups,s.classGroups),pe(e.conflictingClassGroups,s.conflictingClassGroups),pe(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),ue(e,s,"orderSensitiveModifiers"),e))(de(),e),...o))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),be=(...e)=>fe(function(){for(var e,o,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(o=t(e))&&(s&&(s+=" "),s+=o);return s}(...e)),ge=(e=>{let o=e;for(let e=0;e<5;e++){if("function"==typeof o)return o;if(!o||"object"!=typeof o||!("default"in o))return o;o=o.default}return o})(r),he=({src:e,width:o,quality:r})=>{const t=e.startsWith("//")?`https:${e}`:e;let s;try{s=new URL(t)}catch(o){return e}return s.searchParams.set("w",String(o)),s.searchParams.set("q",String(r||90)),s.searchParams.set("fm","webp"),s.toString()},xe=o(({className:o,...r},t)=>{const s="string"==typeof r.src?r.src:"",a=s.toLowerCase().split("?")[0]||"",n=s.includes("images.ctfassets.net"),l=n&&a.endsWith(".svg"),i=n&&!l?{loader:he,unoptimized:!1}:{unoptimized:l};return e(ge,{ref:t,className:be(o),...r,...i})});xe.displayName="NextImage";export{xe as NextImage};
20
4
  //# sourceMappingURL=index.esm.js.map