/*! For license information please see react-components-base.935dc5b2fb2518aa80ed.js.LICENSE.txt */ (self.webpackChunk_indy_flow_web=self.webpackChunk_indy_flow_web||[]).push([[7433],{14902(e,t,n){"use strict";var r=n(20870);t.m=void 0;var o=r(n(7378)),i=n(30054),s=n(69629);t.m=function(e){var t=e.children,n=e.async;return void 0!==n&&n?o.default.createElement(i.Helmet,null,t):o.default.createElement(s.Helmet,null,t)}},11085(e,t,n){"use strict";n.d(t,{A:()=>s});var r,o=n(7378);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",id:"33595d142f87b29e",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",d:"M3.33 2 14 12.67 12.67 14 2 3.33zM2 12.67 12.67 2 14 3.33 3.33 14z"})))},77079(e,t,n){"use strict";n.d(t,{A:()=>s});var r,o=n(7378);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",id:"363d20b20cc0845f",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{fill:"currentColor",d:"m8.3 16.61 4.58-4.59L8.3 7.43l1.41-1.41 6 6-6 6z"})))},67864(e,t,n){"use strict";n.d(t,{A:()=>s});var r,o=n(7378);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",id:"e84fcac8d999dff7",viewBox:"0 0 32 32"},e),r||(r=o.createElement("path",{fill:"currentColor",d:"m19.06 24 1.88-1.88-6.1-6.12 6.1-6.12L19.06 8l-8 8z"})))},73749(e,t,n){"use strict";n.d(t,{v:()=>r});let r=function(e){return e.SUBSCRIBE="subscribe",e.DONATE="donation",e.REGISTER="registration",e}({})},62088(e,t,n){"use strict";n.d(t,{m:()=>r});let r=function(e){return e.FREEFORM="Freeform",e.HERO="3:2",e.FOURTHREE="4:3",e.THREEFOUR="3:4",e.TWOTHREE="2:3",e.SQUARE="1:1",e}({})},37032(e,t,n){"use strict";n.d(t,{Rc:()=>r,Sj:()=>u,Yg:()=>c,cl:()=>d,dh:()=>s,et:()=>i,it:()=>a,pU:()=>l,vn:()=>o});let r=function(e){return e.CARD="card",e.DIRECT_DEBIT="direct-debit",e.DIRECT_DEBIT_GOCARDLESS="direct-debit-gocardless",e.STRIPE="stripe",e.PAYPAL="paypal",e.APPLE_PAY="apple-pay",e.UNKNOWN="unknown",e}({}),o=function(e){return e.APP="app",e.WEB="web",e.EXTERNAL="external",e}({}),i=function(e){return e.ANNUAL="yearly",e.MONTHLY="monthly",e.ONE_OFF="single",e}({}),s=function(e){return e.ANNUAL="annual",e.MONTHLY="monthly",e.ONE_OFF="one-off",e}({}),a=function(e){return e.ACTIVE="active",e.PAUSED="paused",e.CANCELLED="cancelled",e.LAPSED="lapsed",e.EXPIRED="expired",e.RENEWED="renewed",e.PENDING="pending",e.UPGRADED="upgraded",e}({}),c=function(e){return e.AD_FREE_ONLY="ad-free",e.AD_FREE_PREMIUM="ad-free-premium",e.PREMIUM="premium",e.DONATION="donation",e.DONATION_SINGLE="donation-single",e.FOOTBALL_NEWSLETTER="football-newsletter",e}({}),l=function(e){return e.PREMIUM="premium",e.INDEPENDENT="independent",e}({}),d=function(e){return e.COMPLETE="complete",e.ACTIVE="active",e.PENDING="pending",e.UNKNOWN="unknown",e}({}),u=function(e){return e.IMMEDIATELY="0",e.END_OF_CURRENT_BILLING_PERIOD="1",e.NEXT_SELL_DATE="2",e.END_OF_CURRENT_SCHEDULED_PERIOD="3",e}({})},51070(e,t,n){"use strict";n.d(t,{m:()=>d});var r=n(79811),o=n(73245),i=n(14902),s=n(86106);const a=["children"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{let{children:t}=e,n=(0,o.A)(e,a);return(0,s.jsx)(i.m,l(l({async:true},n),{},{children:t}))}},76084(e,t,n){"use strict";n.d(t,{A:()=>M});var r,o=n(7378),i=n(64543),s=n(74489),a=n(58441),c=n(52114);n(55299);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",id:"62597be29c9dcb1b",fill:"#eb1426",viewBox:"0 0 24 18"},e),r||(r=o.createElement("path",{d:"M9 9a1 1 0 1 1 2 0 1 1 0 0 1-2 0m6.2 0-1.7 2.6-1.3-1.6L9 14h10zM24 4v14H4v-3H0V0h21v4zM4 13V4h15V2H2v11zm18-7H6v10h16z"})));var u=n(86106);const p=(0,i.styled)(({className:e})=>(0,u.jsx)("span",{className:e,children:(0,u.jsx)(d,{})})).withConfig({componentId:"sc-12pgkdx-0"})(["display:flex;width:1em;align-items:center;"]);var h=n(79811),m=n(73245),f=n(41737),g=n(33487);const b=["image","mainImage","srcSet"];function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t{let{image:t,mainImage:n,srcSet:r}=e,o=(0,m.A)(e,b);if(!t.url)return null;const i=e=>(0,f.e5)(y(y({},n?{width:e,height:614}:{height:166}),{},{fit:"bounds",format:"pjpg",crop:"16:9,offset-y0.5"}));return(0,u.jsx)(g.A,y({src:t.url&&"data:"===t.url.slice(0,5)?t.url:(0,f.m$)(t.url,i(o.width||0)),alt:t.caption,srcset:r&&"data:"!==t.url.slice(0,5)?r.map(e=>`${(0,f.m$)(t.url||"",i(e))} ${e}w`).join(", "):""},o))},w=i.styled.span.withConfig({componentId:"sc-tk2jde-0"})(["flex-shrink:0;color:",";"," &:hover{color:",";}"],({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.textStyle.articleEmbedsGalleryViewArticle.base,({theme:e})=>e.color.actionBrand.alt),j=i.styled.header.withConfig({componentId:"sc-tk2jde-1"})(["display:flex;align-items:center;justify-content:space-between;padding:",";.article-feature &{display:none;}"],e=>e.$isEmbed?"12px 0":"12px"),O=(0,i.styled)(p).withConfig({componentId:"sc-tk2jde-2"})(["width:24px;height:18px;flex-shrink:0;margin-right:8px;svg{fill:",";}"],({theme:e})=>e.color.ink.base),S=i.styled.div.withConfig({componentId:"sc-tk2jde-3"})(["@media ","{display:flex;position:relative;width:100%;height:49.5%;flex-direction:column;}display:flex;justify-content:space-between;"],c.V),C=i.styled.div.withConfig({componentId:"sc-tk2jde-4"})(["position:relative;width:75%;padding-top:0;@media ","{display:flex;width:100%;cursor:pointer;}@media ","{height:",";}@media ","{height:",";}img{object-fit:cover;}&::after,&::before{display:block;position:absolute;top:50%;z-index:1;width:50px;height:50px;margin-top:-25px;background:"," url(/img/icons/chevron.svg) no-repeat 20px center;background-size:25%;content:' ';}&::before{transform:rotate(180deg);}&::after{right:0;}.article-feature &{width:100%;&::before{display:none;}}"],c.V,c.n5,e=>e.$isEmbed?"419px":"432px",c.BY,e=>e.$isEmbed?"411px":"545px",({theme:e})=>e.color.veil.base),E=i.styled.div.withConfig({componentId:"sc-tk2jde-5"})(["@media ","{display:flex;width:100%;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin-top:12px;> *{width:calc(100% / 3 - 8px);height:calc(100% - 20px);cursor:pointer;}img{object-fit:cover;object-position:top;}}display:flex;width:calc(25% - 12px);flex-direction:column;justify-content:space-between;img{object-fit:cover;object-position:top;}@media ","{> *{height:calc(33.3% - 8px);}}"],c.V,c.n5),I=i.styled.h2.withConfig({componentId:"sc-tk2jde-6"})(["display:flex;overflow:hidden;max-width:",";margin:0 8px 0 0;color:",";white-space:nowrap;",""],e=>e.$isEmbed?"100%":"80%",({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.galleryTitle.base),P=i.styled.button.withConfig({componentId:"sc-tk2jde-7"})(["position:relative;width:100%;padding-bottom:10px;border:solid ",";border-width:1px 0;clear:both;cursor:pointer;"],({theme:e})=>e.color.divider.light),k=({title:e,gallery:t,srcSet:n,isEmbed:r,viewID:o,toggleGalleryOpen:i})=>{const s=t?t.filter(e=>e):[],c=s[0];return(0,u.jsxs)(P,{"aria-label":"Open gallery menu",className:a.JL,id:`${o}-trigger`,onClick:i,children:[(0,u.jsxs)(j,{$isEmbed:r,children:[(0,u.jsxs)(I,{$isEmbed:r,children:[(0,u.jsx)(O,{}),e]}),(0,u.jsxs)(w,{children:["Show all ",t.length]})]}),(0,u.jsxs)(S,{children:[(0,u.jsx)(C,{"data-gallery-length":t.length,$isEmbed:r,children:c&&(0,u.jsx)(x,{image:c.data,srcSet:n,width:640,layout:"fill",mainImage:!0})}),(0,u.jsx)(E,{children:s.slice(1,4).map(({data:e})=>(0,u.jsx)(x,{image:e,width:135,height:75,layout:"responsive"},e.id||e.mid))})]})]})};var A=n(94837);const T=i.styled.button.withConfig({componentId:"sc-1m90irp-0"})(["display:flex;position:relative;width:100%;cursor:pointer;"]),D=i.styled.div.withConfig({componentId:"sc-1m90irp-1"})(["width:100%;&::after{position:absolute;top:auto;right:6px;bottom:6px;width:auto;height:auto;padding:10px 9px 10px 41px;background:"," url(data:image/svg+xml;charset=utf-8,",") 10px 50%/24px auto no-repeat;content:attr(data-gallery-length);","}"],({theme:e})=>(0,A.tn)(e.color.canvas.secondary,.67),encodeURIComponent('\n'),({theme:e})=>e.textStyle.viewSectionGalleryIcon.base),_=({gallery:e,srcSet:t,isEmbed:n,viewID:r,toggleGalleryOpen:o})=>{const i=(e?e.filter(e=>e):[])[0];return(0,u.jsx)(T,{"aria-label":"Open gallery menu",className:a.JL,id:`${r}-trigger`,onClick:o,children:(0,u.jsx)(D,{"data-gallery-length":e.length,$isEmbed:n,children:i&&(0,u.jsx)(x,{image:i.data,srcSet:t,width:640,layout:"fill",mainImage:!0})})})},N=i.styled.div.withConfig({componentId:"sc-fn2xhf-0"})([""]),M=({adUnitPath:e,className:t,title:n,gallery:r,id:i,isEmbed:a,srcSet:c,disableAds:l,isArticle:d,isSection:p})=>{const[h,m]=(0,o.useState)(!1),f=()=>{m(!h)},g=p?_:d?k:null;return(0,u.jsxs)(N,{className:t,children:[g&&(0,u.jsx)(g,{gallery:r,isEmbed:a,srcSet:c,title:n,toggleGalleryOpen:f,viewID:i}),(0,u.jsx)(s.A,{adUnitPath:e,disableAds:l,gallery:r,galleryOpen:h,id:i,returnFocus:`#${i}-trigger`,toggleGalleryOpen:f,title:n})]})}},74489(e,t,n){"use strict";n.d(t,{A:()=>Q});var r=n(7378),o=n(64543),i=n(87907),s=n(65459),a=n(78190),c=n(80806),l=n(52114),d=n(55299),u=n(35067),p=n(38327),h=n(79811),m=n(58441),f=n(86106);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;te.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),y=(0,o.styled)(a.Ay).attrs({size:a.Kk}).withConfig({componentId:"sc-9ieth3-1"})(["color:",";&:hover{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),x=o.styled.nav.withConfig({componentId:"sc-9ieth3-2"})(["display:flex;position:absolute;top:0;width:100%;height:100%;align-items:center;justify-content:space-between;"]),w=o.styled.div.withConfig({componentId:"sc-9ieth3-3"})(["display:flex;"]),j=o.styled.button.withConfig({componentId:"sc-9ieth3-4"})(["display:none;position:relative;z-index:2;width:48px;height:48px;align-items:center;justify-content:center;background:",";cursor:pointer;& .","{pointer-events:none;}@media ","{display:flex;}"],({theme:e})=>e.color.veil.base,m.v4,l.BY),O=(0,o.styled)(j).withConfig({componentId:"sc-9ieth3-5"})([""]),S=o.styled.div.withConfig({componentId:"sc-9ieth3-6"})(["display:flex;position:relative;z-index:1;height:100%;"]),C=o.styled.div.withConfig({componentId:"sc-9ieth3-7"})(["overflow:hidden;height:100%;"]),E=({autoPlayInterval:e,children:t,customScrollAmount:n,loop:o=!1,ParentButtonNext:s,ParentButtonPrev:a,parentIndex:c=0,touchSensitivity:l=75,transitionTime:d=300,setParentIndex:u})=>{const p=`transform ${d}ms ease-out`,h=(0,r.useRef)(),g=(0,r.useRef)(),E=(0,r.useRef)(null),[I,P]=(0,r.useState)(c),[k,A]=(0,r.useState)(p),[T,D]=(0,r.useState)(0),[_,N]=(0,r.useState)(0),[M,L]=(0,r.useState)(0),[z,R]=(0,r.useState)(0),$=s||(e=>(0,f.jsx)(j,b(b({},e),{},{children:(0,f.jsx)(v,{svg:i.wEA})}))),B=a||(e=>(0,f.jsx)(O,b(b({},e),{},{children:(0,f.jsx)(y,{svg:i.$mu})}))),F=()=>P(I-1),V=()=>P(I+1),H=(0,r.useCallback)(()=>P(I+1),[I]);h.current=F,g.current=V;return(0,r.useEffect)(()=>{const e=e=>{"ArrowLeft"===e.key&&h.current&&h.current(),"ArrowRight"===e.key&&g.current&&g.current()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),(0,r.useEffect)(()=>{const e=E.current?E.current.offsetWidth:0;D(()=>n?-I*n-z:-I*e-z),-1===I?setTimeout(()=>{A("none"),P(t.length-1),u&&u(t.length-1)},d):I===t.length?setTimeout(()=>{A("none"),P(0),u&&u(0)},d):setTimeout(()=>{A(p),u&&u(I)},d)},[t,I,n,u,p,d,z]),(0,r.useEffect)(()=>{const e=()=>{const e=E.current?E.current.offsetWidth:0;R(e*t.length)};window.addEventListener("resize",e),e()},[t]),(0,r.useEffect)(()=>{P(c)},[c]),(0,r.useEffect)(()=>{if(e){const t=setInterval(()=>{H()},1e3*e);return()=>clearInterval(t)}},[e,H]),(0,f.jsxs)(C,{className:m.Op,"data-index":I,onTouchStart:e=>{N(e.targetTouches[0].clientX)},onTouchMove:e=>{L(e.targetTouches[0].clientX)},onTouchEnd:()=>{0!==_&&0!==M&&(_-M>l&&V(),_-M<-l&&F()),N(0),L(0)},ref:E,children:[(0,f.jsxs)(S,{style:{transform:`translateX(${T}px)`,transition:k,width:3*z},children:[(0,f.jsx)(w,{style:{width:z},children:t}),(0,f.jsx)(w,{style:{width:z},children:t}),o&&(0,f.jsx)(w,{style:{width:z},children:t})]}),(0,f.jsxs)(x,{children:[(o||I>0)&&(0,f.jsx)(B,{onClick:F,title:"Previous item in carousel","aria-label":"Navigate to previous item"}),(o||Ie.spacing.x1_5,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.veil.base,({theme:e})=>e.color.ink.base,l.n5,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2),D=o.styled.p.withConfig({componentId:"sc-1go3nhn-1"})(["min-height:2.4lh;margin:0;",";@media ","{min-height:none;padding-top:","px;}"],({theme:e})=>e.textStyle.imageCopyright.small,l.BY,({theme:e})=>e.spacing.x2),_=o.styled.div.withConfig({componentId:"sc-1go3nhn-2"})(["margin:0 0 27px 0;&,p{","}@media ","{margin-bottom:","px;}"],({theme:e})=>e.textStyle.bodySecondary.small,l.BY,({theme:e})=>e.spacing.x2),N=o.styled.h3.withConfig({componentId:"sc-1go3nhn-3"})(["margin:0 0 10px;"," @media ","{display:none;}"],({theme:e})=>e.textStyle.bodySecondary.small,l.BY),M=o.styled.header.withConfig({componentId:"sc-1go3nhn-4"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x1_5),L=o.styled.div.withConfig({componentId:"sc-1go3nhn-5"})(["height:100%;flex-grow:1;img{object-fit:contain;}"]),z=o.styled.h4.withConfig({componentId:"sc-1go3nhn-6"})(["display:inline;",""],({theme:e})=>e.textStyle.imageTitle.base),R=o.styled.figure.withConfig({componentId:"sc-1go3nhn-7"})(["display:flex;position:relative;height:100%;flex:1;flex-direction:column;margin:0;"]),$=({autoGallery:e,isCaptionVisible:t,data:n,title:r,crop:o})=>{var i;if(null==n||!n.url)return null;const{caption:s,copyright:a,extra:c,localCaption:l,height:d,title:u,url:p,width:h}=n,m=null===(i=l||s)||void 0===i?void 0:i.replace(/\s{2,}/g," "),g="data:"===p.slice(0,5),b=o&&null!=c&&c.sizes&&!Array.isArray(c.sizes)?(0,I.vu)(c.sizes,o):void 0,v=o===k.m.FREEFORM?void 0:o,y=g?void 0:(0,I.Ly)(p,A,v,!0,b).join(", ");return(0,f.jsxs)(R,{children:[(0,f.jsx)(L,{children:(0,f.jsx)(P.A,{alt:m||u,height:d||0,layout:"fill",src:p,srcset:y,width:h||0})}),t&&(0,f.jsxs)(T,{children:[(0,f.jsxs)(M,{children:[(0,f.jsx)(N,{children:r}),u&&!e&&(0,f.jsx)(z,{children:u})]}),(0,f.jsx)(_,{dangerouslySetInnerHTML:{__html:m||""}}),(0,f.jsx)(D,{children:a})]})]})},B=({adUnitPath:e,name:t,size:n})=>(0,f.jsx)("div",{"data-mpu":"true","data-is-video":"false","data-tile-name":t,"data-ad-unit-path":e,"data-size-key":n}),F=`#${d.t5f}`,V=(0,o.styled)(a.Ay).attrs({size:a.CW}).withConfig({componentId:"sc-1j0gkas-0"})(["position:absolute;top:12px;right:12px;color:",";&:hover{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),H=o.styled.span.withConfig({componentId:"sc-1j0gkas-1"})(["position:absolute;top:2px;left:0;padding:","px;color:",";",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.galleryOverlayCount.base),q=o.styled.div.withConfig({componentId:"sc-1j0gkas-2"})(["position:relative;width:100%;height:100vh;background:",";@media ","{width:calc(100% - 316px);}@media ","{height:calc(100vh - 90px);}@media ","{height:calc(100vh - 50px);}"],({theme:e})=>e.color.canvas.base,l.BY,l.$r,l.V),W=o.styled.header.withConfig({componentId:"sc-1j0gkas-3"})(["position:absolute;right:0;z-index:10;width:100%;height:50px;@media ","{width:316px;height:100%;background:",";}"],l.BY,({theme:e})=>e.color.canvas.base),U=o.styled.h3.withConfig({componentId:"sc-1j0gkas-4"})(["display:flex;padding:","px ","px ","px;margin:0;color:",";",";"],({theme:e})=>e.spacing.x8,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.galleryOverlayTitle.base),G=o.styled.aside.withConfig({componentId:"sc-1j0gkas-5"})(["position:relative;z-index:",";"],u.Op),K=(0,o.styled)(a.Ay).attrs({size:a.CW}).withConfig({componentId:"sc-1j0gkas-6"})(["position:absolute;right:12px;bottom:12px;z-index:2;color:",";&:hover,&:active{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),Y=o.styled.div.withConfig({componentId:"sc-1j0gkas-7"})(["position:absolute;right:8px;bottom:0;z-index:2147483643;width:300px;height:600px;text-align:center;> div:last-child{position:absolute;bottom:0;}@media ","{display:none;}"],l.$r),Z=o.styled.div.withConfig({componentId:"sc-1j0gkas-8"})(["display:none;position:absolute;bottom:0;z-index:2147483643;width:100%;height:90px;text-align:center;@media ","{display:block;}@media ","{height:50px;}"],l.$r,l.V),J=o.styled.span.withConfig({componentId:"sc-1j0gkas-9"})(["display:none;@media ","{display:block;}"],l.BY),Q=({adUnitPath:e,autoGallery:t,disableAds:n,gallery:o,galleryIndex:a=0,galleryOpen:l,id:d,isImage:u,returnFocus:h=F,title:m,toggleGalleryOpen:g})=>{const[b,v]=(0,r.useState)(a),[y,x]=(0,r.useState)(!0),w=o?o.filter(Boolean).map(e=>({type:"image",item:e})):[];return(0,r.useEffect)(()=>{v(a)},[a]),(0,f.jsx)(s.A,{children:(0,f.jsx)(G,{className:p.Gc,children:(0,f.jsx)(c.aF,{className:"gallery-overlay",id:d,isHidden:!l,onBackgroundClick:g,returnFocus:h,children:(0,f.jsxs)("div",{children:[(0,f.jsxs)(W,{children:[(0,f.jsxs)(U,{children:[(0,f.jsxs)(H,{children:[(0,f.jsx)("span",{children:b+1}),"/",o.length]}),(0,f.jsx)(J,{children:m})]}),(0,f.jsx)("button",{onClick:g,"aria-label":"Close Gallery",children:(0,f.jsx)(V,{svg:i.aa$})})]}),(0,f.jsxs)(q,{className:"gallery-carousel",children:[(0,f.jsx)(E,{loop:!0,parentIndex:a,setParentIndex:e=>v(e),children:w.map(({item:e},n)=>{var r;const o=0===n;return(0,f.jsx)($,{autoGallery:t,data:e.data,isCaptionVisible:y,title:m,crop:o&&u?k.m.HERO:null===(r=e.data.crop)||void 0===r?void 0:r.name},e.data.mid)})}),(0,f.jsx)("button",{onClick:()=>{x(!y)},"aria-label":"Toggle Caption Visibility",children:(0,f.jsx)(K,{svg:i.m3x})})]}),!n&&(0,f.jsx)(Y,{children:(0,f.jsx)(B,{adUnitPath:e,name:"gallery",size:"GALLERY"})}),!n&&(0,f.jsx)(Z,{children:(0,f.jsx)(B,{adUnitPath:e,name:"gallery_banner",size:"MOBILE_FOOTER"})})]})})})})}},5203(e,t,n){"use strict";n.d(t,{A:()=>L});var r=n(79811),o=n(73245),i=n(86106),s=n(7378),a=n(69889),c=n(48137),l=(n(37844),n(9969)),d=n(96172),u=n(55802),p=n(64543),h=n(5426),m=n(12486);const f=["ref","href","title","image","isSponsored"],g=["className","items","title","renderSlide"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;ty(e,"name",{value:t,configurable:!0});const w=(0,p.styled)(h.A).withConfig({componentId:"sc-neq4w9-0"})(["display:flex;width:","px;flex-direction:column;row-gap:","px;"],126,({theme:e})=>e.spacing.x1),j=p.styled.div.withConfig({componentId:"sc-neq4w9-1"})(["img{display:block;object-fit:cover;}"]),O=p.styled.p.withConfig({componentId:"sc-neq4w9-2"})(["margin:0;color:inherit;",";"],({theme:e})=>e.textStyle.storyCardTitle.small),S=p.styled.span.withConfig({componentId:"sc-neq4w9-3"})(["display:block;margin-bottom:","px;",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.textStyle.tagBase.xSmall),C=x(e=>{let{ref:t,href:n,title:r,image:s,isSponsored:a=!1}=e,c=(0,o.A)(e,f);return(0,i.jsxs)(w,v(v({},c),{},{ref:t,href:n,children:[(0,i.jsx)(j,{children:s}),(0,i.jsxs)(O,{children:[a&&(0,i.jsx)(S,{children:"sponsored"}),r]})]}))},"RelatedArticlesCarouselItem"),E=(0,p.styled)(c.C).withConfig({componentId:"sc-lfolxg-0"})(["","{gap:","px;}","{display:flex;position:absolute;top:0;right:0;width:var(--nav-width);height:var(--button-width);}@media ","{margin-inline:calc(var(--bleed) * -1);","{scroll-margin:0 var(--bleed);&:first-child{padding-left:var(--bleed);}&:last-child{padding-right:var(--bleed);}}","{right:var(--bleed);}}"],c.S,({theme:e})=>e.spacing.x2,c.N,m.B,c.G,c.N),I=x(({disabled:e,onClick:t})=>(0,i.jsx)(d.I,{size:l.b,svg:a.J,isDisabled:e,onClick:t}),"ButtonPrev"),P=x(({disabled:e,onClick:t})=>(0,i.jsx)(d.I,{size:l.b,svg:a.d,isDisabled:e,onClick:t}),"ButtonNext"),k=x(e=>{let{className:t,items:n,title:r,renderSlide:a}=e,l=(0,o.A)(e,g);return(0,i.jsx)(u.R,{className:t,title:r,children:(0,i.jsx)(E,v(v({},l),{},{ButtonPrev:I,ButtonNext:P,items:n,renderSlide:a||x(({itemIndex:e,item:t})=>(0,s.createElement)(C,v(v({},t),{},{key:e})),"defaultRenderSlide"),initialIndex:c.I}))})},"RelatedArticlesCarousel");var A=n(58441),T=n(97317),D=n(33487),_=n(91080),N=n(38327);const M=({src:e,alt:t})=>{const n=(0,T.fF)(e,[126],[1,2]);return e&&"string"==typeof e?e.startsWith("data:")?(0,i.jsx)(D.A,{src:e,alt:t}):(0,i.jsx)(D.A,{src:e,srcset:n,alt:t,width:126,height:84,layout:"fixed"}):(0,i.jsx)(_.A,{alt:t})},L=({className:e,links:t,title:n,position:r})=>(0,i.jsx)(k,{className:`${null!=e?e:""} ${N.Gc}`,title:null!=n?n:"",items:t,renderSlide:({itemIndex:e,item:t})=>{const{href:n,title:o,sponsored:s,image:a}=t;return(0,i.jsx)(C,{ref:null,className:A.J5,href:n,title:o,image:(0,i.jsx)(M,{src:a,alt:o}),isSponsored:!!s,"data-position":++e,"data-widget-position":r,"data-text":o,"data-vars-event-id":"c29","data-vars-item-name":`related - ${n}`},e)}})},67631(e,t,n){"use strict";n.d(t,{i:()=>o});var r=n(11664);const o=e=>{var t;return null!==(t={[r.z]:"Light mode",[r.v]:"Dark mode"}[e])&&void 0!==t?t:"Light mode"}},33487(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(79811),o=n(73245),i=n(54866),s=n(51070),a=n(86106);const c=["src","srcset","sizes","preload","fetchPriority","loading","layout","height","width"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{let{src:t,srcset:n,sizes:r,preload:l=!1,fetchPriority:u,loading:p="lazy",layout:h,height:m,width:f}=e,g=(0,o.A)(e,c);const b=!!t&&t.startsWith("data:");return(0,a.jsxs)(a.Fragment,{children:[l&&!b&&(0,a.jsx)(s.m,{children:(0,a.jsx)("link",d({rel:"preload",as:"image",href:t,imageSizes:null!=r?r:void 0,fetchPriority:u},n&&{imageSrcSet:n}))}),(0,a.jsx)(i.Ay,d(d({src:t,srcSet:n,sizes:r,fetchPriority:u,layout:null!=h?h:i.uL,height:null!=m?m:void 0,width:null!=f?f:void 0},"high"!==u&&{loading:p}),g))]})}},91080(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(33487),o=n(86106);const i=({className:e,alt:t="Placeholder for missing image"})=>(0,o.jsx)(r.A,{className:e,src:"/img/placeholder.png",layout:"responsive",width:1.3,height:1,alt:t})},56545(e,t,n){"use strict";n.d(t,{FN:()=>f,T5:()=>y,Vi:()=>v,__:()=>g});var r=n(79811),o=n(55299),i=n(92569),s=n(4910),a=n(16061),c=n(74995),l=n(98933),d=n(64542),u=n(20252),p=n(73749);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{const e=(0,l.g8)({[i.cN]:s.D9});d.J4.storeCurrentURL(),(0,c.V)(e)},g=()=>{const e=d.J4.retrieve();d.J4.clear(),(0,c.V)(e)},b=e=>{const{[o.RCF]:t}=e;return t},v=({data:e,offers:t})=>{var n;const{[o.NDf]:r}=e,i=b(e);if(!i)return;return null===(n=t[i])||void 0===n?void 0:n.terms.find(e=>e.termId===r)},y=({data:e,offers:t,redirectUrl:n})=>{const r=b(e),o=v({data:e,offers:t});if(r&&o)return m(m({journey_type:p.v.DONATE,subscription_package:u.nn[r],subscription_length:o.commitment.length,subscription_price:o.commitment.trackingPrice},n&&{subscription_redirect_url:n}),(0,a.A)())}},46075(e,t,n){"use strict";n.d(t,{Ay:()=>f});var r=n(79811),o=n(73245),i=(n(7378),n(64543)),s=n(86655),a=n(58441),c=n(86106);const l=["className","children","disabled","type","withState","formElementRef"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.color.canvas.base,({theme:e})=>e.color.actionBrand.base),m=(0,i.styled)(s.Ay).withConfig({componentId:"sc-104flan-2"})(["&:disabled{cursor:initial;user-select:none;}@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}.btn-loader{display:none;position:relative;top:2px;width:20px;height:20px;border-radius:50%;animation:spin 2s linear infinite;}"]),f=(0,i.styled)(e=>{let{className:t,children:n="Submit",disabled:r,type:i,withState:d,formElementRef:f}=e,g=(0,o.A)(e,l);return(0,c.jsx)(p,{className:t,children:(0,c.jsxs)(m,u(u({className:a.lr,size:s.Zz,name:"submitBtn",type:i||s.HM,disabled:r||!1,ref:f},g),{},{children:[(0,c.jsx)("span",{className:"btn-text",children:n}),(0,c.jsx)(h,{className:"btn-loader"})]}))})}).withConfig({componentId:"sc-104flan-3"})([""])},69773(e,t,n){"use strict";n.d(t,{c:()=>o,e:()=>i});var r=n(64543);const o=r.styled.div.withConfig({componentId:"sc-2mpdcs-0"})(["position:relative;flex:1;text-align:left;a svg{fill:",";}input.input-password::-webkit-credentials-auto-fill-button{position:relative;top:-2px;left:-32px;background:",";}input,select{width:100%;height:",";box-sizing:border-box;align-self:flex-end;padding:5px 16px 0;border:solid 1px ",";border-radius:","px;background:none;appearance:none;color:",";filter:none;-webkit-font-smoothing:antialiased;outline:none;text-decoration:inherit;text-transform:inherit;","}select ~ label,input ~ label{position:absolute;top:-8px;left:16px;overflow:hidden;padding:0 4px;background:",";color:",";pointer-events:none;text-align:left;text-overflow:ellipsis;user-select:none;white-space:nowrap;",";}.error-text,.submit-error-text,.help-text{padding-left:",";margin:0;margin-top:5px;text-align:left;","}.error-text,.submit-error-text{color:",";}.help-text{color:",";}select.user-invalid,.is-touched.user-invalid{border-color:",";box-shadow:0 0 0 1px ",";}.is-touched.user-valid:focus{border-color:",";box-shadow:0 0 0 1px ",";}.is-touched.user-valid ~ .error-text.visible{display:none;}.is-untouched:not(.user-invalid):focus{border-color:",";box-shadow:0 0 0 1px ",";}.is-untouched:not(.form-submitted) ~ .error-text{display:none;}.form-submitted.user-invalid{border-color:",";box-shadow:0 0 0 1px ",";}select.user-invalid ~ .help-text,.is-touched.user-invalid ~ .help-text,.form-submitted.user-invalid ~ .help-text{display:none;}"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.color.ink.muted,({theme:e})=>e.dimension.formField.input.height,({theme:e})=>e.color.divider.light,({theme:e})=>e.dimension.formField.borderRadius,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.fieldWrapperInput.base,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.formLabelOld.base,({theme:e})=>e.dimension.formField.input.paddingX,({theme:e})=>e.textStyle.fieldWrapperNew.base,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.semiotic.error),i=r.styled.div.withConfig({componentId:"sc-2mpdcs-1"})(["input:focus{border-color:",";box-shadow:0 0 0 1px ",";}.invalid{border-color:",";box-shadow:0 0 0 1px ",";}.valid:focus{border:1px solid ",";box-shadow:0 0 0 1px ",";}.disabled button{display:block;background-color:",";cursor:initial;user-select:none;}"],({theme:e})=>e.color.semiotic.info,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.semiotic.disabled)},74299(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(79811),o=n(3698),i=n.n(o),s=n(64543),a=n(58441),c=n(69773),l=n(86106);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.theme.color.semiotic.error,({theme:e})=>e.textStyle.formSelectErrorMessage.base),h=({StyledFieldWrapper:e,fieldName:t,dataTrackingName:n,dataTabIndex:r,tabIndex:o,fieldId:s,displayName:d,helperText:h,inputType:m="text",valueMissingMsg:f,patternMismatchMsg:g,tooLongMessage:b,maxLength:v,pattern:y,requiredField:x=!1,value:w,autocomplete:j,className:O,placeholder:S,showError:C=!0,errorMsg:E="",onChange:I,onBlur:P,onFocus:k,formElementRef:A=null,hideShowPassword:T,"data-testid":D})=>{const _=e||c.c,N=!(!h||E);return(0,l.jsxs)(_,{children:[(0,l.jsx)("input",u({defaultValue:w,type:m,id:s,name:t,"data-tracking-name":n,"data-tabindex":r,className:i()(...(O||"").split(" "),"is-pristine","is-untouched"),pattern:y,required:x,autoComplete:j,placeholder:S,max:v,ref:A,onChange:I,onBlur:P,onFocus:k,tabIndex:o},N&&{"aria-controls":`${s}-helper-text`,"aria-describedby":`${s}-helper-text`})),(0,l.jsx)("label",{htmlFor:s,children:d}),N&&(0,l.jsx)("div",{className:"help-text",id:`${s}-helper-text`,children:h}),f&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"valueMissing","validation-for":s,children:f}),g&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"patternMismatch","validation-for":s,children:g}),b&&v&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"rangeOverflow","validation-for":s,children:b}),C&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"customError","validation-for":s}),E&&(0,l.jsx)(p,{className:a.h,children:E}),T]})}},33176(e,t,n){"use strict";n.d(t,{Dh:()=>o,W_:()=>r,eK:()=>s,g3:()=>a,s3:()=>c,tE:()=>i,uc:()=>l});const r="header-mobile-support-button",o="reg-login-button-support",i="/subscribe?itm_channel=native&itm_campaign=burger_subscribe",s="/independentpremium",a="/login",c="/profile",l="My account"},28812(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(79811),o=n(73245),i=n(64543),s=n(34146),a=n(3778),c=n(6639),l=n(74795),d=n(59487),u=n(86106);const p=["children","loading","className"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{let{children:t,loading:n,className:r}=e,i=(0,o.A)(e,p);const h=function(){var e;const t=(0,a.ED)();if(!t||!(0,d.A)(null===(e=t.__meta__)||void 0===e?void 0:e.name))return l.Eq;const{name:n,inverted:r}=t.__meta__;return r?`${n}${l.Mu}${l.IX}`:n}();return(0,u.jsx)(s.HydrateIsland,m(m({loading:n,className:r,"data-theme-name":h,InnerWrapper:({children:e})=>(0,u.jsx)(c.A,{themeName:h,children:e})},i),{},{children:t}))}).withConfig({componentId:"sc-1ihz57b-0"})([""])},86107(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(79811),o=n(7378),i=n(18865),s=n(7021),a=n(92569),c=n(4910),l=n(22282);const d=(e,t,n)=>{(t?l.EZ:l.vh)({newsletter:e,has_opted_in:n})};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{const[l,u]=(0,o.useState)(e),h=async(e,o)=>{if(!t||e.length<1)return;const i=l;fetch(`${s.Ar}?__amp_source_origin=${encodeURIComponent(window.location.origin)}`,{method:"POST",body:e.reduce((e,t)=>(e.append(t,o.toString()),e),new URLSearchParams),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(t=>{t.ok?n&&(e.forEach(e=>{d(e,o)}),n(e,o)):(r&&r(e,o),u(t=>{const n=p({},t);return e.forEach(e=>{n[e]=p(p({},i[e]),{},{subscribed:!o})}),n}))}),u(t=>p(p({},t),e.reduce((e,n)=>(e[n]=p(p({},t[n]),{},{subscribed:o}),e),{})))};return{newsletters:l,handleSubscribe:e=>{h(e,!0)},handleUnsubscribe:e=>{h(e,!1)},handleAnonSubmit:(e,t)=>{var o;if(e.length<1)return;const h=l,m=[...e];t.optIn&&!m.includes(i.k_.MARKETING_COMMUNICATIONS)&&m.push(i.k_.MARKETING_COMMUNICATIONS),t[a.KT]=`${null!==(o=t[a.KT])&&void 0!==o?o:c.BX} - ${m.join(", ")}`;const f=t;f.newsletters=m,fetch(`${s.Xu}?__amp_source_origin=${encodeURIComponent(window.location.origin)}`,{method:"POST",body:JSON.stringify(f),headers:{"Content-Type":"application/json"}}).then(e=>{e.ok&&n?(u(e=>p(p({},e),m.reduce((t,n)=>(t[n]=p(p({},e[n]),{},{subscribed:!0,signedUp:!0}),t),{}))),m.filter(e=>!e.includes(i.k_.MARKETING_COMMUNICATIONS)).forEach(e=>{d(e,!0,t.optIn)}),t.optIn&&d(i.k_.MARKETING_COMMUNICATIONS,!0),n(m,!0)):(u(h),r&&r(m,!0))}).catch(()=>{u(h),r&&r(m,!0)}),u(e=>p(p({},e),m.reduce((t,n)=>(t[n]=p(p({},e[n]),{},{subscribed:!0,signedUp:!0}),t),{})))}}}},38327(e,t,n){"use strict";n.d(t,{Gc:()=>o,J7:()=>s,Sc:()=>a,lc:()=>i,sB:()=>r});const r="nextSwipeZone",o="nextSwipeIgnore",i=20,s=60,a=30},15808(e,t,n){"use strict";n.d(t,{e:()=>o,ot:()=>r});const r="Price not available",o="Sorry, this content has not loaded."},26002(e,t,n){"use strict";n.d(t,{b:()=>$,A:()=>B});var r=n(64543),o=n(79811),i=n(3698),s=n.n(i),a=n(58441),c=n(86106);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{const n=u[t];return t=>(0,c.jsx)(e,d(d({},t),{},{className:s()(t.className,n)}))};var h,m,f=n(7378);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;tf.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",id:"d79de1a49cc5affb",viewBox:"0 0 1024 650"},e),h||(h=f.createElement("rect",{width:1e3,height:627,x:10,y:10,fill:"#fff",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:20,rx:55})),m||(m=f.createElement("path",{fill:"currentColor",d:"M269 220c-8.96 10.4-23.5 18.7-37.7 17.5-1.85-14.1 5.26-29.1 13.3-38.3 8.96-10.7 24.8-18.4 37.4-19 1.55 14.7-4.32 29.1-13 39.9zm12.8 20.2c8.01.61 31.1 3.07 45.9 25.1-1.24.91-27.4 15.9-27.1 47.4.32 37.6 33.3 50.5 33.6 50.8-.31.92-5.23 17.7-17.3 35.2-10.5 15.3-21.3 30.3-38.5 30.6-16.6.31-22.2-9.78-41.6-9.78-19.1 0-25.2 9.48-41 10.1-16.6.59-29.3-16.2-39.7-31.5-21.9-30.9-38.2-87.5-16.1-125 10.8-19.3 30.8-31.2 52.1-31.5 16.3-.31 31.4 10.7 41.3 10.7 9.87 0 27.8-12.8 48.4-11.6zm207-42.6c44.9 0 76.5 30.7 76.5 75.7 0 44.8-32.2 75.7-77.6 75.7h-50v78.7h-35.9v-230h87zm-51.1 121h41.5c31.3 0 49-16.7 49-45.6 0-29.3-17.8-45.8-48.9-45.8h-41.7zm137 61.1c0-29.7 22.6-46.6 64.3-49.1l45-2.71v-12.7c0-18.6-12.3-28.8-34.6-28.8-18.1 0-31.2 9.22-34 23.4H583c.98-29.7 29.2-51.3 67.3-51.3 41.4 0 68.1 21.3 68.1 54.4v114h-33.2v-27.5h-.79c-9.46 18-30.6 29.2-53.2 29.2-33.3 0-56.6-19.7-56.6-49.3zm109-14.8v-13.2l-40.2 2.55c-22.4 1.42-34.1 10-34.1 24.5 0 14 12.2 23.1 31.2 23.1 24.4 0 43.1-15.4 43.1-36.9zm65 124v-27.5c2.25.3 7.69.62 10.6.62 16.2 0 25.2-6.99 30.6-24.2l3.21-10.2-61.1-167h37.8l42.3 136h.81l42.3-136h36.9l-63.3 176c-14.4 40.6-30.9 53.8-66.2 53.8-2.72 0-11.6-.32-13.9-.96z"})));var v,y,x,w;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;tf.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",id:"f4767adec673bed4",viewBox:"0 0 23 16"},e),v||(v=f.createElement("path",{fill:"#fff",d:"M21.3 15.8H1.7c-.8 0-1.45-.66-1.45-1.46V1.84C.25 1.03.9.37 1.7.37h19.6c.8 0 1.45.66 1.45 1.47v12.5c0 .8-.65 1.46-1.45 1.46"})),y||(y=f.createElement("path",{fill:"currentColor",d:"M22.4 3.46H.6c-.2 0-.36-.17-.36-.38S.4 2.7.6 2.7h21.8c.2 0 .36.17.36.38s-.16.38-.36.38m0 2.66H.6a.37.37 0 0 1-.36-.38c0-.21.16-.38.36-.38h21.8c.2 0 .36.17.36.38s-.16.38-.36.38"})),x||(x=f.createElement("path",{fill:"currentColor",d:"M21.5 16h-20a1.5 1.5 0 0 1-1.48-1.52v-13C.02.64.69-.04 1.5-.04h20c.82 0 1.48.68 1.48 1.52v13A1.5 1.5 0 0 1 21.5 16M1.5.8a.75.75 0 0 0-.74.76v13c0 .42.33.76.74.76h20c.4 0 .74-.34.74-.76v-13A.75.75 0 0 0 21.5.8z"})),w||(w=f.createElement("path",{fill:"currentColor",d:"M8.9 9.54H3.33a.4.4 0 0 1-.37-.38c0-.21.16-.38.37-.38H8.9c.2 0 .37.17.37.38s-.16.38-.37.38M6.3 11.8H3.32a.4.4 0 0 1-.37-.38c0-.21.16-.38.37-.38H6.3c.2 0 .37.17.37.38s-.16.38-.37.38"})));function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;tf.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",id:"Layer_1-2f56c32f030c01bc",viewBox:"0 0 566.9 137.4"},e),f.createElement("path",{d:"m36.1 80.7 6.8-42.9c.6-3.8 2.6-5.6 6.8-5.6h38.7c6.4 0 11.6 1 15.7 2.9-3.9 26.4-20.9 41-43.3 41H41.7c-2.6 0-4.4 1.3-5.6 4.6",style:{fill:"#fff",fillRule:"evenodd",opacity:.9}}),f.createElement("path",{d:"M217.8 30.6c13.1 0 25.1 7.1 23.5 24.8-2 21-13.2 32.6-31 32.7h-15.5c-2.2 0-3.3 1.8-3.9 5.5l-3 19.1c-.5 2.9-1.9 4.3-4.1 4.3h-14.4c-2.3 0-3.1-1.5-2.6-4.8l11.9-76.4c.6-3.8 2-5.2 4.6-5.2h34.6Zm-23.5 40.9h11.8c7.4-.3 12.2-5.4 12.7-14.5.3-5.7-3.5-9.7-9.6-9.7h-11.1zm86.2 39.6c1.3-1.2 2.7-1.8 2.5-.3l-.5 3.5c-.2 1.9.5 2.8 2.2 2.8h12.8c2.2 0 3.2-.9 3.7-4.2l7.9-49.6c.4-2.5-.2-3.7-2.1-3.7h-14.1c-1.3 0-1.9.7-2.2 2.6l-.5 3c-.3 1.6-1 1.9-1.7.3-2.4-5.7-8.5-8.2-17-8-19.8.4-33.1 15.4-34.5 34.7-1.1 14.9 9.6 26.6 23.6 26.6s14.8-3 19.9-7.7m-10.7-7.6c-8.5 0-14.4-6.8-13.2-15.1s9.2-15.1 17.7-15.1 14.4 6.8 13.2 15.1-9.2 15.1-17.7 15.1m64.5-44h-13c-2.7 0-3.8 2-2.9 4.5l16.1 47.3-15.8 22.5c-1.3 1.9-.3 3.6 1.6 3.6h14.6c1.7.2 3.4-.6 4.3-2.1l49.6-71.2c1.5-2.2.8-4.5-1.7-4.5h-13.8c-2.4 0-3.3.9-4.7 2.9l-20.7 30-9.2-30.1c-.5-1.8-1.9-2.8-4.4-2.8Zm105.8-29.3c13.1 0 25.1 7.1 23.5 24.8-2 21-13.2 32.6-31 32.7h-15.5c-2.2 0-3.3 1.8-3.9 5.5l-3 19.1c-.5 2.9-1.9 4.3-4.1 4.3h-14.4c-2.3 0-3.1-1.5-2.6-4.8L401 35.3c.6-3.8 2-5.2 4.6-5.2h34.5Zm-23.5 40.9h11.8c7.3-.3 12.2-5.4 12.7-14.5.3-5.7-3.5-9.7-9.6-9.7h-11.1zm86.2 39.6c1.3-1.2 2.7-1.8 2.5-.3l-.5 3.5c-.2 1.9.5 2.8 2.2 2.8h12.8c2.2 0 3.2-.9 3.7-4.2l7.9-49.6c.4-2.5-.2-3.7-2.1-3.7h-14.1c-1.3 0-1.9.7-2.2 2.6l-.5 3c-.3 1.6-1 1.9-1.7.3-2.4-5.7-8.5-8.2-17-8-19.8.4-33.1 15.4-34.5 34.7-1.1 14.9 9.6 26.6 23.6 26.6s14.8-3 19.9-7.7m-10.7-7.6c-8.5 0-14.4-6.8-13.2-15.1s9.2-15.1 17.7-15.1S511 79.7 509.8 88s-9.2 15.1-17.7 15.1m59.1 13.7h-14.8c-1 0-1.8-.7-1.8-1.7v-.3l13-82.4c.3-1.2 1.3-2 2.5-2h14.8c1 0 1.8.7 1.8 1.7v.3l-13 82.4c-.2 1.2-1.3 2-2.5 2M42.9 37.9c.6-3.8 2.6-5.6 6.8-5.6h38.7c6.4 0 11.6 1 15.6 2.8h.3c.3-1.7.5-3.4.6-5.2.7-8.8-2.3-16.9-8.1-22C88 .3 75.1 0 64.2 0H25.4c-4.7 0-7.1 2.1-7.8 6.5L.4 115.4c-.7 4.4.2 6.4 2.9 6.4h23.9c1.7-.2 2.6-1.5 3-3.7l12.7-80.3Z",style:{fill:"#fff",fillRule:"evenodd"}}),f.createElement("path",{d:"M104 35.2c-3.9 26.4-20.9 41-43.3 41H41.6c-2.6 0-4.4 1.3-5.6 4.6l-8.1 51.1c-.6 3.8.2 5.5 2.5 5.5h24.3c1.5-.1 2.5-1.2 2.8-3.1l4.4-29.3c.8-5 2.7-6.9 5.5-6.9h10.3c20.5 0 35.9-14.1 37.9-39.7.8-10.7-2.7-19-11.8-23.2Z",style:{fill:"#fff",fillRule:"evenodd",opacity:.8}}));var E,I,P,k,A;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;tf.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",id:"acd50c61b269e729",viewBox:"0 0 340 90"},e),E||(E=f.createElement("path",{fill:"#003087",d:"M192 34.2c-.72 0-1.23.7-1.01 1.39l9.96 30.9-9.01 14.6c-.43.71.07 1.62.9 1.62h10.6a1.8 1.8 0 0 0 1.51-.85l27.8-46c.43-.7-.08-1.61-.91-1.61h-10.6a1.8 1.8 0 0 0-1.52.87l-11 18.5-5.56-18.3a1.4 1.4 0 0 0-1.35-1.01zm-82.7-16.1c-.7 0-1.29.5-1.4 1.2l-8.08 51.2a1.3 1.3 0 0 0 1.3 1.51h9.57c.7 0 1.29-.5 1.4-1.2l2.37-15c.11-.69.7-1.2 1.4-1.2h8.7c10.2 0 18.8-7.42 20.4-17.5 1.59-10.1-6.32-19-17.5-19zm9.3 11.4h6.96c5.73 0 7.59 3.38 7 7.12s-3.49 6.51-9.03 6.51h-7.08zm45.8 3.48c-2.42 0-5.2.5-8.32 1.8-7.16 2.98-10.6 9.15-12.1 13.6 0 0-4.65 13.7 5.85 21.3 0 0 9.74 7.25 20.7-.45l-.19 1.2a1.3 1.3 0 0 0 1.29 1.51h9.09c.69 0 1.29-.5 1.4-1.2l5.52-35a1.3 1.3 0 0 0-1.29-1.52h-9.09c-.69 0-1.28.5-1.39 1.2l-.3 1.9s-3.97-4.34-11.2-4.32zm.29 11.1q1.58 0 2.85.42a8.03 8.03 0 0 1 5.5 9.1 10.2 10.2 0 0 1-10.2 8.72 9 9 0 0 1-2.85-.42 8.04 8.04 0 0 1-5.51-9.1 10.2 10.2 0 0 1 10.2-8.73z"})),I||(I=f.createElement("path",{fill:"#0070e0",d:"M328 18.1c-.69 0-1.29.5-1.39 1.2l-8.08 51.2a1.3 1.3 0 0 0 1.3 1.52h9.57c.69 0 1.29-.5 1.39-1.2l8.07-51.2a1.3 1.3 0 0 0-1.29-1.51zm-88.7 0c-.7 0-1.29.5-1.4 1.2l-8.07 51.2a1.3 1.3 0 0 0 1.3 1.51h9.56c.7 0 1.29-.5 1.4-1.2l2.37-15c.11-.69.7-1.2 1.4-1.2h8.7c10.2 0 18.8-7.42 20.4-17.5 1.59-10.1-6.32-19-17.5-19zm9.3 11.4h6.96c5.73 0 7.6 3.38 7.01 7.12s-3.49 6.51-9.04 6.51h-7.08zm45.8 3.48c-2.42 0-5.2.5-8.32 1.8-7.16 2.98-10.6 9.15-12.1 13.6 0 0-4.64 13.7 5.86 21.3 0 0 9.73 7.25 20.7-.45l-.19 1.2a1.3 1.3 0 0 0 1.3 1.51h9.08c.7 0 1.29-.5 1.4-1.2l5.53-35a1.3 1.3 0 0 0-1.3-1.52h-9.08c-.7 0-1.29.5-1.4 1.2l-.3 1.9s-3.96-4.34-11.2-4.32zm.29 11.1q1.57 0 2.86.42a8 8 0 0 1 5.49 9.1 10.2 10.2 0 0 1-10.2 8.72q-1.57 0-2.86-.42a8.04 8.04 0 0 1-5.51-9.1 10.2 10.2 0 0 1 10.2-8.73z"})),P||(P=f.createElement("path",{fill:"#001c64",d:"M29.2 18.1a2.6 2.6 0 0 0-2.56 2.19l-4.24 26.9a2.6 2.6 0 0 1 2.55-2.18h12.4c12.5 0 23.2-9.14 25.1-21.5a21 21 0 0 0 .25-2.79 23.6 23.6 0 0 0-11-2.62z"})),k||(k=f.createElement("path",{fill:"#0070e0",d:"M62.7 20.7a21 21 0 0 1-.25 2.79 25.4 25.4 0 0 1-25.1 21.5h-12.4c-1.27 0-2.36.93-2.55 2.18l-3.91 24.8-2.44 15.5a2.1 2.1 0 0 0 2.07 2.43h13.5a2.6 2.6 0 0 0 2.56-2.19l3.55-22.6a2.6 2.6 0 0 1 2.56-2.18h7.95c12.5 0 23.2-9.14 25.1-21.5 1.38-8.79-3.05-16.8-10.6-20.8z"})),A||(A=f.createElement("path",{fill:"#003087",d:"M13.8.1c-1.27 0-2.35.93-2.55 2.18L.65 69.48a2.1 2.1 0 0 0 2.07 2.43h15.7l3.91-24.8 4.24-26.9a2.6 2.6 0 0 1 2.56-2.18h22.5c4.1 0 7.84.96 11 2.62.22-11.3-9.09-20.6-21.9-20.6z"}))),_=r.styled.svg.withConfig({componentId:"sc-zeouhl-0"})(["color:",";"],({theme:e})=>e.color.ink.black),N=(0,r.styled)(_).attrs({as:O}).withConfig({componentId:"sc-zeouhl-1"})([""]),M=(0,r.styled)(_).attrs({as:b}).withConfig({componentId:"sc-zeouhl-2"})([""]),L=p(D,"light"),z=p(C,"dark"),R=({children:e})=>(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(N,{height:"16px"}),(0,c.jsx)(L,{height:"8px"}),e,(0,c.jsx)(M,{height:"16px"})]}),$=()=>(0,c.jsx)(R,{children:(0,c.jsx)(z,{height:"8px"})}),B=R},20252(e,t,n){"use strict";n.d(t,{AN:()=>d,P4:()=>a,R1:()=>m,Yr:()=>s,ah:()=>c,fo:()=>l,ic:()=>u,nn:()=>p,rl:()=>i});var r=n(33257),o=n(71648);r.FB,r.Ts;const i="Continue to payment",s="monthly",a="single",c=s,l="donate-form-monthly-group",d="donate-form-single-group",u="donate-form-term",p={[s]:o.jl,[a]:o.aZ},h=e=>`https://static.independent.co.uk/static-assets/images/${e}`,m=(h("donate/hero-mobile.jpg"),h("donate/hero-tablet.jpg"),h("donate/hero-desktop.png"),h("donate/us-support-statue-liberty.png"),h("donate/us-support-globe.png"),h("donate/us-support-press.png"),h("donate/us-support-fist.png"),[{title:"Independence – it’s in the name",description:""},{title:"Connect the dots with a global perspective",description:""},{title:"Journalism, grounded in people",description:""},{title:"Support a small but mighty team",description:""}])},80493(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(45186);const o={UK:{prod:"https://www.independent.co.uk/",staging:"https://staging-web.independent.co.uk/",uat:"https://uat-web.independent.co.uk/",dev:"https://dev-web.independent.co.uk/",local:"http://localhost:8020/"},US:{prod:"https://www.the-independent.com/",staging:"https://staging-web.the-independent.com/",uat:"https://uat-web.the-independent.com",dev:"https://dev-web.the-independent.com",local:"http://localhost:8020/"},AS:{prod:"https://www.independent.co.uk/asia",staging:"https://staging-web.independent.co.uk/asia",uat:"https://uat-web.independent.co.uk/asia",dev:"https://dev-web.independent.co.uk/asia",local:"http://localhost:8020/asia"},ES:{prod:"https://www.independentespanol.com/",staging:"https://staging-web.independentespanol.com/",uat:"https://uat-web.independentespanol.com",dev:"https://dev-web.independentespanol.com/",local:"http://localhost:8020/"}},i=(e,t=r.IJ)=>o[e][t]},51547(e,t,n){"use strict";n.d(t,{CY:()=>l,JN:()=>r,MS:()=>a,Q1:()=>d,SB:()=>c,X6:()=>o,wU:()=>i,xV:()=>s});const r="https://www.google.com/recaptcha/enterprise.js?render=",o="Missing key",i="signup_newsletters",s="load_register_page",a="submit_register_form",c="app_login",l="app_register",d="forceShowCaptcha"},46857(e,t,n){"use strict";n.d(t,{KW:()=>c,_g:()=>i,g5:()=>r,gf:()=>o,ko:()=>s,wv:()=>a});const r="UK",o="US",i="AS",s="UK or EEA",a="ROW",c="ES"},16616(e,t,n){"use strict";n.d(t,{K6:()=>s,MV:()=>o,s$:()=>i,s5:()=>r});const r="UK Edition",o="US Edition",i="Asia Edition",s="Edición en Español"},50861(e,t,n){"use strict";n.d(t,{AR:()=>l,BK:()=>r,E1:()=>i,G2:()=>p,GA:()=>a,Uc:()=>s,Vu:()=>f,W:()=>c,_9:()=>u,bR:()=>h,e9:()=>d,gg:()=>m,jt:()=>g,q1:()=>o});const r="Please enter a valid email address",o="Email already in use. Log in or try another",i="Please enter a name between 1 and 40 characters",s="Special characters aren’t allowed",a="Email and password don't match",c="We couldn't log you in. Please try again later",l="Please complete the form to Register",d="Password update failed",u="Current password incorrect",p="Newsletter subscription failed.",h="There was a problem. Please try again",m="There was a problem completing your profile. Please try again",f="There was a problem. Please try again",g="Security verification failed. Please try again."},66617(e,t,n){"use strict";n.d(t,{W1:()=>s,gy:()=>r,pN:()=>a,uV:()=>i,yB:()=>o});const r="jw_player",o="video-youtube",i="youtube",s="image",a="video-jwplayer"},93840(e,t,n){"use strict";n.d(t,{B3:()=>c,Ci:()=>l,HU:()=>p,IC:()=>r,NX:()=>o,RS:()=>s,rN:()=>d,sp:()=>u,w9:()=>a,xv:()=>i});const r="/service/user-policies-a6184151.html",o="/service/terms-and-conditions-subscriptions-a7357841.html",i="/service/cookie-policy-a6184186.html",s="/service/privacy-policy-a6184181.html",a="customerservices@independent.co.uk",c="https://help.independent.co.uk/hc/en-us",l=`mailto:${a}`,d="https://help.independent.co.uk/hc/en-us/requests/new",u="/service/bulletin-app-b2833771.html",p="/service/bulletin-user-policies-b2845825.html"},33401(e,t,n){"use strict";n.d(t,{Ir:()=>m,Jm:()=>c,Sg:()=>f,Ux:()=>p,Ws:()=>r,YU:()=>a,fL:()=>i,gv:()=>s,h$:()=>u,j7:()=>d,lH:()=>l,sU:()=>o,yA:()=>h});const r="subscription-cause",o="forgotten-password-redirect-url",i="consent-to-pay-original-page-redirect-url",s="donate-redirect-url",a="premiumBookmarks",c="cohort_ids",l="regSourceMethod",d="regSourceSection",u="returnUrl",p="color-mode",h="has-next-clicked-swiped",m="_cptt",f="indy_affiliate_user_id"},18865(e,t,n){"use strict";n.d(t,{FZ:()=>r,H7:()=>a,Y3:()=>i,k_:()=>s,rB:()=>o});const r="There was a problem updating your newsletter preferences. Please try again later.",o="premium",i="regular",s={THE_WEEKLY:"receiveTheWeekly",WEEKEND_EDIT:"receiveWeekendEdit",COMMONS_CONFIDENTIAL:"receiveCommonsConfidential",VIEW_FROM_WESTMINSTER:"receiveViewFromWestminster",INSIDE_WASHINGTON:"receiveInsideWashington",MORNING_HEADLINES:"receiveMorningHeadlines",BREAKING_NEWS:"receiveBreakingNews",INSIDE_SPORT:"receiveInsideSport",INSIDE_FOOTBALL:"receiveInsideFootball",RACING:"receiveRacing",INDEPENDENT_CULTURE:"receiveIndependentCulture",COMPS_AND_OFFERS:"receiveCompsAndOffers",TRAVEL_WEEK:"receiveTravelWeek",LESSONS_IN_LIFESTYLE:"receiveLessonsInLifestyle",MONEY:"receiveMoney",WELLNESS:"receiveWellness",INDYBEST:"receiveIndybest",HEALTH_CHECK:"receiveHealthCheck",MARKETING_COMMUNICATIONS:"receiveMarketingCommunications",CLIMATE:"receiveClimateNewsletter",INDY_EATS:"receiveIndyEats",WOMEN:"receiveWomen",NOW_HEAR_THIS:"receiveNowHearThis",INDYTECH:"receiveIndytech",INDY_100:"receiveIndy100",EVENING_HEADLINES:"receiveEveningHeadlines",INDEPENDENT_VOICES:"receiveIndependentVoices",BREXIT_BRITAIN:"receiveBrexitBritain",DAILY_DEALS:"receiveDailyDeals",ON_THE_GROUND:"receiveOnTheGround",DRIVE_SMART:"receiveDriveSmart",HOME:"receiveHome",BULLETIN:"receiveBulletin"},a=[s.THE_WEEKLY,s.COMMONS_CONFIDENTIAL,s.WEEKEND_EDIT]},77779(e,t,n){"use strict";n.d(t,{I8:()=>i,Wd:()=>r,mv:()=>o});const r="independent.co.uk",o="independentespanol.com",i="the-independent.com"},4910(e,t,n){"use strict";n.d(t,{BX:()=>m,D9:()=>s,H2:()=>h,P2:()=>o,Re:()=>a,W4:()=>l,XD:()=>r,Y5:()=>c,ck:()=>d,ot:()=>p,sI:()=>u,wK:()=>i});const r="Bookmarks",o="Nav subscribe CTA",i="Newsletter subscribe CTA",s="Donations",a="Independent App - UK ROW",c="Independent App - US",l="Subscription",d="Register Wall with the Register Form",u="Nav register CTA",p="Subscribe direct",h="Bulletin App",m="Newsletters Page"},33257(e,t,n){"use strict";n.d(t,{FB:()=>r,Gc:()=>s,Ts:()=>o,vV:()=>i});const r="uk",o="us",i="eu",s="others"},71648(e,t,n){"use strict";n.d(t,{aZ:()=>i,jl:()=>o,n6:()=>r,ri:()=>s});const r="IP + Daily Editions",o="Supporter Donation - Monthly",i="Supporter Donation - One-off",s="Miguel Delaney Inside Football Membership"},35067(e,t,n){"use strict";n.d(t,{F:()=>l,GH:()=>c,K1:()=>i,Op:()=>a,Yp:()=>s,v2:()=>o});const r=2147483647,o=1003,i=1000005,s=2,a=r,c=r,l=100},45959(e,t,n){"use strict";n.d(t,{AV:()=>u,LS:()=>r,PV:()=>l,TK:()=>a,Tv:()=>c,bA:()=>i,nf:()=>s,q4:()=>o,uX:()=>d});const r="Email",o="Password",i="Current password",s="New password",a="Re-type new password",c="First name",l="Last name",d="Birth year",u="Commenting name"},92389(e,t,n){"use strict";n.d(t,{nM:()=>T,zh:()=>E,eL:()=>P,nE:()=>_,ni:()=>S,u0:()=>k,HY:()=>A,YE:()=>I,MR:()=>C,oW:()=>D,Lo:()=>M,n2:()=>N});var r=n(14197),o=n(55299),i=n(20099),s=n(28583),a=n(45959);const c=(e=r.Sj)=>e.add(a.LS).string().isEmail().required(),{earliestYear:l,mostRecentYear:d}=(0,s.W5)(),u=c(),p=r.Sj.add(a.bA).string().required(),h=r.Sj.add(a.nf).string().required().hasMin(6,void 0,"At least 6 characters").hasMax(50,"letters").hasMin(1,"uppercaseLetters","1 uppercase letter").hasMin(1,"lowercaseLetters","1 lowercase letter").hasMin(1,"digits","1 number").hasMax(50,"digits").containsNoSpaces().matchesRegex(i.Y5).doesNotMatch(o.c$d,a.bA),m=r.Sj.add(a.TK).string().required().doesMatch(o.b0L,a.nf),f=r.Sj.add(a.q4).string().required().hasMin(6,void 0,"At least 6 characters").hasMax(50,"letters").hasMin(1,"uppercaseLetters","1 uppercase letter").hasMin(1,"lowercaseLetters","1 lowercase letter").hasMin(1,"digits","1 number").hasMax(50,"digits").containsNoSpaces().matchesRegex(i.Y5),g=r.Sj.add(a.Tv).string().required().hasMin(1,"letters").hasMax(40,"letters").matchesRegex(i.K_),b=r.Sj.add(a.PV).string().required().hasMin(1,"letters").hasMax(40,"letters").matchesRegex(i.K_),v=r.Sj.add(a.AV).string().hasMin(3).hasMax(40).matchesRegex(i.P0),y=r.Sj.add(a.uX).number().required().hasRange(l,d),x=r.Sj.add(a.uX).number().hasRange(l,d,"digits"),w=r.Sj.add("Donation amount").string(),j=r.Sj.add("Donation length").string(),O=r.Sj.add("Newsletter subscription length").string(),S=new r.Sj({[o.BRe]:u,[o.ITZ]:p}),C=new r.Sj({[o.BRe]:u,[o.ITZ]:f}),E=new r.Sj({[o.Pt6]:g,[o.S1O]:y}),I=new r.Sj({[o.z$0]:u,[o.GjB]:f,[o.NFZ]:g,[o.cZh]:y}),P=new r.Sj({[o.RCF]:w,[o.NDf]:j}),k=new r.Sj({[o.bxk]:u}),A=new r.Sj({[o.ai7]:g,[o.Gdg]:b,[o.aaL]:v,[o.DKQ]:x,[o.$4h]:u}),T=new r.Sj({[o.c$d]:p,[o.b0L]:h,[o.xew]:m}),D=new r.Sj({[o.LDg]:f}),_=new r.Sj({[o.N8S]:u}),N=new r.Sj({[o.MJe]:O}),M=new r.Sj({[o.o2A]:f})},95067(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(7378),o=n(19937),i=n(63363);const s=(0,r.createContext)(null);i.Qr;function a(e){const t=(0,r.useContext)(s),n=(0,r.useSyncExternalStore)(o.mQ.subscribe,o.mQ.get,()=>null!=t?t:o.mQ.get()),a=!!n.loading;if(n.status===i.e5){const t=e?e(n):n;return{login:o.mQ.actions.login,logout:o.mQ.actions.logout,isLoading:a,profile:t,isAuthenticated:!0}}return{login:o.mQ.actions.login,logout:o.mQ.actions.logout,isLoading:a,profile:null,isAuthenticated:!1}}},8963(e,t,n){"use strict";n.d(t,{e:()=>o});var r=n(7378);const o=e=>{const[t,n]=(0,r.useState)(null!=e&&e),o=(0,r.useCallback)(e=>n(null!=e?e:!t),[t]);return[t,o]}},16061(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(92569),o=n(25127);const i=()=>{try{return(0,o.ow)([r.a$,r.Z4,r.cN,r.B_,r.eX,r.EL]).reduce((e,{key:t,value:n})=>n?(e[t]=n,e):e,{})}catch{return{[r.a$]:null,[r.Z4]:null,[r.cN]:null,[r.B_]:null,[r.eX]:null,[r.EL]:null}}}},43100(e,t,n){"use strict";n.d(t,{$V:()=>s,Ai:()=>te,Ar:()=>F,CY:()=>I,DM:()=>l,Et:()=>H,GJ:()=>M,Gz:()=>R,IC:()=>c,JT:()=>ne,KK:()=>S,Kx:()=>m,Ld:()=>G,M5:()=>w,Mr:()=>y,NJ:()=>x,NS:()=>J,Nl:()=>u,O9:()=>ee,PC:()=>_,Pp:()=>a,Qk:()=>i,Ry:()=>E,SA:()=>z,SU:()=>g,Tv:()=>f,V$:()=>O,WS:()=>N,Z$:()=>L,ZP:()=>V,a4:()=>h,bd:()=>K,cb:()=>v,ei:()=>T,ex:()=>j,h6:()=>Q,i2:()=>Z,iV:()=>d,lB:()=>b,lw:()=>p,oG:()=>P,qE:()=>Y,rC:()=>q,rG:()=>k,rg:()=>W,rh:()=>C,s:()=>D,sZ:()=>U,t6:()=>X,vT:()=>A,we:()=>o,xF:()=>B,zq:()=>$});var r=n(92569);const o="page_referrer",i="pagename",s="page_title",a="page_type",c="channel_hierarchy",l="sub_section",d="sub_section_2",u="homepage_update_time",p="code_version",h="logged_in_status",m="previous_page_path",f="previous_page_type",g="previous_content_id",b="previous_article_topic",v="site_section",y="color_mode",x="user_status",w="user_id",j="account_id",O="user_registration_date",S=r.Z4,C=r.a$,E="reg_source",I="utm_campaign",P="link_label",k="link_location",A="nav_link_location",T="link_destination",D="edition_link_text",_="article_name",N="content_id",M="article_publication_time",L="headline",z="headline_meta_title",R="headline_short",$="headline_social",B="article_author",F="lead_media_item",V="article_publication_date",H="content_source",q="word_count",W="internal_link_count",U="components_list",G="article_modification_date",K="article_topic_tags",Y="commercial_campaign",Z="article_premium_status",J="content_type",Q="product_name",X="product_price",ee="product_rating",te="permutive_id",ne="link_component_location"},8079(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(99842),o=n(74673);const i="eager",s="lazy",a={[i]:700,[s]:100},c=(e,t)=>{(0,r.hydrateComponentList)(e,{StateProvider:t,Wrapper:o.A,rootMargins:a})}},32644(e,t,n){"use strict";n.d(t,{Ay:()=>h,zl:()=>p});var r=n(79811),o=n(67382),i=n(86423),s=n(63119),a=n(25127),c=n(6077),l=n(88666),d=n(32644);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}const p=()=>{const e=(0,c.Ri)(o.kA);var t;e&&(null===(t=window.braze)||void 0===t||t.changeUser(e))},h=async()=>{if(!!window.braze)return d.zl(),!0;try{var e;if(!await(0,s.DR)("5ed8c49c4b8ce4571c7ad801","braze"))return!1;const{braze:{sdkAPIKey:t="",sdkEndpoint:n=""}={}}=window.JSGlobals;return await(0,a.kG)(["https://js.appboycdn.com/web-sdk/4.8/braze.min.js"]),null===(e=window.braze)||void 0===e||e.initialize(t,function(e){for(var t=1;tl,HD:()=>a,Vn:()=>c});var r=n(86423),o=n(55299),i=n(88666);let s=!1;const a=()=>s,c=()=>new Promise(e=>{var t;if(null===(t=window.JSGlobals)||void 0===t||null===(t=t.cmp)||void 0===t||!t.enabled)return void e(!0);const n=document.getElementById(o.X6_);null!=n&&n.error&&e(!1),window.addEventListener(r.eO,()=>{e(!1)});window.__tcfapi("addEventListener",2,(t,n)=>{var r;if(n)if(["useractioncomplete","tcloaded"].includes(t.eventStatus))if(window.__tcfapi("removeEventListener",2,()=>{},t.listenerId),"useractioncomplete"===t.eventStatus&&(s=!0),t.gdprApplies){if((0,i.log)("Consent Or Pay: valid GDPR tcData ---\x3e",t),null!==(r=t.publisher)&&void 0!==r&&null!==(r=r.consents)&&void 0!==r&&r[1])return(0,i.log)('Consent Or Pay: tcData.publisher?.consents?.["1"] ---\x3e',t),void e(!0);e(!1)}else e(!0);else(0,i.log)("Consent Or Pay: !['useractioncomplete', 'tcloaded'].includes(tcData.eventStatus) ---\x3e",{tcData:t,eventStatus:t.eventStatus})})}),l=async(e,t)=>new Promise(n=>{var r;null!==(r=window.JSGlobals)&&void 0!==r&&null!==(r=r.cmp)&&void 0!==r&&r.enabled?window.__tcfapi&&c().then(r=>{r?window.__tcfapi("getCustomVendorConsents",2,r=>{var o;const s=!(null===(o=r.grants)||void 0===o||null===(o=o[e])||void 0===o||!o.vendorGrant);(0,i.log)("CMP:getCustomVendorConsents",t,s),n(s)}):n(!1)}):n(!0)})},27481(e,t,n){"use strict";n.d(t,{Hr:()=>i,Ri:()=>r,TV:()=>o});const r=(e,t=null)=>{const n=`; ${document.cookie}`.split(`; ${e}=`);return 2===n.length?decodeURIComponent(n.pop().split(";").shift()):t},o=(e,t,n)=>{const r=new Date;if(n&&(n.days||n.hours)){const e=n.days?24*n.days*60*60*1e3:60*n.hours*60*1e3;r.setTime(r.getTime()+e)}const o=[];o.push(`${e}=${encodeURIComponent(t)}`),o.push("path=/"),o.push("secure"),n&&o.push(`expires=${r.toUTCString()}`),document.cookie=o.join(";")},i=e=>null!==r(e)},23540(e,t,n){"use strict";n.d(t,{Ay:()=>l,RX:()=>i,Vc:()=>s});var r=n(51547),o=n(25127);const i=()=>{var e,t;return null!==(e=null===(t=window.JSGlobals)||void 0===t?void 0:t.recaptchaV3Key)&&void 0!==e?e:null},s=()=>new Promise((e,t)=>{try{var n;null===(n=grecaptcha)||void 0===n||n.enterprise.ready(e)}catch(e){t(e instanceof Error?e:new Error(String(e)))}});let a=!1,c=null;const l=async()=>{if(!a)return c||(c=(async()=>{try{const e=i();if(!e)throw new Error(r.X6);await(0,o.kG)([`${r.JN}${e}`]),await s(),a=!0}catch(e){if(c=null,e instanceof Error)throw new Error(`reCAPTCHA error: ${e.message}`);throw e}})(),c)}},65045(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(51547),o=n(25127),i=n(23540);const s=async e=>{const t=(0,i.RX)();if(!t)throw new Error(`reCAPTCHA error: ${r.X6}`);try{await(0,o.kG)([`${r.JN}${t}`]),await(0,i.Vc)();return await grecaptcha.enterprise.execute(t,{action:e})}catch(e){if(e instanceof Error)throw new Error(`reCAPTCHA error: ${e.message}`);throw e}}},74995(e,t,n){"use strict";n.d(t,{V:()=>r});const r=e=>{location.href=e}},87444(e,t,n){"use strict";n.d(t,{H_:()=>a,R1:()=>p,R9:()=>l,d_:()=>s,fP:()=>u,hk:()=>c,oW:()=>i,oj:()=>d,sY:()=>o});var r=n(87444);const o=e=>{if(new RegExp(/(\/){2,}/).test(e))throw new Error("Path contains double slashes")},i=async(e,t,n=window.location)=>(o(e),await fetch(`/internal-api${e}?__amp_source_origin=${n.protocol}//${n.host}`,{method:"POST",body:new URLSearchParams(t)})),s=async(e,t)=>(r.sY(e),await fetch(`/api${e}`,{method:"POST",body:new URLSearchParams(t)})),a=async(e,t)=>{var n;null===(n=window.__XDOMAIN_LOGIN__)||void 0===n||n.doCrossDomainLogin(e,t)},c=async({path:e,data:t,isInternalApi:n=!0})=>{const o=(e=>{const t={};return Object.entries(e).forEach(([e,n])=>{"number"==typeof n||n instanceof Blob?t[e]=n.toString():t[e]=n}),t})(t),i=n?r.oW:r.d_,s=await i(e,o),a=await(async e=>{try{return await e.json()}catch(e){throw new Error}})(s);return{res:s,resJson:a}},l=(e,t)=>!e.ok&&t.message?t:void 0,d=(e,t)=>{if(!e.ok&&t)throw new Error},u=async e=>{const{res:t,resJson:n}=await r.hk(e),o=n.verifyErrors||[],i=r.R9(t,n),s=!i&&0===o.length;return r.oj(t,s),{formError:i,fieldErrors:o}},p=async e=>{const{res:t,resJson:n}=await r.hk(e),o=n.fieldErrors,i=r.R9(t,n),s=!i&&!o;return r.oj(t,s),{formError:i,fieldErrors:o}}},42900(e,t,n){"use strict";n.d(t,{u:()=>r});const r=(...e)=>e.map(e=>"object"==typeof e&&null!==e?Object.entries(e).filter(([,e])=>!!e).map(([e])=>e).join(" "):e).filter(e=>!!e).join(" ")},94837(e,t,n){"use strict";n.d(t,{tn:()=>r.tn});var r=n(60050)},97317(e,t,n){"use strict";n.d(t,{Ly:()=>l,YB:()=>a,fF:()=>c,fJ:()=>p,vu:()=>u,yj:()=>d});var r=n(97317),o=n(41737),i=n(62088);const s=e=>/^\d+(\.\d+)?:\d+(\.\d+)?$/.test(e),a=(e,t=null,n=null,r=!1,i=null)=>{if(!e)return"";n&&!s(n)&&(console.warn(`Wrong crop ratio format for image ${e}`),n=null);const a=(0,o.e5)({width:null!=t?t:void 0,crop:n?`${n},smart`:void 0,trim:null!=i?i:void 0});return[(0,o.m$)(e,a),...r&&t?[`${t}w`]:[]].join(" ")},c=(e,t,n,r,o)=>{if(!e||"string"!=typeof e||!Array.isArray(t)||!t.length)return null;if(!Array.isArray(n)||!n.length||n.some(e=>isNaN(e)||e<1))return null;const i=function(e,t){const n=e.flatMap(e=>t.map(t=>t*e));return Array.from(new Set(n)).sort((e,t)=>e-t)}(t,n);return i.map(t=>`${a(e,t,o,!1,r)} ${t}w`).join(", ")},l=(e,t,n=null,o=!0,i)=>e&&t&&t.length?t.map(t=>r.YB(e,t,n,o,i)):[],d=(e,t,n)=>{if(e&&!s(String(e))&&e!==i.m.FREEFORM)return console.warn(`Wrong crop ratio format: ${JSON.stringify(e)}`),["string"==typeof t?parseFloat(t):t,"string"==typeof n?parseFloat(n):n];if(e===i.m.FREEFORM)return[0,0];const r="string"==typeof t?parseFloat(t):t,o="string"==typeof n?parseFloat(n):n;if(isNaN(r)||isNaN(o))return console.warn(`Invalid width or height: ${r}, ${o}`),[r,o];const[a,c]=e.split(":"),l=parseFloat(a),d=parseFloat(c)/l;return o/r{var n;const r=null==e||null===(n=e[t])||void 0===n?void 0:n.trimData;if(!r)return;const{top:o,right:i,bottom:s,left:a}=r;return[o,i,s,a].every(e=>"number"==typeof e)?`${o},${i},${s},${a}`:void 0},p=(e,t)=>{var n,r;const o=null!==(n=null==e||null===(r=e[t])||void 0===r?void 0:r.cropData)&&void 0!==n?n:null;if(o&&"number"==typeof o.width&&"number"==typeof o.height)return[o.width,o.height]}},34744(e,t,n){"use strict";n.d(t,{t:()=>o});var r=n(81188);const o=e=>!(0,r.$)(e)},81188(e,t,n){"use strict";n.d(t,{$:()=>o});var r=n(77779);const o=e=>[r.Wd,r.mv,r.I8].some(t=>!("string"!=typeof e||!e.includes(t))&&((e,t)=>{const n=`((((?:dev|uat|prod)-web)|www)\\.)?${((e="")=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t)}`;return new RegExp(`^(https?:\\/\\/)?${n}`).test(e)})(e,t))},29065(e,t,n){"use strict";n.d(t,{Ck:()=>i,_c:()=>o,bp:()=>s});var r=n(29065);const o=(e,t={})=>{const n=((e={})=>e instanceof URLSearchParams?e:new URLSearchParams(Object.entries(e).reduce((e,[t,n])=>(e[t]=n.toString(),e),{})))(t);return 0===Array.from(n.keys()).length?`${e}`:`${e}?${n}`},i=(e,t)=>{const n=new URL(e,window.location.origin);return r._c(n,t)},s=()=>{const e=window.location.pathname,t=new URLSearchParams(window.location.search);return r.Ck(e,t)}},32546(e,t,n){"use strict";var r=n(18865);n(7021),n(32546);r.k_.BREAKING_NEWS},98933(e,t,n){"use strict";n.d(t,{BS:()=>f,SL:()=>b,g8:()=>m,nv:()=>h,r_:()=>p,xQ:()=>g});var r=n(79811),o=n(73245),i=n(7021),s=n(52854),a=n(29065);n(37032);const c=["offerId","termId"],l=["offerId","termId"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t(0,a._c)("/thank-you",e),h=(e,t=!1)=>{const{offerId:n,termId:r}=e,l=(0,o.A)(e,c),d=(0,s.tP)({offerId:n,termId:r});return(0,a._c)(`${t?i.n5:i.Xn}/payment`,u(u({},d),l))},m=(e={})=>(0,a._c)("/donate",e),f=e=>{const{offerId:t,termId:n}=e,r=(0,o.A)(e,l),i=(0,s.tP)({offerId:t,termId:n});return(0,a._c)("/donate/payment",u(u({},i),r))},g=e=>(0,a._c)("/donate/register",e),b=()=>"/forgotten-password"},64542(e,t,n){"use strict";n.d(t,{fl:()=>l,J4:()=>a,fP:()=>c});var r=n(33401),o=n(79811),i=n(29065);class s{constructor(e,t="/"){(0,o.A)(this,"key",void 0),(0,o.A)(this,"fallback",void 0),this.key=e,this.fallback=t}retrieve(){return localStorage.getItem(this.key)||this.fallback}store(e){localStorage.setItem(this.key,e)}storePath(e){const t=(0,i.Ck)(e);localStorage.setItem(this.key,t)}storeCurrentURL(){const e=(0,i.bp)();localStorage.setItem(this.key,e)}clear(){localStorage.removeItem(this.key)}}const a=new s(r.gv),c=new s(r.sU),l=new s(r.fL)},52854(e,t,n){"use strict";n.d(t,{tP:()=>o});var r=n(78980);const o=({offerId:e,termId:t})=>({[r.l_]:e,[r.DC]:t})},41737(e,t,n){"use strict";n.d(t,{Q$:()=>l,e5:()=>s,m$:()=>c});var r=n(79811);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;tObject.entries(i(i({quality:75},e),{},{auto:"webp"})).filter(([,e])=>void 0!==e&&Boolean(e)).reduce((e,[t,n])=>i(i({},e),{},{[t]:n}),{}),a=e=>"data:"===(null==e?void 0:e.slice(0,5)),c=(e,t)=>{if(!e||a(e))return e;const n=new URLSearchParams(e.includes("?")?e.split("?")[1]:"");return Object.entries(t).forEach(([e,t])=>{void 0!==t&&n.append(e,String(t))}),`${e.split("?")[0]}?${n.toString()}`},l=(e,t)=>{if(!e||a(e))return e;const n=new URLSearchParams(e.includes("?")?e.split("?")[1]:"");return Object.entries(t).forEach(([e,t])=>{void 0!==t&&n.set(e,String(t))}),`${e.split("?")[0]}?${n.toString()}`}},84009(e){"use strict";e.exports=function(e,t,n,r,o,i,s,a){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,s,a],d=0;(c=new Error(t.replace(/%s/g,function(){return l[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},24039(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=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 t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[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(e,o){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;cQ,HelmetData:()=>H,HelmetProvider:()=>W});var r=n(7378),o=n(12700),i=n.n(o),s=n(84009),a=n.n(s),c=n(59141),l=n.n(c),d=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(d||{}),u={rel:["amphtml","canonical","alternate"]},p={type:["application/ld+json"]},h={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},m=Object.values(d),f={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},g=Object.entries(f).reduce((e,[t,n])=>(e[n]=t,e),{}),b="data-rh",v="defaultTitle",y="defer",x="encodeSpecialCharacters",w="onChangeClientState",j="titleTemplate",O="prioritizeSeoTags",S=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},C=e=>{let t=S(e,"title");const n=S(e,j);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=S(e,v);return t||r||void 0},E=e=>S(e,w)||(()=>{}),I=(e,t)=>t.filter(t=>void 0!==t[e]).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),P=(e,t)=>t.filter(e=>void 0!==e.base).map(e=>e.base).reverse().reduce((t,n)=>{if(!t.length){const r=Object.keys(n);for(let o=0;o{const r={};return n.filter(t=>{return!!Array.isArray(t[e])||(void 0!==t[e]&&(n=`Helmet: ${e} should be of type "Array". Instead found type "${typeof t[e]}"`,console&&"function"==typeof console.warn&&console.warn(n)),!1);var n}).map(t=>t[e]).reverse().reduce((e,n)=>{const o={};n.filter(e=>{let n;const i=Object.keys(e);for(let r=0;re.push(t));const i=Object.keys(o);for(let e=0;e{if(Array.isArray(e)&&e.length)for(let n=0;nArray.isArray(e)?e.join(""):e,D=(e,t)=>Array.isArray(e)?e.reduce((e,n)=>(((e,t)=>{const n=Object.keys(e);for(let r=0;r({...e,[t]:void 0}),N=["noscript","script","style"],M=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),L=e=>Object.keys(e).reduce((t,n)=>{const r=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),z=(e,t={})=>Object.keys(e).reduce((t,n)=>(t[f[n]||n]=e[n],t),t),R=(e,t)=>t.map((t,n)=>{const o={key:n,[b]:!0};return Object.keys(t).forEach(e=>{const n=f[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:e}}else o[n]=t[e]}),r.createElement(e,o)}),$=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const o=z(n,{key:t,[b]:!0});return[r.createElement("title",o,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,r)=>{const o=L(n),i=T(t);return o?`<${e} ${b}="true" ${o}>${M(i,r)}`:`<${e} ${b}="true">${M(i,r)}`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>z(t),toString:()=>L(t)};default:return{toComponent:()=>R(e,t),toString:()=>((e,t,n=!0)=>t.reduce((t,r)=>{const o=r,i=Object.keys(o).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===o[t]?t:`${t}="${M(o[t],n)}"`;return e?`${e} ${r}`:r},""),s=o.innerHTML||o.cssText||"",a=-1===N.indexOf(e);return`${t}<${e} ${b}="true" ${i}${a?"/>":`>${s}`}`},""))(e,t,n)}}},B=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:s,title:a="",titleAttributes:c,prioritizeSeoTags:l}=e;let{linkTags:d,metaTags:m,scriptTags:f}=e,g={toComponent:()=>{},toString:()=>""};return l&&({priorityMethods:g,linkTags:d,metaTags:m,scriptTags:f}=(({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=D(e,h),i=D(t,u),s=D(n,p);return{priorityMethods:{toComponent:()=>[...R("meta",o.priority),...R("link",i.priority),...R("script",s.priority)],toString:()=>`${$("meta",o.priority,r)} ${$("link",i.priority,r)} ${$("script",s.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:s.default}})(e)),{priority:g,base:$("base",t,r),bodyAttributes:$("bodyAttributes",n,r),htmlAttributes:$("htmlAttributes",o,r),link:$("link",d,r),meta:$("meta",m,r),noscript:$("noscript",i,r),script:$("script",f,r),style:$("style",s,r),title:$("title",{title:a,titleAttributes:c},r)}},F=[],V=!("undefined"==typeof window||!window.document||!window.document.createElement),H=class{instances=[];canUseDOM=V;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?F:this.instances,add:e=>{(this.canUseDOM?F:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?F:this.instances).indexOf(e);(this.canUseDOM?F:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},q=r.createContext({}),W=class e extends r.Component{static canUseDOM=V;helmetData;constructor(t){super(t),this.helmetData=new H(this.props.context||{},e.canUseDOM)}render(){return r.createElement(q.Provider,{value:this.helmetData.value},this.props.children)}},U=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${b}]`),o=[].slice.call(r),i=[];let s;return t&&t.length&&t.forEach(t=>{const n=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const r=e,o=void 0===t[r]?"":t[r];n.setAttribute(e,o)}n.setAttribute(b,"true"),o.some((e,t)=>(s=t,n.isEqualNode(e)))?o.splice(s,1):i.push(n)}),o.forEach(e=>e.parentNode?.removeChild(e)),i.forEach(e=>n.appendChild(e)),{oldTags:o,newTags:i}},G=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(b),o=r?r.split(","):[],i=[...o],s=Object.keys(t);for(const e of s){const r=t[e]||"";n.getAttribute(e)!==r&&n.setAttribute(e,r),-1===o.indexOf(e)&&o.push(e);const s=i.indexOf(e);-1!==s&&i.splice(s,1)}for(let e=i.length-1;e>=0;e-=1)n.removeAttribute(i[e]);o.length===i.length?n.removeAttribute(b):n.getAttribute(b)!==s.join(",")&&n.setAttribute(b,s.join(","))},K=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:s,noscriptTags:a,onChangeClientState:c,scriptTags:l,styleTags:d,title:u,titleAttributes:p}=e;G("body",r),G("html",o),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=T(e)),G("title",t)})(u,p);const h={baseTag:U("base",n),linkTags:U("link",i),metaTags:U("meta",s),noscriptTags:U("noscript",a),scriptTags:U("script",l),styleTags:U("style",d)},m={},f={};Object.keys(h).forEach(e=>{const{newTags:t,oldTags:n}=h[e];t.length&&(m[e]=t),n.length&&(f[e]=h[e].oldTags)}),t&&t(),c(e,m,f)},Y=null,Z=e=>{Y&&cancelAnimationFrame(Y),e.defer?Y=requestAnimationFrame(()=>{K(e,()=>{Y=null})}):(K(e),Y=null)},J=class extends r.Component{rendered=!1;shouldComponentUpdate(e){return!l()(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let n=null;const r=(o=e.get().map(e=>{const t={...e.props};return delete t.context,t}),{baseTag:P(["href"],o),bodyAttributes:I("bodyAttributes",o),defer:S(o,y),encode:S(o,x),htmlAttributes:I("htmlAttributes",o),linkTags:k("link",["rel","href"],o),metaTags:k("meta",["name","charset","http-equiv","property","itemprop"],o),noscriptTags:k("noscript",["innerHTML"],o),onChangeClientState:E(o),scriptTags:k("script",["src","innerHTML"],o),styleTags:k("style",["cssText"],o),title:C(o),titleAttributes:I("titleAttributes",o),prioritizeSeoTags:A(o,O)});var o;W.canUseDOM?Z(r):B&&(n=B(r)),t(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Q=class extends r.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!i()(_(this.props,"helmetData"),_(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(t=>{n={...n,[t]:e[t]}}),n}warnOnInvalidChildren(e,t){return a()(m.some(t=>e.type===t),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${m.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),a()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(e=>"string"!=typeof e),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`} ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return r.Children.forEach(e,e=>{if(!e||!e.props)return;const{children:r,...o}=e.props,i=Object.keys(o).reduce((e,t)=>(e[g[t]||t]=o[t],e),{});let{type:s}=e;switch("symbol"==typeof s?s=s.toString():this.warnOnInvalidChildren(e,r),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(e,n,i,r);break;default:t=this.mapObjectTypeChildren(e,t,i,r)}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:o}=t;if(e&&(n=this.mapChildrenToProps(e,n)),o&&!(o instanceof H)){o=new H(o.context,!0),delete n.helmetData}return o?r.createElement(J,{...n,context:o.value}):r.createElement(q.Consumer,null,e=>r.createElement(J,{...n,context:e}))}}},69629(e,t,n){"use strict";n.r(t),n.d(t,{Helmet:()=>he,default:()=>me});var r,o,i,s,a=n(23108),c=n.n(a),l=n(75829),d=n.n(l),u=n(12700),p=n.n(u),h=n(7378),m=n(24039),f=n.n(m),g="bodyAttributes",b="htmlAttributes",v="titleAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},x=(Object.keys(y).map(function(e){return y[e]}),"charset"),w="cssText",j="href",O="http-equiv",S="innerHTML",C="itemprop",E="name",I="property",P="rel",k="src",A="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},D="defaultTitle",_="defer",N="encodeSpecialCharacters",M="onChangeClientState",L="titleTemplate",z=Object.keys(T).reduce(function(e,t){return e[T[t]]=t,e},{}),R=[y.NOSCRIPT,y.SCRIPT,y.STYLE],$="data-react-helmet",B="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},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},q=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},W=function(e){var t=Z(e,y.TITLE),n=Z(e,L);if(n&&t)return n.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var r=Z(e,D);return t||r||void 0},U=function(e){return Z(e,M)||function(){}},G=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return V({},e,t)},{})},K=function(e,t){return t.filter(function(e){return void 0!==e[y.BASE]}).map(function(e){return e[y.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},J=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout(function(){J(e)},0)}),Q=function(e){return clearTimeout(e)},X="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||J:n.g.requestAnimationFrame||J,ee="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Q:n.g.cancelAnimationFrame||Q,te=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ne=null,re=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,s=e.metaTags,a=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,d=e.styleTags,u=e.title,p=e.titleAttributes;se(y.BODY,r),se(y.HTML,o),ie(u,p);var h={baseTag:ae(y.BASE,n),linkTags:ae(y.LINK,i),metaTags:ae(y.META,s),noscriptTags:ae(y.NOSCRIPT,a),scriptTags:ae(y.SCRIPT,l),styleTags:ae(y.STYLE,d)},m={},f={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(f[e]=h[e].oldTags)}),t&&t(),c(e,m,f)},oe=function(e){return Array.isArray(e)?e.join(""):e},ie=function(e,t){void 0!==e&&document.title!==e&&(document.title=oe(e)),se(y.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute($),o=r?r.split(","):[],i=[].concat(o),s=Object.keys(t),a=0;a=0;u--)n.removeAttribute(i[u]);o.length===i.length?n.removeAttribute($):n.getAttribute($)!==s.join(",")&&n.setAttribute($,s.join(","))}},ae=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+$+"]"),o=Array.prototype.slice.call(r),i=[],s=void 0;return t&&t.length&&t.forEach(function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===S)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var a=void 0===t[r]?"":t[r];n.setAttribute(r,a)}n.setAttribute($,"true"),o.some(function(e,t){return s=t,n.isEqualNode(e)})?o.splice(s,1):i.push(n)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return n.appendChild(e)}),{oldTags:o,newTags:i}},ce=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[T[n]||n]=e[n],t},t)},de=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[$]=!0,o=le(n,r),[h.createElement(y.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=ce(n),i=oe(t);return o?"<"+e+" "+$+'="true" '+o+">"+q(i,r)+"":"<"+e+" "+$+'="true">'+q(i,r)+""}(e,t.title,t.titleAttributes,n)}};case g:case b:return{toComponent:function(){return le(t)},toString:function(){return ce(t)}};default:return{toComponent:function(){return function(e,t){return t.map(function(t,n){var r,o=((r={key:n})[$]=!0,r);return Object.keys(t).forEach(function(e){var n=T[e]||e;if(n===S||n===w){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]}),h.createElement(e,o)})}(e,t)},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var o=Object.keys(r).filter(function(e){return!(e===S||e===w)}).reduce(function(e,t){var o=void 0===r[t]?t:t+'="'+q(r[t],n)+'"';return e?e+" "+o:o},""),i=r.innerHTML||r.cssText||"",s=-1===R.indexOf(e);return t+"<"+e+" "+$+'="true" '+o+(s?"/>":">"+i+"")},"")}(e,t,n)}}}},ue=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,s=e.metaTags,a=e.noscriptTags,c=e.scriptTags,l=e.styleTags,d=e.title,u=void 0===d?"":d,p=e.titleAttributes;return{base:de(y.BASE,t,r),bodyAttributes:de(g,n,r),htmlAttributes:de(b,o,r),link:de(y.LINK,i,r),meta:de(y.META,s,r),noscript:de(y.NOSCRIPT,a,r),script:de(y.SCRIPT,c,r),style:de(y.STYLE,l,r),title:de(y.TITLE,{title:u,titleAttributes:p},r)}},pe=d()(function(e){return{baseTag:K([j,A],e),bodyAttributes:G(g,e),defer:Z(e,_),encode:Z(e,N),htmlAttributes:G(b,e),linkTags:Y(y.LINK,[P,j],e),metaTags:Y(y.META,[E,x,O,I,C],e),noscriptTags:Y(y.NOSCRIPT,[S],e),onChangeClientState:U(e),scriptTags:Y(y.SCRIPT,[k,S],e),styleTags:Y(y.STYLE,[w],e),title:W(e),titleAttributes:G(v,e)}},function(e){ne&&ee(ne),e.defer?ne=X(function(){re(e,function(){ne=null})}):(re(e),ne=null)},ue)(function(){return null}),he=(o=pe,s=i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return V({},r,((t={})[n.type]=[].concat(r[n.type]||[],[V({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,s=e.nestedChildren;switch(r.type){case y.TITLE:return V({},o,((t={})[r.type]=s,t.titleAttributes=V({},i),t));case y.BODY:return V({},o,{bodyAttributes:V({},i)});case y.HTML:return V({},o,{htmlAttributes:V({},i)})}return V({},o,((n={})[r.type]=V({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=V({},t);return Object.keys(e).forEach(function(t){var r;n=V({},n,((r={})[t]=e[t],r))}),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return h.Children.forEach(e,function(e){if(e&&e.props){var o=e.props,i=o.children,s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[z[n]||n]=e[n],t},t)}(H(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}}}),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=H(e,["children"]),r=V({},n);return t&&(r=this.mapChildrenToProps(t,r)),h.createElement(o,r)},F(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(h.Component),i.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=ue({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},s);he.renderStatic=he.rewind;const me=he},60824(e,t,n){"use strict";var r;!function(){if("function"!=typeof o){var o=function(e){return e};o.nonNative=!0}const i=o("plaintext"),s=o("html"),a=o("comment"),c=/<(\w*)>/g,l=/<\/?([^\s\/>]+)/;function d(e,t,n){return p(e=e||"",u(t=t||[],n=n||""))}function u(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=c.exec(e);)t.add(n[1])}else o.nonNative||"function"!=typeof e[o.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function p(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,r=t.tag_replacement,o=t.state,c=t.tag_buffer,l=t.depth,d=t.in_quote_char,u="";for(let t=0,p=e.length;t":if(d)break;if(l){l--;break}d="",o=i,c+=">",n.has(h(c))?u+=c:u+=r,c="";break;case'"':case"'":d=p===d?"":d||p,c+=p;break;case"-":""===p)"--"==c.slice(-2)&&(o=i),c="";else c+=p}return t.state=o,t.tag_buffer=c,t.depth=l,t.in_quote_char=d,u}function h(e){let t=l.exec(e);return t?t[1].toLowerCase():null}d.init_streaming_mode=function(e,t){let n=u(e=e||[],t=t||"");return function(e){return p(e||"",n)}},void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}()},34146(e,t,n){(()=>{"use strict";var t={"react/jsx-runtime"(e){e.exports=n(86106)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};if(!(e in t)){delete r[e];var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}return t[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{o.r(i),o.d(i,{CLASS_HYDRATE_ROOT:()=>c,HydrateIsland:()=>u,REGEXP_SCRIPT_CLOSE_IN_JSON:()=>l,SCRIPT_CLOSE_ESCAPED:()=>d,default:()=>p});var e=o("react/jsx-runtime");function t(e){return t="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},t(e)}var n=["className","children","loading","InnerWrapper"];function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;to});var r=n("./components/HydrateIsland.tsx");const o=function(){return Array.from(document.getElementsByClassName(r.CLASS_HYDRATE_ROOT))}},"./bootstrap/helpers/loadIsland.tsx"(e,t,n){n.r(t),n.d(t,{default:()=>d});var r=n("react"),o=n("react-dom/client"),i=n("react/jsx-runtime");function s(e){return s="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},s(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;tc,isShowLog:()=>i,log:()=>s,retrieveShowLogReference:()=>o,warn:()=>a});var r=n("./bootstrap/helpers/log.ts"),o=function(){},i=function(){var e,t=r.retrieveShowLogReference();void 0===t&&(t=new URLSearchParams(null===(e=window)||void 0===e||null===(e=e.location)||void 0===e?void 0:e.search).has("__DEBUG__"));return t},s=function(){var e;r.isShowLog()&&(e=console).log.apply(e,arguments)},a=function(){var e;r.isShowLog()&&(e=console).warn.apply(e,arguments)},c=function(){var e;r.isShowLog()&&(e=console).error.apply(e,arguments)}},"./bootstrap/helpers/primeIsland.tsx"(e,t,n){n.r(t),n.d(t,{createIntersectionHandler:()=>d,default:()=>u});var r=n("./bootstrap/helpers/loadIsland.tsx"),o=n("./bootstrap/helpers/log.ts");function i(e){return i="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},i(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(this.unobserve(n.target),e())}};const u=function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=i.StateProvider,l=i.Wrapper,u=i.rootMargins,p=(null===(n=e.nextElementSibling)||void 0===n?void 0:n.textContent)||"",h=JSON.parse(p),m=e.dataset,f=e.dataset.component||"",g=e.dataset.loading||"",b=(null==u?void 0:u[g])||null,v=function(e){for(var t=1;ti,primeIsland:()=>o.default});var r=n("./bootstrap/helpers/getHydrateRoots.ts"),o=n("./bootstrap/helpers/primeIsland.tsx");const i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.StateProvider,i=t.Wrapper,s=t.rootMargins;(0,r.default)().forEach(function(t){return(0,o.default)(t,e,{StateProvider:n,Wrapper:i,rootMargins:s})})}},"./components/HydrateIsland.tsx"(e,t,n){n.r(t),n.d(t,{CLASS_HYDRATE_ROOT:()=>l,HydrateIsland:()=>p,REGEXP_SCRIPT_CLOSE_IN_JSON:()=>d,SCRIPT_CLOSE_ESCAPED:()=>u,default:()=>h});var r=n("react/jsx-runtime");function o(e){return o="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},o(e)}var i=["className","children","loading","InnerWrapper"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{i.r(s),i.d(s,{hydrateComponent:()=>t.default,hydrateComponentList:()=>e.default});var e=i("./bootstrap/hydrateComponentList.ts"),t=i("./bootstrap/helpers/primeIsland.tsx")})(),e.exports=s},20870(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},3698(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;tu,Dkf:()=>f,EqN:()=>P,HMY:()=>D,Jb8:()=>l,M3e:()=>M,MIb:()=>S,Ndj:()=>z,PeZ:()=>v,QfB:()=>R,Qmr:()=>p,TOW:()=>E,Vqz:()=>k,VwP:()=>g,a98:()=>O,aa$:()=>b,ap2:()=>B,clj:()=>A,eFu:()=>y,g9A:()=>$,hBr:()=>C,idz:()=>c,kWN:()=>j,lxp:()=>x,m3x:()=>w,mgI:()=>N,nOz:()=>L,nY7:()=>d,pZI:()=>T,tux:()=>_,uQQ:()=>a,wEA:()=>m,wKE:()=>h,xNU:()=>I});var r=n(79811),o=n(7378);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;to.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"a4ca3ee3d8e82fb1",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M12.8 13a1.2 1.2 0 0 0-1.06-1.18h-.12c-.61 0-1.12.46-1.18 1.05V13c0 .66.52 1.18 1.17 1.18 0 0 7.56 1.34 0 0 .62 0 1.12-.46 1.18-1.06zM5.24 7.96a1.18 1.18 0 1 0-1.18 1.18s7.58 1.34 0 0c.65 0 1.18-.53 1.18-1.18m7.56-5.04a1.2 1.2 0 0 0-1.06-1.18h-.12a1.18 1.18 0 1 0 0 2.35s7.58 1.33 0 0c.65 0 1.18-.53 1.18-1.18zm1.77.15a2.96 2.96 0 0 1-4.9 2.08L6.95 7.33l.06.42.01.21q0 .35-.08.67l2.7 2.16a2.96 2.96 0 1 1-.91 1.54l-2.71-2.16q-.76.68-1.81.75h-.16a2.97 2.97 0 0 1-2.96-2.8v-.16A2.96 2.96 0 0 1 4.03 5h.16c.71.04 1.34.33 1.83.77l2.7-2.15q-.06-.22-.08-.47l-.01-.23a2.96 2.96 0 1 1 5.92 0z"})),c=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"af0c7283e477d63c",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.22 0H1.78v16L8 13.33 14.22 16z",clipRule:"evenodd"})),l=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"1099a1cebbc3095a",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.22 0H1.78v16L8 13.33 14.22 16zm-1.78 13.33L8 11.4l-4.44 1.93V1.78h8.88z",clipRule:"evenodd"})),d=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"8a2f20120e5bfc2c",viewBox:"0 0 12 12"},e),o.createElement("path",{fill:"currentColor",d:"M9.54 1.07 8.46 0l-6 6 6 6 1.08-1.07L4.6 6z"})),u=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"ab801e9051d4a09b",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M12.72 1.43 11.28 0l-8 8 8 8 1.44-1.43L6.15 8z"})),p=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"2422b6d2ea3c94a1",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M19.07 2.15 16.92 0l-12 12 12 12 2.15-2.15L9.22 12z"})),h=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"6f4d1bc6d16cc062",viewBox:"0 0 12 12"},e),o.createElement("path",{fill:"currentColor",d:"M2.46 1.07 3.54 0l6 6-6 6-1.08-1.07L7.4 6z"})),m=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"880bed48e7887788",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M3.28 1.43 4.72 0l8 8-8 8-1.44-1.43L9.85 8z"})),f=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"0cc0821d7a7ef294",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M4.93 2.15 7.08 0l12 12-12 12-2.15-2.15L14.78 12z"})),g=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"1134318d8f430b3e",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M3.33 2 14 12.67 12.67 14 2 3.33z"}),o.createElement("path",{fill:"currentColor",d:"M2 12.67 12.67 2 14 3.33 3.33 14z"})),b=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"e2046b553e9a4657",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),v=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"b3ca66bab03dc5a7",fill:"none",viewBox:"0 0 24 24"},e),o.createElement("path",{d:"M21.6 2.4H2.4A2.4 2.4 0 0 0 .01 4.8L0 19.2a2.4 2.4 0 0 0 2.4 2.4h19.2a2.4 2.4 0 0 0 2.4-2.4V4.8a2.4 2.4 0 0 0-2.4-2.4m0 16.8H2.4V12h19.2zm0-12H2.4V4.8h19.2z"})),y=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"38340ec6812b4ae6",fill:"none",viewBox:"0 0 12 12"},e),o.createElement("path",{d:"M10.67 10.67H1.33V1.33H6V0H1.33C.6 0 0 .6 0 1.33v9.34C0 11.4.6 12 1.33 12h9.34c.73 0 1.33-.6 1.33-1.33V6h-1.33zM7.33 0v1.33h2.4L3.17 7.9l.94.94 6.56-6.56v2.4H12V0z"})),x=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"93bcd3e752be6596",viewBox:"0 0 12 12"},e),o.createElement("path",{fill:"currentColor",d:"M5.4 3h1.2v1.2H5.4zm0 2.4h1.2V9H5.4zM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0"})),w=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"3ee0fe442977e1bd",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M10.8 6h2.4v2.4h-2.4zm0 4.8h2.4V18h-2.4zM12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24"})),j=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"9cda317613a68b2e",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("g",{stroke:"currentColor",strokeWidth:1.3,clipPath:"url(#clip0_3517_20446)"},o.createElement("path",{strokeMiterlimit:10,d:"M14.76 6.21V1.98c0-.66-.54-1.2-1.2-1.2H2.7c-.67 0-1.2.54-1.2 1.2v4.23m12.6 9.02c.98 0 1.5-.94.85-1.54L9.8 9a4 4 0 0 0-3.62 0l-5.13 4.7c-.66.59-.14 1.53.84 1.53m12.2 0H1.9m12.2 0c.58 0 1.14-.3 1.14-.72V6.87c0-.61-1.16-.94-1.89-.53L9.13 8.72a4.6 4.6 0 0 0-2.26 0L2.65 6.34c-.73-.4-1.89-.08-1.89.53v7.64c0 .43.56.72 1.14.72"}),o.createElement("path",{strokeLinecap:"round",d:"M4.34 5.37h7.32M4.34 3.32h7.32"})),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_3517_20446"},o.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"})))),O=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"40176ba47cb235d8",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M3.54 13.8a3.37 3.37 0 0 1-2.39-5.76l3.48-3.48A3.37 3.37 0 1 1 9.4 9.33l-.38.37-.96-.96.38-.38a2 2 0 0 0 0-2.84 2.06 2.06 0 0 0-2.85 0L2.12 9a2 2 0 0 0 0 2.84 2.06 2.06 0 0 0 2.84 0l.96.96a3.4 3.4 0 0 1-2.38 1"}),o.createElement("path",{fill:"currentColor",d:"M8.99 12.43A3.37 3.37 0 0 1 6.6 6.67l.38-.37.96.96-.37.38a2 2 0 0 0 0 2.84 2.06 2.06 0 0 0 2.84 0L13.89 7a2 2 0 0 0 0-2.84 2.06 2.06 0 0 0-2.84 0l-.97-.97a3.37 3.37 0 0 1 4.77 4.77l-3.48 3.48a3.4 3.4 0 0 1-2.38.99"}),o.createElement("path",{fill:"currentColor",d:"M14.31 5.58c0-.5-.2-.96-.54-1.3a1.9 1.9 0 0 0-2.61 0l-.12.1L9.85 3.2l.12-.11a3.54 3.54 0 0 1 5 5l-3.48 3.48a3.5 3.5 0 0 1-2.5 1.03 3.54 3.54 0 0 1-2.5-6.03l.49-.5 1.2 1.2-.5.5a1.85 1.85 0 0 0 0 2.6l.14.12q.51.4 1.17.4v.17c-.53 0-1.04-.2-1.42-.57a2 2 0 0 1-.58-1.23l-.01-.2a2 2 0 0 1 .59-1.41l.37-.38-.96-.96-.38.37-.17.19q-.58.67-.75 1.54l-.04.25a3.4 3.4 0 0 0 1.47 3.21 3.4 3.4 0 0 0 3.01.37l.16-.06q.54-.21.97-.61l.12-.12 3.48-3.48c.6-.59.94-1.38.98-2.21v-.17c0-.84-.3-1.64-.87-2.26l-.11-.12a3.37 3.37 0 0 0-4.77 0l.97.96c.38-.37.89-.57 1.42-.57h.2q.7.08 1.22.57c.37.38.58.89.58 1.42v.1A2 2 0 0 1 13.9 7l-3.48 3.48a2 2 0 0 1-1.42.57v-.17c.48 0 .95-.18 1.3-.52l3.48-3.48c.35-.34.54-.81.54-1.3M8.86 6.94c0-.49-.2-.95-.54-1.3a1.9 1.9 0 0 0-2.61 0L2.23 9.12a1.85 1.85 0 0 0 0 2.6c.35.34.82.53 1.3.53v.16c-.52 0-1.03-.2-1.41-.57q-.21-.21-.36-.47l-.08-.18a2 2 0 0 1-.14-.57l-.01-.2A2 2 0 0 1 2.12 9l3.47-3.48a2 2 0 0 1 1.42-.57l.2.01c.46.04.9.24 1.23.56.37.38.58.89.58 1.42v.1a2 2 0 0 1-.58 1.32l-.38.38.96.96.38-.37a3.4 3.4 0 0 0 .98-2.22v-.17a3.37 3.37 0 0 0-3.2-3.37h-.17a3.4 3.4 0 0 0-2.38.99L1.15 8.04l-.17.18Q.4 8.89.23 9.76l-.04.25a3.37 3.37 0 0 0 4.48 3.59l.16-.06q.61-.26 1.1-.74l-.97-.96a2 2 0 0 1-1.42.57v-.16c.48 0 .95-.2 1.3-.53l.12-.1 1.08 1.07.11.11-.11.12a3.5 3.5 0 0 1-2.5 1.03 3.53 3.53 0 0 1-2.5-6.03L4.5 4.44a3.54 3.54 0 0 1 5 5l-.49.5-.11-.12-.97-.96-.11-.12.5-.5c.34-.34.53-.81.53-1.3"})),S=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"a4432d14eb255510",fill:"none",viewBox:"0 0 24 24"},e),o.createElement("path",{d:"M0 13.33h2.67v-2.66H0zm0 5.34h2.67V16H0zM0 8h2.67V5.33H0zm5.33 5.33H24v-2.66H5.33zm0 5.34H24V16H5.33zm0-13.34V8H24V5.33z"})),C=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"0883a910e28ecfda",fill:"none",viewBox:"0 0 25 24"},e),o.createElement("path",{d:"M19.05 8H17.9V5.71a5.71 5.71 0 0 0-11.42 0V8H5.33a2.3 2.3 0 0 0-2.28 2.29V21.7A2.3 2.3 0 0 0 5.33 24h13.72a2.3 2.3 0 0 0 2.28-2.29V10.3A2.3 2.3 0 0 0 19.05 8M8.76 5.71a3.43 3.43 0 0 1 6.86 0V8H8.76zm10.29 16H5.33V10.3h13.72zm-6.86-3.42a2.29 2.29 0 1 0 0-4.58 2.29 2.29 0 0 0 0 4.58"})),E=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"1c0d55a4cf9c9f7d",fill:"none",viewBox:"0 0 24 24"},e),o.createElement("path",{d:"M19.64 2.18h3.27V12h-2.18V7.64H3.27v14.18h7.64V24H1.09V2.18h3.27V0h2.19v2.18h10.9V0h2.19z"}),o.createElement("path",{d:"M21.63 19.08a4 4 0 0 0-.01-1.07l1.18-.9a.3.3 0 0 0 .08-.34l-1.13-1.89q-.12-.18-.34-.12l-1.4.54q-.43-.33-.94-.53l-.21-1.45a.3.3 0 0 0-.28-.23h-2.25q-.22.02-.27.23l-.21 1.45q-.52.2-.95.53l-1.4-.54a.3.3 0 0 0-.34.12l-1.11 1.89q-.1.2.07.34l1.18.9a3 3 0 0 0-.01 1.07l-1.19.9a.3.3 0 0 0-.07.34l1.13 1.89c.07.13.21.16.34.13l1.4-.55q.43.33.94.53l.21 1.45q.06.21.28.23h2.25q.23-.02.27-.23l.21-1.45q.52-.2.95-.53l1.4.55c.12.04.27 0 .34-.13l1.12-1.89a.26.26 0 0 0-.07-.34zm-4.18 1.51c-1.15 0-2.1-.92-2.1-2.04s.95-2.05 2.1-2.05 2.1.92 2.1 2.05-.94 2.04-2.1 2.04"})),I=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"4fdf6b935679aab8",fill:"none",viewBox:"0 0 371 33"},e),o.createElement("g",{clipPath:"url(#clip0_79_1248)"},o.createElement("path",{fill:"#222",fillRule:"evenodd",d:"m43.25 7.27.79.16c1.85.37 2.1 1.46 2.1 2.47v12.77c0 1.05-.25 2.08-2.1 2.45l-.8.15v.41h9.2v-.4l-.8-.16c-1.84-.37-2.09-1.4-2.09-2.45V9.9c0-1.01.25-2.1 2.1-2.47l.79-.16v-.4h-9.2zm184.22-.4v6.33h.38l.94-2.35c.92-2.3 1.87-3.55 4.3-3.55h1.02v15.37c0 1-.24 2.18-2.06 2.47l-.79.13v.41h9.05v-.41l-.79-.13c-1.83-.3-2.06-1.47-2.06-2.47V7.3h1.01c2.44 0 3.4 1.25 4.31 3.55l.93 2.35h.39V6.87zm-7.8.41.73.1c1.37.2 2.64.88 2.67 4.45l.08 8.58-7.22-8.63c-2.16-2.59-3.04-3.68-3.68-4.84l-.04-.07h-6.6v.4l.13.03c1.35.25 2.2.8 3.63 2.38l.28.3v9.86c0 4.23-1.32 4.9-2.9 5.3l-.53.14v.4h7.39v-.4l-.53-.13c-1.41-.38-2.87-.77-2.9-5.3l-.08-9.38 13.06 15.55.04.06h.4V11.83c0-3.58 1.36-4.26 2.68-4.45l.73-.1v-.41h-7.34zM143.16 22.3c-1.22 2.15-2.72 2.95-5.51 2.95h-.77c-1.55 0-2.25-.78-2.25-2.52v-6.51l1.14.02c2.79.05 3.55.18 4.42 2.94l.31 1h.38v-8.42h-.38l-.31 1.03c-.85 2.75-1.68 2.88-4.42 2.94l-1.14.02V7.3h1.97c3.28 0 4.76.7 5.86 2.78l1.25 2.32h.36V6.87h-15.5v.4l.77.16c1.68.35 2.02 1.17 2.02 2.39v12.85c0 1-.23 2.18-2.02 2.47l-.76.13v.41h16.19v-5.54h-.36zm59.46 0c-1.25 2.15-2.78 2.95-5.65 2.95h-.8c-1.59 0-2.3-.78-2.3-2.52v-6.51l1.17.02c2.86.05 3.65.18 4.53 2.94l.33 1h.39v-8.42h-.4l-.32 1.03c-.86 2.75-1.71 2.88-4.53 2.94l-1.17.02V7.3h2.02c3.36 0 4.88.7 6.02 2.78l1.28 2.32h.37V6.87h-15.91v.4l.78.16c1.73.35 2.07 1.17 2.07 2.39v12.85c0 1-.23 2.18-2.06 2.47l-.79.13v.41h16.63v-5.54h-.37zm-121.92.35V7.3h2.38c4.75 0 7.59 3.35 7.59 8.97 0 5.7-2.68 8.98-7.36 8.98h-.58c-1.69 0-2.04-1.04-2.04-2.6m3.17-15.78H67.1v.4l.74.1c1.7.25 2.68.97 2.7 3.93l.08 9.1-7.29-8.62c-2.13-2.53-3.06-3.67-3.7-4.84l-.05-.07h-6.66v.4l.12.03c1.37.25 2.23.8 3.67 2.38l.28.3v9.86c0 4.23-1.33 4.9-2.92 5.3l-.54.14v.4h7.46v-.4l-.54-.13c-1.42-.38-2.9-.76-2.92-5.3l-.08-9.38 13.22 15.6h.4v-15.2q.01-3.56 3.13-3.57t3.13 3.58v11.8c0 1.1-.26 2.15-2.1 2.46l-.76.13v.41h9.4c3.25 0 5.97-1 7.87-2.9a9.2 9.2 0 0 0 2.66-6.59c0-2.53-.94-4.84-2.66-6.5-1.9-1.85-4.62-2.82-7.87-2.82m89.73 15.78V7.3h2.37c4.7 0 7.5 3.35 7.5 8.97 0 5.7-2.65 8.98-7.27 8.98h-.58c-1.67 0-2.02-1.04-2.02-2.6m3.15-15.78h-16.6v.4l.74.1c1.67.25 2.64.97 2.67 3.93l.07 9.1-7.2-8.62c-2.17-2.59-3.04-3.68-3.68-4.84l-.04-.07h-6.59v.4l.13.03c1.35.25 2.2.8 3.63 2.38l.27.3v9.86c0 4.23-1.31 4.9-2.9 5.3l-.53.14v.36h7.39v-.36l-.53-.13c-1.41-.38-2.87-.76-2.9-5.3l-.07-9.38 13.04 15.55.04.06h.4v-15.2q0-3.58 3.1-3.58 3.08 0 3.09 3.58v11.8c0 1.1-.26 2.15-2.07 2.46l-.76.13v.41h9.3c3.21 0 5.9-1 7.79-2.9a9.3 9.3 0 0 0 2.63-6.59c0-2.53-.93-4.84-2.63-6.5-1.88-1.85-4.57-2.82-7.8-2.82m-55.8 0h-8.12v.4l.78.16c1.82.37 2.07 1.4 2.07 2.44v12.8c0 1.05-.25 2.08-2.07 2.45l-.78.15v.41h9.4v-.4l-.61-.14c-2.14-.44-2.55-.88-2.55-2.73V7.3h.8c2.9 0 4.63 1.96 4.63 5.25 0 3.28-1.73 5.24-4.63 5.24h-.2v.46h1.28c4.24 0 7.2-2.35 7.2-5.7s-2.96-5.68-7.2-5.68",clipRule:"evenodd"}),o.createElement("path",{fill:"#222",fillRule:"evenodd",d:"M108.98 22.3c-1.25 2.15-2.78 2.95-5.65 2.95h-.8c-1.6 0-2.3-.78-2.3-2.52v-6.51l1.16.02c2.87.05 3.66.18 4.54 2.94l.32 1h.4v-8.42h-.4l-.32 1.03c-.87 2.75-1.72 2.88-4.54 2.94l-1.16.02V7.3h2.01c3.37 0 4.9.7 6.03 2.78l1.28 2.32h.37V6.87H94.01v.4l.78.16c1.72.35 2.07 1.17 2.07 2.39v12.85c0 1-.23 2.18-2.07 2.47l-.78.13v.41h16.63v-5.54h-.37z",clipRule:"evenodd"}),o.createElement("path",{fill:"#337E81",d:"M257.2 6.87c4.07 0 6.45 2.5 6.45 5.76s-2.38 5.73-6.44 5.73h-2.84v7.35h-2.83V6.87zm-2.83 2.34v6.78h2.57c2.67 0 3.82-1.56 3.82-3.36s-1.15-3.42-3.82-3.42zm18.64 8.86h-3.26v7.64h-2.83V6.87h6.55c3.96 0 6.04 2.5 6.04 5.49a5.3 5.3 0 0 1-3.63 5.09l5.86 8.21v.05h-3.38zm-3.26-8.83v6.48h3.26c2.17 0 3.5-1.23 3.5-3.23 0-1.99-1.33-3.25-3.5-3.25zm14.42 16.47V6.87h11.95v2.5H287v5.41h6.13v2.43H287v6h9.34v2.5zm15.62 0V6.87h4.36l5.16 12.27h.06l5.4-12.27h4.28V25.7h-2.81V10h-.05l-5.65 12.64h-2.56l-5.44-12.63h-.05v15.7zm24.07 0V6.87h2.84V25.7zm14.74.4c-4.2 0-7.27-2.36-7.27-6.91V6.87h2.83v12.09c0 3.25 1.95 4.65 4.41 4.65 2.55 0 4.53-1.4 4.53-4.65V6.86h2.7v12.26c0 4.47-2.95 7-7.2 7m11.82-.4V6.87h4.36l5.17 12.27h.05l5.4-12.27h4.28V25.7h-2.8V10h-.06l-5.64 12.64h-2.57l-5.43-12.63h-.06v15.7z"}),o.createElement("g",{clipPath:"url(#clip1_79_1248)"},o.createElement("path",{fill:"#337E81",d:"M29.93 24.54c-.43-.24-.3-.16-2.36-1.4l-4.53.95-1.17-1 .05-.3-.13-.7.12-.3v-.99l-1.27 1.14-.03-.04 3.73-4.4-.04-.09-1.09-.19v-.05h1.96c.2.25.64.32.95.24l.02-.05-.4-.63s.37-.37.62.06c.14.21.2.48.04.65l.03.04a1 1 0 0 0 .65-.37c.22-.29.18-.73-.09-1.05-.23-.27-.65-.69-.65-.69.05-.5-.21-.93-.7-1.13-1.05-.43-1.85-.73-1.85-.73h-2.54v-.06l2.52-.3.76-.67s2.6-.88 3.09-1.3c.48-.41 1.68-4.37 1.68-4.37L32 3.07l-.12-1.6h-.07l-.28 1.33-1.35 1.14.12-1.25-.71-1.55-.07.06.23 1.45-.77 1.48-.84-1.37-1.5-1.22-.04.06 1.04 1.5.1 1.75-1.97-1.18-1.69-.27-.04.06 1.48.6 1 1.74-2.25-.65-1.44-.27-.03.05 1.36.48.88 1.28-3.18-.12-.02.05 1.74 1.16-2.97.8v.04l1.45.6-2.77 1.07v.06l1.36.68-2.77 1.32v.05l1.65.64-2.4 1.09.73.96-.05.04-1.66-1.42-4.3-6-3.92-2.02-3.1-2.81L3.87.29 3.83.3l.34 2.93 1.51 2.43-.04.03-2.2-1.82L2.4 1.84l-.06.01.37 2.38L3.78 6.2l-.03.03L2 4.79l-.9-1.36-.05.02.42 1.84 1.11 1.65-.03.03-1.73-1L.05 5 0 5.03l.5 1.43.8 1.01-.03.04-.8-.16-.02.06L2.15 9l-.01.05-1.48-.09-.02.08 2.12 1.3-.01.06-.99.08v.05l2.44.94v.04l-.95.34v.06l5.91.43v.05l-3.29.02-.06.68 4.12-.06v.05l-2.95.31-.13.8 4-.55.02.05-3.13.73-.05.93 4.12-1.13.02.05-3.4 1.33.02.85 4.16-1.74.02.05-3.36 1.82.12.87 4.07-2.09.03.05-3.33 2.12.19.74 3.93-2.17.03.04-3.06 2.05.3.8 3.24-1.96.03.05-2.13 1.59.38.75 1.57-.98.03.04-.6.51.3.6.35-.13.5-.17.27-.1.13-.06.13-.07.24-.18.06-.05.05-.05.1-.1.08-.11.08-.1.06-.12.06-.1.12-.35.02-.1.01-.03h.05v.04l-.01.1q0 .08-.04.17l-.07.2-.04.12-.06.12-.08.13-.08.12-.09.12-.05.05-.06.05q-.11.12-.24.22l-.13.08-.15.08-.76.34-4.54 1.7-2.97 4.69.18.12 3.31-3.87.05.03-1.98 2.92 1.21-.2 1.82-2.7.05.02-1.33 2.63 1.14-.08L13 22.44l.05.02-.83 2.5 1.15-.09.72-2.38h.06l-.4 2.34 1.17-.23.25-2.14h.06v2.04l.87-.5-.13-1.54H16l.3 1.4.32.18.23.63.34.12.96.78-.02.04-.45-.2q-2.53.7-5.02 1.48l1.7.97 1.22.7q.74.41.48 1.05l-.05-.02c.09-.28.02-.63-.32-.8l-2.03-.9-1.3.42c-.56.18-.53.93 0 1.12q1.19.46 2.37.87c.9.3 1.15.16 1.74-.11a24 24 0 0 0 5.64-3.43l.04.04-1.63 1.55c1.1-.5 2.18-.96 2.88-1.25q1.26-.63 2.42-1.46l.03.04-1.1 1a31 31 0 0 1 4.45-.43c1.5 0 1.52-1.29.73-1.73zm-10.46.4-.68-.78-.33-1.87.06-.04 1.3 1.58h.44l1.15.63z"}))),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_79_1248"},o.createElement("path",{fill:"#fff",d:"M0 .29h370.41v32H0z"})),o.createElement("clipPath",{id:"clip1_79_1248"},o.createElement("path",{fill:"#fff",d:"M0 .29h32v32H0z"})))),P=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"0decb8441f081463",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.3,d:"M12.58 7.48a4.7 4.7 0 0 1-2.83 4.28 4.54 4.54 0 0 1-5.99-2.51 5 5 0 0 1-.35-1.77m2.25 7.87h4.7"}),o.createElement("path",{stroke:"currentColor",strokeWidth:1.3,d:"m7.98 12.59.01 2.6"}),o.createElement("rect",{width:5.3,height:9.57,x:5.36,y:.65,stroke:"currentColor",strokeWidth:1.3,rx:2.65})),k=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"855e4aaa91c7c6ce",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M16 9.14H0V6.86h16z"})),A=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"604bbf23b5d321cc",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M16 11.08A8.37 8.37 0 0 1 4.92 0 8.37 8.37 0 1 0 16 11.08"})),T=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"2092cbabd51e7a70",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M16 9.14H9.14V16H6.86V9.14H0V6.86h6.86V0h2.28v6.86H16z"})),D=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"7a455166757b1edf",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 3.6a3.6 3.6 0 1 1 0 7.2 3.6 3.6 0 0 1-3.6-3.6c0-2 1.6-3.6 3.6-3.6m0 17.04a8.6 8.6 0 0 1-7.2-3.86c.04-2.4 4.8-3.7 7.2-3.7 2.39 0 7.16 1.3 7.2 3.7a8.6 8.6 0 0 1-7.2 3.86"})),_=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"626b2821ebc56f74",viewBox:"0 0 12 12"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.07 10.92 0l-6 6 6 6L12 10.93 7.07 6z",clipRule:"evenodd"}),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.07 10.92 0l-6 6 6 6L12 10.93 7.07 6z",clipRule:"evenodd"}),o.createElement("path",{fill:"currentColor",d:"M1.49 0h-1.5v12h1.5z"})),N=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"ce42e9c72c58a4b3",viewBox:"0 0 12 12"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 1.07 1.08 0l6 6-6 6L0 10.93 4.93 6z",clipRule:"evenodd"}),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 1.07 1.08 0l6 6-6 6L0 10.93 4.93 6z",clipRule:"evenodd"}),o.createElement("path",{fill:"currentColor",d:"M10.51 0H12v12h-1.49z"})),M=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"0823291737b9ed7d",fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M11.67 9.52h2.5V1.83H1.83v7.74l6.55-.05L11.67 12zM13.33 16 8 11.33H0V0h16v11.33h-2.67z"})),L=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"3c01e4615cb07d23",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",d:"M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-5 6a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0zM7 1a1 1 0 0 1 2 0v1a1 1 0 0 1-2 0zM2 7a1 1 0 0 1 0 2H1a1 1 0 0 1 0-2zm13 0a1 1 0 1 1 0 2h-1a1 1 0 1 1 0-2zM3.05 11.54a1 1 0 0 1 1.41 1.41l-.7.7a1 1 0 1 1-1.42-1.4zm9.19-9.2a1 1 0 1 1 1.42 1.42l-.71.7a1 1 0 1 1-1.41-1.41zm-7.78.71a1 1 0 1 1-1.41 1.41l-.7-.7a1 1 0 0 1 1.4-1.42zm9.2 9.19a1 1 0 1 1-1.42 1.42l-.7-.71a1 1 0 0 1 1.41-1.41z"})),z=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"ed9d0dfb790e1400",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0M6.4 12l-4-4 1.13-1.13L6.4 9.73l6.07-6.07L13.6 4.8z",clipRule:"evenodd"})),R=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"193b5b1ebe76585e",viewBox:"0 0 16 16"},e),o.createElement("path",{stroke:"currentColor",strokeWidth:2,d:"m2.58 10.27 4.02 2.9M13.21 2.6 5.22 13.36"})),$=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"0f4eb22389390ebf",viewBox:"0 0 24 24"},e),o.createElement("path",{fill:"currentColor",d:"M24 4.8h-3.6v10.8H4.8v3.6h14.4L24 24zm-6 8.4V0H0v18l4.8-4.8z"})),B=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"eba8b39d86c0b752",fill:"none",viewBox:"0 0 24 24"},e),o.createElement("g",{clipPath:"url(#clip0_3371_14460)"},o.createElement("path",{fill:"#222",d:"M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24M4.63 3.37l.19 1.6.82 1.34-.02.02-1.2-1-.58-1.12-.03.01.2 1.3.6 1.08-.03.02-.96-.79-.5-.75-.02.02.23 1 .61.91-.02.02-.95-.55-.42-.53-.03.01.28.8.44.55-.02.02-.44-.09v.03l.93.88-.01.03-.82-.05v.04l1.16.72v.03l-.55.04V9l1.34.52v.02l-.52.19v.03l3.25.24-1.8.02-.05.37 2.27-.04v.03l-1.62.18-.07.44 2.2-.3v.02l-1.71.4-.03.51L9 11.02l.01.03-1.86.73v.47l2.3-.96v.02l-1.84 1 .06.48 2.24-1.14.01.02-1.83 1.17.1.4 2.17-1.19.01.03L8.7 13.2l.16.44 1.78-1.07.01.02-1.16.87.2.41.87-.53.01.02-.32.28.16.33.19-.07.27-.1.15-.05.07-.04q.04 0 .08-.03l.13-.1.03-.03.02-.02.06-.06.05-.06.04-.06.03-.06.03-.06.07-.19.01-.05v-.02h.04V13l-.01.06-.02.1-.04.1-.02.07-.04.06q0 .04-.04.07l-.04.07-.05.06-.03.03-.03.03q-.06.07-.14.12l-.07.05-.08.04-.42.18-2.49.94-1.63 2.57.1.07 1.82-2.13.02.02-1.08 1.6.66-.1 1-1.49.03.01-.73 1.45.62-.04.68-1.4.03.01-.46 1.37.63-.04.4-1.31h.03l-.22 1.28.64-.12.14-1.18h.03v1.12l.48-.27-.07-.85h.03l.17.77.17.1.12.35.2.06.52.43-.01.02-.25-.1q-1.39.38-2.76.8l.94.54.67.39q.4.21.26.57l-.03-.01c.05-.15.02-.35-.17-.44l-1.12-.5-.71.23c-.31.1-.29.51 0 .62q.64.25 1.3.48c.5.16.63.08.96-.07 1.27-.6 1.84-.9 3.1-1.88l.01.02-.89.86c.6-.28 1.2-.53 1.58-.69q.7-.35 1.33-.8l.02.02-.61.55c.7-.13 1.83-.24 2.45-.24.82 0 .83-.7.4-.95v.01c-.24-.13-.17-.09-1.3-.77l-2.5.53-.63-.55.02-.17-.06-.38.06-.16v-.55l-.7.62-.02-.01 2.05-2.43-.02-.04-.6-.1v-.04h1.08c.11.14.35.18.52.13l.01-.02-.22-.35c.01 0 .21-.2.34.03.08.12.12.27.03.36l.01.03q.22-.04.36-.2c.12-.17.1-.41-.05-.59l-.36-.37a.6.6 0 0 0-.38-.63l-1.02-.4h-1.4v-.03l1.39-.16.42-.37s1.43-.49 1.7-.72c.26-.22.92-2.4.92-2.4L20.1 4.9l-.06-.88H20l-.16.73-.74.63.07-.69-.4-.85-.03.03.12.8-.42.81-.46-.75-.82-.67-.03.03.58.83.05.96-1.08-.65-.93-.15-.02.03.81.34.55.95-1.24-.36-.79-.15-.01.03.74.26.49.71-1.75-.07v.03l.95.64-1.64.43v.03l.8.33-1.52.59v.03l.75.37-1.53.73.91.36-1.32.6.4.52-.02.03-.92-.79-2.36-3.3-2.15-1.1-1.7-1.55-.52-1.42zm8.78 12.92h.24l.63.35-1.06.27-.37-.43-.19-1.04.04-.01z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_3371_14460"},o.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))},5426(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(79811),o=n(86106),i=n(7378);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}const a=n(64543).styled.a.withConfig({componentId:"sc-141s52x-0"})(["color:",";&:hover,&:active,&:focus{color:",";}"],({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt),c=(0,i.forwardRef)((e,t)=>(0,o.jsx)(a,function(e){for(var t=1;tr.A});var r=n(5426)},76287(e,t,n){"use strict";n.d(t,{$:()=>p,A:()=>h});var r=n(86106),o=n(48539),i=n(74708),s=n(64543),a=n(51503),c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0});const d=s.styled.div.withConfig({componentId:"sc-1ou3fes-0"})(["--min-height:",";min-height:var(--min-height);box-sizing:border-box;"],({$minHeight:e})=>(0,a.p)(e,100)),u=s.styled.div.withConfig({componentId:"sc-1ou3fes-1"})(["display:flex;width:100%;height:100%;min-height:var(--min-height);align-items:center;justify-content:center;text-align:center;&,p{",";}p{margin:0 0 ","px;&:last-child{margin-bottom:0;}}"],({theme:e})=>e.textStyle.bodySecondary.small,({theme:e})=>e.spacing.x1_5),p=l(({message:e="Sorry, this content has not loaded.",link:t,linkCopy:n})=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{children:e}),!!t&&!!n&&(0,r.jsx)("p",{children:(0,r.jsx)(o.f,{as:o.L,href:t,children:n})})]}),"Error"),h=l(({className:e,children:t,isLoading:n,isError:o,error:s,minHeight:a=100})=>(0,r.jsx)(d,{className:e,$minHeight:a,children:n?(0,r.jsx)(u,{children:(0,r.jsx)(i.L,{})}):o?(0,r.jsx)(u,{children:s||(0,r.jsx)(p,{})}):t}),"Async")},40154(e,t,n){"use strict";n.d(t,{B:()=>p,a:()=>o,b:()=>s,c:()=>u,d:()=>d,e:()=>l,f:()=>i,g:()=>r,i:()=>a,k:()=>c});const r="button",o="a",i="small",s="large",a="button",c="submit",l="primary",d="secondary",u="tertiary",p="primary-uncap"},86655(e,t,n){"use strict";n.d(t,{Ay:()=>T,Gp:()=>N,HM:()=>u.k,Ih:()=>E,VN:()=>u.g,YG:()=>u.d,Zz:()=>u.b,pv:()=>u.i,wW:()=>u.a});var r=n(79811),o=n(73245),i=n(86106),s=n(95561),a=n(50041),c=n(64543),l=n(22126),d=n(7378),u=n(40154),p=n(69889),h=n(74075),m=n(37844),f=n(9969);const g=["forwardedAs","variant","size","id","className","disabled","children","icon","role","title","tabIndex"],b=["theme"];function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;tx(e,"name",{value:t,configurable:!0});const j=(0,c.css)(["display:inline-flex;width:",";height:","px;box-sizing:border-box;align-items:center;justify-content:center;gap:","px;padding:0 ","px;border-radius:","px;outline-offset:","px;outline-width:","px;text-align:center;transition:background-color ",";white-space:nowrap;",";&.is-disabled,&:disabled{&,&:focus,&:hover,&:active{pointer-events:none;}}"],({$size:e})=>"large"===e?"100%":"auto",({theme:e})=>e.dimension.btn.height,({theme:e})=>e.dimension.btn.iconSpacing,({theme:e})=>e.spacing.x2,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x0_25,({theme:e})=>e.transition.base,({theme:e})=>e.textStyle.button.small),O=(0,c.css)(["--primary-color:",";--hover-color:",";--disabled-color:",";--color:",";background-color:var(--primary-color);color:var(--color);&:focus,&:hover,&:active{background-color:var(--hover-color);color:var(--color);}&.is-disabled,&:disabled{&,&:focus,&:hover,&:active{background-color:var(--disabled-color);}}"],({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.color.actionBrand.disabled,({theme:e})=>e.color.ink.white),S=(0,c.css)(["--primary-color:",";--hover-color:",";--disabled-color:",";box-shadow:inset 0 0 0 1px;color:var(--primary-color);&:focus,&:hover,&:active{color:var(--hover-color);}&.is-disabled,&:disabled{&,&:focus,&:hover,&:active{color:var(--disabled-color);}}"],({theme:e})=>e.color.actionBrandInk.base,({theme:e})=>e.color.actionBrandInk.alt,({theme:e})=>e.color.actionBrandInk.disabled),C=(0,c.css)(["--primary-color:",";--hover-color:",";--disabled-color:",";box-shadow:inset 0 0 0 1px;color:var(--primary-color);&:focus,&:hover,&:active{color:var(--hover-color);}&.is-disabled,&:disabled{&,&:focus,&:hover,&:active{color:var(--disabled-color);}}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.actionBrandInk.disabled),E=c.styled.span.withConfig({componentId:"sc-1aus1tj-0"})([""]),I=(0,c.css)([""," "," ","{",";}@media ","{",";","{",";}}"],O,({theme:e})=>e.textStyle.buttonEcom.small,E,({theme:e})=>e.textStyle.buttonEcomStrikeThrough.small,h.t,({theme:e})=>e.textStyle.buttonEcom.large,E,({theme:e})=>e.textStyle.buttonEcomStrikeThrough.large),P=w(({$variant:e})=>{switch(e){case u.e:return O;case u.d:return S;case u.c:return C;case u.B:return I;default:return O}},"variantStyles"),k=c.styled.button.withConfig({componentId:"sc-1aus1tj-1"})([""," ",""],j,P),A=(0,c.styled)(m.I).attrs({size:f.b,svg:p.W}).withConfig({componentId:"sc-1aus1tj-2"})(["flex-grow:0;flex-shrink:0;"]),T=(0,d.forwardRef)(w(function(e,t){let{forwardedAs:n,variant:r=u.e,size:s=u.f,id:a,className:c,disabled:d=!1,children:p,icon:h,role:m,title:f,tabIndex:b}=e,v=(0,o.A)(e,g);const x=v.as===u.a&&v.isExternal,w=(()=>{if(v.as===u.a){const{href:e,target:t,rel:n,onClick:r,onKeyDown:o,as:i}=v;return{href:e,target:t,rel:n,onClick:r,onKeyDown:o,as:i}}const{name:e,value:t,type:n,onClick:r,onKeyDown:o,as:i}=v;return{name:e,value:t,type:n,onClick:r,onKeyDown:o,as:i}})(),j=Object.fromEntries(Object.entries(v).filter(([e])=>/^aria-|data-/.test(e)));return(0,i.jsxs)(k,y(y(y({forwardedAs:n,$variant:r,$size:s,id:a,className:(0,l.c)(c,{"is-disabled":d&&(v.as===u.a||n===u.a)}),ref:t,role:m,title:f,tabIndex:b,disabled:d},w),j),{},{children:[p,h||x&&(0,i.jsx)(A,{})]}))},"Button2")),D=w(e=>{let{theme:t}=e,n=(0,o.A)(e,b);return(0,i.jsx)(a.D,{theme:t,children:(0,i.jsx)(T,y({},n))})},"Themed"),_=Object.entries(s.Zj).reduce((e,[t])=>(e[t]=e=>(0,i.jsx)(D,y({theme:t},e)),e),{}),{premium:N}=_},74888(e,t,n){"use strict";n.d(t,{A:()=>O});var r=n(73245),o=n(79811),i=n(86106),s=n(22126),a=n(7378),c=n(59021),l=n(40154),d=n(22726),u=n(12489),p=(n(37844),n(9969));const h=["size","textSize","iconSize","hideChevron","isCentered","fixedWidth","tooltipContent","disabled","successful","toggled","popoverProps"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;tg(e,"name",{value:t,configurable:!0});function v(...e){return t=>e.reduce((e,t)=>t(e),t)}b(v,"pipe");const y=b((e,t)=>n=>e?(0,i.jsx)(u.T,f(f({content:e},"column"===t&&{placement:"right"}),{},{children:n})):n,"tooltipWrapper"),x=b(e=>t=>e?(0,i.jsx)(d.P,f(f({},e),{},{children:t})):t,"popoverWrapper"),w=b(({item:e,popoverProps:t,direction:n,tooltipContent:r})=>v(y(r,n),x(t))(e),"ItemWithWrappers"),j=b(e=>{if(e.as===l.a){const{href:t,target:n,rel:r,onClick:o,onKeyDown:i,as:s}=e;return{href:t,target:n,rel:r,onClick:o,onKeyDown:i,as:s}}const{name:t,value:n,type:r,onClick:o,onKeyDown:i,as:s="button"}=e;return{name:t,value:n,type:r,onClick:o,onKeyDown:i,as:s}},"extractTypeProps"),O=b(({items:e,alignLeft:t,isCosy:n=!1,direction:o="row",className:l})=>Array.isArray(e)&&null!=e&&e.length?(0,i.jsx)(c.W,{className:l,children:(0,i.jsx)(c.L,{$itemCount:e.length,$alignLeft:t,$isCosy:n,$direction:o,children:e.map((e,t)=>{let{size:n="large",textSize:l,iconSize:d="base",hideChevron:u=!1,isCentered:m=!1,fixedWidth:g,tooltipContent:b,disabled:v,successful:y,toggled:x,popoverProps:O}=e,S=(0,r.A)(e,h);const C="icon"in S?S.icon:null,E="title"in S?S.title:null,I=!E&&!!C===u,P=j(S),k=Object.fromEntries(Object.entries(S).filter(([e])=>/^aria-|data-/.test(e))),A="string"==typeof E&&E.includes(" "),T=(0,i.jsxs)(c.I,f(f(f(f({$size:n,$textSize:l||n,$isCentered:m,$hasSingleIcon:I,id:S.id,disabled:v,className:(0,s.c)({[c.d]:v,[c.c]:y,[c.b]:x})},P),k),"a"===S.as&&v&&{tabIndex:-1,"aria-disabled":!0}),{},{children:[C&&(0,i.jsx)(c.a,{svg:C,size:n===p.a?d:p.b}),E&&(0,i.jsx)(c.T,{children:A?E.split(" ").map((e,t)=>(0,i.jsx)(a.Fragment,{children:(0,i.jsxs)("span",{children:[e," "]})},`title-${t}`)):E}),!u&&(0,i.jsx)(c.C,{})]}));return(0,i.jsx)(c.e,{$size:n,$hasSingleIcon:I,$fixedWidth:g,children:(0,i.jsx)(w,{item:T,direction:o,tooltipContent:b,popoverProps:O})},`item-${t}`)})})}):null,"ButtonGroup")},59021(e,t,n){"use strict";n.d(t,{C:()=>f,I:()=>g,L:()=>p,T:()=>h,W:()=>u,a:()=>m,b:()=>d,c:()=>l,d:()=>c,e:()=>b});var r=n(64543),o=n(69889),i=n(74075),s=n(37844),a=(n(86106),n(9969));const c="is-disabled",l="is-success",d="is-toggled",u=r.styled.div.withConfig({componentId:"sc-d5v47r-0"})(["display:block;"]),p=r.styled.ul.withConfig({componentId:"sc-d5v47r-1"})(["--gap:","px;--cols:",";--max-width:100%;--total-gap:calc(var(--gap) * (var(--cols) - 1));--item-width:calc((100% - var(--total-gap)) / var(--cols));display:flex;max-width:var(--max-width);gap:var(--gap);padding:0;list-style:none;"," @media ","{--cols:",";--max-width:100%;","}"],({theme:e,$isCosy:t})=>t?e.spacing.x1:e.spacing.x2,({$itemCount:e})=>1===e?1:2,({$alignLeft:e,$direction:t})=>e?(0,r.css)(["max-width:unset;flex-flow:"," wrap;justify-content:flex-start;margin:0;> li{width:auto;flex:0 0 auto;padding:0;margin:0;}"],t):(0,r.css)(["flex-flow:row wrap;justify-content:center;margin:0 auto;> li{width:var(--item-width);flex:0 1 var(--item-width);padding:0;margin:0;}"]),i.t,({$itemCount:e})=>1===e?1:3,({$itemCount:e,$alignLeft:t})=>t||4!==e&&2!==e?"":(0,r.css)(["--cols:2;--max-width:calc(100% / 3 * 2);"])),h=r.styled.div.withConfig({componentId:"sc-d5v47r-2"})(["display:flex;min-width:0;flex-flow:row wrap;column-gap:","em;line-height:inherit;span{display:inline-block;overflow:hidden;max-width:100%;text-overflow:ellipsis;}"],({theme:e})=>e.dimension.text.spaceWidthEm),m=(0,r.styled)(s.I).attrs({}).withConfig({componentId:"sc-d5v47r-3"})([""]),f=(0,r.styled)(s.I).attrs({svg:o.A,size:a.c}).withConfig({componentId:"sc-d5v47r-4"})(["display:block;margin-left:auto;color:currentColor;"]),g=r.styled.a.withConfig({componentId:"sc-d5v47r-5"})(["display:flex;width:100%;box-sizing:border-box;flex-flow:row nowrap;align-items:center;gap:","px;padding:0 ","px;border:1px solid ",";border-radius:","px;background-color:",";color:",";transition:",";"," ",",","{flex-shrink:0;}&.","{background-color:",";color:",";}&.","{border-color:",";background-color:",";color:",";}@media (hover:hover){&:hover:not(.","){border-color:",";background-color:",";color:",";cursor:pointer;}&:active:not(.","){border-color:",";background-color:",";color:",";cursor:pointer;}}@media (hover:none){&:active{border-color:",";background-color:",";color:",";-webkit-tap-highlight-color:transparent;}}&:disabled,&.","{background-color:",";color:",";pointer-events:none;}&:focus-visible{color:",";outline:2px solid ",";outline-offset:","px;}"],({theme:e})=>e.dimension.btn.iconSpacing,({theme:e})=>e.spacing.x1,({theme:e})=>e.color.divider.light,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.transition.button,({$size:e,$textSize:t,theme:n,$isCentered:o,$hasSingleIcon:i})=>(0,r.css)(["height:","px;"," ",""],({theme:t})=>t.dimension.buttonGroup[e].height,(o||i)&&"justify-content: center;","large"===t?n.textStyle.buttonGroup.large:n.textStyle.buttonGroup.small),m,f,d,({theme:e})=>e.color.actionBold.selected,({theme:e})=>e.color.actionInvert.base,l,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.semiotic.success,({theme:e})=>e.color.ink.white,l,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,l,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,c,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.semiotic.disabled,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.spacing.x0_5),b=r.styled.li.withConfig({componentId:"sc-d5v47r-6"})(["",""],({$hasSingleIcon:e,$fixedWidth:t,$size:n,theme:o})=>(e||t)&&(0,r.css)(["&&{--item-width:","px;width:var(--item-width);flex:0 0 auto;}"],e?o.dimension.buttonGroup[n].height:t))},67028(e,t,n){"use strict";n.d(t,{C:()=>r});const r=n(64543).styled.span.withConfig({componentId:"sc-1d1z3rd-0"})(["display:inline-block;padding:","px ","px ","px;border-radius:","px;background-color:",";",";"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x0_25,({theme:e})=>e.dimension.borderRadius.large,({theme:e})=>e.color.semiotic.attention,({theme:e})=>e.textStyle.tagBase.xSmall)},48137(e,t,n){"use strict";n.d(t,{C:()=>L,G:()=>k,I:()=>j,N:()=>P,S:()=>I});var r=n(86106),o=n(7378),i=n(64543),s=n(69889),a=n(96172),c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0});const d=i.styled.nav.withConfig({componentId:"sc-wd0an6-0"})(["display:flex;align-items:center;padding-block:","px;padding-left:","px;background-color:",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary),u=i.styled.div.withConfig({componentId:"sc-wd0an6-1"})(["margin-right:auto;"]),p=i.styled.h3.withConfig({componentId:"sc-wd0an6-2"})(["margin:0;color:",";",";"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.tagExpanded.medium),h=i.styled.span.attrs({role:"status","aria-live":"polite"}).withConfig({componentId:"sc-wd0an6-3"})(["margin-right:","px;color:",";",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.paginationCount.small),m=i.styled.div.withConfig({componentId:"sc-wd0an6-4"})(["min-height:","px;"],({theme:e})=>e.dimension.minTouchArea),f=(0,i.styled)(a.I).attrs({size:"small",svg:s.J}).withConfig({componentId:"sc-wd0an6-5"})([""]),g=(0,i.styled)(a.I).attrs({size:"small",svg:s.d}).withConfig({componentId:"sc-wd0an6-6"})([""]),b=l(({className:e,title:t,withCounter:n,withControls:o,currentSlide:i,totalSlides:s,slideType:a="Slide",isAtStart:c,isAtEnd:l,onNext:b,onPrevious:v})=>t||n||o?(0,r.jsxs)(d,{className:e,children:[(0,r.jsx)(u,{children:t&&(0,r.jsx)(p,{children:t})}),n&&(0,r.jsx)(h,{children:`${a} ${i} of ${s}`}),o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{"aria-disabled":c,"aria-label":c?`Previous ${a}, you are at the first`:`Previous ${a}`,onClick:v}),(0,r.jsx)(g,{"aria-disabled":l,"aria-label":l?`Next ${a}, you are at the last`:`Next ${a}`,onClick:b})]}):(0,r.jsx)(m,{})]}):null,"CarouselControls");var v=n(76934),y=n(63149),x=Object.defineProperty,w=(e,t)=>x(e,"name",{value:t,configurable:!0});const j=0,O=1,S="",C=w((e,t)=>{const n="number"!=typeof t,r=t<=0||t%1!=0;if(!Array.isArray(e))throw new Error("`items` should be an array");if(n)throw new Error("`n` should be a number");if(r)throw new Error("`n` should be a positive integer");const o=[],i=Math.ceil(e.length/t);for(let n=0;n(0,o.useEffect)(()=>{const o=e.current;function i(e){A(e)||(null==o?void 0:o.contains(document.activeElement))&&T(t,n,r)}return w(i,"handleFocused"),null!=o&&o.addEventListener("focusin",i),()=>{null==o||o.removeEventListener("focusin",i)}},[e,t,n,r]),"useScrollToFocusedElement"),_=w(()=>{const e=(0,o.useRef)(null),t=w((t,n)=>(...r)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>t(...r),n)},"debounce");return(0,o.useEffect)(()=>()=>{null!==e.current&&(clearTimeout(e.current),e.current=null)},[]),(0,o.useCallback)(t,[])},"useDebounceWithHooks"),N=w(({root:e,offsetKey:t})=>{const n=_(),r=e.current,i=n(()=>{if(t&&r){var e;const n=null!==(e=null==r?void 0:r.scrollLeft)&&void 0!==e?e:0;sessionStorage.setItem(t,n.toString())}},300);return(0,o.useEffect)(()=>{t&&r&&w(()=>{const e=sessionStorage.getItem(t);null!==e&&r&&(r.scrollLeft=parseInt(e,10))},"setInitialOffset")()},[t,r]),[i]},"useScrollToOffset"),M=w(({nodes:e,root:t})=>{const n=(0,o.useRef)(null),[r,i]=(0,o.useState)(e.map(()=>!1)),[s,a]=(0,o.useState)(!0),[c,l]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{const r=w(t=>{t.forEach(t=>{const{target:n,isIntersecting:r,intersectionRatio:o}=t,s=e.findIndex(e=>e===n),c=r&&o>.9,d=r&&o>.1,u=0===s,p=s===e.length-1;i(e=>{const t=[...e];return t[s]=d,t}),u&&a(c),p&&l(c)})},"handleIntersect");return n.current=new IntersectionObserver(r,{threshold:[.1,.5,.9],root:t.current,rootMargin:"-1px"}),e.forEach(e=>{var t;e&&(null===(t=n.current)||void 0===t||t.observe(e))}),()=>{var e;null===(e=n.current)||void 0===e||e.disconnect()}},[t,e]),{visibleIndexes:r,isAtStart:s,isAtEnd:c}},"useVisibleIndexes"),L=w(e=>{const{items:t,ButtonNext:n,ButtonPrev:i,controlsPosition:s,renderSlide:a,className:c="",initialIndex:l,increment:d=O,offsetKey:u=S}=e,{title:p,slideType:h,withControls:m,withCounter:f}=e,g=C(t,d),y=(0,o.useRef)(null),x=(0,o.useRef)([]),j=t.length-1,[A]=N({root:y,offsetKey:u}),{visibleIndexes:T,isAtStart:_,isAtEnd:L}=M({nodes:x.current,root:y}),z=!(_&&L),R=z&&!(!n||!i),$=(0,o.useCallback)((e=0)=>{var t,n;const r=(0,v.c)(0,j,e),o=null==x||null===(t=x.current)||void 0===t||null===(t=t.at(r))||void 0===t?void 0:t.offsetLeft;(null==y||null===(n=y.current)||void 0===n?void 0:n.scrollTo)&&y.current.scrollTo({top:0,left:o,behavior:"smooth"})},[y,0,j]);(0,o.useEffect)(()=>{l&&$(l)},[l,$]),D({root:y,behavior:"smooth",block:"nearest",inline:"center"});const B=(0,o.useCallback)(e=>{const t=T.findIndex(e=>e),n=(0,v.c)(0,j,t+e);$(n)},[T,j,$]),F=w(()=>B(-1),"handlePrevClick"),V=w(()=>B(1),"handleNextClick"),H=T.findIndex(e=>e),q=(p||z)&&(0,r.jsx)(b,{title:p,slideType:h,withControls:!!z&&m,withCounter:f,onPrevious:F,onNext:V,currentSlide:(-1===H?0:H)+1,totalSlides:g.length,isAtStart:_,isAtEnd:L});return(0,r.jsxs)(E,{className:c,children:["top"===s?q:R&&(0,r.jsxs)(P,{children:[(0,r.jsx)(i,{disabled:_,onClick:F}),(0,r.jsx)(n,{disabled:L,onClick:V})]}),(0,r.jsx)(I,{ref:y,onScroll:A,children:g.map((e,t)=>(0,r.jsx)(k,{ref:w(e=>x.current[t]=e,"ref"),tabIndex:-1,"data-testid":"carousel-slide",children:e.map((e,n)=>a({slideIndex:n,itemIndex:t*d+n,item:e,isVisible:!!T[t]}))},t))}),"bottom"===s&&q]})},"Carousel")},65680(e,t,n){"use strict";n.d(t,{F:()=>zt});var r=n(7378),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function s(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0}).sort(te)},"orderByTabIndex"),oe=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),ie="".concat(oe,", [data-focus-guard]"),se=i(function(e,t){return M((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?ie:oe)?[n]:[],se(n))},[])},"getFocusablesWithShadowDom"),ae=i(function(e,t){var n;return e instanceof HTMLIFrameElement&&null!==(n=e.contentDocument)&&void 0!==n&&n.body?ce([e.contentDocument.body],t):[e]},"getFocusablesWithIFrame"),ce=i(function(e,t){return e.reduce(function(e,n){var r,o=se(n,t),i=(r=[]).concat.apply(r,o.map(function(e){return ae(e,t)}));return e.concat(i,n.parentNode?M(n.parentNode.querySelectorAll(oe)).filter(function(e){return e===n}):[])},[])},"getFocusables"),le=i(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return M(t).map(function(e){return ce([e])}).reduce(function(e,t){return e.concat(t)},[])},"getParentAutofocusables"),de=i(function(e,t){return M(e).filter(function(e){return H(t,e)}).filter(function(e){return Z(e)})},"filterFocusable"),ue=i(function(e,t){return void 0===t&&(t=new Map),M(e).filter(function(e){return W(t,e)})},"filterAutoFocusable"),pe=i(function(e,t,n){return re(de(ce(e,n),t),!0,n)},"getTabbableNodes"),he=i(function(e,t){return re(de(ce(e),t),!1)},"getFocusableNodes"),me=i(function(e,t){return de(le(e),t)},"parentAutofocusables"),fe=i(function(e,t){return e.shadowRoot?fe(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||M(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&fe(r,t)}return fe(e,t)})},"contains"),ge=i(function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},"filterNested"),be=i(function(e){return e.parentNode?be(e.parentNode):e},"getTopParent"),ve=i(function(e){return L(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(c);return e.push.apply(e,n?ge(M(be(t).querySelectorAll("[".concat(c,'="').concat(n,'"]:not([').concat(l,'="disabled"])')))):[t]),e},[])},"getAllAffectedNodes"),ye=i(function(e){try{return e()}catch{return}},"safeProbe"),xe=i(function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?xe(t.shadowRoot):t instanceof HTMLIFrameElement&&ye(function(){return t.contentWindow.document})?xe(t.contentWindow.document):t}},"getActiveElement"),we=i(function(e,t){return e===t},"focusInFrame"),je=i(function(e,t){return!!M(e.querySelectorAll("iframe")).some(function(e){return we(e,t)})},"focusInsideIframe"),Oe=i(function(e,t){return void 0===t&&(t=xe(z(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&ve(e).some(function(e){return fe(e,t)||je(e,t)})},"focusInside"),Se=i(function(e){void 0===e&&(e=document);var t=xe(e);return!!t&&M(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return fe(e,t)})},"focusIsHidden"),Ce=i(function(e,t){return t.filter(Y).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},"findSelectedRadio"),Ee=i(function(e,t){return Y(e)&&e.name?Ce(e,t):e},"correctNode"),Ie=i(function(e){var t=new Set;return e.forEach(function(n){return t.add(Ee(n,e))}),e.filter(function(e){return t.has(e)})},"correctNodes"),Pe=i(function(e){return e[0]&&e.length>1?Ee(e[0],e):e[0]},"pickFirstFocus"),ke=i(function(e,t){return e.indexOf(Ee(t,e))},"pickFocusable"),Ae="NEW_FOCUS",Te=i(function(e,t,n,r,o){var i=e.length,s=e[0],a=e[i-1],c=Q(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,d=o?n.indexOf(o):l,u=o?e.indexOf(o):-1;if(-1===l)return-1!==u?u:Ae;if(-1===u)return Ae;var p=l-d,h=n.indexOf(s),m=n.indexOf(a),f=Ie(n),g=void 0!==r?f.indexOf(r):-1,b=o?f.indexOf(o):g,v=f.filter(function(e){return e.tabIndex>=0}),y=void 0!==r?v.indexOf(r):-1,x=o?v.indexOf(o):y,w=y>=0&&x>=0?x-y:b-g;if(!p&&u>=0||0===t.length)return u;var j=ke(e,t[0]),O=ke(e,t[t.length-1]);if(l<=h&&c&&Math.abs(p)>1)return O;if(l>=m&&c&&Math.abs(p)>1)return j;if(p&&Math.abs(w)>1)return u;if(l<=h)return O;if(l>m)return j;if(p)return Math.abs(p)>1?u:(i+u+p)%i}},"newFocus"),De=i(function(e){return function(t){var n,r=null===(n=U(t))||void 0===n?void 0:n.autofocus;return t.autofocus||void 0!==r&&"false"!==r||e.indexOf(t)>=0}},"findAutoFocused"),_e=i(function(e,t,n){var r=e.map(function(e){return e.node}),o=ue(r.filter(De(n)));return o&&o.length?Pe(o):Pe(ue(t))},"pickAutofocus"),Ne=i(function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Ne(e.parentNode.host||e.parentNode,t),t},"getParents"),Me=i(function(e,t){for(var n=Ne(e),r=Ne(t),o=0;o=0)return i}return!1},"getCommonParent"),Le=i(function(e,t,n){var r=L(e),o=L(t),i=r[0],s=!1;return o.filter(Boolean).forEach(function(e){s=Me(s||e,e)||s,n.filter(Boolean).forEach(function(e){var t=Me(i,e);t&&(s=!s||fe(t,s)?t:Me(t,s))})}),s},"getTopCommonParent"),ze=i(function(e,t){return e.reduce(function(e,n){return e.concat(me(n,t))},[])},"allParentAutofocusables"),Re=i(function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(ee)},"reorderNodes"),$e=i(function(e,t){var n=xe(L(e).length>0?document:z(e).ownerDocument),r=ve(e).filter(X),o=Le(n||e,e,r),i=new Map,s=he(r,i),a=s.filter(function(e){var t=e.node;return X(t)});if(a[0]){var c=he([o],i).map(function(e){return e.node}),l=Re(c,a),d=l.map(function(e){return e.node}),u=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),p=Te(d,u,c,n,t);if(p===Ae){var h=_e(s,u,ze(r,i))||_e(s,d,ze(r,i));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===p?p:l[p]}},"focusSolver"),Be=i(function(e){var t=ve(e).filter(X),n=Le(e,e,t),r=re(ce([n],!0),!0,!0),o=ce(t,!1);return r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:Q(t)}})},"expandFocusableNodes"),Fe=i(function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},"focusOn"),Ve=0,He=!1,qe=i(function(e,t,n){void 0===n&&(n={});var r=$e(e,t);if(!He&&r){if(Ve>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"),He=!0,void setTimeout(function(){He=!1},1);Ve++,Fe(r.node,n.focusOptions),Ve--}},"moveFocusInside");function We(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}i(We,"weakRef");var Ue=i(function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:We(n),parent:We(n.parentElement),left:We(n.previousElementSibling),right:We(n.nextElementSibling)}),n=n.parentElement;return{element:We(e),stack:t,ownerDocument:e.ownerDocument}},"recordElementLocation"),Ge=i(function(e){var t,n,r,o,i;if(e)for(var s=e.stack,a=e.ownerDocument,c=new Map,l=0,d=s;l-1&&(g.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),vt(b,g.length,1,g),vt(b,-1,-1,g))}}}return e},"activateTrap"),Ct=i(function(e){St()&&e&&(e.stopPropagation(),e.preventDefault())},"onTrap"),Et=i(function(){return ot(St)},"onBlur"),It=i(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||gt(n,t)},"onFocus"),Pt=i(function(){return null},"FocusWatcher"),kt=i(function(){ht=!0},"onWindowFocus"),At=i(function(){ht=!1,pt="just",ot(function(){pt="meanwhile"})},"onWindowBlur"),Tt=i(function(){document.addEventListener("focusin",Ct),document.addEventListener("focusout",Et),window.addEventListener("focus",kt),window.addEventListener("blur",At)},"attachHandler"),Dt=i(function(){document.removeEventListener("focusin",Ct),document.removeEventListener("focusout",Et),window.removeEventListener("focus",kt),window.removeEventListener("blur",At)},"detachHandler");function _t(e){return e.filter(function(e){return!e.disabled})}i(_t,"reducePropsToState");var Nt={moveFocusInside:qe,focusInside:Oe,focusNextElement:Xe,focusPrevElement:et,focusFirstElement:nt,focusLastElement:rt,captureFocusRestore:Ke};function Mt(e){var t=e.slice(-1)[0];t&&!ct&&Tt();var n=ct,r=n&&t&&t.id===n.id;ct=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(lt=null,(!r||n.observed!==t.observed)&&t.onActivation(Nt),St(),ot(St)):(Dt(),lt=null)}i(Mt,"handleStateChangeOnClient"),w.assignSyncMedium(It),j.assignMedium(Et),O.assignMedium(function(e){return e(Nt)});const Lt=N(_t,Mt)(Pt);var zt=(0,r.forwardRef)(i(function(e,t){return r.createElement(I,a({sideCar:Lt,ref:t},e))},"FocusLockUICombination")),Rt=I.propTypes||{};Rt.sideCar;s(Rt,["sideCar"]);zt.propTypes={}},52457(e,t,n){"use strict";n.d(t,{D:()=>s});var r=n(86106),o=n(50041),i=Object.defineProperty;const s=((e,t)=>i(e,"name",{value:t,configurable:!0}))(({children:e})=>(0,r.jsx)(o.D,{inverted:!0,children:e}),"DarkThemeProvider")},65459(e,t,n){"use strict";n.d(t,{A:()=>r.D});var r=n(52457)},6152(e,t,n){"use strict";n.d(t,{h:()=>i});var r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});const i=o(({event:e,disabled:t=!1,onInteract:n,onArrowDown:r=o(()=>{},"onArrowDown")})=>{const{target:i}=e,s="key"in e?e.key:void 0,a=i instanceof Element&&!!i.closest("a"),c=o(e=>s===e,"isKey");a||t||!["Enter"," ","ArrowDown",void 0].includes(s)||(c(" ")&&e.preventDefault(),c("ArrowDown")?null==r||r(e):null==n||n())},"handleDropdownInteract")},4120(e,t,n){"use strict";n.d(t,{B:()=>b,C:()=>y,D:()=>O,T:()=>v,a:()=>x,b:()=>g,d:()=>S});var r=n(73245),o=n(79811),i=n(86106),s=n(7378),a=n(6152),c=n(64543),l=n(63149);const d=["defaultOpen"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;th(e,"name",{value:t,configurable:!0});const f="--dropdown-trigger-color",g="--dropdown-content-initial-height",b=c.styled.div.withConfig({componentId:"sc-1wl0eko-0"})([""]),v=c.styled.div.withConfig({componentId:"sc-1wl0eko-1"})(["--color:",";color:var(",",var(--color));cursor:pointer;&[aria-disabled='true']{",":",";}"],({theme:e})=>e.color.ink.base,f,f,({theme:e})=>e.color.actionBrand.disabled),y=c.styled.div.withConfig({componentId:"sc-1wl0eko-2"})(["",""],l.dN),x=c.styled.div.withConfig({componentId:"sc-1wl0eko-3"})(["overflow:hidden;min-height:var(",");"],g),w=m(e=>`__dropdown_${e}_trigger__`,"createDropdownTriggerId"),j=m(e=>`__dropdown_${e}_content__`,"createDropdownContentId"),O=(0,s.forwardRef)(m(function({id:e,className:t,trigger:n,triggerRef:r,innerContentRef:o,children:c,isOpen:l=!1,disabled:d=!1,onInteract:u,onArrowDown:h,role:m,hidden:f},g){const O=(0,s.useRef)(null),S=e?w(e):"",C=e?j(e):"",E=f||!l,I=(0,s.useCallback)(e=>(0,a.h)({event:e,disabled:d,onInteract:u,onArrowDown:h}),[u,h,d]);return(0,s.useEffect)(()=>{O.current&&O.current.querySelectorAll('a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])').forEach(e=>{E?e.setAttribute("tabindex","-1"):e.removeAttribute("tabindex")})},[E]),(0,i.jsxs)(b,p(p({id:e,className:t},m&&{role:m}),{},{ref:g,children:[n&&(0,i.jsx)(v,{id:S,ref:r,role:"button","aria-controls":C,"aria-expanded":l,"aria-disabled":d,onClick:I,onKeyDown:I,tabIndex:d?-1:0,children:n}),c&&(0,i.jsx)(y,{id:C,"aria-labelledby":S,"aria-hidden":E,$isActive:l,ref:O,children:(0,i.jsx)(x,{ref:o,children:c})})]}))},"Dropdown2")),S=m(e=>{let{defaultOpen:t=!1}=e,n=(0,r.A)(e,d);const[o,a]=(0,s.useState)(t);return(0,i.jsx)(O,p(p({},n),{},{isOpen:o,onInteract:m(()=>a(e=>!e),"onInteract")}))},"DropdownStateful")},48850(e,t,n){"use strict";n.d(t,{Ay:()=>r.D,LD:()=>m,T6:()=>o.D,cn:()=>r.d,l$:()=>r.B});var r=n(4120),o=n(83274),i=(n(20283),n(86106)),s=n(7378),a=n(9969),c=n(69889),l=n(87432),d=(n(25886),Object.defineProperty),u=(e,t)=>d(e,"name",{value:t,configurable:!0});const p={[a.c]:c.a,[a.b]:c.F,[a.S]:c.U,[a.a]:c.G},h=u(({size:e=a.b,isOpen:t=!1})=>(0,i.jsx)(l.C,{$isOpen:t,svg:p[e],size:e}),"RotatingChevron"),m=u(({triggerContent:e,openTriggerContent:t,children:n})=>{const[r,o]=(0,s.useState)(!1);return(0,i.jsx)(l.S,{isOpen:r,onInteract:u(()=>{o(e=>!e)},"onDropdownInteract"),trigger:(0,i.jsxs)(l.a,{children:[r&&t?t:e,(0,i.jsx)(h,{isOpen:r,size:a.c})]}),children:(0,i.jsx)(l.D,{children:n})})},"DropdownForCard")},87432(e,t,n){"use strict";n.d(t,{C:()=>a,D:()=>d,S:()=>c,a:()=>l});var r=n(64543),o=n(37844),i=(n(86106),n(74075)),s=n(4120);const a=(0,r.styled)(o.I).withConfig({componentId:"sc-9kbqz-0"})(["transform:rotate(",");transition:transform 0.2s ease-in-out;"],({$isOpen:e})=>e?"-180deg":"0deg"),c=(0,r.styled)(s.D).withConfig({componentId:"sc-x3k5mc-0"})(["display:block;background-color:",";",";"],({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.textStyle.bodySecondary.small),l=r.styled.div.withConfig({componentId:"sc-x3k5mc-1"})(["display:flex;align-items:center;justify-content:space-between;gap:","px;padding:","px ","px;",";@media ","{padding:","px ","px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.titleSecondary.xxSmall,i.t,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x2),d=r.styled.div.withConfig({componentId:"sc-x3k5mc-2"})(["padding:","px ","px;border-top:1px solid ",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.dark)},83274(e,t,n){"use strict";n.d(t,{D:()=>b});var r=n(79811),o=n(73245),i=n(86106),s=n(69889),a=n(9969),c=n(4120),l=n(20283),d=n(30852);const u=["trigger","children","iconSize","onInteract","isCosy","isOpen"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;tm(e,"name",{value:t,configurable:!0});const g={[a.c]:s.a,[a.b]:s.F,[a.S]:s.U,[a.a]:s.G},b=f(e=>{let{trigger:t,children:n,iconSize:r=a.b,onInteract:s,isCosy:p=!1,isOpen:m}=e,f=(0,o.A)(e,u);const{contentRef:b,isOpen:v,onDropdownInteract:y}=(0,d.u)({defaultIsOpen:m,onInteract:s}),x=(0,i.jsx)(l.C,{$isOpen:v,svg:g[r],size:r}),w="function"==typeof t?t(x):(0,i.jsxs)(l.T,{$isCosy:p,children:[t,x]});return(0,i.jsx)(c.D,h(h({},f),{},{isOpen:v,onInteract:y,trigger:w,innerContentRef:b,children:n}))},"DropdownWithChevron")},25886(e,t,n){"use strict";n.d(t,{D:()=>u});var r=n(79811),o=n(86106),i=(n(7378),n(34443)),s=n(20283);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;tl(e,"name",{value:t,configurable:!0});const u=d(({collapsedContent:e,$height:t=40,$parent:n,className:r,isOpen:a,setIsOpen:l,collapsibleTriggerProps:u,readmoreTriggerProps:p,onTriggerClick:h,dropdownCopy:m,productListGa4Tracking:f})=>{const{collapsibleContentHeight:g,collapsibleContentContainerRef:b}=(0,i.u)(),v=d(()=>{l(!a)},"handleCollapse");return(0,o.jsx)(s.a,{className:r,children:(0,o.jsxs)(s.b,c(c({},u),{},{children:[(0,o.jsx)(s.c,{ref:b,$isOpen:a,$height:null!=t?t:g,$parent:n,"data-testid":"dropdown-with-gradient-collapsed-content-container",children:(0,o.jsx)("div",{children:e&&(0,o.jsx)(s.G,{"data-testid":"dropdown-with-gradient-collapsed-content",children:e})})}),(0,o.jsx)(s.R,{isOpen:a,copy:d((e,t)=>{var n,r;return e?null!==(n=null==t?void 0:t.open)&&void 0!==n?n:"Close":null!==(r=null==t?void 0:t.closed)&&void 0!==r?r:"Read more"},"getDropdownCopy")(a,m),testId:"dropdown-with-gradient-dropdown-tablet",onInteract:v,onTriggerClick:d(()=>{a||null!=f&&f(),null==h||h()},"onTriggerClick"),triggerProps:p})]}))})},"DropdownWithGradient")},20283(e,t,n){"use strict";n.d(t,{C:()=>h,G:()=>w,P:()=>f,R:()=>C,T:()=>m,a:()=>b,b:()=>O,c:()=>j});var r=n(86106),o=n(64543),i=n(69889),s=n(74075),a=n(37844),c=n(9969),l=n(7355),d=n(6152),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0});const h=(0,o.styled)(a.I).withConfig({componentId:"sc-a5wy94-0"})(["transform:rotate(",");transition:transform 0.2s ease-in-out;"],({$isOpen:e})=>e?"-180deg":"0deg"),m=o.styled.div.withConfig({componentId:"sc-a5wy94-1"})(["display:flex;align-items:center;justify-content:space-between;gap:","px;padding:","px 0;color:",";"],({theme:e})=>e.spacing.x1,({theme:e,$isCosy:t})=>t?0:e.spacing.x2,({theme:e})=>e.color.ink.base),f="pinnedBlogPost",g=p(e=>t=>(0,d.h)({onInteract:e,event:t}),"dropdownTriggerHandler"),b=o.styled.div.withConfig({componentId:"sc-aja53j-0"})(["width:100%;box-sizing:border-box;@media ","{max-width:634px;}@media ","{max-width:622px;}"],s.t,s.a),v=o.styled.button.withConfig({componentId:"sc-aja53j-1"})(["display:flex;width:auto;box-sizing:border-box;align-items:center;justify-content:flex-start;gap:","px;color:",";"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.actionBrand.base),y=o.styled.span.withConfig({componentId:"sc-aja53j-2"})(["display:block;margin-block:0;text-align:center;",";"],({theme:e})=>e.textStyle.link.small),x=o.styled.span.withConfig({componentId:"sc-aja53j-3"})(["display:inline-flex;align-items:center;justify-content:center;gap:","px;&:hover{",",","{color:",";}}"],({theme:e})=>e.spacing.x0_5,y,h,({theme:e})=>e.color.actionBrand.alt),w=o.styled.div.withConfig({componentId:"sc-aja53j-4"})(["",";"],({theme:e})=>e.textStyle.bodySecondary.small),j=o.styled.div.withConfig({componentId:"sc-aja53j-5"})(["display:",";position:relative;overflow:hidden;width:auto;height:",";flex-direction:column;order:-1;gap:","px;opacity:1;transition:",";transition-behavior:allow-discrete;&::after{--fade-from:",";--fade-mid:",";--fade-to:",";position:absolute;bottom:0;left:0;z-index:1;width:100%;height:2lh;background-image:linear-gradient( to bottom,var(--fade-from) 0%,var(--fade-mid) 50%,var(--fade-to) 100% );content:'';opacity:",";pointer-events:none;transition:opacity ",";}@media ","{height:",";}"],({$isOpen:e})=>e?"inline":"flex",({$isOpen:e,$height:t,$parent:n})=>n===f&&t?t<350?`${t}px`:"350px":e?"auto":`${t}px`,({theme:e})=>e.spacing.x1,({theme:e})=>e.transition.collapsibleTransition,({theme:e})=>(0,l.a)(e.color.canvas.base,0),({theme:e})=>(0,l.a)(e.color.canvas.base,.5),({theme:e})=>e.color.canvas.base,({$isOpen:e})=>e?0:1,({theme:e})=>e.transition.base,s.m,({$parent:e,$height:t})=>{if(e===f&&t)return t<500?`${t}px`:"500px"}),O=o.styled.div.withConfig({componentId:"sc-aja53j-6"})(["@media ","{order:-1;}"],s.t),S=p(({isOpen:e,copy:t,className:n,testId:o,onInteract:s,onTriggerClick:a})=>{const l=p(e=>{e.target.closest("[data-action-type]")&&a&&(null==a||a())},"handleContentClick"),d=p(e=>{l(e),s&&s()},"handleClick");return(0,r.jsx)(v,{className:n,onKeyDown:g(s),children:(0,r.jsxs)(x,{"data-testid":o,onClick:d,children:[(0,r.jsx)(y,{"data-action-type":t,children:t}),(0,r.jsx)(h,{svg:i.a,size:c.c,$isOpen:e})]})})},"DropdownTrigger"),C=(0,o.styled)(S).withConfig({componentId:"sc-aja53j-7"})(["@media ","{display:flex;position:relative;align-items:flex-start;margin-top:","px;}"],s.t,({theme:e})=>e.spacing.x1_5)},10023(e,t,n){"use strict";n.d(t,{HD:()=>T,ey:()=>I,Ay:()=>M});var r=n(86106),o=n(22126),i=n(74664),s=n(79811),a=n(73245),c=n(7378),l=n(64543),d=n(4120),u=n(30852);const p=["children","className","keepOpen","onInteract","isOpen"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;tf(e,"name",{value:t,configurable:!0});const b="accordion-wrapper",v=l.styled.div.withConfig({componentId:"sc-bgh9ft-0"})([""]),y=g(e=>{let{children:t,className:n,keepOpen:i,onInteract:s,isOpen:c}=e,l=(0,a.A)(e,p);const{contentRef:h,isOpen:f,onDropdownInteract:g}=(0,u.u)({defaultIsOpen:c,onInteract:s,keepOpen:i});return(0,r.jsx)(d.D,m(m({className:(0,o.c)("drawer-menu-section",n),onInteract:g,isOpen:f,innerContentRef:h},l),{},{children:t}))},"AccordionSection"),x=g(({name:e,className:t,sections:n,initialOpenIndex:i=null,initialOpenState:s=!1,keepOpen:a})=>{const[l,d]=(0,c.useState)(i),u=(0,c.useCallback)(e=>d(l===e?null:e),[l]),p=(0,c.useMemo)(()=>n.map(({content:t,trigger:n,id:o},i)=>(0,r.jsx)(y,{id:o,isOpen:s||l===i,onInteract:g(()=>u(i),"onInteract"),trigger:n,keepOpen:a,children:t},`accordion-section-${e}-${o}`)),[n,l,u,e,a,s]);return(0,r.jsx)(v,{className:(0,o.c)(b,t),children:p})},"Accordion");var w=n(69889),j=n(37844),O=n(9969),S=Object.defineProperty,C=(e,t)=>S(e,"name",{value:t,configurable:!0});const E="dropdown-trigger",I=l.styled.span.withConfig({componentId:"sc-5qw2tu-0"})(["display:inline-block;padding:5px 6px;margin-right:","px;border-radius:50% 50% 0 50%;background-color:",";color:",";",";line-height:1;"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.canvas.base,({theme:e})=>e.textStyle.faqIcon.small),P=l.styled.h3.withConfig({componentId:"sc-5qw2tu-1"})(["margin:0 ","px 0 0;",";&::first-letter{text-transform:uppercase;}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.titleSecondary.xxSmall),k=l.styled.div.withConfig({componentId:"sc-5qw2tu-2"})(["margin-left:auto;"]),A=l.styled.div.withConfig({componentId:"sc-5qw2tu-3"})(["display:flex;width:100%;align-items:center;"]),T=l.styled.div.withConfig({componentId:"sc-5qw2tu-4"})(["margin-top:","px;",";p,ul,ol{margin:0 0 ","px;}p,ul,ol,li{font:inherit;}ul,ol{padding-left:50px;}"],e=>e.theme.spacing.x0_25,({theme:e})=>e.textStyle.bodySecondary.small,({theme:e})=>e.spacing.x2),D=l.styled.div.withConfig({componentId:"sc-5qw2tu-5"})(["padding:0 ","px ","px;background-color:",";a{color:",";&:hover,&:active,&:focus-visible{color:",";}}","{border-bottom:1px solid ",";}","{display:flex;padding:","px 0;cursor:pointer;}"," > div{padding-bottom:1px;}svg{transition:",";}div[aria-expanded='true']{svg{transform:rotate(180deg);}}@media (min-width:595px){padding:0 ","px ","px;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt,d.B,({theme:e})=>e.color.divider.light,d.T,({theme:e})=>e.spacing.x2,d.C,({theme:e})=>e.transition.dropdown,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2),_=C(({firstLetterOfTheWordQuestion:e="Q",question:t})=>(0,r.jsxs)(A,{className:E,"data-testid":E,children:[(0,r.jsx)(I,{children:e}),(0,r.jsx)(P,{dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)(k,{children:(0,r.jsx)(j.I,{svg:w.U,size:O.c})})]}),"FAQsSectionTitle"),N=C(({answer:e})=>(0,r.jsx)(T,{"data-testid":"dropdown-content",dangerouslySetInnerHTML:{__html:e}}),"FAQsSectionContent"),M=C(({name:e,faqs:t,initialOpenState:n,firstLetterOfTheWordQuestion:s,className:a})=>{const c=t.map(e=>({trigger:(0,r.jsx)(_,{question:e.question,firstLetterOfTheWordQuestion:s}),content:(0,r.jsx)(N,{answer:e.answer}),id:e.id||(0,i.s)(e.question)}))||[];return(0,r.jsx)(D,{className:(0,o.c)(b,a),children:(0,r.jsx)(x,{name:e,sections:c,initialOpenState:n,keepOpen:!0})})},"FAQsContent")},14197(e,t,n){"use strict";n.d(t,{$4:()=>N,AT:()=>B,Eq:()=>z,Op:()=>s.F,Sc:()=>l.C,Sj:()=>D,TW:()=>M,a:()=>$,hD:()=>l.j,ks:()=>l.T,lV:()=>I,p3:()=>l.k,pe:()=>R,pp:()=>L,yA:()=>_});var r=n(79811),o=n(73245),i=n(86106),s=n(72792),a=n(70458),c=n(41838),l=n(75605),d=n(7378),u=n(69889),p=n(96172),h=n(37844),m=n(9969),f=(n(4120),n(83274));n(20283),n(87432);const g=["children"],b=["validationHints"],v=["id","label","helpText","className","message","state","required","controlled","options","defaultValue"],y=["id","label","helpText","className","message","state","required","controlled","options","defaultValue"],x=["dropdownHeader","dropdownContent","label"],w=["id","className","controlled","disabled","label","name","wrapperProps"],j=["id","name","order","className","controlled","disabled","children"];function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;tC(e,"name",{value:t,configurable:!0});const I=E(e=>{let{children:t}=e,n=(0,o.A)(e,g);return(0,i.jsx)("form",S(S({noValidate:!0,method:"POST",onSubmit:E(e=>{e.preventDefault()},"preventSubmission")},n),{},{children:t}))},"Form"),P=[],k=class{constructor(e){(0,r.A)(this,"name",void 0),(0,r.A)(this,"primitiveType","string"),(0,r.A)(this,"isRequired",!1),(0,r.A)(this,"validators",[]),this.name=e}initialise(e,t){this.primitiveType=e,this.validators=t}checkValid(){if(!this.validators.length)throw new Error("No validators set")}string(){return this.initialise("string",[[c.i,P]]),this}number(){return this.initialise("number",[[c.a,P]]),this}boolean(){return this.initialise("boolean",[[c.b,P]]),this}required(){return this.isRequired=!0,this}isEmail(...e){return this.checkValid(),this.validators.push([c.c,e]),this}doesMatch(...e){return this.checkValid(),this.validators.push([c.d,e]),this}doesNotMatch(...e){return this.checkValid(),this.validators.push([c.e,e]),this}hasMin(...e){return this.checkValid(),this.validators.push([c.f,e]),this}hasMax(...e){return this.checkValid(),this.validators.push([c.g,e]),this}hasRange(...e){return this.checkValid(),this.validators.push([c.j,e]),this}containsNoSpaces(...e){return this.checkValid(),this.validators.push([c.k,e]),this}matchesRegex(...e){return this.checkValid(),this.validators.push([c.m,e]),this}};E(k,"SchemaEntry");let A=k;const T=class{constructor(e){return(0,r.A)(this,"self",void 0),(0,r.A)(this,"fields",void 0),(0,r.A)(this,"names",void 0),(0,r.A)(this,"errors",{}),(0,r.A)(this,"validationHints",void 0),this.self=e,this.fields=Object.keys(e),this.names=Object.entries(e).reduce((e,[t,n])=>S(S({},e),{},{[t]:n.name}),{}),this.validationHints={},this.initValidationHints(),this}static add(e){return new A(e)}get(e){return this.self[e]}getErrors(e){return this.errors[e]}setErrors(e,t){t&&0!==t.length?this.errors[e]=t:delete this.errors[e]}getValidationHints(e){return this.validationHints[e]}setValidationHints(e,t,n,r,o){this.validationHints[e]=S(S({},this.validationHints[e]),{},{[t]:{passes:n,hint:r,errorType:o}})}initValidationHint(e){this.get(e).validators.forEach(t=>{const[n,r]=t,[o,i,s]=r;if(s){const t="string"==typeof i?i:"",r=`${n.name}${(0,a.a)(t)}`;this.setValidationHints(e,[o,i].join("."),!1,s,r)}})}initValidationHints(){this.fields.forEach(e=>{this.initValidationHint(e)})}resetValidationHints(e){this.validationHints[e]&&Object.keys(this.validationHints[e]).forEach(t=>{this.validationHints[e][t].passes=!1})}async validate(e,t,n){const r=this.get(e);if(!r)return;const o=r.isRequired,i=await(0,c.l)(r.primitiveType).validate(t,n);if(o&&i)return this.setErrors(e,[i]),this.resetValidationHints(e),this.getErrors(e);const s=(await Promise.all(r.validators.map(async r=>{const[o,i]=r,[s,a,c]=i,l=await o(...i).validate(t,n);return c&&this.setValidationHints(e,[s,a].join("."),!l&&""!==t,c,null==l?void 0:l.type),l}))).filter(e=>e);return this.setErrors(e,s),this.getErrors(e)}};E(T,"Schema");let D=T;const _=E(e=>{const[t,n]=(0,d.useState)(!1);return(0,i.jsx)(l.T,S({type:t?"text":"password",spellCheck:!1,buttonAction:E(()=>{n(e=>!e)},"toggleShowPassword"),button:(0,i.jsx)(p.I,{svg:t?u.z:u.B,"aria-label":t?"Hide password":"Show password"})},e))},"PasswordInput"),N=E(({passes:e,hint:t,"data-testid":n})=>(0,i.jsxs)(l.H,S(S({$passes:e,"data-testid":n},e&&{"data-value":"checked"}),{},{children:[(0,i.jsx)(h.I,{svg:e?u.C:u.K,size:m.c}),(0,i.jsx)("p",{children:t})]})),"ValidationHint"),M=E(e=>{let{validationHints:t}=e,n=(0,o.A)(e,b);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_,S({},n)),t&&(0,i.jsx)(l.P,{"data-testid":"password-validation-hints",children:Object.entries(t).map(([e,t])=>(0,i.jsx)(N,S(S({},t),{},{"data-testid":`password-validation-hint-${t.hint.toLowerCase().replace(/\s/g,"-")}`}),e))})]})},"PasswordInputWithValidationHints"),L=E(e=>{let{id:t,label:n,helpText:r,className:a,message:c,state:d=s.I.DEFAULT,required:p=!1,controlled:h=!0,options:m,defaultValue:f}=e,g=(0,o.A)(e,v);const b=(0,s.a)();if(h&&!b)throw new Error("FormInput components should have FormProvider & Form from @indy/ui/Form as parents, unless the controlled={false} prop is set");const y=void 0!==f,x=h?b.register(t):{};return(0,i.jsxs)(l.F,{id:t,label:n,helpText:r,required:p,state:d,message:c,className:a,children:[(0,i.jsxs)(l.S,S(S(S({id:t,defaultValue:f||""},g),x),{},{children:[!y&&(0,i.jsx)("option",{value:"",disabled:!0,children:"Select"}),m.map(e=>(0,i.jsx)("option",{children:e.label},e.value))]})),(0,i.jsx)(l.I,{children:(0,i.jsx)(l.D,{svg:u.F})})]})},"SelectInput$1"),z=E(e=>{let{id:t,label:n,helpText:r,className:a,message:c,state:d=s.I.DEFAULT,required:p=!1,controlled:h=!0,options:m,defaultValue:f}=e,g=(0,o.A)(e,y);const b=(0,s.a)();if(h&&!b)throw new Error("FormInput components should have FormProvider & Form from @indy/ui/Form as parents, unless the controlled={false} prop is set");const v=void 0!==f,x=h?b.register(t):{};return(0,i.jsxs)(l.b,{id:t,label:n,helpText:r,required:p,state:d,message:c,className:a,children:[(0,i.jsxs)(l.S,S(S(S({id:t,defaultValue:f||""},g),x),{},{children:[!v&&(0,i.jsx)("option",{value:"",disabled:!0,children:"Select"}),m.map(e=>(0,i.jsx)("option",{children:e.label},e.value))]})),(0,i.jsx)(l.I,{children:(0,i.jsx)(l.D,{svg:u.F})})]})},"SelectInput"),R=E(e=>{let{dropdownHeader:t,dropdownContent:n,label:r}=e,s=(0,o.A)(e,x);return(0,i.jsxs)(l.W,{children:[(0,i.jsx)(l.c,{children:(0,i.jsx)(l.C,S({label:(0,i.jsx)(l.L,{children:r})},s))}),(0,i.jsx)(f.D,{iconSize:m.c,trigger:E(e=>(0,i.jsxs)(l.e,{children:[t,e]}),"trigger"),children:(0,i.jsx)(l.d,{$isActive:!0,children:n})})]})},"CheckboxWithDropdown"),$=E(e=>{let{id:t,className:n,controlled:r=!0,disabled:a=!1,label:c,name:d,wrapperProps:u}=e,p=(0,o.A)(e,w);const h=(0,s.a)();if(r&&!h)throw new Error("RadioButton should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const m=r?h.register(d):{};return(0,i.jsxs)(l.f,S(S({className:n},u),{},{children:[(0,i.jsx)(l.g,S(S({type:"radio",id:t,name:d,disabled:a,autoComplete:"off"},p),m)),(0,i.jsx)(l.h,{htmlFor:t,children:c})]}))},"RadioButton"),B=E(e=>{let{id:t,name:n,order:r,className:a,controlled:c=!0,disabled:d=!1,children:u}=e,p=(0,o.A)(e,j);const h=(0,s.a)();if(c&&!h)throw new Error("RadioButton should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const m=c?h.register(n):{};return(0,i.jsxs)(l.i,{className:a,children:[(0,i.jsx)(l.R,S(S(S({type:"radio",id:t,name:n,disabled:d,autoComplete:"off"},p),m),{},{$order:r})),u]})},"RadioInput")},12486(e,t,n){"use strict";n.d(t,{B:()=>u,D:()=>l,F:()=>h,g:()=>d});var r=n(86106),o=n(28627),i=n(64543),s=Object.defineProperty,a=(e,t)=>s(e,"name",{value:t,configurable:!0});const{bleed:c}=o.d,l=640,d=a(e=>`(max-width: ${e-1+2*c}px)`,"getFullBleedBp"),u=d(l),p=i.styled.div.withConfig({componentId:"sc-12btdgd-0"})(["@media ","{--bleed:","px;--content-width:calc(100vw - (var(--bleed) * 2));--margin:calc((100vw - var(--content-width)) / -2);width:100vw;box-sizing:border-box;margin-right:var(--margin);margin-left:var(--margin);}"],({$contentWidthInPx:e})=>d(e),({theme:e})=>e.dimension.bleed),h=a(({children:e,className:t,contentWidthInPx:n=l})=>(0,r.jsx)(p,{className:t,$contentWidthInPx:n,children:e}),"FullBleed")},78190(e,t,n){"use strict";n.d(t,{Ay:()=>o.I,CW:()=>s.S,Kk:()=>s.b,Oq:()=>s.a,Sy:()=>u,X4:()=>s.c});var r=n(79811),o=n(37844),i=n(86106),s=n(9969);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;tl(e,"name",{value:t,configurable:!0});function u(e){return d(function(t){return(0,i.jsx)(o.I,c(c({},t),{},{svg:e}))},"WrappedIcon")}d(u,"withIcon")},96172(e,t,n){"use strict";n.d(t,{I:()=>f});var r=n(79811),o=n(73245),i=n(86106),s=n(37844),a=n(9969),c=n(64543);const l=["title","svg","size","isCosy","isDisabled"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=c.styled.button.withConfig({componentId:"sc-11hb3j9-0"})(["--width:","px;display:flex;position:relative;width:var(--width);height:var(--width);box-sizing:border-box;align-items:center;justify-content:center;color:",";transition:",";transition-property:color,background-color;&:hover,&:active,&:focus-visible{color:",";}&:hover,&:active{outline:none;}&[disabled],&[aria-disabled='true']{color:",";cursor:default;}&::after{--touch-area:","px;--size-diff:calc(var(--touch-area) - var(--width));--offset:calc(var(--size-diff) / 2);position:absolute;content:'';inset:calc(var(--offset) * -1);}"],({theme:e,$size:t,$isCosy:n})=>n?e.dimension.icon[t].width:e.dimension.minTouchArea,({theme:e})=>e.color.actionBase.base,({theme:e})=>e.transition.base,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.semiotic.disabled,({theme:e})=>e.dimension.minTouchArea),f=h(e=>{let{title:t,svg:n,size:r=a.S,isCosy:c=!1,isDisabled:d=!1}=e,p=(0,o.A)(e,l);return(0,i.jsx)(m,u(u({},p),{},{title:t,$size:r,$isCosy:c,disabled:d,children:(0,i.jsx)(s.I,{size:r,svg:n})}))},"IconButton")},35046(e,t,n){"use strict";n.d(t,{I:()=>y,a:()=>h,b:()=>m});var r=n(79811),o=n(73245),i=n(86106),s=n(7355),a=n(64543);const c=["layout","height","width"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var d=Object.defineProperty,u=(e,t)=>d(e,"name",{value:t,configurable:!0});const p=u((e,...t)=>e.reduce((e,n,r)=>{var o;return e+=n.replace(/(?:\n(?:\s*))+/g," ")+(null!==(o=t[r])&&void 0!==o?o:"")},"").trim(),"minify"),h="fixed",m="responsive";function f(e){return`data:image/svg+xml,${encodeURIComponent(p` `)}`}u(f,"colourisedPlaceholder");const g=f((0,s.l)("#222222","#ffffff")),b=u(({$layout:e,$width:t,$height:n})=>e===h?(0,a.css)(["width:","px;height:","px;"],t,n):(0,a.css)(["width:100%;height:100%;"]),"layoutStyles"),v=a.styled.img.withConfig({componentId:"sc-1mc30lb-0"})(["",""],b),y=u(e=>{let{layout:t=m,height:n,width:s}=e,a=(0,o.A)(e,c);return(0,i.jsx)(v,function(e){for(var t=1;tr.I,uL:()=>r.b,wm:()=>r.a});var r=n(35046)},72792(e,t,n){"use strict";n.d(t,{F:()=>Y,I:()=>Ke,a:()=>K,u:()=>Ge});var r=n(79811),o=n(73245),i=n(7378);const s=["children"],a=["name"],c=["_f"],l=["_f"],d=["ref","message","type"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;th(e,"name",{value:t,configurable:!0}),f=m(e=>"checkbox"===e.type,"isCheckBoxInput"),g=m(e=>e instanceof Date,"isDateObject"),b=m(e=>null==e,"isNullOrUndefined");const v=m(e=>"object"==typeof e,"isObjectType");var y=m(e=>!b(e)&&!Array.isArray(e)&&v(e)&&!g(e),"isObject"),x=m(e=>y(e)&&e.target?f(e.target)?e.target.checked:e.target.value:e,"getEventValue"),w=m(e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,"getNodeParentName"),j=m((e,t)=>e.has(w(t)),"isNameInFieldArray"),O=m(e=>{const t=e.constructor&&e.constructor.prototype;return y(t)&&t.hasOwnProperty("isPrototypeOf")},"isPlainObject"),S=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function C(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(S&&(e instanceof Blob||e instanceof FileList)||!n&&!y(e))return e;if(t=n?[]:{},n||O(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=C(e[n]));else t=e}return t}m(C,"cloneObject");var E=m(e=>Array.isArray(e)?e.filter(Boolean):[],"compact"),I=m(e=>void 0===e,"isUndefined"),P=m((e,t,n)=>{if(!t||!y(e))return n;const r=E(t.split(/[,[\].]+?/)).reduce((e,t)=>b(e)?e:e[t],e);return I(r)||r===e?I(e[t])?n:e[t]:r},"get"),k=m(e=>"boolean"==typeof e,"isBoolean"),A=m(e=>/^\w*$/.test(e),"isKey"),T=m(e=>E(e.replace(/["|']|\]/g,"").split(/\.|\[/)),"stringToPath"),D=m((e,t,n)=>{let r=-1;const o=A(t)?[t]:T(t),i=o.length,s=i-1;for(;++ri.useContext(G),"useFormContext"),Y=m(e=>{const{children:t}=e,n=(0,o.A)(e,s);return i.createElement(G.Provider,{value:n},t)},"FormProvider");var Z=m((e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const n in e)Object.defineProperty(o,n,{get:m(()=>{const o=n;return t._proxyFormState[o]!==$&&(t._proxyFormState[o]=!r||$),e[o]},"get")});return o},"getProxyFormState"),J=m(e=>y(e)&&!Object.keys(e).length,"isEmptyObject"),Q=m((e,t,n,r)=>{n(e);const{name:i}=e,s=(0,o.A)(e,a);return J(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(e=>t[e]===$)},"shouldRenderFormState"),X=m(e=>Array.isArray(e)?e:[e],"convertToArrayPayload");function ee(e){const t=i.useRef(e);t.current=e,i.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}m(ee,"useSubscribe");var te=m(e=>"string"==typeof e,"isString"),ne=m((e,t,n,r,o)=>te(e)?(r&&t.watch.add(e),P(n,e,o)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),P(n,e))):(r&&(t.watchAll=!0),n),"generateWatchOutput"),re=m((e,t,n,r,o)=>t?p(p({},n[e]),{},{types:p(p({},n[e]&&n[e].types?n[e].types:{}),{},{[r]:o||!0})}):{},"appendErrors"),oe=m(e=>({isOnSubmit:!e||e===z,isOnBlur:e===M,isOnChange:e===L,isOnAll:e===$,isOnTouch:e===R}),"getValidationModes"),ie=m((e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),"isWatched");const se=m((e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=P(e,i);if(n){const{_f:e}=n,s=(0,o.A)(n,c);if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(se(s,t))break}else if(y(s)&&se(s,t))break}}},"iterateFieldsByAction");var ae=m((e,t,n)=>{const r=X(P(e,n));return D(r,"root",t[n]),D(e,n,r),e},"updateFieldArrayRootError"),ce=m(e=>"file"===e.type,"isFileInput"),le=m(e=>"function"==typeof e,"isFunction"),de=m(e=>{if(!S)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},"isHTMLElement"),ue=m(e=>te(e),"isMessage"),pe=m(e=>"radio"===e.type,"isRadioInput"),he=m(e=>e instanceof RegExp,"isRegex");const me={value:!1,isValid:!1},fe={value:!0,isValid:!0};var ge=m(e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!I(e[0].attributes.value)?I(e[0].value)||""===e[0].value?fe:{value:e[0].value,isValid:!0}:fe:me}return me},"getCheckboxValue");const be={isValid:!1,value:null};var ve=m(e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,be):be,"getRadioValue");function ye(e,t,n="validate"){if(ue(e)||Array.isArray(e)&&e.every(ue)||k(e)&&!e)return{type:n,message:ue(e)?e:"",ref:t}}m(ye,"getValidateError");var xe=m(e=>y(e)&&!he(e)?e:{value:e,message:""},"getValueAndMessage"),we=m(async(e,t,n,r,o)=>{const{ref:i,refs:s,required:a,maxLength:c,minLength:l,min:d,max:u,pattern:h,validate:g,name:v,valueAsNumber:x,mount:w,disabled:j}=e._f,O=P(t,v);if(!w||j)return{};const S=s?s[0]:i,C=m(e=>{r&&S.reportValidity&&(S.setCustomValidity(k(e)?"":e||""),S.reportValidity())},"setCustomValidity"),E={},A=pe(i),T=f(i),D=A||T,_=(x||ce(i))&&I(i.value)&&I(O)||de(i)&&""===i.value||""===O||Array.isArray(O)&&!O.length,N=re.bind(null,v,n,E),M=m((e,t,n,r=V,o=H)=>{const s=e?t:n;E[v]=p({type:e?r:o,message:s,ref:i},N(e?r:o,s))},"getMinMaxMessage");if(o?!Array.isArray(O)||!O.length:a&&(!D&&(_||b(O))||k(O)&&!O||T&&!ge(s).isValid||A&&!ve(s).isValid)){const{value:e,message:t}=ue(a)?{value:!!a,message:a}:xe(a);if(e&&(E[v]=p({type:W,message:t,ref:S},N(W,t)),!n))return C(t),E}if(!(_||b(d)&&b(u))){let e,t;const r=xe(u),o=xe(d);if(b(O)||isNaN(O)){const n=i.valueAsDate||new Date(O),s=m(e=>new Date((new Date).toDateString()+" "+e),"convertTimeToDate"),a="time"==i.type,c="week"==i.type;te(r.value)&&O&&(e=a?s(O)>s(r.value):c?O>r.value:n>new Date(r.value)),te(o.value)&&O&&(t=a?s(O)r.value),b(o.value)||(t=n+e.value,o=!b(t.value)&&O.length<+t.value;if((r||o)&&(M(r,e.message,t.message),!n))return C(E[v].message),E}if(h&&!_&&te(O)){const{value:e,message:t}=xe(h);if(he(e)&&!O.match(e)&&(E[v]=p({type:q,message:t,ref:i},N(q,t)),!n))return C(t),E}if(g)if(le(g)){const e=ye(await g(O,t),S);if(e&&(E[v]=p(p({},e),N(U,e.message)),!n))return C(e.message),E}else if(y(g)){let e={};for(const r in g){if(!J(e)&&!n)break;const o=ye(await g[r](O,t),S,r);o&&(e=p(p({},o),N(r,o.message)),C(o.message),n&&(E[v]=e))}if(!J(e)&&(E[v]=p({ref:S},e),!n))return E}return C(!0),E},"validateField");function je(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:m(t=>{for(const n of e)n.next&&n.next(t)},"next"),subscribe:m(t=>(e.push(t),{unsubscribe:m(()=>{e=e.filter(e=>e!==t)},"unsubscribe")}),"subscribe"),unsubscribe:m(()=>{e=[]},"unsubscribe")}},"createSubject"),Ee=m(e=>b(e)||!v(e),"isPrimitive");function Ie(e,t){if(Ee(e)||Ee(t))return e===t;if(g(e)&&g(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const n=e[o];if(!r.includes(o))return!1;if("ref"!==o){const e=t[o];if(g(n)&&g(e)||y(n)&&y(e)||Array.isArray(n)&&Array.isArray(e)?!Ie(n,e):n!==e)return!1}}return!0}m(Ie,"deepEqual");var Pe=m(e=>"select-multiple"===e.type,"isMultipleSelect"),ke=m(e=>pe(e)||f(e),"isRadioOrCheckbox"),Ae=m(e=>de(e)&&e.isConnected,"live"),Te=m(e=>{for(const t in e)if(le(e[t]))return!0;return!1},"objectHasFunction");function De(e,t={}){const n=Array.isArray(e);if(y(e)||n)for(const n in e)Array.isArray(e[n])||y(e[n])&&!Te(e[n])?(t[n]=Array.isArray(e[n])?[]:{},De(e[n],t[n])):b(e[n])||(t[n]=!0);return t}function _e(e,t,n){const r=Array.isArray(e);if(y(e)||r)for(const r in e)Array.isArray(e[r])||y(e[r])&&!Te(e[r])?I(t)||Ee(n[r])?n[r]=Array.isArray(e[r])?De(e[r],[]):p({},De(e[r])):_e(e[r],b(t)?{}:t[r],n[r]):n[r]=!Ie(e[r],t[r]);return n}m(De,"markFieldsDirty"),m(_e,"getDirtyFieldsFromDefaultValues");var Ne=m((e,t)=>_e(e,t,De(t)),"getDirtyFields"),Me=m((e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>I(e)?e:t?""===e?NaN:e&&+e:n&&te(e)?new Date(e):r?r(e):e,"getFieldValueAs");function Le(e){const t=e.ref;if(!(e.refs?e.refs.every(e=>e.disabled):t.disabled))return ce(t)?t.files:pe(t)?ve(e.refs).value:Pe(t)?[...t.selectedOptions].map(({value:e})=>e):f(t)?ge(e.refs).value:Me(I(t.value)?e.ref.value:t.value,e)}m(Le,"getFieldValue");var ze=m((e,t,n,r)=>{const o={};for(const n of e){const e=P(t,n);e&&D(o,n,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},"getResolverOptions"),Re=m(e=>I(e)?e:he(e)?e.source:y(e)?he(e.value)?e.value.source:e.value:e,"getRuleValue");const $e="AsyncFunction";var Be=m(e=>!(e&&e.validate||!(le(e.validate)&&e.validate.constructor.name===$e||y(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===$e))),"hasPromiseValidation"),Fe=m(e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),"hasValidation");function Ve(e,t,n){const r=P(e,n);if(r||A(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),i=P(t,r),s=P(e,r);if(i&&!Array.isArray(i)&&n!==r)return{name:n};if(s&&s.type)return{name:r,error:s};o.pop()}return{name:n}}m(Ve,"schemaErrorLookup");var He=m((e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e),"skipValidation"),qe=m((e,t)=>!E(P(e,t)).length&&Se(e,t),"unsetEmptyArray");const We={mode:z,reValidateMode:L,shouldFocusError:!0};function Ue(e={}){let t,n=p(p({},We),e),r={submitCount:0,isDirty:!1,isLoading:le(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},s=(y(n.defaultValues)||y(n.values))&&C(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:C(s),c={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},h=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},w={values:Ce(),array:Ce(),state:Ce()},O=oe(n.mode),A=oe(n.reValidateMode),T=n.criteriaMode===$,M=m(e=>t=>{clearTimeout(h),h=setTimeout(e,t)},"debounce"),L=m(async e=>{if(!n.disabled&&(v.isValid||e)){const e=n.resolver?J((await W()).errors):await G(i,!0);e!==r.isValid&&w.state.next({isValid:e})}},"_updateValid"),z=m((e,t)=>{!n.disabled&&(v.isValidating||v.validatingFields)&&((e||Array.from(u.mount)).forEach(e=>{e&&(t?D(r.validatingFields,e,t):Se(r.validatingFields,e))}),w.state.next({validatingFields:r.validatingFields,isValidating:!J(r.validatingFields)}))},"_updateIsValidating"),R=m((e,t=[],o,l,d=!0,u=!0)=>{if(l&&o&&!n.disabled){if(c.action=!0,u&&Array.isArray(P(i,e))){const t=o(P(i,e),l.argA,l.argB);d&&D(i,e,t)}if(u&&Array.isArray(P(r.errors,e))){const t=o(P(r.errors,e),l.argA,l.argB);d&&D(r.errors,e,t),qe(r.errors,e)}if(v.touchedFields&&u&&Array.isArray(P(r.touchedFields,e))){const t=o(P(r.touchedFields,e),l.argA,l.argB);d&&D(r.touchedFields,e,t)}v.dirtyFields&&(r.dirtyFields=Ne(s,a)),w.state.next({name:e,isDirty:Y(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else D(a,e,t)},"_updateFieldArray"),B=m((e,t)=>{D(r.errors,e,t),w.state.next({errors:r.errors})},"updateErrors"),F=m(e=>{r.errors=e,w.state.next({errors:r.errors,isValid:!1})},"_setErrors"),V=m((e,t,n,r)=>{const o=P(i,e);if(o){const i=P(a,e,I(n)?P(s,e):n);I(i)||r&&r.defaultChecked||t?D(a,e,t?i:Le(o._f)):ee(e,i),c.mount&&L()}},"updateValidAndValue"),H=m((e,t,o,a,c)=>{let l=!1,d=!1;const u={name:e};if(!n.disabled){const n=!!(P(i,e)&&P(i,e)._f&&P(i,e)._f.disabled);if(!o||a){v.isDirty&&(d=r.isDirty,r.isDirty=u.isDirty=Y(),l=d!==u.isDirty);const o=n||Ie(P(s,e),t);d=!(n||!P(r.dirtyFields,e)),o||n?Se(r.dirtyFields,e):D(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,l=l||v.dirtyFields&&d!==!o}if(o){const t=P(r.touchedFields,e);t||(D(r.touchedFields,e,o),u.touchedFields=r.touchedFields,l=l||v.touchedFields&&t!==o)}l&&c&&w.state.next(u)}return l?u:{}},"updateTouchAndDirty"),q=m((n,o,i,s)=>{const a=P(r.errors,n),c=v.isValid&&k(o)&&r.isValid!==o;if(e.delayError&&i?(t=M(()=>B(n,i)),t(e.delayError)):(clearTimeout(h),t=null,i?D(r.errors,n,i):Se(r.errors,n)),(i?!Ie(a,i):a)||!J(s)||c){const e=p(p(p({},s),c&&k(o)?{isValid:o}:{}),{},{errors:r.errors,name:n});r=p(p({},r),e),w.state.next(e)}},"shouldRenderByError"),W=m(async e=>{z(e,!0);const t=await n.resolver(a,n.context,ze(e||u.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return z(e),t},"_executeSchema"),U=m(async e=>{const{errors:t}=await W(e);if(e)for(const n of e){const e=P(t,n);e?D(r.errors,n,e):Se(r.errors,n)}else r.errors=t;return t},"executeSchemaAndUpdateState"),G=m(async(e,t,i={valid:!0})=>{for(const s in e){const c=e[s];if(c){const{_f:e}=c,d=(0,o.A)(c,l);if(e){const o=u.array.has(e.name),l=c._f&&Be(c._f);l&&v.validatingFields&&z([s],!0);const d=await we(c,a,T,n.shouldUseNativeValidation&&!t,o);if(l&&v.validatingFields&&z([s]),d[e.name]&&(i.valid=!1,t))break;!t&&(P(d,e.name)?o?ae(r.errors,d,e.name):D(r.errors,e.name,d[e.name]):Se(r.errors,e.name))}!J(d)&&await G(d,t,i)}}return i.valid},"executeBuiltInValidation"),K=m(()=>{for(const e of u.unMount){const t=P(i,e);t&&(t._f.refs?t._f.refs.every(e=>!Ae(e)):!Ae(t._f.ref))&&xe(e)}u.unMount=new Set},"_removeUnmounted"),Y=m((e,t)=>!n.disabled&&(e&&t&&D(a,e,t),!Ie(fe(),s)),"_getDirty"),Z=m((e,t,n)=>ne(e,u,p({},c.mount?a:I(t)?s:te(e)?{[e]:t}:t),n,t),"_getWatch"),Q=m(t=>E(P(c.mount?a:s,t,e.shouldUnregister?P(s,t,[]):[])),"_getFieldArray"),ee=m((e,t,n={})=>{const r=P(i,e);let o=t;if(r){const n=r._f;n&&(!n.disabled&&D(a,e,Me(t,n)),o=de(n.ref)&&b(t)?"":t,Pe(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?f(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):n.refs[0]&&(n.refs[0].checked=!!o):n.refs.forEach(e=>e.checked=e.value===o):ce(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||w.values.next({name:e,values:p({},a)})))}(n.shouldDirty||n.shouldTouch)&&H(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&me(e)},"setFieldValue"),re=m((e,t,n)=>{for(const r in t){const o=t[r],s=`${e}.${r}`,a=P(i,s);(u.array.has(e)||y(o)||a&&!a._f)&&!g(o)?re(s,o,n):ee(s,o,n)}},"setValues"),ue=m((e,t,n={})=>{const o=P(i,e),l=u.array.has(e),d=C(t);D(a,e,d),l?(w.array.next({name:e,values:p({},a)}),(v.isDirty||v.dirtyFields)&&n.shouldDirty&&w.state.next({name:e,dirtyFields:Ne(s,a),isDirty:Y(e,d)})):!o||o._f||b(d)?ee(e,d,n):re(e,d,n),ie(e,u)&&w.state.next(p({},r)),w.values.next({name:c.mount?e:void 0,values:p({},a)})},"setValue"),pe=m(async o=>{c.mount=!0;const s=o.target;let l=s.name,d=!0;const h=P(i,l),f=m(()=>s.type?Le(h._f):x(o),"getCurrentFieldValue"),b=m(e=>{d=Number.isNaN(e)||g(e)&&isNaN(e.getTime())||Ie(e,P(a,l,e))},"_updateIsFieldValueUpdated");if(h){let s,c;const m=f(),g=o.type===_||o.type===N,y=!Fe(h._f)&&!n.resolver&&!P(r.errors,l)&&!h._f.deps||He(g,P(r.touchedFields,l),r.isSubmitted,A,O),x=ie(l,u,g);D(a,l,m),g?(h._f.onBlur&&h._f.onBlur(o),t&&t(0)):h._f.onChange&&h._f.onChange(o);const j=H(l,m,g,!1),S=!J(j)||x;if(!g&&w.values.next({name:l,type:o.type,values:p({},a)}),y)return v.isValid&&("onBlur"===e.mode?g&&L():L()),S&&w.state.next(p({name:l},x?{}:j));if(!g&&x&&w.state.next(p({},r)),n.resolver){const{errors:e}=await W([l]);if(b(m),d){const t=Ve(r.errors,i,l),n=Ve(e,i,t.name||l);s=n.error,l=n.name,c=J(e)}}else z([l],!0),s=(await we(h,a,T,n.shouldUseNativeValidation))[l],z([l]),b(m),d&&(s?c=!1:v.isValid&&(c=await G(i,!0)));d&&(h._f.deps&&me(h._f.deps),q(l,c,s,j))}},"onChange"),he=m((e,t)=>{if(P(r.errors,t)&&e.focus)return e.focus(),1},"_focusInput"),me=m(async(e,t={})=>{let o,s;const a=X(e);if(n.resolver){const t=await U(I(e)?e:a);o=J(t),s=e?!a.some(e=>P(t,e)):o}else e?(s=(await Promise.all(a.map(async e=>{const t=P(i,e);return await G(t&&t._f?{[e]:t}:t)}))).every(Boolean),(s||r.isValid)&&L()):s=o=await G(i);return w.state.next(p(p(p({},!te(e)||v.isValid&&o!==r.isValid?{}:{name:e}),n.resolver||!e?{isValid:o}:{}),{},{errors:r.errors})),t.shouldFocus&&!s&&se(i,he,e?a:u.mount),s},"trigger"),fe=m(e=>{const t=p({},c.mount?a:s);return I(e)?t:te(e)?P(t,e):e.map(e=>P(t,e))},"getValues"),ge=m((e,t)=>({invalid:!!P((t||r).errors,e),isDirty:!!P((t||r).dirtyFields,e),error:P((t||r).errors,e),isValidating:!!P(r.validatingFields,e),isTouched:!!P((t||r).touchedFields,e)}),"getFieldState"),be=m(e=>{e&&X(e).forEach(e=>Se(r.errors,e)),w.state.next({errors:e?r.errors:{}})},"clearErrors"),ve=m((e,t,n)=>{const s=(P(i,e,{_f:{}})._f||{}).ref,a=P(r.errors,e)||{},{ref:c,message:l,type:u}=a,h=(0,o.A)(a,d);D(r.errors,e,p(p(p({},h),t),{},{ref:s})),w.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&s&&s.focus&&s.focus()},"setError"),ye=m((e,t)=>le(e)?w.values.subscribe({next:m(n=>e(Z(void 0,t),n),"next")}):Z(e,t,!0),"watch"),xe=m((e,t={})=>{for(const o of e?X(e):u.mount)u.mount.delete(o),u.array.delete(o),t.keepValue||(Se(i,o),Se(a,o)),!t.keepError&&Se(r.errors,o),!t.keepDirty&&Se(r.dirtyFields,o),!t.keepTouched&&Se(r.touchedFields,o),!t.keepIsValidating&&Se(r.validatingFields,o),!n.shouldUnregister&&!t.keepDefaultValue&&Se(s,o);w.values.next({values:p({},a)}),w.state.next(p(p({},r),t.keepDirty?{isDirty:Y()}:{})),!t.keepIsValid&&L()},"unregister"),je=m(({disabled:e,name:t,field:n,fields:r,value:o})=>{if(k(e)&&c.mount||e){const i=e?void 0:I(o)?Le(n?n._f:P(r,t)._f):o;D(a,t,i),H(t,i,!1,!1,!0)}},"_updateDisabledField"),Oe=m((e,t={})=>{let r=P(i,e);const o=k(t.disabled)||k(n.disabled);return D(i,e,p(p({},r||{}),{},{_f:p(p({},r&&r._f?r._f:{ref:{name:e}}),{},{name:e,mount:!0},t)})),u.mount.add(e),r?je({field:r,disabled:k(t.disabled)?t.disabled:n.disabled,name:e,value:t.value}):V(e,!0,t.value),p(p(p({},o?{disabled:t.disabled||n.disabled}:{}),n.progressive?{required:!!t.required,min:Re(t.min),max:Re(t.max),minLength:Re(t.minLength),maxLength:Re(t.maxLength),pattern:Re(t.pattern)}:{}),{},{name:e,onChange:pe,onBlur:pe,ref:m(o=>{if(o){Oe(e,t),r=P(i,e);const n=I(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,a=ke(n),c=r._f.refs||[];if(a?c.find(e=>e===n):n===r._f.ref)return;D(i,e,{_f:p(p({},r._f),a?{refs:[...c.filter(Ae),n,...Array.isArray(P(s,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n})}),V(e,!1,void 0,n)}else r=P(i,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!j(u.array,e)||!c.action)&&u.unMount.add(e)},"ref")})},"register"),Ee=m(()=>n.shouldFocusError&&se(i,he,u.mount),"_focusError"),Te=m(e=>{k(e)&&(w.state.next({disabled:e}),se(i,(t,n)=>{const r=P(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},"_disableForm"),De=m((e,t)=>async o=>{let s;if(o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist()),n.disabled)return void(t&&await t(p({},r.errors),o));let c=C(a);if(w.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await W();r.errors=e,c=t}else await G(i);if(Se(r.errors,"root"),J(r.errors)){w.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else t&&await t(p({},r.errors),o),Ee(),setTimeout(Ee);if(w.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:J(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},"handleSubmit"),_e=m((e,t={})=>{P(i,e)&&(I(t.defaultValue)?ue(e,C(P(s,e))):(ue(e,t.defaultValue),D(s,e,C(t.defaultValue))),t.keepTouched||Se(r.touchedFields,e),t.keepDirty||(Se(r.dirtyFields,e),r.isDirty=t.defaultValue?Y(e,C(P(s,e))):Y()),t.keepError||(Se(r.errors,e),v.isValid&&L()),w.state.next(p({},r)))},"resetField"),$e=m((t,n={})=>{const o=t?C(t):s,l=C(o),d=J(t),h=d?s:l;if(n.keepDefaultValues||(s=o),!n.keepValues){if(n.keepDirtyValues){const e=new Set([...u.mount,...Object.keys(Ne(s,a))]);for(const t of Array.from(e))P(r.dirtyFields,t)?D(h,t,P(a,t)):ue(t,P(h,t))}else{if(S&&I(t))for(const e of u.mount){const t=P(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(de(e)){const t=e.closest("form");if(t){t.reset();break}}}}i={}}a=e.shouldUnregister?n.keepDefaultValues?C(s):{}:C(h),w.array.next({values:p({},h)}),w.values.next({values:p({},h)})}u={mount:n.keepDirtyValues?u.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!v.isValid||!!n.keepIsValid||!!n.keepDirtyValues,c.watch=!!e.shouldUnregister,w.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!d&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||Ie(t,s))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:d?{}:n.keepDirtyValues?n.keepDefaultValues&&a?Ne(s,a):r.dirtyFields:n.keepDefaultValues&&t?Ne(s,t):n.keepDirty?r.dirtyFields:{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},"_reset"),Ue=m((e,t)=>$e(le(e)?e(a):e,t),"reset");return{control:{register:Oe,unregister:xe,getFieldState:ge,handleSubmit:De,setError:ve,_executeSchema:W,_getWatch:Z,_getDirty:Y,_updateValid:L,_removeUnmounted:K,_updateFieldArray:R,_updateDisabledField:je,_getFieldArray:Q,_reset:$e,_resetDefaultValues:m(()=>le(n.defaultValues)&&n.defaultValues().then(e=>{Ue(e,n.resetOptions),w.state.next({isLoading:!1})}),"_resetDefaultValues"),_updateFormState:m(e=>{r=p(p({},r),e)},"_updateFormState"),_disableForm:Te,_subjects:w,_proxyFormState:v,_setErrors:F,get _fields(){return i},get _formValues(){return a},get _state(){return c},set _state(e){c=e},get _defaultValues(){return s},get _names(){return u},set _names(e){u=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n=p(p({},n),e)}},trigger:me,register:Oe,handleSubmit:De,watch:ye,setValue:ue,getValues:fe,reset:Ue,resetField:_e,clearErrors:be,unregister:xe,setError:ve,setFocus:m((e,t={})=>{const n=P(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&le(e.select)&&e.select())}},"setFocus"),getFieldState:ge}}function Ge(e={}){const t=i.useRef(),n=i.useRef(),[r,o]=i.useState({isDirty:!1,isValidating:!1,isLoading:le(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:le(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current=p(p({},Ue(e)),{},{formState:r}));const s=t.current.control;return s._options=e,ee({subject:s._subjects.state,next:m(e=>{Q(e,s._proxyFormState,s._updateFormState)&&o(p({},s._formState))},"next")}),i.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),i.useEffect(()=>{if(s._proxyFormState.isDirty){const e=s._getDirty();e!==r.isDirty&&s._subjects.state.next({isDirty:e})}},[s,r.isDirty]),i.useEffect(()=>{e.values&&!Ie(e.values,n.current)?(s._reset(e.values,s._options.resetOptions),n.current=e.values,o(e=>p({},e))):s._resetDefaultValues()},[e.values,s]),i.useEffect(()=>{e.errors&&s._setErrors(e.errors)},[e.errors,s]),i.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next(p({},s._formState))),s._removeUnmounted()}),i.useEffect(()=>{e.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[e.shouldUnregister,s]),t.current.formState=Z(r,s),t.current}m(Ue,"createFormControl"),m(Ge,"useForm");var Ke=(e=>(e.DEFAULT="default",e.ERROR="error",e.SUCCESS="success",e.WAITING="waiting",e))(Ke||{})},48539(e,t,n){"use strict";n.d(t,{L:()=>v,a:()=>b,c:()=>y,e:()=>w,f:()=>P});var r=n(79811),o=n(73245),i=n(86106),s=n(22126),a=n(7378),c=n(64543),l=n(69889),d=n(37844),u=n(9969);const p=["forwardedAs","id","className","disabled","children","icon","role","title","tabIndex","variant"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;tf(e,"name",{value:t,configurable:!0});const b="button",v="a",y="reset",x="primary",w="secondary",j=c.css` display: inline-flex; width: auto; box-sizing: border-box; align-items: center; justify-content: center; gap: ${({theme:e})=>e.dimension.btn.iconSpacing}px; border-radius: ${({theme:e})=>e.dimension.btn.borderRadius}px; outline-offset: ${({theme:e})=>e.spacing.x0_5}px; text-align: center; transition: background-color ${({theme:e})=>e.transition.base}; white-space: nowrap; color: var(--primary-color); text-transform: none; ${({theme:e})=>e.textStyle.link.small}; &:focus, &:hover, &:active { color: var(--hover-color); } &.is-disabled, &:disabled { &, &:focus, &:hover, &:active { color: var(--disabled-color); pointer-events: none; } } `,O=c.css` --primary-color: ${({theme:e})=>e.color.actionBrand.base}; --hover-color: ${({theme:e})=>e.color.actionBrand.alt}; --disabled-color: ${({theme:e})=>e.color.actionBrand.disabled}; height: ${({theme:e})=>e.dimension.btn.height}px; padding: 0 ${({theme:e})=>e.spacing.x2}px; `,S=c.css` --primary-color: ${({theme:e})=>e.color.actionBase.base}; --hover-color: ${({theme:e})=>e.color.actionBase.alt}; --disabled-color: ${({theme:e})=>e.color.actionBase.disabled}; `,C=g(({$variant:e})=>e===w?S:O,"variantStyles"),E=c.styled.button.withConfig({componentId:"sc-17n088r-0"})(["",";",";"],j,C),I=(0,c.styled)(d.I).attrs({size:u.b,svg:l.W}).withConfig({componentId:"sc-17n088r-1"})(["flex-grow:0;flex-shrink:0;"]),P=(0,a.forwardRef)(g(function(e,t){let{forwardedAs:n,id:r,className:a,disabled:c=!1,children:l,icon:d,role:u,title:h,tabIndex:f,variant:g=x}=e,b=(0,o.A)(e,p);const y=b.as===v&&b.isExternal,w=(()=>{if(b.as===v){const{href:e,target:t,rel:n,onClick:r,onKeyDown:o,as:i,onFocus:s,onBlur:a}=b;return{href:e,target:t,rel:n,onClick:r,onKeyDown:o,as:i,onFocus:s,onBlur:a}}const{name:e,value:t,type:n,onClick:r,onKeyDown:o,as:i,onFocus:s,onBlur:a}=b;return{name:e,value:t,type:n,onClick:r,onKeyDown:o,as:i,onFocus:s,onBlur:a}})(),j=Object.fromEntries(Object.entries(b).filter(([e])=>/^aria-|data-/.test(e)));return(0,i.jsxs)(E,m(m(m({forwardedAs:n,id:r,className:(0,s.c)(a,{"is-disabled":c&&(b.as===v||n===v)}),ref:t,role:u,title:h,tabIndex:f,disabled:c,$variant:g},w),j),{},{children:[l,d||y&&(0,i.jsx)(I,{})]}))},"Button"))},7747(e,t,n){"use strict";n.d(t,{Ay:()=>r.f,PS:()=>r.a,av:()=>r.L});var r=n(48539)},74708(e,t,n){"use strict";n.d(t,{L:()=>h});var r=n(79811),o=n(86106),i=n(64543),s=n(7378);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0});const d=l(e=>s.createElement("svg",function(e){for(var t=1;te.dimension.loadingEllipsis.height,u,({theme:e})=>e.color.ink.base),h=l(()=>(0,o.jsx)(p,{"data-testid":"loading-ellipsis"}),"LoadingEllipsis")},68472(e,t,n){"use strict";n.d(t,{A:()=>r.L});var r=n(74708)},32741(e,t,n){"use strict";n.d(t,{Ui:()=>g,fB:()=>b,rW:()=>v,Ay:()=>S});var r=n(79811),o=n(86106),i=n(7378),s=n(37693),a=n(64543),c=n(37844),l=n(9969);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=h(e=>i.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",id:"600f53465147d717",viewBox:"0 0 32 32"},e),i.createElement("path",{fill:"currentColor",d:"M25.29 22.24c-.32-.17-.22-.12-1.73-1.02l-3.32.7-.85-.74.03-.22-.1-.5.1-.23v-.73l-.94.84-.02-.03 2.73-3.23-.02-.06-.8-.14v-.04h1.43c.15.2.47.24.7.18v-.03l-.28-.47s.27-.27.45.05c.1.15.16.35.03.47l.02.04a.7.7 0 0 0 .48-.28c.16-.2.13-.54-.06-.77-.17-.2-.48-.5-.48-.5a.8.8 0 0 0-.51-.83l-1.36-.54h-1.86v-.04l1.84-.22.56-.5s1.9-.64 2.26-.94 1.24-3.2 1.24-3.2l1.97-2.74-.08-1.17h-.05l-.21.97-.99.83.1-.9-.54-1.15-.04.05.16 1.06-.56 1.09-.62-1.01-1.09-.9-.03.05.76 1.1.07 1.28-1.44-.86-1.24-.2-.02.04 1.08.45.73 1.27-1.65-.48-1.05-.2-.03.04 1 .35.65.94-2.34-.09v.04l1.27.85-2.18.58v.04l1.07.43-2.03.79v.04l1 .5-2.04.96v.04l1.2.47-1.75.8.54.7-.04.03-1.22-1.04-3.15-4.4-2.86-1.47L6.9 6.38l-.7-1.9-.03.01.25 2.14 1.1 1.78-.03.03L5.9 7.1l-.76-1.48h-.05l.27 1.75.79 1.43-.03.02-1.28-1.04-.66-1-.04.02.31 1.34.82 1.21-.03.03-1.27-.74-.55-.7-.04.01L3.73 9l.59.74-.02.03-.59-.11-.01.03 1.24 1.18v.03l-1.1-.06v.06l1.55.96-.01.03-.72.06V12l1.79.69v.03l-.7.25V13l4.33.32v.03l-2.41.02-.05.5 3.02-.05v.04l-2.16.23-.1.59 2.94-.41v.04l-2.28.53-.04.68 3.02-.83.01.04-2.49.97.02.63 3.05-1.28v.04l-2.45 1.33.08.64 2.99-1.53.02.03-2.44 1.56.14.54 2.88-1.6.01.04-2.23 1.5.21.58 2.38-1.43.02.04-1.56 1.16.28.55 1.15-.71.02.02-.43.38.21.44.26-.1.36-.13.2-.07.1-.04.1-.06.17-.13.04-.03.03-.04.08-.07.06-.08.06-.08.04-.08.04-.08.1-.25.01-.07v-.03h.05v.03l-.02.08q0 .05-.03.12 0 .08-.04.15l-.04.09-.04.08-.05.1-.06.08-.07.09-.04.04-.04.04q-.08.08-.18.15l-.1.07-.1.06-.56.24-3.32 1.25-2.18 3.43.13.09 2.43-2.83.03.02-1.45 2.13.9-.13 1.33-1.99.03.02-.97 1.92.83-.05.9-1.86.04.01-.61 1.83.84-.06.53-1.75h.04l-.3 1.72.86-.17.19-1.57h.04v1.5l.64-.37-.1-1.13h.04l.23 1.03.22.13.17.46.26.09.7.57-.02.03-.33-.15q-1.85.51-3.68 1.08h.01l1.24.72.9.51q.54.3.35.77l-.04-.02c.07-.2.02-.46-.23-.58l-1.5-.66-.95.3c-.4.14-.38.68 0 .83l1.74.63c.67.22.85.12 1.28-.08 1.7-.8 2.45-1.22 4.13-2.5l.02.02-1.18 1.14c.8-.37 1.59-.71 2.1-.92q.93-.47 1.77-1.07l.03.03-.82.74c.93-.18 2.45-.33 3.27-.33 1.1 0 1.11-.94.54-1.26zm-7.67.3-.49-.57-.24-1.38.04-.02.95 1.15h.33l.84.47z"})),"SvgLogoStampSimpleBadge32"),f=h(e=>i.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",id:"253072a0e13227e5",viewBox:"0 0 32 32"},e),i.createElement("mask",{id:"c71ee793c74e",fill:"#fff"},i.createElement("circle",{cx:16,cy:16,r:16})),i.createElement("g",{mask:"url(#c71ee793c74e)"},i.createElement("rect",{width:32,height:"100%",fill:"#722391"}),i.createElement("rect",{width:32,height:"83.3%",fill:"#152b9d"}),i.createElement("rect",{width:32,height:"66.6%",fill:"#70c23b"}),i.createElement("rect",{width:32,height:"50%",fill:"#ecfc5a"}),i.createElement("rect",{width:32,height:"33.3%",fill:"#e0a93f"}),i.createElement("rect",{width:32,height:"16.6%",fill:"#c13124"}),i.createElement("path",{fill:"#222",d:"M-6.62 16 6.81 2.56 20.25 16 6.81 29.44z"}),i.createElement("path",{fill:"#62411d",d:"M-6.62 16 5.12 4.26 16.86 16 5.12 27.74z"}),i.createElement("path",{fill:"#a1daec",d:"M-6.62 16 3.42 5.96 13.46 16 3.42 26.04z"}),i.createElement("path",{fill:"#efbcce",d:"m-6.62 16 8.34-8.34L10.07 16l-8.35 8.34z"}),i.createElement("path",{fill:"#f7f7f7",d:"M-6.62 16 .03 9.35 6.67 16 .03 22.65z"}),i.createElement("path",{fill:"#ecfc5a",d:"m-6.62 16 4.95-4.95L3.28 16l-4.95 4.95z"}),i.createElement("path",{fill:"#fff",d:"M25.29 22.24c-.32-.17-.22-.12-1.73-1.02l-3.32.7-.85-.74.03-.22-.1-.5.1-.23v-.73l-.94.84-.02-.03 2.73-3.23-.02-.06-.8-.14v-.04h1.43c.15.2.47.24.7.18v-.03l-.28-.47s.27-.27.45.05c.1.15.16.35.03.47l.02.04a.7.7 0 0 0 .48-.28c.16-.2.13-.54-.06-.77-.17-.2-.48-.5-.48-.5a.8.8 0 0 0-.51-.83l-1.36-.54h-1.86v-.04l1.84-.22.56-.5s1.9-.64 2.26-.94 1.24-3.2 1.24-3.2l1.97-2.74-.08-1.17h-.05l-.21.97-.99.83.1-.9-.54-1.15-.04.05.16 1.06-.56 1.09-.62-1.01-1.09-.9-.03.05.76 1.1.07 1.28-1.44-.86-1.24-.2-.02.04 1.08.45.73 1.27-1.65-.48-1.05-.2-.03.04 1 .35.65.94-2.34-.09v.04l1.27.85-2.18.58v.04l1.07.43-2.03.79v.04l1 .5-2.04.96v.04l1.2.47-1.75.8.54.7-.04.03-1.22-1.04-3.15-4.4-2.86-1.47L6.9 6.38l-.7-1.9-.03.01.25 2.14 1.1 1.78-.03.03L5.9 7.1l-.76-1.48h-.05l.27 1.75.79 1.43-.03.02-1.28-1.04-.66-1-.04.02.31 1.34.82 1.21-.03.03-1.27-.74-.55-.7-.04.01L3.73 9l.59.74-.02.03-.59-.11-.01.03 1.24 1.18v.03l-1.1-.06v.06l1.55.96-.01.03-.72.06V12l1.79.69v.03l-.7.25V13l4.33.32v.03l-2.41.02-.05.5 3.02-.05v.04l-2.16.23-.1.59 2.94-.41v.04l-2.28.53-.04.68 3.02-.83.01.04-2.49.97.02.63 3.05-1.28v.04l-2.45 1.33.08.64 2.99-1.53.02.03-2.44 1.56.14.54 2.88-1.6.01.04-2.23 1.5.21.58 2.38-1.43.02.04-1.56 1.16.28.55 1.15-.71.02.02-.43.38.21.44.26-.1.36-.13.2-.07.1-.04.1-.06.17-.13.04-.03.03-.04.08-.07.06-.08.06-.08.04-.08.04-.08.1-.25.01-.07v-.03h.05v.03l-.02.08q0 .05-.03.12 0 .08-.04.15l-.04.09-.04.08-.05.1-.06.08-.07.09-.04.04-.04.04q-.08.08-.18.15l-.1.07-.1.06-.56.24-3.32 1.25-2.18 3.43.13.09 2.43-2.83.03.02-1.45 2.13.9-.13 1.33-1.99.03.02-.97 1.92.83-.05.9-1.86.04.01-.61 1.83.84-.06.53-1.75h.04l-.3 1.72.86-.17.19-1.57h.04v1.5l.64-.37-.1-1.13h.04l.23 1.03.22.13.17.46.26.09.7.57-.02.03-.33-.15q-1.85.51-3.68 1.08h.01l1.24.72.9.51q.54.3.35.77l-.04-.02c.07-.2.02-.46-.23-.58l-1.5-.66-.95.3c-.4.14-.38.68 0 .83l1.74.63c.67.22.85.12 1.28-.08 1.7-.8 2.45-1.22 4.13-2.5l.02.02-1.18 1.14c.8-.37 1.59-.71 2.1-.92q.93-.47 1.77-1.07l.03.03-.82.74c.93-.18 2.45-.33 3.27-.33 1.1 0 1.11-.94.54-1.26zm-7.67.3-.49-.57-.24-1.38.04-.02.95 1.15h.33l.84.47z"}))),"SvgLogoStampSimplePride32"),g="badge",b="plain",v="pride",y="badge",x="plain",w=(0,a.css)(["color:",";"],({theme:e})=>e.color.primary.base),j=(0,a.css)(["border-radius:50%;background:",";color:",";"],({theme:e})=>"climate"===e.__meta__.name?e.gradients.climate:e.color.primary.base,({theme:e})=>e.color.ink.white),O=(0,a.styled)(c.I).attrs({size:l.a}).withConfig({componentId:"sc-1ix0cah-0"})(["display:inline-block;flex-shrink:0;",""],({$appearance:e})=>({[y]:j,[x]:w}[e])),S=h(({className:e,variant:t=g})=>{const n={[g]:[m,y],[b]:[s.S,x],[v]:[f,y]},[r,i]=n[t]||n[g];return(0,o.jsx)(O,{className:e,svg:r,$appearance:i})},"Logo")},80806(e,t,n){"use strict";n.d(t,{J8:()=>i.c,MA:()=>m,aF:()=>i.M,e:()=>i.S,r$:()=>f,yB:()=>i.I});var r=n(79811),o=n(73245),i=n(12751),s=n(86106),a=n(65680),c=n(74716);const l=["isHidden","title","children"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=h(e=>{let{isHidden:t,title:n,children:r}=e,c=(0,o.A)(e,l);return(0,s.jsx)(i.W,u(u({},c),{},{isHidden:t,children:(0,s.jsx)(i.I,{children:(0,s.jsxs)(a.F,{disabled:t,children:[(0,s.jsx)(i.T,{children:n}),r]})})}))},"SuccessConfirmationModal"),f=h(({tag:e,logoSvg:t,children:n})=>(0,s.jsxs)(i.H,{children:[e&&(0,s.jsx)(c.T,{size:"small",isExpanded:!0,children:"Subscribe to"}),(0,s.jsxs)(i.L,{children:[(0,s.jsx)(i.a,{svg:t}),(0,s.jsx)(i.b,{children:"Independent Premium"})]}),n]}),"SellingModalHeader")},53215(e,t,n){"use strict";n.d(t,{O:()=>C,b:()=>y,c:()=>b,f:()=>w,u:()=>j});var r=n(79811),o=n(73245),i=n(86106),s=n(22126),a=n(7378),c=n(64543);const l=["children","isHidden","returnFocus","onBackgroundClick","Wrapper","className"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=h(()=>{},"retrieveShowLogReference"),f=h(()=>{var e;let t=m();return typeof t>"u"&&(t=new URLSearchParams(null===(e=window)||void 0===e||null===(e=e.location)||void 0===e?void 0:e.search).has("__DEBUG__")),t},"isShowLog"),g=h((...e)=>{f()&&console.error(...e)},"error"),b="overlay--open",v="overlay-background",y="overlay-background--open",x="freeze-body",w=h(()=>{document.documentElement.classList.add(x)},"freezeBody"),j=h(()=>{document.documentElement.classList.remove(x)},"unfreezeBody"),O=h(()=>{j()},"onDestroy"),S=c.styled.div.withConfig({componentId:"sc-1u3ugdq-0"})(["position:fixed;top:0;left:0;z-index:",";background:",";cursor:pointer;opacity:0;transition:opacity 300ms ease-in-out;&.","{width:100vw;height:100vh;opacity:1;}"],e=>e.theme.zIndex.modalBackground,e=>e.theme.color.veil.base,y),C=h(e=>{let{children:t,isHidden:n=!0,returnFocus:r,onBackgroundClick:c,Wrapper:d,className:p}=e,h=(0,o.A)(e,l);const[m,f]=(0,a.useState)(!1),[x,C]=(0,a.useState)(!0),[E,I]=(0,a.useState)(!1),P=x||n,k=P?"":y,A=P?"":b;return(0,a.useEffect)(()=>{var e;if(!n){if(!m)return void f(!0);if(x)return void C(!1)}if(n)E&&(null!==(e=document.querySelector(r))&&void 0!==e&&e.focus(),j(),I(!1));else{if(p){var t;const e=document.querySelectorAll(`.${p} button`);e.length?null===(t=e[0])||void 0===t||t.focus():g("No overlay buttons detected")}w(),I(!0)}return()=>{O()}},[n,E,r,p,m,x]),m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{"data-testid":v,"aria-hidden":n,className:(0,s.c)(v,k),$isHidden:P,onClick:c}),(0,i.jsx)(d,u(u({"aria-hidden":n,className:(0,s.c)("overlay",A,p),$isHidden:P},h),{},{children:t}))]})},"Overlay")},22726(e,t,n){"use strict";n.d(t,{P:()=>f});var r=n(79811),o=n(86106),i=n(63140),s=n(7378),a=n(65680),c=n(50041),l=n(84866),d=n(68699);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;th(e,"name",{value:t,configurable:!0});const f=m(({className:e,heading:t,content:n,linkContent:r,linkProps:u,isHidden:h=!0,closeTimerAmount:f=8e3,closePopover:g,children:b,placement:v="bottom",returnFocus:y=!0,"data-testid":x})=>{const{refs:w,floatingStyles:j,update:O}=(0,i.u)({open:!h,placement:v,middleware:[(0,i.o)(8),(0,i.f)(),(0,i.s)()]}),S=(0,s.useId)(),C=(0,s.useRef)(g),E=(0,d.u)(C.current),I=(0,s.useRef)(null),P=(0,s.useRef)(h),k=`popover-heading-${S}`,A=`popover-content-${S}`;P.current=h;const T=m(e=>{I.current=setTimeout(C.current,e)},"setupTimer"),D=m(()=>T(2e3),"resetTimer"),_=m(()=>{I.current&&clearTimeout(I.current)},"clearTimer"),N=m(e=>{var t;_(),null==u||null===(t=u.onFocus)||void 0===t||t.call(u,e)},"onLinkFocus");return(0,s.useEffect)(()=>{if(!h)return _(),T(f),()=>_();_()},[h,f]),(0,s.useEffect)(()=>{if(!h&&w.reference.current&&w.floating.current)return(0,i.a)(w.reference.current,w.floating.current,O)},[h,w,O]),(0,s.useEffect)(()=>{const e=m(e=>{const t=!P.current,n=["Escape","Enter"].includes(e.key);t&&n&&C.current()},"handleKeyDown");return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.A,{ref:w.setReference,children:b}),(0,o.jsx)(c.D,{inverted:!1,colorMode:"light",children:(0,o.jsx)(l.W,p(p({ref:w.setFloating,style:j,className:e,"aria-hidden":h,"data-testid":x,onMouseEnter:_,onMouseLeave:D,"aria-labelledby":k},n&&{"aria-describedby":A}),{},{children:(0,o.jsx)(l.I,{ref:E,children:(0,o.jsx)(a.F,{disabled:h,returnFocus:y,autoFocus:!1,children:(0,o.jsxs)(l.C,{children:[(0,o.jsx)(l.a,{id:k,children:t}),n&&(0,o.jsx)(l.b,{id:A,children:n}),r&&(0,o.jsx)(l.c,p(p({},u),{},{onFocus:N,onBlur:D,tabIndex:h?-1:0,children:r})),(0,o.jsx)(l.d,{onClick:g,tabIndex:h?-1:0,children:"Close popover"})]})})})}))})]})},"Popover")},84866(e,t,n){"use strict";n.d(t,{A:()=>s,C:()=>l,I:()=>c,W:()=>a,a:()=>d,b:()=>u,c:()=>p,d:()=>h});var r=n(64543),o=n(63149),i=n(48539);const s=r.styled.div.withConfig({componentId:"sc-m486qr-0"})(["display:block;"]),a=r.styled.div.attrs({role:"alertdialog"}).withConfig({componentId:"sc-m486qr-1"})(["position:absolute;top:0;left:0;z-index:",";width:max-content;padding:","px;background-color:",";box-shadow:",";color:",";transition:",";&[aria-hidden='true']{opacity:0;pointer-events:none;}"],({theme:e})=>e.zIndex.modal,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.white,({theme:e})=>e.boxShadows.lightDown,({theme:e})=>e.color.ink.black,({theme:e})=>e.transition.popover),c=r.styled.div.withConfig({componentId:"sc-m486qr-2"})([""]),l=r.styled.div.withConfig({componentId:"sc-m486qr-3"})(["display:flex;align-items:center;gap:","px;"],({theme:e})=>e.spacing.x1),d=r.styled.h2.withConfig({componentId:"sc-m486qr-4"})(["",";"],o.Qg),u=r.styled.p.withConfig({componentId:"sc-m486qr-5"})(["",";margin:0;"],({theme:e})=>e.textStyle.bodySecondary.small),p=(0,r.styled)(i.f).attrs({forwardedAs:i.L,variant:i.e}).withConfig({componentId:"sc-m486qr-6"})([""]),h=r.styled.button.withConfig({componentId:"sc-m486qr-7"})(["",";"],o.Qg)},75605(e,t,n){"use strict";n.d(t,{C:()=>se,D:()=>Z,F:()=>_,H:()=>G,I:()=>J,L:()=>le,P:()=>K,R:()=>be,S:()=>Y,T:()=>F,W:()=>ae,a:()=>X,b:()=>q,c:()=>ce,d:()=>ue,e:()=>de,f:()=>fe,g:()=>me,h:()=>he,i:()=>ge,j:()=>pe,k:()=>U});var r=n(79811),o=n(73245),i=n(86106),s=n(7378),a=n(72792),c=n(64543),l=n(74708),d=n(69889),u=n(37844),p=n(9969),h=n(70458),m=n(12259),f=n(4120);n(20283),n(87432);const g=["id","label","helpText","className","message","type","state","button","buttonAction","controlled","required"],b=["id","label","helpText","className","message","type","state","button","buttonAction","controlled","required"],v=["id","className","controlled","disabled","label","size","isCosy"];function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;tw(e,"name",{value:t,configurable:!0});const O=j((e,t,n)=>({inactive:{[a.I.DEFAULT]:`1px solid ${e.color.semiotic.inactive};`,[a.I.ERROR]:`2px solid ${e.color.semiotic.error}`,[a.I.SUCCESS]:`2px solid ${e.color.semiotic.success}`,[a.I.WAITING]:`2px solid ${e.color.semiotic.info}`},focused:{[a.I.DEFAULT]:`2px solid ${e.color.semiotic.info}`,[a.I.ERROR]:`2px solid ${e.color.semiotic.error}`,[a.I.SUCCESS]:`2px solid ${e.color.semiotic.info}`,[a.I.WAITING]:`2px solid ${e.color.semiotic.info}`}}[n][t]),"getBorderStyle"),S=c.styled.input.withConfig({componentId:"sc-10zubip-0"})(["display:block;width:100%;height:var(--input-height);box-sizing:border-box;padding-top:","px;padding-right:","px;padding-bottom:","px;padding-left:","px;border:none;border-radius:var(--border-radius);background-color:",";color:",";",";&:focus,&:focus-visible{border:none;outline:none;}&:disabled{background-color:",";color:",";opacity:1;-webkit-text-fill-color:",";}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.invert,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.formField.small,({theme:e})=>e.color.semiotic.disabled,({theme:e})=>e.color.ink.invert,({theme:e})=>e.color.ink.invert),C=c.styled.div.withConfig({componentId:"sc-10zubip-1"})(["--input-height:","px;--border-radius:","px;align-items:center;margin-bottom:","px;color:",";",";"],({theme:e})=>e.dimension.btn.height,({theme:e})=>e.dimension.borderRadius.small,({theme:e})=>e.spacing.x1,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.formField.small),E=c.styled.label.withConfig({componentId:"sc-10zubip-2"})(["margin-bottom:0;",";"],({theme:e})=>e.textStyle.formLabel.small),I=c.styled.span.withConfig({componentId:"sc-10zubip-3"})(["margin-right:","px;color:",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.color.semiotic.error),P=c.styled.p.withConfig({componentId:"sc-10zubip-4"})(["margin-top:","px;margin-bottom:0;",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.textStyle.formAssistive.small),k=c.styled.div.withConfig({componentId:"sc-10zubip-5"})(["position:relative;width:100%;margin-top:","px;border-radius:var(--border-radius);outline:",";&:focus-within{border:none;outline:",";}"],({theme:e})=>e.spacing.x1,({theme:e,$state:t})=>O(e,t,"inactive"),({theme:e,$state:t})=>O(e,t,"focused")),A=c.styled.div.withConfig({componentId:"sc-10zubip-6"})(["margin-top:","px;margin-bottom:","px;"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x2),T=c.styled.div.withConfig({componentId:"sc-10zubip-7"})(["display:flex;gap:","px;color:",";",";"],({theme:e})=>e.spacing.x0_5,e=>e.theme.color.semiotic.error,({theme:e})=>e.textStyle.formAssistive.small),D=(0,c.styled)(u.I).withConfig({componentId:"sc-10zubip-8"})(["flex-shrink:0;"]),_=j(({id:e,label:t,helpText:n,className:r,message:o,state:s,required:c,children:l})=>(0,i.jsxs)(C,{className:r,children:[(0,i.jsx)(E,{htmlFor:e,children:t}),c&&(0,i.jsx)(I,{"aria-hidden":!0,children:"*"}),n&&(0,i.jsx)(P,{id:(0,h.h)(e),children:n}),(0,i.jsx)(k,{$state:s,children:l}),(0,i.jsx)(A,{"aria-live":"assertive",children:s===a.I.ERROR&&o&&(0,i.jsxs)(T,{children:[(0,i.jsx)(D,{svg:d.H,size:p.b}),(0,i.jsx)("span",{id:(0,h.e)(e),children:o})]})})]}),"FormInputWrapper$1"),N=(0,c.styled)(S).withConfig({componentId:"sc-1vpezd8-0"})(["",""],({theme:e,$hasButton:t})=>t?`padding-right: ${e.dimension.btn.height}px`:""),M=c.styled.div.withConfig({componentId:"sc-1vpezd8-1"})(["position:absolute;top:0;right:0;border-radius:var(--border-radius);outline:none;&:focus-within{outline:",";}"],({theme:e})=>O(e,a.I.DEFAULT,"focused")),L="Enter",z=" ",R=0,$=j(e=>({onMouseDown:j(t=>{t.preventDefault(),t.button===R&&e()},"onMouseDown"),onKeyDown:j(t=>{(t.key===L||t.key===z)&&(t.preventDefault(),e())},"onKeyDown")}),"useInputButton"),B=c.styled.div.withConfig({componentId:"sc-1lpmueu-0"})(["position:absolute;top:50%;right:","px;transform:translateY(-50%);"],({theme:e})=>e.spacing.x2),F=j(e=>{let{id:t,label:n,helpText:r,className:c,message:d,type:u="text",state:p,button:h,buttonAction:m,controlled:f=!0,required:b=!1}=e,v=(0,o.A)(e,g);const y=(0,a.a)();if(f&&!y)throw new Error("FormInputs should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const w=f?y.register(t):{},O=$(j(()=>{null==m||m()},"onAction")),S=j(()=>h?(0,s.cloneElement)(h,x({type:"button"},O)):null,"createInputButton");return(0,i.jsxs)(_,{id:t,label:n,helpText:r,required:b,state:p,message:d,className:c,children:[(0,i.jsx)(N,x(x({id:t,type:u,$hasButton:!!h},v),w)),p===a.I.WAITING&&(0,i.jsx)(B,{children:(0,i.jsx)(l.L,{})}),h&&p!==a.I.WAITING&&(0,i.jsx)(M,{children:S()})]})},"TextInput$1"),V=(0,c.styled)(C).withConfig({componentId:"sc-1cxkol4-0"})(["position:relative;"]),H=c.styled.label.withConfig({componentId:"sc-1cxkol4-1"})(["position:absolute;top:-0.5lh;left:","px;overflow:hidden;padding:0 ","px;background:linear-gradient( 0deg,"," 50%,"," 50% );color:",";pointer-events:none;text-align:left;text-overflow:ellipsis;user-select:none;white-space:nowrap;",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.canvas.secondary,e=>e.theme.color.ink.base,({theme:e})=>e.textStyle.formValidationHint.small),q=j(({id:e,label:t,className:n,state:r,children:o,message:s})=>(0,i.jsxs)(V,{className:n,children:[(0,i.jsx)(k,{$state:r,children:o}),(0,i.jsx)(H,{htmlFor:e,children:t}),(0,i.jsx)(A,{"aria-live":"assertive",children:r===a.I.ERROR&&s&&(0,i.jsx)(T,{children:(0,i.jsx)("span",{id:(0,h.e)(e),children:s})})})]}),"FormInputWrapper"),W=c.styled.div.withConfig({componentId:"sc-k95qg6-0"})(["position:absolute;top:50%;right:","px;transform:translateY(-50%);"],({theme:e})=>e.spacing.x2),U=j(e=>{let{id:t,label:n,helpText:r,className:c,message:d,type:u="text",state:p,button:h,buttonAction:m,controlled:f=!0,required:g=!1}=e,v=(0,o.A)(e,b);const y=(0,a.a)();if(f&&!y)throw new Error("FormInputs should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const w=f?y.register(t):{},O=$(j(()=>{m&&m()},"onAction")),S=j(()=>h?(0,s.cloneElement)(h,O):null,"createInputButton");return(0,i.jsxs)(q,{id:t,label:n,helpText:r,required:g,state:p,message:d,className:c,children:[(0,i.jsx)(N,x(x({id:t,type:u,$hasButton:!!h},v),w)),p===a.I.WAITING&&(0,i.jsx)(W,{children:(0,i.jsx)(l.L,{})}),h&&p!==a.I.WAITING&&(0,i.jsx)(M,{children:S()})]})},"TextInput"),G=c.styled.div.withConfig({componentId:"sc-n49kk4-0"})(["display:flex;min-height:","px;align-items:center;gap:","px;color:",";transition:color 0.2s ease;p{margin-block:0;",";}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x0_5,({theme:e,$passes:t})=>t?e.color.semiotic.success:e.color.ink.muted,({theme:e})=>e.textStyle.formValidationHint.small),K=c.styled.div.withConfig({componentId:"sc-1or6ca6-0"})(["display:grid;width:100%;align-items:center;justify-content:flex-start;gap:","px ","px;grid-template-columns:repeat(2,auto);margin-top:","px;margin-bottom:","px;"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x4,({theme:e})=>-1*e.spacing.x1_5,({theme:e})=>e.spacing.x2),Y=(0,c.styled)(S).attrs({as:"select"}).withConfig({componentId:"sc-d2tt85-0"})(["appearance:none;"]),Z=(0,c.styled)(u.I).attrs({size:p.c}).withConfig({componentId:"sc-d2tt85-1"})(["flex-shrink:0;color:",";"],({theme:e})=>e.color.actionSubtleDark.base),J=c.styled.div.withConfig({componentId:"sc-d2tt85-2"})(["display:flex;position:absolute;top:0;right:0;height:var(--input-height);align-items:center;justify-content:center;padding-right:","px;pointer-events:none;"],({theme:e})=>e.spacing.x2),Q="base",X="small",ee=(0,c.styled)(m.S).attrs({as:"input"}).withConfig({componentId:"sc-ip7vp6-0"})([""]),te=c.styled.label.withConfig({componentId:"sc-ip7vp6-1"})(["display:flex;align-items:center;gap:var(--check-margin);color:var(--color);cursor:",";user-select:none;",";"],({$disabled:e})=>e?"default":"pointer",({theme:e})=>e.textStyle.formAssistive.small),ne=(0,c.styled)(u.I).withConfig({componentId:"sc-ip7vp6-2"})(["display:none;"]),re=c.styled.div.withConfig({componentId:"sc-ip7vp6-3"})(["width:var(--width);height:var(--height);box-sizing:border-box;flex-shrink:0;background:var(--check-background-color);box-shadow:0 0 0 1px var(--check-border-color) inset;color:var(--color);"]),oe=c.styled.div.withConfig({componentId:"sc-ip7vp6-4"})(["--width:var(--height);--height:",";--check-margin:",";--color:",";--check-border-color:",";--check-background-color:",";position:relative;padding:","px 0;background-color:var(--background-color);color:var(--color);"," &:focus,&:hover,&:active{color:var(--color);}&:focus-within ","{outline:2px solid ",";}:checked + "," svg{display:initial;}"],({$size:e})=>{switch(e){case"small":return"16px";case"base":return"24px";case"large":return"32px"}},({$size:e,theme:t})=>"large"===e?`${t.spacing.x1_5}px`:`${t.spacing.x1}px`,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.divider.bold,({theme:e})=>e.color.ink.invert,({theme:e,$isCosy:t})=>t?0:e.spacing.x1_5,({theme:e,$disabled:t})=>{if(t)return`\n --color: ${e.color.semiotic.disabled};\n --check-border-color: ${e.color.semiotic.disabled};\n --check-background-color: ${e.color.canvas.secondary};\n `},re,({theme:e})=>e.color.semiotic.info,te),ie={small:d.s,base:d.R,large:d.Q},se=j(e=>{let{id:t,className:n,controlled:r=!0,disabled:s=!1,label:c,size:l=Q,isCosy:d=!1}=e,u=(0,o.A)(e,v);const p=(0,a.a)();if(r&&!p)throw new Error("Checkbox should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const h=r?p.register(t):{};return(0,i.jsxs)(oe,{className:n,$size:l,$disabled:s,$isCosy:d,children:[(0,i.jsx)(ee,x(x({type:"checkbox",id:t,name:t,disabled:s},u),h)),(0,i.jsxs)(te,{htmlFor:t,$disabled:s,children:[(0,i.jsx)(re,{children:(0,i.jsx)(ne,{size:l,svg:ie[l]})}),(0,i.jsx)("div",{children:c})]})]})},"Checkbox"),ae=c.styled.div.withConfig({componentId:"sc-1ehu5n1-0"})(["margin:","px 0;background-color:",";",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.base,({theme:e})=>e.textStyle.terms.small),ce=c.styled.div.withConfig({componentId:"sc-1ehu5n1-1"})(["padding:0 ","px;border:1px solid ",";color:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.ink.base),le=c.styled.div.withConfig({componentId:"sc-1ehu5n1-2"})(["max-width:440px;margin-left:","px;",";"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.textStyle.terms.small),de=c.styled.div.withConfig({componentId:"sc-1ehu5n1-3"})(["display:flex;height:48px;align-items:center;justify-content:space-between;padding:0 ","px;border:1px solid ",";border-top:none;color:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.ink.base),ue=(0,c.styled)(f.C).withConfig({componentId:"sc-1ehu5n1-4"})(["max-height:none;padding:","px ","px;border:1px solid ",";border-top:none;background-color:",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.canvas.secondary),pe=c.styled.fieldset.attrs({role:"radiogroup"}).withConfig({componentId:"sc-2hc0hq-0"})(["display:flex;width:100%;gap:","px;padding:0;margin:0 0 ","px;border:none;"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1),he=c.styled.label.withConfig({componentId:"sc-2hc0hq-1"})(["display:block;padding:","px;border:1px solid ",";border-radius:","px;background-color:",";color:",";cursor:pointer;text-align:center;",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.dark,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.textStyle.tagExpanded.small),me=(0,c.styled)(m.S).attrs({as:"input"}).withConfig({componentId:"sc-2hc0hq-2"})([""]),fe=c.styled.div.withConfig({componentId:"sc-2hc0hq-3"})(["flex-grow:1;:checked + ","{border:1px solid ",";background-color:",";color:",";}:focus-within + ","{outline:2px solid ",";outline-offset:","px;}:hover:not(:checked) + ","{border:1px solid ",";outline:1px solid ",";}"],he,({theme:e})=>e.color.divider.dark,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionBold.base,he,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.spacing.x0_25,he,({theme:e})=>e.color.semiotic.info,({theme:e})=>e.color.semiotic.info),ge=c.styled.label.withConfig({componentId:"sc-124ailm-0"})(["display:flex;"]),be=c.styled.input.withConfig({componentId:"sc-124ailm-1"})(["order:",";"],({$order:e})=>e||0)},55802(e,t,n){"use strict";n.d(t,{R:()=>u});var r=n(86106),o=n(12486),i=n(74716),s=n(64543),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});const l=(0,s.styled)(o.F).withConfig({componentId:"sc-9oz50s-0"})(["--bleed:","px;--button-width:","px;--nav-width:calc(var(--button-width) * 2);display:flex;position:relative;flex-direction:column;row-gap:","px;padding:","px 0 ","px;border:solid ",";border-width:1px 0;break-inside:avoid;clear:both;@media ","{padding-right:var(--bleed);padding-left:var(--bleed);}"],({theme:e})=>e.dimension.bleed,({theme:e})=>e.dimension.minTouchArea,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light,({contentWidthInPx:e})=>(0,o.g)(e)),d=s.styled.div.withConfig({componentId:"sc-9oz50s-1"})(["display:block;padding-right:calc( var(--nav-width) + ","px );"],({theme:e})=>e.spacing.x1_5),u=c(({children:e,className:t,title:n,contentWidthInPx:s=o.D})=>(0,r.jsxs)(l,{className:t,contentWidthInPx:s,children:[(0,r.jsx)(d,{children:(0,r.jsx)(i.T,{isExpanded:!0,children:n})}),e]}),"RelatedContent")},12259(e,t,n){"use strict";n.d(t,{S:()=>i});var r=n(64543),o=n(63149);const i=r.styled.span.withConfig({componentId:"sc-1vkqptb-0"})(["",""],o.Qg)},12751(e,t,n){"use strict";n.d(t,{B:()=>P,C:()=>O,H:()=>F,I:()=>T,L:()=>V,M:()=>j,S:()=>B,T:()=>D,W:()=>A,a:()=>H,b:()=>q,c:()=>k});var r=n(73245),o=n(79811),i=n(86106),s=n(7378),a=(n(22126),n(53215)),c=n(64543),l=(n(74716),n(74075)),d=n(63149),u=n(67622),p=n(69889),h=n(96172),m=n(65680),f=(n(37844),n(9969));const g=["children","isHidden","onEscapeKeyPress"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;ty(e,"name",{value:t,configurable:!0});const w=c.styled.div.withConfig({componentId:"sc-10uh6la-0"})(["--trans:300ms ease-in-out;position:fixed;top:0;left:0;z-index:",";width:100vw;height:100vh;opacity:0;pointer-events:none;transform:translateY(-24px);transform-origin:top center;transition:transform var(--trans),opacity var(--trans);&.","{opacity:1;transform:translateY(0);transition-delay:150ms;& > :first-child{pointer-events:auto;}}"],e=>e.theme.zIndex.modal,a.c),j=x(e=>(0,i.jsx)(a.O,v(v({},e),{},{Wrapper:w,children:e.children})),"Modal"),O="Close",S=c.styled.div.withConfig({componentId:"sc-1qwq9lc-0"})(["--width:95vw;--height:92vh;--border:1px solid ",";--border-radius:","px;--modal-padding-x:","px;display:flex;position:relative;overflow:hidden;width:var(--width);max-height:var(--height);flex-flow:column;align-items:stretch;justify-content:flex-start;margin:4% auto;border-radius:var(--border-radius);background-color:",";@media ","{--modal-padding-x:","px;--width:80vw;--height:90vh;margin-block:calc((100vh - var(--height)) / 2);}@media ","{--width:755px;}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.dimension.borderRadius.small,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.card,l.t,({theme:e})=>e.spacing.x3,l.l),C=c.styled.div.withConfig({componentId:"sc-1qwq9lc-1"})(["height:100%;overflow-x:hidden;overflow-y:auto;"]),E=c.styled.div.withConfig({componentId:"sc-1qwq9lc-2"})(["display:flex;position:sticky;top:0;z-index:1;flex:0 0 auto;align-items:center;justify-content:flex-end;padding:","px;background:",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.color.canvas.secondary),I=(0,c.styled)(h.I).attrs({svg:p.x,size:"base",isCosy:!0}).withConfig({componentId:"sc-1qwq9lc-3"})(["&:focus,&:focus-visible{outline:3px solid ",";}"],({theme:e})=>e.color.semiotic.info);c.styled.div.withConfig({componentId:"sc-1qwq9lc-4"})(["display:flex;position:relative;box-sizing:border-box;justify-content:center;padding:","px 0 ","px;border-bottom:var(--border);"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x2);const P=s.forwardRef(({className:e,isHidden:t,backgroundClickHandler:n,escapePressHandler:r,returnFocus:o,closeHandler:s,children:a},c)=>(0,i.jsx)(k,{className:e,isHidden:t,onBackgroundClick:n,onEscapeKeyPress:r,returnFocus:null!=o?o:"",role:"dialog",children:(0,i.jsxs)(S,{ref:c,children:[(0,i.jsx)(E,{children:(0,i.jsx)(I,{title:O,"aria-label":O,onClick:s})}),(0,i.jsx)(C,{children:a})]})})),k=x(e=>{let{children:t,isHidden:n,onEscapeKeyPress:o}=e,a=(0,r.A)(e,g);const c=(0,s.useRef)(),l=(0,s.useRef)(null);return c.current=n,l.current=o,(0,s.useEffect)(()=>{const e=x(e=>{var t;"Escape"===e.key&&!c.current&&(null===(t=l.current)||void 0===t||t.call(l))},"evtHandler");return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,i.jsx)(j,v(v({},a),{},{isHidden:n,children:t}))},"ModalPageSpecific"),A=(0,c.styled)(k).withConfig({componentId:"sc-1tvemqb-0"})(["display:grid;place-content:center;"]),T=c.styled.div.withConfig({componentId:"sc-1tvemqb-1"})(["--spacing:","px;max-width:475px;padding:var(--spacing);border-radius:6px;background-color:",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.color.canvas.brand),D=c.styled.h3.withConfig({componentId:"sc-1tvemqb-2"})(["margin:0 0 var(--spacing);text-align:center;",""],({theme:e})=>e.textStyle.modalTitle.large),_=c.styled.div.withConfig({componentId:"sc-1jmwoo4-0"})(["--tablet-width:504px;--laptop-width:558px;display:flex;position:relative;width:fit-content;box-sizing:border-box;flex-direction:column;padding:","px ","px ","px;margin:","px;border-radius:","px;background-color:",";",";@media ","{min-width:var(--tablet-width);padding:","px ","px ","px;}@media ","{min-width:var(--laptop-width);}"],({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x2,({theme:e})=>e.dimension.borderRadius.medium,({theme:e})=>e.color.canvas.card,({theme:e})=>e.textStyle.bodySecondary.small,l.t,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x7,l.l),N=(0,c.styled)(h.I).withConfig({componentId:"sc-1jmwoo4-1"})(["position:absolute;top:","px;right:","px;&:focus,&:focus-visible{outline-offset:","px;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x0_5),M=c.styled.div.withConfig({componentId:"sc-1jmwoo4-2"})(["display:flex;flex-direction:column;align-items:center;gap:","px;"],({theme:e})=>e.spacing.x2),L=c.styled.div.withConfig({componentId:"sc-1jmwoo4-3"})(["width:100%;text-align:center;"]),z=c.styled.div.withConfig({componentId:"sc-1jmwoo4-4"})(["--tablet-width:392px;--laptop-width:430px;display:flex;box-sizing:border-box;flex-direction:column;gap:","px;",";@media ","{","}@media ","{min-width:var(--laptop-width);}"],({theme:e})=>e.spacing.x3,({$isFootballModal:e,theme:t})=>!e&&(0,c.css)(["padding:","px;margin:0 ","px;border:1px solid ",";border-radius:","px;background-color:",";"],t.spacing.x2,t.spacing.x1_5,t.color.divider.brandBold,t.dimension.borderRadius.medium,t.color.canvas.base),l.t,({$isFootballModal:e,theme:t})=>!e&&(0,c.css)(["max-width:var(--tablet-width);padding:","px;"],t.spacing.x3),l.l),R=x(({children:e,header:t,onClose:n,isHidden:r,className:o,isFootballModal:s})=>(0,i.jsx)(_,{className:o,children:(0,i.jsxs)(m.F,{disabled:r,children:[(0,i.jsx)(N,{svg:p.w,size:f.b,isCosy:!0,onClick:n,"data-autofocus":!0}),(0,i.jsxs)(M,{children:[(0,i.jsx)(L,{children:t}),(0,i.jsx)(z,{$isFootballModal:s,children:e})]})]})}),"SellingModal"),$=(0,c.styled)(j).withConfig({componentId:"sc-3rucb8-0"})(["display:flex;align-items:center;justify-content:center;"]),B=x(({children:e,isHidden:t,header:n,onClose:r,returnFocus:o,className:s,isFootballModal:a})=>(0,i.jsx)($,{isHidden:t,returnFocus:o,children:(0,i.jsx)(R,{isHidden:t,onClose:r,header:n,returnFocus:o,className:s,isFootballModal:a,children:e})}),"SellingModalOverlay"),F=c.styled.div.withConfig({componentId:"sc-u507i6-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:","px;",";@media ","{padding-top:","px;}@media ","{margin-top:","px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.bodySecondary.small,l.t,({theme:e})=>e.spacing.x3,l.l,({theme:e})=>e.spacing.x0_5),V=c.styled.div.withConfig({componentId:"sc-u507i6-1"})(["width:100%;margin-bottom:","px;"],({theme:e})=>e.spacing.x1),H=(0,c.styled)(u.S).withConfig({componentId:"sc-u507i6-2"})(["height:auto;max-height:24px;@media ","{max-height:32px;}"],l.t),q=c.styled.span.withConfig({componentId:"sc-u507i6-3"})(["",""],d.Qg)},12489(e,t,n){"use strict";n.d(t,{T:()=>g});var r=n(79811),o=n(86106),i=n(63140),s=n(7378),a=n(24370);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;td(e,"name",{value:t,configurable:!0});const p=u((e,t,n)=>{const r={right:null!==t?`${t}px`:"",bottom:null!==n?`${n}px`:"",top:"",left:""};switch(e){case"bottom":return l(l({},r),{},{top:"-9px",transform:"rotate(0deg)"});case"top":return l(l({},r),{},{bottom:"-9px",transform:"rotate(180deg)"});case"left":return l(l({},r),{},{right:"-9px",transform:"rotate(90deg)"});case"right":return l(l({},r),{},{left:"-9px",transform:"rotate(-90deg)"});default:return{}}},"getArrowStyles"),h=u((e,t)=>{"Escape"===e.key&&t()},"onEscapeKey");function m(e=300){const[t,n]=(0,s.useState)(!1),r=(0,s.useRef)(null),o=(0,s.useCallback)(()=>{r.current&&(clearTimeout(r.current),r.current=null),n(!0)},[]),i=(0,s.useCallback)(()=>{r.current=window.setTimeout(()=>{n(!1),r.current=null},e)},[e]);return(0,s.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),{isOpen:t,open:o,close:i}}u(m,"useDelayedClose");const f=u(()=>{const[e,t]=(0,s.useState)(()=>{var e;return!(typeof window>"u"||null===(e=window)||void 0===e||!e.matchMedia)&&window.matchMedia("(pointer: coarse)").matches});return(0,s.useEffect)(()=>{var e;if(typeof window>"u"||null===(e=window)||void 0===e||!e.matchMedia)return;const n=window.matchMedia("(pointer: coarse)"),r=u(e=>t(e.matches),"handler");return n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[]),e},"useIsTouchDevice");function g({content:e,children:t,placement:n="top",className:r,shouldFlip:c=!0,forceOpen:l=!1,allowOnTouchDevices:d=!1}){var g,b,v,y;const x=!(0,s.isValidElement)(t),w=f(),{isOpen:j,open:O,close:S}=m(0),C=(0,s.useRef)(null),E=(0,s.useId)(),I=l||j,{refs:P,floatingStyles:k,middlewareData:A,placement:T,update:D}=(0,i.u)({open:j,middleware:[(0,i.o)(12),x?(0,i.i)():void 0,c?(0,i.f)():void 0,(0,i.b)({element:C})],placement:n}),_=p(T,null!==(g=null===(b=A.arrow)||void 0===b?void 0:b.x)&&void 0!==g?g:0,null!==(v=null===(y=A.arrow)||void 0===y?void 0:y.y)&&void 0!==v?v:0);if((0,s.useEffect)(()=>{if(I&&P.reference.current&&P.floating.current)return(0,i.a)(P.reference.current,P.floating.current,D)},[I,P,D]),w&&!d)return t;const N=I?E:void 0,M=x?(0,o.jsx)(a.A,{tabIndex:0,"aria-describedby":N,children:t}):(0,s.cloneElement)(t,{"aria-describedby":N});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.a,{ref:P.setReference,className:r,onMouseEnter:O,onFocus:O,onMouseLeave:S,onBlur:S,onKeyDown:u(e=>h(e,S),"onKeyDown"),children:M}),(0,o.jsxs)(a.T,{role:"tooltip",ref:P.setFloating,id:E,style:k,$isVisible:I,children:[(0,o.jsx)(a.b,{ref:C,$styles:_,width:12,height:10,viewBox:"0 0 12 10",fill:"none",children:(0,o.jsx)("polygon",{points:"6,0 12,10 0,10"})}),(0,o.jsx)(a.c,{ref:P.setFloating,children:e})]})]})}u(g,"Tooltip")},24370(e,t,n){"use strict";n.d(t,{A:()=>a,T:()=>l,a:()=>s,b:()=>c,c:()=>d});var r=n(79811),o=n(64543);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}o.styled.div.withConfig({componentId:"sc-1rb1i2r-0"})([""]);const s=o.styled.span.withConfig({componentId:"sc-1rb1i2r-1"})(["display:initial;width:min-content;"]),a=o.styled.span.withConfig({componentId:"sc-1rb1i2r-2"})(["cursor:pointer;text-decoration:underline;text-decoration-style:dotted;"]),c=o.styled.svg.withConfig({componentId:"sc-1rb1i2r-3"})(["position:absolute;transform-origin:center;"," polygon{fill:",";}"],({$styles:e})=>e&&function(e){for(var t=1;te.color.canvas.white),l=o.styled.div.withConfig({componentId:"sc-1rb1i2r-4"})(["display:flex;position:absolute;top:0;left:0;z-index:",";width:max-content;max-width:168px;border-radius:8px;background-color:",";color:",";filter:drop-shadow(",");text-wrap:pretty;",";",""],({theme:e})=>e.zIndex.modal,({theme:e})=>e.color.canvas.white,({theme:e})=>e.color.ink.black,({theme:e})=>e.boxShadows.lightDown,({theme:e})=>e.textStyle.terms.small,({$isVisible:e})=>e?"\n opacity: 1;\n transition: opacity 0.2s ease-in;\n ":"\n opacity: 0;\n transition: opacity 0.2s ease-out;\n "),d=o.styled.div.withConfig({componentId:"sc-1rb1i2r-5"})(["display:flex;width:100%;justify-content:space-between;gap:","px;padding:","px;"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1)},40417(e,t,n){"use strict";n.d(t,{S:()=>g});var r=n(79811),o=n(73245),i=n(64543),s=n(86106),a=n(67028),c=n(86655);const l=["children","badgeText","className"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=i.styled.div.withConfig({componentId:"sc-9v2uux-0"})(["position:relative;border:1px solid ",";border-radius:6px;background-color:",";"],({theme:e})=>e.color.primary.base,({theme:e})=>e.color.canvas.secondary),f=(0,i.styled)(a.C).withConfig({componentId:"sc-9v2uux-1"})(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);white-space:nowrap;"]),g=h(e=>{let{children:t,badgeText:n,className:r}=e,i=(0,o.A)(e,l);return(0,s.jsxs)(m,u(u({className:r},i),{},{children:[n&&(0,s.jsx)(f,{children:n}),t]}))},"SubscriptionPricingCard"),b=i.styled.div.withConfig({componentId:"sc-1w9v1i3-0"})([""]),v=i.styled.div.withConfig({componentId:"sc-1w9v1i3-1"})(["display:flex;align-items:center;justify-content:center;gap:","px;"],({theme:e})=>e.spacing.x1),y=i.styled.h2.withConfig({componentId:"sc-1w9v1i3-2"})(["margin:0 0 ","px;text-align:center;",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.titlePrimary.xxSmall),x=i.styled.p.withConfig({componentId:"sc-1w9v1i3-3"})(["margin:0 0 ","px;text-align:center;word-break:break-word;",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.bodySecondaryHeavy.small),w=i.styled.del.withConfig({componentId:"sc-1w9v1i3-4"})(["margin-right:4px;color:",";"],({theme:e})=>e.color.ink.muted),j=i.styled.ins.withConfig({componentId:"sc-1w9v1i3-5"})(["text-decoration:none;"]),O=i.styled.p.withConfig({componentId:"sc-1w9v1i3-6"})(["margin:0 0 ","px;color:",";text-align:center;",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.bodySecondaryHeavy.xSmall),S=h(({className:e,subscriptionLength:t,normalPrice:n,discountedPrice:r,continuedPrice:o,children:i})=>(0,s.jsxs)(b,{className:e,children:[(0,s.jsxs)(v,{children:[(0,s.jsx)(y,{children:t}),i]}),(0,s.jsxs)(x,{children:[(0,s.jsx)(w,{children:n}),(0,s.jsx)(j,{children:r})]}),(0,s.jsx)(O,{children:o})]}),"PricingDetails"),C=((0,i.styled)(g).withConfig({componentId:"sc-18f33di-0"})(["display:flex;flex-direction:column;padding:","px;"],({theme:e})=>e.spacing.x2),(0,i.styled)(c.Ay).withConfig({componentId:"sc-13yvbxd-0"})(["width:100%;margin-top:auto;"]),"is-selected"),E="500px",I=(i.styled.div.withConfig({componentId:"sc-1oikce1-0"})(["*{box-sizing:border-box;}"]),i.styled.label.withConfig({componentId:"sc-1oikce1-1"})(["--radio-indicator-size:24px;--wrapper-padding:","px;display:flex;position:relative;height:100%;flex-direction:column;padding:var(--wrapper-padding);padding-right:calc( ","px + var(--radio-indicator-size) );border:2px solid ",";border-radius:","px;background-color:",";cursor:pointer;&.","{border-color:",";background-color:",";}@media (min-width:","){--wrapper-padding:","px ","px ","px;padding-right:","px;}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.dimension.borderRadius.medium,({theme:e})=>e.color.canvas.secondary,C,({theme:e})=>e.color.primary.base,({theme:e})=>e.color.canvas.card,E,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1));i.styled.input.attrs({type:"radio",name:"subscription"}).withConfig({componentId:"sc-1oikce1-2"})(["position:absolute;right:0;opacity:0;outline:none;&:focus + ","{border-color:",";}"],I,({theme:e})=>e.color.semiotic.info),(0,i.styled)(S).withConfig({componentId:"sc-1oikce1-3"})(["","{justify-content:flex-start;margin-bottom:","px;@media (min-width:","){justify-content:center;margin-bottom:","px;}}","{margin:0;",";@media (max-width:","){position:relative;top:1px;}}","{margin-bottom:","px;text-align:left;",";@media (min-width:","){margin-bottom:","px;text-align:center;}}","{margin-bottom:0;text-align:left;",";@media (min-width:","){margin-bottom:","px;text-align:center;}}"],v,({theme:e})=>e.spacing.x0_5,E,({theme:e})=>e.spacing.x1,y,({theme:e})=>e.textStyle.tagExpanded.small,E,x,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.textStyle.titlePrimary.xxSmall,E,({theme:e})=>e.spacing.x1,O,({theme:e})=>e.textStyle.bodySecondaryHeavy.xSmall,E,({theme:e})=>e.spacing.x1),(0,i.styled)(a.C).withConfig({componentId:"sc-1oikce1-4"})(["white-space:nowrap;@media (min-width:","){position:absolute;top:0;left:50%;transform:translate(-50%,-50%);}"],E),i.styled.span.withConfig({componentId:"sc-1oikce1-5"})(["display:grid;position:absolute;top:50%;right:var(--wrapper-padding);width:var(--radio-indicator-size);height:var(--radio-indicator-size);border:1px solid ",";border-radius:50%;place-items:center;transform:translateY(-50%);@media (min-width:","){position:static;margin:auto auto 0;transform:none;}."," &::before{--size:14px;display:block;width:var(--size);height:var(--size);border-radius:50%;background-color:",";content:'';}"],({theme:e})=>e.color.ink.muted,E,C,({theme:e})=>e.color.semiotic.success)},76934(e,t,n){"use strict";n.d(t,{c:()=>o});var r=Object.defineProperty;const o=((e,t)=>r(e,"name",{value:t,configurable:!0}))((e,t,n)=>Math.min(Math.max(n,e),t),"clamp")},58945(e,t,n){"use strict";n.d(t,{c:()=>a,u:()=>c});var r=n(64543),o=n(51503),i=Object.defineProperty,s=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e=3,t=!1){return(0,r.css)(["display:-webkit-box;overflow:hidden;height:",";-webkit-box-orient:vertical;-webkit-line-clamp:",";text-overflow:initial;white-space:initial;"],t?`${e}lh`:"auto",(0,o.a)(e))}function c(){return(0,r.css)(["display:block;overflow:unset;height:auto;-webkit-box-orient:unset;-webkit-line-clamp:none;text-overflow:unset;white-space:unset;"])}s(a,"clampLines"),s(c,"unClampLines")},63140(e,t,n){"use strict";n.d(t,{a:()=>Ze,b:()=>gt,f:()=>mt,i:()=>ft,o:()=>pt,s:()=>ht,u:()=>dt});var r=n(73245),o=n(79811),i=n(7378),s=n(44059);const a=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],c=["mainAxis","crossAxis","limiter"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;tu(e,"name",{value:t,configurable:!0});const h=Math.min,m=Math.max,f=Math.round,g=Math.floor,b=p(e=>({x:e,y:e}),"createCoords"),v={left:"right",right:"left",bottom:"top",top:"bottom"};function y(e,t,n){return m(e,h(t,n))}function x(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function j(e){return e.split("-")[1]}function O(e){return"x"===e?"y":"x"}function S(e){return"y"===e?"height":"width"}function C(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function E(e){return O(C(e))}function I(e,t,n){void 0===n&&(n=!1);const r=j(e),o=E(e),i=S(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=L(s)),[s,L(s)]}function P(e){const t=L(e);return[k(e),t,k(t)]}function k(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}p(y,"clamp"),p(x,"evaluate"),p(w,"getSide"),p(j,"getAlignment"),p(O,"getOppositeAxis"),p(S,"getAxisLength"),p(C,"getSideAxis"),p(E,"getAlignmentAxis"),p(I,"getAlignmentSides"),p(P,"getExpandedPlacements"),p(k,"getOppositeAlignmentPlacement");const A=["left","right"],T=["right","left"],D=["top","bottom"],_=["bottom","top"];function N(e,t,n){switch(e){case"top":case"bottom":return n?t?T:A:t?A:T;case"left":case"right":return t?D:_;default:return[]}}function M(e,t,n,r){const o=j(e);let i=N(w(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(k)))),i}function L(e){const t=w(e);return v[t]+e.slice(t.length)}function z(e){var t,n,r,o;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}}function R(e){return"number"!=typeof e?z(e):{top:e,right:e,bottom:e,left:e}}function $(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function B(e,t,n){let{reference:r,floating:o}=e;const i=C(t),s=E(t),a=S(s),c=w(t),l="y"===i,d=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let h;switch(c){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-o.width,y:u};break;default:h={x:r.x,y:r.y}}const m=j(t);return m&&(h[s]+=p*("end"===m?1:-1)*(n&&l?-1:1)),h}async function F(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=x(t,e),m=R(h),f=a[p?"floating"===u?"reference":"floating":u],g=$(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(f)))||n?f:f.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),b="floating"===u?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=$(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:v,strategy:c}):b);return{top:(g.top-w.top+m.top)/y.y,bottom:(w.bottom-g.bottom+m.bottom)/y.y,left:(g.left-w.left+m.left)/y.x,right:(w.right-g.right+m.right)/y.x}}p(N,"getSideList"),p(M,"getOppositeAxisPlacements"),p(L,"getOppositePlacement"),p(z,"expandPaddingObject"),p(R,"getPaddingObject"),p($,"rectToClientRect"),p(B,"computeCoordsFromPlacement"),p(F,"detectOverflow");const V=p(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:d(d({},s),{},{detectOverflow:F}),c=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:p}=B(l,r,c),h=r,m=0;const f={};for(let n=0;n({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:c}=t,{element:l,padding:u=0}=x(e,t)||{};if(null==l)return{};const p=R(u),m={x:n,y:r},f=E(o),g=S(f),b=await s.getDimensions(l),v="y"===f,w=v?"top":"left",O=v?"bottom":"right",C=v?"clientHeight":"clientWidth",I=i.reference[g]+i.reference[f]-m[f]-i.floating[g],P=m[f]-i.reference[f],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let A=k?k[C]:0;(!A||!await(null==s.isElement?void 0:s.isElement(k)))&&(A=a.floating[C]||i.floating[g]);const T=I/2-P/2,D=A/2-b[g]/2-1,_=h(p[w],D),N=h(p[O],D),M=A-b[g]-N,L=A/2-b[g]/2+T,z=y(_,L,M),$=!c.arrow&&null!=j(o)&&L!==z&&i.reference[g]/2-(L<_?_:N)-b[g]/2<0,B=$?L<_?L-_:L-M:0;return{[f]:m[f]+B,data:d({[f]:z,centerOffset:L-z-B},$&&{alignmentOffset:B}),reset:$}}}),"arrow$3"),q=p(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:c,initialPlacement:l,platform:d,elements:u}=t,p=x(e,t),{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0}=p,y=(0,r.A)(p,a);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const j=w(i),O=C(l),S=w(l)===l,E=await(null==d.isRTL?void 0:d.isRTL(u.floating)),k=f||(S||!v?[L(l)]:P(l)),A="none"!==b;!f&&A&&k.push(...M(l,v,b,E));const T=[l,...k],D=await d.detectOverflow(t,y),_=[];let N=(null==(o=s.flip)?void 0:o.overflows)||[];if(h&&_.push(D[j]),m){const e=I(i,c,E);_.push(D[e[0]],D[e[1]])}if(N=[...N,{placement:i,overflows:_}],!_.every(e=>e<=0)){var z,R;const e=((null==(z=s.flip)?void 0:z.index)||0)+1,t=T[e];if(t&&("alignment"!==m||O===C(t)||N.every(e=>C(e.placement)!==O||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(R=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:R.placement;if(!n)switch(g){case"bestFit":{var $;const e=null==($=N.filter(e=>{if(A){const t=C(e.placement);return t===O||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:$[0];e&&(n=e);break}case"initialPlacement":n=l}if(i!==n)return{reset:{placement:n}}}return{}}}},"flip$2");function W(e){const t=h(...e.map(e=>e.left)),n=h(...e.map(e=>e.top));return{x:t,y:n,width:m(...e.map(e=>e.right))-t,height:m(...e.map(e=>e.bottom))-n}}function U(e){const t=e.slice().sort((e,t)=>e.y-t.y),n=[];let r=null;for(let e=0;er.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map(e=>$(W(e)))}p(W,"getBoundingRect"),p(U,"getRectsByLine");const G=p(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:i,strategy:s}=t,{padding:a=2,x:c,y:l}=x(e,t),d=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(r.reference))||[]);if(!d.length)return{};const u=U(d),f=$(W(d)),g=R(a);function b(){if(2===u.length&&(u[0].left>u[1].right||u[1].left>u[0].right)&&null!=c&&null!=l)return u.find(e=>c>e.left-g.left&&ce.top-g.top&&l=2){if("y"===C(n)){const e=u[0],t=u[u.length-1],r="top"===w(n),o=e.top,i=t.bottom,s=r?e.left:t.left;return $({x:s,y:o,width:(r?e.right:t.right)-s,height:i-o})}const e="left"===w(n),t=m(...u.map(e=>e.right)),r=h(...u.map(e=>e.left)),o=u.filter(n=>e?n.left===r:n.right===t),i=o[0].top,s=o[o.length-1].bottom;return $({x:r,y:i,width:t-r,height:s-i})}return f}p(b,"getBoundingClientRect");const v=await i.getElementRects({reference:{getBoundingClientRect:b},floating:r.floating,strategy:s});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"inline$2"),K=new Set(["left","top"]);async function Y(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=w(n),a=j(n),c="y"===C(n),l=K.has(s)?-1:1,d=i&&c?-1:1,u=x(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof m&&(h="end"===a?-1*m:m),c?{x:h*d,y:p*l}:{x:p*l,y:h*d}}p(Y,"convertValueToCoords");const Z=p(function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,c=await Y(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:d(d({},c),{},{placement:s})}}}},"offset$2"),J=p(function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,a=x(e,t),{mainAxis:l=!0,crossAxis:u=!1,limiter:h={fn:p(e=>{let{x:t,y:n}=e;return{x:t,y:n}},"fn")}}=a,m=(0,r.A)(a,c),f={x:n,y:o},g=await s.detectOverflow(t,m),b=C(i),v=O(b);let w=f[v],j=f[b];const S=p((e,t)=>y(t+g["y"===e?"top":"left"],t,t-g["y"===e?"bottom":"right"]),"clampCoord");l&&(w=S(v,w)),u&&(j=S(b,j));const E=h.fn(d(d({},t),{},{[v]:w,[b]:j}));return d(d({},E),{},{data:{x:E.x-n,y:E.y-o,enabled:{[v]:l,[b]:u}}})}}},"shift$2");function Q(){return typeof window<"u"}function X(e){return ne(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function te(e){var t;return null==(t=(ne(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ne(e){return!!Q()&&(e instanceof Node||e instanceof ee(e).Node)}function re(e){return!!Q()&&(e instanceof Element||e instanceof ee(e).Element)}function oe(e){return!!Q()&&(e instanceof HTMLElement||e instanceof ee(e).HTMLElement)}function ie(e){return!(!Q()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot)}function se(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=be(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function ae(e){return/^(table|td|th)$/.test(X(e))}function ce(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}p(Q,"hasWindow"),p(X,"getNodeName"),p(ee,"getWindow"),p(te,"getDocumentElement"),p(ne,"isNode"),p(re,"isElement"),p(oe,"isHTMLElement"),p(ie,"isShadowRoot"),p(se,"isOverflowElement"),p(ae,"isTableElement"),p(ce,"isTopLayer");const le=/transform|translate|scale|rotate|perspective|filter/,de=/paint|layout|strict|content/,ue=p(e=>!!e&&"none"!==e,"isNotNone");let pe;function he(e){const t=re(e)?be(e):e;return ue(t.transform)||ue(t.translate)||ue(t.scale)||ue(t.rotate)||ue(t.perspective)||!fe()&&(ue(t.backdropFilter)||ue(t.filter))||le.test(t.willChange||"")||de.test(t.contain||"")}function me(e){let t=ye(e);for(;oe(t)&&!ge(t);){if(he(t))return t;if(ce(t))return null;t=ye(t)}return null}function fe(){return null==pe&&(pe=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),pe}function ge(e){return/^(html|body|#document)$/.test(X(e))}function be(e){return ee(e).getComputedStyle(e)}function ve(e){return re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ye(e){if("html"===X(e))return e;const t=e.assignedSlot||e.parentNode||ie(e)&&e.host||te(e);return ie(t)?t.host:t}function xe(e){const t=ye(e);return ge(t)?(e.ownerDocument||e).body:oe(t)&&se(t)?t:xe(t)}function we(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=xe(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=ee(o);if(i){const e=je(s);return t.concat(s,s.visualViewport||[],se(o)?o:[],e&&n?we(e):[])}return t.concat(o,we(o,[],n))}function je(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Oe(e){const t=be(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=oe(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=f(n)!==i||f(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Se(e){return re(e)?e:e.contextElement}function Ce(e){const t=Se(e);if(!oe(t))return b(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Oe(t);let s=(i?f(n.width):n.width)/r,a=(i?f(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}p(he,"isContainingBlock"),p(me,"getContainingBlock"),p(fe,"isWebKit"),p(ge,"isLastTraversableNode"),p(be,"getComputedStyle$1"),p(ve,"getNodeScroll"),p(ye,"getParentNode"),p(xe,"getNearestOverflowAncestor"),p(we,"getOverflowAncestors"),p(je,"getFrameElement"),p(Oe,"getCssDimensions"),p(Se,"unwrapElement"),p(Ce,"getScale");const Ee=b(0);function Ie(e){const t=ee(e);return fe()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ee}function Pe(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===ee(e)}function ke(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Se(e);let s=b(1);t&&(r?re(r)&&(s=Ce(r)):s=Ce(e));const a=Pe(i,n,r)?Ie(i):b(0);let c=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(i&&r){const e=ee(i),t=re(r)?ee(r):r;let n=e,o=je(n);for(;o&&t!==n;){const e=Ce(o),t=o.getBoundingClientRect(),r=be(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,d*=e.x,u*=e.y,c+=i,l+=s,n=ee(o),o=je(n)}}return $({width:d,height:u,x:c,y:l})}function Ae(e,t){const n=ve(e).scrollLeft;return t?t.left+n:ke(te(e)).left+n}function Te(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Ae(e,n),y:n.top+t.scrollTop}}function De(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=te(r),a=!!t&&ce(t.floating);if(r===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=b(1);const d=b(0),u=oe(r);if((u||!i)&&(("body"!==X(r)||se(s))&&(c=ve(r)),u)){const e=ke(r);l=Ce(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}const p=!s||u||i?b(0):Te(s,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+d.x+p.x,y:n.y*l.y-c.scrollTop*l.y+d.y+p.y}}function _e(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Ne(e){const t=ve(e),n=e.ownerDocument.body,r=m(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=m(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-t.scrollLeft+Ae(e);const s=-t.scrollTop;return"rtl"===be(n).direction&&(i+=m(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:s}}p(Ie,"getVisualOffsets"),p(Pe,"shouldAddVisualOffsets"),p(ke,"getBoundingClientRect"),p(Ae,"getWindowScrollBarX"),p(Te,"getHTMLOffset"),p(De,"convertOffsetParentRelativeRectToViewportRelativeRect"),p(_e,"getClientRects"),p(Ne,"getDocumentRect");function Me(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,o=ee(e),i=te(e),s=o.visualViewport;let a=i.clientWidth,c=i.clientHeight,l=0,d=0;if(s){const e=!fe()||"fixed"===t;r?e||(l=-s.offsetLeft,d=-s.offsetTop):(a=s.width,c=s.height,e&&(l=s.offsetLeft,d=s.offsetTop))}if(Ae(i)<=0){const e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),s="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;s<=25&&(a-=s)}return{width:a,height:c,x:l,y:d}}function Le(e,t){const n=ke(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ce(e);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}function ze(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=Me(e,n,t);else if("document"===t)r=Ne(te(e));else if(re(t))r=Le(t,n);else{const n=Ie(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return $(r)}function Re(e,t){const n=t.get(e);if(n)return n;let r=we(e,[],!1).filter(e=>re(e)&&"body"!==X(e)),o=null;const i="fixed"===be(e).position;let s=i?ye(e):e;for(;re(s)&&!ge(s);){const e=be(s),t=he(s),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==s),s=ye(s)}return t.set(e,r),r}function $e(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ce(t)?[]:Re(t,this._c):[].concat(n),r],s=ze(t,i[0],o);let a=s.top,c=s.right,l=s.bottom,d=s.left;for(let e=1;e{a(!1,1e-7)},1e3)}x=!1}p(w,"handleObserve");try{o=new IntersectionObserver(w,d(d({},y),{},{root:i.ownerDocument}))}catch{o=new IntersectionObserver(w,y)}o.observe(e)}p(s,"cleanup"),p(a,"refresh");const c=ee(e),l=p(()=>a(n),"handleResize");return c.addEventListener("resize",l),a(!0),()=>{c.removeEventListener("resize",l),s()}}function Ze(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,l=Se(e),d=o||i?[...l?we(l):[],...t?we(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n),i&&e.addEventListener("resize",n)});const u=l&&a?Ye(l,n,i):null;let h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),l&&!c&&m.observe(l),t&&m.observe(t));let f,g=c?ke(e):null;function b(){const t=ke(e);g&&!Ke(g,t)&&n(),g=t,f=requestAnimationFrame(b)}return c&&b(),p(b,"frameLoop"),n(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null!=u&&u(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(f)}}p(Ke,"rectsAreEqual"),p(Ye,"observeMove"),p(Ze,"autoUpdate");const Je=Z,Qe=J,Xe=q,et=H,tt=G,nt=p((e,t,n)=>{const r=new Map,o=null!=n?n:{},i=d(d(d({},Ge),o.platform),{},{_c:r});return V(e,t,d(d({},o),{},{platform:i}))},"computePosition");var rt=typeof document<"u",ot=p(function(){},"noop"),it=rt?i.useLayoutEffect:ot;function st(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!st(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||st(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function at(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ct(e,t){const n=at(e);return Math.round(t*n)/n}function lt(e){const t=i.useRef(e);return it(()=>{t.current=e}),t}function dt(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:c}={},transform:l=!0,whileElementsMounted:u,open:p}=e,[h,m]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,g]=i.useState(r);st(f,r)||g(r);const[b,v]=i.useState(null),[y,x]=i.useState(null),w=i.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),j=i.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),O=a||b,S=c||y,C=i.useRef(null),E=i.useRef(null),I=i.useRef(h),P=null!=u,k=lt(u),A=lt(o),T=lt(p),D=i.useCallback(()=>{if(!C.current||!E.current)return;const e={placement:t,strategy:n,middleware:f};A.current&&(e.platform=A.current),nt(C.current,E.current,e).then(e=>{const t=d(d({},e),{},{isPositioned:!1!==T.current});_.current&&!st(I.current,t)&&(I.current=t,s.flushSync(()=>{m(t)}))})},[f,t,n,A,T]);it(()=>{!1===p&&I.current.isPositioned&&(I.current.isPositioned=!1,m(e=>d(d({},e),{},{isPositioned:!1})))},[p]);const _=i.useRef(!1);it(()=>(_.current=!0,()=>{_.current=!1}),[]),it(()=>{if(O&&(C.current=O),S&&(E.current=S),O&&S){if(k.current)return k.current(O,S,D);D()}},[O,S,D,k,P]);const N=i.useMemo(()=>({reference:C,floating:E,setReference:w,setFloating:j}),[w,j]),M=i.useMemo(()=>({reference:O,floating:S}),[O,S]),L=i.useMemo(()=>{const e={position:n,left:0,top:0};if(!M.floating)return e;const t=ct(M.floating,h.x),r=ct(M.floating,h.y);return l?d(d({},e),{},{transform:"translate("+t+"px, "+r+"px)"},at(M.floating)>=1.5&&{willChange:"transform"}):{position:n,left:t,top:r}},[n,l,M.floating,h.x,h.y]);return i.useMemo(()=>d(d({},h),{},{update:D,refs:N,elements:M,floatingStyles:L}),[h,D,N,M,L])}p(st,"deepEqual"),p(at,"getDPR"),p(ct,"roundByDPR"),p(lt,"useLatestRef"),p(dt,"useFloating");const ut=p(e=>{function t(e){return{}.hasOwnProperty.call(e,"current")}return p(t,"isRef"),{name:"arrow",options:e,fn(n){const{element:r,padding:o}="function"==typeof e?e(n):e;return r&&t(r)?null!=r.current?et({element:r.current,padding:o}).fn(n):{}:r?et({element:r,padding:o}).fn(n):{}}}},"arrow$1"),pt=p((e,t)=>{const n=Je(e);return{name:n.name,fn:n.fn,options:[e,t]}},"offset"),ht=p((e,t)=>{const n=Qe(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift"),mt=p((e,t)=>{const n=Xe(e);return{name:n.name,fn:n.fn,options:[e,t]}},"flip"),ft=p((e,t)=>{const n=tt(e);return{name:n.name,fn:n.fn,options:[e,t]}},"inline"),gt=p((e,t)=>{const n=ut(e);return{name:n.name,fn:n.fn,options:[e,t]}},"arrow")},70458(e,t,n){"use strict";n.d(t,{a:()=>d,c:()=>p,e:()=>l,h:()=>c,p:()=>h,r:()=>f});var r=n(79811);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;ts(e,"name",{value:t,configurable:!0});const c=a(e=>`${e}-hint`,"hintId"),l=a(e=>`${e}-error`,"errorId"),d=a(e=>e.charAt(0).toUpperCase()+e.slice(1),"capitalise"),u={letters:new RegExp("[A-Za-z]","g"),digits:new RegExp("[0-9]","g"),uppercaseLetters:new RegExp("[A-Z]","g"),lowercaseLetters:new RegExp("[a-z]","g")},p=a((e,t)=>{if(!t)return null==e?void 0:e.length;const n=u[t];return(e.match(n)||[]).length},"count"),h=a(e=>"string"==typeof e?e.replace(/\s{2,}/g," ").trim():e||"","parseString"),m=a(async(e,t)=>{const n=e.fields.map(async n=>{const r=await e.validate(n,t[n],t)||[];if(r.length>0)return{[n]:r}});return(await Promise.all(n)).filter(Boolean).reduce((e,t)=>{const[n,r]=Object.entries(t)[0];return i(i({},e),{},{[n]:r})},{})},"getAllErrors"),f=a(e=>async t=>({values:t,errors:await m(e,t)}),"resolver")},55167(e,t,n){"use strict";n.d(t,{$v:()=>D,As:()=>f,G1:()=>m,cd:()=>g});var r=n(73245),o=n(79811),i=n(7378),s=n(72792),a=n(70458),c=(n(34443),n(76934));const l=["handlers"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;tp(e,"name",{value:t,configurable:!0});const m=h((e,t={})=>{if(!e)throw new Error("No schema provided! Please provide a schema to useIndyForm");const n=(0,s.u)(u({mode:"onTouched",resolver:(0,a.r)(e)},t)),{formState:r,getValues:o,setError:c}=n;(0,i.useEffect)(()=>{const t=e.fields,n=Object.keys(o()),r=t.filter(e=>!n.includes(e));if(r.length>0)throw new Error(`Fields ["${r.join('", "')}"] are included in the schema but missing or inaccessible by React Hook Form`)},[o,e.fields]);const l=h(t=>{const n=r.errors[t];if(n)return n[0].messageBuilder(e.names[t])},"getTextInputError"),d=h(e=>{const t=!!r.errors.root,n=!!r.errors[e],o=r.dirtyFields[e]&&!n;return n||t?s.I.ERROR:o?s.I.SUCCESS:s.I.DEFAULT},"getTextInputState");return{registerControlledInput:h((t,n)=>{var r;const o=(null===(r=e.get(t))||void 0===r?void 0:r.isRequired)||!1,i=l(t);return{id:t,name:n||t,state:d(t),message:i,required:o,"aria-required":o,"aria-invalid":"error"===i,"aria-describedby":`${(0,a.e)(t)} ${(0,a.h)(t)}`}},"registerControlledInput"),methods:u(u({},n),{},{setFormError:h(e=>{c("root",{message:e})},"setFormError"),setFieldError:h((e,t)=>{c(e,{message:t},{shouldFocus:!0})},"setFieldError"),getFormError:h(()=>l("root"),"getFormError"),getFieldErrors:h(()=>e.fields.map(l).filter(Boolean),"getFieldErrors"),getFieldValidationHints:h(t=>e.validationHints[t],"getFieldValidationHints"),setError:c}),formState:u(u({},r),{},{errors:r.errors})}},"useIndyForm");var f=(e=>(e.SWIPE="swipe",e.DRAG="drag",e))(f||{}),g=(e=>(e.NONE="none",e.STARTED="started",e.DRAGGING="dragging",e.COMMITTED="committed",e.COMPLETED="completed",e.SOFT_CANCELLED="soft-cancelled",e.HARD_CANCELLED="hard-cancelled",e))(g||{});const b=[{name:"right",angle:0},{name:"down",angle:90},{name:"left",angle:180},{name:"up",angle:270}],v={delta:0,progress:0},y={left:v,right:v,up:v,down:v},x={angle:0,committedAxis:null,committedDirection:null,data:y},w=h((e,t)=>(h(e=>180*e/Math.PI,"radiansToDegrees")(Math.atan2(t.y-e.y,t.x-e.x))+360)%360,"calculateAngle"),j=h(e=>"left"===e||"right"===e?"horizontal":"up"===e||"down"===e?"vertical":null,"calculateAxis"),O=h(e=>b.reduce((t,n)=>Math.abs(e-n.angle){const r=t.x-e.x,o=t.y-e.y;return{left:"left"===n&&r<0?Math.abs(r):0,right:"right"===n&&r>0?Math.abs(r):0,up:"up"===n&&o<0?Math.abs(o):0,down:"down"===n&&o>0?Math.abs(o):0}},"calculateDeltaEachDirection"),C=h((e,t)=>(0,c.c)(0,t,e)/t,"calculateProgression"),E=h((e,t)=>{const n=e.touches[0];if(!n)return null;const{clientX:r,clientY:o}=n,i=w(t,{x:r,y:o}),s=O(i),a=S(t,{x:r,y:o},s);return{angle:i,direction:s,axis:j(s),deltas:a}},"getSwipeData"),I=h((e,t)=>{var n,r;const{committedDirection:o,data:i,angle:s}=e,{delta:a}=o?i[o]:v;if(!o)return g.HARD_CANCELLED;const{minSwipeThreshold:c,angleOffsetThreshold:l,minDragThreshold:d}=t,u=null!==(n=null===(r=b.find(e=>e.name===o))||void 0===r?void 0:r.angle)&&void 0!==n?n:0,p=Math.abs(s-u),h=Math.min(p,360-p)=d;return h?h&&a>=c?t.type!==f.DRAG||m?g.COMMITTED:g.DRAGGING:g.SOFT_CANCELLED:g.HARD_CANCELLED},"getInProgressGestureState"),P=h((e,t,n)=>{const r=(null==e?void 0:e.committedDirection)||null;if(!r)return y;const{deltas:o}=t,i=o[r]||0,s=C(i,n);return u(u({},y),{},{[r]:{delta:i,progress:s}})},"getGestureDirectionData"),k=h((e,t,n)=>{const r=n.type===f.DRAG?n.minDragThreshold:n.minSwipeThreshold;if(n.disabled||!t)return{validatedState:g.HARD_CANCELLED,validatedGesture:x};const o=e?u(u({},e),{},{angle:t.angle}):{committedDirection:t.direction,committedAxis:t.axis,data:y,angle:t.angle},i=u(u({},o),{},{data:P(o,t,r)}),s=I(i,n);return{validatedState:s,validatedGesture:s===g.HARD_CANCELLED?x:i}},"getValidatedGesture"),A=h(e=>{const t=(0,i.useRef)(null),n=(0,i.useRef)(e),r=(0,i.useRef)(null);(0,i.useEffect)(()=>{n.current=e},[e]);const o=(0,i.useCallback)((...e)=>{r.current=e,t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{r.current&&n.current(...r.current)})},[]);return(0,i.useEffect)(()=>()=>{t.current&&cancelAnimationFrame(t.current)},[]),o},"useAnimationFrame"),T=h(({swipeThreshold:e=60,dragThreshold:t=120,angleThreshold:n=15,type:r=f.SWIPE,ignoreClass:o="",disabled:s=!1})=>{const[a,c]=(0,i.useState)(g.NONE),[l,d]=(0,i.useState)(null),[u,p]=(0,i.useState)(null),m=(0,i.useCallback)(()=>{d(null),c(g.NONE),p(null)},[]),b=(0,i.useCallback)(e=>{if(a===g.COMPLETED)return;if(s)return void m();const t=null==e?void 0:e.touches[0],n=null==e?void 0:e.target;o&&(null==n?void 0:n.closest(`.${o}`))||!t||(d({x:t.clientX,y:t.clientY}),c(g.STARTED))},[o,s,m,a]),v=h(o=>{if(!l)return void b(o);if(a===g.COMPLETED)return;if(s||!o||!l||[g.NONE,g.HARD_CANCELLED].includes(a))return void m();const i=E(o,l),{validatedState:d,validatedGesture:h}=k(u,i,{minSwipeThreshold:e,angleOffsetThreshold:n,minDragThreshold:t,type:r,disabled:s});c(d),p(h)},"onTouchMoveImpl"),y=(0,i.useCallback)(()=>{if(a!==g.COMPLETED){if(s&&!l)return void m();a===g.COMMITTED?c(g.COMPLETED):m()}},[a,s,l,m]),x=(0,i.useCallback)(()=>{s?m():(c(g.HARD_CANCELLED),p(null),d(null))},[s,m]);return(0,i.useEffect)(()=>{if(s)return void m();const e=h(e=>{e.persisted&&m()},"handlePageReveal");return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[s,m]),{handlers:{onTouchMove:A(v),onTouchEnd:A(y),onTouchCancel:A(x)},gesture:s?null:u,state:s?g.NONE:a,reset:m}},"useSwipeZone"),D=h((e,t)=>{const n=T(t),{handlers:o}=n,s=(0,r.A)(n,l),a=(0,i.useRef)(null),{disabled:c=!1}=t,{onTouchMove:d,onTouchEnd:p,onTouchCancel:m}=o,f=(0,i.useRef)(d),g=(0,i.useRef)(p),b=(0,i.useRef)(m);return(0,i.useEffect)(()=>{c||(f.current=d)},[d,c]),(0,i.useEffect)(()=>{c||(g.current=p)},[p,c]),(0,i.useEffect)(()=>{c||(b.current=m)},[m,c]),(0,i.useEffect)(()=>{if(c)return void(a.current&&(a.current.removeEventListener("touchmove",f.current),a.current.removeEventListener("touchend",g.current),a.current.removeEventListener("touchcancel",b.current)));if(a.current=document.getElementById(e),!a.current)return void console.warn("useExternalSwipeZone: Swipe zone not found");const t=h(e=>{f.current(e)},"onTouchMoveListener"),n=h(()=>{g.current()},"onTouchEndListener"),r=h(()=>{b.current()},"onTouchCancelListener");return a.current.addEventListener("touchmove",t,{passive:!0}),a.current.addEventListener("touchend",n,{passive:!0}),a.current.addEventListener("touchcancel",r,{passive:!0}),()=>{var e,o,i;null!==(e=a.current)&&void 0!==e&&e.removeEventListener("touchmove",t),null!==(o=a.current)&&void 0!==o&&o.removeEventListener("touchend",n),null===(i=a.current)||void 0===i||i.removeEventListener("touchcancel",r)}},[e,c]),u({handlers:o},s)},"useExternalSwipeZone")},22126(e,t,n){"use strict";n.d(t,{c:()=>l});var r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}o(i,"getDefaultExportFromCjs");var s,a={exports:{}};function c(){return s||(s=1,e=a,function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;ta});var r=n(79811),o=n(7378);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var s=Object.defineProperty;const a=((e,t)=>s(e,"name",{value:t,configurable:!0}))(e=>o.createElement("svg",function(e){for(var t=1;tu,b:()=>p,c:()=>m,d:()=>f,e:()=>g,f:()=>b,g:()=>v,i:()=>d,j:()=>y,k:()=>x,l:()=>h,m:()=>w});var r=n(79811),o=n(70458);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;ta(e,"name",{value:t,configurable:!0});const l=c(({type:e,condition:t,message:n,messageBuilder:r})=>t?null:{type:e,message:n,messageBuilder:r},"handler"),d=c(()=>({validate:c(e=>{const t="string"==typeof(0,o.p)(e);return l({type:"isString",condition:t,message:"Field must be text only",messageBuilder:c(e=>`${e} must be text only`,"messageBuilder")})},"validate")}),"isString"),u=c(()=>({validate:c(e=>{const t=!isNaN(e);return l({type:"isNumber",condition:t,message:"Field must be a number",messageBuilder:c(e=>`${e} must be a number`,"messageBuilder")})},"validate")}),"isNumber"),p=c(()=>({validate:c(e=>l({type:"isBoolean",condition:"boolean"==typeof e,message:"Field must be true or false",messageBuilder:c(e=>`${e} must be true or false`,"messageBuilder")}),"validate")}),"isBoolean"),h=c((e="string")=>({validate:c(t=>{if("boolean"===e)return p().validate(t,{});const n=(0,o.p)(t).length>0;return l({type:"required",condition:n,message:"Field is required",messageBuilder:c(e=>`${e} is required`,"messageBuilder")})},"validate")}),"isNotEmpty"),m=c(()=>({validate:c(e=>{const t=(0,o.p)(e),n=/^(?=(.{1,64}@.{1,255}))([!#$%&'*+\-\/=?\^_`{|}~a-zA-Z0-9}]{1,64}(\.[!#$%&'*+\-\/=?\^_`{|}~a-zA-Z0-9]{0,}){0,})@((\[(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}\])|([a-zA-Z0-9-]{1,63}(\.[a-zA-Z0-9-]{2,63}){1,}))$/.test(t);return l({type:"isEmail",condition:n,message:"Please enter a valid email address",messageBuilder:c(()=>"Please enter a valid email address","messageBuilder")})},"validate")}),"isEmail"),f=c((e,t)=>({validate:c((n,r)=>{const i=(0,o.p)(n)===r[e];return l({type:"doesMatch",condition:i,message:`Should match ${t}`,messageBuilder:c(()=>`Should match ${t}`,"messageBuilder")})},"validate")}),"doesMatch"),g=c((e,t)=>({validate:c((n,r)=>{const i=(0,o.p)(n)!==r[e];return l({type:"doesNotMatch",condition:i,message:`Should not match ${t}`,messageBuilder:c(()=>`Should not match ${t}`,"messageBuilder")})},"validate")}),"doesNotMatch"),b=c((e,t,n)=>({validate:c(n=>{if(!n)return null;const r=(0,o.p)(n),i=(0,o.c)(r,t),a={type:`hasMin${(0,o.a)(t||"")}`,condition:i>=e};return l(s(s({},a),{},t?{message:`Must contain minimum ${e} ${t}`,messageBuilder:c(()=>`Must contain minimum ${e} ${t}`,"messageBuilder")}:{message:`Minimum length is ${e} characters`,messageBuilder:c(()=>`Minimum length is ${e} characters`,"messageBuilder")}))},"validate")}),"hasMin"),v=c((e,t,n)=>({validate:c(n=>{const r=(0,o.p)(n),i=(0,o.c)(r,t),a={type:`hasMax${(0,o.a)(t||"")}`,condition:i<=e};return l(s(s({},a),{},t?{message:`Must contain maximum ${e} ${t}`,messageBuilder:c(()=>`Must contain maximum ${e} ${t}`,"messageBuilder")}:{message:`Maximum length is ${e} characters`,messageBuilder:c(()=>`Maximum length is ${e} characters`,"messageBuilder")}))},"validate")}),"hasMax"),y=c((e,t,n,r)=>({validate:c(r=>{const i=Number(r),a={type:`hasRange${(0,o.a)(n||"")}`,condition:i>=e&&i<=t};return l(s(s({},a),{},n?{message:`Must contain a minimum value of ${e} ${n} and a maximum value of ${t} ${n}`,messageBuilder:c(()=>`Must contain a minimum value of ${e} ${n} and a maximum value of ${t} ${n}`,"messageBuilder")}:{message:`Minimum value is ${e} characters and maximum value is ${t} characters`,messageBuilder:c(()=>`Minimum value is ${e} characters and maximum value is ${t} characters`,"messageBuilder")}))},"validate")}),"hasRange"),x=c(()=>({validate:c(e=>{const t={type:"containsNoSpaces",condition:!(0,o.p)(e).includes(" ")};return l(s(s({},t),{},{message:"Must not contain any spaces",messageBuilder:c(()=>"Must not contain any spaces","messageBuilder")}))},"validate")}),"containsNoSpaces"),w=c(e=>({validate:c(t=>{const n=(0,o.p)(t),r={type:"matchesRegex",condition:e.test(n)};return l(s(s({},r),{},{message:"Field does not match the required format",messageBuilder:c(()=>"Field does not match the required format","messageBuilder")}))},"validate")}),"matchesRegex")},74664(e,t,n){"use strict";n.d(t,{s:()=>o});var r=Object.defineProperty;const o=((e,t)=>r(e,"name",{value:t,configurable:!0}))(e=>e.trim().toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-/,"").replace(/-$/,""),"slugify")},68699(e,t,n){"use strict";n.d(t,{u:()=>s});var r=n(7378),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function s(e){const t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{const n=i(n=>{var r;(null==t||null===(r=t.current)||void 0===r?void 0:r.contains(n.target))||e()},"handleClickOutside");return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e]),t}i(s,"useClickOutside")},34443(e,t,n){"use strict";n.d(t,{u:()=>s});var r=n(7378),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function s(){const[e,t]=(0,r.useState)(0),n=(0,r.useRef)(null),o=i(()=>{var e,r;t(null!==(e=null===(r=n.current)||void 0===r?void 0:r.scrollHeight)&&void 0!==e?e:0)},"updateCollapsibleContentHeight");return(0,r.useEffect)(()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[]),{collapsibleContentHeight:e,collapsibleContentContainerRef:n}}i(s,"useCollapsibleContentHeight")},30852(e,t,n){"use strict";n.d(t,{u:()=>s});var r=n(7378),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});const s=i(({defaultIsOpen:e,onInteract:t,keepOpen:n})=>{const[o,s]=(0,r.useState)(e||!1),a=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;const t=(null===(e=a.current)||void 0===e?void 0:e.querySelectorAll("a"))||[];return t.length>0&&!o&&t.forEach(e=>{e.setAttribute("tabIndex","-1")}),()=>{t.forEach(e=>{e.setAttribute("tabIndex","0")})}},[o]),{contentRef:a,isOpen:o,onDropdownInteract:i(()=>{s(e=>!e),!n&&t&&t()},"onDropdownInteract")}},"useDropdownToggle")},60050(e,t,n){"use strict";n.d(t,{tl:()=>o.c,tn:()=>r.a});n(70458),n(41838);var r=n(7355),o=(n(51503),n(58945))},52556(e,t,n){"use strict";n.d(t,{A:()=>k});var r=n(79811),o=n(23108),i=n(64543),s=n(86655),a=n(14197),c=n(68472),l=n(55167),d=n(92389),u=n(58441),p=n(50861),h=n(55299),m=n(33401),f=n(87444),g=n(28859),b=n(22282),v=n(74995),y=n(86106);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;te.spacing.x2,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.textStyle.formAssistive.small),E=i.styled.div.withConfig({componentId:"sc-slrdna-2"})(["padding-top:","px;a{color:",";",";}"],({theme:e})=>e.spacing.x2,e=>e.theme.color.primary.base,({theme:e})=>e.textStyle.formInputLink.base),I=e=>{e.preventDefault(),window.localStorage.setItem(m.sU,window.location.href),(0,v.V)("/forgotten-password")},P=e=>{var t,n;const{redirectUrl:r}=e,{methods:o,registerControlledInput:i}=(0,l.G1)(d.ni),{handleSubmit:c,formState:m,setFormError:x,setError:P}=o;return(0,y.jsxs)(S,{children:[(0,y.jsx)(a.Op,w(w({},o),{},{children:(0,y.jsxs)(a.lV,{id:h.BRN,children:[(0,y.jsx)(a.ks,w(w({},i(h.BRe)),{},{type:"email",label:"Email address",required:!1})),(0,y.jsx)(a.yA,w(w({},i(h.ITZ)),{},{label:"Password",required:!1})),(null===(t=m.errors.root)||void 0===t?void 0:t.message)&&(0,y.jsx)(C,{children:null===(n=m.errors.root)||void 0===n?void 0:n.message}),m.isSubmitting?(0,y.jsx)(O,{}):(0,y.jsx)(j,{name:"submitBtn",size:s.Zz,type:s.HM,disabled:!m.isValid,className:u.lr,onClick:c(async e=>{const t=e[h.BRe],n=e[h.ITZ],o={[h.BRe]:t,[h.ITZ]:n};try{const{formError:e,fieldErrors:i}=await(0,f.R1)({path:"/user/login/submit",data:o,isInternalApi:!1});if(i)return void Object.entries(i).forEach(([e,t])=>{const[n]=t;P(e,[w(w({},n),{},{messageBuilder:()=>n.message})])});if(e)throw new Error(null==e?void 0:e.message);await(0,g.A)(),(0,b.xN)(),await(0,f.H_)(t,n),(e=>{const t=new URL(e||"/",window.location.origin);t.searchParams.append("loginSuccessful",!0),(0,v.V)(t.href)})(r)}catch(e){x(e.message||p.W)}},()=>{x(p.W)}),children:"Submit"})]})})),(0,y.jsx)(E,{children:(0,y.jsx)("a",{href:"/forgotten-password",onClick:I,children:"Forgotten your password?"})})]})};P.propTypes={redirectUrl:o.string};const k=P},22302(e,t,n){"use strict";n.d(t,{C:()=>r});const r="support-drawer-button-amp"},64956(e,t,n){"use strict";n.d(t,{A:()=>y});var r=n(23108),o=n(64543),i=n(48850),s=n(78190),a=n(58441),c=n(52114),l=n(77079),d=n(86106);const u=s.Ay.default||s.Ay,p=(0,o.styled)(u).attrs({svg:l.A}).withConfig({componentId:"sc-bok258-0"})(["color:",";transform:rotate(90deg);transition:transform 0.2s;"],e=>e.theme.color.ink.invert),h=o.styled.a.withConfig({componentId:"sc-bok258-1"})(["display:flex;height:44px;align-items:center;padding-left:7px;border-left:3px solid ",";background:",";color:",";text-transform:uppercase;"," &:hover,&.active{border-color:",";color:",";}"],e=>e.theme.color.canvas.base,e=>e.theme.color.canvas.base,e=>e.theme.color.ink.base,({theme:e})=>e.textStyle.premiumMenuDropdownLink.base,e=>e.theme.color.primary.base,e=>e.theme.color.ink.base),m=o.styled.ul.withConfig({componentId:"sc-bok258-2"})(["padding:0;margin:0;"]),f=o.styled.li.withConfig({componentId:"sc-bok258-3"})(["border-bottom:1px solid ",";list-style-type:none;"],e=>e.theme.color.divider.light),g=(0,o.styled)(i.cn).withConfig({componentId:"sc-bok258-4"})(["position:absolute;left:0;@media ","{display:none;}"],c.n5),b=o.styled.div.withConfig({componentId:"sc-bok258-5"})(["display:flex;width:calc(100vw - 28px);height:44px;align-items:center;justify-content:right;padding:0 14px;transition:background 0.2s;[aria-expanded='true'] &{background:",";","{transform:rotate(270deg);}}"],({theme:e})=>e.color.actionBrand.alt,p),v=({links:e})=>(0,d.jsx)(g,{closeOnChildClick:!0,id:"premium-menu-dropdown",trigger:(0,d.jsx)(b,{children:(0,d.jsx)(p,{})}),children:(0,d.jsx)(m,{className:a.he,children:e.map((e,t)=>(0,d.jsx)(f,{children:(0,d.jsx)(h,{href:`#${e.toLowerCase()}`,"data-tab":e.toLowerCase(),children:e})},`premium-link-${t}`))})});v.propTypes={links:r.arrayOf(r.string).isRequired};const y=v},28583(e,t,n){"use strict";n.d(t,{W5:()=>r,pL:()=>o,u1:()=>i});n(32546);const r=()=>{const e=(new Date).getFullYear()-18;return{mostRecentYear:e,earliestYear:e-90}},o=()=>{const e=[],{earliestYear:t,mostRecentYear:n}=r();for(let r=n;r>=t;r--)e.push(r);return e},i=e=>e instanceof Error?e.message:e.toString()},28859(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(32644);const o=async()=>{await(0,r.Ay)()&&window.braze.openSession()}},11904(e,t,n){"use strict";var r={};n.r(r),n.d(r,{ArchiveAccordion:()=>ts,Badge:()=>As,Booking:()=>Ro,BookingSearchMapWidget:()=>pa,BookingSearchWidget:()=>ca,ColorModeToggleWithTracking:()=>ea,DrawerMenu:()=>zn,EditionSwitcher:()=>F,FAQsContent:()=>bo.Ay,Gallery:()=>Ts.A,LoginDrawer:()=>ve,MenuButton:()=>Oe,Newsletter:()=>Ar,PlaylistSlab:()=>Li,PremiumMenuDropdown:()=>Te.A,RegisterLoginButton:()=>et,RelatedArticlesCarouselHydrated:()=>$o.A,SubNavMenu:()=>ys,SupportNSCNative:()=>go,SupportUsButton:()=>Ae,TempLinks:()=>In});var o=n(11989),i=n(46857),s=n(16616),a=n(77779),c=n(80493);const l=e=>({uk:{title:s.s5,path:(0,c.A)(i.g5,e),locale:i.g5,domain:a.Wd},us:{title:s.MV,path:(0,c.A)(i.gf,e),locale:i.gf,domain:a.I8},asia:{title:s.s$,path:(0,c.A)(i._g,e),locale:i._g,domain:a.Wd},es:{title:s.K6,path:(0,c.A)("ES",e),domain:a.mv}});var d=n(45186),u=n(43100),p=n(22282);var h=n(79811),m=n(67382),f=n(92569),g=n(27481),b=n(64543),v=n(48850),y=n(78190),x=n(52114);const w=(0,b.styled)(y.Ay).attrs({size:y.Kk}).withConfig({componentId:"sc-1l6dm8r-0"})(["margin-right:-4px;transition:transform ease-out 0.2s;"]),j=b.styled.div.withConfig({componentId:"sc-1l6dm8r-1"})([""]),O=b.styled.div.withConfig({componentId:"sc-1l6dm8r-2"})(["background:",";"],({theme:e})=>e.color.canvas.secondary),S=b.styled.a.withConfig({componentId:"sc-1l6dm8r-3"})(["display:flex;height:18px;align-items:center;padding:","px ","px;border-top:1px solid ",";background-color:",";color:",";"," &:active,&:hover{background-color:",";color:",";}","{margin-left:auto;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x3,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.textStyle.editionSwitcherLinkAlt.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,w),C=(0,b.styled)(S).withConfig({componentId:"sc-1l6dm8r-4"})(["width:144px;padding-right:12px;padding-left:12px;border:solid ",";border-width:0 1px;font-weight:normal;"],({theme:e})=>e.color.divider.light),E=(0,b.styled)(v.cn).withConfig({componentId:"sc-1l6dm8r-5"})(["[aria-hidden]{box-shadow:",";}"],({theme:e})=>e.boxShadows.xtraLightDown),I=b.styled.div.withConfig({componentId:"sc-1l6dm8r-6"})(["height:49px;box-sizing:border-box;padding:16px;border:0;background:",";color:",";cursor:pointer;font-size:12px;font-weight:bold;text-transform:uppercase;&:active{outline:none;}&:hover,&:active,[aria-expanded='true'] &{background-color:",";color:",";}[aria-expanded='true'] &{","{transform:rotate(180deg);}}@media ","{height:56px;}"],({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,w,x.n5),P=(0,b.styled)(I).withConfig({componentId:"sc-1l6dm8r-7"})(["width:170px;height:","px;padding:0 ","px;border-right:1px solid ",";border-left:1px solid ",";background:none;transition:background 0.2s;"," &:hover{background-color:",";color:",";}","{margin-left:auto;}"],({theme:e})=>e.spacing.x4,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.divider.light,({theme:e})=>e.textStyle.tagBase.xSmall,({theme:e})=>e.color.actionTransparent.alt,({theme:e})=>e.color.ink.invert,w),k=b.styled.span.withConfig({componentId:"sc-1l6dm8r-8"})(["display:flex;height:100%;align-items:center;"]),A=b.styled.span.withConfig({componentId:"sc-1l6dm8r-9"})(["margin-left:8px;font-weight:normal;text-decoration:underline;text-transform:initial;"]),T=b.styled.span.withConfig({componentId:"sc-1l6dm8r-10"})(["overflow:hidden;width:0;"]);var D=n(77079),_=n(86106);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t{var r;const o=null!==(r=t&&"locale"in t)&&void 0!==r&&r,i=((e,t,n)=>()=>{e&&t.locale&&n===t.domain&&(0,g.TV)(m.ss,t.locale,{days:365})})(o,t,e),s=new URLSearchParams;return s.set(f.mf,e),(0,_.jsxs)(n,{href:`${null==t?void 0:t.path}?${s.toString()}`,"data-edition":o&&t.locale,onClick:i,children:[null==t?void 0:t.title,(0,_.jsx)(w,{svg:D.A})]},`edition-${o&&t.locale}`)};var z,R=n(7378);function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",id:"d5d9764c65d2cfa2",viewBox:"0 0 24 24"},e),z||(z=R.createElement("path",{fill:"currentColor",d:"m7.42 8.31 4.59 4.58 4.59-4.58 1.41 1.41-6 6-6-6z"}))),F=({className:e,changeText:t="Change",domain:n=a.Wd,isHeader:r=!0,locale:o=i.g5,serverEnv:h=d.IJ,id:m,newEditions:f})=>{const g=[a.mv,a.I8].includes(n)?(e=>({uk:{title:s.s5,path:(0,c.A)(i.g5,e),locale:i.g5,domain:a.Wd},es:{title:s.K6,path:(0,c.A)("ES",e),domain:a.mv},us:{title:s.MV,path:(0,c.A)(i.gf,e),locale:i.gf,domain:a.I8}}))(h):l(h),b=JSON.parse(JSON.stringify(g)),v=Object.values(b),y=r?O:j,x=r?C:S,D=r?P:I,N=r?T:A,z=n===a.I8?i.gf:o;let R=n,{currentEdition:$,editionChoices:F}=v.reduce((e=>(t,n)=>"locale"in n&&n.locale===e?M(M({},t),{},{currentEdition:n.title}):M(M({},t),{},{editionChoices:[...t.editionChoices,n]}))(z),{currentEdition:"",editionChoices:[]});n===a.mv&&($=s.K6,R=a.mv,F=v.filter(e=>e.domain!==a.mv&&e)),f||(F=((e,t,n)=>e.filter(e=>(n===a.Wd&&(null==e?void 0:e.title)===s.MV&&(e.path=`${t}us`,e.domain=a.Wd),(n!==a.mv||(null==e?void 0:e.title)!==s.MV)&&(n===a.I8&&(null==e?void 0:e.title)===a.Wd&&(e.title=s.s5),e))))(F,g.uk.path,n),n===a.I8&&F.splice(1,0,l(h).asia));return(0,_.jsx)(E,{className:e,id:m,trigger:(0,_.jsx)(D,{className:"dropdown-trigger",children:(0,_.jsxs)(k,{children:[$,(0,_.jsx)(N,{children:t}),(0,_.jsx)(w,{svg:B})]})}),children:(0,_.jsx)(y,{className:"dropdown-content",onClick:e=>{const t=e.target.innerText;!t||r||(0,p.N2)({[u.s]:t})},children:F.map(e=>L(R,e,x))})})};var V=n(53215),H=n(22126);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;tU(e,"name",{value:t,configurable:!0});const K=b.styled.div.withConfig({componentId:"sc-6si3jg-0"})(["position:fixed;top:0;right:0;left:auto;z-index:",";overflow:scroll;height:100vh;transform:translateX(100%);transition:transform 300ms cubic-bezier(0,0,0.21,1);&.","{transform:none;}"],e=>e.theme.zIndex.modal,V.c),Y=G(e=>(0,_.jsx)(V.O,W(W({},e),{},{Wrapper:K,children:e.children})),"Drawer");var Z=n(58441),J=n(55299),Q=n(84812),X=n(86655),ee=n(33401),te=n(46075),ne=n(74299),re=n(52556);const oe=b.styled.div.withConfig({componentId:"sc-qtfm4f-0"})(["padding:0 36px ","px;background:",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.color.canvas.base),ie=(0,b.styled)(X.Ay).attrs({size:X.Zz,variant:X.YG}).withConfig({componentId:"sc-qtfm4f-1"})(["color:",";&:hover{color:",";}"],({theme:e})=>e.color.ink.light,({theme:e})=>e.color.ink.muted),se=(b.styled.div.withConfig({componentId:"sc-qtfm4f-2"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),b.styled.a.withConfig({componentId:"sc-qtfm4f-3"})(["color:",";font-size:14px;text-decoration:underline;"],({theme:e})=>e.color.primary.base),b.styled.div.withConfig({componentId:"sc-qtfm4f-4"})(["flex-grow:0;padding:60px 36px ","px;background:",";box-shadow:0 1px 4px 0 ",";.form-errors{margin-top:-","px;margin-bottom:","px;color:",";font-size:14px;}"],({theme:e})=>e.spacing.x3,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.veil.base,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1,({theme:e})=>e.color.semiotic.error)),ae=b.styled.p.withConfig({componentId:"sc-qtfm4f-5"})(["margin:0 0 ","px;",""],({theme:e})=>e.spacing.x3,({theme:e})=>e.textStyle.bodySecondaryHeavy.large),ce=b.styled.p.withConfig({componentId:"sc-qtfm4f-6"})(["margin:0 0 ","px;",""],({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.bodySecondary.small),le=((0,b.styled)(ne.A).withConfig({componentId:"sc-qtfm4f-7"})([""]),(0,b.styled)(te.Ay).withConfig({componentId:"sc-qtfm4f-8"})(["margin:22px 0;.form-submit{margin:0;}"]),b.styled.div.withConfig({componentId:"sc-qtfm4f-9"})(["width:100%;height:0.5px;margin-bottom:","px;background-color:",";opacity:0.5;"],({theme:e})=>e.spacing.x3,({theme:e})=>e.color.divider.bold)),de=b.styled.div.withConfig({componentId:"sc-qtfm4f-10"})(["height:max(830px,100vh);background:",";color:",";.google-recaptcha-policy{padding:0 36px;color:",";font-size:12px;line-height:16px;text-align:left;a{color:",";font-weight:bold;&:hover{color:",";}}}"],({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.actionBrand.alt),ue=(b.styled.div.withConfig({componentId:"sc-qtfm4f-11"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),({src:e="/img/icons/google.svg"})=>(0,_.jsx)("img",{src:e,alt:""})),pe=b.styled.div.withConfig({componentId:"sc-qtfm4f-12"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),he=b.styled.div.withConfig({componentId:"sc-qtfm4f-13"})(["display:flex;width:100vw;height:100%;box-sizing:border-box;flex-direction:column;flex-grow:1;@media ","{width:375px;}"],x.r7),me=({returnUrl:e,googleIcon:t,enabledSubs:n})=>{const r=window.localStorage.getItem(ee.lH),o=window.localStorage.getItem(ee.j7),i=`/register?${new URLSearchParams({[f.cN]:r,[f.MF]:o}).toString()}`;return(0,_.jsx)(he,{children:(0,_.jsxs)(de,{children:[(0,_.jsxs)(se,{className:"snapshot-logindrawer",children:[(0,_.jsx)(ae,{children:"Log in"}),(0,_.jsx)(pe,{children:(0,_.jsx)(re.A,{redirectUrl:e})}),(0,_.jsx)(le,{}),(0,_.jsx)(ce,{children:"New to The Independent?"}),(0,_.jsx)(X.Ay,{as:X.wW,id:J.n8D,href:i,size:X.Zz,variant:X.YG,children:"Register"})]}),(0,_.jsxs)(oe,{children:[(0,_.jsx)(ce,{children:"Or if you would prefer:"}),(0,_.jsxs)(ie,{id:J.Xo2,onClick:()=>{window.open("/google-auth","","scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=520,height=500,left=500,top=100")},children:[(0,_.jsx)(ue,{src:t}),"SIGN IN WITH GOOGLE"]})]}),(null==n?void 0:n.premium)&&(0,_.jsxs)(oe,{children:[(0,_.jsx)(ce,{children:"Want an ad-free experience?"}),(0,_.jsx)(X.Gp,{as:X.wW,size:X.Zz,variant:X.YG,href:"/subscribe?itm_channel=native&itm_campaign=login_overlay&itm_audience=prospecting","data-source":"Login overlay",children:"View offers"})]}),(0,_.jsxs)("div",{className:"google-recaptcha-policy",children:[(0,_.jsx)(le,{}),"This site is protected by reCAPTCHA and the Google ",(0,_.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://policies.google.com/privacy?hl=en",children:"Privacy notice"})," and ",(0,_.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://policies.google.com/terms?hl=en",children:"Terms of service"})," apply."]})]})})},fe=b.styled.div.withConfig({componentId:"sc-6mp1u1-0"})(["height:100vh;"," .","{height:","px;}"],({theme:e})=>e.textStyle.headerLoginDrawer.base,Z.lr,({theme:e})=>e.dimension.btn.height),ge=b.styled.button.withConfig({componentId:"sc-6mp1u1-1"})(["position:absolute;top:15px;right:20px;z-index:1;"]),be=b.styled.button.withConfig({componentId:"sc-6mp1u1-2"})(["position:absolute;left:-9999px;opacity:0;visibility:hidden;"]),ve=({originalUrl:e,enabledSubs:t})=>{const n=e||"/";return(0,_.jsx)(Q.A.Consumer,{children:({defaultState:{drawerLoginOpen:e},dispatchers:r})=>(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(be,{id:J.H9d,onClick:r.toggleDrawerLoginOpen}),(0,_.jsx)(Y,{id:J._gq,isHidden:!e,returnFocus:"#body",onBackgroundClick:r.closeDrawerLogin,Wrapper:fe,children:(0,_.jsxs)(fe,{children:[(0,_.jsx)(ge,{className:Z.uG,onClick:r.closeDrawerLogin,children:"✕"}),(0,_.jsx)(me,{returnUrl:n,enabledSubs:t})]})})]})})};var ye;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg",id:"0a0df087e37b7de2",viewBox:"0 0 16 16"},e),ye||(ye=R.createElement("path",{fill:"currentColor",d:"M0 3h16v2H0zm0 4h16v2H0zm0 4h16v2H0z"}))),je=b.styled.button.withConfig({componentId:"sc-1s0f48m-0"})(["display:flex;width:55px;height:49px;flex-direction:column;align-items:center;justify-content:center;row-gap:4px;column-gap:8px;outline-offset:-2px;"," &,&:focus{background-color:",";color:",";}&:active,&:hover,&:focus-visible{background-color:",";color:",";}@media ","{width:88px;height:56px;flex-direction:row-reverse;}"],({theme:e})=>e.textStyle.buttonMenu.small,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,x.n5),Oe=({children:e,className:t})=>(0,_.jsx)(Q.A.Consumer,{children:({dispatchers:n})=>(0,_.jsxs)(je,{"aria-label":"Open full menu",id:J.BIZ,onClick:n.toggleDrawerMenuOpen,className:t,children:[(0,_.jsx)(y.Ay,{svg:we,size:y.Kk}),e]})}),Se="Support Now";var Ce=n(56545),Ee=n(33176);function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;te.dimension.btn.borderRadius,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.ink.invert,({theme:e})=>e.textStyle.supportUsButton.small,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.color.ink.invert,x.n5,({theme:e})=>e.textStyle.supportUsButton.medium,x.BY),Ae=({isAmp:e=!1,copy:t=Se})=>(0,_.jsx)(ke,Pe(Pe({},e&&{id:Ee.W_}),{},{onClick:Ce.FN,children:t}));var Te=n(64956),De=n(3698),_e=n.n(De),Ne=n(3778);var Me=n(4910),Le=n(95067),ze=n(87907),Re=n(7747);const $e=b.styled.button.withConfig({componentId:"sc-nzc9nz-0"})(["display:flex;position:relative;z-index:5;width:55px;height:49px;flex-direction:column;align-items:center;justify-content:center;row-gap:4px;column-gap:8px;padding-top:0;margin-left:auto;border-left:1px solid ",";font-size:10px;font-weight:bold;outline-offset:-2px;&,&:focus{background-color:",";color:",";}&:active,&:hover,&:focus-visible{background-color:",";color:",";}@media ","{width:","px;height:56px;flex-direction:row-reverse;}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,x.n5,88),Be=b.styled.div.withConfig({componentId:"sc-bcyaso-0"})(["position:relative;"]),Fe=(0,b.styled)(Be).withConfig({componentId:"sc-bcyaso-1"})(["border-block:1px solid ",";"],({theme:e})=>e.color.divider.light),Ve=(0,b.styled)(y.Ay).attrs({svg:ze.HMY}).withConfig({componentId:"sc-bcyaso-2"})(["margin:0 10px 0 0;color:inherit;"]),He=b.styled.span.withConfig({componentId:"sc-bcyaso-3"})(["display:block;overflow:hidden;max-width:151px;color:inherit;text-overflow:ellipsis;white-space:nowrap;",""],({theme:e})=>e.textStyle.bodySecondaryHeavy.xSmall),qe=(0,b.styled)(He).withConfig({componentId:"sc-bcyaso-4"})(["max-width:107px;"]),We=(0,b.styled)(Re.Ay).withConfig({componentId:"sc-bcyaso-5"})(["display:grid;position:absolute;right:0;width:","px;height:100%;border-radius:0;outline-offset:-2px;"],88),Ue=(0,b.styled)(We).attrs({forwardedAs:Re.av}).withConfig({componentId:"sc-bcyaso-6"})(["--primary-color:",";--hover-color:",";background-color:",";"],({theme:e})=>e.color.actionBrandInk.base,({theme:e})=>e.color.actionBrandInk.alt,({theme:e})=>e.color.canvas.base),Ge=(0,b.styled)(We).withConfig({componentId:"sc-bcyaso-7"})(["--primary-color:",";--hover-color:",";background-color:",";text-decoration:none;",";&:focus,&:hover,&:active{background-color:",";}"],({theme:e})=>e.color.ink.white,({theme:e})=>e.color.ink.white,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.textStyle.navButton.base,({theme:e})=>e.color.actionBrand.alt),Ke=(0,b.styled)(Ge).attrs({forwardedAs:Re.av}).withConfig({componentId:"sc-bcyaso-8"})([""]),Ye=b.styled.span.withConfig({componentId:"sc-bcyaso-9"})(["max-width:calc( ","px - (","px * 2) );white-space:wrap;"],88,({theme:e})=>e.spacing.x1_5),Ze=b.styled.a.withConfig({componentId:"sc-bcyaso-10"})(["display:flex;width:100%;height:49px;box-sizing:border-box;align-items:center;padding:","px;border-width:1px 0;outline-offset:-2px;text-transform:uppercase;transition:",";"," &,&:focus{background-color:",";color:",";}&:hover,&:active,&:focus-visible{background-color:",";color:",";}&.","{text-transform:capitalize;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.transition.button,({theme:e})=>e.textStyle.registerLoginButton.base,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,Z.Ur),Je=(0,b.styled)(Ze).withConfig({componentId:"sc-bcyaso-11"})(["width:auto;height:","px;padding:0 ","px;border-top:0;border-bottom:0;outline-offset:-2px;&,&:focus{background-color:",";}&:hover,&:active,&:focus-visible{background-color:",";color:",";}"],({theme:e})=>e.spacing.x4,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.actionTransparent.base,({theme:e})=>e.color.actionTransparent.alt,({theme:e})=>e.color.ink.white),Qe=b.styled.span.withConfig({componentId:"sc-bcyaso-12"})(["display:block;margin-top:-1px;color:inherit;",""],({theme:e})=>e.textStyle.terms.xSmall);var Xe=n(96118);const et=({isHeader:e,replaceSubscribeWithSupport:t=!1,isUSSubscriberOrigin:n=!1,supportButtonCopy:r=Se})=>{var o;const{isAuthenticated:i,profile:s}=(0,Le.A)(),a=(null==s?void 0:s.userStatus)===Xe.H.PREMIUM,c=i?(l=s.givenName,d=s.familyName,l&&d?`${l.charAt(0)}. ${d}`:l||Ee.uc):"Log in / Register";var l,d;const u=e?Be:Fe,p=e?Je:Ze,h=i?e?qe:He:"span",m=i?_e()(Z.yE,Z.Ur):Z.yE,g=new URLSearchParams({[f.cN]:Me.sI}),b=i?Ee.s3:`${Ee.g3}?${g.toString()}`,v=e?null:function({isPremiumSubscriber:e,replaceSubscribeWithSupport:t,isUSSubscriberOrigin:n,supportButtonCopy:r}){return e?(0,_.jsx)(Ue,{href:Ee.eK,children:"Premium"}):t&&n?(0,_.jsx)(Ge,{onClick:Ce.FN,children:(0,_.jsx)(Ye,{children:r})}):n?null:(0,_.jsx)(Ne.MT,{theme:"premium",children:(0,_.jsx)(Ke,{href:Ee.tE,children:"Subscribe"})})}({isPremiumSubscriber:a,replaceSubscribeWithSupport:t,isUSSubscriberOrigin:n,supportButtonCopy:r});return(0,_.jsx)(u,{children:(0,_.jsxs)(Ne.MT,{theme:a?"premium":"independent",children:[v,(0,_.jsxs)(p,{href:b,className:m,id:i?J.KAN:void 0,children:[(0,_.jsx)(Ve,{}),(0,_.jsxs)(h,{id:J.JZ2,children:[c,(0,_.jsx)(Qe,{children:s?null!==(o=Xe.T[s.userStatus])&&void 0!==o?o:s.userStatus:null})]})]})]})})};var tt,nt=n(73245),rt=n(11085);function ot(){return ot=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",ot({xmlns:"http://www.w3.org/2000/svg",id:"ae0622f4743ce121",viewBox:"0 0 24 24"},e),tt||(tt=R.createElement("path",{fill:"currentColor",d:"M19 19H5V5h7V3H3v18h18v-9h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"})));var st;function at(){return at=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",id:"24642d152cfb978f",fill:"none",viewBox:"0 0 111 29"},e),st||(st=R.createElement("path",{fill:"#191919",d:"M0 24.54h43.29v2.23H0zm61.05 0h48.84v2.23H61.05zM54 20.85c-.4.35-.79.72-1.23 1.02a5 5 0 0 1-4.05.92 4.1 4.1 0 0 1-3.14-2.65c-.5-1.22-.6-2.5-.64-3.79-.03-1.32 0-2.64-.01-3.97l-.04-.57-.96-.08a18 18 0 0 1-.01-4.41H51q.04.26.05.55l.02 2.88.05 5.65c.02 1.3.98 1.94 2.16 1.46.36-.12.63-.42.71-.8q.1-.42.1-.84.02-1.97 0-3.92c0-.15-.03-.28-.05-.49l-1.32-.08v-4.4h7.4l.07.5q.01 6.81-.02 13.62a9 9 0 0 1-.82 3.89 6 6 0 0 1-4.6 3.38c-2.36.46-4.72.28-7.06-.14l-1.68-.35-.48-.16V23.6q.29 0 .5.04 2.78.5 5.6.4.63-.04 1.24-.22a1.4 1.4 0 0 0 1.12-1.3c.07-.54.06-1.1.09-1.65l-.07-.02ZM42.41 1.26v16.69l1.1.1v4.35c-.3.16-6.7.19-7.2.01v-1.49l-.1-.02-.62.58a4.9 4.9 0 0 1-5.54 1c-1.28-.53-2-1.61-2.51-2.88-.43-1.06-.6-2.18-.67-3.3a16 16 0 0 1 .4-5.25 5.6 5.6 0 0 1 1.7-3 4.65 4.65 0 0 1 5.26-.6c.58.27 1.08.77 1.6 1.18q.18.15.3.35l.1-.04V5.75l-1.32-.07c-.15-.3-.2-3.85-.06-4.42l.45-.08h6.6zm-6.13 13.63v-1.68q-.05-1.37-1.38-1.4-1.48-.05-1.57 1.33a48 48 0 0 0 0 3.5c.03.9.6 1.36 1.52 1.34.9-.02 1.38-.52 1.43-1.42zM9.1 22.46v-4.41l1.07-.12v-6.1l-1.05-.1V7.34h7.2v1.57l.1.03q.42-.41.87-.78a5.1 5.1 0 0 1 4.8-1.1c1.58.45 2.5 1.6 2.93 3.15q.35 1.32.4 2.68c.06 1.5.01 3.01.03 4.52l.04.54 1.14.1q.03 2.2 0 4.4h-8.31a18 18 0 0 1-.02-4.4l.98-.07a1 1 0 0 0 .09-.3c-.02-1.49.01-2.99-.06-4.48-.07-1.24-1.26-1.82-2.3-1.18-.24.14-.43.48-.54.76q-.13.38-.1.79-.02 1.95 0 3.9c0 .14.03.27.04.48l1.08.08c.04 1.46.02 2.9.02 4.4q-.26.06-.52.09H9.61q-.26 0-.5-.06Zm62.98-10.28h6.88l.08 1.34a10 10 0 0 0 .57 3.17c.34.83.9 1.4 1.82 1.46a1.9 1.9 0 0 0 1.78-.77c.57-.8.8-1.71.9-2.66l.15-2.22.06-.34h6.9q.05 1.73-.41 3.4a9.6 9.6 0 0 1-3.08 4.94c-2.9 2.45-7.89 2.75-11.34.61-3.24-2-4.46-5.9-4.3-8.93Zm26.67.02.04.8c.02 1.1.09 2.2.44 3.27q.2.6.56 1.12a1.98 1.98 0 0 0 3.22-.04c.53-.73.73-1.6.83-2.48.08-.73.1-1.48.16-2.21q.01-.21.07-.45h6.92q.06 1.73-.43 3.41a9.3 9.3 0 0 1-3.04 4.9c-3.01 2.52-8.07 2.79-11.48.57-3.21-2.1-4.34-5.95-4.2-8.88zm12.19-1.03h-6.89l-.05-.7c-.12-.9-.2-1.81-.38-2.7q-.15-.68-.54-1.26a2 2 0 0 0-2.8-.63q-.37.26-.6.6a6 6 0 0 0-.81 2.8q-.06.71-.09 1.44-.02.21-.07.42h-6.88c-.2-2.3.77-6.1 3.57-8.26a10.2 10.2 0 0 1 11.32-.43c3.31 2.16 4.4 6.15 4.22 8.72m-19.72 0H84.3l-.11-1.6a7 7 0 0 0-.67-2.78c-.54-1-1.4-1.39-2.47-1.12-.6.14-1 .54-1.28 1.06-.4.73-.54 1.52-.63 2.34q-.1 1.02-.17 2.09h-6.9a10 10 0 0 1 .5-3.57 9.2 9.2 0 0 1 3.2-4.74 10 10 0 0 1 11.84.06 9.2 9.2 0 0 1 3.16 4.77q.49 1.7.45 3.5ZM7.25 17.96l1.05.07c.18.31.23 4 .04 4.46H.06v-4.44l1.1-.09v-6.13l-1.12-.1Q0 9.55.01 7.33h7.24zm65.5.6v3.64H61.37v-3.64h1.25c.8 0 1.14-.34 1.14-1.17v-4.58q0-.3.05-.63h6.75l.04.55v4.73q0 1.1 1.07 1.1zM70.56 1.27v9.89h-6.8V6.5c-.89.4-1.6 1.12-2.6.73V3.48l.2-.15 4.03-2q.22-.09.44-.09h4.3q.19 0 .43.03M3.67 0a3.04 3.04 0 0 1 3.02 3.07v.05a3.1 3.1 0 0 1-3.02 3.16A3.1 3.1 0 0 1 .64 3.1C.64 1.41 1.99 0 3.67 0"})));var lt;function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",dt({xmlns:"http://www.w3.org/2000/svg",id:"096e9e1cc005bb48",fill:"none",viewBox:"0 0 80 29"},e),lt||(lt=R.createElement("path",{fill:"#191919",d:"M7.62 1.23V2.8h-2.6V11H3.04V2.81H.45V1.23zm5.4 1.9q.87 0 1.56.4.69.37 1.07 1.13.39.74.39 1.79V11h-1.96V6.72q0-.94-.46-1.42-.46-.5-1.26-.5-.82 0-1.3.5-.45.5-.45 1.42V11H8.65V.64h1.96v3.57q.37-.51 1-.78.64-.3 1.4-.3m11.7 3.82q0 .42-.06.76h-5.67q.06.84.58 1.32.52.47 1.28.47a1.6 1.6 0 0 0 1.55-.94h2.12a3.6 3.6 0 0 1-3.63 2.57q-1.12 0-2.02-.5a3.6 3.6 0 0 1-1.38-1.4q-.5-.92-.5-2.1 0-1.22.5-2.12.48-.91 1.37-1.4a4 4 0 0 1 2.03-.5q1.11 0 1.97.48.89.48 1.36 1.36a4 4 0 0 1 .5 2m-2.04-.56q0-.75-.54-1.2-.55-.46-1.3-.46-.74 0-1.24.45-.49.44-.6 1.21zM37.04 11h-1.96l-4.44-6.7V11h-1.96V1.21h1.96l4.44 6.72V1.21h1.96zm8.74-4.05q0 .42-.05.76h-5.67q.06.84.59 1.32.52.47 1.27.47a1.6 1.6 0 0 0 1.55-.94h2.12a3.6 3.6 0 0 1-3.63 2.57q-1.12 0-2.01-.5a3.6 3.6 0 0 1-1.4-1.4q-.48-.92-.48-2.1 0-1.22.49-2.12t1.37-1.4a4 4 0 0 1 2.03-.5q1.11 0 1.98.48.88.48 1.35 1.36a4 4 0 0 1 .5 2m-2.03-.56q0-.75-.54-1.2-.54-.46-1.3-.46-.73 0-1.24.45-.48.44-.6 1.21zm13.82-3.15L55.3 11h-2.12l-1.41-5.42L50.36 11h-2.13l-2.28-7.76h1.98l1.38 5.91 1.48-5.9h2.07l1.46 5.89 1.37-5.9zm3.62 7.89q-.95 0-1.7-.34t-1.2-.94q-.45-.58-.48-1.3h1.97q.06.45.43.74.4.3.97.3.55 0 .87-.23a.7.7 0 0 0 .32-.57q0-.38-.4-.56a7 7 0 0 0-1.2-.42q-.88-.21-1.44-.44a2.5 2.5 0 0 1-.95-.68q-.4-.47-.4-1.25 0-.64.37-1.17.37-.54 1.07-.84.69-.3 1.63-.31 1.4 0 2.22.7.82.69.9 1.86H62.3a1 1 0 0 0-.4-.73 1.4 1.4 0 0 0-.9-.28q-.53 0-.83.2a.6.6 0 0 0-.28.54q0 .4.4.6.39.2 1.21.41.84.21 1.39.44.55.22.94.7.4.45.42 1.23 0 .68-.38 1.2-.36.54-1.07.84-.68.3-1.6.3m-56.8 4.1q1.53 0 2.7.6t1.8 1.72.64 2.58q0 1.47-.64 2.57a4.3 4.3 0 0 1-1.8 1.7q-1.17.6-2.7.6H.96v-9.77zm-.08 8.1q1.54 0 2.38-.84a3.2 3.2 0 0 0 .84-2.36q0-1.53-.84-2.38-.84-.87-2.38-.87H2.93v6.45zm13.5-2.38q0 .43-.05.76H12.1q.06.84.58 1.32.52.47 1.28.47a1.6 1.6 0 0 0 1.55-.94h2.12A3.6 3.6 0 0 1 14 25.13q-1.12 0-2.02-.5a3.6 3.6 0 0 1-1.38-1.4q-.5-.91-.5-2.1 0-1.22.5-2.12.48-.91 1.37-1.4a4 4 0 0 1 2.03-.5q1.11 0 1.97.48.89.48 1.36 1.36a4 4 0 0 1 .5 2m-2.03-.56q0-.75-.54-1.2-.54-.46-1.3-.46-.74 0-1.24.45-.5.44-.6 1.21zm12.7-3.26q1.42 0 2.29.88.88.87.88 2.44V25H29.7v-4.28q0-.91-.46-1.39-.46-.5-1.26-.49-.8 0-1.27.49-.47.48-.47 1.39V25h-1.96v-4.28q0-.91-.46-1.39-.46-.5-1.26-.49-.81 0-1.29.49-.45.48-.46 1.39V25h-1.96v-7.76h1.96v.94q.38-.48.97-.77.6-.27 1.31-.28.91 0 1.63.4.7.37 1.1 1.09.38-.67 1.1-1.08.72-.4 1.56-.4m8.08 8q-1.12 0-2.02-.5t-1.41-1.4q-.5-.91-.5-2.1 0-1.2.51-2.1.53-.92 1.44-1.4.91-.51 2.03-.51t2.03.5 1.43 1.4.53 2.1a4 4 0 0 1-.54 2.1q-.53.9-1.46 1.42-.9.48-2.04.49m0-1.71q.52 0 .99-.25.48-.27.76-.79.27-.51.28-1.26 0-1.1-.6-1.7-.57-.6-1.4-.6-.85 0-1.42.6t-.56 1.7.55 1.71q.56.6 1.4.59m4.58-2.3q0-1.2.49-2.1.48-.9 1.35-1.4t2-.5q1.43 0 2.37.73a3.5 3.5 0 0 1 1.28 2.01H46.5a1.6 1.6 0 0 0-1.55-1.08q-.84 0-1.33.62-.5.6-.5 1.72 0 1.1.5 1.72.48.6 1.33.6 1.19 0 1.55-1.06h2.12q-.32 1.25-1.28 2-.95.75-2.38.75-1.12 0-1.99-.5a3.6 3.6 0 0 1-1.35-1.4 4.4 4.4 0 0 1-.5-2.1m10.48-2.67q.38-.61.98-.97.62-.35 1.4-.35v2.06h-.52q-.92 0-1.4.43-.45.45-.46 1.52V25h-1.96v-7.76h1.96zm2.8 2.64q0-1.18.46-2.08a3.5 3.5 0 0 1 1.27-1.4 3.4 3.4 0 0 1 1.8-.5 3.1 3.1 0 0 1 2.57 1.24v-1.1h1.98V25H60.5v-1.13q-.37.54-1.05.9a3 3 0 0 1-1.52.36q-.99 0-1.8-.5a3.6 3.6 0 0 1-1.27-1.42 5 5 0 0 1-.46-2.12m6.1.03q0-.7-.28-1.22-.28-.51-.75-.78a2 2 0 0 0-1.03-.28 2 2 0 0 0-1.76 1.05q-.28.51-.28 1.2 0 .7.28 1.24.3.5.76.8.47.27 1 .27.54 0 1.03-.26.47-.28.75-.79t.28-1.23m2.99 0q0-1.2.49-2.1t1.35-1.4 2-.5q1.43 0 2.37.73a3.5 3.5 0 0 1 1.3 2.01h-2.12a1.6 1.6 0 0 0-1.55-1.08q-.84 0-1.33.62-.5.6-.5 1.72 0 1.1.5 1.72.48.6 1.33.6 1.19 0 1.55-1.06H71q-.32 1.25-1.28 2-.95.75-2.38.75-1.1 0-1.99-.5a3.6 3.6 0 0 1-1.35-1.4 4.4 4.4 0 0 1-.5-2.1m15.94-3.88-4.8 11.43h-2.09l1.68-3.87-3.1-7.56h2.2l2 5.42 2.03-5.42z"}))),pt=(0,b.styled)(ct).withConfig({componentId:"sc-1bs1odk-0"})([""]),ht=(0,b.styled)(ut).withConfig({componentId:"sc-1bs1odk-1"})([""]),mt=(0,b.styled)(y.Ay).attrs({svg:rt.A,size:"small"}).withConfig({componentId:"sc-1bs1odk-2"})(["color:inherit;"]),ft=b.styled.a.withConfig({componentId:"sc-1bs1odk-3"})(["--bg:",";--color:",";display:flex;width:100vw;max-width:",";box-sizing:border-box;align-items:center;gap:20px;padding:18px;border-top:1px solid ",";border-bottom:1px solid ",";background-color:var(--bg);color:var(--color);",",","{overflow:visible;width:110px;}path,rect{fill:var(--color);}&:hover,&:focus,&:active{--bg:",";--color:",";color:var(--color);}@media ","{width:",";}"],({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.dimension.drawer.width,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.divider.light,pt,ht,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,x.kF,({theme:e})=>e.dimension.drawer.width),gt=b.styled.div.withConfig({componentId:"sc-1bs1odk-4"})(["padding-bottom:200px;"]),bt=(0,b.styled)(y.Ay).attrs({svg:it}).withConfig({componentId:"sc-1bs1odk-5"})(["margin-left:auto;"]),vt=(0,b.styled)(F).withConfig({componentId:"sc-1bs1odk-6"})(["margin-top:-49px;@media ","{margin-top:-56px;}"],x.n5),yt=b.styled.div.withConfig({componentId:"sc-1bs1odk-7"})(["width:",";min-height:100vh;background:",";",";"],({theme:e})=>e.dimension.drawer.width,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.textStyle.drawerMenuBase.base);var xt=n(23108),wt=n.n(xt);const jt="active",Ot="climate",St="premium",Ct={best:"/extras/indybest",climate:"/climate-change",news:"/news",other:"/other",premium:"/independentpremium",tv:"/tv/editors-picks",tvEspanol:"/tv/destacados"},Et="drawer-nav-trigger__active";var It=n(77056);const Pt=e=>e.startsWith("http")?`/${e.split("/").slice(3).join("/")}`:e,kt=(e,t,n,r)=>{var o;const i=r.some(e=>e.active),s=Pt(null!==(o=e.path)&&void 0!==o?o:"");if(["/","/us","/asia"].includes(t)&&s===n.news)return jt;const a=((e,t)=>{try{const n=Pt(t),r=Pt(e),o=n.split("/").at(1)||It.wf;return r.split("/").at(1)===o}catch{return!1}})(t,s);return e.active||a&&!i?s===n.climate?Ot:s===n.premium?St:jt:""},At=(e,t)=>`${e[0].title}${e[1]?`, ${e[1].title}`:""} ${t}`,Tt=({children:e,open:t,onInteract:n,id:r,trigger:o,className:i,initialOpenState:s,isControlled:a=!1})=>{const c=_e()(Z.P5,i);return a?(0,_.jsx)(v.Ay,{id:r,trigger:o,className:c,isOpen:t,onInteract:n,children:e}):(0,_.jsx)(v.cn,{id:r,trigger:o,className:c,defaultOpen:s,children:e})},Dt=b.styled.div.withConfig({componentId:"sc-1vzpihy-0"})([""]),_t=({name:e,className:t,sections:n,initialOpenIndex:r=null})=>{const[o,i]=((e=null)=>{const[t,n]=(0,R.useState)(e);return[t,n]})(r);return(0,_.jsx)(Dt,{className:_e()("accordion-wrapper",t),children:n.map(({open:t=!1,trigger:n,content:r},s)=>(0,_.jsx)(Tt,{index:s,open:t||o===s,onInteract:()=>i(o===s?null:s),id:`accordion-section-${e}-${s}`,trigger:n,isControlled:!0,children:r},s))})},Nt=y.Ay.default||y.Ay,Mt=(0,b.styled)(Nt).attrs({svg:D.A}).withConfig({componentId:"sc-keb75r-0"})(["margin-left:auto;"]),Lt=b.styled.a.withConfig({componentId:"sc-keb75r-1"})(["display:flex;align-items:center;padding:","px ","px ","px ","px;border-top:1px solid ",";background-color:",";color:",";",";&:hover,&:active{background-color:",";color:",";}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.textStyle.drawerMenuNavListExpanded.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt),zt=(0,b.styled)(Lt).withConfig({componentId:"sc-keb75r-2"})(["padding-left:","px;background:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.base),Rt=b.styled.ul.withConfig({componentId:"sc-keb75r-3"})(["padding:0;margin:0;"]),$t=(0,b.styled)(Rt).withConfig({componentId:"sc-keb75r-4"})(["margin:","px 0;border-bottom:1px solid ",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light),Bt=b.styled.li.withConfig({componentId:"sc-keb75r-5"})(["list-style-type:none;"]),Ft=({menu:e})=>(0,_.jsx)($t,{children:e.map(e=>(0,_.jsx)(Bt,{children:(0,_.jsxs)(zt,{href:e.path,children:[e.title,(0,_.jsx)(Mt,{})]})},e.path))});Ft.propTypes={menu:xt.array.isRequired};const Vt=Ft;var Ht;function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",qt({xmlns:"http://www.w3.org/2000/svg",id:"844b8d2bfb17a9b5",viewBox:"0 0 24 24"},e),Ht||(Ht=R.createElement("path",{fill:"currentColor",d:"M3.87 6.16 2.1 7.93l9.9 9.9 9.9-9.9-1.77-1.77L12 14.3z"})));const Ut=b.styled.div.withConfig({componentId:"sc-q493t0-0"})(["display:flex;position:relative;z-index:6;width:24px;align-items:center;margin:15px 15px 0 auto;transition:transform ease-out 0.2s;&.drawer-nav-arrow__side{margin-top:-35px;transform:rotate(270deg);}"]),Gt=(0,b.styled)(y.Ay).attrs({svg:Wt}).withConfig({componentId:"sc-q493t0-1"})([""]),Kt=b.styled.span.withConfig({componentId:"sc-q493t0-2"})(["display:block;overflow:hidden;color:",";text-overflow:ellipsis;white-space:nowrap;",";"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.drawerMenuNavTriggerDesc.base),Yt=b.styled.a.withConfig({componentId:"sc-q493t0-3"})(["display:flex;position:absolute;z-index:5;width:calc(100% - 48px);height:51px;box-sizing:border-box;flex-direction:column;justify-content:center;padding:2px 15px 0 10px;border-right:1px solid ",";background-color:",";&:active,&:hover{background-color:",";}.drawer-nav-link__standalone &{position:relative;width:100%;border-right:0;}."," &{width:calc(100% - 54px);}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.color.actionSubtleLight.base,({theme:e})=>e.color.actionSubtleLight.alt,Et),Zt=b.styled.span.withConfig({componentId:"sc-q493t0-4"})(["display:block;height:18px;margin-bottom:5px;color:",";",";"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.tagBase.xLarge),Jt=b.styled.h2.withConfig({componentId:"sc-q493t0-5"})(["overflow:hidden;height:51px;padding:0;margin:0;border:0;background-color:",";color:",";"," &:has(",":not(:hover)){&:active,&:hover,&[aria-expanded='true']{background-color:",";color:",";}&.drawer-nav-link__standalone{&:active,&:hover{color:",";}}}&[aria-expanded='true'] ","{transform:rotate(180deg);}&.","{border-left:6px solid ",";}"],({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.textStyle.menuDrawerMenuNavTrigger.base,Yt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,({theme:e})=>e.color.actionInvert.base,Ut,Et,({theme:e})=>e.color.actionBrand.base);function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;te.spacing.x1_5),nn=b.styled.nav.withConfig({componentId:"sc-1kdrnth-2"})(["position:relative;width:100%;background:",";clear:both;.","{border-bottom:1px solid ",";}"],({theme:e})=>e.color.canvas.secondary,Z.P5,({theme:e})=>e.color.divider.light),rn=(0,b.styled)(nn).withConfig({componentId:"sc-1kdrnth-3"})(["padding-bottom:200px;"]),on=({andMore:e="& more",domain:t,menu:n=[],originalUrl:r})=>{const[o,i]=(0,R.useState)([]);(0,R.useEffect)(()=>{i(JSON.parse(JSON.stringify(n)))},[n,i]);const s=t===a.mv?rn:nn,c=e=>{const t=kt(e,r,Ct,n);return[jt,Ot,St].includes(t)?Et:""},l=n.findIndex(e=>Pt(e.path)===Ct.other),d=l>-1?n[l]:{};l>-1&&o.splice(l,1);const u=o.map(t=>{var n;const r=null===(n=t.children)||void 0===n?void 0:n.length;return Xt(Xt({},t),{},{active:c(t),desc:r?At(t.children,e):null,styledArrow:r?"":"drawer-nav-arrow__side",styledLink:r?"":"drawer-nav-link__standalone"})}),p=u.find(e=>kt(e,r,Ct,n)===St),h=u.find(e=>kt(e,r,Ct,n)===Ot),m=p?"premium":h?"climate":"independent",f=u.map(e=>({trigger:(0,_.jsx)(Ne.MT,{theme:m,children:(0,_.jsxs)(Jt,{className:De(e.active,e.styledLink),children:[(0,_.jsxs)(Yt,{href:e.path,children:[(0,_.jsx)(Zt,{className:Z.df,children:e.title}),e.desc&&(0,_.jsx)(Kt,{children:e.desc})]}),(0,_.jsx)(tn,{className:e.styledArrow,children:(0,_.jsx)(Gt,{})})]})}),content:(0,_.jsx)(Rt,{children:e.children&&e.children.map((e,t)=>(0,_.jsx)(Bt,{children:(0,_.jsxs)(Lt,{href:e.path,children:[e.title,(0,_.jsx)(Mt,{})]})},`drawer-menu-item=${t}`))})}));return(0,_.jsxs)(s,{className:Z.Ls,children:[(0,_.jsx)(en,{}),(0,_.jsx)(_t,{name:"drawer-menu",sections:f}),(null==d?void 0:d.children)&&(0,_.jsx)(Vt,{menu:d.children})]})};on.propTypes={andMore:xt.string,domain:xt.string.isRequired,menu:xt.array,originalUrl:xt.string.isRequired};const sn=on;var an=n(65459);const cn=an.A.default||an.A,ln=b.styled.div.withConfig({componentId:"sc-jmla16-0"})(["padding-bottom:","px;background:",";clear:both;form.gsc-search-box{box-sizing:border-box;padding:","px ","px 0;margin:0;}table.gsc-search-box{overflow:hidden;margin:0;border-radius:","px;td.gsc-input{width:100%;padding:0;}td.gsib_b{height:30px;padding:0;}}.gsc-input-box{padding:0;border:0;}input{height:32px !important;color:",";}.gsst_a,.gsst_b{display:flex;height:100%;align-items:center;justify-content:end;padding:0;}.gscb_a{--width:","px;overflow:hidden;width:var(--width);height:var(--width);margin:0 6px;background-image:url(data:image/svg+xml;charset=utf-8,",");text-indent:-9999px;}.gsc-search-button{display:flex;width:40px;height:40px;align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:0;background:",";&:hover{background:",";}svg{width:24px;height:24px;}}.quick-searchresults{position:absolute;left:3.75%;z-index:7;width:92.5%;.gsc-control-cse{padding:0;border:0;}.gsc-results-wrapper-visible{height:373px;box-shadow:0 2px 4px 0 ",";overflow-y:scroll;}}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.ink.black,({theme:e})=>e.dimension.icon[y.CW].width,encodeURIComponent('\n \n\n'),({theme:{color:e}})=>e.actionBrand.base,({theme:{color:e}})=>e.actionBrand.alt,({theme:e})=>e.color.shadow.dark),dn=(0,b.styled)(ln).withConfig({componentId:"sc-jmla16-1"})(["display:none;position:relative;top:-1px;margin-left:auto;background:none;@media ","{display:block;}form.gsc-search-box{width:205px;height:32px;box-sizing:border-box;padding:23px 0 0;}.gsc-search-button{width:32px;height:32px;svg{width:18px;height:18px;}}input{height:30px !important;}table.gsc-input{--border-radius:","px;border:1px solid ",";border-radius:var(--border-radius);}.quick-searchresults{right:0;left:auto;z-index:7000;width:391px;max-height:393px;margin-top:23px;}.gsib_a{padding:1px 0 0 32px;background-position:left 5px center;background-size:22px;}"],x.BY,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.divider.light),un=({isHeader:e})=>{const t=e?"searchBox0":"searchBox1",n=e?"quickSearchresults0":"quickSearchresults1";return e?(0,_.jsx)(dn,{children:(0,_.jsxs)("div",{className:"search-input",children:[(0,_.jsx)("div",{id:t}),(0,_.jsx)("div",{id:n,className:"quick-searchresults"})]})}):(0,_.jsx)(cn,{children:(0,_.jsxs)(ln,{children:[(0,_.jsx)("div",{id:t}),(0,_.jsx)("div",{id:n,className:"quick-searchresults"})]})})};un.propTypes={isHeader:xt.bool};const pn=un;var hn=n(26002),mn=n(22302);const fn=X.Ay.default||X.Ay,gn=b.styled.div.withConfig({componentId:"sc-1t0z742-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:","px;background:",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.brand),bn=b.styled.div.withConfig({componentId:"sc-1t0z742-1"})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:","px;"],({theme:e})=>e.spacing.x2),vn=b.styled.p.withConfig({componentId:"sc-1t0z742-2"})(["margin-block:0;color:",";",""],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.supportDrawerContentCopy.base),yn=(0,b.styled)(fn).withConfig({componentId:"sc-1t0z742-3"})(["width:100%;margin-top:","px;",""],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.supportDrawerContentButton.base),xn=b.styled.div.withConfig({componentId:"sc-1t0z742-4"})(["display:flex;align-items:center;justify-content:center;gap:","px;margin-top:","px;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1),wn=({isAmp:e=!1})=>(0,_.jsxs)(gn,{children:[(0,_.jsx)(bn,{children:(0,_.jsxs)(vn,{children:["Our mission is to deliver unbiased, fact-based reporting that holds power to account and exposes the truth. ",(0,_.jsx)("b",{children:"Support us to deliver journalism without an agenda."})]})}),(0,_.jsx)(yn,{onClick:Ce.FN,id:e?mn.C:"",children:"Support now"}),(0,_.jsx)(xn,{children:(0,_.jsx)(hn.b,{})})]});wn.propTypes={isAmp:xt.bool};const jn=wn;var On=n(28812),Sn=n(74888),Cn=n(74995);const En={Newsletters:ze.kWN,Podcasts:ze.EqN},In=({menu:e,className:t})=>{const n=e.map(e=>({as:"a",href:e.path,title:e.title,size:"small",fixedWidth:140,isCentered:!0,hideChevron:!0,icon:En[e.title],onClick:t=>{t.preventDefault(),(0,p.D_)({temp_link_text:e.title}),(0,Cn.V)(e.path)}}));return(0,_.jsx)(Sn.A,{items:n,alignLeft:!0,className:_e()(t,Z.GI)})},Pn=["className"];function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function An(e){for(var t=1;t{var t;let{className:n}=e,r=(0,nt.A)(e,Pn);const o=null!==(t=r.menu&&r.menu.filter(e=>e.path&&e.title).slice(0,2))&&void 0!==t?t:[];return 0===o.length?null:(0,_.jsx)(On.A,{className:n,children:(0,_.jsx)(In,An(An({},r),{},{menu:o}))})},Dn=(0,b.styled)(Tn).withConfig({componentId:"sc-1stxgzm-0"})(["padding:","px;border-bottom:1px solid ",";background:",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.canvas.base),_n=["forceOpen"];function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Mn(e){for(var t=1;t{var f;const g=h===a.mv,b=(e=>null==e?void 0:e.map(([e,t,n,r])=>({title:"string"==typeof e?e:"",path:"string"==typeof t?t:"",active:!!r,children:Array.isArray(n)?n.map(e=>{const[n,r]=e;return{title:"string"==typeof n?n:"",path:"string"==typeof r?r.startsWith("https:")||r.startsWith("/")?r:`${"string"==typeof t?t:""}/${r}`:""}}):void 0})))(m);return(0,_.jsxs)(yt,{id:J.OXP,children:[(0,_.jsxs)($e,{onClick:p,id:J.BwG,children:[(0,_.jsx)(mt,{}),d]}),(0,_.jsx)(vt,{className:Z.Cb,changeText:l,domain:h,isHeader:!1,locale:u,serverEnv:t,id:"drawer-edition-switcher",newEditions:s}),!g&&(0,_.jsx)(et,{replaceSubscribeWithSupport:r,isUSSubscriberOrigin:i,supportButtonCopy:o}),i&&(0,_.jsx)(jn,{}),(0,_.jsx)(pn,{}),(null!==(f=null==n?void 0:n.length)&&void 0!==f?f:0)>0&&(0,_.jsx)(Dn,{menu:n}),(null==b?void 0:b.length)>0&&(0,_.jsx)(sn,{andMore:c,domain:h,menu:b,originalUrl:e}),!g&&(0,_.jsx)(gt,{children:(0,_.jsxs)(ft,{href:"https://www.indy100.com",children:[(0,_.jsx)(pt,{}),(0,_.jsx)(ht,{}),(0,_.jsx)(bt,{})]})})]})},zn=e=>{let{forceOpen:t}=e,n=(0,nt.A)(e,_n);return(0,_.jsx)(Q.A.Consumer,{children:({defaultState:{drawerMenuOpen:e},dispatchers:{closeDrawerMenu:r}})=>(0,_.jsx)(Y,{className:Z.TP,isHidden:!t&&!e,returnFocus:`#${J.BIZ}`,onBackgroundClick:r,Wrapper:"div",children:(0,_.jsx)(Ln,Mn({closeDrawerMenu:r},n))})})};var Rn=n(50861),$n=n(18865),Bn=n(7021),Fn=n(8963),Vn=n(86107),Hn=n(14197),qn=n(32741),Wn=n(63149),Un=n(33487);const Gn=({src:e,alt:t,className:n})=>(0,_.jsx)(Zn,{className:n,children:(0,_.jsx)(Un.A,{src:e,alt:t,width:134,height:134,layout:"responsive"})}),Kn=b.styled.aside.withConfig({componentId:"sc-y4bm30-0"})(["display:flex;width:100%;box-sizing:border-box;margin:0 0 ","px;border:1px solid ",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light),Yn=b.styled.div.withConfig({componentId:"sc-y4bm30-1"})(["box-sizing:border-box;flex:1;padding:","px ","px ","px ","px;@media ","{padding-bottom:","px;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,x.QK,({theme:e})=>e.spacing.x1),Zn=b.styled.div.withConfig({componentId:"sc-y4bm30-2"})(["width:135px;img{object-fit:cover;}@media ","{display:none;}"],x.wG),Jn=b.styled.div.withConfig({componentId:"sc-y4bm30-3"})([""]),Qn=b.styled.div.withConfig({componentId:"sc-y4bm30-4"})(["display:flex;align-items:center;gap:28px;"]),Xn=b.styled.h3.withConfig({componentId:"sc-y4bm30-5"})(["margin:0;color:",";"],({theme:e})=>e.color.ink.base),er=(0,b.styled)(Xn).withConfig({componentId:"sc-y4bm30-6"})(["display:none;",";@media ","{display:block;}"],({theme:e})=>e.textStyle.nscTitle.small,x.QK),tr=(0,b.styled)(Xn).withConfig({componentId:"sc-y4bm30-7"})(["",";@media ","{display:none;}"],({theme:e})=>e.textStyle.nscTitle.large,x.QK),nr=(0,b.styled)(Xn).withConfig({componentId:"sc-y4bm30-8"})(["display:none;",";"],({theme:e})=>e.textStyle.nscTitle.large),rr=(0,b.styled)(Gn).withConfig({componentId:"sc-y4bm30-9"})(["display:none;"]),or=(0,b.styled)(qn.Ay).withConfig({componentId:"sc-y4bm30-10"})(["align-self:flex-start;margin-left:auto;"]),ir=(0,b.styled)(Hn.lV).withConfig({componentId:"sc-y4bm30-11"})(["display:flex;gap:","px;margin-top:","px;"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x0_5),sr=(0,b.styled)(Hn.ks).withConfig({componentId:"sc-y4bm30-12"})(["--input-height:38px;width:100%;margin:0;label,label + span{","}"],Wn.Qg),ar=(0,b.styled)(X.Ay).withConfig({componentId:"sc-y4bm30-13"})(["height:38px;margin:","px 0 ","px;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2),cr=(0,b.styled)(Hn.Sc).withConfig({componentId:"sc-y4bm30-14"})(["--color:",";--check-border-color:",";"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.color.divider.brandBold),lr=b.styled.p.withConfig({componentId:"sc-y4bm30-15"})(["margin-block:0;",";"],({theme:e})=>e.textStyle.terms.xSmall),dr=b.styled.div.withConfig({componentId:"sc-y4bm30-16"})(["display:flex;justify-content:center;"]),ur=b.styled.div.withConfig({componentId:"sc-y4bm30-17"})(["color:",";"],({theme:e})=>e.color.semiotic.error),pr=b.styled.h2.withConfig({componentId:"sc-y4bm30-18"})(["margin:10px 0 28px;color:",";text-align:center;",";@media ","{margin:0;}"],({theme:e})=>e.color.ink.light,({theme:e})=>e.textStyle.subscriberOffer.base,x.QK),hr=({title:e,mobileTitle:t=e,lengthenedMobileTitle:n=t,showTitle:r,className:o,isClimate:i=!1})=>(0,_.jsxs)(Qn,{className:o,children:[r&&(0,_.jsxs)("div",{"data-nosnippet":"",children:[(0,_.jsx)(er,{children:e}),(0,_.jsx)(nr,{children:n}),(0,_.jsx)(tr,{children:t})]}),(0,_.jsx)(Ne.MT,{theme:i?"climate":void 0,children:(0,_.jsx)(or,{})})]}),mr=({type:e,children:t})=>{const n="success"===e?dr:ur;return(0,_.jsx)(n,{children:t})};var fr=n(27738),gr=n(93840),br=n(1917);const vr=()=>{const[e,t]=(0,R.useState)("base");return(0,R.useEffect)(()=>{const e=window.matchMedia(`(min-width: ${br.tabletS}px)`),n=()=>{t(e.matches?"small":"base")};return n(),e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e};var yr=n(55167),xr=n(92389),wr=n(51547),jr=n(30199),Or=n(65045);function Sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t{const[r,o]=(0,R.useState)(""),{methods:i,registerControlledInput:s}=(0,yr.G1)(xr.u0),{formState:a,handleSubmit:c,getFieldErrors:l}=i,d=a.isValid&&!a.isSubmitting;return(0,R.useEffect)(()=>{(0,Or.g)(wr.wU).then(e=>o(e)).catch(()=>{})},[]),(0,R.useEffect)(()=>{const e=l();n(e)},[l,n]),(0,_.jsx)(Hn.Op,Cr(Cr({},i),{},{children:(0,_.jsxs)(ir,{id:J.Svd,onSubmit:c(n=>{const o=n;o.optIn=e,o[jr.QK]=r,t(o)}),children:[(0,_.jsx)(sr,Cr({placeholder:"Email",type:"email",label:"Email"},s(J.bxk))),(0,_.jsx)(ar,{type:"submit",disabled:!d,children:"SIGN UP"})]})}))},Ir=({isLoggedIn:e,onSubmit:t,submitError:n,newsletterKey:r})=>{const[o,i]=(0,Fn.e)(),[s,a]=(0,Fn.e)(),c=vr(),{profile:l,isAuthenticated:d}=(0,Le.A)(),u=(null==l?void 0:l.userStatus)===Xe.H.PREMIUM,p=(null==l?void 0:l.userStatus)===Xe.H.AD_FREE,h=(null==l?void 0:l.userStatus)===Xe.H.REGISTERED,m=(null==l?void 0:l.userStatus)===Xe.H.MEMBER,f=r===$n.k_.INSIDE_FOOTBALL,g=(m||p||h||!d)&&f,b=e&&!f||f&&u||g;return(0,_.jsxs)(_.Fragment,{children:[b&&(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(ar,{size:X.Zz,onClick:()=>{g?(0,Cn.V)(Bn.n5):t({optIn:o})},children:g?"TRY 1 MONTH FOR FREE":"SIGN UP"})}),!e&&!f&&(0,_.jsx)(Er,{isOptedIn:o,onSubmit:t,handleInputError:e=>{(s&&!e.length||!s&&e.length)&&a()}}),(0,_.jsx)(cr,{className:_e()(n||s?"error":""),controlled:!1,size:c,isCosy:!0,id:J.Tc3,name:"IND_Marketing_CDP",checked:o,onChange:()=>i(),label:(0,_.jsxs)(lr,{children:["I would like to be emailed about offers, events and updates from The Independent. Read our"," ",(0,_.jsx)(fr.A,{href:gr.RS,className:Z.CY,children:"Privacy notice"})]})})]})};function Pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t{const[o,i]=(0,R.useState)(!1),{isAuthenticated:s,profile:a}=(0,Le.A)(),[c,l]=(0,Fn.e)(),[d,u]=(0,Fn.e)(),[p,h]=(0,R.useState)(null);(0,R.useEffect)(()=>{i(!0)},[]);const m=!!a&&a.userStatus===Xe.H.PREMIUM,f=!!a&&a.userStatus===Xe.H.MEMBER;(0,R.useEffect)(()=>{o&&s&&m&&t&&e.newsletterKey&&fetch(`${Bn.Ig}?newsletterKey=${e.newsletterKey}&__amp_source_origin=${encodeURIComponent(window.location.origin)}`).then(e=>e.json()).then(({subscribed:e})=>{h(e)}).catch(()=>{})},[o,s,m,e.newsletterKey,t]);const{handleSubscribe:g,handleAnonSubmit:b}=(0,Vn.A)({},s,()=>{d&&u(),l()},()=>{c&&l(),u()}),v=(p||f)&&!!t?t:e,{title:y,lengthenedMobileTitle:x,mobileTitle:w,imageSrc:j,newsletterKey:O,regSourceNewsletter:S,regTitle:C}=v;return O&&j?(0,_.jsxs)(Kn,{className:_e()(Z.Rf,n),"data-newsletter-key":O,children:[(0,_.jsx)(Gn,{src:j,alt:C}),(0,_.jsxs)(Yn,{children:[(0,_.jsxs)(Jn,{children:[(0,_.jsx)(hr,{title:y,mobileTitle:w,lengthenedMobileTitle:x,showTitle:!c,isClimate:r}),!c&&(0,_.jsx)(rr,{src:j,alt:C})]}),c?(0,_.jsx)(mr,{type:"success",children:(0,_.jsxs)(pr,{children:["Thanks for signing up to the",(0,_.jsx)("br",{})," ",C," email"]})}):(0,_.jsx)(Ir,{isLoggedIn:s,onSubmit:e=>{if(O)if(s){const t=e.optIn?[O,$n.k_.MARKETING_COMMUNICATIONS]:[O];t&&g(t)}else b([O],kr(kr({},e),{},{regSourceNewsletter:S}))},submitError:d,newsletterKey:O}),d&&(0,_.jsx)(mr,{type:"error",children:Rn.G2})]})]}):null};var Tr=n(40154),Dr=(n(50041),n(84866),n(24370),n(37844)),_r=(n(59021),n(40417),n(34443)),Nr=n(69889),Mr=n(74075),Lr=n(4120),zr=n(9969),Rr=n(20283),$r=(n(87432),n(25886)),Br=n(7355),Fr=n(6152),Vr=Object.defineProperty,Hr=(e,t)=>Vr(e,"name",{value:t,configurable:!0});const qr="supportNsc",Wr=Hr(e=>t=>(0,Fr.h)({onInteract:e,event:t}),"dropdownTriggerHandler"),Ur=b.styled.aside.withConfig({componentId:"sc-hez36s-0"})(["overflow:hidden;width:100%;box-sizing:border-box;margin-bottom:","px;@media ","{max-width:634px;}@media ","{max-width:622px;}"],({theme:e})=>e.spacing.x2,Mr.t,Mr.a),Gr=b.styled.div.withConfig({componentId:"sc-hez36s-1"})(["width:100%;box-sizing:border-box;padding:","px ","px ","px;border-top:8px solid ",";background-color:",";@media ","{padding-top:","px;padding-bottom:","px;}"],({theme:e,$isOpen:t})=>t?e.spacing.x2:e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e,$isOpen:t})=>t?e.spacing.x2:e.spacing.x1_5,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.canvas.brand,Mr.t,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1_5),Kr=b.styled.h3.withConfig({componentId:"sc-hez36s-2"})(["margin:0 0 ","px;text-align:center;",";@media ","{margin-bottom:","px;text-align:left;",";}"],({theme:e,$isOpen:t})=>t?e.spacing.x1:e.spacing.x1_5,({theme:e})=>e.textStyle.titlePrimary.xxSmall,Mr.t,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.titlePrimary.xSmall),Yr=(0,b.styled)(Lr.D).withConfig({componentId:"sc-hez36s-3"})(["display:block;margin-bottom:","px;@media ","{display:none;}"],({theme:e,isOpen:t})=>t?e.spacing.x1_5:0,Mr.t),Zr=b.styled.button.withConfig({componentId:"sc-hez36s-4"})(["display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;gap:","px;background-color:",";color:",";@media ","{width:auto;justify-content:flex-start;}"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.canvas.brand,({theme:e})=>e.color.actionBrand.base,Mr.t),Jr=b.styled.span.withConfig({componentId:"sc-hez36s-5"})(["display:block;margin-block:0;text-align:center;",";"],({theme:e})=>e.textStyle.link.small),Qr=b.styled.span.withConfig({componentId:"sc-hez36s-6"})(["display:inline-flex;align-items:center;justify-content:center;gap:","px;&:hover ",",&:hover ","{color:",";}"],({theme:e})=>e.spacing.x0_5,Jr,Rr.C,({theme:e})=>e.color.actionBrand.alt),Xr=b.styled.div.withConfig({componentId:"sc-hez36s-7"})(["",";"],({theme:e})=>e.textStyle.bodySecondary.small),eo=b.styled.div.withConfig({componentId:"sc-hez36s-8"})(["display:flex;width:100%;flex-direction:column;@media ","{display:flow-root;gap:","px;transition:margin-bottom 0.3s ease-in-out;}"],Mr.t,({theme:e})=>e.spacing.x3),to=b.styled.div.withConfig({componentId:"sc-hez36s-9"})(["display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;@media ","{position:relative;z-index:1;width:212px;flex-shrink:0;justify-content:flex-start;margin-left:","px;float:right;}"],Mr.t,({theme:e})=>e.spacing.x3),no=b.styled.div.withConfig({componentId:"sc-hez36s-10"})(["display:none;flex-direction:row;align-items:center;justify-content:center;gap:","px;margin-top:","px;@media ","{display:flex;margin-top:","px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,Mr.t,({theme:e})=>e.spacing.x1_5),ro=b.styled.div.withConfig({componentId:"sc-hez36s-11"})(["display:flex;width:100%;align-items:center;justify-content:center;gap:","px;margin-top:","px;margin-bottom:","px;@media ","{display:none;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,Mr.t),oo=b.styled.div.withConfig({componentId:"sc-hez36s-12"})(["display:flex;overflow:hidden;height:",";flex-direction:column;gap:","px;opacity:",";transition:all 0.3s ease-in-out;@media ","{display:",";position:relative;width:auto;height:",";order:-1;opacity:1;transition-behavior:allow-discrete;&::after{--fade-from:",";--fade-to:",";position:absolute;bottom:0;left:0;z-index:1;width:100%;height:2lh;background-image:linear-gradient( to bottom,var(--fade-from),var(--fade-to) );content:'';opacity:",";transition:opacity ",";}}"],({$isOpen:e})=>!e&&"0px",({theme:e})=>e.spacing.x1,({$isOpen:e})=>e?1:0,Mr.t,({$isOpen:e})=>e?"inline":"flex",({$isOpen:e,$height:t})=>e?`${t}px`:"2lh",({theme:e})=>(0,Br.a)(e.color.canvas.brand,0),({theme:e})=>e.color.canvas.brand,({$isOpen:e})=>e?0:1,({theme:e})=>e.transition.base),io=b.styled.div.withConfig({componentId:"sc-hez36s-13"})(["@media ","{order:-1;}"],Mr.t),so=Hr(({isOpen:e,copy:t,className:n,testId:r,onInteract:o})=>(0,_.jsx)(Zr,{className:n,onKeyDown:Wr(o),children:(0,_.jsxs)(Qr,{"data-testid":r,onClick:o,children:[(0,_.jsx)(Jr,{children:t}),(0,_.jsx)(Rr.C,{svg:Nr.a,size:zr.c,$isOpen:e})]})}),"DropdownTrigger"),ao=(0,b.styled)(so).withConfig({componentId:"sc-hez36s-14"})(["display:none;padding-top:","px;margin-top:","px;border-top:1px solid ",";@media ","{display:flex;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.dark,Mr.m);(0,b.styled)(so).withConfig({componentId:"sc-hez36s-15"})(["display:none;@media ","{display:flex;position:relative;align-items:flex-start;margin-top:","px;}"],Mr.t,({theme:e})=>e.spacing.x1_5);const co=(0,b.styled)($r.D).withConfig({componentId:"sc-hez36s-16"})(["& ","{&::after{--fade-from:",";--fade-mid:",";--fade-to:",";}& ","{","}}"],Rr.c,({theme:e})=>(0,Br.a)(e.color.canvas.brand,0),({theme:e})=>(0,Br.a)(e.color.canvas.brand,.5),({theme:e})=>e.color.canvas.brand,Rr.R,({$parent:e})=>e===qr&&`\n @media ${Mr.c} {\n display: none;\n }\n `),lo=Hr(({title:e,collapsedContent:t,link:n,icons:r,className:o})=>{const[i,s]=(0,R.useState)(!1),[a,c]=(0,R.useState)(!1),{collapsibleContentHeight:l,collapsibleContentContainerRef:d}=(0,_r.u)();return(0,R.useEffect)(()=>{const e=window.matchMedia("(max-width: 360px)"),t=Hr(()=>c(e.matches),"handleResize");return t(),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),(0,_.jsx)(Ur,{children:(0,_.jsxs)(Gr,{$isOpen:i,children:[e&&(0,_.jsx)(Kr,{"data-testid":"support-nsc-title",$isOpen:i,children:e}),(0,_.jsxs)(eo,{children:[(0,_.jsx)(Yr,{isOpen:!i,trigger:"",children:(0,_.jsx)(so,{isOpen:i,onInteract:Hr(()=>s(!0),"onInteract"),copy:"Read more",testId:"support-nsc-dropdown-mobile-closed"})}),n&&(0,_.jsxs)(to,{children:[(0,_.jsx)(X.Ay,{size:Tr.b,as:Tr.a,href:null==n?void 0:n.url,"data-testid":"support-nsc-link",onClick:null!=n&&n.trackingCallback?e=>{var t;return null==n||null===(t=n.trackingCallback)||void 0===t?void 0:t.call(n,e,{url:null==n?void 0:n.url,copy:null==n?void 0:n.copy})}:void 0,children:null==n?void 0:n.copy}),r&&(0,_.jsx)(no,{children:r})]}),(0,_.jsx)(io,{children:a?(0,_.jsx)(oo,{$isOpen:i,$height:l,children:(0,_.jsxs)("div",{ref:d,children:[r&&(0,_.jsx)(ro,{children:r}),t&&(0,_.jsx)(Xr,{"data-testid":"support-nsc-collapsed-content-mobile",children:t}),(0,_.jsx)(ao,{isOpen:i,onInteract:Hr(()=>s(!1),"onInteract"),copy:"Close",testId:"support-nsc-dropdown-mobile-open"})]})}):(0,_.jsx)(co,{isOpen:i,setIsOpen:s,collapsedContent:(0,_.jsxs)("div",{ref:d,children:[r&&(0,_.jsx)(ro,{children:r}),t&&(0,_.jsx)(Xr,{"data-testid":"support-nsc-collapsed-content-tablet",children:t})]}),$parent:qr,className:o})})]})]})})},"SupportNSC");var uo=n(98933),po=n(64542);const ho=b.styled.p.withConfig({componentId:"sc-1uza6dc-0"})(["margin:0 0 ","px;",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.textStyle.bodySecondary.small),mo=b.styled.strong.withConfig({componentId:"sc-1uza6dc-1"})(["",";"],({theme:e})=>e.textStyle.dropdownWithGradientSummary.base),fo=(_.Fragment,_.Fragment,_.Fragment,(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(ho,{children:"From reproductive rights to climate change to Big Tech, The Independent is on the ground when the story is developing. Whether it's investigating the financials of Elon Musk's pro-Trump PAC or producing our latest documentary, 'The A Word', which shines a light on the American women fighting for reproductive rights, we know how important it is to parse out the facts from the messaging."}),(0,_.jsx)(ho,{children:"At such a critical moment in US history, we need reporters on the ground. Your donation allows us to keep sending journalists to speak to both sides of the story."}),(0,_.jsx)(ho,{children:"The Independent is trusted by Americans across the entire political spectrum. And unlike many other quality news outlets, we choose not to lock Americans out of our reporting and analysis with paywalls. We believe quality journalism should be available to everyone, paid for by those who can afford it."}),(0,_.jsx)(mo,{children:"Your support makes all the difference."})]})),go=()=>(0,_.jsx)(lo,{title:"Your support helps us to tell the story",collapsedContent:fo,link:{copy:"Support Now",url:(0,uo.g8)({[f.cN]:Me.D9}),trackingCallback:()=>{po.J4.storeCurrentURL(),(0,p.S1)()}},icons:(0,_.jsx)(hn.A,{})});var bo=n(10023),vo=n(76287),yo=n(34744),xo=n(15808);const wo="--booking-widget-min-height",jo=b.styled.div.withConfig({componentId:"sc-1d4hy2c-0"})(["--cols:1;--gap:","px;--item-count:",";--item-height:136px;--rows-count:round(up,calc(var(--item-count) / var(--cols)));--items-height:calc(var(--item-height) * var(--rows-count));--gaps-height:calc(var(--gap) * (var(--rows-count) - 1));",":calc(var(--items-height) + var(--gaps-height));min-height:var(",");@media ","{--cols:2;}@media ","{--gap:","px;}"],({theme:e})=>e.spacing.x1_5,({$itemCount:e})=>e,wo,wo,x.n5,x.BY,({theme:e})=>e.spacing.x2),Oo=b.styled.ul.withConfig({componentId:"sc-1d4hy2c-1"})(["display:grid;gap:var(--gap);grid-template-columns:repeat(var(--cols),1fr);padding:0;margin:0;list-style:none;li{height:var(--item-height);}"]);var So=n(60050);const Co=b.styled.div.withConfig({componentId:"sc-fuz39a-0"})(["width:89px;height:100%;flex:0 0 auto;@media ","{width:134px;}img{width:100%;height:100%;aspect-ratio:1 / 1;object-fit:cover;}"],x.BY),Eo=b.styled.div.withConfig({componentId:"sc-fuz39a-1"})(["display:flex;height:100%;box-sizing:border-box;flex:1 1 100%;flex-direction:column;gap:","px;padding-block:","px;"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1),Io=b.styled.div.withConfig({componentId:"sc-fuz39a-2"})(["width:100%;span{display:block;color:",";transition:color ",";",";}"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.transition.base,({theme:e})=>e.textStyle.bookingCard.base),Po=b.styled.h4.withConfig({componentId:"sc-fuz39a-3"})(["margin:0;",";",""],({theme:e})=>e.textStyle.storyCardTitle.medium,(0,So.tl)(2,!0)),ko=b.styled.p.withConfig({componentId:"sc-fuz39a-4"})(["margin:auto 0 0 0;color:",";",";strong{",";}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.bookingCard.small,({theme:e})=>e.textStyle.bookingCard.large),Ao=b.styled.small.withConfig({componentId:"sc-fuz39a-5"})(["display:block;color:",";",";"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.bookingCard.xSmall),To=b.styled.div.withConfig({componentId:"sc-fuz39a-6"})(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;padding:","px;background-color:",";transition:background ",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.transition.base),Do=(0,b.styled)(y.Ay).attrs({size:"base",svg:ze.Dkf}).withConfig({componentId:"sc-fuz39a-7"})([""]),_o=b.styled.a.withConfig({componentId:"sc-fuz39a-8"})(["display:flex;height:100%;box-sizing:border-box;gap:","px;border:1px solid ",";color:",";text-decoration:none;&:hover,&:active,&:focus{","{color:",";}","{background-color:",";color:",";}}&:focus-visible{outline-offset:4px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.ink.base,Io,({theme:e})=>e.color.actionBrand.alt,To,({theme:e})=>e.color.actionTransparent.alt,({theme:e})=>e.color.canvas.secondary),No=({href:e,name:t,img:n,city:r,price:o})=>(0,_.jsxs)(_o,{href:e,children:[(0,_.jsx)(Co,{children:n}),(0,_.jsxs)(Eo,{children:[(0,_.jsxs)(Io,{children:[!!r&&(0,_.jsx)("span",{children:r}),(0,_.jsx)(Po,{children:t})]}),(0,_.jsxs)(ko,{children:[o?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("strong",{children:o})," per night"]}):xo.ot,(0,_.jsx)(Ao,{children:"Rates provided by Booking.com"})]})]}),(0,_.jsx)(To,{children:(0,_.jsx)(Do,{})})]}),Mo=e=>[!1,!0,[]];function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zo(e){for(var t=1;t{const[r,o,i]=Mo({hotels:e,currency:t,sectionName:n}),s=i.length||e.length;return(0,_.jsx)(jo,{$itemCount:s,children:(0,_.jsx)(vo.A,{isLoading:r,isError:o||s<1,error:(0,_.jsx)(vo.$,{message:xo.e,link:Bn.R5,linkCopy:"Click to view our hotel reviews"}),minHeight:wo,children:(0,_.jsx)(Oo,{children:i.map(({id:e,price:t,img:n,url:r,name:o,city:i})=>{const s=(0,yo.t)(r)?{target:"_blank",rel:"noreferrer nofollow"}:{};return(0,_.jsx)("li",{children:(0,_.jsx)(No,zo(zo({href:r},s),{},{price:t,name:o,city:i,img:(0,_.jsx)(Un.A,{src:n,alt:o,width:134,height:134})}))},e)})})})})};var $o=n(5203),Bo=(n(60824),n(66617)),Fo=(n(94837),n(41737));function Vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ho(e){for(var t=1;t{const t=parseInt(e.duration),n=Math.floor(t/3600),r=Math.floor((t-3600*n)/60),o=t-60*r-3600*n,i=r<10?"0":"",s=o<10?"0":"";return 0===n?[`${i}${r}`,`${s}${o}`]:[`${n<10?"0":""}${n}`,`${i}${r}`,`${s}${o}`]},Wo=e=>qo(e).join(":"),Uo=(e,t)=>!(!e||!e.sponsorPrefix)||!(!t||!t.commercialBadgeTerm),Go=wt().shape({type:wt().oneOf(["article"]).isRequired,id:wt().string.isRequired,title:wt().string,titleShort:wt().string,titleSocial:wt().string,titleSEO:wt().string,path:wt().string.isRequired,sections:wt().array,hero:wt().array}),Ko=wt().shape({type:wt().oneOf(["image"]).isRequired,data:wt().shape({title:wt().string,description:wt().string,url:wt().string}),width:wt().number,height:wt().number}),Yo=wt().shape({name:wt().string.isRequired,url:wt().string}),Zo=wt().shape({type:wt().oneOf(["VideoHubPlaylist"]),commercialBadgeTerm:Yo,commercialBadgeImage:Ko,commercialBadgeLink:wt().string,articles:wt().arrayOf(Go)}),Jo=wt().shape({image:Ko,link:wt().string,term:Yo}).isRequired;var Qo=n(42900);function Xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}const ei=(e,t)=>{var n;return!(null===(n=(e=>{var t;return null==e||null===(t=e.split(".").slice(-1))||void 0===t?void 0:t[0]})(e))||void 0===n||!n.match(new RegExp(t,"i")))},ti=(e,t)=>(0,Fo.m$)(e,(0,Fo.e5)(function(e){for(var t=1;t{const r=ti(e,t);return r?n?[`${r} ${n}`]:[r]:[]},ri=(0,b.styled)(Un.A).withConfig({componentId:"sc-6i1c8u-0"})(["display:block;"]),oi=b.styled.a.withConfig({componentId:"sc-6i1c8u-1"})(["max-width:100px;max-height:32px;"]),ii=b.styled.a.attrs(({href:e})=>({as:e?"a":"span"})).withConfig({componentId:"sc-6i1c8u-2"})(["font-weight:bold;letter-spacing:2.5px;"]),si=(0,b.styled)(ii).withConfig({componentId:"sc-6i1c8u-3"})(["color:",";"],({theme:e})=>e.color.ink.invert),ai=b.styled.div.withConfig({componentId:"sc-6i1c8u-4"})(["display:flex;align-items:center;gap:","px;margin-top:","px;margin-left:auto;font-size:14px;text-transform:uppercase;@media ","{justify-content:space-between;margin-top:0;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x0_5,x.n5),ci=(0,b.styled)(ai).withConfig({componentId:"sc-6i1c8u-5"})(["flex-wrap:wrap;row-gap:","px;column-gap:","px;margin-top:0;margin-bottom:","px;@media ","{position:absolute;top:0;right:0;flex-direction:column;flex-wrap:nowrap;align-items:end;gap:","px;margin:3px 0 0;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,x.n5,({theme:e})=>e.spacing.x1),li=({image:e})=>{var t,n;if(null==e||null===(t=e.data)||void 0===t||!t.url)return null;const r=ti(e.data.url,{height:32}),o=[...ni(e.data.url,{height:64},"2x"),...ni(e.data.url,{height:96},"3x")].join(",");return(0,_.jsx)(ri,{src:r,srcset:o,alt:(null==e||null===(n=e.data)||void 0===n?void 0:n.alt)||void 0,height:32})},di=({image:e,link:t})=>(0,_.jsx)(oi,{href:t,children:(0,_.jsx)(li,{image:e})}),ui=({className:e,term:t,image:n,link:r,isHero:o})=>{const i=o?si:ii,s=o?ci:ai;return(0,_.jsxs)(s,{className:(0,Qo.u)(e,"sponsor"),children:[(0,_.jsx)(i,{href:t.url,children:t.name}),n&&(0,_.jsx)(di,{image:n,link:r})]})},pi=({commercialBadge:e,isHero:t})=>{const{image:n,link:r,term:o}=e;return o?(0,_.jsx)(ui,{term:o,image:n,link:r,isHero:t}):null};pi.propTypes={commercialBadge:Jo,isHero:xt.bool};const hi=pi,mi=({path:e,playlistName:t})=>(0,_.jsx)("h3",{children:(0,_.jsx)("a",{href:e,children:t})});mi.propTypes={path:xt.string,playlistName:xt.string};const fi=mi,gi=b.styled.p.withConfig({componentId:"sc-cy5s1t-0"})(["",""],({theme:e})=>e.textStyle.bodySecondary.xSmall),bi=(0,b.styled)(gi).withConfig({componentId:"sc-cy5s1t-1"})([""]),vi=(0,b.styled)(gi).withConfig({componentId:"sc-cy5s1t-2"})([""]),yi=({video:e,isUpNext:t,hasMoreBtn:n,hasPlaylistSponsor:r})=>{if(!e)return null;const o=e.article,i=(null==o?void 0:o.titleShort)||e.title,s=e.smallImage||e.image&&(a=e.image,(0,Fo.Q$)(a,{width:320}))||(0,Fo.m$)(e.heroImage.url,(0,Fo.e5)({width:320}));var a;return(0,_.jsxs)("a",{className:t?"upNextVideo":"videoThumbnail",href:e.path,children:[(0,_.jsxs)("div",{className:"thumb",children:[(0,_.jsx)(Un.A,{src:s,layout:"responsive",width:16,height:9,alt:i,loading:"lazy"}),(0,_.jsx)(bi,{className:"duration",children:Wo(e)})]}),(0,_.jsxs)("div",{className:"thumbinfo",children:[e.sponsored&&!r&&(0,_.jsx)(vi,{className:"sponsored",children:"Sponsored"}),t?(0,_.jsx)("h2",{children:i}):(0,_.jsx)("h3",{className:n?"withMoreBtn":"",children:i})]})]})};yi.propTypes={video:xt.object,isUpNext:xt.bool,hasMoreBtn:xt.bool,hasPlaylistSponsor:xt.bool};const xi=yi;var wi,ji=n(67864);function Oi(){return Oi=Object.assign?Object.assign.bind():function(e){for(var t=1;tR.createElement("svg",Oi({xmlns:"http://www.w3.org/2000/svg",id:"d7f520eaa5bbc14c",viewBox:"0 0 32 32"},e),wi||(wi=R.createElement("path",{fill:"currentColor",d:"m12.94 8-1.88 1.88 6.1 6.12-6.1 6.12L12.94 24l8-8z"}))),Ci=y.Ay.default||y.Ay,Ei=(0,b.styled)(Ci).attrs({svg:Si,size:"large"}).withConfig({componentId:"sc-xncb3d-0"})([""]),Ii=(0,b.styled)(Ci).attrs({svg:ji.A,size:"large"}).withConfig({componentId:"sc-xncb3d-1"})([""]),Pi=b.styled.button.withConfig({componentId:"sc-xncb3d-2"})(["--button-size:44px;display:inline-flex;width:var(--button-size);height:var(--button-size);align-items:center;justify-content:center;"]),ki=(0,b.styled)(Pi).withConfig({componentId:"sc-xncb3d-3"})(["color:",";"],e=>e.theme.color.actionBrand.disabled),Ai=b.styled.div.withConfig({componentId:"sc-xncb3d-4"})(["display:none;margin-left:","px;@media ","{display:block;}"],e=>e.theme.spacing.x3,x.n5),Ti=({sectionPath:e,playlistName:t,playlist:n,tvMoreText:r})=>{const o=((e,t)=>e.reduce((e,n,r)=>{let o=Math.floor(r/t);return(e[o]||(e[o]=[])).push(n),e},[]))(n.articles.map(e=>((e,t)=>{var n,r,o,i;return Ho(Ho({},null===(n=e.hero)||void 0===n||null===(n=n.find(({type:e})=>e===Bo.gy))||void 0===n?void 0:n.data.extra),{},{path:e.path,author:(null===(r=e.authors)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.name)||"",authorPath:(null===(o=e.authors)||void 0===o||null===(o=o[0])||void 0===o?void 0:o.path)||"",updated:e.updated,article:e,heroImage:null===(i=e.hero)||void 0===i||null===(i=i.find(({type:e})=>e===Bo.W1))||void 0===i?void 0:i.data,sponsored:Uo(e,t)})})(e)),4),[i,s]=(0,R.useState)(0),a=e=>{const t=i+e;t>=0&&ta(1),l={image:n.commercialBadgeImage,link:n.commercialBadgeLink,term:n.commercialBadgeTerm};return(0,_.jsxs)("section",{className:"playlistSlabAndTitle",children:[(0,_.jsxs)("div",{className:"titlePanel",children:[(0,_.jsx)(fi,{path:e,playlistName:t}),(0,_.jsx)(hi,{commercialBadge:l}),o.length>1&&(0,_.jsxs)(Ai,{children:[(0,_.jsx)(_i,{prevPage:()=>a(-1),currentIndex:i,totalVideoPages:o.length}),(0,_.jsx)(Ni,{nextPage:c,currentIndex:i,totalVideoPages:o.length})]})]}),(0,_.jsx)("div",{className:"playlistSlabs",children:o.map((e,n)=>(0,_.jsxs)(Di,{currentIndex:i,pageIndex:n,children:[e.map((t,n)=>(0,_.jsx)(xi,{video:t,hasMoreBtn:n===e.length-1,hasPlaylistSponsor:!!l.term},`videoThumbnail${n}`)),(0,_.jsx)("div",{className:"moreHolder",children:(0,_.jsx)(Mi,{currentIndex:i,nextPage:c,pageIndex:n,totalVideoPages:o.length,playlistName:t,tvMoreText:r})})]},`videoPage${n}`))})]})},Di=({currentIndex:e,pageIndex:t,children:n})=>(0,_.jsx)("div",{className:De("playlistSlab",0===e&&e!==t?"hide":e!==t?"mshow":"show"),children:n}),_i=({prevPage:e,currentIndex:t,totalVideoPages:n})=>{const r=0===t?ki:Pi;return 1!==n&&(0,_.jsx)(r,{onClick:e,children:(0,_.jsx)(Ii,{})})},Ni=({nextPage:e,currentIndex:t,totalVideoPages:n})=>{const r=t===n-1?ki:Pi;return 1!==n&&(0,_.jsx)(r,{onClick:e,children:(0,_.jsx)(Ei,{})})},Mi=({currentIndex:e,nextPage:t,pageIndex:n,totalVideoPages:r,playlistName:o,tvMoreText:i})=>r>1&&n0?"hide":"show"),onClick:t,children:`${i} ${o}`});Ti.propTypes={sectionPath:xt.string,playlistName:xt.string,playlist:Zo.isRequired,tvMoreText:xt.string.isRequired},Di.propTypes={currentIndex:xt.number,pageIndex:xt.number,children:xt.node},_i.propTypes={prevPage:xt.func,currentIndex:xt.number,totalVideoPages:xt.number},Ni.propTypes={nextPage:xt.func,currentIndex:xt.number,totalVideoPages:xt.number},Mi.propTypes={currentIndex:xt.number,nextPage:xt.func,pageIndex:xt.number,totalVideoPages:xt.number,playlistName:xt.string,tvMoreText:xt.string.isRequired};const Li=Ti,zi=b.styled.span.withConfig({componentId:"sc-138r6qb-0"})([""," color:",";"],({theme:e})=>e.textStyle.bodySecondary.small,({theme:e})=>e.color.semiotic.inactive),Ri=b.styled.li.withConfig({componentId:"sc-138r6qb-1"})(["text-align:center;"]),$i=b.styled.a.withConfig({componentId:"sc-138r6qb-2"})([""," color:",";text-decoration:none;"],({theme:e})=>e.textStyle.bodySecondary.small,({theme:e})=>e.color.ink.base),Bi=b.styled.ul.withConfig({componentId:"sc-138r6qb-3"})(["display:grid;grid-template-columns:repeat(7,1fr);padding:0;grid-gap:5px;list-style:none;"]),Fi=b.styled.h3.withConfig({componentId:"sc-138r6qb-4"})(["padding:16px 0;margin:0;",""],({theme:e})=>e.textStyle.titleSecondary.xSmall),Vi=b.styled.li.withConfig({componentId:"sc-138r6qb-5"})(["max-width:400px;flex-basis:100%;margin-right:3%;@media ","{flex-basis:30%;}@media ","{flex-basis:22%;}"],x.n5,x.BY),Hi=b.styled.ul.withConfig({componentId:"sc-138r6qb-6"})(["display:flex;flex-wrap:wrap;padding-left:0;margin:0 0 10px;list-style:none;"]),qi=b.styled.div.withConfig({componentId:"sc-138r6qb-7"})([""]),Wi=b.styled.section.withConfig({componentId:"sc-138r6qb-8"})(["&:first-child h2{border-top:1px solid ",";}"],({theme:e})=>e.color.divider.light),Ui=b.styled.h2.withConfig({componentId:"sc-138r6qb-9"})(["padding:18px 0;margin:0;border-top:none;border-right:none;border-bottom:1px solid ",";border-left:none;background-color:transparent;"," &:focus{outline-color:",";}&[aria-expanded='true'],[aria-expanded='true'] &{border-bottom:0;}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.textStyle.titleSecondary.xSmall,({theme:e})=>e.color.primary.base),Gi=(e,t,n,r)=>r>e.getDate()&&e.getMonth()+1===n&&e.getFullYear()===t,Ki=(e,t)=>new Date(e,t,0).getDate(),Yi=e=>String(e).padStart(2,"0"),Zi=e=>{const{archivePath:t,monthNames:n,month:r,year:o}=e,i=((e,t,n)=>{const r=[],o=n||new Date;for(let n=1;n<=Ki(t,e);n++)r.push({day:n,data:!Gi(o,t,e,n)||null});return r})(r,o.text);return(0,_.jsxs)(Vi,{children:[(0,_.jsx)(Fi,{children:n[r-1]}),(0,_.jsx)(Bi,{children:i.map((e,n)=>(0,_.jsxs)(Ri,{children:[(null==e?void 0:e.data)&&(0,_.jsx)($i,{href:`/${t}/${o.text}-${Yi(r)}-${Yi(e.day)}`,children:e.day}),e&&!e.data&&(0,_.jsx)(zi,{children:e.day})]},n))})]})};Zi.propTypes={archivePath:xt.string.isRequired,monthNames:xt.arrayOf(xt.string).isRequired,month:xt.number.isRequired,year:xt.object.isRequired};const Ji=Zi,Qi=(0,b.styled)(_t).withConfig({componentId:"sc-17e0z8i-0"})(["margin:0 20px;"]),Xi=(0,b.styled)(Ui).withConfig({componentId:"sc-17e0z8i-1"})(["cursor:pointer;.",":not(:first-child) &{border-top:0;}"],Z.P5),es=({archivePath:e,monthNames:t,years:n})=>{const r=new Date,o=r.getMonth()+1,i=r.getFullYear(),s=e=>e===i?o:12,a=n.map(n=>({trigger:(0,_.jsx)(Wi,{children:(0,_.jsx)(Xi,{href:`#${n.text}`,children:n.text},n.text)}),content:(0,_.jsx)(qi,{children:(0,_.jsx)(Hi,{children:[...Array(s(n.text)).keys()].map(e=>e+1).map(r=>(0,_.jsx)(R.Fragment,{children:(0,_.jsx)(Ji,{archivePath:e,month:r,monthNames:t,year:n})},`${n}-${r}`))})})}));return(0,_.jsx)(Qi,{name:"archive",sections:a})};es.propTypes={archivePath:xt.string.isRequired,monthNames:xt.arrayOf(xt.string).isRequired,years:xt.arrayOf(xt.shape({text:xt.number,link:xt.string})).isRequired};const ts=es;var ns=Object.defineProperty,rs=(e,t)=>ns(e,"name",{value:t,configurable:!0});const os=b.styled.div.withConfig({componentId:"sc-spn2tu-0"})(["overflow:hidden;width:100%;transition:",";@media ","{display:none;}"],({theme:e})=>e.transition.dropdown,Mr.l),is=b.styled.div.withConfig({componentId:"sc-spn2tu-1"})(["display:flex;z-index:",";width:100%;box-sizing:border-box;flex-direction:column;padding:16px var(--mobile-link-padding-x) 0;border:1px solid ",";border-top:2px solid ",";@media ","{display:block;position:absolute;left:0;column-gap:8px;padding:16px var(--item-padding-x) 0;border-top:2px solid ",";background:",";columns:","px auto;}"],({theme:e})=>e.zIndex.bestSubNavMenu,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.primary.base,Mr.l,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.color.canvas.base,({theme:e})=>e.dimension.subnav.itemMinWidth),ss=b.styled.ul.withConfig({componentId:"sc-spn2tu-2"})(["overflow:hidden;width:calc(100% - (var(--mobile-nav-gap-margin-x) x 2));padding:0;margin:0 var(--mobile-nav-gap-margin-x);list-style:none;"," @media ","{display:flex;width:auto;max-height:none;flex-wrap:wrap;padding:0 0 0 var(--item-padding-x);margin:0;}"],({theme:e})=>e.textStyle.subNavMenuPrimaryList.base,Mr.l),as=b.styled.a.withConfig({componentId:"sc-spn2tu-3"})(["display:block;padding:8px var(--mobile-link-padding-x);color:var(--color,",");"," &:hover,&:focus,&:active{color:var(--color,",");}@media ","{padding:var(--link-padding-y) calc(var(--link-padding-x) * 2) var(--link-padding-y) 0;margin:0;color:var(--color,",");&:hover,&:focus,&:active{color:var(--color,",");}}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.textStyle.subNavMenuPrimaryLink.base,({theme:e})=>e.color.actionBase.alt,Mr.l,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt),cs=b.styled.li.withConfig({componentId:"sc-spn2tu-4"})(["display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-top:1px solid ",";@media ","{display:block;padding:0;border-top:0;&:hover,&:focus,&.is-active{--color:",";","{display:block;}","{border-bottom-color:",";}}}"],({theme:e})=>e.color.divider.light,Mr.l,({theme:e})=>e.color.actionBrand.alt,os,as,({theme:e})=>e.color.actionBrand.base),ls=b.styled.div.withConfig({componentId:"sc-spn2tu-5"})(["display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between;"]),ds=(0,b.styled)(Dr.I).attrs({svg:Nr.a,size:zr.c}).withConfig({componentId:"sc-spn2tu-6"})([""]),us=b.styled.button.withConfig({componentId:"sc-spn2tu-7"})(["--mobile-gap-margin:5px;display:flex;height:","px;align-items:center;gap:10px;padding:0 calc(var(--mobile-link-padding-x) + var(--mobile-nav-gap-margin-x));color:",";"," &:hover,&:active,&:focus{color:",";}@media ","{display:none;}","{transform:",";}"],({theme:e})=>e.dimension.subnav.height,({theme:e})=>e.color.actionBase.base,({theme:e})=>e.textStyle.subNavMenuNavBtn.base,({theme:e})=>e.color.actionBase.alt,Mr.l,ds,({$isActive:e})=>e?"rotate(180deg)":"rotate(0deg)"),ps=b.styled.button.withConfig({componentId:"sc-spn2tu-8"})(["display:flex;padding:var(--mobile-link-padding-y) calc(var(--mobile-link-padding-x));@media ","{display:none;}","{transform:",";}"],Mr.l,ds,({$isActive:e})=>e?"rotate(180deg)":"rotate(0deg)"),hs=b.styled.div.withConfig({componentId:"sc-spn2tu-9"})([""," @media ","{grid-template-rows:1fr;}"],Wn.dN,Mr.l),ms=b.styled.div.withConfig({componentId:"sc-spn2tu-10"})(["width:100%;"," @media ","{grid-template-rows:1fr;}"],Wn.dN,Mr.l),fs=b.styled.nav.withConfig({componentId:"sc-spn2tu-11"})(["--mobile-nav-gap-margin-x:5px;--mobile-link-padding-y:10px;--mobile-link-padding-x:12px;display:flex;width:100%;flex-direction:column;flex-wrap:wrap;justify-content:space-between;background:",";@media ","{--item-height:","px;--divider-height:1px;--offset:-3px;--divider-position:calc(var(--item-height) + var(--offset));--linear-position-start:var(--divider-position);--linear-gradient-stop:calc( var(--divider-position) + var(--divider-height) );background:linear-gradient( to bottom,"," var(--linear-position-start),",","," var(--linear-gradient-stop) );}","{order:1;}","{order:2;}@media ","{--item-padding-x:20px;--link-padding-y:10px;--link-padding-x:12px;box-sizing:border-box;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;border-right:1px solid ",";border-left:1px solid ",";}"],({theme:e})=>e.color.canvas.secondary,Mr.l,({theme:e})=>e.dimension.subnav.height,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.canvas.secondary,us,hs,Mr.l,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.divider.light);b.styled.ul.withConfig({componentId:"sc-spn2tu-12"})(["padding:0;list-style:none;"]),b.styled.li.withConfig({componentId:"sc-spn2tu-13"})(["display:inline-flex;"]);const gs=b.styled.a.withConfig({componentId:"sc-spn2tu-14"})(["display:block;padding:0 0 16px;color:",";"," @media ","{overflow:hidden;width:","px;break-inside:avoid;text-overflow:ellipsis;white-space:nowrap;}&:hover,&:active,&:focus{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.textStyle.subNavMenuSecondaryLink.base,Mr.l,({theme:e})=>e.dimension.subnav.itemMinWidth,({theme:e})=>e.color.actionBase.alt),bs=rs(({columns:e,isActive:t})=>e.map(({title:e,path:n,id:r})=>(0,_.jsx)(gs,{href:n,tabIndex:t?0:-1,children:e},r)),"SubNavMenuColumns"),vs=rs(({title:e,children:t,path:n,id:r,primaryIndex:o,activeIndex:i,setActiveIndex:s,primaryListOpen:a,activeItemIndex:c})=>{const l=i===o,d=rs(()=>{s(i===o?void 0:o)},"toggleSecondaryList");return(0,_.jsxs)(cs,{className:(0,H.c)(c===o?"is-active":""),children:[(0,_.jsxs)(ls,{children:[(0,_.jsx)(as,{href:n,tabIndex:a?0:-1,children:e}),(0,_.jsx)(ps,{onClick:d,className:"expand",role:"button","aria-controls":r,"aria-expanded":l,tabIndex:a?0:-1,$isActive:l,children:t&&(0,_.jsx)(ds,{})})]}),t&&t.length>0&&(0,_.jsx)(ms,{$isActive:l,children:(0,_.jsx)(os,{id:r,"aria-hidden":!l,children:(0,_.jsx)(is,{children:(0,_.jsx)(bs,{primaryIndex:o,columns:t,isActive:l})})})})]})},"SubNavMenuItem"),ys=rs(({className:e,menu:t,triggerText:n,id:r,activeItemIndex:o})=>{if(!t)return!1;const i=Array.isArray(t)?t:t.menu,[s,a]=(0,R.useState)(),[c,l]=(0,R.useState)(!1),d=rs(()=>l(!c),"togglePrimaryList");return i&&(0,_.jsxs)(fs,{className:(0,H.c)(e),children:[(0,_.jsxs)(us,{onClick:d,className:"expand",role:"button",tabIndex:0,"aria-controls":r,"aria-expanded":c,$isActive:c,children:[n," ",(0,_.jsx)(ds,{})]},"subnavMenuBtn"),(0,_.jsx)(hs,{$isActive:c,children:(0,_.jsx)(ss,{"aria-hidden":!c,id:r,children:i.map(({title:e,children:t,path:n,id:r},i)=>(0,_.jsx)(vs,{title:e,path:n,primaryIndex:i,activeIndex:s,setActiveIndex:a,id:r,primaryListOpen:c,activeItemIndex:o,children:t},r))})},"subnavMenuMenu")]})},"SubNavMenu");var xs=Object.defineProperty,ws=(e,t)=>xs(e,"name",{value:t,configurable:!0});const js=b.styled.div.withConfig({componentId:"sc-1ioan8g-0"})(["position:absolute;z-index:",";cursor:move;"],({$zIndex:e,theme:t})=>null!=e?e:t.zIndex.bestSubNavMenu),Os={x:0,y:0},Ss=ws(({className:e,children:t,initialPosition:n=Os,zIndex:r})=>{const o=(0,R.useRef)(null),[i,s]=(0,R.useState)(n),[a,c]=(0,R.useState)(!1),[l,d]=(0,R.useState)(Os),u=(0,R.useCallback)(e=>{c(!0),d({x:e.clientX-i.x,y:e.clientY-i.y})},[i]),p=(0,R.useCallback)(e=>{a&&s({x:e.clientX-l.x,y:e.clientY-l.y})},[a,l]),h=(0,R.useCallback)(()=>{c(!1)},[]);return(0,R.useEffect)(()=>{if(o.current){const e=o.current.offsetWidth,t=(window.innerWidth-e)/2;s({x:t,y:10})}},[]),(0,_.jsx)(js,{className:e,ref:o,onMouseDown:u,onMouseMove:p,onMouseUp:h,onMouseLeave:h,style:{left:i.x,top:i.y},$zIndex:r,children:t})},"Draggable"),Cs=b.styled.div.withConfig({componentId:"sc-867hmx-0"})(["padding:","px;background:",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.color.canvas.brand),Es=b.styled.ul.withConfig({componentId:"sc-867hmx-1"})(["padding:0;margin:0;color:",";list-style:none;"],({theme:e})=>e.color.ink.base),Is=b.styled.li.withConfig({componentId:"sc-867hmx-2"})(["display:flex;gap:","px;padding:","px ","px;border-bottom:1px solid ",";",";","{margin:0 0 0 auto;}& &{padding:0;}&:last-child{padding-bottom:0;border:none;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x0_25,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.badge.base,Es),Ps=b.styled.span.withConfig({componentId:"sc-867hmx-3"})(["&::after{content:':';}"]),ks=b.styled.span.withConfig({componentId:"sc-867hmx-4"})(["margin:0 0 0 auto;"]),As=({subscriberOrigin:e,locale:t,featureFlags:n,feed:r,className:o})=>(0,_.jsx)(Ss,{className:o,initialPosition:{x:800,y:10},children:(0,_.jsx)(Cs,{children:(0,_.jsxs)(Es,{children:[(0,_.jsxs)(Is,{children:[(0,_.jsx)(Ps,{children:"Feed"}),(0,_.jsx)(ks,{dangerouslySetInnerHTML:{__html:r}})]}),(0,_.jsxs)(Is,{children:[(0,_.jsx)(Ps,{children:"Subscriber origin"}),(0,_.jsx)(ks,{dangerouslySetInnerHTML:{__html:e}})]}),(0,_.jsxs)(Is,{children:[(0,_.jsx)(Ps,{children:"Locale"}),(0,_.jsx)(ks,{dangerouslySetInnerHTML:{__html:t}})]}),(0,_.jsxs)(Is,{children:[(0,_.jsx)(Ps,{children:"Feature flags"}),(0,_.jsx)(Es,{children:n.map((e,t)=>(0,_.jsx)(Is,{children:(0,_.jsx)(ks,{dangerouslySetInnerHTML:{__html:e}})},t))})]})]})})});var Ts=n(76084);function Ds(e){return{subscribe:function(e){const t=function(e){const t=document.documentElement,n=new MutationObserver(t=>{const n=t.at(-1),r=null==n?void 0:n.target;(null==n?void 0:n.oldValue)!==r.dataset.colorMode&&e()});return n.observe(t,{attributeOldValue:!0,attributeFilter:["data-color-mode"]}),()=>n.disconnect()}(e),n=function(e){const t=t=>{const n=t.oldValue,r=t.newValue;t.key&&t.key===ee.Ux&&n!==r&&e()};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}(e);return()=>{t(),n()}},getSnapshot:function(){const t=document.documentElement.dataset.colorMode;return localStorage.getItem(ee.Ux)||t||e},getServerSnapshot:function(){return e},setColorMode:function(e){const t=document.documentElement;localStorage.setItem(ee.Ux,e),t.style.backgroundColor="",t.dataset.colorMode=e}}}const _s=function(e=null){const{subscribe:t,getSnapshot:n,getServerSnapshot:r,setColorMode:o}=Ds(e);return[(0,R.useSyncExternalStore)(t,n,r),o]},Ns=["className","icon","label","onClick"];function Ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ls(e){for(var t=1;tzs(e,"name",{value:t,configurable:!0});const $s=b.styled.button.withConfig({componentId:"sc-w2z27o-0"})(["display:flex;min-width:100%;min-height:100%;flex-flow:column-reverse;align-items:center;justify-content:center;row-gap:2px;column-gap:8px;background:",";color:",";text-align:center;transition:",";&:hover,&:active{background:",";color:",";}&:focus-visible{outline-offset:-2px;}@media ","{flex-flow:row wrap;}"],({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.transition.button,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,Mr.t),Bs=b.styled.span.withConfig({componentId:"sc-w2z27o-1"})(["display:block;width:","px;height:","px;"],zr.d,zr.d),Fs=b.styled.span.withConfig({componentId:"sc-w2z27o-2"})(["",""],({theme:e})=>e.textStyle.buttonMenu.small),Vs=Rs(e=>{let{className:t,icon:n,label:r,onClick:o}=e,i=(0,nt.A)(e,Ns);return(0,_.jsxs)($s,Ls(Ls({},i),{},{className:t,onClick:o,children:[(0,_.jsx)(Fs,{children:r}),(0,_.jsx)(Bs,{children:n})]}))},"MastheadButton"),Hs=b.styled.div.withConfig({componentId:"sc-1nadjt5-0"})(["display:flex;position:relative;height:100%;align-items:center;justify-content:center;"]),qs=(0,b.styled)(Vs).withConfig({componentId:"sc-1nadjt5-1"})(["position:absolute;z-index:0;inset:0;opacity:0;transition:opacity ",";"],({theme:e})=>e.transition.base),Ws=(0,b.styled)(qs).withConfig({componentId:"sc-1nadjt5-2"})(["",""],({$isVisible:e})=>e?(0,b.css)(["z-index:1;opacity:1;transition-delay:",";"],({theme:e})=>e.transition.duration):""),Us=(0,b.styled)(Ws).withConfig({componentId:"sc-1nadjt5-3"})(["html[data-color-mode='","'] &{z-index:1;opacity:1;}"],({$colorMode:e})=>e),Gs={light:ze.nOz,dark:ze.clj},Ks=({className:e,modes:t,onClick:n=()=>{}})=>{const[r,o]=_s(null);return(0,_.jsx)(Hs,{className:e,children:t.map(({id:e,name:i},s)=>{var a;const c=s+1,{id:l}=null!==(a=t[c])&&void 0!==a?a:t[0];return(0,_.jsx)(Us,{icon:(0,_.jsx)(y.Ay,{svg:Gs[e],size:"small"}),label:i,onClick:()=>{o(l),n(l)},"data-color-mode-toggle":e,$isVisible:r===e,$colorMode:e},e)})})};var Ys=n(67631);const Zs=b.styled.div.withConfig({componentId:"sc-1ltuhda-0"})(["min-width:55px;height:100%;border-left:1px solid ",";@media ","{min-width:88px;}"],({theme:e})=>e.color.divider.light,x.n5);function Js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qs(e){for(var t=1;t(0,_.jsx)(Xs,{children:(0,_.jsx)(Ks,Qs(Qs({},e),{},{onClick:e=>{const t=(0,Ys.i)(e);(0,p.pd)({colorMode:t})}}))}),ta="bookingSdkLoaded",na="bookingAffiliateWidget_c183b128-760f-4477-aa85-f28918299745",ra="bookingAffiliateWidget_235338b7-89f3-4a27-83d5-5cf756bc81ea",oa=b.styled.div.withConfig({componentId:"sc-1rh7f1-0"})(["position:relative;z-index:0;box-sizing:border-box;padding:","px;background-color:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary);var ia=n(88666);const sa=({id:e,ss:t,latitude:n,longitude:r,zoom:o})=>{"string"==typeof e&&e.trim()?(0,R.useEffect)(()=>{let i=!1;const s=()=>{var i;(null===(i=window.Booking)||void 0===i?void 0:i.AffiliateWidget)&&new window.Booking.AffiliateWidget({iframeSettings:{selector:e,responsive:!0},widgetSettings:Object.fromEntries(Object.entries({ss:t,latitude:n,longitude:r,zoom:o}).filter(([e,t])=>null!=t))})};if(window.Booking)return void s();const a=()=>s();return i||(document.body.addEventListener(ta,a),i=!0),()=>{i&&document.body.removeEventListener(ta,a)}},[e,t,n,r,o]):(0,ia.warn)('useBookingSearchWidget: "id" must be a non-empty string')},aa=(0,b.styled)(oa).withConfig({componentId:"sc-1w0gucx-0"})(["height:335px;"]),ca=e=>(sa({id:ra}),(0,_.jsx)(aa,{children:(0,_.jsx)("div",{id:ra})})),la=(0,b.css)(["min-height:480px;@media ","{min-height:721px;}@media ","{min-height:712px;}"],x.n5,x.BY),da=(0,b.css)(["#"," &{min-height:482px;@media ","{min-height:802px;}@media ","{min-height:950px;}}"],J.AuP,x.n5,x.BY),ua=(0,b.styled)(oa).withConfig({componentId:"sc-q2xe7f-0"})([""," ",""],la,da),pa=({ss:e,latitude:t,longitude:n,zoom:r})=>(sa({id:na,ss:e,latitude:t,longitude:n,zoom:r}),(0,_.jsx)(ua,{children:(0,_.jsx)("div",{id:na})}));var ha=n(8079);const ma=()=>{document.addEventListener("keydown",e=>{"Escape"===e.key&&(0,o.J)({type:"escape_key_press"})}),(0,ha.A)(r,o.T)};ma()}},e=>{var t;t=11904,e(e.s=t)}]);