@oaknational/oak-components 0.35.0 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import e,{css as n,ThemeProvider as t,createGlobalStyle as r,keyframes as o}from"styled-components";import*as i from"react";import a,{useState as c,useCallback as l,createContext as s,useContext as d,useRef as u,forwardRef as f,useLayoutEffect as p,PureComponent as g,useEffect as b,useMemo as h,memo as m,useReducer as v,cloneElement as y}from"react";import w from"next/image";import{getCldImageUrl as x,CldImage as $}from"next-cloudinary";import C,{createPortal as E,unstable_batchedUpdates as k}from"react-dom";import M from"next/link";var S=function(){return S=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},S.apply(this,arguments)};function I(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t}function j(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,i=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a}function O(e,n,t){if(t||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}function D(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}"function"==typeof SuppressedError&&SuppressedError;var T={white:"#ffffff",grey10:"#f9f9f9",grey20:"#f2f2f2",grey30:"#e4e4e4",grey40:"#cacaca",grey50:"#808080",grey60:"#575757",grey70:"#2d2d2d",grey80:"#1b1b1b",black:"#222222",oakGreen:"#287c34",mint:"#bef2bd",mint30:"#ebfbeb",mint50:"#dff9de",mint110:"#93e892",aqua:"#b0e2de",aqua30:"#e7f6f5",aqua50:"#cee7e5",aqua110:"#7cd8d0",lavender:"#a0b6f2",lavender30:"#e3e9fb",lavender50:"#c6d1ef",lavender110:"#7c9aec",pink:"#deb7d5",pink30:"#f5e9f2",pink50:"#e5d1e0",pink110:"#cf9cc3",lemon:"#ffe555",lemon30:"#fff7cc",lemon50:"#f6e8a0",lemon110:"#fbd60e",amber:"#ff934e",amber30:"#ffece0",amber50:"#ffc8a6",red:"#dd0035",red30:"#f8d8e0",red50:"#ee809a",navy:"#0d24c4",navy110:"#0a1d9d",navy120:"#081676",blue:"#374cf1",magenta:"#d02aa7",purple:"#845ad9",teal:"#037b7d",transparent:"transparent"},R={black:"invert(10%) sepia(1%) saturate(236%) hue-rotate(314deg) brightness(95%) contrast(91%)",red:"invert(13%) sepia(78%) saturate(5255%) hue-rotate(337deg) brightness(88%) contrast(111%)",oakGreen:"invert(37%) sepia(16%) saturate(1947%) hue-rotate(77deg) brightness(100%) contrast(88%)",white:"invert(98%) sepia(98%) saturate(0%) hue-rotate(328deg) brightness(102%) contrast(102%)",grey40:"invert(92%) sepia(0%) saturate(581%) hue-rotate(147deg) brightness(94%) contrast(80%)",grey50:"invert(54%) sepia(0%) saturate(38%) hue-rotate(176deg) brightness(92%) contrast(91%)",navy:"invert(21%) sepia(90%) saturate(3220%) hue-rotate(232deg) brightness(71%) contrast(127%)",navy110:"invert(16%) sepia(72%) saturate(7176%) hue-rotate(239deg) brightness(61%) contrast(109%)",navy120:"invert(12%) sepia(79%) saturate(3172%) hue-rotate(231deg) brightness(82%) contrast(114%)"},A=O([],N(["text-primary","text-subdued","text-error","text-disabled","text-link-active","text-link-hover","text-link-visited","text-link-pressed","text-inverted","text-success","text-warning","bg-primary","bg-neutral","bg-neutral-stronger","bg-btn-primary","bg-btn-primary-hover","bg-btn-primary-disabled","bg-btn-secondary","bg-btn-secondary-hover","bg-btn-secondary-disabled","bg-icon","bg-icon-hover","bg-decorative1-main","bg-decorative1-subdued","bg-decorative1-very-subdued","bg-decorative2-main","bg-decorative2-subdued","bg-decorative2-very-subdued","bg-decorative3-main","bg-decorative3-subdued","bg-decorative3-very-subdued","bg-decorative4-main","bg-decorative4-subdued","bg-decorative4-very-subdued","bg-decorative5-main","bg-decorative5-subdued","bg-decorative5-very-subdued","bg-correct","bg-incorrect","icon-main","icon-inverted","icon-disabled","icon-brand","icon-success","icon-error","icon-warning","border-primary","border-inverted","border-neutral","border-neutral-lighter","border-brand","border-success","border-error","border-warning","border-decorative1","border-decorative1-stronger","border-decorative2","border-decorative2-stronger","border-decorative3","border-decorative3-stronger","border-decorative4","border-decorative4-stronger","border-decorative5","border-decorative5-stronger","border-decorative6","border-decorative6-stronger","transparent"]),!1);function z(e){if(null!=e)return e in T?T[e]:A.includes(e)?function(n){var t=n.theme.uiColors[e];return T[t]}:void 0}function B(e){return!!e}var L,Z,P,F,q,W,_={small:750,large:1280},H=Object.values(_).sort((function(e,n){return e>n?1:-1})),G=function(e){return _[e]},V=function(e,t,r){return void 0===r&&(r=function(e){return e}),function(o){var i=function(t){return void 0===t?void 0:n(L||(L=D(["\n ",": ",";\n "],["\n ",": ",";\n "])),e,r(t))},a=t(o);if(void 0!==a)return Array.isArray(a)?0===a.length?[]:O([n(P||(P=D(["\n ","\n "],["\n ","\n "])),i(a[0]))],N(H.slice(0,a.length).map((function(e,t){var r=a[t+1];if(void 0!==r)return n(q||(q=D(["\n @media (min-width: ","px) {\n ","\n }\n "],["\n @media (min-width: ","px) {\n ","\n }\n "])),e,n(F||(F=D(["\n ","\n "],["\n ","\n "])),i(r)))})).filter(B)),!1):n(Z||(Z=D(["\n ","\n "],["\n ","\n "])),i(a))}},Y=n(W||(W=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("color",(function(e){return e.$color}),z),V("background",(function(e){return e.$background}),z)),U=16,X=3;function K(e){return Number((e/U).toFixed(X))}var J={"all-spacing-0":0,"all-spacing-1":4,"all-spacing-2":8,"all-spacing-3":12,"all-spacing-4":16,"all-spacing-5":20,"all-spacing-6":24,"all-spacing-7":32,"all-spacing-8":40,"all-spacing-9":48,"all-spacing-10":56,"all-spacing-11":64,"all-spacing-12":72,"all-spacing-13":80,"all-spacing-14":92,"all-spacing-15":100,"all-spacing-16":120,"all-spacing-17":160,"all-spacing-18":180,"all-spacing-19":240,"all-spacing-20":360,"all-spacing-21":480,"all-spacing-22":640,"all-spacing-23":960,"all-spacing-24":1280},Q={"inner-padding-none":"all-spacing-0","inner-padding-ssx":"all-spacing-1","inner-padding-xs":"all-spacing-2","inner-padding-s":"all-spacing-3","inner-padding-m":"all-spacing-4","inner-padding-l":"all-spacing-5","inner-padding-xl":"all-spacing-6","inner-padding-xl2":"all-spacing-7","inner-padding-xl3":"all-spacing-8","inner-padding-xl4":"all-spacing-9","inner-padding-xl5":"all-spacing-10","inner-padding-xl6":"all-spacing-11","inner-padding-xl7":"all-spacing-12","inner-padding-xl8":"all-spacing-13"},ee={"space-between-none":"all-spacing-0","space-between-sssx":"all-spacing-1","space-between-ssx":"all-spacing-2","space-between-xs":"all-spacing-3","space-between-s":"all-spacing-4","space-between-m":"all-spacing-6","space-between-m2":"all-spacing-7","space-between-l":"all-spacing-9","space-between-xl":"all-spacing-10","space-between-xxl":"all-spacing-12","space-between-xxxl":"all-spacing-13"};function ne(e){if(null!=e){if(e in J)return"".concat(K(J[e]),"rem");if(e in Q){var n=Q[e];return"".concat(K(J[n]),"rem")}if(e in ee){n=ee[e];return"".concat(K(J[n]),"rem")}return e}}var te,re,oe,ie,ae,ce,le,se,de,ue,fe,pe,ge,be,he,me,ve,ye,we,xe,$e,Ce,Ee,ke,Me,Se,Ie,je,Ne,Oe,De,Te,Re,Ae,ze,Be,Le,Ze,Pe,Fe,qe,We=n(te||(te=D(["\n ","\n "," \n "," \n "," \n "," \n "," \n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n "," \n "," \n "," \n "," \n "," \n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("position",(function(e){return e.$position})),V("top",(function(e){return e.$top}),ne),V("right",(function(e){return e.$right}),ne),V("bottom",(function(e){return e.$bottom}),ne),V("left",(function(e){return e.$left}),ne),V("inset",(function(e){return e.$inset}),ne),V("overflow",(function(e){return e.$overflow})),V("overflow-x",(function(e){return e.$overflowX})),V("overflow-y",(function(e){return e.$overflowY})),V("object-fit",(function(e){return e.$objectFit})),V("pointer-events",(function(e){return e.$pointerEvents})),V("visibility",(function(e){return e.$visibility}))),_e=n(re||(re=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("width",(function(e){return e.$width}),ne),V("min-width",(function(e){return e.$minWidth}),ne),V("max-width",(function(e){return e.$maxWidth}),ne),V("height",(function(e){return e.$height}),ne),V("min-height",(function(e){return e.$minHeight}),ne),V("max-height",(function(e){return e.$maxHeight}),ne),V("aspect-ratio",(function(e){return e.$aspectRatio})),V("box-sizing",(function(e){return e.$boxSizing}))),He=n(oe||(oe=D(["\n ","\n"],["\n ","\n"])),V("padding",(function(e){return e.$pa}),ne)),Ge=n(ie||(ie=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("padding-left",(function(e){return e.$ph}),ne),V("padding-right",(function(e){return e.$ph}),ne)),Ve=n(ae||(ae=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("padding-top",(function(e){return e.$pv}),ne),V("padding-bottom",(function(e){return e.$pv}),ne)),Ye=n(ce||(ce=D(["\n ","\n"],["\n ","\n"])),V("padding-left",(function(e){return e.$pl}),ne)),Ue=n(le||(le=D(["\n ","\n"],["\n ","\n"])),V("padding-right",(function(e){return e.$pr}),ne)),Xe=n(se||(se=D(["\n ","\n"],["\n ","\n"])),V("padding-top",(function(e){return e.$pt}),ne)),Ke=n(de||(de=D(["\n ","\n"],["\n ","\n"])),V("padding-bottom",(function(e){return e.$pb}),ne)),Je=n(ue||(ue=D(["\n ","\n"],["\n ","\n"])),V("margin",(function(e){return e.$ma}),ne)),Qe=n(fe||(fe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("margin-left",(function(e){return e.$mh}),ne),V("margin-right",(function(e){return e.$mh}),ne)),en=n(pe||(pe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("margin-top",(function(e){return e.$mv}),ne),V("margin-bottom",(function(e){return e.$mv}),ne)),nn=n(ge||(ge=D(["\n ","\n"],["\n ","\n"])),V("margin-left",(function(e){return e.$ml}),ne)),tn=n(be||(be=D(["\n ","\n"],["\n ","\n"])),V("margin-right",(function(e){return e.$mr}),ne)),rn=n(he||(he=D(["\n ","\n"],["\n ","\n"])),V("margin-top",(function(e){return e.$mt}),ne)),on=n(me||(me=D(["\n ","\n"],["\n ","\n"])),V("margin-bottom",(function(e){return e.$mb}),ne)),an=n(ve||(ve=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),Je,Qe,en,nn,tn,rn,on),cn=n(ye||(ye=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),He,Ge,Ve,Ye,Ue,Xe,Ke),ln=n(we||(we=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),cn,an),sn={"border-solid-none":0,"border-solid-s":1,"border-solid-m":2,"border-solid-l":3,"border-solid-xl":4},dn={"border-radius-square":0,"border-radius-xs":2,"border-radius-s":4,"border-radius-m":6,"border-radius-m2":8,"border-radius-l":16,"border-radius-xl":24,"border-radius-circle":100},un=function(e){if(null!=e)return e in sn?"".concat(K(sn[e]),"rem solid"):void 0},fn=function(e){if(null!=e)return e in dn?"".concat(K(dn[e]),"rem"):void 0},pn=n(xe||(xe=D(["\n ","\n"],["\n ","\n"])),V("border",(function(e){return e.$ba}),un)),gn=n($e||($e=D(["\n ","\n"],["\n ","\n"])),V("border-top",(function(e){return e.$bt}),un)),bn=n(Ce||(Ce=D(["\n ","\n"],["\n ","\n"])),V("border-right",(function(e){return e.$br}),un)),hn=n(Ee||(Ee=D(["\n ","\n"],["\n ","\n"])),V("border-bottom",(function(e){return e.$bb}),un)),mn=n(ke||(ke=D(["\n ","\n"],["\n ","\n"])),V("border-left",(function(e){return e.$bl}),un)),vn=n(Me||(Me=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-left",(function(e){return e.$bh}),un),V("border-right",(function(e){return e.$bh}),un)),yn=n(Se||(Se=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-top",(function(e){return e.$bv}),un),V("border-bottom",(function(e){return e.$bv}),un)),wn=n(Ie||(Ie=D(["\n ","\n"],["\n ","\n"])),V("border-color",(function(e){return e.$borderColor}),z)),xn=n(je||(je=D(["\n ","\n"],["\n ","\n"])),V("border-radius",(function(e){return e.$borderRadius}),fn)),$n=n(Ne||(Ne=D(["\n ","\n"],["\n ","\n"])),V("border-top-left-radius",(function(e){return e.$btlr}),fn)),Cn=n(Oe||(Oe=D(["\n ","\n"],["\n ","\n"])),V("border-top-right-radius",(function(e){return e.$btrr}),fn)),En=n(De||(De=D(["\n ","\n"],["\n ","\n"])),V("border-bottom-left-radius",(function(e){return e.$bblr}),fn)),kn=n(Te||(Te=D(["\n ","\n"],["\n ","\n"])),V("border-bottom-right-radius",(function(e){return e.$bbrr}),fn)),Mn=n(Re||(Re=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-top-left-radius",(function(e){return e.$btr}),fn),V("border-top-right-radius",(function(e){return e.$btr}),fn)),Sn=n(Ae||(Ae=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-bottom-left-radius",(function(e){return e.$bbr}),fn),V("border-bottom-right-radius",(function(e){return e.$bbr}),fn)),In=n(ze||(ze=D(["\n ",";\n"],["\n ",";\n"])),V("border-style",(function(e){return e.$borderStyle}))),jn=n(Be||(Be=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),pn,gn,bn,hn,mn,vn,yn,wn,xn,$n,Cn,En,kn,Mn,Sn,In),Nn=n(Le||(Le=D(["\n ","\n"],["\n ","\n"])),V("display",(function(e){return e.$display}))),On={"drop-shadow-standard":"0 0.5rem 0.5rem rgba(92, 92, 92, 20%)","drop-shadow-lemon":"0.125rem 0.125rem 0 rgba(255, 229, 85, 100%)","drop-shadow-wide-lemon":"0.25rem 0.25rem 0 rgba(255, 229, 85, 100%)","drop-shadow-centered-lemon":"0 0 0 0.125rem rgba(255, 229, 85, 100%)","drop-shadow-grey":"0.25rem 0.25rem 0 rgba(87, 87, 87, 100%)","drop-shadow-centered-grey":"0 0 0 0.3rem rgba(87, 87, 87, 100%)"},Dn=function(e){return null===e?"none":e&&e in On?On[e]:void 0},Tn=n(Ze||(Ze=D(["\n ","\n"],["\n ","\n"])),V("box-shadow",(function(e){return e.$dropShadow}),Dn)),Rn={transparent:0,"semi-transparent":.25,"semi-opaque":.5,opaque:1},An=function(e){if(e)return e in Rn?Rn[e]:void 0},zn=n(Pe||(Pe=D(["\n ","\n"],["\n ","\n"])),V("opacity",(function(e){return e.$opacity}),An)),Bn=n(Fe||(Fe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("transform",(function(e){return e.$transform})),V("transform-origin",(function(e){return e.$transformOrigin}))),Ln={"standard-ease":"all 0.3s ease","standard-transform":"rotate(-2deg) translateY(-16px) translateX(8px)"},Zn=n(qe||(qe=D(["\n ","\n"],["\n ","\n"])),V("transition",(function(e){return e.$transition}),(function(e){if(e)return e in Ln?Ln[e]:void 0}))),Pn={"font-size-1":12,"font-size-2":14,"font-size-3":16,"font-size-4":18,"font-size-5":20,"font-size-6":24,"font-size-7":32,"font-size-8":40,"font-size-9":48,"font-size-10":56},Fn={"heading-1":["font-size-10",64,600,"0.0115rem"],"heading-2":["font-size-9",56,600,"0.0115rem"],"heading-3":["font-size-8",48,600,"0.0115rem"],"heading-4":["font-size-7",40,600,"0.0115rem"],"heading-5":["font-size-6",32,600,"0.0115rem"],"heading-6":["font-size-5",24,600,"0.0115rem"],"heading-7":["font-size-3",20,600,"0.0115rem"],"heading-light-1":["font-size-10",64,400,"0.0115rem"],"heading-light-2":["font-size-9",56,400,"0.0115rem"],"heading-light-3":["font-size-8",48,400,"0.0115rem"],"heading-light-4":["font-size-7",40,400,"0.0115rem"],"heading-light-5":["font-size-6",32,400,"0.0115rem"],"heading-light-6":["font-size-5",24,400,"0.0115rem"],"heading-light-7":["font-size-3",20,400,"0.0115rem"],"body-1":["font-size-4",28,300,"-0.005rem"],"body-2":["font-size-3",24,300,"-0.005rem"],"body-3":["font-size-2",20,300,"-0.005rem"],"body-4":["font-size-1",16,300,"-0.005rem"],"body-1-bold":["font-size-4",28,700,"-0.005rem"],"body-2-bold":["font-size-3",24,700,"-0.005rem"],"body-3-bold":["font-size-2",20,700,"-0.005rem"],"list-item-1":["font-size-4",32,300,"-0.005rem"],"list-item-2":["font-size-3",24,300,"-0.005rem"]};O([],N(["underline","overline","line-through","none"]),!1),O([],N(["normal","nowrap","pre","pre-wrap","pre-line","break-spaces"]),!1),O([],N(["normal","break-word","initial","inherit"]),!1),O([],N(["clip","ellipsis"]),!1);var qn,Wn,_n,Hn,Gn,Vn,Yn,Un,Xn,Kn=n(qn||(qn=D(["\n font-family: Lexend, sans-serif;\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n font-family: Lexend, sans-serif;\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("font-weight",(function(e){return e.$font}),(function(e){var n;if(e)return null===(n=Fn[e])||void 0===n?void 0:n[2]})),V("font-size",(function(e){return e.$font}),(function(e){var n;if(e){var t=null===(n=Fn[e])||void 0===n?void 0:n[0];if(t)return"".concat(K(Pn[t]),"rem")}})),V("line-height",(function(e){return e.$font}),(function(e){var n;if(e){var t=null===(n=Fn[e])||void 0===n?void 0:n[1];if(t)return"".concat(K(t),"rem")}})),V("letter-spacing",(function(e){return e.$font}),(function(e){var n;if(e)return null===(n=Fn[e])||void 0===n?void 0:n[3]})),V("text-align",(function(e){return e.$textAlign})),V("text-decoration",(function(e){return e.$textDecoration})),V("white-space",(function(e){return e.$whiteSpace})),V("word-wrap",(function(e){return e.$wordWrap})),V("text-overflow",(function(e){return e.$textOverflow}))),Jn={behind:-1,neutral:0,"in-front":1,"mobile-filters":2,"fixed-header":100,"modal-close-button":150,"modal-dialog":300},Qn=n(Wn||(Wn=D(["\n ","\n"],["\n ","\n"])),V("z-index",(function(e){return e.$zIndex}),(function(e){if(null!=e)return Jn[e]}))),et=n(Hn||(Hn=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),We,_e,ln,Y,jn,Nn,Tn,zn,Bn,Zn,Kn,Qn,(function(e){return e.onClick&&n(_n||(_n=D(["\n :hover {\n cursor: pointer;\n }\n "],["\n :hover {\n cursor: pointer;\n }\n "])))})),nt=e.div(Gn||(Gn=D(["\n ","\n"],["\n ","\n"])),et),tt=n(Vn||(Vn=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("display",(function(e){var n;return null!==(n=e.$display)&&void 0!==n?n:"flex"})),V("flex-direction",(function(e){return e.$flexDirection})),V("flex-wrap",(function(e){return e.$flexWrap})),V("align-items",(function(e){return e.$alignItems})),V("align-content",(function(e){return e.$alignContent})),V("justify-content",(function(e){return e.$justifyContent})),V("align-self",(function(e){return e.$alignSelf})),V("order",(function(e){return e.$order})),V("flex-grow",(function(e){return e.$flexGrow})),V("flex-shrink",(function(e){return e.$flexShrink})),V("flex-basis",(function(e){return e.$flexBasis}),ne),V("gap",(function(e){return e.$gap}),ne),V("column-gap",(function(e){return e.$columnGap}),ne),V("row-gap",(function(e){return e.$rowGap}),ne)),rt=e(nt)(Yn||(Yn=D(["\n ","\n"],["\n ","\n"])),tt),ot=e.span(Un||(Un=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n"])),Y,zn,an,cn,jn,Kn),it=e.form(Xn||(Xn=D(["\n ","\n"],["\n ","\n"])),et);function at(e){if(null!=e)return e in R?R[e]:A.includes(e)?function(n){var t=n.theme.uiColors[e];if(t&&t in R)return R[t]}:void 0}var ct,lt,st,dt,ut,ft,pt,gt,bt,ht,mt,vt,yt,wt,xt,$t=n(ct||(ct=D(["\n ","\n"],["\n ","\n"])),V("filter",(function(e){return e.$colorFilter}),at)),Ct=n(st||(st=D(["\n ","\n"],["\n ","\n"])),(function(e){return e.onClick&&n(lt||(lt=D(["\n :hover {\n cursor: pointer;\n }\n "],["\n :hover {\n cursor: pointer;\n }\n "])))})),Et=n(ut||(ut=D(["\n ","\n"],["\n ","\n"])),(function(e){return e.$showOakPlaceholder&&n(dt||(dt=D(["\n background-image: url(",");\n background-color: ",";\n background-size: ",";\n background-position: center;\n background-repeat: no-repeat;\n "],["\n background-image: url(",");\n background-color: ",";\n background-size: ",";\n background-position: center;\n background-repeat: no-repeat;\n "])),"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZmlsbD0iIzIyMiIgZD0iTTI4Ljc3OSAxOS4xNzZhMjcuMTkxIDI3LjE5MSAwIDAgMC0zLjggMS42IDE2LjcgMTYuNyAwIDAgMC03LjEgOC40YzAgLjEtLjEuMi0uMS4zLS43IDIuNC0uNiAyIDEuMyAyLjMgMS45LjMgMSAuNSAxIDEuMy0uMSA4LjggNC4xIDE1LjEgMTEuNCAxOS42YTEuNSAxLjUgMCAwIDAgMS43LjJjNS43LTIuNiA5LjMtNyAxMC4zLTEzLjJhMSAxIDAgMCAxIDEtMWwzLS4yYy44IDAgMS4zLjIgMS4yIDEuMmExNy45IDE3LjkgMCAwIDEtMy4yIDkuMiAyMy43IDIzLjcgMCAwIDEtMTAuOSA5LjEgNS40MDEgNS40MDEgMCAwIDEtNC41LS4yIDI2LjI5OCAyNi4yOTggMCAwIDEtOC41LTYuNiAyNS45IDI1LjkgMCAwIDEtNi40LTE0LjRjMC0uNi0uMi0uNy0uOC0uOC0yLjUtLjQtMi41LS4xLTIuMy0yLjlhMTkuMyAxOS4zIDAgMCAxIDEwLjgtMTYuNiAzOC45OTkgMzguOTk5IDAgMCAxIDUuNy0yLjEgMi4xIDIuMSAwIDAgMCAuOS0xLjMgMTQuMSAxNC4xIDAgMCAxIDMuNS02LjNsLjMtLjNjMS45LTIgMi42LTIgNC4zLjJsLjQuNWMxLjEgMS4xIDEgMS41LS4xIDIuNmExMS45IDExLjkgMCAwIDAtMy4yIDQuNCAxNi45IDE2LjkgMCAwIDEgNy41IDIuM2M1LjcgMy41IDkuMiA4LjMgOS45IDE1IC4wMTYuOTAxLS4wMTcgMS44MDItLjEgMi43IDAgLjgtLjYgMS0xLjIgMS4yYTE2LjEgMTYuMSAwIDAgMS0xMS0uNyAxNy45MDEgMTcuOTAxIDAgMCAxLTEwLjktMTMuNiA5Ljc5NiA5Ljc5NiAwIDAgMS0uMS0xLjlabTE4LjEgMTIuMmMuNC01LjUtNi45LTEyLjYtMTMtMTIuMS41IDYuNSA3LjYgMTIuOCAxMyAxMi4xWiIgb3BhY2l0eT0iLjEiLz48L3N2Zz4=",z("bg-decorative2-very-subdued"),ne("all-spacing-11"))})),kt=e(w)(ft||(ft=D(["\n ","\n ","\n ","\n object-fit: contain;\n"],["\n ","\n ","\n ","\n object-fit: contain;\n"])),$t,Ct,Et),Mt=e(w)(pt||(pt=D(["\n ","\n ","\n ","\n width: 100%;\n height: auto;\n"],["\n ","\n ","\n ","\n width: 100%;\n height: auto;\n"])),$t,Ct,Et),St=function(e){var n=I(e,[]),t=n.as,r=n.src,o=n.alt,i=n.width,s=n.height,d=n.sizes,u=n.$width,f=void 0===u?"100%":u,p=n.$position,g=void 0===p?"relative":p,b=n.$colorFilter,h=n.placeholder,m=void 0===h?"oak":h,v=n.unoptimized,y=n.imageProps,x=n.onLoad,$=n.onError,C=I(n,["as","src","alt","width","height","sizes","$width","$position","$colorFilter","placeholder","unoptimized","imageProps","onLoad","onError"]),E="oak"===m?void 0:m,k=function(){var e=N(c(!1),2),n=e[0],t=e[1];return{showPlaceholder:n,setImg:l((function(e){e&&t(!e.complete)}),[]),handleComplete:function(e){return function(n){e&&e(n),t(!1)}}}}(),M=k.showPlaceholder,j=k.handleComplete,O=k.setImg;return i&&s?a.createElement(nt,S({$maxWidth:"all-spacing-0",$position:g},C),a.createElement(Mt,S({ref:O,as:null!=t?t:w,src:r,alt:o,width:i,height:s,sizes:d,unoptimized:v,$colorFilter:b,placeholder:E,$showOakPlaceholder:"oak"===m&&M,onLoad:j(x),onError:j($)},y))):a.createElement(nt,S({$position:g,$width:f},C),a.createElement(kt,S({ref:O,as:null!=t?t:w,src:r,alt:o,sizes:d,fill:!0,$colorFilter:b,placeholder:E,$showOakPlaceholder:"oak"===m&&M,unoptimized:v,onLoad:j(x),onError:j($)},y)))},It=e(nt)(gt||(gt=D(["\n ","\n"],["\n ","\n"])),Kn),jt=O([],N(["div","h1","h2","h3","h4","h5","h6"]),!1),Nt=function(e){var n=e.tag,t=e.ariaLabel,r=e.ariaHidden,o=I(e,["tag","ariaLabel","ariaHidden"]),i=n;return a.createElement(i,S({},o,{"aria-label":t,"aria-hidden":r}))},Ot=e(Nt)(bt||(bt=D(["\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n"])),Kn,an,Y,zn),Dt=e.p(ht||(ht=D(["\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n"])),Kn,Y,an),Tt=e.ul(vt||(vt=D(["\n ","\n margin: 0;\n ","\n"],["\n ","\n margin: 0;\n ","\n"])),(function(e){return e.$reset&&n(mt||(mt=D(["\n list-style: none;\n padding: 0;\n "],["\n list-style: none;\n padding: 0;\n "])))}),et),Rt=e.ol(yt||(yt=D(['\n counter-reset: item;\n padding: 0;\n\n li {\n display: block;\n counter-increment: item;\n margin: 0;\n padding: 0 0 0 16px;\n text-indent: -16px;\n list-style-type: none;\n line-height: 32px;\n\n // Portable text generates linebreaks within list items\n\n br {\n content: "";\n display: block;\n margin-top: 8px;\n }\n }\n\n & li::before {\n padding-right: 4px;\n content: counter(item) ".";\n }\n a {\n color: ',";\n }\n ","\n ","\n ","\n"],['\n counter-reset: item;\n padding: 0;\n\n li {\n display: block;\n counter-increment: item;\n margin: 0;\n padding: 0 0 0 16px;\n text-indent: -16px;\n list-style-type: none;\n line-height: 32px;\n\n // Portable text generates linebreaks within list items\n\n br {\n content: "";\n display: block;\n margin-top: 8px;\n }\n }\n\n & li::before {\n padding-right: 4px;\n content: counter(item) ".";\n }\n a {\n color: ',";\n }\n ","\n ","\n ","\n"])),(function(e){return e.theme&&e.theme.uiColors&&e.theme.uiColors["text-link-active"]}),an,Y,Kn),At=n(wt||(wt=D(["\n ","\n"],["\n ","\n"])),V("list-style",(function(e){return e.$listStyle}))),zt=e.li(xt||(xt=D(["\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n"])),et,Kn,At,Nn);zt.defaultProps={$display:"revert"};var Bt,Lt=e.label(Bt||(Bt=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),Kn,Y),Zt={"question-mark":"v1706872277/icons/question-mark.svg",home:"v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg",send:"v1699893673/icons/rmvytilpjgvh3pgwc8ph.svg",rocket:"v1699894015/icons/u26xm5hteot875ozfnk9.svg",edit:"v1699894149/icons/qxlunbg5tfrdherzsvlt.svg",hamburger:"v1699895123/icons/jaqdnomtbhqvjcap962u.svg",cross:"v1699895179/icons/xigimrbivcaxt4omxamp.svg",bell:"v1699895207/icons/ecejtvqerx81prxyxh9b.svg",twitter:"v1699895251/icons/bq6a50xtkvnzhltfggzz.svg",worksheet:"v1699895300/icons/ez1s6mtpe5jkunnxzvlw.svg",facebook:"v1699895330/icons/iojlvh3o5lshy2jupyph.svg",share:"v1699895363/icons/agcmduftef3wcla6gzec.svg","arrow-right":"v1707149070/icons/fv0z57zerrioft52dd9n.svg","arrow-down":"v1699954152/icons/wpfmbmwpyfinipg0d61y.svg","arrow-left":"v1707149179/icons/ejrm9dpgpzb7ddbo8z2i.svg","arrow-up":"v1699954152/icons/arrow-up.svg","worksheet-3":"v1699895429/icons/bzhojpjxp9rukdvh7daz.svg","chevron-right":"v1707752509/icons/vk9xxxhnsltsickom6q9.svg",save:"v1699895505/icons/rh1ahwwtbemvz0ihluew.svg","quiz-3":"v1699895534/icons/zoayhgtrotv32fad7d3k.svg","chevron-down":"v1699953557/icons/botfld6brychmttwtv6u.svg",linkedin:"v1699953592/icons/leqneklorqqzb1zo6rf1.svg","magic-carpet":"v1699953622/icons/jifivg9xxm7sb0fjdilm.svg",books:"v1699953657/icons/hz4l3iq6i68kazvkvorq.svg","supervision-level":"v1699953696/icons/cwqhknapp3maa4g0t3lj.svg","quiz-white":"v1699953730/icons/gpcehpgr9mqoumsa25xe.svg","additional-material":"v1699953798/icons/ntoq4tqvcm2uj1pajubt.svg","slide-deck-3":"v1699953830/icons/sm92moja9d5utu3cj16c.svg","sign-language":"v1699953861/icons/ns94ozvozzi22enxkx0x.svg",external:"v1699953892/icons/hlxmejse3mcr4tqo6t8u.svg","equipment-required":"v1699953925/icons/pw22bdhj2vrzfv2ogi4e.svg","chevron-left":"v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg",download:"v1699953991/icons/dk0f6a6hdpzxftjosngn.svg",search:"v1704901279/icons/canbi3fuz5fanzom2hvi.svg","chevron-up":"v1699954058/icons/pay71thmhhylj7z28sj1.svg",go:"v1699954090/icons/vdzptyvmitylra8x4usy.svg",copyright:"v1699954118/icons/boiod3rflocgsnfokyo8.svg",project:"v1699954186/icons/zofq5pheud6spnwjpewk.svg","slide-deck":"v1699954241/icons/sjjy5f3g4eciwcuxxr33.svg","content-guidance":"v1699954277/icons/tm3uhcqenaznq4fxys7j.svg",tick:"v1699954310/icons/efd3esaor6zqk7seh6kt.svg",instagram:"v1699954343/icons/ayfeljric0kkimdymvva.svg",dot:"v1699954371/icons/knykdclphkm8lgff4u2g.svg","dot-png":"v1699954394/icons/qecbh291nzwmhcvqayqd.png",warning:"v1704901279/icons/zzszodmk7fvxm9xzzg9s.svg","lightbulb-yellow":"v1705078631/icons/q2v4sqxouy1ngcajoavv.svg",lightbulb:"v1705078631/icons/zldisxmbff36z68rwcef.svg",quiz:"v1705416077/icons/kaaizjcudy0jfgfrrdel.svg",video:"v1705416078/icons/wzey1zfxrvv3apeebbf5.svg",intro:"v1705662092/icons/pl7bnmb13txese9yxkjv.svg",loopdown:"v1699887218/ui-graphics/loopdown.svg","teacher-lesson":"icons/teacher-lesson.svg","teacher-unit":"icons/teacher-unit.svg","move-arrows":"v1709052869/icons/hoddjsgpzkszgvnmn91q.svg",info:"v1709052869/icons/Icon_Info_vsx3xi.svg","subject-art":"subject-icons/art.svg","subject-biology":"subject-icons/biology.svg","subject-chemistry":"subject-icons/chemistry.svg","subject-citizenship":"subject-icons/citizenship.svg","subject-gcse-citizenship":"subject-icons/citizenship.svg","subject-core-citizenship":"subject-icons/citizenship.svg","subject-combined-science":"subject-icons/science.svg","subject-communication-and-language":"subject-icons/communication-and-language.svg","subject-computing":"subject-icons/computing.svg","subject-computer-science":"subject-icons/computing.svg","subject-core-computing":"subject-icons/computing.svg","subject-computing-non-gcse":"subject-icons/computing.svg","subject-creative-arts":"subject-icons/creative-arts.svg","subject-design-technology":"subject-icons/design-technology.svg","subject-drama":"subject-icons/drama.svg","subject-english":"subject-icons/english.svg","subject-english-grammar":"subject-icons/english-grammar.svg","subject-english-reading-for-pleasure":"subject-icons/literature.svg","subject-english-spelling":"subject-icons/english-spelling.svg","subject-expressive-arts-and-design":"subject-icons/creative-arts.svg","subject-french":"subject-icons/french.svg","subject-geography":"subject-icons/geography.svg","subject-german":"subject-icons/german.svg","subject-history":"subject-icons/history.svg","subject-independent-living":"subject-icons/independent-living.svg","subject-latin":"subject-icons/latin.svg","subject-literacy":"subject-icons/english.svg","subject-maths":"subject-icons/maths.svg","subject-music":"subject-icons/music-hollow.svg","subject-numeracy":"subject-icons/numeracy.svg","occupational-therapy":"subject-icons/therapy.svg","subject-personal-social-and-emotional-development":"subject-icons/rshe-pshe.svg","subject-physical-development":"subject-icons/physical-development.svg","subject-physical-education":"subject-icons/physical-education.svg","subject-core-physical-education":"subject-icons/physical-education.svg","subject-gcse-physical-education":"subject-icons/physical-education.svg","subject-physical-therapy":"subject-icons/physical-therapy.svg","subject-physics":"subject-icons/physics.svg","subject-religious-education":"subject-icons/religious-education.svg","subject-core-religious-education":"subject-icons/religious-education.svg","subject-gcse-religious-education":"subject-icons/religious-education.svg","subject-rshe-pshe":"subject-icons/rshe-pshe.svg","subject-rshe":"subject-icons/rshe-pshe.svg","subject-science":"subject-icons/science.svg","subject-sensory-integration":"subject-icons/sensory-integration.svg","subject-spanish":"subject-icons/spanish.svg","subject-speech-and-language-therapy":"subject-icons/speech-and-language.svg","subject-specialist":"subject-icons/communication-and-language.svg","subject-therapy":"subject-icons/therapy.svg","subject-therapies":"subject-icons/therapy.svg","subject-occupational-therapy":"subject-icons/therapy.svg","subject-understanding-the-world":"subject-icons/understanding-the-world.svg"},Pt="pupil-journey/confetti-pink.svg",Ft="pupil-journey/confetti-lavender.svg",qt="pupil-journey/confetti-mint.svg",Wt="pupil-journey/line-pink.svg",_t="pupil-journey/line-lavender.svg",Ht="pupil-journey/line-mint.svg",Gt=Object.keys(Zt);function Vt(e){return Gt.includes(e)}var Yt,Ut,Xt,Kt,Jt,Qt=function(e){var n=e.iconName,t=e.alt,r=e.$width,o=void 0===r?"all-spacing-7":r,i=e.$height,c=void 0===i?"all-spacing-7":i,l=e.$minHeight,s=void 0===l?c:l,d=e.$minWidth,u=void 0===d?o:d;e.imageProps;var f=I(e,["iconName","alt","$width","$height","$minHeight","$minWidth","imageProps"]);return a.createElement(St,S({src:"https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/").concat(Zt[n]),alt:null!=t?t:n,$width:o,$height:c,$minHeight:s,$minWidth:u,placeholder:"empty",unoptimized:!0},f))},er=n(Yt||(Yt=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("row-gap",(function(e){return e.$rg}),ne),V("column-gap",(function(e){return e.$cg}),ne),V("grid-auto-rows",(function(e){return e.$gridAutoRows})),V("grid-template-areas",(function(e){return e.$gridTemplateAreas})),V("grid-template-columns",(function(e){return e.$gridTemplateColumns})),V("grid-template-rows",(function(e){return e.$gridTemplateRows}))),nr=e(nt)(Ut||(Ut=D(["\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n width: 100%;\n ","\n"],["\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n width: 100%;\n ","\n"])),er),tr=function(e,n){return e?"".concat(e,"/").concat(n):"".concat(n)},rr=function(e){if(null==e?void 0:e.includes("/")){var n=N(e.split("/"),2),t=n[0],r=n[1];return"".concat(t," / span ").concat(r)}return"span ".concat(e)},or=n(Xt||(Xt=D(["\n flex-direction: column;\n ",";\n ",";\n ",";\n ",";\n ","\n ","\n ","\n"],["\n flex-direction: column;\n ",";\n ",";\n ",";\n ",";\n ","\n ","\n ","\n"])),V("grid-column",(function(e){return Array.isArray(e.$colSpan)?e.$colSpan.map((function(n,t){return tr(Array.isArray(e.$colStart)?e.$colStart[t]:e.$colStart,n)})):tr(Array.isArray(e.$colStart)?e.$colStart[0]:e.$colStart,e.$colSpan)}),(function(e){return rr(e)})),V("grid-row",(function(e){return Array.isArray(e.$rowSpan)?e.$rowSpan.map((function(n,t){return tr(Array.isArray(e.$rowStart)?e.$rowStart[t]:e.$rowStart,n)})):tr(Array.isArray(e.$rowStart)?e.$rowStart[0]:e.$rowStart,e.$rowSpan)}),(function(e){return rr(e)})),V("order",(function(e){return e.$order}),(function(e){return e&&"".concat(e)})),V("grid-row",(function(e){return e.$rowSpan?"span ".concat(e.$rowSpan):"span 1"})),V("grid-column-start",(function(e){return e.$colStart})),V("grid-column-end",(function(e){return e.$colEnd})),V("grid-row-start",(function(e){return e.$rowStart}))),ir=e(rt)(Kt||(Kt=D(["\n ","\n"],["\n ","\n"])),or),ar=function(e){var n=e.theme,r=e.children;return a.createElement(t,{theme:n},r)},cr=e(rt)(Jt||(Jt=D([""],[""])));function lr(e,n){return e.toString().replace(function(e){var n=new URL(x({src:"canary.jpg"},e));return n.origin+"/image/upload/"}(n),"")}cr.defaultProps={$maxWidth:["all-spacing-21","all-spacing-24"],$ph:["inner-padding-none","inner-padding-s"],$flexDirection:"column",$flexGrow:1,$width:"100%",$mh:"auto"};var sr,dr,ur,fr,pr,gr,br,hr,mr,vr,yr,wr,xr,$r,Cr,Er,kr,Mr,Sr,Ir,jr,Nr,Or,Dr,Tr,Rr,Ar,zr=s(void 0),Br=zr.Provider,Lr=function(e){var n=e.cloudinaryId,t=e.unoptimized,r=void 0===t?n.endsWith(".svg"):t,o=I(e,["cloudinaryId","unoptimized"]),i=d(zr),c=lr(n,i);return a.createElement(St,S({as:$,src:c,imageProps:{config:i,flags:r?void 0:["keep_attribution"]},unoptimized:r},o))},Zr=function(e){var n=e.children;return a.createElement(ot,{$font:"body-3-bold",as:"kbd",$borderColor:"border-decorative3-stronger",$background:"bg-primary",$borderRadius:"border-radius-m",$ba:"border-solid-m",$ph:"inner-padding-xs",$pv:"inner-padding-ssx",$whiteSpace:"nowrap"},n)},Pr=n(sr||(sr=D(['\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role="list"],\n ol[role="list"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don\'t have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n'],['\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role="list"],\n ol[role="list"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don\'t have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n']))),Fr=n(dr||(dr=D(["\n html,\n body {\n padding: 0;\n margin: 0;\n font-family: Lexend, sans-serif;\n font-weight: 300;\n line-height: 1.4;\n }\n\n /* stylelint-disable */\n body,\n #__next {\n /* stylelint-enable */\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n }\n\n a {\n color: inherit;\n text-decoration: none;\n font-family: inherit;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n button {\n /*\n * some browsers have a small margin by default\n * @see https://github.com/oaknational/Oak-Web-Application/issues/709\n */\n margin: 0;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n /*\n * Inline styling for mathjax equations\n */\n mjx-container {\n display: inline-grid !important;\n margin: 0 !important;\n }\n"],["\n html,\n body {\n padding: 0;\n margin: 0;\n font-family: Lexend, sans-serif;\n font-weight: 300;\n line-height: 1.4;\n }\n\n /* stylelint-disable */\n body,\n #__next {\n /* stylelint-enable */\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n }\n\n a {\n color: inherit;\n text-decoration: none;\n font-family: inherit;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n button {\n /*\n * some browsers have a small margin by default\n * @see https://github.com/oaknational/Oak-Web-Application/issues/709\n */\n margin: 0;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n /*\n * Inline styling for mathjax equations\n */\n mjx-container {\n display: inline-grid !important;\n margin: 0 !important;\n }\n"]))),qr=r(ur||(ur=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),Pr,Fr),Wr=e.span(fr||(fr=D(["\n position: absolute;\n top: 0;\n ","\n"],["\n position: absolute;\n top: 0;\n ","\n"])),V("scroll-margin-top",(function(e){return e.$pt}),ne)),_r=function(e){var n=e.children;return n?a.createElement(rt,{$alignItems:"center",$flexDirection:"row"},a.createElement(rt,{$alignSelf:"flex-start",$mr:"space-between-s"},a.createElement(Qt,{iconName:"content-guidance",$colorFilter:"red"})),a.createElement(ot,{$color:"red"},n)):null},Hr=n(pr||(pr=D(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"],["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"]))),Gr=e.span(gr||(gr=D(["\n ","\n"],["\n ","\n"])),Hr),Vr=o(br||(br=D(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]))),Yr=e.span(yr||(yr=D(["\n ",'\n --inner-width: calc(var(--width) / 10 * 8);\n --thickness: calc(var(--width) / 12);\n\n display: inline-flex;\n width: var(--width);\n height: var(--width);\n\n ::after {\n content: " ";\n display: block;\n width: var(--inner-width);\n height: var(--inner-width);\n margin: var(--thickness);\n border-radius: 50%;\n border: var(--thickness) solid currentcolor;\n ',"\n animation: "," 1.2s linear infinite;\n }\n ","\n"],["\n ",'\n --inner-width: calc(var(--width) / 10 * 8);\n --thickness: calc(var(--width) / 12);\n\n display: inline-flex;\n width: var(--width);\n height: var(--width);\n\n ::after {\n content: " ";\n display: block;\n width: var(--inner-width);\n height: var(--inner-width);\n margin: var(--thickness);\n border-radius: 50%;\n border: var(--thickness) solid currentcolor;\n ',"\n animation: "," 1.2s linear infinite;\n }\n ","\n"])),(function(e){return e.$width?V("--width",(function(e){return e.$width}),ne):n(hr||(hr=D(["\n --width: 1.25rem;\n "],["\n --width: 1.25rem;\n "])))}),(function(e){return e.loaderColor?n(mr||(mr=D(["\n border-color: "," ","\n "," transparent;\n "],["\n border-color: "," ","\n "," transparent;\n "])),e.loaderColor,e.loaderColor,e.loaderColor):n(vr||(vr=D(["\n border-color: currentcolor currentcolor currentcolor transparent;\n "],["\n border-color: currentcolor currentcolor currentcolor transparent;\n "])))}),Vr,Y),Ur=function(e){return a.createElement(Yr,S({},e),a.createElement(Gr,null,"Loading"))},Xr=n(wr||(wr=D(["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n text-align: left;\n font-family: unset;\n outline: none;\n ","\n ","\n ","\n ","\n ","\n ","\n &:disabled {\n pointer-events: none;\n cursor: default;\n }\n"],["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n text-align: left;\n font-family: unset;\n outline: none;\n ","\n ","\n ","\n ","\n ","\n ","\n &:disabled {\n pointer-events: none;\n cursor: default;\n }\n"])),Kn,Y,ln,Nn,jn,Tn),Kr=e((function(e){var n=e.onClick,t=e.onHovered,r=e.element,o=void 0===r?"button":r,i=I(e,["onClick","onHovered","element"]),c=u(Date.now());return a.createElement(o,S({},i,{onClick:function(e){n&&n(e)},onMouseEnter:function(){c.current=Date.now()},onMouseLeave:function(e){var n=Date.now()-c.current;t&&t(e,n)}}))}))(xr||(xr=D(["\n ","\n"],["\n ","\n"])),Xr),Jr=e(Kr)(Cr||(Cr=D(["\n ","\n ","\n display: inline-block;\n ","\n"],["\n ","\n ","\n display: inline-block;\n ","\n"])),We,_e,(function(e){return n($r||($r=D(["\n &:hover {\n text-decoration: underline;\n color: ",";\n background: ",";\n border-color: ",";\n }\n &:active {\n background: ",";\n border-color: ",";\n color: ",";\n }\n &:disabled {\n background: ",";\n border-color: ",";\n color: ",";\n }\n "],["\n &:hover {\n text-decoration: underline;\n color: ",";\n background: ",";\n border-color: ",";\n }\n &:active {\n background: ",";\n border-color: ",";\n color: ",";\n }\n &:disabled {\n background: ",";\n border-color: ",";\n color: ",";\n }\n "])),z(e.$hoverTextColor),z(e.$hoverBackground),z(e.$hoverBorderColor),z(e.$defaultBackground),z(e.$defaultBorderColor),z(e.$defaultTextColor),z(e.$disabledBackground),z(e.$disabledBorderColor),z(e.$disabledTextColor))})),Qr=e(nt)(Er||(Er=D(["\n .grey-shadow:has(+ * + .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:hover),\n .yellow-shadow:has(+ .internal-button:hover:not(:focus-visible, :active)) {\n box-shadow: ",";\n }\n .grey-shadow:has(+ * + .internal-button:hover) {\n box-shadow: none;\n }\n .grey-shadow:has(+ * + .internal-button:active) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:active) {\n box-shadow: ",";\n }\n"],["\n .grey-shadow:has(+ * + .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:hover),\n .yellow-shadow:has(+ .internal-button:hover:not(:focus-visible, :active)) {\n box-shadow: ",";\n }\n .grey-shadow:has(+ * + .internal-button:hover) {\n box-shadow: none;\n }\n .grey-shadow:has(+ * + .internal-button:active) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:active) {\n box-shadow: ",";\n }\n"])),Dn("drop-shadow-centered-grey"),Dn("drop-shadow-centered-lemon"),(function(e){return Dn(e.$hoverShadow)}),Dn("drop-shadow-grey"),Dn("drop-shadow-lemon")),eo=function(e){var n=e.element,t=void 0===n?"button":n,r=e.children,o=e.iconName,i=e.isTrailingIcon,c=e.isLoading,l=e.disabled,s=e.width,d=void 0===s?"max-content":s,u=e.maxWidth,f=e.innerWidth,p=e.defaultBackground,g=e.defaultBorderColor,b=e.defaultTextColor,h=e.disabledTextColor,m=e.hoverTextColor,v=e.hoverBackground,y=e.hoverBorderColor,w=e.disabledBackground,x=e.disabledBorderColor,$=e.className,C=e.hoverShadow,E=void 0===C?"drop-shadow-lemon":C,k=e.pv,M=void 0===k?"inner-padding-s":k,j=e.ph,N=void 0===j?"inner-padding-m":j,O=e.pt,D=e.pb,T=e.iconLayout,R=void 0===T?"row":T,A=e.iconGap,z=void 0===A?"space-between-ssx":A,B=e.iconOverride,L=e.font,Z=void 0===L?"heading-7":L,P=e.textAlign,F=void 0===P?"left":P,q=I(e,["element","children","iconName","isTrailingIcon","isLoading","disabled","width","maxWidth","innerWidth","defaultBackground","defaultBorderColor","defaultTextColor","disabledTextColor","hoverTextColor","hoverBackground","hoverBorderColor","disabledBackground","disabledBorderColor","className","hoverShadow","pv","ph","pt","pb","iconLayout","iconGap","iconOverride","font","textAlign"]),W=null!=B?B:a.createElement(a.Fragment,null,o&&a.createElement(Qt,{iconName:o,$width:"all-spacing-6",$height:"all-spacing-6",$colorFilter:e.disabled?h:b})),_=a.createElement(nt,{$width:"all-spacing-6",$height:"all-spacing-6"},a.createElement(Ur,{$width:"all-spacing-6"})),H=a.createElement(a.Fragment,null,c&&!l?_:W);return a.createElement(Qr,{className:$,$position:"relative",$width:d,$maxWidth:u,$hoverShadow:E},a.createElement(nt,{className:"grey-shadow",$position:"absolute",$borderRadius:"border-radius-s",$width:"100%",$height:"100%",$top:"all-spacing-0"}),a.createElement(nt,{className:"yellow-shadow",$position:"absolute",$borderRadius:"border-radius-s",$width:"100%",$height:"100%",$top:"all-spacing-0"}),a.createElement(Jr,S({element:t,className:"internal-button",$ba:"border-solid-m",$background:p,$borderColor:g,$color:b,$pv:M,$ph:N,$pt:O,$pb:D,$borderRadius:"border-radius-s",$position:"relative",disabled:l||c,$width:"100%",$height:"100%",$hoverTextColor:m,$hoverBackground:v,$hoverBorderColor:y,$defaultTextColor:b,$defaultBackground:p,$defaultBorderColor:g,$disabledTextColor:h,$disabledBackground:w,$disabledBorderColor:x},q),a.createElement(rt,{$flexDirection:R,$alignItems:"center",$gap:z,$justifyContent:"center",$width:f},!i&&H,a.createElement(ot,{$font:Z,$textAlign:F},r),i&&H)))},no=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"bg-btn-primary",defaultBackground:"bg-btn-primary",defaultTextColor:"text-inverted",hoverBackground:"bg-btn-primary-hover",hoverBorderColor:"bg-btn-primary-hover",hoverTextColor:"text-inverted",disabledBackground:"bg-btn-primary-disabled",disabledBorderColor:"text-disabled",disabledTextColor:"text-inverted"},t))},to=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"bg-btn-secondary",defaultBackground:"bg-btn-secondary",defaultTextColor:"text-primary",hoverBackground:"bg-btn-secondary",hoverBorderColor:"bg-btn-secondary",hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary",disabledBorderColor:"bg-btn-secondary",disabledTextColor:"text-disabled",hoverShadow:null},t))},ro=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"text-primary",defaultBackground:"bg-btn-secondary",defaultTextColor:"text-primary",hoverBackground:"bg-btn-secondary-hover",hoverBorderColor:"text-primary",hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"text-disabled",disabledTextColor:"text-disabled"},t))},oo=e(Kr)(Mr||(Mr=D(["\n display: inline-block;\n ","\n ","\n ","\n"],["\n display: inline-block;\n ","\n ","\n ","\n"])),We,_e,(function(e){return n(kr||(kr=D(["\n &:hover {\n text-decoration: underline;\n color: ",';\n\n &:not(:active) [data-icon-for="button"] img {\n filter: ',";\n }\n }\n &:active {\n color: ",";\n }\n &:disabled {\n color: ",";\n }\n "],["\n &:hover {\n text-decoration: underline;\n color: ",';\n\n &:not(:active) [data-icon-for="button"] img {\n filter: ',";\n }\n }\n &:active {\n color: ",";\n }\n &:disabled {\n color: ",";\n }\n "])),z(e.$hoverTextColor),e.$hoverIconColor?at(e.$hoverIconColor):void 0,z(e.$defaultTextColor),z(e.$disabledTextColor))})),io=e(rt)(Ir||(Ir=D(["\n > :first-child:focus-visible .shadow {\n box-shadow: ",",\n ",";\n }\n > :first-child:hover .shadow {\n box-shadow: ",";\n }\n > :first-child:active .shadow {\n box-shadow: ",",\n ",";\n }\n ","\n"],["\n > :first-child:focus-visible .shadow {\n box-shadow: ",",\n ",";\n }\n > :first-child:hover .shadow {\n box-shadow: ",";\n }\n > :first-child:active .shadow {\n box-shadow: ",",\n ",";\n }\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),Dn("drop-shadow-lemon"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),(function(e){return n(Sr||(Sr=D(["\n > :first-child:disabled .icon-container {\n background: ",";\n }\n > :first-child:hover .icon-container {\n background: ",";\n }\n > :first-child:active .icon-container {\n background: ",";\n }\n "],["\n > :first-child:disabled .icon-container {\n background: ",";\n }\n > :first-child:hover .icon-container {\n background: ",";\n }\n > :first-child:active .icon-container {\n background: ",";\n }\n "])),z(e.$disabledIconBackground),z(e.$hoverIconBackground),z(e.$defaultIconBackground))})),ao=function(e){var n=e.element,t=void 0===n?"button":n,r=e.children,o=e.iconName,i=e.isTrailingIcon,c=e.isLoading,l=e.disabled,s=e.width,d=void 0===s?"max-content":s,u=e.maxWidth,f=e.iconBackgroundSize,p=e.iconSize,g=e.disabledIconBackground,b=e.hoverIconColor,h=e.disabledTextColor,m=e.defaultIconColor,v=e.hoverIconBackground,y=e.defaultIconBackground,w=e.disabledIconColor,x=e.defaultTextColor,$=e.hoverTextColor,C=e.className,E=I(e,["element","children","iconName","isTrailingIcon","isLoading","disabled","width","maxWidth","iconBackgroundSize","iconSize","disabledIconBackground","hoverIconColor","disabledTextColor","defaultIconColor","hoverIconBackground","defaultIconBackground","disabledIconColor","defaultTextColor","hoverTextColor","className"]),k=o&&a.createElement(Qt,{iconName:o,$width:p,$height:p,$colorFilter:e.disabled?w:m||null,"data-icon-for":"button"}),M=a.createElement(nt,{$width:p,$height:p},a.createElement(Ur,{$width:p,loaderColor:"white"})),j=(c||k)&&a.createElement(rt,{className:"icon-container",$background:e.defaultIconBackground,$color:e.defaultTextColor,$borderRadius:"border-radius-circle",$position:"relative",$width:f,$height:f,$alignItems:"center",$justifyContent:"center",$minWidth:f},a.createElement(nt,{className:"shadow",$position:"absolute",$borderRadius:"border-radius-circle",$width:"100%",$height:"100%",$top:"all-spacing-0"}),c&&!l?M:k);return a.createElement(io,{className:C,$position:"relative",$width:d,$maxWidth:u,$disabledIconBackground:g,$hoverIconBackground:v,$defaultIconBackground:y},a.createElement(oo,S({element:null!=t?t:"button"},E,{$hoverTextColor:$,$hoverIconColor:b,$defaultTextColor:x,$disabledTextColor:h,$color:x,$position:"relative",disabled:l||c}),a.createElement(rt,{$flexDirection:"row",$alignItems:"center",$gap:r?"space-between-xs":"space-between-none",$justifyContent:"center"},!i&&j,a.createElement(ot,{$font:"heading-7"},r),i&&j)))},co=function(e){var n=e.element,t=e.isTrailingIcon,r=e.iconName,o=e.children,i=I(e,["element","isTrailingIcon","iconName","children"]);return a.createElement(ao,S({element:null!=n?n:"button"},i,{isTrailingIcon:t,iconName:r,defaultIconColor:"white",disabledIconColor:"white",disabledIconBackground:"bg-btn-primary-disabled",defaultIconBackground:"black",hoverIconBackground:"bg-btn-primary-hover",defaultTextColor:"text-primary",hoverTextColor:"bg-btn-primary-hover",disabledTextColor:"text-disabled",iconBackgroundSize:"all-spacing-7",iconSize:"all-spacing-6"}),o)},lo=s({currentValue:"default",name:"default"}),so=function(e){var n=e.name,t=e.children,r=e.label,o=e.onChange,i=e.$font,l=void 0===i?"body-1-bold":i,s=e.$gap,d=void 0===s?"space-between-s":s,u=e.disabled,f=e.value,p=e.defaultValue,g=void 0===p?"":p,b=I(e,["name","children","label","onChange","$font","$gap","disabled","value","defaultValue"]),h=N(c(g),2),m=h[0],v=h[1];return a.createElement(rt,S({role:"radiogroup",$gap:d},b),r&&a.createElement(Lt,{$font:l},r),a.createElement(lo.Provider,{value:{currentValue:null!=f?f:m,name:n,disabled:u,onValueUpdated:function(e){void 0===f&&v(e.target.value),o&&o(e)}}},t))},uo=e(Lt)(Nr||(Nr=D(["\n ","\n\n display: flex;\n ","\n ","\n"],["\n ","\n\n display: flex;\n ","\n ","\n"])),(function(e){return!e.disabled&&n(jr||(jr=D(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))}),V("gap",(function(e){return e.$labelGap}),ne),V("align-items",(function(e){return e.$labelAlignItems}))),fo=e.input.attrs({type:"radio"})(Dr||(Dr=D(["\n position: absolute;\n opacity: 0;\n ","\n"],["\n position: absolute;\n opacity: 0;\n ","\n"])),(function(e){return!e.disabled&&n(Or||(Or=D(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))})),po=e(rt)(Rr||(Rr=D(["\n border-radius: 50%;\n\n ","\n\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"],["\n border-radius: 50%;\n\n ","\n\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"])),(function(e){return!e.$disableFocusRing&&n(Tr||(Tr=D(["\n ",':focus-visible ~ &::before {\n content: "";\n height: ',";\n width: ",';\n background: "transparent"\n display: block;\n position: absolute;\n border-radius: 50%;\n border: '," ",";\n box-shadow: ",";\n }"],["\n ",':focus-visible ~ &::before {\n content: "";\n height: ',";\n width: ",';\n background: "transparent"\n display: block;\n position: absolute;\n border-radius: 50%;\n border: '," ",";\n box-shadow: ",";\n }"])),fo,ne("all-spacing-7"),ne("all-spacing-7"),un("border-solid-m"),z("grey60"),"inset 0 0 0 0.13rem ".concat(z("lemon")))}),fo,(function(e){return ne(e.$radioInnerSize)}),(function(e){return ne(e.$radioInnerSize)}),z("black"),un("border-solid-m"),z("white")),go=e(po)(Ar||(Ar=D(["\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"],["\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"])),fo,(function(e){return ne(e.$radioInnerSize)}),(function(e){return ne(e.$radioInnerSize)}),z("bg-btn-primary-disabled"),un("border-solid-m"),z("white")),bo=f((function(e,n){var t=d(lo),r=t.currentValue,o=t.name,i=t.onValueUpdated,c=e.id,l=e.label,s=e.value,u=e.tabIndex,f=e.disabled,p=e.$labelGap,g=void 0===p?"space-between-ssx":p,b=e.$labelAlignItems,h=void 0===b?"center":b,m=e.$font,v=void 0===m?"body-1":m,y=e["data-testid"],w=e.disableFocusRing,x=void 0!==w&&w,$=e.radioInnerSize,C=void 0===$?"all-spacing-4":$,E=e.radioOuterSize,k=void 0===E?"all-spacing-6":E,M=e.radioBorderWidth,j=void 0===M?"border-solid-m":M,N=e.radioBackground,O=void 0===N?"bg-primary":N,D=e.checkedRadioBorderWidth,T=void 0===D?"border-solid-m":D,R=I(e,["id","label","value","tabIndex","disabled","$labelGap","$labelAlignItems","$font","data-testid","disableFocusRing","radioInnerSize","radioOuterSize","radioBorderWidth","radioBackground","checkedRadioBorderWidth"]),A=s===r,z=f||t.disabled,B=A?T:j;return a.createElement(nt,S({},R),a.createElement(uo,{htmlFor:c,$labelAlignItems:h,$labelGap:g,$font:v,"data-testid":y,disabled:z},a.createElement(fo,{name:o,id:c,value:s,onChange:i,checked:s===r,tabIndex:u,disabled:z,ref:n}),z?a.createElement(go,{$height:k,$width:k,$ba:B,$borderColor:"bg-btn-primary-disabled",$flexGrow:0,$flexShrink:0,$alignItems:"center",$justifyContent:"center",$background:O,$disableFocusRing:!!x,$radioInnerSize:C}):a.createElement(po,{$height:k,$width:k,$ba:B,$borderColor:"black",$flexGrow:0,$flexShrink:0,$alignItems:"center",$justifyContent:"center",$background:O,$disableFocusRing:!!x,$radioInnerSize:C}),l))})),ho=e(f((function(e,n){var t=e.onHovered,r=I(e,["onHovered"]),o=u(Date.now());return a.createElement("input",S({ref:n,type:"checkbox",onMouseEnter:function(){o.current=Date.now()},onMouseLeave:function(){var n=Date.now()-o.current;t&&t(e.value,e.id,n)},name:e.id},r))})))(wo||(wo=D(["\n /* removing default appearance */\n -webkit-appearance: none;\n appearance: none;\n cursor: pointer;\n margin: 0;\n outline: none;\n ","\n ","\n ","\n ","\n\n border-color: ",";\n\n &:checked {\n ",";\n }\n\n &:disabled {\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n border-color: ",";\n }\n }\n"],["\n /* removing default appearance */\n -webkit-appearance: none;\n appearance: none;\n cursor: pointer;\n margin: 0;\n outline: none;\n ","\n ","\n ","\n ","\n\n border-color: ",";\n\n &:checked {\n ",";\n }\n\n &:disabled {\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n border-color: ",";\n }\n }\n"])),jn,Y,ln,_e,(function(e){return z(e.$uncheckedBorderColor)}),(function(e){return n(yo||(yo=D(["\n background: ",";\n border-color: ",";\n "],["\n background: ",";\n border-color: ",";\n "])),z(e.$checkedBackground),z(e.$checkedBorderColor))}),(function(e){return z(e.$checkedBackground)}));ho.defaultProps={$borderRadius:"border-radius-xs",$ba:"border-solid-m",$borderColor:"text-primary",$checkedBackground:"text-primary"};var mo=e(ho)(xo||(xo=D(['\n /* @media wrapper is required to prevent hover effect on iOS Safari */\n\n @media (hover: hover) {\n &:hover:not(&:checked):not(&:disabled)::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 60%;\n transform: translate(-50%, -50%);\n border-radius: ',";\n background: ",";\n }\n }\n"],['\n /* @media wrapper is required to prevent hover effect on iOS Safari */\n\n @media (hover: hover) {\n &:hover:not(&:checked):not(&:disabled)::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 60%;\n transform: translate(-50%, -50%);\n border-radius: ',";\n background: ",";\n }\n }\n"])),(function(e){return fn(e.$hoverBorderRadius)}),(function(e){return z(e.$checkedBackground)}));mo.defaultProps={$hoverBorderRadius:"border-radius-xs"};var vo=n($o||($o=D(["\n &:focus-visible {\n box-shadow: ",";\n }\n"],["\n &:focus-visible {\n box-shadow: ",";\n }\n"])),Dn("drop-shadow-centered-lemon"));e(ho)(Co||(Co=D(["\n ","\n"],["\n ","\n"])),vo);var yo,wo,xo,$o,Co,Eo,ko,Mo,So,Io,jo,No,Oo,Do,To,Ro,Ao,zo,Bo,Lo,Zo=e(mo)(Eo||(Eo=D(["\n ","\n"],["\n ","\n"])),vo),Po=e(Lt)(ko||(ko=D(["\n display: flex;\n align-items: center;\n ","\n ","\n"],["\n display: flex;\n align-items: center;\n ","\n ","\n"])),V("gap",(function(e){return e.labelGap}),ne),V("align-items",(function(e){return e.labelAlignItems}))),Fo=e(Po)(Mo||(Mo=D(["\n ","\n @media (hover: hover) {\n &:hover {\n text-decoration: ",";\n }\n }\n"],["\n ","\n @media (hover: hover) {\n &:hover {\n text-decoration: ",";\n }\n }\n"])),(function(e){return"\n ".concat(e.pointerEvents?"pointer-events: ".concat(e.pointerEvents,";"):"","\n ").concat(e.disabled?"pointer-events: none;":"cursor: pointer;","\n ")}),(function(e){return e.disabled?"none":"underline"})),qo=e(nt)(So||(So=D(["\n pointer-events: none;\n opacity: 0;\n\n input:checked + & {\n opacity: 1;\n }\n"],["\n pointer-events: none;\n opacity: 0;\n\n input:checked + & {\n opacity: 1;\n }\n"]))),Wo=function(e){var n=e.size,t=void 0===n?"all-spacing-6":n,r=e.iconPadding,o=void 0===r?"inner-padding-none":r,i=e.internalCheckbox,c=e.checkedIcon,l=void 0===c?a.createElement(Qt,{iconName:"tick",$width:"100%",$height:"100%",$colorFilter:"white"}):c;return a.createElement(nt,{$position:"relative",$width:t,$height:t},i,a.createElement(qo,{$position:"absolute",$top:"all-spacing-0",$left:"all-spacing-0",$pa:o,$width:t,$height:t},l))},_o=function(e){var n=e.id,t=e.value,r=e.displayValue,o=void 0===r?t:r,i=e.disabled,c=void 0!==i&&i,l=e.defaultChecked,s=e.checked,d=e.onChange,f=e.onFocus,p=e.onBlur,g=e.onHovered,b=e.iconPadding,h=void 0===b?"inner-padding-none":b,m=e.hoverBorderRadius,v=void 0===m?"border-radius-xs":m,y=e.checkboxSize,w=void 0===y?"all-spacing-6":y,x=e.checkboxBorder,$=void 0===x?"border-solid-m":x,C=e.checkboxBorderRadius,E=void 0===C?"border-radius-xs":C,k=e.defaultColor,M=void 0===k?"text-primary":k,j=e.uncheckedBorderColor,N=void 0===j?"border-neutral":j,O=e.checkedBorderColor,D=void 0===O?"border-primary":O,T=e.disabledColor,R=void 0===T?"text-disabled":T,A=e.labelGap,z=void 0===A?"space-between-s":A,B=e.labelAlignItems,L=void 0===B?"center":B,Z=e.checkedBackgroundFill,P=void 0===Z||Z,F=e.checkedIcon,q=e["data-testid"],W=I(e,["id","value","displayValue","disabled","defaultChecked","checked","onChange","onFocus","onBlur","onHovered","iconPadding","hoverBorderRadius","checkboxSize","checkboxBorder","checkboxBorderRadius","defaultColor","uncheckedBorderColor","checkedBorderColor","disabledColor","labelGap","labelAlignItems","checkedBackgroundFill","checkedIcon","data-testid"]),_=u(Date.now()),H=c?R:M,G=c?R:D,V=c?R:D;return a.createElement(Po,{htmlFor:n,labelGap:z,labelAlignItems:L,$color:H,disabled:c,onMouseEnter:function(){_.current=Date.now()},onMouseLeave:function(){var e=Date.now()-_.current;g&&g(t,n,e)},"data-testid":q},a.createElement(Wo,{size:w,internalCheckbox:a.createElement(Zo,S({id:n,value:t,$width:w,$height:w,$ba:$,$borderRadius:E,$borderColor:M,$checkedBackground:P?G:null,$checkedBorderColor:V,$uncheckedBorderColor:N,$hoverBorderRadius:v,onChange:d,onFocus:f,onBlur:p,defaultChecked:l,checked:s,disabled:c},W)),checkedIcon:F,iconPadding:h}),o)},Ho=e.input(Io||(Io=D(["\n appearance: none !important;\n border: 0;\n border-radius: 0;\n border-color: transparent;\n box-shadow: none;\n font-family: inherit;\n background: transparent;\n outline: none;\n color: inherit;\n\n @media (max-width: ","px) {\n /* iOS zooms in on inputs with font sizes <16px on mobile */\n font-size: 16px;\n }\n\n ::placeholder {\n color: ",";\n }\n\n ::-webkit-search-decoration,\n ::-webkit-search-cancel-button,\n ::-webkit-search-results-button,\n ::-webkit-search-results-decoration {\n appearance: none;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n ","\n ","\n"],["\n appearance: none !important;\n border: 0;\n border-radius: 0;\n border-color: transparent;\n box-shadow: none;\n font-family: inherit;\n background: transparent;\n outline: none;\n color: inherit;\n\n @media (max-width: ","px) {\n /* iOS zooms in on inputs with font sizes <16px on mobile */\n font-size: 16px;\n }\n\n ::placeholder {\n color: ",";\n }\n\n ::-webkit-search-decoration,\n ::-webkit-search-cancel-button,\n ::-webkit-search-results-button,\n ::-webkit-search-results-decoration {\n appearance: none;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n ","\n ","\n"])),G("small"),(function(e){var n=e.theme;return n&&n.uiColors&&z(n.uiColors["text-subdued"])}),ln,_e),Go=function(e){e.onInitialFocus,e.onFocus;var n=I(e,["onInitialFocus","onFocus"]),t=u(!1);return a.createElement(Ho,S({},n,{onFocus:function(n){!t.current&&e.onInitialFocus&&(e.onInitialFocus(n),t.current=!0),e.onFocus&&e.onFocus(n)}}))},Vo=e(rt)(Do||(Do=D(["\n &:hover {\n cursor: text;\n }\n\n &:focus-within {\n box-shadow: ",";\n }\n\n background: ",";\n\n ","\n\n ","\n\n ","\n"],["\n &:hover {\n cursor: text;\n }\n\n &:focus-within {\n box-shadow: ",";\n }\n\n background: ",";\n\n ","\n\n ","\n\n ","\n"])),(function(e){return e.$focusRingDropShadows.map((function(e){return Dn(e)})).join(",")}),(function(e){return z(e.$background)}),(function(e){return!e.$readOnly&&n(jo||(jo=D(["\n @media (hover: hover) {\n &:hover:not(:focus-within) {\n background: ",";\n }\n }\n "],["\n @media (hover: hover) {\n &:hover:not(:focus-within) {\n background: ",";\n }\n }\n "])),z(e.$hoverBackground))}),(function(e){return e.$readOnly&&n(No||(No=D(["\n border-color: ",";\n color: ",";\n "],["\n border-color: ",";\n color: ",";\n "])),z(e.$readOnlyBorderColor),z(e.$readOnlyColor))}),(function(e){return e.$disabled&&n(Oo||(Oo=D(["\n background: ",";\n color: ",";\n &:hover {\n cursor: not-allowed;\n }\n "],["\n background: ",";\n color: ",";\n &:hover {\n cursor: not-allowed;\n }\n "])),z(e.$disabledBackgroundColor),z(e.$disabledColor))})),Yo=function(e){var n=e.type,t=void 0===n?"text":n,r=e.borderColor,o=void 0===r?"border-primary":r,i=e.readOnlyBorderColor,c=void 0===i?"border-neutral":i,l=e.focusRingDropShadows,s=void 0===l?["drop-shadow-centered-lemon","drop-shadow-centered-grey"]:l,d=e.background,u=void 0===d?"bg-primary":d,f=e.hoverBackground,p=void 0===f?"bg-neutral":f,g=e.disabledBackgroundColor,b=void 0===g?"bg-neutral":g,h=e.highlightBackgroundColor,m=void 0===h?"bg-decorative5-main":h,v=e.color,y=void 0===v?"text-primary":v,w=e.disabledColor,x=void 0===w?"text-disabled":w,$=e.readOnlyColor,C=void 0===$?"text-subdued":$,E=e.validity,k=e.iconColor,M=void 0===k?"icon-inverted":k,j=e.validBorderColor,N=void 0===j?"border-success":j,O=e.invalidBorderColor,D=void 0===O?"border-error":O,T=e.validIconColor,R=void 0===T?"icon-success":T,A=e.invalidIconColor,z=void 0===A?"border-error":A,B=e.iconName,L=e.iconAlt,Z=e.isTrailingIcon,P=void 0!==Z&&Z,F=e.isHighlighted,q=void 0!==F&&F,W=e.wrapperWidth,_=e.wrapperMaxWidth,H=I(e,["type","borderColor","readOnlyBorderColor","focusRingDropShadows","background","hoverBackground","disabledBackgroundColor","highlightBackgroundColor","color","disabledColor","readOnlyColor","validity","iconColor","validBorderColor","invalidBorderColor","validIconColor","invalidIconColor","iconName","iconAlt","isTrailingIcon","isHighlighted","wrapperWidth","wrapperMaxWidth"]),G=u,V=o,Y=M,U=c;switch(!0){case"valid"===E:V=N,Y=R,U=N;break;case"invalid"===E:V=D,Y=z,U=D;break;case q:G=m}return a.createElement(Vo,{$height:"fit-content",$width:W,$maxWidth:_,$borderRadius:"border-radius-s",$ba:"border-solid-m",$borderColor:V,$focusRingDropShadows:s,$background:G,$hoverBackground:p,$disabledBackgroundColor:b,$readOnlyBorderColor:U,$disabledColor:x,$readOnlyColor:C,$color:y,$alignItems:"center",$position:"relative",$gap:"space-between-s",$ph:"inner-padding-l",$disabled:!!H.disabled,$readOnly:!!H.readOnly,onClick:function(e){var n;null===(n=e.currentTarget.querySelector("input"))||void 0===n||n.focus()}},!P&&B&&a.createElement(Qt,{iconName:B,$colorFilter:Y,$pointerEvents:"none",$width:"all-spacing-7",alt:L}),a.createElement(rt,{$flexGrow:1},a.createElement(Go,S({type:t},H,{$width:"100%",$pv:"inner-padding-l",$height:"all-spacing-12"}))),P&&B&&a.createElement(Qt,{iconName:B,$colorFilter:Y,$pointerEvents:"none",$width:"all-spacing-7",alt:L}))},Uo=function(e){var n=e.$background,t=void 0===n?"bg-decorative5-main":n,r=e.$borderRadius,o=void 0===r?"border-radius-circle":r,i=e.$width,c=void 0===i?"all-spacing-9":i,l=e.$height,s=void 0===l?"all-spacing-9":l,d=e.$pa,u=void 0===d?"inner-padding-ssx":d,f=e.className,p=I(e,["$background","$borderRadius","$width","$height","$pa","className"]),g=p.iconName?a.createElement(Qt,S({},p,{$height:"100%",$width:"100%"})):a.createElement(St,S({},p,{$height:"100%",$width:"100%"}));return a.createElement(nt,{className:f,$background:t,$borderRadius:o,$width:c,$height:s,$pa:u},g)},Xo=e(rt)(To||(To=D(["\n width: max-content;\n pointer-events: none;\n"],["\n width: max-content;\n pointer-events: none;\n"]))),Ko=ne("all-spacing-4"),Jo=e.svg(Lo||(Lo=D(["\n position: absolute;\n ","\n ","\n"],["\n position: absolute;\n ","\n ","\n"])),(function(e){switch(e.$tooltipPosition){case"bottom-right":return n(Ro||(Ro=D(["\n top: -",";\n right: ",";\n transform: scale(-1, -1);\n "],["\n top: -",";\n right: ",";\n transform: scale(-1, -1);\n "])),Ko,ne("all-spacing-0"));case"top-right":return n(Ao||(Ao=D(["\n bottom: -",";\n right: ",";\n transform: scaleX(-1);\n "],["\n bottom: -",";\n right: ",";\n transform: scaleX(-1);\n "])),Ko,ne("all-spacing-0"));case"top-left":return n(zo||(zo=D(["\n bottom: -",";\n left: ",";\n "],["\n bottom: -",";\n left: ",";\n "])),Ko,ne("all-spacing-0"));default:return n(Bo||(Bo=D(["\n top: -",";\n left: ",";\n transform: scaleY(-1);\n "],["\n top: -",";\n left: ",";\n transform: scaleY(-1);\n "])),Ko,ne("all-spacing-0"))}}),V("fill",(function(e){return e.$fill}),z)),Qo=function(e){var n=e.children,t=e.$background,r=void 0===t?"black":t,o=e.$color,i=void 0===o?"text-inverted":o,c=e.tooltipPosition,l=void 0===c?"bottom-left":c,s=I(e,["children","$background","$color","tooltipPosition"]);return a.createElement(Xo,S({role:"tooltip"},s,{$position:"relative",$background:r,$color:i,$maxWidth:["all-spacing-20","all-spacing-22"]}),n,a.createElement(Jo,{width:Ko,height:Ko,$fill:r,$tooltipPosition:l,"data-testid":"tooltip-arrow"},a.createElement("path",{d:"M0 0H16L8 8L0 16V0Z"})))},ei=function(e){var n,t=e.tooltipPosition,r=e.children,o=e.tooltip,i=e.isOpen,l=e.domContainer,s=I(e,["tooltipPosition","children","tooltip","isOpen","domContainer"]),d=N(c(null),2),u=d[0],f=d[1],g=N(c(!0),2),b=g[0],h=g[1],m=N(c(l),2),v=m[0],y=m[1],w=i&&b,x=N(c(),2),$=x[0],C=x[1],k=((n={$borderRadius:"border-radius-m"})[function(){switch(t){case"bottom-right":return"$btrr";case"top-right":return"$bbrr";case"top-left":return"$bblr";default:return"$btlr"}}()]="border-radius-square",n);return p((function(){if(u){var e=!1,n=function(){e||(requestAnimationFrame((function(){e=!1;var n=u.getBoundingClientRect();C({top:n.top,left:n.left,width:n.width,height:n.height})})),e=!0)},t=new IntersectionObserver((function(e){h(e.every((function(e){return e.isIntersecting})))}));t.observe(u);var r=new ResizeObserver(n);return r.observe(u),window.addEventListener("scroll",n,!0),window.addEventListener("resize",n),function(){r.disconnect(),t.disconnect(),window.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n)}}}),[u]),p((function(){v||y(document.body)}),[v]),a.createElement(a.Fragment,null,v&&E(w&&a.createElement(nt,{$position:"fixed",style:$,$pointerEvents:"none",$zIndex:"modal-dialog"},a.createElement(nt,S({$width:"fit-content",$height:"fit-content",$position:"absolute"},function(e){var n={};switch(e){case"top-left":case"top-right":n.$top="space-between-none",n.$transform="translateY(calc(-100% - ".concat(ne("space-between-s"),"))");break;default:n.$bottom="space-between-none",n.$transform="translateY(calc(100% + ".concat(ne("space-between-s"),"))")}switch(e){case"top-left":case"bottom-left":n.$left="space-between-none";break;default:n.$right="space-between-none"}return n}(t)),a.createElement(Qo,S({$background:"bg-decorative5-main",$color:"text-primary",$pv:"inner-padding-m",$ph:"inner-padding-xl",$font:"heading-light-7",tooltipPosition:t},s,k),o))),v),a.createElement("div",{ref:function(e){var n;f(null!==(n=null==e?void 0:e.firstElementChild)&&void 0!==n?n:null)},style:{display:"contents"}},r))};var ni,ti,ri=e.a(ni||(ni=D(["\n border-radius: 50%;\n display: flex;\n width: fit-content;\n height: fit-content;\n border: none;\n padding: 0;\n outline: none;\n\n img {\n pointer-events: none;\n }\n\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n\n &:hover,\n &:focus-visible {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:disabled {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n border-radius: 50%;\n display: flex;\n width: fit-content;\n height: fit-content;\n border: none;\n padding: 0;\n outline: none;\n\n img {\n pointer-events: none;\n }\n\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n\n &:hover,\n &:focus-visible {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:disabled {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),z("bg-btn-primary"),at("text-inverted"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-btn-primary-disabled"),at("text-inverted")),oi=function(e){var n=e.as,t=e.label,r=void 0===t?"Back":t,o=I(e,["as","label"]);return a.createElement(ri,S({as:null!=n?n:"a","aria-label":r},o),a.createElement(Qt,{alt:"",iconName:"chevron-left",$width:"all-spacing-8",$height:"all-spacing-8"}))},ii=function(e){var n=e.listItems,t=I(e,["listItems"]);return a.createElement(ot,S({},t),n.map((function(e,n){return a.createElement(ot,{key:n},0!==n&&a.createElement(ot,null," • "),a.createElement(ot,null,e))})))},ai=e(rt)(ti||(ti=D([""],[""])));ai.defaultProps={$pa:"inner-padding-xl",$flexDirection:"column",$flexGrow:1,$position:"relative"};var ci,li=e(nt)(ci||(ci=D(["\n & > * {\n width: 100%;\n height: 100%;\n }\n"],["\n & > * {\n width: 100%;\n height: 100%;\n }\n"]))),si=function(e){var n=e.backgroundElement,t=e.children,r=I(e,["backgroundElement","children"]);return a.createElement(ai,S({},r),a.createElement(li,{$position:"absolute",$inset:"space-between-none","aria-hidden":!0},n),a.createElement(nt,{$position:"relative"},t))},di={name:"default",uiColors:{"text-primary":"black","text-subdued":"grey60","text-error":"red","text-disabled":"grey50","text-link-active":"navy","text-link-hover":"navy110","text-link-pressed":"navy120","text-link-visited":"navy120","text-inverted":"white","text-success":"oakGreen","text-warning":"amber","bg-primary":"white","bg-neutral":"grey20","bg-neutral-stronger":"grey30","bg-btn-primary":"black","bg-btn-primary-hover":"grey60","bg-btn-primary-disabled":"grey50","bg-btn-secondary":"white","bg-btn-secondary-hover":"grey20","bg-btn-secondary-disabled":"grey30","bg-icon":"black","bg-icon-hover":"grey60","bg-decorative1-main":"mint","bg-decorative1-subdued":"mint50","bg-decorative1-very-subdued":"mint30","bg-decorative2-main":"aqua","bg-decorative2-subdued":"aqua50","bg-decorative2-very-subdued":"aqua30","bg-decorative3-main":"lavender","bg-decorative3-subdued":"lavender50","bg-decorative3-very-subdued":"lavender30","bg-decorative4-main":"pink","bg-decorative4-subdued":"pink50","bg-decorative4-very-subdued":"pink30","bg-decorative5-main":"lemon","bg-decorative5-subdued":"lemon50","bg-decorative5-very-subdued":"lemon30","bg-correct":"mint50","bg-incorrect":"red30","icon-main":"white","icon-inverted":"black","icon-disabled":"grey50","icon-brand":"oakGreen","icon-success":"oakGreen","icon-error":"red","icon-warning":"amber","border-primary":"black","border-inverted":"white","border-neutral":"grey50","border-neutral-lighter":"grey40","border-brand":"oakGreen","border-success":"oakGreen","border-error":"red","border-warning":"amber","border-decorative1":"mint","border-decorative1-stronger":"mint110","border-decorative2":"aqua","border-decorative2-stronger":"aqua110","border-decorative3":"lavender","border-decorative3-stronger":"lavender110","border-decorative4":"pink","border-decorative4-stronger":"pink110","border-decorative5":"lemon","border-decorative5-stronger":"lemon110","border-decorative6":"amber50","border-decorative6-stronger":"amber",transparent:"transparent"}};function ui(e){if(e)return e in sn?"".concat(K(sn[e]),"rem"):void 0}var fi,pi,gi,bi,hi,mi,vi,yi,wi,xi,$i,Ci,Ei=e.svg(fi||(fi=D(["\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n"])),V("fill",(function(e){return e.$fill}),z),V("stroke",(function(e){return e.$stroke}),z),V("stroke-width",(function(e){return e.$strokeWidth}),ui)),ki=function(e){var n=e.$pa,t=void 0===n?"inner-padding-xl":n,r=e.fill,o=void 0===r?"bg-decorative1-main":r,i=e.stroke,c=e.strokeWidth,l=e.$width,s=void 0===l?"fit-content":l,d=I(e,["$pa","fill","stroke","strokeWidth","$width"]);return a.createElement(si,S({$pa:t,$width:s,backgroundElement:a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 457 120",preserveAspectRatio:"none",$fill:o,$stroke:i,$strokeWidth:c},a.createElement("path",{d:"M27.442 2.59c5.262-.362 11.96-.656 18.624-.932 4.374-.19 8.748-.371 12.712-.578 1.367-.07 3.042-.087 4.716-.095C65.032.976 66.57.959 67.903.907 91.858-.017 115.164.268 139.325.57l6.22.078c20.333.12 40.768.086 61.033-.13 6.664-.025 13.294-.043 19.957-.06C243.656.415 260.777.363 277.83.234c8.85-.07 17.667-.052 26.518-.035 12.132.026 24.366.052 36.771-.147 8.475-.138 17.633.087 26.757.302 3.725.087 7.45.182 11.107.25 3.69.061 7.347.139 10.969.217 4.511.095 8.988.19 13.499.259 13.464.207 30.619 1.519 30.619 1.519 3.588.449 7.074 1.32 10.286 2.59 2.973 1.304 4.682 4.135 6.391 6.967.717 1.165 1.435 2.33 2.221 3.384.273.363.342.812.376 1.26.034.406.102.82.307 1.175 3.52 6.388 2.427 12.604 1.299 19.044a27.243 27.243 0 0 0-.273 1.658 70.082 70.082 0 0 0 .478 16.273l.205 5.31c.171 4.575.342 9.133.854 13.683.274 2.357.205 4.705.137 7.07-.102 3.238-.205 6.492.547 9.808.547 2.261-.308 4.705-1.162 7.13-.342.993-.684 1.986-.923 2.962-.239.984-.546 1.951-.82 2.926-.342 1.2-.718 2.392-.991 3.6-1.196 5.379-4.511 8.435-11.756 9.134-2.392.233-4.75.518-7.142.855h-6.937c-5.263.371-11.961.656-18.624.932-4.375.19-8.749.371-12.713.579-1.367.069-3.041.086-4.716.095-1.538.008-3.075.025-4.408.086-23.956.924-47.262.639-71.422.337l-6.186-.078a3693.945 3693.945 0 0 0-61.033.129c-6.664.026-13.294.044-19.958.061-17.121.043-34.241.095-51.294.224-8.851.069-17.667.052-26.518.035-12.132-.026-24.366-.052-36.771.147-8.475.138-17.633-.087-26.758-.303-3.725-.086-7.45-.181-11.106-.25-3.69-.06-7.313-.138-10.97-.216-4.51-.095-8.987-.19-13.498-.259-18.932-.293-30.175-1.079-33.66-2.754-1.47-.38-2.871-.837-4.238-1.355-3.076-1.304-4.887-4.135-6.664-6.967-.752-1.165-1.47-2.331-2.29-3.384-.273-.363-.341-.812-.376-1.261-.034-.405-.102-.82-.307-1.174C0 95.664 1.128 89.448 2.324 83.008l.308-1.658c.478-5.421.341-10.869-.513-16.273-.102-1.77-.17-3.548-.24-5.318-.17-4.567-.375-9.125-.888-13.675-.273-2.357-.205-4.705-.136-7.07.102-3.238.205-6.493-.581-9.808-.547-2.262.341-4.705 1.196-7.13.342-.994.717-1.986.99-2.962.24-.984.548-1.96.855-2.927.376-1.2.752-2.39 1.025-3.6C5.605 7.21 9.022 4.154 16.574 3.455c2.495-.233 10.936-.855 10.936-.855l-.069-.009Z",vectorEffect:"non-scaling-stroke"}))},d))},Mi=function(e){var n=e.iconName,t=e.iconColor,r=void 0===t?"text-primary":t,o=e.iconWidth,i=void 0===o?["all-spacing-11","all-spacing-16"]:o,c=e.iconHeight,l=void 0===c?["all-spacing-11","all-spacing-16"]:c,s=e.alt,d=e.$width,u=void 0===d?["all-spacing-13","all-spacing-17"]:d,f=e.$height,p=void 0===f?["all-spacing-13","all-spacing-17"]:f,g=e.$alignItems,b=void 0===g?"center":g,h=e.$justifyContent,m=void 0===h?"center":h,v=I(e,["iconName","iconColor","iconWidth","iconHeight","alt","$width","$height","$alignItems","$justifyContent"]);return a.createElement(ki,S({$width:u,$height:p,$alignItems:b,$justifyContent:m},v),a.createElement(Qt,{iconName:n,alt:s,$height:l,$width:i,$colorFilter:r}))},Si=function(e){return a.createElement(Ei,S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 866 8",preserveAspectRatio:"none",height:"100%",width:"100%"},e),a.createElement("g",{clipPath:"url(#clip0_175_6785)"},a.createElement("path",{d:"M865.845 2.15897C865.975 1.74492 865.563 1.33087 864.955 1.33087C788.833 1.21257 638.585 4.00739 558.84 1.30129C560.814 1.22736 562.55 1.36044 563.287 1.18299C546.019 0.946396 526.408 1.10906 509.119 1.44917C530.292 -0.0295749 543.785 1.41959 562.289 0.931608C559.556 0.872458 545.347 0.842884 554.436 0.798521C547.538 0.369686 533.003 0.754159 530.27 0.621072C522.113 0.177449 549.794 0.724584 549.23 0.399261C544.219 0.0295749 524.586 0.295749 522.937 0C522.959 0.369686 522.352 0.295749 522.612 0.399261C423.669 0.724584 317.892 0.340111 218.666 0.828096C218.861 0.828096 219.013 0.828096 219.078 0.857671C218.753 0.902033 217.451 0.857671 218.579 0.828096C154.909 1.71534 98.6582 -0.502773 49.7396 2.18854C59.3281 0.0887246 12.145 1.39002 8.34861 1.52311C2.75172 1.44917 6.69991 1.96673 8.13168 1.67098C8.43539 2.91312 0.799314 1.73013 2.20938 3.12015C-18.7247 12.7024 115.622 4.7024 130.504 6.96488C127.011 6.21072 147.056 7.34935 148.705 6.93531C147.859 6.89094 146.362 6.78743 144.692 6.75786C140.396 6.72828 151.525 6.07763 149.486 6.93531C150.354 7.18669 153.282 6.44732 152.935 6.93531C154.714 7.06839 166.385 5.75231 158.814 6.92052C165.647 6.52126 168.077 7.68946 162.046 6.26987C222.332 7.55638 283.247 5.8854 342.34 6.29945C458.66 5.97412 569.839 6.10721 682.124 6.69871C679.932 6.22551 684.532 6.07763 683.36 6.69871C715.076 6.71349 731.801 6.81701 762.432 6.99446C757.486 6.72828 758.68 6.13678 763.821 6.55083C784.278 7.51202 841.353 7.73383 863.784 6.96488C863.35 6.68392 864.804 6.77264 864.782 6.92052C864.955 5.84104 865.259 5.84104 864.717 5.95934C864.76 5.95934 863.697 6.32902 864.001 5.73752C864.153 5.44177 864.999 5.60444 864.088 5.30869C864.652 5.30869 866.192 4.90943 864.608 5.02773C861.723 4.17006 866.778 4.99815 865.91 4.42144C865.519 4.12569 865.606 2.95749 865.845 2.15897ZM526.43 0.606285C528.448 0.650647 526.539 0.754159 525.476 0.606285C524.825 0.547135 525.042 0.547135 526.43 0.606285ZM17.0694 1.61183C17.0694 1.61183 17.3731 1.58226 17.308 1.62662C17.2646 1.6414 17.0694 1.6414 17.0694 1.61183ZM18.0889 1.15342C18.1974 1.15342 18.2408 1.15342 18.3059 1.16821H17.8286C17.8286 1.16821 17.9805 1.15342 18.0889 1.15342ZM18.371 1.41959C18.371 1.41959 18.3059 1.40481 18.371 1.39002V1.41959ZM36.8971 2.04067C30.6928 1.68577 40.9321 1.62662 42.6242 2.08503C42.4072 2.08503 37.4611 2.04067 36.8971 2.04067ZM63.6451 1.34566C67.5933 1.34566 62.4302 1.41959 61.736 1.36044C62.018 1.34566 62.8641 1.34566 63.6451 1.34566ZM84.8395 3.88909C84.5141 3.88909 84.6226 3.87431 84.8395 3.87431V3.88909ZM92.1068 1.58226C80.2405 2.24769 61.6926 1.878 59.0461 1.61183C67.2028 1.43438 85.2734 1.52311 95.3608 1.47874C94.3629 1.47874 93.2565 1.52311 92.1068 1.58226ZM97.183 2.41035C96.6841 2.38078 97.5084 2.30684 97.4867 2.41035C97.4867 2.41035 97.3566 2.41035 97.183 2.41035ZM95.9899 1.47874C96.8142 1.44917 97.5518 1.46396 98.1809 1.47874C97.5084 1.49353 96.7709 1.49353 95.9899 1.47874ZM100.589 1.53789C100.589 1.53789 99.7862 1.50832 98.5714 1.47874C100.415 1.50832 101.348 1.46396 102.368 1.52311C102.238 1.53789 101.587 1.53789 100.589 1.53789ZM101.869 1.18299C101.869 1.18299 102.997 1.15342 103.105 1.18299C102.867 1.21257 101.999 1.21257 101.869 1.18299ZM107.704 1.84843C107.704 1.84843 107.509 1.84843 107.422 1.83364C107.769 1.83364 107.856 1.83364 107.704 1.84843ZM139.29 1.21257C138.704 1.18299 139.767 1.13863 139.724 1.18299C139.659 1.19778 139.463 1.21257 139.29 1.21257ZM141.633 5.6488C140.982 5.6488 141.199 5.60444 141.633 5.61922V5.6488ZM177.882 6.50647C162.654 6.71349 183.132 5.97412 183.588 5.73752C183.588 5.78189 181.006 6.50647 177.882 6.50647ZM185.779 0.946396H184.564C183.631 0.916821 186.56 0.931608 185.779 0.946396ZM209.945 1.00555C210.488 0.975971 210.813 0.975971 211.355 1.00555C212.18 1.02033 209.099 1.02033 209.945 1.00555ZM202.244 6.41775C199.077 6.46211 192.873 6.50647 188.989 6.66913C187.818 5.67837 202.873 6.38817 202.244 6.41775ZM213.264 6.41775C212.874 6.46211 208.492 6.46211 208.231 6.43253C207.667 6.50647 214.175 5.45656 213.264 6.41775ZM218.905 6.19593C218.601 6.19593 215.434 6.38817 215.087 6.38817C215.412 6.28466 220.336 6.01849 218.905 6.19593ZM226.801 0.857671C226.953 0.842884 227.343 0.842884 227.495 0.857671C227.3 0.872458 226.996 0.872458 226.801 0.857671ZM256.152 0.768946C258.018 0.768946 255.914 0.783734 255.588 0.783734C255.718 0.768946 255.914 0.768946 256.152 0.768946ZM252.855 4.00739C252.291 3.97782 254.742 3.26802 254.634 3.62292C254.46 3.66728 253.115 4.05176 252.855 4.00739ZM257.757 4.99815C257.302 4.92422 255.415 4.33272 254.677 4.43623C255.501 4.24399 258.625 4.87985 257.757 4.99815ZM254.785 3.46026C255.133 3.43068 257.541 3.38632 257.259 3.43068C257.888 3.46026 254.937 3.48983 254.785 3.46026ZM259.363 3.59335C258.669 3.59335 257.757 3.10536 257.757 3.07579C257.974 3.07579 261.836 2.88355 259.363 3.59335ZM258.886 2.01109C256.456 2.04067 254.72 1.65619 254.417 1.62662C253.332 1.44917 266.543 1.70055 258.886 2.01109ZM264.157 4.64325L263.181 4.02218C262.226 3.44547 265.35 4.40665 264.157 4.64325ZM289.712 3.50462C290.71 3.50462 291.686 4.24399 290.948 4.25878C288.432 3.90388 285.655 2.91312 289.712 3.50462ZM271.424 2.20333C273.203 2.45471 281.577 1.00555 275.394 2.54344C275.763 2.42514 267.389 2.15897 271.424 2.20333ZM275.893 3.12015C276.717 2.79482 278.345 3.6525 278.019 4.09612C277.542 4.09612 275.893 3.20887 275.893 3.12015ZM284.223 2.97227C281.447 2.45471 286.935 2.21811 287.022 2.07024C287.022 2.1146 285.351 3.01664 284.223 2.97227ZM290.862 5.36784C288.822 5.36784 287.477 5.33826 287.477 5.33826C286.653 3.91867 298.172 6.0037 290.862 5.36784ZM296.719 5.07209C293.053 4.39187 298.671 4.5841 298.91 4.61368C298.91 4.64325 297.717 5.07209 296.719 5.07209ZM317.219 3.43068C320.126 4.62847 316.178 3.7708 315.744 3.4159C315.917 3.38632 316.612 3.40111 317.219 3.43068ZM304.702 4.39187C302.967 5.13124 304.116 4.03697 304.42 3.93346C305.526 3.69686 306.459 4.12569 304.702 4.39187ZM307.587 3.35675C307.457 3.16451 302.858 2.43993 305.808 2.67653C306.741 2.5878 307.001 2.7061 305.895 2.67653C306.958 2.7061 307.978 3.32717 307.587 3.35675ZM310.928 2.54344C309.561 2.54344 311.253 1.78928 312.533 1.98152C312.403 1.9963 311.362 2.54344 310.928 2.54344ZM319.649 5.56007C320.343 5.58965 309.323 5.66359 314.572 5.54529C317.284 6.31423 322.751 2.98706 319.649 5.56007ZM329.411 5.24954C326.808 5.27911 331.884 4.64325 331.992 4.61368C332.339 4.67283 330.235 5.2939 329.411 5.24954ZM335.355 2.24769C334.704 2.01109 338.023 2.5878 338.413 2.29205C338.023 2.41035 335.897 3.00185 335.355 2.24769ZM346.201 4.12569C343.338 4.12569 344.097 3.97782 346.57 3.82994C349.499 4.52495 348.696 4.42144 346.201 4.12569ZM359.977 3.01664C359.977 3.01664 355.421 3.07579 355.248 3.061C355.226 3.19409 362.211 1.49353 359.977 3.01664ZM413.364 0.902033C414.102 0.857671 414.492 0.872459 414.536 0.902033C415.555 1.70055 411.889 0.842884 413.364 0.902033ZM371.886 1.52311C370.238 2.51386 367.656 1.52311 365.704 1.52311C365.704 1.47874 371.322 1.46396 371.886 1.52311ZM364.966 3.03142C363.816 3.87431 362.905 3.81516 364.25 2.60259C365.205 1.90758 366.919 2.01109 364.966 3.03142ZM370.954 6.01849C369.999 6.01849 366.81 6.01848 366.485 5.91497C367.266 5.8854 375.574 4.92422 370.954 6.01849ZM378.546 6.01849C375.943 5.90019 376.117 5.2939 377.722 5.4122C379.956 5.23475 382.581 5.50093 378.546 6.01849ZM387.267 3.57856C386.312 3.56377 386.963 2.76525 388.178 2.76525C390.413 2.98706 389.87 3.51941 387.267 3.57856ZM393.623 1.80407C389.545 1.58226 393.341 1.12384 394.795 1.34566C397.506 1.00555 397.745 1.37523 393.623 1.80407ZM401.303 5.84104C396.942 5.87061 401.216 5.38263 402.734 5.24954C403.429 5.2939 402.301 5.84104 401.303 5.84104ZM405.207 4.03697C405.164 4.14048 404.904 4.52495 403.472 4.02218C400.934 2.76525 406.162 3.82995 405.207 4.03697ZM408.722 4.11091C407.116 4.11091 404.253 3.68207 407.42 3.68207C407.746 2.60259 410.761 3.93346 408.722 4.11091ZM410.848 1.62662C409.958 1.46396 406.704 1.16821 409.546 0.680222C410.11 0.680222 413.581 1.81885 410.848 1.62662ZM412.93 5.4122C413.147 5.38263 414.232 4.33272 415.902 4.85028L412.93 5.4122ZM429.027 0.857671C430.393 0.857671 434.71 0.813309 435.708 0.887246C436.424 1.25693 425.643 2.52865 429.027 0.857671ZM437.878 0.857671C438.181 0.813309 439.309 0.828096 439.591 0.916821C431.587 2.83919 437.14 0.946396 437.878 0.857671ZM451.653 5.35305C451.176 5.35305 448.898 4.83549 448.898 4.80592C448.898 4.79113 450.807 4.5841 451.111 4.5841C453.562 4.65804 452.412 5.44177 451.653 5.35305ZM480.245 3.4159C478.661 3.6525 474.822 3.6525 474.822 3.4159C474.149 3.38632 481.568 3.14972 480.245 3.4159ZM485.69 5.32348C473.325 5.45656 491.829 4.64325 490.983 5.0573C490.983 5.23475 491.46 5.23475 485.69 5.32348ZM495.018 2.51386C494.454 2.51386 493.977 2.43993 493.977 2.36599C494.194 1.98152 497.252 2.45471 495.018 2.51386ZM502.524 2.26248C502.307 2.45471 501.656 2.49908 500.159 2.60259C492.285 2.85397 502.871 1.65619 502.524 2.26248ZM506.429 2.39556C510.377 2.3512 507.275 2.89834 505.105 2.41035C505.214 2.39556 505.648 2.39556 506.429 2.39556ZM506.559 3.13494C507.926 3.13494 509.01 3.22366 509.01 3.31238C508.338 3.4159 501.136 3.12015 506.559 3.13494ZM522.243 5.75231C518.36 6.38817 511.418 5.91497 507.253 5.4122C510.16 5.66359 522.547 5.33826 522.243 5.75231ZM590.057 3.48983C589.319 3.59335 587.128 3.59335 586.391 3.48983C587.367 3.2976 588.972 3.31238 590.057 3.48983ZM582.551 2.20333C586.109 1.98152 588.083 1.98152 588.083 2.20333C588.777 2.41035 577.019 2.61738 582.551 2.20333ZM564.545 1.71534C566.302 1.71534 566.064 2.83919 564.155 2.07024C563.699 1.86322 563.374 1.67098 564.545 1.71534ZM558.84 1.71534C560.619 1.7597 562.007 1.83364 563.049 2.07024C561.899 2.29205 549.273 1.70055 558.84 1.71534ZM553.438 3.72643C543.893 3.4159 556.107 3.20887 556.801 3.72643C556.801 3.87431 555.564 3.87431 553.438 3.72643ZM562.897 3.23845C561.205 3.26802 556.15 2.92791 560.749 2.89834C562.398 2.86876 567.474 3.19409 562.897 3.23845ZM567.17 2.54344C565.261 2.54344 563.96 2.54344 563.504 2.4695C565.977 2.17375 576.846 2.57301 567.17 2.54344ZM573.939 5.51571C571.704 5.51571 569.708 5.42699 569.708 5.35305C570.62 4.89464 582.79 5.45656 573.939 5.51571ZM588.885 5.67837C588.712 5.87061 575.37 6.15157 583.354 5.57486C586.911 5.23475 590.859 5.33826 588.885 5.67837ZM595.979 4.09612C594.678 4.18484 594.743 5.14603 593.137 3.99261C593.051 3.99261 587.28 4.37708 587.193 4.37708C588.517 3.50462 594.981 3.80037 595.979 4.09612ZM602.444 2.49908C606.913 2.54344 602.097 2.61738 600.795 2.52865C600.795 2.52865 601.489 2.49908 602.444 2.49908ZM601.576 4.53974C601.12 4.53974 600.556 4.4658 600.405 4.37708C599.428 3.66728 603.767 4.76155 601.576 4.53974ZM605.112 4.42144C603.724 4.42144 602.769 4.25878 602.422 4.09612C602.986 3.44547 611.468 4.28836 605.112 4.42144ZM622.315 5.24954C616.544 5.14603 619.365 3.68207 624.311 4.74677C626.09 4.99815 625.612 5.24954 622.315 5.24954ZM654.269 2.97227C655.788 2.8244 656.482 2.8244 657.068 2.97227C657.849 3.1793 651.926 3.13494 654.269 2.97227ZM651.124 2.39556C656.243 2.43993 650.712 2.5878 649.714 2.52865C648.651 2.39556 649.28 2.39556 651.124 2.39556ZM633.943 5.51571C634.767 5.11645 637.066 5.13124 637.826 5.51571C636.763 5.7671 635.006 5.7671 633.943 5.51571ZM646.047 3.97782C638.368 3.59335 651.774 3.72643 653.553 3.97782C660.907 4.89464 647.241 4.25878 646.047 3.97782ZM653.271 5.97412C652.859 5.72274 661.211 5.73752 660.777 5.97412C660.322 6.34381 654.031 6.16636 653.271 5.97412ZM667.611 3.09057C661.276 3.2976 665.398 1.89279 669.563 2.92791C670.691 3.09057 670.236 3.09057 667.611 3.09057ZM676.18 6.3586C675.789 6.38817 669.715 6.53605 669.476 6.38817C670.214 5.91497 676.245 6.37338 676.657 6.3586C676.375 6.38817 676.223 6.3586 676.18 6.3586ZM683.121 4.21442C682.774 4.21442 682.514 4.03697 682.514 3.85952C682.579 2.83919 684.814 4.3475 683.121 4.21442ZM696.875 5.5305C694.445 5.75231 693.122 5.75231 693.122 5.5305C692.558 5.32348 700.476 5.11645 696.875 5.5305ZM699.283 4.61368C691.17 4.48059 701.713 3.99261 702.754 4.49538C702.754 4.49538 701.257 4.61368 699.283 4.61368ZM701.474 3.80037C693.231 3.84473 704.598 3.1793 705.205 3.66728C705.205 3.80037 703.643 3.80037 701.474 3.80037ZM706.03 5.81146C705.27 5.11645 709.436 5.70795 709.327 5.81146C709.978 6.16636 706.811 6.16636 706.03 5.81146ZM716.746 6.56562C716.985 6.90573 706.919 6.50647 711.844 6.26987C714.815 6.122 717.679 6.26987 716.746 6.56562ZM718.091 4.22921C714.75 4.19963 714.707 3.72643 718.091 3.82994C721.28 3.72643 721.237 4.19963 718.091 4.22921ZM770.459 3.20887C772.455 3.20887 773.995 3.44547 773.995 3.68207C772.889 4.56932 763.083 3.25324 770.459 3.20887ZM730.934 4.08133C730.5 4.08133 730.76 3.96303 731.715 3.84473C736.856 3.28281 732.322 4.36229 730.934 4.08133ZM735.663 6.49168C732.799 6.49168 732.799 5.95934 735.663 5.95934C738.44 5.95934 738.44 6.49168 735.663 6.49168ZM737.854 4.49538C736.986 4.49538 736.27 4.42144 736.27 4.34751C735.771 4.09612 741.108 4.45102 737.854 4.49538ZM738.591 3.97782C737.767 3.97782 736.682 3.94824 736.27 3.84473C736.791 3.68207 744.687 3.91867 738.591 3.97782ZM756.922 5.5305C723.276 5.90019 765.556 4.73198 769.83 5.33826C769.83 5.33826 763.843 5.5305 756.922 5.5305ZM767.726 6.83179C758.745 6.56562 775.687 6.68392 775.34 6.83179C776.056 6.96488 772.997 6.96488 767.726 6.83179ZM785.124 4.96858C784.451 5.73752 778.572 6.75786 782.022 5.78189C782.868 5.54529 788.009 3.60813 785.124 4.96858ZM787.705 6.4769C789.289 6.04806 793.454 6.07763 795.016 6.4769C793.02 6.75786 789.701 6.75786 787.705 6.4769ZM808.206 5.87061C802.066 5.47135 813.868 4.61368 811.633 5.58965C811.633 6.13678 811.112 6.13678 808.206 5.87061ZM839.986 5.57486C838.229 5.57486 836.559 5.57486 836.277 5.4122C836.993 4.53974 847.601 5.58965 839.986 5.57486ZM858.404 5.94455C847.839 5.7671 869.988 0.635859 859.163 5.7671C858.361 6.21072 859.163 6.4769 858.404 5.94455ZM862.461 5.8854C862.461 5.97412 859.424 6.40296 859.185 6.37338C860.009 6.22551 863.61 4.15527 862.461 5.8854ZM864.088 5.07209C864.088 5.07209 864.174 5.04251 864.218 5.04251C864.348 5.14603 863.914 5.19039 864.088 5.07209Z",fill:"inherit"})))},Ii=e(rt)(pi||(pi=D([""],[""]))),ji=function(e){var n=e.hrColor,t=I(e,["hrColor"]);return a.createElement(Ii,S({},t),a.createElement(Si,{$fill:n}))},Ni=e(rt)(gi||(gi=D(["\n aspect-ratio: 2 / 1;\n"],["\n aspect-ratio: 2 / 1;\n"]))),Oi=function(){return a.createElement(Ni,{$alignItems:"center",$justifyContent:"center",$position:"relative",$width:["all-spacing-8","all-spacing-9","all-spacing-10"]},a.createElement(Ei,{height:"100%",width:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 27",$fill:"bg-icon"},a.createElement("path",{d:"M6.421 0c8.661.839 17.303.834 26.16.714a89.843 89.843 0 0 1 4.834-.013c6.333.32 12.39.317 18.506-.275 0 1.26.178 2.352 0 3.44-.276 1.38-.829 2.759-1.342 4.15-.138.354-.532.706-.808 1.06-.445.248-.63.5-.553.753 1.598 1.093-.256 2.185 0 3.277.276 1.529 1.322 3.058 1.204 4.572-.138 1.771-1.046 3.543-1.973 5.312-.288.4-1.065.792-2.309 1.169-2.288.755-4.103 1.67-11.206 1.965-9.936.417-20.953.385-30.678-.09-2.447-.12-4.38-.532-5.209-.853-1.035-.458-1.52-.929-1.44-1.4C.937 18.988-.109 14.194.01 9.4c0-2.645 1.973-5.29 3.413-7.933.237-.424 1.697-.839 3-1.468Z"})),a.createElement(rt,{$position:"absolute",$inset:"all-spacing-0",$alignItems:"center",$justifyContent:"center"},a.createElement(ot,{$color:"lemon",$font:["body-3-bold","body-3-bold","heading-7"]},"New")))},Di=function(e){var n=e.iconName,t=e.tag,r=e.children;return a.createElement(rt,{$alignItems:"center",$gap:"space-between-ssx"},a.createElement(Qt,{iconName:n}),a.createElement(Ot,{$font:"heading-6",tag:t},r))},Ti=function(e){var n=e.children,t=I(e,["children"]);return a.createElement(rt,S({$borderRadius:"border-radius-l",$pa:"inner-padding-xl",$flexDirection:"column",$gap:"space-between-s",$background:"white"},t),n)},Ri=function(e){var n=e.children,t=I(e,["children"]);return a.createElement(ki,S({},t,{fill:["bg-decorative2-very-subdued","bg-decorative2-subdued","bg-decorative2-subdued"]}),a.createElement(rt,{$pa:"inner-padding-none",$flexDirection:"column",$gap:"space-between-s"},n))},Ai=e(nt)(bi||(bi=D(["\n &::-webkit-scrollbar-thumb {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar-track {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar {\n width: ",";\n height: ",";\n border-radius: ",";\n }\n"],["\n &::-webkit-scrollbar-thumb {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar-track {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar {\n width: ",";\n height: ",";\n border-radius: ",";\n }\n"])),fn("border-radius-m"),z("grey50"),fn("border-radius-m"),z("white"),ne("all-spacing-3"),ne("all-spacing-3"),fn("border-radius-m")),zi=function(e){var n=e.isOpen,t=e.children,r=e.id,o=I(e,["isOpen","children","id"]);return a.createElement(nt,{$display:n?"block":"none",id:r},a.createElement(rt,S({$background:"bg-neutral-stronger",$ph:"inner-padding-m",$pv:"inner-padding-xl",$borderRadius:"border-radius-m"},o),a.createElement(Ai,{$overflow:"auto",$maxHeight:"100%",$width:"100%",$pr:"inner-padding-m"},t)))},Bi=e(Qt)(hi||(hi=D(["\n width: ",";\n height: ",";\n"],["\n width: ",";\n height: ",";\n"])),ne("all-spacing-6"),ne("all-spacing-6")),Li=e.a(mi||(mi=D(["\n display: inline-flex;\n align-items: center;\n gap: ",";\n outline: none;\n border-radius: ",";\n padding: ",";\n margin: -",";\n appearance: none;\n font: inherit;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n color: ",";\n\n "," {\n filter: ",";\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:visited {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n @media (hover: hover) {\n &:hover,\n &:visited:hover {\n color: ",";\n "," {\n filter: ",";\n }\n }\n }\n\n &:active {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n &[disabled] {\n cursor: not-allowed;\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n"],["\n display: inline-flex;\n align-items: center;\n gap: ",";\n outline: none;\n border-radius: ",";\n padding: ",";\n margin: -",";\n appearance: none;\n font: inherit;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n color: ",";\n\n "," {\n filter: ",";\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:visited {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n @media (hover: hover) {\n &:hover,\n &:visited:hover {\n color: ",";\n "," {\n filter: ",";\n }\n }\n }\n\n &:active {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n &[disabled] {\n cursor: not-allowed;\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n"])),ne("space-between-sssx"),fn("border-radius-m"),ne("inner-padding-ssx"),ne("inner-padding-ssx"),(function(e){return z(e.$color)}),Bi,(function(e){return at(e.$color)}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return z(e.$visitedColor)}),Bi,(function(e){return at(e.$visitedColor)}),(function(e){return z(e.$hoverColor)}),Bi,(function(e){return at(e.$hoverColor)}),(function(e){return z(e.$activeColor)}),Bi,(function(e){return at(e.$activeColor)}),(function(e){return z(e.$disabledColor)}),Bi,(function(e){return at(e.$disabledColor)})),Zi=f((function(e,n){var t=e.element,r=void 0===t?"a":t,o=e.iconName,i=e.isTrailingIcon,c=e.children,l=e.isLoading,s=e.color,d=e.disabledColor,u=e.visitedColor,f=e.hoverColor,p=e.activeColor,g=I(e,["element","iconName","isTrailingIcon","children","isLoading","color","disabledColor","visitedColor","hoverColor","activeColor"]),b=function(){switch(!0){case l:return a.createElement(rt,{$width:"all-spacing-6",$height:"all-spacing-6",$alignItems:"center",$justifyContent:"center"},a.createElement(Ur,{$width:"all-spacing-4",$color:"icon-inverted"}));case!!o:return a.createElement(Bi,{iconName:o});default:return null}}(),h=function(){switch(!0){case"disabled"in g:return g.disabled;case l:return!0;default:return}}();return a.createElement(Li,S({as:r,ref:n,disabled:h,$color:s,$disabledColor:d,$visitedColor:u,$hoverColor:f,$activeColor:p},g),!i&&b,a.createElement(ot,null,c),i&&b)})),Pi=f((function(e,n){return a.createElement(Zi,S({color:"text-link-active",hoverColor:"text-link-hover",activeColor:"text-link-pressed",disabledColor:"text-disabled",visitedColor:"text-link-visited"},e,{ref:n}))})),Fi=f((function(e,n){return a.createElement(Zi,S({color:"text-primary",hoverColor:"text-primary",activeColor:"text-primary",disabledColor:"text-disabled",visitedColor:"text-subdued"},e,{ref:n}))})),qi=e(nt)(vi||(vi=D(["\n margin-block: calc(-"," / 2);\n line-height: calc(1.5rem + ",");\n"],["\n margin-block: calc(-"," / 2);\n line-height: calc(1.5rem + ",");\n"])),ne("space-between-ssx"),ne("space-between-ssx")),Wi=function(e){return a.createElement(rt,S({$gap:"space-between-ssx"},e),a.createElement(rt,{$flexGrow:0},a.createElement(Qt,{iconName:"move-arrows"})),a.createElement(qi,{$font:"body-2"},"Click and drag answers to change the order, or select using"," ",a.createElement(Zr,null,a.createElement("span",{"aria-hidden":"true"},"↹")," Tab")," ","then move by pressing ",a.createElement(Zr,null,"Space")," and the ",a.createElement(Zr,null,"↑")," ",a.createElement(Zr,null,"↓")," arrows on your keyboard."))},_i=e(Qt)(yi||(yi=D([""],[""]))),Hi=e(nt)(wi||(wi=D(["\n cursor: grab;\n outline: none;\n user-select: none;\n\n "," {\n filter: ",';\n }\n\n @media (hover: hover) {\n &:hover:not([data-dragging="true"]):not([data-disabled="true"]):not(\n [data-readonly="true"]\n ) {\n background-color: ',";\n color: ",";\n box-shadow: ",";\n border-bottom: ","\n ",";\n padding-bottom: ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n }\n\n &:focus-visible:not([data-dragging="true"]):not([data-disabled="true"]) {\n box-shadow: ',",\n ",';\n }\n\n &[data-dragging="true"] {\n cursor: move;\n background-color: ',";\n color: ",";\n outline: "," ",";\n outline-offset: -",";\n box-shadow: ",",\n ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n\n &[data-disabled="true"] {\n cursor: default;\n background-color: ',";\n color: ",";\n\n "," {\n filter: ",';\n }\n }\n\n &[data-readonly="true"] {\n cursor: default;\n }\n'],["\n cursor: grab;\n outline: none;\n user-select: none;\n\n "," {\n filter: ",';\n }\n\n @media (hover: hover) {\n &:hover:not([data-dragging="true"]):not([data-disabled="true"]):not(\n [data-readonly="true"]\n ) {\n background-color: ',";\n color: ",";\n box-shadow: ",";\n border-bottom: ","\n ",";\n padding-bottom: ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n }\n\n &:focus-visible:not([data-dragging="true"]):not([data-disabled="true"]) {\n box-shadow: ',",\n ",';\n }\n\n &[data-dragging="true"] {\n cursor: move;\n background-color: ',";\n color: ",";\n outline: "," ",";\n outline-offset: -",";\n box-shadow: ",",\n ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n\n &[data-disabled="true"] {\n cursor: default;\n background-color: ',";\n color: ",";\n\n "," {\n filter: ",';\n }\n }\n\n &[data-readonly="true"] {\n cursor: default;\n }\n'])),_i,(function(e){return at(e.$iconColor)}),z("bg-decorative1-subdued"),z("text-primary"),Dn("drop-shadow-standard"),un("border-solid-xl"),z("border-primary"),ne("inner-padding-m"),_i,at("icon-inverted"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-decorative1-main"),z("text-primary"),un("border-solid-xl"),z("border-primary"),ui("border-solid-xl"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),_i,at("icon-inverted"),z("bg-neutral"),z("text-disabled"),_i,at("icon-disabled")),Gi=e(rt)(xi||(xi=D(["\n margin-block: -",";\n"],["\n margin-block: -",";\n"])),ne("space-between-ssx")),Vi=f((function(e,n){var t=e.children,r=e.iconName,o=void 0===r?"move-arrows":r,i=e.iconColor,c=void 0===i?"icon-inverted":i,l=e.iconAlt,s=void 0===l?"":l,d=e.color,u=void 0===d?"text-primary":d,f=e.background,p=void 0===f?"bg-primary":f,g=e.isDragging,b=e.isDisabled,h=e.isReadOnly,m=I(e,["children","iconName","iconColor","iconAlt","color","background","isDragging","isDisabled","isReadOnly"]);return a.createElement(Hi,S({ref:n,$pv:"inner-padding-l",$pl:"inner-padding-s",$pr:"inner-padding-m",$background:p,$color:u,$borderRadius:"border-radius-m2",$minHeight:"all-spacing-10","data-dragging":g,"data-disabled":b,"data-readonly":h,$iconColor:c},m),a.createElement(Gi,{$gap:"space-between-s",$alignItems:"center"},a.createElement(_i,{iconName:o,$width:"all-spacing-7",$height:"all-spacing-7",alt:s}),a.createElement(rt,{$font:"body-1-bold"},t)))})),Yi=e(rt)($i||($i=D(["\n outline: "," ",';\n outline-style: dashed;\n\n &[data-disabled="true"] {\n outline-color: ',";\n }\n"],["\n outline: "," ",';\n outline-style: dashed;\n\n &[data-disabled="true"] {\n outline-color: ',";\n }\n"])),un("border-solid-l"),z("border-primary"),z("border-neutral")),Ui=f((function(e,n){var t=e.children,r=e.labelSlot,o=e.isOver,i=e.isHighlighted,c=e.isDisabled,l=I(e,["children","labelSlot","isOver","isHighlighted","isDisabled"]),s=function(){switch(!0){case o:return"bg-primary";case c:return"bg-decorative2-subdued";default:return"bg-neutral"}}(),d=function(){switch(!0){case o:return"bg-decorative2-main";case i:return"bg-decorative5-main";default:return"bg-decorative2-subdued"}}();return a.createElement(rt,S({ref:n,$background:d,$pa:"inner-padding-m",$borderRadius:"border-radius-l",$gap:"space-between-s",$flexDirection:["column","row","row"]},l),a.createElement(Yi,{$background:s,$pa:"inner-padding-ssx",$borderRadius:"border-radius-m2",$minHeight:"all-spacing-11",$flexBasis:"100%","data-disabled":c},a.createElement(nt,{$width:"100%"},t)),r&&a.createElement(rt,{$background:o?"bg-primary":"bg-decorative2-very-subdued",$borderRadius:"border-radius-m2",$alignItems:"center",$font:"body-1",$ph:"inner-padding-l",$minHeight:"all-spacing-10",$pv:"inner-padding-ssx",$flexBasis:"100%",$width:"100%",$alignSelf:"center","data-testid":"label"},r))})),Xi=function(e){var n=e.feedback,t=I(e,["feedback"]);return a.createElement(Vi,S({},t,{iconName:"correct"===n?"tick":"cross",iconColor:"correct"===n?"icon-success":"icon-error",iconAlt:"correct"===n?"correct":"incorrect",$ba:"border-solid-xl",$borderColor:"correct"===n?"border-success":"border-error",$background:"correct"===n?"bg-correct":"bg-incorrect",isReadOnly:!0}))},Ki=e(rt)(Ci||(Ci=D(["\n font: inherit;\n color: inherit;\n border: none;\n background: none;\n appearance: none;\n margin: -",";\n outline: none;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n"],["\n font: inherit;\n color: inherit;\n border: none;\n background: none;\n appearance: none;\n margin: -",";\n outline: none;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n"])),ne("inner-padding-m"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey")),Ji=function(e){var n=e.header,t=e.headerAfterSlot,r=e.children,o=e.initialOpen,i=void 0!==o&&o,l=e.id,s=N(c(i),2),d=s[0],u=s[1];return a.createElement(nt,{$borderColor:"border-neutral-lighter",$ba:"border-solid-s",$pa:"inner-padding-m",$background:d?"bg-neutral":"bg-primary"},a.createElement(rt,{as:"h3",$font:"heading-light-7",$textDecoration:d?"underline":"none"},a.createElement(Ki,{as:"button",type:"button",onClick:function(){return u(!d)},$alignItems:"center",$pa:"inner-padding-m",$flexGrow:1,"aria-expanded":d,id:l},a.createElement(Qt,{iconName:"chevron-down",$mr:"space-between-s",$width:"all-spacing-6",$height:"all-spacing-6",alt:"",style:{transform:d?"rotate(180deg)":"none"}}),n),t&&a.createElement(rt,{$ml:"space-between-m"},t)),a.createElement(nt,{$ml:"space-between-m",$pl:"inner-padding-m",$mt:"space-between-sssx",$font:"body-3",hidden:!d,"aria-labelledby":l,role:"region"},r))},Qi="right-scroll-bar-position",ea="width-before-scroll-bar";function na(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var ta=new WeakMap;function ra(e,n){var t,r,o,a=(t=n||null,r=function(n){return e.forEach((function(e){return na(e,n)}))},(o=c((function(){return{value:t,callback:r,facade:{get current(){return o.value},set current(e){var n=o.value;n!==e&&(o.value=e,o.callback(e,n))}}}}))[0]).callback=r,o.facade);return i.useLayoutEffect((function(){var n=ta.get(a);if(n){var t=new Set(n),r=new Set(e),o=a.current;t.forEach((function(e){r.has(e)||na(e,null)})),r.forEach((function(e){t.has(e)||na(e,o)}))}ta.set(a,e)}),[e]),a}function oa(e){return e}function ia(e,n){void 0===n&&(n=oa);var t=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r);return t.push(o),function(){t=t.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={push:function(n){return e(n)},filter:function(){return t}}},assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t;t=[],o.forEach(e),n=t}var i=function(){var t=n;n=[],t.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),t={push:function(e){n.push(e),a()},filter:function(e){return n=n.filter(e),t}}}}}function aa(e,n){return void 0===n&&(n=oa),ia(e,n)}function ca(e){void 0===e&&(e={});var n=ia(null);return n.options=S({async:!0,ssr:!1},e),n}var la=function(e){var n=e.sideCar,t=I(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,S({},t))};function sa(e,n){return e.useMedium(n),la}la.isSideCarExport=!0;var da=ca(),ua=function(){},fa=i.forwardRef((function(e,n){var t=i.useRef(null),r=i.useState({onScrollCapture:ua,onWheelCapture:ua,onTouchMoveCapture:ua}),o=r[0],a=r[1],c=e.forwardProps,l=e.children,s=e.className,d=e.removeScrollBar,u=e.enabled,f=e.shards,p=e.sideCar,g=e.noIsolation,b=e.inert,h=e.allowPinchZoom,m=e.as,v=void 0===m?"div":m,y=e.gapMode,w=I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,$=ra([t,n]),C=S(S({},w),o);return i.createElement(i.Fragment,null,u&&i.createElement(x,{sideCar:da,removeScrollBar:d,shards:f,noIsolation:g,inert:b,setCallbacks:a,allowPinchZoom:!!h,lockRef:t,gapMode:y}),c?i.cloneElement(i.Children.only(l),S(S({},C),{ref:$})):i.createElement(v,S({},C,{className:s,ref:$}),l))}));function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},pa.apply(this,arguments)}function ga(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}fa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},fa.classNames={fullWidth:ea,zeroRight:Qi};var ba,ha,ma,va,ya={exports:{}};function wa(){if(ha)return ba;ha=1;return ba="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}var xa,$a={exports:{}},Ca={};var Ea,ka,Ma,Sa,Ia,ja,Na,Oa,Da,Ta,Ra={};
1
+ import e,{css as n,ThemeProvider as t,createGlobalStyle as r,keyframes as o}from"styled-components";import*as i from"react";import a,{useState as c,useCallback as l,createContext as s,useContext as d,useRef as u,forwardRef as p,useLayoutEffect as f,PureComponent as g,useEffect as b,useMemo as h,memo as m,useReducer as v,cloneElement as y}from"react";import w from"next/image";import{getCldImageUrl as x,CldImage as $}from"next-cloudinary";import C,{createPortal as E,unstable_batchedUpdates as k}from"react-dom";import M from"next/link";var S=function(){return S=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},S.apply(this,arguments)};function I(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]])}return t}function j(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,i=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a}function N(e,n,t){if(t||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}function D(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}"function"==typeof SuppressedError&&SuppressedError;var T={white:"#ffffff",grey10:"#f9f9f9",grey20:"#f2f2f2",grey30:"#e4e4e4",grey40:"#cacaca",grey50:"#808080",grey60:"#575757",grey70:"#2d2d2d",grey80:"#1b1b1b",black:"#222222",oakGreen:"#287c34",mint:"#bef2bd",mint30:"#ebfbeb",mint50:"#dff9de",mint110:"#93e892",aqua:"#b0e2de",aqua30:"#e7f6f5",aqua50:"#cee7e5",aqua110:"#7cd8d0",lavender:"#a0b6f2",lavender30:"#e3e9fb",lavender50:"#c6d1ef",lavender110:"#7c9aec",pink:"#deb7d5",pink30:"#f5e9f2",pink50:"#e5d1e0",pink110:"#cf9cc3",lemon:"#ffe555",lemon30:"#fff7cc",lemon50:"#f6e8a0",lemon110:"#fbd60e",amber:"#ff934e",amber30:"#ffece0",amber50:"#ffc8a6",red:"#dd0035",red30:"#f8d8e0",red50:"#ee809a",navy:"#0d24c4",navy110:"#0a1d9d",navy120:"#081676",blue:"#374cf1",magenta:"#d02aa7",purple:"#845ad9",teal:"#037b7d",blackSemiTransparent:"#22222240",transparent:"transparent"},R={black:"invert(10%) sepia(1%) saturate(236%) hue-rotate(314deg) brightness(95%) contrast(91%)",red:"invert(13%) sepia(78%) saturate(5255%) hue-rotate(337deg) brightness(88%) contrast(111%)",oakGreen:"invert(37%) sepia(16%) saturate(1947%) hue-rotate(77deg) brightness(100%) contrast(88%)",white:"invert(98%) sepia(98%) saturate(0%) hue-rotate(328deg) brightness(102%) contrast(102%)",grey40:"invert(92%) sepia(0%) saturate(581%) hue-rotate(147deg) brightness(94%) contrast(80%)",grey50:"invert(54%) sepia(0%) saturate(38%) hue-rotate(176deg) brightness(92%) contrast(91%)",navy:"invert(21%) sepia(90%) saturate(3220%) hue-rotate(232deg) brightness(71%) contrast(127%)",navy110:"invert(16%) sepia(72%) saturate(7176%) hue-rotate(239deg) brightness(61%) contrast(109%)",navy120:"invert(12%) sepia(79%) saturate(3172%) hue-rotate(231deg) brightness(82%) contrast(114%)",amber:"brightness(0) saturate(100%) invert(57%) sepia(99%) saturate(395%) hue-rotate(330deg) brightness(102%) contrast(101%);"},A=N([],O(["text-primary","text-subdued","text-error","text-disabled","text-link-active","text-link-hover","text-link-visited","text-link-pressed","text-inverted","text-success","text-warning","bg-primary","bg-neutral","bg-neutral-stronger","bg-btn-primary","bg-btn-primary-hover","bg-btn-primary-disabled","bg-btn-secondary","bg-btn-secondary-hover","bg-btn-secondary-disabled","bg-icon","bg-icon-hover","bg-decorative1-main","bg-decorative1-subdued","bg-decorative1-very-subdued","bg-decorative2-main","bg-decorative2-subdued","bg-decorative2-very-subdued","bg-decorative3-main","bg-decorative3-subdued","bg-decorative3-very-subdued","bg-decorative4-main","bg-decorative4-subdued","bg-decorative4-very-subdued","bg-decorative5-main","bg-decorative5-subdued","bg-decorative5-very-subdued","bg-correct","bg-incorrect","icon-main","icon-inverted","icon-disabled","icon-brand","icon-success","icon-error","icon-warning","border-primary","border-inverted","border-neutral","border-neutral-lighter","border-brand","border-success","border-error","border-warning","border-decorative1","border-decorative1-stronger","border-decorative2","border-decorative2-stronger","border-decorative3","border-decorative3-stronger","border-decorative4","border-decorative4-stronger","border-decorative5","border-decorative5-stronger","border-decorative6","border-decorative6-stronger","transparent"]),!1);function z(e){if(null!=e)return e in T?T[e]:A.includes(e)?function(n){var t=n.theme.uiColors[e];return T[t]}:void 0}function B(e){return!!e}var L,Z,P,F,q,W,_={small:750,large:1280},H=Object.values(_).sort((function(e,n){return e>n?1:-1})),G=function(e){return _[e]},V=function(e,t,r){return void 0===r&&(r=function(e){return e}),function(o){var i=function(t){return void 0===t?void 0:n(L||(L=D(["\n ",": ",";\n "],["\n ",": ",";\n "])),e,r(t))},a=t(o);if(void 0!==a)return Array.isArray(a)?0===a.length?[]:N([n(P||(P=D(["\n ","\n "],["\n ","\n "])),i(a[0]))],O(H.slice(0,a.length).map((function(e,t){var r=a[t+1];if(void 0!==r)return n(q||(q=D(["\n @media (min-width: ","px) {\n ","\n }\n "],["\n @media (min-width: ","px) {\n ","\n }\n "])),e,n(F||(F=D(["\n ","\n "],["\n ","\n "])),i(r)))})).filter(B)),!1):n(Z||(Z=D(["\n ","\n "],["\n ","\n "])),i(a))}},Y=n(W||(W=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("color",(function(e){return e.$color}),z),V("background",(function(e){return e.$background}),z)),U=16,X=3;function K(e){return Number((e/U).toFixed(X))}var J={"all-spacing-0":0,"all-spacing-1":4,"all-spacing-2":8,"all-spacing-3":12,"all-spacing-4":16,"all-spacing-5":20,"all-spacing-6":24,"all-spacing-7":32,"all-spacing-8":40,"all-spacing-9":48,"all-spacing-10":56,"all-spacing-11":64,"all-spacing-12":72,"all-spacing-13":80,"all-spacing-14":92,"all-spacing-15":100,"all-spacing-16":120,"all-spacing-17":160,"all-spacing-18":180,"all-spacing-19":240,"all-spacing-20":360,"all-spacing-21":480,"all-spacing-22":640,"all-spacing-23":960,"all-spacing-24":1280},Q={"inner-padding-none":"all-spacing-0","inner-padding-ssx":"all-spacing-1","inner-padding-xs":"all-spacing-2","inner-padding-s":"all-spacing-3","inner-padding-m":"all-spacing-4","inner-padding-l":"all-spacing-5","inner-padding-xl":"all-spacing-6","inner-padding-xl2":"all-spacing-7","inner-padding-xl3":"all-spacing-8","inner-padding-xl4":"all-spacing-9","inner-padding-xl5":"all-spacing-10","inner-padding-xl6":"all-spacing-11","inner-padding-xl7":"all-spacing-12","inner-padding-xl8":"all-spacing-13"},ee={"space-between-none":"all-spacing-0","space-between-sssx":"all-spacing-1","space-between-ssx":"all-spacing-2","space-between-xs":"all-spacing-3","space-between-s":"all-spacing-4","space-between-m":"all-spacing-6","space-between-m2":"all-spacing-7","space-between-l":"all-spacing-9","space-between-xl":"all-spacing-10","space-between-xxl":"all-spacing-12","space-between-xxxl":"all-spacing-13"};function ne(e){if(null!=e){if(e in J)return"".concat(K(J[e]),"rem");if(e in Q){var n=Q[e];return"".concat(K(J[n]),"rem")}if(e in ee){n=ee[e];return"".concat(K(J[n]),"rem")}return e}}var te,re,oe,ie,ae,ce,le,se,de,ue,pe,fe,ge,be,he,me,ve,ye,we,xe,$e,Ce,Ee,ke,Me,Se,Ie,je,Oe,Ne,De,Te,Re,Ae,ze,Be,Le,Ze,Pe,Fe,qe,We=n(te||(te=D(["\n ","\n "," \n "," \n "," \n "," \n "," \n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n "," \n "," \n "," \n "," \n "," \n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("position",(function(e){return e.$position})),V("top",(function(e){return e.$top}),ne),V("right",(function(e){return e.$right}),ne),V("bottom",(function(e){return e.$bottom}),ne),V("left",(function(e){return e.$left}),ne),V("inset",(function(e){return e.$inset}),ne),V("overflow",(function(e){return e.$overflow})),V("overflow-x",(function(e){return e.$overflowX})),V("overflow-y",(function(e){return e.$overflowY})),V("object-fit",(function(e){return e.$objectFit})),V("pointer-events",(function(e){return e.$pointerEvents})),V("visibility",(function(e){return e.$visibility}))),_e=n(re||(re=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("width",(function(e){return e.$width}),ne),V("min-width",(function(e){return e.$minWidth}),ne),V("max-width",(function(e){return e.$maxWidth}),ne),V("height",(function(e){return e.$height}),ne),V("min-height",(function(e){return e.$minHeight}),ne),V("max-height",(function(e){return e.$maxHeight}),ne),V("aspect-ratio",(function(e){return e.$aspectRatio})),V("box-sizing",(function(e){return e.$boxSizing}))),He=n(oe||(oe=D(["\n ","\n"],["\n ","\n"])),V("padding",(function(e){return e.$pa}),ne)),Ge=n(ie||(ie=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("padding-left",(function(e){return e.$ph}),ne),V("padding-right",(function(e){return e.$ph}),ne)),Ve=n(ae||(ae=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("padding-top",(function(e){return e.$pv}),ne),V("padding-bottom",(function(e){return e.$pv}),ne)),Ye=n(ce||(ce=D(["\n ","\n"],["\n ","\n"])),V("padding-left",(function(e){return e.$pl}),ne)),Ue=n(le||(le=D(["\n ","\n"],["\n ","\n"])),V("padding-right",(function(e){return e.$pr}),ne)),Xe=n(se||(se=D(["\n ","\n"],["\n ","\n"])),V("padding-top",(function(e){return e.$pt}),ne)),Ke=n(de||(de=D(["\n ","\n"],["\n ","\n"])),V("padding-bottom",(function(e){return e.$pb}),ne)),Je=n(ue||(ue=D(["\n ","\n"],["\n ","\n"])),V("margin",(function(e){return e.$ma}),ne)),Qe=n(pe||(pe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("margin-left",(function(e){return e.$mh}),ne),V("margin-right",(function(e){return e.$mh}),ne)),en=n(fe||(fe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("margin-top",(function(e){return e.$mv}),ne),V("margin-bottom",(function(e){return e.$mv}),ne)),nn=n(ge||(ge=D(["\n ","\n"],["\n ","\n"])),V("margin-left",(function(e){return e.$ml}),ne)),tn=n(be||(be=D(["\n ","\n"],["\n ","\n"])),V("margin-right",(function(e){return e.$mr}),ne)),rn=n(he||(he=D(["\n ","\n"],["\n ","\n"])),V("margin-top",(function(e){return e.$mt}),ne)),on=n(me||(me=D(["\n ","\n"],["\n ","\n"])),V("margin-bottom",(function(e){return e.$mb}),ne)),an=n(ve||(ve=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),Je,Qe,en,nn,tn,rn,on),cn=n(ye||(ye=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),He,Ge,Ve,Ye,Ue,Xe,Ke),ln=n(we||(we=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),cn,an),sn={"border-solid-none":0,"border-solid-s":1,"border-solid-m":2,"border-solid-l":3,"border-solid-xl":4},dn={"border-radius-square":0,"border-radius-xs":2,"border-radius-s":4,"border-radius-m":6,"border-radius-m2":8,"border-radius-l":16,"border-radius-xl":24,"border-radius-circle":100},un=function(e){if(null!=e)return e in sn?"".concat(K(sn[e]),"rem solid"):void 0},pn=function(e){if(null!=e)return e in dn?"".concat(K(dn[e]),"rem"):void 0},fn=n(xe||(xe=D(["\n ","\n"],["\n ","\n"])),V("border",(function(e){return e.$ba}),un)),gn=n($e||($e=D(["\n ","\n"],["\n ","\n"])),V("border-top",(function(e){return e.$bt}),un)),bn=n(Ce||(Ce=D(["\n ","\n"],["\n ","\n"])),V("border-right",(function(e){return e.$br}),un)),hn=n(Ee||(Ee=D(["\n ","\n"],["\n ","\n"])),V("border-bottom",(function(e){return e.$bb}),un)),mn=n(ke||(ke=D(["\n ","\n"],["\n ","\n"])),V("border-left",(function(e){return e.$bl}),un)),vn=n(Me||(Me=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-left",(function(e){return e.$bh}),un),V("border-right",(function(e){return e.$bh}),un)),yn=n(Se||(Se=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-top",(function(e){return e.$bv}),un),V("border-bottom",(function(e){return e.$bv}),un)),wn=n(Ie||(Ie=D(["\n ","\n"],["\n ","\n"])),V("border-color",(function(e){return e.$borderColor}),z)),xn=n(je||(je=D(["\n ","\n"],["\n ","\n"])),V("border-radius",(function(e){return e.$borderRadius}),pn)),$n=n(Oe||(Oe=D(["\n ","\n"],["\n ","\n"])),V("border-top-left-radius",(function(e){return e.$btlr}),pn)),Cn=n(Ne||(Ne=D(["\n ","\n"],["\n ","\n"])),V("border-top-right-radius",(function(e){return e.$btrr}),pn)),En=n(De||(De=D(["\n ","\n"],["\n ","\n"])),V("border-bottom-left-radius",(function(e){return e.$bblr}),pn)),kn=n(Te||(Te=D(["\n ","\n"],["\n ","\n"])),V("border-bottom-right-radius",(function(e){return e.$bbrr}),pn)),Mn=n(Re||(Re=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-top-left-radius",(function(e){return e.$btr}),pn),V("border-top-right-radius",(function(e){return e.$btr}),pn)),Sn=n(Ae||(Ae=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("border-bottom-left-radius",(function(e){return e.$bbr}),pn),V("border-bottom-right-radius",(function(e){return e.$bbr}),pn)),In=n(ze||(ze=D(["\n ",";\n"],["\n ",";\n"])),V("border-style",(function(e){return e.$borderStyle}))),jn=n(Be||(Be=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),fn,gn,bn,hn,mn,vn,yn,wn,xn,$n,Cn,En,kn,Mn,Sn,In),On=n(Le||(Le=D(["\n ","\n"],["\n ","\n"])),V("display",(function(e){return e.$display}))),Nn={"drop-shadow-standard":"0 0.5rem 0.5rem rgba(92, 92, 92, 20%)","drop-shadow-lemon":"0.125rem 0.125rem 0 rgba(255, 229, 85, 100%)","drop-shadow-wide-lemon":"0.25rem 0.25rem 0 rgba(255, 229, 85, 100%)","drop-shadow-centered-lemon":"0 0 0 0.125rem rgba(255, 229, 85, 100%)","drop-shadow-grey":"0.25rem 0.25rem 0 rgba(87, 87, 87, 100%)","drop-shadow-centered-grey":"0 0 0 0.3rem rgba(87, 87, 87, 100%)"},Dn=function(e){return null===e?"none":e&&e in Nn?Nn[e]:void 0},Tn=n(Ze||(Ze=D(["\n ","\n"],["\n ","\n"])),V("box-shadow",(function(e){return e.$dropShadow}),Dn)),Rn={transparent:0,"semi-transparent":.25,"semi-opaque":.5,opaque:1},An=function(e){if(e)return e in Rn?Rn[e]:void 0},zn=n(Pe||(Pe=D(["\n ","\n"],["\n ","\n"])),V("opacity",(function(e){return e.$opacity}),An)),Bn=n(Fe||(Fe=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),V("transform",(function(e){return e.$transform})),V("transform-origin",(function(e){return e.$transformOrigin}))),Ln={"standard-ease":"all 0.3s ease","standard-transform":"rotate(-2deg) translateY(-16px) translateX(8px)"},Zn=n(qe||(qe=D(["\n ","\n"],["\n ","\n"])),V("transition",(function(e){return e.$transition}),(function(e){if(e)return e in Ln?Ln[e]:void 0}))),Pn={"font-size-1":12,"font-size-2":14,"font-size-3":16,"font-size-4":18,"font-size-5":20,"font-size-6":24,"font-size-7":32,"font-size-8":40,"font-size-9":48,"font-size-10":56},Fn={"heading-1":["font-size-10",64,600,"0.0115rem"],"heading-2":["font-size-9",56,600,"0.0115rem"],"heading-3":["font-size-8",48,600,"0.0115rem"],"heading-4":["font-size-7",40,600,"0.0115rem"],"heading-5":["font-size-6",32,600,"0.0115rem"],"heading-6":["font-size-5",24,600,"0.0115rem"],"heading-7":["font-size-3",20,600,"0.0115rem"],"heading-light-1":["font-size-10",64,400,"0.0115rem"],"heading-light-2":["font-size-9",56,400,"0.0115rem"],"heading-light-3":["font-size-8",48,400,"0.0115rem"],"heading-light-4":["font-size-7",40,400,"0.0115rem"],"heading-light-5":["font-size-6",32,400,"0.0115rem"],"heading-light-6":["font-size-5",24,400,"0.0115rem"],"heading-light-7":["font-size-3",20,400,"0.0115rem"],"body-1":["font-size-4",28,300,"-0.005rem"],"body-2":["font-size-3",24,300,"-0.005rem"],"body-3":["font-size-2",20,300,"-0.005rem"],"body-4":["font-size-1",16,300,"-0.005rem"],"body-1-bold":["font-size-4",28,700,"-0.005rem"],"body-2-bold":["font-size-3",24,700,"-0.005rem"],"body-3-bold":["font-size-2",20,700,"-0.005rem"],"list-item-1":["font-size-4",32,300,"-0.005rem"],"list-item-2":["font-size-3",24,300,"-0.005rem"]};N([],O(["underline","overline","line-through","none"]),!1),N([],O(["normal","nowrap","pre","pre-wrap","pre-line","break-spaces"]),!1),N([],O(["normal","break-word","initial","inherit"]),!1),N([],O(["clip","ellipsis"]),!1);var qn,Wn,_n,Hn,Gn,Vn,Yn,Un,Xn,Kn=n(qn||(qn=D(["\n font-family: Lexend, sans-serif;\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n font-family: Lexend, sans-serif;\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("font-weight",(function(e){return e.$font}),(function(e){var n;if(e)return null===(n=Fn[e])||void 0===n?void 0:n[2]})),V("font-size",(function(e){return e.$font}),(function(e){var n;if(e){var t=null===(n=Fn[e])||void 0===n?void 0:n[0];if(t)return"".concat(K(Pn[t]),"rem")}})),V("line-height",(function(e){return e.$font}),(function(e){var n;if(e){var t=null===(n=Fn[e])||void 0===n?void 0:n[1];if(t)return"".concat(K(t),"rem")}})),V("letter-spacing",(function(e){return e.$font}),(function(e){var n;if(e)return null===(n=Fn[e])||void 0===n?void 0:n[3]})),V("text-align",(function(e){return e.$textAlign})),V("text-decoration",(function(e){return e.$textDecoration})),V("white-space",(function(e){return e.$whiteSpace})),V("word-wrap",(function(e){return e.$wordWrap})),V("text-overflow",(function(e){return e.$textOverflow}))),Jn={behind:-1,neutral:0,"in-front":1,"mobile-filters":2,"fixed-header":100,"modal-close-button":150,"modal-dialog":300},Qn=n(Wn||(Wn=D(["\n ","\n"],["\n ","\n"])),V("z-index",(function(e){return e.$zIndex}),(function(e){if(null!=e)return Jn[e]}))),et=n(Hn||(Hn=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),We,_e,ln,Y,jn,On,Tn,zn,Bn,Zn,Kn,Qn,(function(e){return e.onClick&&n(_n||(_n=D(["\n :hover {\n cursor: pointer;\n }\n "],["\n :hover {\n cursor: pointer;\n }\n "])))})),nt=e.div(Gn||(Gn=D(["\n ","\n"],["\n ","\n"])),et),tt=n(Vn||(Vn=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("display",(function(e){var n;return null!==(n=e.$display)&&void 0!==n?n:"flex"})),V("flex-direction",(function(e){return e.$flexDirection})),V("flex-wrap",(function(e){return e.$flexWrap})),V("align-items",(function(e){return e.$alignItems})),V("align-content",(function(e){return e.$alignContent})),V("justify-content",(function(e){return e.$justifyContent})),V("align-self",(function(e){return e.$alignSelf})),V("order",(function(e){return e.$order})),V("flex-grow",(function(e){return e.$flexGrow})),V("flex-shrink",(function(e){return e.$flexShrink})),V("flex-basis",(function(e){return e.$flexBasis}),ne),V("gap",(function(e){return e.$gap}),ne),V("column-gap",(function(e){return e.$columnGap}),ne),V("row-gap",(function(e){return e.$rowGap}),ne)),rt=e(nt)(Yn||(Yn=D(["\n ","\n"],["\n ","\n"])),tt),ot=e.span(Un||(Un=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n"])),Y,zn,an,cn,jn,Kn),it=e.form(Xn||(Xn=D(["\n ","\n"],["\n ","\n"])),et);function at(e){if(null!=e)return e in R?R[e]:A.includes(e)?function(n){var t=n.theme.uiColors[e];if(t&&t in R)return R[t]}:void 0}var ct,lt,st,dt,ut,pt,ft,gt,bt,ht,mt,vt,yt,wt,xt,$t=n(ct||(ct=D(["\n ","\n"],["\n ","\n"])),V("filter",(function(e){return e.$colorFilter}),at)),Ct=n(st||(st=D(["\n ","\n"],["\n ","\n"])),(function(e){return e.onClick&&n(lt||(lt=D(["\n :hover {\n cursor: pointer;\n }\n "],["\n :hover {\n cursor: pointer;\n }\n "])))})),Et=n(ut||(ut=D(["\n ","\n"],["\n ","\n"])),(function(e){return e.$showOakPlaceholder&&n(dt||(dt=D(["\n background-image: url(",");\n background-color: ",";\n background-size: ",";\n background-position: center;\n background-repeat: no-repeat;\n "],["\n background-image: url(",");\n background-color: ",";\n background-size: ",";\n background-position: center;\n background-repeat: no-repeat;\n "])),"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZmlsbD0iIzIyMiIgZD0iTTI4Ljc3OSAxOS4xNzZhMjcuMTkxIDI3LjE5MSAwIDAgMC0zLjggMS42IDE2LjcgMTYuNyAwIDAgMC03LjEgOC40YzAgLjEtLjEuMi0uMS4zLS43IDIuNC0uNiAyIDEuMyAyLjMgMS45LjMgMSAuNSAxIDEuMy0uMSA4LjggNC4xIDE1LjEgMTEuNCAxOS42YTEuNSAxLjUgMCAwIDAgMS43LjJjNS43LTIuNiA5LjMtNyAxMC4zLTEzLjJhMSAxIDAgMCAxIDEtMWwzLS4yYy44IDAgMS4zLjIgMS4yIDEuMmExNy45IDE3LjkgMCAwIDEtMy4yIDkuMiAyMy43IDIzLjcgMCAwIDEtMTAuOSA5LjEgNS40MDEgNS40MDEgMCAwIDEtNC41LS4yIDI2LjI5OCAyNi4yOTggMCAwIDEtOC41LTYuNiAyNS45IDI1LjkgMCAwIDEtNi40LTE0LjRjMC0uNi0uMi0uNy0uOC0uOC0yLjUtLjQtMi41LS4xLTIuMy0yLjlhMTkuMyAxOS4zIDAgMCAxIDEwLjgtMTYuNiAzOC45OTkgMzguOTk5IDAgMCAxIDUuNy0yLjEgMi4xIDIuMSAwIDAgMCAuOS0xLjMgMTQuMSAxNC4xIDAgMCAxIDMuNS02LjNsLjMtLjNjMS45LTIgMi42LTIgNC4zLjJsLjQuNWMxLjEgMS4xIDEgMS41LS4xIDIuNmExMS45IDExLjkgMCAwIDAtMy4yIDQuNCAxNi45IDE2LjkgMCAwIDEgNy41IDIuM2M1LjcgMy41IDkuMiA4LjMgOS45IDE1IC4wMTYuOTAxLS4wMTcgMS44MDItLjEgMi43IDAgLjgtLjYgMS0xLjIgMS4yYTE2LjEgMTYuMSAwIDAgMS0xMS0uNyAxNy45MDEgMTcuOTAxIDAgMCAxLTEwLjktMTMuNiA5Ljc5NiA5Ljc5NiAwIDAgMS0uMS0xLjlabTE4LjEgMTIuMmMuNC01LjUtNi45LTEyLjYtMTMtMTIuMS41IDYuNSA3LjYgMTIuOCAxMyAxMi4xWiIgb3BhY2l0eT0iLjEiLz48L3N2Zz4=",z("bg-decorative2-very-subdued"),ne("all-spacing-11"))})),kt=e(w)(pt||(pt=D(["\n ","\n ","\n ","\n object-fit: contain;\n"],["\n ","\n ","\n ","\n object-fit: contain;\n"])),$t,Ct,Et),Mt=e(w)(ft||(ft=D(["\n ","\n ","\n ","\n width: 100%;\n height: auto;\n"],["\n ","\n ","\n ","\n width: 100%;\n height: auto;\n"])),$t,Ct,Et),St=function(e){var n=I(e,[]),t=n.as,r=n.src,o=n.alt,i=n.width,s=n.height,d=n.sizes,u=n.$width,p=void 0===u?"100%":u,f=n.$position,g=void 0===f?"relative":f,b=n.$colorFilter,h=n.placeholder,m=void 0===h?"oak":h,v=n.unoptimized,y=n.imageProps,x=n.onLoad,$=n.onError,C=I(n,["as","src","alt","width","height","sizes","$width","$position","$colorFilter","placeholder","unoptimized","imageProps","onLoad","onError"]),E="oak"===m?void 0:m,k=function(){var e=O(c(!1),2),n=e[0],t=e[1];return{showPlaceholder:n,setImg:l((function(e){e&&t(!e.complete)}),[]),handleComplete:function(e){return function(n){e&&e(n),t(!1)}}}}(),M=k.showPlaceholder,j=k.handleComplete,N=k.setImg;return i&&s?a.createElement(nt,S({$maxWidth:"all-spacing-0",$position:g},C),a.createElement(Mt,S({ref:N,as:null!=t?t:w,src:r,alt:o,width:i,height:s,sizes:d,unoptimized:v,$colorFilter:b,placeholder:E,$showOakPlaceholder:"oak"===m&&M,onLoad:j(x),onError:j($)},y))):a.createElement(nt,S({$position:g,$width:p},C),a.createElement(kt,S({ref:N,as:null!=t?t:w,src:r,alt:o,sizes:d,fill:!0,$colorFilter:b,placeholder:E,$showOakPlaceholder:"oak"===m&&M,unoptimized:v,onLoad:j(x),onError:j($)},y)))},It=e(nt)(gt||(gt=D(["\n ","\n"],["\n ","\n"])),Kn),jt=N([],O(["div","h1","h2","h3","h4","h5","h6"]),!1),Ot=function(e){var n=e.tag,t=e.ariaLabel,r=e.ariaHidden,o=I(e,["tag","ariaLabel","ariaHidden"]),i=n;return a.createElement(i,S({},o,{"aria-label":t,"aria-hidden":r}))},Nt=e(Ot)(bt||(bt=D(["\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n"])),Kn,an,Y,zn),Dt=e.p(ht||(ht=D(["\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n"])),Kn,Y,an),Tt=e.ul(vt||(vt=D(["\n ","\n margin: 0;\n ","\n"],["\n ","\n margin: 0;\n ","\n"])),(function(e){return e.$reset&&n(mt||(mt=D(["\n list-style: none;\n padding: 0;\n "],["\n list-style: none;\n padding: 0;\n "])))}),et),Rt=e.ol(yt||(yt=D(['\n counter-reset: item;\n padding: 0;\n\n li {\n display: block;\n counter-increment: item;\n margin: 0;\n padding: 0 0 0 16px;\n text-indent: -16px;\n list-style-type: none;\n line-height: 32px;\n\n // Portable text generates linebreaks within list items\n\n br {\n content: "";\n display: block;\n margin-top: 8px;\n }\n }\n\n & li::before {\n padding-right: 4px;\n content: counter(item) ".";\n }\n a {\n color: ',";\n }\n ","\n ","\n ","\n"],['\n counter-reset: item;\n padding: 0;\n\n li {\n display: block;\n counter-increment: item;\n margin: 0;\n padding: 0 0 0 16px;\n text-indent: -16px;\n list-style-type: none;\n line-height: 32px;\n\n // Portable text generates linebreaks within list items\n\n br {\n content: "";\n display: block;\n margin-top: 8px;\n }\n }\n\n & li::before {\n padding-right: 4px;\n content: counter(item) ".";\n }\n a {\n color: ',";\n }\n ","\n ","\n ","\n"])),(function(e){return e.theme&&e.theme.uiColors&&e.theme.uiColors["text-link-active"]}),an,Y,Kn),At=n(wt||(wt=D(["\n ","\n"],["\n ","\n"])),V("list-style",(function(e){return e.$listStyle}))),zt=e.li(xt||(xt=D(["\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n"])),et,Kn,At,On);zt.defaultProps={$display:"revert"};var Bt,Lt=e.label(Bt||(Bt=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),Kn,Y),Zt={"question-mark":"v1706872277/icons/question-mark.svg",home:"v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg",send:"v1699893673/icons/rmvytilpjgvh3pgwc8ph.svg",rocket:"v1699894015/icons/u26xm5hteot875ozfnk9.svg",edit:"v1699894149/icons/qxlunbg5tfrdherzsvlt.svg",hamburger:"v1699895123/icons/jaqdnomtbhqvjcap962u.svg",cross:"v1699895179/icons/xigimrbivcaxt4omxamp.svg",bell:"v1699895207/icons/ecejtvqerx81prxyxh9b.svg",twitter:"v1699895251/icons/bq6a50xtkvnzhltfggzz.svg",worksheet:"v1699895300/icons/ez1s6mtpe5jkunnxzvlw.svg",facebook:"v1699895330/icons/iojlvh3o5lshy2jupyph.svg",share:"v1699895363/icons/agcmduftef3wcla6gzec.svg","arrow-right":"v1707149070/icons/fv0z57zerrioft52dd9n.svg","arrow-down":"v1699954152/icons/wpfmbmwpyfinipg0d61y.svg","arrow-left":"v1707149179/icons/ejrm9dpgpzb7ddbo8z2i.svg","arrow-up":"v1699954152/icons/arrow-up.svg","worksheet-3":"v1699895429/icons/bzhojpjxp9rukdvh7daz.svg","chevron-right":"v1707752509/icons/vk9xxxhnsltsickom6q9.svg",save:"v1699895505/icons/rh1ahwwtbemvz0ihluew.svg","quiz-3":"v1699895534/icons/zoayhgtrotv32fad7d3k.svg","chevron-down":"v1699953557/icons/botfld6brychmttwtv6u.svg",linkedin:"v1699953592/icons/leqneklorqqzb1zo6rf1.svg","magic-carpet":"v1699953622/icons/jifivg9xxm7sb0fjdilm.svg",books:"v1699953657/icons/hz4l3iq6i68kazvkvorq.svg","supervision-level":"v1699953696/icons/cwqhknapp3maa4g0t3lj.svg","quiz-white":"v1699953730/icons/gpcehpgr9mqoumsa25xe.svg","additional-material":"v1699953798/icons/ntoq4tqvcm2uj1pajubt.svg","slide-deck-3":"v1699953830/icons/sm92moja9d5utu3cj16c.svg","sign-language":"v1699953861/icons/ns94ozvozzi22enxkx0x.svg",external:"v1699953892/icons/hlxmejse3mcr4tqo6t8u.svg","equipment-required":"v1699953925/icons/pw22bdhj2vrzfv2ogi4e.svg","chevron-left":"v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg",download:"v1699953991/icons/dk0f6a6hdpzxftjosngn.svg",search:"v1704901279/icons/canbi3fuz5fanzom2hvi.svg","chevron-up":"v1699954058/icons/pay71thmhhylj7z28sj1.svg",go:"v1699954090/icons/vdzptyvmitylra8x4usy.svg",copyright:"v1699954118/icons/boiod3rflocgsnfokyo8.svg",project:"v1699954186/icons/zofq5pheud6spnwjpewk.svg","slide-deck":"v1699954241/icons/sjjy5f3g4eciwcuxxr33.svg","content-guidance":"v1699954277/icons/tm3uhcqenaznq4fxys7j.svg",tick:"v1699954310/icons/efd3esaor6zqk7seh6kt.svg",instagram:"v1699954343/icons/ayfeljric0kkimdymvva.svg",dot:"v1699954371/icons/knykdclphkm8lgff4u2g.svg","dot-png":"v1699954394/icons/qecbh291nzwmhcvqayqd.png",warning:"v1704901279/icons/zzszodmk7fvxm9xzzg9s.svg","lightbulb-yellow":"v1705078631/icons/q2v4sqxouy1ngcajoavv.svg",lightbulb:"v1705078631/icons/zldisxmbff36z68rwcef.svg",quiz:"v1705416077/icons/kaaizjcudy0jfgfrrdel.svg",video:"v1705416078/icons/wzey1zfxrvv3apeebbf5.svg",intro:"v1705662092/icons/pl7bnmb13txese9yxkjv.svg",loopdown:"v1699887218/ui-graphics/loopdown.svg","teacher-lesson":"icons/teacher-lesson.svg","teacher-unit":"icons/teacher-unit.svg","move-arrows":"v1709052869/icons/hoddjsgpzkszgvnmn91q.svg",info:"v1709052869/icons/Icon_Info_vsx3xi.svg","subject-art":"subject-icons/art.svg","subject-biology":"subject-icons/biology.svg","subject-chemistry":"subject-icons/chemistry.svg","subject-citizenship":"subject-icons/citizenship.svg","subject-gcse-citizenship":"subject-icons/citizenship.svg","subject-core-citizenship":"subject-icons/citizenship.svg","subject-combined-science":"subject-icons/science.svg","subject-communication-and-language":"subject-icons/communication-and-language.svg","subject-computing":"subject-icons/computing.svg","subject-computer-science":"subject-icons/computing.svg","subject-core-computing":"subject-icons/computing.svg","subject-computing-non-gcse":"subject-icons/computing.svg","subject-creative-arts":"subject-icons/creative-arts.svg","subject-design-technology":"subject-icons/design-technology.svg","subject-drama":"subject-icons/drama.svg","subject-english":"subject-icons/english.svg","subject-english-grammar":"subject-icons/english-grammar.svg","subject-english-reading-for-pleasure":"subject-icons/literature.svg","subject-english-spelling":"subject-icons/english-spelling.svg","subject-expressive-arts-and-design":"subject-icons/creative-arts.svg","subject-french":"subject-icons/french.svg","subject-geography":"subject-icons/geography.svg","subject-german":"subject-icons/german.svg","subject-history":"subject-icons/history.svg","subject-independent-living":"subject-icons/independent-living.svg","subject-latin":"subject-icons/latin.svg","subject-literacy":"subject-icons/english.svg","subject-maths":"subject-icons/maths.svg","subject-music":"subject-icons/music-hollow.svg","subject-numeracy":"subject-icons/numeracy.svg","occupational-therapy":"subject-icons/therapy.svg","subject-personal-social-and-emotional-development":"subject-icons/rshe-pshe.svg","subject-physical-development":"subject-icons/physical-development.svg","subject-physical-education":"subject-icons/physical-education.svg","subject-core-physical-education":"subject-icons/physical-education.svg","subject-gcse-physical-education":"subject-icons/physical-education.svg","subject-physical-therapy":"subject-icons/physical-therapy.svg","subject-physics":"subject-icons/physics.svg","subject-religious-education":"subject-icons/religious-education.svg","subject-core-religious-education":"subject-icons/religious-education.svg","subject-gcse-religious-education":"subject-icons/religious-education.svg","subject-rshe-pshe":"subject-icons/rshe-pshe.svg","subject-rshe":"subject-icons/rshe-pshe.svg","subject-science":"subject-icons/science.svg","subject-sensory-integration":"subject-icons/sensory-integration.svg","subject-spanish":"subject-icons/spanish.svg","subject-speech-and-language-therapy":"subject-icons/speech-and-language.svg","subject-specialist":"subject-icons/communication-and-language.svg","subject-therapy":"subject-icons/therapy.svg","subject-therapies":"subject-icons/therapy.svg","subject-occupational-therapy":"subject-icons/therapy.svg","subject-understanding-the-world":"subject-icons/understanding-the-world.svg"},Pt="pupil-journey/confetti-pink.svg",Ft="pupil-journey/confetti-lavender.svg",qt="pupil-journey/confetti-mint.svg",Wt="pupil-journey/line-pink.svg",_t="pupil-journey/line-lavender.svg",Ht="pupil-journey/line-mint.svg",Gt=Object.keys(Zt);function Vt(e){return Gt.includes(e)}var Yt,Ut,Xt,Kt,Jt,Qt=function(e){var n=e.iconName,t=e.alt,r=e.$width,o=void 0===r?"all-spacing-7":r,i=e.$height,c=void 0===i?"all-spacing-7":i,l=e.$minHeight,s=void 0===l?c:l,d=e.$minWidth,u=void 0===d?o:d;e.imageProps;var p=I(e,["iconName","alt","$width","$height","$minHeight","$minWidth","imageProps"]);return a.createElement(St,S({src:"https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/").concat(Zt[n]),alt:null!=t?t:n,$width:o,$height:c,$minHeight:s,$minWidth:u,placeholder:"empty",unoptimized:!0},p))},er=n(Yt||(Yt=D(["\n ","\n ","\n ","\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n ","\n ","\n ","\n"])),V("row-gap",(function(e){return e.$rg}),ne),V("column-gap",(function(e){return e.$cg}),ne),V("grid-auto-rows",(function(e){return e.$gridAutoRows})),V("grid-template-areas",(function(e){return e.$gridTemplateAreas})),V("grid-template-columns",(function(e){return e.$gridTemplateColumns})),V("grid-template-rows",(function(e){return e.$gridTemplateRows}))),nr=e(nt)(Ut||(Ut=D(["\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n width: 100%;\n ","\n"],["\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n width: 100%;\n ","\n"])),er),tr=function(e,n){return e?"".concat(e,"/").concat(n):"".concat(n)},rr=function(e){if(null==e?void 0:e.includes("/")){var n=O(e.split("/"),2),t=n[0],r=n[1];return"".concat(t," / span ").concat(r)}return"span ".concat(e)},or=n(Xt||(Xt=D(["\n flex-direction: column;\n ",";\n ",";\n ",";\n ",";\n ","\n ","\n ","\n"],["\n flex-direction: column;\n ",";\n ",";\n ",";\n ",";\n ","\n ","\n ","\n"])),V("grid-column",(function(e){return Array.isArray(e.$colSpan)?e.$colSpan.map((function(n,t){return tr(Array.isArray(e.$colStart)?e.$colStart[t]:e.$colStart,n)})):tr(Array.isArray(e.$colStart)?e.$colStart[0]:e.$colStart,e.$colSpan)}),(function(e){return rr(e)})),V("grid-row",(function(e){return Array.isArray(e.$rowSpan)?e.$rowSpan.map((function(n,t){return tr(Array.isArray(e.$rowStart)?e.$rowStart[t]:e.$rowStart,n)})):tr(Array.isArray(e.$rowStart)?e.$rowStart[0]:e.$rowStart,e.$rowSpan)}),(function(e){return rr(e)})),V("order",(function(e){return e.$order}),(function(e){return e&&"".concat(e)})),V("grid-row",(function(e){return e.$rowSpan?"span ".concat(e.$rowSpan):"span 1"})),V("grid-column-start",(function(e){return e.$colStart})),V("grid-column-end",(function(e){return e.$colEnd})),V("grid-row-start",(function(e){return e.$rowStart}))),ir=e(rt)(Kt||(Kt=D(["\n ","\n"],["\n ","\n"])),or),ar=function(e){var n=e.theme,r=e.children;return a.createElement(t,{theme:n},r)},cr=e(rt)(Jt||(Jt=D([""],[""])));function lr(e,n){return e.toString().replace(function(e){var n=new URL(x({src:"canary.jpg"},e));return n.origin+"/image/upload/"}(n),"")}cr.defaultProps={$maxWidth:["all-spacing-21","all-spacing-24"],$ph:["inner-padding-none","inner-padding-s"],$flexDirection:"column",$flexGrow:1,$width:"100%",$mh:"auto"};var sr,dr,ur,pr,fr,gr,br,hr,mr,vr,yr,wr,xr,$r,Cr,Er,kr,Mr,Sr,Ir,jr,Or,Nr,Dr,Tr,Rr,Ar,zr=s(void 0),Br=zr.Provider,Lr=function(e){var n=e.cloudinaryId,t=e.unoptimized,r=void 0===t?n.endsWith(".svg"):t,o=I(e,["cloudinaryId","unoptimized"]),i=d(zr),c=lr(n,i);return a.createElement(St,S({as:$,src:c,imageProps:{config:i,flags:r?void 0:["keep_attribution"]},unoptimized:r},o))},Zr=function(e){var n=e.children;return a.createElement(ot,{$font:"body-3-bold",as:"kbd",$borderColor:"border-decorative3-stronger",$background:"bg-primary",$borderRadius:"border-radius-m",$ba:"border-solid-m",$ph:"inner-padding-xs",$pv:"inner-padding-ssx",$whiteSpace:"nowrap"},n)},Pr=n(sr||(sr=D(['\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role="list"],\n ol[role="list"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don\'t have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n'],['\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role="list"],\n ol[role="list"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don\'t have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n']))),Fr=n(dr||(dr=D(["\n html,\n body {\n padding: 0;\n margin: 0;\n font-family: Lexend, sans-serif;\n font-weight: 300;\n line-height: 1.4;\n }\n\n /* stylelint-disable */\n body,\n #__next {\n /* stylelint-enable */\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n }\n\n a {\n color: inherit;\n text-decoration: none;\n font-family: inherit;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n button {\n /*\n * some browsers have a small margin by default\n * @see https://github.com/oaknational/Oak-Web-Application/issues/709\n */\n margin: 0;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n /*\n * Inline styling for mathjax equations\n */\n mjx-container {\n display: inline-grid !important;\n margin: 0 !important;\n }\n"],["\n html,\n body {\n padding: 0;\n margin: 0;\n font-family: Lexend, sans-serif;\n font-weight: 300;\n line-height: 1.4;\n }\n\n /* stylelint-disable */\n body,\n #__next {\n /* stylelint-enable */\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n }\n\n a {\n color: inherit;\n text-decoration: none;\n font-family: inherit;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n button {\n /*\n * some browsers have a small margin by default\n * @see https://github.com/oaknational/Oak-Web-Application/issues/709\n */\n margin: 0;\n\n /*\n * Remove grey background on tap on ios\n */\n -webkit-tap-highlight-color: transparent;\n }\n\n /*\n * Inline styling for mathjax equations\n */\n mjx-container {\n display: inline-grid !important;\n margin: 0 !important;\n }\n"]))),qr=r(ur||(ur=D(["\n ","\n ","\n"],["\n ","\n ","\n"])),Pr,Fr),Wr=e.span(pr||(pr=D(["\n position: absolute;\n top: 0;\n ","\n"],["\n position: absolute;\n top: 0;\n ","\n"])),V("scroll-margin-top",(function(e){return e.$pt}),ne)),_r=function(e){var n=e.children;return n?a.createElement(rt,{$alignItems:"center",$flexDirection:"row"},a.createElement(rt,{$alignSelf:"flex-start",$mr:"space-between-s"},a.createElement(Qt,{iconName:"content-guidance",$colorFilter:"red"})),a.createElement(ot,{$color:"red"},n)):null},Hr=n(fr||(fr=D(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"],["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"]))),Gr=e.span(gr||(gr=D(["\n ","\n"],["\n ","\n"])),Hr),Vr=o(br||(br=D(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]))),Yr=e.span(yr||(yr=D(["\n ",'\n --inner-width: calc(var(--width) / 10 * 8);\n --thickness: calc(var(--width) / 12);\n\n display: inline-flex;\n width: var(--width);\n height: var(--width);\n\n ::after {\n content: " ";\n display: block;\n width: var(--inner-width);\n height: var(--inner-width);\n margin: var(--thickness);\n border-radius: 50%;\n border: var(--thickness) solid currentcolor;\n ',"\n animation: "," 1.2s linear infinite;\n }\n ","\n"],["\n ",'\n --inner-width: calc(var(--width) / 10 * 8);\n --thickness: calc(var(--width) / 12);\n\n display: inline-flex;\n width: var(--width);\n height: var(--width);\n\n ::after {\n content: " ";\n display: block;\n width: var(--inner-width);\n height: var(--inner-width);\n margin: var(--thickness);\n border-radius: 50%;\n border: var(--thickness) solid currentcolor;\n ',"\n animation: "," 1.2s linear infinite;\n }\n ","\n"])),(function(e){return e.$width?V("--width",(function(e){return e.$width}),ne):n(hr||(hr=D(["\n --width: 1.25rem;\n "],["\n --width: 1.25rem;\n "])))}),(function(e){return e.loaderColor?n(mr||(mr=D(["\n border-color: "," ","\n "," transparent;\n "],["\n border-color: "," ","\n "," transparent;\n "])),e.loaderColor,e.loaderColor,e.loaderColor):n(vr||(vr=D(["\n border-color: currentcolor currentcolor currentcolor transparent;\n "],["\n border-color: currentcolor currentcolor currentcolor transparent;\n "])))}),Vr,Y),Ur=function(e){return a.createElement(Yr,S({},e),a.createElement(Gr,null,"Loading"))},Xr=n(wr||(wr=D(["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n text-align: left;\n font-family: unset;\n outline: none;\n ","\n ","\n ","\n ","\n ","\n ","\n &:disabled {\n pointer-events: none;\n cursor: default;\n }\n"],["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n text-align: left;\n font-family: unset;\n outline: none;\n ","\n ","\n ","\n ","\n ","\n ","\n &:disabled {\n pointer-events: none;\n cursor: default;\n }\n"])),Kn,Y,ln,On,jn,Tn),Kr=e((function(e){var n=e.onClick,t=e.onHovered,r=e.element,o=void 0===r?"button":r,i=I(e,["onClick","onHovered","element"]),c=u(Date.now());return a.createElement(o,S({},i,{onClick:function(e){n&&n(e)},onMouseEnter:function(){c.current=Date.now()},onMouseLeave:function(e){var n=Date.now()-c.current;t&&t(e,n)}}))}))(xr||(xr=D(["\n ","\n"],["\n ","\n"])),Xr),Jr=e(Kr)(Cr||(Cr=D(["\n ","\n ","\n display: inline-block;\n ","\n"],["\n ","\n ","\n display: inline-block;\n ","\n"])),We,_e,(function(e){return n($r||($r=D(["\n &:hover {\n text-decoration: underline;\n color: ",";\n background: ",";\n border-color: ",";\n }\n &:active {\n background: ",";\n border-color: ",";\n color: ",";\n }\n &:disabled {\n background: ",";\n border-color: ",";\n color: ",";\n }\n "],["\n &:hover {\n text-decoration: underline;\n color: ",";\n background: ",";\n border-color: ",";\n }\n &:active {\n background: ",";\n border-color: ",";\n color: ",";\n }\n &:disabled {\n background: ",";\n border-color: ",";\n color: ",";\n }\n "])),z(e.$hoverTextColor),z(e.$hoverBackground),z(e.$hoverBorderColor),z(e.$defaultBackground),z(e.$defaultBorderColor),z(e.$defaultTextColor),z(e.$disabledBackground),z(e.$disabledBorderColor),z(e.$disabledTextColor))})),Qr=e(nt)(Er||(Er=D(["\n .grey-shadow:has(+ * + .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:hover),\n .yellow-shadow:has(+ .internal-button:hover:not(:focus-visible, :active)) {\n box-shadow: ",";\n }\n .grey-shadow:has(+ * + .internal-button:hover) {\n box-shadow: none;\n }\n .grey-shadow:has(+ * + .internal-button:active) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:active) {\n box-shadow: ",";\n }\n"],["\n .grey-shadow:has(+ * + .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:focus-visible) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:hover),\n .yellow-shadow:has(+ .internal-button:hover:not(:focus-visible, :active)) {\n box-shadow: ",";\n }\n .grey-shadow:has(+ * + .internal-button:hover) {\n box-shadow: none;\n }\n .grey-shadow:has(+ * + .internal-button:active) {\n box-shadow: ",";\n }\n .yellow-shadow:has(+ .internal-button:active) {\n box-shadow: ",";\n }\n"])),Dn("drop-shadow-centered-grey"),Dn("drop-shadow-centered-lemon"),(function(e){return Dn(e.$hoverShadow)}),Dn("drop-shadow-grey"),Dn("drop-shadow-lemon")),eo=function(e){var n=e.element,t=void 0===n?"button":n,r=e.children,o=e.iconName,i=e.isTrailingIcon,c=e.isLoading,l=e.disabled,s=e.width,d=void 0===s?"max-content":s,u=e.maxWidth,p=e.innerWidth,f=e.defaultBackground,g=e.defaultBorderColor,b=e.defaultTextColor,h=e.disabledTextColor,m=e.hoverTextColor,v=e.hoverBackground,y=e.hoverBorderColor,w=e.disabledBackground,x=e.disabledBorderColor,$=e.className,C=e.hoverShadow,E=void 0===C?"drop-shadow-lemon":C,k=e.pv,M=void 0===k?"inner-padding-s":k,j=e.ph,O=void 0===j?"inner-padding-m":j,N=e.pt,D=e.pb,T=e.iconLayout,R=void 0===T?"row":T,A=e.iconGap,z=void 0===A?"space-between-ssx":A,B=e.iconOverride,L=e.font,Z=void 0===L?"heading-7":L,P=e.textAlign,F=void 0===P?"left":P,q=I(e,["element","children","iconName","isTrailingIcon","isLoading","disabled","width","maxWidth","innerWidth","defaultBackground","defaultBorderColor","defaultTextColor","disabledTextColor","hoverTextColor","hoverBackground","hoverBorderColor","disabledBackground","disabledBorderColor","className","hoverShadow","pv","ph","pt","pb","iconLayout","iconGap","iconOverride","font","textAlign"]),W=null!=B?B:a.createElement(a.Fragment,null,o&&a.createElement(Qt,{iconName:o,$width:"all-spacing-6",$height:"all-spacing-6",$colorFilter:e.disabled?h:b})),_=a.createElement(nt,{$width:"all-spacing-6",$height:"all-spacing-6"},a.createElement(Ur,{$width:"all-spacing-6"})),H=a.createElement(a.Fragment,null,c&&!l?_:W);return a.createElement(Qr,{className:$,$position:"relative",$width:d,$maxWidth:u,$hoverShadow:E},a.createElement(nt,{className:"grey-shadow",$position:"absolute",$borderRadius:"border-radius-s",$width:"100%",$height:"100%",$top:"all-spacing-0"}),a.createElement(nt,{className:"yellow-shadow",$position:"absolute",$borderRadius:"border-radius-s",$width:"100%",$height:"100%",$top:"all-spacing-0"}),a.createElement(Jr,S({element:t,className:"internal-button",$ba:"border-solid-m",$background:f,$borderColor:g,$color:b,$pv:M,$ph:O,$pt:N,$pb:D,$borderRadius:"border-radius-s",$position:"relative",disabled:l||c,$width:"100%",$height:"100%",$hoverTextColor:m,$hoverBackground:v,$hoverBorderColor:y,$defaultTextColor:b,$defaultBackground:f,$defaultBorderColor:g,$disabledTextColor:h,$disabledBackground:w,$disabledBorderColor:x},q),a.createElement(rt,{$flexDirection:R,$alignItems:"center",$gap:z,$justifyContent:"center",$width:p},!i&&H,a.createElement(ot,{$font:Z,$textAlign:F},r),i&&H)))},no=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"bg-btn-primary",defaultBackground:"bg-btn-primary",defaultTextColor:"text-inverted",hoverBackground:"bg-btn-primary-hover",hoverBorderColor:"bg-btn-primary-hover",hoverTextColor:"text-inverted",disabledBackground:"bg-btn-primary-disabled",disabledBorderColor:"text-disabled",disabledTextColor:"text-inverted"},t))},to=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"bg-btn-secondary",defaultBackground:"bg-btn-secondary",defaultTextColor:"text-primary",hoverBackground:"bg-btn-secondary",hoverBorderColor:"bg-btn-secondary",hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary",disabledBorderColor:"bg-btn-secondary",disabledTextColor:"text-disabled",hoverShadow:null},t))},ro=function(e){var n=e.element,t=I(e,["element"]);return a.createElement(eo,S({element:null!=n?n:"button",defaultBorderColor:"text-primary",defaultBackground:"bg-btn-secondary",defaultTextColor:"text-primary",hoverBackground:"bg-btn-secondary-hover",hoverBorderColor:"text-primary",hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"text-disabled",disabledTextColor:"text-disabled"},t))},oo=e(Kr)(Mr||(Mr=D(["\n display: inline-block;\n ","\n ","\n ","\n"],["\n display: inline-block;\n ","\n ","\n ","\n"])),We,_e,(function(e){return n(kr||(kr=D(["\n &:hover {\n text-decoration: underline;\n color: ",';\n\n &:not(:active) [data-icon-for="button"] img {\n filter: ',";\n }\n }\n &:active {\n color: ",";\n }\n &:disabled {\n color: ",";\n }\n "],["\n &:hover {\n text-decoration: underline;\n color: ",';\n\n &:not(:active) [data-icon-for="button"] img {\n filter: ',";\n }\n }\n &:active {\n color: ",";\n }\n &:disabled {\n color: ",";\n }\n "])),z(e.$hoverTextColor),e.$hoverIconColor?at(e.$hoverIconColor):void 0,z(e.$defaultTextColor),z(e.$disabledTextColor))})),io=e(rt)(Ir||(Ir=D(["\n > :first-child:focus-visible .shadow {\n box-shadow: ",",\n ",";\n }\n > :first-child:hover .shadow {\n box-shadow: ",";\n }\n > :first-child:active .shadow {\n box-shadow: ",",\n ",";\n }\n ","\n"],["\n > :first-child:focus-visible .shadow {\n box-shadow: ",",\n ",";\n }\n > :first-child:hover .shadow {\n box-shadow: ",";\n }\n > :first-child:active .shadow {\n box-shadow: ",",\n ",";\n }\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),Dn("drop-shadow-lemon"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),(function(e){return n(Sr||(Sr=D(["\n > :first-child:disabled .icon-container {\n background: ",";\n }\n > :first-child:hover .icon-container {\n background: ",";\n }\n > :first-child:active .icon-container {\n background: ",";\n }\n "],["\n > :first-child:disabled .icon-container {\n background: ",";\n }\n > :first-child:hover .icon-container {\n background: ",";\n }\n > :first-child:active .icon-container {\n background: ",";\n }\n "])),z(e.$disabledIconBackground),z(e.$hoverIconBackground),z(e.$defaultIconBackground))})),ao=function(e){var n=e.element,t=void 0===n?"button":n,r=e.children,o=e.iconName,i=e.isTrailingIcon,c=e.isLoading,l=e.disabled,s=e.width,d=void 0===s?"max-content":s,u=e.maxWidth,p=e.iconBackgroundSize,f=e.iconSize,g=e.disabledIconBackground,b=e.hoverIconColor,h=e.disabledTextColor,m=e.defaultIconColor,v=e.hoverIconBackground,y=e.defaultIconBackground,w=e.disabledIconColor,x=e.defaultTextColor,$=e.hoverTextColor,C=e.className,E=I(e,["element","children","iconName","isTrailingIcon","isLoading","disabled","width","maxWidth","iconBackgroundSize","iconSize","disabledIconBackground","hoverIconColor","disabledTextColor","defaultIconColor","hoverIconBackground","defaultIconBackground","disabledIconColor","defaultTextColor","hoverTextColor","className"]),k=o&&a.createElement(Qt,{iconName:o,$width:f,$height:f,$colorFilter:e.disabled?w:m||null,"data-icon-for":"button"}),M=a.createElement(nt,{$width:f,$height:f},a.createElement(Ur,{$width:f,loaderColor:"white"})),j=(c||k)&&a.createElement(rt,{className:"icon-container",$background:e.defaultIconBackground,$color:e.defaultTextColor,$borderRadius:"border-radius-circle",$position:"relative",$width:p,$height:p,$alignItems:"center",$justifyContent:"center",$minWidth:p},a.createElement(nt,{className:"shadow",$position:"absolute",$borderRadius:"border-radius-circle",$width:"100%",$height:"100%",$top:"all-spacing-0"}),c&&!l?M:k);return a.createElement(io,{className:C,$position:"relative",$width:d,$maxWidth:u,$disabledIconBackground:g,$hoverIconBackground:v,$defaultIconBackground:y},a.createElement(oo,S({element:null!=t?t:"button"},E,{$hoverTextColor:$,$hoverIconColor:b,$defaultTextColor:x,$disabledTextColor:h,$color:x,$position:"relative",disabled:l||c}),a.createElement(rt,{$flexDirection:"row",$alignItems:"center",$gap:r?"space-between-xs":"space-between-none",$justifyContent:"center"},!i&&j,a.createElement(ot,{$font:"heading-7"},r),i&&j)))},co=function(e){var n=e.element,t=e.isTrailingIcon,r=e.iconName,o=e.children,i=I(e,["element","isTrailingIcon","iconName","children"]);return a.createElement(ao,S({element:null!=n?n:"button"},i,{isTrailingIcon:t,iconName:r,defaultIconColor:"white",disabledIconColor:"white",disabledIconBackground:"bg-btn-primary-disabled",defaultIconBackground:"black",hoverIconBackground:"bg-btn-primary-hover",defaultTextColor:"text-primary",hoverTextColor:"bg-btn-primary-hover",disabledTextColor:"text-disabled",iconBackgroundSize:"all-spacing-7",iconSize:"all-spacing-6"}),o)},lo=s({currentValue:"default",name:"default"}),so=function(e){var n=e.name,t=e.children,r=e.label,o=e.onChange,i=e.$font,l=void 0===i?"body-1-bold":i,s=e.$gap,d=void 0===s?"space-between-s":s,u=e.disabled,p=e.value,f=e.defaultValue,g=void 0===f?"":f,b=I(e,["name","children","label","onChange","$font","$gap","disabled","value","defaultValue"]),h=O(c(g),2),m=h[0],v=h[1];return a.createElement(rt,S({role:"radiogroup",$gap:d},b),r&&a.createElement(Lt,{$font:l},r),a.createElement(lo.Provider,{value:{currentValue:null!=p?p:m,name:n,disabled:u,onValueUpdated:function(e){void 0===p&&v(e.target.value),o&&o(e)}}},t))},uo=e(Lt)(Or||(Or=D(["\n ","\n\n display: flex;\n ","\n ","\n"],["\n ","\n\n display: flex;\n ","\n ","\n"])),(function(e){return!e.disabled&&n(jr||(jr=D(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))}),V("gap",(function(e){return e.$labelGap}),ne),V("align-items",(function(e){return e.$labelAlignItems}))),po=e.input.attrs({type:"radio"})(Dr||(Dr=D(["\n position: absolute;\n opacity: 0;\n ","\n"],["\n position: absolute;\n opacity: 0;\n ","\n"])),(function(e){return!e.disabled&&n(Nr||(Nr=D(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))})),fo=e(rt)(Rr||(Rr=D(["\n border-radius: 50%;\n\n ","\n\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"],["\n border-radius: 50%;\n\n ","\n\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"])),(function(e){return!e.$disableFocusRing&&n(Tr||(Tr=D(["\n ",':focus-visible ~ &::before {\n content: "";\n height: ',";\n width: ",';\n background: "transparent"\n display: block;\n position: absolute;\n border-radius: 50%;\n border: '," ",";\n box-shadow: ",";\n }"],["\n ",':focus-visible ~ &::before {\n content: "";\n height: ',";\n width: ",';\n background: "transparent"\n display: block;\n position: absolute;\n border-radius: 50%;\n border: '," ",";\n box-shadow: ",";\n }"])),po,ne("all-spacing-7"),ne("all-spacing-7"),un("border-solid-m"),z("grey60"),"inset 0 0 0 0.13rem ".concat(z("lemon")))}),po,(function(e){return ne(e.$radioInnerSize)}),(function(e){return ne(e.$radioInnerSize)}),z("black"),un("border-solid-m"),z("white")),go=e(fo)(Ar||(Ar=D(["\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"],["\n ",':checked ~ &::after {\n content: "";\n height: ',";\n width: ",";\n background: ",";\n position: absolute;\n border-radius: 50%;\n border: "," ",";\n }\n"])),po,(function(e){return ne(e.$radioInnerSize)}),(function(e){return ne(e.$radioInnerSize)}),z("bg-btn-primary-disabled"),un("border-solid-m"),z("white")),bo=p((function(e,n){var t=d(lo),r=t.currentValue,o=t.name,i=t.onValueUpdated,c=e.id,l=e.label,s=e.value,u=e.tabIndex,p=e.disabled,f=e.$labelGap,g=void 0===f?"space-between-ssx":f,b=e.$labelAlignItems,h=void 0===b?"center":b,m=e.$font,v=void 0===m?"body-1":m,y=e["data-testid"],w=e.disableFocusRing,x=void 0!==w&&w,$=e.radioInnerSize,C=void 0===$?"all-spacing-4":$,E=e.radioOuterSize,k=void 0===E?"all-spacing-6":E,M=e.radioBorderWidth,j=void 0===M?"border-solid-m":M,O=e.radioBackground,N=void 0===O?"bg-primary":O,D=e.checkedRadioBorderWidth,T=void 0===D?"border-solid-m":D,R=I(e,["id","label","value","tabIndex","disabled","$labelGap","$labelAlignItems","$font","data-testid","disableFocusRing","radioInnerSize","radioOuterSize","radioBorderWidth","radioBackground","checkedRadioBorderWidth"]),A=s===r,z=p||t.disabled,B=A?T:j;return a.createElement(nt,S({},R),a.createElement(uo,{htmlFor:c,$labelAlignItems:h,$labelGap:g,$font:v,"data-testid":y,disabled:z},a.createElement(po,{name:o,id:c,value:s,onChange:i,checked:s===r,tabIndex:u,disabled:z,ref:n}),z?a.createElement(go,{$height:k,$width:k,$ba:B,$borderColor:"bg-btn-primary-disabled",$flexGrow:0,$flexShrink:0,$alignItems:"center",$justifyContent:"center",$background:N,$disableFocusRing:!!x,$radioInnerSize:C}):a.createElement(fo,{$height:k,$width:k,$ba:B,$borderColor:"black",$flexGrow:0,$flexShrink:0,$alignItems:"center",$justifyContent:"center",$background:N,$disableFocusRing:!!x,$radioInnerSize:C}),l))})),ho=e(p((function(e,n){var t=e.onHovered,r=I(e,["onHovered"]),o=u(Date.now());return a.createElement("input",S({ref:n,type:"checkbox",onMouseEnter:function(){o.current=Date.now()},onMouseLeave:function(){var n=Date.now()-o.current;t&&t(e.value,e.id,n)},name:e.id},r))})))(wo||(wo=D(["\n /* removing default appearance */\n -webkit-appearance: none;\n appearance: none;\n cursor: pointer;\n margin: 0;\n outline: none;\n ","\n ","\n ","\n ","\n\n border-color: ",";\n\n &:checked {\n ",";\n }\n\n &:disabled {\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n border-color: ",";\n }\n }\n"],["\n /* removing default appearance */\n -webkit-appearance: none;\n appearance: none;\n cursor: pointer;\n margin: 0;\n outline: none;\n ","\n ","\n ","\n ","\n\n border-color: ",";\n\n &:checked {\n ",";\n }\n\n &:disabled {\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n border-color: ",";\n }\n }\n"])),jn,Y,ln,_e,(function(e){return z(e.$uncheckedBorderColor)}),(function(e){return n(yo||(yo=D(["\n background: ",";\n border-color: ",";\n "],["\n background: ",";\n border-color: ",";\n "])),z(e.$checkedBackground),z(e.$checkedBorderColor))}),(function(e){return z(e.$checkedBackground)}));ho.defaultProps={$borderRadius:"border-radius-xs",$ba:"border-solid-m",$borderColor:"text-primary",$checkedBackground:"text-primary"};var mo=e(ho)(xo||(xo=D(['\n /* @media wrapper is required to prevent hover effect on iOS Safari */\n\n @media (hover: hover) {\n &:hover:not(&:checked):not(&:disabled)::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 60%;\n transform: translate(-50%, -50%);\n border-radius: ',";\n background: ",";\n }\n }\n"],['\n /* @media wrapper is required to prevent hover effect on iOS Safari */\n\n @media (hover: hover) {\n &:hover:not(&:checked):not(&:disabled)::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 60%;\n transform: translate(-50%, -50%);\n border-radius: ',";\n background: ",";\n }\n }\n"])),(function(e){return pn(e.$hoverBorderRadius)}),(function(e){return z(e.$checkedBackground)}));mo.defaultProps={$hoverBorderRadius:"border-radius-xs"};var vo=n($o||($o=D(["\n &:focus-visible {\n box-shadow: ",";\n }\n"],["\n &:focus-visible {\n box-shadow: ",";\n }\n"])),Dn("drop-shadow-centered-lemon"));e(ho)(Co||(Co=D(["\n ","\n"],["\n ","\n"])),vo);var yo,wo,xo,$o,Co,Eo,ko,Mo,So,Io,jo,Oo,No,Do,To,Ro,Ao,zo,Bo,Lo,Zo=e(mo)(Eo||(Eo=D(["\n ","\n"],["\n ","\n"])),vo),Po=e(Lt)(ko||(ko=D(["\n display: flex;\n align-items: center;\n ","\n ","\n"],["\n display: flex;\n align-items: center;\n ","\n ","\n"])),V("gap",(function(e){return e.labelGap}),ne),V("align-items",(function(e){return e.labelAlignItems}))),Fo=e(Po)(Mo||(Mo=D(["\n ","\n @media (hover: hover) {\n &:hover {\n text-decoration: ",";\n }\n }\n"],["\n ","\n @media (hover: hover) {\n &:hover {\n text-decoration: ",";\n }\n }\n"])),(function(e){return"\n ".concat(e.pointerEvents?"pointer-events: ".concat(e.pointerEvents,";"):"","\n ").concat(e.disabled?"pointer-events: none;":"cursor: pointer;","\n ")}),(function(e){return e.disabled?"none":"underline"})),qo=e(nt)(So||(So=D(["\n pointer-events: none;\n opacity: 0;\n\n input:checked + & {\n opacity: 1;\n }\n"],["\n pointer-events: none;\n opacity: 0;\n\n input:checked + & {\n opacity: 1;\n }\n"]))),Wo=function(e){var n=e.size,t=void 0===n?"all-spacing-6":n,r=e.iconPadding,o=void 0===r?"inner-padding-none":r,i=e.internalCheckbox,c=e.checkedIcon,l=void 0===c?a.createElement(Qt,{iconName:"tick",$width:"100%",$height:"100%",$colorFilter:"white"}):c;return a.createElement(nt,{$position:"relative",$width:t,$height:t},i,a.createElement(qo,{$position:"absolute",$top:"all-spacing-0",$left:"all-spacing-0",$pa:o,$width:t,$height:t},l))},_o=function(e){var n=e.id,t=e.value,r=e.displayValue,o=void 0===r?t:r,i=e.disabled,c=void 0!==i&&i,l=e.defaultChecked,s=e.checked,d=e.onChange,p=e.onFocus,f=e.onBlur,g=e.onHovered,b=e.iconPadding,h=void 0===b?"inner-padding-none":b,m=e.hoverBorderRadius,v=void 0===m?"border-radius-xs":m,y=e.checkboxSize,w=void 0===y?"all-spacing-6":y,x=e.checkboxBorder,$=void 0===x?"border-solid-m":x,C=e.checkboxBorderRadius,E=void 0===C?"border-radius-xs":C,k=e.defaultColor,M=void 0===k?"text-primary":k,j=e.uncheckedBorderColor,O=void 0===j?"border-neutral":j,N=e.checkedBorderColor,D=void 0===N?"border-primary":N,T=e.disabledColor,R=void 0===T?"text-disabled":T,A=e.labelGap,z=void 0===A?"space-between-s":A,B=e.labelAlignItems,L=void 0===B?"center":B,Z=e.checkedBackgroundFill,P=void 0===Z||Z,F=e.checkedIcon,q=e["data-testid"],W=I(e,["id","value","displayValue","disabled","defaultChecked","checked","onChange","onFocus","onBlur","onHovered","iconPadding","hoverBorderRadius","checkboxSize","checkboxBorder","checkboxBorderRadius","defaultColor","uncheckedBorderColor","checkedBorderColor","disabledColor","labelGap","labelAlignItems","checkedBackgroundFill","checkedIcon","data-testid"]),_=u(Date.now()),H=c?R:M,G=c?R:D,V=c?R:D;return a.createElement(Po,{htmlFor:n,labelGap:z,labelAlignItems:L,$color:H,disabled:c,onMouseEnter:function(){_.current=Date.now()},onMouseLeave:function(){var e=Date.now()-_.current;g&&g(t,n,e)},"data-testid":q},a.createElement(Wo,{size:w,internalCheckbox:a.createElement(Zo,S({id:n,value:t,$width:w,$height:w,$ba:$,$borderRadius:E,$borderColor:M,$checkedBackground:P?G:null,$checkedBorderColor:V,$uncheckedBorderColor:O,$hoverBorderRadius:v,onChange:d,onFocus:p,onBlur:f,defaultChecked:l,checked:s,disabled:c},W)),checkedIcon:F,iconPadding:h}),o)},Ho=e.input(Io||(Io=D(["\n appearance: none !important;\n border: 0;\n border-radius: 0;\n border-color: transparent;\n box-shadow: none;\n font-family: inherit;\n background: transparent;\n outline: none;\n color: inherit;\n\n @media (max-width: ","px) {\n /* iOS zooms in on inputs with font sizes <16px on mobile */\n font-size: 16px;\n }\n\n ::placeholder {\n color: ",";\n }\n\n ::-webkit-search-decoration,\n ::-webkit-search-cancel-button,\n ::-webkit-search-results-button,\n ::-webkit-search-results-decoration {\n appearance: none;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n ","\n ","\n"],["\n appearance: none !important;\n border: 0;\n border-radius: 0;\n border-color: transparent;\n box-shadow: none;\n font-family: inherit;\n background: transparent;\n outline: none;\n color: inherit;\n\n @media (max-width: ","px) {\n /* iOS zooms in on inputs with font sizes <16px on mobile */\n font-size: 16px;\n }\n\n ::placeholder {\n color: ",";\n }\n\n ::-webkit-search-decoration,\n ::-webkit-search-cancel-button,\n ::-webkit-search-results-button,\n ::-webkit-search-results-decoration {\n appearance: none;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n ","\n ","\n"])),G("small"),(function(e){var n=e.theme;return n&&n.uiColors&&z(n.uiColors["text-subdued"])}),ln,_e),Go=function(e){e.onInitialFocus,e.onFocus;var n=I(e,["onInitialFocus","onFocus"]),t=u(!1);return a.createElement(Ho,S({},n,{onFocus:function(n){!t.current&&e.onInitialFocus&&(e.onInitialFocus(n),t.current=!0),e.onFocus&&e.onFocus(n)}}))},Vo=e(rt)(Do||(Do=D(["\n &:hover {\n cursor: text;\n }\n\n &:focus-within {\n box-shadow: ",";\n }\n\n background: ",";\n\n ","\n\n ","\n\n ","\n"],["\n &:hover {\n cursor: text;\n }\n\n &:focus-within {\n box-shadow: ",";\n }\n\n background: ",";\n\n ","\n\n ","\n\n ","\n"])),(function(e){return e.$focusRingDropShadows.map((function(e){return Dn(e)})).join(",")}),(function(e){return z(e.$background)}),(function(e){return!e.$readOnly&&n(jo||(jo=D(["\n @media (hover: hover) {\n &:hover:not(:focus-within) {\n background: ",";\n }\n }\n "],["\n @media (hover: hover) {\n &:hover:not(:focus-within) {\n background: ",";\n }\n }\n "])),z(e.$hoverBackground))}),(function(e){return e.$readOnly&&n(Oo||(Oo=D(["\n border-color: ",";\n color: ",";\n "],["\n border-color: ",";\n color: ",";\n "])),z(e.$readOnlyBorderColor),z(e.$readOnlyColor))}),(function(e){return e.$disabled&&n(No||(No=D(["\n background: ",";\n color: ",";\n &:hover {\n cursor: not-allowed;\n }\n "],["\n background: ",";\n color: ",";\n &:hover {\n cursor: not-allowed;\n }\n "])),z(e.$disabledBackgroundColor),z(e.$disabledColor))})),Yo=function(e){var n=e.type,t=void 0===n?"text":n,r=e.borderColor,o=void 0===r?"border-primary":r,i=e.readOnlyBorderColor,c=void 0===i?"border-neutral":i,l=e.focusRingDropShadows,s=void 0===l?["drop-shadow-centered-lemon","drop-shadow-centered-grey"]:l,d=e.background,u=void 0===d?"bg-primary":d,p=e.hoverBackground,f=void 0===p?"bg-neutral":p,g=e.disabledBackgroundColor,b=void 0===g?"bg-neutral":g,h=e.highlightBackgroundColor,m=void 0===h?"bg-decorative5-main":h,v=e.color,y=void 0===v?"text-primary":v,w=e.disabledColor,x=void 0===w?"text-disabled":w,$=e.readOnlyColor,C=void 0===$?"text-subdued":$,E=e.validity,k=e.iconColor,M=void 0===k?"icon-inverted":k,j=e.validBorderColor,O=void 0===j?"border-success":j,N=e.invalidBorderColor,D=void 0===N?"border-error":N,T=e.validIconColor,R=void 0===T?"icon-success":T,A=e.invalidIconColor,z=void 0===A?"border-error":A,B=e.iconName,L=e.iconAlt,Z=e.isTrailingIcon,P=void 0!==Z&&Z,F=e.isHighlighted,q=void 0!==F&&F,W=e.wrapperWidth,_=e.wrapperMaxWidth,H=I(e,["type","borderColor","readOnlyBorderColor","focusRingDropShadows","background","hoverBackground","disabledBackgroundColor","highlightBackgroundColor","color","disabledColor","readOnlyColor","validity","iconColor","validBorderColor","invalidBorderColor","validIconColor","invalidIconColor","iconName","iconAlt","isTrailingIcon","isHighlighted","wrapperWidth","wrapperMaxWidth"]),G=u,V=o,Y=M,U=c;switch(!0){case"valid"===E:V=O,Y=R,U=O;break;case"invalid"===E:V=D,Y=z,U=D;break;case q:G=m}return a.createElement(Vo,{$height:"fit-content",$width:W,$maxWidth:_,$borderRadius:"border-radius-s",$ba:"border-solid-m",$borderColor:V,$focusRingDropShadows:s,$background:G,$hoverBackground:f,$disabledBackgroundColor:b,$readOnlyBorderColor:U,$disabledColor:x,$readOnlyColor:C,$color:y,$alignItems:"center",$position:"relative",$gap:"space-between-s",$ph:"inner-padding-l",$disabled:!!H.disabled,$readOnly:!!H.readOnly,onClick:function(e){var n;null===(n=e.currentTarget.querySelector("input"))||void 0===n||n.focus()}},!P&&B&&a.createElement(Qt,{iconName:B,$colorFilter:Y,$pointerEvents:"none",$width:"all-spacing-7",alt:L}),a.createElement(rt,{$flexGrow:1},a.createElement(Go,S({type:t},H,{$width:"100%",$pv:"inner-padding-l",$height:"all-spacing-12"}))),P&&B&&a.createElement(Qt,{iconName:B,$colorFilter:Y,$pointerEvents:"none",$width:"all-spacing-7",alt:L}))},Uo=function(e){var n=e.$background,t=void 0===n?"bg-decorative5-main":n,r=e.$borderRadius,o=void 0===r?"border-radius-circle":r,i=e.$width,c=void 0===i?"all-spacing-9":i,l=e.$height,s=void 0===l?"all-spacing-9":l,d=e.$pa,u=void 0===d?"inner-padding-ssx":d,p=e.className,f=I(e,["$background","$borderRadius","$width","$height","$pa","className"]),g=f.iconName?a.createElement(Qt,S({},f,{$height:"100%",$width:"100%"})):a.createElement(St,S({},f,{$height:"100%",$width:"100%"}));return a.createElement(nt,{className:p,$background:t,$borderRadius:o,$width:c,$height:s,$pa:u},g)},Xo=e(rt)(To||(To=D(["\n width: max-content;\n pointer-events: none;\n"],["\n width: max-content;\n pointer-events: none;\n"]))),Ko=ne("all-spacing-4"),Jo=e.svg(Lo||(Lo=D(["\n position: absolute;\n ","\n ","\n"],["\n position: absolute;\n ","\n ","\n"])),(function(e){switch(e.$tooltipPosition){case"bottom-right":return n(Ro||(Ro=D(["\n top: -",";\n right: ",";\n transform: scale(-1, -1);\n "],["\n top: -",";\n right: ",";\n transform: scale(-1, -1);\n "])),Ko,ne("all-spacing-0"));case"top-right":return n(Ao||(Ao=D(["\n bottom: -",";\n right: ",";\n transform: scaleX(-1);\n "],["\n bottom: -",";\n right: ",";\n transform: scaleX(-1);\n "])),Ko,ne("all-spacing-0"));case"top-left":return n(zo||(zo=D(["\n bottom: -",";\n left: ",";\n "],["\n bottom: -",";\n left: ",";\n "])),Ko,ne("all-spacing-0"));default:return n(Bo||(Bo=D(["\n top: -",";\n left: ",";\n transform: scaleY(-1);\n "],["\n top: -",";\n left: ",";\n transform: scaleY(-1);\n "])),Ko,ne("all-spacing-0"))}}),V("fill",(function(e){return e.$fill}),z)),Qo=function(e){var n=e.children,t=e.$background,r=void 0===t?"black":t,o=e.$color,i=void 0===o?"text-inverted":o,c=e.tooltipPosition,l=void 0===c?"bottom-left":c,s=I(e,["children","$background","$color","tooltipPosition"]);return a.createElement(Xo,S({role:"tooltip"},s,{$position:"relative",$background:r,$color:i,$maxWidth:["all-spacing-20","all-spacing-22"]}),n,a.createElement(Jo,{width:Ko,height:Ko,$fill:r,$tooltipPosition:l,"data-testid":"tooltip-arrow"},a.createElement("path",{d:"M0 0H16L8 8L0 16V0Z"})))},ei=function(e){var n,t=e.tooltipPosition,r=e.children,o=e.tooltip,i=e.isOpen,l=e.domContainer,s=I(e,["tooltipPosition","children","tooltip","isOpen","domContainer"]),d=O(c(null),2),u=d[0],p=d[1],g=O(c(!0),2),b=g[0],h=g[1],m=O(c(l),2),v=m[0],y=m[1],w=i&&b,x=O(c(),2),$=x[0],C=x[1],k=((n={$borderRadius:"border-radius-m"})[function(){switch(t){case"bottom-right":return"$btrr";case"top-right":return"$bbrr";case"top-left":return"$bblr";default:return"$btlr"}}()]="border-radius-square",n);return f((function(){if(u){var e=!1,n=function(){e||(requestAnimationFrame((function(){e=!1;var n=u.getBoundingClientRect();C({top:n.top,left:n.left,width:n.width,height:n.height})})),e=!0)},t=new IntersectionObserver((function(e){h(e.every((function(e){return e.isIntersecting})))}));t.observe(u);var r=new ResizeObserver(n);return r.observe(u),window.addEventListener("scroll",n,!0),window.addEventListener("resize",n),function(){r.disconnect(),t.disconnect(),window.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n)}}}),[u]),f((function(){v||y(document.body)}),[v]),a.createElement(a.Fragment,null,v&&E(w&&a.createElement(nt,{$position:"fixed",style:$,$pointerEvents:"none",$zIndex:"modal-dialog"},a.createElement(nt,S({$width:"fit-content",$height:"fit-content",$position:"absolute"},function(e){var n={};switch(e){case"top-left":case"top-right":n.$top="space-between-none",n.$transform="translateY(calc(-100% - ".concat(ne("space-between-s"),"))");break;default:n.$bottom="space-between-none",n.$transform="translateY(calc(100% + ".concat(ne("space-between-s"),"))")}switch(e){case"top-left":case"bottom-left":n.$left="space-between-none";break;default:n.$right="space-between-none"}return n}(t)),a.createElement(Qo,S({$background:"bg-decorative5-main",$color:"text-primary",$pv:"inner-padding-m",$ph:"inner-padding-xl",$font:"heading-light-7",tooltipPosition:t},s,k),o))),v),a.createElement("div",{ref:function(e){var n;p(null!==(n=null==e?void 0:e.firstElementChild)&&void 0!==n?n:null)},style:{display:"contents"}},r))};var ni,ti,ri=e.a(ni||(ni=D(["\n border-radius: 50%;\n display: flex;\n width: fit-content;\n height: fit-content;\n border: none;\n padding: 0;\n outline: none;\n\n img {\n pointer-events: none;\n }\n\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n\n &:hover,\n &:focus-visible {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:disabled {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n border-radius: 50%;\n display: flex;\n width: fit-content;\n height: fit-content;\n border: none;\n padding: 0;\n outline: none;\n\n img {\n pointer-events: none;\n }\n\n &:not(:disabled) {\n cursor: pointer;\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n\n &:hover,\n &:focus-visible {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:disabled {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),z("bg-btn-primary"),at("text-inverted"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-btn-primary-disabled"),at("text-inverted")),oi=function(e){var n=e.as,t=e.label,r=void 0===t?"Back":t,o=I(e,["as","label"]);return a.createElement(ri,S({as:null!=n?n:"a","aria-label":r},o),a.createElement(Qt,{alt:"",iconName:"chevron-left",$width:"all-spacing-8",$height:"all-spacing-8"}))},ii=function(e){var n=e.listItems,t=I(e,["listItems"]);return a.createElement(ot,S({},t),n.map((function(e,n){return a.createElement(ot,{key:n},0!==n&&a.createElement(ot,null," • "),a.createElement(ot,null,e))})))},ai=e(rt)(ti||(ti=D([""],[""])));ai.defaultProps={$pa:"inner-padding-xl",$flexDirection:"column",$flexGrow:1,$position:"relative"};var ci,li=e(nt)(ci||(ci=D(["\n & > * {\n width: 100%;\n height: 100%;\n }\n"],["\n & > * {\n width: 100%;\n height: 100%;\n }\n"]))),si=function(e){var n=e.backgroundElement,t=e.children,r=I(e,["backgroundElement","children"]);return a.createElement(ai,S({},r),a.createElement(li,{$position:"absolute",$inset:"space-between-none","aria-hidden":!0},n),a.createElement(nt,{$position:"relative"},t))},di={name:"default",uiColors:{"text-primary":"black","text-subdued":"grey60","text-error":"red","text-disabled":"grey50","text-link-active":"navy","text-link-hover":"navy110","text-link-pressed":"navy120","text-link-visited":"navy120","text-inverted":"white","text-success":"oakGreen","text-warning":"amber","bg-primary":"white","bg-neutral":"grey20","bg-neutral-stronger":"grey30","bg-btn-primary":"black","bg-btn-primary-hover":"grey60","bg-btn-primary-disabled":"grey50","bg-btn-secondary":"white","bg-btn-secondary-hover":"grey20","bg-btn-secondary-disabled":"grey30","bg-icon":"black","bg-icon-hover":"grey60","bg-decorative1-main":"mint","bg-decorative1-subdued":"mint50","bg-decorative1-very-subdued":"mint30","bg-decorative2-main":"aqua","bg-decorative2-subdued":"aqua50","bg-decorative2-very-subdued":"aqua30","bg-decorative3-main":"lavender","bg-decorative3-subdued":"lavender50","bg-decorative3-very-subdued":"lavender30","bg-decorative4-main":"pink","bg-decorative4-subdued":"pink50","bg-decorative4-very-subdued":"pink30","bg-decorative5-main":"lemon","bg-decorative5-subdued":"lemon50","bg-decorative5-very-subdued":"lemon30","bg-correct":"mint50","bg-incorrect":"red30","icon-main":"white","icon-inverted":"black","icon-disabled":"grey50","icon-brand":"oakGreen","icon-success":"oakGreen","icon-error":"red","icon-warning":"amber","border-primary":"black","border-inverted":"white","border-neutral":"grey50","border-neutral-lighter":"grey40","border-brand":"oakGreen","border-success":"oakGreen","border-error":"red","border-warning":"amber","border-decorative1":"mint","border-decorative1-stronger":"mint110","border-decorative2":"aqua","border-decorative2-stronger":"aqua110","border-decorative3":"lavender","border-decorative3-stronger":"lavender110","border-decorative4":"pink","border-decorative4-stronger":"pink110","border-decorative5":"lemon","border-decorative5-stronger":"lemon110","border-decorative6":"amber50","border-decorative6-stronger":"amber",transparent:"transparent"}};function ui(e){if(e)return e in sn?"".concat(K(sn[e]),"rem"):void 0}var pi,fi,gi,bi,hi,mi,vi,yi,wi,xi,$i,Ci,Ei=e.svg(pi||(pi=D(["\n ","\n ","\n ","\n"],["\n ","\n ","\n ","\n"])),V("fill",(function(e){return e.$fill}),z),V("stroke",(function(e){return e.$stroke}),z),V("stroke-width",(function(e){return e.$strokeWidth}),ui)),ki=function(e){var n=e.$pa,t=void 0===n?"inner-padding-xl":n,r=e.fill,o=void 0===r?"bg-decorative1-main":r,i=e.stroke,c=e.strokeWidth,l=e.$width,s=void 0===l?"fit-content":l,d=I(e,["$pa","fill","stroke","strokeWidth","$width"]);return a.createElement(si,S({$pa:t,$width:s,backgroundElement:a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 457 120",preserveAspectRatio:"none",$fill:o,$stroke:i,$strokeWidth:c},a.createElement("path",{d:"M27.442 2.59c5.262-.362 11.96-.656 18.624-.932 4.374-.19 8.748-.371 12.712-.578 1.367-.07 3.042-.087 4.716-.095C65.032.976 66.57.959 67.903.907 91.858-.017 115.164.268 139.325.57l6.22.078c20.333.12 40.768.086 61.033-.13 6.664-.025 13.294-.043 19.957-.06C243.656.415 260.777.363 277.83.234c8.85-.07 17.667-.052 26.518-.035 12.132.026 24.366.052 36.771-.147 8.475-.138 17.633.087 26.757.302 3.725.087 7.45.182 11.107.25 3.69.061 7.347.139 10.969.217 4.511.095 8.988.19 13.499.259 13.464.207 30.619 1.519 30.619 1.519 3.588.449 7.074 1.32 10.286 2.59 2.973 1.304 4.682 4.135 6.391 6.967.717 1.165 1.435 2.33 2.221 3.384.273.363.342.812.376 1.26.034.406.102.82.307 1.175 3.52 6.388 2.427 12.604 1.299 19.044a27.243 27.243 0 0 0-.273 1.658 70.082 70.082 0 0 0 .478 16.273l.205 5.31c.171 4.575.342 9.133.854 13.683.274 2.357.205 4.705.137 7.07-.102 3.238-.205 6.492.547 9.808.547 2.261-.308 4.705-1.162 7.13-.342.993-.684 1.986-.923 2.962-.239.984-.546 1.951-.82 2.926-.342 1.2-.718 2.392-.991 3.6-1.196 5.379-4.511 8.435-11.756 9.134-2.392.233-4.75.518-7.142.855h-6.937c-5.263.371-11.961.656-18.624.932-4.375.19-8.749.371-12.713.579-1.367.069-3.041.086-4.716.095-1.538.008-3.075.025-4.408.086-23.956.924-47.262.639-71.422.337l-6.186-.078a3693.945 3693.945 0 0 0-61.033.129c-6.664.026-13.294.044-19.958.061-17.121.043-34.241.095-51.294.224-8.851.069-17.667.052-26.518.035-12.132-.026-24.366-.052-36.771.147-8.475.138-17.633-.087-26.758-.303-3.725-.086-7.45-.181-11.106-.25-3.69-.06-7.313-.138-10.97-.216-4.51-.095-8.987-.19-13.498-.259-18.932-.293-30.175-1.079-33.66-2.754-1.47-.38-2.871-.837-4.238-1.355-3.076-1.304-4.887-4.135-6.664-6.967-.752-1.165-1.47-2.331-2.29-3.384-.273-.363-.341-.812-.376-1.261-.034-.405-.102-.82-.307-1.174C0 95.664 1.128 89.448 2.324 83.008l.308-1.658c.478-5.421.341-10.869-.513-16.273-.102-1.77-.17-3.548-.24-5.318-.17-4.567-.375-9.125-.888-13.675-.273-2.357-.205-4.705-.136-7.07.102-3.238.205-6.493-.581-9.808-.547-2.262.341-4.705 1.196-7.13.342-.994.717-1.986.99-2.962.24-.984.548-1.96.855-2.927.376-1.2.752-2.39 1.025-3.6C5.605 7.21 9.022 4.154 16.574 3.455c2.495-.233 10.936-.855 10.936-.855l-.069-.009Z",vectorEffect:"non-scaling-stroke"}))},d))},Mi=function(e){var n=e.iconName,t=e.iconColor,r=void 0===t?"text-primary":t,o=e.iconWidth,i=void 0===o?["all-spacing-11","all-spacing-16"]:o,c=e.iconHeight,l=void 0===c?["all-spacing-11","all-spacing-16"]:c,s=e.alt,d=e.$width,u=void 0===d?["all-spacing-13","all-spacing-17"]:d,p=e.$height,f=void 0===p?["all-spacing-13","all-spacing-17"]:p,g=e.$alignItems,b=void 0===g?"center":g,h=e.$justifyContent,m=void 0===h?"center":h,v=I(e,["iconName","iconColor","iconWidth","iconHeight","alt","$width","$height","$alignItems","$justifyContent"]);return a.createElement(ki,S({$width:u,$height:f,$alignItems:b,$justifyContent:m},v),a.createElement(Qt,{iconName:n,alt:s,$height:l,$width:i,$colorFilter:r}))},Si=function(e){return a.createElement(Ei,S({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 866 8",preserveAspectRatio:"none",height:"100%",width:"100%"},e),a.createElement("g",{clipPath:"url(#clip0_175_6785)"},a.createElement("path",{d:"M865.845 2.15897C865.975 1.74492 865.563 1.33087 864.955 1.33087C788.833 1.21257 638.585 4.00739 558.84 1.30129C560.814 1.22736 562.55 1.36044 563.287 1.18299C546.019 0.946396 526.408 1.10906 509.119 1.44917C530.292 -0.0295749 543.785 1.41959 562.289 0.931608C559.556 0.872458 545.347 0.842884 554.436 0.798521C547.538 0.369686 533.003 0.754159 530.27 0.621072C522.113 0.177449 549.794 0.724584 549.23 0.399261C544.219 0.0295749 524.586 0.295749 522.937 0C522.959 0.369686 522.352 0.295749 522.612 0.399261C423.669 0.724584 317.892 0.340111 218.666 0.828096C218.861 0.828096 219.013 0.828096 219.078 0.857671C218.753 0.902033 217.451 0.857671 218.579 0.828096C154.909 1.71534 98.6582 -0.502773 49.7396 2.18854C59.3281 0.0887246 12.145 1.39002 8.34861 1.52311C2.75172 1.44917 6.69991 1.96673 8.13168 1.67098C8.43539 2.91312 0.799314 1.73013 2.20938 3.12015C-18.7247 12.7024 115.622 4.7024 130.504 6.96488C127.011 6.21072 147.056 7.34935 148.705 6.93531C147.859 6.89094 146.362 6.78743 144.692 6.75786C140.396 6.72828 151.525 6.07763 149.486 6.93531C150.354 7.18669 153.282 6.44732 152.935 6.93531C154.714 7.06839 166.385 5.75231 158.814 6.92052C165.647 6.52126 168.077 7.68946 162.046 6.26987C222.332 7.55638 283.247 5.8854 342.34 6.29945C458.66 5.97412 569.839 6.10721 682.124 6.69871C679.932 6.22551 684.532 6.07763 683.36 6.69871C715.076 6.71349 731.801 6.81701 762.432 6.99446C757.486 6.72828 758.68 6.13678 763.821 6.55083C784.278 7.51202 841.353 7.73383 863.784 6.96488C863.35 6.68392 864.804 6.77264 864.782 6.92052C864.955 5.84104 865.259 5.84104 864.717 5.95934C864.76 5.95934 863.697 6.32902 864.001 5.73752C864.153 5.44177 864.999 5.60444 864.088 5.30869C864.652 5.30869 866.192 4.90943 864.608 5.02773C861.723 4.17006 866.778 4.99815 865.91 4.42144C865.519 4.12569 865.606 2.95749 865.845 2.15897ZM526.43 0.606285C528.448 0.650647 526.539 0.754159 525.476 0.606285C524.825 0.547135 525.042 0.547135 526.43 0.606285ZM17.0694 1.61183C17.0694 1.61183 17.3731 1.58226 17.308 1.62662C17.2646 1.6414 17.0694 1.6414 17.0694 1.61183ZM18.0889 1.15342C18.1974 1.15342 18.2408 1.15342 18.3059 1.16821H17.8286C17.8286 1.16821 17.9805 1.15342 18.0889 1.15342ZM18.371 1.41959C18.371 1.41959 18.3059 1.40481 18.371 1.39002V1.41959ZM36.8971 2.04067C30.6928 1.68577 40.9321 1.62662 42.6242 2.08503C42.4072 2.08503 37.4611 2.04067 36.8971 2.04067ZM63.6451 1.34566C67.5933 1.34566 62.4302 1.41959 61.736 1.36044C62.018 1.34566 62.8641 1.34566 63.6451 1.34566ZM84.8395 3.88909C84.5141 3.88909 84.6226 3.87431 84.8395 3.87431V3.88909ZM92.1068 1.58226C80.2405 2.24769 61.6926 1.878 59.0461 1.61183C67.2028 1.43438 85.2734 1.52311 95.3608 1.47874C94.3629 1.47874 93.2565 1.52311 92.1068 1.58226ZM97.183 2.41035C96.6841 2.38078 97.5084 2.30684 97.4867 2.41035C97.4867 2.41035 97.3566 2.41035 97.183 2.41035ZM95.9899 1.47874C96.8142 1.44917 97.5518 1.46396 98.1809 1.47874C97.5084 1.49353 96.7709 1.49353 95.9899 1.47874ZM100.589 1.53789C100.589 1.53789 99.7862 1.50832 98.5714 1.47874C100.415 1.50832 101.348 1.46396 102.368 1.52311C102.238 1.53789 101.587 1.53789 100.589 1.53789ZM101.869 1.18299C101.869 1.18299 102.997 1.15342 103.105 1.18299C102.867 1.21257 101.999 1.21257 101.869 1.18299ZM107.704 1.84843C107.704 1.84843 107.509 1.84843 107.422 1.83364C107.769 1.83364 107.856 1.83364 107.704 1.84843ZM139.29 1.21257C138.704 1.18299 139.767 1.13863 139.724 1.18299C139.659 1.19778 139.463 1.21257 139.29 1.21257ZM141.633 5.6488C140.982 5.6488 141.199 5.60444 141.633 5.61922V5.6488ZM177.882 6.50647C162.654 6.71349 183.132 5.97412 183.588 5.73752C183.588 5.78189 181.006 6.50647 177.882 6.50647ZM185.779 0.946396H184.564C183.631 0.916821 186.56 0.931608 185.779 0.946396ZM209.945 1.00555C210.488 0.975971 210.813 0.975971 211.355 1.00555C212.18 1.02033 209.099 1.02033 209.945 1.00555ZM202.244 6.41775C199.077 6.46211 192.873 6.50647 188.989 6.66913C187.818 5.67837 202.873 6.38817 202.244 6.41775ZM213.264 6.41775C212.874 6.46211 208.492 6.46211 208.231 6.43253C207.667 6.50647 214.175 5.45656 213.264 6.41775ZM218.905 6.19593C218.601 6.19593 215.434 6.38817 215.087 6.38817C215.412 6.28466 220.336 6.01849 218.905 6.19593ZM226.801 0.857671C226.953 0.842884 227.343 0.842884 227.495 0.857671C227.3 0.872458 226.996 0.872458 226.801 0.857671ZM256.152 0.768946C258.018 0.768946 255.914 0.783734 255.588 0.783734C255.718 0.768946 255.914 0.768946 256.152 0.768946ZM252.855 4.00739C252.291 3.97782 254.742 3.26802 254.634 3.62292C254.46 3.66728 253.115 4.05176 252.855 4.00739ZM257.757 4.99815C257.302 4.92422 255.415 4.33272 254.677 4.43623C255.501 4.24399 258.625 4.87985 257.757 4.99815ZM254.785 3.46026C255.133 3.43068 257.541 3.38632 257.259 3.43068C257.888 3.46026 254.937 3.48983 254.785 3.46026ZM259.363 3.59335C258.669 3.59335 257.757 3.10536 257.757 3.07579C257.974 3.07579 261.836 2.88355 259.363 3.59335ZM258.886 2.01109C256.456 2.04067 254.72 1.65619 254.417 1.62662C253.332 1.44917 266.543 1.70055 258.886 2.01109ZM264.157 4.64325L263.181 4.02218C262.226 3.44547 265.35 4.40665 264.157 4.64325ZM289.712 3.50462C290.71 3.50462 291.686 4.24399 290.948 4.25878C288.432 3.90388 285.655 2.91312 289.712 3.50462ZM271.424 2.20333C273.203 2.45471 281.577 1.00555 275.394 2.54344C275.763 2.42514 267.389 2.15897 271.424 2.20333ZM275.893 3.12015C276.717 2.79482 278.345 3.6525 278.019 4.09612C277.542 4.09612 275.893 3.20887 275.893 3.12015ZM284.223 2.97227C281.447 2.45471 286.935 2.21811 287.022 2.07024C287.022 2.1146 285.351 3.01664 284.223 2.97227ZM290.862 5.36784C288.822 5.36784 287.477 5.33826 287.477 5.33826C286.653 3.91867 298.172 6.0037 290.862 5.36784ZM296.719 5.07209C293.053 4.39187 298.671 4.5841 298.91 4.61368C298.91 4.64325 297.717 5.07209 296.719 5.07209ZM317.219 3.43068C320.126 4.62847 316.178 3.7708 315.744 3.4159C315.917 3.38632 316.612 3.40111 317.219 3.43068ZM304.702 4.39187C302.967 5.13124 304.116 4.03697 304.42 3.93346C305.526 3.69686 306.459 4.12569 304.702 4.39187ZM307.587 3.35675C307.457 3.16451 302.858 2.43993 305.808 2.67653C306.741 2.5878 307.001 2.7061 305.895 2.67653C306.958 2.7061 307.978 3.32717 307.587 3.35675ZM310.928 2.54344C309.561 2.54344 311.253 1.78928 312.533 1.98152C312.403 1.9963 311.362 2.54344 310.928 2.54344ZM319.649 5.56007C320.343 5.58965 309.323 5.66359 314.572 5.54529C317.284 6.31423 322.751 2.98706 319.649 5.56007ZM329.411 5.24954C326.808 5.27911 331.884 4.64325 331.992 4.61368C332.339 4.67283 330.235 5.2939 329.411 5.24954ZM335.355 2.24769C334.704 2.01109 338.023 2.5878 338.413 2.29205C338.023 2.41035 335.897 3.00185 335.355 2.24769ZM346.201 4.12569C343.338 4.12569 344.097 3.97782 346.57 3.82994C349.499 4.52495 348.696 4.42144 346.201 4.12569ZM359.977 3.01664C359.977 3.01664 355.421 3.07579 355.248 3.061C355.226 3.19409 362.211 1.49353 359.977 3.01664ZM413.364 0.902033C414.102 0.857671 414.492 0.872459 414.536 0.902033C415.555 1.70055 411.889 0.842884 413.364 0.902033ZM371.886 1.52311C370.238 2.51386 367.656 1.52311 365.704 1.52311C365.704 1.47874 371.322 1.46396 371.886 1.52311ZM364.966 3.03142C363.816 3.87431 362.905 3.81516 364.25 2.60259C365.205 1.90758 366.919 2.01109 364.966 3.03142ZM370.954 6.01849C369.999 6.01849 366.81 6.01848 366.485 5.91497C367.266 5.8854 375.574 4.92422 370.954 6.01849ZM378.546 6.01849C375.943 5.90019 376.117 5.2939 377.722 5.4122C379.956 5.23475 382.581 5.50093 378.546 6.01849ZM387.267 3.57856C386.312 3.56377 386.963 2.76525 388.178 2.76525C390.413 2.98706 389.87 3.51941 387.267 3.57856ZM393.623 1.80407C389.545 1.58226 393.341 1.12384 394.795 1.34566C397.506 1.00555 397.745 1.37523 393.623 1.80407ZM401.303 5.84104C396.942 5.87061 401.216 5.38263 402.734 5.24954C403.429 5.2939 402.301 5.84104 401.303 5.84104ZM405.207 4.03697C405.164 4.14048 404.904 4.52495 403.472 4.02218C400.934 2.76525 406.162 3.82995 405.207 4.03697ZM408.722 4.11091C407.116 4.11091 404.253 3.68207 407.42 3.68207C407.746 2.60259 410.761 3.93346 408.722 4.11091ZM410.848 1.62662C409.958 1.46396 406.704 1.16821 409.546 0.680222C410.11 0.680222 413.581 1.81885 410.848 1.62662ZM412.93 5.4122C413.147 5.38263 414.232 4.33272 415.902 4.85028L412.93 5.4122ZM429.027 0.857671C430.393 0.857671 434.71 0.813309 435.708 0.887246C436.424 1.25693 425.643 2.52865 429.027 0.857671ZM437.878 0.857671C438.181 0.813309 439.309 0.828096 439.591 0.916821C431.587 2.83919 437.14 0.946396 437.878 0.857671ZM451.653 5.35305C451.176 5.35305 448.898 4.83549 448.898 4.80592C448.898 4.79113 450.807 4.5841 451.111 4.5841C453.562 4.65804 452.412 5.44177 451.653 5.35305ZM480.245 3.4159C478.661 3.6525 474.822 3.6525 474.822 3.4159C474.149 3.38632 481.568 3.14972 480.245 3.4159ZM485.69 5.32348C473.325 5.45656 491.829 4.64325 490.983 5.0573C490.983 5.23475 491.46 5.23475 485.69 5.32348ZM495.018 2.51386C494.454 2.51386 493.977 2.43993 493.977 2.36599C494.194 1.98152 497.252 2.45471 495.018 2.51386ZM502.524 2.26248C502.307 2.45471 501.656 2.49908 500.159 2.60259C492.285 2.85397 502.871 1.65619 502.524 2.26248ZM506.429 2.39556C510.377 2.3512 507.275 2.89834 505.105 2.41035C505.214 2.39556 505.648 2.39556 506.429 2.39556ZM506.559 3.13494C507.926 3.13494 509.01 3.22366 509.01 3.31238C508.338 3.4159 501.136 3.12015 506.559 3.13494ZM522.243 5.75231C518.36 6.38817 511.418 5.91497 507.253 5.4122C510.16 5.66359 522.547 5.33826 522.243 5.75231ZM590.057 3.48983C589.319 3.59335 587.128 3.59335 586.391 3.48983C587.367 3.2976 588.972 3.31238 590.057 3.48983ZM582.551 2.20333C586.109 1.98152 588.083 1.98152 588.083 2.20333C588.777 2.41035 577.019 2.61738 582.551 2.20333ZM564.545 1.71534C566.302 1.71534 566.064 2.83919 564.155 2.07024C563.699 1.86322 563.374 1.67098 564.545 1.71534ZM558.84 1.71534C560.619 1.7597 562.007 1.83364 563.049 2.07024C561.899 2.29205 549.273 1.70055 558.84 1.71534ZM553.438 3.72643C543.893 3.4159 556.107 3.20887 556.801 3.72643C556.801 3.87431 555.564 3.87431 553.438 3.72643ZM562.897 3.23845C561.205 3.26802 556.15 2.92791 560.749 2.89834C562.398 2.86876 567.474 3.19409 562.897 3.23845ZM567.17 2.54344C565.261 2.54344 563.96 2.54344 563.504 2.4695C565.977 2.17375 576.846 2.57301 567.17 2.54344ZM573.939 5.51571C571.704 5.51571 569.708 5.42699 569.708 5.35305C570.62 4.89464 582.79 5.45656 573.939 5.51571ZM588.885 5.67837C588.712 5.87061 575.37 6.15157 583.354 5.57486C586.911 5.23475 590.859 5.33826 588.885 5.67837ZM595.979 4.09612C594.678 4.18484 594.743 5.14603 593.137 3.99261C593.051 3.99261 587.28 4.37708 587.193 4.37708C588.517 3.50462 594.981 3.80037 595.979 4.09612ZM602.444 2.49908C606.913 2.54344 602.097 2.61738 600.795 2.52865C600.795 2.52865 601.489 2.49908 602.444 2.49908ZM601.576 4.53974C601.12 4.53974 600.556 4.4658 600.405 4.37708C599.428 3.66728 603.767 4.76155 601.576 4.53974ZM605.112 4.42144C603.724 4.42144 602.769 4.25878 602.422 4.09612C602.986 3.44547 611.468 4.28836 605.112 4.42144ZM622.315 5.24954C616.544 5.14603 619.365 3.68207 624.311 4.74677C626.09 4.99815 625.612 5.24954 622.315 5.24954ZM654.269 2.97227C655.788 2.8244 656.482 2.8244 657.068 2.97227C657.849 3.1793 651.926 3.13494 654.269 2.97227ZM651.124 2.39556C656.243 2.43993 650.712 2.5878 649.714 2.52865C648.651 2.39556 649.28 2.39556 651.124 2.39556ZM633.943 5.51571C634.767 5.11645 637.066 5.13124 637.826 5.51571C636.763 5.7671 635.006 5.7671 633.943 5.51571ZM646.047 3.97782C638.368 3.59335 651.774 3.72643 653.553 3.97782C660.907 4.89464 647.241 4.25878 646.047 3.97782ZM653.271 5.97412C652.859 5.72274 661.211 5.73752 660.777 5.97412C660.322 6.34381 654.031 6.16636 653.271 5.97412ZM667.611 3.09057C661.276 3.2976 665.398 1.89279 669.563 2.92791C670.691 3.09057 670.236 3.09057 667.611 3.09057ZM676.18 6.3586C675.789 6.38817 669.715 6.53605 669.476 6.38817C670.214 5.91497 676.245 6.37338 676.657 6.3586C676.375 6.38817 676.223 6.3586 676.18 6.3586ZM683.121 4.21442C682.774 4.21442 682.514 4.03697 682.514 3.85952C682.579 2.83919 684.814 4.3475 683.121 4.21442ZM696.875 5.5305C694.445 5.75231 693.122 5.75231 693.122 5.5305C692.558 5.32348 700.476 5.11645 696.875 5.5305ZM699.283 4.61368C691.17 4.48059 701.713 3.99261 702.754 4.49538C702.754 4.49538 701.257 4.61368 699.283 4.61368ZM701.474 3.80037C693.231 3.84473 704.598 3.1793 705.205 3.66728C705.205 3.80037 703.643 3.80037 701.474 3.80037ZM706.03 5.81146C705.27 5.11645 709.436 5.70795 709.327 5.81146C709.978 6.16636 706.811 6.16636 706.03 5.81146ZM716.746 6.56562C716.985 6.90573 706.919 6.50647 711.844 6.26987C714.815 6.122 717.679 6.26987 716.746 6.56562ZM718.091 4.22921C714.75 4.19963 714.707 3.72643 718.091 3.82994C721.28 3.72643 721.237 4.19963 718.091 4.22921ZM770.459 3.20887C772.455 3.20887 773.995 3.44547 773.995 3.68207C772.889 4.56932 763.083 3.25324 770.459 3.20887ZM730.934 4.08133C730.5 4.08133 730.76 3.96303 731.715 3.84473C736.856 3.28281 732.322 4.36229 730.934 4.08133ZM735.663 6.49168C732.799 6.49168 732.799 5.95934 735.663 5.95934C738.44 5.95934 738.44 6.49168 735.663 6.49168ZM737.854 4.49538C736.986 4.49538 736.27 4.42144 736.27 4.34751C735.771 4.09612 741.108 4.45102 737.854 4.49538ZM738.591 3.97782C737.767 3.97782 736.682 3.94824 736.27 3.84473C736.791 3.68207 744.687 3.91867 738.591 3.97782ZM756.922 5.5305C723.276 5.90019 765.556 4.73198 769.83 5.33826C769.83 5.33826 763.843 5.5305 756.922 5.5305ZM767.726 6.83179C758.745 6.56562 775.687 6.68392 775.34 6.83179C776.056 6.96488 772.997 6.96488 767.726 6.83179ZM785.124 4.96858C784.451 5.73752 778.572 6.75786 782.022 5.78189C782.868 5.54529 788.009 3.60813 785.124 4.96858ZM787.705 6.4769C789.289 6.04806 793.454 6.07763 795.016 6.4769C793.02 6.75786 789.701 6.75786 787.705 6.4769ZM808.206 5.87061C802.066 5.47135 813.868 4.61368 811.633 5.58965C811.633 6.13678 811.112 6.13678 808.206 5.87061ZM839.986 5.57486C838.229 5.57486 836.559 5.57486 836.277 5.4122C836.993 4.53974 847.601 5.58965 839.986 5.57486ZM858.404 5.94455C847.839 5.7671 869.988 0.635859 859.163 5.7671C858.361 6.21072 859.163 6.4769 858.404 5.94455ZM862.461 5.8854C862.461 5.97412 859.424 6.40296 859.185 6.37338C860.009 6.22551 863.61 4.15527 862.461 5.8854ZM864.088 5.07209C864.088 5.07209 864.174 5.04251 864.218 5.04251C864.348 5.14603 863.914 5.19039 864.088 5.07209Z",fill:"inherit"})))},Ii=e(rt)(fi||(fi=D([""],[""]))),ji=function(e){var n=e.hrColor,t=I(e,["hrColor"]);return a.createElement(Ii,S({},t),a.createElement(Si,{$fill:n}))},Oi=e(rt)(gi||(gi=D(["\n aspect-ratio: 2 / 1;\n"],["\n aspect-ratio: 2 / 1;\n"]))),Ni=function(){return a.createElement(Oi,{$alignItems:"center",$justifyContent:"center",$position:"relative",$width:["all-spacing-8","all-spacing-9","all-spacing-10"]},a.createElement(Ei,{height:"100%",width:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 27",$fill:"bg-icon"},a.createElement("path",{d:"M6.421 0c8.661.839 17.303.834 26.16.714a89.843 89.843 0 0 1 4.834-.013c6.333.32 12.39.317 18.506-.275 0 1.26.178 2.352 0 3.44-.276 1.38-.829 2.759-1.342 4.15-.138.354-.532.706-.808 1.06-.445.248-.63.5-.553.753 1.598 1.093-.256 2.185 0 3.277.276 1.529 1.322 3.058 1.204 4.572-.138 1.771-1.046 3.543-1.973 5.312-.288.4-1.065.792-2.309 1.169-2.288.755-4.103 1.67-11.206 1.965-9.936.417-20.953.385-30.678-.09-2.447-.12-4.38-.532-5.209-.853-1.035-.458-1.52-.929-1.44-1.4C.937 18.988-.109 14.194.01 9.4c0-2.645 1.973-5.29 3.413-7.933.237-.424 1.697-.839 3-1.468Z"})),a.createElement(rt,{$position:"absolute",$inset:"all-spacing-0",$alignItems:"center",$justifyContent:"center"},a.createElement(ot,{$color:"lemon",$font:["body-3-bold","body-3-bold","heading-7"]},"New")))},Di=function(e){var n=e.iconName,t=e.tag,r=e.children;return a.createElement(rt,{$alignItems:"center",$gap:"space-between-ssx"},a.createElement(Qt,{iconName:n}),a.createElement(Nt,{$font:"heading-6",tag:t},r))},Ti=function(e){var n=e.children,t=I(e,["children"]);return a.createElement(rt,S({$borderRadius:"border-radius-l",$pa:"inner-padding-xl",$flexDirection:"column",$gap:"space-between-s",$background:"white"},t),n)},Ri=function(e){var n=e.children,t=I(e,["children"]);return a.createElement(ki,S({},t,{fill:["bg-decorative2-very-subdued","bg-decorative2-subdued","bg-decorative2-subdued"]}),a.createElement(rt,{$pa:"inner-padding-none",$flexDirection:"column",$gap:"space-between-s"},n))},Ai=e(nt)(bi||(bi=D(["\n &::-webkit-scrollbar-thumb {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar-track {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar {\n width: ",";\n height: ",";\n border-radius: ",";\n }\n"],["\n &::-webkit-scrollbar-thumb {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar-track {\n border-radius: ",";\n background-color: ",";\n }\n &::-webkit-scrollbar {\n width: ",";\n height: ",";\n border-radius: ",";\n }\n"])),pn("border-radius-m"),z("grey50"),pn("border-radius-m"),z("white"),ne("all-spacing-3"),ne("all-spacing-3"),pn("border-radius-m")),zi=function(e){var n=e.isOpen,t=e.children,r=e.id,o=I(e,["isOpen","children","id"]);return a.createElement(nt,{$display:n?"block":"none",id:r},a.createElement(rt,S({$background:"bg-neutral-stronger",$ph:"inner-padding-m",$pv:"inner-padding-xl",$borderRadius:"border-radius-m"},o),a.createElement(Ai,{$overflow:"auto",$maxHeight:"100%",$width:"100%",$pr:"inner-padding-m"},t)))},Bi=e(Qt)(hi||(hi=D(["\n width: ",";\n height: ",";\n"],["\n width: ",";\n height: ",";\n"])),ne("all-spacing-6"),ne("all-spacing-6")),Li=e.a(mi||(mi=D(["\n display: inline-flex;\n align-items: center;\n gap: ",";\n outline: none;\n border-radius: ",";\n padding: ",";\n margin: -",";\n appearance: none;\n font: inherit;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n color: ",";\n\n "," {\n filter: ",";\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:visited {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n @media (hover: hover) {\n &:hover,\n &:visited:hover {\n color: ",";\n "," {\n filter: ",";\n }\n }\n }\n\n &:active {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n &[disabled] {\n cursor: not-allowed;\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n"],["\n display: inline-flex;\n align-items: center;\n gap: ",";\n outline: none;\n border-radius: ",";\n padding: ",";\n margin: -",";\n appearance: none;\n font: inherit;\n background: none;\n border: none;\n text-decoration: underline;\n cursor: pointer;\n color: ",";\n\n "," {\n filter: ",";\n }\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n &:visited {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n @media (hover: hover) {\n &:hover,\n &:visited:hover {\n color: ",";\n "," {\n filter: ",";\n }\n }\n }\n\n &:active {\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n\n &[disabled] {\n cursor: not-allowed;\n color: ",";\n\n "," {\n filter: ",";\n }\n }\n"])),ne("space-between-sssx"),pn("border-radius-m"),ne("inner-padding-ssx"),ne("inner-padding-ssx"),(function(e){return z(e.$color)}),Bi,(function(e){return at(e.$color)}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return z(e.$visitedColor)}),Bi,(function(e){return at(e.$visitedColor)}),(function(e){return z(e.$hoverColor)}),Bi,(function(e){return at(e.$hoverColor)}),(function(e){return z(e.$activeColor)}),Bi,(function(e){return at(e.$activeColor)}),(function(e){return z(e.$disabledColor)}),Bi,(function(e){return at(e.$disabledColor)})),Zi=p((function(e,n){var t=e.element,r=void 0===t?"a":t,o=e.iconName,i=e.isTrailingIcon,c=e.children,l=e.isLoading,s=e.color,d=e.disabledColor,u=e.visitedColor,p=e.hoverColor,f=e.activeColor,g=I(e,["element","iconName","isTrailingIcon","children","isLoading","color","disabledColor","visitedColor","hoverColor","activeColor"]),b=function(){switch(!0){case l:return a.createElement(rt,{$width:"all-spacing-6",$height:"all-spacing-6",$alignItems:"center",$justifyContent:"center"},a.createElement(Ur,{$width:"all-spacing-4",$color:"icon-inverted"}));case!!o:return a.createElement(Bi,{iconName:o});default:return null}}(),h=function(){switch(!0){case"disabled"in g:return g.disabled;case l:return!0;default:return}}();return a.createElement(Li,S({as:r,ref:n,disabled:h,$color:s,$disabledColor:d,$visitedColor:u,$hoverColor:p,$activeColor:f},g),!i&&b,a.createElement(ot,null,c),i&&b)})),Pi=p((function(e,n){return a.createElement(Zi,S({color:"text-link-active",hoverColor:"text-link-hover",activeColor:"text-link-pressed",disabledColor:"text-disabled",visitedColor:"text-link-visited"},e,{ref:n}))})),Fi=p((function(e,n){return a.createElement(Zi,S({color:"text-primary",hoverColor:"text-primary",activeColor:"text-primary",disabledColor:"text-disabled",visitedColor:"text-subdued"},e,{ref:n}))})),qi=e(nt)(vi||(vi=D(["\n margin-block: calc(-"," / 2);\n line-height: calc(1.5rem + ",");\n"],["\n margin-block: calc(-"," / 2);\n line-height: calc(1.5rem + ",");\n"])),ne("space-between-ssx"),ne("space-between-ssx")),Wi=function(e){return a.createElement(rt,S({$gap:"space-between-ssx"},e),a.createElement(rt,{$flexGrow:0},a.createElement(Qt,{iconName:"move-arrows"})),a.createElement(qi,{$font:"body-2"},"Click and drag answers to change the order, or select using"," ",a.createElement(Zr,null,a.createElement("span",{"aria-hidden":"true"},"↹")," Tab")," ","then move by pressing ",a.createElement(Zr,null,"Space")," and the ",a.createElement(Zr,null,"↑")," ",a.createElement(Zr,null,"↓")," arrows on your keyboard."))},_i=e(Qt)(yi||(yi=D([""],[""]))),Hi=e(nt)(wi||(wi=D(["\n cursor: grab;\n outline: none;\n user-select: none;\n\n "," {\n filter: ",';\n }\n\n @media (hover: hover) {\n &:hover:not([data-dragging="true"]):not([data-disabled="true"]):not(\n [data-readonly="true"]\n ) {\n background-color: ',";\n color: ",";\n box-shadow: ",";\n border-bottom: ","\n ",";\n padding-bottom: ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n }\n\n &:focus-visible:not([data-dragging="true"]):not([data-disabled="true"]) {\n box-shadow: ',",\n ",';\n }\n\n &[data-dragging="true"] {\n cursor: move;\n background-color: ',";\n color: ",";\n outline: "," ",";\n outline-offset: -",";\n box-shadow: ",",\n ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n\n &[data-disabled="true"] {\n cursor: default;\n background-color: ',";\n color: ",";\n\n "," {\n filter: ",';\n }\n }\n\n &[data-readonly="true"] {\n cursor: default;\n }\n'],["\n cursor: grab;\n outline: none;\n user-select: none;\n\n "," {\n filter: ",';\n }\n\n @media (hover: hover) {\n &:hover:not([data-dragging="true"]):not([data-disabled="true"]):not(\n [data-readonly="true"]\n ) {\n background-color: ',";\n color: ",";\n box-shadow: ",";\n border-bottom: ","\n ",";\n padding-bottom: ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n }\n\n &:focus-visible:not([data-dragging="true"]):not([data-disabled="true"]) {\n box-shadow: ',",\n ",';\n }\n\n &[data-dragging="true"] {\n cursor: move;\n background-color: ',";\n color: ",";\n outline: "," ",";\n outline-offset: -",";\n box-shadow: ",",\n ",";\n text-decoration: underline;\n\n "," {\n filter: ",';\n }\n }\n\n &[data-disabled="true"] {\n cursor: default;\n background-color: ',";\n color: ",";\n\n "," {\n filter: ",';\n }\n }\n\n &[data-readonly="true"] {\n cursor: default;\n }\n'])),_i,(function(e){return at(e.$iconColor)}),z("bg-decorative1-subdued"),z("text-primary"),Dn("drop-shadow-standard"),un("border-solid-xl"),z("border-primary"),ne("inner-padding-m"),_i,at("icon-inverted"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-decorative1-main"),z("text-primary"),un("border-solid-xl"),z("border-primary"),ui("border-solid-xl"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),_i,at("icon-inverted"),z("bg-neutral"),z("text-disabled"),_i,at("icon-disabled")),Gi=e(rt)(xi||(xi=D(["\n margin-block: -",";\n"],["\n margin-block: -",";\n"])),ne("space-between-ssx")),Vi=p((function(e,n){var t=e.children,r=e.iconName,o=void 0===r?"move-arrows":r,i=e.iconColor,c=void 0===i?"icon-inverted":i,l=e.iconAlt,s=void 0===l?"":l,d=e.color,u=void 0===d?"text-primary":d,p=e.background,f=void 0===p?"bg-primary":p,g=e.isDragging,b=e.isDisabled,h=e.isReadOnly,m=I(e,["children","iconName","iconColor","iconAlt","color","background","isDragging","isDisabled","isReadOnly"]);return a.createElement(Hi,S({ref:n,$pv:"inner-padding-l",$pl:"inner-padding-s",$pr:"inner-padding-m",$background:f,$color:u,$borderRadius:"border-radius-m2",$minHeight:"all-spacing-10","data-dragging":g,"data-disabled":b,"data-readonly":h,$iconColor:c},m),a.createElement(Gi,{$gap:"space-between-s",$alignItems:"center"},a.createElement(_i,{iconName:o,$width:"all-spacing-7",$height:"all-spacing-7",alt:s}),a.createElement(rt,{$font:"body-1-bold"},t)))})),Yi=e(rt)($i||($i=D(["\n outline: "," ",';\n outline-style: dashed;\n\n &[data-disabled="true"] {\n outline-color: ',";\n }\n"],["\n outline: "," ",';\n outline-style: dashed;\n\n &[data-disabled="true"] {\n outline-color: ',";\n }\n"])),un("border-solid-l"),z("border-primary"),z("border-neutral")),Ui=p((function(e,n){var t=e.children,r=e.labelSlot,o=e.isOver,i=e.isHighlighted,c=e.isDisabled,l=I(e,["children","labelSlot","isOver","isHighlighted","isDisabled"]),s=function(){switch(!0){case o:return"bg-primary";case c:return"bg-decorative2-subdued";default:return"bg-neutral"}}(),d=function(){switch(!0){case o:return"bg-decorative2-main";case i:return"bg-decorative5-main";default:return"bg-decorative2-subdued"}}();return a.createElement(rt,S({ref:n,$background:d,$pa:"inner-padding-m",$borderRadius:"border-radius-l",$gap:"space-between-s",$flexDirection:["column","row","row"]},l),a.createElement(Yi,{$background:s,$pa:"inner-padding-ssx",$borderRadius:"border-radius-m2",$minHeight:"all-spacing-11",$flexBasis:"100%","data-disabled":c},a.createElement(nt,{$width:"100%"},t)),r&&a.createElement(rt,{$background:o?"bg-primary":"bg-decorative2-very-subdued",$borderRadius:"border-radius-m2",$alignItems:"center",$font:"body-1",$ph:"inner-padding-l",$minHeight:"all-spacing-10",$pv:"inner-padding-ssx",$flexBasis:"100%",$width:"100%",$alignSelf:"center","data-testid":"label"},r))})),Xi=function(e){var n=e.feedback,t=I(e,["feedback"]);return a.createElement(Vi,S({},t,{iconName:"correct"===n?"tick":"cross",iconColor:"correct"===n?"icon-success":"icon-error",iconAlt:"correct"===n?"correct":"incorrect",$ba:"border-solid-xl",$borderColor:"correct"===n?"border-success":"border-error",$background:"correct"===n?"bg-correct":"bg-incorrect",isReadOnly:!0}))},Ki=e(rt)(Ci||(Ci=D(["\n font: inherit;\n color: inherit;\n border: none;\n background: none;\n appearance: none;\n margin: -",";\n outline: none;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n"],["\n font: inherit;\n color: inherit;\n border: none;\n background: none;\n appearance: none;\n margin: -",";\n outline: none;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n"])),ne("inner-padding-m"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey")),Ji=function(e){var n=e.header,t=e.headerAfterSlot,r=e.children,o=e.initialOpen,i=void 0!==o&&o,l=e.id,s=O(c(i),2),d=s[0],u=s[1];return a.createElement(nt,{$borderColor:"border-neutral-lighter",$ba:"border-solid-s",$pa:"inner-padding-m",$background:d?"bg-neutral":"bg-primary"},a.createElement(rt,{as:"h3",$font:"heading-light-7",$textDecoration:d?"underline":"none"},a.createElement(Ki,{as:"button",type:"button",onClick:function(){return u(!d)},$alignItems:"center",$pa:"inner-padding-m",$flexGrow:1,"aria-expanded":d,id:l},a.createElement(Qt,{iconName:"chevron-down",$mr:"space-between-s",$width:"all-spacing-6",$height:"all-spacing-6",alt:"",style:{transform:d?"rotate(180deg)":"none"}}),n),t&&a.createElement(rt,{$ml:"space-between-m"},t)),a.createElement(nt,{$ml:"space-between-m",$pl:"inner-padding-m",$mt:"space-between-sssx",$font:"body-3",hidden:!d,"aria-labelledby":l,role:"region"},r))},Qi="right-scroll-bar-position",ea="width-before-scroll-bar";function na(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var ta=new WeakMap;function ra(e,n){var t,r,o,a=(t=n||null,r=function(n){return e.forEach((function(e){return na(e,n)}))},(o=c((function(){return{value:t,callback:r,facade:{get current(){return o.value},set current(e){var n=o.value;n!==e&&(o.value=e,o.callback(e,n))}}}}))[0]).callback=r,o.facade);return i.useLayoutEffect((function(){var n=ta.get(a);if(n){var t=new Set(n),r=new Set(e),o=a.current;t.forEach((function(e){r.has(e)||na(e,null)})),r.forEach((function(e){t.has(e)||na(e,o)}))}ta.set(a,e)}),[e]),a}function oa(e){return e}function ia(e,n){void 0===n&&(n=oa);var t=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r);return t.push(o),function(){t=t.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={push:function(n){return e(n)},filter:function(){return t}}},assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t;t=[],o.forEach(e),n=t}var i=function(){var t=n;n=[],t.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),t={push:function(e){n.push(e),a()},filter:function(e){return n=n.filter(e),t}}}}}function aa(e,n){return void 0===n&&(n=oa),ia(e,n)}function ca(e){void 0===e&&(e={});var n=ia(null);return n.options=S({async:!0,ssr:!1},e),n}var la=function(e){var n=e.sideCar,t=I(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,S({},t))};function sa(e,n){return e.useMedium(n),la}la.isSideCarExport=!0;var da=ca(),ua=function(){},pa=i.forwardRef((function(e,n){var t=i.useRef(null),r=i.useState({onScrollCapture:ua,onWheelCapture:ua,onTouchMoveCapture:ua}),o=r[0],a=r[1],c=e.forwardProps,l=e.children,s=e.className,d=e.removeScrollBar,u=e.enabled,p=e.shards,f=e.sideCar,g=e.noIsolation,b=e.inert,h=e.allowPinchZoom,m=e.as,v=void 0===m?"div":m,y=e.gapMode,w=I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=f,$=ra([t,n]),C=S(S({},w),o);return i.createElement(i.Fragment,null,u&&i.createElement(x,{sideCar:da,removeScrollBar:d,shards:p,noIsolation:g,inert:b,setCallbacks:a,allowPinchZoom:!!h,lockRef:t,gapMode:y}),c?i.cloneElement(i.Children.only(l),S(S({},C),{ref:$})):i.createElement(v,S({},C,{className:s,ref:$}),l))}));function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},fa.apply(this,arguments)}function ga(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}pa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},pa.classNames={fullWidth:ea,zeroRight:Qi};var ba,ha,ma,va,ya={exports:{}};function wa(){if(ha)return ba;ha=1;return ba="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}var xa,$a={exports:{}},Ca={};var Ea,ka,Ma,Sa,Ia,ja,Oa,Na,Da,Ta,Ra={};
2
2
  /** @license React v16.13.1
3
3
  * react-is.production.min.js
4
4
  *
@@ -6,10 +6,10 @@ import e,{css as n,ThemeProvider as t,createGlobalStyle as r,keyframes as o}from
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */function Aa(){return ka||(ka=1,"production"===process.env.NODE_ENV?$a.exports=function(){if(Ea)return Ra;Ea=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case n:switch(e=e.type){case l:case s:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case p:case a:return e;default:return f}}case t:return f}}}function w(e){return y(e)===s}return Ra.AsyncMode=l,Ra.ConcurrentMode=s,Ra.ContextConsumer=c,Ra.ContextProvider=a,Ra.Element=n,Ra.ForwardRef=d,Ra.Fragment=r,Ra.Lazy=g,Ra.Memo=p,Ra.Portal=t,Ra.Profiler=i,Ra.StrictMode=o,Ra.Suspense=u,Ra.isAsyncMode=function(e){return w(e)||y(e)===l},Ra.isConcurrentMode=w,Ra.isContextConsumer=function(e){return y(e)===c},Ra.isContextProvider=function(e){return y(e)===a},Ra.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},Ra.isForwardRef=function(e){return y(e)===d},Ra.isFragment=function(e){return y(e)===r},Ra.isLazy=function(e){return y(e)===g},Ra.isMemo=function(e){return y(e)===p},Ra.isPortal=function(e){return y(e)===t},Ra.isProfiler=function(e){return y(e)===i},Ra.isStrictMode=function(e){return y(e)===o},Ra.isSuspense=function(e){return y(e)===u},Ra.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===s||e===i||e===o||e===u||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===d||e.$$typeof===h||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b)},Ra.typeOf=y,Ra}():$a.exports=(xa||(xa=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case n:var b=e.type;switch(b){case l:case s:case r:case i:case o:case u:return b;default:var h=b&&b.$$typeof;switch(h){case c:case d:case g:case p:case a:return h;default:return f}}case t:return f}}}var w=l,x=s,$=c,C=a,E=n,k=d,M=r,S=g,I=p,j=t,N=i,O=o,D=u,T=!1;function R(e){return y(e)===s}Ca.AsyncMode=w,Ca.ConcurrentMode=x,Ca.ContextConsumer=$,Ca.ContextProvider=C,Ca.Element=E,Ca.ForwardRef=k,Ca.Fragment=M,Ca.Lazy=S,Ca.Memo=I,Ca.Portal=j,Ca.Profiler=N,Ca.StrictMode=O,Ca.Suspense=D,Ca.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},Ca.isConcurrentMode=R,Ca.isContextConsumer=function(e){return y(e)===c},Ca.isContextProvider=function(e){return y(e)===a},Ca.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},Ca.isForwardRef=function(e){return y(e)===d},Ca.isFragment=function(e){return y(e)===r},Ca.isLazy=function(e){return y(e)===g},Ca.isMemo=function(e){return y(e)===p},Ca.isPortal=function(e){return y(e)===t},Ca.isProfiler=function(e){return y(e)===i},Ca.isStrictMode=function(e){return y(e)===o},Ca.isSuspense=function(e){return y(e)===u},Ca.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===s||e===i||e===o||e===u||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===d||e.$$typeof===h||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b)},Ca.typeOf=y}()),Ca)),$a.exports}
9
+ */function Aa(){return ka||(ka=1,"production"===process.env.NODE_ENV?$a.exports=function(){if(Ea)return Ra;Ea=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case n:switch(e=e.type){case l:case s:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case f:case a:return e;default:return p}}case t:return p}}}function w(e){return y(e)===s}return Ra.AsyncMode=l,Ra.ConcurrentMode=s,Ra.ContextConsumer=c,Ra.ContextProvider=a,Ra.Element=n,Ra.ForwardRef=d,Ra.Fragment=r,Ra.Lazy=g,Ra.Memo=f,Ra.Portal=t,Ra.Profiler=i,Ra.StrictMode=o,Ra.Suspense=u,Ra.isAsyncMode=function(e){return w(e)||y(e)===l},Ra.isConcurrentMode=w,Ra.isContextConsumer=function(e){return y(e)===c},Ra.isContextProvider=function(e){return y(e)===a},Ra.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},Ra.isForwardRef=function(e){return y(e)===d},Ra.isFragment=function(e){return y(e)===r},Ra.isLazy=function(e){return y(e)===g},Ra.isMemo=function(e){return y(e)===f},Ra.isPortal=function(e){return y(e)===t},Ra.isProfiler=function(e){return y(e)===i},Ra.isStrictMode=function(e){return y(e)===o},Ra.isSuspense=function(e){return y(e)===u},Ra.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===s||e===i||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===c||e.$$typeof===d||e.$$typeof===h||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b)},Ra.typeOf=y,Ra}():$a.exports=(xa||(xa=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case n:var b=e.type;switch(b){case l:case s:case r:case i:case o:case u:return b;default:var h=b&&b.$$typeof;switch(h){case c:case d:case g:case f:case a:return h;default:return p}}case t:return p}}}var w=l,x=s,$=c,C=a,E=n,k=d,M=r,S=g,I=f,j=t,O=i,N=o,D=u,T=!1;function R(e){return y(e)===s}Ca.AsyncMode=w,Ca.ConcurrentMode=x,Ca.ContextConsumer=$,Ca.ContextProvider=C,Ca.Element=E,Ca.ForwardRef=k,Ca.Fragment=M,Ca.Lazy=S,Ca.Memo=I,Ca.Portal=j,Ca.Profiler=O,Ca.StrictMode=N,Ca.Suspense=D,Ca.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},Ca.isConcurrentMode=R,Ca.isContextConsumer=function(e){return y(e)===c},Ca.isContextProvider=function(e){return y(e)===a},Ca.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},Ca.isForwardRef=function(e){return y(e)===d},Ca.isFragment=function(e){return y(e)===r},Ca.isLazy=function(e){return y(e)===g},Ca.isMemo=function(e){return y(e)===f},Ca.isPortal=function(e){return y(e)===t},Ca.isProfiler=function(e){return y(e)===i},Ca.isStrictMode=function(e){return y(e)===o},Ca.isSuspense=function(e){return y(e)===u},Ca.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===s||e===i||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===c||e.$$typeof===d||e.$$typeof===h||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b)},Ca.typeOf=y}()),Ca)),$a.exports}
10
10
  /*
11
11
  object-assign
12
12
  (c) Sindre Sorhus
13
13
  @license MIT
14
- */function za(){if(Sa)return Ma;Sa=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return Ma=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(c[s]=i[s]);if(e){a=e(i);for(var d=0;d<a.length;d++)t.call(i,a[d])&&(c[a[d]]=i[a[d]])}}return c},Ma}function Ba(){return ja?Ia:(ja=1,Ia=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var La=Aa();ya.exports=function(){if(Ta)return Da;Ta=1;var e=Aa(),n=za(),t=wa(),r=Ba(),o=function(){if(Oa)return Na;Oa=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=wa(),t={},r=Ba();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function o(o,i,a,c,l){if("production"!==process.env.NODE_ENV)for(var s in o)if(r(o,s)){var d;try{if("function"!=typeof o[s]){var u=Error((c||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[s](i,s,c,a,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((c||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var f=l?l():"";e("Failed "+a+" type: "+d.message+(null!=f?f:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},Na=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),Da=function(c,l){var s="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",u="<<anonymous>>",f={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:b(a),arrayOf:function(e){return b((function(n,r,o,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var c=n[r];if(!Array.isArray(c))return new g("Invalid "+i+" `"+a+"` of type `"+y(c)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<c.length;l++){var s=e(c,l,o,i,a+"["+l+"]",t);if(s instanceof Error)return s}return null}))},element:b((function(e,n,t,r,o){var i=e[n];return c(i)?null:new g("Invalid "+r+" `"+o+"` of type `"+y(i)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:b((function(n,t,r,o,i){var a=n[t];return e.isValidElementType(a)?null:new g("Invalid "+o+" `"+i+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return b((function(n,t,r,o,i){if(!(n[t]instanceof e)){var a=e.name||u;return new g("Invalid "+o+" `"+i+"` of type `"+((c=n[t]).constructor&&c.constructor.name?c.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var c;return null}))},node:b((function(e,n,t,r,o){return v(e[n])?null:new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return b((function(n,o,i,a,c){if("function"!=typeof e)return new g("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=n[o],s=y(l);if("object"!==s)return new g("Invalid "+a+" `"+c+"` of type `"+s+"` supplied to `"+i+"`, expected an object.");for(var d in l)if(r(l,d)){var u=e(l,d,i,a,c+"."+d,t);if(u instanceof Error)return u}return null}))},oneOf:function(e){return Array.isArray(e)?b((function(n,t,r,o,i){for(var a=n[t],c=0;c<e.length;c++)if(p(a,e[c]))return null;var l=JSON.stringify(e,(function(e,n){return"symbol"===w(n)?String(n):n}));return new g("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+n+"."),a}return b((function(n,o,i,a,c){for(var l=[],s=0;s<e.length;s++){var d=(0,e[s])(n,o,i,a,c,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&l.push(d.data.expectedType)}return new g("Invalid "+a+" `"+c+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return b((function(n,r,o,i,a){var c=n[r],l=y(c);if("object"!==l)return new g("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var s in e){var d=e[s];if("function"!=typeof d)return m(o,i,a,s,w(d));var u=d(c,s,o,i,a+"."+s,t);if(u)return u}return null}))},exact:function(e){return b((function(o,i,a,c,l){var s=o[i],d=y(s);if("object"!==d)return new g("Invalid "+c+" `"+l+"` of type `"+d+"` supplied to `"+a+"`, expected `object`.");var u=n({},o[i],e);for(var f in u){var p=e[f];if(r(e,f)&&"function"!=typeof p)return m(a,c,l,f,w(p));if(!p)return new g("Invalid "+c+" `"+l+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var b=p(s,f,a,c,l+"."+f,t);if(b)return b}return null}))}};function p(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function g(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,a,c,s,d,f,p){if(s=s||u,f=f||c,p!==t){if(l){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=s+":"+c;!n[h]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==a[c]?o?null===a[c]?new g("The "+d+" `"+f+"` is marked as required in `"+s+"`, but its value is `null`."):new g("The "+d+" `"+f+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(a,c,s,d,f)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){return b((function(n,t,r,o,i,a){var c=n[t];return y(c)!==e?new g("Invalid "+o+" `"+i+"` of type `"+w(c)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function m(e,n,t,r,o){return new g((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||c(e))return!0;var n=function(e){var n=e&&(s&&e[s]||e[d]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!v(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function y(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function w(e){if(null==e)return""+e;var n=y(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function x(e){var n=w(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return g.prototype=Error.prototype,f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},Da}()(La.isElement,!0)}else ya.exports=function(){if(va)return ma;va=1;var e=wa();function n(){}function t(){}return t.resetWarningCache=n,ma=function(){function r(n,t,r,o,i,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:n};return i.PropTypes=i,i}}()();var Za=ya.exports,Pa=ga(Za),Fa="data-focus-lock",qa="data-focus-lock-disabled",Wa={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};"production"===process.env.NODE_ENV||Pa.node;var _a=aa({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),Ha=aa(),Ga=aa(),Va=ca({async:!0,ssr:"undefined"!=typeof document}),Ya=s(void 0),Ua=[],Xa=i.forwardRef((function(e,n){var t,r=i.useState(),o=r[0],a=r[1],c=i.useRef(),l=i.useRef(!1),s=i.useRef(null),d=i.useState({})[1],u=e.children,f=e.disabled,p=void 0!==f&&f,g=e.noFocusGuards,b=void 0!==g&&g,h=e.persistentFocus,m=void 0!==h&&h,v=e.crossFrame,y=void 0===v||v,w=e.autoFocus,x=void 0===w||w,$=e.allowTextSelection,C=e.group,E=e.className,k=e.whiteList,M=e.hasPositiveIndices,S=e.shards,I=void 0===S?Ua:S,j=e.as,N=void 0===j?"div":j,O=e.lockProps,D=void 0===O?{}:O,T=e.sideCar,R=e.returnFocus,A=void 0!==R&&R,z=e.focusOptions,B=e.onActivation,L=e.onDeactivation,Z=i.useState({})[0],P=i.useCallback((function(e){var n=e.captureFocusRestore;if(!s.current){var t,r=null==(t=document)?void 0:t.activeElement;s.current=r,r!==document.body&&(s.current=n(r))}c.current&&B&&B(c.current),l.current=!0,d()}),[B]),F=i.useCallback((function(){l.current=!1,L&&L(c.current),d()}),[L]),q=i.useCallback((function(e){var n=s.current;if(n){var t=("function"==typeof n?n():n)||document.body,r="function"==typeof A?A(t):A;if(r){var o="object"==typeof r?r:void 0;s.current=null,e?Promise.resolve().then((function(){return t.focus(o)})):t.focus(o)}}}),[A]),W=i.useCallback((function(e){l.current&&_a.useMedium(e)}),[]),_=Ha.useMedium,H=i.useCallback((function(e){c.current!==e&&(c.current=e,a(e))}),[]);"production"!==process.env.NODE_ENV&&(void 0!==$&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),i.useEffect((function(){c.current||"string"==typeof N||console.error("FocusLock: could not obtain ref to internal node")}),[]));var G=pa(((t={})[qa]=p&&"disabled",t[Fa]=C,t),D),V=!0!==b,Y=V&&"tail"!==b,U=ra([n,H]),X=i.useMemo((function(){return{observed:c,shards:I,enabled:!p,active:l.current}}),[p,l.current,I,o]);return i.createElement(i.Fragment,null,V&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:Wa}),M?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:Wa}):null],!p&&i.createElement(T,{id:Z,sideCar:Va,observed:o,disabled:p,persistentFocus:m,crossFrame:y,autoFocus:x,whiteList:k,shards:I,onActivation:P,onDeactivation:F,returnFocus:q,focusOptions:z}),i.createElement(N,pa({ref:U},G,{className:E,onBlur:_,onFocus:W}),i.createElement(Ya.Provider,{value:X},u)),Y&&i.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:Wa}))}));Xa.propTypes="production"!==process.env.NODE_ENV?{children:Za.node,disabled:Za.bool,returnFocus:Za.oneOfType([Za.bool,Za.object,Za.func]),focusOptions:Za.object,noFocusGuards:Za.bool,hasPositiveIndices:Za.bool,allowTextSelection:Za.bool,autoFocus:Za.bool,persistentFocus:Za.bool,crossFrame:Za.bool,group:Za.string,className:Za.string,whiteList:Za.func,shards:Za.arrayOf(Za.any),as:Za.oneOfType([Za.string,Za.func,Za.object]),lockProps:Za.object,onActivation:Za.func,onDeactivation:Za.func,sideCar:Za.any.isRequired}:{};var Ka=Xa;function Ja(e){setTimeout(e,1)}var Qa=function(e){return e&&"current"in e?e.current:e},ec=ca(),nc="data-focus-on-hidden",tc={preventScroll:!0},rc=i.forwardRef((function(e,n){var t=i.useState(!1),r=t[0],o=t[1],a=e.children,c=e.autoFocus,l=e.shards,s=e.crossFrame,d=e.enabled,u=void 0===d||d,f=e.scrollLock,p=void 0===f||f,g=e.focusLock,b=void 0===g||g,h=e.returnFocus,m=void 0===h||h,v=e.inert,y=e.allowPinchZoom,w=e.sideCar,x=e.className,$=e.shouldIgnore,C=e.preventScrollOnFocus,E=e.style,k=e.as,M=e.gapMode,j=I(e,["children","autoFocus","shards","crossFrame","enabled","scrollLock","focusLock","returnFocus","inert","allowPinchZoom","sideCar","className","shouldIgnore","preventScrollOnFocus","style","as","gapMode"]),N=w,O=r.onActivation,D=r.onDeactivation,T=I(r,["onActivation","onDeactivation"]),R=S(S({},T),{as:k,style:E,sideCar:w,shards:l,allowPinchZoom:y,gapMode:M,inert:v,enabled:u&&p});return i.createElement(i.Fragment,null,i.createElement(Ka,{ref:n,sideCar:w,disabled:!(r&&u&&b),returnFocus:m,autoFocus:c,shards:l,crossFrame:s,onActivation:O,onDeactivation:D,className:x,whiteList:$,lockProps:R,focusOptions:C?tc:void 0,as:fa},a),u&&i.createElement(N,S({},j,{sideCar:ec,setLockProps:o,shards:l})))}));function oc(e,n){return oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},oc(e,n)}function ic(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,oc(e,n)}function ac(e){return ac="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ac(e)}function cc(e){var n=function(e,n){if("object"!==ac(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==ac(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===ac(n)?n:String(n)}var lc=function(e){for(var n=Array(e.length),t=0;t<e.length;++t)n[t]=e[t];return n},sc=function(e){return Array.isArray(e)?e:[e]},dc=function(e){return Array.isArray(e)?e[0]:e},uc=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},fc=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},pc=function(e,n){return!e||fc(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!(!n||!n.getPropertyValue||"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&n(uc(e))},gc=function(e,n){var t=e.get(n);if(void 0!==t)return t;var r=pc(n,gc.bind(void 0,e));return e.set(n,r),r},bc=function(e,n){var t=e.get(n);if(void 0!==t)return t;var r=function(e,n){return!(e&&!fc(e))||!!yc(e)&&n(uc(e))}(n,bc.bind(void 0,e));return e.set(n,r),r},hc=function(e){return e.dataset},mc=function(e){return"INPUT"===e.tagName},vc=function(e){return mc(e)&&"radio"===e.type},yc=function(e){var n=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(n)},wc=function(e){var n;return Boolean(e&&(null===(n=hc(e))||void 0===n?void 0:n.focusGuard))},xc=function(e){return!wc(e)},$c=function(e){return Boolean(e)},Cc=function(e,n){var t=Math.max(0,e.tabIndex),r=Math.max(0,n.tabIndex),o=t-r,i=e.index-n.index;if(o){if(!t)return 1;if(!r)return-1}return o||i},Ec=function(e,n,t){return lc(e).map((function(e,n){var r=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:n,tabIndex:t&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}})).filter((function(e){return!n||e.tabIndex>=0})).sort(Cc)},kc=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Mc="".concat(kc,", [data-focus-guard]"),Sc=function(e,n){return lc((e.shadowRoot||e).children).reduce((function(e,t){return e.concat(t.matches(n?Mc:kc)?[t]:[],Sc(t))}),[])},Ic=function(e,n){return e.reduce((function(e,t){var r,o=Sc(t,n),i=(r=[]).concat.apply(r,o.map((function(e){return function(e,n){var t;return e instanceof HTMLIFrameElement&&(null===(t=e.contentDocument)||void 0===t?void 0:t.body)?Ic([e.contentDocument.body],n):[e]}(e,n)})));return e.concat(i,t.parentNode?lc(t.parentNode.querySelectorAll(kc)).filter((function(e){return e===t})):[])}),[])},jc=function(e,n){return lc(e).filter((function(e){return gc(n,e)})).filter((function(e){return function(e){return!((mc(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},Nc=function(e,n){return void 0===n&&(n=new Map),lc(e).filter((function(e){return bc(n,e)}))},Oc=function(e,n,t){return Ec(jc(Ic(e,t),n),!0,t)},Dc=function(e,n){return Ec(jc(Ic(e),n),!1)},Tc=function(e,n){return jc((t=e.querySelectorAll("[".concat("data-autofocus-inside","]")),lc(t).map((function(e){return Ic([e])})).reduce((function(e,n){return e.concat(n)}),[])),n);var t},Rc=function(e,n){return e.shadowRoot?Rc(e.shadowRoot,n):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,n))||lc(e.children).some((function(e){var t;if(e instanceof HTMLIFrameElement){var r=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!r&&Rc(r,n)}return Rc(e,n)}))},Ac=function(e){return e.parentNode?Ac(e.parentNode):e},zc=function(e){return sc(e).filter(Boolean).reduce((function(e,n){var t=n.getAttribute(Fa);return e.push.apply(e,t?function(e){for(var n=new Set,t=e.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(r)}return e.filter((function(e,t){return!n.has(t)}))}(lc(Ac(n).querySelectorAll("[".concat(Fa,'="').concat(t,'"]:not([').concat(qa,'="disabled"])')))):[n]),e}),[])},Bc=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var n=e.activeElement;return n.shadowRoot?Bc(n.shadowRoot):n instanceof HTMLIFrameElement&&function(e){try{return e()}catch(e){return}}((function(){return n.contentWindow.document}))?Bc(n.contentWindow.document):n}},Lc=function(e,n){return void 0===n&&(n=Bc(dc(e).ownerDocument)),!(!n||n.dataset&&n.dataset.focusGuard)&&zc(e).some((function(e){return Rc(e,n)||function(e,n){return Boolean(lc(e.querySelectorAll("iframe")).some((function(e){return function(e,n){return e===n}(e,n)})))}(e,n)}))},Zc=function(e,n){return vc(e)&&e.name?function(e,n){return n.filter(vc).filter((function(n){return n.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,n):e},Pc=function(e){return e[0]&&e.length>1?Zc(e[0],e):e[0]},Fc=function(e,n){return e.indexOf(Zc(n,e))},qc="NEW_FOCUS",Wc=function(e,n,t,r,o){var i=e.length,a=e[0],c=e[i-1],l=wc(r);if(!(r&&e.indexOf(r)>=0)){var s=void 0!==r?t.indexOf(r):-1,d=o?t.indexOf(o):s,u=o?e.indexOf(o):-1;if(-1===s)return-1!==u?u:qc;if(-1===u)return qc;var f,p,g=s-d,b=t.indexOf(a),h=t.indexOf(c),m=(f=t,p=new Set,f.forEach((function(e){return p.add(Zc(e,f))})),f.filter((function(e){return p.has(e)}))),v=(void 0!==r?m.indexOf(r):-1)-(o?m.indexOf(o):s);if(!g&&u>=0)return u;if(0===n.length)return u;var y=Fc(e,n[0]),w=Fc(e,n[n.length-1]);return s<=b&&l&&Math.abs(g)>1?w:s>=h&&l&&Math.abs(g)>1?y:g&&Math.abs(v)>1?u:s<=b?w:s>h?y:g?Math.abs(g)>1?u:(i+u+g)%i:void 0}},_c=function(e,n,t){var r,o=e.map((function(e){return e.node})),i=Nc(o.filter((r=t,function(e){var n,t=null===(n=hc(e))||void 0===n?void 0:n.autofocus;return e.autofocus||void 0!==t&&"false"!==t||r.indexOf(e)>=0})));return i&&i.length?Pc(i):Pc(Nc(n))},Hc=function(e,n){return void 0===n&&(n=[]),n.push(e),e.parentNode&&Hc(e.parentNode.host||e.parentNode,n),n},Gc=function(e,n){for(var t=Hc(e),r=Hc(n),o=0;o<t.length;o+=1){var i=t[o];if(r.indexOf(i)>=0)return i}return!1},Vc=function(e,n,t){var r=sc(e),o=sc(n),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Gc(a||e,e)||a,t.filter(Boolean).forEach((function(e){var n=Gc(i,e);n&&(a=!a||Rc(n,a)?n:Gc(n,a))}))})),a},Yc=function(e,n){return e.reduce((function(e,t){return e.concat(Tc(t,n))}),[])},Uc=function(e,n){var t=Bc(sc(e).length>0?document:dc(e).ownerDocument),r=zc(e).filter(xc),o=Vc(t||e,e,r),i=new Map,a=Dc(r,i),c=a.filter((function(e){var n=e.node;return xc(n)}));if(c[0]){var l,s,d,u=Dc([o],i).map((function(e){return e.node})),f=(l=u,s=c,d=new Map,s.forEach((function(e){return d.set(e.node,e)})),l.map((function(e){return d.get(e)})).filter($c)),p=f.map((function(e){return e.node})),g=f.filter((function(e){return e.tabIndex>=0})).map((function(e){return e.node})),b=Wc(p,g,u,t,n);if(b===qc){var h=_c(a,g,Yc(r,i))||_c(a,p,Yc(r,i));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===b?b:f[b]}},Xc=function(e,n){e&&("focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Kc=0,Jc=!1,Qc=function(e,n,t){void 0===t&&(t={});var r=Uc(e,n);if(!Jc&&r){if(Kc>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Jc=!0,void setTimeout((function(){Jc=!1}),1);Kc++,Xc(r.node,t.focusOptions),Kc--}};function el(e){if(!e)return null;var n=e?new WeakRef(e):null;return function(){return(null==n?void 0:n.deref())||null}}var nl=function(e,n,t){void 0===n&&(n={});var r=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(n),o=function(e,n,t){if(!e||!n)return console.error("no element or scope given"),{};var r=sc(n);if(r.every((function(n){return!Rc(n,e)})))return console.error("Active element is not contained in the scope"),{};var o=t?Oc(r,new Map):Dc(r,new Map),i=o.findIndex((function(n){return n.node===e}));return-1!==i?{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}:void 0}(e,r.scope,r.onlyTabbable);if(o){var i=t(o,r.cycle);i&&Xc(i.node,r.focusOptions)}},tl=function(e,n,t){var r,o,i,a,c=(o=e,i=null===(r=n.onlyTabbable)||void 0===r||r,{first:(a=i?Oc(sc(o),new Map):Dc(sc(o),new Map))[0],last:a[a.length-1]})[t];c&&Xc(c.node,n.focusOptions)},rl=function(){return document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var n=Bc(e);return!!n&&lc(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return Rc(e,n)}))}()},ol=null,il=null,al=null,cl=!1,ll=function(){return!0};function sl(e,n,t,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=t)!==n);o&&(o.node.tabIndex=0)}var dl=function e(n,t,r){return t&&(t.host===n&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,r))},ul=function(){var e,n,t,r,o,i,a=!1;if(ol){var c=ol,l=c.observed,s=c.persistentFocus,d=c.autoFocus,u=c.shards,f=c.crossFrame,p=c.focusOptions,g=l||al&&al.portaledElement,b=document&&document.activeElement;if(g){var h=[g].concat(u.map(Qa).filter(Boolean));if(b&&!function(e){return(ol.whiteList||ll)(e)}(b)||(s||(f?Boolean(cl):"meanwhile"===cl)||!rl()||!il&&d)&&(g&&!(Lc(h)||b&&function(e,n){return n.some((function(n){return dl(e,n,n)}))}(b,h)||(i=b,al&&al.portaledElement===i))&&(document&&!il&&b&&!d?(b.blur&&b.blur(),document.body.focus()):(a=Qc(h,il,{focusOptions:p}),al={})),cl=!1,il=document&&document.activeElement),document&&b!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,v=(n=zc(e=h).filter(xc),t=Vc(e,e,n),r=Ec(Ic([t],!0),!0,!0),o=Ic(n,!1),r.map((function(e){var n=e.node;return{node:n,index:e.index,lockItem:o.indexOf(n)>=0,guard:wc(n)}}))),y=v.map((function(e){return e.node})).indexOf(m);y>-1&&(v.filter((function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),sl(y,v.length,1,v),sl(y,-1,-1,v))}}}return a},fl=function(e){ul()&&e&&(e.stopPropagation(),e.preventDefault())},pl=function(){return Ja(ul)};"production"===process.env.NODE_ENV||Pa.node.isRequired;var gl=function(){cl="just",Ja((function(){cl="meanwhile"}))};var bl={moveFocusInside:Qc,focusInside:Lc,focusNextElement:function(e,n){void 0===n&&(n={}),nl(e,n,(function(e,n){var t=e.next,r=e.first;return t||n&&r}))},focusPrevElement:function(e,n){void 0===n&&(n={}),nl(e,n,(function(e,n){var t=e.prev,r=e.last;return t||n&&r}))},focusFirstElement:function(e,n){void 0===n&&(n={}),tl(e,n,"first")},focusLastElement:function(e,n){void 0===n&&(n={}),tl(e,n,"last")},captureFocusRestore:function(e){var n=function(e){if(!e)return null;for(var n=[],t=e;t&&t!==document.body;)n.push({current:el(t),parent:el(t.parentElement),left:el(t.previousElementSibling),right:el(t.nextElementSibling)}),t=t.parentElement;return{element:el(e),stack:n,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var n,t,r,o,i;if(e)for(var a=e.stack,c=e.ownerDocument,l=new Map,s=0,d=a;s<d.length;s++){var u=d[s],f=null===(n=u.parent)||void 0===n?void 0:n.call(u);if(f&&c.contains(f)){for(var p=null===(t=u.left)||void 0===t?void 0:t.call(u),g=u.current(),b=f.contains(g)?g:void 0,h=null===(r=u.right)||void 0===r?void 0:r.call(u),m=Oc([f],l),v=null!==(i=null!==(o=null!=b?b:null==p?void 0:p.nextElementSibling)&&void 0!==o?o:h)&&void 0!==i?i:p;v;){for(var y=0,w=m;y<w.length;y++){var x=w[y];if(null==v?void 0:v.contains(x.node))return x.node}v=v.nextElementSibling}if(m.length)return m[0].node}}}(n)}}};_a.assignSyncMedium((function(e){var n=e.target,t=e.currentTarget;t.contains(n)||(al={observerNode:t,portaledElement:n})})),Ha.assignMedium(pl),Ga.assignMedium((function(e){return e(bl)}));var hl=function(e,n){if("production"!==process.env.NODE_ENV){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof n)throw new Error("Expected handleStateChangeOnClient to be a function.")}return function(t){if("production"!==process.env.NODE_ENV&&"function"!=typeof t)throw new Error("Expected WrappedComponent to be a React component.");var r,o=[];function i(){r=e(o.map((function(e){return e.props}))),n(r)}var c=function(e){function n(){return e.apply(this,arguments)||this}ic(n,e),n.peek=function(){return r};var c=n.prototype;return c.componentDidMount=function(){o.push(this),i()},c.componentDidUpdate=function(){i()},c.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),i()},c.render=function(){return a.createElement(t,this.props)},n}(g);return function(e,n,t){(n=cc(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(c,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(t)+")"),c}}((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var n=e.slice(-1)[0];n&&!ol&&(document.addEventListener("focusin",fl),document.addEventListener("focusout",pl),window.addEventListener("blur",gl));var t=ol,r=t&&n&&n.id===t.id;ol=n,t&&!r&&(t.onDeactivation(),e.filter((function(e){return e.id===t.id})).length||t.returnFocus(!n)),n?(il=null,r&&t.observed===n.observed||n.onActivation(bl),ul(),Ja(ul)):(document.removeEventListener("focusin",fl),document.removeEventListener("focusout",pl),window.removeEventListener("blur",gl),il=null)}))((function(){return null}));sa(Va,hl);function ml(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return n&&e.setAttribute("nonce",n),e}var vl=function(){var e=0,n=null;return{add:function(t){var r;0==e&&(n=ml())&&(!function(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}(n,t),r=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},yl=function(){var e,n=(e=vl(),function(n,t){i.useEffect((function(){return e.add(n),function(){e.remove()}}),[n&&t])});return function(e){var t=e.styles,r=e.dynamic;return n(t,r),null}},wl={left:0,top:0,right:0,gap:0},xl=function(e){return parseInt(e||"",10)||0},$l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return wl;var n=function(e){var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"];return[xl(t),xl(r),xl(o)]}(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},Cl=yl(),El="data-scroll-locked",kl=function(e,n,t,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===t&&(t="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(El,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Qi," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(ea," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Qi," .").concat(Qi," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ea," .").concat(ea," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(El,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},Ml=function(){var e=parseInt(document.body.getAttribute(El)||"0",10);return isFinite(e)?e:0},Sl=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;i.useEffect((function(){return document.body.setAttribute(El,(Ml()+1).toString()),function(){var e=Ml()-1;e<=0?document.body.removeAttribute(El):document.body.setAttribute(El,e.toString())}}),[]);var a=i.useMemo((function(){return $l(o)}),[o]);return i.createElement(Cl,{styles:kl(a,!n,o,t?"":"!important")})},Il=!1;if("undefined"!=typeof window)try{var jl=Object.defineProperty({},"passive",{get:function(){return Il=!0,!0}});window.addEventListener("test",jl,jl),window.removeEventListener("test",jl,jl)}catch(e){Il=!1}var Nl=!!Il&&{passive:!1},Ol=function(e,n){var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===t[n])},Dl=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Tl(e,r)){var o=Rl(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},Tl=function(e,n){return"v"===e?function(e){return Ol(e,"overflowY")}(n):function(e){return Ol(e,"overflowX")}(n)},Rl=function(e,n){return"v"===e?[(t=n).scrollTop,t.scrollHeight,t.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(n);var t},Al=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},zl=function(e){return[e.deltaX,e.deltaY]},Bl=function(e){return e&&"current"in e?e.current:e},Ll=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Zl=0,Pl=[];function Fl(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}sa(da,(function(e){var n=i.useRef([]),t=i.useRef([0,0]),r=i.useRef(),o=i.useState(Zl++)[0],a=i.useState(yl)[0],c=i.useRef(e);i.useEffect((function(){c.current=e}),[e]),i.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var n=O([e.lockRef.current],(e.shards||[]).map(Bl),!0).filter(Boolean);return n.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),n.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback((function(e,n){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var o,i=Al(e),a=t.current,l="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],d=e.target,u=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var f=Dl(u,d);if(!f)return!0;if(f?o=u:(o="v"===u?"h":"v",f=Dl(u,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,n,t,r,o){var i=function(e,n){return"h"===e&&"rtl"===n?-1:1}(e,window.getComputedStyle(n).direction),a=i*r,c=t.target,l=n.contains(c),s=!1,d=a>0,u=0,f=0;do{var p=Rl(e,c),g=p[0],b=p[1]-p[2]-i*g;(g||b)&&Tl(e,c)&&(u+=b,f+=g),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return(d&&(o&&Math.abs(u)<1||!o&&a>u)||!d&&(o&&Math.abs(f)<1||!o&&-a>f))&&(s=!0),s}(p,n,e,"h"===p?l:s,!0)}),[]),s=i.useCallback((function(e){var t=e;if(Pl.length&&Pl[Pl.length-1]===a){var r="deltaY"in t?zl(t):Al(t),o=n.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o}))[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(c.current.shards||[]).map(Bl).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!c.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),d=i.useCallback((function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:Fl(r)};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),u=i.useCallback((function(e){t.current=Al(e),r.current=void 0}),[]),f=i.useCallback((function(n){d(n.type,zl(n),n.target,l(n,e.lockRef.current))}),[]),p=i.useCallback((function(n){d(n.type,Al(n),n.target,l(n,e.lockRef.current))}),[]);i.useEffect((function(){return Pl.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,Nl),document.addEventListener("touchmove",s,Nl),document.addEventListener("touchstart",u,Nl),function(){Pl=Pl.filter((function(e){return e!==a})),document.removeEventListener("wheel",s,Nl),document.removeEventListener("touchmove",s,Nl),document.removeEventListener("touchstart",u,Nl)}}),[]);var g=e.removeScrollBar,b=e.inert;return i.createElement(i.Fragment,null,b?i.createElement(a,{styles:Ll(o)}):null,g?i.createElement(Sl,{gapMode:e.gapMode}):null)}));var ql=new WeakMap,Wl=new WeakMap,_l={},Hl=0,Gl=function(e){return e&&(e.host||Gl(e.parentNode))},Vl=function(e,n,t,r){var o=function(e,n){return n.map((function(n){if(e.contains(n))return n;var t=Gl(n);return t&&e.contains(t)?t:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(n,Array.isArray(e)?e:[e]);_l[t]||(_l[t]=new WeakMap);var i=_l[t],a=[],c=new Set,l=new Set(o),s=function(e){e&&!c.has(e)&&(c.add(e),s(e.parentNode))};o.forEach(s);var d=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(c.has(e))d(e);else{var n=e.getAttribute(r),o=null!==n&&"false"!==n,l=(ql.get(e)||0)+1,s=(i.get(e)||0)+1;ql.set(e,l),i.set(e,s),a.push(e),1===l&&o&&Wl.set(e,!0),1===s&&e.setAttribute(t,"true"),o||e.setAttribute(r,"true")}}))};return d(n),c.clear(),Hl++,function(){a.forEach((function(e){var n=ql.get(e)-1,o=i.get(e)-1;ql.set(e,n),i.set(e,o),n||(Wl.has(e)||e.removeAttribute(r),Wl.delete(e)),o||e.removeAttribute(t)})),--Hl||(ql=new WeakMap,ql=new WeakMap,Wl=new WeakMap,_l={})}},Yl=function(e,n,t){void 0===t&&(t="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=n||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Vl(r,o,t,"aria-hidden")):function(){return null}},Ul=yl(),Xl="\n ["+nc+"] {\n pointer-events: none !important;\n }\n",Kl=function(){return i.createElement(Ul,{styles:Xl})},Jl=function(e){return"current"in e?e.current:e};var Ql=sa(ec,(function(e){var n=e.setLockProps,t=e.onEscapeKey,r=e.onClickOutside,o=e.shards,a=e.onActivation,l=e.onDeactivation,s=e.noIsolation,d=c(void 0),f=d[0],p=d[1],g=u(null),h=u(0);return i.useEffect((function(){var e=function(e){e.defaultPrevented||"Escape"!==e.code&&"Escape"!==e.key&&27!==e.keyCode||!t||t(e)},n=function(e){e.defaultPrevented||e.target===g.current||e instanceof MouseEvent&&0!==e.button||o&&o.map(Jl).some((function(n){return n&&n.contains(e.target)||n===e.target}))||r&&r(e)},i=function(e){n(e),h.current=e.touches.length},a=function(e){h.current=e.touches.length};if(f)return document.addEventListener("keydown",e),document.addEventListener("mousedown",n),document.addEventListener("touchstart",i),document.addEventListener("touchend",a),function(){document.removeEventListener("keydown",e),document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",i),document.removeEventListener("touchend",a)}}),[f,r,t]),b((function(){if(f)return a&&a(f),function(){l&&l()}}),[!!f]),b((function(){var e=function(){return null},t=!1;return n({onMouseDown:function(e){g.current=e.target},onTouchStart:function(e){g.current=e.target},onActivation:function(n){s||(e=Yl(function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),o=0;for(n=0;n<t;n++)for(var i=arguments[n],a=0,c=i.length;a<c;a++,o++)r[o]=i[a];return r}([n],(o||[]).map(Jl)),document.body,nc)),p((function(){return n}))},onDeactivation:function(){e(),t||p(null)}}),function(){t=!0,n(!1)}}),[]),i.createElement(Kl,null)})),es=function(e){return i.createElement(Ql,S({},e))},ns=i.forwardRef((function(e,n){return i.createElement(rc,S({},e,{ref:n,sideCar:es}))}));var ts=!1,rs="production"!==process.env.NODE_ENV?Pa.oneOfType([Pa.number,Pa.shape({enter:Pa.number,exit:Pa.number,appear:Pa.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Pa.oneOfType([Pa.string,Pa.shape({enter:Pa.string,exit:Pa.string,active:Pa.string}),Pa.shape({enter:Pa.string,enterDone:Pa.string,enterActive:Pa.string,exit:Pa.string,exitDone:Pa.string,exitActive:Pa.string})]);var os=a.createContext(null),is="unmounted",as="exited",cs="entering",ls="entered",ss="exiting",ds=function(e){function n(n,t){var r;r=e.call(this,n,t)||this;var o,i=t&&!t.isMounting?n.enter:n.appear;return r.appearStatus=null,n.in?i?(o=as,r.appearStatus=cs):o=ls:o=n.unmountOnExit||n.mountOnEnter?is:as,r.state={status:o},r.nextCallback=null,r}ic(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===is?{status:as}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==cs&&t!==ls&&(n=cs):t!==cs&&t!==ls||(n=ss)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,r=this.props.timeout;return e=n=t=r,null!=r&&"number"!=typeof r&&(e=r.exit,n=r.enter,t=void 0!==r.appear?r.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){if(void 0===e&&(e=!1),null!==n)if(this.cancelNextCallback(),n===cs){if(this.props.unmountOnExit||this.props.mountOnEnter){var t=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this);t&&function(e){e.scrollTop}(t)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===as&&this.setState({status:is})},t.performEnter=function(e){var n=this,t=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[C.findDOMNode(this),r],i=o[0],a=o[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!t||ts?this.safeSetState({status:ls},(function(){n.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:cs},(function(){n.props.onEntering(i,a),n.onTransitionEnd(l,(function(){n.safeSetState({status:ls},(function(){n.props.onEntered(i,a)}))}))})))},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),r=this.props.nodeRef?void 0:C.findDOMNode(this);n&&!ts?(this.props.onExit(r),this.safeSetState({status:ss},(function(){e.props.onExiting(r),e.onTransitionEnd(t.exit,(function(){e.safeSetState({status:as},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:as},(function(){e.props.onExited(r)}))},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,n.nextCallback=null,e(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(t&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===is)return null;var n=this.props,t=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.createElement(os.Provider,{value:null},"function"==typeof t?t(e,r):a.cloneElement(a.Children.only(t),r))},n}(a.Component);function us(){}ds.contextType=os,ds.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Pa.shape({current:"undefined"==typeof Element?Pa.any:function(e,n,t,r,o,i){var a=e[n];return Pa.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,n,t,r,o,i)}}),children:Pa.oneOfType([Pa.func.isRequired,Pa.element.isRequired]).isRequired,in:Pa.bool,mountOnEnter:Pa.bool,unmountOnExit:Pa.bool,appear:Pa.bool,enter:Pa.bool,exit:Pa.bool,timeout:function(e){var n=rs;e.addEndListener||(n=n.isRequired);for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return n.apply(void 0,[e].concat(r))},addEndListener:Pa.func,onEnter:Pa.func,onEntering:Pa.func,onEntered:Pa.func,onExit:Pa.func,onExiting:Pa.func,onExited:Pa.func}:{},ds.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:us,onEntering:us,onEntered:us,onExit:us,onExiting:us,onExited:us},ds.UNMOUNTED=is,ds.EXITED=as,ds.ENTERING=cs,ds.ENTERED=ls,ds.EXITING=ss;var fs,ps,gs,bs,hs,ms,vs,ys,ws,xs,$s,Cs,Es,ks,Ms,Ss=ds,Is=e(nt)(fs||(fs=D(["\n opacity: ",";\n"],["\n opacity: ",";\n"])),(function(e){switch(e.$state){case"entered":case"entering":return An("semi-transparent");default:return An("transparent")}})),js=e(rt)(ps||(ps=D(["\n max-width: calc(100vw - ",");\n transform: ",";\n"],["\n max-width: calc(100vw - ",");\n transform: ",";\n"])),ne("inner-padding-l"),(function(e){switch(e.$state){case"entered":case"entering":return"translateX(0)";default:return"translateX(-100%)"}})),Ns="https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/logo-mark.svg"),Os=function(e){var n=e.children,t=e.footerSlot,r=e.domContainer,o=void 0===r?document.body:r,i=e.isOpen,l=e.onClose,s=I(e,["children","footerSlot","domContainer","isOpen","onClose"]),d=N(c(null),2),f=d[0],g=d[1],b=N(c(!1),2),h=b[0],m=b[1],v=u(null);return p((function(){if(f){var e=new IntersectionObserver((function(e){m(!e.some((function(e){return e.isIntersecting})))}),{root:f.parentElement});return e.observe(f),function(){e.disconnect()}}}),[f]),E(a.createElement(Ss,{in:i,nodeRef:v,addEndListener:function(e){var n;null===(n=v.current)||void 0===n||n.addEventListener("transitionend",e)},timeout:500,mountOnEnter:!0,unmountOnExit:!0},(function(e){return a.createElement(ns,{onEscapeKey:l,returnFocus:!0,autoFocus:!0},a.createElement(Is,{$position:"fixed",$inset:"all-spacing-0",$zIndex:"modal-dialog",$background:"black",$opacity:"semi-transparent",$state:e,$transition:"standard-ease"}),a.createElement(js,S({ref:v,$background:"bg-primary",$position:"fixed",$left:"all-spacing-0",$top:"all-spacing-0",$bottom:"all-spacing-0",$width:["all-spacing-22"],$zIndex:"modal-dialog",$flexDirection:"column",$transition:"standard-ease",$color:"text-primary",role:"dialog",$state:e},s),a.createElement(rt,{$ma:"space-between-s",$justifyContent:"space-between",$alignItems:"center"},a.createElement(St,{src:Ns,$height:"all-spacing-8",$width:"all-spacing-7",alt:""}),a.createElement(ao,{onClick:l,"aria-label":"Close",defaultIconBackground:"transparent",defaultIconColor:"black",defaultTextColor:"transparent",hoverTextColor:"transparent",disabledTextColor:"transparent",hoverIconBackground:"black",hoverIconColor:"white",disabledIconBackground:"transparent",iconBackgroundSize:"all-spacing-6",iconSize:"all-spacing-6",iconName:"cross"})),a.createElement("div",{style:{display:"contents"},"data-autofocus-inside":!0},a.createElement(rt,{$flexGrow:1,$flexDirection:"column",$overflow:"auto",$bt:"border-solid-s",$borderColor:h?"border-neutral-lighter":"transparent"},a.createElement("div",{ref:g}),n),t)))})),o)},Ds=function(e){return a.createElement(nt,{$mv:"space-between-m",$ph:"inner-padding-m"},e.children)},Ts=function(e){return a.createElement(rt,S({},e,{$flexDirection:["column","row"],$bt:"border-solid-s",$borderColor:"border-neutral-lighter",$pa:"inner-padding-xl",$gap:["space-between-s","space-between-m"],$width:"100%"}))},Rs=function(e){var n=e.$pa,t=void 0===n?"inner-padding-xl":n,r=e.fill,o=void 0===r?"black":r,i=e.stroke,c=e.$width,l=void 0===c?"fit-content":c,s=I(e,["$pa","fill","stroke","$width"]);return a.createElement(si,S({$pa:t,$width:l,backgroundElement:a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280 130",preserveAspectRatio:"none",$fill:o,$stroke:i},a.createElement("path",{d:"M1279.41 10.776C1279 10.0177 1279.5 7.99963 1277.5 8.65073C1277 8.65073 1275.53 8.70062 1276 9.41902C1276.56 23.5974 1276.34 113.092 1276.5 127.5C1279.56 128.617 0.908149 127.396 3.00021 126.907C0.314877 122.776 4.03063 33.3856 3.00021 28.4965C1.50142 21.2426 3.15634 15.9345 3.00021 9.88797C2.50062 2.40466 5.02719 2.69402 30.132 3.02328C65.2287 3.02328 92.6753 2.94346 121.902 3.02328C179.387 2.95344 224.944 3.04324 265.786 3.02328C337.634 3.14302 398.835 2.90355 455.258 3.04324C613.381 2.74391 948.86 2.91353 1106.55 2.8836C1140.74 2.77384 1210.34 2.98337 1265.54 2.8836C1265.92 2.77384 1272.26 3.18293 1271.91 2.48449C1272.69 2.02551 1272.54 1.09758 1272.79 0.508892C1269.63 -0.269372 1265.04 0.199582 1262.14 0.169649C1031.33 0.329293 652.911 0.109783 455.508 0.459004C362.396 0.508892 273.03 0.478959 185.725 0.488937C140.918 0.488937 80.5913 0.488937 37.501 0.468981C16.0808 -0.488882 9.05519 0.399137 2.62287 0.369204C0.249785 0.359226 1.74858 2.66408 1.34265 3.45233C-1.40389 6.89465 0.178862 11.9996 0.000150621 17.1218C-0.343323 26.9699 0.312234 116.849 0.0936605 129.88C5.37066 130.16 24.0119 129.88 25.1984 129.94C172.236 130.1 523.859 129.87 669.117 129.91C885.755 129.86 1045.25 129.79 1261.02 129.79C1260.7 129.332 1284.53 130.898 1279.22 128.723C1279.09 113.178 1279.09 26.7005 1279.41 10.776ZM1268.85 2.47451C1268.6 2.4346 1268.45 2.30489 1268.73 2.13526C1269.2 2.00555 1269.54 2.69402 1268.85 2.47451ZM1263.73 0.73838C1264.98 0.73838 1265.39 1.28716 1263.92 0.927957C1263.14 0.808225 1262.95 0.73838 1263.73 0.73838ZM1260.83 1.96564C1261.39 1.78604 1264.54 1.58649 1262.64 1.96564C1261.17 2.23504 1259.3 2.99335 1260.83 1.96564ZM1277 12.8015C1276.59 11.9633 1277 8.56953 1277.5 10.4996C1277.75 12.6349 1278.5 13.4996 1277 12.8015ZM1266.1 2.255C1269.04 2.46453 1264.57 2.54435 1265.64 2.29491C1265.64 2.17518 1265.64 2.13526 1266.1 2.255ZM1266.35 0.698469C1266.35 0.698469 1266.64 0.748358 1266.64 0.848136C1266.98 1.25722 1265.04 0.688492 1266.35 0.698469ZM1278.5 9.63853C1278.5 9.63853 1278.78 10.0376 1278.78 10.8359C1279.12 14.1285 1278 9.63853 1278.5 9.63853ZM1269.48 1.46676C1270.04 1.7162 1269.23 1.76609 1269.2 1.5366C1269.2 1.42684 1269.32 1.38693 1269.48 1.46676ZM1255.58 0.129738C1256.67 0.0598939 1257.77 0.019983 1258.02 0.059894C1259.83 0.159671 1251.05 0.309338 1255.58 0.129738ZM1197.41 2.32484C1198.75 2.29491 1198.72 2.62417 1197.41 2.62417C1196.1 2.62417 1196.07 2.30489 1197.41 2.32484ZM1168.5 2.10533C1168.84 2.01553 1171.77 1.91575 1172.09 2.10533C1172.52 2.14524 1167.81 2.30489 1168.5 2.10533ZM1112.35 0.20956C1116.57 0.269427 1110.51 0.239493 1110.32 0.20956C1110.6 0.20956 1111.54 0.20956 1112.35 0.20956ZM1109.76 0.878069C1111.1 0.878069 1111.07 1.03771 1109.76 1.03771C1108.45 1.03771 1108.42 0.888047 1109.76 0.878069ZM1088.5 1.04769C1089.34 0.688492 1094.59 0.498915 1091.15 0.967869C1087.72 1.34702 1086.72 1.41687 1088.5 1.04769ZM1084.38 0.139716C1086.91 0.179627 1086.28 0.179627 1083.91 0.159671C1081.47 0.139716 1081.82 0.11976 1084.38 0.139716ZM1071.92 2.67406C1071.45 2.69402 1071.17 2.69402 1070.45 2.67406C1067.51 2.59424 1073.54 2.6142 1071.92 2.67406ZM1069.67 2.31486C1070.2 2.28493 1073.32 2.24502 1071.79 2.37473C1071.45 2.4346 1067.26 2.38471 1069.67 2.31486ZM1063.42 1.19736C1064.14 1.0876 1065.49 1.52662 1063.71 1.58649C1061.99 1.76609 1060.02 1.24725 1063.42 1.19736ZM1046.69 0.73838C1046.84 0.658558 1047.56 0.528848 1048.22 0.528848C1052.09 0.379182 1045.59 1.13749 1046.69 0.73838ZM1026.52 2.58426C1027.27 2.55433 1028.51 2.58426 1029.33 2.6142C1032.2 2.67406 1025.39 2.64413 1026.52 2.58426ZM1010.84 2.56431C1013.71 2.58426 1009.62 2.63415 1009.28 2.58426C1009.28 2.57428 1009.84 2.56431 1010.84 2.56431ZM991.514 0.788269C992.7 0.908002 994.012 0.478959 995.323 0.927957C994.98 1.45678 985.799 0.708447 991.514 0.788269ZM968.001 2.10533C970.031 1.8958 970 2.10533 968.001 2.255C966.034 2.46453 966.034 2.255 968.001 2.10533ZM964.254 1.40689C966.378 1.81598 961.756 1.85589 961.069 1.90578C961.788 1.66631 963.88 1.60644 964.254 1.40689ZM958.009 2.22506C958.977 2.1652 959.508 2.1652 960.476 2.22506C963.224 2.30489 955.293 2.30489 958.009 2.22506ZM955.761 0.059894C958.852 0.0299607 954.106 0.159671 954.075 0.0798494C954.075 0.0698717 954.824 0.059894 955.761 0.059894ZM950.984 2.27495C951.452 2.30489 952.888 2.27495 953.451 2.49446C954.169 2.73393 946.737 2.6142 950.984 2.27495ZM937.744 2.60422C938.494 2.59424 939.68 2.60422 940.43 2.6142C944.364 2.64413 935.621 2.64413 937.744 2.60422ZM896.965 1.99558C899.713 2.15522 897.964 2.10533 896.965 2.28493C898.214 2.82373 893.124 1.96564 896.965 1.99558ZM872.984 1.94569C873.765 1.87584 874.67 1.806 875.045 1.87584C876.512 2.18515 868.644 2.51442 872.984 1.94569ZM864.741 2.4346H867.208C869.83 2.68404 859.932 2.42462 864.741 2.4346ZM850.471 2.5244C850.471 2.5244 853.999 2.31486 853.562 2.5244C853.562 2.55433 850.034 2.64413 850.471 2.5244ZM845.225 2.59424C845.225 2.66408 843.601 2.59424 843.445 2.59424H845.225ZM826.147 0.0798494C827.646 0.0598939 828.239 0.0598939 828.707 0.0798494C828.926 0.149694 820.62 0.159671 826.147 0.0798494ZM821.432 2.57429H823.93C825.647 2.6142 816.842 2.58426 821.432 2.57429ZM786.554 0.82818C786.804 0.82818 791.05 0.778291 791.113 0.848136C791.113 0.898024 786.429 0.848135 786.554 0.82818ZM703.558 2.56431C704.058 2.54435 707.555 2.50444 705.619 2.56431C705.119 2.57429 701.622 2.60422 703.558 2.56431ZM698.625 0.189605C700.529 0.149694 701.497 0.159671 701.497 0.20956C701.903 0.29936 695.127 0.239493 698.625 0.189605ZM531.322 2.69402H535.194C541.47 2.75388 527.294 2.72395 531.322 2.69402ZM520.862 2.71397C521.642 2.71397 522.829 2.71397 523.547 2.71397C525.67 2.74391 515.335 2.74391 520.862 2.71397ZM514.336 0.638603C517.052 0.60867 513.399 0.778291 513.336 0.688492C513.336 0.668536 513.805 0.648581 514.336 0.638603ZM486.702 2.62417C488.513 2.65411 485.921 2.66408 485.484 2.64413C484.297 2.6142 485.172 2.59424 486.702 2.62417ZM448.326 0.419093C448.514 0.419093 448.732 0.409115 448.951 0.409115C453.291 0.409115 444.517 0.488937 448.326 0.419093ZM447.265 2.75388C448.482 2.74391 449.482 2.74391 449.856 2.75388C449.482 2.77384 442.113 2.86364 447.265 2.75388ZM414.322 1.0876C415.009 1.0876 416.04 1.06765 416.633 1.0876C417.726 1.10756 411.481 1.15745 414.322 1.0876ZM403.925 2.67406C404.83 2.67406 406.079 2.72395 406.079 2.75388C405.954 2.77384 400.833 2.76386 403.925 2.67406ZM396.274 2.13526C396.274 2.13526 399.709 2.11531 399.397 2.13526C399.397 2.13526 395.869 2.17518 396.274 2.13526ZM394.214 1.58649C396.15 1.58649 396.306 1.64636 394.214 1.6264C392.246 1.59647 392.246 1.59647 394.214 1.58649ZM389.186 1.52662C389.686 1.50667 390.342 1.49669 390.841 1.49669C393.183 1.50667 388.343 1.57651 389.186 1.52662ZM381.536 2.75388C383.41 2.72395 384.315 2.72395 383.691 2.76386C383.285 2.81375 378.164 2.81375 381.536 2.75388ZM363.301 0.688492C367.329 0.758336 361.99 0.798247 361.833 0.688492C361.771 0.668536 362.052 0.668536 363.301 0.688492ZM322.584 1.84591C323.926 1.81598 323.895 1.92573 322.584 1.8958C321.272 1.88582 321.241 1.85589 322.584 1.84591ZM312.436 0.967869C312.436 0.967869 315.496 0.908002 315.152 0.967869C315.215 0.967869 312.061 1.02773 312.436 0.967869ZM301.132 1.84591C301.601 1.79602 304.348 1.79602 304.848 1.83593C305.223 1.83593 300.726 1.87584 301.132 1.84591ZM276.34 1.59647C276.496 1.57651 281.18 1.55656 281.336 1.59647C280.836 1.59647 276.402 1.65633 276.34 1.59647ZM275.903 2.73393C278.557 2.73393 279.431 2.76386 277.37 2.78382C275.028 2.82373 274.466 2.78382 275.903 2.73393ZM263.6 0.548803C266.91 0.528848 262.663 0.618647 261.976 0.578736C262.195 0.558781 262.913 0.548803 263.6 0.548803ZM224.507 0.468981C225.037 0.468981 225.662 0.468981 226.037 0.468981C226.567 0.508892 221.415 0.548803 224.507 0.468981ZM210.018 2.704C211.736 2.69402 211.642 2.78382 209.644 2.75388C207.864 2.75388 208.082 2.71397 210.018 2.704ZM196.311 1.10756C197.122 1.0876 198.059 1.07762 198.371 1.0876C197.56 1.14747 192.158 1.20733 196.311 1.10756ZM182.353 1.32707C183.696 1.30711 183.665 1.36698 182.353 1.37696C181.042 1.39691 181.01 1.32707 182.353 1.32707ZM175.39 0.349248C180.167 0.339271 172.018 0.409115 173.079 0.359226C173.079 0.359226 174.11 0.339271 175.39 0.349248ZM171.674 0.439048C172.018 0.42907 172.705 0.419093 173.204 0.419093C176.358 0.449026 170.925 0.508892 171.674 0.439048ZM167.771 1.76609C169.114 1.76609 169.988 1.78604 169.364 1.806C168.458 1.82595 165.46 1.76609 167.771 1.76609ZM160.933 0.868091C161.589 0.868091 162.307 0.888046 162.525 0.898024C162.525 0.947913 157.529 0.848136 160.933 0.868091ZM145.164 0.379182C148.724 0.449026 143.822 0.409115 143.322 0.379182C141.854 0.329293 142.698 0.329293 145.164 0.379182ZM131.363 2.72395C133.955 2.73393 129.895 2.83371 129.739 2.77384C128.802 2.73393 129.427 2.71397 131.363 2.72395ZM124.119 2.71397C125.867 2.71397 126.492 2.78382 124.119 2.75388C122.12 2.71397 122.12 2.72395 124.119 2.71397ZM104.01 1.59647C105.509 1.51664 105.103 1.64636 104.01 1.64636C102.792 1.65633 102.792 1.64636 104.01 1.59647ZM95.0484 2.13526C102.293 2.00555 89.5528 2.90355 91.0516 2.39469C91.0516 2.26498 92.8315 2.13526 95.0484 2.13526ZM64.573 2.63415C71.7235 2.63415 62.356 2.83371 60.8884 2.71397C61.1694 2.65411 62.8868 2.63415 64.573 2.63415ZM63.6987 2.40466C62.7619 2.53437 52.7075 2.81375 53.8316 2.40466H63.6987ZM42.1535 1.95567C46.9621 1.95567 53.9565 2.22506 51.2087 2.28493C46.0566 2.46453 34.8157 2.20511 42.1535 1.95567ZM31.9742 2.69402C40.3112 2.62417 35.003 2.86364 30.7252 2.85366C24.0743 2.85366 24.855 2.73393 31.9742 2.69402ZM1.68613 118.526C1.2802 119.084 1.2802 124.083 0.999181 121.379C-1.42455e-05 119.942 2.49797 114.096 1.68613 118.526ZM1.62492 13.5099C1.31267 20.2648 1.15655 8.76049 1.50002 7.77269C1.7186 5.96672 1.84349 8.94009 1.62492 13.5099ZM2.50021 33.0762C-0.715945 42.3655 1.00021 30.9996 2.50021 29.5985C1.25122 29.8778 2.87491 31.839 2.50021 33.0762ZM36.5955 127.585C32.2865 127.625 29.7885 127.635 29.1328 127.615C27.8213 127.436 53.4257 127.326 36.5955 127.585ZM58.89 129.651C56.9541 129.312 55.4241 129.501 53.4257 129.222C51.1463 128.952 64.5417 129.691 58.89 129.651ZM84.3695 127.346C92.7066 127.336 89.6153 127.555 83.5889 127.555C76.2511 127.555 77.0317 127.406 84.3695 127.346ZM94.7362 127.745C88.3975 127.745 88.4912 127.446 94.7362 127.386C100.856 127.446 100.95 127.735 94.7362 127.745ZM115.032 128.344C104.978 128.174 104.978 127.915 115.032 127.745C125.087 127.915 125.087 128.174 115.032 128.344ZM140.855 128.443C127.803 128.443 139.637 128.174 144.04 128.274C151.534 128.384 150.41 128.443 140.855 128.443ZM156.842 129.451C156.28 129.491 154.438 129.571 152.658 129.571C143.947 129.641 156.874 129.242 156.842 129.451ZM172.736 129.371C169.676 129.371 166.335 129.312 165.304 129.202C168.833 128.972 187.974 129.461 172.736 129.371ZM174.266 127.526C172.642 127.446 184.601 127.156 184.508 127.186C186.256 127.306 174.172 127.555 174.266 127.526ZM189.847 128.922C187.849 128.982 185.101 128.982 183.946 128.982C177.513 128.703 197.029 128.703 189.847 128.922ZM196.498 127.346C195.249 127.376 191.689 127.426 188.473 127.466C174.547 127.546 206.677 127.007 196.498 127.346ZM234.748 129.012C228.566 129.361 230.908 129.022 236.934 128.753C242.898 128.443 241.399 128.633 234.748 129.012ZM273.904 128.753C271.5 128.753 268.659 128.713 267.659 128.673C266.504 128.483 287.893 128.683 273.904 128.753ZM310 128.683C307.596 128.683 303.287 128.643 300.445 128.593C285.426 128.364 315.589 128.533 310 128.683ZM344.878 128.883C334.855 128.613 345.315 128.434 349.5 128.703C355.901 129.072 353.715 129.132 344.878 128.883ZM366.892 129.062C359.71 129.162 367.641 128.843 369.14 128.982C369.14 128.982 368.141 129.062 366.892 129.062ZM373.824 127.645C371.107 127.516 372.731 127.446 374.386 127.526C376.79 127.605 376.322 127.725 373.824 127.645ZM382.91 128.094C382.473 127.915 384.284 127.875 384.721 127.975C385.564 128.054 384.034 128.174 382.91 128.094ZM396.774 129.711C393.121 129.691 397.086 129.561 397.898 129.591C399.647 129.671 399.241 129.711 396.774 129.711ZM466.062 129.621C464.751 129.621 464.719 129.431 466.062 129.441C467.405 129.421 467.373 129.621 466.062 129.621ZM475.679 129.381C464.407 129.351 474.618 128.982 478.677 129.032C486.077 129.172 484.204 129.381 475.679 129.381ZM478.958 127.805C478.365 127.835 475.336 128.134 476.085 127.895C476.959 127.735 481.799 127.516 478.958 127.805ZM483.392 127.775C481.706 127.775 481.425 127.735 482.268 127.705C483.642 127.565 488.107 127.795 483.392 127.775ZM497.88 129.691C497.068 129.731 496.319 129.731 496.1 129.691C494.82 129.451 500.628 129.611 497.88 129.691ZM537.255 129.621C534.444 129.621 532.04 129.511 532.04 129.511C532.196 129.172 550.775 129.551 537.255 129.621ZM678.703 129.102C675.987 129.102 672.271 129.032 670.585 128.992C667.587 128.753 695.034 128.972 678.703 129.102ZM732.285 129.561C721.762 129.551 733.472 129.312 737.843 129.561H732.285ZM734.783 128.992C716.235 128.902 734.408 128.773 739.779 128.912C747.71 128.972 741.184 128.932 734.783 128.992ZM831.268 129.092H815.53C799.418 128.354 861.587 129.132 831.268 129.092ZM929.064 129.252C926.285 129.351 923.006 129.441 921.039 129.351C918.198 128.922 945.176 128.473 929.064 129.252ZM931.343 128.384C928.408 128.384 929.876 128.284 934.778 128.094C951.764 127.685 962.318 128.334 931.343 128.384Z"}))},s))},As=e(ho)(gs||(gs=D(["\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n background: ",";\n }\n }\n"],["\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n background: ",";\n }\n }\n"])),un("border-solid-l"),z("border-primary"),un("border-solid-l"),z("text-disabled"),z("bg-primary")),zs=e(rt)(ys||(ys=D(["\n &:not(:focus-within) {\n ","\n }\n\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n @media (hover: hover) {\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:hover input:not(:disabled) {\n background: ",";\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(\n ",'\n input:not(:focus-visible):not(:checked):not(:disabled)\n )::after {\n content: "";\n inset: 0;\n pointer-events: none;\n position: absolute;\n border-bottom: ',";\n border-radius: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n outline: ",";\n }\n\n &:has(input:checked:disabled) {\n outline-color: ",";\n }\n\n &:has(input:disabled:not(:checked)) {\n ","\n }\n\n &:has(input:disabled:checked) {\n ",";\n }\n }\n"],["\n &:not(:focus-within) {\n ","\n }\n\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n @media (hover: hover) {\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:hover input:not(:disabled) {\n background: ",";\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(\n ",'\n input:not(:focus-visible):not(:checked):not(:disabled)\n )::after {\n content: "";\n inset: 0;\n pointer-events: none;\n position: absolute;\n border-bottom: ',";\n border-radius: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n outline: ",";\n }\n\n &:has(input:checked:disabled) {\n outline-color: ",";\n }\n\n &:has(input:disabled:not(:checked)) {\n ","\n }\n\n &:has(input:disabled:checked) {\n ",";\n }\n }\n"])),(function(e){return!!e.$outlineColor&&n(bs||(bs=D(["\n outline: ","\n ",";\n "],["\n outline: ","\n ",";\n "])),un("border-solid-xl"),z(e.$outlineColor))}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-decorative1-subdued"),z("bg-primary"),Fo,Fo,un("border-solid-xl"),fn("border-radius-m2"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),un("border-solid-xl"),(function(e){return n(hs||(hs=D(["\n ","\n "],["\n ","\n "])),z(e.$overlayBorderColor))}),(function(e){return e.$feedbackBgColor?n(ms||(ms=D(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.$feedbackBgColor):void 0}),(function(e){return n(vs||(vs=D(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),z(e.$feedbackBgColor))})),Bs=function(e){var n,t,r,o=e.id,i=e.value,c=e.feedback,l=e.image,s=e.disabled,d=e.innerRef,f=e.displayValue,p=e.isHighlighted,g=I(e,["id","value","feedback","image","disabled","innerRef","displayValue","isHighlighted"]),b=!!c,h=u(null),m=null!=d?d:h,v="correct"===c&&(null===(n=m.current)||void 0===n?void 0:n.checked)||"incorrect"===c&&!(null===(t=m.current)||void 0===t?void 0:t.checked),y="incorrect"===c&&(null===(r=m.current)||void 0===r?void 0:r.checked),w=a.createElement(rt,{$flexDirection:"column",$minWidth:"all-spacing-20",$gap:"space-between-s"},a.createElement(nt,null,l),f),x=v?"bg-correct":"bg-incorrect",$=v?"border-success":"border-error",C=a.createElement(zs,{$pa:"inner-padding-l",$borderRadius:"border-radius-m2",$borderColor:p?"border-decorative5-stronger":"border-primary",$background:s&&!b?"bg-neutral-stronger":"bg-primary",$flexGrow:1,onClick:function(e){var n;e.target.id!==o&&(null===(n=m.current)||void 0===n||n.click())},$overlayBorderColor:b?$:"text-disabled",$feedbackBgColor:b?x:void 0,$outlineColor:p?"border-decorative5-stronger":"transparent"},a.createElement(Fo,{pointerEvents:"none",htmlFor:o,labelGap:"space-between-s",labelAlignItems:"center",$color:s&&!b?"text-disabled":"text-primary",$font:"body-1",disabled:s},a.createElement(Wo,{size:"all-spacing-7",iconPadding:"inner-padding-ssx",checkedIcon:a.createElement(nt,{$width:"100%",$height:"100%",$background:s||b?"text-disabled":"text-primary"},a.createElement(nt,{$ba:"border-solid-m",$borderColor:"white",$width:"100%",$height:"100%"})),internalCheckbox:a.createElement(As,S({id:o,value:i,disabled:s||b},g,{$width:"all-spacing-7",$height:"all-spacing-7",$ba:"border-solid-m",$borderColor:"border-neutral",$borderRadius:"border-radius-s",$background:p?"bg-decorative5-main":"bg-primary",$checkedBackground:null,ref:m}))}),l?w:f),b&&(v||y)&&a.createElement(rt,{className:"feedbackIconWrapper",$flexGrow:1,$justifyContent:"flex-end",$alignItems:"flex-end",$height:"100%"},v&&a.createElement(Qt,{iconName:"tick",$colorFilter:"icon-success",alt:"correct"===c?"Correct":"Unselected correct choice"}),y&&a.createElement(Qt,{iconName:"cross",$colorFilter:"icon-error",alt:"Incorrect"})));return a.createElement(rt,{$width:"100%",$position:"relative"},C)},Ls=function(e){var n,t,r=e.feedback,o=e.readOnly,i=I(e,["feedback","readOnly"]),c=void 0;switch(r){case"correct":n="valid",t="tick",c="Correct";break;case"incorrect":n="invalid",t="cross",c="Incorrect"}return a.createElement(Yo,S({},i,{validity:n,iconName:t,iconAlt:c,readOnly:o||!!r,isTrailingIcon:!0}))},Zs=e(rt)(Cs||(Cs=D(["\n &:not(:focus-within) {\n ","\n }\n\n &:hover {\n cursor: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n &:not(:focus-within) {\n ","\n }\n\n &:hover {\n cursor: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),(function(e){return!!e.$outlineColor&&n(ws||(ws=D(["\n outline: ","\n ",";\n "],["\n outline: ","\n ",";\n "])),un("border-solid-xl"),z(e.$outlineColor))}),(function(e){return e.$disabled?"default":"pointer"}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return!e.$disabled&&n(xs||(xs=D(["\n &:hover {\n background-color: ",";\n text-decoration: underline;\n }\n "],["\n &:hover {\n background-color: ",";\n text-decoration: underline;\n }\n "])),z("bg-decorative1-subdued"))}),(function(e){return!e.$disabled&&!e.$checked&&n($s||($s=D(['\n &:hover:not(:focus-within)::after {\n pointer-events: none;\n content: "";\n position: absolute;\n inset: 0;\n border-radius: ',";\n border-bottom: "," ",";\n }\n "],['\n &:hover:not(:focus-within)::after {\n pointer-events: none;\n content: "";\n position: absolute;\n inset: 0;\n border-radius: ',";\n border-bottom: "," ",";\n }\n "])),fn("border-radius-m2"),un("border-solid-l"),z("grey60"))})),Ps=function(e){var n,t,r=e.value,o=e.feedback,i=e.image,c=e.disabled,l=e.isHighlighted,s=e.label,u=I(e,["value","feedback","image","disabled","isHighlighted","label"]),f=!!o,p=d(lo).currentValue===r,g="bg-primary",b=null,h="bg-primary";switch(!0){case c&&!f:g="bg-neutral-stronger";break;case"correct"===o&&p:n="border-success",g="bg-correct",b="tick",t="Correct";break;case"incorrect"===o&&p:n="border-error",g="bg-incorrect",b="cross",t="Incorrect";break;case"incorrect"===o&&!p:b="tick",t="Unselected correct choice";break;case l:h="bg-decorative5-main",n="border-decorative5-stronger";break;case p&&!c:n="border-primary"}return a.createElement(Zs,{$pa:"inner-padding-l",$borderRadius:"border-radius-m2",$justifyContent:"space-between",$position:"relative",$alignContent:"center",onClick:function(e){var n;null===(n=e.currentTarget.querySelector("input"))||void 0===n||n.click()},$disabled:c||f,$checked:p,$outlineColor:n,$background:g},a.createElement(bo,S({value:r,disabled:c||f,$labelGap:"space-between-s",disableFocusRing:!0,radioInnerSize:"all-spacing-6",radioOuterSize:"all-spacing-7",radioBackground:h,checkedRadioBorderWidth:"border-solid-l",label:i?a.createElement(rt,{$flexDirection:"column",$minWidth:"all-spacing-20",$gap:"space-between-s"},a.createElement(nt,null,i),s):s},u)),f&&b&&a.createElement(rt,{$alignSelf:"flex-end"},a.createElement(Qt,{iconName:b,$colorFilter:"tick"===b?"icon-success":"icon-error",alt:t})))},Fs=e(ao)(Es||(Es=D(["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"],["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),qs=function(e){var n=e.isOpen,t=e.disabled;return a.createElement(Fs,{iconName:n&&!t?"lightbulb-yellow":"lightbulb",defaultIconBackground:n?"black":"bg-decorative5-main",hoverIconBackground:n?"black":"bg-decorative5-main",defaultTextColor:"text-primary",hoverTextColor:"text-primary",disabledIconBackground:"bg-btn-primary-disabled",disabledTextColor:"text-disabled",disabledIconColor:"white",onClick:e.onClick,isLoading:e.isLoading,disabled:e.disabled,iconBackgroundSize:"all-spacing-8",iconSize:"all-spacing-6"},n?"Close hint":"Need a hint?")},Ws=function(e){var n=e.hint,t=N(c(!1),2),r=t[0],o=t[1];return a.createElement(ei,{tooltip:n,isOpen:r},a.createElement(qs,{isOpen:r,onClick:function(){o(!r)}}))},_s=function(e){var n,t=e.feedback,r=e.answerFeedback;switch(t){case"correct":n="Correct";break;case"incorrect":n="Incorrect";break;case"partially-correct":n="Almost correct"}return a.createElement(nt,{"aria-live":"polite"},a.createElement(rt,{$gap:"space-between-xs"},a.createElement(Uo,{iconName:"correct"===t?"tick":"cross",alt:"",$pa:"inner-padding-none",$background:"correct"===t?"icon-success":"icon-error",$colorFilter:"text-inverted",$width:"all-spacing-6",$height:"all-spacing-6"}),a.createElement(ot,{$font:"heading-6",$color:"correct"===t?"text-success":"text-error"},n)),r&&a.createElement(ot,{as:"p",$mt:"space-between-xs",$font:"correct"===t?"body-2-bold":"body-2"},r))},Hs=e(rt)(ks||(ks=D(["\n box-sizing: content-box;\n"],["\n box-sizing: content-box;\n"]))),Gs=function(e){var n,t=e.hint,r=e.feedback,o=e.answerFeedback,i=e.children;switch(!0){case!!r:n=a.createElement(_s,{feedback:r,answerFeedback:o});break;case!!t:n=a.createElement(Ws,{hint:t});break;default:n=null}return a.createElement(Hs,{$flexDirection:["column","row"],$pa:"inner-padding-m",$minHeight:"all-spacing-9",$gap:"space-between-m"},a.createElement(rt,{$alignItems:"center"},n),a.createElement(rt,{$flexGrow:"1",$height:"fit-content",$alignSelf:"flex-end",$justifyContent:["initial","flex-end"],$width:["100%","auto"]},i))},Vs=e(ot)(Ms||(Ms=D(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),G("small")),Ys=function(e){var n=e.lessonSectionName,t=e.backLinkSlot,r=e.counterSlot,o=e.heading,i=e.mobileSummary;return a.createElement(rt,{$gap:"space-between-m",$alignItems:"center"},a.createElement(nt,{$pl:["inner-padding-none","inner-padding-s"]},t),a.createElement(rt,{$flexGrow:"none"},a.createElement(Uo,S({},function(e){switch(e){case"intro":return{iconName:"intro",$background:"aqua110"};case"starter-quiz":return{iconName:"quiz",$background:"mint110"};case"video":return{iconName:"video",$background:"pink110"};case"exit-quiz":return{iconName:"quiz",$background:"lemon110"}}}(n),{$width:"all-spacing-8",$height:"all-spacing-8"}))),a.createElement(nt,null,a.createElement(Ot,{tag:"h1",$font:["heading-7","heading-5"]},o),a.createElement(Vs,{$font:"body-3"},i)),a.createElement(rt,{$flexGrow:1,$justifyContent:"flex-end"},a.createElement(nt,{$display:["none","block"]},r)))};var Us,Xs,Ks=function(e){var n=e.counter,t=e.total;return a.createElement(ot,{$font:"heading-light-4",$color:"text-disabled"},a.createElement(ot,{$font:"heading-4",$color:"text-primary"},n," "),"of ",t)},Js=e(nt)(Us||(Us=D(["\n @media (min-width: ","px) {\n padding-top: ",";\n }\n"],["\n @media (min-width: ","px) {\n padding-top: ",";\n }\n"])),G("small"),ne("space-between-xl")),Qs=e(nt)(Xs||(Xs=D(["\n position: sticky;\n bottom: 0;\n z-index: 10;\n"],["\n position: sticky;\n bottom: 0;\n z-index: 10;\n"]))),ed=function(e){var n=e.lessonSectionName,t=e.topNavSlot,r=e.bottomNavSlot,o=e.children,i=N(function(e){switch(e){case"overview":case"review":return["bg-decorative1-main","bg-primary","border-decorative1-stronger","bg-primary"];case"intro":return["bg-decorative2-subdued","bg-decorative2-very-subdued","border-inverted","bg-decorative2-subdued"];case"starter-quiz":return["bg-decorative1-main","bg-decorative1-very-subdued","border-inverted","bg-decorative1-subdued"];case"video":return["bg-decorative4-subdued","bg-primary","border-decorative4","bg-primary"];case"exit-quiz":return["bg-decorative5-main","bg-decorative5-very-subdued","border-inverted","bg-decorative5-subdued"]}}(n),4),c=i[0],l=i[1],s=i[2],d=i[3];return a.createElement(Js,{$display:"flex",$width:"100%",$minHeight:"100%",$ph:["inner-padding-none","inner-padding-xl"],$background:c},a.createElement(rt,{$flexDirection:"column",$flexGrow:1,$background:[d,l],$btr:[null,"border-radius-xl"],$bt:[null,"border-solid-xl"],$bh:[null,"border-solid-xl"],$borderColor:[null,s],$maxWidth:"all-spacing-24",$minHeight:"100%",$mh:"auto",$pt:["inner-padding-none","inner-padding-m"],$gap:["space-between-l","space-between-xl"]},t&&a.createElement(nt,{$pv:"inner-padding-l",$pl:["inner-padding-m","inner-padding-xs"],$pr:["inner-padding-m","inner-padding-none"],$mr:["space-between-none","space-between-l"],$background:["bg-primary","transparent"]},t),a.createElement(rt,{$flexGrow:1,$flexDirection:"column"},o),r&&a.createElement(Qs,{$mh:["space-between-none","space-between-none","space-between-sssx"],$borderColor:s,$bt:"border-solid-xl",$background:["bg-primary",l]},r)))};var nd,td,rd,od,id,ad,cd=e(nt)(nd||(nd=D([""],[""]))),ld=e(Uo)(td||(td=D(["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"],["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"])),ne("all-spacing-8"),ne("all-spacing-8"),(function(e){return at(e.$disabled?"icon-disabled":"icon-inverted")})),sd=n(rd||(rd=D(["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),ld,z("bg-btn-primary"),at("icon-main")),dd=e(rt)(id||(id=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: default"}),(function(e){return!e.$disabled&&n(od||(od=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n }\n "])),cd,sd,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),sd)})),ud=e(nt)(ad||(ad=D(["\n flex: 1;\n"],["\n flex: 1;\n"]))),fd=function(e){var n=e.as,t=e.lessonSectionName,r=e.progress,o=e.disabled,i=e.href,c=e.onClick,l=I(e,["as","lessonSectionName","progress","disabled","href","onClick"]),s=N(function(e){switch(e){case"intro":return["bg-decorative2-very-subdued","bg-decorative2-main","border-decorative2-stronger"];case"starter-quiz":return["bg-decorative1-very-subdued","bg-decorative1-main","border-decorative1-stronger"];case"video":return["bg-decorative4-very-subdued","bg-decorative4-main","border-decorative4-stronger"];case"exit-quiz":return["bg-decorative5-very-subdued","bg-decorative5-main","border-decorative5-stronger"]}}(t),3),d=s[0],u=s[1],f=s[2];return a.createElement(dd,S({as:o?"div":null!=n?n:"a",$gap:"space-between-m",$alignItems:"center",$background:"not-started"===r?d:u,$ph:["inner-padding-m","inner-padding-xl"],$pv:"inner-padding-l",$borderRadius:"border-radius-l",$borderColor:f,$ba:"border-solid-l",$disabled:o,$color:"text-primary",href:o?void 0:i,onClick:o?void 0:c},l),a.createElement(rt,{$width:"all-spacing-13",$justifyContent:"center"},a.createElement(Qt,{iconName:pd(t),$width:"all-spacing-10",$height:"all-spacing-10"})),a.createElement(ud,null,a.createElement(cd,{as:"strong",$font:["heading-6","heading-5"],$color:o?"text-disabled":"text-primary"},function(e){switch(e){case"intro":return"Introduction";case"starter-quiz":return"Starter quiz";case"video":return"Lesson video";case"exit-quiz":return"Exit quiz"}}(t)),a.createElement(nt,{$font:["body-2","body-1"]},function(e){switch(e.progress){case"not-started":return function(e){switch(e.lessonSectionName){case"intro":return"Prepare";case"starter-quiz":return"Activate - ".concat(e.numQuestions," Questions");case"exit-quiz":return"Check - ".concat(e.numQuestions," questions");case"video":return"Learn"}}(e);case"in-progress":return"In progress...";case"complete":return a.createElement(rt,{$gap:"space-between-sssx",$alignItems:"center"},a.createElement(Qt,{iconName:"tick",$width:"all-spacing-6",$height:"all-spacing-6"}),function(e){switch(e.lessonSectionName){case"intro":case"video":return"Completed";case"starter-quiz":case"exit-quiz":return a.createElement(a.Fragment,null,a.createElement(nt,{$display:["none","block"]},"Completed"),a.createElement(nt,{$display:["block","none"]},e.grade,"/",e.numQuestions," correct"))}}(e))}}(e))),function(e){if("complete"!==e.progress)return null;switch(e.lessonSectionName){case"exit-quiz":case"starter-quiz":return a.createElement(nt,{$display:["none","block"],$mr:"space-between-m"},a.createElement(ot,{$font:"heading-4"},e.grade),a.createElement(ot,{$font:"heading-6"}," / ",e.numQuestions));default:return null}}(e),a.createElement(ld,{iconName:"chevron-right",$disabled:o}))};function pd(e){switch(e){case"intro":return"intro";case"starter-quiz":case"exit-quiz":return"quiz";case"video":return"video"}}var gd,bd=e(rt)(gd||(gd=D(["\n outline: none;\n text-align: initial;\n"],["\n outline: none;\n text-align: initial;\n"]))),hd=function(e){var n=e.completed,t=e.lessonSectionName,r=I(e,["completed","lessonSectionName"]),o=N(wd(t),3),i=o[0],c=o[1],l=o[2],s=new Map;return s.set("intro","intro"),s.set("starter-quiz","quiz"),s.set("exit-quiz","quiz"),s.set("video","video"),a.createElement(bd,S({completed:n,$gap:"space-between-m",$alignItems:"center",$background:n?i:"white",$ph:["inner-padding-m","inner-padding-xl"],$pv:"inner-padding-l",$borderRadius:"border-radius-l",$borderColor:n?i:c,$ba:"border-solid-l"},r),a.createElement(Uo,{iconName:s.get(t),$width:"all-spacing-10",$height:"all-spacing-10",$background:l}),a.createElement(rt,{$flexGrow:1,$flexShrink:1,$flexDirection:"column"},a.createElement(nt,{$font:["heading-6","heading-5"],$color:"text-primary"},yd(t)),a.createElement(nt,{$font:["body-2","body-1"]},md(e))),xd(e))},md=function(e){return!1===e.completed?vd(e):a.createElement(rt,{$gap:"space-between-sssx",$alignItems:"center"},a.createElement(Qt,{iconName:"tick",$width:"all-spacing-6",$height:"all-spacing-6"}),"Completed")},vd=function(e){switch(e.lessonSectionName){case"intro":return"Prepare";case"starter-quiz":return"Activate - ".concat(e.numQuestions," questions");case"exit-quiz":return"Check - ".concat(e.numQuestions," questions");case"video":return"Learn"}},yd=function(e){switch(e){case"intro":return"Introduction";case"starter-quiz":return"Starter quiz";case"video":return"Lesson video";case"exit-quiz":return"Exit quiz"}},wd=function(e){switch(e){case"intro":return["bg-decorative2-very-subdued","border-decorative2","aqua"];case"starter-quiz":return["bg-decorative1-very-subdued","border-decorative1","mint"];case"video":return["bg-decorative4-very-subdued","border-decorative4","pink"];case"exit-quiz":return["bg-decorative5-very-subdued","border-decorative5","lemon"]}},xd=function(e){if(!1===e.completed)return null;switch(e.lessonSectionName){case"exit-quiz":case"starter-quiz":return a.createElement(nt,null,a.createElement(ot,{$font:"heading-4"},e.grade),a.createElement(ot,{$font:"heading-6"}," / ",e.numQuestions));default:return null}},$d=function(e){var n=e.children,t=e.id,r=e.signLanguageControl,o=void 0===r?null:r,i=N(c(!1),2),l=i[0],s=i[1];return a.createElement(a.Fragment,null,a.createElement(rt,{$flexDirection:["column-reverse","row"],$justifyContent:"space-between"},a.createElement(nt,null,n&&a.createElement(co,{onClick:function(){return s(!l)},iconName:l?"chevron-up":"chevron-down",isTrailingIcon:!0,"aria-controls":t,"aria-expanded":l,$mb:"space-between-m"},l?"Hide transcript":"Show transcript")),o&&a.createElement(nt,{$mb:"space-between-m"},o)),n&&a.createElement(zi,{id:t,$maxHeight:"all-spacing-23",isOpen:l,$font:"body-1",$color:"text-primary"},n))};const Cd="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Ed(e){const n=Object.prototype.toString.call(e);return"[object Window]"===n||"[object global]"===n}function kd(e){return"nodeType"in e}function Md(e){var n,t;return e?Ed(e)?e:kd(e)&&null!=(n=null==(t=e.ownerDocument)?void 0:t.defaultView)?n:window:window}function Sd(e){const{Document:n}=Md(e);return e instanceof n}function Id(e){return!Ed(e)&&e instanceof Md(e).HTMLElement}function jd(e){return e instanceof Md(e).SVGElement}function Nd(e){return e?Ed(e)?e.document:kd(e)?Sd(e)?e:Id(e)||jd(e)?e.ownerDocument:document:document:document}const Od=Cd?p:b;function Dd(e){const n=u(e);return Od((()=>{n.current=e})),l((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)}),[])}function Td(e,n){void 0===n&&(n=[e]);const t=u(e);return Od((()=>{t.current!==e&&(t.current=e)}),n),t}function Rd(e,n){const t=u();return h((()=>{const n=e(t.current);return t.current=n,n}),[...n])}function Ad(e){const n=Dd(e),t=u(null),r=l((e=>{e!==t.current&&(null==n||n(e,t.current)),t.current=e}),[]);return[t,r]}function zd(e){const n=u();return b((()=>{n.current=e}),[e]),n.current}let Bd={};function Ld(e,n){return h((()=>{if(n)return n;const t=null==Bd[e]?0:Bd[e]+1;return Bd[e]=t,e+"-"+t}),[e,n])}function Zd(e){return function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(((n,t)=>{const r=Object.entries(t);for(const[t,o]of r){const r=n[t];null!=r&&(n[t]=r+e*o)}return n}),{...n})}}const Pd=Zd(1),Fd=Zd(-1);function qd(e){if(!e)return!1;const{KeyboardEvent:n}=Md(e.target);return n&&e instanceof n}function Wd(e){if(function(e){if(!e)return!1;const{TouchEvent:n}=Md(e.target);return n&&e instanceof n}(e)){if(e.touches&&e.touches.length){const{clientX:n,clientY:t}=e.touches[0];return{x:n,y:t}}if(e.changedTouches&&e.changedTouches.length){const{clientX:n,clientY:t}=e.changedTouches[0];return{x:n,y:t}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const _d=Object.freeze({Translate:{toString(e){if(!e)return;const{x:n,y:t}=e;return"translate3d("+(n?Math.round(n):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:n,scaleY:t}=e;return"scaleX("+n+") scaleY("+t+")"}},Transform:{toString(e){if(e)return[_d.Translate.toString(e),_d.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:n,duration:t,easing:r}=e;return n+" "+t+"ms "+r}}}),Hd="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Gd(e){return e.matches(Hd)?e:e.querySelector(Hd)}const Vd={display:"none"};function Yd(e){let{id:n,value:t}=e;return a.createElement("div",{id:n,style:Vd},t)}function Ud(e){let{id:n,announcement:t,ariaLiveType:r="assertive"}=e;return a.createElement("div",{id:n,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},t)}const Xd=s(null);const Kd={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},Jd={onDragStart(e){let{active:n}=e;return"Picked up draggable item "+n.id+"."},onDragOver(e){let{active:n,over:t}=e;return t?"Draggable item "+n.id+" was moved over droppable area "+t.id+".":"Draggable item "+n.id+" is no longer over a droppable area."},onDragEnd(e){let{active:n,over:t}=e;return t?"Draggable item "+n.id+" was dropped over droppable area "+t.id:"Draggable item "+n.id+" was dropped."},onDragCancel(e){let{active:n}=e;return"Dragging was cancelled. Draggable item "+n.id+" was dropped."}};function Qd(e){let{announcements:n=Jd,container:t,hiddenTextDescribedById:r,screenReaderInstructions:o=Kd}=e;const{announce:i,announcement:s}=function(){const[e,n]=c("");return{announce:l((e=>{null!=e&&n(e)}),[]),announcement:e}}(),u=Ld("DndLiveRegion"),[f,p]=c(!1);if(b((()=>{p(!0)}),[]),function(e){const n=d(Xd);b((()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(e)}),[e,n])}(h((()=>({onDragStart(e){let{active:t}=e;i(n.onDragStart({active:t}))},onDragMove(e){let{active:t,over:r}=e;n.onDragMove&&i(n.onDragMove({active:t,over:r}))},onDragOver(e){let{active:t,over:r}=e;i(n.onDragOver({active:t,over:r}))},onDragEnd(e){let{active:t,over:r}=e;i(n.onDragEnd({active:t,over:r}))},onDragCancel(e){let{active:t,over:r}=e;i(n.onDragCancel({active:t,over:r}))}})),[i,n])),!f)return null;const g=a.createElement(a.Fragment,null,a.createElement(Yd,{id:r,value:o.draggable}),a.createElement(Ud,{id:u,announcement:s}));return t?E(g,t):g}var eu;function nu(){}function tu(e,n){return h((()=>({sensor:e,options:null!=n?n:{}})),[e,n])}function ru(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return h((()=>[...n].filter((e=>null!=e))),[...n])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(eu||(eu={}));const ou=Object.freeze({x:0,y:0});function iu(e,n){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function au(e,n){const t=Wd(e);if(!t)return"0 0";return(t.x-n.left)/n.width*100+"% "+(t.y-n.top)/n.height*100+"%"}function cu(e,n){let{data:{value:t}}=e,{data:{value:r}}=n;return t-r}function lu(e,n){let{data:{value:t}}=e,{data:{value:r}}=n;return r-t}function su(e){let{left:n,top:t,height:r,width:o}=e;return[{x:n,y:t},{x:n+o,y:t},{x:n,y:t+r},{x:n+o,y:t+r}]}function du(e,n){if(!e||0===e.length)return null;const[t]=e;return n?t[n]:t}function uu(e,n,t){return void 0===n&&(n=e.left),void 0===t&&(t=e.top),{x:n+.5*e.width,y:t+.5*e.height}}const fu=e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=uu(n,n.left,n.top),i=[];for(const e of r){const{id:n}=e,r=t.get(n);if(r){const t=iu(uu(r),o);i.push({id:n,data:{droppableContainer:e,value:t}})}}return i.sort(cu)};function pu(e,n){const t=Math.max(n.top,e.top),r=Math.max(n.left,e.left),o=Math.min(n.left+n.width,e.left+e.width),i=Math.min(n.top+n.height,e.top+e.height),a=o-r,c=i-t;if(r<o&&t<i){const t=n.width*n.height,r=e.width*e.height,o=a*c;return Number((o/(t+r-o)).toFixed(4))}return 0}const gu=e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=t.get(r);if(i){const t=pu(i,n);t>0&&o.push({id:r,data:{droppableContainer:e,value:t}})}}return o.sort(lu)};function bu(e,n){return e&&n?{x:e.left-n.left,y:e.top-n.top}:ou}function hu(e){return function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(((n,t)=>({...n,top:n.top+e*t.y,bottom:n.bottom+e*t.y,left:n.left+e*t.x,right:n.right+e*t.x})),{...n})}}const mu=hu(1);function vu(e){if(e.startsWith("matrix3d(")){const n=e.slice(9,-1).split(/, /);return{x:+n[12],y:+n[13],scaleX:+n[0],scaleY:+n[5]}}if(e.startsWith("matrix(")){const n=e.slice(7,-1).split(/, /);return{x:+n[4],y:+n[5],scaleX:+n[0],scaleY:+n[3]}}return null}const yu={ignoreTransform:!1};function wu(e,n){void 0===n&&(n=yu);let t=e.getBoundingClientRect();if(n.ignoreTransform){const{transform:n,transformOrigin:r}=Md(e).getComputedStyle(e);n&&(t=function(e,n,t){const r=vu(n);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:c}=r,l=e.left-a-(1-o)*parseFloat(t),s=e.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),d=o?e.width/o:e.width,u=i?e.height/i:e.height;return{width:d,height:u,top:s,right:l+d,bottom:s+u,left:l}}(t,n,r))}const{top:r,left:o,width:i,height:a,bottom:c,right:l}=t;return{top:r,left:o,width:i,height:a,bottom:c,right:l}}function xu(e){return wu(e,{ignoreTransform:!0})}function $u(e,n){const t=[];return e?function r(o){if(null!=n&&t.length>=n)return t;if(!o)return t;if(Sd(o)&&null!=o.scrollingElement&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Id(o)||jd(o))return t;if(t.includes(o))return t;const i=Md(e).getComputedStyle(o);return o!==e&&function(e,n){void 0===n&&(n=Md(e).getComputedStyle(e));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=n[e];return"string"==typeof r&&t.test(r)}))}(o,i)&&t.push(o),function(e,n){return void 0===n&&(n=Md(e).getComputedStyle(e)),"fixed"===n.position}(o,i)?t:r(o.parentNode)}(e):t}function Cu(e){const[n]=$u(e,1);return null!=n?n:null}function Eu(e){return Cd&&e?Ed(e)?e:kd(e)?Sd(e)||e===Nd(e).scrollingElement?window:Id(e)?e:null:null:null}function ku(e){return Ed(e)?e.scrollX:e.scrollLeft}function Mu(e){return Ed(e)?e.scrollY:e.scrollTop}function Su(e){return{x:ku(e),y:Mu(e)}}var Iu;function ju(e){return!(!Cd||!e)&&e===document.scrollingElement}function Nu(e){const n={x:0,y:0},t=ju(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-t.width,y:e.scrollHeight-t.height};return{isTop:e.scrollTop<=n.y,isLeft:e.scrollLeft<=n.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:n}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Iu||(Iu={}));const Ou={x:.2,y:.2};function Du(e,n,t,r,o){let{top:i,left:a,right:c,bottom:l}=t;void 0===r&&(r=10),void 0===o&&(o=Ou);const{isTop:s,isBottom:d,isLeft:u,isRight:f}=Nu(e),p={x:0,y:0},g={x:0,y:0},b=n.height*o.y,h=n.width*o.x;return!s&&i<=n.top+b?(p.y=Iu.Backward,g.y=r*Math.abs((n.top+b-i)/b)):!d&&l>=n.bottom-b&&(p.y=Iu.Forward,g.y=r*Math.abs((n.bottom-b-l)/b)),!f&&c>=n.right-h?(p.x=Iu.Forward,g.x=r*Math.abs((n.right-h-c)/h)):!u&&a<=n.left+h&&(p.x=Iu.Backward,g.x=r*Math.abs((n.left+h-a)/h)),{direction:p,speed:g}}function Tu(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:n}=window;return{top:0,left:0,right:e,bottom:n,width:e,height:n}}const{top:n,left:t,right:r,bottom:o}=e.getBoundingClientRect();return{top:n,left:t,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Ru(e){return e.reduce(((e,n)=>Pd(e,Su(n))),ou)}function Au(e,n){if(void 0===n&&(n=wu),!e)return;const{top:t,left:r,bottom:o,right:i}=n(e);Cu(e)&&(o<=0||i<=0||t>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const zu=[["x",["left","right"],function(e){return e.reduce(((e,n)=>e+ku(n)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,n)=>e+Mu(n)),0)}]];class Bu{constructor(e,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const t=$u(n),r=Ru(t);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,n,o]of zu)for(const i of n)Object.defineProperty(this,i,{get:()=>{const n=o(t),a=r[e]-n;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Lu{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var n;return null==(n=this.target)?void 0:n.removeEventListener(...e)}))},this.target=e}add(e,n,t){var r;null==(r=this.target)||r.addEventListener(e,n,t),this.listeners.push([e,n,t])}}function Zu(e,n){const t=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof n?Math.sqrt(t**2+r**2)>n:"x"in n&&"y"in n?t>n.x&&r>n.y:"x"in n?t>n.x:"y"in n&&r>n.y}var Pu,Fu;function qu(e){e.preventDefault()}function Wu(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Pu||(Pu={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(Fu||(Fu={}));const _u={start:[Fu.Space,Fu.Enter],cancel:[Fu.Esc],end:[Fu.Space,Fu.Enter]},Hu=(e,n)=>{let{currentCoordinates:t}=n;switch(e.code){case Fu.Right:return{...t,x:t.x+25};case Fu.Left:return{...t,x:t.x-25};case Fu.Down:return{...t,y:t.y+25};case Fu.Up:return{...t,y:t.y-25}}};class Gu{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:n}}=e;this.props=e,this.listeners=new Lu(Nd(n)),this.windowListeners=new Lu(Md(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Pu.Resize,this.handleCancel),this.windowListeners.add(Pu.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Pu.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:n}=this.props,t=e.node.current;t&&Au(t),n(ou)}handleKeyDown(e){if(qd(e)){const{active:n,context:t,options:r}=this.props,{keyboardCodes:o=_u,coordinateGetter:i=Hu,scrollBehavior:a="smooth"}=r,{code:c}=e;if(o.end.includes(c))return void this.handleEnd(e);if(o.cancel.includes(c))return void this.handleCancel(e);const{collisionRect:l}=t.current,s=l?{x:l.left,y:l.top}:ou;this.referenceCoordinates||(this.referenceCoordinates=s);const d=i(e,{active:n,context:t.current,currentCoordinates:s});if(d){const n=Fd(d,s),r={x:0,y:0},{scrollableAncestors:o}=t.current;for(const t of o){const o=e.code,{isTop:i,isRight:c,isLeft:l,isBottom:s,maxScroll:u,minScroll:f}=Nu(t),p=Tu(t),g={x:Math.min(o===Fu.Right?p.right-p.width/2:p.right,Math.max(o===Fu.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(o===Fu.Down?p.bottom-p.height/2:p.bottom,Math.max(o===Fu.Down?p.top:p.top+p.height/2,d.y))},b=o===Fu.Right&&!c||o===Fu.Left&&!l,h=o===Fu.Down&&!s||o===Fu.Up&&!i;if(b&&g.x!==d.x){const e=t.scrollLeft+n.x,i=o===Fu.Right&&e<=u.x||o===Fu.Left&&e>=f.x;if(i&&!n.y)return void t.scrollTo({left:e,behavior:a});r.x=i?t.scrollLeft-e:o===Fu.Right?t.scrollLeft-u.x:t.scrollLeft-f.x,r.x&&t.scrollBy({left:-r.x,behavior:a});break}if(h&&g.y!==d.y){const e=t.scrollTop+n.y,i=o===Fu.Down&&e<=u.y||o===Fu.Up&&e>=f.y;if(i&&!n.x)return void t.scrollTo({top:e,behavior:a});r.y=i?t.scrollTop-e:o===Fu.Down?t.scrollTop-u.y:t.scrollTop-f.y,r.y&&t.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,Pd(Fd(d,this.referenceCoordinates),r))}}}handleMove(e,n){const{onMove:t}=this.props;e.preventDefault(),t(n)}handleEnd(e){const{onEnd:n}=this.props;e.preventDefault(),this.detach(),n()}handleCancel(e){const{onCancel:n}=this.props;e.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Vu(e){return Boolean(e&&"distance"in e)}function Yu(e){return Boolean(e&&"delay"in e)}Gu.activators=[{eventName:"onKeyDown",handler:(e,n,t)=>{let{keyboardCodes:r=_u,onActivation:o}=n,{active:i}=t;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const n=i.activatorNode.current;return(!n||e.target===n)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class Uu{constructor(e,n,t){var r;void 0===t&&(t=function(e){const{EventTarget:n}=Md(e);return e instanceof n?e:Nd(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=n;const{event:o}=e,{target:i}=o;this.props=e,this.events=n,this.document=Nd(i),this.documentListeners=new Lu(this.document),this.listeners=new Lu(t),this.windowListeners=new Lu(Md(i)),this.initialCoordinates=null!=(r=Wd(o))?r:ou,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:n,bypassActivationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Pu.Resize,this.handleCancel),this.windowListeners.add(Pu.DragStart,qu),this.windowListeners.add(Pu.VisibilityChange,this.handleCancel),this.windowListeners.add(Pu.ContextMenu,qu),this.documentListeners.add(Pu.Keydown,this.handleKeydown),n){if(null!=t&&t({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Yu(n))return void(this.timeoutId=setTimeout(this.handleStart,n.delay));if(Vu(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:n}=this.props;e&&(this.activated=!0,this.documentListeners.add(Pu.Click,Wu,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Pu.SelectionChange,this.removeTextSelection),n(e))}handleMove(e){var n;const{activated:t,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:a}}=o;if(!r)return;const c=null!=(n=Wd(e))?n:ou,l=Fd(r,c);if(!t&&a){if(Vu(a)){if(null!=a.tolerance&&Zu(l,a.tolerance))return this.handleCancel();if(Zu(l,a.distance))return this.handleStart()}return Yu(a)&&Zu(l,a.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),i(c)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===Fu.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Xu={move:{name:"pointermove"},end:{name:"pointerup"}};class Ku extends Uu{constructor(e){const{event:n}=e,t=Nd(n.target);super(e,Xu,t)}}Ku.activators=[{eventName:"onPointerDown",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;return!(!t.isPrimary||0!==t.button)&&(null==r||r({event:t}),!0)}}];const Ju={move:{name:"mousemove"},end:{name:"mouseup"}};var Qu;!function(e){e[e.RightClick=2]="RightClick"}(Qu||(Qu={}));class ef extends Uu{constructor(e){super(e,Ju,Nd(e.event.target))}}ef.activators=[{eventName:"onMouseDown",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;return t.button!==Qu.RightClick&&(null==r||r({event:t}),!0)}}];const nf={move:{name:"touchmove"},end:{name:"touchend"}};class tf extends Uu{constructor(e){super(e,nf)}static setup(){return window.addEventListener(nf.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(nf.move.name,e)};function e(){}}}var rf,of;function af(e){let{acceleration:n,activator:t=rf.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:a=5,order:c=of.TreeOrder,pointerCoordinates:s,scrollableAncestors:d,scrollableAncestorRects:f,delta:p,threshold:g}=e;const m=function(e){let{delta:n,disabled:t}=e;const r=zd(n);return Rd((e=>{if(t||!r||!e)return cf;const o={x:Math.sign(n.x-r.x),y:Math.sign(n.y-r.y)};return{x:{[Iu.Backward]:e.x[Iu.Backward]||-1===o.x,[Iu.Forward]:e.x[Iu.Forward]||1===o.x},y:{[Iu.Backward]:e.y[Iu.Backward]||-1===o.y,[Iu.Forward]:e.y[Iu.Forward]||1===o.y}}}),[t,n,r])}({delta:p,disabled:!i}),[v,y]=function(){const e=u(null);return[l(((n,t)=>{e.current=setInterval(n,t)}),[]),l((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),w=u({x:0,y:0}),x=u({x:0,y:0}),$=h((()=>{switch(t){case rf.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case rf.DraggableRect:return o}}),[t,o,s]),C=u(null),E=l((()=>{const e=C.current;if(!e)return;const n=w.current.x*x.current.x,t=w.current.y*x.current.y;e.scrollBy(n,t)}),[]),k=h((()=>c===of.TreeOrder?[...d].reverse():d),[c,d]);b((()=>{if(i&&d.length&&$){for(const e of k){if(!1===(null==r?void 0:r(e)))continue;const t=d.indexOf(e),o=f[t];if(!o)continue;const{direction:i,speed:c}=Du(e,o,$,n,g);for(const e of["x","y"])m[e][i[e]]||(c[e]=0,i[e]=0);if(c.x>0||c.y>0)return y(),C.current=e,v(E,a),w.current=c,void(x.current=i)}w.current={x:0,y:0},x.current={x:0,y:0},y()}else y()}),[n,E,r,y,i,a,JSON.stringify($),JSON.stringify(m),v,d,k,f,JSON.stringify(g)])}tf.activators=[{eventName:"onTouchStart",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;const{touches:o}=t;return!(o.length>1)&&(null==r||r({event:t}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(rf||(rf={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(of||(of={}));const cf={x:{[Iu.Backward]:!1,[Iu.Forward]:!1},y:{[Iu.Backward]:!1,[Iu.Forward]:!1}};var lf,sf;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(lf||(lf={})),function(e){e.Optimized="optimized"}(sf||(sf={}));const df=new Map;function uf(e,n){return Rd((t=>e?t||("function"==typeof n?n(e):e):null),[n,e])}function ff(e){let{callback:n,disabled:t}=e;const r=Dd(n),o=h((()=>{if(t||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(r)}),[t]);return b((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function pf(e){return new Bu(wu(e),e)}function gf(e,n,t){void 0===n&&(n=pf);const[r,o]=v((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:t)?o:null;const i=n(e);if(JSON.stringify(r)===JSON.stringify(i))return r;return i}),null),i=function(e){let{callback:n,disabled:t}=e;const r=Dd(n),o=h((()=>{if(t||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(r)}),[r,t]);return b((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(n){if(e)for(const t of n){const{type:n,target:r}=t;if("childList"===n&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),a=ff({callback:o});return Od((()=>{o(),e?(null==a||a.observe(e),null==i||i.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==i||i.disconnect())}),[e]),r}const bf=[];function hf(e,n){void 0===n&&(n=[]);const t=u(null);return b((()=>{t.current=null}),n),b((()=>{const n=e!==ou;n&&!t.current&&(t.current=e),!n&&t.current&&(t.current=null)}),[e]),t.current?Fd(e,t.current):ou}function mf(e){return h((()=>e?function(e){const n=e.innerWidth,t=e.innerHeight;return{top:0,left:0,right:n,bottom:t,width:n,height:t}}(e):null),[e])}const vf=[];function yf(e){if(!e)return null;if(e.children.length>1)return e;const n=e.children[0];return Id(n)?n:e}const wf=[{sensor:Ku,options:{}},{sensor:Gu,options:{}}],xf={current:{}},$f={draggable:{measure:xu},droppable:{measure:xu,strategy:lf.WhileDragging,frequency:sf.Optimized},dragOverlay:{measure:wu}};class Cf extends Map{get(e){var n;return null!=e&&null!=(n=super.get(e))?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:n}=e;return!n}))}getNodeFor(e){var n,t;return null!=(n=null==(t=this.get(e))?void 0:t.node.current)?n:void 0}}const Ef={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Cf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:nu},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$f,measureDroppableContainers:nu,windowRect:null,measuringScheduled:!1},kf={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:nu,draggableNodes:new Map,over:null,measureDroppableContainers:nu},Mf=s(kf),Sf=s(Ef);function If(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Cf}}}function jf(e,n){switch(n.type){case eu.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:n.initialCoordinates,active:n.active}};case eu.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:n.coordinates.x-e.draggable.initialCoordinates.x,y:n.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case eu.DragEnd:case eu.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case eu.RegisterDroppable:{const{element:t}=n,{id:r}=t,o=new Cf(e.droppable.containers);return o.set(r,t),{...e,droppable:{...e.droppable,containers:o}}}case eu.SetDroppableDisabled:{const{id:t,key:r,disabled:o}=n,i=e.droppable.containers.get(t);if(!i||r!==i.key)return e;const a=new Cf(e.droppable.containers);return a.set(t,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case eu.UnregisterDroppable:{const{id:t,key:r}=n,o=e.droppable.containers.get(t);if(!o||r!==o.key)return e;const i=new Cf(e.droppable.containers);return i.delete(t),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Nf(e){let{disabled:n}=e;const{active:t,activatorEvent:r,draggableNodes:o}=d(Mf),i=zd(r),a=zd(null==t?void 0:t.id);return b((()=>{if(!n&&!r&&i&&null!=a){if(!qd(i))return;if(document.activeElement===i.target)return;const e=o.get(a);if(!e)return;const{activatorNode:n,node:t}=e;if(!n.current&&!t.current)return;requestAnimationFrame((()=>{for(const e of[n.current,t.current]){if(!e)continue;const n=Gd(e);if(n){n.focus();break}}}))}}),[r,n,o,a,i]),null}function Of(e,n){let{transform:t,...r}=n;return null!=e&&e.length?e.reduce(((e,n)=>n({transform:e,...r})),t):t}const Df=s({...ou,scaleX:1,scaleY:1});var Tf;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Tf||(Tf={}));const Rf=m((function(e){var n,t,r,o;let{id:i,accessibility:s,autoScroll:d=!0,children:f,sensors:p=wf,collisionDetection:g=gu,measuring:m,modifiers:y,...w}=e;const x=v(jf,void 0,If),[$,C]=x,[E,M]=function(){const[e]=c((()=>new Set)),n=l((n=>(e.add(n),()=>e.delete(n))),[e]);return[l((n=>{let{type:t,event:r}=n;e.forEach((e=>{var n;return null==(n=e[t])?void 0:n.call(e,r)}))}),[e]),n]}(),[S,I]=c(Tf.Uninitialized),j=S===Tf.Initialized,{draggable:{active:N,nodes:O,translate:D},droppable:{containers:T}}=$,R=N?O.get(N):null,A=u({initial:null,translated:null}),z=h((()=>{var e;return null!=N?{id:N,data:null!=(e=null==R?void 0:R.data)?e:xf,rect:A}:null}),[N,R]),B=u(null),[L,Z]=c(null),[P,F]=c(null),q=Td(w,Object.values(w)),W=Ld("DndDescribedBy",i),_=h((()=>T.getEnabled()),[T]),H=function(e){return h((()=>({draggable:{...$f.draggable,...null==e?void 0:e.draggable},droppable:{...$f.droppable,...null==e?void 0:e.droppable},dragOverlay:{...$f.dragOverlay,...null==e?void 0:e.dragOverlay}})),[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay])}(m),{droppableRects:G,measureDroppableContainers:V,measuringScheduled:Y}=function(e,n){let{dragging:t,dependencies:r,config:o}=n;const[i,a]=c(null),{frequency:s,measure:d,strategy:f}=o,p=u(e),g=function(){switch(f){case lf.Always:return!1;case lf.BeforeDragging:return t;default:return!t}}(),h=Td(g),m=l((function(e){void 0===e&&(e=[]),h.current||a((n=>null===n?e:n.concat(e.filter((e=>!n.includes(e))))))}),[h]),v=u(null),y=Rd((n=>{if(g&&!t)return df;if(!n||n===df||p.current!==e||null!=i){const n=new Map;for(let t of e){if(!t)continue;if(i&&i.length>0&&!i.includes(t.id)&&t.rect.current){n.set(t.id,t.rect.current);continue}const e=t.node.current,r=e?new Bu(d(e),e):null;t.rect.current=r,r&&n.set(t.id,r)}return n}return n}),[e,i,t,g,d]);return b((()=>{p.current=e}),[e]),b((()=>{g||m()}),[t,g]),b((()=>{i&&i.length>0&&a(null)}),[JSON.stringify(i)]),b((()=>{g||"number"!=typeof s||null!==v.current||(v.current=setTimeout((()=>{m(),v.current=null}),s))}),[s,g,m,...r]),{droppableRects:y,measureDroppableContainers:m,measuringScheduled:null!=i}}(_,{dragging:j,dependencies:[D.x,D.y],config:H.droppable}),U=function(e,n){const t=null!==n?e.get(n):void 0,r=t?t.node.current:null;return Rd((e=>{var t;return null===n?null:null!=(t=null!=r?r:e)?t:null}),[r,n])}(O,N),X=h((()=>P?Wd(P):null),[P]),K=function(){const e=!1===(null==L?void 0:L.autoScrollEnabled),n="object"==typeof d?!1===d.enabled:!1===d,t=j&&!e&&!n;if("object"==typeof d)return{...d,enabled:t};return{enabled:t}}(),J=function(e,n){return uf(e,n)}(U,H.draggable.measure);!function(e){let{activeNode:n,measure:t,initialRect:r,config:o=!0}=e;const i=u(!1),{x:a,y:c}="boolean"==typeof o?{x:o,y:o}:o;Od((()=>{if(!a&&!c||!n)return void(i.current=!1);if(i.current||!r)return;const e=null==n?void 0:n.node.current;if(!e||!1===e.isConnected)return;const o=bu(t(e),r);if(a||(o.x=0),c||(o.y=0),i.current=!0,Math.abs(o.x)>0||Math.abs(o.y)>0){const n=Cu(e);n&&n.scrollBy({top:o.y,left:o.x})}}),[n,a,c,r,t])}({activeNode:N?O.get(N):null,config:K.layoutShiftCompensation,initialRect:J,measure:H.draggable.measure});const Q=gf(U,H.draggable.measure,J),ee=gf(U?U.parentElement:null),ne=u({activatorEvent:null,active:null,activeNode:U,collisionRect:null,collisions:null,droppableRects:G,draggableNodes:O,draggingNode:null,draggingNodeRect:null,droppableContainers:T,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),te=T.getNodeFor(null==(n=ne.current.over)?void 0:n.id),re=function(e){let{measure:n}=e;const[t,r]=c(null),o=ff({callback:l((e=>{for(const{target:t}of e)if(Id(t)){r((e=>{const r=n(t);return e?{...e,width:r.width,height:r.height}:r}));break}}),[n])}),i=l((e=>{const t=yf(e);null==o||o.disconnect(),t&&(null==o||o.observe(t)),r(t?n(t):null)}),[n,o]),[a,s]=Ad(i);return h((()=>({nodeRef:a,rect:t,setRef:s})),[t,a,s])}({measure:H.dragOverlay.measure}),oe=null!=(t=re.nodeRef.current)?t:U,ie=j?null!=(r=re.rect)?r:Q:null,ae=Boolean(re.nodeRef.current&&re.rect),ce=bu(le=ae?null:Q,uf(le));var le;const se=mf(oe?Md(oe):null),de=function(e){const n=u(e),t=Rd((t=>e?t&&t!==bf&&e&&n.current&&e.parentNode===n.current.parentNode?t:$u(e):bf),[e]);return b((()=>{n.current=e}),[e]),t}(j?null!=te?te:U:null),ue=function(e,n){void 0===n&&(n=wu);const[t]=e,r=mf(t?Md(t):null),[o,i]=v((function(){return e.length?e.map((e=>ju(e)?r:new Bu(n(e),e))):vf}),vf),a=ff({callback:i});return e.length>0&&o===vf&&i(),Od((()=>{e.length?e.forEach((e=>null==a?void 0:a.observe(e))):(null==a||a.disconnect(),i())}),[e]),o}(de),fe=Of(y,{transform:{x:D.x-ce.x,y:D.y-ce.y,scaleX:1,scaleY:1},activatorEvent:P,active:z,activeNodeRect:Q,containerNodeRect:ee,draggingNodeRect:ie,over:ne.current.over,overlayNodeRect:re.rect,scrollableAncestors:de,scrollableAncestorRects:ue,windowRect:se}),pe=X?Pd(X,D):null,ge=function(e){const[n,t]=c(null),r=u(e),o=l((e=>{const n=Eu(e.target);n&&t((e=>e?(e.set(n,Su(n)),new Map(e)):null))}),[]);return b((()=>{const n=r.current;if(e!==n){i(n);const a=e.map((e=>{const n=Eu(e);return n?(n.addEventListener("scroll",o,{passive:!0}),[n,Su(n)]):null})).filter((e=>null!=e));t(a.length?new Map(a):null),r.current=e}return()=>{i(e),i(n)};function i(e){e.forEach((e=>{const n=Eu(e);null==n||n.removeEventListener("scroll",o)}))}}),[o,e]),h((()=>e.length?n?Array.from(n.values()).reduce(((e,n)=>Pd(e,n)),ou):Ru(e):ou),[e,n])}(de),be=hf(ge),he=hf(ge,[Q]),me=Pd(fe,be),ve=ie?mu(ie,fe):null,ye=z&&ve?g({active:z,collisionRect:ve,droppableRects:G,droppableContainers:_,pointerCoordinates:pe}):null,we=du(ye,"id"),[xe,$e]=c(null),Ce=function(e,n,t){return{...e,scaleX:n&&t?n.width/t.width:1,scaleY:n&&t?n.height/t.height:1}}(ae?fe:Pd(fe,he),null!=(o=null==xe?void 0:xe.rect)?o:null,Q),Ee=l(((e,n)=>{let{sensor:t,options:r}=n;if(null==B.current)return;const o=O.get(B.current);if(!o)return;const i=e.nativeEvent,a=new t({active:B.current,activeNode:o,event:i,options:r,context:ne,onStart(e){const n=B.current;if(null==n)return;const t=O.get(n);if(!t)return;const{onDragStart:r}=q.current,o={active:{id:n,data:t.data,rect:A}};k((()=>{null==r||r(o),I(Tf.Initializing),C({type:eu.DragStart,initialCoordinates:e,active:n}),E({type:"onDragStart",event:o})}))},onMove(e){C({type:eu.DragMove,coordinates:e})},onEnd:c(eu.DragEnd),onCancel:c(eu.DragCancel)});function c(e){return async function(){const{active:n,collisions:t,over:r,scrollAdjustedTranslate:o}=ne.current;let a=null;if(n&&o){const{cancelDrop:c}=q.current;if(a={activatorEvent:i,active:n,collisions:t,delta:o,over:r},e===eu.DragEnd&&"function"==typeof c){await Promise.resolve(c(a))&&(e=eu.DragCancel)}}B.current=null,k((()=>{C({type:e}),I(Tf.Uninitialized),$e(null),Z(null),F(null);const n=e===eu.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=q.current[n];null==e||e(a),E({type:n,event:a})}}))}}k((()=>{Z(a),F(e.nativeEvent)}))}),[O]),ke=l(((e,n)=>(t,r)=>{const o=t.nativeEvent,i=O.get(r);if(null!==B.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(t,n.options,a)&&(o.dndKit={capturedBy:n.sensor},B.current=r,Ee(t,n))}),[O,Ee]),Me=function(e,n){return h((()=>e.reduce(((e,t)=>{const{sensor:r}=t;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:n(e.handler,t)})))]}),[])),[e,n])}(p,ke);!function(e){b((()=>{if(!Cd)return;const n=e.map((e=>{let{sensor:n}=e;return null==n.setup?void 0:n.setup()}));return()=>{for(const e of n)null==e||e()}}),e.map((e=>{let{sensor:n}=e;return n})))}(p),Od((()=>{Q&&S===Tf.Initializing&&I(Tf.Initialized)}),[Q,S]),b((()=>{const{onDragMove:e}=q.current,{active:n,activatorEvent:t,collisions:r,over:o}=ne.current;if(!n||!t)return;const i={active:n,activatorEvent:t,collisions:r,delta:{x:me.x,y:me.y},over:o};k((()=>{null==e||e(i),E({type:"onDragMove",event:i})}))}),[me.x,me.y]),b((()=>{const{active:e,activatorEvent:n,collisions:t,droppableContainers:r,scrollAdjustedTranslate:o}=ne.current;if(!e||null==B.current||!n||!o)return;const{onDragOver:i}=q.current,a=r.get(we),c=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:n,collisions:t,delta:{x:o.x,y:o.y},over:c};k((()=>{$e(c),null==i||i(l),E({type:"onDragOver",event:l})}))}),[we]),Od((()=>{ne.current={activatorEvent:P,active:z,activeNode:U,collisionRect:ve,collisions:ye,droppableRects:G,draggableNodes:O,draggingNode:oe,draggingNodeRect:ie,droppableContainers:T,over:xe,scrollableAncestors:de,scrollAdjustedTranslate:me},A.current={initial:ie,translated:ve}}),[z,U,ye,ve,O,oe,ie,G,T,xe,de,me]),af({...K,delta:D,draggingRect:ve,pointerCoordinates:pe,scrollableAncestors:de,scrollableAncestorRects:ue});const Se=h((()=>({active:z,activeNode:U,activeNodeRect:Q,activatorEvent:P,collisions:ye,containerNodeRect:ee,dragOverlay:re,draggableNodes:O,droppableContainers:T,droppableRects:G,over:xe,measureDroppableContainers:V,scrollableAncestors:de,scrollableAncestorRects:ue,measuringConfiguration:H,measuringScheduled:Y,windowRect:se})),[z,U,Q,P,ye,ee,re,O,T,G,xe,V,de,ue,H,Y,se]),Ie=h((()=>({activatorEvent:P,activators:Me,active:z,activeNodeRect:Q,ariaDescribedById:{draggable:W},dispatch:C,draggableNodes:O,over:xe,measureDroppableContainers:V})),[P,Me,z,Q,C,W,O,xe,V]);return a.createElement(Xd.Provider,{value:M},a.createElement(Mf.Provider,{value:Ie},a.createElement(Sf.Provider,{value:Se},a.createElement(Df.Provider,{value:Ce},f)),a.createElement(Nf,{disabled:!1===(null==s?void 0:s.restoreFocus)})),a.createElement(Qd,{...s,hiddenTextDescribedById:W}))})),Af=s(null),zf="button",Bf="Droppable";function Lf(e){let{id:n,data:t,disabled:r=!1,attributes:o}=e;const i=Ld(Bf),{activators:a,activatorEvent:c,active:l,activeNodeRect:s,ariaDescribedById:u,draggableNodes:f,over:p}=d(Mf),{role:g=zf,roleDescription:b="draggable",tabIndex:m=0}=null!=o?o:{},v=(null==l?void 0:l.id)===n,y=d(v?Df:Af),[w,x]=Ad(),[$,C]=Ad(),E=function(e,n){return h((()=>e.reduce(((e,t)=>{let{eventName:r,handler:o}=t;return e[r]=e=>{o(e,n)},e}),{})),[e,n])}(a,n),k=Td(t);Od((()=>(f.set(n,{id:n,key:i,node:w,activatorNode:$,data:k}),()=>{const e=f.get(n);e&&e.key===i&&f.delete(n)})),[f,n]);return{active:l,activatorEvent:c,activeNodeRect:s,attributes:h((()=>({role:g,tabIndex:m,"aria-disabled":r,"aria-pressed":!(!v||g!==zf)||void 0,"aria-roledescription":b,"aria-describedby":u.draggable})),[r,g,m,v,b,u.draggable]),isDragging:v,listeners:r?void 0:E,node:w,over:p,setNodeRef:x,setActivatorNodeRef:C,transform:y}}function Zf(){return d(Sf)}const Pf="Droppable",Ff={timeout:25};function qf(e){let{data:n,disabled:t=!1,id:r,resizeObserverConfig:o}=e;const i=Ld(Pf),{active:a,dispatch:c,over:s,measureDroppableContainers:f}=d(Mf),p=u({disabled:t}),g=u(!1),h=u(null),m=u(null),{disabled:v,updateMeasurementsFor:y,timeout:w}={...Ff,...o},x=Td(null!=y?y:r),$=ff({callback:l((()=>{g.current?(null!=m.current&&clearTimeout(m.current),m.current=setTimeout((()=>{f(Array.isArray(x.current)?x.current:[x.current]),m.current=null}),w)):g.current=!0}),[w]),disabled:v||!a}),C=l(((e,n)=>{$&&(n&&($.unobserve(n),g.current=!1),e&&$.observe(e))}),[$]),[E,k]=Ad(C),M=Td(n);return b((()=>{$&&E.current&&($.disconnect(),g.current=!1,$.observe(E.current))}),[E,$]),Od((()=>(c({type:eu.RegisterDroppable,element:{id:r,key:i,disabled:t,node:E,rect:h,data:M}}),()=>c({type:eu.UnregisterDroppable,key:i,id:r}))),[r]),b((()=>{t!==p.current.disabled&&(c({type:eu.SetDroppableDisabled,id:r,key:i,disabled:t}),p.current.disabled=t)}),[r,i,t,c]),{active:a,rect:h,isOver:(null==s?void 0:s.id)===r,node:E,over:s,setNodeRef:k}}function Wf(e){let{animation:n,children:t}=e;const[r,o]=c(null),[i,l]=c(null),s=zd(t);return t||r||!s||o(s),Od((()=>{if(!i)return;const e=null==r?void 0:r.key,t=null==r?void 0:r.props.id;null!=e&&null!=t?Promise.resolve(n(t,i)).then((()=>{o(null)})):o(null)}),[n,r,i]),a.createElement(a.Fragment,null,t,r?y(r,{ref:l}):null)}const _f={x:0,y:0,scaleX:1,scaleY:1};function Hf(e){let{children:n}=e;return a.createElement(Mf.Provider,{value:kf},a.createElement(Df.Provider,{value:_f},n))}const Gf={position:"fixed",touchAction:"none"},Vf=e=>qd(e)?"transform 250ms ease":void 0,Yf=f(((e,n)=>{let{as:t,activatorEvent:r,adjustScale:o,children:i,className:c,rect:l,style:s,transform:d,transition:u=Vf}=e;if(!l)return null;const f=o?d:{...d,scaleX:1,scaleY:1},p={...Gf,width:l.width,height:l.height,top:l.top,left:l.left,transform:_d.Transform.toString(f),transformOrigin:o&&r?au(r,l):void 0,transition:"function"==typeof u?u(r):u,...s};return a.createElement(t,{className:c,style:p,ref:n},i)})),Uf=e=>n=>{let{active:t,dragOverlay:r}=n;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,n]of Object.entries(i.active))void 0!==n&&(o[e]=t.node.style.getPropertyValue(e),t.node.style.setProperty(e,n));if(null!=i&&i.dragOverlay)for(const[e,n]of Object.entries(i.dragOverlay))void 0!==n&&r.node.style.setProperty(e,n);return null!=a&&a.active&&t.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,n]of Object.entries(o))t.node.style.setProperty(e,n);null!=a&&a.active&&t.node.classList.remove(a.active)}},Xf={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:n,final:t}}=e;return[{transform:_d.Transform.toString(n)},{transform:_d.Transform.toString(t)}]},sideEffects:Uf({styles:{active:{opacity:"0"}}})};function Kf(e){let{config:n,draggableNodes:t,droppableContainers:r,measuringConfiguration:o}=e;return Dd(((e,i)=>{if(null===n)return;const a=t.get(e);if(!a)return;const c=a.node.current;if(!c)return;const l=yf(i);if(!l)return;const{transform:s}=Md(i).getComputedStyle(i),d=vu(s);if(!d)return;const u="function"==typeof n?n:function(e){const{duration:n,easing:t,sideEffects:r,keyframes:o}={...Xf,...e};return e=>{let{active:i,dragOverlay:a,transform:c,...l}=e;if(!n)return;const s={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},d={scaleX:1!==c.scaleX?i.rect.width*c.scaleX/a.rect.width:1,scaleY:1!==c.scaleY?i.rect.height*c.scaleY/a.rect.height:1},u={x:c.x-s.x,y:c.y-s.y,...d},f=o({...l,active:i,dragOverlay:a,transform:{initial:c,final:u}}),[p]=f,g=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(g))return;const b=null==r?void 0:r({active:i,dragOverlay:a,...l}),h=a.node.animate(f,{duration:n,easing:t,fill:"forwards"});return new Promise((e=>{h.onfinish=()=>{null==b||b(),e()}}))}}(n);return Au(c,o.draggable.measure),u({active:{id:e,data:a.data,node:c,rect:o.draggable.measure(c)},draggableNodes:t,dragOverlay:{node:i,rect:o.dragOverlay.measure(l)},droppableContainers:r,measuringConfiguration:o,transform:d})}))}let Jf=0;function Qf(e){return h((()=>{if(null!=e)return Jf++,Jf}),[e])}const ep=a.memo((e=>{let{adjustScale:n=!1,children:t,dropAnimation:r,style:o,transition:i,modifiers:c,wrapperElement:l="div",className:s,zIndex:u=999}=e;const{activatorEvent:f,active:p,activeNodeRect:g,containerNodeRect:b,draggableNodes:h,droppableContainers:m,dragOverlay:v,over:y,measuringConfiguration:w,scrollableAncestors:x,scrollableAncestorRects:$,windowRect:C}=Zf(),E=d(Df),k=Qf(null==p?void 0:p.id),M=Of(c,{activatorEvent:f,active:p,activeNodeRect:g,containerNodeRect:b,draggingNodeRect:v.rect,over:y,overlayNodeRect:v.rect,scrollableAncestors:x,scrollableAncestorRects:$,transform:E,windowRect:C}),S=uf(g),I=Kf({config:r,draggableNodes:h,droppableContainers:m,measuringConfiguration:w}),j=S?v.setRef:void 0;return a.createElement(Hf,null,a.createElement(Wf,{animation:I},p&&k?a.createElement(Yf,{key:k,id:p.id,ref:j,as:l,activatorEvent:f,adjustScale:n,className:s,transition:i,rect:S,style:{zIndex:u,...o},transform:M},t):null))}));function np(e,n,t){const r=e.slice();return r.splice(t<0?r.length+t:t,0,r.splice(n,1)[0]),r}function tp(e,n){return e.reduce(((e,t,r)=>{const o=n.get(t);return o&&(e[r]=o),e}),Array(e.length))}function rp(e){return null!==e&&e>=0}const op=e=>{let{rects:n,activeIndex:t,overIndex:r,index:o}=e;const i=np(n,r,t),a=n[o],c=i[o];return c&&a?{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}:null},ip={scaleX:1,scaleY:1},ap=e=>{var n;let{activeIndex:t,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const c=null!=(n=i[t])?n:r;if(!c)return null;if(o===t){const e=i[a];return e?{x:0,y:t<a?e.top+e.height-(c.top+c.height):e.top-c.top,...ip}:null}const l=function(e,n,t){const r=e[n],o=e[n-1],i=e[n+1];if(!r)return 0;if(t<n)return o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0;return i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-l,...ip}:o<t&&o>=a?{x:0,y:c.height+l,...ip}:{x:0,y:0,...ip}};const cp="Sortable",lp=a.createContext({activeIndex:-1,containerId:cp,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:op,disabled:{draggable:!1,droppable:!1}});function sp(e){let{children:n,id:t,items:r,strategy:o=op,disabled:i=!1}=e;const{active:c,dragOverlay:l,droppableRects:s,over:d,measureDroppableContainers:f}=Zf(),p=Ld(cp,t),g=Boolean(null!==l.rect),m=h((()=>r.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[r]),v=null!=c,y=c?m.indexOf(c.id):-1,w=d?m.indexOf(d.id):-1,x=u(m),$=!function(e,n){if(e===n)return!0;if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}(m,x.current),C=-1!==w&&-1===y||$,E=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(i);Od((()=>{$&&v&&f(m)}),[$,m,v,f]),b((()=>{x.current=m}),[m]);const k=h((()=>({activeIndex:y,containerId:p,disabled:E,disableTransforms:C,items:m,overIndex:w,useDragOverlay:g,sortedRects:tp(m,s),strategy:o})),[y,p,E.draggable,E.droppable,C,m,w,s,g,o]);return a.createElement(lp.Provider,{value:k},n)}const dp=e=>{let{id:n,items:t,activeIndex:r,overIndex:o}=e;return np(t,r,o).indexOf(n)},up=e=>{let{containerId:n,isSorting:t,wasDragging:r,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:l,transition:s}=e;return!(!s||!r)&&((c===i||o!==a)&&(!!t||a!==o&&n===l))},fp={duration:200,easing:"ease"},pp="transform",gp=_d.Transition.toString({property:pp,duration:0,easing:"linear"}),bp={roleDescription:"sortable"};function hp(e){let{animateLayoutChanges:n=up,attributes:t,disabled:r,data:o,getNewIndex:i=dp,id:a,strategy:l,resizeObserverConfig:s,transition:f=fp}=e;const{items:p,containerId:g,activeIndex:m,disabled:v,disableTransforms:y,sortedRects:w,overIndex:x,useDragOverlay:$,strategy:C}=d(lp),E=function(e,n){var t,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(t=null==e?void 0:e.draggable)?t:n.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:n.droppable}}(r,v),k=p.indexOf(a),M=h((()=>({sortable:{containerId:g,index:k,items:p},...o})),[g,o,k,p]),S=h((()=>p.slice(p.indexOf(a))),[p,a]),{rect:I,node:j,isOver:N,setNodeRef:O}=qf({id:a,data:M,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...s}}),{active:D,activatorEvent:T,activeNodeRect:R,attributes:A,setNodeRef:z,listeners:B,isDragging:L,over:Z,setActivatorNodeRef:P,transform:F}=Lf({id:a,data:M,attributes:{...bp,...t},disabled:E.draggable}),q=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return h((()=>e=>{n.forEach((n=>n(e)))}),n)}(O,z),W=Boolean(D),_=W&&!y&&rp(m)&&rp(x),H=!$&&L,G=H&&_?F:null,V=_?null!=G?G:(null!=l?l:C)({rects:w,activeNodeRect:R,activeIndex:m,overIndex:x,index:k}):null,Y=rp(m)&&rp(x)?i({id:a,items:p,activeIndex:m,overIndex:x}):k,U=null==D?void 0:D.id,X=u({activeId:U,items:p,newIndex:Y,containerId:g}),K=p!==X.current.items,J=n({active:D,containerId:g,isDragging:L,isSorting:W,id:a,index:k,items:p,newIndex:X.current.newIndex,previousItems:X.current.items,previousContainerId:X.current.containerId,transition:f,wasDragging:null!=X.current.activeId}),Q=function(e){let{disabled:n,index:t,node:r,rect:o}=e;const[i,a]=c(null),l=u(t);return Od((()=>{if(!n&&t!==l.current&&r.current){const e=o.current;if(e){const n=wu(r.current,{ignoreTransform:!0}),t={x:e.left-n.left,y:e.top-n.top,scaleX:e.width/n.width,scaleY:e.height/n.height};(t.x||t.y)&&a(t)}}t!==l.current&&(l.current=t)}),[n,t,r,o]),b((()=>{i&&a(null)}),[i]),i}({disabled:!J,index:k,node:j,rect:I});return b((()=>{W&&X.current.newIndex!==Y&&(X.current.newIndex=Y),g!==X.current.containerId&&(X.current.containerId=g),p!==X.current.items&&(X.current.items=p)}),[W,Y,g,p]),b((()=>{if(U===X.current.activeId)return;if(U&&!X.current.activeId)return void(X.current.activeId=U);const e=setTimeout((()=>{X.current.activeId=U}),50);return()=>clearTimeout(e)}),[U]),{active:D,activeIndex:m,attributes:A,data:M,rect:I,index:k,newIndex:Y,items:p,isOver:N,isSorting:W,isDragging:L,listeners:B,node:j,overIndex:x,over:Z,setNodeRef:q,setActivatorNodeRef:P,setDroppableNodeRef:O,setDraggableNodeRef:z,transform:null!=Q?Q:V,transition:function(){if(Q||K&&X.current.newIndex===k)return gp;if(H&&!qd(T)||!f)return;if(W||J)return _d.Transition.toString({...f,property:pp});return}()}}function mp(e){if(!e)return!1;const n=e.data.current;return!!(n&&"sortable"in n&&"object"==typeof n.sortable&&"containerId"in n.sortable&&"items"in n.sortable&&"index"in n.sortable)}const vp=[Fu.Down,Fu.Right,Fu.Up,Fu.Left],yp=(e,n)=>{let{context:{active:t,collisionRect:r,droppableRects:o,droppableContainers:i,over:a,scrollableAncestors:c}}=n;if(vp.includes(e.code)){if(e.preventDefault(),!t||!r)return;const n=[];i.getEnabled().forEach((t=>{if(!t||null!=t&&t.disabled)return;const i=o.get(t.id);if(i)switch(e.code){case Fu.Down:r.top<i.top&&n.push(t);break;case Fu.Up:r.top>i.top&&n.push(t);break;case Fu.Left:r.left>i.left&&n.push(t);break;case Fu.Right:r.left<i.left&&n.push(t)}}));const l=(e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=su(n),i=[];for(const e of r){const{id:n}=e,r=t.get(n);if(r){const t=su(r),a=o.reduce(((e,n,r)=>e+iu(t[r],n)),0),c=Number((a/4).toFixed(4));i.push({id:n,data:{droppableContainer:e,value:c}})}}return i.sort(cu)})({active:t,collisionRect:r,droppableRects:o,droppableContainers:n,pointerCoordinates:null});let s=du(l,"id");if(s===(null==a?void 0:a.id)&&l.length>1&&(s=l[1].id),null!=s){const e=i.get(t.id),n=i.get(s),a=n?o.get(n.id):null,l=null==n?void 0:n.node.current;if(l&&a&&e&&n){const t=$u(l).some(((e,n)=>c[n]!==e)),o=wp(e,n),i=function(e,n){if(!mp(e)||!mp(n))return!1;if(!wp(e,n))return!1;return e.data.current.sortable.index<n.data.current.sortable.index}(e,n),s=t||!o?{x:0,y:0}:{x:i?r.width-a.width:0,y:i?r.height-a.height:0},d={x:a.left,y:a.top};return s.x&&s.y?d:Fd(d,s)}}}};function wp(e,n){return!(!mp(e)||!mp(n))&&e.data.current.sortable.containerId===n.data.current.sortable.containerId}var xp=s(Rf),$p=function(e){var n=d(xp);return b((function(){var e=document.documentElement.style.scrollBehavior;return document.documentElement.style.scrollBehavior="auto",function(){document.documentElement.style.scrollBehavior=e}})),a.createElement(n,S({},e))};function Cp(){var e=N(c(!1),2),n=e[0],t=e[1];return b((function(){var e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches)}),[]),n}var Ep=function(e){var n=e.id,t=e.label,r=e.isHighlighted,o=hp({id:n}),i=o.attributes,c=o.listeners,l=o.setNodeRef,s=o.transform,d=o.transition,u=o.isOver,f=o.isDragging,p={transform:_d.Transform.toString(s),transition:d};return a.createElement(Ui,{isOver:u,isHighlighted:r},a.createElement(Vi,S({ref:l,style:p,isDisabled:f},i,c,{"aria-describedby":void 0,"aria-roledescription":"sortable item","aria-pressed":void 0,"aria-selected":!!i["aria-pressed"],role:"option"}),t))},kp=function(e){var n=e.initialItems,t=e.onChange,r=e.isHighlighted,o=N(c(n),2),i=o[0],l=o[1],s=N(c(null),2),d=s[0],u=s[1],f=i.find((function(e){return e.id===d})),p=ru(tu(ef),tu(tf),tu(Gu,{coordinateGetter:yp,scrollBehavior:Cp()?"instant":"smooth"}));return a.createElement(a.Fragment,null,a.createElement(Wi,{$mb:"space-between-m2"}),a.createElement($p,{sensors:p,collisionDetection:fu,onDragEnd:function(e){var n=e.active,r=e.over;n.id!==(null==r?void 0:r.id)&&l((function(e){var o=e.findIndex((function(e){return e.id===n.id})),i=e.findIndex((function(e){return e.id===(null==r?void 0:r.id)})),a=np(e,o,i);return null==t||t(a),a}));u(null)},onDragStart:function(e){var n=e.active;u(n.id.toString())},accessibility:{announcements:Mp(i)}},a.createElement(sp,{items:i,strategy:ap},a.createElement(rt,{$gap:"space-between-s",$flexDirection:"column",role:"listbox","aria-label":"Sortable items"},i.map((function(e){return a.createElement(Ep,S({key:e.id},e,{isHighlighted:r}))}))),E(a.createElement(ep,null,f&&a.createElement(Vi,{isDragging:!0},f.label)),document.body))))};function Mp(e){var n=function(n){return e.findIndex((function(e){return e.id===n}))+1},t=function(n){var t;return null===(t=e.find((function(e){return e.id===n})))||void 0===t?void 0:t.label};return{onDragStart:function(){},onDragOver:function(r){var o=r.active,i=r.over;if(i)return"Sortable item ".concat(t(o.id)," is in position ").concat(n(i.id)," of ").concat(e.length)},onDragEnd:function(r){var o=r.active,i=r.over;if(i)return"Sortable item ".concat(t(o.id)," was dropped into position ").concat(n(i.id)," of ").concat(e.length)},onDragCancel:function(e){var n=e.active;return"Dragging was cancelled. Sortable item ".concat(t(n.id)," was dropped.")}}}var Sp,Ip,jp,Np=e(nt)(Sp||(Sp=D(["\n background-color: ",";\n background-color: color-mix(in lch, ",' 5%, transparent);\n\n &[data-over="true"] {\n background-color: ',";\n background-color: color-mix(\n in lch,\n "," 60%,\n transparent\n );\n }\n"],["\n background-color: ",";\n background-color: color-mix(in lch, ",' 5%, transparent);\n\n &[data-over="true"] {\n background-color: ',";\n background-color: color-mix(\n in lch,\n "," 60%,\n transparent\n );\n }\n"])),z("grey20"),z("black"),z("white"),z("white")),Op=f((function(e,n){var t=e.isOver,r=e.children,o=I(e,["isOver","children"]),i=N(c(null),2),l=i[0],s=i[1],d=N(c(0),2),u=d[0],f=d[1];return p((function(){if(l){var e=new ResizeObserver((function(e){var n,t,r=function(e){f((function(n){var t,r;return Math.max(null!==(r=null===(t=e.borderBoxSize[0])||void 0===t?void 0:t.blockSize)&&void 0!==r?r:0,n)}))};try{for(var o=j(e),i=o.next();!i.done;i=o.next()){r(i.value)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(n)throw n.error}}}));return e.observe(l),window.addEventListener("resize",n),function(){e.disconnect(),window.removeEventListener("resize",n)}}function n(){f(0)}}),[l]),a.createElement(Np,S({ref:n,$mb:"space-between-m2",$borderRadius:"border-radius-l","data-over":t,style:{minHeight:0===u?"auto":u}},o),a.createElement(rt,{$alignItems:"flex-start",$minHeight:"all-spacing-13",$pa:"inner-padding-s",$gap:"space-between-xs",$flexWrap:"wrap",ref:s},r))})),Dp=function(e){var n=e.id,t=e.label,r=e.isOver,o=Lf({id:n,data:{id:n,label:t}}),i=o.attributes,c=o.listeners,l=o.setNodeRef,s=o.isDragging;return a.createElement(Vi,S({ref:l,isDisabled:r,color:"text-inverted",background:"bg-btn-primary",iconColor:"icon-main"},i,c,{role:"option","aria-describedby":void 0,"aria-roledescription":"draggable item","aria-pressed":void 0,"aria-selected":!!i["aria-pressed"],style:{opacity:s?0:1}}),t)},Tp=function(e){var n=e.children,t=qf({id:"holding-pen",data:{label:"holding pen"}}),r=t.setNodeRef,o=t.isOver;return a.createElement(Op,{ref:r,isOver:o,"aria-label":"Available items","data-testid":"holding-pen",role:"listbox"},n)},Rp=function(e){var n=e.id,t=e.label,r=e.match,o=e.isHighlighted,i=qf({id:n,data:{id:n,label:t}}),c=i.setNodeRef,l=i.isOver,s=i.active;return a.createElement(Ui,{isOver:l,isDisabled:!s,ref:c,id:n,labelSlot:t,"data-testid":"slot",isHighlighted:o},r&&a.createElement(Dp,S({},r,{isOver:l})))},Ap=function(e){var n=e.initialOptions,t=e.initialSlots,r=e.isHighlighted,o=e.onChange,i=N(c({}),2),l=i[0],s=i[1],d=u(n.slice().sort((function(){return Math.random()-.5}))).current,f=u(t).current,p=N(c(null),2),g=p[0],b=p[1],h=d.find((function(e){return e.id===g})),m=Cp(),v=ru(tu(ef),tu(tf),tu(Gu,{coordinateGetter:yp,scrollBehavior:m?"instant":"smooth"})),y=Object.values(l).map((function(e){return e.id})),w=d.filter((function(e){return!y.includes(e.id)}));return a.createElement(a.Fragment,null,a.createElement(Wi,{$mb:"space-between-m2"}),a.createElement($p,{sensors:v,collisionDetection:fu,onDragEnd:function(e){var n=e.active,t=e.over;t&&s((function(e){var r=Object.entries(e).filter((function(e){var t=N(e,2)[1];return(null==t?void 0:t.id)!==n.id})),i=Object.fromEntries(r);return"holding-pen"!==t.id&&(i[t.id]=n.data.current),null==o||o(i),i}));b(null)},onDragStart:function(e){var n=e.active;b(n.id.toString())},accessibility:{announcements:zp}},a.createElement(Tp,null,w.map((function(e){return a.createElement(Dp,S({key:e.id},e))}))),a.createElement(rt,{$gap:"space-between-s",$flexDirection:"column","aria-label":"Matched items",role:"listbox"},f.map((function(e){return a.createElement(Rp,S({key:e.id},e,{isHighlighted:r,match:l[e.id]}))}))),E(a.createElement(ep,{dropAnimation:m?null:void 0},h&&a.createElement(Vi,{isDragging:!0},h.label)),document.body)))},zp={onDragStart:function(){},onDragOver:function(e){var n,t=e.active,r=e.over;if((null==r?void 0:r.data.current)&&(null===(n=t.data)||void 0===n?void 0:n.current))return"Item ".concat(t.data.current.label," is over ").concat(r.data.current.label)},onDragEnd:function(e){var n,t=e.active,r=e.over;if((null==r?void 0:r.data.current)&&(null===(n=t.data)||void 0===n?void 0:n.current))return"Item ".concat(t.data.current.label," was dropped onto ").concat(r.data.current.label)},onDragCancel:function(e){var n,t=e.active;if(null===(n=t.data)||void 0===n?void 0:n.current)return"Dragging was cancelled. Item ".concat(t.data.current.label," was dropped.")}},Bp=e(rt)(jp||(jp=D(["\n @media (min-width: ","px) {\n ","\n"],["\n @media (min-width: ","px) {\n ","\n"])),G("large"),(function(e){return n(Ip||(Ip=D(["\n background-image: url(",");\n background-repeat: no-repeat;\n background-position-x: center;\n background-size: 100%;\n "],["\n background-image: url(",");\n background-repeat: no-repeat;\n background-position-x: center;\n background-size: 100%;\n "])),function(e,n){var t="https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/");switch(e){case"lesson-listing":return"primary"===n?"".concat(t).concat(Pt):"".concat(t).concat(Ft);case"unit-listing":return"primary"===n?"".concat(t).concat(Wt):"".concat(t).concat(_t);case"subject-listing":return"".concat(t).concat(Ht);case"year-listing":return"".concat(t).concat(qt);default:return""}}(e.sectionName,null==e?void 0:e.phase))})),Lp=function(e){var n=e.sectionName,t=e.topNavSlot,r=e.phase,o=e.children,i=function(){switch(!0){case"lesson-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"lesson-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"unit-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"unit-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"tier-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"tier-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"subject-listing"===n:case"year-listing"===n:return"bg-decorative1-main"}}();return a.createElement(Bp,{$background:i,$flexDirection:"column",$alignItems:"center",$ph:["inner-padding-s","inner-padding-xl"],sectionName:n,phase:r},t&&a.createElement(rt,{$height:["all-spacing-13","all-spacing-14","all-spacing-16"],$alignItems:"center",$width:["100%","100%","all-spacing-24"]},t),o)};var Zp,Pp,Fp,qp,Wp,_p,Hp,Gp,Vp=e(ao)(Zp||(Zp=D(["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"],["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),Yp=function(e){var n=e.isLoading,t=e.disabled,r=e.onClick,o=e.isOpen;return a.createElement(Vp,{iconName:o&&!t?"cross":"info",defaultIconBackground:o?"black":"bg-decorative5-main",defaultIconColor:o?"white":"black",hoverIconBackground:o?"black":"bg-decorative5-main",defaultTextColor:"text-primary",hoverTextColor:"text-primary",disabledIconBackground:"bg-btn-primary-disabled",disabledTextColor:"text-disabled",disabledIconColor:"white",isLoading:n,disabled:e.disabled,iconBackgroundSize:"all-spacing-8",iconSize:"all-spacing-7",onClick:r})},Up=function(e){e.hint,e.isLoading,e.disabled;var n=I(e,["hint","isLoading","disabled"]),t=N(c(!1),2),r=t[0],o=t[1];return a.createElement(ei,S({tooltip:e.hint,isOpen:r},n),a.createElement(Yp,{onClick:function(){o(!r)},isOpen:r}))},Xp=e(nt)(Pp||(Pp=D([""],[""]))),Kp=e(Uo)(Fp||(Fp=D(["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"],["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"])),ne("all-spacing-8"),ne("all-spacing-8"),(function(e){return at(e.$disabled?"icon-disabled":"icon-inverted")})),Jp=n(qp||(qp=D(["\n "," {\n box-shadow: ",",\n ",";\n }\n"],["\n "," {\n box-shadow: ",",\n ",";\n }\n"])),Kp,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),Qp=n(Wp||(Wp=D(["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),Kp,z("bg-btn-primary"),at("icon-main")),eg=e(rt)(Hp||(Hp=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: not-allowed"}),(function(e){return!e.$disabled&&n(_p||(_p=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n ","\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n ","\n }\n "])),z("bg-decorative1-subdued"),Xp,Qp,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),Jp,Qp)})),ng=e(nt)(Gp||(Gp=D(["\n flex: 1;\n"],["\n flex: 1;\n"]))),tg=function(e){var n=e.as;e.lessonSectionName,e.progress;var t=e.disabled,r=e.href,o=e.unavailable,i=e.onClick,c=I(e,["as","lessonSectionName","progress","disabled","href","unavailable","onClick"]),l=t||o;return a.createElement(eg,S({as:l?"div":null!=n?n:"a",$gap:["space-between-s","space-between-m2"],$alignItems:"center",$justifyContent:"space-between",$flexWrap:"wrap",$background:o?"bg-neutral":"bg-primary",$pa:["inner-padding-l","inner-padding-xl"],$borderRadius:"border-radius-m",$ba:o?"border-solid-m":"border-solid-none",$borderColor:o?"border-neutral-lighter":"transparent",$disabled:l,$color:"text-primary",href:l?void 0:r,onClick:l?void 0:i},c),a.createElement(rt,{$alignItems:"center",$gap:["space-between-m2"]}," ",a.createElement(rt,null,a.createElement(nt,{$font:["heading-5","heading-4"],$color:e.unavailable?"text-subdued":"text-primary",$textDecoration:"none"},e.index)),a.createElement(ng,null,a.createElement(Xp,{$font:["heading-6","heading-5"],$color:l?"text-subdued":"text-primary"},e.title))),a.createElement(rt,{$alignItems:"center",$gap:"space-between-xs",$flexBasis:"auto",$flexGrow:1,$justifyContent:"flex-end"},e.numberOfLessons&&!e.unavailable&&a.createElement(Xp,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},e.numberOfLessons," lessons"),e.unavailable&&a.createElement(Xp,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},"Unavailable"),!e.unavailable&&a.createElement(Kp,{iconName:"chevron-right",$disabled:l})))},rg=function(e){var n=e.phase,t=e.element,r=I(e,["phase","element"]),o="primary"===n?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",i="primary"===n?"bg-decorative4-main":"bg-decorative3-main",c="primary"===n?"border-decorative4-stronger":"border-decorative3-stronger";return a.createElement(eo,S({element:null!=t?t:"button",pv:"inner-padding-xl",ph:"inner-padding-xl",font:"heading-6",defaultBorderColor:c,defaultBackground:o,defaultTextColor:"text-primary",hoverBackground:i,hoverBorderColor:c,hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"border-neutral-lighter",disabledTextColor:"text-subdued"},r))},og=function(e){var n=e.phase,t=e.element,r=e.subjectIconName,o=I(e,["phase","element","subjectIconName"]),i="primary"===n?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===n?"bg-decorative4-main":"bg-decorative3-main",l="primary"===n?"border-decorative4-stronger":"border-decorative3-stronger",s=a.createElement(Qt,{iconName:r,$minWidth:"all-spacing-12",$minHeight:"all-spacing-12","aria-hidden":"true"});return a.createElement(eo,S({element:null!=t?t:"button",iconOverride:s,iconLayout:"column",iconGap:"space-between-sssx",pv:null,pt:"inner-padding-s",pb:"inner-padding-xl",ph:"inner-padding-s",font:"heading-7",defaultBorderColor:l,defaultBackground:i,defaultTextColor:"text-primary",hoverBackground:c,hoverBorderColor:l,hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"border-neutral-lighter",disabledTextColor:"text-subdued",textAlign:"center",innerWidth:"all-spacing-16"},o))},ig=function(e){var n=e.count,t=e.countHeader,r=e.tag;return a.createElement(Ot,{tag:r,$font:["heading-6","heading-6"]},t,a.createElement(ot,{$font:"heading-light-6"}," (".concat(n,")")))},ag=function(e){var n=e.numberOfLessons,t=e.listItems;return a.createElement(rt,{$flexDirection:["column","row"],$flexWrap:"wrap",$justifyContent:"space-between",$flexGrow:[null,1],$alignItems:["flex-start","center"],$gap:"space-between-m",$mt:"space-between-m2"},a.createElement(ig,{tag:"h1",count:n,countHeader:"Previously released lessons"}),a.createElement(ii,{listItems:t,$background:"bg-decorative5-very-subdued",$borderRadius:"border-radius-s",$borderColor:"border-decorative5",$ba:"border-solid-s",$ph:"inner-padding-xs",$pv:"inner-padding-ssx"}))},cg=function(e){var n=e.children,t=e.phase,r=e.titleSlot,o=e.counterSlot,i="primary"===t?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===t?"bg-decorative4-subdued":"bg-decorative3-subdued";return a.createElement(rt,{$flexDirection:"column",$width:["100%","all-spacing-22","all-spacing-23"],$background:i,role:"list"},r&&a.createElement(rt,{$flexDirection:"column",$gap:["space-between-m","space-between-m2","space-between-m2"]},r,a.createElement(ji,{hrColor:"white",$height:"all-spacing-1"})),a.createElement(rt,{$mv:"space-between-m"},o),a.createElement(rt,{$flexDirection:"column",$pa:"inner-padding-m",$borderRadius:"border-radius-l",$gap:"space-between-s",$background:c},n))},lg=function(e){var n=e.iconBackground,t=void 0===n?"primary":n,r=e.title,o=e.iconName,i=e.alt,c=e.breadcrumbs;return a.createElement(rt,{$flexDirection:"row",$gap:"space-between-m"},a.createElement(Mi,{fill:sg(t),iconName:o,$flexGrow:0,iconHeight:["all-spacing-9","all-spacing-10","all-spacing-10"],iconWidth:["all-spacing-9","all-spacing-10","all-spacing-10"],$width:["all-spacing-11","all-spacing-13","all-spacing-13"],$height:["all-spacing-11","all-spacing-13","all-spacing-13"],alt:i}),a.createElement(rt,{$flexDirection:"column",$gap:"space-between-s"},a.createElement(Ot,{tag:"h1",$font:["heading-5","heading-4"]},r),a.createElement(ii,{listItems:c})))};function sg(e){return"primary"===e?"bg-decorative4-main":"bg-decorative3-main"}var dg,ug,fg,pg,gg,bg,hg,mg,vg,yg,wg,xg,$g,Cg=function(e){var n=e.children,t=e.phase,r=e.titleSlot,o=e.optionTitleSlot,i="primary"===t?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===t?"bg-decorative4-subdued":"bg-decorative3-subdued";return a.createElement(rt,{$flexDirection:"column",$width:["100%","all-spacing-22","all-spacing-23"],$background:i},r&&a.createElement(rt,{$flexDirection:"column",$gap:["space-between-m","space-between-m2","space-between-m2"],$mb:"space-between-m2"},r,a.createElement(ji,{hrColor:"white",$height:"all-spacing-1"})),a.createElement(rt,{$justifyContent:"center",$background:"bg-primary",$ba:"border-solid-m",$borderRadius:"border-radius-l",$pa:"inner-padding-xl",$borderColor:c},a.createElement(rt,{$pv:"inner-padding-xl",$flexDirection:"column",$alignItems:"center",$gap:"space-between-l"},o,a.createElement(rt,{$gap:"space-between-s",$flexWrap:"wrap",$justifyContent:"center"},n))))},Eg=function(e){var n=e.children;e.index,e.title;var t=e.unavailable;e.disabled;var r=I(e,["children","index","title","unavailable","disabled"]),o=e.disabled||e.unavailable;return a.createElement(rt,S({$borderRadius:"border-radius-m",$pa:"inner-padding-xl",$flexDirection:"column",$gap:"space-between-m",$background:t?"bg-neutral":"bg-primary"},r),a.createElement(rt,{$alignItems:"center",$gap:"space-between-m2"},a.createElement(rt,null,a.createElement(nt,{$font:["heading-5","heading-4"],$color:e.unavailable?"text-subdued":"text-primary",$textDecoration:"none"},e.index)),a.createElement(nt,{$font:["heading-6","heading-5"],$color:o?"text-subdued":"text-primary"},e.title)),a.createElement(rt,{$flexDirection:["column","row"],$gap:"space-between-xs",$flexWrap:"wrap"},n))},kg=e(nt)(dg||(dg=D([""],[""]))),Mg=e(rt)(fg||(fg=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: not-allowed"}),(function(e){return!e.$disabled&&n(ug||(ug=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n "])),z("bg-decorative1-subdued"),kg,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"))})),Sg=function(e){e.lessonSectionName,e.progress;var n=e.disabled,t=e.href,r=e.unavailable,o=e.onClick,i=e.numberOfLessons,c=I(e,["lessonSectionName","progress","disabled","href","unavailable","onClick","numberOfLessons"]),l=n||r;return a.createElement(Mg,S({as:l?"div":"a",$flexGrow:1,$background:r?"bg-neutral":"bg-primary",$disabled:l,$color:"text-primary",href:l?void 0:t,onClick:l?void 0:o},c),a.createElement(Rs,{fill:r?"border-neutral-lighter":"black",stroke:r?"border-neutral-lighter":"black",strokeWidth:"border-solid-s"},a.createElement(rt,{$flexDirection:"column",$gap:"all-spacing-2"},a.createElement(kg,{$font:["heading-7","heading-6"],$color:l?"text-subdued":"text-primary"},e.title),a.createElement(rt,{$alignItems:"center",$gap:"space-between-sssx"},!e.unavailable&&a.createElement(a.Fragment,null,a.createElement(kg,{$font:"heading-light-7",$color:l?"text-subdued":"text-primary"},i," lessons"),a.createElement(Uo,{iconName:"chevron-right",$width:"all-spacing-7",$height:"all-spacing-7",$background:"transparent",$colorFilter:l?"icon-disabled":"icon-inverted"})),e.unavailable&&a.createElement(kg,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},"Unavailable")))))},Ig=e(Qt)(pg||(pg=D([""],[""]))),jg=e(ho)(gg||(gg=D(["\n position: absolute;\n opacity: 0;\n pointer-events: none;\n\n &:checked:not(:disabled) + "," {\n filter: ",";\n }\n\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled) {\n background: ",";\n }\n"],["\n position: absolute;\n opacity: 0;\n pointer-events: none;\n\n &:checked:not(:disabled) + "," {\n filter: ",";\n }\n\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled) {\n background: ",";\n }\n"])),Ig,(function(e){return e.keepIconColor?"none":at("white")}),un("border-solid-l"),z("border-primary"),un("border-solid-l"),z("text-disabled"),z("bg-primary")),Ng=e(rt)(bg||(bg=D(["\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n background-color: ",";\n color: ",";\n }\n"],["\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n background-color: ",";\n color: ",";\n }\n"])),Fo,z("bg-neutral"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("black"),z("white")),Og=function(e){var n=e.id,t=e.value,r=e.disabled,o=e.innerRef,i=e.displayValue,c=e.icon,l=I(e,["id","value","disabled","innerRef","displayValue","icon"]),s=u(null),d=null!=o?o:s;return a.createElement(rt,{$minHeight:"all-spacing-8",$position:"relative"},a.createElement(Ng,{$borderRadius:"border-radius-s",$borderColor:"border-neutral-lighter",$ba:"border-solid-s",$background:"white",onClick:function(e){var t;e.target.id!==n&&(null===(t=d.current)||void 0===t||t.click())},$ph:"inner-padding-s",$pv:"inner-padding-ssx",$gap:"space-between-sssx"},a.createElement(jg,S({id:n,value:t,disabled:r,ref:d},l)),c&&a.createElement(Ig,{alt:"",iconName:c}),a.createElement(Fo,{pointerEvents:"none",htmlFor:n,$font:"heading-7",disabled:r},i)))},Dg=e.nav(hg||(hg=D(["\n outline: none;\n"],["\n outline: none;\n"]))),Tg=e(Zi)(mg||(mg=D(["\n text-decoration: none;\n color: inherit;\n width: 100%;\n display: Flex;\n width: 100%;\n &:focus {\n box-shadow: none;\n }\n\n &::before {\n content: counter(list-counter);\n min-width: 32px;\n height: 32px;\n border-radius: 50%;\n background-color: ",";\n color: ",";\n text-align: center;\n line-height: 32px;\n margin-right: ",";\n text-decoration: none;\n }\n &:hover::before {\n background-color: ",";\n box-shadow: ",";\n text-decoration: none;\n }\n\n &:focus-within::before {\n box-shadow: ",",\n ",";\n text-decoration: none;\n }\n &:active {\n color: ",";\n }\n &:active::before {\n box-shadow: ",",\n ",";\n background-color: ",";\n }\n"],["\n text-decoration: none;\n color: inherit;\n width: 100%;\n display: Flex;\n width: 100%;\n &:focus {\n box-shadow: none;\n }\n\n &::before {\n content: counter(list-counter);\n min-width: 32px;\n height: 32px;\n border-radius: 50%;\n background-color: ",";\n color: ",";\n text-align: center;\n line-height: 32px;\n margin-right: ",";\n text-decoration: none;\n }\n &:hover::before {\n background-color: ",";\n box-shadow: ",";\n text-decoration: none;\n }\n\n &:focus-within::before {\n box-shadow: ",",\n ",";\n text-decoration: none;\n }\n &:active {\n color: ",";\n }\n &:active::before {\n box-shadow: ",",\n ",";\n background-color: ",";\n }\n"])),z("black"),z("white"),ne("space-between-xs"),z("bg-btn-primary-hover"),Dn("drop-shadow-lemon"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("black"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),z("black")),Rg=e.ol(vg||(vg=D(["\n list-style: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n"],["\n list-style: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n"]))),Ag=e(zt)(yg||(yg=D(["\n position: relative;\n counter-increment: list-counter;\n display: flex;\n align-items: center;\n margin-bottom: ",";\n min-height: 40px;\n &:last-child {\n margin-bottom: 0;\n }\n\n &:hover {\n text-decoration: underline;\n color: ",";\n }\n"],["\n position: relative;\n counter-increment: list-counter;\n display: flex;\n align-items: center;\n margin-bottom: ",";\n min-height: 40px;\n &:last-child {\n margin-bottom: 0;\n }\n\n &:hover {\n text-decoration: underline;\n color: ",";\n }\n"])),ne("space-between-xs"),z("bg-btn-primary-hover")),zg=function(e){var n=e.items,t=e.ariaLabel,r=e.title,o=e.anchorTarget,i=e.onClick,l=I(e,["items","ariaLabel","title","anchorTarget","onClick"]),s=N(c(null),2),d=s[0],u=s[1],f=function(e){e.key&&"Tab"!==e.key&&u(e.currentTarget.hash)};return a.createElement(Dg,S({"aria-label":t},l),o&&a.createElement(Wr,{id:o}),r&&a.createElement(nt,{$mb:"space-between-m"},a.createElement(ot,{$font:"heading-light-7"},r)),a.createElement(Rg,{role:"list"},n.map((function(e,n){return a.createElement(Ag,{$font:"heading-7",key:n},a.createElement(Tg,{onClick:i,href:e.href,"aria-current":e.href===d?"true":void 0,onKeyDown:f},e.title))}))))},Bg=n(wg||(wg=D([""],[""]))),Lg=e((function(e){var n,t=e.childSubjects,r=e.tiers,o=e.getTierSubjectValues,i=N(c(t&&t[0]?null===(n=t[0])||void 0===n?void 0:n.subjectSlug:null),2),l=i[0],s=i[1],d=N(c("foundation"),2),u=d[0],f=d[1];return a.createElement(rt,{$flexDirection:"column",$gap:"space-between-m"},a.createElement(Ot,{$font:"heading-4",tag:"h4"},"Download"),t&&a.createElement(so,{label:"Choose subject for KS4 units",name:"childSubjectRadio",onChange:function(e){var n=e.currentTarget.value;s(n)},$flexDirection:"column",$gap:"space-between-s",defaultValue:l||"combined-science","data-testid":"child-subject-selector"},t.map((function(e){var n=e.subject,t=e.subjectSlug;return a.createElement(bo,{id:t,label:n,value:t,"data-testid":"child-subject-radio-button",key:t})}))),r&&a.createElement(so,{"data-testid":"tier-selector",label:"Choose learning tier for KS4 units",name:"tierRadio",onChange:function(e){var n=e.currentTarget.value;f(n)},$flexDirection:"column",$gap:"space-between-s",defaultValue:u},r.map((function(e){var n=e.tier,t=e.tierSlug;return a.createElement(bo,{id:t,label:n,value:t,"data-testid":"tier-radio-button",key:t})}))),a.createElement(no,{iconName:"arrow-right",isTrailingIcon:!0,onClick:function(){o(u,l)}},"Next"))}))(xg||(xg=D(["\n ","\n"],["\n ","\n"])),Bg),Zg=function(e){var n=e.showPromoTag,t=I(e,["showPromoTag"]);return a.createElement(nt,{$width:"fit-content",$height:"fit-content",$position:"relative"},a.createElement(Mi,S({},t)),n&&a.createElement(nt,{$position:"absolute",$top:["all-spacing-0","all-spacing-2"],$left:["all-spacing-0","all-spacing-2"]},a.createElement(Oi,null)))},Pg=e(no)($g||($g=D(["\n pointer-events: none;\n"],["\n pointer-events: none;\n"]))),Fg=function(e){var n=e.href,t=e.isCurrent,r=void 0!==t&&t,o=e.shallow,i=void 0===o||o,c=e.children;return r?a.createElement(Pg,{element:"span","aria-current":"page"},c):a.createElement(to,{element:M,href:n,shallow:i,isTrailingIcon:!0},c)},qg=function(e){var n=e.ariaLabel,t=e.navItems;return a.createElement("nav",{"aria-label":n},a.createElement(rt,{as:"ul",$flexDirection:["row"],$gap:"space-between-m",$mh:"space-between-none",$mv:"space-between-none",$ph:"inner-padding-none"},t.map((function(e,n){var t=e.href,r=e.isCurrent,o=e.children;return a.createElement(zt,{$listStyle:"none",key:n},a.createElement(Fg,{href:t,isCurrent:r},o))}))))},Wg=function(e){var n=e.state,t=e.innerMaxWidth,r=e.onOpenSettings,o=e.onHide,i=e.onAccept,c=e.onReject,l=e.isFixed,s=void 0!==l&&l;return a.createElement(nt,{$background:"bg-neutral",$bt:"border-solid-s",$borderColor:"border-neutral",$position:s?"fixed":void 0,$bottom:s?"all-spacing-0":void 0,$right:s?"all-spacing-0":void 0,$left:s?"all-spacing-0":void 0,$zIndex:s?"in-front":void 0,$color:"text-primary","data-testid":"cookie-banner"},a.createElement(nt,{$maxWidth:t,$mh:"auto"},a.createElement(rt,{$alignItems:["flex-start","flex-start","center"],$flexDirection:["column","column","row"],$mh:["space-between-s","space-between-m","space-between-xl"],$pv:"inner-padding-xl",$gap:["space-between-m","space-between-m","space-between-m2"]},function(){switch(n){case"accepted":case"rejected":return a.createElement(a.Fragment,null,a.createElement(nt,{$font:["body-3","body-2","heading-light-7"]},"You've"," ",a.createElement(ot,{as:"strong",$font:["body-3-bold","body-2-bold","heading-7"]},n)," ","additional cookies. You can"," ",a.createElement(Fi,{element:"button",onClick:r},"change your cookie settings")," ","at any time."),a.createElement(rt,{$justifyContent:"flex-end",$flexGrow:1},a.createElement(ro,{onClick:o},"Hide this message")));default:return a.createElement(a.Fragment,null,a.createElement(nt,{$font:["body-3","body-2"]},a.createElement(ot,{as:"strong",$font:["body-3-bold","body-2-bold"]},"This site uses cookies to store information on your computer.")," ","Some of these cookies are essential, while others help us to improve your experience by providing insights into how the site is being used."),a.createElement(rt,{$gap:["space-between-xs","space-between-m2"],$justifyContent:"flex-end",$flexDirection:["column","row"],$flexWrap:["wrap","wrap","nowrap"],$flexGrow:1},a.createElement(rt,{$font:"heading-7",$whiteSpace:"nowrap",$alignItems:"center"},a.createElement(Fi,{element:"button",type:"button",onClick:c,"data-testid":"cookie-banner-reject"},"Reject non-essential cookies")),a.createElement(ro,{onClick:r},"Cookie settings"),a.createElement(no,{onClick:i,"data-testid":"cookie-banner-accept"},"Accept all cookies")))}}())))},_g=function(e){var n=e.isOpen,t=e.onClose,r=e.onReject,o=e.onConfirm,i=e.onAccept,c=e.policyURL,l=e.policies,s=e.initialConsents;return a.createElement(Os,{isOpen:n,onClose:t,footerSlot:a.createElement(Ts,null,a.createElement(ro,{onClick:r,width:"100%"},"Reject non-essential cookies"),a.createElement(no,{type:"submit",form:"cookie-settings-form",width:"100%"},"Confirm my choices"))},a.createElement(Ds,null,a.createElement(Ot,{tag:"h2",$font:"heading-5",$mb:"space-between-s"},"This site uses cookies to store information on your computer."),a.createElement(Dt,{$mb:"space-between-m"},"Some of these cookies are essential, while others help us to improve your experience by providing insights into how the site is being used."),a.createElement(Dt,{$mb:"space-between-l"},"For more information, view our"," ",a.createElement(Pi,{href:c,target:"_blank"},"cookie policy"),"."),a.createElement(nt,{$mb:"space-between-xl"},a.createElement(no,{onClick:i,width:"all-spacing-18"},"Allow all")),a.createElement(nt,{$ph:"inner-padding-xs",as:"form",id:"cookie-settings-form",onSubmit:function(e){var n,t,r,i;e.preventDefault();var a=new FormData(e.currentTarget),c={};try{for(var s=j(l),d=s.next();!d.done;d=s.next()){var u=d.value;c[u.id]=u.strictlyNecessary?"granted":"denied"}}catch(e){n={error:e}}finally{try{d&&!d.done&&(t=s.return)&&t.call(s)}finally{if(n)throw n.error}}try{for(var f=j(a.getAll("consent")),p=f.next();!p.done;p=f.next()){c[p.value.toString()]="granted"}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}o(c)}},a.createElement(Ot,{tag:"h3",$font:"heading-6",$mb:"space-between-m"},"Manage consent preferences"),l.map((function(e){return a.createElement(Ji,{key:e.id,header:a.createElement(ot,{id:"cookie-settings-".concat(e.id,"-label")},e.label),id:"cookies-settings-".concat(e.id,"-accordion"),headerAfterSlot:a.createElement(_o,{id:"cookies-settings-".concat(e.id,"-checkbox"),name:"consent",displayValue:"",value:e.id,defaultChecked:e.strictlyNecessary||"granted"===s[e.id],disabled:e.strictlyNecessary,"aria-labelledby":"cookie-settings-".concat(e.id,"-label")})},a.createElement(Dt,{$mb:"space-between-m2"},e.description),a.createElement(nt,{as:"dl",$pl:"inner-padding-m"},e.parties.length>0&&a.createElement(a.Fragment,null,a.createElement("dt",null,"Who do we share data with?"),a.createElement(nt,{as:"dd",$font:"body-3-bold",$mb:"space-between-s"},a.createElement(Tt,{$reset:!0},e.parties.map((function(e,n,t){return a.createElement(nt,{as:"li",key:n,$display:"inline"},a.createElement(Fi,{href:e.policyURL,target:"_blank",rel:"external nofollow"},e.name),n<t.length-1&&", ")}))))),a.createElement("dt",null,"Does this policy need cookies to work?"),a.createElement(nt,{as:"dd",$font:"body-3-bold"},"Yes.")))})))))};function Hg(e,n){switch(n.type){case"confirmModalConsents":case"acceptModalConsents":case"rejectModalConsents":return S(S({},e),{isSettingsModalOpen:!1,bannerState:"hidden"});case"acceptBannerConsents":return S(S({},e),{bannerState:"accepted"});case"rejectBannerConsents":return S(S({},e),{bannerState:"rejected"});case"openModal":return S(S({},e),{isSettingsModalOpen:!0});case"closeModal":return S(S({},e),{isSettingsModalOpen:!1});case"showBanner":return S(S({},e),{bannerState:"initial"});case"hideBanner":return S(S({},e),{bannerState:"hidden"});default:return e}}function Gg(){return{isSettingsModalOpen:!1,bannerState:"hidden"}}var Vg=s({isSettingsModalOpen:!1,policies:[],currentConsents:{},showBanner:function(){},hideBanner:function(){},openSettings:function(){},closeSettings:function(){},rejectModalConsents:function(){},confirmModalConsents:function(){},acceptModalConsents:function(){},rejectBannerConsents:function(){},acceptBannerConsents:function(){},bannerState:"initial"});function Yg(){var e=d(Vg);return{showBanner:e.showBanner,openSettings:e.openSettings}}var Ug,Xg,Kg,Jg=function(e){var n=e.children,t=e.currentConsents,r=e.policies,o=e.onConsentChange,i=N(v(Hg,null,Gg),2),c=i[0],s=i[1],d=l((function(){return s({type:"closeModal"})}),[]),u=l((function(){o(Object.fromEntries(r.map((function(e){return[e.id,"granted"]}))))}),[o,r]),f=l((function(){o(Object.fromEntries(r.map((function(e){return[e.id,e.strictlyNecessary?"granted":"denied"]}))))}),[o,r]),p=l((function(){return s({type:"hideBanner"})}),[]),g=l((function(){return s({type:"showBanner"})}),[]),b=l((function(){return s({type:"openModal"})}),[]),h=l((function(){u(),s({type:"acceptBannerConsents"})}),[u]),m=l((function(){f(),s({type:"rejectBannerConsents"})}),[f]),y=l((function(){u(),s({type:"acceptModalConsents"})}),[u,p]),w=l((function(){f(),s({type:"rejectModalConsents"})}),[f,p]),x=l((function(e){o(e),s({type:"confirmModalConsents"})}),[o,p]);return a.createElement(Vg.Provider,{value:{isSettingsModalOpen:c.isSettingsModalOpen,bannerState:c.bannerState,policies:r,currentConsents:t,showBanner:g,hideBanner:p,openSettings:b,closeSettings:d,confirmModalConsents:x,acceptBannerConsents:h,rejectBannerConsents:m,acceptModalConsents:y,rejectModalConsents:w}},n)},Qg=function(e){var n=e.policyURL,t=e.isFixed,r=e.innerMaxWidth,o=d(Vg),i=o.policies,c=o.acceptModalConsents,l=o.rejectModalConsents,s=o.confirmModalConsents,u=o.hideBanner,f=o.openSettings,p=o.closeSettings,g=o.currentConsents,b=o.isSettingsModalOpen,h=o.acceptBannerConsents,m=o.rejectBannerConsents,v=o.bannerState;return a.createElement(a.Fragment,null,"hidden"!==v&&a.createElement(Wg,{onHide:u,onAccept:h,onReject:m,onOpenSettings:f,state:v,isFixed:t,innerMaxWidth:r}),a.createElement(_g,{policyURL:n,policies:i,isOpen:b,onClose:p,onReject:l,onConfirm:s,onAccept:c,initialConsents:g}))},eb=e(St)(Ug||(Ug=D(["\n width: 50px;\n height: 50px;\n margin-right: 12px;\n img {\n border-radius: 50%;\n }\n"],["\n width: 50px;\n height: 50px;\n margin-right: 12px;\n img {\n border-radius: 50%;\n }\n"]))),nb=n(Xg||(Xg=D([""],[""]))),tb=e((function(e){var n=e.headingTitle,t=e.breadcrumbs,r=e.authorName,o=e.authorTitle,i=e.subHeadingText,c=e.heroImageSrc,l=e.authorImageSrc,s=e.heroImageAlt,d=e.authorImageAlt;return a.createElement(nt,{$width:"100%",$background:"bg-decorative3-main",$overflowX:"hidden"},a.createElement(cr,null,a.createElement(rt,{$minWidth:"100%",$flexDirection:["column-reverse","column-reverse","row"],$alignItems:["center",null],$minHeight:"all-spacing-20",$background:"bg-decorative3-main",$zIndex:"neutral",$justifyContent:["space-between"],"data-testid":"oak-header-component"},a.createElement(rt,{$alignSelf:"flex-start",$ph:"inner-padding-s",$height:"100%",$flexDirection:"column"},a.createElement(nt,{$display:["none","none","block"],$pv:"inner-padding-xl"},t),a.createElement(rt,{$flexDirection:"column",$maxWidth:"all-spacing-22",$minHeight:["all-spacing-0","all-spacing-0","all-spacing-20"],$mb:["space-between-none","space-between-l","space-between-none"],$justifyContent:"center"},a.createElement(Ot,{tag:"h2",$color:"grey80",$font:["heading-4","heading-3"],$mb:"space-between-m"},n),a.createElement(rt,{$mb:"space-between-m",$flexDirection:"row",$alignItems:"center"},a.createElement(eb,{alt:d,src:l,$zIndex:"in-front"}),a.createElement(nt,null,a.createElement(Ot,{tag:"h3",$font:"heading-7"},r),a.createElement(Dt,{$font:"body-3"},o))),a.createElement(Dt,{$font:"body-1",$mb:["space-between-l","space-between-none"]},i))),a.createElement(rt,{$position:"relative",$minHeight:["all-spacing-18","all-spacing-21","all-spacing-21"],$alignItems:"center",$justifyContent:"center",$mb:["space-between-none","space-between-m2","space-between-none"]},a.createElement(St,{$transform:"rotate(-2.025deg)",src:c,width:100,$minHeight:["all-spacing-19","all-spacing-20","all-spacing-20"],$minWidth:["all-spacing-19","all-spacing-22","all-spacing-21"],alt:s,$zIndex:"in-front"}),a.createElement(rt,{$position:"absolute",$top:"all-spacing-0",$bottom:"all-spacing-0",$width:["all-spacing-20","all-spacing-23","all-spacing-23"]},a.createElement(Qt,{iconName:"loopdown",alt:"loopdown ui-graphic",$position:"absolute",$height:"100%",$width:"100%"}))),a.createElement(rt,{$alignSelf:"flex-start",$ml:"space-between-m",$pt:"inner-padding-xl",$pb:[null,"inner-padding-xl"],$display:["block","block","none"]},t))))}))(Kg||(Kg=D(["\n ","\n"],["\n ","\n"])),nb);export{Nt as HeadingTagComponent,Ji as OakAccordion,Wr as OakAnchorTarget,oi as OakBackLink,nt as OakBox,ii as OakBulletList,Di as OakCardHeader,Rs as OakCardWithHandDrawnBorder,_o as OakCheckBox,Br as OakCloudinaryConfigProvider,Lr as OakCloudinaryImage,zi as OakCollapsibleContent,Wg as OakCookieBanner,Qg as OakCookieConsent,Jg as OakCookieConsentProvider,_g as OakCookieSettingsModal,Lg as OakDownloadsJourneyChildSubjectTierSelector,Wi as OakDragAndDropInstructions,Vi as OakDraggable,Xi as OakDraggableFeedback,Ui as OakDroppable,_r as OakFieldError,rt as OakFlex,it as OakForm,qr as OakGlobalStyle,nr as OakGrid,ir as OakGridArea,ki as OakHandDrawnCard,Mi as OakHandDrawnCardWithIcon,ji as OakHandDrawnHR,tb as OakHeaderHero,Ot as OakHeading,qs as OakHintButton,Qt as OakIcon,St as OakImage,Up as OakInfo,Yp as OakInfoButton,Zr as OakKbd,zt as OakLI,Lt as OakLabel,Gs as OakLessonBottomNav,Ti as OakLessonInfoCard,ed as OakLessonLayout,fd as OakLessonNavItem,hd as OakLessonReviewItem,Ys as OakLessonTopNav,$d as OakLessonVideoTranscript,Pi as OakLink,Ur as OakLoadingSpinner,cr as OakMaxWidth,Os as OakModal,Ds as OakModalBody,Ts as OakModalFooter,Rt as OakOL,Dt as OakP,no as OakPrimaryButton,to as OakPrimaryInvertedButton,qg as OakPrimaryNav,Fg as OakPrimaryNavItem,Oi as OakPromoTag,lg as OakPupilJourneyHeader,Lp as OakPupilJourneyLayout,cg as OakPupilJourneyList,ig as OakPupilJourneyListCounter,tg as OakPupilJourneyListItem,Sg as OakPupilJourneyOptionalityButton,Eg as OakPupilJourneyOptionalityItem,ag as OakPupilJourneyPreviousLessons,Cg as OakPupilJourneyProgrammeOptions,og as OakPupilJourneySubjectButton,rg as OakPupilJourneyYearButton,Bs as OakQuizCheckBox,Ks as OakQuizCounter,_s as OakQuizFeedback,Ws as OakQuizHint,Ap as OakQuizMatch,kp as OakQuizOrder,Ps as OakQuizRadioButton,Ls as OakQuizTextInput,bo as OakRadioButton,so as OakRadioGroup,Uo as OakRoundIcon,Og as OakSearchFilterCheckBox,ro as OakSecondaryButton,Fi as OakSecondaryLink,ot as OakSpan,Ri as OakStaticMessageCard,Zg as OakSubjectIcon,co as OakTertiaryButton,zg as OakTertiaryOLNav,Yo as OakTextInput,ar as OakThemeProvider,ei as OakTooltip,It as OakTypography,Tt as OakUL,Vt as isValidIconName,J as oakAllSpacingTokens,dn as oakBorderRadiusTokens,sn as oakBorderWidthTokens,et as oakBoxCss,T as oakColorTokens,di as oakDefaultTheme,On as oakDropShadowTokens,Pn as oakFontSizeTokens,Fn as oakFontTokens,jt as oakHeadingTags,Gt as oakIconNames,Q as oakInnerPaddingTokens,Rn as oakOpacityTokens,ee as oakSpaceBetweenTokens,Ln as oakTransitionTokens,A as oakUiRoleTokens,Yg as useCookieConsent};
14
+ */function za(){if(Sa)return Ma;Sa=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return Ma=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(c[s]=i[s]);if(e){a=e(i);for(var d=0;d<a.length;d++)t.call(i,a[d])&&(c[a[d]]=i[a[d]])}}return c},Ma}function Ba(){return ja?Ia:(ja=1,Ia=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var La=Aa();ya.exports=function(){if(Ta)return Da;Ta=1;var e=Aa(),n=za(),t=wa(),r=Ba(),o=function(){if(Na)return Oa;Na=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=wa(),t={},r=Ba();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function o(o,i,a,c,l){if("production"!==process.env.NODE_ENV)for(var s in o)if(r(o,s)){var d;try{if("function"!=typeof o[s]){var u=Error((c||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[s](i,s,c,a,null,n)}catch(e){d=e}if(!d||d instanceof Error||e((c||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+d.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},Oa=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),Da=function(c,l){var s="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",u="<<anonymous>>",p={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:b(a),arrayOf:function(e){return b((function(n,r,o,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var c=n[r];if(!Array.isArray(c))return new g("Invalid "+i+" `"+a+"` of type `"+y(c)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<c.length;l++){var s=e(c,l,o,i,a+"["+l+"]",t);if(s instanceof Error)return s}return null}))},element:b((function(e,n,t,r,o){var i=e[n];return c(i)?null:new g("Invalid "+r+" `"+o+"` of type `"+y(i)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:b((function(n,t,r,o,i){var a=n[t];return e.isValidElementType(a)?null:new g("Invalid "+o+" `"+i+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return b((function(n,t,r,o,i){if(!(n[t]instanceof e)){var a=e.name||u;return new g("Invalid "+o+" `"+i+"` of type `"+((c=n[t]).constructor&&c.constructor.name?c.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var c;return null}))},node:b((function(e,n,t,r,o){return v(e[n])?null:new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return b((function(n,o,i,a,c){if("function"!=typeof e)return new g("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=n[o],s=y(l);if("object"!==s)return new g("Invalid "+a+" `"+c+"` of type `"+s+"` supplied to `"+i+"`, expected an object.");for(var d in l)if(r(l,d)){var u=e(l,d,i,a,c+"."+d,t);if(u instanceof Error)return u}return null}))},oneOf:function(e){return Array.isArray(e)?b((function(n,t,r,o,i){for(var a=n[t],c=0;c<e.length;c++)if(f(a,e[c]))return null;var l=JSON.stringify(e,(function(e,n){return"symbol"===w(n)?String(n):n}));return new g("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+n+"."),a}return b((function(n,o,i,a,c){for(var l=[],s=0;s<e.length;s++){var d=(0,e[s])(n,o,i,a,c,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&l.push(d.data.expectedType)}return new g("Invalid "+a+" `"+c+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return b((function(n,r,o,i,a){var c=n[r],l=y(c);if("object"!==l)return new g("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var s in e){var d=e[s];if("function"!=typeof d)return m(o,i,a,s,w(d));var u=d(c,s,o,i,a+"."+s,t);if(u)return u}return null}))},exact:function(e){return b((function(o,i,a,c,l){var s=o[i],d=y(s);if("object"!==d)return new g("Invalid "+c+" `"+l+"` of type `"+d+"` supplied to `"+a+"`, expected `object`.");var u=n({},o[i],e);for(var p in u){var f=e[p];if(r(e,p)&&"function"!=typeof f)return m(a,c,l,p,w(f));if(!f)return new g("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var b=f(s,p,a,c,l+"."+p,t);if(b)return b}return null}))}};function f(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function g(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,a,c,s,d,p,f){if(s=s||u,p=p||c,f!==t){if(l){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=s+":"+c;!n[h]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==a[c]?o?null===a[c]?new g("The "+d+" `"+p+"` is marked as required in `"+s+"`, but its value is `null`."):new g("The "+d+" `"+p+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(a,c,s,d,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){return b((function(n,t,r,o,i,a){var c=n[t];return y(c)!==e?new g("Invalid "+o+" `"+i+"` of type `"+w(c)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function m(e,n,t,r,o){return new g((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||c(e))return!0;var n=function(e){var n=e&&(s&&e[s]||e[d]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!v(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function y(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function w(e){if(null==e)return""+e;var n=y(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function x(e){var n=w(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return g.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Da}()(La.isElement,!0)}else ya.exports=function(){if(va)return ma;va=1;var e=wa();function n(){}function t(){}return t.resetWarningCache=n,ma=function(){function r(n,t,r,o,i,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:n};return i.PropTypes=i,i}}()();var Za=ya.exports,Pa=ga(Za),Fa="data-focus-lock",qa="data-focus-lock-disabled",Wa={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};"production"===process.env.NODE_ENV||Pa.node;var _a=aa({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),Ha=aa(),Ga=aa(),Va=ca({async:!0,ssr:"undefined"!=typeof document}),Ya=s(void 0),Ua=[],Xa=i.forwardRef((function(e,n){var t,r=i.useState(),o=r[0],a=r[1],c=i.useRef(),l=i.useRef(!1),s=i.useRef(null),d=i.useState({})[1],u=e.children,p=e.disabled,f=void 0!==p&&p,g=e.noFocusGuards,b=void 0!==g&&g,h=e.persistentFocus,m=void 0!==h&&h,v=e.crossFrame,y=void 0===v||v,w=e.autoFocus,x=void 0===w||w,$=e.allowTextSelection,C=e.group,E=e.className,k=e.whiteList,M=e.hasPositiveIndices,S=e.shards,I=void 0===S?Ua:S,j=e.as,O=void 0===j?"div":j,N=e.lockProps,D=void 0===N?{}:N,T=e.sideCar,R=e.returnFocus,A=void 0!==R&&R,z=e.focusOptions,B=e.onActivation,L=e.onDeactivation,Z=i.useState({})[0],P=i.useCallback((function(e){var n=e.captureFocusRestore;if(!s.current){var t,r=null==(t=document)?void 0:t.activeElement;s.current=r,r!==document.body&&(s.current=n(r))}c.current&&B&&B(c.current),l.current=!0,d()}),[B]),F=i.useCallback((function(){l.current=!1,L&&L(c.current),d()}),[L]),q=i.useCallback((function(e){var n=s.current;if(n){var t=("function"==typeof n?n():n)||document.body,r="function"==typeof A?A(t):A;if(r){var o="object"==typeof r?r:void 0;s.current=null,e?Promise.resolve().then((function(){return t.focus(o)})):t.focus(o)}}}),[A]),W=i.useCallback((function(e){l.current&&_a.useMedium(e)}),[]),_=Ha.useMedium,H=i.useCallback((function(e){c.current!==e&&(c.current=e,a(e))}),[]);"production"!==process.env.NODE_ENV&&(void 0!==$&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),i.useEffect((function(){c.current||"string"==typeof O||console.error("FocusLock: could not obtain ref to internal node")}),[]));var G=fa(((t={})[qa]=f&&"disabled",t[Fa]=C,t),D),V=!0!==b,Y=V&&"tail"!==b,U=ra([n,H]),X=i.useMemo((function(){return{observed:c,shards:I,enabled:!f,active:l.current}}),[f,l.current,I,o]);return i.createElement(i.Fragment,null,V&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Wa}),M?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Wa}):null],!f&&i.createElement(T,{id:Z,sideCar:Va,observed:o,disabled:f,persistentFocus:m,crossFrame:y,autoFocus:x,whiteList:k,shards:I,onActivation:P,onDeactivation:F,returnFocus:q,focusOptions:z}),i.createElement(O,fa({ref:U},G,{className:E,onBlur:_,onFocus:W}),i.createElement(Ya.Provider,{value:X},u)),Y&&i.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Wa}))}));Xa.propTypes="production"!==process.env.NODE_ENV?{children:Za.node,disabled:Za.bool,returnFocus:Za.oneOfType([Za.bool,Za.object,Za.func]),focusOptions:Za.object,noFocusGuards:Za.bool,hasPositiveIndices:Za.bool,allowTextSelection:Za.bool,autoFocus:Za.bool,persistentFocus:Za.bool,crossFrame:Za.bool,group:Za.string,className:Za.string,whiteList:Za.func,shards:Za.arrayOf(Za.any),as:Za.oneOfType([Za.string,Za.func,Za.object]),lockProps:Za.object,onActivation:Za.func,onDeactivation:Za.func,sideCar:Za.any.isRequired}:{};var Ka=Xa;function Ja(e){setTimeout(e,1)}var Qa=function(e){return e&&"current"in e?e.current:e},ec=ca(),nc="data-focus-on-hidden",tc={preventScroll:!0},rc=i.forwardRef((function(e,n){var t=i.useState(!1),r=t[0],o=t[1],a=e.children,c=e.autoFocus,l=e.shards,s=e.crossFrame,d=e.enabled,u=void 0===d||d,p=e.scrollLock,f=void 0===p||p,g=e.focusLock,b=void 0===g||g,h=e.returnFocus,m=void 0===h||h,v=e.inert,y=e.allowPinchZoom,w=e.sideCar,x=e.className,$=e.shouldIgnore,C=e.preventScrollOnFocus,E=e.style,k=e.as,M=e.gapMode,j=I(e,["children","autoFocus","shards","crossFrame","enabled","scrollLock","focusLock","returnFocus","inert","allowPinchZoom","sideCar","className","shouldIgnore","preventScrollOnFocus","style","as","gapMode"]),O=w,N=r.onActivation,D=r.onDeactivation,T=I(r,["onActivation","onDeactivation"]),R=S(S({},T),{as:k,style:E,sideCar:w,shards:l,allowPinchZoom:y,gapMode:M,inert:v,enabled:u&&f});return i.createElement(i.Fragment,null,i.createElement(Ka,{ref:n,sideCar:w,disabled:!(r&&u&&b),returnFocus:m,autoFocus:c,shards:l,crossFrame:s,onActivation:N,onDeactivation:D,className:x,whiteList:$,lockProps:R,focusOptions:C?tc:void 0,as:pa},a),u&&i.createElement(O,S({},j,{sideCar:ec,setLockProps:o,shards:l})))}));function oc(e,n){return oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},oc(e,n)}function ic(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,oc(e,n)}function ac(e){return ac="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ac(e)}function cc(e){var n=function(e,n){if("object"!==ac(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==ac(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===ac(n)?n:String(n)}var lc=function(e){for(var n=Array(e.length),t=0;t<e.length;++t)n[t]=e[t];return n},sc=function(e){return Array.isArray(e)?e:[e]},dc=function(e){return Array.isArray(e)?e[0]:e},uc=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},pc=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},fc=function(e,n){return!e||pc(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!(!n||!n.getPropertyValue||"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&n(uc(e))},gc=function(e,n){var t=e.get(n);if(void 0!==t)return t;var r=fc(n,gc.bind(void 0,e));return e.set(n,r),r},bc=function(e,n){var t=e.get(n);if(void 0!==t)return t;var r=function(e,n){return!(e&&!pc(e))||!!yc(e)&&n(uc(e))}(n,bc.bind(void 0,e));return e.set(n,r),r},hc=function(e){return e.dataset},mc=function(e){return"INPUT"===e.tagName},vc=function(e){return mc(e)&&"radio"===e.type},yc=function(e){var n=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(n)},wc=function(e){var n;return Boolean(e&&(null===(n=hc(e))||void 0===n?void 0:n.focusGuard))},xc=function(e){return!wc(e)},$c=function(e){return Boolean(e)},Cc=function(e,n){var t=Math.max(0,e.tabIndex),r=Math.max(0,n.tabIndex),o=t-r,i=e.index-n.index;if(o){if(!t)return 1;if(!r)return-1}return o||i},Ec=function(e,n,t){return lc(e).map((function(e,n){var r=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:n,tabIndex:t&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}})).filter((function(e){return!n||e.tabIndex>=0})).sort(Cc)},kc=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Mc="".concat(kc,", [data-focus-guard]"),Sc=function(e,n){return lc((e.shadowRoot||e).children).reduce((function(e,t){return e.concat(t.matches(n?Mc:kc)?[t]:[],Sc(t))}),[])},Ic=function(e,n){return e.reduce((function(e,t){var r,o=Sc(t,n),i=(r=[]).concat.apply(r,o.map((function(e){return function(e,n){var t;return e instanceof HTMLIFrameElement&&(null===(t=e.contentDocument)||void 0===t?void 0:t.body)?Ic([e.contentDocument.body],n):[e]}(e,n)})));return e.concat(i,t.parentNode?lc(t.parentNode.querySelectorAll(kc)).filter((function(e){return e===t})):[])}),[])},jc=function(e,n){return lc(e).filter((function(e){return gc(n,e)})).filter((function(e){return function(e){return!((mc(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},Oc=function(e,n){return void 0===n&&(n=new Map),lc(e).filter((function(e){return bc(n,e)}))},Nc=function(e,n,t){return Ec(jc(Ic(e,t),n),!0,t)},Dc=function(e,n){return Ec(jc(Ic(e),n),!1)},Tc=function(e,n){return jc((t=e.querySelectorAll("[".concat("data-autofocus-inside","]")),lc(t).map((function(e){return Ic([e])})).reduce((function(e,n){return e.concat(n)}),[])),n);var t},Rc=function(e,n){return e.shadowRoot?Rc(e.shadowRoot,n):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,n))||lc(e.children).some((function(e){var t;if(e instanceof HTMLIFrameElement){var r=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!r&&Rc(r,n)}return Rc(e,n)}))},Ac=function(e){return e.parentNode?Ac(e.parentNode):e},zc=function(e){return sc(e).filter(Boolean).reduce((function(e,n){var t=n.getAttribute(Fa);return e.push.apply(e,t?function(e){for(var n=new Set,t=e.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(r)}return e.filter((function(e,t){return!n.has(t)}))}(lc(Ac(n).querySelectorAll("[".concat(Fa,'="').concat(t,'"]:not([').concat(qa,'="disabled"])')))):[n]),e}),[])},Bc=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var n=e.activeElement;return n.shadowRoot?Bc(n.shadowRoot):n instanceof HTMLIFrameElement&&function(e){try{return e()}catch(e){return}}((function(){return n.contentWindow.document}))?Bc(n.contentWindow.document):n}},Lc=function(e,n){return void 0===n&&(n=Bc(dc(e).ownerDocument)),!(!n||n.dataset&&n.dataset.focusGuard)&&zc(e).some((function(e){return Rc(e,n)||function(e,n){return Boolean(lc(e.querySelectorAll("iframe")).some((function(e){return function(e,n){return e===n}(e,n)})))}(e,n)}))},Zc=function(e,n){return vc(e)&&e.name?function(e,n){return n.filter(vc).filter((function(n){return n.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,n):e},Pc=function(e){return e[0]&&e.length>1?Zc(e[0],e):e[0]},Fc=function(e,n){return e.indexOf(Zc(n,e))},qc="NEW_FOCUS",Wc=function(e,n,t,r,o){var i=e.length,a=e[0],c=e[i-1],l=wc(r);if(!(r&&e.indexOf(r)>=0)){var s=void 0!==r?t.indexOf(r):-1,d=o?t.indexOf(o):s,u=o?e.indexOf(o):-1;if(-1===s)return-1!==u?u:qc;if(-1===u)return qc;var p,f,g=s-d,b=t.indexOf(a),h=t.indexOf(c),m=(p=t,f=new Set,p.forEach((function(e){return f.add(Zc(e,p))})),p.filter((function(e){return f.has(e)}))),v=(void 0!==r?m.indexOf(r):-1)-(o?m.indexOf(o):s);if(!g&&u>=0)return u;if(0===n.length)return u;var y=Fc(e,n[0]),w=Fc(e,n[n.length-1]);return s<=b&&l&&Math.abs(g)>1?w:s>=h&&l&&Math.abs(g)>1?y:g&&Math.abs(v)>1?u:s<=b?w:s>h?y:g?Math.abs(g)>1?u:(i+u+g)%i:void 0}},_c=function(e,n,t){var r,o=e.map((function(e){return e.node})),i=Oc(o.filter((r=t,function(e){var n,t=null===(n=hc(e))||void 0===n?void 0:n.autofocus;return e.autofocus||void 0!==t&&"false"!==t||r.indexOf(e)>=0})));return i&&i.length?Pc(i):Pc(Oc(n))},Hc=function(e,n){return void 0===n&&(n=[]),n.push(e),e.parentNode&&Hc(e.parentNode.host||e.parentNode,n),n},Gc=function(e,n){for(var t=Hc(e),r=Hc(n),o=0;o<t.length;o+=1){var i=t[o];if(r.indexOf(i)>=0)return i}return!1},Vc=function(e,n,t){var r=sc(e),o=sc(n),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Gc(a||e,e)||a,t.filter(Boolean).forEach((function(e){var n=Gc(i,e);n&&(a=!a||Rc(n,a)?n:Gc(n,a))}))})),a},Yc=function(e,n){return e.reduce((function(e,t){return e.concat(Tc(t,n))}),[])},Uc=function(e,n){var t=Bc(sc(e).length>0?document:dc(e).ownerDocument),r=zc(e).filter(xc),o=Vc(t||e,e,r),i=new Map,a=Dc(r,i),c=a.filter((function(e){var n=e.node;return xc(n)}));if(c[0]){var l,s,d,u=Dc([o],i).map((function(e){return e.node})),p=(l=u,s=c,d=new Map,s.forEach((function(e){return d.set(e.node,e)})),l.map((function(e){return d.get(e)})).filter($c)),f=p.map((function(e){return e.node})),g=p.filter((function(e){return e.tabIndex>=0})).map((function(e){return e.node})),b=Wc(f,g,u,t,n);if(b===qc){var h=_c(a,g,Yc(r,i))||_c(a,f,Yc(r,i));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===b?b:p[b]}},Xc=function(e,n){e&&("focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Kc=0,Jc=!1,Qc=function(e,n,t){void 0===t&&(t={});var r=Uc(e,n);if(!Jc&&r){if(Kc>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Jc=!0,void setTimeout((function(){Jc=!1}),1);Kc++,Xc(r.node,t.focusOptions),Kc--}};function el(e){if(!e)return null;var n=e?new WeakRef(e):null;return function(){return(null==n?void 0:n.deref())||null}}var nl=function(e,n,t){void 0===n&&(n={});var r=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(n),o=function(e,n,t){if(!e||!n)return console.error("no element or scope given"),{};var r=sc(n);if(r.every((function(n){return!Rc(n,e)})))return console.error("Active element is not contained in the scope"),{};var o=t?Nc(r,new Map):Dc(r,new Map),i=o.findIndex((function(n){return n.node===e}));return-1!==i?{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}:void 0}(e,r.scope,r.onlyTabbable);if(o){var i=t(o,r.cycle);i&&Xc(i.node,r.focusOptions)}},tl=function(e,n,t){var r,o,i,a,c=(o=e,i=null===(r=n.onlyTabbable)||void 0===r||r,{first:(a=i?Nc(sc(o),new Map):Dc(sc(o),new Map))[0],last:a[a.length-1]})[t];c&&Xc(c.node,n.focusOptions)},rl=function(){return document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var n=Bc(e);return!!n&&lc(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return Rc(e,n)}))}()},ol=null,il=null,al=null,cl=!1,ll=function(){return!0};function sl(e,n,t,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=t)!==n);o&&(o.node.tabIndex=0)}var dl=function e(n,t,r){return t&&(t.host===n&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,r))},ul=function(){var e,n,t,r,o,i,a=!1;if(ol){var c=ol,l=c.observed,s=c.persistentFocus,d=c.autoFocus,u=c.shards,p=c.crossFrame,f=c.focusOptions,g=l||al&&al.portaledElement,b=document&&document.activeElement;if(g){var h=[g].concat(u.map(Qa).filter(Boolean));if(b&&!function(e){return(ol.whiteList||ll)(e)}(b)||(s||(p?Boolean(cl):"meanwhile"===cl)||!rl()||!il&&d)&&(g&&!(Lc(h)||b&&function(e,n){return n.some((function(n){return dl(e,n,n)}))}(b,h)||(i=b,al&&al.portaledElement===i))&&(document&&!il&&b&&!d?(b.blur&&b.blur(),document.body.focus()):(a=Qc(h,il,{focusOptions:f}),al={})),cl=!1,il=document&&document.activeElement),document&&b!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,v=(n=zc(e=h).filter(xc),t=Vc(e,e,n),r=Ec(Ic([t],!0),!0,!0),o=Ic(n,!1),r.map((function(e){var n=e.node;return{node:n,index:e.index,lockItem:o.indexOf(n)>=0,guard:wc(n)}}))),y=v.map((function(e){return e.node})).indexOf(m);y>-1&&(v.filter((function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),sl(y,v.length,1,v),sl(y,-1,-1,v))}}}return a},pl=function(e){ul()&&e&&(e.stopPropagation(),e.preventDefault())},fl=function(){return Ja(ul)};"production"===process.env.NODE_ENV||Pa.node.isRequired;var gl=function(){cl="just",Ja((function(){cl="meanwhile"}))};var bl={moveFocusInside:Qc,focusInside:Lc,focusNextElement:function(e,n){void 0===n&&(n={}),nl(e,n,(function(e,n){var t=e.next,r=e.first;return t||n&&r}))},focusPrevElement:function(e,n){void 0===n&&(n={}),nl(e,n,(function(e,n){var t=e.prev,r=e.last;return t||n&&r}))},focusFirstElement:function(e,n){void 0===n&&(n={}),tl(e,n,"first")},focusLastElement:function(e,n){void 0===n&&(n={}),tl(e,n,"last")},captureFocusRestore:function(e){var n=function(e){if(!e)return null;for(var n=[],t=e;t&&t!==document.body;)n.push({current:el(t),parent:el(t.parentElement),left:el(t.previousElementSibling),right:el(t.nextElementSibling)}),t=t.parentElement;return{element:el(e),stack:n,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var n,t,r,o,i;if(e)for(var a=e.stack,c=e.ownerDocument,l=new Map,s=0,d=a;s<d.length;s++){var u=d[s],p=null===(n=u.parent)||void 0===n?void 0:n.call(u);if(p&&c.contains(p)){for(var f=null===(t=u.left)||void 0===t?void 0:t.call(u),g=u.current(),b=p.contains(g)?g:void 0,h=null===(r=u.right)||void 0===r?void 0:r.call(u),m=Nc([p],l),v=null!==(i=null!==(o=null!=b?b:null==f?void 0:f.nextElementSibling)&&void 0!==o?o:h)&&void 0!==i?i:f;v;){for(var y=0,w=m;y<w.length;y++){var x=w[y];if(null==v?void 0:v.contains(x.node))return x.node}v=v.nextElementSibling}if(m.length)return m[0].node}}}(n)}}};_a.assignSyncMedium((function(e){var n=e.target,t=e.currentTarget;t.contains(n)||(al={observerNode:t,portaledElement:n})})),Ha.assignMedium(fl),Ga.assignMedium((function(e){return e(bl)}));var hl=function(e,n){if("production"!==process.env.NODE_ENV){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof n)throw new Error("Expected handleStateChangeOnClient to be a function.")}return function(t){if("production"!==process.env.NODE_ENV&&"function"!=typeof t)throw new Error("Expected WrappedComponent to be a React component.");var r,o=[];function i(){r=e(o.map((function(e){return e.props}))),n(r)}var c=function(e){function n(){return e.apply(this,arguments)||this}ic(n,e),n.peek=function(){return r};var c=n.prototype;return c.componentDidMount=function(){o.push(this),i()},c.componentDidUpdate=function(){i()},c.componentWillUnmount=function(){var e=o.indexOf(this);o.splice(e,1),i()},c.render=function(){return a.createElement(t,this.props)},n}(g);return function(e,n,t){(n=cc(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(c,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(t)+")"),c}}((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var n=e.slice(-1)[0];n&&!ol&&(document.addEventListener("focusin",pl),document.addEventListener("focusout",fl),window.addEventListener("blur",gl));var t=ol,r=t&&n&&n.id===t.id;ol=n,t&&!r&&(t.onDeactivation(),e.filter((function(e){return e.id===t.id})).length||t.returnFocus(!n)),n?(il=null,r&&t.observed===n.observed||n.onActivation(bl),ul(),Ja(ul)):(document.removeEventListener("focusin",pl),document.removeEventListener("focusout",fl),window.removeEventListener("blur",gl),il=null)}))((function(){return null}));sa(Va,hl);function ml(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return n&&e.setAttribute("nonce",n),e}var vl=function(){var e=0,n=null;return{add:function(t){var r;0==e&&(n=ml())&&(!function(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}(n,t),r=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},yl=function(){var e,n=(e=vl(),function(n,t){i.useEffect((function(){return e.add(n),function(){e.remove()}}),[n&&t])});return function(e){var t=e.styles,r=e.dynamic;return n(t,r),null}},wl={left:0,top:0,right:0,gap:0},xl=function(e){return parseInt(e||"",10)||0},$l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return wl;var n=function(e){var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"];return[xl(t),xl(r),xl(o)]}(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},Cl=yl(),El="data-scroll-locked",kl=function(e,n,t,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===t&&(t="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(El,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Qi," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(ea," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Qi," .").concat(Qi," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ea," .").concat(ea," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(El,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},Ml=function(){var e=parseInt(document.body.getAttribute(El)||"0",10);return isFinite(e)?e:0},Sl=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;i.useEffect((function(){return document.body.setAttribute(El,(Ml()+1).toString()),function(){var e=Ml()-1;e<=0?document.body.removeAttribute(El):document.body.setAttribute(El,e.toString())}}),[]);var a=i.useMemo((function(){return $l(o)}),[o]);return i.createElement(Cl,{styles:kl(a,!n,o,t?"":"!important")})},Il=!1;if("undefined"!=typeof window)try{var jl=Object.defineProperty({},"passive",{get:function(){return Il=!0,!0}});window.addEventListener("test",jl,jl),window.removeEventListener("test",jl,jl)}catch(e){Il=!1}var Ol=!!Il&&{passive:!1},Nl=function(e,n){var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===t[n])},Dl=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Tl(e,r)){var o=Rl(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},Tl=function(e,n){return"v"===e?function(e){return Nl(e,"overflowY")}(n):function(e){return Nl(e,"overflowX")}(n)},Rl=function(e,n){return"v"===e?[(t=n).scrollTop,t.scrollHeight,t.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(n);var t},Al=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},zl=function(e){return[e.deltaX,e.deltaY]},Bl=function(e){return e&&"current"in e?e.current:e},Ll=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Zl=0,Pl=[];function Fl(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}sa(da,(function(e){var n=i.useRef([]),t=i.useRef([0,0]),r=i.useRef(),o=i.useState(Zl++)[0],a=i.useState(yl)[0],c=i.useRef(e);i.useEffect((function(){c.current=e}),[e]),i.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var n=N([e.lockRef.current],(e.shards||[]).map(Bl),!0).filter(Boolean);return n.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),n.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback((function(e,n){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var o,i=Al(e),a=t.current,l="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],d=e.target,u=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var p=Dl(u,d);if(!p)return!0;if(p?o=u:(o="v"===u?"h":"v",p=Dl(u,d)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var f=r.current||o;return function(e,n,t,r,o){var i=function(e,n){return"h"===e&&"rtl"===n?-1:1}(e,window.getComputedStyle(n).direction),a=i*r,c=t.target,l=n.contains(c),s=!1,d=a>0,u=0,p=0;do{var f=Rl(e,c),g=f[0],b=f[1]-f[2]-i*g;(g||b)&&Tl(e,c)&&(u+=b,p+=g),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return(d&&(o&&Math.abs(u)<1||!o&&a>u)||!d&&(o&&Math.abs(p)<1||!o&&-a>p))&&(s=!0),s}(f,n,e,"h"===f?l:s,!0)}),[]),s=i.useCallback((function(e){var t=e;if(Pl.length&&Pl[Pl.length-1]===a){var r="deltaY"in t?zl(t):Al(t),o=n.current.filter((function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o}))[0];if(o&&o.should)t.cancelable&&t.preventDefault();else if(!o){var i=(c.current.shards||[]).map(Bl).filter(Boolean).filter((function(e){return e.contains(t.target)}));(i.length>0?l(t,i[0]):!c.current.noIsolation)&&t.cancelable&&t.preventDefault()}}}),[]),d=i.useCallback((function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:Fl(r)};n.current.push(i),setTimeout((function(){n.current=n.current.filter((function(e){return e!==i}))}),1)}),[]),u=i.useCallback((function(e){t.current=Al(e),r.current=void 0}),[]),p=i.useCallback((function(n){d(n.type,zl(n),n.target,l(n,e.lockRef.current))}),[]),f=i.useCallback((function(n){d(n.type,Al(n),n.target,l(n,e.lockRef.current))}),[]);i.useEffect((function(){return Pl.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Ol),document.addEventListener("touchmove",s,Ol),document.addEventListener("touchstart",u,Ol),function(){Pl=Pl.filter((function(e){return e!==a})),document.removeEventListener("wheel",s,Ol),document.removeEventListener("touchmove",s,Ol),document.removeEventListener("touchstart",u,Ol)}}),[]);var g=e.removeScrollBar,b=e.inert;return i.createElement(i.Fragment,null,b?i.createElement(a,{styles:Ll(o)}):null,g?i.createElement(Sl,{gapMode:e.gapMode}):null)}));var ql=new WeakMap,Wl=new WeakMap,_l={},Hl=0,Gl=function(e){return e&&(e.host||Gl(e.parentNode))},Vl=function(e,n,t,r){var o=function(e,n){return n.map((function(n){if(e.contains(n))return n;var t=Gl(n);return t&&e.contains(t)?t:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(n,Array.isArray(e)?e:[e]);_l[t]||(_l[t]=new WeakMap);var i=_l[t],a=[],c=new Set,l=new Set(o),s=function(e){e&&!c.has(e)&&(c.add(e),s(e.parentNode))};o.forEach(s);var d=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(c.has(e))d(e);else{var n=e.getAttribute(r),o=null!==n&&"false"!==n,l=(ql.get(e)||0)+1,s=(i.get(e)||0)+1;ql.set(e,l),i.set(e,s),a.push(e),1===l&&o&&Wl.set(e,!0),1===s&&e.setAttribute(t,"true"),o||e.setAttribute(r,"true")}}))};return d(n),c.clear(),Hl++,function(){a.forEach((function(e){var n=ql.get(e)-1,o=i.get(e)-1;ql.set(e,n),i.set(e,o),n||(Wl.has(e)||e.removeAttribute(r),Wl.delete(e)),o||e.removeAttribute(t)})),--Hl||(ql=new WeakMap,ql=new WeakMap,Wl=new WeakMap,_l={})}},Yl=function(e,n,t){void 0===t&&(t="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=n||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Vl(r,o,t,"aria-hidden")):function(){return null}},Ul=yl(),Xl="\n ["+nc+"] {\n pointer-events: none !important;\n }\n",Kl=function(){return i.createElement(Ul,{styles:Xl})},Jl=function(e){return"current"in e?e.current:e};var Ql=sa(ec,(function(e){var n=e.setLockProps,t=e.onEscapeKey,r=e.onClickOutside,o=e.shards,a=e.onActivation,l=e.onDeactivation,s=e.noIsolation,d=c(void 0),p=d[0],f=d[1],g=u(null),h=u(0);return i.useEffect((function(){var e=function(e){e.defaultPrevented||"Escape"!==e.code&&"Escape"!==e.key&&27!==e.keyCode||!t||t(e)},n=function(e){e.defaultPrevented||e.target===g.current||e instanceof MouseEvent&&0!==e.button||o&&o.map(Jl).some((function(n){return n&&n.contains(e.target)||n===e.target}))||r&&r(e)},i=function(e){n(e),h.current=e.touches.length},a=function(e){h.current=e.touches.length};if(p)return document.addEventListener("keydown",e),document.addEventListener("mousedown",n),document.addEventListener("touchstart",i),document.addEventListener("touchend",a),function(){document.removeEventListener("keydown",e),document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",i),document.removeEventListener("touchend",a)}}),[p,r,t]),b((function(){if(p)return a&&a(p),function(){l&&l()}}),[!!p]),b((function(){var e=function(){return null},t=!1;return n({onMouseDown:function(e){g.current=e.target},onTouchStart:function(e){g.current=e.target},onActivation:function(n){s||(e=Yl(function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),o=0;for(n=0;n<t;n++)for(var i=arguments[n],a=0,c=i.length;a<c;a++,o++)r[o]=i[a];return r}([n],(o||[]).map(Jl)),document.body,nc)),f((function(){return n}))},onDeactivation:function(){e(),t||f(null)}}),function(){t=!0,n(!1)}}),[]),i.createElement(Kl,null)})),es=function(e){return i.createElement(Ql,S({},e))},ns=i.forwardRef((function(e,n){return i.createElement(rc,S({},e,{ref:n,sideCar:es}))}));var ts=!1,rs="production"!==process.env.NODE_ENV?Pa.oneOfType([Pa.number,Pa.shape({enter:Pa.number,exit:Pa.number,appear:Pa.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Pa.oneOfType([Pa.string,Pa.shape({enter:Pa.string,exit:Pa.string,active:Pa.string}),Pa.shape({enter:Pa.string,enterDone:Pa.string,enterActive:Pa.string,exit:Pa.string,exitDone:Pa.string,exitActive:Pa.string})]);var os=a.createContext(null),is="unmounted",as="exited",cs="entering",ls="entered",ss="exiting",ds=function(e){function n(n,t){var r;r=e.call(this,n,t)||this;var o,i=t&&!t.isMounting?n.enter:n.appear;return r.appearStatus=null,n.in?i?(o=as,r.appearStatus=cs):o=ls:o=n.unmountOnExit||n.mountOnEnter?is:as,r.state={status:o},r.nextCallback=null,r}ic(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===is?{status:as}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==cs&&t!==ls&&(n=cs):t!==cs&&t!==ls||(n=ss)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,r=this.props.timeout;return e=n=t=r,null!=r&&"number"!=typeof r&&(e=r.exit,n=r.enter,t=void 0!==r.appear?r.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){if(void 0===e&&(e=!1),null!==n)if(this.cancelNextCallback(),n===cs){if(this.props.unmountOnExit||this.props.mountOnEnter){var t=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this);t&&function(e){e.scrollTop}(t)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===as&&this.setState({status:is})},t.performEnter=function(e){var n=this,t=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[C.findDOMNode(this),r],i=o[0],a=o[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!t||ts?this.safeSetState({status:ls},(function(){n.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:cs},(function(){n.props.onEntering(i,a),n.onTransitionEnd(l,(function(){n.safeSetState({status:ls},(function(){n.props.onEntered(i,a)}))}))})))},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),r=this.props.nodeRef?void 0:C.findDOMNode(this);n&&!ts?(this.props.onExit(r),this.safeSetState({status:ss},(function(){e.props.onExiting(r),e.onTransitionEnd(t.exit,(function(){e.safeSetState({status:as},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:as},(function(){e.props.onExited(r)}))},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,n.nextCallback=null,e(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(t&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===is)return null;var n=this.props,t=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.createElement(os.Provider,{value:null},"function"==typeof t?t(e,r):a.cloneElement(a.Children.only(t),r))},n}(a.Component);function us(){}ds.contextType=os,ds.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Pa.shape({current:"undefined"==typeof Element?Pa.any:function(e,n,t,r,o,i){var a=e[n];return Pa.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,n,t,r,o,i)}}),children:Pa.oneOfType([Pa.func.isRequired,Pa.element.isRequired]).isRequired,in:Pa.bool,mountOnEnter:Pa.bool,unmountOnExit:Pa.bool,appear:Pa.bool,enter:Pa.bool,exit:Pa.bool,timeout:function(e){var n=rs;e.addEndListener||(n=n.isRequired);for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return n.apply(void 0,[e].concat(r))},addEndListener:Pa.func,onEnter:Pa.func,onEntering:Pa.func,onEntered:Pa.func,onExit:Pa.func,onExiting:Pa.func,onExited:Pa.func}:{},ds.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:us,onEntering:us,onEntered:us,onExit:us,onExiting:us,onExited:us},ds.UNMOUNTED=is,ds.EXITED=as,ds.ENTERING=cs,ds.ENTERED=ls,ds.EXITING=ss;var ps,fs,gs,bs,hs,ms,vs,ys,ws,xs,$s,Cs,Es,ks,Ms,Ss,Is,js=ds,Os=e(nt)(ps||(ps=D(["\n opacity: ",";\n"],["\n opacity: ",";\n"])),(function(e){switch(e.$state){case"entered":case"entering":return An("semi-transparent");default:return An("transparent")}})),Ns=e(rt)(fs||(fs=D(["\n max-width: calc(100vw - ",");\n transform: ",";\n"],["\n max-width: calc(100vw - ",");\n transform: ",";\n"])),ne("inner-padding-l"),(function(e){switch(e.$state){case"entered":case"entering":return"translateX(0)";default:return"translateX(-100%)"}})),Ds="https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/logo-mark.svg"),Ts=function(e){var n=e.children,t=e.footerSlot,r=e.domContainer,o=void 0===r?document.body:r,i=e.isOpen,l=e.onClose,s=I(e,["children","footerSlot","domContainer","isOpen","onClose"]),d=O(c(null),2),p=d[0],g=d[1],b=O(c(!1),2),h=b[0],m=b[1],v=u(null);return f((function(){if(p){var e=new IntersectionObserver((function(e){m(!e.some((function(e){return e.isIntersecting})))}),{root:p.parentElement});return e.observe(p),function(){e.disconnect()}}}),[p]),E(a.createElement(js,{in:i,nodeRef:v,addEndListener:function(e){var n;null===(n=v.current)||void 0===n||n.addEventListener("transitionend",e)},timeout:500,mountOnEnter:!0,unmountOnExit:!0},(function(e){return a.createElement(ns,{onEscapeKey:l,returnFocus:!0,autoFocus:!0},a.createElement(Os,{$position:"fixed",$inset:"all-spacing-0",$zIndex:"modal-dialog",$background:"black",$opacity:"semi-transparent",$state:e,$transition:"standard-ease"}),a.createElement(Ns,S({ref:v,$background:"bg-primary",$position:"fixed",$left:"all-spacing-0",$top:"all-spacing-0",$bottom:"all-spacing-0",$width:["all-spacing-22"],$zIndex:"modal-dialog",$flexDirection:"column",$transition:"standard-ease",$color:"text-primary",role:"dialog",$state:e},s),a.createElement(rt,{$ma:"space-between-s",$justifyContent:"space-between",$alignItems:"center"},a.createElement(St,{src:Ds,$height:"all-spacing-8",$width:"all-spacing-7",alt:""}),a.createElement(ao,{onClick:l,"aria-label":"Close",defaultIconBackground:"transparent",defaultIconColor:"black",defaultTextColor:"transparent",hoverTextColor:"transparent",disabledTextColor:"transparent",hoverIconBackground:"black",hoverIconColor:"white",disabledIconBackground:"transparent",iconBackgroundSize:"all-spacing-6",iconSize:"all-spacing-6",iconName:"cross"})),a.createElement("div",{style:{display:"contents"},"data-autofocus-inside":!0},a.createElement(rt,{$flexGrow:1,$flexDirection:"column",$overflow:"auto",$bt:"border-solid-s",$borderColor:h?"border-neutral-lighter":"transparent"},a.createElement("div",{ref:g}),n),t)))})),o)},Rs=function(e){return a.createElement(nt,{$mv:"space-between-m",$ph:"inner-padding-m"},e.children)},As=function(e){return a.createElement(rt,S({},e,{$flexDirection:["column","row"],$bt:"border-solid-s",$borderColor:"border-neutral-lighter",$pa:"inner-padding-xl",$gap:["space-between-s","space-between-m"],$width:"100%"}))},zs=e(ns)(gs||(gs=D(["\n ","\n"],["\n ","\n"])),et),Bs=e(rt)(bs||(bs=D(["\n opacity: ",";\n transition: opacity 0s;\n"],["\n opacity: ",";\n transition: opacity 0s;\n"])),(function(e){switch(e.$state){case"entered":case"entering":return"1";default:return"0"}})),Ls=function(e){var n=e.children,t=e.domContainer,r=e.isOpen,o=e.onClose,i=void 0===o?function(){}:o,s=e.disableBackdropClick,d=void 0!==s&&s,p=e.disableEscapeKey,g=void 0!==p&&p,h=e.hideCloseButton,m=void 0!==h&&h,v=e.modalFlexProps,y=e.backdropFlexProps,w=e.footerSlot,x=O(c({top:!1,bottom:!1}),2),$=x[0],C=x[1],k=u(null),M=u(null),I=l((function(){var e=M.current;e&&(e.scrollHeight>e.clientHeight&&(M.current.tabIndex=0),C({top:e.scrollTop>0,bottom:e.scrollHeight>e.clientHeight}))}),[]);f((function(){var e;return I(),null===(e=M.current)||void 0===e||e.addEventListener("scroll",I),function(){var e;null===(e=M.current)||void 0===e||e.removeEventListener("scroll",I)}}),[r]),b((function(){return window.addEventListener("resize",I),function(){window.removeEventListener("resize",I)}}));var j="undefined"!=typeof window,N=a.createElement(js,{in:r,nodeRef:k,addEndListener:function(e){var n;null===(n=k.current)||void 0===n||n.addEventListener("transitionend",e)},timeout:0,mountOnEnter:!0,unmountOnExit:!0},(function(e){return a.createElement(Bs,{ref:k,$state:e,$position:"fixed",$inset:"all-spacing-0",$justifyContent:"center",$alignItems:"center",$zIndex:"modal-dialog"},a.createElement(nt,S({$position:"fixed",$inset:"all-spacing-0",$zIndex:"behind",$background:"blackSemiTransparent",style:{backdropFilter:"blur(3px)"},"data-testid":"backdrop"},y)),a.createElement(rt,{$alignItems:"center",$justifyContent:"center",$maxWidth:"all-spacing-23",$width:"100%",$pa:"inner-padding-l"},a.createElement(zs,{onEscapeKey:function(){return!g&&i()},onClickOutside:function(){return!d&&i()},returnFocus:!0,autoFocus:!0,$width:"100%"},a.createElement(rt,S({$flexDirection:"column",$background:"white",$borderRadius:"border-radius-l",$ba:"border-solid-xl",$borderColor:"border-decorative1-stronger",$width:"100%",$position:"relative",role:"alertdialog",style:{maxHeight:"calc(100vh - ".concat(ne("inner-padding-xl5")," - ").concat(ne("inner-padding-xl5"),")")}},v),a.createElement(nt,{$minHeight:"inner-padding-xl5",$position:"relative"},!m&&a.createElement(nt,{$position:"absolute",$top:"all-spacing-3",$right:"all-spacing-3"},a.createElement(ao,{onClick:i,"aria-label":"Close Modal",defaultIconBackground:"transparent",defaultIconColor:"black",defaultTextColor:"transparent",hoverTextColor:"transparent",disabledTextColor:"transparent",hoverIconBackground:"black",hoverIconColor:"white",disabledIconBackground:"transparent",iconBackgroundSize:"all-spacing-7",iconSize:"all-spacing-7",iconName:"cross","data-testid":"close-button"}))),a.createElement("div",{style:{display:"contents"},"data-autofocus-inside":!0},a.createElement(rt,{ref:M,"data-testid":"modal-main-content",$overflow:"auto",$flexDirection:"column",$ph:"inner-padding-xl5",$bt:$.top?"border-solid-s":"border-solid-none",$bb:$.bottom?"border-solid-s":"border-solid-none",$borderColor:"border-neutral-lighter"},n),w)))))}));return t&&j?E(N,t):N},Zs=function(e){var n=e.children,t=e.iconName,r=void 0===t?"info":t,o=e.title,i=e.headingOverride,c=e.iconOverride;return a.createElement(rt,{$pb:"inner-padding-xl",$width:"100%",$flexDirection:"column",$alignItems:"center",$justifyContent:"center"},a.createElement(Qt,S({iconName:r,$width:"all-spacing-15",$height:"all-spacing-15",$mb:"space-between-m2","data-testid":"icon"},c)),a.createElement(Nt,S({$font:["heading-5","heading-5","heading-4"],"data-testid":"OakHeading-id",tag:"h1",$mb:"space-between-m2",$textAlign:"center"},i),o),n)},Ps=function(e){var n=e.$pa,t=void 0===n?"inner-padding-xl":n,r=e.fill,o=void 0===r?"black":r,i=e.stroke,c=e.$width,l=void 0===c?"fit-content":c,s=I(e,["$pa","fill","stroke","$width"]);return a.createElement(si,S({$pa:t,$width:l,backgroundElement:a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280 130",preserveAspectRatio:"none",$fill:o,$stroke:i},a.createElement("path",{d:"M1279.41 10.776C1279 10.0177 1279.5 7.99963 1277.5 8.65073C1277 8.65073 1275.53 8.70062 1276 9.41902C1276.56 23.5974 1276.34 113.092 1276.5 127.5C1279.56 128.617 0.908149 127.396 3.00021 126.907C0.314877 122.776 4.03063 33.3856 3.00021 28.4965C1.50142 21.2426 3.15634 15.9345 3.00021 9.88797C2.50062 2.40466 5.02719 2.69402 30.132 3.02328C65.2287 3.02328 92.6753 2.94346 121.902 3.02328C179.387 2.95344 224.944 3.04324 265.786 3.02328C337.634 3.14302 398.835 2.90355 455.258 3.04324C613.381 2.74391 948.86 2.91353 1106.55 2.8836C1140.74 2.77384 1210.34 2.98337 1265.54 2.8836C1265.92 2.77384 1272.26 3.18293 1271.91 2.48449C1272.69 2.02551 1272.54 1.09758 1272.79 0.508892C1269.63 -0.269372 1265.04 0.199582 1262.14 0.169649C1031.33 0.329293 652.911 0.109783 455.508 0.459004C362.396 0.508892 273.03 0.478959 185.725 0.488937C140.918 0.488937 80.5913 0.488937 37.501 0.468981C16.0808 -0.488882 9.05519 0.399137 2.62287 0.369204C0.249785 0.359226 1.74858 2.66408 1.34265 3.45233C-1.40389 6.89465 0.178862 11.9996 0.000150621 17.1218C-0.343323 26.9699 0.312234 116.849 0.0936605 129.88C5.37066 130.16 24.0119 129.88 25.1984 129.94C172.236 130.1 523.859 129.87 669.117 129.91C885.755 129.86 1045.25 129.79 1261.02 129.79C1260.7 129.332 1284.53 130.898 1279.22 128.723C1279.09 113.178 1279.09 26.7005 1279.41 10.776ZM1268.85 2.47451C1268.6 2.4346 1268.45 2.30489 1268.73 2.13526C1269.2 2.00555 1269.54 2.69402 1268.85 2.47451ZM1263.73 0.73838C1264.98 0.73838 1265.39 1.28716 1263.92 0.927957C1263.14 0.808225 1262.95 0.73838 1263.73 0.73838ZM1260.83 1.96564C1261.39 1.78604 1264.54 1.58649 1262.64 1.96564C1261.17 2.23504 1259.3 2.99335 1260.83 1.96564ZM1277 12.8015C1276.59 11.9633 1277 8.56953 1277.5 10.4996C1277.75 12.6349 1278.5 13.4996 1277 12.8015ZM1266.1 2.255C1269.04 2.46453 1264.57 2.54435 1265.64 2.29491C1265.64 2.17518 1265.64 2.13526 1266.1 2.255ZM1266.35 0.698469C1266.35 0.698469 1266.64 0.748358 1266.64 0.848136C1266.98 1.25722 1265.04 0.688492 1266.35 0.698469ZM1278.5 9.63853C1278.5 9.63853 1278.78 10.0376 1278.78 10.8359C1279.12 14.1285 1278 9.63853 1278.5 9.63853ZM1269.48 1.46676C1270.04 1.7162 1269.23 1.76609 1269.2 1.5366C1269.2 1.42684 1269.32 1.38693 1269.48 1.46676ZM1255.58 0.129738C1256.67 0.0598939 1257.77 0.019983 1258.02 0.059894C1259.83 0.159671 1251.05 0.309338 1255.58 0.129738ZM1197.41 2.32484C1198.75 2.29491 1198.72 2.62417 1197.41 2.62417C1196.1 2.62417 1196.07 2.30489 1197.41 2.32484ZM1168.5 2.10533C1168.84 2.01553 1171.77 1.91575 1172.09 2.10533C1172.52 2.14524 1167.81 2.30489 1168.5 2.10533ZM1112.35 0.20956C1116.57 0.269427 1110.51 0.239493 1110.32 0.20956C1110.6 0.20956 1111.54 0.20956 1112.35 0.20956ZM1109.76 0.878069C1111.1 0.878069 1111.07 1.03771 1109.76 1.03771C1108.45 1.03771 1108.42 0.888047 1109.76 0.878069ZM1088.5 1.04769C1089.34 0.688492 1094.59 0.498915 1091.15 0.967869C1087.72 1.34702 1086.72 1.41687 1088.5 1.04769ZM1084.38 0.139716C1086.91 0.179627 1086.28 0.179627 1083.91 0.159671C1081.47 0.139716 1081.82 0.11976 1084.38 0.139716ZM1071.92 2.67406C1071.45 2.69402 1071.17 2.69402 1070.45 2.67406C1067.51 2.59424 1073.54 2.6142 1071.92 2.67406ZM1069.67 2.31486C1070.2 2.28493 1073.32 2.24502 1071.79 2.37473C1071.45 2.4346 1067.26 2.38471 1069.67 2.31486ZM1063.42 1.19736C1064.14 1.0876 1065.49 1.52662 1063.71 1.58649C1061.99 1.76609 1060.02 1.24725 1063.42 1.19736ZM1046.69 0.73838C1046.84 0.658558 1047.56 0.528848 1048.22 0.528848C1052.09 0.379182 1045.59 1.13749 1046.69 0.73838ZM1026.52 2.58426C1027.27 2.55433 1028.51 2.58426 1029.33 2.6142C1032.2 2.67406 1025.39 2.64413 1026.52 2.58426ZM1010.84 2.56431C1013.71 2.58426 1009.62 2.63415 1009.28 2.58426C1009.28 2.57428 1009.84 2.56431 1010.84 2.56431ZM991.514 0.788269C992.7 0.908002 994.012 0.478959 995.323 0.927957C994.98 1.45678 985.799 0.708447 991.514 0.788269ZM968.001 2.10533C970.031 1.8958 970 2.10533 968.001 2.255C966.034 2.46453 966.034 2.255 968.001 2.10533ZM964.254 1.40689C966.378 1.81598 961.756 1.85589 961.069 1.90578C961.788 1.66631 963.88 1.60644 964.254 1.40689ZM958.009 2.22506C958.977 2.1652 959.508 2.1652 960.476 2.22506C963.224 2.30489 955.293 2.30489 958.009 2.22506ZM955.761 0.059894C958.852 0.0299607 954.106 0.159671 954.075 0.0798494C954.075 0.0698717 954.824 0.059894 955.761 0.059894ZM950.984 2.27495C951.452 2.30489 952.888 2.27495 953.451 2.49446C954.169 2.73393 946.737 2.6142 950.984 2.27495ZM937.744 2.60422C938.494 2.59424 939.68 2.60422 940.43 2.6142C944.364 2.64413 935.621 2.64413 937.744 2.60422ZM896.965 1.99558C899.713 2.15522 897.964 2.10533 896.965 2.28493C898.214 2.82373 893.124 1.96564 896.965 1.99558ZM872.984 1.94569C873.765 1.87584 874.67 1.806 875.045 1.87584C876.512 2.18515 868.644 2.51442 872.984 1.94569ZM864.741 2.4346H867.208C869.83 2.68404 859.932 2.42462 864.741 2.4346ZM850.471 2.5244C850.471 2.5244 853.999 2.31486 853.562 2.5244C853.562 2.55433 850.034 2.64413 850.471 2.5244ZM845.225 2.59424C845.225 2.66408 843.601 2.59424 843.445 2.59424H845.225ZM826.147 0.0798494C827.646 0.0598939 828.239 0.0598939 828.707 0.0798494C828.926 0.149694 820.62 0.159671 826.147 0.0798494ZM821.432 2.57429H823.93C825.647 2.6142 816.842 2.58426 821.432 2.57429ZM786.554 0.82818C786.804 0.82818 791.05 0.778291 791.113 0.848136C791.113 0.898024 786.429 0.848135 786.554 0.82818ZM703.558 2.56431C704.058 2.54435 707.555 2.50444 705.619 2.56431C705.119 2.57429 701.622 2.60422 703.558 2.56431ZM698.625 0.189605C700.529 0.149694 701.497 0.159671 701.497 0.20956C701.903 0.29936 695.127 0.239493 698.625 0.189605ZM531.322 2.69402H535.194C541.47 2.75388 527.294 2.72395 531.322 2.69402ZM520.862 2.71397C521.642 2.71397 522.829 2.71397 523.547 2.71397C525.67 2.74391 515.335 2.74391 520.862 2.71397ZM514.336 0.638603C517.052 0.60867 513.399 0.778291 513.336 0.688492C513.336 0.668536 513.805 0.648581 514.336 0.638603ZM486.702 2.62417C488.513 2.65411 485.921 2.66408 485.484 2.64413C484.297 2.6142 485.172 2.59424 486.702 2.62417ZM448.326 0.419093C448.514 0.419093 448.732 0.409115 448.951 0.409115C453.291 0.409115 444.517 0.488937 448.326 0.419093ZM447.265 2.75388C448.482 2.74391 449.482 2.74391 449.856 2.75388C449.482 2.77384 442.113 2.86364 447.265 2.75388ZM414.322 1.0876C415.009 1.0876 416.04 1.06765 416.633 1.0876C417.726 1.10756 411.481 1.15745 414.322 1.0876ZM403.925 2.67406C404.83 2.67406 406.079 2.72395 406.079 2.75388C405.954 2.77384 400.833 2.76386 403.925 2.67406ZM396.274 2.13526C396.274 2.13526 399.709 2.11531 399.397 2.13526C399.397 2.13526 395.869 2.17518 396.274 2.13526ZM394.214 1.58649C396.15 1.58649 396.306 1.64636 394.214 1.6264C392.246 1.59647 392.246 1.59647 394.214 1.58649ZM389.186 1.52662C389.686 1.50667 390.342 1.49669 390.841 1.49669C393.183 1.50667 388.343 1.57651 389.186 1.52662ZM381.536 2.75388C383.41 2.72395 384.315 2.72395 383.691 2.76386C383.285 2.81375 378.164 2.81375 381.536 2.75388ZM363.301 0.688492C367.329 0.758336 361.99 0.798247 361.833 0.688492C361.771 0.668536 362.052 0.668536 363.301 0.688492ZM322.584 1.84591C323.926 1.81598 323.895 1.92573 322.584 1.8958C321.272 1.88582 321.241 1.85589 322.584 1.84591ZM312.436 0.967869C312.436 0.967869 315.496 0.908002 315.152 0.967869C315.215 0.967869 312.061 1.02773 312.436 0.967869ZM301.132 1.84591C301.601 1.79602 304.348 1.79602 304.848 1.83593C305.223 1.83593 300.726 1.87584 301.132 1.84591ZM276.34 1.59647C276.496 1.57651 281.18 1.55656 281.336 1.59647C280.836 1.59647 276.402 1.65633 276.34 1.59647ZM275.903 2.73393C278.557 2.73393 279.431 2.76386 277.37 2.78382C275.028 2.82373 274.466 2.78382 275.903 2.73393ZM263.6 0.548803C266.91 0.528848 262.663 0.618647 261.976 0.578736C262.195 0.558781 262.913 0.548803 263.6 0.548803ZM224.507 0.468981C225.037 0.468981 225.662 0.468981 226.037 0.468981C226.567 0.508892 221.415 0.548803 224.507 0.468981ZM210.018 2.704C211.736 2.69402 211.642 2.78382 209.644 2.75388C207.864 2.75388 208.082 2.71397 210.018 2.704ZM196.311 1.10756C197.122 1.0876 198.059 1.07762 198.371 1.0876C197.56 1.14747 192.158 1.20733 196.311 1.10756ZM182.353 1.32707C183.696 1.30711 183.665 1.36698 182.353 1.37696C181.042 1.39691 181.01 1.32707 182.353 1.32707ZM175.39 0.349248C180.167 0.339271 172.018 0.409115 173.079 0.359226C173.079 0.359226 174.11 0.339271 175.39 0.349248ZM171.674 0.439048C172.018 0.42907 172.705 0.419093 173.204 0.419093C176.358 0.449026 170.925 0.508892 171.674 0.439048ZM167.771 1.76609C169.114 1.76609 169.988 1.78604 169.364 1.806C168.458 1.82595 165.46 1.76609 167.771 1.76609ZM160.933 0.868091C161.589 0.868091 162.307 0.888046 162.525 0.898024C162.525 0.947913 157.529 0.848136 160.933 0.868091ZM145.164 0.379182C148.724 0.449026 143.822 0.409115 143.322 0.379182C141.854 0.329293 142.698 0.329293 145.164 0.379182ZM131.363 2.72395C133.955 2.73393 129.895 2.83371 129.739 2.77384C128.802 2.73393 129.427 2.71397 131.363 2.72395ZM124.119 2.71397C125.867 2.71397 126.492 2.78382 124.119 2.75388C122.12 2.71397 122.12 2.72395 124.119 2.71397ZM104.01 1.59647C105.509 1.51664 105.103 1.64636 104.01 1.64636C102.792 1.65633 102.792 1.64636 104.01 1.59647ZM95.0484 2.13526C102.293 2.00555 89.5528 2.90355 91.0516 2.39469C91.0516 2.26498 92.8315 2.13526 95.0484 2.13526ZM64.573 2.63415C71.7235 2.63415 62.356 2.83371 60.8884 2.71397C61.1694 2.65411 62.8868 2.63415 64.573 2.63415ZM63.6987 2.40466C62.7619 2.53437 52.7075 2.81375 53.8316 2.40466H63.6987ZM42.1535 1.95567C46.9621 1.95567 53.9565 2.22506 51.2087 2.28493C46.0566 2.46453 34.8157 2.20511 42.1535 1.95567ZM31.9742 2.69402C40.3112 2.62417 35.003 2.86364 30.7252 2.85366C24.0743 2.85366 24.855 2.73393 31.9742 2.69402ZM1.68613 118.526C1.2802 119.084 1.2802 124.083 0.999181 121.379C-1.42455e-05 119.942 2.49797 114.096 1.68613 118.526ZM1.62492 13.5099C1.31267 20.2648 1.15655 8.76049 1.50002 7.77269C1.7186 5.96672 1.84349 8.94009 1.62492 13.5099ZM2.50021 33.0762C-0.715945 42.3655 1.00021 30.9996 2.50021 29.5985C1.25122 29.8778 2.87491 31.839 2.50021 33.0762ZM36.5955 127.585C32.2865 127.625 29.7885 127.635 29.1328 127.615C27.8213 127.436 53.4257 127.326 36.5955 127.585ZM58.89 129.651C56.9541 129.312 55.4241 129.501 53.4257 129.222C51.1463 128.952 64.5417 129.691 58.89 129.651ZM84.3695 127.346C92.7066 127.336 89.6153 127.555 83.5889 127.555C76.2511 127.555 77.0317 127.406 84.3695 127.346ZM94.7362 127.745C88.3975 127.745 88.4912 127.446 94.7362 127.386C100.856 127.446 100.95 127.735 94.7362 127.745ZM115.032 128.344C104.978 128.174 104.978 127.915 115.032 127.745C125.087 127.915 125.087 128.174 115.032 128.344ZM140.855 128.443C127.803 128.443 139.637 128.174 144.04 128.274C151.534 128.384 150.41 128.443 140.855 128.443ZM156.842 129.451C156.28 129.491 154.438 129.571 152.658 129.571C143.947 129.641 156.874 129.242 156.842 129.451ZM172.736 129.371C169.676 129.371 166.335 129.312 165.304 129.202C168.833 128.972 187.974 129.461 172.736 129.371ZM174.266 127.526C172.642 127.446 184.601 127.156 184.508 127.186C186.256 127.306 174.172 127.555 174.266 127.526ZM189.847 128.922C187.849 128.982 185.101 128.982 183.946 128.982C177.513 128.703 197.029 128.703 189.847 128.922ZM196.498 127.346C195.249 127.376 191.689 127.426 188.473 127.466C174.547 127.546 206.677 127.007 196.498 127.346ZM234.748 129.012C228.566 129.361 230.908 129.022 236.934 128.753C242.898 128.443 241.399 128.633 234.748 129.012ZM273.904 128.753C271.5 128.753 268.659 128.713 267.659 128.673C266.504 128.483 287.893 128.683 273.904 128.753ZM310 128.683C307.596 128.683 303.287 128.643 300.445 128.593C285.426 128.364 315.589 128.533 310 128.683ZM344.878 128.883C334.855 128.613 345.315 128.434 349.5 128.703C355.901 129.072 353.715 129.132 344.878 128.883ZM366.892 129.062C359.71 129.162 367.641 128.843 369.14 128.982C369.14 128.982 368.141 129.062 366.892 129.062ZM373.824 127.645C371.107 127.516 372.731 127.446 374.386 127.526C376.79 127.605 376.322 127.725 373.824 127.645ZM382.91 128.094C382.473 127.915 384.284 127.875 384.721 127.975C385.564 128.054 384.034 128.174 382.91 128.094ZM396.774 129.711C393.121 129.691 397.086 129.561 397.898 129.591C399.647 129.671 399.241 129.711 396.774 129.711ZM466.062 129.621C464.751 129.621 464.719 129.431 466.062 129.441C467.405 129.421 467.373 129.621 466.062 129.621ZM475.679 129.381C464.407 129.351 474.618 128.982 478.677 129.032C486.077 129.172 484.204 129.381 475.679 129.381ZM478.958 127.805C478.365 127.835 475.336 128.134 476.085 127.895C476.959 127.735 481.799 127.516 478.958 127.805ZM483.392 127.775C481.706 127.775 481.425 127.735 482.268 127.705C483.642 127.565 488.107 127.795 483.392 127.775ZM497.88 129.691C497.068 129.731 496.319 129.731 496.1 129.691C494.82 129.451 500.628 129.611 497.88 129.691ZM537.255 129.621C534.444 129.621 532.04 129.511 532.04 129.511C532.196 129.172 550.775 129.551 537.255 129.621ZM678.703 129.102C675.987 129.102 672.271 129.032 670.585 128.992C667.587 128.753 695.034 128.972 678.703 129.102ZM732.285 129.561C721.762 129.551 733.472 129.312 737.843 129.561H732.285ZM734.783 128.992C716.235 128.902 734.408 128.773 739.779 128.912C747.71 128.972 741.184 128.932 734.783 128.992ZM831.268 129.092H815.53C799.418 128.354 861.587 129.132 831.268 129.092ZM929.064 129.252C926.285 129.351 923.006 129.441 921.039 129.351C918.198 128.922 945.176 128.473 929.064 129.252ZM931.343 128.384C928.408 128.384 929.876 128.284 934.778 128.094C951.764 127.685 962.318 128.334 931.343 128.384Z"}))},s))},Fs=e(ho)(hs||(hs=D(["\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n background: ",";\n }\n }\n"],["\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n @media (hover: hover) {\n &:hover:not(:disabled) {\n background: ",";\n }\n }\n"])),un("border-solid-l"),z("border-primary"),un("border-solid-l"),z("text-disabled"),z("bg-primary")),qs=e(rt)(xs||(xs=D(["\n &:not(:focus-within) {\n ","\n }\n\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n @media (hover: hover) {\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:hover input:not(:disabled) {\n background: ",";\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(\n ",'\n input:not(:focus-visible):not(:checked):not(:disabled)\n )::after {\n content: "";\n inset: 0;\n pointer-events: none;\n position: absolute;\n border-bottom: ',";\n border-radius: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n outline: ",";\n }\n\n &:has(input:checked:disabled) {\n outline-color: ",";\n }\n\n &:has(input:disabled:not(:checked)) {\n ","\n }\n\n &:has(input:disabled:checked) {\n ",";\n }\n }\n"],["\n &:not(:focus-within) {\n ","\n }\n\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n @media (hover: hover) {\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:hover input:not(:disabled) {\n background: ",";\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(\n ",'\n input:not(:focus-visible):not(:checked):not(:disabled)\n )::after {\n content: "";\n inset: 0;\n pointer-events: none;\n position: absolute;\n border-bottom: ',";\n border-radius: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n outline: ",";\n }\n\n &:has(input:checked:disabled) {\n outline-color: ",";\n }\n\n &:has(input:disabled:not(:checked)) {\n ","\n }\n\n &:has(input:disabled:checked) {\n ",";\n }\n }\n"])),(function(e){return!!e.$outlineColor&&n(ms||(ms=D(["\n outline: ","\n ",";\n "],["\n outline: ","\n ",";\n "])),un("border-solid-xl"),z(e.$outlineColor))}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("bg-decorative1-subdued"),z("bg-primary"),Fo,Fo,un("border-solid-xl"),pn("border-radius-m2"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),un("border-solid-xl"),(function(e){return n(vs||(vs=D(["\n ","\n "],["\n ","\n "])),z(e.$overlayBorderColor))}),(function(e){return e.$feedbackBgColor?n(ys||(ys=D(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.$feedbackBgColor):void 0}),(function(e){return n(ws||(ws=D(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),z(e.$feedbackBgColor))})),Ws=function(e){var n,t,r,o=e.id,i=e.value,c=e.feedback,l=e.image,s=e.disabled,d=e.innerRef,p=e.displayValue,f=e.isHighlighted,g=I(e,["id","value","feedback","image","disabled","innerRef","displayValue","isHighlighted"]),b=!!c,h=u(null),m=null!=d?d:h,v="correct"===c&&(null===(n=m.current)||void 0===n?void 0:n.checked)||"incorrect"===c&&!(null===(t=m.current)||void 0===t?void 0:t.checked),y="incorrect"===c&&(null===(r=m.current)||void 0===r?void 0:r.checked),w=a.createElement(rt,{$flexDirection:"column",$minWidth:"all-spacing-20",$gap:"space-between-s"},a.createElement(nt,null,l),p),x=v?"bg-correct":"bg-incorrect",$=v?"border-success":"border-error",C=a.createElement(qs,{$pa:"inner-padding-l",$borderRadius:"border-radius-m2",$borderColor:f?"border-decorative5-stronger":"border-primary",$background:s&&!b?"bg-neutral-stronger":"bg-primary",$flexGrow:1,onClick:function(e){var n;e.target.id!==o&&(null===(n=m.current)||void 0===n||n.click())},$overlayBorderColor:b?$:"text-disabled",$feedbackBgColor:b?x:void 0,$outlineColor:f?"border-decorative5-stronger":"transparent"},a.createElement(Fo,{pointerEvents:"none",htmlFor:o,labelGap:"space-between-s",labelAlignItems:"center",$color:s&&!b?"text-disabled":"text-primary",$font:"body-1",disabled:s},a.createElement(Wo,{size:"all-spacing-7",iconPadding:"inner-padding-ssx",checkedIcon:a.createElement(nt,{$width:"100%",$height:"100%",$background:s||b?"text-disabled":"text-primary"},a.createElement(nt,{$ba:"border-solid-m",$borderColor:"white",$width:"100%",$height:"100%"})),internalCheckbox:a.createElement(Fs,S({id:o,value:i,disabled:s||b},g,{$width:"all-spacing-7",$height:"all-spacing-7",$ba:"border-solid-m",$borderColor:"border-neutral",$borderRadius:"border-radius-s",$background:f?"bg-decorative5-main":"bg-primary",$checkedBackground:null,ref:m}))}),l?w:p),b&&(v||y)&&a.createElement(rt,{className:"feedbackIconWrapper",$flexGrow:1,$justifyContent:"flex-end",$alignItems:"flex-end",$height:"100%"},v&&a.createElement(Qt,{iconName:"tick",$colorFilter:"icon-success",alt:"correct"===c?"Correct":"Unselected correct choice"}),y&&a.createElement(Qt,{iconName:"cross",$colorFilter:"icon-error",alt:"Incorrect"})));return a.createElement(rt,{$width:"100%",$position:"relative"},C)},_s=function(e){var n,t,r=e.feedback,o=e.readOnly,i=I(e,["feedback","readOnly"]),c=void 0;switch(r){case"correct":n="valid",t="tick",c="Correct";break;case"incorrect":n="invalid",t="cross",c="Incorrect"}return a.createElement(Yo,S({},i,{validity:n,iconName:t,iconAlt:c,readOnly:o||!!r,isTrailingIcon:!0}))},Hs=e(rt)(ks||(ks=D(["\n &:not(:focus-within) {\n ","\n }\n\n &:hover {\n cursor: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n &:not(:focus-within) {\n ","\n }\n\n &:hover {\n cursor: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),(function(e){return!!e.$outlineColor&&n($s||($s=D(["\n outline: ","\n ",";\n "],["\n outline: ","\n ",";\n "])),un("border-solid-xl"),z(e.$outlineColor))}),(function(e){return e.$disabled?"default":"pointer"}),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return!e.$disabled&&n(Cs||(Cs=D(["\n &:hover {\n background-color: ",";\n text-decoration: underline;\n }\n "],["\n &:hover {\n background-color: ",";\n text-decoration: underline;\n }\n "])),z("bg-decorative1-subdued"))}),(function(e){return!e.$disabled&&!e.$checked&&n(Es||(Es=D(['\n &:hover:not(:focus-within)::after {\n pointer-events: none;\n content: "";\n position: absolute;\n inset: 0;\n border-radius: ',";\n border-bottom: "," ",";\n }\n "],['\n &:hover:not(:focus-within)::after {\n pointer-events: none;\n content: "";\n position: absolute;\n inset: 0;\n border-radius: ',";\n border-bottom: "," ",";\n }\n "])),pn("border-radius-m2"),un("border-solid-l"),z("grey60"))})),Gs=function(e){var n,t,r=e.value,o=e.feedback,i=e.image,c=e.disabled,l=e.isHighlighted,s=e.label,u=I(e,["value","feedback","image","disabled","isHighlighted","label"]),p=!!o,f=d(lo).currentValue===r,g="bg-primary",b=null,h="bg-primary";switch(!0){case c&&!p:g="bg-neutral-stronger";break;case"correct"===o&&f:n="border-success",g="bg-correct",b="tick",t="Correct";break;case"incorrect"===o&&f:n="border-error",g="bg-incorrect",b="cross",t="Incorrect";break;case"incorrect"===o&&!f:b="tick",t="Unselected correct choice";break;case l:h="bg-decorative5-main",n="border-decorative5-stronger";break;case f&&!c:n="border-primary"}return a.createElement(Hs,{$pa:"inner-padding-l",$borderRadius:"border-radius-m2",$justifyContent:"space-between",$position:"relative",$alignContent:"center",onClick:function(e){var n;null===(n=e.currentTarget.querySelector("input"))||void 0===n||n.click()},$disabled:c||p,$checked:f,$outlineColor:n,$background:g},a.createElement(bo,S({value:r,disabled:c||p,$labelGap:"space-between-s",disableFocusRing:!0,radioInnerSize:"all-spacing-6",radioOuterSize:"all-spacing-7",radioBackground:h,checkedRadioBorderWidth:"border-solid-l",label:i?a.createElement(rt,{$flexDirection:"column",$minWidth:"all-spacing-20",$gap:"space-between-s"},a.createElement(nt,null,i),s):s},u)),p&&b&&a.createElement(rt,{$alignSelf:"flex-end"},a.createElement(Qt,{iconName:b,$colorFilter:"tick"===b?"icon-success":"icon-error",alt:t})))},Vs=e(ao)(Ms||(Ms=D(["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"],["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),Ys=function(e){var n=e.isOpen,t=e.disabled;return a.createElement(Vs,{iconName:n&&!t?"lightbulb-yellow":"lightbulb",defaultIconBackground:n?"black":"bg-decorative5-main",hoverIconBackground:n?"black":"bg-decorative5-main",defaultTextColor:"text-primary",hoverTextColor:"text-primary",disabledIconBackground:"bg-btn-primary-disabled",disabledTextColor:"text-disabled",disabledIconColor:"white",onClick:e.onClick,isLoading:e.isLoading,disabled:e.disabled,iconBackgroundSize:"all-spacing-8",iconSize:"all-spacing-6"},n?"Close hint":"Need a hint?")},Us=function(e){var n=e.hint,t=O(c(!1),2),r=t[0],o=t[1];return a.createElement(ei,{tooltip:n,isOpen:r},a.createElement(Ys,{isOpen:r,onClick:function(){o(!r)}}))},Xs=function(e){var n,t=e.feedback,r=e.answerFeedback;switch(t){case"correct":n="Correct";break;case"incorrect":n="Incorrect";break;case"partially-correct":n="Almost correct"}return a.createElement(nt,{"aria-live":"polite"},a.createElement(rt,{$gap:"space-between-xs"},a.createElement(Uo,{iconName:"correct"===t?"tick":"cross",alt:"",$pa:"inner-padding-none",$background:"correct"===t?"icon-success":"icon-error",$colorFilter:"text-inverted",$width:"all-spacing-6",$height:"all-spacing-6"}),a.createElement(ot,{$font:"heading-6",$color:"correct"===t?"text-success":"text-error"},n)),r&&a.createElement(ot,{as:"p",$mt:"space-between-xs",$font:"correct"===t?"body-2-bold":"body-2"},r))},Ks=e(rt)(Ss||(Ss=D(["\n box-sizing: content-box;\n"],["\n box-sizing: content-box;\n"]))),Js=function(e){var n,t=e.hint,r=e.feedback,o=e.answerFeedback,i=e.children;switch(!0){case!!r:n=a.createElement(Xs,{feedback:r,answerFeedback:o});break;case!!t:n=a.createElement(Us,{hint:t});break;default:n=null}return a.createElement(Ks,{$flexDirection:["column","row"],$pa:"inner-padding-m",$minHeight:"all-spacing-9",$gap:"space-between-m"},a.createElement(rt,{$alignItems:"center"},n),a.createElement(rt,{$flexGrow:"1",$height:"fit-content",$alignSelf:"flex-end",$justifyContent:["initial","flex-end"],$width:["100%","auto"]},i))},Qs=e(ot)(Is||(Is=D(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),G("small")),ed=function(e){var n=e.lessonSectionName,t=e.backLinkSlot,r=e.counterSlot,o=e.heading,i=e.mobileSummary;return a.createElement(rt,{$gap:"space-between-m",$alignItems:"center"},a.createElement(nt,{$pl:["inner-padding-none","inner-padding-s"]},t),a.createElement(rt,{$flexGrow:"none"},a.createElement(Uo,S({},function(e){switch(e){case"intro":return{iconName:"intro",$background:"aqua110"};case"starter-quiz":return{iconName:"quiz",$background:"mint110"};case"video":return{iconName:"video",$background:"pink110"};case"exit-quiz":return{iconName:"quiz",$background:"lemon110"}}}(n),{$width:"all-spacing-8",$height:"all-spacing-8"}))),a.createElement(nt,null,a.createElement(Nt,{tag:"h1",$font:["heading-7","heading-5"]},o),a.createElement(Qs,{$font:"body-3"},i)),a.createElement(rt,{$flexGrow:1,$justifyContent:"flex-end"},a.createElement(nt,{$display:["none","block"]},r)))};var nd,td,rd=function(e){var n=e.counter,t=e.total;return a.createElement(ot,{$font:"heading-light-4",$color:"text-disabled"},a.createElement(ot,{$font:"heading-4",$color:"text-primary"},n," "),"of ",t)},od=e(nt)(nd||(nd=D(["\n @media (min-width: ","px) {\n padding-top: ",";\n }\n"],["\n @media (min-width: ","px) {\n padding-top: ",";\n }\n"])),G("small"),ne("space-between-xl")),id=e(nt)(td||(td=D(["\n position: sticky;\n bottom: 0;\n z-index: 10;\n"],["\n position: sticky;\n bottom: 0;\n z-index: 10;\n"]))),ad=function(e){var n=e.lessonSectionName,t=e.topNavSlot,r=e.bottomNavSlot,o=e.children,i=O(function(e){switch(e){case"overview":case"review":return["bg-decorative1-main","bg-primary","border-decorative1-stronger","bg-primary"];case"intro":return["bg-decorative2-subdued","bg-decorative2-very-subdued","border-inverted","bg-decorative2-subdued"];case"starter-quiz":return["bg-decorative1-main","bg-decorative1-very-subdued","border-inverted","bg-decorative1-subdued"];case"video":return["bg-decorative4-subdued","bg-primary","border-decorative4","bg-primary"];case"exit-quiz":return["bg-decorative5-main","bg-decorative5-very-subdued","border-inverted","bg-decorative5-subdued"]}}(n),4),c=i[0],l=i[1],s=i[2],d=i[3];return a.createElement(od,{$display:"flex",$width:"100%",$minHeight:"100%",$ph:["inner-padding-none","inner-padding-xl"],$background:c},a.createElement(rt,{$flexDirection:"column",$flexGrow:1,$background:[d,l],$btr:[null,"border-radius-xl"],$bt:[null,"border-solid-xl"],$bh:[null,"border-solid-xl"],$borderColor:[null,s],$maxWidth:"all-spacing-24",$minHeight:"100%",$mh:"auto",$pt:["inner-padding-none","inner-padding-m"],$gap:["space-between-l","space-between-xl"]},t&&a.createElement(nt,{$pv:"inner-padding-l",$pl:["inner-padding-m","inner-padding-xs"],$pr:["inner-padding-m","inner-padding-none"],$mr:["space-between-none","space-between-l"],$background:["bg-primary","transparent"]},t),a.createElement(rt,{$flexGrow:1,$flexDirection:"column"},o),r&&a.createElement(id,{$mh:["space-between-none","space-between-none","space-between-sssx"],$borderColor:s,$bt:"border-solid-xl",$background:["bg-primary",l]},r)))};var cd,ld,sd,dd,ud,pd,fd=e(nt)(cd||(cd=D([""],[""]))),gd=e(Uo)(ld||(ld=D(["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"],["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"])),ne("all-spacing-8"),ne("all-spacing-8"),(function(e){return at(e.$disabled?"icon-disabled":"icon-inverted")})),bd=n(sd||(sd=D(["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),gd,z("bg-btn-primary"),at("icon-main")),hd=e(rt)(ud||(ud=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: default"}),(function(e){return!e.$disabled&&n(dd||(dd=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n }\n "])),fd,bd,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),bd)})),md=e(nt)(pd||(pd=D(["\n flex: 1;\n"],["\n flex: 1;\n"]))),vd=function(e){var n=e.as,t=e.lessonSectionName,r=e.progress,o=e.disabled,i=e.href,c=e.onClick,l=I(e,["as","lessonSectionName","progress","disabled","href","onClick"]),s=O(function(e){switch(e){case"intro":return["bg-decorative2-very-subdued","bg-decorative2-main","border-decorative2-stronger"];case"starter-quiz":return["bg-decorative1-very-subdued","bg-decorative1-main","border-decorative1-stronger"];case"video":return["bg-decorative4-very-subdued","bg-decorative4-main","border-decorative4-stronger"];case"exit-quiz":return["bg-decorative5-very-subdued","bg-decorative5-main","border-decorative5-stronger"]}}(t),3),d=s[0],u=s[1],p=s[2];return a.createElement(hd,S({as:o?"div":null!=n?n:"a",$gap:"space-between-m",$alignItems:"center",$background:"not-started"===r?d:u,$ph:["inner-padding-m","inner-padding-xl"],$pv:"inner-padding-l",$borderRadius:"border-radius-l",$borderColor:p,$ba:"border-solid-l",$disabled:o,$color:"text-primary",href:o?void 0:i,onClick:o?void 0:c},l),a.createElement(rt,{$width:"all-spacing-13",$justifyContent:"center"},a.createElement(Qt,{iconName:yd(t),$width:"all-spacing-10",$height:"all-spacing-10"})),a.createElement(md,null,a.createElement(fd,{as:"strong",$font:["heading-6","heading-5"],$color:o?"text-disabled":"text-primary"},function(e){switch(e){case"intro":return"Introduction";case"starter-quiz":return"Starter quiz";case"video":return"Lesson video";case"exit-quiz":return"Exit quiz"}}(t)),a.createElement(nt,{$font:["body-2","body-1"]},function(e){switch(e.progress){case"not-started":return function(e){switch(e.lessonSectionName){case"intro":return"Prepare";case"starter-quiz":return"Activate - ".concat(e.numQuestions," Questions");case"exit-quiz":return"Check - ".concat(e.numQuestions," questions");case"video":return"Learn"}}(e);case"in-progress":return"In progress...";case"complete":return a.createElement(rt,{$gap:"space-between-sssx",$alignItems:"center"},a.createElement(Qt,{iconName:"tick",$width:"all-spacing-6",$height:"all-spacing-6"}),function(e){switch(e.lessonSectionName){case"intro":case"video":return"Completed";case"starter-quiz":case"exit-quiz":return a.createElement(a.Fragment,null,a.createElement(nt,{$display:["none","block"]},"Completed"),a.createElement(nt,{$display:["block","none"]},e.grade,"/",e.numQuestions," correct"))}}(e))}}(e))),function(e){if("complete"!==e.progress)return null;switch(e.lessonSectionName){case"exit-quiz":case"starter-quiz":return a.createElement(nt,{$display:["none","block"],$mr:"space-between-m"},a.createElement(ot,{$font:"heading-4"},e.grade),a.createElement(ot,{$font:"heading-6"}," / ",e.numQuestions));default:return null}}(e),a.createElement(gd,{iconName:"chevron-right",$disabled:o}))};function yd(e){switch(e){case"intro":return"intro";case"starter-quiz":case"exit-quiz":return"quiz";case"video":return"video"}}var wd,xd=e(rt)(wd||(wd=D(["\n outline: none;\n text-align: initial;\n"],["\n outline: none;\n text-align: initial;\n"]))),$d=function(e){var n=e.completed,t=e.lessonSectionName,r=I(e,["completed","lessonSectionName"]),o=O(Md(t),3),i=o[0],c=o[1],l=o[2],s=new Map;return s.set("intro","intro"),s.set("starter-quiz","quiz"),s.set("exit-quiz","quiz"),s.set("video","video"),a.createElement(xd,S({completed:n,$gap:"space-between-m",$alignItems:"center",$background:n?i:"white",$ph:["inner-padding-m","inner-padding-xl"],$pv:"inner-padding-l",$borderRadius:"border-radius-l",$borderColor:n?i:c,$ba:"border-solid-l"},r),a.createElement(Uo,{iconName:s.get(t),$width:"all-spacing-10",$height:"all-spacing-10",$background:l}),a.createElement(rt,{$flexGrow:1,$flexShrink:1,$flexDirection:"column"},a.createElement(nt,{$font:["heading-6","heading-5"],$color:"text-primary"},kd(t)),a.createElement(nt,{$font:["body-2","body-1"]},Cd(e))),Sd(e))},Cd=function(e){return!1===e.completed?Ed(e):a.createElement(rt,{$gap:"space-between-sssx",$alignItems:"center"},a.createElement(Qt,{iconName:"tick",$width:"all-spacing-6",$height:"all-spacing-6"}),"Completed")},Ed=function(e){switch(e.lessonSectionName){case"intro":return"Prepare";case"starter-quiz":return"Activate - ".concat(e.numQuestions," questions");case"exit-quiz":return"Check - ".concat(e.numQuestions," questions");case"video":return"Learn"}},kd=function(e){switch(e){case"intro":return"Introduction";case"starter-quiz":return"Starter quiz";case"video":return"Lesson video";case"exit-quiz":return"Exit quiz"}},Md=function(e){switch(e){case"intro":return["bg-decorative2-very-subdued","border-decorative2","aqua"];case"starter-quiz":return["bg-decorative1-very-subdued","border-decorative1","mint"];case"video":return["bg-decorative4-very-subdued","border-decorative4","pink"];case"exit-quiz":return["bg-decorative5-very-subdued","border-decorative5","lemon"]}},Sd=function(e){if(!1===e.completed)return null;switch(e.lessonSectionName){case"exit-quiz":case"starter-quiz":return a.createElement(nt,null,a.createElement(ot,{$font:"heading-4"},e.grade),a.createElement(ot,{$font:"heading-6"}," / ",e.numQuestions));default:return null}},Id=function(e){var n=e.children,t=e.id,r=e.signLanguageControl,o=void 0===r?null:r,i=O(c(!1),2),l=i[0],s=i[1];return a.createElement(a.Fragment,null,a.createElement(rt,{$flexDirection:["column-reverse","row"],$justifyContent:"space-between"},a.createElement(nt,null,n&&a.createElement(co,{onClick:function(){return s(!l)},iconName:l?"chevron-up":"chevron-down",isTrailingIcon:!0,"aria-controls":t,"aria-expanded":l,$mb:"space-between-m"},l?"Hide transcript":"Show transcript")),o&&a.createElement(nt,{$mb:"space-between-m"},o)),n&&a.createElement(zi,{id:t,$maxHeight:"all-spacing-23",isOpen:l,$font:"body-1",$color:"text-primary"},n))};const jd="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Od(e){const n=Object.prototype.toString.call(e);return"[object Window]"===n||"[object global]"===n}function Nd(e){return"nodeType"in e}function Dd(e){var n,t;return e?Od(e)?e:Nd(e)&&null!=(n=null==(t=e.ownerDocument)?void 0:t.defaultView)?n:window:window}function Td(e){const{Document:n}=Dd(e);return e instanceof n}function Rd(e){return!Od(e)&&e instanceof Dd(e).HTMLElement}function Ad(e){return e instanceof Dd(e).SVGElement}function zd(e){return e?Od(e)?e.document:Nd(e)?Td(e)?e:Rd(e)||Ad(e)?e.ownerDocument:document:document:document}const Bd=jd?f:b;function Ld(e){const n=u(e);return Bd((()=>{n.current=e})),l((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)}),[])}function Zd(e,n){void 0===n&&(n=[e]);const t=u(e);return Bd((()=>{t.current!==e&&(t.current=e)}),n),t}function Pd(e,n){const t=u();return h((()=>{const n=e(t.current);return t.current=n,n}),[...n])}function Fd(e){const n=Ld(e),t=u(null),r=l((e=>{e!==t.current&&(null==n||n(e,t.current)),t.current=e}),[]);return[t,r]}function qd(e){const n=u();return b((()=>{n.current=e}),[e]),n.current}let Wd={};function _d(e,n){return h((()=>{if(n)return n;const t=null==Wd[e]?0:Wd[e]+1;return Wd[e]=t,e+"-"+t}),[e,n])}function Hd(e){return function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(((n,t)=>{const r=Object.entries(t);for(const[t,o]of r){const r=n[t];null!=r&&(n[t]=r+e*o)}return n}),{...n})}}const Gd=Hd(1),Vd=Hd(-1);function Yd(e){if(!e)return!1;const{KeyboardEvent:n}=Dd(e.target);return n&&e instanceof n}function Ud(e){if(function(e){if(!e)return!1;const{TouchEvent:n}=Dd(e.target);return n&&e instanceof n}(e)){if(e.touches&&e.touches.length){const{clientX:n,clientY:t}=e.touches[0];return{x:n,y:t}}if(e.changedTouches&&e.changedTouches.length){const{clientX:n,clientY:t}=e.changedTouches[0];return{x:n,y:t}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const Xd=Object.freeze({Translate:{toString(e){if(!e)return;const{x:n,y:t}=e;return"translate3d("+(n?Math.round(n):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:n,scaleY:t}=e;return"scaleX("+n+") scaleY("+t+")"}},Transform:{toString(e){if(e)return[Xd.Translate.toString(e),Xd.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:n,duration:t,easing:r}=e;return n+" "+t+"ms "+r}}}),Kd="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Jd(e){return e.matches(Kd)?e:e.querySelector(Kd)}const Qd={display:"none"};function eu(e){let{id:n,value:t}=e;return a.createElement("div",{id:n,style:Qd},t)}function nu(e){let{id:n,announcement:t,ariaLiveType:r="assertive"}=e;return a.createElement("div",{id:n,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},t)}const tu=s(null);const ru={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},ou={onDragStart(e){let{active:n}=e;return"Picked up draggable item "+n.id+"."},onDragOver(e){let{active:n,over:t}=e;return t?"Draggable item "+n.id+" was moved over droppable area "+t.id+".":"Draggable item "+n.id+" is no longer over a droppable area."},onDragEnd(e){let{active:n,over:t}=e;return t?"Draggable item "+n.id+" was dropped over droppable area "+t.id:"Draggable item "+n.id+" was dropped."},onDragCancel(e){let{active:n}=e;return"Dragging was cancelled. Draggable item "+n.id+" was dropped."}};function iu(e){let{announcements:n=ou,container:t,hiddenTextDescribedById:r,screenReaderInstructions:o=ru}=e;const{announce:i,announcement:s}=function(){const[e,n]=c("");return{announce:l((e=>{null!=e&&n(e)}),[]),announcement:e}}(),u=_d("DndLiveRegion"),[p,f]=c(!1);if(b((()=>{f(!0)}),[]),function(e){const n=d(tu);b((()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(e)}),[e,n])}(h((()=>({onDragStart(e){let{active:t}=e;i(n.onDragStart({active:t}))},onDragMove(e){let{active:t,over:r}=e;n.onDragMove&&i(n.onDragMove({active:t,over:r}))},onDragOver(e){let{active:t,over:r}=e;i(n.onDragOver({active:t,over:r}))},onDragEnd(e){let{active:t,over:r}=e;i(n.onDragEnd({active:t,over:r}))},onDragCancel(e){let{active:t,over:r}=e;i(n.onDragCancel({active:t,over:r}))}})),[i,n])),!p)return null;const g=a.createElement(a.Fragment,null,a.createElement(eu,{id:r,value:o.draggable}),a.createElement(nu,{id:u,announcement:s}));return t?E(g,t):g}var au;function cu(){}function lu(e,n){return h((()=>({sensor:e,options:null!=n?n:{}})),[e,n])}function su(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return h((()=>[...n].filter((e=>null!=e))),[...n])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(au||(au={}));const du=Object.freeze({x:0,y:0});function uu(e,n){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function pu(e,n){const t=Ud(e);if(!t)return"0 0";return(t.x-n.left)/n.width*100+"% "+(t.y-n.top)/n.height*100+"%"}function fu(e,n){let{data:{value:t}}=e,{data:{value:r}}=n;return t-r}function gu(e,n){let{data:{value:t}}=e,{data:{value:r}}=n;return r-t}function bu(e){let{left:n,top:t,height:r,width:o}=e;return[{x:n,y:t},{x:n+o,y:t},{x:n,y:t+r},{x:n+o,y:t+r}]}function hu(e,n){if(!e||0===e.length)return null;const[t]=e;return n?t[n]:t}function mu(e,n,t){return void 0===n&&(n=e.left),void 0===t&&(t=e.top),{x:n+.5*e.width,y:t+.5*e.height}}const vu=e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=mu(n,n.left,n.top),i=[];for(const e of r){const{id:n}=e,r=t.get(n);if(r){const t=uu(mu(r),o);i.push({id:n,data:{droppableContainer:e,value:t}})}}return i.sort(fu)};function yu(e,n){const t=Math.max(n.top,e.top),r=Math.max(n.left,e.left),o=Math.min(n.left+n.width,e.left+e.width),i=Math.min(n.top+n.height,e.top+e.height),a=o-r,c=i-t;if(r<o&&t<i){const t=n.width*n.height,r=e.width*e.height,o=a*c;return Number((o/(t+r-o)).toFixed(4))}return 0}const wu=e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=t.get(r);if(i){const t=yu(i,n);t>0&&o.push({id:r,data:{droppableContainer:e,value:t}})}}return o.sort(gu)};function xu(e,n){return e&&n?{x:e.left-n.left,y:e.top-n.top}:du}function $u(e){return function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(((n,t)=>({...n,top:n.top+e*t.y,bottom:n.bottom+e*t.y,left:n.left+e*t.x,right:n.right+e*t.x})),{...n})}}const Cu=$u(1);function Eu(e){if(e.startsWith("matrix3d(")){const n=e.slice(9,-1).split(/, /);return{x:+n[12],y:+n[13],scaleX:+n[0],scaleY:+n[5]}}if(e.startsWith("matrix(")){const n=e.slice(7,-1).split(/, /);return{x:+n[4],y:+n[5],scaleX:+n[0],scaleY:+n[3]}}return null}const ku={ignoreTransform:!1};function Mu(e,n){void 0===n&&(n=ku);let t=e.getBoundingClientRect();if(n.ignoreTransform){const{transform:n,transformOrigin:r}=Dd(e).getComputedStyle(e);n&&(t=function(e,n,t){const r=Eu(n);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:c}=r,l=e.left-a-(1-o)*parseFloat(t),s=e.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),d=o?e.width/o:e.width,u=i?e.height/i:e.height;return{width:d,height:u,top:s,right:l+d,bottom:s+u,left:l}}(t,n,r))}const{top:r,left:o,width:i,height:a,bottom:c,right:l}=t;return{top:r,left:o,width:i,height:a,bottom:c,right:l}}function Su(e){return Mu(e,{ignoreTransform:!0})}function Iu(e,n){const t=[];return e?function r(o){if(null!=n&&t.length>=n)return t;if(!o)return t;if(Td(o)&&null!=o.scrollingElement&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Rd(o)||Ad(o))return t;if(t.includes(o))return t;const i=Dd(e).getComputedStyle(o);return o!==e&&function(e,n){void 0===n&&(n=Dd(e).getComputedStyle(e));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=n[e];return"string"==typeof r&&t.test(r)}))}(o,i)&&t.push(o),function(e,n){return void 0===n&&(n=Dd(e).getComputedStyle(e)),"fixed"===n.position}(o,i)?t:r(o.parentNode)}(e):t}function ju(e){const[n]=Iu(e,1);return null!=n?n:null}function Ou(e){return jd&&e?Od(e)?e:Nd(e)?Td(e)||e===zd(e).scrollingElement?window:Rd(e)?e:null:null:null}function Nu(e){return Od(e)?e.scrollX:e.scrollLeft}function Du(e){return Od(e)?e.scrollY:e.scrollTop}function Tu(e){return{x:Nu(e),y:Du(e)}}var Ru;function Au(e){return!(!jd||!e)&&e===document.scrollingElement}function zu(e){const n={x:0,y:0},t=Au(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-t.width,y:e.scrollHeight-t.height};return{isTop:e.scrollTop<=n.y,isLeft:e.scrollLeft<=n.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:n}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Ru||(Ru={}));const Bu={x:.2,y:.2};function Lu(e,n,t,r,o){let{top:i,left:a,right:c,bottom:l}=t;void 0===r&&(r=10),void 0===o&&(o=Bu);const{isTop:s,isBottom:d,isLeft:u,isRight:p}=zu(e),f={x:0,y:0},g={x:0,y:0},b=n.height*o.y,h=n.width*o.x;return!s&&i<=n.top+b?(f.y=Ru.Backward,g.y=r*Math.abs((n.top+b-i)/b)):!d&&l>=n.bottom-b&&(f.y=Ru.Forward,g.y=r*Math.abs((n.bottom-b-l)/b)),!p&&c>=n.right-h?(f.x=Ru.Forward,g.x=r*Math.abs((n.right-h-c)/h)):!u&&a<=n.left+h&&(f.x=Ru.Backward,g.x=r*Math.abs((n.left+h-a)/h)),{direction:f,speed:g}}function Zu(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:n}=window;return{top:0,left:0,right:e,bottom:n,width:e,height:n}}const{top:n,left:t,right:r,bottom:o}=e.getBoundingClientRect();return{top:n,left:t,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Pu(e){return e.reduce(((e,n)=>Gd(e,Tu(n))),du)}function Fu(e,n){if(void 0===n&&(n=Mu),!e)return;const{top:t,left:r,bottom:o,right:i}=n(e);ju(e)&&(o<=0||i<=0||t>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const qu=[["x",["left","right"],function(e){return e.reduce(((e,n)=>e+Nu(n)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,n)=>e+Du(n)),0)}]];class Wu{constructor(e,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const t=Iu(n),r=Pu(t);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,n,o]of qu)for(const i of n)Object.defineProperty(this,i,{get:()=>{const n=o(t),a=r[e]-n;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class _u{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var n;return null==(n=this.target)?void 0:n.removeEventListener(...e)}))},this.target=e}add(e,n,t){var r;null==(r=this.target)||r.addEventListener(e,n,t),this.listeners.push([e,n,t])}}function Hu(e,n){const t=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof n?Math.sqrt(t**2+r**2)>n:"x"in n&&"y"in n?t>n.x&&r>n.y:"x"in n?t>n.x:"y"in n&&r>n.y}var Gu,Vu;function Yu(e){e.preventDefault()}function Uu(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Gu||(Gu={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(Vu||(Vu={}));const Xu={start:[Vu.Space,Vu.Enter],cancel:[Vu.Esc],end:[Vu.Space,Vu.Enter]},Ku=(e,n)=>{let{currentCoordinates:t}=n;switch(e.code){case Vu.Right:return{...t,x:t.x+25};case Vu.Left:return{...t,x:t.x-25};case Vu.Down:return{...t,y:t.y+25};case Vu.Up:return{...t,y:t.y-25}}};class Ju{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:n}}=e;this.props=e,this.listeners=new _u(zd(n)),this.windowListeners=new _u(Dd(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Gu.Resize,this.handleCancel),this.windowListeners.add(Gu.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Gu.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:n}=this.props,t=e.node.current;t&&Fu(t),n(du)}handleKeyDown(e){if(Yd(e)){const{active:n,context:t,options:r}=this.props,{keyboardCodes:o=Xu,coordinateGetter:i=Ku,scrollBehavior:a="smooth"}=r,{code:c}=e;if(o.end.includes(c))return void this.handleEnd(e);if(o.cancel.includes(c))return void this.handleCancel(e);const{collisionRect:l}=t.current,s=l?{x:l.left,y:l.top}:du;this.referenceCoordinates||(this.referenceCoordinates=s);const d=i(e,{active:n,context:t.current,currentCoordinates:s});if(d){const n=Vd(d,s),r={x:0,y:0},{scrollableAncestors:o}=t.current;for(const t of o){const o=e.code,{isTop:i,isRight:c,isLeft:l,isBottom:s,maxScroll:u,minScroll:p}=zu(t),f=Zu(t),g={x:Math.min(o===Vu.Right?f.right-f.width/2:f.right,Math.max(o===Vu.Right?f.left:f.left+f.width/2,d.x)),y:Math.min(o===Vu.Down?f.bottom-f.height/2:f.bottom,Math.max(o===Vu.Down?f.top:f.top+f.height/2,d.y))},b=o===Vu.Right&&!c||o===Vu.Left&&!l,h=o===Vu.Down&&!s||o===Vu.Up&&!i;if(b&&g.x!==d.x){const e=t.scrollLeft+n.x,i=o===Vu.Right&&e<=u.x||o===Vu.Left&&e>=p.x;if(i&&!n.y)return void t.scrollTo({left:e,behavior:a});r.x=i?t.scrollLeft-e:o===Vu.Right?t.scrollLeft-u.x:t.scrollLeft-p.x,r.x&&t.scrollBy({left:-r.x,behavior:a});break}if(h&&g.y!==d.y){const e=t.scrollTop+n.y,i=o===Vu.Down&&e<=u.y||o===Vu.Up&&e>=p.y;if(i&&!n.x)return void t.scrollTo({top:e,behavior:a});r.y=i?t.scrollTop-e:o===Vu.Down?t.scrollTop-u.y:t.scrollTop-p.y,r.y&&t.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,Gd(Vd(d,this.referenceCoordinates),r))}}}handleMove(e,n){const{onMove:t}=this.props;e.preventDefault(),t(n)}handleEnd(e){const{onEnd:n}=this.props;e.preventDefault(),this.detach(),n()}handleCancel(e){const{onCancel:n}=this.props;e.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Qu(e){return Boolean(e&&"distance"in e)}function ep(e){return Boolean(e&&"delay"in e)}Ju.activators=[{eventName:"onKeyDown",handler:(e,n,t)=>{let{keyboardCodes:r=Xu,onActivation:o}=n,{active:i}=t;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const n=i.activatorNode.current;return(!n||e.target===n)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class np{constructor(e,n,t){var r;void 0===t&&(t=function(e){const{EventTarget:n}=Dd(e);return e instanceof n?e:zd(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=n;const{event:o}=e,{target:i}=o;this.props=e,this.events=n,this.document=zd(i),this.documentListeners=new _u(this.document),this.listeners=new _u(t),this.windowListeners=new _u(Dd(i)),this.initialCoordinates=null!=(r=Ud(o))?r:du,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:n,bypassActivationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Gu.Resize,this.handleCancel),this.windowListeners.add(Gu.DragStart,Yu),this.windowListeners.add(Gu.VisibilityChange,this.handleCancel),this.windowListeners.add(Gu.ContextMenu,Yu),this.documentListeners.add(Gu.Keydown,this.handleKeydown),n){if(null!=t&&t({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ep(n))return void(this.timeoutId=setTimeout(this.handleStart,n.delay));if(Qu(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:n}=this.props;e&&(this.activated=!0,this.documentListeners.add(Gu.Click,Uu,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Gu.SelectionChange,this.removeTextSelection),n(e))}handleMove(e){var n;const{activated:t,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:a}}=o;if(!r)return;const c=null!=(n=Ud(e))?n:du,l=Vd(r,c);if(!t&&a){if(Qu(a)){if(null!=a.tolerance&&Hu(l,a.tolerance))return this.handleCancel();if(Hu(l,a.distance))return this.handleStart()}return ep(a)&&Hu(l,a.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),i(c)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===Vu.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const tp={move:{name:"pointermove"},end:{name:"pointerup"}};class rp extends np{constructor(e){const{event:n}=e,t=zd(n.target);super(e,tp,t)}}rp.activators=[{eventName:"onPointerDown",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;return!(!t.isPrimary||0!==t.button)&&(null==r||r({event:t}),!0)}}];const op={move:{name:"mousemove"},end:{name:"mouseup"}};var ip;!function(e){e[e.RightClick=2]="RightClick"}(ip||(ip={}));class ap extends np{constructor(e){super(e,op,zd(e.event.target))}}ap.activators=[{eventName:"onMouseDown",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;return t.button!==ip.RightClick&&(null==r||r({event:t}),!0)}}];const cp={move:{name:"touchmove"},end:{name:"touchend"}};class lp extends np{constructor(e){super(e,cp)}static setup(){return window.addEventListener(cp.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(cp.move.name,e)};function e(){}}}var sp,dp;function up(e){let{acceleration:n,activator:t=sp.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:a=5,order:c=dp.TreeOrder,pointerCoordinates:s,scrollableAncestors:d,scrollableAncestorRects:p,delta:f,threshold:g}=e;const m=function(e){let{delta:n,disabled:t}=e;const r=qd(n);return Pd((e=>{if(t||!r||!e)return pp;const o={x:Math.sign(n.x-r.x),y:Math.sign(n.y-r.y)};return{x:{[Ru.Backward]:e.x[Ru.Backward]||-1===o.x,[Ru.Forward]:e.x[Ru.Forward]||1===o.x},y:{[Ru.Backward]:e.y[Ru.Backward]||-1===o.y,[Ru.Forward]:e.y[Ru.Forward]||1===o.y}}}),[t,n,r])}({delta:f,disabled:!i}),[v,y]=function(){const e=u(null);return[l(((n,t)=>{e.current=setInterval(n,t)}),[]),l((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),w=u({x:0,y:0}),x=u({x:0,y:0}),$=h((()=>{switch(t){case sp.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case sp.DraggableRect:return o}}),[t,o,s]),C=u(null),E=l((()=>{const e=C.current;if(!e)return;const n=w.current.x*x.current.x,t=w.current.y*x.current.y;e.scrollBy(n,t)}),[]),k=h((()=>c===dp.TreeOrder?[...d].reverse():d),[c,d]);b((()=>{if(i&&d.length&&$){for(const e of k){if(!1===(null==r?void 0:r(e)))continue;const t=d.indexOf(e),o=p[t];if(!o)continue;const{direction:i,speed:c}=Lu(e,o,$,n,g);for(const e of["x","y"])m[e][i[e]]||(c[e]=0,i[e]=0);if(c.x>0||c.y>0)return y(),C.current=e,v(E,a),w.current=c,void(x.current=i)}w.current={x:0,y:0},x.current={x:0,y:0},y()}else y()}),[n,E,r,y,i,a,JSON.stringify($),JSON.stringify(m),v,d,k,p,JSON.stringify(g)])}lp.activators=[{eventName:"onTouchStart",handler:(e,n)=>{let{nativeEvent:t}=e,{onActivation:r}=n;const{touches:o}=t;return!(o.length>1)&&(null==r||r({event:t}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(sp||(sp={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(dp||(dp={}));const pp={x:{[Ru.Backward]:!1,[Ru.Forward]:!1},y:{[Ru.Backward]:!1,[Ru.Forward]:!1}};var fp,gp;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(fp||(fp={})),function(e){e.Optimized="optimized"}(gp||(gp={}));const bp=new Map;function hp(e,n){return Pd((t=>e?t||("function"==typeof n?n(e):e):null),[n,e])}function mp(e){let{callback:n,disabled:t}=e;const r=Ld(n),o=h((()=>{if(t||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(r)}),[t]);return b((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function vp(e){return new Wu(Mu(e),e)}function yp(e,n,t){void 0===n&&(n=vp);const[r,o]=v((function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:t)?o:null;const i=n(e);if(JSON.stringify(r)===JSON.stringify(i))return r;return i}),null),i=function(e){let{callback:n,disabled:t}=e;const r=Ld(n),o=h((()=>{if(t||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(r)}),[r,t]);return b((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(n){if(e)for(const t of n){const{type:n,target:r}=t;if("childList"===n&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),a=mp({callback:o});return Bd((()=>{o(),e?(null==a||a.observe(e),null==i||i.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==i||i.disconnect())}),[e]),r}const wp=[];function xp(e,n){void 0===n&&(n=[]);const t=u(null);return b((()=>{t.current=null}),n),b((()=>{const n=e!==du;n&&!t.current&&(t.current=e),!n&&t.current&&(t.current=null)}),[e]),t.current?Vd(e,t.current):du}function $p(e){return h((()=>e?function(e){const n=e.innerWidth,t=e.innerHeight;return{top:0,left:0,right:n,bottom:t,width:n,height:t}}(e):null),[e])}const Cp=[];function Ep(e){if(!e)return null;if(e.children.length>1)return e;const n=e.children[0];return Rd(n)?n:e}const kp=[{sensor:rp,options:{}},{sensor:Ju,options:{}}],Mp={current:{}},Sp={draggable:{measure:Su},droppable:{measure:Su,strategy:fp.WhileDragging,frequency:gp.Optimized},dragOverlay:{measure:Mu}};class Ip extends Map{get(e){var n;return null!=e&&null!=(n=super.get(e))?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:n}=e;return!n}))}getNodeFor(e){var n,t;return null!=(n=null==(t=this.get(e))?void 0:t.node.current)?n:void 0}}const jp={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ip,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:cu},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Sp,measureDroppableContainers:cu,windowRect:null,measuringScheduled:!1},Op={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:cu,draggableNodes:new Map,over:null,measureDroppableContainers:cu},Np=s(Op),Dp=s(jp);function Tp(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ip}}}function Rp(e,n){switch(n.type){case au.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:n.initialCoordinates,active:n.active}};case au.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:n.coordinates.x-e.draggable.initialCoordinates.x,y:n.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case au.DragEnd:case au.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case au.RegisterDroppable:{const{element:t}=n,{id:r}=t,o=new Ip(e.droppable.containers);return o.set(r,t),{...e,droppable:{...e.droppable,containers:o}}}case au.SetDroppableDisabled:{const{id:t,key:r,disabled:o}=n,i=e.droppable.containers.get(t);if(!i||r!==i.key)return e;const a=new Ip(e.droppable.containers);return a.set(t,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case au.UnregisterDroppable:{const{id:t,key:r}=n,o=e.droppable.containers.get(t);if(!o||r!==o.key)return e;const i=new Ip(e.droppable.containers);return i.delete(t),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ap(e){let{disabled:n}=e;const{active:t,activatorEvent:r,draggableNodes:o}=d(Np),i=qd(r),a=qd(null==t?void 0:t.id);return b((()=>{if(!n&&!r&&i&&null!=a){if(!Yd(i))return;if(document.activeElement===i.target)return;const e=o.get(a);if(!e)return;const{activatorNode:n,node:t}=e;if(!n.current&&!t.current)return;requestAnimationFrame((()=>{for(const e of[n.current,t.current]){if(!e)continue;const n=Jd(e);if(n){n.focus();break}}}))}}),[r,n,o,a,i]),null}function zp(e,n){let{transform:t,...r}=n;return null!=e&&e.length?e.reduce(((e,n)=>n({transform:e,...r})),t):t}const Bp=s({...du,scaleX:1,scaleY:1});var Lp;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Lp||(Lp={}));const Zp=m((function(e){var n,t,r,o;let{id:i,accessibility:s,autoScroll:d=!0,children:p,sensors:f=kp,collisionDetection:g=wu,measuring:m,modifiers:y,...w}=e;const x=v(Rp,void 0,Tp),[$,C]=x,[E,M]=function(){const[e]=c((()=>new Set)),n=l((n=>(e.add(n),()=>e.delete(n))),[e]);return[l((n=>{let{type:t,event:r}=n;e.forEach((e=>{var n;return null==(n=e[t])?void 0:n.call(e,r)}))}),[e]),n]}(),[S,I]=c(Lp.Uninitialized),j=S===Lp.Initialized,{draggable:{active:O,nodes:N,translate:D},droppable:{containers:T}}=$,R=O?N.get(O):null,A=u({initial:null,translated:null}),z=h((()=>{var e;return null!=O?{id:O,data:null!=(e=null==R?void 0:R.data)?e:Mp,rect:A}:null}),[O,R]),B=u(null),[L,Z]=c(null),[P,F]=c(null),q=Zd(w,Object.values(w)),W=_d("DndDescribedBy",i),_=h((()=>T.getEnabled()),[T]),H=function(e){return h((()=>({draggable:{...Sp.draggable,...null==e?void 0:e.draggable},droppable:{...Sp.droppable,...null==e?void 0:e.droppable},dragOverlay:{...Sp.dragOverlay,...null==e?void 0:e.dragOverlay}})),[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay])}(m),{droppableRects:G,measureDroppableContainers:V,measuringScheduled:Y}=function(e,n){let{dragging:t,dependencies:r,config:o}=n;const[i,a]=c(null),{frequency:s,measure:d,strategy:p}=o,f=u(e),g=function(){switch(p){case fp.Always:return!1;case fp.BeforeDragging:return t;default:return!t}}(),h=Zd(g),m=l((function(e){void 0===e&&(e=[]),h.current||a((n=>null===n?e:n.concat(e.filter((e=>!n.includes(e))))))}),[h]),v=u(null),y=Pd((n=>{if(g&&!t)return bp;if(!n||n===bp||f.current!==e||null!=i){const n=new Map;for(let t of e){if(!t)continue;if(i&&i.length>0&&!i.includes(t.id)&&t.rect.current){n.set(t.id,t.rect.current);continue}const e=t.node.current,r=e?new Wu(d(e),e):null;t.rect.current=r,r&&n.set(t.id,r)}return n}return n}),[e,i,t,g,d]);return b((()=>{f.current=e}),[e]),b((()=>{g||m()}),[t,g]),b((()=>{i&&i.length>0&&a(null)}),[JSON.stringify(i)]),b((()=>{g||"number"!=typeof s||null!==v.current||(v.current=setTimeout((()=>{m(),v.current=null}),s))}),[s,g,m,...r]),{droppableRects:y,measureDroppableContainers:m,measuringScheduled:null!=i}}(_,{dragging:j,dependencies:[D.x,D.y],config:H.droppable}),U=function(e,n){const t=null!==n?e.get(n):void 0,r=t?t.node.current:null;return Pd((e=>{var t;return null===n?null:null!=(t=null!=r?r:e)?t:null}),[r,n])}(N,O),X=h((()=>P?Ud(P):null),[P]),K=function(){const e=!1===(null==L?void 0:L.autoScrollEnabled),n="object"==typeof d?!1===d.enabled:!1===d,t=j&&!e&&!n;if("object"==typeof d)return{...d,enabled:t};return{enabled:t}}(),J=function(e,n){return hp(e,n)}(U,H.draggable.measure);!function(e){let{activeNode:n,measure:t,initialRect:r,config:o=!0}=e;const i=u(!1),{x:a,y:c}="boolean"==typeof o?{x:o,y:o}:o;Bd((()=>{if(!a&&!c||!n)return void(i.current=!1);if(i.current||!r)return;const e=null==n?void 0:n.node.current;if(!e||!1===e.isConnected)return;const o=xu(t(e),r);if(a||(o.x=0),c||(o.y=0),i.current=!0,Math.abs(o.x)>0||Math.abs(o.y)>0){const n=ju(e);n&&n.scrollBy({top:o.y,left:o.x})}}),[n,a,c,r,t])}({activeNode:O?N.get(O):null,config:K.layoutShiftCompensation,initialRect:J,measure:H.draggable.measure});const Q=yp(U,H.draggable.measure,J),ee=yp(U?U.parentElement:null),ne=u({activatorEvent:null,active:null,activeNode:U,collisionRect:null,collisions:null,droppableRects:G,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:T,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),te=T.getNodeFor(null==(n=ne.current.over)?void 0:n.id),re=function(e){let{measure:n}=e;const[t,r]=c(null),o=mp({callback:l((e=>{for(const{target:t}of e)if(Rd(t)){r((e=>{const r=n(t);return e?{...e,width:r.width,height:r.height}:r}));break}}),[n])}),i=l((e=>{const t=Ep(e);null==o||o.disconnect(),t&&(null==o||o.observe(t)),r(t?n(t):null)}),[n,o]),[a,s]=Fd(i);return h((()=>({nodeRef:a,rect:t,setRef:s})),[t,a,s])}({measure:H.dragOverlay.measure}),oe=null!=(t=re.nodeRef.current)?t:U,ie=j?null!=(r=re.rect)?r:Q:null,ae=Boolean(re.nodeRef.current&&re.rect),ce=xu(le=ae?null:Q,hp(le));var le;const se=$p(oe?Dd(oe):null),de=function(e){const n=u(e),t=Pd((t=>e?t&&t!==wp&&e&&n.current&&e.parentNode===n.current.parentNode?t:Iu(e):wp),[e]);return b((()=>{n.current=e}),[e]),t}(j?null!=te?te:U:null),ue=function(e,n){void 0===n&&(n=Mu);const[t]=e,r=$p(t?Dd(t):null),[o,i]=v((function(){return e.length?e.map((e=>Au(e)?r:new Wu(n(e),e))):Cp}),Cp),a=mp({callback:i});return e.length>0&&o===Cp&&i(),Bd((()=>{e.length?e.forEach((e=>null==a?void 0:a.observe(e))):(null==a||a.disconnect(),i())}),[e]),o}(de),pe=zp(y,{transform:{x:D.x-ce.x,y:D.y-ce.y,scaleX:1,scaleY:1},activatorEvent:P,active:z,activeNodeRect:Q,containerNodeRect:ee,draggingNodeRect:ie,over:ne.current.over,overlayNodeRect:re.rect,scrollableAncestors:de,scrollableAncestorRects:ue,windowRect:se}),fe=X?Gd(X,D):null,ge=function(e){const[n,t]=c(null),r=u(e),o=l((e=>{const n=Ou(e.target);n&&t((e=>e?(e.set(n,Tu(n)),new Map(e)):null))}),[]);return b((()=>{const n=r.current;if(e!==n){i(n);const a=e.map((e=>{const n=Ou(e);return n?(n.addEventListener("scroll",o,{passive:!0}),[n,Tu(n)]):null})).filter((e=>null!=e));t(a.length?new Map(a):null),r.current=e}return()=>{i(e),i(n)};function i(e){e.forEach((e=>{const n=Ou(e);null==n||n.removeEventListener("scroll",o)}))}}),[o,e]),h((()=>e.length?n?Array.from(n.values()).reduce(((e,n)=>Gd(e,n)),du):Pu(e):du),[e,n])}(de),be=xp(ge),he=xp(ge,[Q]),me=Gd(pe,be),ve=ie?Cu(ie,pe):null,ye=z&&ve?g({active:z,collisionRect:ve,droppableRects:G,droppableContainers:_,pointerCoordinates:fe}):null,we=hu(ye,"id"),[xe,$e]=c(null),Ce=function(e,n,t){return{...e,scaleX:n&&t?n.width/t.width:1,scaleY:n&&t?n.height/t.height:1}}(ae?pe:Gd(pe,he),null!=(o=null==xe?void 0:xe.rect)?o:null,Q),Ee=l(((e,n)=>{let{sensor:t,options:r}=n;if(null==B.current)return;const o=N.get(B.current);if(!o)return;const i=e.nativeEvent,a=new t({active:B.current,activeNode:o,event:i,options:r,context:ne,onStart(e){const n=B.current;if(null==n)return;const t=N.get(n);if(!t)return;const{onDragStart:r}=q.current,o={active:{id:n,data:t.data,rect:A}};k((()=>{null==r||r(o),I(Lp.Initializing),C({type:au.DragStart,initialCoordinates:e,active:n}),E({type:"onDragStart",event:o})}))},onMove(e){C({type:au.DragMove,coordinates:e})},onEnd:c(au.DragEnd),onCancel:c(au.DragCancel)});function c(e){return async function(){const{active:n,collisions:t,over:r,scrollAdjustedTranslate:o}=ne.current;let a=null;if(n&&o){const{cancelDrop:c}=q.current;if(a={activatorEvent:i,active:n,collisions:t,delta:o,over:r},e===au.DragEnd&&"function"==typeof c){await Promise.resolve(c(a))&&(e=au.DragCancel)}}B.current=null,k((()=>{C({type:e}),I(Lp.Uninitialized),$e(null),Z(null),F(null);const n=e===au.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=q.current[n];null==e||e(a),E({type:n,event:a})}}))}}k((()=>{Z(a),F(e.nativeEvent)}))}),[N]),ke=l(((e,n)=>(t,r)=>{const o=t.nativeEvent,i=N.get(r);if(null!==B.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(t,n.options,a)&&(o.dndKit={capturedBy:n.sensor},B.current=r,Ee(t,n))}),[N,Ee]),Me=function(e,n){return h((()=>e.reduce(((e,t)=>{const{sensor:r}=t;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:n(e.handler,t)})))]}),[])),[e,n])}(f,ke);!function(e){b((()=>{if(!jd)return;const n=e.map((e=>{let{sensor:n}=e;return null==n.setup?void 0:n.setup()}));return()=>{for(const e of n)null==e||e()}}),e.map((e=>{let{sensor:n}=e;return n})))}(f),Bd((()=>{Q&&S===Lp.Initializing&&I(Lp.Initialized)}),[Q,S]),b((()=>{const{onDragMove:e}=q.current,{active:n,activatorEvent:t,collisions:r,over:o}=ne.current;if(!n||!t)return;const i={active:n,activatorEvent:t,collisions:r,delta:{x:me.x,y:me.y},over:o};k((()=>{null==e||e(i),E({type:"onDragMove",event:i})}))}),[me.x,me.y]),b((()=>{const{active:e,activatorEvent:n,collisions:t,droppableContainers:r,scrollAdjustedTranslate:o}=ne.current;if(!e||null==B.current||!n||!o)return;const{onDragOver:i}=q.current,a=r.get(we),c=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:n,collisions:t,delta:{x:o.x,y:o.y},over:c};k((()=>{$e(c),null==i||i(l),E({type:"onDragOver",event:l})}))}),[we]),Bd((()=>{ne.current={activatorEvent:P,active:z,activeNode:U,collisionRect:ve,collisions:ye,droppableRects:G,draggableNodes:N,draggingNode:oe,draggingNodeRect:ie,droppableContainers:T,over:xe,scrollableAncestors:de,scrollAdjustedTranslate:me},A.current={initial:ie,translated:ve}}),[z,U,ye,ve,N,oe,ie,G,T,xe,de,me]),up({...K,delta:D,draggingRect:ve,pointerCoordinates:fe,scrollableAncestors:de,scrollableAncestorRects:ue});const Se=h((()=>({active:z,activeNode:U,activeNodeRect:Q,activatorEvent:P,collisions:ye,containerNodeRect:ee,dragOverlay:re,draggableNodes:N,droppableContainers:T,droppableRects:G,over:xe,measureDroppableContainers:V,scrollableAncestors:de,scrollableAncestorRects:ue,measuringConfiguration:H,measuringScheduled:Y,windowRect:se})),[z,U,Q,P,ye,ee,re,N,T,G,xe,V,de,ue,H,Y,se]),Ie=h((()=>({activatorEvent:P,activators:Me,active:z,activeNodeRect:Q,ariaDescribedById:{draggable:W},dispatch:C,draggableNodes:N,over:xe,measureDroppableContainers:V})),[P,Me,z,Q,C,W,N,xe,V]);return a.createElement(tu.Provider,{value:M},a.createElement(Np.Provider,{value:Ie},a.createElement(Dp.Provider,{value:Se},a.createElement(Bp.Provider,{value:Ce},p)),a.createElement(Ap,{disabled:!1===(null==s?void 0:s.restoreFocus)})),a.createElement(iu,{...s,hiddenTextDescribedById:W}))})),Pp=s(null),Fp="button",qp="Droppable";function Wp(e){let{id:n,data:t,disabled:r=!1,attributes:o}=e;const i=_d(qp),{activators:a,activatorEvent:c,active:l,activeNodeRect:s,ariaDescribedById:u,draggableNodes:p,over:f}=d(Np),{role:g=Fp,roleDescription:b="draggable",tabIndex:m=0}=null!=o?o:{},v=(null==l?void 0:l.id)===n,y=d(v?Bp:Pp),[w,x]=Fd(),[$,C]=Fd(),E=function(e,n){return h((()=>e.reduce(((e,t)=>{let{eventName:r,handler:o}=t;return e[r]=e=>{o(e,n)},e}),{})),[e,n])}(a,n),k=Zd(t);Bd((()=>(p.set(n,{id:n,key:i,node:w,activatorNode:$,data:k}),()=>{const e=p.get(n);e&&e.key===i&&p.delete(n)})),[p,n]);return{active:l,activatorEvent:c,activeNodeRect:s,attributes:h((()=>({role:g,tabIndex:m,"aria-disabled":r,"aria-pressed":!(!v||g!==Fp)||void 0,"aria-roledescription":b,"aria-describedby":u.draggable})),[r,g,m,v,b,u.draggable]),isDragging:v,listeners:r?void 0:E,node:w,over:f,setNodeRef:x,setActivatorNodeRef:C,transform:y}}function _p(){return d(Dp)}const Hp="Droppable",Gp={timeout:25};function Vp(e){let{data:n,disabled:t=!1,id:r,resizeObserverConfig:o}=e;const i=_d(Hp),{active:a,dispatch:c,over:s,measureDroppableContainers:p}=d(Np),f=u({disabled:t}),g=u(!1),h=u(null),m=u(null),{disabled:v,updateMeasurementsFor:y,timeout:w}={...Gp,...o},x=Zd(null!=y?y:r),$=mp({callback:l((()=>{g.current?(null!=m.current&&clearTimeout(m.current),m.current=setTimeout((()=>{p(Array.isArray(x.current)?x.current:[x.current]),m.current=null}),w)):g.current=!0}),[w]),disabled:v||!a}),C=l(((e,n)=>{$&&(n&&($.unobserve(n),g.current=!1),e&&$.observe(e))}),[$]),[E,k]=Fd(C),M=Zd(n);return b((()=>{$&&E.current&&($.disconnect(),g.current=!1,$.observe(E.current))}),[E,$]),Bd((()=>(c({type:au.RegisterDroppable,element:{id:r,key:i,disabled:t,node:E,rect:h,data:M}}),()=>c({type:au.UnregisterDroppable,key:i,id:r}))),[r]),b((()=>{t!==f.current.disabled&&(c({type:au.SetDroppableDisabled,id:r,key:i,disabled:t}),f.current.disabled=t)}),[r,i,t,c]),{active:a,rect:h,isOver:(null==s?void 0:s.id)===r,node:E,over:s,setNodeRef:k}}function Yp(e){let{animation:n,children:t}=e;const[r,o]=c(null),[i,l]=c(null),s=qd(t);return t||r||!s||o(s),Bd((()=>{if(!i)return;const e=null==r?void 0:r.key,t=null==r?void 0:r.props.id;null!=e&&null!=t?Promise.resolve(n(t,i)).then((()=>{o(null)})):o(null)}),[n,r,i]),a.createElement(a.Fragment,null,t,r?y(r,{ref:l}):null)}const Up={x:0,y:0,scaleX:1,scaleY:1};function Xp(e){let{children:n}=e;return a.createElement(Np.Provider,{value:Op},a.createElement(Bp.Provider,{value:Up},n))}const Kp={position:"fixed",touchAction:"none"},Jp=e=>Yd(e)?"transform 250ms ease":void 0,Qp=p(((e,n)=>{let{as:t,activatorEvent:r,adjustScale:o,children:i,className:c,rect:l,style:s,transform:d,transition:u=Jp}=e;if(!l)return null;const p=o?d:{...d,scaleX:1,scaleY:1},f={...Kp,width:l.width,height:l.height,top:l.top,left:l.left,transform:Xd.Transform.toString(p),transformOrigin:o&&r?pu(r,l):void 0,transition:"function"==typeof u?u(r):u,...s};return a.createElement(t,{className:c,style:f,ref:n},i)})),ef=e=>n=>{let{active:t,dragOverlay:r}=n;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,n]of Object.entries(i.active))void 0!==n&&(o[e]=t.node.style.getPropertyValue(e),t.node.style.setProperty(e,n));if(null!=i&&i.dragOverlay)for(const[e,n]of Object.entries(i.dragOverlay))void 0!==n&&r.node.style.setProperty(e,n);return null!=a&&a.active&&t.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,n]of Object.entries(o))t.node.style.setProperty(e,n);null!=a&&a.active&&t.node.classList.remove(a.active)}},nf={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:n,final:t}}=e;return[{transform:Xd.Transform.toString(n)},{transform:Xd.Transform.toString(t)}]},sideEffects:ef({styles:{active:{opacity:"0"}}})};function tf(e){let{config:n,draggableNodes:t,droppableContainers:r,measuringConfiguration:o}=e;return Ld(((e,i)=>{if(null===n)return;const a=t.get(e);if(!a)return;const c=a.node.current;if(!c)return;const l=Ep(i);if(!l)return;const{transform:s}=Dd(i).getComputedStyle(i),d=Eu(s);if(!d)return;const u="function"==typeof n?n:function(e){const{duration:n,easing:t,sideEffects:r,keyframes:o}={...nf,...e};return e=>{let{active:i,dragOverlay:a,transform:c,...l}=e;if(!n)return;const s={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},d={scaleX:1!==c.scaleX?i.rect.width*c.scaleX/a.rect.width:1,scaleY:1!==c.scaleY?i.rect.height*c.scaleY/a.rect.height:1},u={x:c.x-s.x,y:c.y-s.y,...d},p=o({...l,active:i,dragOverlay:a,transform:{initial:c,final:u}}),[f]=p,g=p[p.length-1];if(JSON.stringify(f)===JSON.stringify(g))return;const b=null==r?void 0:r({active:i,dragOverlay:a,...l}),h=a.node.animate(p,{duration:n,easing:t,fill:"forwards"});return new Promise((e=>{h.onfinish=()=>{null==b||b(),e()}}))}}(n);return Fu(c,o.draggable.measure),u({active:{id:e,data:a.data,node:c,rect:o.draggable.measure(c)},draggableNodes:t,dragOverlay:{node:i,rect:o.dragOverlay.measure(l)},droppableContainers:r,measuringConfiguration:o,transform:d})}))}let rf=0;function of(e){return h((()=>{if(null!=e)return rf++,rf}),[e])}const af=a.memo((e=>{let{adjustScale:n=!1,children:t,dropAnimation:r,style:o,transition:i,modifiers:c,wrapperElement:l="div",className:s,zIndex:u=999}=e;const{activatorEvent:p,active:f,activeNodeRect:g,containerNodeRect:b,draggableNodes:h,droppableContainers:m,dragOverlay:v,over:y,measuringConfiguration:w,scrollableAncestors:x,scrollableAncestorRects:$,windowRect:C}=_p(),E=d(Bp),k=of(null==f?void 0:f.id),M=zp(c,{activatorEvent:p,active:f,activeNodeRect:g,containerNodeRect:b,draggingNodeRect:v.rect,over:y,overlayNodeRect:v.rect,scrollableAncestors:x,scrollableAncestorRects:$,transform:E,windowRect:C}),S=hp(g),I=tf({config:r,draggableNodes:h,droppableContainers:m,measuringConfiguration:w}),j=S?v.setRef:void 0;return a.createElement(Xp,null,a.createElement(Yp,{animation:I},f&&k?a.createElement(Qp,{key:k,id:f.id,ref:j,as:l,activatorEvent:p,adjustScale:n,className:s,transition:i,rect:S,style:{zIndex:u,...o},transform:M},t):null))}));function cf(e,n,t){const r=e.slice();return r.splice(t<0?r.length+t:t,0,r.splice(n,1)[0]),r}function lf(e,n){return e.reduce(((e,t,r)=>{const o=n.get(t);return o&&(e[r]=o),e}),Array(e.length))}function sf(e){return null!==e&&e>=0}const df=e=>{let{rects:n,activeIndex:t,overIndex:r,index:o}=e;const i=cf(n,r,t),a=n[o],c=i[o];return c&&a?{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}:null},uf={scaleX:1,scaleY:1},pf=e=>{var n;let{activeIndex:t,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const c=null!=(n=i[t])?n:r;if(!c)return null;if(o===t){const e=i[a];return e?{x:0,y:t<a?e.top+e.height-(c.top+c.height):e.top-c.top,...uf}:null}const l=function(e,n,t){const r=e[n],o=e[n-1],i=e[n+1];if(!r)return 0;if(t<n)return o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0;return i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-l,...uf}:o<t&&o>=a?{x:0,y:c.height+l,...uf}:{x:0,y:0,...uf}};const ff="Sortable",gf=a.createContext({activeIndex:-1,containerId:ff,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:df,disabled:{draggable:!1,droppable:!1}});function bf(e){let{children:n,id:t,items:r,strategy:o=df,disabled:i=!1}=e;const{active:c,dragOverlay:l,droppableRects:s,over:d,measureDroppableContainers:p}=_p(),f=_d(ff,t),g=Boolean(null!==l.rect),m=h((()=>r.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[r]),v=null!=c,y=c?m.indexOf(c.id):-1,w=d?m.indexOf(d.id):-1,x=u(m),$=!function(e,n){if(e===n)return!0;if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}(m,x.current),C=-1!==w&&-1===y||$,E=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(i);Bd((()=>{$&&v&&p(m)}),[$,m,v,p]),b((()=>{x.current=m}),[m]);const k=h((()=>({activeIndex:y,containerId:f,disabled:E,disableTransforms:C,items:m,overIndex:w,useDragOverlay:g,sortedRects:lf(m,s),strategy:o})),[y,f,E.draggable,E.droppable,C,m,w,s,g,o]);return a.createElement(gf.Provider,{value:k},n)}const hf=e=>{let{id:n,items:t,activeIndex:r,overIndex:o}=e;return cf(t,r,o).indexOf(n)},mf=e=>{let{containerId:n,isSorting:t,wasDragging:r,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:l,transition:s}=e;return!(!s||!r)&&((c===i||o!==a)&&(!!t||a!==o&&n===l))},vf={duration:200,easing:"ease"},yf="transform",wf=Xd.Transition.toString({property:yf,duration:0,easing:"linear"}),xf={roleDescription:"sortable"};function $f(e){let{animateLayoutChanges:n=mf,attributes:t,disabled:r,data:o,getNewIndex:i=hf,id:a,strategy:l,resizeObserverConfig:s,transition:p=vf}=e;const{items:f,containerId:g,activeIndex:m,disabled:v,disableTransforms:y,sortedRects:w,overIndex:x,useDragOverlay:$,strategy:C}=d(gf),E=function(e,n){var t,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(t=null==e?void 0:e.draggable)?t:n.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:n.droppable}}(r,v),k=f.indexOf(a),M=h((()=>({sortable:{containerId:g,index:k,items:f},...o})),[g,o,k,f]),S=h((()=>f.slice(f.indexOf(a))),[f,a]),{rect:I,node:j,isOver:O,setNodeRef:N}=Vp({id:a,data:M,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...s}}),{active:D,activatorEvent:T,activeNodeRect:R,attributes:A,setNodeRef:z,listeners:B,isDragging:L,over:Z,setActivatorNodeRef:P,transform:F}=Wp({id:a,data:M,attributes:{...xf,...t},disabled:E.draggable}),q=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return h((()=>e=>{n.forEach((n=>n(e)))}),n)}(N,z),W=Boolean(D),_=W&&!y&&sf(m)&&sf(x),H=!$&&L,G=H&&_?F:null,V=_?null!=G?G:(null!=l?l:C)({rects:w,activeNodeRect:R,activeIndex:m,overIndex:x,index:k}):null,Y=sf(m)&&sf(x)?i({id:a,items:f,activeIndex:m,overIndex:x}):k,U=null==D?void 0:D.id,X=u({activeId:U,items:f,newIndex:Y,containerId:g}),K=f!==X.current.items,J=n({active:D,containerId:g,isDragging:L,isSorting:W,id:a,index:k,items:f,newIndex:X.current.newIndex,previousItems:X.current.items,previousContainerId:X.current.containerId,transition:p,wasDragging:null!=X.current.activeId}),Q=function(e){let{disabled:n,index:t,node:r,rect:o}=e;const[i,a]=c(null),l=u(t);return Bd((()=>{if(!n&&t!==l.current&&r.current){const e=o.current;if(e){const n=Mu(r.current,{ignoreTransform:!0}),t={x:e.left-n.left,y:e.top-n.top,scaleX:e.width/n.width,scaleY:e.height/n.height};(t.x||t.y)&&a(t)}}t!==l.current&&(l.current=t)}),[n,t,r,o]),b((()=>{i&&a(null)}),[i]),i}({disabled:!J,index:k,node:j,rect:I});return b((()=>{W&&X.current.newIndex!==Y&&(X.current.newIndex=Y),g!==X.current.containerId&&(X.current.containerId=g),f!==X.current.items&&(X.current.items=f)}),[W,Y,g,f]),b((()=>{if(U===X.current.activeId)return;if(U&&!X.current.activeId)return void(X.current.activeId=U);const e=setTimeout((()=>{X.current.activeId=U}),50);return()=>clearTimeout(e)}),[U]),{active:D,activeIndex:m,attributes:A,data:M,rect:I,index:k,newIndex:Y,items:f,isOver:O,isSorting:W,isDragging:L,listeners:B,node:j,overIndex:x,over:Z,setNodeRef:q,setActivatorNodeRef:P,setDroppableNodeRef:N,setDraggableNodeRef:z,transform:null!=Q?Q:V,transition:function(){if(Q||K&&X.current.newIndex===k)return wf;if(H&&!Yd(T)||!p)return;if(W||J)return Xd.Transition.toString({...p,property:yf});return}()}}function Cf(e){if(!e)return!1;const n=e.data.current;return!!(n&&"sortable"in n&&"object"==typeof n.sortable&&"containerId"in n.sortable&&"items"in n.sortable&&"index"in n.sortable)}const Ef=[Vu.Down,Vu.Right,Vu.Up,Vu.Left],kf=(e,n)=>{let{context:{active:t,collisionRect:r,droppableRects:o,droppableContainers:i,over:a,scrollableAncestors:c}}=n;if(Ef.includes(e.code)){if(e.preventDefault(),!t||!r)return;const n=[];i.getEnabled().forEach((t=>{if(!t||null!=t&&t.disabled)return;const i=o.get(t.id);if(i)switch(e.code){case Vu.Down:r.top<i.top&&n.push(t);break;case Vu.Up:r.top>i.top&&n.push(t);break;case Vu.Left:r.left>i.left&&n.push(t);break;case Vu.Right:r.left<i.left&&n.push(t)}}));const l=(e=>{let{collisionRect:n,droppableRects:t,droppableContainers:r}=e;const o=bu(n),i=[];for(const e of r){const{id:n}=e,r=t.get(n);if(r){const t=bu(r),a=o.reduce(((e,n,r)=>e+uu(t[r],n)),0),c=Number((a/4).toFixed(4));i.push({id:n,data:{droppableContainer:e,value:c}})}}return i.sort(fu)})({active:t,collisionRect:r,droppableRects:o,droppableContainers:n,pointerCoordinates:null});let s=hu(l,"id");if(s===(null==a?void 0:a.id)&&l.length>1&&(s=l[1].id),null!=s){const e=i.get(t.id),n=i.get(s),a=n?o.get(n.id):null,l=null==n?void 0:n.node.current;if(l&&a&&e&&n){const t=Iu(l).some(((e,n)=>c[n]!==e)),o=Mf(e,n),i=function(e,n){if(!Cf(e)||!Cf(n))return!1;if(!Mf(e,n))return!1;return e.data.current.sortable.index<n.data.current.sortable.index}(e,n),s=t||!o?{x:0,y:0}:{x:i?r.width-a.width:0,y:i?r.height-a.height:0},d={x:a.left,y:a.top};return s.x&&s.y?d:Vd(d,s)}}}};function Mf(e,n){return!(!Cf(e)||!Cf(n))&&e.data.current.sortable.containerId===n.data.current.sortable.containerId}var Sf=s(Zp),If=function(e){var n=d(Sf);return b((function(){var e=document.documentElement.style.scrollBehavior;return document.documentElement.style.scrollBehavior="auto",function(){document.documentElement.style.scrollBehavior=e}})),a.createElement(n,S({},e))};function jf(){var e=O(c(!1),2),n=e[0],t=e[1];return b((function(){var e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches)}),[]),n}var Of=function(e){var n=e.id,t=e.label,r=e.isHighlighted,o=$f({id:n}),i=o.attributes,c=o.listeners,l=o.setNodeRef,s=o.transform,d=o.transition,u=o.isOver,p=o.isDragging,f={transform:Xd.Transform.toString(s),transition:d};return a.createElement(Ui,{isOver:u,isHighlighted:r},a.createElement(Vi,S({ref:l,style:f,isDisabled:p},i,c,{"aria-describedby":void 0,"aria-roledescription":"sortable item","aria-pressed":void 0,"aria-selected":!!i["aria-pressed"],role:"option"}),t))},Nf=function(e){var n=e.initialItems,t=e.onChange,r=e.isHighlighted,o=O(c(n),2),i=o[0],l=o[1],s=O(c(null),2),d=s[0],u=s[1],p=i.find((function(e){return e.id===d})),f=su(lu(ap),lu(lp),lu(Ju,{coordinateGetter:kf,scrollBehavior:jf()?"instant":"smooth"}));return a.createElement(a.Fragment,null,a.createElement(Wi,{$mb:"space-between-m2"}),a.createElement(If,{sensors:f,collisionDetection:vu,onDragEnd:function(e){var n=e.active,r=e.over;n.id!==(null==r?void 0:r.id)&&l((function(e){var o=e.findIndex((function(e){return e.id===n.id})),i=e.findIndex((function(e){return e.id===(null==r?void 0:r.id)})),a=cf(e,o,i);return null==t||t(a),a}));u(null)},onDragStart:function(e){var n=e.active;u(n.id.toString())},accessibility:{announcements:Df(i)}},a.createElement(bf,{items:i,strategy:pf},a.createElement(rt,{$gap:"space-between-s",$flexDirection:"column",role:"listbox","aria-label":"Sortable items"},i.map((function(e){return a.createElement(Of,S({key:e.id},e,{isHighlighted:r}))}))),E(a.createElement(af,null,p&&a.createElement(Vi,{isDragging:!0},p.label)),document.body))))};function Df(e){var n=function(n){return e.findIndex((function(e){return e.id===n}))+1},t=function(n){var t;return null===(t=e.find((function(e){return e.id===n})))||void 0===t?void 0:t.label};return{onDragStart:function(){},onDragOver:function(r){var o=r.active,i=r.over;if(i)return"Sortable item ".concat(t(o.id)," is in position ").concat(n(i.id)," of ").concat(e.length)},onDragEnd:function(r){var o=r.active,i=r.over;if(i)return"Sortable item ".concat(t(o.id)," was dropped into position ").concat(n(i.id)," of ").concat(e.length)},onDragCancel:function(e){var n=e.active;return"Dragging was cancelled. Sortable item ".concat(t(n.id)," was dropped.")}}}var Tf,Rf,Af,zf=e(nt)(Tf||(Tf=D(["\n background-color: ",";\n background-color: color-mix(in lch, ",' 5%, transparent);\n\n &[data-over="true"] {\n background-color: ',";\n background-color: color-mix(\n in lch,\n "," 60%,\n transparent\n );\n }\n"],["\n background-color: ",";\n background-color: color-mix(in lch, ",' 5%, transparent);\n\n &[data-over="true"] {\n background-color: ',";\n background-color: color-mix(\n in lch,\n "," 60%,\n transparent\n );\n }\n"])),z("grey20"),z("black"),z("white"),z("white")),Bf=p((function(e,n){var t=e.isOver,r=e.children,o=I(e,["isOver","children"]),i=O(c(null),2),l=i[0],s=i[1],d=O(c(0),2),u=d[0],p=d[1];return f((function(){if(l){var e=new ResizeObserver((function(e){var n,t,r=function(e){p((function(n){var t,r;return Math.max(null!==(r=null===(t=e.borderBoxSize[0])||void 0===t?void 0:t.blockSize)&&void 0!==r?r:0,n)}))};try{for(var o=j(e),i=o.next();!i.done;i=o.next()){r(i.value)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(n)throw n.error}}}));return e.observe(l),window.addEventListener("resize",n),function(){e.disconnect(),window.removeEventListener("resize",n)}}function n(){p(0)}}),[l]),a.createElement(zf,S({ref:n,$mb:"space-between-m2",$borderRadius:"border-radius-l","data-over":t,style:{minHeight:0===u?"auto":u}},o),a.createElement(rt,{$alignItems:"flex-start",$minHeight:"all-spacing-13",$pa:"inner-padding-s",$gap:"space-between-xs",$flexWrap:"wrap",ref:s},r))})),Lf=function(e){var n=e.id,t=e.label,r=e.isOver,o=Wp({id:n,data:{id:n,label:t}}),i=o.attributes,c=o.listeners,l=o.setNodeRef,s=o.isDragging;return a.createElement(Vi,S({ref:l,isDisabled:r,color:"text-inverted",background:"bg-btn-primary",iconColor:"icon-main"},i,c,{role:"option","aria-describedby":void 0,"aria-roledescription":"draggable item","aria-pressed":void 0,"aria-selected":!!i["aria-pressed"],style:{opacity:s?0:1}}),t)},Zf=function(e){var n=e.children,t=Vp({id:"holding-pen",data:{label:"holding pen"}}),r=t.setNodeRef,o=t.isOver;return a.createElement(Bf,{ref:r,isOver:o,"aria-label":"Available items","data-testid":"holding-pen",role:"listbox"},n)},Pf=function(e){var n=e.id,t=e.label,r=e.match,o=e.isHighlighted,i=Vp({id:n,data:{id:n,label:t}}),c=i.setNodeRef,l=i.isOver,s=i.active;return a.createElement(Ui,{isOver:l,isDisabled:!s,ref:c,id:n,labelSlot:t,"data-testid":"slot",isHighlighted:o},r&&a.createElement(Lf,S({},r,{isOver:l})))},Ff=function(e){var n=e.initialOptions,t=e.initialSlots,r=e.isHighlighted,o=e.onChange,i=O(c({}),2),l=i[0],s=i[1],d=u(n.slice().sort((function(){return Math.random()-.5}))).current,p=u(t).current,f=O(c(null),2),g=f[0],b=f[1],h=d.find((function(e){return e.id===g})),m=jf(),v=su(lu(ap),lu(lp),lu(Ju,{coordinateGetter:kf,scrollBehavior:m?"instant":"smooth"})),y=Object.values(l).map((function(e){return e.id})),w=d.filter((function(e){return!y.includes(e.id)}));return a.createElement(a.Fragment,null,a.createElement(Wi,{$mb:"space-between-m2"}),a.createElement(If,{sensors:v,collisionDetection:vu,onDragEnd:function(e){var n=e.active,t=e.over;t&&s((function(e){var r=Object.entries(e).filter((function(e){var t=O(e,2)[1];return(null==t?void 0:t.id)!==n.id})),i=Object.fromEntries(r);return"holding-pen"!==t.id&&(i[t.id]=n.data.current),null==o||o(i),i}));b(null)},onDragStart:function(e){var n=e.active;b(n.id.toString())},accessibility:{announcements:qf}},a.createElement(Zf,null,w.map((function(e){return a.createElement(Lf,S({key:e.id},e))}))),a.createElement(rt,{$gap:"space-between-s",$flexDirection:"column","aria-label":"Matched items",role:"listbox"},p.map((function(e){return a.createElement(Pf,S({key:e.id},e,{isHighlighted:r,match:l[e.id]}))}))),E(a.createElement(af,{dropAnimation:m?null:void 0},h&&a.createElement(Vi,{isDragging:!0},h.label)),document.body)))},qf={onDragStart:function(){},onDragOver:function(e){var n,t=e.active,r=e.over;if((null==r?void 0:r.data.current)&&(null===(n=t.data)||void 0===n?void 0:n.current))return"Item ".concat(t.data.current.label," is over ").concat(r.data.current.label)},onDragEnd:function(e){var n,t=e.active,r=e.over;if((null==r?void 0:r.data.current)&&(null===(n=t.data)||void 0===n?void 0:n.current))return"Item ".concat(t.data.current.label," was dropped onto ").concat(r.data.current.label)},onDragCancel:function(e){var n,t=e.active;if(null===(n=t.data)||void 0===n?void 0:n.current)return"Dragging was cancelled. Item ".concat(t.data.current.label," was dropped.")}},Wf=e(rt)(Af||(Af=D(["\n @media (min-width: ","px) {\n ","\n"],["\n @media (min-width: ","px) {\n ","\n"])),G("large"),(function(e){return n(Rf||(Rf=D(["\n background-image: url(",");\n background-repeat: no-repeat;\n background-position-x: center;\n background-size: 100%;\n "],["\n background-image: url(",");\n background-repeat: no-repeat;\n background-position-x: center;\n background-size: 100%;\n "])),function(e,n){var t="https://".concat(process.env.NEXT_PUBLIC_OAK_ASSETS_HOST,"/").concat(process.env.NEXT_PUBLIC_OAK_ASSETS_PATH,"/");switch(e){case"lesson-listing":return"primary"===n?"".concat(t).concat(Pt):"".concat(t).concat(Ft);case"unit-listing":return"primary"===n?"".concat(t).concat(Wt):"".concat(t).concat(_t);case"subject-listing":return"".concat(t).concat(Ht);case"year-listing":return"".concat(t).concat(qt);default:return""}}(e.sectionName,null==e?void 0:e.phase))})),_f=function(e){var n=e.sectionName,t=e.topNavSlot,r=e.phase,o=e.children,i=function(){switch(!0){case"lesson-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"lesson-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"unit-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"unit-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"tier-listing"===n&&"primary"===r:return"bg-decorative4-very-subdued";case"tier-listing"===n&&"secondary"===r:return"bg-decorative3-very-subdued";case"subject-listing"===n:case"year-listing"===n:return"bg-decorative1-main"}}();return a.createElement(Wf,{$background:i,$flexDirection:"column",$alignItems:"center",$ph:["inner-padding-s","inner-padding-xl"],sectionName:n,phase:r},t&&a.createElement(rt,{$height:["all-spacing-13","all-spacing-14","all-spacing-16"],$alignItems:"center",$width:["100%","100%","all-spacing-24"]},t),o)};var Hf,Gf,Vf,Yf,Uf,Xf,Kf,Jf,Qf=e(ao)(Hf||(Hf=D(["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"],["\n &:hover .shadow {\n box-shadow: none !important;\n }\n &:active .shadow {\n box-shadow: ",",\n "," !important;\n }\n"])),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),eg=function(e){var n=e.isLoading,t=e.disabled,r=e.onClick,o=e.isOpen;return a.createElement(Qf,{iconName:o&&!t?"cross":"info",defaultIconBackground:o?"black":"bg-decorative5-main",defaultIconColor:o?"white":"black",hoverIconBackground:o?"black":"bg-decorative5-main",defaultTextColor:"text-primary",hoverTextColor:"text-primary",disabledIconBackground:"bg-btn-primary-disabled",disabledTextColor:"text-disabled",disabledIconColor:"white",isLoading:n,disabled:e.disabled,iconBackgroundSize:"all-spacing-8",iconSize:"all-spacing-7",onClick:r})},ng=function(e){e.hint,e.isLoading,e.disabled;var n=I(e,["hint","isLoading","disabled"]),t=O(c(!1),2),r=t[0],o=t[1];return a.createElement(ei,S({tooltip:e.hint,isOpen:r},n),a.createElement(eg,{onClick:function(){o(!r)},isOpen:r}))},tg=e(nt)(Gf||(Gf=D([""],[""]))),rg=e(Uo)(Vf||(Vf=D(["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"],["\n width: ",";\n height: ",";\n padding: 0;\n\n background: transparent;\n\n img {\n filter: ",";\n }\n"])),ne("all-spacing-8"),ne("all-spacing-8"),(function(e){return at(e.$disabled?"icon-disabled":"icon-inverted")})),og=n(Yf||(Yf=D(["\n "," {\n box-shadow: ",",\n ",";\n }\n"],["\n "," {\n box-shadow: ",",\n ",";\n }\n"])),rg,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey")),ig=n(Uf||(Uf=D(["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"],["\n "," {\n background: ",";\n\n img {\n filter: ",";\n }\n }\n"])),rg,z("bg-btn-primary"),at("icon-main")),ag=e(rt)(Kf||(Kf=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: not-allowed"}),(function(e){return!e.$disabled&&n(Xf||(Xf=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n ","\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n\n ","\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n ","\n ","\n }\n "])),z("bg-decorative1-subdued"),tg,ig,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),og,ig)})),cg=e(nt)(Jf||(Jf=D(["\n flex: 1;\n"],["\n flex: 1;\n"]))),lg=function(e){var n=e.as;e.lessonSectionName,e.progress;var t=e.disabled,r=e.href,o=e.unavailable,i=e.onClick,c=I(e,["as","lessonSectionName","progress","disabled","href","unavailable","onClick"]),l=t||o;return a.createElement(nt,{role:"listitem"},a.createElement(ag,S({as:l?"div":null!=n?n:"a",$gap:["space-between-s","space-between-m2"],$alignItems:"center",$justifyContent:"space-between",$flexWrap:"wrap",$background:o?"bg-neutral":"bg-primary",$pa:["inner-padding-l","inner-padding-xl"],$borderRadius:"border-radius-m",$ba:o?"border-solid-m":"border-solid-none",$borderColor:o?"border-neutral-lighter":"transparent",$disabled:l,$color:"text-primary",href:l?void 0:r,onClick:l?void 0:i},c),a.createElement(rt,{$alignItems:"center",$gap:["space-between-m2"]}," ",a.createElement(rt,null,a.createElement(nt,{$font:["heading-5","heading-4"],$color:e.unavailable?"text-subdued":"text-primary",$textDecoration:"none"},e.index)),a.createElement(cg,null,a.createElement(tg,{$font:["heading-6","heading-5"],$color:l?"text-subdued":"text-primary"},e.title))),a.createElement(rt,{$alignItems:"center",$gap:"space-between-xs",$flexBasis:"auto",$flexGrow:1,$justifyContent:"flex-end"},e.numberOfLessons&&!e.unavailable&&a.createElement(tg,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},e.numberOfLessons," lessons"),e.unavailable&&a.createElement(tg,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},"Unavailable"),!e.unavailable&&a.createElement(rg,{iconName:"chevron-right",$disabled:l}))))},sg=function(e){var n=e.phase,t=e.element,r=I(e,["phase","element"]),o="primary"===n?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",i="primary"===n?"bg-decorative4-main":"bg-decorative3-main",c="primary"===n?"border-decorative4-stronger":"border-decorative3-stronger";return a.createElement(eo,S({element:null!=t?t:"button",pv:"inner-padding-xl",ph:"inner-padding-xl",font:"heading-6",defaultBorderColor:c,defaultBackground:o,defaultTextColor:"text-primary",hoverBackground:i,hoverBorderColor:c,hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"border-neutral-lighter",disabledTextColor:"text-subdued"},r))},dg=function(e){var n=e.phase,t=e.element,r=e.subjectIconName,o=I(e,["phase","element","subjectIconName"]),i="primary"===n?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===n?"bg-decorative4-main":"bg-decorative3-main",l="primary"===n?"border-decorative4-stronger":"border-decorative3-stronger",s=a.createElement(Qt,{iconName:r,$minWidth:"all-spacing-12",$minHeight:"all-spacing-12","aria-hidden":"true"});return a.createElement(eo,S({element:null!=t?t:"button",iconOverride:s,iconLayout:"column",iconGap:"space-between-sssx",pv:null,pt:"inner-padding-s",pb:"inner-padding-xl",ph:"inner-padding-s",font:"heading-7",defaultBorderColor:l,defaultBackground:i,defaultTextColor:"text-primary",hoverBackground:c,hoverBorderColor:l,hoverTextColor:"text-primary",disabledBackground:"bg-btn-secondary-disabled",disabledBorderColor:"border-neutral-lighter",disabledTextColor:"text-subdued",textAlign:"center",innerWidth:"all-spacing-16"},o))},ug=function(e){var n=e.count,t=e.countHeader,r=e.tag;return a.createElement(Nt,{tag:r,$font:["heading-6","heading-6"]},t,a.createElement(ot,{$font:"heading-light-6"}," (".concat(n,")")))},pg=function(e){var n=e.numberOfLessons,t=e.listItems;return a.createElement(rt,{$flexDirection:["column","row"],$flexWrap:"wrap",$justifyContent:"space-between",$flexGrow:[null,1],$alignItems:["flex-start","center"],$gap:"space-between-m",$mt:"space-between-m2"},a.createElement(ug,{tag:"h1",count:n,countHeader:"Previously released lessons"}),a.createElement(ii,{listItems:t,$background:"bg-decorative5-very-subdued",$borderRadius:"border-radius-s",$borderColor:"border-decorative5",$ba:"border-solid-s",$ph:"inner-padding-xs",$pv:"inner-padding-ssx"}))},fg=function(e){var n=e.children,t=e.phase,r=e.titleSlot,o=e.counterSlot,i="primary"===t?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===t?"bg-decorative4-subdued":"bg-decorative3-subdued";return a.createElement(rt,{$flexDirection:"column",$width:["100%","all-spacing-22","all-spacing-23"],$background:i},r&&a.createElement(rt,{$flexDirection:"column",$gap:["space-between-m","space-between-m2","space-between-m2"]},r,a.createElement(ji,{hrColor:"white",$height:"all-spacing-1"})),a.createElement(rt,{$mv:"space-between-m"},o),a.createElement(rt,{$flexDirection:"column",$pa:"inner-padding-m",$borderRadius:"border-radius-l",$gap:"space-between-s",$background:c,role:"list"},n))},gg=function(e){var n=e.iconBackground,t=void 0===n?"primary":n,r=e.title,o=e.iconName,i=e.alt,c=e.breadcrumbs;return a.createElement(rt,{$flexDirection:"row",$gap:"space-between-m"},a.createElement(Mi,{fill:bg(t),iconName:o,$flexGrow:0,iconHeight:["all-spacing-9","all-spacing-10","all-spacing-10"],iconWidth:["all-spacing-9","all-spacing-10","all-spacing-10"],$width:["all-spacing-11","all-spacing-13","all-spacing-13"],$height:["all-spacing-11","all-spacing-13","all-spacing-13"],alt:i}),a.createElement(rt,{$flexDirection:"column",$gap:"space-between-s"},a.createElement(Nt,{tag:"h1",$font:["heading-5","heading-4"]},r),a.createElement(ii,{listItems:c})))};function bg(e){return"primary"===e?"bg-decorative4-main":"bg-decorative3-main"}var hg,mg,vg,yg,wg,xg,$g,Cg,Eg,kg,Mg,Sg,Ig,jg=function(e){var n=e.children,t=e.phase,r=e.titleSlot,o=e.optionTitleSlot,i="primary"===t?"bg-decorative4-very-subdued":"bg-decorative3-very-subdued",c="primary"===t?"bg-decorative4-subdued":"bg-decorative3-subdued";return a.createElement(rt,{$flexDirection:"column",$width:["100%","all-spacing-22","all-spacing-23"],$background:i},r&&a.createElement(rt,{$flexDirection:"column",$gap:["space-between-m","space-between-m2","space-between-m2"],$mb:"space-between-m2"},r,a.createElement(ji,{hrColor:"white",$height:"all-spacing-1"})),a.createElement(rt,{$justifyContent:"center",$background:"bg-primary",$ba:"border-solid-m",$borderRadius:"border-radius-l",$pa:"inner-padding-xl",$borderColor:c},a.createElement(rt,{$pv:"inner-padding-xl",$flexDirection:"column",$alignItems:"center",$gap:"space-between-l"},o,a.createElement(rt,{$gap:"space-between-s",$flexWrap:"wrap",$justifyContent:"center"},n))))},Og=function(e){return void 0===e&&(e=[]),Array.from(new Set(null==e?void 0:e.map((function(e){return e.contentguidanceLabel}))))},Ng=function(e){var n=e.isOpen,t=e.onAccept,r=e.onDecline,o=e.contentGuidance,i=e.supervisionLevel,c=void 0===i?null:i;return a.createElement(Ls,{isOpen:n,modalFlexProps:{"aria-label":"Content guidance modal"},footerSlot:a.createElement(rt,{$alignItems:"center",$flexDirection:"column",$justifyContent:"center",$pv:"inner-padding-xl",$rowGap:"space-between-m"},a.createElement(no,{$font:"heading-7",onClick:t,"data-testid":"acceptButton"},"I understand, continue"),a.createElement(to,{$font:"heading-7",iconName:"arrow-left",onClick:r,"data-testid":"declineButton"},"Take me home")),hideCloseButton:!0},a.createElement(Zs,{iconName:"warning",iconOverride:{$colorFilter:"amber"},title:"Content guidance"},a.createElement(rt,{$flexDirection:"column",$rowGap:"space-between-m2"},Og(o).map((function(e,n){return a.createElement(Nt,{key:n,$font:["heading-light-7","heading-light-7","heading-light-6"],$textAlign:"center",tag:"h2"},e)})),c&&a.createElement(Nt,{$font:["heading-light-7","heading-light-7","heading-light-6"],$textAlign:"center",tag:"h2"},c))))},Dg=function(e){var n=e.children;e.index,e.title;var t=e.unavailable;e.disabled;var r=I(e,["children","index","title","unavailable","disabled"]),o=e.disabled||e.unavailable;return a.createElement(rt,S({$borderRadius:"border-radius-m",$pa:"inner-padding-xl",$flexDirection:"column",$gap:"space-between-m",$background:t?"bg-neutral":"bg-primary"},r),a.createElement(rt,{$alignItems:"center",$gap:"space-between-m2"},a.createElement(rt,null,a.createElement(nt,{$font:["heading-5","heading-4"],$color:e.unavailable?"text-subdued":"text-primary",$textDecoration:"none"},e.index)),a.createElement(nt,{$font:["heading-6","heading-5"],$color:o?"text-subdued":"text-primary"},e.title)),a.createElement(rt,{$flexDirection:["column","row"],$gap:"space-between-xs",$flexWrap:"wrap"},n))},Tg=e(nt)(hg||(hg=D([""],[""]))),Rg=e(rt)(vg||(vg=D(["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"],["\n outline: none;\n text-align: initial;\n\n &:focus-visible {\n box-shadow: ",",\n ",";\n }\n\n ","\n\n ","\n"])),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),(function(e){return e.$disabled&&"cursor: not-allowed"}),(function(e){return!e.$disabled&&n(mg||(mg=D(["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n "],["\n cursor: pointer;\n\n /* Don't apply hover styles on touch devices */\n @media (hover: hover) {\n &:hover {\n background: ",";\n "," {\n text-decoration: underline;\n }\n }\n }\n\n &:active {\n box-shadow: ",",\n ",";\n }\n "])),z("bg-decorative1-subdued"),Tg,Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"))})),Ag=function(e){e.lessonSectionName,e.progress;var n=e.disabled,t=e.href,r=e.unavailable,o=e.onClick,i=e.numberOfLessons,c=I(e,["lessonSectionName","progress","disabled","href","unavailable","onClick","numberOfLessons"]),l=n||r;return a.createElement(Rg,S({as:l?"div":"a",$flexGrow:1,$background:r?"bg-neutral":"bg-primary",$disabled:l,$color:"text-primary",href:l?void 0:t,onClick:l?void 0:o},c),a.createElement(Ps,{fill:r?"border-neutral-lighter":"black",stroke:r?"border-neutral-lighter":"black",strokeWidth:"border-solid-s"},a.createElement(rt,{$flexDirection:"column",$gap:"all-spacing-2"},a.createElement(Tg,{$font:["heading-7","heading-6"],$color:l?"text-subdued":"text-primary"},e.title),a.createElement(rt,{$alignItems:"center",$gap:"space-between-sssx"},!e.unavailable&&a.createElement(a.Fragment,null,a.createElement(Tg,{$font:"heading-light-7",$color:l?"text-subdued":"text-primary"},i," lessons"),a.createElement(Uo,{iconName:"chevron-right",$width:"all-spacing-7",$height:"all-spacing-7",$background:"transparent",$colorFilter:l?"icon-disabled":"icon-inverted"})),e.unavailable&&a.createElement(Tg,{$font:"heading-7",$color:l?"text-subdued":"text-primary"},"Unavailable")))))},zg=e(Qt)(yg||(yg=D([""],[""]))),Bg=e(ho)(wg||(wg=D(["\n position: absolute;\n opacity: 0;\n pointer-events: none;\n\n &:checked:not(:disabled) + "," {\n filter: ",";\n }\n\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled) {\n background: ",";\n }\n"],["\n position: absolute;\n opacity: 0;\n pointer-events: none;\n\n &:checked:not(:disabled) + "," {\n filter: ",";\n }\n\n &:checked:not(:disabled) {\n border: ",";\n border-color: ",";\n }\n\n &:checked:disabled {\n border: ",";\n border-color: ",";\n }\n\n &:hover:not(:disabled) {\n background: ",";\n }\n"])),zg,(function(e){return e.keepIconColor?"none":at("white")}),un("border-solid-l"),z("border-primary"),un("border-solid-l"),z("text-disabled"),z("bg-primary")),Lg=e(rt)(xg||(xg=D(["\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n background-color: ",";\n color: ",";\n }\n"],["\n &:has(input:not(:disabled)) {\n cursor: pointer;\n }\n\n &:has(input:disabled) {\n pointer-events: none;\n cursor: none;\n }\n\n &:hover:has(input:not(:disabled)) "," {\n text-decoration: underline;\n }\n\n &:hover:has(input:not(:disabled)) {\n background-color: ",";\n }\n\n &:focus-within {\n box-shadow: ",",\n ",";\n }\n\n &:has(input:checked:not(:disabled)) {\n background-color: ",";\n color: ",";\n }\n"])),Fo,z("bg-neutral"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("black"),z("white")),Zg=function(e){var n=e.id,t=e.value,r=e.disabled,o=e.innerRef,i=e.displayValue,c=e.icon,l=I(e,["id","value","disabled","innerRef","displayValue","icon"]),s=u(null),d=null!=o?o:s;return a.createElement(rt,{$minHeight:"all-spacing-8",$position:"relative"},a.createElement(Lg,{$borderRadius:"border-radius-s",$borderColor:"border-neutral-lighter",$ba:"border-solid-s",$background:"white",onClick:function(e){var t;e.target.id!==n&&(null===(t=d.current)||void 0===t||t.click())},$ph:"inner-padding-s",$pv:"inner-padding-ssx",$gap:"space-between-sssx"},a.createElement(Bg,S({id:n,value:t,disabled:r,ref:d},l)),c&&a.createElement(zg,{alt:"",iconName:c}),a.createElement(Fo,{pointerEvents:"none",htmlFor:n,$font:"heading-7",disabled:r},i)))},Pg=e.nav($g||($g=D(["\n outline: none;\n"],["\n outline: none;\n"]))),Fg=e(Zi)(Cg||(Cg=D(["\n text-decoration: none;\n color: inherit;\n width: 100%;\n display: Flex;\n width: 100%;\n &:focus {\n box-shadow: none;\n }\n\n &::before {\n content: counter(list-counter);\n min-width: 32px;\n height: 32px;\n border-radius: 50%;\n background-color: ",";\n color: ",";\n text-align: center;\n line-height: 32px;\n margin-right: ",";\n text-decoration: none;\n }\n &:hover::before {\n background-color: ",";\n box-shadow: ",";\n text-decoration: none;\n }\n\n &:focus-within::before {\n box-shadow: ",",\n ",";\n text-decoration: none;\n }\n &:active {\n color: ",";\n }\n &:active::before {\n box-shadow: ",",\n ",";\n background-color: ",";\n }\n"],["\n text-decoration: none;\n color: inherit;\n width: 100%;\n display: Flex;\n width: 100%;\n &:focus {\n box-shadow: none;\n }\n\n &::before {\n content: counter(list-counter);\n min-width: 32px;\n height: 32px;\n border-radius: 50%;\n background-color: ",";\n color: ",";\n text-align: center;\n line-height: 32px;\n margin-right: ",";\n text-decoration: none;\n }\n &:hover::before {\n background-color: ",";\n box-shadow: ",";\n text-decoration: none;\n }\n\n &:focus-within::before {\n box-shadow: ",",\n ",";\n text-decoration: none;\n }\n &:active {\n color: ",";\n }\n &:active::before {\n box-shadow: ",",\n ",";\n background-color: ",";\n }\n"])),z("black"),z("white"),ne("space-between-xs"),z("bg-btn-primary-hover"),Dn("drop-shadow-lemon"),Dn("drop-shadow-centered-lemon"),Dn("drop-shadow-centered-grey"),z("black"),Dn("drop-shadow-lemon"),Dn("drop-shadow-grey"),z("black")),qg=e.ol(Eg||(Eg=D(["\n list-style: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n"],["\n list-style: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n"]))),Wg=e(zt)(kg||(kg=D(["\n position: relative;\n counter-increment: list-counter;\n display: flex;\n align-items: center;\n margin-bottom: ",";\n min-height: 40px;\n &:last-child {\n margin-bottom: 0;\n }\n\n &:hover {\n text-decoration: underline;\n color: ",";\n }\n"],["\n position: relative;\n counter-increment: list-counter;\n display: flex;\n align-items: center;\n margin-bottom: ",";\n min-height: 40px;\n &:last-child {\n margin-bottom: 0;\n }\n\n &:hover {\n text-decoration: underline;\n color: ",";\n }\n"])),ne("space-between-xs"),z("bg-btn-primary-hover")),_g=function(e){var n=e.items,t=e.ariaLabel,r=e.title,o=e.anchorTarget,i=e.onClick,l=I(e,["items","ariaLabel","title","anchorTarget","onClick"]),s=O(c(null),2),d=s[0],u=s[1],p=function(e){e.key&&"Tab"!==e.key&&u(e.currentTarget.hash)};return a.createElement(Pg,S({"aria-label":t},l),o&&a.createElement(Wr,{id:o}),r&&a.createElement(nt,{$mb:"space-between-m"},a.createElement(ot,{$font:"heading-light-7"},r)),a.createElement(qg,{role:"list"},n.map((function(e,n){return a.createElement(Wg,{$font:"heading-7",key:n},a.createElement(Fg,{onClick:i,href:e.href,"aria-current":e.href===d?"true":void 0,onKeyDown:p},e.title))}))))},Hg=n(Mg||(Mg=D([""],[""]))),Gg=e((function(e){var n,t=e.childSubjects,r=e.tiers,o=e.getTierSubjectValues,i=O(c(t&&t[0]?null===(n=t[0])||void 0===n?void 0:n.subjectSlug:null),2),l=i[0],s=i[1],d=O(c("foundation"),2),u=d[0],p=d[1];return a.createElement(rt,{$flexDirection:"column",$gap:"space-between-m"},a.createElement(Nt,{$font:"heading-4",tag:"h4"},"Download"),t&&a.createElement(so,{label:"Choose subject for KS4 units",name:"childSubjectRadio",onChange:function(e){var n=e.currentTarget.value;s(n)},$flexDirection:"column",$gap:"space-between-s",defaultValue:l||"combined-science","data-testid":"child-subject-selector"},t.map((function(e){var n=e.subject,t=e.subjectSlug;return a.createElement(bo,{id:t,label:n,value:t,"data-testid":"child-subject-radio-button",key:t})}))),r&&a.createElement(so,{"data-testid":"tier-selector",label:"Choose learning tier for KS4 units",name:"tierRadio",onChange:function(e){var n=e.currentTarget.value;p(n)},$flexDirection:"column",$gap:"space-between-s",defaultValue:u},r.map((function(e){var n=e.tier,t=e.tierSlug;return a.createElement(bo,{id:t,label:n,value:t,"data-testid":"tier-radio-button",key:t})}))),a.createElement(no,{iconName:"arrow-right",isTrailingIcon:!0,onClick:function(){o(u,l)}},"Next"))}))(Sg||(Sg=D(["\n ","\n"],["\n ","\n"])),Hg),Vg=function(e){var n=e.showPromoTag,t=I(e,["showPromoTag"]);return a.createElement(nt,{$width:"fit-content",$height:"fit-content",$position:"relative"},a.createElement(Mi,S({},t)),n&&a.createElement(nt,{$position:"absolute",$top:["all-spacing-0","all-spacing-2"],$left:["all-spacing-0","all-spacing-2"]},a.createElement(Ni,null)))},Yg=e(no)(Ig||(Ig=D(["\n pointer-events: none;\n"],["\n pointer-events: none;\n"]))),Ug=function(e){var n=e.href,t=e.isCurrent,r=void 0!==t&&t,o=e.shallow,i=void 0===o||o,c=e.children;return r?a.createElement(Yg,{element:"span","aria-current":"page"},c):a.createElement(to,{element:M,href:n,shallow:i,isTrailingIcon:!0},c)},Xg=function(e){var n=e.ariaLabel,t=e.navItems;return a.createElement("nav",{"aria-label":n},a.createElement(rt,{as:"ul",$flexDirection:["row"],$gap:"space-between-m",$mh:"space-between-none",$mv:"space-between-none",$ph:"inner-padding-none"},t.map((function(e,n){var t=e.href,r=e.isCurrent,o=e.children;return a.createElement(zt,{$listStyle:"none",key:n},a.createElement(Ug,{href:t,isCurrent:r},o))}))))},Kg=function(e){var n=e.state,t=e.innerMaxWidth,r=e.onOpenSettings,o=e.onHide,i=e.onAccept,c=e.onReject,l=e.isFixed,s=void 0!==l&&l;return a.createElement(nt,{$background:"bg-neutral",$bt:"border-solid-s",$borderColor:"border-neutral",$position:s?"fixed":void 0,$bottom:s?"all-spacing-0":void 0,$right:s?"all-spacing-0":void 0,$left:s?"all-spacing-0":void 0,$zIndex:s?"in-front":void 0,$color:"text-primary","data-testid":"cookie-banner"},a.createElement(nt,{$maxWidth:t,$mh:"auto"},a.createElement(rt,{$alignItems:["flex-start","flex-start","center"],$flexDirection:["column","column","row"],$mh:["space-between-s","space-between-m","space-between-xl"],$pv:"inner-padding-xl",$gap:["space-between-m","space-between-m","space-between-m2"]},function(){switch(n){case"accepted":case"rejected":return a.createElement(a.Fragment,null,a.createElement(nt,{$font:["body-3","body-2","heading-light-7"]},"You've"," ",a.createElement(ot,{as:"strong",$font:["body-3-bold","body-2-bold","heading-7"]},n)," ","additional cookies. You can"," ",a.createElement(Fi,{element:"button",onClick:r},"change your cookie settings")," ","at any time."),a.createElement(rt,{$justifyContent:"flex-end",$flexGrow:1},a.createElement(ro,{onClick:o},"Hide this message")));default:return a.createElement(a.Fragment,null,a.createElement(nt,{$font:["body-3","body-2"]},a.createElement(ot,{as:"strong",$font:["body-3-bold","body-2-bold"]},"This site uses cookies to store information on your computer.")," ","Some of these cookies are essential, while others help us to improve your experience by providing insights into how the site is being used."),a.createElement(rt,{$gap:["space-between-xs","space-between-m2"],$justifyContent:"flex-end",$flexDirection:["column","row"],$flexWrap:["wrap","wrap","nowrap"],$flexGrow:1},a.createElement(rt,{$font:"heading-7",$whiteSpace:"nowrap",$alignItems:"center"},a.createElement(Fi,{element:"button",type:"button",onClick:c,"data-testid":"cookie-banner-reject"},"Reject non-essential cookies")),a.createElement(ro,{onClick:r},"Cookie settings"),a.createElement(no,{onClick:i,"data-testid":"cookie-banner-accept"},"Accept all cookies")))}}())))},Jg=function(e){var n=e.isOpen,t=e.onClose,r=e.onReject,o=e.onConfirm,i=e.onAccept,c=e.policyURL,l=e.policies,s=e.initialConsents;return a.createElement(Ts,{isOpen:n,onClose:t,footerSlot:a.createElement(As,null,a.createElement(ro,{onClick:r,width:"100%"},"Reject non-essential cookies"),a.createElement(no,{type:"submit",form:"cookie-settings-form",width:"100%"},"Confirm my choices"))},a.createElement(Rs,null,a.createElement(Nt,{tag:"h2",$font:"heading-5",$mb:"space-between-s"},"This site uses cookies to store information on your computer."),a.createElement(Dt,{$mb:"space-between-m"},"Some of these cookies are essential, while others help us to improve your experience by providing insights into how the site is being used."),a.createElement(Dt,{$mb:"space-between-l"},"For more information, view our"," ",a.createElement(Pi,{href:c,target:"_blank"},"cookie policy"),"."),a.createElement(nt,{$mb:"space-between-xl"},a.createElement(no,{onClick:i,width:"all-spacing-18"},"Allow all")),a.createElement(nt,{$ph:"inner-padding-xs",as:"form",id:"cookie-settings-form",onSubmit:function(e){var n,t,r,i;e.preventDefault();var a=new FormData(e.currentTarget),c={};try{for(var s=j(l),d=s.next();!d.done;d=s.next()){var u=d.value;c[u.id]=u.strictlyNecessary?"granted":"denied"}}catch(e){n={error:e}}finally{try{d&&!d.done&&(t=s.return)&&t.call(s)}finally{if(n)throw n.error}}try{for(var p=j(a.getAll("consent")),f=p.next();!f.done;f=p.next()){c[f.value.toString()]="granted"}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}o(c)}},a.createElement(Nt,{tag:"h3",$font:"heading-6",$mb:"space-between-m"},"Manage consent preferences"),l.map((function(e){return a.createElement(Ji,{key:e.id,header:a.createElement(ot,{id:"cookie-settings-".concat(e.id,"-label")},e.label),id:"cookies-settings-".concat(e.id,"-accordion"),headerAfterSlot:a.createElement(_o,{id:"cookies-settings-".concat(e.id,"-checkbox"),name:"consent",displayValue:"",value:e.id,defaultChecked:e.strictlyNecessary||"granted"===s[e.id],disabled:e.strictlyNecessary,"aria-labelledby":"cookie-settings-".concat(e.id,"-label")})},a.createElement(Dt,{$mb:"space-between-m2"},e.description),a.createElement(nt,{as:"dl",$pl:"inner-padding-m"},e.parties.length>0&&a.createElement(a.Fragment,null,a.createElement("dt",null,"Who do we share data with?"),a.createElement(nt,{as:"dd",$font:"body-3-bold",$mb:"space-between-s"},a.createElement(Tt,{$reset:!0},e.parties.map((function(e,n,t){return a.createElement(nt,{as:"li",key:n,$display:"inline"},a.createElement(Fi,{href:e.policyURL,target:"_blank",rel:"external nofollow"},e.name),n<t.length-1&&", ")}))))),a.createElement("dt",null,"Does this policy need cookies to work?"),a.createElement(nt,{as:"dd",$font:"body-3-bold"},"Yes.")))})))))};function Qg(e,n){switch(n.type){case"confirmModalConsents":case"acceptModalConsents":case"rejectModalConsents":return S(S({},e),{isSettingsModalOpen:!1,bannerState:"hidden"});case"acceptBannerConsents":return S(S({},e),{bannerState:"accepted"});case"rejectBannerConsents":return S(S({},e),{bannerState:"rejected"});case"openModal":return S(S({},e),{isSettingsModalOpen:!0});case"closeModal":return S(S({},e),{isSettingsModalOpen:!1});case"showBanner":return S(S({},e),{bannerState:"initial"});case"hideBanner":return S(S({},e),{bannerState:"hidden"});default:return e}}function eb(){return{isSettingsModalOpen:!1,bannerState:"hidden"}}var nb=s({isSettingsModalOpen:!1,policies:[],currentConsents:{},showBanner:function(){},hideBanner:function(){},openSettings:function(){},closeSettings:function(){},rejectModalConsents:function(){},confirmModalConsents:function(){},acceptModalConsents:function(){},rejectBannerConsents:function(){},acceptBannerConsents:function(){},bannerState:"initial"});function tb(){var e=d(nb);return{showBanner:e.showBanner,openSettings:e.openSettings}}var rb,ob,ib,ab=function(e){var n=e.children,t=e.currentConsents,r=e.policies,o=e.onConsentChange,i=O(v(Qg,null,eb),2),c=i[0],s=i[1],d=l((function(){return s({type:"closeModal"})}),[]),u=l((function(){o(Object.fromEntries(r.map((function(e){return[e.id,"granted"]}))))}),[o,r]),p=l((function(){o(Object.fromEntries(r.map((function(e){return[e.id,e.strictlyNecessary?"granted":"denied"]}))))}),[o,r]),f=l((function(){return s({type:"hideBanner"})}),[]),g=l((function(){return s({type:"showBanner"})}),[]),b=l((function(){return s({type:"openModal"})}),[]),h=l((function(){u(),s({type:"acceptBannerConsents"})}),[u]),m=l((function(){p(),s({type:"rejectBannerConsents"})}),[p]),y=l((function(){u(),s({type:"acceptModalConsents"})}),[u,f]),w=l((function(){p(),s({type:"rejectModalConsents"})}),[p,f]),x=l((function(e){o(e),s({type:"confirmModalConsents"})}),[o,f]);return a.createElement(nb.Provider,{value:{isSettingsModalOpen:c.isSettingsModalOpen,bannerState:c.bannerState,policies:r,currentConsents:t,showBanner:g,hideBanner:f,openSettings:b,closeSettings:d,confirmModalConsents:x,acceptBannerConsents:h,rejectBannerConsents:m,acceptModalConsents:y,rejectModalConsents:w}},n)},cb=function(e){var n=e.policyURL,t=e.isFixed,r=e.innerMaxWidth,o=d(nb),i=o.policies,c=o.acceptModalConsents,l=o.rejectModalConsents,s=o.confirmModalConsents,u=o.hideBanner,p=o.openSettings,f=o.closeSettings,g=o.currentConsents,b=o.isSettingsModalOpen,h=o.acceptBannerConsents,m=o.rejectBannerConsents,v=o.bannerState;return a.createElement(a.Fragment,null,"hidden"!==v&&a.createElement(Kg,{onHide:u,onAccept:h,onReject:m,onOpenSettings:p,state:v,isFixed:t,innerMaxWidth:r}),a.createElement(Jg,{policyURL:n,policies:i,isOpen:b,onClose:f,onReject:l,onConfirm:s,onAccept:c,initialConsents:g}))},lb=e(St)(rb||(rb=D(["\n width: 50px;\n height: 50px;\n margin-right: 12px;\n img {\n border-radius: 50%;\n }\n"],["\n width: 50px;\n height: 50px;\n margin-right: 12px;\n img {\n border-radius: 50%;\n }\n"]))),sb=n(ob||(ob=D([""],[""]))),db=e((function(e){var n=e.headingTitle,t=e.breadcrumbs,r=e.authorName,o=e.authorTitle,i=e.subHeadingText,c=e.heroImageSrc,l=e.authorImageSrc,s=e.heroImageAlt,d=e.authorImageAlt;return a.createElement(nt,{$width:"100%",$background:"bg-decorative3-main",$overflowX:"hidden"},a.createElement(cr,null,a.createElement(rt,{$minWidth:"100%",$flexDirection:["column-reverse","column-reverse","row"],$alignItems:["center",null],$minHeight:"all-spacing-20",$background:"bg-decorative3-main",$zIndex:"neutral",$justifyContent:["space-between"],"data-testid":"oak-header-component"},a.createElement(rt,{$alignSelf:"flex-start",$ph:"inner-padding-s",$height:"100%",$flexDirection:"column"},a.createElement(nt,{$display:["none","none","block"],$pv:"inner-padding-xl"},t),a.createElement(rt,{$flexDirection:"column",$maxWidth:"all-spacing-22",$minHeight:["all-spacing-0","all-spacing-0","all-spacing-20"],$mb:["space-between-none","space-between-l","space-between-none"],$justifyContent:"center"},a.createElement(Nt,{tag:"h2",$color:"grey80",$font:["heading-4","heading-3"],$mb:"space-between-m"},n),a.createElement(rt,{$mb:"space-between-m",$flexDirection:"row",$alignItems:"center"},a.createElement(lb,{alt:d,src:l,$zIndex:"in-front"}),a.createElement(nt,null,a.createElement(Nt,{tag:"h3",$font:"heading-7"},r),a.createElement(Dt,{$font:"body-3"},o))),a.createElement(Dt,{$font:"body-1",$mb:["space-between-l","space-between-none"]},i))),a.createElement(rt,{$position:"relative",$minHeight:["all-spacing-18","all-spacing-21","all-spacing-21"],$alignItems:"center",$justifyContent:"center",$mb:["space-between-none","space-between-m2","space-between-none"]},a.createElement(St,{$transform:"rotate(-2.025deg)",src:c,width:100,$minHeight:["all-spacing-19","all-spacing-20","all-spacing-20"],$minWidth:["all-spacing-19","all-spacing-22","all-spacing-21"],alt:s,$zIndex:"in-front"}),a.createElement(rt,{$position:"absolute",$top:"all-spacing-0",$bottom:"all-spacing-0",$width:["all-spacing-20","all-spacing-23","all-spacing-23"]},a.createElement(Qt,{iconName:"loopdown",alt:"loopdown ui-graphic",$position:"absolute",$height:"100%",$width:"100%"}))),a.createElement(rt,{$alignSelf:"flex-start",$ml:"space-between-m",$pt:"inner-padding-xl",$pb:[null,"inner-padding-xl"],$display:["block","block","none"]},t))))}))(ib||(ib=D(["\n ","\n"],["\n ","\n"])),sb);export{Ot as HeadingTagComponent,Ji as OakAccordion,Wr as OakAnchorTarget,oi as OakBackLink,nt as OakBox,ii as OakBulletList,Di as OakCardHeader,Ps as OakCardWithHandDrawnBorder,_o as OakCheckBox,Br as OakCloudinaryConfigProvider,Lr as OakCloudinaryImage,zi as OakCollapsibleContent,Kg as OakCookieBanner,cb as OakCookieConsent,ab as OakCookieConsentProvider,Jg as OakCookieSettingsModal,Gg as OakDownloadsJourneyChildSubjectTierSelector,Wi as OakDragAndDropInstructions,Vi as OakDraggable,Xi as OakDraggableFeedback,Ui as OakDroppable,_r as OakFieldError,rt as OakFlex,it as OakForm,qr as OakGlobalStyle,nr as OakGrid,ir as OakGridArea,ki as OakHandDrawnCard,Mi as OakHandDrawnCardWithIcon,ji as OakHandDrawnHR,db as OakHeaderHero,Nt as OakHeading,Ys as OakHintButton,Qt as OakIcon,St as OakImage,ng as OakInfo,eg as OakInfoButton,Zr as OakKbd,zt as OakLI,Lt as OakLabel,Js as OakLessonBottomNav,Ti as OakLessonInfoCard,ad as OakLessonLayout,vd as OakLessonNavItem,$d as OakLessonReviewItem,ed as OakLessonTopNav,Id as OakLessonVideoTranscript,Pi as OakLink,Ur as OakLoadingSpinner,cr as OakMaxWidth,Ts as OakModal,Rs as OakModalBody,Ls as OakModalCenter,Zs as OakModalCenterBody,As as OakModalFooter,Rt as OakOL,Dt as OakP,no as OakPrimaryButton,to as OakPrimaryInvertedButton,Xg as OakPrimaryNav,Ug as OakPrimaryNavItem,Ni as OakPromoTag,Ng as OakPupilJourneyContentGuidance,gg as OakPupilJourneyHeader,_f as OakPupilJourneyLayout,fg as OakPupilJourneyList,ug as OakPupilJourneyListCounter,lg as OakPupilJourneyListItem,Ag as OakPupilJourneyOptionalityButton,Dg as OakPupilJourneyOptionalityItem,pg as OakPupilJourneyPreviousLessons,jg as OakPupilJourneyProgrammeOptions,dg as OakPupilJourneySubjectButton,sg as OakPupilJourneyYearButton,Ws as OakQuizCheckBox,rd as OakQuizCounter,Xs as OakQuizFeedback,Us as OakQuizHint,Ff as OakQuizMatch,Nf as OakQuizOrder,Gs as OakQuizRadioButton,_s as OakQuizTextInput,bo as OakRadioButton,so as OakRadioGroup,Uo as OakRoundIcon,Zg as OakSearchFilterCheckBox,ro as OakSecondaryButton,Fi as OakSecondaryLink,ot as OakSpan,Ri as OakStaticMessageCard,Vg as OakSubjectIcon,co as OakTertiaryButton,_g as OakTertiaryOLNav,Yo as OakTextInput,ar as OakThemeProvider,ei as OakTooltip,It as OakTypography,Tt as OakUL,Vt as isValidIconName,J as oakAllSpacingTokens,dn as oakBorderRadiusTokens,sn as oakBorderWidthTokens,et as oakBoxCss,T as oakColorTokens,di as oakDefaultTheme,Nn as oakDropShadowTokens,Pn as oakFontSizeTokens,Fn as oakFontTokens,jt as oakHeadingTags,Gt as oakIconNames,Q as oakInnerPaddingTokens,Rn as oakOpacityTokens,ee as oakSpaceBetweenTokens,Ln as oakTransitionTokens,A as oakUiRoleTokens,Og as removedGuidanceDuplicates,tb as useCookieConsent};
15
15
  //# sourceMappingURL=index.js.map