/*! For license information please see react-components-base.72550ae12e69a4e55731.js.LICENSE.txt */ (self.webpackChunk_indy_flow_web=self.webpackChunk_indy_flow_web||[]).push([[7433],{212:(e,t,n)=>{var r=n(15428),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},381:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(82075),i=n(48821),o=n(40388),a=n(11652),s=n(86106);const l=["src","srcset","sizes","preload","fetchPriority","loading","layout","height","width"];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 d(e){for(var t=1;t{let{src:t,srcset:n,sizes:r,preload:c=!1,fetchPriority:u,loading:p="lazy",layout:h,height:m,width:g}=e,f=(0,i.A)(e,l);const y=!!t&&t.startsWith("data:");return(0,s.jsxs)(s.Fragment,{children:[c&&!y&&(0,s.jsx)(a.m,{children:(0,s.jsx)("link",d({rel:"preload",as:"image",href:t,imageSizes:null!=r?r:void 0,fetchPriority:u},n&&{imageSrcSet:n}))}),(0,s.jsx)(o.Ay,d(d({src:t,srcSet:n,sizes:r,fetchpriority:u,layout:null!=h?h:o.uL,height:null!=m?m:void 0,width:null!=g?g:void 0},"high"!==u&&{loading:p}),f))]})}},624:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30379);const i=async(e,t={})=>{try{const n=new URLSearchParams(t).toString(),r=`${e}${n?`?${n}`:""}`,i=await fetch(r),o=204===i.status;if(!i.ok)throw new Error(`response for ${e} is not OK`,{cause:i});if(o)return null;return await i.json()}catch(e){return(0,r.warn)(e),null}}},761:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=e=>{const t=new Date,n=new Date(t);n.setDate(n.getDate()+e);const[r]=n.toISOString().split("T");return r},i=()=>[r(90),r(91)]},766:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},1341:(e,t,n)=>{"use strict";n.d(t,{fm:()=>o,gC:()=>r,vT:()=>i,zm:()=>a});const r="common",i="tvhub",o="payment",a="subManagement"},1540:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(86106),i=n(64543),o=Object.defineProperty,a=(e,t)=>o(e,"name",{value:t,configurable:!0});const s=i.styled.div.withConfig({componentId:"sc-15oxrpi-0"})(["--max-container-width:500px;max-width:var(--max-container-width);box-sizing:border-box;padding:","px;margin:0 auto;text-align:center;"],({theme:e})=>e.spacing.x1),l=i.styled.div.withConfig({componentId:"sc-15oxrpi-1"})(["--border-style:1px solid ",";width:100%;border-top:var(--border-style);border-bottom:var(--border-style);background-color:",";"],({theme:e})=>e.color.divider.brandBold,({theme:e})=>e.color.canvas.brand),c=i.styled.a.withConfig({componentId:"sc-15oxrpi-2"})(["",";color:",";cursor:pointer;&:hover{color:",";}"],({theme:e})=>e.textStyle.paymentFlow.dynamic.titleLink,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt),d=i.styled.p.withConfig({componentId:"sc-15oxrpi-3"})(["padding:0;margin:0;",";"],({theme:e})=>e.textStyle.paymentFlow.dynamic.body),u=i.styled.h4.withConfig({componentId:"sc-15oxrpi-4"})(["padding:0;margin:0 0 ","px;",";","{display:inline;margin-left:","px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.paymentFlow.dynamic.title,c,({theme:e})=>e.spacing.x1),p=i.styled.div.withConfig({componentId:"sc-15oxrpi-5"})(["",";margin:0;text-wrap:pretty;p{padding:0;margin:0;font:inherit;}"],({theme:e})=>e.textStyle.paymentFlow.dynamic.body),h=a(({heading:e="Subscription",subHeading:t="Your chosen package:",body:n,onChange:i,changeLinkText:o="Change"})=>(0,r.jsx)(l,{children:(0,r.jsxs)(s,{children:[(0,r.jsx)(d,{children:t}),(0,r.jsxs)(u,{"data-testid":"payment-summary-heading",children:[e,i&&(0,r.jsx)(c,{onClick:i,children:o})]}),n&&(0,r.jsx)(p,{children:n})]})}),"PaymentSummary");var m=n(84449),g=n(65619),f=n(82075),y=n(33687),b=n(1341),v=n(27608);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}const w=(e,t={})=>y.A.t(e,function(e){for(var t=1;t{const[t,...n]=(i=e.data,(0,v.dR)(i,{priceStyle:"short",prefix:({lastIndex:e,index:t,t:n})=>{const r=1===t,i=t===e;return 0===t?"":r&&i?n("secondAndLast"):r?n("secondNotLast"):i?n("then"):""}}));var i;const o=e.meta.planType,a=o?w("summary.packageNameKnown",{type:o}):w("summary.packageNameUnknown"),s=0===((null==n?void 0:n.length)||0)?w("summary.paymentBodySingle"):w("summary.paymentBodyMulti",{payments:n.join(". ")});return(0,r.jsx)(h,{subHeading:w("summary.packingHeading"),heading:a,body:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("p",{children:[t,"."]}),(0,r.jsx)("p",{children:s})]}),onChange:()=>(0,m.V)((0,g.RM)())})}},2623:(e,t,n)=>{"use strict";n.d(t,{W1:()=>a,gy:()=>r,pN:()=>s,uV:()=>o,yB:()=>i});const r="jw_player",i="video-youtube",o="youtube",a="image",s="video-jwplayer"},3698:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";n.d(t,{C:()=>i});var r=n(38019);const i=()=>new URLSearchParams(window.location.search).get(r.cN)},3950:()=>{IntlPolyfill.__addLocaleData({locale:"en-US",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:!0,hour12:!0,formats:{short:"{1}, {0}",medium:"{1}, {0}",full:"{1} 'at' {0}",long:"{1} 'at' {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},dateFormats:{yMMMMEEEEd:"EEEE, MMMM d, y",yMMMMd:"MMMM d, y",yMMMd:"MMM d, y",yMd:"M/d/yy"},timeFormats:{hmmsszzzz:"h:mm:ss a zzzz",hmsz:"h:mm:ss a z",hms:"h:mm:ss a",hm:"h:mm a"}},calendars:{buddhist:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["BE"],short:["BE"],long:["BE"]},dayPeriods:{am:"AM",pm:"PM"}},chinese:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},coptic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],long:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},dangi:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},ethiopic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},ethioaa:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0"],short:["ERA0"],long:["ERA0"]},dayPeriods:{am:"AM",pm:"PM"}},generic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],long:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},gregory:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["B","A","BCE","CE"],short:["BC","AD","BCE","CE"],long:["Before Christ","Anno Domini","Before Common Era","Common Era"]},dayPeriods:{am:"AM",pm:"PM"}},hebrew:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],short:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"],long:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AM"],short:["AM"],long:["AM"]},dayPeriods:{am:"AM",pm:"PM"}},indian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],long:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Saka"],short:["Saka"],long:["Saka"]},dayPeriods:{am:"AM",pm:"PM"}},islamic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"AM",pm:"PM"}},islamicc:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"AM",pm:"PM"}},japanese:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","M","T","S","H"],short:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"],long:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"]},dayPeriods:{am:"AM",pm:"PM"}},persian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],long:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AP"],short:["AP"],long:["AP"]},dayPeriods:{am:"AM",pm:"PM"}},roc:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Before R.O.C.","Minguo"],short:["Before R.O.C.","Minguo"],long:["Before R.O.C.","Minguo"]},dayPeriods:{am:"AM",pm:"PM"}}}},number:{nu:["latn"],patterns:{decimal:{positivePattern:"{number}",negativePattern:"{minusSign}{number}"},currency:{positivePattern:"{currency}{number}",negativePattern:"{minusSign}{currency}{number}"},percent:{positivePattern:"{number}{percentSign}",negativePattern:"{minusSign}{number}{percentSign}"}},symbols:{latn:{decimal:".",group:",",nan:"NaN",plusSign:"+",minusSign:"-",percentSign:"%",infinity:"∞"}},currencies:{AUD:"A$",BRL:"R$",CAD:"CA$",CNY:"CN¥",EUR:"€",GBP:"£",HKD:"HK$",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",MXN:"MX$",NZD:"NZ$",TWD:"NT$",USD:"$",VND:"₫",XAF:"FCFA",XCD:"EC$",XOF:"CFA",XPF:"CFPF"}}})},4795:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",d="quarter",u="year",p="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;x[s]=t,i=s}return!r&&i&&(v=i),i||!r&&v},k=function(e,t){if(j(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},S=b;S.l=O,S.i=j,S.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function f(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var y=f.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return S},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return k(e){"use strict";n.d(t,{F:()=>q,I:()=>Ke,a:()=>K,u:()=>He});var r=n(82075),i=n(48821),o=n(7378);const a=["children"],s=["name"],l=["_f"],c=["_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}),g=m(e=>"checkbox"===e.type,"isCheckBoxInput"),f=m(e=>e instanceof Date,"isDateObject"),y=m(e=>null==e,"isNullOrUndefined");const b=m(e=>"object"==typeof e,"isObjectType");var v=m(e=>!y(e)&&!Array.isArray(e)&&b(e)&&!f(e),"isObject"),x=m(e=>v(e)&&e.target?g(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 v(t)&&t.hasOwnProperty("isPrototypeOf")},"isPlainObject"),k=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function S(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(k&&(e instanceof Blob||e instanceof FileList)||!n&&!v(e))return e;if(t=n?[]:{},n||O(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=S(e[n]));else t=e}return t}m(S,"cloneObject");var C=m(e=>Array.isArray(e)?e.filter(Boolean):[],"compact"),E=m(e=>void 0===e,"isUndefined"),P=m((e,t,n)=>{if(!t||!v(e))return n;const r=C(t.split(/[,[\].]+?/)).reduce((e,t)=>y(e)?e:e[t],e);return E(r)||r===e?E(e[t])?n:e[t]:r},"get"),I=m(e=>"boolean"==typeof e,"isBoolean"),M=m(e=>/^\w*$/.test(e),"isKey"),T=m(e=>C(e.replace(/["|']|\]/g,"").split(/\.|\[/)),"stringToPath"),A=m((e,t,n)=>{let r=-1;const i=M(t)?[t]:T(t),o=i.length,a=o-1;for(;++ro.useContext(H),"useFormContext"),q=m(e=>{const{children:t}=e,n=(0,i.A)(e,a);return o.createElement(H.Provider,{value:n},t)},"FormProvider");var V=m((e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==N.all&&(t._proxyFormState[i]=!r||N.all),n&&(n[i]=!0),e[i]}});return i},"getProxyFormState"),W=m(e=>v(e)&&!Object.keys(e).length,"isEmptyObject"),U=m((e,t,n,r)=>{n(e);const{name:o}=e,a=(0,i.A)(e,s);return W(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||N.all))},"shouldRenderFormState"),G=m(e=>Array.isArray(e)?e:[e],"convertToArrayPayload");function J(e){const t=o.useRef(e);t.current=e,o.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}m(J,"useSubscribe");var Y=m(e=>"string"==typeof e,"isString"),Q=m((e,t,n,r,i)=>Y(e)?(r&&t.watch.add(e),P(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),P(n,e))):(r&&(t.watchAll=!0),n),"generateWatchOutput"),Z=m((e,t,n,r,i)=>t?p(p({},n[e]),{},{types:p(p({},n[e]&&n[e].types?n[e].types:{}),{},{[r]:i||!0})}):{},"appendErrors"),X=m(e=>({isOnSubmit:!e||e===N.onSubmit,isOnBlur:e===N.onBlur,isOnChange:e===N.onChange,isOnAll:e===N.all,isOnTouch:e===N.onTouched}),"getValidationModes"),ee=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 te=m((e,t,n,r)=>{for(const o of n||Object.keys(e)){const n=P(e,o);if(n){const{_f:e}=n,a=(0,i.A)(n,l);if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(te(a,t))break}else if(v(a)&&te(a,t))break}}},"iterateFieldsByAction");var ne=m((e,t,n)=>{const r=G(P(e,n));return A(r,"root",t[n]),A(e,n,r),e},"updateFieldArrayRootError"),re=m(e=>"file"===e.type,"isFileInput"),ie=m(e=>"function"==typeof e,"isFunction"),oe=m(e=>{if(!k)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},"isHTMLElement"),ae=m(e=>Y(e),"isMessage"),se=m(e=>"radio"===e.type,"isRadioInput"),le=m(e=>e instanceof RegExp,"isRegex");const ce={value:!1,isValid:!1},de={value:!0,isValid:!0};var ue=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&&!E(e[0].attributes.value)?E(e[0].value)||""===e[0].value?de:{value:e[0].value,isValid:!0}:de:ce}return ce},"getCheckboxValue");const pe={isValid:!1,value:null};var he=m(e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,pe):pe,"getRadioValue");function me(e,t,n="validate"){if(ae(e)||Array.isArray(e)&&e.every(ae)||I(e)&&!e)return{type:n,message:ae(e)?e:"",ref:t}}m(me,"getValidateError");var ge=m(e=>v(e)&&!le(e)?e:{value:e,message:""},"getValueAndMessage"),fe=m(async(e,t,n,r,i)=>{const{ref:o,refs:a,required:s,maxLength:l,minLength:c,min:d,max:u,pattern:h,validate:f,name:b,valueAsNumber:x,mount:w,disabled:j}=e._f,O=P(t,b);if(!w||j)return{};const k=a?a[0]:o,S=m(e=>{r&&k.reportValidity&&(k.setCustomValidity(I(e)?"":e||""),k.reportValidity())},"setCustomValidity"),C={},M=se(o),T=g(o),A=M||T,D=(x||re(o))&&E(o.value)&&E(O)||oe(o)&&""===o.value||""===O||Array.isArray(O)&&!O.length,N=Z.bind(null,b,n,C),H=m((e,t,n,r=F,i=$)=>{const a=e?t:n;C[b]=p({type:e?r:i,message:a,ref:o},N(e?r:i,a))},"getMinMaxMessage");if(i?!Array.isArray(O)||!O.length:s&&(!A&&(D||y(O))||I(O)&&!O||T&&!ue(a).isValid||M&&!he(a).isValid)){const{value:e,message:t}=ae(s)?{value:!!s,message:s}:ge(s);if(e&&(C[b]=p({type:L,message:t,ref:k},N(L,t)),!n))return S(t),C}if(!(D||y(d)&&y(u))){let e,t;const r=ge(u),i=ge(d);if(y(O)||isNaN(O)){const n=o.valueAsDate||new Date(O),a=m(e=>new Date((new Date).toDateString()+" "+e),"convertTimeToDate"),s="time"==o.type,l="week"==o.type;Y(r.value)&&O&&(e=s?a(O)>a(r.value):l?O>r.value:n>new Date(r.value)),Y(i.value)&&O&&(t=s?a(O)r.value),y(i.value)||(t=n+e.value,i=!y(t.value)&&O.length<+t.value;if((r||i)&&(H(r,e.message,t.message),!n))return S(C[b].message),C}if(h&&!D&&Y(O)){const{value:e,message:t}=ge(h);if(le(e)&&!O.match(e)&&(C[b]=p({type:R,message:t,ref:o},N(R,t)),!n))return S(t),C}if(f)if(ie(f)){const e=me(await f(O,t),k);if(e&&(C[b]=p(p({},e),N(B,e.message)),!n))return S(e.message),C}else if(v(f)){let e={};for(const r in f){if(!W(e)&&!n)break;const i=me(await f[r](O,t),k,r);i&&(e=p(p({},i),N(r,i.message)),S(i.message),n&&(C[b]=e))}if(!W(e)&&(C[b]=p({ref:k},e),!n))return C}return S(!0),C},"validateField");function ye(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:()=>{e=e.filter(e=>e!==t)}}),"subscribe"),unsubscribe:m(()=>{e=[]},"unsubscribe")}},"createSubject"),we=m(e=>y(e)||!b(e),"isPrimitive");function je(e,t){if(we(e)||we(t))return e===t;if(f(e)&&f(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const n=e[i];if(!r.includes(i))return!1;if("ref"!==i){const e=t[i];if(f(n)&&f(e)||v(n)&&v(e)||Array.isArray(n)&&Array.isArray(e)?!je(n,e):n!==e)return!1}}return!0}m(je,"deepEqual");var Oe=m(e=>"select-multiple"===e.type,"isMultipleSelect"),ke=m(e=>se(e)||g(e),"isRadioOrCheckbox"),Se=m(e=>oe(e)&&e.isConnected,"live"),Ce=m(e=>{for(const t in e)if(ie(e[t]))return!0;return!1},"objectHasFunction");function Ee(e,t={}){const n=Array.isArray(e);if(v(e)||n)for(const n in e)Array.isArray(e[n])||v(e[n])&&!Ce(e[n])?(t[n]=Array.isArray(e[n])?[]:{},Ee(e[n],t[n])):y(e[n])||(t[n]=!0);return t}function Pe(e,t,n){const r=Array.isArray(e);if(v(e)||r)for(const r in e)Array.isArray(e[r])||v(e[r])&&!Ce(e[r])?E(t)||we(n[r])?n[r]=Array.isArray(e[r])?Ee(e[r],[]):p({},Ee(e[r])):Pe(e[r],y(t)?{}:t[r],n[r]):n[r]=!je(e[r],t[r]);return n}m(Ee,"markFieldsDirty"),m(Pe,"getDirtyFieldsFromDefaultValues");var Ie=m((e,t)=>Pe(e,t,Ee(t)),"getDirtyFields"),Me=m((e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>E(e)?e:t?""===e?NaN:e&&+e:n&&Y(e)?new Date(e):r?r(e):e,"getFieldValueAs");function Te(e){const t=e.ref;if(!(e.refs?e.refs.every(e=>e.disabled):t.disabled))return re(t)?t.files:se(t)?he(e.refs).value:Oe(t)?[...t.selectedOptions].map(({value:e})=>e):g(t)?ue(e.refs).value:Me(E(t.value)?e.ref.value:t.value,e)}m(Te,"getFieldValue");var Ae=m((e,t,n,r)=>{const i={};for(const n of e){const e=P(t,n);e&&A(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},"getResolverOptions"),De=m(e=>E(e)?e:le(e)?e.source:v(e)?le(e.value)?e.value.source:e.value:e,"getRuleValue");const Ne="AsyncFunction";var _e=m(e=>!(e&&e.validate||!(ie(e.validate)&&e.validate.constructor.name===Ne||v(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===Ne))),"hasPromiseValidation"),ze=m(e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),"hasValidation");function Fe(e,t,n){const r=P(e,n);if(r||M(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=P(t,r),a=P(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};i.pop()}return{name:n}}m(Fe,"schemaErrorLookup");var $e=m((e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e),"skipValidation"),Re=m((e,t)=>!C(P(e,t)).length&&ve(e,t),"unsetEmptyArray");const Le={mode:N.onSubmit,reValidateMode:N.onChange,shouldFocusError:!0};function Be(e={}){let t,n=p(p({},Le),e),r={submitCount:0,isDirty:!1,isLoading:ie(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},a=(v(n.defaultValues)||v(n.values))&&S(n.defaultValues||n.values)||{},s=n.shouldUnregister?{}:S(a),l={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},h=0;const b={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},w={values:xe(),array:xe(),state:xe()},O=X(n.mode),M=X(n.reValidateMode),T=n.criteriaMode===N.all,_=m(e=>t=>{clearTimeout(h),h=setTimeout(e,t)},"debounce"),z=m(async e=>{if(!n.disabled&&(b.isValid||e)){const e=n.resolver?W((await q()).errors):await U(o,!0);e!==r.isValid&&w.state.next({isValid:e})}},"_updateValid"),F=m((e,t)=>{!n.disabled&&(b.isValidating||b.validatingFields)&&((e||Array.from(u.mount)).forEach(e=>{e&&(t?A(r.validatingFields,e,t):ve(r.validatingFields,e))}),w.state.next({validatingFields:r.validatingFields,isValidating:!W(r.validatingFields)}))},"_updateIsValidating"),$=m((e,t=[],i,c,d=!0,u=!0)=>{if(c&&i&&!n.disabled){if(l.action=!0,u&&Array.isArray(P(o,e))){const t=i(P(o,e),c.argA,c.argB);d&&A(o,e,t)}if(u&&Array.isArray(P(r.errors,e))){const t=i(P(r.errors,e),c.argA,c.argB);d&&A(r.errors,e,t),Re(r.errors,e)}if(b.touchedFields&&u&&Array.isArray(P(r.touchedFields,e))){const t=i(P(r.touchedFields,e),c.argA,c.argB);d&&A(r.touchedFields,e,t)}b.dirtyFields&&(r.dirtyFields=Ie(a,s)),w.state.next({name:e,isDirty:Z(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else A(s,e,t)},"_updateFieldArray"),R=m((e,t)=>{A(r.errors,e,t),w.state.next({errors:r.errors})},"updateErrors"),L=m(e=>{r.errors=e,w.state.next({errors:r.errors,isValid:!1})},"_setErrors"),B=m((e,t,n,r)=>{const i=P(o,e);if(i){const o=P(s,e,E(n)?P(a,e):n);E(o)||r&&r.defaultChecked||t?A(s,e,t?o:Te(i._f)):le(e,o),l.mount&&z()}},"updateValidAndValue"),H=m((e,t,i,s,l)=>{let c=!1,d=!1;const u={name:e};if(!n.disabled){const n=!!(P(o,e)&&P(o,e)._f&&P(o,e)._f.disabled);if(!i||s){b.isDirty&&(d=r.isDirty,r.isDirty=u.isDirty=Z(),c=d!==u.isDirty);const i=n||je(P(a,e),t);d=!(n||!P(r.dirtyFields,e)),i||n?ve(r.dirtyFields,e):A(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,c=c||b.dirtyFields&&d!==!i}if(i){const t=P(r.touchedFields,e);t||(A(r.touchedFields,e,i),u.touchedFields=r.touchedFields,c=c||b.touchedFields&&t!==i)}c&&l&&w.state.next(u)}return c?u:{}},"updateTouchAndDirty"),K=m((n,i,o,a)=>{const s=P(r.errors,n),l=b.isValid&&I(i)&&r.isValid!==i;if(e.delayError&&o?(t=_(()=>R(n,o)),t(e.delayError)):(clearTimeout(h),t=null,o?A(r.errors,n,o):ve(r.errors,n)),(o?!je(s,o):s)||!W(a)||l){const e=p(p(p({},a),l&&I(i)?{isValid:i}:{}),{},{errors:r.errors,name:n});r=p(p({},r),e),w.state.next(e)}},"shouldRenderByError"),q=m(async e=>{F(e,!0);const t=await n.resolver(s,n.context,Ae(e||u.mount,o,n.criteriaMode,n.shouldUseNativeValidation));return F(e),t},"_executeSchema"),V=m(async e=>{const{errors:t}=await q(e);if(e)for(const n of e){const e=P(t,n);e?A(r.errors,n,e):ve(r.errors,n)}else r.errors=t;return t},"executeSchemaAndUpdateState"),U=m(async(e,t,o={valid:!0})=>{for(const a in e){const l=e[a];if(l){const{_f:e}=l,d=(0,i.A)(l,c);if(e){const i=u.array.has(e.name),c=l._f&&_e(l._f);c&&b.validatingFields&&F([a],!0);const d=await fe(l,s,T,n.shouldUseNativeValidation&&!t,i);if(c&&b.validatingFields&&F([a]),d[e.name]&&(o.valid=!1,t))break;!t&&(P(d,e.name)?i?ne(r.errors,d,e.name):A(r.errors,e.name,d[e.name]):ve(r.errors,e.name))}!W(d)&&await U(d,t,o)}}return o.valid},"executeBuiltInValidation"),J=m(()=>{for(const e of u.unMount){const t=P(o,e);t&&(t._f.refs?t._f.refs.every(e=>!Se(e)):!Se(t._f.ref))&&Ce(e)}u.unMount=new Set},"_removeUnmounted"),Z=m((e,t)=>!n.disabled&&(e&&t&&A(s,e,t),!je(me(),a)),"_getDirty"),ae=m((e,t,n)=>Q(e,u,p({},l.mount?s:E(t)?a:Y(e)?{[e]:t}:t),n,t),"_getWatch"),se=m(t=>C(P(l.mount?s:a,t,e.shouldUnregister?P(a,t,[]):[])),"_getFieldArray"),le=m((e,t,n={})=>{const r=P(o,e);let i=t;if(r){const n=r._f;n&&(!n.disabled&&A(s,e,Me(t,n)),i=oe(n.ref)&&y(t)?"":t,Oe(n.ref)?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?g(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):n.refs[0]&&(n.refs[0].checked=!!i):n.refs.forEach(e=>e.checked=e.value===i):re(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||w.values.next({name:e,values:p({},s)})))}(n.shouldDirty||n.shouldTouch)&&H(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&he(e)},"setFieldValue"),ce=m((e,t,n)=>{for(const r in t){const i=t[r],a=`${e}.${r}`,s=P(o,a);(u.array.has(e)||v(i)||s&&!s._f)&&!f(i)?ce(a,i,n):le(a,i,n)}},"setValues"),de=m((e,t,n={})=>{const i=P(o,e),c=u.array.has(e),d=S(t);A(s,e,d),c?(w.array.next({name:e,values:p({},s)}),(b.isDirty||b.dirtyFields)&&n.shouldDirty&&w.state.next({name:e,dirtyFields:Ie(a,s),isDirty:Z(e,d)})):!i||i._f||y(d)?le(e,d,n):ce(e,d,n),ee(e,u)&&w.state.next(p({},r)),w.values.next({name:l.mount?e:void 0,values:p({},s)})},"setValue"),ue=m(async i=>{l.mount=!0;const a=i.target;let c=a.name,d=!0;const h=P(o,c),g=m(()=>a.type?Te(h._f):x(i),"getCurrentFieldValue"),y=m(e=>{d=Number.isNaN(e)||f(e)&&isNaN(e.getTime())||je(e,P(s,c,e))},"_updateIsFieldValueUpdated");if(h){let a,l;const m=g(),f=i.type===D.BLUR||i.type===D.FOCUS_OUT,v=!ze(h._f)&&!n.resolver&&!P(r.errors,c)&&!h._f.deps||$e(f,P(r.touchedFields,c),r.isSubmitted,M,O),x=ee(c,u,f);A(s,c,m),f?(h._f.onBlur&&h._f.onBlur(i),t&&t(0)):h._f.onChange&&h._f.onChange(i);const j=H(c,m,f,!1),k=!W(j)||x;if(!f&&w.values.next({name:c,type:i.type,values:p({},s)}),v)return b.isValid&&("onBlur"===e.mode?f&&z():z()),k&&w.state.next(p({name:c},x?{}:j));if(!f&&x&&w.state.next(p({},r)),n.resolver){const{errors:e}=await q([c]);if(y(m),d){const t=Fe(r.errors,o,c),n=Fe(e,o,t.name||c);a=n.error,c=n.name,l=W(e)}}else F([c],!0),a=(await fe(h,s,T,n.shouldUseNativeValidation))[c],F([c]),y(m),d&&(a?l=!1:b.isValid&&(l=await U(o,!0)));d&&(h._f.deps&&he(h._f.deps),K(c,l,a,j))}},"onChange"),pe=m((e,t)=>{if(P(r.errors,t)&&e.focus)return e.focus(),1},"_focusInput"),he=m(async(e,t={})=>{let i,a;const s=G(e);if(n.resolver){const t=await V(E(e)?e:s);i=W(t),a=e?!s.some(e=>P(t,e)):i}else e?(a=(await Promise.all(s.map(async e=>{const t=P(o,e);return await U(t&&t._f?{[e]:t}:t)}))).every(Boolean),(a||r.isValid)&&z()):a=i=await U(o);return w.state.next(p(p(p({},!Y(e)||b.isValid&&i!==r.isValid?{}:{name:e}),n.resolver||!e?{isValid:i}:{}),{},{errors:r.errors})),t.shouldFocus&&!a&&te(o,pe,e?s:u.mount),a},"trigger"),me=m(e=>{const t=p({},l.mount?s:a);return E(e)?t:Y(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"),ye=m(e=>{e&&G(e).forEach(e=>ve(r.errors,e)),w.state.next({errors:e?r.errors:{}})},"clearErrors"),be=m((e,t,n)=>{const a=(P(o,e,{_f:{}})._f||{}).ref,s=P(r.errors,e)||{},{ref:l,message:c,type:u}=s,h=(0,i.A)(s,d);A(r.errors,e,p(p(p({},h),t),{},{ref:a})),w.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&a&&a.focus&&a.focus()},"setError"),we=m((e,t)=>ie(e)?w.values.subscribe({next:n=>e(ae(void 0,t),n)}):ae(e,t,!0),"watch"),Ce=m((e,t={})=>{for(const i of e?G(e):u.mount)u.mount.delete(i),u.array.delete(i),t.keepValue||(ve(o,i),ve(s,i)),!t.keepError&&ve(r.errors,i),!t.keepDirty&&ve(r.dirtyFields,i),!t.keepTouched&&ve(r.touchedFields,i),!t.keepIsValidating&&ve(r.validatingFields,i),!n.shouldUnregister&&!t.keepDefaultValue&&ve(a,i);w.values.next({values:p({},s)}),w.state.next(p(p({},r),t.keepDirty?{isDirty:Z()}:{})),!t.keepIsValid&&z()},"unregister"),Ee=m(({disabled:e,name:t,field:n,fields:r,value:i})=>{if(I(e)&&l.mount||e){const o=e?void 0:E(i)?Te(n?n._f:P(r,t)._f):i;A(s,t,o),H(t,o,!1,!1,!0)}},"_updateDisabledField"),Pe=m((e,t={})=>{let r=P(o,e);const i=I(t.disabled)||I(n.disabled);return A(o,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?Ee({field:r,disabled:I(t.disabled)?t.disabled:n.disabled,name:e,value:t.value}):B(e,!0,t.value),p(p(p({},i?{disabled:t.disabled||n.disabled}:{}),n.progressive?{required:!!t.required,min:De(t.min),max:De(t.max),minLength:De(t.minLength),maxLength:De(t.maxLength),pattern:De(t.pattern)}:{}),{},{name:e,onChange:ue,onBlur:ue,ref:i=>{if(i){Pe(e,t),r=P(o,e);const n=E(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=ke(n),l=r._f.refs||[];if(s?l.find(e=>e===n):n===r._f.ref)return;A(o,e,{_f:p(p({},r._f),s?{refs:[...l.filter(Se),n,...Array.isArray(P(a,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n})}),B(e,!1,void 0,n)}else r=P(o,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!j(u.array,e)||!l.action)&&u.unMount.add(e)}})},"register"),Ne=m(()=>n.shouldFocusError&&te(o,pe,u.mount),"_focusError"),Be=m(e=>{I(e)&&(w.state.next({disabled:e}),te(o,(t,n)=>{const r=P(o,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"),He=m((e,t)=>async i=>{let a;if(i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist()),n.disabled)return void(t&&await t(p({},r.errors),i));let l=S(s);if(w.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await q();r.errors=e,l=t}else await U(o);if(ve(r.errors,"root"),W(r.errors)){w.state.next({errors:{}});try{await e(l,i)}catch(e){a=e}}else t&&await t(p({},r.errors),i),Ne(),setTimeout(Ne);if(w.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(r.errors)&&!a,submitCount:r.submitCount+1,errors:r.errors}),a)throw a},"handleSubmit"),Ke=m((e,t={})=>{P(o,e)&&(E(t.defaultValue)?de(e,S(P(a,e))):(de(e,t.defaultValue),A(a,e,S(t.defaultValue))),t.keepTouched||ve(r.touchedFields,e),t.keepDirty||(ve(r.dirtyFields,e),r.isDirty=t.defaultValue?Z(e,S(P(a,e))):Z()),t.keepError||(ve(r.errors,e),b.isValid&&z()),w.state.next(p({},r)))},"resetField"),qe=m((t,n={})=>{const i=t?S(t):a,c=S(i),d=W(t),h=d?a:c;if(n.keepDefaultValues||(a=i),!n.keepValues){if(n.keepDirtyValues){const e=new Set([...u.mount,...Object.keys(Ie(a,s))]);for(const t of Array.from(e))P(r.dirtyFields,t)?A(h,t,P(s,t)):de(t,P(h,t))}else{if(k&&E(t))for(const e of u.mount){const t=P(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(oe(e)){const t=e.closest("form");if(t){t.reset();break}}}}o={}}s=e.shouldUnregister?n.keepDefaultValues?S(a):{}:S(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:""},l.mount=!b.isValid||!!n.keepIsValid||!!n.keepDirtyValues,l.watch=!!e.shouldUnregister,w.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!d&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||je(t,a))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:d?{}:n.keepDirtyValues?n.keepDefaultValues&&s?Ie(a,s):r.dirtyFields:n.keepDefaultValues&&t?Ie(a,t):n.keepDirty?r.dirtyFields:{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},"_reset"),Ve=m((e,t)=>qe(ie(e)?e(s):e,t),"reset");return{control:{register:Pe,unregister:Ce,getFieldState:ge,handleSubmit:He,setError:be,_executeSchema:q,_getWatch:ae,_getDirty:Z,_updateValid:z,_removeUnmounted:J,_updateFieldArray:$,_updateDisabledField:Ee,_getFieldArray:se,_reset:qe,_resetDefaultValues:m(()=>ie(n.defaultValues)&&n.defaultValues().then(e=>{Ve(e,n.resetOptions),w.state.next({isLoading:!1})}),"_resetDefaultValues"),_updateFormState:m(e=>{r=p(p({},r),e)},"_updateFormState"),_disableForm:Be,_subjects:w,_proxyFormState:b,_setErrors:L,get _fields(){return o},get _formValues(){return s},get _state(){return l},set _state(e){l=e},get _defaultValues(){return a},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:he,register:Pe,handleSubmit:He,watch:we,setValue:de,getValues:me,reset:Ve,resetField:Ke,clearErrors:ye,unregister:Ce,setError:be,setFocus:m((e,t={})=>{const n=P(o,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&ie(e.select)&&e.select())}},"setFocus"),getFieldState:ge}}function He(e={}){const t=o.useRef(),n=o.useRef(),[r,i]=o.useState({isDirty:!1,isValidating:!1,isLoading:ie(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ie(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current=p(p({},Be(e)),{},{formState:r}));const a=t.current.control;return a._options=e,J({subject:a._subjects.state,next:e=>{U(e,a._proxyFormState,a._updateFormState,!0)&&i(p({},a._formState))}}),o.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),o.useEffect(()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}},[a,r.isDirty]),o.useEffect(()=>{e.values&&!je(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,i(e=>p({},e))):a._resetDefaultValues()},[e.values,a]),o.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),o.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next(p({},a._formState))),a._removeUnmounted()}),o.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=V(r,a),t.current}m(Be,"createFormControl"),m(He,"useForm");var Ke=(e=>(e.DEFAULT="default",e.ERROR="error",e.SUCCESS="success",e.WAITING="waiting",e))(Ke||{})},6324:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(82075),i=n(86106),o=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}const s=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),l=(0,o.forwardRef)((e,t)=>(0,i.jsx)(s,function(e){for(var t=1;t{"use strict";n.d(t,{Ed:()=>w,Kr:()=>m,Pg:()=>h,_u:()=>g,au:()=>u,jh:()=>y,kB:()=>x,kS:()=>j,nw:()=>p,oA:()=>b,s3:()=>v,xE:()=>f});var r=n(59187),i=n(15081),o=n(37265),a=n(72245),s=n(34677),l=n(97435);const{earliestYear:c,mostRecentYear:d}=(0,a.W5)(),u=(0,l.A)(),p=r.Sj.add(s.bA).string().required(),h=r.Sj.add(s.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(o.Y5).doesNotMatch(i.c$,s.bA),m=r.Sj.add(s.TK).string().required().doesMatch(i.b0,s.nf),g=r.Sj.add(s.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(o.Y5),f=r.Sj.add(s.Tv).string().required().hasMin(1,"letters").hasMax(40,"letters").matchesRegex(o.K_),y=r.Sj.add(s.PV).string().required().hasMin(1,"letters").hasMax(40,"letters").matchesRegex(o.K_),b=r.Sj.add(s.AV).string().hasMin(3).hasMax(40).matchesRegex(o.P0),v=r.Sj.add(s.uX).number().required().hasRange(c,d),x=r.Sj.add(s.uX).number().hasRange(c,d,"digits"),w=r.Sj.add("Donation amount").string(),j=r.Sj.add("Donation length").string()},7240:(e,t,n)=>{"use strict";n.d(t,{J8:()=>o.c,MA:()=>h,aF:()=>o.M,e:()=>o.S,r$:()=>m,yB:()=>o.I});var r=n(82075),i=n(48821),o=n(77969),a=n(86106),s=n(86885);n(7378),n(27181),n(76941),n(9976),n(16708),n(90632),n(96120),n(75829),n(73108),n(25584),n(62892),n(14847),n(13470);const l=["isHidden","title","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 d(e){for(var t=1;tu(e,"name",{value:t,configurable:!0});const h=p(e=>{let{isHidden:t,title:n,children:r}=e,s=(0,i.A)(e,l);return(0,a.jsx)(o.W,d(d({},s),{},{isHidden:t,children:(0,a.jsx)(o.I,{children:(0,a.jsxs)(o.F,{disabled:t,children:[(0,a.jsx)(o.T,{children:n}),r]})})}))},"SuccessConfirmationModal"),m=p(({tag:e,logoSvg:t,children:n})=>(0,a.jsxs)(o.H,{children:[e&&(0,a.jsx)(s.A,{size:"small",isExpanded:!0,children:"Subscribe to"}),(0,a.jsxs)(o.L,{children:[(0,a.jsx)(o.a,{svg:t}),(0,a.jsx)(o.b,{children:"Independent Premium"})]}),n]}),"SellingModalHeader")},8246:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>k,Ui:()=>f,fB:()=>y,rW:()=>b});var r=n(82075),i=n(86106),o=n(7378),a=n(57808),s=n(64543),l=n(16708),c=n(90632);n(96120),n(75829);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=>o.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",id:"600f53465147d717",viewBox:"0 0 32 32"},e),o.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"),g=h(e=>o.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",id:"253072a0e13227e5",viewBox:"0 0 32 32"},e),o.createElement("mask",{id:"c71ee793c74e",fill:"#fff"},o.createElement("circle",{cx:16,cy:16,r:16})),o.createElement("g",{mask:"url(#c71ee793c74e)"},o.createElement("rect",{width:32,height:"100%",fill:"#722391"}),o.createElement("rect",{width:32,height:"83.3%",fill:"#152b9d"}),o.createElement("rect",{width:32,height:"66.6%",fill:"#70c23b"}),o.createElement("rect",{width:32,height:"50%",fill:"#ecfc5a"}),o.createElement("rect",{width:32,height:"33.3%",fill:"#e0a93f"}),o.createElement("rect",{width:32,height:"16.6%",fill:"#c13124"}),o.createElement("path",{fill:"#222",d:"M-6.62 16 6.81 2.56 20.25 16 6.81 29.44z"}),o.createElement("path",{fill:"#62411d",d:"M-6.62 16 5.12 4.26 16.86 16 5.12 27.74z"}),o.createElement("path",{fill:"#a1daec",d:"M-6.62 16 3.42 5.96 13.46 16 3.42 26.04z"}),o.createElement("path",{fill:"#efbcce",d:"m-6.62 16 8.34-8.34L10.07 16l-8.35 8.34z"}),o.createElement("path",{fill:"#f7f7f7",d:"M-6.62 16 .03 9.35 6.67 16 .03 22.65z"}),o.createElement("path",{fill:"#ecfc5a",d:"m-6.62 16 4.95-4.95L3.28 16l-4.95 4.95z"}),o.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"),f="badge",y="plain",b="pride",v="badge",x="plain",w=(0,s.css)(["color:",";"],({theme:e})=>e.color.primary.base),j=(0,s.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,s.styled)(l.I).attrs({size:c.e}).withConfig({componentId:"sc-1ix0cah-0"})(["display:inline-block;flex-shrink:0;",""],({$appearance:e})=>({[v]:j,[x]:w}[e])),k=h(({className:e,variant:t=f})=>{const n={[f]:[m,v],[y]:[a.S,x],[b]:[g,v]},[r,o]=n[t]||n[f];return(0,i.jsx)(O,{className:e,svg:r,$appearance:o})},"Logo")},8485:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,K:()=>c});var r=n(3698),i=n.n(r),o=n(64543),a=n(88107),s=n(21005),l=n(86106);const c=o.styled.p.withConfig({componentId:"sc-at3v8q-0"})(["padding-left:16px;margin-top:5px;margin-bottom:15px;color:",";font-family:",";font-size:12px;letter-spacing:normal;line-height:16px;text-align:left;"],e=>e.theme.color.semiotic.error,e=>e.theme.fontFamily.secondaryFont),d=({StyledFieldWrapper:e,fieldName:t,dataTrackingName:n,dataTabIndex:r,tabIndex:o,fieldId:d,displayName:u,helperText:p,inputType:h="text",valueMissingMsg:m,patternMismatchMsg:g,tooLongMessage:f,maxLength:y,pattern:b,requiredField:v=!1,value:x,autocomplete:w,className:j,placeholder:O,showError:k=!0,errorMsg:S="",onChange:C,onBlur:E,onFocus:P,formElementRef:I=null,hideShowPassword:M,"data-testid":T})=>{const A=e||s.c;return(0,l.jsxs)(A,{children:[(0,l.jsx)("input",{defaultValue:x,type:h,id:d,name:t,"data-tracking-name":n,"data-tabindex":r,className:i()(...(j||"").split(" "),"is-pristine","is-untouched"),pattern:b,required:v,"aria-controls":`${d}-helper-text`,"aria-describedby":`${d}-helper-text`,autoComplete:w,placeholder:O,max:y,ref:I,onChange:C,onBlur:E,onFocus:P,tabIndex:o}),(0,l.jsx)("label",{htmlFor:d,children:u}),p&&!S&&(0,l.jsx)("div",{className:"help-text",id:`${d}-helper-text`,children:p}),m&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"valueMissing","validation-for":d,children:m}),g&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"patternMismatch","validation-for":d,children:g}),f&&y&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"rangeOverflow","validation-for":d,children:f}),k&&(0,l.jsx)("div",{className:"error-text","visible-when-invalid":"customError","validation-for":d}),S&&(0,l.jsx)(c,{className:a.h,children:S}),M]})}},9165:(e,t,n)=>{"use strict";n.d(t,{D:()=>b});var r=n(82075),i=n(48821),o=n(86106),a=n(9976),s=n(90632),l=n(18087),c=n(9449),d=n(7378);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 f=g(({defaultIsOpen:e,onInteract:t})=>{const[n,r]=(0,d.useState)(e||!1),i=(0,d.useRef)(null);return(0,d.useEffect)(()=>{var e;const t=(null==(e=i.current)?void 0:e.querySelectorAll("a"))||[];return t.length>0&&!n&&t.forEach(e=>{e.setAttribute("tabIndex","-1")}),()=>{t.forEach(e=>{e.setAttribute("tabIndex","0")})}},[n]),{contentRef:i,isOpen:n,onDropdownInteract:g(()=>{r(e=>!e),t&&t()},"onDropdownInteract")}},"useDropdownToggle"),y={[s.a]:a.D,[s.b]:a.F,[s.S]:a._,[s.e]:a.I},b=g(e=>{let{trigger:t,children:n,iconSize:r=s.b,onInteract:a,isCosy:d=!1,isOpen:p}=e,m=(0,i.A)(e,u);const{contentRef:g,isOpen:b,onDropdownInteract:v}=f({defaultIsOpen:p,onInteract:a}),x=(0,o.jsx)(c.C,{$isOpen:b,svg:y[r],size:r}),w="function"==typeof t?t(x):(0,o.jsxs)(c.T,{$isCosy:d,children:[t,x]});return(0,o.jsx)(l.D,h(h({},m),{},{isOpen:b,onInteract:v,trigger:w,innerContentRef:g,children:n}))},"DropdownWithChevron")},9185:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9449:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,T:()=>a});var r=n(64543),i=n(16708);n(86106);const o=(0,r.styled)(i.I).withConfig({componentId:"sc-a5wy94-0"})(["transform:rotate(",");transition:transform 0.2s ease-in-out;"],({$isOpen:e})=>e?"-180deg":"0deg"),a=r.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)},9513:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(32178);const i=async()=>{await(0,r.Ay)()&&window.braze.openSession()}},9976:(e,t,n)=>{"use strict";n.d(t,{A:()=>W,B:()=>A,C:()=>T,D:()=>f,E:()=>K,F:()=>y,G:()=>x,H:()=>U,I:()=>v,K:()=>j,L:()=>G,M:()=>V,Q:()=>w,R:()=>D,S:()=>B,T:()=>Y,U:()=>N,V:()=>M,W:()=>Q,Y:()=>k,_:()=>b,a:()=>_,b:()=>O,c:()=>Z,d:()=>c,e:()=>te,f:()=>p,g:()=>u,h:()=>h,i:()=>g,j:()=>S,k:()=>J,l:()=>R,m:()=>L,n:()=>I,o:()=>z,p:()=>H,q:()=>m,r:()=>F,s:()=>P,t:()=>X,u:()=>q,v:()=>d,w:()=>E,x:()=>ee,y:()=>C,z:()=>$});var r=n(82075),i=n(7378);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 a(e){for(var t=1;ts(e,"name",{value:t,configurable:!0});const c=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"4d1b72e3f6ac55c7",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),i.createElement("path",{fill:"#fff",d:"M13.5 31.83q1.02.16 2.09.2h.84q1.06-.04 2.07-.2v-11.2h3.73l.7-4.62H18.5v-3c0-1.27.62-2.5 2.6-2.5h2.02V6.56s-1.83-.31-3.58-.31c-3.65 0-6.04 2.21-6.04 6.22V16H9.44v4.63h4.06z"})),"c"),d=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"dade8ead527a9e32",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),i.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M16.09 5c2.88 0 5.7 1.13 7.73 3.21A10.8 10.8 0 0 1 27 15.88a10.98 10.98 0 0 1-16.19 9.63L5 27l1.56-5.65A10.9 10.9 0 0 1 16.09 5m-4.98 18.55.36.18a9 9 0 0 0 9.36-.12 8.94 8.94 0 0 0 2.93-12.43 9.1 9.1 0 0 0-12.53-2.91A8.95 8.95 0 0 0 8.3 20.7l.24.35-.9 3.4zm9.6-5.47.66.3q.17.1.18.12v.41c-.07.3-.12.6-.24.84q-.1.17-.3.35l-.18.15-.18.15-.12.12-.22.13-.2.1c-.24.13-.6.24-.9.24h-.6q-.15-.04-.3-.05-.16-.02-.3-.06a11 11 0 0 1-4.32-2.26 2 2 0 0 0-.3-.31l-.18-.17-.24-.24a10 10 0 0 1-2.22-3.03l-.06-.18a3 3 0 0 1 .51-3.39l.15-.18.18-.11q.09-.08.18-.12l.06-.06.18-.03.18-.03h.66c.18.06.3.12.42.3.18.35.9 1.96.96 2.25.06.18 0 .42-.12.6l-.15.2-.15.22c-.18.17-.42.47-.42.47q-.07.1-.06.3.04.06.05.11l.07.13.06.11c.3.54.72 1.02 1.14 1.43l.21.18.21.18a6 6 0 0 0 1.74 1.13l.3.12c.06.06.18.12.24.12h.06q.2 0 .3-.18l.9-1.01q.16-.1.42-.12l.09.03.09.03c.6.3 1.56.71 1.56.71",clipRule:"evenodd"})),"v"),u=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"83f0addbd2f6f2be",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),i.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"m24 7-6.55 7.62L24.57 25h-5.23l-4.8-6.99L8.56 25H7l6.86-8L7 7h5.23l4.54 6.62L22.44 7zm-9.36 9.1.7 1 4.72 6.78h2.38l-5.8-8.31-.69-1-4.46-6.4H9.1l5.53 7.93Z",clipRule:"evenodd"})),"o"),p=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0de1ba8e9ade6cfd",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",d:"M6 0 4.94 1.06l4.19 4.19H0v1.5h9.13l-4.19 4.19L6 12l6-6z"})),"f"),h=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"ee3a7e128b7ecbf3",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M12 0 9.88 2.12l8.38 8.38H0v3h18.26l-8.38 8.38L12 24l12-12z"})),"p"),m=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"49dd8d1b9676e37e",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:15,fill:"none",stroke:"currentColor",strokeWidth:2}),i.createElement("path",{fill:"currentColor",d:"M23 7H9v18l7-3 7 3zm-2 15-5-2.18L11 22V9h10z"})),"q"),g=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"376fb154e7aaf042",fill:"none",viewBox:"0 0 32 32"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 32a16 16 0 1 0 0-32 16 16 0 0 0 0 32m0-11.05 6.03 2.6V8.02H9.98v15.55z",clipRule:"evenodd"})),"b"),f=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"ee6613da15642019",fill:"none",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",d:"M1.07 2.46 0 3.54l6 6 6-6-1.07-1.08L6 7.4z"})),"D"),y=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"53b0115c9d0a3a3d",fill:"none",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M1.43 3.28 0 4.72l8 8 8-8-1.43-1.44L8 9.85z"})),"F"),b=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"de437966f963e218",fill:"none",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M2.15 4.93 0 7.08l12 12 12-12-2.15-2.15L12 14.78z"})),"_"),v=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"77482a69af4ad0f7",fill:"none",viewBox:"0 0 32 32"},e),i.createElement("path",{fill:"currentColor",d:"M2.86 6.57 0 9.45l16 15.98 16-16-2.86-2.86L16 19.71z"})),"I"),x=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"8a2f20120e5bfc2c",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",d:"M9.54 1.07 8.46 0l-6 6 6 6 1.08-1.07L4.6 6z"})),"G"),w=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"ab801e9051d4a09b",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M12.72 1.43 11.28 0l-8 8 8 8 1.44-1.43L6.15 8z"})),"Q"),j=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"6f4d1bc6d16cc062",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",d:"M2.46 1.07 3.54 0l6 6-6 6-1.08-1.07L7.4 6z"})),"K"),O=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"880bed48e7887788",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M3.28 1.43 4.72 0l8 8-8 8-1.44-1.43L9.85 8z"})),"N"),k=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0cc0821d7a7ef294",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M4.93 2.15 7.08 0l12 12-12 12-2.15-2.15L14.78 12z"})),"Y"),S=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"1134318d8f430b3e",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M3.33 2 14 12.67 12.67 14 2 3.33z"}),i.createElement("path",{fill:"currentColor",d:"M2 12.67 12.67 2 14 3.33 3.33 14z"})),"e1"),C=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"e2046b553e9a4657",viewBox:"0 0 24 24"},e),i.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"})),"l1"),E=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0efb5aeedd4906d0",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),i.createElement("path",{fill:"#fff",d:"M6 8.25h-.75v15.5h21.5V8.25zm.75 12.98V10.76l5.4 5.21zm1.1 1.02 5.39-5.23 1.05 1.01c.49.47 1.14.67 1.74.67s1.25-.2 1.73-.66l1.04-1 5.35 5.21zm17.4-1.02-5.36-5.22 5.36-5.14zM7.86 9.75h16.4l-7.54 7.2a1 1 0 0 1-.69.25q-.45-.01-.7-.25z"})),"w1"),P=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"78ee6a251146a7fb",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M12 6.47a5 5 0 0 1 4.76 6.46l3.06 3.06A12 12 0 0 0 23 11.46 11.83 11.83 0 0 0 8.36 4.54l2.17 2.17q.7-.22 1.47-.24M3.42 2.42 2.01 3.84l2.68 2.68A12 12 0 0 0 1 11.47a11.83 11.83 0 0 0 15.31 6.68l3.43 3.43 1.41-1.41zM12 16.47a5 5 0 0 1-4.51-7.14l1.57 1.57a3 3 0 0 0 3.51 3.5l1.57 1.57q-.98.49-2.14.5m2.97-5.33a3 3 0 0 0-2.64-2.64z"})),"p1"),I=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"26ac15f172ebc6f3",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M12 4.5C7 4.5 2.73 7.61 1 12a11.83 11.83 0 0 0 22 0c-1.73-4.39-6-7.5-11-7.5M12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10m0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6"})),"E1"),M=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"83b36d60cfea0adf",viewBox:"0 0 20 20"},e),i.createElement("path",{fill:"currentColor",d:"M9 15h2V9H9zm1-15a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16M9 7h2V5H9z"})),"V1"),T=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"f479384358a860d9",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"m1 8.55 2 2a12.73 12.73 0 0 1 18 0l2-2a15.57 15.57 0 0 0-22 0m8 8 3 3 3-3a4.24 4.24 0 0 0-6 0m-4-4 2 2a7.07 7.07 0 0 1 10 0l2-2a9.9 9.9 0 0 0-14 0"})),"C1"),A=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"baddbaa17d236bd5",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M12.67 12.67H3.33V3.33H8V2H2v12h12V8h-1.33zM9.33 2v1.33h2.4L5.17 9.9l.94.94 6.56-6.56v2.4H14V2z"})),"B1"),D=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"eee2db508cfad3d9",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M13 3H6v18h4v-6h3a6 6 0 0 0 0-12m.2 8H10V7h3.2a2 2 0 0 1 2 2 2 2 0 0 1-2 2"})),"R1"),N=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"7298441672cb1923",viewBox:"0 0 24 24"},e),i.createElement("circle",{cx:12,cy:12,r:12,fill:"transparent"}),i.createElement("path",{fill:"currentColor",d:"M17.9 15.8c-.2-.1-.2-.1-1.2-.7 0 0-.8.2-1.8.4 0 0 0 .1.1.1v.1h-.2v.1l-.6-.5v-.2l-.1-.4.1-.2V14l-.6.6 1.9-2.2-.6-.1h1c.1.1.3.2.5.1l-.2-.3.1-.1c.1 0 .2 0 .2.1q.15.15 0 .3c.1 0 .2-.1.3-.2s.1-.4 0-.5l-.3-.3c0-.3-.1-.5-.4-.6-.5-.2-.9-.4-.9-.4h-1.3l1.3-.2.4-.3 1.5-.6s.1 0 .1-.1l.1-.1.8-2.1 1.8-2.4-1.2.8.5-1-.8 1.1.1-1.1-.3 1.1-.5-1.1.3 1.3v.6l-.1-.6-.8-1.3.6 1.4v1l-.1-1-1-1.3.9 1.4.1 1.4-.9-1.3-1.2-1.2 1 1.3.1 1.7-.3-1.6-1.2-1 1 1.1.2 1.7-.4-1.6-1.2-.8 1 .9.3 1.7-.5-1.6-1.1-.6 1 .7.3 1.7-.5-1.5-1.1-.4.9.5.4 1.5-.6-1.4-1-.2.8.3.4 1.4-.7-1.1-.9-.1.7.2.5 1.1-.7-.9h-.8l.6.1.6.8-.7-.6-.8.2h.7l.5.8-.8-.4-.9.1h.8l.7.4-.7-.2-1.2.2H13l.7.3-.7.1-1.8.3 1.4.1-1.1.2h.8l-.9.2.4.5-.8-.7-2.2-3-2-1-1.7-1.3-.4-1.3.2 1.5.8 1.2-1.2-.9-.5-1 .2 1.2.5 1-1-.8-.4-.6.2.9.5.8-.9-.5-.4-.4.3.7.4.5-.5-.1.9.9H3l1.1.7h-.5l1.2.5-.4.2 3 .2H5.7v.3h2.1l-1.5.2-.1.4 2-.3-1.6.4v.5l2.1-.6-1.7.8v.4l2.1-.9-1.7.9.1.4 2.1-1-1.7 1.1.1.4 2-1.1-1.5 1 .1.5 1.6-1-1.1.8.2.4.8-.5-.3.3.1.3.2-.1.3-.1.1-.1h.2l.1-.1v-.8.8l-.1.1h-.2c-.1.1-.3.1-.4.2l-2.3.9-1.5 2.4.1.1 1.7-1.9-1 1.5.6-.1.9-1.4-.7 1.3h.6l.6-1.3-.2 1.3h.6l.4-1.2-.2 1.2.6-.1.1-1.1v1l.4-.2-.1-.8.2.7.2.1.1.3.2.1.4.3.1.1-.2-.1c-.9.2-1.7.5-2.5.7l.9.5.4.2.2.1s.1 0 .1.1c0 0 .1.1.1.2v.2-.2s0-.1-.1-.1l-.1-.1c-.1 0-.1-.1-.2-.1l-.4-.2-.3-.1-.8.2c-.3.1-.3.5 0 .6.4.2.8.3 1.2.4.1.1.3.1.4.1.2 0 .3-.1.4-.1l1.1-.5c.7-.4 1.8-1.2 1.8-1.2l-.8.8q.9-.45 1.5-.6c.4-.2.8-.5 1.2-.7l-.6.5c.6-.1 1.7-.2 2.3-.2.7-.1.8-.8.4-1M16 11.3l.3.3v.1c-.2-.1-.3-.2-.3-.4m-.7-.3s.1 0 0 0q.15 0 0 0 .15 0 0 0l.1-.1v.1h-.2zq0 .15 0 0 0 .15 0 0m0 .8s0-.1 0 0q0-.15 0 0l.1-.1h.1c-.1.1-.1.1-.2.1q.15 0 0 0 .15 0 0 0c.1 0 .1.1 0 0l.1.1v-.1zM5.4 5.4l.9 1.2 1.5.7-1.6-.6zM4 6.4l1 .9 1.9.6-2-.5zm-.5.5 1 .8 2.3.6-2.4-.4zm.2 1.3 3.2.6-2.4-.3zM7 9.3l-1.6-.2-.9-.2zm.1-1.7L5.4 7l-.7-1 .8.9zm.2.6v-.4.2l.7-.4zm.1.5v-.4.2l1-.5zm.3.5v-.4.2l1-.6zm.4.5v-.4.2l1-.5zm.6.3v-.4.2l.9-.5zm.5.4V10v.2l.8-.4zm.6.3v-.4.2l.5-.2zm.4.4v-.3.2l.4-.2zm.3.3v-.3.1l.5-.2zm.3.8V12v.1l.2-.1zm-.1-.4v-.2.1l.3-.2zm-1.2 2.5v-.1h-.1.3zm.7 0v-.1h-.1.3zm.2 4.1-.3-.1-.3-.1-.5-.2.5-.1-.3.1.4.2c.1 0 .2.1.2.1zm2.7-4.5v-.1H13l.3-.1zm-.6-.7.5-.2-.3.4v-.2zm-.2.9.2-.1-.2.2zm.1-1.7.5-.2-.3.4v-.2zm1.2.9v-.1h-.1l.3-.1zm.4-1.2V12h-.1.3zm.4-1.3h.3l-.2.2zm-.2 1.8-.2.2v-.1h-.1zm0-1.4-.3.2.1-.2-.2-.1zm-.5-.6h.3l-.2.2.1-.1zm-.1 1.8-.2.3v-.2h-.2zm0-.8-.3.4.1-.2h-.2zm-.2-.5-.3.2.1-.2H13zm-.6-.5h.3l-.2.2zm-.1.9-.3.4.1-.2-.2-.1zm-.8 2.1.4-.1-.3.3.1-.2zm.2-2.7h.4l-.3.2.1-.2zm0 2-.2.3V13h-.2zm-.1-.7-.2.3v-.2h-.2zm-.5-.5.3-.1-.2.2v-.1zm-.8 2.2v-.1h-.1.3zm.2.5v-.1h-.1.3zm.3-.9v-.1h-.1.3zm.2.5v-.1l-.1-.1h.3zm.3.5v-.1h-.1.3zm-1.1 2.6h-.4zc.1-.1.2-.1.2-.2h.1c.1 0 .2-.1.3-.1s.2-.1.3-.1h.5-.2l-.2.1h-.2c-.1 0-.2.1-.3.1H11l-.1.1h-.1zm2.7-.5-.3.1-.1.1c-.1 0-.1.1-.2.1l-.5.1-.3.1-.2.1c-.1 0-.1 0-.1.1h-.1l-.1.1h-.1c-.1 0-.1 0-.2.1h-.2.2l.2-.1.2-.1h.1l.1-.1.2-.1c.1 0 .2-.1.3-.1l.5-.2h.2l.2-.1zl.1-.1zm-1.1-.5q.15 0 0 0 .15 0 0 0 .15 0 0 0h.1v.2c0-.2 0-.2-.1-.2m.8-.2s.1 0 0 0c.1 0 .1 0 .1.1v.1zq0 .15 0 0c0 .1-.1 0 0 0h-.3v.2l-.3-.4-.2-.9.7.8h.2l.6.3zm1-.3q.15 0 0 0 .15 0 0 0h.1s.1 0 .1.1v.2zm.9.6h-.1c-.1 0-.2.1-.3.1s-.2 0-.3.1h-.1.1c.1 0 .2-.1.3-.1h.4zm.3-.4c.1-.1.1-.1.2-.1s.3-.1.4-.1h.6-.6c-.1.1-.3.2-.6.2m1.8 0h-1.6 1.8z"})),"U1"),_=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0037bedec2de6f05",fill:"none",viewBox:"0 0 32 32"},e),i.createElement("path",{fill:"currentColor",d:"M16 32c8.75 0 16-7.26 16-16S24.74 0 15.98 0A16.1 16.1 0 0 0 0 16c0 8.74 7.26 16 16 16M9.82 18.93c0-1.66 1.35-3.45 3.6-4.26l.26-3.67a9 9 0 0 1-2.5-1.9 1.3 1.3 0 0 1-.34-.83c0-.49.38-.83.94-.83h8.44c.58 0 .94.34.94.83q0 .38-.31.81A9 9 0 0 1 18.34 11l.26 3.67c2.23.81 3.58 2.6 3.58 4.26 0 .68-.44 1.12-1.16 1.12h-4.05v2.8c0 1.71-.69 3.11-.97 3.11s-.97-1.4-.97-3.1v-2.81h-4.05c-.7 0-1.16-.44-1.16-1.12"})),"a2"),z=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"211732ec9c9d83a7",viewBox:"0 0 48 48"},e),i.createElement("circle",{cx:24,cy:24,r:24,fill:"currentColor"}),i.createElement("path",{fill:"#fff",d:"M36 24 18 34.4V13.6z"})),"o2"),F=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"6a49491804b3acd3",viewBox:"0 0 32 32"},e),i.createElement("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),i.createElement("path",{fill:"#fff",d:"m24 16-12 6.93V9.03z"})),"r2"),$=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"2a6eec0cdd7b601d",fill:"none",viewBox:"0 0 13 12"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.55 0a6 6 0 1 0 0 12 6 6 0 0 0 0-12m3 6.6h-2.4V9h-1.2V6.6h-2.4V5.4h2.4V3h1.2v2.4h2.4z",clipRule:"evenodd"})),"h2"),R=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"a1fb917166754377",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.2 6h-2.4v4.8H6v2.4h4.8V18h2.4v-4.8H18v-2.4h-4.8zM12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 21.6a9.6 9.6 0 1 1 0-19.2 9.6 9.6 0 0 1 0 19.2",clipRule:"evenodd"})),"i2"),L=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"5d2898fd2975cbd0",viewBox:"0 0 24 24"},e),i.createElement("circle",{cx:12,cy:12,r:12,fill:"currentColor"}),i.createElement("path",{fill:"#fff",d:"M18 13.2h-4.8V18h-2.4v-4.8H6v-2.4h4.8V6h2.4v4.8H18Z"})),"g2"),B=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"7a455166757b1edf",viewBox:"0 0 24 24"},e),i.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"})),"S2"),H=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"6985050be5599f40",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M16 6v8h3v8h2V2c-2.76 0-5 2.24-5 4m-5 3H9V2H7v7H5V2H3v7a4 4 0 0 0 4 4v9h2v-9a4 4 0 0 0 4-4V2h-2z"})),"p2"),K=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"975c8650d1b1aad7",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M2 17h20v2H2zm11.84-9.21Q14 7.42 14 7a2 2 0 0 0-2-2 2 2 0 0 0-1.84 2.79A9 9 0 0 0 3 16h18a9 9 0 0 0-7.16-8.21"})),"E2"),q=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"a18fc51ec03f4cbb",viewBox:"0 0 13 12"},e),i.createElement("circle",{cx:6.5,cy:6,r:5.5,fill:"none",stroke:"currentColor"})),"u2"),V=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"316f95f9c42d8b1c",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M15.49 9.63A11.8 11.8 0 0 0 12.06 2a12.2 12.2 0 0 0-3.55 7.63q1.93 1.02 3.49 2.63a14 14 0 0 1 3.49-2.63m-6.5 2.65-.45-.29zM12 15.45A12 12 0 0 0 2 10a12.2 12.2 0 0 0 10 12q1.02-.18 1.97-.51A12.2 12.2 0 0 0 22 10c-4.18 0-7.85 2.17-10 5.45"})),"M2"),W=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"569f5f7b59cd42cd",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"m22 10.24-7.19-.62L12 3 9.19 9.63 2 10.24l5.46 4.73L5.82 22 12 18.27 18.18 22l-1.63-7.03zM12 16.4V7.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"})),"C2"),U=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"58ccbfa1c2bbd3a4",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"m22 10.24-7.19-.62L12 3 9.19 9.63 2 10.24l5.46 4.73L5.82 22 12 18.27 18.18 22l-1.63-7.03zM12 16.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 7.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"})),"B2"),G=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"730b1bf98edbef68",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M12 18.27 18.18 22l-1.64-7.03L22 10.24l-7.19-.61L12 3 9.19 9.63 2 10.24l5.46 4.73L5.82 22z"})),"L2"),J=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"e4745c81352fee10",fill:"none",viewBox:"0 0 32 32"},e),i.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:.3,d:"M15.68 6.16c-.05-2.08 2.37-3.4 4.03-2a3 3 0 0 1 .86 1.6v5.32a2.5 2.5 0 0 1 3.32 1.12 2.44 2.44 0 0 1 3.61 1.24 2.45 2.45 0 0 1 3.67 1.67v.04c-.06 1.31-.01 2.68.03 4.05s.07 2.73-.02 4.05a9.1 9.1 0 0 1-8.31 8.23H21.2a9 9 0 0 1-4.25-1.5A11 11 0 0 1 14 26.63c-1.97-3.23-3.78-6.6-5.63-9.88l-.01-.03v-.03a1.5 1.5 0 0 1 .27-1.12 2 2 0 0 1 .91-.62 4 4 0 0 1 2.25-.05c.98.29 1.6 1 2.1 1.8q.37.62.7 1.25l.5.88.19.27v.01q.05.09.2.08t.18-.07zm3.55-.37a1.1 1.1 0 0 0-1.32-.87c-.48.08-.85.54-.9 1.03l-.05 13.41v.03l-.01.03c-.27.66-.77 1.04-1.33 1.1-.55.05-1.13-.23-1.54-.82a11 11 0 0 1-.7-1.23q-.34-.67-.73-1.26-.4-.59-.92-.9-.45-.3-1.1-.26l-.18.02c-.12.01-.36.07-.56.16l-.22.14q-.04.05-.04.08l5.96 10.28A7.81 7.81 0 0 0 29.9 22.6c.06-1.15.04-2.32.02-3.5a51 51 0 0 1-.01-3.51c-.07-.82-.62-1.22-1.14-1.22s-1.08.38-1.15 1.28c0 .12 0 .34.02.57l-.04.53-.02.06c-.11.25-.4.34-.65.32a.6.6 0 0 1-.58-.5 5 5 0 0 1-.02-.84q.03-.46.04-.94.01-.46-.07-.85a1 1 0 0 0-.3-.59 1.2 1.2 0 0 0-1.15-.22c-.38.12-.68.43-.73.86v.56l.02.75a7 7 0 0 1-.06 1.04l-.06.18-.04.06a.6.6 0 0 1-.69.24.7.7 0 0 1-.5-.54 8 8 0 0 1-.02-1.61c.03-.57.07-1.12.03-1.6-.12-1.23-1.85-1.4-2.2-.19l-.05 3.47v.03l-.02.03a.7.7 0 0 1-.6.43.7.7 0 0 1-.62-.4l-.02-.03v-.03l-.06-10.66Z"}),i.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:.28,d:"M17.64.3a5.96 5.96 0 0 1 6.29 7.9c-.09.24-.22.62-.43.91q-.16.24-.4.37a.7.7 0 0 1-.55.05.7.7 0 0 1-.47-.43q-.07-.3.05-.6.1-.3.24-.58t.2-.46c1.24-4.18-3.76-7.42-7.2-4.68-1.72 1.36-1.99 3.4-1.2 5.35l.13.26q.08.15.13.3a.6.6 0 0 1-.02.37 1 1 0 0 1-.29.34 1 1 0 0 1-.42.15 1 1 0 0 1-.39-.13c-.22-.15-.4-.42-.55-.71a7 7 0 0 1-.5-1.64A5.97 5.97 0 0 1 17.64.3Z"}),i.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:.3,d:"M4.4 1.8.9 5.31l-.11.1L4.5 9.15l.1-.1.73-.73L3.04 6H10V4.83H3.04l2.3-2.3-.1-.1-.62-.63-.1-.1z"})),"k2"),Y=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"4c9e7ce0a6a001f4",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0M4.8 9l-3-3 .85-.85L4.8 7.3l4.55-4.55.85.85z",clipRule:"evenodd"})),"T2"),Q=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"04c44c08e525450f",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24M9.6 18l-6-6 1.7-1.7 4.3 4.3 9.1-9.1 1.7 1.7z",clipRule:"evenodd"})),"W2"),Z=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"193b5b1ebe76585e",viewBox:"0 0 16 16"},e),i.createElement("path",{stroke:"currentColor",strokeWidth:2,d:"m2.58 10.27 4.02 2.9M13.21 2.6 5.22 13.36"})),"_2"),X=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"3ab1fd3c65991d91",fill:"none",viewBox:"0 0 24 24"},e),i.createElement("path",{stroke:"currentColor",strokeWidth:2,d:"m4.56 15.2 6.02 3.99m8.6-14.59-10 14.85"})),"I2"),ee=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"cc5de427fe42bb4f",fill:"none",viewBox:"0 0 32 32"},e),i.createElement("path",{stroke:"currentColor",strokeWidth:3,d:"M4.83 20.82 14 26.85M26.76 4.87 11.98 27.26"})),"G2"),te=l(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"87c733016f82047e",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M.67 14.33h14.66L8 1.67zm8-2H7.33V11h1.34zm0-2.66H7.33V7h1.34z"})),"e0")},10962:(e,t,n)=>{"use strict";n.d(t,{J4:()=>o,fP:()=>a,fl:()=>s});var r=n(57911),i=n(83239);const o=new i.b(r.gv),a=new i.b(r.sU),s=new i.b(r.fL)},11085:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,i=n(7378);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",id:"33595d142f87b29e",viewBox:"0 0 16 16"},e),r||(r=i.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"})))},11537:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var r=n(82075),i=n(48821),o=(n(7378),n(64543)),a=n(14725),s=n(88107),l=n(86106);const c=["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,o.styled)(a.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;}"]),g=(0,o.styled)(e=>{let{className:t,children:n="Submit",disabled:r,type:o,withState:d,formElementRef:g}=e,f=(0,i.A)(e,c);return(0,l.jsx)(p,{className:t,children:(0,l.jsxs)(m,u(u({className:s.lr,size:a.Zz,name:"submitBtn",type:o||a.HM,disabled:r||!1,ref:g},f),{},{children:[(0,l.jsx)("span",{className:"btn-text",children:n}),(0,l.jsx)(h,{className:"btn-loader"})]}))})}).withConfig({componentId:"sc-104flan-3"})([""])},11652:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(17083),i=n(86106);const o=({children:e})=>(0,i.jsx)(r.m,{async:true,children:e})},12312:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64543),i=n(14847);n(62892);const o=r.styled.span.withConfig({componentId:"sc-1vkqptb-0"})(["",""],i.Qg)},12700:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,d;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;for(d=e.entries();!(l=d.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},12746:(e,t,n)=>{var r=n(212),i=n(9185),o=n(68110),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},13322:(e,t,n)=>{"use strict";n.d(t,{A:()=>j,q:()=>h});var r=n(82075),i=n(86106),o=n(9976),a=n(64543),s=n(16708),l=n(90632),c=n(62892);n(7378),n(96120),n(75829);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}var u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),h=(e=>(e.FACEBOOK="facebook",e.X="x",e.WHATSAPP="whatsapp",e.EMAIL="email",e.TEST="test",e))(h||{});const m={email:o.w,facebook:o.d,whatsapp:o.v,x:o.g,test:void 0},g=p(e=>{if(!m[e])throw new Error(`No icon for ${e}`);return m[e]},"getSvg"),f=p(e=>e===h.EMAIL?"Share via email":`Share on ${e[0].toUpperCase()+e.slice(1)}`,"getLabel"),y=a.styled.a.withConfig({componentId:"sc-1rz9umn-0"})(["width:32px;"," @media ","{&.mobile-only{display:none;}}"],({theme:e,$type:t})=>{const{base:n,alt:r}=t&&e.color.social[t]?e.color.social[t]:e.color.actionBrand;return(0,a.css)(["&,&:focus{color:",";}&:hover,&:active,&:focus-visible{color:",";}"],n,r)},c.t),b=(0,a.styled)(s.I).attrs({size:l.e}).withConfig({componentId:"sc-1rz9umn-1"})([""]),v=p(({type:e,url:t,withThemeColors:n,className:r})=>{const o=f(e),a=g(e);return(0,i.jsx)(y,{href:t,target:"_blank",rel:"noreferrer","aria-label":o,$type:n?void 0:e,className:r,type:e,children:(0,i.jsx)(b,{svg:a})})},"ShareButton"),x=a.styled.div.withConfig({componentId:"sc-fj6e1f-0"})(["display:flex;gap:","px;"],({theme:e})=>e.spacing.x1_5),w=(0,a.styled)(x).withConfig({componentId:"sc-fj6e1f-1"})(["flex-direction:column;"]),j=p(({buttons:e,withThemeColors:t=!1,mobileOnlyButtons:n=[],isVertical:o})=>Array.isArray(e)&&null!=e&&e.length?(0,i.jsx)(o?w:x,{children:e.map((e,o)=>(0,i.jsx)(v,function(e){for(var t=1;t{"use strict";n.d(t,{W:()=>r});const r=n(64543).styled.span.withConfig({componentId:"sc-1nbs17v-0"})(["",";display:block;"],({theme:e,$size:t="base",$variant:n="base"})=>e.textStyle.tag[t][n])},14389:(e,t,n)=>{"use strict";n.d(t,{I8:()=>o,Wd:()=>r,mv:()=>i});const r="independent.co.uk",i="independentespanol.com",o="the-independent.com"},14725:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r.B,Gp:()=>i,HM:()=>r.g,VN:()=>r.a,YG:()=>r.i,Zz:()=>r.d,pv:()=>r.e,wW:()=>r.b});var r=n(83236);n(86106),n(71707),n(2323),n(48484),n(7486),n(25730),n(90632),n(78174),n(28048),n(62892),n(23950),n(7939),n(76941),n(7378),n(9976),n(16708),n(96120),n(75829);const{premium:i}=r.t},14847:(e,t,n)=>{"use strict";n.d(t,{QX:()=>u,Qg:()=>l,TH:()=>p,dN:()=>h,xv:()=>c});var r=n(64543),i=n(62892),o=Object.defineProperty,a=(e,t)=>o(e,"name",{value:t,configurable:!0});const s=(0,r.css)(["display:none;"]),l=(0,r.css)(["position:absolute;overflow:hidden;width:0.01em;height:0.01em;padding:0;border:none;clip:rect(0,0,0,0);white-space:nowrap;"]),c=(0,r.css)(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);function d(e,t){return Object.values(i.d).includes(e)?(0,r.css)(["@media ","{","}"],e,t):(console.warn(`No such feature: "${e}"`),null)}a(d,"mq"),a(function(e){return d(e,s)},"hiddenOn"),a(function(e){return d(e,l)},"visuallyHiddenOn");const u=(0,r.css)(["--scroll-thumb-width:4px;--scroll-track-width:0;--scroll-track-bg:",";--scroll-thumb-bg:",";@media ","{--scroll-track-width:16px;}&::-webkit-scrollbar{width:var(--scroll-width);}&::-webkit-scrollbar-track{background:var(--scroll-track-bg);}&::-webkit-scrollbar-thumb{border:solid var(--scroll-track-bg);border-width:0 calc((var(--scroll-track-width) - var(--scroll-thumb-width)) / 2);border-radius:2px;background:var(--scroll-thumb-bg);&:hover{border-width:0;}}"],e=>e.theme.color.canvas.base,e=>e.theme.color.ink.base,i.t),p=(0,r.css)(["scrollbar-width:none;&::-webkit-scrollbar{display:none;}"]),h=(0,r.css)(["display:grid;grid-template-rows:",";transition:",";"],({$isActive:e})=>e?"1fr":"0fr",({theme:e})=>e.transition.gridDropdown)},14971:(e,t,n)=>{"use strict";n.d(t,{Ri:()=>r,TV:()=>i});const r=(e,t=null)=>{const n=`; ${document.cookie}`.split(`; ${e}=`);return 2===n.length?decodeURIComponent(n.pop().split(";").shift()):t},i=(e,t,n)=>{const r=new Date;if(n){const e=n.days?24*n.days*60*60*1e3:60*n.hours*60*1e3;r.setTime(r.getTime()+e)}const i=[];i.push(`${e}=${encodeURIComponent(t)}`),i.push("path=/"),i.push("secure"),n&&i.push(`expires=${r.toGMTString()}`),document.cookie=i.join(";")}},15124:(e,t,n)=>{var r=n(16412),i=n(69474),o=n(15861),a=n(9185);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15406:(e,t,n)=>{"use strict";n.d(t,{H_:()=>s,R1:()=>p,R9:()=>c,d_:()=>a,fP:()=>u,hk:()=>l,oW:()=>o,oj:()=>d,sY:()=>i});var r=n(15406);const i=e=>{if(new RegExp(/(\/){2,}/).test(e))throw new Error("Path contains double slashes")},o=async(e,t,n=window.location)=>(i(e),await fetch(`/internal-api${e}?__amp_source_origin=${n.protocol}//${n.host}`,{method:"POST",body:new URLSearchParams(t)})),a=async(e,t)=>(r.sY(e),await fetch(`/api${e}`,{method:"POST",body:new URLSearchParams(t)})),s=async(e,t)=>{var n;null===(n=window.__XDOMAIN_LOGIN__)||void 0===n||n.doCrossDomainLogin(e,t)},l=async({path:e,data:t,isInternalApi:n=!0})=>{const i=(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),o=n?r.oW:r.d_,a=await o(e,i),s=await(async e=>{try{return await e.json()}catch(e){throw new Error}})(a);return{res:a,resJson:s}},c=(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),i=n.verifyErrors||[],o=r.R9(t,n),a=!o&&0===i.length;return r.oj(t,a),{formError:o,fieldErrors:i}},p=async e=>{const{res:t,resJson:n}=await r.hk(e),i=n.fieldErrors,o=r.R9(t,n),a=!o&&!i;return r.oj(t,a),{formError:o,fieldErrors:i}}},15428:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},15752:(e,t,n)=>{"use strict";n.d(t,{C:()=>C,L:()=>M,N:()=>x,P:()=>k,R:()=>T,S:()=>f,W:()=>S,a:()=>I,b:()=>E,c:()=>A,d:()=>D,e:()=>N,i:()=>v,k:()=>O});var r=n(82075),i=n(48821),o=n(64543),a=n(86106),s=n(41070),l=n(83236);const c=["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=o.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),g=(0,o.styled)(s.A).withConfig({componentId:"sc-9v2uux-1"})(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);white-space:nowrap;"]),f=h(e=>{let{children:t,badgeText:n,className:r}=e,o=(0,i.A)(e,c);return(0,a.jsxs)(m,u(u({className:r},o),{},{children:[n&&(0,a.jsx)(g,{children:n}),t]}))},"SubscriptionPricingCard"),y=o.styled.div.withConfig({componentId:"sc-1w9v1i3-0"})([""]),b=o.styled.div.withConfig({componentId:"sc-1w9v1i3-1"})(["display:flex;align-items:center;justify-content:center;gap:","px;"],({theme:e})=>e.spacing.x1),v=o.styled.h2.withConfig({componentId:"sc-1w9v1i3-2"})(["margin:0 0 ","px;font:",";text-align:center;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.subscriptionPricingCard.pricingDetails.subscriptionLength),x=o.styled.p.withConfig({componentId:"sc-1w9v1i3-3"})(["margin:0 0 ","px;font:",";text-align:center;word-break:break-word;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.subscriptionPricingCard.pricingDetails.normalDiscountedPricing),w=o.styled.del.withConfig({componentId:"sc-1w9v1i3-4"})(["margin-right:4px;color:",";"],({theme:e})=>e.color.ink.muted),j=o.styled.ins.withConfig({componentId:"sc-1w9v1i3-5"})(["text-decoration:none;"]),O=o.styled.p.withConfig({componentId:"sc-1w9v1i3-6"})(["margin:0 0 ","px;color:",";font:",";text-align:center;"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.subscriptionPricingCard.pricingDetails.continuedPrice),k=h(({className:e,subscriptionLength:t,normalPrice:n,discountedPrice:r,continuedPrice:i,children:o})=>(0,a.jsxs)(y,{className:e,children:[(0,a.jsxs)(b,{children:[(0,a.jsx)(v,{children:t}),o]}),(0,a.jsxs)(x,{children:[(0,a.jsx)(w,{children:n}),(0,a.jsx)(j,{children:r})]}),(0,a.jsx)(O,{children:i})]}),"PricingDetails"),S=(0,o.styled)(f).withConfig({componentId:"sc-18f33di-0"})(["display:flex;flex-direction:column;padding:","px;"],({theme:e})=>e.spacing.x2),C=(0,o.styled)(l.B).withConfig({componentId:"sc-13yvbxd-0"})(["width:100%;margin-top:auto;"]),E="is-selected",P="500px",I=o.styled.div.withConfig({componentId:"sc-1oikce1-0"})(["*{box-sizing:border-box;}"]),M=o.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:8px;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.color.canvas.secondary,E,({theme:e})=>e.color.primary.base,({theme:e})=>e.color.canvas.card,P,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1),T=o.styled.input.attrs({type:"radio",name:"subscription"}).withConfig({componentId:"sc-1oikce1-2"})(["position:absolute;right:0;opacity:0;outline:none;&:focus + ","{border-color:",";}"],M,({theme:e})=>e.color.semiotic.info),A=(0,o.styled)(k).withConfig({componentId:"sc-1oikce1-3"})(["","{justify-content:flex-start;margin-bottom:","px;@media (min-width:","){justify-content:center;margin-bottom:","px;}}","{margin:0;font:",";letter-spacing:",";text-transform:uppercase;@media (max-width:","){position:relative;top:1px;}}","{margin-bottom:","px;font:",";letter-spacing:",";text-align:left;@media (min-width:","){margin-bottom:","px;text-align:center;}}","{margin-bottom:0;font:",";text-align:left;@media (min-width:","){margin-bottom:","px;text-align:center;}}"],b,({theme:e})=>e.spacing.x0_5,P,({theme:e})=>e.spacing.x1,v,({theme:e})=>e.textStyle.subscriptionPricingCard.radioButtonVariant.pricingDetails.subscriptionLength.font,({theme:e})=>e.textStyle.subscriptionPricingCard.radioButtonVariant.pricingDetails.subscriptionLength.letterSpacing,P,x,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.textStyle.subscriptionPricingCard.radioButtonVariant.pricingDetails.normalDiscountedPricing.font,({theme:e})=>e.textStyle.subscriptionPricingCard.radioButtonVariant.pricingDetails.normalDiscountedPricing.letterSpacing,P,({theme:e})=>e.spacing.x1,O,({theme:e})=>e.textStyle.subscriptionPricingCard.radioButtonVariant.pricingDetails.continuedPrice,P,({theme:e})=>e.spacing.x1),D=(0,o.styled)(s.A).withConfig({componentId:"sc-1oikce1-4"})(["white-space:nowrap;@media (min-width:","){position:absolute;top:0;left:50%;transform:translate(-50%,-50%);}"],P),N=o.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,P,E,({theme:e})=>e.color.semiotic.success)},15861:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e{e.exports=function(e,t){return e===t||e!=e&&t!=t}},16708:(e,t,n)=>{"use strict";n.d(t,{I:()=>g});var r=n(82075),i=n(48821),o=n(86106),a=n(90632),s=n(64543),l=n(96120);const c=["svg","size"];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=(0,s.styled)(l.U).withConfig({componentId:"sc-culv3z-0"})(["display:block;color:currentColor;"]),g=h(e=>{let{svg:t,size:n=a.S}=e,r=(0,i.A)(e,c);const s=a.g[n];return(0,o.jsx)(m,u(u({},r),{},{svg:t,width:s,height:s}))},"Icon");g.displayName="Icon"},17083:(e,t,n)=>{"use strict";var r=n(766);t.m=void 0;var i=r(n(7378)),o=n(30054),a=n(69629);t.m=function(e){var t=e.children,n=e.async;return void 0!==n&&n?i.default.createElement(o.Helmet,null,t):i.default.createElement(a.Helmet,null,t)}},18087:(e,t,n)=>{"use strict";n.d(t,{B:()=>g,C:()=>y,D:()=>v,T:()=>f,a:()=>x,b:()=>b});var r=n(48821),i=n(82075),o=n(86106),a=n(7378),s=n(50082),l=n(64543),c=n(14847);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 g=l.styled.div.withConfig({componentId:"sc-1wl0eko-0"})([""]),f=l.styled.div.withConfig({componentId:"sc-1wl0eko-1"})(["--color:",";color:var(--dropdown-trigger-color,var(--color));cursor:pointer;&[aria-disabled='true']{--dropdown-trigger-color:",";}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.color.actionBrand.disabled),y=l.styled.div.withConfig({componentId:"sc-1wl0eko-2"})(["",""],c.dN),b=l.styled.div.withConfig({componentId:"sc-1wl0eko-3"})(["overflow:hidden;min-height:var(--dropdown-content-initial-height);"]),v=m(({id:e,className:t,trigger:n,triggerRef:r,innerContentRef:i,children:l,isOpen:c=!1,disabled:d=!1,onInteract:u,onArrowDown:h,role:m,hidden:v})=>{const x=`__dropdown_${e}_trigger__`,w=`__dropdown_${e}_content__`,j=(0,a.useCallback)(e=>(0,s.h)({event:e,disabled:d,onInteract:u,onArrowDown:h}),[u,h,d]);return(0,o.jsxs)(g,p(p({id:e,className:t},m&&{role:m}),{},{children:[n&&(0,o.jsx)(f,{id:x,ref:r,role:"button","aria-controls":w,"aria-expanded":c,"aria-disabled":d,onClick:j,onKeyDown:j,tabIndex:d?-1:0,children:n}),l&&(0,o.jsx)(y,{id:w,"aria-labelledby":x,"aria-hidden":v||!c,$isActive:c,children:(0,o.jsx)(b,{ref:i,children:l})})]}))},"Dropdown"),x=m(e=>{let{defaultOpen:t=!1}=e,n=(0,r.A)(e,d);const[i,s]=(0,a.useState)(t);return(0,o.jsx)(v,p(p({},n),{},{isOpen:i,onInteract:m(()=>s(e=>!e),"onInteract")}))},"DropdownStateful")},18101:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,p:()=>s});var r=n(99842),i=n(42944);const o="eager",a="lazy",s={[o]:700,[a]:100},l=(e,t)=>{(0,r.hydrateComponentList)(e,{StateProvider:t,Wrapper:i.A,rootMargins:s})}},18514:(e,t,n)=>{"use strict";n.d(t,{$S:()=>r});const r="https://www.independent.co.uk"},18630:(e,t,n)=>{"use strict";n.d(t,{U$:()=>a});var r=n(88107);const i=()=>{var e;null===(e=document.querySelector(`.${r.Wd}`))||void 0===e||null===(e=e.classList)||void 0===e||e.remove(r.Wh)},o=()=>{var e;null===(e=window.braze)||void 0===e||e.openSession(),Notification.requestPermission(),i()},a=()=>{const e=document.querySelector(`.${r.ve}`),t=document.querySelector(`.${r.fv}`);null==e||e.addEventListener("click",o),null==t||t.addEventListener("click",()=>i())}},18894:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=Object.defineProperty;const i=((e,t)=>r(e,"name",{value:t,configurable:!0}))((e,t,n)=>Math.min(Math.max(n,e),t),"clamp")},20239:()=>{IntlPolyfill.__addLocaleData({locale:"en-GB",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:!0,hour12:!1,formats:{short:"{1}, {0}",medium:"{1}, {0}",full:"{1} 'at' {0}",long:"{1} 'at' {0}",availableFormats:{d:"d",E:"ccc",Ed:"E d",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"d MMM y G",GyMMMEd:"E, d MMM y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"dd/MM",MEd:"E, dd/MM",MMdd:"dd/MM",MMM:"LLL",MMMd:"d MMM",MMMEd:"E, d MMM",MMMMd:"d MMMM",ms:"mm:ss",y:"y",yM:"MM/y",yMd:"dd/MM/y",yMEd:"E, dd/MM/y",yMMM:"MMM y",yMMMd:"d MMM y",yMMMEd:"E, d MMM y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},dateFormats:{yMMMMEEEEd:"EEEE, d MMMM y",yMMMMd:"d MMMM y",yMMMd:"d MMM y",yMd:"dd/MM/y"},timeFormats:{hmmsszzzz:"HH:mm:ss zzzz",hmsz:"HH:mm:ss z",hms:"HH:mm:ss",hm:"HH:mm"}},calendars:{buddhist:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["BE"],short:["BE"],long:["BE"]},dayPeriods:{am:"am",pm:"pm"}},chinese:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"am",pm:"pm"}},coptic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],long:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"am",pm:"pm"}},dangi:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"am",pm:"pm"}},ethiopic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"am",pm:"pm"}},ethioaa:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0"],short:["ERA0"],long:["ERA0"]},dayPeriods:{am:"am",pm:"pm"}},generic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],long:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"am",pm:"pm"}},gregory:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["B","A","BCE","CE"],short:["BC","AD","BCE","CE"],long:["Before Christ","Anno Domini","Before Common Era","Common Era"]},dayPeriods:{am:"am",pm:"pm"}},hebrew:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],short:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"],long:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AM"],short:["AM"],long:["AM"]},dayPeriods:{am:"am",pm:"pm"}},indian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],long:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Saka"],short:["Saka"],long:["Saka"]},dayPeriods:{am:"am",pm:"pm"}},islamic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"am",pm:"pm"}},islamicc:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"am",pm:"pm"}},japanese:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","M","T","S","H"],short:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"],long:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"]},dayPeriods:{am:"am",pm:"pm"}},persian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],long:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AP"],short:["AP"],long:["AP"]},dayPeriods:{am:"am",pm:"pm"}},roc:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Before R.O.C.","Minguo"],short:["Before R.O.C.","Minguo"],long:["Before R.O.C.","Minguo"]},dayPeriods:{am:"am",pm:"pm"}}}},number:{nu:["latn"],patterns:{decimal:{positivePattern:"{number}",negativePattern:"{minusSign}{number}"},currency:{positivePattern:"{currency}{number}",negativePattern:"{minusSign}{currency}{number}"},percent:{positivePattern:"{number}{percentSign}",negativePattern:"{minusSign}{number}{percentSign}"}},symbols:{latn:{decimal:".",group:",",nan:"NaN",plusSign:"+",minusSign:"-",percentSign:"%",infinity:"∞"}},currencies:{AUD:"A$",BRL:"R$",CAD:"CA$",CNY:"CN¥",EUR:"€",GBP:"£",HKD:"HK$",ILS:"₪",INR:"₹",JPY:"JP¥",KRW:"₩",MXN:"MX$",NZD:"NZ$",TWD:"NT$",USD:"US$",VND:"₫",XAF:"FCFA",XCD:"EC$",XOF:"CFA",XPF:"CFPF"}}})},20354:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(82075),i=n(48821),o=n(86106),a=n(7378),s=n(9976),l=(n(16708),n(90632)),c=n(73108),d=n(31357),u=n(64543),p=n(6324),h=n(41040),m=n(63122);n(96120),n(75829),n(25584),n(86885),n(13470),n(18894),n(14847),n(62892),n(25730),n(78174);const g=["ref","href","title","image","isSponsored"],f=["className","items","title","renderSlide"];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 b(e){for(var t=1;tv(e,"name",{value:t,configurable:!0});const w=(0,u.styled)(p.A).withConfig({componentId:"sc-neq4w9-0"})(["display:flex;width:","px;flex-direction:column;row-gap:","px;"],126,({theme:e})=>e.spacing.x1),j=u.styled.div.withConfig({componentId:"sc-neq4w9-1"})(["img{display:block;object-fit:cover;}"]),O=u.styled.p.withConfig({componentId:"sc-neq4w9-2"})(["margin:0;color:inherit;",";"],({theme:e})=>e.textStyle.relatedStoriesHeadline.base),k=u.styled.span.withConfig({componentId:"sc-neq4w9-3"})(["display:block;margin-bottom:","px;",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.textStyle.storyCard.relatedLinks.carousel),S=x(e=>{let{ref:t,href:n,title:r,image:a,isSponsored:s=!1}=e,l=(0,i.A)(e,g);return(0,o.jsxs)(w,b(b({},l),{},{ref:t,href:n,children:[(0,o.jsx)(j,{children:a}),(0,o.jsxs)(O,{children:[s&&(0,o.jsx)(k,{children:"sponsored"}),r]})]}))},"RelatedArticlesCarouselItem"),C=(0,u.styled)(h.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);}}"],h.S,({theme:e})=>e.spacing.x2,h.N,m.S,h.G,h.N),E=x(({disabled:e,onClick:t})=>(0,o.jsx)(c.A,{size:l.b,svg:s.Q,isDisabled:e,onClick:t}),"ButtonPrev"),P=x(({disabled:e,onClick:t})=>(0,o.jsx)(c.A,{size:l.b,svg:s.b,isDisabled:e,onClick:t}),"ButtonNext"),I=x(e=>{let{className:t,items:n,title:r,renderSlide:s}=e,l=(0,i.A)(e,f);return(0,o.jsx)(d.A,{className:t,title:r,children:(0,o.jsx)(C,b(b({},l),{},{ButtonPrev:E,ButtonNext:P,items:n,renderSlide:s||x(({itemIndex:e,item:t})=>(0,a.createElement)(S,b(b({},t),{},{key:e})),"defaultRenderSlide")}))})},"RelatedArticlesCarousel");var M=n(88107),T=n(62687),A=n(381);const D=({className:e,alt:t="Placeholder for missing image"})=>(0,o.jsx)(A.A,{className:e,src:"/img/placeholder.png",layout:"responsive",width:1.3,height:1,alt:t});var N=n(71945),_=n(58683);const z=I.default||I,F=({src:e,alt:t})=>{const n=(0,T.fF)(e,[126],[1,2]);return e&&"string"==typeof e?e.startsWith("data:")?(0,o.jsx)(A.A,{src:e,alt:t}):(0,o.jsx)(A.A,{src:e,srcSet:n,alt:t,width:126,height:84,layout:"fixed"}):(0,o.jsx)(D,{alt:t})};F.propTypes=_.RH;const $=({className:e,links:t,title:n,position:r})=>(0,o.jsx)(z,{className:`${e} ${N.Gc}`,title:n,items:t,renderSlide:({itemIndex:e,item:t})=>{const{href:n,title:i,sponsored:a,image:s}=t;return(0,o.jsx)(S,{className:M.J5,href:n,title:i,image:(0,o.jsx)(F,{src:s,alt:i}),isSponsored:!!a,"data-position":++e,"data-widget-position":r,"data-text":i,"data-vars-event-id":"c29","data-vars-item-name":`related - ${n}`},e)}});$.propTypes=_.go;const R=$},21005:(e,t,n)=>{"use strict";n.d(t,{c:()=>i,e:()=>o});var r=n(64543);const i=r.styled.div.withConfig({componentId:"sc-lqqm6o-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:",";background:none;appearance:none;color:",";filter:none;font:normal 16px/20px ",";-webkit-font-smoothing:antialiased;letter-spacing:0.009375em;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;font-family:",";font-size:12px;letter-spacing:normal;line-height:16px;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.fontFamily.secondaryFont,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.form.label.base,({theme:e})=>e.dimension.formField.input.paddingX,({theme:{fontFamily:e}})=>e.secondaryFont,({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),o=r.styled.div.withConfig({componentId:"sc-lqqm6o-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)},21531:(e,t,n)=>{"use strict";n.d(t,{BK:()=>r,E1:()=>o,G2:()=>u,GA:()=>s,Uc:()=>a,W:()=>l,_9:()=>d,bR:()=>p,e9:()=>c,gg:()=>h,q1:()=>i});const r="Please enter a valid email address",i="Email already in use. Log in or try another",o="Please enter a name between 1 and 40 characters",a="Special characters aren’t allowed",s="Email and password don't match",l="We couldn't log you in. Please try again later",c="Password update failed",d="Current password incorrect",u="Newsletter subscription failed.",p="There was a problem. Please try again",h="There was a problem completing your profile. Please try again"},21731:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(24936);const i=e=>{const t=t=>{if({NODE_ENV:"production",npm_config_domain:""}.SERVER===t)return(t=>{const n=[r.u0,r.Cj,r.zP,r.IJ,r.G8];return n.slice(0,n.indexOf(t)+1).reduce((t,n)=>void 0!==e[n]?e[n]:t,void 0)})(t)};return t(r.u0)||t(r.Cj)||t(r.zP)||t(r.IJ)||t(r.G8)}},22750:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},23745:(e,t,n)=>{"use strict";n.d(t,{$m:()=>s,Dk:()=>u,MI:()=>f,Nd:()=>k,Pe:()=>h,Qm:()=>l,TO:()=>b,Vq:()=>x,a:()=>p,cl:()=>w,eF:()=>m,g9:()=>S,hB:()=>y,m3:()=>g,nO:()=>O,pZ:()=>j,wE:()=>d,wK:()=>c,xN:()=>v});var r=n(82075),i=n(7378);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 a(e){for(var t=1;ti.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"ab801e9051d4a09b",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M12.72 1.43 11.28 0l-8 8 8 8 1.44-1.43L6.15 8z"})),l=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"2422b6d2ea3c94a1",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M19.07 2.15 16.92 0l-12 12 12 12 2.15-2.15L9.22 12z"})),c=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"6f4d1bc6d16cc062",viewBox:"0 0 12 12"},e),i.createElement("path",{fill:"currentColor",d:"M2.46 1.07 3.54 0l6 6-6 6-1.08-1.07L7.4 6z"})),d=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"880bed48e7887788",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M3.28 1.43 4.72 0l8 8-8 8-1.44-1.43L9.85 8z"})),u=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0cc0821d7a7ef294",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M4.93 2.15 7.08 0l12 12-12 12-2.15-2.15L14.78 12z"})),p=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"e2046b553e9a4657",viewBox:"0 0 24 24"},e),i.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"})),h=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"b3ca66bab03dc5a7",fill:"none",viewBox:"0 0 24 24"},e),i.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"})),m=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"38340ec6812b4ae6",fill:"none",viewBox:"0 0 12 12"},e),i.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"})),g=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"00b88464b3c05f4c",viewBox:"0 0 24 24"},e),i.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-24m0 21.6a9.6 9.6 0 1 1 0-19.2 9.6 9.6 0 0 1 0 19.2"})),f=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"a4432d14eb255510",fill:"none",viewBox:"0 0 24 24"},e),i.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"})),y=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0883a910e28ecfda",fill:"none",viewBox:"0 0 25 24"},e),i.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"})),b=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"1c0d55a4cf9c9f7d",fill:"none",viewBox:"0 0 24 24"},e),i.createElement("path",{d:"M19.64 2.18h3.27V12h-2.18V7.64H3.27v14.18h7.64V24H1.09V2.18h3.27V0h2.19v2.18h10.9V0h2.19z"}),i.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"})),v=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"4fdf6b935679aab8",fill:"none",viewBox:"0 0 371 33"},e),i.createElement("g",{clipPath:"url(#clip0_79_1248)"},i.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"}),i.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"}),i.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"}),i.createElement("g",{clipPath:"url(#clip1_79_1248)"},i.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"}))),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_79_1248"},i.createElement("path",{fill:"#fff",d:"M0 .29h370.41v32H0z"})),i.createElement("clipPath",{id:"clip1_79_1248"},i.createElement("path",{fill:"#fff",d:"M0 .29h32v32H0z"})))),x=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"855e4aaa91c7c6ce",fill:"none",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M16 9.14H0V6.86h16z"})),w=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"604bbf23b5d321cc",viewBox:"0 0 16 16"},e),i.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"})),j=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"2092cbabd51e7a70",fill:"none",viewBox:"0 0 16 16"},e),i.createElement("path",{fill:"currentColor",d:"M16 9.14H9.14V16H6.86V9.14H0V6.86h6.86V0h2.28v6.86H16z"})),O=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"3c01e4615cb07d23",viewBox:"0 0 16 16"},e),i.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"})),k=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"ed9d0dfb790e1400",viewBox:"0 0 16 16"},e),i.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"})),S=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",id:"0f4eb22389390ebf",viewBox:"0 0 24 24"},e),i.createElement("path",{fill:"currentColor",d:"M24 4.8h-3.6v10.8H4.8v3.6h14.4L24 24zm-6 8.4V0H0v18l4.8-4.8z"}))},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,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l{"use strict";n.d(t,{Q$:()=>c,ax:()=>s,e5:()=>a,m$:()=>l});var r=n(82075);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 o(e){for(var t=1;tObject.entries(o(o({quality:75},e),{},{auto:"webp"})).filter(([,e])=>Boolean(e)).reduce((e,[t,n])=>o(o({},e),{},{[t]:n}),{}),s=e=>"data:"===(null==e?void 0:e.slice(0,5)),l=(e,t)=>{if(!e||s(e))return e;const n=new URLSearchParams(e.includes("?")?e.split("?")[1]:"");return Object.entries(t).forEach(([e,t])=>n.append(e,t)),`${e.split("?")[0]}?${n.toString()}`},c=(e,t)=>{if(!e||s(e))return e;const n=new URLSearchParams(e.includes("?")?e.split("?")[1]:"");return Object.entries(t).forEach(([e,t])=>n.set(e,t)),`${e.split("?")[0]}?${n.toString()}`}},24847:(e,t,n)=>{"use strict";n.d(t,{$K:()=>j,HL:()=>d,U8:()=>x,Vl:()=>b,jt:()=>h,ts:()=>w,xe:()=>v,zC:()=>p});var r=n(86106),i=n(7378),o=n(64543),a=n(62892),s=Object.defineProperty,l=(e,t)=>s(e,"name",{value:t,configurable:!0});const c=o.styled.figure.withConfig({componentId:"sc-1cbdeug-0"})(["position:relative;margin:0;img{display:block;}"]),d=o.styled.figcaption.withConfig({componentId:"sc-1cbdeug-1"})(["box-sizing:border-box;color:",";font:",";"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.media.caption),u=(0,o.styled)(d).withConfig({componentId:"sc-1cbdeug-2"})(["padding:","px 0;"],({theme:e})=>e.spacing.x1),p=(0,o.styled)(d).withConfig({componentId:"sc-1cbdeug-3"})(["padding:","px ","px;background-color:",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary),h=(0,o.styled)(d).withConfig({componentId:"sc-1cbdeug-4"})(["padding:","px ","px;@media ","{padding:","px 0;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,a.l,({theme:e})=>e.spacing.x1),m=(0,o.styled)(p).withConfig({componentId:"sc-1cbdeug-5"})(["--content-width:","px;@media ","{position:absolute;right:0;width:calc((100% - var(--content-width)) / 2);overflow-wrap:break-word;}"],({theme:e})=>e.dimension.parallaxContentWidth,a.l),g=o.styled.span.withConfig({componentId:"sc-1cbdeug-6"})([""]),f=o.styled.span.withConfig({componentId:"sc-1cbdeug-7"})(["font-style:italic;"]),y=l(({caption:e="",copyright:t})=>(0,r.jsxs)(r.Fragment,{children:[e,t&&(0,r.jsxs)(f,{children:[e&&" ","(",t,")"]})]}),"Text"),b=l(({caption:e,copyright:t,className:n,children:i})=>(0,r.jsxs)(c,{className:n,children:[i,(e||t)&&(0,r.jsx)(u,{children:(0,r.jsx)(y,{caption:e,copyright:t})})]}),"MediaPlusFlushCaption"),v=l(({caption:e,copyright:t,className:n,children:i})=>(0,r.jsxs)(c,{className:n,children:[i,(e||t)&&(0,r.jsx)(p,{children:(0,r.jsx)(y,{caption:e,copyright:t})})]}),"MediaPlusPaddedCaption"),x=l(({caption:e,copyright:t,className:n,children:i})=>(0,r.jsxs)(c,{className:n,children:[i,(e||t)&&(0,r.jsx)(h,{children:(0,r.jsx)(y,{caption:e,copyright:t})})]}),"MediaPlusCaptionForHero"),w=l(({caption:e,copyright:t,className:n,children:i})=>(0,r.jsxs)(c,{className:n,children:[i,(e||t)&&(0,r.jsx)(m,{children:(0,r.jsx)(y,{caption:e,copyright:t})})]}),"MediaPlusCaptionForParallax"),j=(0,i.forwardRef)(l(function({caption:e,copyright:t,className:n,children:i},o){return(0,r.jsxs)(c,{className:n,children:[i,(0,r.jsx)(d,{ref:o,children:(0,r.jsx)(g,{children:(0,r.jsx)(y,{caption:e,copyright:t})})})]})},"MediaPlusCaptionForSlider2"))},24936:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>i,G8:()=>s,IJ:()=>a,u0:()=>r,zP:()=>o});const r="prod",i="staging",o="uat",a="dev",s="local"},25523:(e,t,n)=>{"use strict";n.d(t,{C:()=>k,D:()=>P,G:()=>O,P:()=>y,R:()=>E,a:()=>S,b:()=>w,c:()=>x});var r=n(82075),i=n(86106),o=(n(7378),n(76710)),a=n(64543),s=n(9976),l=n(9449),c=(n(16708),n(90632)),d=n(62892),u=n(7486),p=n(50082);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;tg(e,"name",{value:t,configurable:!0});const y="pinnedBlogPost",b=f(e=>t=>(0,p.h)({onInteract:e,event:t}),"dropdownTriggerHandler"),v=a.styled.div.withConfig({componentId:"sc-aja53j-0"})(["width:100%;box-sizing:border-box;@media ","{max-width:634px;}@media ","{max-width:622px;}"],d.t,d.a),x=a.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),w=a.styled.span.withConfig({componentId:"sc-aja53j-2"})(["display:block;",";margin-block:0;text-align:center;"],({theme:e})=>e.textStyle.dropdownWithGradient.dropdown),j=a.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,w,l.C,({theme:e})=>e.color.actionBrand.alt),O=a.styled.div.withConfig({componentId:"sc-aja53j-4"})(["",";"],({theme:e})=>e.textStyle.dropdownWithGradient.copy.font),k=a.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:","px;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===y&&t?t<350?`${t}px`:"350px":e?"auto":`${t}px`,({theme:e})=>e.spacing.x1,({theme:e})=>e.transition.collapsibleTransition,({theme:e})=>(0,u.a)(e.color.canvas.base,0),({theme:e})=>(0,u.a)(e.color.canvas.base,.5),({theme:e})=>e.color.canvas.base,({theme:e})=>2*e.textStyle.dropdownWithGradient.copy.lineHeight,({$isOpen:e})=>e?0:1,({theme:e})=>e.transition.base,d.m,({$parent:e,$height:t})=>{if(e===y&&t)return t<500?`${t}px`:"500px"}),S=a.styled.div.withConfig({componentId:"sc-aja53j-6"})(["@media ","{order:-1;}"],d.t),C=f(({isOpen:e,copy:t,className:n,testId:r,onInteract:o,onTriggerClick:a})=>{const d=f(e=>{e.target.closest("[data-action-type]")&&a&&(null==a||a())},"handleContentClick"),u=f(e=>{d(e),o&&o()},"handleClick");return(0,i.jsx)(x,{className:n,onKeyDown:b(o),children:(0,i.jsxs)(j,{"data-testid":r,onClick:u,children:[(0,i.jsx)(w,{"data-action-type":t,children:t}),(0,i.jsx)(l.C,{svg:s.D,size:c.a,$isOpen:e})]})})},"DropdownTrigger"),E=(0,a.styled)(C).withConfig({componentId:"sc-aja53j-7"})(["@media ","{display:flex;position:relative;align-items:flex-start;margin-top:","px;}"],d.t,({theme:e})=>e.spacing.x1_5),P=f(({collapsedContent:e,$height:t=40,$parent:n,className:r,isOpen:a,setIsOpen:s,collapsibleTriggerProps:l,readmoreTriggerProps:c,onTriggerClick:d,dropdownCopy:u})=>{const{collapsibleContentHeight:p,collapsibleContentContainerRef:h}=(0,o.u)(),g=f(()=>{s(!a)},"handleCollapse");return(0,i.jsx)(v,{className:r,children:(0,i.jsxs)(S,m(m({},l),{},{children:[(0,i.jsx)(k,{ref:h,$isOpen:a,$height:null!=t?t:p,$parent:n,"data-testid":"dropdown-with-gradient-collapsed-content-container",children:(0,i.jsx)("div",{children:e&&(0,i.jsx)(O,{"data-testid":"dropdown-with-gradient-collapsed-content",children:e})})}),(0,i.jsx)(E,{isOpen:a,copy:f((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,u),testId:"dropdown-with-gradient-dropdown-tablet",onInteract:g,onTriggerClick:d,triggerProps:c})]}))})},"DropdownWithGradient")},25584:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r=n(64543).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]{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.actionSubtleDark.base,({theme:e})=>e.transition.base,({theme:e})=>e.color.actionSubtleDark.alt,({theme:e})=>e.color.semiotic.disabled,({theme:e})=>e.dimension.minTouchArea)},25746:()=>{},27181:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S,HZ:()=>y,gQ:()=>w,hI:()=>j});var r=n(82075),i=n(48821),o=n(86106),a=n(76941),s=n(7378),l=n(64543);const c=["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"),g=h(()=>{var e;let t=m();return typeof t>"u"&&(t=new URLSearchParams(null==(e=null==window?void 0:window.location)?void 0:e.search).has("__DEBUG__")),t},"isShowLog"),f=h((...e)=>{g()&&console.error(...e)},"error"),y="overlay--open",b="overlay-background",v="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"),k=l.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,v),S=h(e=>{let{children:t,isHidden:n=!0,returnFocus:r,onBackgroundClick:l,Wrapper:d,className:p}=e,h=(0,i.A)(e,c);const[m,g]=(0,s.useState)(!1),[x,S]=(0,s.useState)(!0),[C,E]=(0,s.useState)(!1),P=x||n,I=P?"":v,M=P?"":y;return(0,s.useEffect)(()=>{var e,t;if(!n){if(!m)return void g(!0);if(x)return void S(!1)}if(n)C&&(null==(t=document.querySelector(r))||t.focus(),j(),E(!1));else{if(p){const t=document.querySelectorAll(`.${p} button`);t.length?null==(e=t[0])||e.focus():f("No overlay buttons detected")}w(),E(!0)}return()=>{O()}},[n,C,r,p,m,x]),m&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(k,{"data-testid":b,"aria-hidden":n,className:(0,a.c)(b,I),$isHidden:P,onClick:l}),(0,o.jsx)(d,u(u({"aria-hidden":n,className:(0,a.c)("overlay",M,p),$isHidden:P},h),{},{children:t}))]})},"Overlay")},27335:(e,t,n)=>{var r=n(50613),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},27608:(e,t,n)=>{"use strict";n.d(t,{dR:()=>f.dR,xi:()=>f.xi,i8:()=>i.i8,Ks:()=>g,d:()=>f.d});var r=n(82075),i=(n(4795),n(54582),n(78684)),o=n(73122),a=n(49682),s=n(54302);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 c(e){for(var t=1;t{if(!e.payment_billing_plan)throw Error(`Tried to read payment_billing_plan of non-dynamic term ${e.term_id}`);try{return JSON.parse(e.payment_billing_plan)}catch(e){console.error(e)}throw new Error(`Failed to parse payment_billing_plan for term ${e.term_id}`)},u=(e,t)=>{const n=e.payment_billing_plan_table||[],r=n[t];return{yearCount:(0,i.Tz)(n[0].dateValue,r.dateValue),startDate:r.dateValue,status:s.cl.PENDING,endDate:null,paymentCount:0}},p=(e,t)=>{var n;const r=(e.payment_billing_plan_table||[])[t],s=(e=>{const t=(Number(e.cycles)||1)>1e4,n=(0,a.yG)(e.isTrial||!1),r=n?"trial":null==e?void 0:e.period,i=n?(0,o.y7)(e.period):void 0;switch(r){case"trial":return{frequency:{value:(null==i?void 0:i.value)||0,unit:(null==i?void 0:i.unit)||"D"},duration:{isInfinite:!1,absolute:{value:(null==i?void 0:i.value)||0,unit:(null==i?void 0:i.unit)||"D"}},totalPayments:1};case"day":return{frequency:{value:1,unit:"D"},duration:{isInfinite:t,absolute:{value:1,unit:"D"}},totalPayments:1};case"week":return{frequency:{value:1,unit:"W"},duration:{isInfinite:t,absolute:{value:1,unit:"W"}},totalPayments:1};case"month":return{frequency:{value:1,unit:"M"},duration:{isInfinite:t,absolute:{value:1,unit:"M"}},totalPayments:1};case"year":return{frequency:{value:1,unit:"Y"},duration:{isInfinite:t,absolute:{value:1,unit:"Y"}},totalPayments:1};default:throw new Error(`Piano standard term has returned an unknown term.period of ${null==e?void 0:e.period}, please update calculateStandardCycle to handle this`)}})(r),l=(0,i.Bx)(s.frequency,null===(n=s.duration)||void 0===n?void 0:n.absolute),d={currency:e.payment_currency,amount:r.priceValue};return c(c({},s),{},{payment:d,type:l})};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{var t;const n=(null===(t=e.payment_billing_plan_table)||void 0===t?void 0:t.length)||0;return new Array(n).fill(null).map((t,n)=>"dynamic"===e.type?m(m({},u(e,n)),((e,t)=>{var n;const r=d(e).configuration.periods,a=e.payment_billing_plan_table||[],s=(null==r?void 0:r.map((e,t)=>c(c({},e),{},{billingItem:a[t]})))[t],l=null!==(n=s.totalIterations)&&void 0!==n?n:-1,u=s.duration||s.billingPlan.duration,p=s.billingPlan.duration||s.duration,h=l>0?l:1;if(!p||!u)throw new Error(`Dynamic billing cycle [${t}] for term ${e.term_id} is missing a duration AND billingPlan.duration and cannot be calculated`);const m=e.payment_currency,g=(0,o.bZ)(p),f=(0,o.bZ)(c(c({},u),{},{value:u.value*h}));return{id:s.id,payment:{currency:m,amount:s.billingPlan.amount},frequency:g,duration:{isInfinite:l<0,absolute:f},totalPayments:(0,i.od)(g,f),type:(0,i.Bx)(g,f)}})(e,n)):m(m({},u(e,n)),p(e,n)))};n(53133);var f=n(70165)},29781:(e,t,n)=>{"use strict";n.d(t,{x6:()=>L,r9:()=>F,Bd:()=>H});var r=n(7378),i=n(69715),o=n.n(i),a=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function s(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(o()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(a),s=null;null!==(s=i.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],i.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var l=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,d=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var p={parse:function(e,t){t||(t={}),t.components||(t.components=d);var n,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");r.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(l,function(l,d){if(a){if(l!=="")return;a=!1}var u,p="/"!==l.charAt(1),h=l.startsWith("\x3c!--"),m=d+l.length,g=e.charAt(m);if(h){var f=s(l);return o<0?(r.push(f),r):((u=i[o]).children.push(f),r)}if(p&&(o++,"tag"===(n=s(l)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!g||"<"===g||n.children.push({type:"text",content:e.slice(m,e.indexOf("<",m))}),0===o&&r.push(n),(u=i[o-1])&&u.children.push(n),i[o]=n),(!p||n.voidElement)&&(o>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(o--,n=-1===o?r:i[o]),!a&&"<"!==g&&g)){u=-1===o?r:i[o].children;var y=e.indexOf("<",m),b=e.slice(m,-1===y?void 0:y);c.test(b)&&(b=" "),(y>-1&&o+u.length>=0||" "!==b)&&u.push({type:"text",content:b})}}),r},stringify:function(e){return e.reduce(function(e,t){return e+u("",t)},"")}};const h=p,m=(e,t,n,r)=>{const i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);x(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},g={},f=(e,t,n,r)=>{x(n)&&g[n]||(x(n)&&(g[n]=new Date),m(e,t,n,r))},y=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},b=(e,t,n)=>{e.loadNamespaces(t,y(e,n))},v=(e,t,n,r)=>{if(x(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return b(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,y(e,r))},x=e=>"string"==typeof e,w=e=>"object"==typeof e&&null!==e,j=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},k=e=>O[e];let S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(j,k)};const C=()=>S;let E;const P=()=>E,I=(e,t)=>{if(!e)return!1;const n=e.props?.children??e.children;return t?n.length>0:!!n},M=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?T(t):t},T=e=>Array.isArray(e)?e:[e],A=(e,t,n,i)=>{if(!e)return"";let o="";const a=T(e),s=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return a.forEach((e,a)=>{if(x(e))o+=`${e}`;else{if((0,r.isValidElement)(e)){const{props:r,type:l}=e,c=Object.keys(r).length,d=s.indexOf(l)>-1,u=r.children;if(!u&&d&&!c)return void(o+=`<${l}/>`);if(!u&&(!d||c)||r.i18nIsDynamicList)return void(o+=`<${a}>`);if(d&&1===c&&x(u))return void(o+=`<${l}>${u}`);const p=A(u,t,n,i);return void(o+=`<${a}>${p}`)}if(null!==e){if(w(e)){const{format:t,...r}=e,a=Object.keys(r);if(1===a.length){const e=t?`${a[0]}, ${t}`:a[0];return void(o+=`{{${e}}}`)}return void m(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:i,child:e})}m(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:i,child:e})}else m(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:i})}}),o},D=(e,t,n,i,o,a,s)=>{if(""===n)return[];const l=o.transKeepBasicHtmlNodesFor||[],c=n&&new RegExp(l.map(e=>`<${e}`).join("|")).test(n);if(!(e||t||c||s))return[n];const d=t??{},u=e=>{T(e).forEach(e=>{x(e)||(I(e)?u(M(e)):w(e)&&!(0,r.isValidElement)(e)&&Object.assign(d,e))})};u(e);const p=h.parse(`<0>${n}`),m={...d,...a},g=(e,t,n)=>{const i=M(e),o=y(i,t.children,n);return(e=>Array.isArray(e)&&e.every(r.isValidElement))(i)&&0===o.length||e.props?.i18nIsDynamicList?i:o},f=(e,t,n,i,o)=>{e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:i},o?void 0:t))):n.push(...r.Children.map([e],e=>{const n={...e.props};return delete n.i18nIsDynamicList,(0,r.createElement)(e.type,{...n,key:i,ref:e.props.ref??e.ref},o?null:t)}))},y=(e,n,a)=>{const d=T(e);return T(n).reduce((e,n,u)=>{const p=n.children?.[0]?.content&&i.services.interpolator.interpolate(n.children[0].content,m,i.language);if("tag"===n.type){let s=d[parseInt(n.name,10)];!s&&t&&(s=t[n.name]),1!==a.length||s||(s=a[0][n.name]),s||(s={});const h=0!==Object.keys(n.attrs).length?((e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n})({props:n.attrs},s):s,b=(0,r.isValidElement)(h),v=b&&I(n,!0)&&!n.voidElement,j=c&&w(h)&&h.dummy&&!b,O=w(t)&&Object.hasOwnProperty.call(t,n.name);if(x(h)){const t=i.services.interpolator.interpolate(h,m,i.language);e.push(t)}else if(I(h)||v){const t=g(h,n,a);f(h,t,e,u)}else if(j){const t=y(d,n.children,a);f(h,t,e,u)}else if(Number.isNaN(parseFloat(n.name)))if(O){const t=g(h,n,a);f(h,t,e,u,n.voidElement)}else if(o.transSupportBasicHtmlNodes&&l.indexOf(n.name)>-1)if(n.voidElement)e.push((0,r.createElement)(n.name,{key:`${n.name}-${u}`}));else{const t=y(d,n.children,a);e.push((0,r.createElement)(n.name,{key:`${n.name}-${u}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{const t=y(d,n.children,a);e.push(`<${n.name}>${t}`)}else if(w(h)&&!b){const t=n.children[0]?p:null;t&&e.push(t)}else f(h,p,e,u,1!==n.children.length||!p)}else if("text"===n.type){const t=o.transWrapTextNodes,a=s?o.unescape(i.services.interpolator.interpolate(n.content,m,i.language)):i.services.interpolator.interpolate(n.content,m,i.language);t?e.push((0,r.createElement)(t,{key:`${n.name}-${u}`},a)):e.push(a)}return e},[])},b=y([{dummy:!0,children:e||[]}],p,T(e||[]));return M(b[0])},N=(e,t,n)=>{const i=e.key||t,o=(0,r.cloneElement)(e,{key:i});if(!o.props||!o.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return o;return(0,r.createElement)(function(){return(0,r.createElement)(r.Fragment,null,o)},{key:i})},_=(e,t,n,r)=>e?Array.isArray(e)?((e,t)=>e.map((e,n)=>N(e,n,t)))(e,t):w(e)?((e,t)=>{const n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:N(e[r],r,t)})}),n})(e,t):(f(n,"TRANS_INVALID_COMPONENTS",' "components" prop expects an object or array',{i18nKey:r}),null):null,z=e=>!!w(e)&&(!Array.isArray(e)&&Object.keys(e).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0));const F={type:"3rdParty",init(e){((e={})=>{S={...S,...e}})(e.options.react),(e=>{E=e})(e)}},$=(0,r.createContext)();class R{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function L({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a={},values:s,defaults:l,components:c,ns:d,i18n:u,t:p,shouldUnescape:h,...m}){const{i18n:g,defaultNS:y}=(0,r.useContext)($)||{},b=u||g||P(),v=p||b?.t.bind(b);return function({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a={},values:s,defaults:l,components:c,ns:d,i18n:u,t:p,shouldUnescape:h,...m}){const g=u||P();if(!g)return f(g,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:i}),e;const y=p||g.t.bind(g)||(e=>e),b={...C(),...g.options?.react};let v=d||y.ns||g.options?.defaultNS;v=x(v)?[v]:v||["translation"];const w=A(e,b,g,i),j=l||w||b.transEmptyNodeValue||i,{hashTransKey:O}=b,k=i||(O?O(w||j):w||j);g.options?.interpolation?.defaultVariables&&(s=s&&Object.keys(s).length>0?{...s,...g.options.interpolation.defaultVariables}:{...g.options.interpolation.defaultVariables});const S=s||void 0!==t&&!g.options?.interpolation?.alwaysFormat||!e?a.interpolation:{interpolation:{...a.interpolation,prefix:"#$?",suffix:"?$#"}},E={...a,context:o||a.context,count:t,...s,...S,defaultValue:j,ns:v},I=k?y(k,E):j,M=_(c,I,g,i);let T=M||e,N=null;z(M)&&(N=M,T=e);const F=D(T,N,I,g,b,E,h),$=n??b.defaultTransParent;return $?(0,r.createElement)($,m,F):F}({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a,values:s,defaults:l,components:c,ns:d||v?.ns||y||b?.options?.defaultNS,i18n:b,t:p,shouldUnescape:h,...m})}const B=(e,t,n,r)=>e.getFixedT(t,n,r),H=(e,t={})=>{const{i18n:n}=t,{i18n:i,defaultNS:o}=(0,r.useContext)($)||{},a=n||i||P();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new R),!a){f(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>x(t)?t:w(t)&&x(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&f(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...C(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=s;let d=e||o||a.options?.defaultNS;d=x(d)?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces?.(d);const u=(a.isInitialized||a.initializedStoreOnce)&&d.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(f(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,a,s)),p=((e,t,n,i)=>(0,r.useCallback)(B(e,t,n,i),[e,t,n,i]))(a,t.lng||null,"fallback"===s.nsMode?d:d[0],c),h=()=>p,m=()=>B(a,t.lng||null,"fallback"===s.nsMode?d:d[0],c),[g,y]=(0,r.useState)(h);let j=d.join();t.lng&&(j=`${t.lng}${j}`);const O=((e,t)=>{const n=(0,r.useRef)();return(0,r.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current})(j),k=(0,r.useRef)(!0);(0,r.useEffect)(()=>{const{bindI18n:e,bindI18nStore:n}=s;k.current=!0,u||l||(t.lng?v(a,t.lng,d,()=>{k.current&&y(m)}):b(a,d,()=>{k.current&&y(m)})),u&&O&&O!==j&&k.current&&y(m);const r=()=>{k.current&&y(m)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{k.current=!1,a&&e&&e?.split(" ").forEach(e=>a.off(e,r)),n&&a&&n.split(" ").forEach(e=>a.store.off(e,r))}},[a,j]),(0,r.useEffect)(()=>{k.current&&u&&y(h)},[a,c,u]);const S=[g,a,u];if(S.t=g,S.i18n=a,S.ready=u,u)return S;if(!u&&!l)return S;throw new Promise(e=>{t.lng?v(a,t.lng,d,()=>e()):b(a,d,()=>e())})}},30054:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Helmet:()=>Z,HelmetData:()=>K,HelmetProvider:()=>V});var r=n(7378),i=n(12700),o=n.n(i),a=n(84009),s=n.n(a),l=n(59141),c=n.n(l),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),g={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},f=Object.entries(g).reduce((e,[t,n])=>(e[n]=t,e),{}),y="data-rh",b="defaultTitle",v="defer",x="encodeSpecialCharacters",w="onChangeClientState",j="titleTemplate",O="prioritizeSeoTags",k=(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},S=e=>{let t=k(e,"title");const n=k(e,j);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=k(e,b);return t||r||void 0},C=e=>k(e,w)||(()=>{}),E=(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 i=0;i{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 i={};n.filter(e=>{let n;const o=Object.keys(e);for(let r=0;re.push(t));const o=Object.keys(i);for(let e=0;e{if(Array.isArray(e)&&e.length)for(let n=0;nArray.isArray(e)?e.join(""):e,A=(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"],_=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),z=e=>Object.keys(e).reduce((t,n)=>{const r=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),F=(e,t={})=>Object.keys(e).reduce((t,n)=>(t[g[n]||n]=e[n],t),t),$=(e,t)=>t.map((t,n)=>{const i={key:n,[y]:!0};return Object.keys(t).forEach(e=>{const n=g[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:e}}else i[n]=t[e]}),r.createElement(e,i)}),R=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const i=F(n,{key:t,[y]:!0});return[r.createElement("title",i,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,r)=>{const i=z(n),o=T(t);return i?`<${e} ${y}="true" ${i}>${_(o,r)}`:`<${e} ${y}="true">${_(o,r)}`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>F(t),toString:()=>z(t)};default:return{toComponent:()=>$(e,t),toString:()=>((e,t,n=!0)=>t.reduce((t,r)=>{const i=r,o=Object.keys(i).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===i[t]?t:`${t}="${_(i[t],n)}"`;return e?`${e} ${r}`:r},""),a=i.innerHTML||i.cssText||"",s=-1===N.indexOf(e);return`${t}<${e} ${y}="true" ${o}${s?"/>":`>${a}`}`},""))(e,t,n)}}},L=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:d,metaTags:m,scriptTags:g}=e,f={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:f,linkTags:d,metaTags:m,scriptTags:g}=(({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=A(e,h),o=A(t,u),a=A(n,p);return{priorityMethods:{toComponent:()=>[...$("meta",i.priority),...$("link",o.priority),...$("script",a.priority)],toString:()=>`${R("meta",i.priority,r)} ${R("link",o.priority,r)} ${R("script",a.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:a.default}})(e)),{priority:f,base:R("base",t,r),bodyAttributes:R("bodyAttributes",n,r),htmlAttributes:R("htmlAttributes",i,r),link:R("link",d,r),meta:R("meta",m,r),noscript:R("noscript",o,r),script:R("script",g,r),style:R("style",a,r),title:R("title",{title:s,titleAttributes:l},r)}},B=[],H=!("undefined"==typeof window||!window.document||!window.document.createElement),K=class{instances=[];canUseDOM=H;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?B:this.instances,add:e=>{(this.canUseDOM?B:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?B:this.instances).indexOf(e);(this.canUseDOM?B:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=L({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},q=r.createContext({}),V=class e extends r.Component{static canUseDOM=H;helmetData;constructor(t){super(t),this.helmetData=new K(this.props.context||{},e.canUseDOM)}render(){return r.createElement(q.Provider,{value:this.helmetData.value},this.props.children)}},W=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${y}]`),i=[].slice.call(r),o=[];let a;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,i=void 0===t[r]?"":t[r];n.setAttribute(e,i)}n.setAttribute(y,"true"),i.some((e,t)=>(a=t,n.isEqualNode(e)))?i.splice(a,1):o.push(n)}),i.forEach(e=>e.parentNode?.removeChild(e)),o.forEach(e=>n.appendChild(e)),{oldTags:i,newTags:o}},U=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(y),i=r?r.split(","):[],o=[...i],a=Object.keys(t);for(const e of a){const r=t[e]||"";n.getAttribute(e)!==r&&n.setAttribute(e,r),-1===i.indexOf(e)&&i.push(e);const a=o.indexOf(e);-1!==a&&o.splice(a,1)}for(let e=o.length-1;e>=0;e-=1)n.removeAttribute(o[e]);i.length===o.length?n.removeAttribute(y):n.getAttribute(y)!==a.join(",")&&n.setAttribute(y,a.join(","))},G=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:d,title:u,titleAttributes:p}=e;U("body",r),U("html",i),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=T(e)),U("title",t)})(u,p);const h={baseTag:W("base",n),linkTags:W("link",o),metaTags:W("meta",a),noscriptTags:W("noscript",s),scriptTags:W("script",c),styleTags:W("style",d)},m={},g={};Object.keys(h).forEach(e=>{const{newTags:t,oldTags:n}=h[e];t.length&&(m[e]=t),n.length&&(g[e]=h[e].oldTags)}),t&&t(),l(e,m,g)},J=null,Y=e=>{J&&cancelAnimationFrame(J),e.defer?J=requestAnimationFrame(()=>{G(e,()=>{J=null})}):(G(e),J=null)},Q=class extends r.Component{rendered=!1;shouldComponentUpdate(e){return!c()(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=(i=e.get().map(e=>{const t={...e.props};return delete t.context,t}),{baseTag:P(["href"],i),bodyAttributes:E("bodyAttributes",i),defer:k(i,v),encode:k(i,x),htmlAttributes:E("htmlAttributes",i),linkTags:I("link",["rel","href"],i),metaTags:I("meta",["name","charset","http-equiv","property","itemprop"],i),noscriptTags:I("noscript",["innerHTML"],i),onChangeClientState:C(i),scriptTags:I("script",["src","innerHTML"],i),styleTags:I("style",["cssText"],i),title:S(i),titleAttributes:E("titleAttributes",i),prioritizeSeoTags:M(i,O)});var i;V.canUseDOM?Y(r):L&&(n=L(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}},Z=class extends r.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!o()(D(this.props,"helmetData"),D(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 s()(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.`),s()(!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,...i}=e.props,o=Object.keys(i).reduce((e,t)=>(e[f[t]||t]=i[t],e),{});let{type:a}=e;switch("symbol"==typeof a?a=a.toString():this.warnOnInvalidChildren(e,r),a){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,o,r);break;default:t=this.mapObjectTypeChildren(e,t,o,r)}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:i}=t;if(e&&(n=this.mapChildrenToProps(e,n)),i&&!(i instanceof K)){i=new K(i.context,!0),delete n.helmetData}return i?r.createElement(Q,{...n,context:i.value}):r.createElement(q.Consumer,null,e=>r.createElement(Q,{...n,context:e}))}}},30379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{error:()=>g,group:()=>u,groupEnd:()=>p,log:()=>h,logWithPrefix:()=>f,shouldLog:()=>c,shouldLogToSentry:()=>d,warn:()=>m});var r=n(24936),i=n(35351),o=n(53206),a=n(30379);let s,l;const c=()=>{if("undefined"==typeof window)return{NODE_ENV:"production",npm_config_domain:""}.SERVER!==r.u0;if("undefined"!=typeof window&&void 0===s){var e;const t=new URLSearchParams(null===(e=window)||void 0===e||null===(e=e.location)||void 0===e?void 0:e.search);s=t.has("__DEBUG__")}return s||"true"===(0,i.Ri)("__DEBUG__")},d=()=>(void 0===l&&(l=(0,o.t)()),l),u=(...e)=>{c()&&console.group(...e)},p=(...e)=>{c()&&console.groupEnd(...e)},h=(...e)=>{c()&&console.log(...e)},m=(...e)=>{var t;const n=c(),r=d();n&&console.warn(...e),r&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},g=(...e)=>{var t;const n=c(),r=d();n&&console.error(...e),r&&(null===(t=window.Sentry)||void 0===t||t.captureException(...e))},f=(e,t)=>(...n)=>{const r=a[e],[i,...o]=n;r(`${t} ${i}`,...o)}},31357:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(86106),i=n(86885),o=n(64543),a=n(63122),s=(n(13470),n(25730),n(90632),n(78174),Object.defineProperty),l=(e,t)=>s(e,"name",{value:t,configurable:!0});const c=(0,o.styled)(a.A).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;margin-bottom:","px;border:solid ",";border-width:1px 0;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.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,a.S),d=o.styled.div.withConfig({componentId:"sc-9oz50s-1"})(["display:block;padding-right:calc( var(--nav-width) + ","px );"],({theme:e})=>e.spacing.x1_5),u=l(({children:e,className:t,title:n})=>(0,r.jsxs)(c,{className:t,children:[(0,r.jsx)(d,{children:(0,r.jsx)(i.A,{isExpanded:!0,children:n})}),e]}),"RelatedContent")},32178:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,zl:()=>h});var r=n(82075),i=n(48916),o=n(3805),a=n(67077),s=n(40077),l=n(35351),c=n(18630),d=n(30379),u=n(32178);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}const h=()=>{const e=(0,l.Ri)(i.kA);var t;e&&(null===(t=window.braze)||void 0===t||t.changeUser(e))},m=async()=>{if(!!window.braze)return u.zl(),!0;try{var e;if(!await(0,a.D)("5ed8c49c4b8ce4571c7ad801","braze"))return!1;const{braze:{sdkAPIKey:t="",sdkEndpoint:n=""}={}}=window.JSGlobals;return await(0,s.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;t{"use strict";n.d(t,{a:()=>d,c:()=>p,e:()=>c,h:()=>l,p:()=>h,r:()=>g});var r=n(82075);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 o(e){for(var t=1;ta(e,"name",{value:t,configurable:!0});const l=s(e=>`${e}-hint`,"hintId"),c=s(e=>`${e}-error`,"errorId"),d=s(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=s((e,t)=>{if(!t)return null==e?void 0:e.length;const n=u[t];return(e.match(n)||[]).length},"count"),h=s(e=>"string"==typeof e?e.replace(/\s{2,}/g," ").trim():e||"","parseString"),m=s(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 o(o({},e),{},{[n]:r})},{})},"getAllErrors"),g=s(e=>async t=>({values:t,errors:await m(e,t)}),"resolver")},33687:(e,t,n)=>{"use strict";n.d(t,{A:()=>ne});var r=n(82075);const i=e=>"string"==typeof e,o=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},a=e=>null==e?"":""+e,s=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(s,"."):e,c=e=>!e||i(e),d=(e,t,n)=>{const r=i(t)?t.split("."):t;let o=0;for(;o{const{obj:r,k:i}=d(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=d(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=d(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},p=(e,t)=>{const{obj:n,k:r}=d(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},h=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?i(e[r])||e[r]instanceof String||i(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):h(e[r],t[r],n):e[r]=t[r]);return e},m=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var g={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const f=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>g[e]):e;const y=[" ",",","?","!",";"],b=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),v=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let i=e;for(let e=0;e-1&&ae?.replace("_","-"),w={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class j{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||w,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(i(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new j(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new j(this.logger,e)}}var O=new j;class k{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r{for(let i=0;i-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],n&&(Array.isArray(n)?s.push(...n):i(n)&&o?s.push(...n.split(o)):s.push(n)));const l=p(this.data,s);return!l&&!t&&!n&&e.indexOf(".")>-1&&(e=s[0],t=s[1],n=s.slice(2).join(".")),!l&&a&&i(n)?v(this.data?.[e]?.[t],n,o):l}addResource(e,t,n,r,i={silent:!1}){const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),u(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const r in n)(i(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,o={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=p(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?h(s,n,i):s={...s,...n},u(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var C={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};const E={},P=e=>!i(e)&&"boolean"!=typeof e&&"number"!=typeof e;class I extends k{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=O.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);return void 0!==r?.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const a=n&&e.indexOf(n)>-1,s=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=y.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const i=b.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(a&&!s){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(o)?[o]:o};const a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return{key:e,namespaces:i(o)?[o]:o}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof options&&(r={...r}),r||(r={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],r),c=l[l.length-1];let d=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===d&&(d=":");const u=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===u?.toLowerCase())return p?o?{res:`${c}${d}${s}`,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${d}${s}`:o?{res:s,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:s;const h=this.resolve(e,r);let m=h?.res;const g=h?.usedKey||s,f=h?.exactUsedKey||s,y=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==r.count&&!i(r.count),x=I.hasDefaultValue(r),w=v?this.pluralResolver.getSuffix(u,r.count,r):"",j=r.ordinal&&v?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",O=v&&!r.ordinal&&0===r.count,k=O&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${w}`]||r[`defaultValue${j}`]||r.defaultValue;let S=m;b&&!m&&x&&(S=k);const C=P(S),E=Object.prototype.toString.apply(S);if(!(b&&S&&C&&["[object Number]","[object Function]","[object RegExp]"].indexOf(E)<0)||i(y)&&Array.isArray(S))if(b&&i(y)&&Array.isArray(m))m=m.join(y),m&&(m=this.extendTranslation(m,e,r,n));else{let t=!1,i=!1;!this.isValidLookup(m)&&x&&(t=!0,m=k),this.isValidLookup(m)||(i=!0,m=s);const o=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:m,l=x&&k!==m&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",u,c,s,l?k:m),a){const e=this.resolve(s,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n{const i=x&&n!==m?n:o;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,i,l,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,c,t,i,l,r),this.emit("missingKey",e,c,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,r);O&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,r[`defaultValue${t}`]||k)})}):n(e,s,k))}m=this.extendTranslation(m,e,r,h,n),i&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${c}${d}${s}`),(i||t)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${d}${s}`:s,t?m:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,S,{...r,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(h.res=e,h.usedParams=this.getUsedParamsDetails(r),h):e}if(a){const e=Array.isArray(S),t=e?[]:{},n=e?f:g;for(const e in S)if(Object.prototype.hasOwnProperty.call(S,e)){const i=`${n}${a}${e}`;t[e]=x&&!m?this.translate(i,{...r,defaultValue:P(k)?k[e]:void 0,joinArrays:!1,ns:l}):this.translate(i,{...r,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=S[e])}m=t}}return o?(h.res=m,h.usedParams=this.getUsedParamsDetails(r),h):m}extendTranslation(e,t,n,r,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a=i(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!i(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>o?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=i(a)?[a]:a;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=C.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,o,a,s;return i(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const l=this.extractFromKey(e,t),c=l.key;r=c;let d=l.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const u=void 0!==t.count&&!i(t.count),p=u&&!t.ordinal&&0===t.count,h=void 0!==t.context&&(i(t.context)||"number"==typeof t.context)&&""!==t.context,m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);d.forEach(e=>{this.isValidLookup(n)||(s=e,E[`${m[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(s)||(E[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(r=>{if(this.isValidLookup(n))return;a=r;const i=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(i,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(c+e),t.ordinal&&0===e.indexOf(o)&&i.push(c+e.replace(o,this.options.pluralSeparator)),p&&i.push(c+n)),h){const r=`${c}${this.options.contextSeparator}${t.context}`;i.push(r),u&&(i.push(r+e),t.ordinal&&0===e.indexOf(o)&&i.push(r+e.replace(o,this.options.pluralSeparator)),p&&i.push(r+n))}}let s;for(;s=i.pop();)this.isValidLookup(n)||(o=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!i(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class M{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=O.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):i(e)&&o(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&o(this.formatLanguageCode(e))}),r}}const T={zero:0,one:1,two:2,few:3,many:4,other:5},A={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class D{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=O.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=x("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),A;if(!e.match(/-|_/))return A;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>T[e]-T[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const N=(e,t,n,r=".",o=!0)=>{let a=((e,t,n)=>{const r=p(e,n);return void 0!==r?r:p(t,n)})(e,t,n);return!a&&o&&i(n)&&(a=v(e,n,r),void 0===a&&(a=v(t,n,r))),a},_=e=>e.replace(/\$/g,"$$$$");class z{constructor(e={}){this.logger=O.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:u,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:g,nestingOptionsSeparator:y,maxReplaces:b,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:f,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?m(i):o||"{{",this.suffix=a?m(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=u?m(u):p||m("$t("),this.nestingSuffix=h?m(h):g||m(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,s,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=e=>{if(e.indexOf(this.formatSeparator)<0){const i=N(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(N(t,c,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>_(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?_(this.escape(e)):_(e)}].forEach(t=>{for(l=0;o=t.regex.exec(e);){const n=o[1].trim();if(s=d(n),void 0===s)if("function"==typeof u){const t=u(e,o,r);s=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))s="";else{if(p){s=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s=""}else i(s)||this.useRawValueToEscape||(s=a(s));const c=t.safeValue(s);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,o,s;const l=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,s);const o=i.match(/'/g),a=i.match(/"/g);((o?.length??0)%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let c=[];s={...n},s=s.replace&&!i(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;const d=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==d&&(c=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),o=t(l.call(this,r[1].trim(),s),s),o&&r[0]===e&&!i(o))return o;i(o)||(o=a(o)),o||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),o=""),c.length&&(o=c.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}const F=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(x(r),i),t[a]=s),s(n)}},$=e=>(t,n,r)=>e(x(n),r)(t);class R{constructor(e={}){this.logger=O.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?F:$;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=F(t)}format(e,t,n,r={}){const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(e=>e.indexOf(")")>-1)){const e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class L extends k{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=O.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:i}=d(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r{this.read.call(this,e,t,n,r+1,2*i,o)},i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);const o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i,o={},a=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const B=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),H=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),K=()=>{};class q extends k{constructor(e={},t){var n;if(super(),this.options=H(e),this.services={},this.logger=O,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(i(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=B();this.options={...n,...this.options,...H(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?O.init(r(this.modules.logger),this.options):O.init(null,this.options),e=this.modules.formatter?this.modules.formatter:R;const t=new M(this.options);this.store=new S(this.options.resources,this.options);const i=this.services;i.logger=O,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new D(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new z(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new L(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new I(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=K),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const a=o(),s=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),a}loadResources(e,t=K){let n=t;const r=i(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(r)t(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=o();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=K),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=o();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(i,o)=>{o?this.isLanguageChangingTo===e&&(r(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);const n=i(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(i(t)?[t]:t);o&&(this.language||r(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{a(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...i)=>{let o;o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t},o.lng=o.lng||r.lng,o.lngs=o.lngs||r.lngs,o.ns=o.ns||r.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||r.keyPrefix);const a=this.options.keySeparator||".";let s;return s=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${a}${e}`):o.keyPrefix?`${o.keyPrefix}${a}${e}`:e,this.t(s,o)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=o();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=o();i(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=r.concat(a),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new M(B());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new q(e,t)}cloneInstance(e={},t=K){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new q(r);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));if(["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});i.store=new S(e,r),i.services.resourceStore=i.store}return i.translator=new I(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const V=q.createInstance();V.createInstance=q.createInstance;V.createInstance,V.dir,V.init,V.loadResources,V.reloadResources,V.use,V.changeLanguage,V.getFixedT,V.t,V.exists,V.setDefaultNamespace,V.hasLoadedNamespace,V.loadNamespaces,V.loadLanguages;var W=n(29781);const U="en",G="es",J=U;var Y=n(1341);const Q={[Y.gC]:{popularVideos:"Popular videos",mostPopular:"Most popular",moreAbout:"More about",sponsoredFeatures:"Read next",indy100Trending:"Indy100 Trending",topic:"Topics",topicPath:"topics-list",archive:"Archive",archivePath:"archive",archiveBack:"Back",related:"Related",readTranslatedArticle:"Read in English",tvMore:"More",tvUpNext:"Up next",menu:"Menu",readMore:"Read more",closeReadMore:"Close",pinned:"Pinned",close:"Close",change:"Change",more:"More",andMore:"& more",Advertisement:"Advertisement",fourOhFourTitle:"This page doesn’t exist",fourOhFourCopy:"Sorry, we couldn’t find the page you were looking for. You might have entered the web address incorrectly or the page might have moved. Use the link below to return to the homepage.",fourOhFourButton:"Homepage",popularArticles:"Popular Articles",ordinal_one:"{{count}}st",ordinal_two:"{{count}}nd",ordinal_few:"{{count}}rd",ordinal_other:"{{count}}th",cardinal_one:"first",cardinal_two:"second",cardinal_few:"third",cardinal_other:"{{count}}th",sponsorship:{eon:{link:"SPONSORED BY E.ON NEXT",copy:"The Independent's Electric Vehicles Channel is sponsored by E.ON Next."},trading212:{link:"SPONSORED BY TRADING 212",copy:"The Independent Money channel is brought to you by Trading 212."},proton:{link:"SPONSORED BY PROTON",copy:"The Independent's Security channel is sponsored by Proton."}},messageBanner:{onBoarding:{default:"Thank you for subscribing! A confirmation email will be sent",registration:"Success! A confirmation email will be sent",simple:"Thanks for registering! A confirmation email will be sent"},consentOrPay:{base:"Thank you for subscribing!",default:"A confirmation email will be sent"},upgrade:" Success! A confirmation email will be sent",donate:"Thanks for donating! A confirmation email will be sent"}},[Y.vT]:{showingNow:"Showing now",metaTagDescriptionLine1:"Latest trending news and video on Independent TV, from The Independent.",metaTagDescriptionLine2:"Find the latest {{label}} videos here."},[Y.fm]:{free:"Free",unit:{D:"day",W:"week",M:"month",Y:"year"},paymentPlan:{prefix:{then:"Then",secondNotLast:"Auto-renews at",secondAndLast:"Then auto-renews at"},frequency:{annual:"{{price}}",multiCycle_one:"{{price}} every $t(unit.{{unit}})",multiCycle_other:"{{price}} every {{count}} $t(unit.{{unit}})s",singleCycle:{v1:"{{price}} per $t(unit.{{unit}})",v2_one:"{{price}} for {{count}} $t(unit.{{unit}})",v2_other:"{{price}} for {{count}} $t(unit.{{unit}})s",short:"{{price}}/$t(unit.{{unit}})"}},duration:{empty:"",annual:'for the $t(common:cardinal, { "count": {{ yearCount }} , "ordinal": true }) year',default:{v1_one:"for {{count}} $t(unit.{{unit}})",v1_other:"for {{count}} $t(unit.{{unit}})s",v2_one:"every {{unit}}",v2_other:"every {{count}} {{unit}}s"}},suffix:{count:"(x{{count}})",infinite:"thereafter"}},summary:{packingHeading:"Your chosen package:",packageNameKnown:"{{type}} Subscription",packageNameUnknown:"Subscription",changeText:"Change",paymentBodySingle:"Cancel anytime",paymentBodyMulti:"{{payments}}. Cancel anytime"}},[Y.zm]:{type:{annual:"Annual",monthly:"Monthly"},dueDate:"Due on {{date}}",empty:"No active subscriptions",status:{active:"Active",paused:"Cancelled",cancelled:"Cancelled"},app:"As an in-app subscriber, please manage your subscription via your device settings",web:{titleCurrent:"Current subscription",titleCancelled:"Cancelled subscription",titleNewPendingSub:"New pending subscription",summary:{title:{endDate:"End date",subscriptionId:"Transaction Number",resourceName:"Plan",billingCycles:"Payment Cycle",nextPayment:"Next Payment"},body:{nextPayment:"Due on {{- date}} ({{price}})",nextPaymentFallback:"Due on {{- date}}"},upgrade:{details:"Your new package is currently pending until your current package runs out on {{- date}}. The first payment of {{ nextPayment}} will be due then. ",resourceName:"Plan",billingCycles:"Payment Cycle",nextPayment:"Next Payment"}},resume:{cta:"Reactivate subscription",endDate:"Your subscription's access will stay active until {{date}}. $t(web.resume.{{brandType}})",premium:"To continue enjoying Independent Premium beyond this date, please reactivate your subscription.",base:"To continue beyond this date, please reactivate your subscription."},cancel:{cta:"Cancel subscription",directDebit:{title:"Cancelling your subscription",body:"If you do not wish to renew your subscription, please contact your bank to cancel your Direct Debit. Your subscription will then expire before your next payment date."},default:{title:"",body:"If you would like to cancel your subscription, click below to proceed. Please note your subscription will end on your next renewal date and there will be no refunds for remaining access."}}},confirm:{title:"Before you go...",subTitle:"Here's a quick reminder of what you'll lose:",cta:"Keep subscription"},offer:{title:"Before you go...",subTitle:"Stay with us, for less",cta:"Take this offer",type:{annual:"Annual",monthly:"Monthly"},start:"Starts {{date}}",discount:"Save {{discount}}%",terms:"Subscription renews automatically and you can cancel auto-renewal at any time. Independent Digital News and Media Ltd reserves the right to withdraw this promotion at any time."},upgrade:{title:"Before you go...",subTitle:"You are currently set to renew at {{amount}}",cta:"Take this offer",type:{annual:"Annual",monthly:"Monthly","one-off":"Daily"},start:"Starts {{date}}",discount:"Save {{discount}}%",terms:"Subscription renews automatically and you can cancel auto-renewal at any time. Independent Digital News and Media Ltd reserves the right to withdraw this promotion at any time."},banner:{active:"You have successfully reactivated your subscription",renewed:"You have successfully renewed your subscription",paused:"You have successfully cancelled your subscription",errored:"Sorry, your subscription could not be updated",pending:"Success! Your new subscription has been confirmed"}}},Z={[Y.gC]:{popularVideos:"Videos populares",mostPopular:"Lo más visto",moreAbout:"Lee más sobre",sponsoredFeatures:"Leer más",indy100Trending:"Indy100 Tendencias",topic:"Tags",topicPath:"topics-list",archive:"Archivo",archivePath:"archivo",archiveBack:"atrás",related:"Relacionados",readTranslatedArticle:"Leer en Español",tvMore:"Más",tvUpNext:"A continuación",menu:"Menú",readMore:"Leer más",closeReadMore:"Minimizar",pinned:"Destacados",close:"Cerrar",change:"Cambiar",more:"Más",andMore:"y más",Advertisement:"Anuncio",fourOhFourTitle:"Esta página no existe",fourOhFourCopy:"Disculpe, no podemos encontrar la página que está buscando. Puede que haya ingresado la dirección de web incorrecta, o que la página ya no existe. Haga click el enlace a continuación para ir de vuelta a la página principal.",fourOhFourButton:"Página principal",popularArticles:"Lo más visto",ordinal_one:"{{count}}",ordinal_two:"{{count}}",ordinal_few:"{{count}}",ordinal_other:"{{count}}"},[Y.vT]:{showingNow:"Reproduciendo ahora",metaTagDescriptionLine1:"Latest trending news and video on Independent TV, from The Independent.",metaTagDescriptionLine2:"Find the latest {{label}} videos here."},[Y.fm]:{free:"Free",prefix:{default:"",secondNotLast:"Auto-renews at",secondAndLast:"Then auto-renews at",last:"Then"},frequency:{annual:"{{price}}",multiCycle_one:"{{price}} every {{unit}}",multiCycle_other:"{{price}} every {{count}} {{unit}}s",singleCycle:"{{price}} per {{unit}}"},duration:{empty:"",annual:"for the {{annualOrdinal}} year",default_one:"for {{count}} {{unit}}",default_other:"for {{count}} {{unit}}s"},suffix:{default:"",infinite:"thereafter"},unit:{D:"day",W:"week",M:"month",Y:"year"},summary:{packingHeading:"Your chosen package:",packageNameKnown:"{{type}} Subscription",packageNameUnknown:"Subscription",changeText:"Change",paymentBodySingle:"Cancel anytime",paymentBodyMulti:"{{payments}}. Cancel anytime"}}},X={[U]:Q,[G]:Z};function ee(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 te={[U]:function(e){for(var t=1;t{(()=>{"use strict";var t={"react/jsx-runtime":e=>{e.exports=n(86106)}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=e=>{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 o={};(()=>{i.r(o),i.d(o,{CLASS_HYDRATE_ROOT:()=>l,HydrateIsland:()=>c,default:()=>d});var e=i("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"];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 a(e){for(var t=1;t{"use strict";n.d(t,{AV:()=>u,LS:()=>r,PV:()=>c,TK:()=>s,Tv:()=>l,bA:()=>o,nf:()=>a,q4:()=>i,uX:()=>d});const r="Email",i="Password",o="Current password",a="New password",s="Re-type new password",l="First name",c="Last name",d="Birth year",u="Commenting name"},35351:(e,t,n)=>{"use strict";n.d(t,{Ri:()=>r});const r=(e,t=null)=>{var n,r;const i=`; ${document.cookie}`.split(`; ${e}=`);return 2===i.length?decodeURIComponent(null!==(n=null===(r=i.pop())||void 0===r?void 0:r.split(";").shift())&&void 0!==n?n:""):t}},37528:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,S:()=>h,V:()=>d,W:()=>p,a:()=>c,b:()=>l});var r=n(64543),i=n(9976),o=n(16708),a=(n(86106),n(62892));const s="is-active",l="info",c="success",d="error",u={[l]:void 0,[d]:i.e,[c]:i.W},p=r.styled.header.attrs({role:"alert"}).withConfig({componentId:"sc-1strae-0"})(["--transition:300ms ease-in-out;--variant-color:",";display:flex;position:fixed;top:0;left:0;z-index:",";width:100%;min-height:56px;box-sizing:border-box;align-items:center;justify-content:flex-start;gap:10px;padding:","px ","px;border-bottom:4px solid var(--variant-color);background-color:",";box-shadow:0 4px 4px ",";color:var(--variant-color);font:bold 16px/20px ",";opacity:0;transform:translateY(-100%);transition:transform var(--transition),opacity var(--transition);@media ","{justify-content:center;}@media ","{min-height:72px;font-size:20px;line-height:24px;}&.","{opacity:1;transform:translateY(0%);}"],({theme:e,$variant:t})=>e.color.semiotic[t],({theme:e})=>e.zIndex.header+1,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.shadow.dark,({theme:e})=>e.fontFamily.secondaryFont,a.t,a.l,s),h=(0,r.styled)(o.I).attrs(({$variant:e})=>({svg:u[e]})).withConfig({componentId:"sc-1strae-1"})(["flex-shrink:0;color:var(--variant-color);"])},38019:(e,t,n)=>{"use strict";n.d(t,{Ev:()=>o,MF:()=>s,Yh:()=>r,cN:()=>a,g9:()=>i});const r="showAdFreeSuccessMessage",i="showUpgradeSuccessMessage",o="filter",a="regSourceMethod",s="regSourceSection"},38036:(e,t,n)=>{var r=n(50613),i=n(27335),o=n(44082),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},40015:(e,t,n)=>{n.g.IntlPolyfill=n(75576),n(25746),n.g.Intl||(n.g.Intl=n.g.IntlPolyfill,n.g.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=n.g.IntlPolyfill},40388:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,uL:()=>m,wm:()=>h});var r=n(82075),i=n(48821),o=n(86106),a=n(7486),s=n(64543);const l=["layout","height","width"];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}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 i;return e+=n.replace(/(?:\n(?:\s*))+/g," ")+(null!==(i=t[r])&&void 0!==i?i:"")},"").trim(),"minify"),h="fixed",m="responsive";function g(e){return`data:image/svg+xml,${encodeURIComponent(p` `)}`}u(g,"colourisedPlaceholder");const f=g((0,a.l)("#222222","#ffffff")),y=u(({$layout:e,$width:t,$height:n})=>e===h?(0,s.css)(["width:","px;height:","px;"],t,n):(0,s.css)(["width:100%;height:100%;"]),"layoutStyles"),b=s.styled.img.withConfig({componentId:"sc-1mc30lb-0"})(["",""],y),v=u(e=>{let{layout:t=m,height:n,width:a}=e,s=(0,i.A)(e,l);return(0,o.jsx)(b,function(e){for(var t=1;t{"use strict";n.d(t,{C:()=>le,D:()=>Y,F:()=>D,H:()=>U,I:()=>Q,L:()=>ce,P:()=>G,S:()=>J,T:()=>B,W:()=>se,a:()=>q,b:()=>ae,c:()=>de,d:()=>ue,e:()=>ge,f:()=>me,g:()=>he,h:()=>W,i:()=>pe,j:()=>Z});var r=n(82075),i=n(48821),o=n(86106),a=n(7378),s=n(5286),l=n(64543),c=n(89834),d=n(9976),u=n(16708),p=n(90632),h=n(33375),m=n(12312),g=n(18087);n(9449),n(96463);const f=["id","label","helpText","className","message","type","state","button","buttonAction","controlled","required"],y=["id","label","helpText","className","message","type","state","button","buttonAction","controlled","required"],b=["id","className","controlled","disabled","label","size","isCosy"];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 x(e){for(var t=1;tw(e,"name",{value:t,configurable:!0});const O=j((e,t,n)=>({inactive:{[s.I.DEFAULT]:`1px solid ${e.color.semiotic.inactive};`,[s.I.ERROR]:`2px solid ${e.color.semiotic.error}`,[s.I.SUCCESS]:`2px solid ${e.color.semiotic.success}`,[s.I.WAITING]:`2px solid ${e.color.semiotic.info}`},focused:{[s.I.DEFAULT]:`2px solid ${e.color.semiotic.info}`,[s.I.ERROR]:`2px solid ${e.color.semiotic.error}`,[s.I.SUCCESS]:`2px solid ${e.color.semiotic.info}`,[s.I.WAITING]:`2px solid ${e.color.semiotic.info}`}}[n][t]),"getBorderStyle"),k=l.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:",";font:",";&: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.formInput.base,({theme:e})=>e.color.semiotic.disabled,({theme:e})=>e.color.ink.invert,({theme:e})=>e.color.ink.invert),S=l.styled.div.withConfig({componentId:"sc-10zubip-1"})(["--input-height:","px;--border-radius:4px;align-items:center;margin-bottom:","px;color:",";font:",";"],({theme:e})=>e.dimension.btn.height,({theme:e})=>e.spacing.x1,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.formInput.base),C=l.styled.label.withConfig({componentId:"sc-10zubip-2"})(["margin-bottom:0;font:",";"],({theme:e})=>e.textStyle.formInput.label),E=l.styled.span.withConfig({componentId:"sc-10zubip-3"})(["margin-right:","px;color:",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.color.semiotic.error),P=l.styled.p.withConfig({componentId:"sc-10zubip-4"})(["margin-top:","px;margin-bottom:0;font:",";"],({theme:e})=>e.spacing.x0_25,({theme:e})=>e.textStyle.formInput.helpText),I=l.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")),M=l.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=l.styled.div.withConfig({componentId:"sc-10zubip-7"})(["display:flex;gap:","px;color:",";font:",";"],({theme:e})=>e.spacing.x0_5,e=>e.theme.color.semiotic.error,({theme:e})=>e.textStyle.formInput.error),A=(0,l.styled)(u.I).withConfig({componentId:"sc-10zubip-8"})(["flex-shrink:0;"]),D=j(({id:e,label:t,helpText:n,className:r,message:i,state:a,required:l,children:c})=>(0,o.jsxs)(S,{className:r,children:[(0,o.jsx)(C,{htmlFor:e,children:t}),l&&(0,o.jsx)(E,{"aria-hidden":!0,children:"*"}),n&&(0,o.jsx)(P,{id:(0,h.h)(e),children:n}),(0,o.jsx)(I,{$state:a,children:c}),(0,o.jsx)(M,{"aria-live":"assertive",children:a===s.I.ERROR&&i&&(0,o.jsxs)(T,{children:[(0,o.jsx)(A,{svg:d.e,size:p.b}),(0,o.jsx)("span",{id:(0,h.e)(e),children:i})]})})]}),"FormInputWrapper$1"),N=(0,l.styled)(k).withConfig({componentId:"sc-1vpezd8-0"})(["",""],({theme:e,$hasButton:t})=>t?`padding-right: ${e.dimension.btn.height}px`:""),_=l.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,s.I.DEFAULT,"focused")),z="Enter",F=" ",$=0,R=j(e=>({onMouseDown:j(t=>{t.preventDefault(),t.button===$&&e()},"onMouseDown"),onKeyDown:j(t=>{(t.key===z||t.key===F)&&(t.preventDefault(),e())},"onKeyDown")}),"useInputButton"),L=l.styled.div.withConfig({componentId:"sc-1lpmueu-0"})(["position:absolute;top:50%;right:","px;transform:translateY(-50%);"],({theme:e})=>e.spacing.x2),B=j(e=>{let{id:t,label:n,helpText:r,className:l,message:d,type:u="text",state:p,button:h,buttonAction:m,controlled:g=!0,required:y=!1}=e,b=(0,i.A)(e,f);const v=(0,s.a)();if(g&&!v)throw new Error("FormInputs should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const w=g?v.register(t):{},O=R(j(()=>{m&&m()},"onAction")),k=j(()=>h?(0,a.cloneElement)(h,O):null,"createInputButton");return(0,o.jsxs)(D,{id:t,label:n,helpText:r,required:y,state:p,message:d,className:l,children:[(0,o.jsx)(N,x(x({id:t,type:u,$hasButton:!!h},b),w)),p===s.I.WAITING&&(0,o.jsx)(L,{children:(0,o.jsx)(c.A,{})}),h&&p!==s.I.WAITING&&(0,o.jsx)(_,{children:k()})]})},"TextInput$1"),H=(0,l.styled)(S).withConfig({componentId:"sc-1cxkol4-0"})(["position:relative;"]),K=l.styled.label.withConfig({componentId:"sc-1cxkol4-1"})(["position:absolute;top:-","px;left:","px;overflow:hidden;padding:0 ","px;background:linear-gradient( 0deg,"," 50%,"," 50% );color:",";font:",";pointer-events:none;text-align:left;text-overflow:ellipsis;user-select:none;white-space:nowrap;"],({theme:e})=>e.spacing.x1,({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.formInput.labelInset),q=j(({id:e,label:t,className:n,state:r,children:i,message:a})=>(0,o.jsxs)(H,{className:n,children:[(0,o.jsx)(I,{$state:r,children:i}),(0,o.jsx)(K,{htmlFor:e,children:t}),(0,o.jsx)(M,{"aria-live":"assertive",children:r===s.I.ERROR&&a&&(0,o.jsx)(T,{children:(0,o.jsx)("span",{id:(0,h.e)(e),children:a})})})]}),"FormInputWrapper"),V=l.styled.div.withConfig({componentId:"sc-k95qg6-0"})(["position:absolute;top:50%;right:","px;transform:translateY(-50%);"],({theme:e})=>e.spacing.x2),W=j(e=>{let{id:t,label:n,helpText:r,className:l,message:d,type:u="text",state:p,button:h,buttonAction:m,controlled:g=!0,required:f=!1}=e,b=(0,i.A)(e,y);const v=(0,s.a)();if(g&&!v)throw new Error("FormInputs should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const w=g?v.register(t):{},O=R(j(()=>{m&&m()},"onAction")),k=j(()=>h?(0,a.cloneElement)(h,O):null,"createInputButton");return(0,o.jsxs)(q,{id:t,label:n,helpText:r,required:f,state:p,message:d,className:l,children:[(0,o.jsx)(N,x(x({id:t,type:u,$hasButton:!!h},b),w)),p===s.I.WAITING&&(0,o.jsx)(V,{children:(0,o.jsx)(c.A,{})}),h&&p!==s.I.WAITING&&(0,o.jsx)(_,{children:k()})]})},"TextInput"),U=l.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;font:",";}"],({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.formInput.hint),G=l.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),J=(0,l.styled)(k).attrs({as:"select"}).withConfig({componentId:"sc-d2tt85-0"})(["appearance:none;"]),Y=(0,l.styled)(u.I).attrs({size:p.a}).withConfig({componentId:"sc-d2tt85-1"})(["flex-shrink:0;color:",";"],({theme:e})=>e.color.actionSubtleDark.base),Q=l.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),Z="small",X="base",ee=(0,l.styled)(m.A).attrs({as:"input"}).withConfig({componentId:"sc-ip7vp6-0"})([""]),te=l.styled.label.withConfig({componentId:"sc-ip7vp6-1"})(["display:flex;align-items:center;gap:var(--check-margin);color:var(--color);cursor:",";font:",";user-select:none;"],({$disabled:e})=>e?"default":"pointer",({theme:e})=>e.textStyle.formInput.error),ne=(0,l.styled)(u.I).withConfig({componentId:"sc-ip7vp6-2"})(["display:none;"]),re=l.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);"]),ie=l.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),oe={small:d.c,base:d.t,large:d.x},ae=j(e=>{let{id:t,className:n,controlled:r=!0,disabled:a=!1,label:l,size:c=X,isCosy:d=!1}=e,u=(0,i.A)(e,b);const p=(0,s.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,o.jsxs)(ie,{className:n,$size:c,$disabled:a,$isCosy:d,children:[(0,o.jsx)(ee,x(x({type:"checkbox",id:t,name:t,disabled:a},u),h)),(0,o.jsxs)(te,{htmlFor:t,$disabled:a,children:[(0,o.jsx)(re,{children:(0,o.jsx)(ne,{size:c,svg:oe[c]})}),(0,o.jsx)("div",{children:l})]})]})},"Checkbox"),se=l.styled.div.withConfig({componentId:"sc-1ehu5n1-0"})(["margin:","px 0;background-color:",";font:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.base,({theme:e})=>e.textStyle.checkbox.xSmall),le=l.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),ce=l.styled.div.withConfig({componentId:"sc-1ehu5n1-2"})(["max-width:440px;margin-left:","px;font:",";"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.textStyle.checkbox.xSmall),de=l.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,l.styled)(g.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=l.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=l.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.radioButton.label),me=(0,l.styled)(m.A).attrs({as:"input"}).withConfig({componentId:"sc-2hc0hq-2"})([""]),ge=l.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)},41040:(e,t,n)=>{"use strict";n.d(t,{C:()=>j,G:()=>g,I:()=>u,N:()=>m,S:()=>h});var r=n(86106),i=n(7378),o=n(18894),a=n(64543),s=n(14847),l=Object.defineProperty,c=(e,t)=>l(e,"name",{value:t,configurable:!0});const d=c((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 i=[],o=Math.ceil(e.length/t);for(let n=0;n(0,i.useEffect)(()=>{const i=e.current;function o(e){f(e)||(null==i?void 0:i.contains(document.activeElement))&&y(t,n,r)}return c(o,"handleFocused"),null==i||i.addEventListener("focusin",o),()=>{null==i||i.removeEventListener("focusin",o)}},[e,t,n,r]),"useScrollToFocusedElement"),v=c(()=>{const e=(0,i.useRef)(null),t=c((t,n)=>(...r)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>t(...r),n)},"debounce");return(0,i.useEffect)(()=>()=>{null!==e.current&&(clearTimeout(e.current),e.current=null)},[]),(0,i.useCallback)(t,[])},"useDebounceWithHooks"),x=c(({root:e,offsetKey:t})=>{const n=v(),r=e.current,o=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,i.useEffect)(()=>{t&&r&&c(()=>{const e=sessionStorage.getItem(t);null!==e&&r&&(r.scrollLeft=parseInt(e,10))},"setInitialOffset")()},[t,r]),[o]},"useScrollToOffset"),w=c(({nodes:e,root:t})=>{const n=(0,i.useRef)(null),[r,o]=(0,i.useState)(e.map(()=>!1)),[a,s]=(0,i.useState)(!0),[l,d]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{const r=c(t=>{t.forEach(t=>{const{target:n,isIntersecting:r,intersectionRatio:i}=t,a=e.findIndex(e=>e===n),l=r&&i>.9,c=r&&i>.1,u=0===a,p=a===e.length-1;o(e=>{const t=[...e];return t[a]=c,t}),u&&s(l),p&&d(l)})},"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)||t.observe(e))}),()=>{var e;null==(e=n.current)||e.disconnect()}},[t,e]),{visibleIndexes:r,isAtStart:a,isAtEnd:l}},"useVisibleIndexes"),j=c(({items:e,ButtonNext:t,ButtonPrev:n,renderSlide:a,className:s="",initialIndex:l=u,increment:f=1,offsetKey:y=""})=>{const v=d(e,f),j=(0,i.useRef)(null),O=(0,i.useRef)([]),k=e.length-1,[S]=x({root:j,offsetKey:y}),{visibleIndexes:C,isAtStart:E,isAtEnd:P}=w({nodes:O.current,root:j}),I=!(E&&P),M=(0,i.useCallback)((e=0)=>{var t,n,r;const i=(0,o.c)(0,k,e),a=null==(n=null==(t=null==O?void 0:O.current)?void 0:t.at(i))?void 0:n.offsetLeft;if(null!=(r=null==j?void 0:j.current)&&r.scrollTo){const e="smooth";j.current.scrollTo({top:0,left:a,behavior:e})}},[j,0,k]);(0,i.useEffect)(()=>{M(l)},[l,M]),b({root:j,behavior:"smooth",block:"nearest",inline:"center"});const T=(0,i.useCallback)(e=>{const t=C.findIndex(e=>e),n=(0,o.c)(0,k,t+e);M(n)},[C,k,M]);return(0,r.jsxs)(p,{className:s,children:[I&&(0,r.jsxs)(m,{children:[(0,r.jsx)(n,{disabled:E,onClick:c(()=>T(-1),"handlePrevClick")}),(0,r.jsx)(t,{disabled:P,onClick:c(()=>T(1),"handleNextClick")})]}),(0,r.jsx)(h,{ref:j,onScroll:S,children:v.map((e,t)=>(0,r.jsx)(g,{ref:e=>O.current[t]=e,tabIndex:-1,children:e.map((e,n)=>a({slideIndex:n,itemIndex:t*f+n,item:e,isVisible:!!C[t]}))},t))})]})},"Carousel")},41070:(e,t,n)=>{"use strict";n.d(t,{A:()=>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.spacing.x2,({theme:e})=>e.color.semiotic.attention,({theme:e})=>e.textStyle.capsule.base)},42273:(e,t,n)=>{var r=n(88716),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},42321:(e,t,n)=>{"use strict";n.d(t,{$:()=>c,R:()=>l});var r=n(89834),i=n(98758),o=n(95821),a=n(86106);const s=r.A.default||r.A,l=()=>(0,a.jsx)(o.eI,{children:(0,a.jsx)(s,{})}),c=()=>(0,a.jsxs)(o.Mc,{children:[i.e,(0,a.jsx)("a",{href:"/travel/hotels",children:"Click to view our hotel reviews"})]})},44082:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},44286:(e,t,n)=>{"use strict";n.d(t,{l:()=>d});var r=n(82075),i=n(48916),o=n(38019),a=n(81788),s=n(14971),l=n(3915);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}const d=({offerId:e,termId:t})=>{var n;const d=(0,s.Ri)(i.eY);return`/subscribe/${d?"payment":"register"}?${new URLSearchParams(function(e){for(var t=1;t{"use strict";n.d(t,{e:()=>i});var r=n(7378);const i=e=>{const[t,n]=(0,r.useState)(null!=e&&e),i=(0,r.useCallback)(e=>n(null!=e?e:!t),[t]);return[t,i]}},46053:(e,t,n)=>{"use strict";n.d(t,{HY:()=>r.HY,MR:()=>r.MR,eL:()=>r.eL,nM:()=>r.nM,ni:()=>r.ni,u0:()=>r.u0,zh:()=>r.zh});var r=n(65966);n(7144)},46615:(e,t,n)=>{"use strict";n.d(t,{X9:()=>h,bw:()=>l,Q_:()=>a,Wu:()=>c,lE:()=>p,vu:()=>d,cW:()=>u,MH:()=>s});var r=n(64543),i=n(34616);function o(e){return"string"==typeof e&&e.startsWith("--")?`var(${e})`:e}const a=r.styled.div.withConfig({componentId:"sc-11k47nl-0"})(["--image-width:89px;--image-height:134px;display:flex;flex-wrap:wrap;@media ","{--image-width:var(--image-height);}"],i.BY),s=r.styled.img.withConfig({componentId:"sc-11k47nl-1"})(["width:var(--image-width);height:var(--image-height);object-fit:cover;"]),l=r.styled.div.withConfig({componentId:"sc-11k47nl-2"})(["display:flex;width:calc(100% - var(--image-width));"]),c=r.styled.div.withConfig({componentId:"sc-11k47nl-3"})(["display:flex;flex-wrap:wrap;align-content:space-between;padding:","px ","px ","px ","px;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1),d=r.styled.div.withConfig({componentId:"sc-11k47nl-4"})(["width:100%;margin:0 0 2px;span{display:block;color:",";font:",";}"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.booking.card.base),u=r.styled.h4.withConfig({componentId:"sc-11k47nl-5"})(["--lines:2;--line-height:22px;margin:0;",";",""],({theme:e})=>e.textStyle.booking.card.price,function(e=3,t="1em",n=!0){const i=!0===n?`calc(${o(e)} * ${o(t)});`:"string"==typeof n&&n.startsWith("--")?`var(${n})`:"auto";return(0,r.css)(["display:-webkit-box;overflow:hidden;height:",";-webkit-box-orient:vertical;-webkit-line-clamp:",";text-overflow:initial;white-space:initial;"],i,o(e))}("--lines","--line-height",!0)),p=r.styled.p.withConfig({componentId:"sc-11k47nl-6"})(["margin:0;color:",";font:",";strong{font:",";}span{display:block;color:",";font:",";}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.booking.card.small,({theme:e})=>e.textStyle.booking.card.large,({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.booking.card.xSmall),h=r.styled.div.withConfig({componentId:"sc-11k47nl-7"})(["--icon-bg-width:47px;display:flex;width:var(--icon-bg-width);min-width:var(--icon-bg-width);align-items:center;justify-content:center;margin-left:auto;background-color:",";"],({theme:e})=>e.color.canvas.secondary)},48916:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>k,Cc:()=>re,Ew:()=>u,Hx:()=>p,JW:()=>U,Ln:()=>z,MC:()=>A,NQ:()=>oe,NY:()=>f,Nb:()=>J,Nd:()=>c,Ns:()=>P,Nv:()=>R,OS:()=>Q,Oy:()=>m,P_:()=>K,QO:()=>i,R3:()=>Y,Ri:()=>g,S6:()=>B,T7:()=>x,TE:()=>C,TI:()=>se,UD:()=>S,Ud:()=>D,WA:()=>y,ZJ:()=>V,bD:()=>G,cK:()=>w,cw:()=>ee,d7:()=>v,eY:()=>s,e_:()=>F,f5:()=>T,hc:()=>ie,iR:()=>l,jG:()=>$,kA:()=>o,kL:()=>h,lV:()=>d,lY:()=>X,lc:()=>q,mf:()=>H,oP:()=>O,q5:()=>j,qp:()=>I,rY:()=>L,rr:()=>_,sn:()=>ae,ss:()=>r,tS:()=>Z,u$:()=>N,uF:()=>te,uh:()=>ne,uv:()=>E,v8:()=>M,vR:()=>a,xQ:()=>W,xR:()=>b});const r="Locale",i="esi_auth",o="esi_puid",a="subscriber_origin",s="loggedIn",l="subscriber",c="irclickid",d="__DEBUG__",u="afu",p="_pc_hidepaywall",h="feat__debug_badge",m="feat__debug_skin",g="feat__pride_logo_all",f="feat__price_comparison_ab_test",y="feat__ad_refresh",b="feat__flags_api",v="feat__ad_api",x="feat__piano_marketing_sandbox",w="feat__force_piano_prod",j="feat__nsc_tide_repurpose",O="feat__debug_timings",k="feat__disable_xdomain_login",S="feat__anonymised",C="feat__cmp_force_enable",E="feat__no_pixels_player",P="feat__subscription_save_offer",I="feat__subscribe_page_sticky_cta",M="feat__dynamic_pricing",T="feat__fullstory",A="feat__sentry",D="feat__disable_premium_styles",N="feat__us_contributions_encore_component",_="feat__support_now_donate_copy",z="feat__new_editions",F="feat__live_ramp",$="feat__selling_page_no_app",R="feat__primis_player",L="feat__primis_new_design",B="feat__navlinks_increased",H="feat__product_list_number_active",K="feat__booking_microservices",q="feat__bulletin_commercial_badge",V="feat__intent_bid_enhancement",W="feat__billboard_rework",U="feat__bulletin_sidebar",G="feat__product_embed_layout",J="feat__next_click",Y="feat__generic_widget",Q="feat__hide_hero_image",Z="feat__next_swipe",X="feat__replace_subscribe_with_support",ee="feat__add_support_content_to_drawer",te="feat__newsletter_page_redesign",ne="feat__us_donations_ab_test",re="feat__dynamic_pricing_on_selling_page",ie="feat__dollar_sign",oe="feat__use_braze_for_push_notifications",ae="feat__bulletin_taboola_feed",se="feat__subscribe_newsletter_page"},49047:(e,t,n)=>{"use strict";n.d(t,{UB:()=>r,YD:()=>i});const r="B10",i="F3"},49196:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i.I,CW:()=>a.S,Kk:()=>a.b,Oq:()=>a.e,Sy:()=>u,X4:()=>a.a});var r=n(82075),i=n(16708),o=n(86106),a=n(90632);n(96120),n(75829);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 l(e){for(var t=1;tc(e,"name",{value:t,configurable:!0});function u(e){return d(function(t){return(0,o.jsx)(i.I,l(l({},t),{},{svg:e}))},"WrappedIcon")}d(u,"withIcon")},49470:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(14389);const i=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)),o=e=>!i(e)},49551:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(40077);const i=async()=>{const e=(()=>{try{return JSGlobals.recaptureV3Key}catch{return null}})();if(!e)throw new Error("Can't get token on server side");return await(0,r.kG)([`https://www.google.com/recaptcha/api.js?render=${e}`]),await(async()=>(await new Promise(e=>{grecaptcha.ready(e)}),await grecaptcha.execute(e,{action:"load_register_page"})))()}},49569:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(86106),i=n(51312),o=(n(71707),n(27835),n(2323),n(48484),n(7486),n(25730),n(90632),n(78174),n(28048),n(62892),n(23950),n(7939),Object.defineProperty);const a=((e,t)=>o(e,"name",{value:t,configurable:!0}))(({children:e})=>(0,r.jsx)(i.I,{inverted:!0,children:e}),"DarkThemeProvider")},49682:(e,t,n)=>{"use strict";n.d(t,{Np:()=>l,SS:()=>a,jP:()=>o,yG:()=>c});var r=n(86397),i=n(86106);const o=(e,t)=>`${e}-${t}`,a=(e,t,n={})=>t.reduce((t,o)=>{const a=e[o];if(a){const e=((e="")=>(0,r.aT)(e,["br","span","a"]))(a);if(o.includes("html"))t[o]=(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:e}});else{const e=((e="")=>(0,r.aT)(e))(a);t[o]=e.trim()}}return!a&&n[o]&&(t[o]=n[o]),t},{}),s=(e,t)=>Object.entries(t).reduce((t,[n,r])=>(t[o(e,n)]=r,t),{}),l=(e,t,n,r={})=>{const i=t=>o(e,t),l=n.map(e=>i(e)),c=s(e,r),d=a(t,l,c);return n.reduce((e,t)=>(e[t]=d[i(t)],e),{})},c=e=>"boolean"==typeof e?e:"true"===e},50082:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});const o=i(({event:e,disabled:t=!1,onInteract:n,onArrowDown:r=i(()=>{},"onArrowDown")})=>{const{target:o}=e,a="key"in e?e.key:void 0,s=o instanceof Element&&!!o.closest("a"),l=i(e=>a===e,"isKey");s||t||!["Enter"," ","ArrowDown",void 0].includes(a)||(l(" ")&&e.preventDefault(),l("ArrowDown")?null==r||r(e):null==n||n())},"handleDropdownInteract")},50432:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HX:()=>b,MQ:()=>l.a,bC:()=>l.V,uq:()=>y});var r=n(82075),i=n(48821),o=n(86106),a=n(76941),s=n(7378),l=n(37528);n(9976),n(16708),n(90632),n(96120),n(75829),n(62892);const c=["children","messageTimeout","className","variant","onClose","isInitiallyActive"],d=["children"],u=["children"];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 f=g(e=>{let{children:t,messageTimeout:n=8e3,className:r,variant:d=l.b,onClose:u,isInitiallyActive:p=!1}=e,m=(0,i.A)(e,c);const[g,f]=(0,s.useState)(p);return(0,s.useEffect)(()=>{f(!0);const e=setTimeout(()=>{f(!1),null==u||u()},n);return()=>clearTimeout(e)},[n,u]),(0,o.jsxs)(l.W,h(h({},m),{},{className:(0,a.c)(r,{[l.C]:g}),$variant:d,"aria-hidden":!g,children:[[l.V,l.a].includes(d)&&(0,o.jsx)(l.S,{$variant:d}),t]}))},"MessageBannerBase"),y=g(e=>{let{children:t}=e,n=(0,i.A)(e,d);return(0,o.jsx)(f,h(h({variant:l.V},n),{},{children:t}))},"MessageBannerError"),b=g(e=>{let{children:t}=e,n=(0,i.A)(e,u);return(0,o.jsx)(f,h(h({variant:l.a},n),{},{children:t}))},"MessageBannerSuccess")},50613:(e,t,n)=>{var r=n(42273).Symbol;e.exports=r},51458:(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}({})},51842:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30379);const i=()=>{var e;null===(e=window.braze)||void 0===e||e.requestImmediateDataFlush(e=>{e||(0,r.warn)("Braze data flush was unsuccessful")})}},53133:(e,t,n)=>{"use strict";n.d(t,{ae:()=>i,Fj:()=>o,g5:()=>a});n(4795);const r={D:864e5,W:6048e5,M:2592e6,Y:31536e6},i=e=>{if(!e)return null;if("number"==typeof e){const t=new Date(1e3*e);if("Invalid Date"!==t.toString())return t}return null},o=(e,t,n)=>1e3*(+t-+e)/r[n],a=(e,t="GBP",n="short")=>{if(!e||e instanceof Date==!1)return null;const r="long"===n?{year:"numeric",month:"long",day:"numeric"}:{year:"2-digit",month:"2-digit",day:"2-digit"};return e.toLocaleDateString({GBP:"en-GB",EUR:"en-GB",USD:"en-US"}[t],r)}},53206:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(48916);const i=()=>{var e;return!0===(null===(e=window.JSGlobals)||void 0===e||null===(e=e.featureFlags)||void 0===e?void 0:e[r.MC])}},54302:(e,t,n)=>{"use strict";n.d(t,{Sj:()=>c,Yg:()=>a,cl:()=>l,dh:()=>i,et:()=>r,it:()=>o,pU:()=>s});let r=function(e){return e.ANNUAL="yearly",e.MONTHLY="monthly",e.ONE_OFF="single",e}({}),i=function(e){return e.ANNUAL="annual",e.MONTHLY="monthly",e.ONE_OFF="one-off",e}({}),o=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}({}),a=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}({}),s=function(e){return e.PREMIUM="premium",e.BASE="base",e}({}),l=function(e){return e.COMPLETE="complete",e.ACTIVE="active",e.PENDING="pending",e.UNKNOWN="unknown",e}({}),c=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}({})},55161:(e,t,n)=>{"use strict";n.d(t,{Iq:()=>d,XV:()=>u,cK:()=>c});var r=n(18514),i=n(85870),o=n(86106);const a=(0,o.jsx)("a",{target:"_blank",rel:"noreferrer",href:r.$S,children:"Independent.co.uk"}),s=(0,o.jsx)("a",{target:"_blank",rel:"noreferrer",href:i.B3,children:"Customer Services Helpdesk"}),l=(0,o.jsx)("a",{href:i.Ci,children:i.w9}),c=[{id:"why",title:"Why should I subscribe to The Independent?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{children:"Subscribe today to support The Independent and gain unlimited access to our free-thinking, award-winning journalism."}),(0,o.jsx)("p",{children:"You will also enjoy:"}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:"Full access to Premium news analysis"}),(0,o.jsxs)("li",{children:["Advert-free reading across ",a]}),(0,o.jsx)("li",{children:"The Independent app with Premium features"}),(0,o.jsx)("li",{children:"Ebooks and virtual event tickets"}),(0,o.jsx)("li",{children:"Daily crossword and Sudoku puzzles"}),(0,o.jsx)("li",{children:"The Independent Daily Edition newspaper"})]})]})},{id:"payment",title:"What payment methods are available?",content:(0,o.jsx)("p",{children:"There are a range of payment methods available including credit or debit card, direct debit, and PayPal."})},{id:"cancellation",title:"How can I cancel my subscription?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["You may cancel your subscription at any time by logging in at"," ",a," and visiting the ‘Manage subscription’ tab in your account overview."]}),(0,o.jsx)("p",{children:"If you cancel your subscription before your next payment date, no further payments will be taken. However, please note that refunds are not available for the remainder of your current subscription period."}),(0,o.jsxs)("p",{children:["For more information, please visit our ",(0,o.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://help.independent.co.uk/hc/en-us/articles/360009626393-Can-I-cancel-my-subscription-during-my-free-trial-or-at-any-other-time-?_ptid=%7Bjcx%7DH4sIAAAAAAAAAI2Qy3KCMBhG3yVr45CEBHCnDCpai7WO2mXACAFFLuHS6fTdC9Z27K6ZZJNzvn-S7wNEvNyKS3bmSoCRKioxAFwewQj4UUsm9i5REzAAGQ_FTorG7QnWMIIagxhDhKFmQGRBjRKYynrf0FVrbdYiS2oHUsIZQQgLxnzzxH3rpAtEiGEcCac-tbrBos1EIUUaiNto50Bse7Gekdlm-oc6rQgqJa_pTUMmSyKFaBxCrVu4iuKgzKIwsuoY5TlOcpYnf_Lj4DdcRtfm58tPeG3rmNmUOS5CXULdwc30tu7SXTnPS3M-e2A7XkieqruyW8wPc894fXvZd07ALxmXYVqCUVqdzwNQy1J-qzV8LA5BQvpNDQLjd7v1iONNTVpv1knxn-Jk1vdg0SEm-hDruDtmd12VohiHIlUdPTZB_2p1BiPEsK7rTCfW5xfGkfoZ8wEAAA",children:"help centre"}),"."]})]})},{id:"support",title:"How do I contact Customer Services?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["For help about subscriptions and offers, please visit our"," ",s,"."]}),(0,o.jsxs)("p",{children:["Alternatively, you can contact our Customer Services team at"," ",l]})]})}],d=[{id:"why",title:"Why are you asking me to pay?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{children:"The Independent relies on advertising to fund reporting, commentary and analysis of the highest quality from our teams across the globe. We are asking readers who do not want their cookies used for ad tracking and personalised advertising to support our journalism another way - paying for an advert-free experience instead."}),(0,o.jsx)("p",{children:"By subscribing to Independent Premium or Independent Ad-Free, you can help sustain the future of independent journalism and read our agenda-setting coverage uninterrupted by ads. In a changing and uncertain world, the need for trusted, free-thinking journalism has never felt more important and your support is gratefully received."})]})},{id:"cancellation",title:"How do I cancel my subscription?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["You may cancel your subscription at any time by logging in at"," ",a," and visiting the ‘Manage Subscription‘ tab in your account overview."]}),(0,o.jsx)("p",{children:"If you cancel your subscription before your next payment date, no further payments will be taken. However, please note that refunds are not available for the remainder of your current subscription period."}),(0,o.jsx)("p",{children:"For more information, please visit our help centre."})]})},{id:"support",title:"How do I contact customer support?",content:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["For help with your subscription, please visit our ",s]}),(0,o.jsxs)("p",{children:["Alternatively, you can contact our Customer Services team at"," ",l,"."]})]})}],u=[{id:"signup",question:"What's included when I sign up?",answer:"

TBC

"},{id:"payment",question:"What payment methods are available?",answer:"

TBC

"},{id:"unsubscribe",question:"How can I cancel my membership to Miguel Delany's Inside Football?",answer:"

TBC

"},{id:"support",question:"How can I contact customer services?",answer:"

TBC

"}]},55480:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r.D,LD:()=>m,T6:()=>i.D,cn:()=>r.a,l$:()=>r.B});var r=n(18087),i=n(9165),o=(n(9449),n(86106)),a=n(7378),s=n(90632),l=n(9976),c=n(96463),d=(n(50082),n(14847),n(62892),n(16708),n(96120),n(75829),Object.defineProperty),u=(e,t)=>d(e,"name",{value:t,configurable:!0});const p={[s.a]:l.D,[s.b]:l.F,[s.S]:l._,[s.e]:l.I},h=u(({size:e=s.b,isOpen:t=!1})=>(0,o.jsx)(c.C,{$isOpen:t,svg:p[e],size:e}),"RotatingChevron"),m=u(({triggerContent:e,children:t})=>{const[n,r]=(0,a.useState)(!1);return(0,o.jsx)(c.S,{isOpen:n,onInteract:u(()=>{r(e=>!e)},"onDropdownInteract"),trigger:(0,o.jsxs)(c.a,{children:[e,(0,o.jsx)(h,{isOpen:n,size:s.a})]}),children:(0,o.jsx)(c.D,{children:t})})},"DropdownForCard")},55701:(e,t,n)=>{"use strict";n.d(t,{b:()=>R,A:()=>L});var r=n(64543),i=n(82075),o=n(3698),a=n.n(o),s=n(88107),l=n(86106);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 d(e){for(var t=1;t{const n=u[t];return t=>(0,l.jsx)(e,d(d({},t),{},{className:a()(t.className,n)}))};var h,m,g=n(7378);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",id:"d79de1a49cc5affb",viewBox:"0 0 1024 650"},e),h||(h=g.createElement("rect",{width:1e3,height:627,x:10,y:10,fill:"#fff",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:20,rx:55})),m||(m=g.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 b,v,x,w;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",id:"f4767adec673bed4",viewBox:"0 0 23 16"},e),b||(b=g.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"})),v||(v=g.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=g.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=g.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 k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",id:"Layer_1-2f56c32f030c01bc",viewBox:"0 0 566.9 137.4"},e),g.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}}),g.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"}}),g.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 C,E,P,I,M;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",id:"acd50c61b269e729",viewBox:"0 0 340 90"},e),C||(C=g.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"})),E||(E=g.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=g.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"})),I||(I=g.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"})),M||(M=g.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"}))),D=r.styled.svg.withConfig({componentId:"sc-zeouhl-0"})(["color:",";"],({theme:e})=>e.color.ink.black),N=(0,r.styled)(D).attrs({as:O}).withConfig({componentId:"sc-zeouhl-1"})([""]),_=(0,r.styled)(D).attrs({as:y}).withConfig({componentId:"sc-zeouhl-2"})([""]),z=p(A,"light"),F=p(S,"dark"),$=({children:e})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(N,{height:"16px"}),(0,l.jsx)(z,{height:"8px"}),e,(0,l.jsx)(_,{height:"16px"})]}),R=()=>(0,l.jsx)($,{children:(0,l.jsx)(F,{height:"8px"})}),L=$},56330:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},57808:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(82075),i=n(7378);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}var a=Object.defineProperty;const s=((e,t)=>a(e,"name",{value:t,configurable:!0}))(e=>i.createElement("svg",function(e){for(var t=1;t{"use strict";n.d(t,{Ux:()=>p,Ws:()=>r,YU:()=>l,fL:()=>o,g3:()=>s,gv:()=>a,h$:()=>u,j7:()=>d,lH:()=>c,sU:()=>i,yA:()=>h});const r="subscription-cause",i="forgotten-password-redirect-url",o="consent-to-pay-original-page-redirect-url",a="donate-redirect-url",s="ignore-bookmark",l="premiumBookmarks",c="regSourceMethod",d="regSourceSection",u="returnUrl",p="color-mode",h="has-next-clicked-swiped"},58683:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,RH:()=>o,go:()=>a});var r=n(23108);const i={href:r.string.isRequired,title:r.string.isRequired,image:r.string.isRequired,sponsored:r.bool,algorithm:r.string},o={src:i.href,alt:i.title},a={className:r.string,links:r.arrayOf(r.shape(i)).isRequired,title:r.string,position:r.number,autolink:r.bool,topicLink:r.bool},s={article:r.shape({premium:r.bool}).isRequired,req:r.shape({i18n:r.object.isRequired,cookies:r.shape({subscriber:r.string}).isRequired}).isRequired,res:r.shape({locals:r.shape({configuration:r.shape({domain:r.string.isRequired}).isRequired}).isRequired}).isRequired,className:r.string,index:r.number.isRequired,data:r.shape({title:r.string,links:r.arrayOf(r.shape(i)).isRequired,autolink:r.bool,topicLink:r.bool}).isRequired}},59187:(e,t,n)=>{"use strict";n.d(t,{$4:()=>N,Eq:()=>F,Op:()=>a.F,Sc:()=>c.b,Sj:()=>A,TW:()=>_,a:()=>R,hD:()=>c.i,ks:()=>c.T,lV:()=>E,p3:()=>c.h,pe:()=>$,pp:()=>z,yA:()=>D});var r=n(82075),i=n(48821),o=n(86106),a=n(5286),s=n(33375),l=n(73959),c=n(40764),d=n(7378),u=n(9976),p=n(73108),h=n(16708),m=n(90632),g=(n(18087),n(9165));n(9449),n(96463),n(89834),n(12312),n(14847),n(62892),n(25584),n(96120),n(75829),n(50082);const f=["children"],y=["validationHints"],b=["id","label","helpText","className","message","state","required","controlled","options","defaultValue"],v=["id","label","helpText","className","message","state","required","controlled","options","defaultValue"],x=["dropdownHeader","dropdownContent","label"],w=["id","className","controlled","disabled","label","name"];function j(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 O(e){for(var t=1;tk(e,"name",{value:t,configurable:!0}),C=(e,t,n)=>(((e,t,n)=>{t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const E=S(e=>{let{children:t}=e,n=(0,i.A)(e,f);return(0,o.jsx)("form",O(O({noValidate:!0,method:"POST",onSubmit:S(e=>{e.preventDefault()},"preventSubmission")},n),{},{children:t}))},"Form"),P=[],I=class{constructor(e){C(this,"name"),C(this,"primitiveType","string"),C(this,"isRequired",!1),C(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",[[l.i,P]]),this}number(){return this.initialise("number",[[l.a,P]]),this}boolean(){return this.initialise("boolean",[[l.b,P]]),this}required(){return this.isRequired=!0,this}isEmail(...e){return this.checkValid(),this.validators.push([l.c,e]),this}doesMatch(...e){return this.checkValid(),this.validators.push([l.d,e]),this}doesNotMatch(...e){return this.checkValid(),this.validators.push([l.e,e]),this}hasMin(...e){return this.checkValid(),this.validators.push([l.f,e]),this}hasMax(...e){return this.checkValid(),this.validators.push([l.g,e]),this}hasRange(...e){return this.checkValid(),this.validators.push([l.j,e]),this}containsNoSpaces(...e){return this.checkValid(),this.validators.push([l.k,e]),this}matchesRegex(...e){return this.checkValid(),this.validators.push([l.m,e]),this}};S(I,"SchemaEntry");let M=I;const T=class{constructor(e){return C(this,"self"),C(this,"fields"),C(this,"names"),C(this,"errors",{}),C(this,"validationHints"),this.self=e,this.fields=Object.keys(e),this.names=Object.entries(e).reduce((e,[t,n])=>O(O({},e),{},{[t]:n.name}),{}),this.validationHints={},this.initValidationHints(),this}static add(e){return new M(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,i){this.validationHints[e]=O(O({},this.validationHints[e]),{},{[t]:{passes:n,hint:r,errorType:i}})}initValidationHint(e){this.get(e).validators.forEach(t=>{const[n,r]=t,[i,o,a]=r;if(a){const t="string"==typeof o?o:"",r=`${n.name}${(0,s.a)(t)}`;this.setValidationHints(e,[i,o].join("."),!1,a,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 i=r.isRequired,o=await(0,l.l)(r.primitiveType).validate(t,n);if(i&&o)return this.setErrors(e,[o]),this.resetValidationHints(e),this.getErrors(e);const a=(await Promise.all(r.validators.map(async r=>{const[i,o]=r,[a,s,l]=o,c=await i(...o).validate(t,n);return l&&this.setValidationHints(e,[a,s].join("."),!c&&""!==t,l,null==c?void 0:c.type),c}))).filter(e=>e);return this.setErrors(e,a),this.getErrors(e)}};S(T,"Schema");let A=T;const D=S(e=>{const[t,n]=(0,d.useState)(!1);return(0,o.jsx)(c.T,O({type:t?"text":"password",spellCheck:!1,buttonAction:S(()=>{n(e=>!e)},"toggleShowPassword"),button:(0,o.jsx)(p.A,{svg:t?u.n:u.s,"aria-label":t?"Hide password":"Show password"})},e))},"PasswordInput"),N=S(({passes:e,hint:t,"data-testid":n})=>(0,o.jsxs)(c.H,O(O({$passes:e,"data-testid":n},e&&{"data-value":"checked"}),{},{children:[(0,o.jsx)(h.I,{svg:e?u.T:u.u,size:m.a}),(0,o.jsx)("p",{children:t})]})),"ValidationHint"),_=S(e=>{let{validationHints:t}=e,n=(0,i.A)(e,y);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(D,O({},n)),t&&(0,o.jsx)(c.P,{"data-testid":"password-validation-hints",children:Object.entries(t).map(([e,t])=>(0,o.jsx)(N,O(O({},t),{},{"data-testid":`password-validation-hint-${t.hint.toLowerCase().replace(/\s/g,"-")}`}),e))})]})},"PasswordInputWithValidationHints"),z=S(e=>{let{id:t,label:n,helpText:r,className:s,message:l,state:d=a.I.DEFAULT,required:p=!1,controlled:h=!0,options:m,defaultValue:g}=e,f=(0,i.A)(e,b);const y=(0,a.a)();if(h&&!y)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!==g,x=h?y.register(t):{};return(0,o.jsxs)(c.F,{id:t,label:n,helpText:r,required:p,state:d,message:l,className:s,children:[(0,o.jsxs)(c.S,O(O(O({id:t,defaultValue:g||""},f),x),{},{children:[!v&&(0,o.jsx)("option",{value:"",disabled:!0,children:"Select"}),m.map(e=>(0,o.jsx)("option",{children:e.label},e.value))]})),(0,o.jsx)(c.I,{children:(0,o.jsx)(c.D,{svg:u.F})})]})},"SelectInput$1"),F=S(e=>{let{id:t,label:n,helpText:r,className:s,message:l,state:d=a.I.DEFAULT,required:p=!1,controlled:h=!0,options:m,defaultValue:g}=e,f=(0,i.A)(e,v);const y=(0,a.a)();if(h&&!y)throw new Error("FormInput components should have FormProvider & Form from @indy/ui/Form as parents, unless the controlled={false} prop is set");const b=void 0!==g,x=h?y.register(t):{};return(0,o.jsxs)(c.a,{id:t,label:n,helpText:r,required:p,state:d,message:l,className:s,children:[(0,o.jsxs)(c.S,O(O(O({id:t,defaultValue:g||""},f),x),{},{children:[!b&&(0,o.jsx)("option",{value:"",disabled:!0,children:"Select"}),m.map(e=>(0,o.jsx)("option",{children:e.label},e.value))]})),(0,o.jsx)(c.I,{children:(0,o.jsx)(c.D,{svg:u.F})})]})},"SelectInput"),$=S(e=>{let{dropdownHeader:t,dropdownContent:n,label:r}=e,a=(0,i.A)(e,x);return(0,o.jsxs)(c.W,{children:[(0,o.jsx)(c.C,{children:(0,o.jsx)(c.b,O({label:(0,o.jsx)(c.L,{children:r})},a))}),(0,o.jsx)(g.D,{iconSize:m.a,trigger:e=>(0,o.jsxs)(c.c,{children:[t,e]}),children:(0,o.jsx)(c.d,{$isActive:!0,children:n})})]})},"CheckboxWithDropdown"),R=S(e=>{let{id:t,className:n,controlled:r=!0,disabled:s=!1,label:l,name:d}=e,u=(0,i.A)(e,w);const p=(0,a.a)();if(r&&!p)throw new Error("RadioButton should be wrapped by a FormProvider from @indy/ui/Form, unless the controlled={false} prop is set");const h=r?p.register(d):{};return(0,o.jsxs)(c.e,{className:n,children:[(0,o.jsx)(c.f,O(O({type:"radio",id:t,name:d,disabled:s,autoComplete:"off"},u),h)),(0,o.jsx)(c.g,{htmlFor:t,children:l})]})},"RadioButton")},59224:(e,t,n)=>{"use strict";n.d(t,{bz:()=>o,tL:()=>i,tX:()=>r});const r="GBP",i="USD",o="EUR"},59698:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(82075),i=n(23108),o=n(64543),a=n(14725),s=n(59187),l=n(89834),c=n(84229),d=n(46053),u=n(88107),p=n(21531),h=n(15081),m=n(57911),g=n(15406),f=n(9513),y=n(84449),b=n(86106);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 x(e){for(var t=1;te.spacing.x2,({theme:e})=>e.color.semiotic.error,({theme:e})=>e.textStyle.formInput.error),S=o.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.formInput.link),C=e=>{e.preventDefault(),window.localStorage.setItem(m.sU,window.location.href),(0,y.V)("/forgotten-password")},E=e=>{var t,n;const{redirectUrl:r}=e,{methods:i,registerControlledInput:o}=(0,c.G1)(d.ni),{handleSubmit:l,formState:m,setFormError:v,setError:E}=i;return(0,b.jsxs)(O,{children:[(0,b.jsx)(s.Op,x(x({},i),{},{children:(0,b.jsxs)(s.lV,{id:h.Uc,children:[(0,b.jsx)(s.ks,x(x({},o(h.BR)),{},{type:"email",label:"Email address",required:!1})),(0,b.jsx)(s.yA,x(x({},o(h.IT)),{},{label:"Password",required:!1})),(null===(t=m.errors.root)||void 0===t?void 0:t.message)&&(0,b.jsx)(k,{children:null===(n=m.errors.root)||void 0===n?void 0:n.message}),m.isSubmitting?(0,b.jsx)(j,{}):(0,b.jsx)(w,{name:"submitBtn",size:a.Zz,type:a.HM,disabled:!m.isValid,className:u.lr,onClick:l(async e=>{const t=e[h.BR],n=e[h.IT],i={[h.BR]:t,[h.IT]:n};try{const{formError:e,fieldErrors:o}=await(0,g.R1)({path:"/user/login/submit",data:i,isInternalApi:!1});if(o)return void Object.entries(o).forEach(([e,t])=>{const[n]=t;E(e,[x(x({},n),{},{messageBuilder:()=>n.message})])});if(e)throw new Error(null==e?void 0:e.message);await(0,f.A)(),await(0,g.H_)(t,n),(e=>{const t=new URL(e||"/",window.location.origin);t.searchParams.append("loginSuccessful",!0),(0,y.V)(t.href)})(r)}catch(e){v(e.message||p.W)}},()=>{v(p.W)}),children:"Submit"})]})})),(0,b.jsx)(S,{children:(0,b.jsx)("a",{href:"/forgotten-password",onClick:C,children:"Forgotten your password?"})})]})};E.propTypes={redirectUrl:i.string};const P=E},60824:function(e,t,n){"use strict";var r;!function(){if("function"!=typeof i){var i=function(e){return e};i.nonNative=!0}const o=i("plaintext"),a=i("html"),s=i("comment"),l=/<(\w*)>/g,c=/<\/?([^\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=l.exec(e);)t.add(n[1])}else i.nonNative||"function"!=typeof e[i.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:o,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,i=t.state,l=t.tag_buffer,c=t.depth,d=t.in_quote_char,u="";for(let t=0,p=e.length;t":if(d)break;if(c){c--;break}d="",i=o,l+=">",n.has(h(l))?u+=l:u+=r,l="";break;case'"':case"'":d=p===d?"":d||p,l+=p;break;case"-":""===p)"--"==l.slice(-2)&&(i=o),l="";else l+=p}return t.state=i,t.tag_buffer=l,t.depth=c,t.in_quote_char=d,u}function h(e){let t=c.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)}()},62687:(e,t,n)=>{"use strict";n.d(t,{Ly:()=>c,YB:()=>l,fF:()=>a,fJ:()=>p,vu:()=>u,yj:()=>d});var r=n(62687),i=n(24539),o=n(51458);const a=(e,t,n,r)=>{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 o=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 o.map(t=>{const n=(0,i.e5)({width:t,trim:null!=r?r:void 0});return`${(0,i.m$)(e,n)} ${t}w`}).join(", ")},s=e=>/^\d+(\.\d+)?:\d+(\.\d+)?$/.test(e),l=(e,t=null,n=null,r=!1,o=null)=>{if(!e)return"";n&&!s(n)&&(console.warn(`Wrong crop ratio format for image ${e}`),n=null);const a=(0,i.e5)({width:null!=t?t:void 0,crop:n?`${n},smart`:void 0,trim:null!=o?o:void 0});return[(0,i.m$)(e,a),...r&&t?[`${t}w`]:[]].join(" ")},c=(e,t,n=null,i=!0,o)=>e&&t&&t.length?t.map(t=>r.YB(e,t,n,i,o)):[],d=(e,t,n)=>{if(e&&!s(String(e))&&e!==o.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===o.m.FREEFORM)return[0,0];const r="string"==typeof t?parseFloat(t):t,i="string"==typeof n?parseFloat(n):n;if(isNaN(r)||isNaN(i))return console.warn(`Invalid width or height: ${r}, ${i}`),[r,i];const[a,l]=e.split(":"),c=parseFloat(a),d=parseFloat(l)/c;return i/r{var n;const r=null==e||null===(n=e[t])||void 0===n?void 0:n.trimData;if(!r)return;const{top:i,right:o,bottom:a,left:s}=r;return[i,o,a,s].every(e=>"number"==typeof e)?`${i},${o},${a},${s}`:void 0},p=(e,t)=>{var n,r;const i=null!==(n=null==e||null===(r=e[t])||void 0===r?void 0:r.cropData)&&void 0!==n?n:null;if(i&&"number"==typeof i.width&&"number"==typeof i.height)return[i.width,i.height]}},63122:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,S:()=>u});var r=n(86106),i=n(64543),o=n(25730),a=(n(90632),n(78174),Object.defineProperty),s=(e,t)=>a(e,"name",{value:t,configurable:!0});const l=i.styled.div.withConfig({componentId:"sc-12btdgd-0"})(["@media (max-width:","px){--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);}"],671,({theme:e})=>e.dimension.bleed),c=s(({children:e,className:t})=>(0,r.jsx)(l,{className:t,children:e}),"FullBleed"),{bleed:d}=o.d,u=`(max-width: ${639+2*d}px)`},65036:(e,t,n)=>{"use strict";n.d(t,{tn:()=>r.a});n(33375),n(73959);var r=n(7486)},65619:(e,t,n)=>{"use strict";n.d(t,{BS:()=>g,RM:()=>p,SL:()=>y,g8:()=>m,nv:()=>h,r_:()=>u,xQ:()=>f});var r=n(82075),i=n(48821),o=n(67708),a=n(86371);const s=["offerId","termId"],l=["offerId","termId"];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 d(e){for(var t=1;t(0,a._c)("/thank-you",e),p=(e={})=>(0,a._c)("/subscribe",e),h=e=>{const{offerId:t,termId:n}=e,r=(0,i.A)(e,s),l=(0,o.tP)({offerId:t,termId:n});return(0,a._c)("/subscribe/payment",d(d({},l),r))},m=(e={})=>(0,a._c)("/donate",e),g=e=>{const{offerId:t,termId:n}=e,r=(0,i.A)(e,l),s=(0,o.tP)({offerId:t,termId:n});return(0,a._c)("/donate/payment",d(d({},s),r))},f=e=>(0,a._c)("/donate/register",e),y=()=>"/forgotten-password"},65757:(e,t,n)=>{var r=n(90740);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},65966:(e,t,n)=>{"use strict";n.d(t,{HY:()=>u,MR:()=>s,eL:()=>c,nM:()=>p,ni:()=>a,u0:()=>d,zh:()=>l});var r=n(59187),i=n(15081),o=n(7144);const a=new r.Sj({[i.BR]:o.au,[i.IT]:o.nw}),s=new r.Sj({[i.BR]:o.au,[i.IT]:o._u}),l=new r.Sj({[i.Pt]:o.xE,[i.S1]:o.s3}),c=(new r.Sj({[i.z$]:o.au,[i.Gj]:o._u,[i.NF]:o.xE,[i.cZ]:o.s3}),new r.Sj({[i.RC]:o.Ed,[i.ND]:o.kS})),d=new r.Sj({[i.bx]:o.au}),u=new r.Sj({[i.ai]:o.xE,[i.Gd]:o.jh,[i.a]:o.oA,[i.DK]:o.kB,[i.$4]:o.au}),p=new r.Sj({[i.c$]:o.nw,[i.b0]:o.Pg,[i.xe]:o.Kr})},67073:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t));return JSON.parse(n)}catch(e){return null}}},67077:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var r=n(3805),i=n(15081),o=n(30379);const a=async(e,t)=>new Promise(n=>{var a;null!==(a=JSGlobals)&&void 0!==a&&null!==(a=a.cmp)&&void 0!==a&&a.enabled?window.__tcfapi&&new Promise(e=>{JSGlobals.cmp.enabled?(document.getElementById(i.X6).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),t.gdprApplies){if((0,o.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,o.log)('Consent Or Pay: tcData.publisher?.consents?.["1"] ---\x3e',t),void e(!0);e(!1)}else e(!0);else(0,o.log)("Consent Or Pay: !['useractioncomplete', 'tcloaded'].includes(tcData.eventStatus) ---\x3e",{tcData:t,eventStatus:t.eventStatus})})):e(!0)}).then(r=>{r?window.__tcfapi("getCustomVendorConsents",2,r=>{var i;const a=!(null===(i=r.grants)||void 0===i||null===(i=i[e])||void 0===i||!i.vendorGrant);(0,o.log)("CMP:getCustomVendorConsents",t,a),n(a)}):n(!1)}):n(!0)})},67708:(e,t,n)=>{"use strict";n.d(t,{tP:()=>i});var r=n(54582);const i=({offerId:e,termId:t})=>({[r.l_]:e,[r.DC]:t})},67721:(e,t,n)=>{var r=n(70820),i=n(15124),o=n(65757),a=Math.ceil,s=Math.max;e.exports=function(e,t,n){t=(n?i(e,t,n):void 0===t)?1:s(o(t),0);var l=null==e?0:e.length;if(!l||t<1)return[];for(var c=0,d=0,u=Array(a(l/t));c{"use strict";n.d(t,{A:()=>a});var r,i=n(7378);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",id:"e84fcac8d999dff7",viewBox:"0 0 32 32"},e),r||(r=i.createElement("path",{fill:"currentColor",d:"m19.06 24 1.88-1.88-6.1-6.12 6.1-6.12L19.06 8l-8 8z"})))},68110:(e,t,n)=>{var r=n(38036),i=n(22750);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},69474:(e,t,n)=>{var r=n(99302),i=n(56330);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},69629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Helmet:()=>he,default:()=>me});var r,i,o,a,s=n(23108),l=n.n(s),c=n(75829),d=n.n(c),u=n(12700),p=n.n(u),h=n(7378),m=n(24039),g=n.n(m),f="bodyAttributes",y="htmlAttributes",b="titleAttributes",v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},x=(Object.keys(v).map(function(e){return v[e]}),"charset"),w="cssText",j="href",O="http-equiv",k="innerHTML",S="itemprop",C="name",E="property",P="rel",I="src",M="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A="defaultTitle",D="defer",N="encodeSpecialCharacters",_="onChangeClientState",z="titleTemplate",F=Object.keys(T).reduce(function(e,t){return e[T[t]]=t,e},{}),$=[v.NOSCRIPT,v.SCRIPT,v.STYLE],R="data-react-helmet",L="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},B=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,"'")},V=function(e){var t=Y(e,v.TITLE),n=Y(e,z);if(n&&t)return n.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var r=Y(e,A);return t||r||void 0},W=function(e){return Y(e,_)||function(){}},U=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return H({},e,t)},{})},G=function(e,t){return t.filter(function(e){return void 0!==e[v.BASE]}).map(function(e){return e[v.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Q=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout(function(){Q(e)},0)}),Z=function(e){return clearTimeout(e)},X="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Q:n.g.requestAnimationFrame||Q,ee="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Z:n.g.cancelAnimationFrame||Z,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,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,u=e.title,p=e.titleAttributes;ae(v.BODY,r),ae(v.HTML,i),oe(u,p);var h={baseTag:se(v.BASE,n),linkTags:se(v.LINK,o),metaTags:se(v.META,a),noscriptTags:se(v.NOSCRIPT,s),scriptTags:se(v.SCRIPT,c),styleTags:se(v.STYLE,d)},m={},g={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(g[e]=h[e].oldTags)}),t&&t(),l(e,m,g)},ie=function(e){return Array.isArray(e)?e.join(""):e},oe=function(e,t){void 0!==e&&document.title!==e&&(document.title=ie(e)),ae(v.TITLE,t)},ae=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(R),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s=0;u--)n.removeAttribute(o[u]);i.length===o.length?n.removeAttribute(R):n.getAttribute(R)!==a.join(",")&&n.setAttribute(R,a.join(","))}},se=function(e,t){var n=document.head||document.querySelector(v.HEAD),r=n.querySelectorAll(e+"["+R+"]"),i=Array.prototype.slice.call(r),o=[],a=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===k)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(R,"true"),i.some(function(e,t){return a=t,n.isEqualNode(e)})?i.splice(a,1):o.push(n)}),i.forEach(function(e){return e.parentNode.removeChild(e)}),o.forEach(function(e){return n.appendChild(e)}),{oldTags:i,newTags:o}},le=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},"")},ce=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 v.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[R]=!0,i=ce(n,r),[h.createElement(v.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=le(n),o=ie(t);return i?"<"+e+" "+R+'="true" '+i+">"+q(o,r)+"":"<"+e+" "+R+'="true">'+q(o,r)+""}(e,t.title,t.titleAttributes,n)}};case f:case y:return{toComponent:function(){return ce(t)},toString:function(){return le(t)}};default:return{toComponent:function(){return function(e,t){return t.map(function(t,n){var r,i=((r={key:n})[R]=!0,r);return Object.keys(t).forEach(function(e){var n=T[e]||e;if(n===k||n===w){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]}),h.createElement(e,i)})}(e,t)},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var i=Object.keys(r).filter(function(e){return!(e===k||e===w)}).reduce(function(e,t){var i=void 0===r[t]?t:t+'="'+q(r[t],n)+'"';return e?e+" "+i:i},""),o=r.innerHTML||r.cssText||"",a=-1===$.indexOf(e);return t+"<"+e+" "+R+'="true" '+i+(a?"/>":">"+o+"")},"")}(e,t,n)}}}},ue=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,d=e.title,u=void 0===d?"":d,p=e.titleAttributes;return{base:de(v.BASE,t,r),bodyAttributes:de(f,n,r),htmlAttributes:de(y,i,r),link:de(v.LINK,o,r),meta:de(v.META,a,r),noscript:de(v.NOSCRIPT,s,r),script:de(v.SCRIPT,l,r),style:de(v.STYLE,c,r),title:de(v.TITLE,{title:u,titleAttributes:p},r)}},pe=d()(function(e){return{baseTag:G([j,M],e),bodyAttributes:U(f,e),defer:Y(e,D),encode:Y(e,N),htmlAttributes:U(y,e),linkTags:J(v.LINK,[P,j],e),metaTags:J(v.META,[C,x,O,E,S],e),noscriptTags:J(v.NOSCRIPT,[k],e),onChangeClientState:W(e),scriptTags:J(v.SCRIPT,[I,k],e),styleTags:J(v.STYLE,[w],e),title:V(e),titleAttributes:U(b,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=(i=pe,a=o=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 v.SCRIPT:case v.NOSCRIPT:return{innerHTML:t};case v.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,i=e.newChildProps,o=e.nestedChildren;return H({},r,((t={})[n.type]=[].concat(r[n.type]||[],[H({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case v.TITLE:return H({},i,((t={})[r.type]=a,t.titleAttributes=H({},o),t));case v.BODY:return H({},i,{bodyAttributes:H({},o)});case v.HTML:return H({},i,{htmlAttributes:H({},o)})}return H({},i,((n={})[r.type]=H({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=H({},t);return Object.keys(e).forEach(function(t){var r;n=H({},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 i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[F[n]||n]=e[n],t},t)}(K(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}}),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=K(e,["children"]),r=H({},n);return t&&(r=this.mapChildrenToProps(t,r)),h.createElement(i,r)},B(t,null,[{key:"canUseDOM",set:function(e){i.canUseDOM=e}}]),t}(h.Component),o.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var e=i.rewind();return e||(e=ue({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);he.renderStatic=he.rewind;const me=he},69715:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},70165:(e,t,n)=>{"use strict";n.d(t,{d:()=>p,dR:()=>v,xi:()=>h});var r=n(82075),i=n(33687),o=n(1341),a=n(53133),s=n(86397),l=n(90528),c=n(54302);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;t0===e?i.A.t("Free",{ns:o.fm}):(0,l.$)(t,e,n),h=e=>({renderPrice:p,renderDate:(t,n)=>(0,a.g5)((0,a.ae)(t),e,n),getRenderedDates:t=>({longFormat:(0,a.g5)((0,a.ae)(t),e,"long"),shortFormat:(0,a.g5)((0,a.ae)(t),e,"short")})}),m=e=>(t,n={})=>((e,t={})=>i.A.t(e,u({ns:o.fm},t)))(`paymentPlan.${e}.${t}`,n),g=({index:e,t})=>0===e?"":t("then"),f=({cycle:e,index:t,lastIndex:n,priceStyle:r,t:i})=>{const{frequency:o,payment:a,totalPayments:s}=e,l=e.type===c.et.ANNUAL,d=1===s,u=t===n,h={price:p(a,"short"===r),unit:null==o?void 0:o.unit,count:null==o?void 0:o.value};return e.yearCount&&l&&!u?i("annual",h):1===o.value?i("singleCycle.v1",h):i(d?"singleCycle.v2":"multiCycle",h)},y=({cycle:e,index:t,lastIndex:n,t:r})=>{var i;const{duration:o}=e,a=1===e.totalPayments,s=0===t,l=t===n,c=e.yearCount;return!c||l||s?null==o||!o.absolute||null!=o&&o.isInfinite||a?"":r("default.v1",{count:null==o?void 0:o.absolute.value,unit:null==o||null===(i=o.absolute)||void 0===i?void 0:i.unit}):r("annual",{yearCount:c})},b=({index:e,cycle:t,lastIndex:n,t:r})=>{const{duration:i}=t;return(null==i?void 0:i.isInfinite)&&e===n&&!(0===e)?r("infinite"):""},v=(e,t={})=>{const n=t.prefix||g,r=t.frequency||f,i=t.duration||y,o=t.suffix||b;return e.map((a,l)=>{const c={lastIndex:e.length-1,index:l,cycle:a,priceStyle:t.priceStyle||"long"};return(0,s.O3)(n(u(u({},c),{},{t:m("prefix")})),r(u(u({},c),{},{t:m("frequency")})),i(u(u({},c),{},{t:m("duration")})),o(u(u({},c),{},{t:m("suffix")})))})}},70820:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r{"use strict";n.d(t,{FB:()=>r,Gc:()=>o,Ts:()=>i});const r="uk",i="us",o="others"},71945:(e,t,n)=>{"use strict";n.d(t,{Gc:()=>i,J7:()=>a,Sc:()=>s,lc:()=>o,sB:()=>r});const r="nextSwipeZone",i="nextSwipeIgnore",o=20,a=60,s=30},72241:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,Q:()=>l});var r=n(97349),i=n(51842),o=n(32178);var a=n(84449),s=n(44286);const l=(e,t)=>{const n=(0,s.l)({offerId:e,termId:t});(0,a.V)(n)},c=async({fields:e,trackingFn:t,isOutsideRegion:n,toggleIsAppPopupOpen:a,selectedPlan:s,trackingData:c})=>{if(t(c),n)return void a();await(async()=>{try{var e;await(0,o.Ay)()&&(null===(e=window.braze)||void 0===e||e.logCustomEvent(r.JE),(0,i.A)())}catch(e){console.error("Error logging subscription_start Braze event:",e.message)}})();setTimeout(l,0,e.offerid,e[`tide-${s}-term-id`],c)}},72245:(e,t,n)=>{"use strict";n.d(t,{W5:()=>r,pL:()=>i});n(93125);const r=()=>{const e=(new Date).getFullYear()-18;return{mostRecentYear:e,earliestYear:e-90}},i=()=>{const e=[],{earliestYear:t,mostRecentYear:n}=r();for(let r=n;r>=t;r--)e.push(r);return e}},73108:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(82075),i=n(48821),o=n(86106),a=n(16708),s=n(90632),l=n(25584);n(96120),n(75829);const c=["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}))(e=>{let{title:t,svg:n,size:r=s.S,isCosy:d=!1,isDisabled:p=!1}=e,h=(0,i.A)(e,c);return(0,o.jsx)(l.W,u(u({},h),{},{title:t,$size:r,$isCosy:d,disabled:p,children:(0,o.jsx)(a.I,{size:r,svg:n})}))},"IconButton")},73122:(e,t,n)=>{"use strict";n.d(t,{bZ:()=>a,qZ:()=>o,y7:()=>i});const r=e=>{switch(e){case"day":return"D";case"month":return"M";case"week":return"W";case"year":return"Y";default:throw new Error(`Unknown period unit: ${e}`)}},i=e=>{const t=new RegExp(/(\d* )*((day)|(week)|(month)|(year))/i);try{const[n]=e.match(t)||[];if(n){const[e,t]=n.split(" ")||[];return e&&t?{value:parseInt(e),unit:r(t)}:e?{value:1,unit:r(e)}:{value:1,unit:r(n)}}throw new Error(`Piano billing table item has an unreadable duration: ${e}`)}catch(e){throw new Error(e)}},o=(e,t)=>{const n={D:1,W:7,M:30,Y:365},r=e.value*n[e.unit]/n[t];return{value:Math.round(r),unit:t}},a=e=>"M"===e.unit&&12===e.value?o(e,"Y"):"D"===e.unit&&7===e.value?o(e,"W"):e},73386:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(82075),i=n(48821),o=n(23108),a=n(64543),s=n(34146),l=n(18101),c=n(74217),d=n(32569),u=n(86106);const p=["children"];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}=e,n=(0,i.A)(e,p);const r=function(){const e=(0,a.useTheme)();if(!e||!(0,d.A)(e.__meta__.name))return c.Eq;const{name:t,inverted:n}=e.__meta__;return`${t}${n?c.Mu+c.IX:""}`}();return(0,u.jsx)(s.HydrateIsland,m(m({},n),{},{"data-theme-name":r,children:t}))};g.propTypes={loading:o.oneOf(Object.keys(l.p)),children:o.oneOfType([o.node,o.arrayOf(o.node)]).isRequired};const f=(0,a.styled)(g).withConfig({componentId:"sc-10wlkbs-0"})([""])},73959:(e,t,n)=>{"use strict";n.d(t,{a:()=>u,b:()=>p,c:()=>m,d:()=>g,e:()=>f,f:()=>y,g:()=>b,i:()=>d,j:()=>v,k:()=>x,l:()=>h,m:()=>w});var r=n(82075),i=n(33375);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 a(e){for(var t=1;ts(e,"name",{value:t,configurable:!0});const c=l(({type:e,condition:t,message:n,messageBuilder:r})=>t?null:{type:e,message:n,messageBuilder:r},"handler"),d=l(()=>({validate:e=>{const t="string"==typeof(0,i.p)(e);return c({type:"isString",condition:t,message:"Field must be text only",messageBuilder:e=>`${e} must be text only`})}}),"isString"),u=l(()=>({validate:e=>{const t=!isNaN(e);return c({type:"isNumber",condition:t,message:"Field must be a number",messageBuilder:e=>`${e} must be a number`})}}),"isNumber"),p=l(()=>({validate:e=>c({type:"isBoolean",condition:"boolean"==typeof e,message:"Field must be true or false",messageBuilder:e=>`${e} must be true or false`})}),"isBoolean"),h=l((e="string")=>({validate:t=>{if("boolean"===e)return p().validate(t,{});const n=(0,i.p)(t).length>0;return c({type:"required",condition:n,message:"Field is required",messageBuilder:e=>`${e} is required`})}}),"isNotEmpty"),m=l(()=>({validate:e=>{const t=(0,i.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 c({type:"isEmail",condition:n,message:"Please enter a valid email address",messageBuilder:()=>"Please enter a valid email address"})}}),"isEmail"),g=l((e,t)=>({validate:(n,r)=>{const o=(0,i.p)(n)===r[e];return c({type:"doesMatch",condition:o,message:`Should match ${t}`,messageBuilder:()=>`Should match ${t}`})}}),"doesMatch"),f=l((e,t)=>({validate:(n,r)=>{const o=(0,i.p)(n)!==r[e];return c({type:"doesNotMatch",condition:o,message:`Should not match ${t}`,messageBuilder:()=>`Should not match ${t}`})}}),"doesNotMatch"),y=l((e,t,n)=>({validate:n=>{if(!n)return null;const r=(0,i.p)(n),o=(0,i.c)(r,t),s={type:`hasMin${(0,i.a)(t||"")}`,condition:o>=e};return c(a(a({},s),{},t?{message:`Must contain minimum ${e} ${t}`,messageBuilder:()=>`Must contain minimum ${e} ${t}`}:{message:`Minimum length is ${e} characters`,messageBuilder:()=>`Minimum length is ${e} characters`}))}}),"hasMin"),b=l((e,t,n)=>({validate:n=>{const r=(0,i.p)(n),o=(0,i.c)(r,t),s={type:`hasMax${(0,i.a)(t||"")}`,condition:o<=e};return c(a(a({},s),{},t?{message:`Must contain maximum ${e} ${t}`,messageBuilder:()=>`Must contain maximum ${e} ${t}`}:{message:`Maximum length is ${e} characters`,messageBuilder:()=>`Maximum length is ${e} characters`}))}}),"hasMax"),v=l((e,t,n,r)=>({validate:r=>{const o=Number(r),s={type:`hasRange${(0,i.a)(n||"")}`,condition:o>=e&&o<=t};return c(a(a({},s),{},n?{message:`Must contain a minimum value of ${e} ${n} and a maximum value of ${t} ${n}`,messageBuilder:()=>`Must contain a minimum value of ${e} ${n} and a maximum value of ${t} ${n}`}:{message:`Minimum value is ${e} characters and maximum value is ${t} characters`,messageBuilder:()=>`Minimum value is ${e} characters and maximum value is ${t} characters`}))}}),"hasRange"),x=l(()=>({validate:e=>{const t={type:"containsNoSpaces",condition:!(0,i.p)(e).includes(" ")};return c(a(a({},t),{},{message:"Must not contain any spaces",messageBuilder:()=>"Must not contain any spaces"}))}}),"containsNoSpaces"),w=l(e=>({validate:t=>{const n=(0,i.p)(t),r={type:"matchesRegex",condition:e.test(n)};return c(a(a({},r),{},{message:"Field does not match the required format",messageBuilder:()=>"Field does not match the required format"}))}}),"matchesRegex")},75576:(e,t,n)=>{"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,n,i){var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={}),t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});if(1===a)t.children=i;else if(a>1){for(var l=Array(a),c=0;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},possibleConstructorReturn: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},selfGlobal:c,set:function e(t,n,r,i){var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);null!==a&&e(a,n,r,i)}else if("value"in o&&o.writable)o.value=r;else{var s=o.set;void 0!==s&&s.call(i,r)}return r},slicedToArray:d,slicedToArrayLoose:function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],i=e[Symbol.iterator]();!(n=i.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},taggedTemplateLiteral:function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},taggedTemplateLiteralLoose:function(e,t){return e.raw=t,e},temporalRef:function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},temporalUndefined:{},toArray:function(e){return Array.isArray(e)?e:Array.from(e)},toConsumableArray:function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function q(e){return!!F.test(e)&&(!$.test(e)&&!R.test(e))}function V(e){for(var t=void 0,n=void 0,r=1,i=(n=(e=e.toLowerCase()).split("-")).length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+L.source+")+","i"),w.call(t,""))),m.call(H.tags,e)&&(e=H.tags[e]);for(var o=1,a=(n=e.split("-")).length;o-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function Y(e,t){for(var n=0,r=t.length,i=void 0,o=void 0,a=void 0;n2){var j=s[w+1];-1!==x.call(y,j)&&(v="-"+g+"-"+(b=j))}else{-1!==x(y,"true")&&(b="true")}}if(m.call(n,"[["+g+"]]")){var O=n["[["+g+"]]"];-1!==x.call(y,O)&&O!==b&&(b=O,v="")}d["[["+g+"]]"]=b,u+=v,p++}if(u.length>2){var k=a.indexOf("-x-");if(-1===k)a+=u;else{var S=a.substring(0,k),E=a.substring(k);a=S+u+E}a=V(a)}return d["[[locale]]"]=a,d}function Z(e,t){for(var n=t.length,r=new E,i=0;ir)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(o)}return i}var ne={};Object.defineProperty(ne,"getCanonicalLocales",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t=G(e),n=[],r=t.length,i=0;i-1&&cu){var h=s.substring(u,c);x.call(l,{"[[type]]":"literal","[[value]]":h})}var g=s.substring(c+1,d);if("number"===g)if(isNaN(t)){var f=a.nan;x.call(l,{"[[type]]":"nan","[[value]]":f})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var y=void 0;y=m.call(n,"[[minimumSignificantDigits]]")&&m.call(n,"[[maximumSignificantDigits]]")?le(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):ce(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),de[i]?function(){var e=de[i];y=String(y).replace(/\d/g,function(t){return e[t]})}():y=String(y);var b=void 0,v=void 0,w=y.indexOf(".",0);if(w>0?(b=y.substring(0,w),v=y.substring(w+1,w.length)):(b=y,v=void 0),!0===n["[[useGrouping]]"]){var O=a.group,S=[],C=o.patterns.primaryGroupSize||3,P=o.patterns.secondaryGroupSize||C;if(b.length>C){var I=b.length-C,M=I%P,T=b.slice(0,M);for(T.length&&x.call(S,T);Mi;i++){r+=n[i]["[[value]]"]}return r}function le(e,t,n){var r=n,i=void 0,o=void 0;if(0===e)i=w.call(Array(r+1),"0"),o=0;else{o=function(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}(Math.abs(e));var a=Math.round(Math.exp(Math.abs(o-r+1)*Math.LN10));i=String(Math.round(o-r+1<0?e*a:e/a))}if(o>=r)return i+w.call(Array(o-r+1+1),"0");if(o===r-1)return i;if(o>=0?i=i.slice(0,o+1)+"."+i.slice(o+1):o<0&&(i="0."+w.call(Array(1-(o+1)),"0")+i),i.indexOf(".")>=0&&n>t){for(var s=n-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function ce(e,t,n,r){var i,o=r,a=Math.pow(10,o)*e,s=0===a?"0":a.toFixed(0),l=(i=s.indexOf("e"))>-1?s.slice(i+1):0;l&&(s=s.slice(0,i).replace(".",""),s+=w.call(Array(l-(s.length-1)+1),"0"));var c=void 0;if(0!==o){var d=s.length;if(d<=o)s=w.call(Array(o+1-d+1),"0")+s,d=o+1;var u=s.substring(0,d-o),p=s.substring(d-o,s.length);s=u+"."+p,c=u.length}else c=s.length;for(var h=r-n;h>0&&"0"===s.slice(-1);)s=s.slice(0,-1),h--;("."===s.slice(-1)&&(s=s.slice(0,-1)),co;o++){var a=n[o],s={};s.type=a["[[type]]"],s.value=a["[[value]]"],r[i]=s,i+=1}return r}(this,Number(e))}});var de={arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],deva:["०","१","२","३","४","५","६","७","८","९"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],latn:["0","1","2","3","4","5","6","7","8","9"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"]};g(ne.NumberFormat.prototype,"resolvedOptions",{configurable:!0,writable:!0,value:function(){var e=void 0,t=new C,n=["locale","numberingSystem","style","currency","currencyDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping"],r=null!==this&&"object"===u.typeof(this)&&A(this);if(!r||!r["[[initializedNumberFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.NumberFormat object.");for(var i=0,o=n.length;il&&(l=h,c=p),d++}return c}(a,j);else{var O=ee(n,"hour12","boolean");a.hour12=void 0===O?w.hour12:O,x=function(e,t){var n=[];for(var r in Ce)m.call(Ce,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var i=function(e,t){var n;if(je[e]&&je[e][t])return n={originalPattern:je[e][t],_:s({},e,t),extendedPattern:"{"+e+"}"},s(n,e,t),s(n,"pattern12","{"+e+"}"),s(n,"pattern","{"+e+"}"),n}(n[0],e["[["+n[0]+"]]"]);if(i)return i}var o=120,a=20,l=8,c=6,d=6,u=3,p=2,h=1,g=-1/0,y=void 0,b=0,v=t.length;for(;b=2||E>=2&&C<=1?P>0?w-=c:P<0&&(w-=l):P>1?w-=u:P<-1&&(w-=d)}}x._.hour12!==e.hour12&&(w-=h),w>g&&(g=w,y=x),b++}return y}(a,j)}for(var I in Ce)if(m.call(Ce,I)&&m.call(x,I)){var M=x[I];M=x._&&m.call(x._,I)?x._[I]:M,r["[["+I+"]]"]=M}var T=void 0,D=ee(n,"hour12","boolean");if(r["[[hour]]"])if(D=void 0===D?w.hour12:D,r["[[hour12]]"]=D,!0===D){var N=w.hourNo0;r["[[hourNo0]]"]=N,T=x.pattern12}else T=x.pattern;else T=x.pattern;r["[[pattern]]"]=T,r["[[boundFormat]]"]=void 0,r["[[initializedDateTimeFormat]]"]=!0,h&&(e.format=Pe.call(e));return i(),e}(I(this),e,t):new ne.DateTimeFormat(e,t)}g(ne,"DateTimeFormat",{configurable:!0,writable:!0,value:Se}),g(Se,"prototype",{writable:!1});var Ce={weekday:["narrow","short","long"],era:["narrow","short","long"],year:["2-digit","numeric"],month:["2-digit","numeric","narrow","short","long"],day:["2-digit","numeric"],hour:["2-digit","numeric"],minute:["2-digit","numeric"],second:["2-digit","numeric"],timeZoneName:["short","long"]};function Ee(e,t,n){if(void 0===e)e=null;else{var r=I(e);for(var i in e=new C,r)e[i]=r[i]}e=y(e);var o=!0;return"date"!==t&&"any"!==t||void 0===e.weekday&&void 0===e.year&&void 0===e.month&&void 0===e.day||(o=!1),"time"!==t&&"any"!==t||void 0===e.hour&&void 0===e.minute&&void 0===e.second||(o=!1),!o||"date"!==n&&"all"!==n||(e.year=e.month=e.day="numeric"),!o||"time"!==n&&"all"!==n||(e.hour=e.minute=e.second="numeric"),e}function Pe(){var e=null!==this&&"object"===u.typeof(this)&&A(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=O.call(function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return Me(this,void 0===e?Date.now():M(e))},this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function Ie(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(S);P();for(var r,i,o,a,s=n["[[locale]]"],l=new ne.NumberFormat([s],{useGrouping:!1}),c=new ne.NumberFormat([s],{minimumIntegerDigits:2,useGrouping:!1}),d=(r=t,n["[[calendar]]"],i=n["[[timeZone]]"],new C({"[[weekday]]":(o=new Date(r))[(a="get"+(i||""))+"Day"](),"[[era]]":+(o[a+"FullYear"]()>=0),"[[year]]":o[a+"FullYear"](),"[[month]]":o[a+"Month"](),"[[day]]":o[a+"Date"](),"[[hour]]":o[a+"Hours"](),"[[minute]]":o[a+"Minutes"](),"[[second]]":o[a+"Seconds"](),"[[inDST]]":!1})),u=n["[[pattern]]"],p=new E,h=0,m=u.indexOf("{"),g=0,f=n["[[dataLocale]]"],y=k.DateTimeFormat["[[localeData]]"][f].calendars,b=n["[[calendar]]"];-1!==m;){var v=void 0;if(-1===(g=u.indexOf("}",m)))throw new Error("Unclosed pattern");m>h&&x.call(p,{type:"literal",value:u.substring(h,m)});var w=u.substring(m+1,g);if(Ce.hasOwnProperty(w)){var j=n["[["+w+"]]"],O=d["[["+w+"]]"];if("year"===w&&O<=0?O=1-O:"month"===w?O++:"hour"===w&&!0===n["[[hour12]]"]&&0===(O%=12)&&!0===n["[[hourNo0]]"]&&(O=12),"numeric"===j)v=se(l,O);else if("2-digit"===j)(v=se(c,O)).length>2&&(v=v.slice(-2));else if(j in Oe)switch(w){case"month":v=ke(y,b,"months",j,d["[["+w+"]]"]);break;case"weekday":try{v=ke(y,b,"days",j,d["[["+w+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+s)}break;case"timeZoneName":v="";break;case"era":try{v=ke(y,b,"eras",j,d["[["+w+"]]"])}catch(e){throw new Error("Could not find era data for locale "+s)}break;default:v=d["[["+w+"]]"]}x.call(p,{type:w,value:v})}else if("ampm"===w){v=ke(y,b,"dayPeriods",d["[[hour]]"]>11?"pm":"am",null),x.call(p,{type:"dayPeriod",value:v})}else x.call(p,{type:"literal",value:u.substring(m,g+1)});h=g+1,m=u.indexOf("{",h)}return gi;i++){r+=n[i].value}return r}k.DateTimeFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["ca","nu"],"[[localeData]]":{}},g(ne.DateTimeFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:O.call(function(e){if(!m.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var t=P(),n=arguments[1],r=this["[[availableLocales]]"],i=G(e);return t(),X(r,i,n)},k.NumberFormat)}),g(ne.DateTimeFormat.prototype,"format",{configurable:!0,get:Pe}),Object.defineProperty(ne.DateTimeFormat.prototype,"formatToParts",{enumerable:!1,writable:!0,configurable:!0,value:function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===u.typeof(this)&&A(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return function(e,t){for(var n=Ie(e,t),r=[],i=0;n.length>i;i++){var o=n[i];r.push({type:o.type,value:o.value})}return r}(this,void 0===e?Date.now():M(e))}}),g(ne.DateTimeFormat.prototype,"resolvedOptions",{writable:!0,configurable:!0,value:function(){var e=void 0,t=new C,n=["locale","calendar","numberingSystem","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"],r=null!==this&&"object"===u.typeof(this)&&A(this);if(!r||!r["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.");for(var i=0,o=n.length;i2&&4===i[1].length&&x.call(r,i[0]+"-"+i[2]);for(;n=j.call(r);)x.call(k.NumberFormat["[[availableLocales]]"],n),k.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,x.call(k.DateTimeFormat["[[availableLocales]]"],n),k.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===B&&function(e){B=e}(t)}(e,e.locale)}}),g(ne,"__disableRegExpRestore",{value:function(){k.disableRegExpRestore=!0}}),e.exports=ne},76456:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(23108);const i=r.oneOfType([r.string,r.node,r.arrayOf(r.node)])},76710:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(7378),i=Object.defineProperty,o=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(){const[e,t]=(0,r.useState)(0),n=(0,r.useRef)(null),i=o(()=>{var e,r;t(null!==(e=null==(r=n.current)?void 0:r.scrollHeight)&&void 0!==e?e:0)},"updateCollapsibleContentHeight");return(0,r.useEffect)(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[]),{collapsibleContentHeight:e,collapsibleContentContainerRef:n}}o(a,"useCollapsibleContentHeight")},76941:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}i(o,"getDefaultExportFromCjs");var a={exports:{}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t{"use strict";n.d(t,{A:()=>a});var r,i=n(7378);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",id:"363d20b20cc0845f",viewBox:"0 0 24 24"},e),r||(r=i.createElement("path",{fill:"currentColor",d:"m8.3 16.61 4.58-4.59L8.3 7.43l1.41-1.41 6 6-6 6z"})))},77463:(e,t,n)=>{"use strict";n.d(t,{AA:()=>r,Cd:()=>o,FZ:()=>a,TJ:()=>i,rB:()=>s});const r="/internal-api/profile/newsletter/submit",i="/internal-api/newsletter-component/submit/lite",o="receiveIndyOffers",a="There was a problem updating your newsletter preferences. Please try again later.",s="premium"},77969:(e,t,n)=>{"use strict";n.d(t,{F:()=>rn,H:()=>fn,I:()=>an,L:()=>yn,M:()=>w,S:()=>gn,T:()=>sn,W:()=>on,a:()=>bn,b:()=>vn,c:()=>j});var r=n(48821),i=n(82075),o=n(64543),a=n(86106),s=n(7378),l=n(27181),c=(n(76941),n(9976)),d=(n(16708),n(90632)),u=n(73108),p=n(62892),h=n(96120),m=n(14847);const g=["children","isHidden","onEscapeKeyPress"];function f(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;tb(e,"name",{value:t,configurable:!0});const x=o.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,l.HZ),w=v(e=>(0,a.jsx)(l.Ay,y(y({},e),{},{Wrapper:x,children:e.children})),"Modal"),j=v(e=>{let{children:t,isHidden:n,onEscapeKeyPress:i}=e,o=(0,r.A)(e,g);const l=(0,s.useRef)(),c=(0,s.useRef)(null);return l.current=n,c.current=i,(0,s.useEffect)(()=>{const e=v(e=>{var t;"Escape"===e.key&&!l.current&&(null==(t=c.current)||t.call(c))},"evtHandler");return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,a.jsx)(w,y(y({},o),{},{isHidden:n,children:t}))},"ModalPageSpecific");function O(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 k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0}).sort(ve)},"orderByTabIndex"),je=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Oe="".concat(je,", [data-focus-guard]"),ke=v(function(e,t){return X((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?Oe:je)?[n]:[],ke(n))},[])},"getFocusablesWithShadowDom"),Se=v(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=v(function(e,t){return e.reduce(function(e,n){var r,i=ke(n,t),o=(r=[]).concat.apply(r,i.map(function(e){return Se(e,t)}));return e.concat(o,n.parentNode?X(n.parentNode.querySelectorAll(je)).filter(function(e){return e===n}):[])},[])},"getFocusables"),Ee=v(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return X(t).map(function(e){return Ce([e])}).reduce(function(e,t){return e.concat(t)},[])},"getParentAutofocusables"),Pe=v(function(e,t){return X(e).filter(function(e){return se(t,e)}).filter(function(e){return me(e)})},"filterFocusable"),Ie=v(function(e,t){return void 0===t&&(t=new Map),X(e).filter(function(e){return ce(t,e)})},"filterAutoFocusable"),Me=v(function(e,t,n){return we(Pe(Ce(e,n),t),!0,n)},"getTabbableNodes"),Te=v(function(e,t){return we(Pe(Ce(e),t),!1)},"getFocusableNodes"),Ae=v(function(e,t){return Pe(Ee(e),t)},"parentAutofocusables"),De=v(function(e,t){return e.shadowRoot?De(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||X(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&&De(r,t)}return De(e,t)})},"contains"),Ne=v(function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},"filterNested"),_e=v(function(e){return e.parentNode?_e(e.parentNode):e},"getTopParent"),ze=v(function(e){return ee(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(S);return e.push.apply(e,n?Ne(X(_e(t).querySelectorAll("[".concat(S,'="').concat(n,'"]:not([').concat(C,'="disabled"])')))):[t]),e},[])},"getAllAffectedNodes"),Fe=v(function(e){try{return e()}catch{return}},"safeProbe"),$e=v(function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?$e(t.shadowRoot):t instanceof HTMLIFrameElement&&Fe(function(){return t.contentWindow.document})?$e(t.contentWindow.document):t}},"getActiveElement"),Re=v(function(e,t){return e===t},"focusInFrame"),Le=v(function(e,t){return!!X(e.querySelectorAll("iframe")).some(function(e){return Re(e,t)})},"focusInsideIframe"),Be=v(function(e,t){return void 0===t&&(t=$e(te(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&ze(e).some(function(e){return De(e,t)||Le(e,t)})},"focusInside"),He=v(function(e){void 0===e&&(e=document);var t=$e(e);return!!t&&X(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return De(e,t)})},"focusIsHidden"),Ke=v(function(e,t){return t.filter(he).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},"findSelectedRadio"),qe=v(function(e,t){return he(e)&&e.name?Ke(e,t):e},"correctNode"),Ve=v(function(e){var t=new Set;return e.forEach(function(n){return t.add(qe(n,e))}),e.filter(function(e){return t.has(e)})},"correctNodes"),We=v(function(e){return e[0]&&e.length>1?qe(e[0],e):e[0]},"pickFirstFocus"),Ue=v(function(e,t){return e.indexOf(qe(t,e))},"pickFocusable"),Ge="NEW_FOCUS",Je=v(function(e,t,n,r,i){var o=e.length,a=e[0],s=e[o-1],l=fe(r);if(!(r&&e.indexOf(r)>=0)){var c=void 0!==r?n.indexOf(r):-1,d=i?n.indexOf(i):c,u=i?e.indexOf(i):-1;if(-1===c)return-1!==u?u:Ge;if(-1===u)return Ge;var p=c-d,h=n.indexOf(a),m=n.indexOf(s),g=Ve(n),f=(void 0!==r?g.indexOf(r):-1)-(i?g.indexOf(i):c);if(!p&&u>=0||0===t.length)return u;var y=Ue(e,t[0]),b=Ue(e,t[t.length-1]);if(c<=h&&l&&Math.abs(p)>1)return b;if(c>=m&&l&&Math.abs(p)>1)return y;if(p&&Math.abs(f)>1)return u;if(c<=h)return b;if(c>m)return y;if(p)return Math.abs(p)>1?u:(o+u+p)%o}},"newFocus"),Ye=v(function(e){return function(t){var n,r=null===(n=de(t))||void 0===n?void 0:n.autofocus;return t.autofocus||void 0!==r&&"false"!==r||e.indexOf(t)>=0}},"findAutoFocused"),Qe=v(function(e,t,n){var r=e.map(function(e){return e.node}),i=Ie(r.filter(Ye(n)));return i&&i.length?We(i):We(Ie(t))},"pickAutofocus"),Ze=v(function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Ze(e.parentNode.host||e.parentNode,t),t},"getParents"),Xe=v(function(e,t){for(var n=Ze(e),r=Ze(t),i=0;i=0)return o}return!1},"getCommonParent"),et=v(function(e,t,n){var r=ee(e),i=ee(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(e){a=Xe(a||e,e)||a,n.filter(Boolean).forEach(function(e){var t=Xe(o,e);t&&(a=!a||De(t,a)?t:Xe(t,a))})}),a},"getTopCommonParent"),tt=v(function(e,t){return e.reduce(function(e,n){return e.concat(Ae(n,t))},[])},"allParentAutofocusables"),nt=v(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(be)},"reorderNodes"),rt=v(function(e,t){var n=$e(ee(e).length>0?document:te(e).ownerDocument),r=ze(e).filter(ye),i=et(n||e,e,r),o=new Map,a=Te(r,o),s=a.filter(function(e){var t=e.node;return ye(t)});if(s[0]){var l=Te([i],o).map(function(e){return e.node}),c=nt(l,s),d=c.map(function(e){return e.node}),u=c.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),p=Je(d,u,l,n,t);if(p===Ge){var h=Qe(a,u,tt(r,o))||Qe(a,d,tt(r,o));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===p?p:c[p]}},"focusSolver"),it=v(function(e){var t=ze(e).filter(ye),n=et(e,e,t),r=we(Ce([n],!0),!0,!0),i=Ce(t,!1);return r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:fe(t)}})},"expandFocusableNodes"),ot=v(function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},"focusOn"),at=0,st=!1,lt=v(function(e,t,n){void 0===n&&(n={});var r=rt(e,t);if(!st&&r){if(at>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"),st=!0,void setTimeout(function(){st=!1},1);at++,ot(r.node,n.focusOptions),at--}},"moveFocusInside");function ct(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}}v(ct,"weakRef");var dt=v(function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ct(n),parent:ct(n.parentElement),left:ct(n.previousElementSibling),right:ct(n.nextElementSibling)}),n=n.parentElement;return{element:ct(e),stack:t,ownerDocument:e.ownerDocument}},"recordElementLocation"),ut=v(function(e){var t,n,r,i,o;if(e)for(var a=e.stack,s=e.ownerDocument,l=new Map,c=0,d=a;c-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")}),zt(f,g.length,1,g),zt(f,-1,-1,g))}}}return e},"activateTrap"),Kt=v(function(e){Ht()&&e&&(e.stopPropagation(),e.preventDefault())},"onTrap"),qt=v(function(){return jt(Ht)},"onBlur"),Vt=v(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||Nt(n,t)},"onFocus"),Wt=v(function(){return null},"FocusWatcher"),Ut=v(function(){Tt=!0},"onWindowFocus"),Gt=v(function(){Tt=!1,Mt="just",jt(function(){Mt="meanwhile"})},"onWindowBlur"),Jt=v(function(){document.addEventListener("focusin",Kt),document.addEventListener("focusout",qt),window.addEventListener("focus",Ut),window.addEventListener("blur",Gt)},"attachHandler"),Yt=v(function(){document.removeEventListener("focusin",Kt),document.removeEventListener("focusout",qt),window.removeEventListener("focus",Ut),window.removeEventListener("blur",Gt)},"detachHandler");function Qt(e){return e.filter(function(e){return!e.disabled})}v(Qt,"reducePropsToState");var Zt={moveFocusInside:lt,focusInside:Be,focusNextElement:yt,focusPrevElement:bt,focusFirstElement:xt,focusLastElement:wt,captureFocusRestore:pt};function Xt(e){var t=e.slice(-1)[0];t&&!Ct&&Jt();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?(Et=null,(!r||n.observed!==t.observed)&&t.onActivation(Zt),Ht(),jt(Ht)):(Yt(),Et=null)}v(Xt,"handleStateChangeOnClient"),$.assignSyncMedium(Vt),R.assignMedium(qt),L.assignMedium(function(e){return e(Zt)});const en=Z(Qt,Xt)(Wt);var tn=s.forwardRef(v(function(e,t){return s.createElement(V,k({sideCar:en,ref:t},e))},"FocusLockUICombination")),nn=V.propTypes||{};nn.sideCar;O(nn,["sideCar"]);tn.propTypes={};const rn=tn,on=(0,o.styled)(j).withConfig({componentId:"sc-1tvemqb-0"})(["display:grid;place-content:center;"]),an=o.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),sn=o.styled.h3.withConfig({componentId:"sc-1tvemqb-2"})(["margin:0 0 var(--spacing);font:28px/32px ",";font-weight:bold;letter-spacing:-0.0178em;text-align:center;"],({theme:e})=>e.fontFamily.primaryFont),ln=o.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:8px;background-color:",";font:",";@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.color.canvas.card,({theme:e})=>e.textStyle.sellingModal.body,p.t,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x7,p.l),cn=(0,o.styled)(u.A).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),dn=o.styled.div.withConfig({componentId:"sc-1jmwoo4-2"})(["display:flex;flex-direction:column;align-items:center;gap:","px;"],({theme:e})=>e.spacing.x2),un=o.styled.div.withConfig({componentId:"sc-1jmwoo4-3"})(["width:100%;text-align:center;"]),pn=o.styled.div.withConfig({componentId:"sc-1jmwoo4-4"})(["--tablet-width:392px;--laptop-width:430px;display:flex;box-sizing:border-box;flex-direction:column;gap:","px;padding:","px ","px;margin:0 ","px;border:1px solid ",";border-radius:8px;background-color:",";@media ","{max-width:var(--tablet-width);padding:","px;}@media ","{min-width:var(--laptop-width);}"],({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.brandBold,({theme:e})=>e.color.canvas.base,p.t,({theme:e})=>e.spacing.x3,p.l),hn=v(({children:e,header:t,onClose:n,isHidden:r})=>(0,a.jsx)(ln,{children:(0,a.jsxs)(rn,{disabled:r,children:[(0,a.jsx)(cn,{svg:c.j,size:d.b,isCosy:!0,onClick:n,"data-autofocus":!0}),(0,a.jsxs)(dn,{children:[(0,a.jsx)(un,{children:t}),(0,a.jsx)(pn,{children:e})]})]})}),"SellingModal"),mn=(0,o.styled)(w).withConfig({componentId:"sc-3rucb8-0"})(["display:flex;align-items:center;justify-content:center;"]),gn=v(({children:e,isHidden:t,header:n,onClose:r,returnFocus:i})=>(0,a.jsx)(mn,{isHidden:t,returnFocus:i,children:(0,a.jsx)(hn,{isHidden:t,onClose:r,header:n,returnFocus:i,children:e})}),"SellingModalOverlay"),fn=o.styled.div.withConfig({componentId:"sc-u507i6-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:","px;font:",";@media ","{padding-top:","px;}@media ","{margin-top:","px;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.textStyle.sellingModal.body,p.t,({theme:e})=>e.spacing.x3,p.l,({theme:e})=>e.spacing.x0_5),yn=o.styled.div.withConfig({componentId:"sc-u507i6-1"})(["width:100%;margin-bottom:","px;"],({theme:e})=>e.spacing.x1),bn=(0,o.styled)(h.U).withConfig({componentId:"sc-u507i6-2"})(["height:auto;max-height:24px;@media ","{max-height:32px;}"],p.t),vn=o.styled.span.withConfig({componentId:"sc-u507i6-3"})(["",""],m.Qg)},78684:(e,t,n)=>{"use strict";n.d(t,{Bx:()=>c,Tz:()=>d,cL:()=>l,hf:()=>u,i8:()=>s,od:()=>p});var r=n(2238),i=(n(95698),n(53133)),o=n(73122),a=(n(49682),n(54302));const s=e=>{switch(e){case a.pU.PREMIUM:return r.Zj.premium;case a.pU.BASE:default:return r.Zj.base}},l=e=>{const t=e.toLocaleLowerCase();return t.includes("annual")?a.dh.ANNUAL:t.includes("monthly")?a.dh.MONTHLY:t.includes("single")?a.dh.ONE_OFF:null},c=(e,t)=>"Y"===e.unit&&1===e.value||"M"===e.unit&&12===e.value?a.et.ANNUAL:"M"===e.unit&&1===e.value?a.et.MONTHLY:"D"===(null==t?void 0:t.unit)&&1===(null==t?void 0:t.value)?a.et.ONE_OFF:null,d=(e,t)=>{if(!t)return null;const n=(0,i.Fj)(e,t,"Y");return Math.floor(Number(n.toFixed(2)))+1},u=({amount:e},{amount:t})=>{const n=(e-t)/e;return 100-Number(Math.abs(100*n).toFixed())},p=(e,t)=>{const n=e.unit;return(0,o.qZ)(t,n).value/e.value}},79124:(e,t,n)=>{"use strict";var r=n(44059);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},81788:(e,t,n)=>{"use strict";n.d(t,{D9:()=>o,Re:()=>a,W4:()=>l,Y5:()=>s,k$:()=>r,ot:()=>d,sI:()=>c,uj:()=>i});const r="bookmarks",i="Newsletters Page",o="Donations",a="Independent App - UK ROW",s="Independent App - US",l="Subscription",c="Nav register CTA",d="Direct"},81948:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r,i=n(7378),o=n(64543),a=n(88660),s=n(88107),l=n(34616);n(15081);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",id:"2c344f3b2dfbd569",fill:"#EC1A2E",viewBox:"0 0 24 18"},e),r||(r=i.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,o.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(82075),m=n(48821),g=n(24539),f=n(381);const y=["image","mainImage","srcSet"];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;t{let{image:t,mainImage:n,srcSet:r}=e,i=(0,m.A)(e,y);if(!t.url)return null;const o=e=>(0,g.e5)(v(v({},n?{width:e,height:614}:{height:166}),{},{fit:"bounds",format:"pjpg",crop:"16:9,offset-y0.5"}));return(0,u.jsx)(f.A,v({src:t.url&&"data:"===t.url.slice(0,5)?t.url:(0,g.m$)(t.url,o(i.width||0)),alt:t.caption,srcset:r&&"data:"!==t.url.slice(0,5)?r.map(e=>`${(0,g.m$)(t.url||"",o(e))} ${e}w`).join(", "):""},i))},w=o.styled.span.withConfig({componentId:"sc-tk2jde-0"})(["flex-shrink:0;color:",";font-family:",";font-size:14px;font-weight:bold;&:hover{color:",";}"],e=>e.theme.color.actionBrand.base,e=>e.theme.fontFamily.secondaryFont,e=>e.theme.color.actionBrand.alt),j=o.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,o.styled)(p).withConfig({componentId:"sc-tk2jde-2"})(["width:24px;height:18px;flex-shrink:0;margin-right:8px;svg{fill:",";}"],e=>e.theme.color.ink.base),k=o.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;"],l.V),S=o.styled.div.withConfig({componentId:"sc-tk2jde-4"})(["@media ","{display:flex;width:100%;cursor:pointer;}position:relative;width:75%;padding-top:0;@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;}}"],l.V,l.n5,e=>e.$isEmbed?"419px":"432px",l.BY,e=>e.$isEmbed?"411px":"545px",e=>e.theme.color.veil.base),C=o.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);}}"],l.V,l.n5),E=o.styled.h2.withConfig({componentId:"sc-tk2jde-6"})(["display:flex;overflow:hidden;max-width:",";margin:0 8px 0 0;color:",";font-family:",";font-size:18px;white-space:nowrap;"],e=>e.$isEmbed?"100%":"80%",e=>e.theme.color.ink.base,e=>e.theme.fontFamily.secondaryFont),P=o.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),I=({title:e,gallery:t,srcSet:n,isEmbed:r,viewID:i,toggleGalleryOpen:o})=>{const a=t?t.filter(e=>e):[],l=a[0];return(0,u.jsxs)(P,{"aria-label":"Open gallery menu",className:s.JL,id:`${i}-trigger`,onClick:o,children:[(0,u.jsxs)(j,{$isEmbed:r,children:[(0,u.jsxs)(E,{$isEmbed:r,children:[(0,u.jsx)(O,{}),e]}),(0,u.jsxs)(w,{children:["Show all ",t.length]})]}),(0,u.jsxs)(k,{children:[(0,u.jsx)(S,{"data-gallery-length":t.length,$isEmbed:r,children:l&&(0,u.jsx)(x,{image:l.data,srcSet:n,width:640,layout:"fill",mainImage:!0})}),(0,u.jsx)(C,{children:a.slice(1,4).map(({data:e})=>(0,u.jsx)(x,{image:e,width:135,height:75,layout:"responsive"},e.id||e.mid))})]})]})};var M=n(94199);const T=o.styled.button.withConfig({componentId:"sc-1m90irp-0"})(["display:flex;position:relative;width:100%;cursor:pointer;"]),A=o.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);font:19px ",";}"],({theme:e})=>(0,M.tn)(e.color.canvas.secondary,.67),encodeURIComponent('\n'),e=>e.theme.fontFamily.secondaryFont),D=({gallery:e,srcSet:t,isEmbed:n,viewID:r,toggleGalleryOpen:i})=>{const o=(e?e.filter(e=>e):[])[0];return(0,u.jsx)(T,{"aria-label":"Open gallery menu",className:s.JL,id:`${r}-trigger`,onClick:i,children:(0,u.jsx)(A,{"data-gallery-length":e.length,$isEmbed:n,children:o&&(0,u.jsx)(x,{image:o.data,srcSet:t,width:640,layout:"fill",mainImage:!0})})})},N=o.styled.div.withConfig({componentId:"sc-fn2xhf-0"})([""]),_=({adUnitPath:e,className:t,title:n,gallery:r,id:o,isEmbed:s,srcSet:l,disableAds:c,isArticle:d,isSection:p})=>{const[h,m]=(0,i.useState)(!1),g=()=>{m(!h)},f=p?D:d?I:null;return(0,u.jsxs)(N,{className:t,children:[f&&(0,u.jsx)(f,{gallery:r,isEmbed:s,srcSet:l,title:n,toggleGalleryOpen:g,viewID:o}),(0,u.jsx)(a.A,{adUnitPath:e,disableAds:c,gallery:r,galleryOpen:h,id:o,returnFocus:`#${o}-trigger`,toggleGalleryOpen:g,title:n})]})}},82541:(e,t,n)=>{"use strict";var r={};n.r(r),n.d(r,{ArchiveAccordion:()=>js,Badge:()=>pl,BookingContent:()=>uo,BookingSearchMapWidget:()=>Jl,BookingSearchWidget:()=>Vl,ColorModeToggleWithTracking:()=>$l,DrawerMenu:()=>ar,DynamicPackage:()=>ml.A,EditionSwitcher:()=>B,FAQsContent:()=>$i.A,Gallery:()=>hl.A,HeadShotX3Hydrated:()=>na,LoginDrawer:()=>Se,MenuButton:()=>Ae,Newsletter:()=>Gr,PlaylistSlab:()=>rs,PremiumMenuDropdown:()=>Re.A,RegisterLoginButton:()=>ht,RelatedArticlesCarouselHydrated:()=>bo.A,SectionSocialShareButtons:()=>yo,SubNavMenu:()=>tl,SubscribeNewsletterFAQs:()=>tc,SuccessBannerManager:()=>Fs,SupportNSCNative:()=>Fi,SupportUsButton:()=>$e,VoucherTickerCarousel:()=>da});var i=n(97278);const o="UK",a="US",s="UK Edition",l="US Edition",c="Edición en Español";var d=n(14389),u=n(24936);const p=(e,t=u.IJ)=>({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/"},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"},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"},ES:{prod:"https://www.independentespanol.com/",staging:"https://staging-web.independentespanol.com/",uat:"https://uat-web.independentespanol.com",dev:"https://dev-web.independentespanol.com/"}}[e][t]),h=e=>({uk:{title:s,path:p(o,e),locale:o,domain:d.Wd},us:{title:l,path:p(a,e),locale:a,domain:d.I8},asia:{title:"Asia Edition",path:p("AS",e),locale:"AS",domain:d.Wd},es:{title:c,path:p("ES",e),domain:d.mv}});var m=n(82075),g=n(48916),f=n(14971),y=n(64543),b=n(55480),v=n(49196),x=n(34616);const w=(0,y.styled)(v.Ay).attrs({size:v.Kk}).withConfig({componentId:"sc-1l6dm8r-0"})(["margin-right:-4px;transition:transform ease-out 0.2s;"]),j=y.styled.div.withConfig({componentId:"sc-1l6dm8r-1"})([""]),O=y.styled.div.withConfig({componentId:"sc-1l6dm8r-2"})(["background:",";"],({theme:e})=>e.color.canvas.secondary),k=y.styled.a.withConfig({componentId:"sc-1l6dm8r-3"})(["display:flex;height:18px;align-items:center;padding:","px ","px;border-top:1px solid ",";background-color:",";color:",";font:normal 14px ",";&: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.fontFamily.secondaryFont,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,w),S=(0,y.styled)(k).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),C=(0,y.styled)(b.cn).withConfig({componentId:"sc-1l6dm8r-5"})(["[aria-hidden]{box-shadow:",";}"],({theme:e})=>e.boxShadows.xtraLightDown),E=y.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,y.styled)(E).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.globalNavBarLink,({theme:e})=>e.color.actionTransparent.alt,({theme:e})=>e.color.ink.invert,w),I=y.styled.span.withConfig({componentId:"sc-1l6dm8r-8"})(["display:flex;height:100%;align-items:center;"]),M=y.styled.span.withConfig({componentId:"sc-1l6dm8r-9"})(["margin-left:8px;font-weight:normal;text-decoration:underline;text-transform:initial;"]),T=y.styled.span.withConfig({componentId:"sc-1l6dm8r-10"})(["overflow:hidden;width:0;"]);var A=n(77079),D=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 _(e){for(var t=1;t{var r;const i=null!==(r=t&&"locale"in t)&&void 0!==r&&r,o=((e,t,n)=>()=>{e&&t.locale&&n===t.domain&&(0,f.TV)(g.ss,t.locale,{days:365})})(i,t,e);return(0,D.jsxs)(n,{href:null==t?void 0:t.path,"data-edition":i&&t.locale,onClick:o,children:[null==t?void 0:t.title,(0,D.jsx)(w,{svg:A.A})]},`edition-${i&&t.locale}`)};var F,$=n(7378);function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",id:"d5d9764c65d2cfa2",viewBox:"0 0 24 24"},e),F||(F=$.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"}))),B=({className:e,changeText:t="Change",domain:n=d.Wd,isHeader:r=!0,locale:i=o,serverEnv:m=u.IJ,id:g,newEditions:f})=>{const y=[d.mv,d.I8].includes(n)?(e=>({uk:{title:s,path:p(o,e),locale:o,domain:d.Wd},es:{title:c,path:p("ES",e),domain:d.mv},us:{title:l,path:p(a,e),locale:a,domain:d.I8}}))(m):h(m),b=JSON.parse(JSON.stringify(y)),v=Object.values(b),x=r?O:j,A=r?S:k,N=r?P:E,F=r?T:M,$=n===d.I8?a:i;let R=n,{currentEdition:B,editionChoices:H}=v.reduce((e=>(t,n)=>"locale"in n&&n.locale===e?_(_({},t),{},{currentEdition:n.title}):_(_({},t),{},{editionChoices:[...t.editionChoices,n]}))($),{currentEdition:"",editionChoices:[]});return n===d.mv&&(B=c,R=d.mv,H=v.filter(e=>e.domain!==d.mv&&e)),f||(H=((e,t,n)=>e.filter(e=>(n===d.Wd&&(null==e?void 0:e.title)===l&&(e.path=`${t}us`,e.domain=d.Wd),(n!==d.mv||(null==e?void 0:e.title)!==l)&&(n===d.I8&&(null==e?void 0:e.title)===d.Wd&&(e.title=s),e))))(H,y.uk.path,n),n===d.I8&&H.splice(1,0,h(m).asia)),(0,D.jsx)(C,{className:e,id:g,trigger:(0,D.jsx)(N,{className:"dropdown-trigger",children:(0,D.jsxs)(I,{children:[B,(0,D.jsx)(F,{children:t}),(0,D.jsx)(w,{svg:L})]})}),children:(0,D.jsx)(x,{className:"dropdown-content",children:H.map(e=>z(R,e,A))})})};var H=n(23108),K=n(27181),q=n(76941);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 W(e){for(var t=1;tU(e,"name",{value:t,configurable:!0});const J=y.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,K.HZ),Y=G(e=>(0,D.jsx)(K.Ay,W(W({},e),{},{Wrapper:J,children:e.children})),"Drawer");var Q=n(88107),Z=n(15081),X=n(5604);const ee=H.shape({premium:H.bool,adFree:H.bool,donation:H.bool});var te=n(14725),ne=n(57911),re=n(38019),ie=n(11537),oe=n(8485),ae=n(59698);const se=te.Ay.default||te.Ay,le=y.styled.div.withConfig({componentId:"sc-zurcn5-0"})(["padding:0 36px ","px;background:",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.color.canvas.base),ce=(0,y.styled)(se).attrs({size:te.Zz,variant:te.YG}).withConfig({componentId:"sc-zurcn5-1"})(["color:",";&:hover{color:",";}"],({theme:e})=>e.color.ink.light,({theme:e})=>e.color.ink.muted),de=(y.styled.div.withConfig({componentId:"sc-zurcn5-2"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),y.styled.a.withConfig({componentId:"sc-zurcn5-3"})(["color:",";font-size:14px;text-decoration:underline;"],({theme:e})=>e.color.primary.base),y.styled.div.withConfig({componentId:"sc-zurcn5-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)),ue=y.styled.p.withConfig({componentId:"sc-zurcn5-5"})(["margin:0 0 ","px;font-size:22px;font-weight:bold;line-height:26px;"],({theme:e})=>e.spacing.x3),pe=y.styled.p.withConfig({componentId:"sc-zurcn5-6"})(["margin:0 0 ","px;font-size:16px;font-weight:normal;line-height:20px;"],({theme:e})=>e.spacing.x2),he=((0,y.styled)(oe.A).withConfig({componentId:"sc-zurcn5-7"})([""]),(0,y.styled)(ie.Ay).withConfig({componentId:"sc-zurcn5-8"})(["margin:22px 0;.form-submit{margin:0;}"]),y.styled.div.withConfig({componentId:"sc-zurcn5-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)),me=y.styled.div.withConfig({componentId:"sc-zurcn5-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),ge=(y.styled.div.withConfig({componentId:"sc-zurcn5-11"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),({src:e="/img/icons/google.svg"})=>(0,D.jsx)("img",{src:e,alt:""}));ge.propTypes={src:H.string};const fe=y.styled.div.withConfig({componentId:"sc-zurcn5-12"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x3),ye=y.styled.div.withConfig({componentId:"sc-zurcn5-13"})(["display:flex;width:100vw;height:100%;box-sizing:border-box;flex-direction:column;flex-grow:1;@media ","{width:375px;}"],x.r7),be=({returnUrl:e,googleIcon:t,enabledSubs:n})=>{const r=window.localStorage.getItem(ne.lH),i=window.localStorage.getItem(ne.j7),o=`/register?${new URLSearchParams({[re.cN]:r,[re.MF]:i}).toString()}`;return(0,D.jsx)(ye,{children:(0,D.jsxs)(me,{children:[(0,D.jsxs)(de,{className:"snapshot-logindrawer",children:[(0,D.jsx)(ue,{children:"Log in"}),(0,D.jsx)(fe,{children:(0,D.jsx)(ae.A,{redirectUrl:e})}),(0,D.jsx)(he,{}),(0,D.jsx)(pe,{children:"New to The Independent?"}),(0,D.jsx)(se,{as:te.wW,id:Z.n8,href:o,size:te.Zz,variant:te.YG,children:"Register"})]}),(0,D.jsxs)(le,{children:[(0,D.jsx)(pe,{children:"Or if you would prefer:"}),(0,D.jsxs)(ce,{id:Z.Xo,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,D.jsx)(ge,{src:t}),"SIGN IN WITH GOOGLE"]})]}),n.premium&&(0,D.jsxs)(le,{children:[(0,D.jsx)(pe,{children:"Want an ad-free experience?"}),(0,D.jsx)(te.Gp,{as:te.wW,size:te.Zz,variant:te.YG,href:"/subscribe?itm_channel=native&itm_campaign=login_overlay&itm_audience=prospecting","data-source":"Login overlay",children:"View offers"})]}),(0,D.jsxs)("div",{className:"google-recaptcha-policy",children:[(0,D.jsx)(he,{}),"This site is protected by reCAPTCHA and the Google ",(0,D.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://policies.google.com/privacy?hl=en",children:"Privacy notice"})," and ",(0,D.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://policies.google.com/terms?hl=en",children:"Terms of service"})," apply."]})]})})};be.propTypes={returnUrl:H.string.isRequired,googleIcon:H.string,enabledSubs:ee,regSourceMethod:H.string,regSourceSection:H.string};const ve=be,xe=Y.default||Y,we=y.styled.div.withConfig({componentId:"sc-1jxec6t-0"})(["height:100vh;font-family:",";.","{height:","px;}"],({theme:e})=>e.fontFamily.secondaryFont,Q.lr,({theme:e})=>e.dimension.btn.height),je=y.styled.button.withConfig({componentId:"sc-1jxec6t-1"})(["position:absolute;top:15px;right:20px;z-index:1;"]),Oe=y.styled.button.withConfig({componentId:"sc-1jxec6t-2"})(["position:absolute;left:-9999px;opacity:0;visibility:hidden;"]),ke=({originalUrl:e,enabledSubs:t})=>{const n=e||"/";return(0,D.jsx)(X.A.Consumer,{children:({defaultState:{drawerLoginOpen:e},dispatchers:r})=>(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(Oe,{id:Z.H9,onClick:r.toggleDrawerLoginOpen}),(0,D.jsx)(xe,{id:Z._g,isHidden:!e,returnFocus:"#body",onBackgroundClick:r.closeDrawerLogin,children:(0,D.jsxs)(we,{children:[(0,D.jsx)(je,{className:Q.uG,onClick:r.closeDrawerLogin,children:"✕"}),(0,D.jsx)(ve,{returnUrl:n,enabledSubs:t})]})})]})})};ke.propTypes={originalUrl:H.string,enabledSubs:ee};const Se=ke;var Ce;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Ee({xmlns:"http://www.w3.org/2000/svg",id:"0a0df087e37b7de2",viewBox:"0 0 16 16"},e),Ce||(Ce=$.createElement("path",{fill:"currentColor",d:"M0 3h16v2H0zm0 4h16v2H0zm0 4h16v2H0z"}))),Ie=v.Ay.default||v.Ay,Me=y.styled.button.withConfig({componentId:"sc-1hc2fg2-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.masthead.button,({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),Te=({children:e,className:t})=>(0,D.jsx)(X.A.Consumer,{children:({dispatchers:n})=>(0,D.jsxs)(Me,{"aria-label":"Open full menu",id:Z.BI,onClick:n.toggleDrawerMenuOpen,className:t,children:[(0,D.jsx)(Ie,{svg:Pe,size:v.Kk}),e]})});Te.propTypes={children:H.string,className:H.string};const Ae=Te,De="Support Now";var Ne=n(99201);function _e(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 ze(e){for(var t=1;te?"48px":"67px",({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.ink.invert,({theme:e})=>e.textStyle.supportUsButton.mobile,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.color.ink.invert,x.n5,({theme:e})=>e.textStyle.supportUsButton.tablet,x.BY),$e=({isAmp:e=!1,copy:t=De})=>(0,D.jsx)(Fe,ze(ze({},e&&{id:"header-mobile-support-button"}),{},{onClick:Ne.F,$isDonateCopy:"Donate"===t,children:t}));var Re=n(83986),Le=n(3698),Be=n.n(Le),He=n(6324),Ke=n(11992),qe=n(2238);var Ve=n(81788),We=n(71859),Ue=n(67073);const Ge=y.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);var Je;function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Ye({xmlns:"http://www.w3.org/2000/svg",id:"7a455166757b1edf",viewBox:"0 0 24 24"},e),Je||(Je=$.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"}))),Ze=He.A.default||He.A,Xe=v.Ay.default||v.Ay,et=Ke.A.default||Ke.A,tt=y.styled.div.withConfig({componentId:"sc-prfj1i-0"})(["position:relative;"]),nt=(0,y.styled)(tt).withConfig({componentId:"sc-prfj1i-1"})(["border-block:1px solid ",";"],({theme:e})=>e.color.divider.light),rt=(0,y.styled)(Xe).attrs({svg:Qe}).withConfig({componentId:"sc-prfj1i-2"})(["margin:0 10px 0 0;color:inherit;"]),it=y.styled.span.withConfig({componentId:"sc-prfj1i-3"})(["display:block;overflow:hidden;max-width:151px;color:inherit;font-size:14px;line-height:normal;text-overflow:ellipsis;white-space:nowrap;"]),ot=(0,y.styled)(it).withConfig({componentId:"sc-prfj1i-4"})(["max-width:107px;"]),at=(0,y.styled)(Ze).withConfig({componentId:"sc-prfj1i-5"})(["display:grid;position:absolute;right:0;width:","px;height:100%;box-sizing:border-box;outline-offset:-2px;place-content:center;text-align:center;transition:",";"],88,({theme:e})=>e.transition.button),st=(0,y.styled)(at).withConfig({componentId:"sc-prfj1i-6"})(["padding:","px ","px;text-transform:uppercase;"," &,&:focus{background-color:",";color:",";}&:hover,&:active,&:focus-visible{background-color:",";color:",";}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.nav.button,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.ink.white,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.color.ink.white),lt=(0,y.styled)(at).withConfig({componentId:"sc-prfj1i-7"})(["padding:","px ","px;text-decoration:underline;",";&,&:focus{background-color:",";color:",";}&:hover,&:active,&:focus-visible{color:",";}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.button.medium,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.actionBrandInk.base,({theme:e})=>e.color.actionBrandInk.alt),ct=y.styled.a.withConfig({componentId:"sc-prfj1i-8"})(["display:flex;width:100%;height:49px;box-sizing:border-box;align-items:center;padding:","px;border-width:1px 0;font:bold 12px/1.2 ",";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.fontFamily.secondaryFont,({theme:e})=>e.transition.button,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.color.actionInvert.base,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,Q.Ur),dt=(0,y.styled)(ct).withConfig({componentId:"sc-prfj1i-9"})(["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),ut=y.styled.span.withConfig({componentId:"sc-prfj1i-10"})(["display:block;margin-top:-1px;color:inherit;font-size:10px;"]),pt=({isHeader:e,isLoggedIn:t,isSubscriber:n,replaceSubscribeWithSupport:r,isUSSubscriberOrigin:i,isActiveRecurringDonator:o,supportButtonCopy:a=De})=>{const s=t?" ":"Log in / Register",[l,c]=(0,$.useState)(s),[d,u]=(0,$.useState)(""),p=t?Le(Q.yE,Q.Ur):Q.yE,h=t?"/profile":`/login?regSourceMethod=${encodeURIComponent(Ve.sI)}`,m=t?Z.KA:null,y=e?tt:nt,b=e?dt:ct,v=t?e?ot:it:"span";return(0,$.useEffect)(()=>{var e;if(!t)return;const r=(0,f.Ri)(g.QO),i=(0,f.Ri)(g.vR)===We.Ts,{given_name:o,family_name:a,isAdFreeUser:s,isActiveRecurringDonator:l}=null!==(e=r?(0,Ue.A)(r):{})&&void 0!==e?e:{};var d,p;c((p=a,(d=o)&&p?`${d.charAt(0)}. ${p}`:d||"My account")),u(n?"Subscriber":s?"Ad-Free":l&&i?"Supporter":"Registered")},[t,n]),(0,D.jsx)(D.Fragment,{children:(0,D.jsxs)(y,{children:[(0,D.jsx)(et,{theme:qe.lF,children:n&&!e?(0,D.jsx)(lt,{href:"/independentpremium",children:"Premium"}):e?null:r&&i&&!o?(0,D.jsx)(et,{theme:qe.$7,children:(0,D.jsx)(st,{as:"button",onClick:Ne.F,children:a})}):!i&&(0,D.jsx)(st,{href:"/subscribe?itm_channel=native&itm_campaign=burger_subscribe",children:"Subscribe"})}),(0,D.jsx)(et,{theme:n?qe.lF:qe.$7,children:(0,D.jsxs)(b,{href:h,className:p,id:m,children:[(0,D.jsx)(rt,{}),(0,D.jsxs)(v,{className:Q.sN,children:[l,(0,D.jsx)(ut,{children:d})]})]})})]})})};pt.propTypes={cookieAuth:H.string,isHeader:H.bool,isLoggedIn:H.string,isSubscriber:H.string,replaceSubscribeWithSupport:H.bool,isUSSubscriberOrigin:H.bool,isActiveRecurringDonator:H.bool,supportButtonCopy:H.string};const ht=pt;var mt=n(48821);const gt="active",ft="climate",yt="premium",bt={best:"/extras/indybest",climate:"/climate-change",news:"/news",other:"/other",premium:"/independentpremium",tv:"/tv/editors-picks",tvEspanol:"/tv/destacados"},vt="drawer-nav-trigger__active";var xt=n(56986);const wt=e=>e.startsWith("http")?`/${e.split("/").slice(3).join("/")}`:e,jt=(e,t,n,r)=>{var i;const o=r.some(e=>e.active),a=wt(null!==(i=e.path)&&void 0!==i?i:"");if(["/","/us","/asia"].includes(t)&&a===n.news)return gt;const s=((e,t)=>{try{const n=wt(t),r=wt(e),i=n.split("/").at(1)||xt.wf;return r.split("/").at(1)===i}catch{return!1}})(t,a);return e.active||s&&!o?a===n.climate?ft:a===n.premium?yt:gt:""},Ot=(e,t)=>`${e[0].title}${e[1]?`, ${e[1].title}`:""} ${t}`;var kt=n(76456);function St(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 Ct(e){for(var t=1;t{const c=l===b.cn,d={children:e,index:t,id:i,trigger:o,className:Le(Q.P5,a)};return c?(0,D.jsx)(l,Ct(Ct({},d),{},{defaultOpen:s,children:e})):(0,D.jsx)(l,Ct(Ct({},d),{},{isOpen:n,onInteract:r,children:e}))};Et.propTypes={children:kt.S.isRequired,index:H.number,initialOpenState:H.bool,open:H.bool,onInteract:H.func,id:H.string,trigger:kt.S.isRequired,className:H.string,DropdownComponent:H.elementType};const Pt=Et,It=b.Ay.default||b.Ay,Mt=y.styled.div.withConfig({componentId:"sc-1zw2ux-0"})([""]),Tt=({name:e,className:t,sections:n,initialOpenIndex:r=null})=>{const[i,o]=((e=null)=>{const[t,n]=(0,$.useState)(e);return[t,n]})(r);return(0,D.jsx)(Mt,{className:Le("accordion-wrapper",t),children:n.map(({open:t=!1,trigger:n,content:r},a)=>(0,D.jsx)(Pt,{index:a,open:t||i===a,onInteract:()=>o(i===a?null:a),id:`accordion-section-${e}-${a}`,trigger:n,DropdownComponent:It,children:r},a))})};Tt.propTypes={sections:H.arrayOf(H.shape({trigger:kt.S.isRequired,content:kt.S.isRequired})),name:H.string,className:H.string,initialOpenIndex:H.number};const At=Tt,Dt=v.Ay.default||v.Ay,Nt=(0,y.styled)(Dt).attrs({svg:A.A}).withConfig({componentId:"sc-keb75r-0"})(["margin-left:auto;"]),_t=y.styled.a.withConfig({componentId:"sc-keb75r-1"})(["display:flex;align-items:center;padding:","px ","px ","px ","px;border-top:1px solid ",";background-color:",";color:",";font:",";&: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.drawerMenu.navList.expanded,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt),zt=(0,y.styled)(_t).withConfig({componentId:"sc-keb75r-2"})(["padding-left:","px;background:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.base),Ft=y.styled.ul.withConfig({componentId:"sc-keb75r-3"})(["padding:0;margin:0;"]),$t=(0,y.styled)(Ft).withConfig({componentId:"sc-keb75r-4"})(["margin:","px 0;border-bottom:1px solid ",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light),Rt=y.styled.li.withConfig({componentId:"sc-keb75r-5"})(["list-style-type:none;"]),Lt=({menu:e})=>(0,D.jsx)($t,{children:e.map(e=>(0,D.jsx)(Rt,{children:(0,D.jsxs)(zt,{href:e.path,children:[e.title,(0,D.jsx)(Nt,{})]})},e.path))});Lt.propTypes={menu:H.array.isRequired};const Bt=Lt;var Ht;function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Kt({xmlns:"http://www.w3.org/2000/svg",id:"844b8d2bfb17a9b5",viewBox:"0 0 24 24"},e),Ht||(Ht=$.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"}))),Vt=v.Ay.default||v.Ay,Wt=y.styled.div.withConfig({componentId:"sc-pk1ym4-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);}"]),Ut=(0,y.styled)(Vt).attrs({svg:qt}).withConfig({componentId:"sc-pk1ym4-1"})([""]),Gt=y.styled.span.withConfig({componentId:"sc-pk1ym4-2"})(["display:block;overflow:hidden;color:",";font:",";text-overflow:ellipsis;white-space:nowrap;"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.textStyle.drawerMenu.navTrigger.desc),Jt=y.styled.a.withConfig({componentId:"sc-pk1ym4-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,vt),Yt=y.styled.span.withConfig({componentId:"sc-pk1ym4-4"})(["display:block;height:18px;margin-bottom:5px;color:",";",";"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.drawerMenu.navTrigger.title),Qt=y.styled.h2.withConfig({componentId:"sc-pk1ym4-5"})(["overflow:hidden;height:51px;padding:0;margin:0;border:0;background-color:",";color:",";font-weight:normal;&: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,Jt,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,({theme:e})=>e.color.actionInvert.base,Wt,vt,({theme:e})=>e.color.actionBrand.base),Zt=({isRenderOnPageLoad:e,theme:t})=>{const n=e?"":"{{path}}";return(0,D.jsx)(y.ThemeProvider,{theme:t,children:(0,D.jsxs)(Qt,{className:"{{active}}",children:[(0,D.jsxs)(Jt,{href:n,className:"{{styledLink}}",children:[(0,D.jsx)(Yt,{className:Q.df,children:"{{title}}"}),"{{#desc}}",(0,D.jsx)(Gt,{children:"{{desc}}"}),"{{/desc}}"]}),(0,D.jsx)(Wt,{className:"{{styledArrow}}",children:(0,D.jsx)(Ut,{})})]})})};Zt.propTypes={isRenderOnPageLoad:H.bool,theme:H.object};function Xt(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 en(e){for(var t=1;te.spacing.x1_5),on=y.styled.nav.withConfig({componentId:"sc-1kdrnth-2"})(["position:relative;width:100%;background:",";clear:both;.","{border-bottom:1px solid ",";}"],({theme:e})=>e.color.canvas.secondary,Q.P5,({theme:e})=>e.color.divider.light),an=(0,y.styled)(on).withConfig({componentId:"sc-1kdrnth-3"})(["padding-bottom:200px;"]),sn=({andMore:e="& more",domain:t,menu:n=[],originalUrl:r})=>{const[i,o]=(0,$.useState)([]);(0,$.useEffect)(()=>{o(JSON.parse(JSON.stringify(n)))},[n,o]);const a=t===d.mv?an:on,s=e=>{const t=jt(e,r,bt,n);return[gt,ft,yt].includes(t)?vt:""},l=n.findIndex(e=>wt(e.path)===bt.other),c=l>-1?n[l]:{};l>-1&&i.splice(l,1);const u=i.map(t=>{var n;const r=null===(n=t.children)||void 0===n?void 0:n.length;return en(en({},t),{},{active:s(t),desc:r?Ot(t.children,e):null,styledArrow:r?"":"drawer-nav-arrow__side",styledLink:r?"":"drawer-nav-link__standalone"})}),p=u.find(e=>jt(e,r,bt,n)===yt),h=u.find(e=>jt(e,r,bt,n)===ft),m=p?qe.lF:h?qe.$1:qe.$7,g=u.map(e=>({trigger:(0,D.jsx)(tn,{theme:m,children:(0,D.jsxs)(Qt,{className:Le(e.active,e.styledLink),children:[(0,D.jsxs)(Jt,{href:e.path,children:[(0,D.jsx)(Yt,{className:Q.df,children:e.title}),e.desc&&(0,D.jsx)(Gt,{children:e.desc})]}),(0,D.jsx)(rn,{className:e.styledArrow,children:(0,D.jsx)(Ut,{})})]})}),content:(0,D.jsx)(Ft,{children:e.children&&e.children.map((e,t)=>(0,D.jsx)(Rt,{children:(0,D.jsxs)(_t,{href:e.path,children:[e.title,(0,D.jsx)(Nt,{})]})},`drawer-menu-item=${t}`))})}));return(0,D.jsxs)(a,{className:Q.Ls,children:[(0,D.jsx)(nn,{}),(0,D.jsx)(At,{name:"drawer-menu",sections:g}),(null==c?void 0:c.children)&&(0,D.jsx)(Bt,{menu:c.children})]})};sn.propTypes={andMore:H.string,domain:H.string.isRequired,menu:H.array,originalUrl:H.string.isRequired};const ln=sn;var cn=n(49569);const dn=cn.A.default||cn.A,un=y.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{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;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{width:40px;height:40px;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[v.CW].width,encodeURIComponent('\n \n\n'),({theme:{color:e}})=>e.actionBrand.base,({theme:{color:e}})=>e.actionBrand.alt,({theme:e})=>e.color.shadow.dark),pn=(0,y.styled)(un).withConfig({componentId:"sc-jmla16-1"})(["display:none;position:relative;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:1px solid ",";border-radius:","px 0 0 ","px;border-right:0;}.quick-searchresults{right:0;left:auto;z-index:7000;width:391px;max-height:393px;margin-top:7px;}.gsib_a{padding:1px 0 0 12px;}"],x.BY,({theme:e})=>e.color.divider.light,({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.dimension.btn.borderRadius),hn=({isHeader:e})=>{const t=e?"searchBox0":"searchBox1",n=e?"quickSearchresults0":"quickSearchresults1";return e?(0,D.jsx)(pn,{children:(0,D.jsxs)("div",{className:"search-input",children:[(0,D.jsx)("div",{id:t}),(0,D.jsx)("div",{id:n,className:"quick-searchresults"})]})}):(0,D.jsx)(dn,{children:(0,D.jsxs)(un,{children:[(0,D.jsx)("div",{id:t}),(0,D.jsx)("div",{id:n,className:"quick-searchresults"})]})})};hn.propTypes={isHeader:H.bool};const mn=hn;var gn=n(55701);const fn=te.Ay.default||te.Ay,yn=y.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=y.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=y.styled.p.withConfig({componentId:"sc-1t0z742-2"})(["margin-block:0;color:",";",""],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.supportDrawerContent.copy),xn=(0,y.styled)(fn).withConfig({componentId:"sc-1t0z742-3"})(["width:100%;margin-top:","px;",""],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.supportDrawerContent.button),wn=y.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),jn=({isAmp:e=!1})=>(0,D.jsxs)(yn,{children:[(0,D.jsx)(bn,{children:(0,D.jsxs)(vn,{children:["Our mission is to deliver unbiased, fact-based reporting that holds power to account and exposes the truth. ",(0,D.jsx)("b",{children:"Support us to deliver journalism without an agenda."})]})}),(0,D.jsx)(xn,{onClick:Ne.F,id:e?"support-drawer-button-amp":"",children:"Support now"}),(0,D.jsx)(wn,{children:(0,D.jsx)(gn.b,{})})]});jn.propTypes={isAmp:H.bool};const On=jn;var kn=n(23745);const Sn=cn.A.default||cn.A,Cn=v.Ay.default||v.Ay,En=y.styled.div.withConfig({componentId:"sc-11fg5ek-0"})(["display:flex;box-sizing:border-box;gap:8px;padding:0 ","px ","px;background:",";"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.secondary),Pn=(0,y.styled)(En).withConfig({componentId:"sc-11fg5ek-1"})(["padding:0;"]),In=(0,y.styled)(Cn).attrs({svg:kn.wK,size:v.X4}).withConfig({componentId:"sc-11fg5ek-2"})([""]),Mn=y.styled.a.withConfig({componentId:"sc-11fg5ek-3"})(["display:flex;min-width:0;max-width:126px;height:14px;flex:1;align-items:center;justify-content:space-between;padding:5px 7px;border-radius:","px;background:",";color:",";&:active,&:hover{background:",";color:",";}&:nth-child(2){display:none;margin-left:auto;@media ","{display:flex;}}"],({theme:e})=>e.dimension.btn.borderRadius,({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.ink.black,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.ink.black,x.kF),Tn=y.styled.span.withConfig({componentId:"sc-11fg5ek-4"})(["display:block;overflow:hidden;padding-right:","px;font:",";text-overflow:ellipsis;white-space:nowrap;"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.textStyle.tempLinks.base),An=({menu:e})=>{const t=e.length>0?En:Pn,n=e.slice(0,2);return(0,D.jsx)(Sn,{children:(0,D.jsx)(t,{className:Q.Qo,children:n.map((e,t)=>(0,D.jsxs)(Mn,{href:e.path,className:Q.x4,children:[(0,D.jsx)(Tn,{children:e.title}),(0,D.jsx)(In,{})]},`drawer-temp-link-${t}`))})})};An.propTypes={menu:H.array.isRequired};const Dn=An;var Nn,_n=n(11085);function zn(){return zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",zn({xmlns:"http://www.w3.org/2000/svg",id:"ae0622f4743ce121",viewBox:"0 0 24 24"},e),Nn||(Nn=$.createElement("path",{fill:"currentColor",d:"M19 19H5V5h7V3H3v18h18v-9h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"})));var $n;function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Rn({xmlns:"http://www.w3.org/2000/svg",id:"24642d152cfb978f",fill:"none",viewBox:"0 0 111 29"},e),$n||($n=$.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 Bn;function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Hn({xmlns:"http://www.w3.org/2000/svg",id:"096e9e1cc005bb48",fill:"none",viewBox:"0 0 80 29"},e),Bn||(Bn=$.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"}))),qn=["forceOpen"];function Vn(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 Wn(e){for(var t=1;te.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,Jn,Yn,({theme:e})=>e.color.actionBold.alt,({theme:e})=>e.color.actionInvert.alt,x.kF,({theme:e})=>e.dimension.drawer.width),Xn=y.styled.div.withConfig({componentId:"sc-vkhnlm-4"})(["padding-bottom:200px;"]),er=(0,y.styled)(Gn).attrs({svg:Fn}).withConfig({componentId:"sc-vkhnlm-5"})(["margin-left:auto;"]),tr=(0,y.styled)(B).withConfig({componentId:"sc-vkhnlm-6"})(["margin-top:-49px;@media ","{margin-top:-56px;}"],x.n5),nr=y.styled.div.withConfig({componentId:"sc-vkhnlm-7"})(["width:",";min-height:100vh;background:",";font:",";"],({theme:e})=>e.dimension.drawer.width,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.textStyle.drawerMenu.base),rr=({originalUrl:e,serverEnv:t,tempLinks:n,replaceSubscribeWithSupport:r,supportButtonCopy:i,addSupportContentToDrawer:o,isUSSubscriberOrigin:a,isActiveRecurringDonator:s,newEditions:l,andMoreText:c,changeText:u,closeText:p,isLoggedIn:h,isSubscriber:m,locale:g,closeDrawerMenu:f,domain:y,menuData:b})=>{const v=y===d.mv,x=(e=>null==e?void 0:e.map(([e,t,n,r])=>({title:e,path:t,active:!!r,children:null==n?void 0:n.map(([e,n])=>({title:e,path:n.startsWith("https:")||n.startsWith("/")?n:`${t}/${n}`}))})))(b);return(0,D.jsxs)(nr,{id:Z.OX,children:[(0,D.jsxs)(Ge,{onClick:f,id:Z.Bw,children:[(0,D.jsx)(Qn,{}),p]}),(0,D.jsx)(tr,{className:Q.Cb,changeText:u,domain:y,isHeader:!1,locale:g,serverEnv:t,id:"drawer-edition-switcher",newEditions:l}),!v&&(0,D.jsx)(ht,{isLoggedIn:h,isSubscriber:m,replaceSubscribeWithSupport:r,isUSSubscriberOrigin:a,isActiveRecurringDonator:s,supportButtonCopy:i}),o&&a&&(0,D.jsx)(On,{}),(0,D.jsx)(mn,{}),(null==n?void 0:n.length)>0&&(0,D.jsx)(Dn,{menu:n}),(null==x?void 0:x.length)>0&&(0,D.jsx)(ln,{andMore:c,domain:y,menu:x,originalUrl:e}),!v&&(0,D.jsx)(Xn,{children:(0,D.jsxs)(Zn,{href:"https://www.indy100.com",children:[(0,D.jsx)(Jn,{}),(0,D.jsx)(Yn,{}),(0,D.jsx)(er,{})]})})]})},ir={andMoreText:H.string.isRequired,changeText:H.string.isRequired,closeText:H.string.isRequired,domain:H.string.isRequired,isLoggedIn:H.string,isSubscriber:H.string,locale:H.string.isRequired,menuData:H.array.isRequired,originalUrl:H.string.isRequired,serverEnv:H.string.isRequired,tempLinks:H.array,replaceSubscribeWithSupport:H.bool,addSupportContentToDrawer:H.bool,isUSSubscriberOrigin:H.bool,isActiveRecurringDonator:H.bool,supportButtonCopy:H.string,newEditions:H.bool,forceOpen:H.bool};rr.propTypes=Wn({closeDrawerMenu:H.func.isRequired},ir);const or=e=>{let{forceOpen:t}=e,n=(0,mt.A)(e,qn);return(0,D.jsx)(X.A.Consumer,{children:({defaultState:{drawerMenuOpen:e},dispatchers:{closeDrawerMenu:r}})=>(0,D.jsx)(Un,{className:Q.TP,isHidden:!t&&!e,returnFocus:`#${Z.BI}`,onBackgroundClick:r,children:(0,D.jsx)(rr,Wn({closeDrawerMenu:r},n))})})};or.propTypes=ir;const ar=or;var sr=n(21531),lr=n(77463),cr=n(45469),dr=n(97086),ur=n(59187),pr=n(8246),hr=n(14847),mr=n(381);const gr=({src:e,alt:t,className:n})=>(0,D.jsx)(br,{className:n,children:(0,D.jsx)(mr.A,{src:e,alt:t,width:134,height:134,layout:"responsive"})}),fr=y.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),yr=y.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),br=y.styled.div.withConfig({componentId:"sc-y4bm30-2"})(["width:135px;img{object-fit:cover;}@media ","{display:none;}"],x.wG),vr=y.styled.div.withConfig({componentId:"sc-y4bm30-3"})([""]),xr=y.styled.div.withConfig({componentId:"sc-y4bm30-4"})(["display:flex;align-items:center;gap:28px;"]),wr=y.styled.h3.withConfig({componentId:"sc-y4bm30-5"})(["margin:0;color:",";"],({theme:e})=>e.color.ink.base),jr=(0,y.styled)(wr).withConfig({componentId:"sc-y4bm30-6"})(["display:none;font:",";@media ","{display:block;}"],({theme:e})=>e.textStyle.newsletterSignUp.title.medium,x.QK),Or=(0,y.styled)(wr).withConfig({componentId:"sc-y4bm30-7"})(["font:",";@media ","{display:none;}"],({theme:e})=>e.textStyle.newsletterSignUp.title.large,x.QK),kr=(0,y.styled)(wr).withConfig({componentId:"sc-y4bm30-8"})(["display:none;font:",";"],({theme:e})=>e.textStyle.newsletterSignUp.title.large),Sr=(0,y.styled)(gr).withConfig({componentId:"sc-y4bm30-9"})(["display:none;"]),Cr=(0,y.styled)(pr.Ay).withConfig({componentId:"sc-y4bm30-10"})(["align-self:flex-start;margin-left:auto;"]),Er=(0,y.styled)(ur.lV).withConfig({componentId:"sc-y4bm30-11"})(["display:flex;gap:","px;margin-top:","px;"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x0_5),Pr=(0,y.styled)(ur.ks).withConfig({componentId:"sc-y4bm30-12"})(["--input-height:38px;width:100%;margin:0;label,label + span{","}"],hr.Qg),Ir=(0,y.styled)(te.Ay).withConfig({componentId:"sc-y4bm30-13"})(["height:38px;margin:","px 0 ","px;"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x2),Mr=(0,y.styled)(ur.Sc).withConfig({componentId:"sc-y4bm30-14"})(["--color:",";--check-border-color:",";"],({theme:e})=>e.color.ink.muted,({theme:e})=>e.color.divider.brandBold),Tr=y.styled.p.withConfig({componentId:"sc-y4bm30-15"})(["margin-block:0;font:",";"],({theme:e})=>e.textStyle.checkbox.xxSmall),Ar=y.styled.div.withConfig({componentId:"sc-y4bm30-16"})(["display:flex;justify-content:center;"]),Dr=y.styled.div.withConfig({componentId:"sc-y4bm30-17"})(["color:",";"],({theme:e})=>e.color.semiotic.error),Nr=y.styled.h2.withConfig({componentId:"sc-y4bm30-18"})(["margin:10px 0 28px;color:",";font:",";text-align:center;@media ","{margin:0;}"],({theme:e})=>e.color.ink.light,({theme:e})=>e.textStyle.subscriberOffer.base,x.QK),_r=({title:e,mobileTitle:t=e,lengthenedMobileTitle:n=t,showTitle:r,className:i,isClimate:o=!1})=>(0,D.jsxs)(xr,{className:i,children:[r&&(0,D.jsxs)("div",{"data-nosnippet":"",children:[(0,D.jsx)(jr,{children:e}),(0,D.jsx)(kr,{children:n}),(0,D.jsx)(Or,{children:t})]}),(0,D.jsx)(y.ThemeProvider,{theme:e=>o?qe.$1:null!=e?e:qe.$7,children:(0,D.jsx)(Cr,{})})]}),zr=({type:e,children:t})=>{const n="success"===e?Ar:Dr;return(0,D.jsx)(n,{children:t})};var Fr=n(85870),$r=n(37111);const Rr=()=>{const[e,t]=(0,$.useState)("base");return(0,$.useEffect)(()=>{const e=window.matchMedia(`(min-width: ${$r.tabletS}px)`),n=()=>{t(e.matches?"small":"base")};return n(),e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e};var Lr=n(84229),Br=n(46053),Hr=n(89245),Kr=n(49551);function qr(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 Vr(e){for(var t=1;t{const[r,i]=(0,$.useState)(""),{methods:o,registerControlledInput:a}=(0,Lr.G1)(Br.u0),{formState:s,handleSubmit:l,getFieldErrors:c}=o,d=s.isValid&&!s.isSubmitting;return(0,$.useEffect)(()=>{(0,Kr.g)().then(e=>{i(e)})},[]),(0,$.useEffect)(()=>{const e=c();n(e)},[c,n]),(0,D.jsx)(ur.Op,Vr(Vr({},o),{},{children:(0,D.jsxs)(Er,{id:Z.Sv,onSubmit:l(n=>{const i=n;i.optIn=e,i[Hr.QK]=r,t(i)}),children:[(0,D.jsx)(Pr,Vr({placeholder:"Email",type:"email",label:"Email"},a(Z.bx))),(0,D.jsx)(Ir,{type:"submit",disabled:!d,children:"SIGN UP"})]})}))},Ur=({isLoggedIn:e,onSubmit:t,submitError:n})=>{const[r,i]=(0,cr.e)(),[o,a]=(0,cr.e)(),s=Rr();return(0,D.jsxs)(D.Fragment,{children:[e?(0,D.jsx)(D.Fragment,{children:(0,D.jsx)(Ir,{size:te.Zz,onClick:()=>t({optIn:r}),children:"SIGN UP"})}):(0,D.jsx)(Wr,{isOptedIn:r,onSubmit:t,handleInputError:e=>{(o&&!e.length||!o&&e.length)&&a()}}),(0,D.jsx)(Mr,{className:Be()(n||o?"error":""),controlled:!1,size:s,isCosy:!0,id:"optIn",name:"IND_Marketing_CDP",checked:r,onChange:()=>i(),label:(0,D.jsxs)(Tr,{children:["I would like to be emailed about offers, events and updates from The Independent. Read our"," ",(0,D.jsx)(He.A,{href:Fr.RS,children:"Privacy notice"})]})})]})},Gr=({newsletterData:{title:e,lengthenedMobileTitle:t,mobileTitle:n,imageSrc:r,newsletterKey:i,regTitle:o},isLoggedIn:a,className:s,isClimate:l})=>{const[c,d]=(0,cr.e)(),[u,p]=(0,cr.e)(),{handleSubscribe:h,handleAnonSubmit:m}=(0,dr.A)({},a,()=>{u&&p(),d()},()=>{c&&d(),p()});return i&&r?(0,D.jsxs)(fr,{className:Be()(Q.Rf,s),"data-newsletter-key":i,children:[(0,D.jsx)(gr,{src:r,alt:o}),(0,D.jsxs)(yr,{children:[(0,D.jsxs)(vr,{children:[(0,D.jsx)(_r,{title:e,mobileTitle:n,lengthenedMobileTitle:t,showTitle:!c,isClimate:l}),!c&&(0,D.jsx)(Sr,{src:r,alt:o})]}),c?(0,D.jsx)(zr,{type:"success",children:(0,D.jsxs)(Nr,{children:["Thanks for signing up to the",(0,D.jsx)("br",{})," ",o," email"]})}):(0,D.jsx)(Ur,{isLoggedIn:a,onSubmit:e=>{if(i){if(a){const t=e.optIn?[i,lr.Cd]:[i];t&&h(t)}a||m([i],e)}},submitError:u}),u&&(0,D.jsx)(zr,{type:"error",children:sr.G2})]})]}):null};var Jr=n(83236),Yr=n(9976),Qr=n(16708),Zr=n(90632),Xr=n(62892);y.styled.div.withConfig({componentId:"sc-d5v47r-0"})(["display:block;"]),y.styled.ul.withConfig({componentId:"sc-d5v47r-1"})(["--gap:","px;--cols:2;--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);flex-flow:row wrap;justify-content:center;gap:var(--gap);padding:0;margin:0 auto;list-style:none;> li{width:var(--item-width);flex:0 1 var(--item-width);padding:0;margin:0;}@media ","{--cols:3;--max-width:100%;","}"],({theme:e})=>e.spacing.x2,Xr.t,({$itemCount:e})=>4===e||2===e?(0,y.css)(["--cols:2;--max-width:calc(100% / 3 * 2);"]):""),y.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);const ei=(0,y.styled)(Qr.I).attrs({size:Zr.S}).withConfig({componentId:"sc-d5v47r-3"})([""]),ti=(0,y.styled)(Qr.I).attrs({svg:Yr.K,size:Zr.a}).withConfig({componentId:"sc-d5v47r-4"})(["display:block;margin-left:auto;color:currentColor;"]);y.styled.a.withConfig({componentId:"sc-d5v47r-5"})(["--color:",";--bg:",";display:flex;height:","px;box-sizing:border-box;flex-flow:row nowrap;align-items:center;gap:","px;padding:0 ","px;border:1px solid ",";border-radius:","px;background-color:var(--bg);color:var(--color);font:",";transition:",";&:hover,&:active{--color:",";--bg:",";border-color:var(--bg);color:var(--color);}",",","{flex-shrink:0;}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.color.actionBold.base,({theme:e})=>e.dimension.btn.height,({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.textStyle.buttonGroup.base,({theme:e})=>e.transition.button,({theme:e})=>e.color.ink.invert,({theme:e})=>e.color.actionBold.alt,ei,ti);n(15752);var ni=n(76710),ri=n(18087),ii=n(9449),oi=(n(96463),n(25523)),ai=n(7486),si=n(50082),li=(n(71707),n(2323),n(48484),n(25730),n(78174),n(28048),n(23950),n(7939)),ci=(n(41070),n(96120),n(75829),Object.defineProperty),di=(e,t)=>ci(e,"name",{value:t,configurable:!0});const ui="supportNsc",pi=di(e=>t=>(0,si.h)({onInteract:e,event:t}),"dropdownTriggerHandler"),hi=y.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,Xr.t,Xr.a),mi=y.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,Xr.t,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1_5),gi=y.styled.h3.withConfig({componentId:"sc-hez36s-2"})(["",";margin:0 0 ","px;text-align:center;@media ","{",";margin-bottom:","px;text-align:left;}"],({theme:e})=>e.textStyle.dropdownWithGradient.titleMobile,({theme:e,$isOpen:t})=>t?e.spacing.x1:e.spacing.x1_5,Xr.t,({theme:e})=>e.textStyle.dropdownWithGradient.titleTablet,({theme:e})=>e.spacing.x1_5),fi=(0,y.styled)(ri.D).withConfig({componentId:"sc-hez36s-3"})(["display:block;margin-bottom:","px;@media ","{display:none;}"],({theme:e,isOpen:t})=>t?e.spacing.x1_5:0,Xr.t),yi=y.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,Xr.t),bi=y.styled.span.withConfig({componentId:"sc-hez36s-5"})(["display:block;",";margin-block:0;text-align:center;"],({theme:e})=>e.textStyle.dropdownWithGradient.dropdown),vi=y.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,bi,ii.C,({theme:e})=>e.color.actionBrand.alt),xi=y.styled.div.withConfig({componentId:"sc-hez36s-7"})(["",";"],({theme:e})=>e.textStyle.dropdownWithGradient.copy.font),wi=y.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;}"],Xr.t,({theme:e})=>e.spacing.x3),ji=y.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;}"],Xr.t,({theme:e})=>e.spacing.x3),Oi=y.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,Xr.t,({theme:e})=>e.spacing.x1_5),ki=y.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,Xr.t),Si=y.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:","px;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:","px;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,Xr.t,({$isOpen:e})=>e?"inline":"flex",({$isOpen:e,$height:t,theme:n})=>e?t:2*n.textStyle.dropdownWithGradient.copy.lineHeight,({theme:e})=>(0,ai.a)(e.color.canvas.brand,0),({theme:e})=>e.color.canvas.brand,({theme:e})=>2*e.textStyle.dropdownWithGradient.copy.lineHeight,({$isOpen:e})=>e?0:1,({theme:e})=>e.transition.base),Ci=y.styled.div.withConfig({componentId:"sc-hez36s-13"})(["@media ","{order:-1;}"],Xr.t),Ei=di(({isOpen:e,copy:t,className:n,testId:r,onInteract:i})=>(0,D.jsx)(yi,{className:n,onKeyDown:pi(i),children:(0,D.jsxs)(vi,{"data-testid":r,onClick:i,children:[(0,D.jsx)(bi,{children:t}),(0,D.jsx)(ii.C,{svg:Yr.D,size:Zr.a,$isOpen:e})]})}),"DropdownTrigger"),Pi=(0,y.styled)(Ei).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,Xr.m);(0,y.styled)(Ei).withConfig({componentId:"sc-hez36s-15"})(["display:none;@media ","{display:flex;position:relative;align-items:flex-start;margin-top:","px;}"],Xr.t,({theme:e})=>e.spacing.x1_5);const Ii=(0,y.styled)(oi.D).withConfig({componentId:"sc-hez36s-16"})(["& ","{&::after{--fade-from:",";--fade-mid:",";--fade-to:",";}& ","{","}}"],oi.C,({theme:e})=>(0,ai.a)(e.color.canvas.brand,0),({theme:e})=>(0,ai.a)(e.color.canvas.brand,.5),({theme:e})=>e.color.canvas.brand,oi.R,({$parent:e})=>e===ui&&`\n @media ${Xr.b} {\n display: none;\n }\n `),Mi=di(({title:e,collapsedContent:t,link:n,icons:r,className:i})=>{const[o,a]=(0,$.useState)(!1),[s,l]=(0,$.useState)(!1),{collapsibleContentHeight:c,collapsibleContentContainerRef:d}=(0,ni.u)();return(0,$.useEffect)(()=>{const e=window.matchMedia("(max-width: 360px)"),t=di(()=>l(e.matches),"handleResize");return t(),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),(0,D.jsx)(hi,{children:(0,D.jsxs)(mi,{$isOpen:o,children:[e&&(0,D.jsx)(gi,{"data-testid":"support-nsc-title",$isOpen:o,children:e}),(0,D.jsxs)(wi,{children:[(0,D.jsx)(fi,{isOpen:!o,trigger:"",children:(0,D.jsx)(Ei,{isOpen:o,onInteract:()=>a(!0),copy:"Read more",testId:"support-nsc-dropdown-mobile-closed"})}),n&&(0,D.jsxs)(ji,{children:[(0,D.jsx)(Jr.B,{size:Jr.d,as:Jr.b,href:null==n?void 0:n.url,"data-testid":"support-nsc-link",onClick:null!=n&&n.trackingCallback?e=>{var t;return null==(t=null==n?void 0:n.trackingCallback)?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,D.jsx)(Oi,{children:r})]}),(0,D.jsx)(Ci,{children:s?(0,D.jsx)(Si,{$isOpen:o,$height:c,children:(0,D.jsxs)("div",{ref:d,children:[r&&(0,D.jsx)(ki,{children:r}),t&&(0,D.jsx)(xi,{"data-testid":"support-nsc-collapsed-content-mobile",children:t}),(0,D.jsx)(Pi,{isOpen:o,onInteract:()=>a(!1),copy:"Close",testId:"support-nsc-dropdown-mobile-open"})]})}):(0,D.jsx)(Ii,{isOpen:o,setIsOpen:a,collapsedContent:(0,D.jsxs)("div",{ref:d,children:[r&&(0,D.jsx)(ki,{children:r}),t&&(0,D.jsx)(xi,{"data-testid":"support-nsc-collapsed-content-tablet",children:t})]}),$parent:ui,className:i})})]})]})})},"SupportNSC");var Ti=n(43292),Ai=n(65619),Di=n(10962);const Ni=y.styled.p.withConfig({componentId:"sc-1uza6dc-0"})(["margin:0 0 ","px;",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.textStyle.dropdownWithGradient.copy.font),_i=y.styled.strong.withConfig({componentId:"sc-1uza6dc-1"})(["",";"],({theme:e})=>e.textStyle.dropdownWithGradient.summary),zi=(D.Fragment,D.Fragment,D.Fragment,(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(Ni,{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,D.jsx)(Ni,{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,D.jsx)(Ni,{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,D.jsx)(_i,{children:"Your support makes all the difference."})]})),Fi=()=>(0,D.jsx)(Mi,{title:"Your support helps us to tell the story",collapsedContent:zi,link:{copy:"Support Now",url:(0,Ai.g8)({[re.cN]:Ve.D9}),trackingCallback:()=>{Di.J4.storeCurrentURL(),(0,Ti.dispatchSupportNSCLinkClick)()}},icons:(0,D.jsx)(gn.A,{})});var $i=n(91428),Ri=n(95821),Li=n(49470),Bi=n(98758),Hi=n(46615);const Ki=({imgUrl:e,imgAlt:t,children:n})=>(0,D.jsxs)(Hi.Q_,{children:[(0,D.jsx)(Hi.MH,{src:e||"https://static.independent.co.uk/static-assets/images/hotel-photo-placeholder.png",alt:t}),(0,D.jsx)(Hi.bw,{children:n})]});Ki.propTypes={imgUrl:H.string.isRequired,imgAlt:H.string.isRequired,children:H.node.isRequired};const qi=Ki;var Vi;function Wi(){return Wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",Wi({xmlns:"http://www.w3.org/2000/svg",id:"b9c0dcf9cfa7b78c",fill:"none",viewBox:"0 0 32 32"},e),Vi||(Vi=$.createElement("path",{fill:"currentColor",d:"m8.22 26.84 2.36 2.36L23.78 16 10.58 2.8 8.22 5.16 19.06 16z"})));function Gi(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 Ji(e){for(var t=1;t(0,D.jsx)(Ri.ck,{children:(0,D.jsx)(Ri.N_,Ji(Ji({href:n},(0,Li.t)(n)&&{target:"_blank",rel:"noreferrer nofollow"}),{},{children:(0,D.jsxs)(qi,{imgUrl:t,imgAlt:r,children:[(0,D.jsxs)(Hi.Wu,{children:[(0,D.jsxs)(Hi.vu,{children:[i&&(0,D.jsx)("span",{children:i}),(0,D.jsx)(Hi.cW,{children:r})]}),(0,D.jsxs)(Hi.lE,{children:[e?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("strong",{children:e})," per night"]}):`${Bi.o}`,(0,D.jsx)("span",{children:"Rates provided by Booking.com"})]})]}),(0,D.jsx)(Hi.X9,{children:(0,D.jsx)(Yi,{svg:Ui,size:v.Oq})})]})}))});Qi.propTypes={currency:H.oneOf(["GBP","USD","EUR"]).isRequired,hotel:H.shape({id:H.number.isRequired,price:H.string,img:H.string,url:H.string.isRequired,name:H.string.isRequired,city:H.string.isRequired})};const Zi=Qi,Xi=({hotels:e,currency:t})=>(0,D.jsx)(Ri.B8,{children:e.map(e=>(0,D.jsx)(Zi,{currency:t,hotel:e},e.id))});Xi.propTypes={hotels:H.arrayOf(H.shape({id:H.number.isRequired,price:H.string,img:H.string,url:H.string.isRequired,name:H.string.isRequired,city:H.string.isRequired})).isRequired,currency:H.oneOf(["GBP","USD","EUR"]).isRequired};const eo=Xi;var to=n(42321),no=n(624),ro=n(30379),io=n(761);const oo=async(e,t,n,r,i)=>{const[o,a]=(0,io.A)();try{const[s,l]=await Promise.all([(0,no.A)("/api/booking/details",{ids:e,sectionName:n}),(0,no.A)("/api/booking/availability",{ids:e,currency:t,checkin:o,checkout:a})]),c=(null==s?void 0:s.hotels)||[],d=(null==l?void 0:l.prices)||[];if(!c.length)throw new Error("No hotel data found");return c.map(e=>{var t,n,o;const a=d.find(t=>t.id===e.id),s=(null==a||null===(t=a.price)||void 0===t?void 0:t.toString())||null,l=(null==a?void 0:a.url)||(null==e?void 0:e.url),c=(null===(n=e.name)||void 0===n?void 0:n["en-gb"])||"No name available",u=(null===(o=e.photos)||void 0===o||null===(o=o.find(e=>!0===e.main_photo))||void 0===o||null===(o=o.url)||void 0===o?void 0:o.standard)||"";return{id:e.id,price:s,url:r[e.id]||l,name:c,img:u,city:i[e.id]}})}catch(e){return(0,ro.warn)(e),null}};function ao(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 so(e){for(var t=1;t{const[a,s]=(0,$.useState)(null),[l,c]=(0,$.useState)(!1);return(0,$.useEffect)(()=>{o?(async()=>{const o=await(0,no.A)("/api/booking/hotels",{ids:e,currency:r,sectionName:i});if(o){const e=o.map(e=>so(so({},e),{},{url:t[e.id]||e.url,city:n[e.id]}));s(e)}else c(!0)})():(async()=>{const o=await oo(e,r,i,t,n);o?s(o):c(!0)})()},[e,r,i,t,n,o]),{hotels:a,error:l}},co=({ids:e,urls:t,cities:n,currency:r,sectionName:i,hotelCount:o,fetchDataFromIndyApi:a})=>{const{hotels:s,error:l}=lo({ids:e,urls:t,cities:n,currency:r,sectionName:i,fetchDataFromIndyApi:a}),c=(o%2==0?o:o+1)/2;return(0,D.jsx)(Ri.mO,{children:s?(0,D.jsx)(eo,{hotels:s,currency:r}):(0,D.jsx)(Ri.QB,{$itemCount:o,$pairedItemCount:c,children:l?(0,D.jsx)(to.$,{}):(0,D.jsx)(to.R,{})})})};co.propTypes={ids:H.string.isRequired,urls:H.object,cities:H.object,currency:H.oneOf(["GBP","USD","EUR"]).isRequired,sectionName:H.string.isRequired,hotelCount:H.number.isRequired,fetchDataFromIndyApi:H.bool};const uo=co;var po=n(13322);const ho="whatsapp",mo=po.A.default||po.A,go=y.styled.div.withConfig({componentId:"sc-1m9y3iv-0"})(["display:flex;justify-content:center;gap:","px;margin-bottom:","px;"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x3),fo=({title:e,url:t,hasFacebook:n})=>{const r={type:"facebook",url:`https://www.facebook.com/sharer/sharer.php?u=${t}"e=${e}`},i=[{type:"x",url:encodeURI(`https://twitter.com/intent/tweet?text=${e} ${t}`)},{type:ho,url:`https://api.whatsapp.com/send?text=${e} - ${t}`},{type:"email",url:`mailto:?subject=${e}&body=${t}`}];return(0,D.jsx)(go,{children:(0,D.jsx)(y.ThemeProvider,{theme:qe.$7,children:(0,D.jsx)(mo,{buttons:n?[r,...i]:i,mobileOnlyButtons:[ho]})})})};fo.propTypes={title:H.string,url:H.string,hasFacebook:H.bool};const yo=fo;var bo=n(20354),vo=n(41040);n(18894);const xo=["disabled","onClick"],wo=["disabled","onClick"];function jo(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 Oo(e){for(var t=1;tko(e,"name",{value:t,configurable:!0});const Co=y.styled.button.withConfig({componentId:"sc-xzp48t-0"})(["--height:24px;--width:24px;--pos-x:","px;display:flex;position:absolute;top:calc(50% - (var(--width) / 2));width:var(--width);height:var(--width);align-items:center;justify-content:center;border-radius:50%;background-color:",";color:",";pointer-events:auto;transition:background-color ",",opacity ",";&:hover,&:active{background-color:",";}&[disabled]{opacity:0;}"],({theme:e})=>e.spacing.x2,({theme:e})=>(0,ai.a)(e.color.actionBase.base,.8),({theme:e})=>e.color.ink.invert,({theme:e})=>e.transition.base,({theme:e})=>e.transition.base,({theme:e})=>(0,ai.a)(e.color.actionBase.base,.5)),Eo=(0,y.styled)(Co).withConfig({componentId:"sc-xzp48t-1"})(["left:var(--pos-x);"]),Po=(0,y.styled)(Co).withConfig({componentId:"sc-xzp48t-2"})(["right:var(--pos-x);"]),Io=(0,y.styled)(Qr.I).attrs({size:Zr.a}).withConfig({componentId:"sc-xzp48t-3"})([""]),Mo=So(e=>{let{disabled:t,onClick:n}=e,r=(0,mt.A)(e,xo);return t?null:(0,D.jsx)(Eo,Oo(Oo({},r),{},{disabled:t,onClick:n,children:(0,D.jsx)(Io,{svg:Yr.G})}))},"ButtonPrev"),To=So(e=>{let{disabled:t,onClick:n}=e,r=(0,mt.A)(e,wo);return t?null:(0,D.jsx)(Po,Oo(Oo({},r),{},{disabled:t,onClick:n,children:(0,D.jsx)(Io,{svg:Yr.K})}))},"ButtonNext"),Ao=So(({items:e,renderSlide:t})=>(0,D.jsx)(vo.C,{items:e,ButtonNext:To,ButtonPrev:Mo,renderSlide:t}),"AuthorCarousel");var Do=n(73386);var No=n(87138),_o=n(24539);const zo=y.styled.a.withConfig({componentId:"sc-1iecef8-0"})(["display:inline-block;margin-right:0.5em;color:",";font-style:italic;font-weight:bold;&:hover{color:",";}"],({theme:e})=>e.color.actionBrandInk.base,({theme:e})=>e.color.actionBrandInk.alt),Fo=({className:e,author:t})=>(0,D.jsx)(zo,{className:`author ${e}`,href:null==t?void 0:t.path,children:null==t?void 0:t.name});Fo.propTypes={author:H.object,className:H.string};const $o=(0,y.styled)(Fo).withConfig({componentId:"sc-1iecef8-1"})([""]),Ro=y.styled.h2.withConfig({componentId:"sc-9tb5ao-0"})(["margin:0;"," a{text-decoration:none;}"],({theme:e})=>e.textStyle.storyCard.headline.small),Lo=(0,y.styled)(Ro).withConfig({componentId:"sc-9tb5ao-1"})([""]),Bo=y.styled.a.withConfig({componentId:"sc-oq6ovx-0"})(["color:",";&:hover{color:",";.highlight{color:",";}}.highlight{color:",";font-family:",";text-transform:uppercase;}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.fontFamily.secondaryFont),Ho=({title:e})=>{const t=e.match(/(^\d*\sbest)(.*)/i);if(t){const[,e,n]=t;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("span",{className:"highlight",children:e}),(0,D.jsx)("span",{children:n})]})}return e};Ho.propTypes={title:H.string.isRequired};const Ko=({className:e,title:t,titleShort:n="",path:r,highlightTopPicks:i=!1})=>{const o=n||t;return(0,D.jsx)(Bo,{className:Le(e,"title"),href:r,children:i?(0,D.jsx)(Ho,{title:o}):o})};Ko.propTypes={title:H.string.isRequired,titleShort:H.string,path:H.string.isRequired,className:H.string,highlightTopPicks:H.bool};const qo=Ko,Vo=y.styled.div.withConfig({componentId:"sc-1ypcpqi-0"})(["position:relative;"]),Wo=(0,y.styled)($o).withConfig({componentId:"sc-1ypcpqi-1"})(["display:block;"," @media "," and ","{","}@media ","{","}"],({theme:e})=>e.textStyle.headshot.small,x.k4,x.lw,({theme:e})=>e.textStyle.headshot.medium,x.r7,({theme:e})=>e.textStyle.headshot.large),Uo=y.styled.div.withConfig({componentId:"sc-1ypcpqi-2"})(["margin-right:","px;float:left;"],({theme:e})=>e.spacing.x1),Go=y.styled.div.withConfig({componentId:"sc-1ypcpqi-3"})(["padding:","px 0;@media ","{padding:","px;}","{margin:0;"," @media "," and ","{","}@media ","{","}}"],({theme:e})=>e.spacing.x0_25,x.Hw,({theme:e})=>e.spacing.x1,Lo,({theme:e})=>e.textStyle.headshot.small,x.k4,x.lw,({theme:e})=>e.textStyle.headshot.medium,x.r7,({theme:e})=>e.textStyle.headshot.large),Jo=(0,y.styled)(mr.A).withConfig({componentId:"sc-1ypcpqi-4"})(["display:block;width:90px;height:90px;"]),Yo=({className:e,data:t,highlightTopPicks:n})=>{const{path:r,titleShort:i,title:o,premium:a,authors:s,taboolaExcluded:l}=t,c=(d=s,Array.isArray(d)&&d.length>0?s[0]:null);var d;return(0,D.jsx)(y.ThemeProvider,{theme:e=>a?qe.lF:e,children:(0,D.jsxs)(Vo,{className:(0,No.u)(e,{[Q.NA]:l}),children:[(null==c?void 0:c.imageUrl)&&(0,D.jsx)(Uo,{className:Q.mG,children:(0,D.jsx)(Jo,{src:(0,_o.m$)(null==c?void 0:c.imageUrl,(0,_o.e5)({width:90,quality:50}))})}),(0,D.jsxs)(Go,{children:[(0,D.jsx)(Wo,{author:c}),(0,D.jsx)(Lo,{children:(0,D.jsx)(qo,{path:r,title:o,titleShort:i,highlightTopPicks:n})})]})]})})};Yo.propTypes={className:H.string,data:H.object.isRequired,highlightTopPicks:H.bool};const Qo=(0,y.styled)(Yo).withConfig({componentId:"sc-1ypcpqi-5"})([""]),Zo=y.styled.div.withConfig({componentId:"sc-1wtoniu-0"})(["position:relative;overflow:hidden;min-height:90px;border:solid ",";border-width:1px 0;background:",";","{--slides-to-show:1;--bleed:12px;--container-width:calc(100vw - (var(--bleed) * 2));overflow:hidden;width:calc(var(--container-width) / var(--slides-to-show));height:90px;box-sizing:border-box;padding:0 48px 0 34px;margin:0;line-height:initial;vertical-align:top;@media ","{--slides-to-show:2;--container-width:calc( ","px - (var(--bleed) * 2) );}@media ","{--slides-to-show:3;--bleed:","px;--container-width:calc( ","px - (var(--bleed) * 2) );padding:0;}h2{white-space:normal;}}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.color.canvas.secondary,Qo,x.n5,({theme:e})=>e.dimension.pageWidth.tablet,x.BY,({theme:e})=>e.dimension.bleed,({theme:e})=>e.dimension.pageWidth.laptop),Xo=e=>{const{data:{articles:t},sectionTheme:n,title:r}=e;return(0,D.jsxs)(y.ThemeProvider,{theme:e=>qe.Zj[n]||e,children:[r,(0,D.jsx)(Do.Ay,{children:(0,D.jsx)(na,{articles:t})})]})};Xo.propTypes={data:H.object.isRequired,sectionTheme:H.string,title:H.node};(0,y.styled)(Xo).withConfig({componentId:"sc-1wtoniu-1"})(["display:flex;flex-direction:column;contain-intrinsic-size:1px 1000px;content-visibility:auto;"]);const ea=Ao.default||Ao,ta=({articles:e})=>{const t=null==e?void 0:e.filter(e=>e);return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)(Zo,{children:(0,D.jsx)(ea,{items:t,renderSlide:({slideIndex:e,item:n,isVisible:r})=>(0,D.jsx)(Qo,{isFirst:0===e,isLast:e===t.length-1,data:n,isFullWidth:!0,isVisible:r},`item-${e}`)})})})};ta.propTypes={articles:H.array,sectionTheme:H.string};const na=ta;var ra=n(99973);const ia=y.styled.div.withConfig({componentId:"sc-lpwlu-0"})(["display:flex;flex-direction:column;color:",";@media ","{flex-direction:row;}"],({theme:e})=>e.color.ink.base,x.BY),oa=y.styled.span.withConfig({componentId:"sc-lpwlu-1"})(["font:",";text-wrap:nowrap;&::after{margin-right:","px;content:' -';}"],({theme:e})=>e.textStyle.voucherTicker.title,({theme:e})=>e.spacing.x0_5),aa=y.styled.a.withConfig({componentId:"sc-lpwlu-2"})(["display:inline-block;color:",";font:",";&:hover{color:",";text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;}&:focus-visible{outline-offset:-","px;}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.voucherTicker.detail,({theme:e})=>e.color.ink.base,({theme:e})=>e.spacing.x0_25),sa=({item:e})=>(0,D.jsxs)(ia,{children:[(0,D.jsx)(oa,{children:e.anchor_text}),(0,D.jsx)(aa,{target:"_blank",href:e.url,rel:"noopener noreferrer",children:e.best_offer_text})]});sa.propTypes={item:H.object.isRequired};const la=sa,ca=({section:e})=>{var t,n;const r=null==e||null===(t=e.components)||void 0===t?void 0:t.find(({type:e})=>"Voucher"===e),i=null!==(n=null==r?void 0:r.vouchers)&&void 0!==n?n:[];return(0,D.jsx)(ra.Q,{items:i,renderSlide:la,ctaText:"All Deals",ctaHref:"https://www.independent.co.uk/vouchercodes",autoPlayInterval:8})};ca.propTypes={section:H.object};const da=ca;n(60824);var ua=n(2623);n(94199);function pa(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 ha(e){for(var t=1;t{var t,n,r;return(null===(t=e.video)||void 0===t?void 0:t.includes("/live/events/"))||(null===(n=e.sources)||void 0===n?void 0:n.length)&&(null===(r=e.sources[0])||void 0===r||null===(r=r.file)||void 0===r?void 0:r.includes("/live/events/"))},ga=e=>{const t=parseInt(e.duration),n=Math.floor(t/3600),r=Math.floor((t-3600*n)/60),i=t-60*r-3600*n,o=r<10?"0":"",a=i<10?"0":"";return 0===n?[`${o}${r}`,`${a}${i}`]:[`${n<10?"0":""}${n}`,`${o}${r}`,`${a}${i}`]},fa=e=>ga(e).join(":"),ya=(e,t)=>!(!e||!e.sponsorPrefix)||!(!t||!t.commercialBadgeTerm),ba=H.shape({type:H.oneOf(["article"]).isRequired,id:H.string.isRequired,title:H.string,titleShort:H.string,titleSocial:H.string,titleSEO:H.string,path:H.string.isRequired,sections:H.array,hero:H.array}),va=H.shape({type:H.oneOf(["image"]).isRequired,data:H.shape({title:H.string,description:H.string,url:H.string}),width:H.number,height:H.number}),xa=H.shape({name:H.string.isRequired,url:H.string}),wa=H.shape({type:H.oneOf(["VideoHubPlaylist"]),commercialBadgeTerm:xa,commercialBadgeImage:va,commercialBadgeLink:H.string,articles:H.arrayOf(ba)}),ja=H.shape({image:va,link:H.string,term:xa}).isRequired;function Oa(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 ka=(e,t)=>!!(e=>{var t;return null==e||null===(t=e.split(".").slice(-1))||void 0===t?void 0:t[0]})(e).match(new RegExp(t,"i")),Sa=(e,t)=>(0,_o.m$)(e,(0,_o.e5)(function(e){for(var t=1;t{const r=Sa(e,t);return r?n?[`${r} ${n}`]:[r]:[]},Ea=(0,y.styled)(mr.A).withConfig({componentId:"sc-1sxzv39-0"})(["display:block;"]),Pa=y.styled.a.withConfig({componentId:"sc-1sxzv39-1"})(["max-width:100px;max-height:32px;"]),Ia=y.styled.a.withConfig({componentId:"sc-1sxzv39-2"})(["font-weight:bold;letter-spacing:2.5px;"]),Ma=(0,y.styled)(Ia).withConfig({componentId:"sc-1sxzv39-3"})(["color:",";"],({theme:e})=>e.color.ink.invert),Ta=y.styled.div.withConfig({componentId:"sc-1sxzv39-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),Aa=(0,y.styled)(Ta).withConfig({componentId:"sc-1sxzv39-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),Da=({image:e,link:t})=>{var n;if(null===(n=e.data)||void 0===n||!n.url)return!1;const r=Sa(e.data.url,{height:32}),i=[Ca(e.data.url,{height:64},"2x"),Ca(e.data.url,{height:96},"3x")].join(",");return(0,D.jsx)(Pa,{href:t,children:(0,D.jsx)(Ea,{src:r,srcset:i,alt:e.data.alt||null,height:32})})},Na=({className:e,term:t,image:n,link:r,isHero:i})=>{const o=i?Ma:Ia,a=i?Aa:Ta,s=t.url?"a":"span";return(0,D.jsxs)(a,{className:(0,No.u)(e,"sponsor"),children:[(0,D.jsx)(o,{as:s,href:t.url,children:t.name}),n&&(0,D.jsx)(Da,{image:n,link:r})]})};Da.propTypes={className:H.string,term:xa,image:va,link:H.string},Na.propTypes={className:H.string,term:xa,image:va,link:H.string,isHero:H.bool};const _a=Na,za=({commercialBadge:e,isHero:t})=>{const{image:n,link:r,term:i}=e;return i?(0,D.jsx)(_a,{term:i,image:n,link:r,isHero:t}):null};za.propTypes={commercialBadge:ja,isHero:H.bool};const Fa=za,$a=({path:e,playlistName:t})=>(0,D.jsx)("h3",{children:(0,D.jsx)("a",{href:e,children:t})});$a.propTypes={path:H.string,playlistName:H.string};const Ra=$a,La=({video:e,isUpNext:t,hasMoreBtn:n,hasPlaylistSponsor:r})=>{if(!e)return null;const i=e.article,o=(null==i?void 0:i.titleShort)||e.title,a=e.smallImage||e.image&&(s=e.image,(0,_o.Q$)(s,{width:320}))||(0,_o.m$)(e.heroImage.url,(0,_o.e5)({width:320}));var s;return(0,D.jsxs)("a",{className:t?"upNextVideo":"videoThumbnail",href:e.path,children:[(0,D.jsxs)("div",{className:"thumb",children:[(0,D.jsx)(mr.A,{src:a,layout:"responsive",width:16,height:9,alt:o,loading:"lazy"}),ma(e)?(0,D.jsx)("p",{className:"live",children:"Live"}):(0,D.jsx)("p",{className:"duration",children:fa(e)})]}),(0,D.jsxs)("div",{className:"thumbinfo",children:[e.sponsored&&!r&&(0,D.jsx)("p",{className:"sponsored",children:"Sponsored"}),t?(0,D.jsx)("h2",{children:o}):(0,D.jsx)("h3",{className:n?"withMoreBtn":"",children:o})]})]})};La.propTypes={video:H.object,isUpNext:H.bool,hasMoreBtn:H.bool,hasPlaylistSponsor:H.bool};const Ba=La;var Ha,Ka=n(67864);function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t$.createElement("svg",qa({xmlns:"http://www.w3.org/2000/svg",id:"d7f520eaa5bbc14c",viewBox:"0 0 32 32"},e),Ha||(Ha=$.createElement("path",{fill:"currentColor",d:"m12.94 8-1.88 1.88 6.1 6.12-6.1 6.12L12.94 24l8-8z"}))),Wa=v.Ay.default||v.Ay,Ua=(0,y.styled)(Wa).attrs({svg:Va,size:"large"}).withConfig({componentId:"sc-xncb3d-0"})([""]),Ga=(0,y.styled)(Wa).attrs({svg:Ka.A,size:"large"}).withConfig({componentId:"sc-xncb3d-1"})([""]),Ja=y.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;"]),Ya=(0,y.styled)(Ja).withConfig({componentId:"sc-xncb3d-3"})(["color:",";"],e=>e.theme.color.actionBrand.disabled),Qa=y.styled.div.withConfig({componentId:"sc-xncb3d-4"})(["display:none;margin-left:","px;@media ","{display:block;}"],e=>e.theme.spacing.x3,x.n5),Za=({sectionPath:e,playlistName:t,playlist:n,tvMoreText:r})=>{const i=((e,t)=>e.reduce((e,n,r)=>{let i=Math.floor(r/t);return(e[i]||(e[i]=[])).push(n),e},[]))(n.articles.map(e=>((e,t)=>{var n,r,i,o;return ha(ha({},null===(n=e.hero)||void 0===n||null===(n=n.find(({type:e})=>e===ua.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===(i=e.authors)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.path)||"",updated:e.updated,article:e,heroImage:null===(o=e.hero)||void 0===o||null===(o=o.find(({type:e})=>e===ua.W1))||void 0===o?void 0:o.data,sponsored:ya(e,t)})})(e)),4),[o,a]=(0,$.useState)(0),s=e=>{const t=o+e;t>=0&&ts(1),c={image:n.commercialBadgeImage,link:n.commercialBadgeLink,term:n.commercialBadgeTerm};return(0,D.jsxs)("section",{className:"playlistSlabAndTitle",children:[(0,D.jsxs)("div",{className:"titlePanel",children:[(0,D.jsx)(Ra,{path:e,playlistName:t}),(0,D.jsx)(Fa,{commercialBadge:c}),i.length>1&&(0,D.jsxs)(Qa,{children:[(0,D.jsx)(es,{prevPage:()=>s(-1),currentIndex:o,totalVideoPages:i.length}),(0,D.jsx)(ts,{nextPage:l,currentIndex:o,totalVideoPages:i.length})]})]}),(0,D.jsx)("div",{className:"playlistSlabs",children:i.map((e,n)=>(0,D.jsxs)(Xa,{currentIndex:o,pageIndex:n,children:[e.map((t,n)=>(0,D.jsx)(Ba,{video:t,hasMoreBtn:n===e.length-1,hasPlaylistSponsor:!!c.term},`videoThumbnail${n}`)),(0,D.jsx)("div",{className:"moreHolder",children:(0,D.jsx)(ns,{currentIndex:o,nextPage:l,pageIndex:n,totalVideoPages:i.length,playlistName:t,tvMoreText:r})})]},`videoPage${n}`))})]})},Xa=({currentIndex:e,pageIndex:t,children:n})=>(0,D.jsx)("div",{className:Le("playlistSlab",0===e&&e!==t?"hide":e!==t?"mshow":"show"),children:n}),es=({prevPage:e,currentIndex:t,totalVideoPages:n})=>{const r=0===t?Ya:Ja;return 1!==n&&(0,D.jsx)(r,{onClick:e,children:(0,D.jsx)(Ga,{})})},ts=({nextPage:e,currentIndex:t,totalVideoPages:n})=>{const r=t===n-1?Ya:Ja;return 1!==n&&(0,D.jsx)(r,{onClick:e,children:(0,D.jsx)(Ua,{})})},ns=({currentIndex:e,nextPage:t,pageIndex:n,totalVideoPages:r,playlistName:i,tvMoreText:o})=>r>1&&n0?"hide":"show"),onClick:t,children:`${o} ${i}`});Za.propTypes={sectionPath:H.string,playlistName:H.string,playlist:wa.isRequired,tvMoreText:H.string.isRequired},Xa.propTypes={currentIndex:H.number,pageIndex:H.number,children:H.node},es.propTypes={prevPage:H.func,currentIndex:H.number,totalVideoPages:H.number},ts.propTypes={nextPage:H.func,currentIndex:H.number,totalVideoPages:H.number},ns.propTypes={currentIndex:H.number,nextPage:H.func,pageIndex:H.number,totalVideoPages:H.number,playlistName:H.string,tvMoreText:H.string.isRequired};const rs=Za,is=y.styled.span.withConfig({componentId:"sc-138r6qb-0"})(["color:",";"],({theme:e})=>e.color.semiotic.inactive),os=y.styled.li.withConfig({componentId:"sc-138r6qb-1"})(["font-size:16px;text-align:center;"]),as=y.styled.a.withConfig({componentId:"sc-138r6qb-2"})(["color:",";font-size:16px;line-height:1.3;text-decoration:none;"],({theme:e})=>e.color.ink.base),ss=y.styled.ul.withConfig({componentId:"sc-138r6qb-3"})(["display:grid;grid-template-columns:repeat(7,1fr);padding:0;grid-gap:5px;list-style:none;"]),ls=y.styled.h3.withConfig({componentId:"sc-138r6qb-4"})(["padding:16px 0;margin:0;font-size:20px;font-weight:bold;line-height:20px;"]),cs=y.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),ds=y.styled.ul.withConfig({componentId:"sc-138r6qb-6"})(["display:flex;flex-wrap:wrap;padding-left:0;margin:0 0 10px;list-style:none;"]),us=y.styled.div.withConfig({componentId:"sc-138r6qb-7"})([""]),ps=y.styled.section.withConfig({componentId:"sc-138r6qb-8"})(["&:first-child h2{border-top:1px solid ",";}"],({theme:e})=>e.color.divider.light),hs=y.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;font-size:20px;font-weight:bold;line-height:1;&:focus{outline-color:",";}&[aria-expanded='true'],[aria-expanded='true'] &{border-bottom:0;}"],({theme:e})=>e.color.divider.light,({theme:e})=>e.color.primary.base),ms=(e,t,n,r)=>r>e.getDate()&&e.getMonth()+1===n&&e.getFullYear()===t,gs=(e,t)=>new Date(e,t,0).getDate(),fs=e=>String(e).padStart(2,"0"),ys=e=>{const{archivePath:t,monthNames:n,month:r,year:i}=e,o=((e,t,n)=>{const r=[],i=n||new Date;for(let n=1;n<=gs(t,e);n++)r.push({day:n,data:!ms(i,t,e,n)||null});return r})(r,i.text);return(0,D.jsxs)(cs,{children:[(0,D.jsx)(ls,{children:n[r-1]}),(0,D.jsx)(ss,{children:o.map((e,n)=>(0,D.jsxs)(os,{children:[(null==e?void 0:e.data)&&(0,D.jsx)(as,{href:`/${t}/${i.text}-${fs(r)}-${fs(e.day)}`,children:e.day}),e&&!e.data&&(0,D.jsx)(is,{children:e.day})]},n))})]})};ys.propTypes={archivePath:H.string.isRequired,monthNames:H.arrayOf(H.string).isRequired,month:H.number.isRequired,year:H.object.isRequired};const bs=ys,vs=(0,y.styled)(At).withConfig({componentId:"sc-17e0z8i-0"})(["margin:0 20px;"]),xs=(0,y.styled)(hs).withConfig({componentId:"sc-17e0z8i-1"})(["cursor:pointer;.",":not(:first-child) &{border-top:0;}"],Q.P5),ws=({archivePath:e,monthNames:t,years:n})=>{const r=new Date,i=r.getMonth()+1,o=r.getFullYear(),a=e=>e===o?i:12,s=n.map(n=>({trigger:(0,D.jsx)(ps,{children:(0,D.jsx)(xs,{href:`#${n.text}`,children:n.text},n.text)}),content:(0,D.jsx)(us,{children:(0,D.jsx)(ds,{children:[...Array(a(n.text)).keys()].map(e=>e+1).map(r=>(0,D.jsx)($.Fragment,{children:(0,D.jsx)(bs,{archivePath:e,month:r,monthNames:t,year:n})},`${n}-${r}`))})})}));return(0,D.jsx)(vs,{name:"archive",sections:s})};ws.propTypes={archivePath:H.string.isRequired,monthNames:H.arrayOf(H.string).isRequired,years:H.arrayOf(H.shape({text:H.number,link:H.string})).isRequired};const js=ws;var Os=n(33687),ks=n(1341),Ss=n(50432),Cs=n(35351);const Es=e=>{try{const t=(0,Ue.A)(e);if(t&&"email"in t){const{email:e}=t;return e}return null}catch{return null}},Ps=()=>{const[e,t]=(0,$.useState)(null),[n,r]=(0,$.useState)(null);return(0,$.useEffect)(()=>{const e=(0,Cs.Ri)(g.QO);if(!e)return void r("No JWT found");const n=Es(e);t(n)},[]),{userEmail:e,error:n}},Is=({messageBuilder:e,fallback:t})=>{const{userEmail:n,error:r}=Ps();if(r)return null;const i=n?e(n):t;return(0,D.jsx)(Ss.Ay,{variant:Ss.MQ,children:i})},Ms=Os.A.t("messageBanner.consentOrPay.base",{ns:ks.gC}),Ts=Os.A.t("messageBanner.consentOrPay.default",{ns:ks.gC}),As=()=>Is({messageBuilder:e=>(0,D.jsxs)(D.Fragment,{children:[Ms," ",Ts,(0,D.jsxs)("span",{className:Q.sN,children:[" to ",e,"."]})]}),fallback:Ms}),Ds=Os.A.t("messageBanner.upgrade",{ns:ks.gC}),Ns=()=>Is({messageBuilder:e=>(0,D.jsxs)(D.Fragment,{children:[Ds,(0,D.jsxs)("span",{className:Q.sN,children:[" to ",e,"."]})]}),fallback:"Success!"}),_s={[re.Yh]:(0,D.jsx)(As,{}),[re.g9]:(0,D.jsx)(Ns,{})},zs=e=>{if(!(e&&e instanceof URLSearchParams))return null;const t=Object.keys(_s).find(t=>e.has(t));if(!t)return null;const n=_s[t];return n||null};function Fs(){const[e,t]=(0,$.useState)(null);return(0,$.useEffect)(()=>{if(!window)return;const e=zs(new URLSearchParams(window.location.search));t(e)},[]),e}var $s=Object.defineProperty,Rs=(e,t)=>$s(e,"name",{value:t,configurable:!0});const Ls=y.styled.div.withConfig({componentId:"sc-spn2tu-0"})(["overflow:hidden;width:100%;transition:",";@media ","{display:none;}"],({theme:e})=>e.transition.dropdown,Xr.l),Bs=y.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,Xr.l,({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.color.canvas.base,({theme:e})=>e.dimension.subnav.itemMinWidth),Hs=y.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);font-family:",";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.fontFamily.secondaryFont,Xr.l),Ks=y.styled.a.withConfig({componentId:"sc-spn2tu-3"})(["display:block;padding:8px var(--mobile-link-padding-x);color:var(--color,",");font-size:16px;&: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.color.actionBase.alt,Xr.l,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt),qs=y.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,Xr.l,({theme:e})=>e.color.actionBrand.alt,Ls,Ks,({theme:e})=>e.color.actionBrand.base),Vs=y.styled.div.withConfig({componentId:"sc-spn2tu-5"})(["display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between;"]),Ws=(0,y.styled)(Qr.I).attrs({svg:Yr.D,size:Zr.a}).withConfig({componentId:"sc-spn2tu-6"})([""]),Us=y.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:",";font-family:",";font-size:16px;&:hover,&:active,&:focus{color:",";}@media ","{display:none;}","{transform:",";}"],({theme:e})=>e.dimension.subnav.height,({theme:e})=>e.color.actionBase.base,({theme:e})=>e.fontFamily.secondaryFont,({theme:e})=>e.color.actionBase.alt,Xr.l,Ws,({$isActive:e})=>e?"rotate(180deg)":"rotate(0deg)"),Gs=y.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:",";}"],Xr.l,Ws,({$isActive:e})=>e?"rotate(180deg)":"rotate(0deg)"),Js=y.styled.div.withConfig({componentId:"sc-spn2tu-9"})([""," @media ","{grid-template-rows:1fr;}"],hr.dN,Xr.l),Ys=y.styled.div.withConfig({componentId:"sc-spn2tu-10"})(["width:100%;"," @media ","{grid-template-rows:1fr;}"],hr.dN,Xr.l),Qs=y.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,Xr.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,Js,Xr.l,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.divider.light);y.styled.ul.withConfig({componentId:"sc-spn2tu-12"})(["padding:0;list-style:none;"]),y.styled.li.withConfig({componentId:"sc-spn2tu-13"})(["display:inline-flex;"]);const Zs=y.styled.a.withConfig({componentId:"sc-spn2tu-14"})(["display:block;padding:0 0 16px;color:",";font-size:16px;@media ","{overflow:hidden;width:","px;break-inside:avoid;text-overflow:ellipsis;white-space:nowrap;}&:hover,&:active,&:focus{color:",";}"],({theme:e})=>e.color.actionBase.base,Xr.l,({theme:e})=>e.dimension.subnav.itemMinWidth,({theme:e})=>e.color.actionBase.alt),Xs=Rs(({columns:e,isActive:t})=>e.map(({title:e,path:n,id:r})=>(0,D.jsx)(Zs,{href:n,tabIndex:t?0:-1,children:e},r)),"SubNavMenuColumns"),el=Rs(({title:e,children:t,path:n,id:r,primaryIndex:i,activeIndex:o,setActiveIndex:a,primaryListOpen:s,activeItemIndex:l})=>{const c=o===i,d=Rs(()=>{a(o===i?void 0:i)},"toggleSecondaryList");return(0,D.jsxs)(qs,{className:(0,q.c)(l===i?"is-active":""),children:[(0,D.jsxs)(Vs,{children:[(0,D.jsx)(Ks,{href:n,tabIndex:s?0:-1,children:e}),(0,D.jsx)(Gs,{onClick:d,className:"expand",role:"button","aria-controls":r,"aria-expanded":c,tabIndex:s?0:-1,$isActive:c,children:t&&(0,D.jsx)(Ws,{})})]}),t&&t.length>0&&(0,D.jsx)(Ys,{$isActive:c,children:(0,D.jsx)(Ls,{id:r,"aria-hidden":!c,children:(0,D.jsx)(Bs,{children:(0,D.jsx)(Xs,{primaryIndex:i,columns:t,isActive:c})})})})]})},"SubNavMenuItem"),tl=Rs(({className:e,menu:t,triggerText:n,id:r,activeItemIndex:i})=>{if(!t)return!1;const o=Array.isArray(t)?t:t.menu,[a,s]=(0,$.useState)(),[l,c]=(0,$.useState)(!1),d=Rs(()=>c(!l),"togglePrimaryList");return o&&(0,D.jsxs)(Qs,{className:(0,q.c)(e),children:[(0,D.jsxs)(Us,{onClick:d,className:"expand",role:"button",tabIndex:0,"aria-controls":r,"aria-expanded":l,$isActive:l,children:[n," ",(0,D.jsx)(Ws,{})]},"subnavMenuBtn"),(0,D.jsx)(Js,{$isActive:l,children:(0,D.jsx)(Hs,{"aria-hidden":!l,id:r,children:o.map(({title:e,children:t,path:n,id:r},o)=>(0,D.jsx)(el,{title:e,path:n,primaryIndex:o,activeIndex:a,setActiveIndex:s,id:r,primaryListOpen:l,activeItemIndex:i,children:t},r))})},"subnavMenuMenu")]})},"SubNavMenu");var nl=Object.defineProperty,rl=(e,t)=>nl(e,"name",{value:t,configurable:!0});const il=y.styled.div.withConfig({componentId:"sc-1ioan8g-0"})(["position:absolute;z-index:",";cursor:move;"],({$zIndex:e})=>e),ol={x:0,y:0},al=rl(({className:e,children:t,initialPosition:n=ol,zIndex:r=li.z.bestSubNavMenu})=>{const i=(0,$.useRef)(null),[o,a]=(0,$.useState)(n),[s,l]=(0,$.useState)(!1),[c,d]=(0,$.useState)(ol),u=(0,$.useCallback)(e=>{l(!0),d({x:e.clientX-o.x,y:e.clientY-o.y})},[o]),p=(0,$.useCallback)(e=>{s&&a({x:e.clientX-c.x,y:e.clientY-c.y})},[s,c]),h=(0,$.useCallback)(()=>{l(!1)},[]);return(0,$.useEffect)(()=>{if(i.current){const e=i.current.offsetWidth,t=(window.innerWidth-e)/2;a({x:t,y:10})}},[]),(0,D.jsx)(il,{className:e,ref:i,onMouseDown:u,onMouseMove:p,onMouseUp:h,onMouseLeave:h,style:{left:o.x,top:o.y},$zIndex:r,children:t})},"Draggable"),sl=y.styled.div.withConfig({componentId:"sc-867hmx-0"})(["padding:5px;background:rgba(255,245,156,0.8);font-family:",";font-size:12px;"],e=>e.theme.fontFamily.secondaryFont),ll=y.styled.dl.withConfig({componentId:"sc-867hmx-1"})(["margin:0;color:",";"],({theme:e})=>e.color.ink.base),cl=y.styled.div.withConfig({componentId:"sc-867hmx-2"})(["display:flex;padding:2px 5px;& + &{border-top:1px solid ",";}"],({theme:e})=>e.color.ink.base),dl=y.styled.dt.withConfig({componentId:"sc-867hmx-3"})(["&::after{content:':';margin-inline-end:1ex;}"]),ul=y.styled.dd.withConfig({componentId:"sc-867hmx-4"})(["margin:0;"]),pl=({subscriberOrigin:e,locale:t,featureFlags:n,feed:r,className:i})=>(0,D.jsx)(al,{className:i,initialPosition:{x:800,y:10},children:(0,D.jsx)(sl,{children:(0,D.jsxs)(ll,{children:[(0,D.jsxs)(cl,{children:[(0,D.jsx)(dl,{children:"Feed"}),(0,D.jsx)(ul,{dangerouslySetInnerHTML:{__html:r}})]}),(0,D.jsxs)(cl,{children:[(0,D.jsx)(dl,{children:"Subscriber origin"}),(0,D.jsx)(ul,{dangerouslySetInnerHTML:{__html:e}})]}),(0,D.jsxs)(cl,{children:[(0,D.jsx)(dl,{children:"Locale"}),(0,D.jsx)(ul,{dangerouslySetInnerHTML:{__html:t}})]}),(0,D.jsxs)(cl,{children:[(0,D.jsx)(dl,{children:"Feature flags"}),(0,D.jsx)(ll,{children:n.map((e,t)=>(0,D.jsx)(cl,{children:(0,D.jsx)(ul,{dangerouslySetInnerHTML:{__html:e}})},t))})]})]})})});var hl=n(81948),ml=n(1540);function gl(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===ne.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(ne.Ux)||t||e},getServerSnapshot:function(){return e},setColorMode:function(e){const t=document.documentElement;localStorage.setItem(ne.Ux,e),t.style.backgroundColor="",t.dataset.colorMode=e}}}const fl=function(e=null){const{subscribe:t,getSnapshot:n,getServerSnapshot:r,setColorMode:i}=gl(e);return[(0,$.useSyncExternalStore)(t,n,r),i]},yl=["className","icon","label","onClick"];function bl(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 vl(e){for(var t=1;txl(e,"name",{value:t,configurable:!0});const jl=y.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,Xr.t),Ol=y.styled.span.withConfig({componentId:"sc-w2z27o-1"})(["display:block;width:","px;height:","px;"],Zr.c,Zr.c),kl=y.styled.span.withConfig({componentId:"sc-w2z27o-2"})(["",""],({theme:e})=>e.textStyle.masthead.button),Sl=wl(e=>{let{className:t,icon:n,label:r,onClick:i}=e,o=(0,mt.A)(e,yl);return(0,D.jsxs)(jl,vl(vl({},o),{},{className:t,onClick:i,children:[(0,D.jsx)(kl,{children:r}),(0,D.jsx)(Ol,{children:n})]}))},"MastheadButton"),Cl=y.styled.div.withConfig({componentId:"sc-1nadjt5-0"})(["display:flex;position:relative;height:100%;align-items:center;justify-content:center;"]),El=(0,y.styled)(Sl).withConfig({componentId:"sc-1nadjt5-1"})(["position:absolute;z-index:0;inset:0;opacity:0;transition:opacity ",";"],({theme:e})=>e.transition.base),Pl=(0,y.styled)(El).withConfig({componentId:"sc-1nadjt5-2"})(["",""],({$isVisible:e})=>e?(0,y.css)(["z-index:1;opacity:1;transition-delay:",";"],({theme:e})=>e.transition.duration):""),Il=(0,y.styled)(Pl).withConfig({componentId:"sc-1nadjt5-3"})(["html[data-color-mode='","'] &{z-index:1;opacity:1;}"],({$colorMode:e})=>e),Ml={light:kn.nO,dark:kn.cl},Tl=({className:e,modes:t,onClick:n=()=>{}})=>{const[r,i]=fl(null);return(0,D.jsx)(Cl,{className:e,children:t.map(({id:e,name:o},a)=>{var s;const l=a+1,{id:c}=null!==(s=t[l])&&void 0!==s?s:t[0];return(0,D.jsx)(Il,{icon:(0,D.jsx)(v.Ay,{svg:Ml[e],size:"small"}),label:o,onClick:()=>{i(c),n(c)},"data-color-mode-toggle":e,$isVisible:r===e,$colorMode:e},e)})})};var Al=n(27835);const Dl="dark",Nl=y.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 _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 zl(e){for(var t=1;t(0,D.jsx)(Fl,{children:(0,D.jsx)(Tl,zl(zl({},e),{},{onClick:e=>{const t=(e=>{var t;return null!==(t={[Al.zx]:"Light mode",[Dl]:"Dark mode"}[e])&&void 0!==t?t:"Light mode"})(e);(0,Ti.dispatchColorModeToggleClick)({colorMode:t})}}))}),Rl="bookingSdkLoaded",Ll="bookingAffiliateWidget_c183b128-760f-4477-aa85-f28918299745",Bl="bookingAffiliateWidget_235338b7-89f3-4a27-83d5-5cf756bc81ea",Hl=y.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),Kl=({id:e,ss:t,latitude:n,longitude:r,zoom:i})=>{"string"==typeof e&&e.trim()?(0,$.useEffect)(()=>{let o=!1;const a=()=>{var o;(null===(o=window.Booking)||void 0===o?void 0:o.AffiliateWidget)&&new window.Booking.AffiliateWidget({iframeSettings:{selector:e,responsive:!0},widgetSettings:Object.fromEntries(Object.entries({ss:t,latitude:n,longitude:r,zoom:i}).filter(([e,t])=>null!=t))})};if(window.Booking)return void a();const s=()=>a();return o||(document.body.addEventListener(Rl,s),o=!0),()=>{o&&document.body.removeEventListener(Rl,s)}},[e,t,n,r,i]):(0,ro.warn)('useBookingSearchWidget: "id" must be a non-empty string')},ql=(0,y.styled)(Hl).withConfig({componentId:"sc-1w0gucx-0"})(["height:335px;"]),Vl=e=>(Kl({id:Bl}),(0,D.jsx)(ql,{children:(0,D.jsx)("div",{id:Bl})})),Wl=(0,y.css)(["min-height:480px;@media ","{min-height:721px;}@media ","{min-height:712px;}"],x.n5,x.BY),Ul=(0,y.css)(["#"," &{min-height:482px;@media ","{min-height:802px;}@media ","{min-height:950px;}}"],Z.Au,x.n5,x.BY),Gl=(0,y.styled)(Hl).withConfig({componentId:"sc-q2xe7f-0"})([""," ",""],Wl,Ul),Jl=({ss:e,latitude:t,longitude:n,zoom:r})=>(Kl({id:Ll,ss:e,latitude:t,longitude:n,zoom:r}),(0,D.jsx)(Gl,{children:(0,D.jsx)("div",{id:Ll})}));var Yl=n(55161),Ql=n(97982);(0,y.styled)(Ql.Y9).withConfig({componentId:"sc-1eo7cbc-0"})(["background:url(",");","{max-width:1440px;height:100%;max-height:207px;}"],"https://static.independent.co.uk/static-assets/images/selling-page/subscribe-newsletter/football_newsletter_background.png",Ql.BN);const Zl=y.styled.h3.withConfig({componentId:"sc-1eo7cbc-1"})(["display:flex;flex-wrap:nowrap;gap:","px;margin-bottom:","px;color:",";font:",";"],({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingNewsletter.title),Xl=(0,y.styled)(v.Ay).attrs({svg:kn.g9}).withConfig({componentId:"sc-1eo7cbc-2"})([""]),ec=(0,y.styled)($i.A).withConfig({componentId:"sc-1eo7cbc-3"})(["padding:0 0 ","px;background-color:",";","{margin-right:","px;}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.base,$i.e,({theme:e})=>e.spacing.x1),tc=()=>(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(Zl,{children:[(0,D.jsx)("span",{"aria-hidden":!0,children:(0,D.jsx)(Xl,{})}),"FAQ"]}),(0,D.jsx)(ec,{name:"football-newsletter",faqs:Yl.XV,initialOpenState:!1})]});var nc=n(18101);const rc=()=>{document.addEventListener("keydown",e=>{"Escape"===e.key&&(0,i.J)({type:"escape_key_press"})}),(0,nc.A)(r,i.T)};rc()},83236:(e,t,n)=>{"use strict";n.d(t,{B:()=>$,a:()=>x,b:()=>w,d:()=>O,e:()=>k,g:()=>S,h:()=>I,i:()=>E,j:()=>P,t:()=>L});var r=n(82075),i=n(48821),o=n(86106),a=n(64543),s=n(71707),l=n(76941),c=n(7378),d=n(9976),u=n(16708),p=n(90632),h=n(62892);const m=["forwardedAs","variant","size","id","className","disabled","children","icon","role","title","tabIndex"],g=["theme"];function f(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;tb(e,"name",{value:t,configurable:!0});const x="button",w="a",j="small",O="large",k="button",S="submit",C="primary",E="secondary",P="tertiary",I="primary-uncap",M=(0,a.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.base),T=(0,a.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),A=(0,a.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),D=(0,a.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),N=(0,a.css)([""," "," text-transform:none;@media ","{",";}"],T,({theme:e})=>e.textStyle.button.large,h.t,({theme:e})=>e.textStyle.button.xLarge),_=v(({$variant:e})=>{switch(e){case C:return T;case E:return A;case P:return D;case I:return N;default:return T}},"variantStyles"),z=a.styled.button.withConfig({componentId:"sc-1aus1tj-0"})([""," ",""],M,_),F=(0,a.styled)(u.I).attrs({size:p.b,svg:d.B}).withConfig({componentId:"sc-1aus1tj-1"})(["flex-grow:0;flex-shrink:0;"]),$=(0,c.forwardRef)(v(function(e,t){let{forwardedAs:n,variant:r=C,size:a=j,id:s,className:c,disabled:d=!1,children:u,icon:p,role:h,title:g,tabIndex:f}=e,b=(0,i.A)(e,m);const v=b.as===w&&b.isExternal,x=(()=>{if(b.as===w){const{href:e,target:t,rel:n,onClick:r,onKeyDown:i,as:o}=b;return{href:e,target:t,rel:n,onClick:r,onKeyDown:i,as:o}}const{name:e,value:t,type:n,onClick:r,onKeyDown:i,as:o}=b;return{name:e,value:t,type:n,onClick:r,onKeyDown:i,as:o}})(),O=Object.fromEntries(Object.entries(b).filter(([e])=>/^aria-|data-/.test(e)));return(0,o.jsxs)(z,y(y(y({forwardedAs:n,$variant:r,$size:a,id:s,className:(0,l.c)(c,{"is-disabled":d&&(b.as===w||n===w)}),ref:t,role:h,title:g,tabIndex:f,disabled:d},x),O),{},{children:[u,p||v&&(0,o.jsx)(F,{})]}))},"Button2")),R=v(e=>{let{theme:t}=e,n=(0,i.A)(e,g);return(0,o.jsx)(a.ThemeProvider,{theme:t,children:(0,o.jsx)($,y({},n))})},"Themed"),L=Object.entries(s.t).reduce((e,[t,n])=>(e[t]=e=>(0,o.jsx)(R,y({theme:n},e)),e),{})},83239:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(86371);class i{constructor(e,t="/"){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,r.Ck)(e);localStorage.setItem(this.key,t)}storeCurrentURL(){const e=(0,r.bp)();localStorage.setItem(this.key,e)}clear(){localStorage.removeItem(this.key)}}},83986:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(23108),i=n(64543),o=n(55480),a=n(49196),s=n(88107),l=n(34616),c=n(77079),d=n(86106);const u=a.Ay.default||a.Ay,p=(0,i.styled)(u).attrs({svg:c.A}).withConfig({componentId:"sc-bok258-0"})(["color:",";transform:rotate(90deg);transition:transform 0.2s;"],e=>e.theme.color.ink.invert),h=i.styled.a.withConfig({componentId:"sc-bok258-1"})(["display:flex;height:44px;align-items:center;padding-left:7px;border-left:3px solid ",";background:",";color:",";font-family:",";font-size:14px;font-weight:bold;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,e=>e.theme.fontFamily.secondaryFont,e=>e.theme.color.primary.base,e=>e.theme.color.ink.base),m=i.styled.ul.withConfig({componentId:"sc-bok258-2"})(["padding:0;margin:0;"]),g=i.styled.li.withConfig({componentId:"sc-bok258-3"})(["border-bottom:1px solid ",";list-style-type:none;"],e=>e.theme.color.divider.light),f=(0,i.styled)(o.cn).withConfig({componentId:"sc-bok258-4"})(["position:absolute;left:0;@media ","{display:none;}"],l.n5),y=i.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),b=({links:e})=>(0,d.jsx)(f,{closeOnChildClick:!0,id:"premium-menu-dropdown",trigger:(0,d.jsx)(y,{children:(0,d.jsx)(p,{})}),children:(0,d.jsx)(m,{className:s.he,children:e.map((e,t)=>(0,d.jsx)(g,{children:(0,d.jsx)(h,{href:`#${e.toLowerCase()}`,"data-tab":e.toLowerCase(),children:e})},`premium-link-${t}`))})});b.propTypes={links:r.arrayOf(r.string).isRequired};const v=b},84009:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],d=0;(l=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},84229:(e,t,n)=>{"use strict";n.d(t,{$v:()=>A,As:()=>g,G1:()=>m,cd:()=>f});var r=n(48821),i=n(82075),o=n(7378),a=n(5286),s=n(33375),l=(n(76710),n(18894));const c=["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,a.u)(u({mode:"onTouched",resolver:(0,s.r)(e)},t)),{formState:r,getValues:i,setError:l}=n;(0,o.useEffect)(()=>{const t=e.fields,n=Object.keys(i()),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`)},[i,e.fields]);const c=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],i=r.dirtyFields[e]&&!n;return n||t?a.I.ERROR:i?a.I.SUCCESS:a.I.DEFAULT},"getTextInputState");return{registerControlledInput:h((t,n)=>{var r;const i=(null==(r=e.get(t))?void 0:r.isRequired)||!1,o=c(t);return{id:t,name:n||t,state:d(t),message:o,required:i,"aria-required":i,"aria-invalid":"error"===o,"aria-describedby":`${(0,s.e)(t)} ${(0,s.h)(t)}`}},"registerControlledInput"),methods:u(u({},n),{},{setFormError:h(e=>{l("root",{message:e})},"setFormError"),setFieldError:h((e,t)=>{l(e,{message:t},{shouldFocus:!0})},"setFieldError"),getFormError:h(()=>c("root"),"getFormError"),getFieldErrors:h(()=>e.fields.map(c).filter(Boolean),"getFieldErrors"),getFieldValidationHints:h(t=>e.validationHints[t],"getFieldValidationHints"),setError:l}),formState:u(u({},r),{},{errors:r.errors})}},"useIndyForm");var g=(e=>(e.SWIPE="swipe",e.DRAG="drag",e))(g||{}),f=(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))(f||{});const y=[{name:"right",angle:0},{name:"down",angle:90},{name:"left",angle:180},{name:"up",angle:270}],b={delta:0,progress:0},v={left:b,right:b,up:b,down:b},x={angle:0,committedAxis:null,committedDirection:null,data:v},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=>y.reduce((t,n)=>Math.abs(e-n.angle){const r=t.x-e.x,i=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&&i<0?Math.abs(i):0,down:"down"===n&&i>0?Math.abs(i):0}},"calculateDeltaEachDirection"),S=h((e,t)=>(0,l.c)(0,t,e)/t,"calculateProgression"),C=h((e,t)=>{const n=e.touches[0];if(!n)return null;const{clientX:r,clientY:i}=n,o=w(t,{x:r,y:i}),a=O(o),s=k(t,{x:r,y:i},a);return{angle:o,direction:a,axis:j(a),deltas:s}},"getSwipeData"),E=h((e,t)=>{var n,r;const{committedDirection:i,data:o,angle:a}=e,{delta:s}=i?o[i]:b;if(!i)return f.HARD_CANCELLED;const{minSwipeThreshold:l,angleOffsetThreshold:c,minDragThreshold:d}=t,u=null!==(n=null==(r=y.find(e=>e.name===i))?void 0:r.angle)&&void 0!==n?n:0,p=Math.abs(a-u),h=Math.min(p,360-p)=d;return h?h&&s>=l?t.type!==g.DRAG||m?f.COMMITTED:f.DRAGGING:f.SOFT_CANCELLED:f.HARD_CANCELLED},"getInProgressGestureState"),P=h((e,t,n)=>{const r=(null==e?void 0:e.committedDirection)||null;if(!r)return v;const{deltas:i}=t,o=i[r]||0,a=S(o,n);return u(u({},v),{},{[r]:{delta:o,progress:a}})},"getGestureDirectionData"),I=h((e,t,n)=>{const r=n.type===g.DRAG?n.minDragThreshold:n.minSwipeThreshold;if(n.disabled||!t)return{validatedState:f.HARD_CANCELLED,validatedGesture:x};const i=e?u(u({},e),{},{angle:t.angle}):{committedDirection:t.direction,committedAxis:t.axis,data:v,angle:t.angle},o=u(u({},i),{},{data:P(i,t,r)}),a=E(o,n);return{validatedState:a,validatedGesture:a===f.HARD_CANCELLED?x:o}},"getValidatedGesture"),M=h(e=>{const t=(0,o.useRef)(null),n=(0,o.useRef)(e),r=(0,o.useRef)(null);(0,o.useEffect)(()=>{n.current=e},[e]);const i=(0,o.useCallback)((...e)=>{r.current=e,t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{r.current&&n.current(...r.current)})},[]);return(0,o.useEffect)(()=>()=>{t.current&&cancelAnimationFrame(t.current)},[]),i},"useAnimationFrame"),T=h(({swipeThreshold:e=60,dragThreshold:t=120,angleThreshold:n=15,type:r=g.SWIPE,ignoreClass:i="",disabled:a=!1})=>{const[s,l]=(0,o.useState)(f.NONE),[c,d]=(0,o.useState)(null),[u,p]=(0,o.useState)(null),m=(0,o.useCallback)(()=>{d(null),l(f.NONE),p(null)},[]),y=(0,o.useCallback)(e=>{if(s===f.COMPLETED)return;if(a)return void m();const t=null==e?void 0:e.touches[0],n=null==e?void 0:e.target;i&&null!=n&&n.closest(`.${i}`)||!t||(d({x:t.clientX,y:t.clientY}),l(f.STARTED))},[i,a,m,s]),b=h(i=>{if(!c)return void y(i);if(s===f.COMPLETED)return;if(a||!i||!c||[f.NONE,f.HARD_CANCELLED].includes(s))return void m();const o=C(i,c),{validatedState:d,validatedGesture:h}=I(u,o,{minSwipeThreshold:e,angleOffsetThreshold:n,minDragThreshold:t,type:r,disabled:a});l(d),p(h)},"onTouchMoveImpl"),v=(0,o.useCallback)(()=>{if(s!==f.COMPLETED){if(a&&!c)return void m();s===f.COMMITTED?l(f.COMPLETED):m()}},[s,a,c,m]),x=(0,o.useCallback)(()=>{a?m():(l(f.HARD_CANCELLED),p(null),d(null))},[a,m]);return(0,o.useEffect)(()=>{if(a)return void m();const e=h(e=>{e.persisted&&m()},"handlePageReveal");return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[a,m]),{handlers:{onTouchMove:M(b),onTouchEnd:M(v),onTouchCancel:M(x)},gesture:a?null:u,state:a?f.NONE:s,reset:m}},"useSwipeZone"),A=h((e,t)=>{const n=T(t),{handlers:i}=n,a=(0,r.A)(n,c),s=(0,o.useRef)(null),{onTouchMove:l,onTouchEnd:d,onTouchCancel:p}=i,m=(0,o.useRef)(l),g=(0,o.useRef)(d),f=(0,o.useRef)(p);return(0,o.useEffect)(()=>{m.current=l},[l]),(0,o.useEffect)(()=>{g.current=d},[d]),(0,o.useEffect)(()=>{f.current=p},[p]),(0,o.useEffect)(()=>{if(s.current=document.getElementById(e),!s.current)return void console.warn("useExternalSwipeZone: Swipe zone not found");const t=h(e=>{m.current(e)},"onTouchMoveListener"),n=h(()=>{g.current()},"onTouchEndListener"),r=h(()=>{f.current()},"onTouchCancelListener");return s.current.addEventListener("touchmove",t,{passive:!0}),s.current.addEventListener("touchend",n,{passive:!0}),s.current.addEventListener("touchcancel",r,{passive:!0}),()=>{var e,i,o;null==(e=s.current)||e.removeEventListener("touchmove",t),null==(i=s.current)||i.removeEventListener("touchend",n),null==(o=s.current)||o.removeEventListener("touchcancel",r)}},[e]),u({handlers:i},a)},"useExternalSwipeZone")},84449:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r=e=>{location.href=e}},85870:(e,t,n)=>{"use strict";n.d(t,{B3:()=>l,Ci:()=>c,IC:()=>r,NX:()=>i,RS:()=>a,rN:()=>d,w9:()=>s,xv:()=>o});const r="/service/user-policies-a6184151.html",i="/service/terms-and-conditions-subscriptions-a7357841.html",o="/service/cookie-policy-a6184186.html",a="/service/privacy-policy-a6184181.html",s="customerservices@independent.co.uk",l="https://help.independent.co.uk/hc/en-us",c=`mailto:${s}`,d="https://help.independent.co.uk/hc/en-us/requests/new"},86371:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>o,_c:()=>i,bp:()=>a});var r=n(86371);const i=(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}`},o=(e,t)=>{const n=new URL(e,window.location.origin);return r._c(n,t)},a=()=>{const e=window.location.pathname,t=new URLSearchParams(window.location.search);return r.Ck(e,t)}},86397:(e,t,n)=>{"use strict";n.d(t,{O3:()=>s,aT:()=>a});var r=n(60824),i=n.n(r),o=n(37265);const a=(e,t=[],n=" ")=>{const r=i()(e,t,n);return t.length>0?r.replace(o.D4,e=>e.trim()).replace(o.pT," ").trim():r.replace(o.pT," ").trim()},s=(...e)=>{const t=new RegExp(/\s{2,}/g);return[...e].filter(e=>null!=e).join(" ").replace(t," ").trim()}},86885:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(82075),i=n(48821),o=n(86106),a=n(13470);const s=["children","size","isExpanded"];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 c(e){for(var t=1;td(e,"name",{value:t,configurable:!0}))(e=>{let{children:t,size:n="base",isExpanded:r=!1}=e,l=(0,i.A)(e,s);return(0,o.jsx)(a.W,c(c({},l),{},{$size:n,$variant:r?"expanded":"base",children:t}))},"Tag")},87138:(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(" ")},88660:(e,t,n)=>{"use strict";n.d(t,{A:()=>Q});var r=n(7378),i=n(64543),o=n(23745),a=n(49569),s=n(49196),l=n(7240),c=n(34616),d=n(15081),u=n(71945),p=n(82075),h=n(88107),m=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 f(e){for(var t=1;te.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),b=(0,i.styled)(s.Ay).attrs({size:s.Kk}).withConfig({componentId:"sc-9ieth3-1"})(["color:",";&:hover{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt),v=i.styled.nav.withConfig({componentId:"sc-9ieth3-2"})(["display:flex;position:absolute;top:0;width:100%;height:100%;align-items:center;justify-content:space-between;"]),x=i.styled.div.withConfig({componentId:"sc-9ieth3-3"})(["display:flex;"]),w=i.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,h.v4,c.BY),j=(0,i.styled)(w).withConfig({componentId:"sc-9ieth3-5"})([""]),O=i.styled.div.withConfig({componentId:"sc-9ieth3-6"})(["display:flex;position:relative;z-index:1;height:100%;"]),k=i.styled.div.withConfig({componentId:"sc-9ieth3-7"})(["overflow:hidden;height:100%;"]),S=({autoPlayInterval:e,children:t,customScrollAmount:n,loop:i=!1,ParentButtonNext:a,ParentButtonPrev:s,parentIndex:l=0,touchSensitivity:c=75,transitionTime:d=300,setParentIndex:u})=>{const p=`transform ${d}ms ease-out`,g=(0,r.useRef)(),S=(0,r.useRef)(),C=(0,r.useRef)(null),[E,P]=(0,r.useState)(l),[I,M]=(0,r.useState)(p),[T,A]=(0,r.useState)(0),[D,N]=(0,r.useState)(0),[_,z]=(0,r.useState)(0),[F,$]=(0,r.useState)(0),R=a||(e=>(0,m.jsx)(w,f(f({},e),{},{children:(0,m.jsx)(y,{svg:o.wE})}))),L=s||(e=>(0,m.jsx)(j,f(f({},e),{},{children:(0,m.jsx)(b,{svg:o.$m})}))),B=()=>P(E-1),H=()=>P(E+1),K=(0,r.useCallback)(()=>P(E+1),[E]);g.current=B,S.current=H;return(0,r.useEffect)(()=>{const e=e=>{"ArrowLeft"===e.key&&g.current&&g.current(),"ArrowRight"===e.key&&S.current&&S.current()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),(0,r.useEffect)(()=>{const e=C.current?C.current.offsetWidth:0;A(()=>n?-E*n-F:-E*e-F),-1===E?setTimeout(()=>{M("none"),P(t.length-1),u&&u(t.length-1)},d):E===t.length?setTimeout(()=>{M("none"),P(0),u&&u(0)},d):setTimeout(()=>{M(p),u&&u(E)},d)},[t,E,n,u,p,d,F]),(0,r.useEffect)(()=>{const e=()=>{const e=C.current?C.current.offsetWidth:0;$(e*t.length)};window.addEventListener("resize",e),e()},[t]),(0,r.useEffect)(()=>{P(l)},[l]),(0,r.useEffect)(()=>{if(e){const t=setInterval(()=>{K()},1e3*e);return()=>clearInterval(t)}},[e,K]),(0,m.jsxs)(k,{className:h.Op,"data-index":E,onTouchStart:e=>(e=>{N(e.targetTouches[0].clientX)})(e),onTouchMove:e=>(e=>{z(e.targetTouches[0].clientX)})(e),onTouchEnd:()=>{0!==D&&0!==_&&(D-_>c&&H(),D-_<-c&&B()),N(0),z(0)},ref:C,children:[(0,m.jsxs)(O,{style:{transform:`translateX(${T}px)`,transition:I,width:3*F},children:[(0,m.jsx)(x,{style:{width:F},children:t}),(0,m.jsx)(x,{style:{width:F},children:t}),i&&(0,m.jsx)(x,{style:{width:F},children:t})]}),(0,m.jsxs)(v,{children:[(i||E>0)&&(0,m.jsx)(L,{onClick:B,title:"Previous item in carousel","aria-label":"Navigate to previous item"}),(i||Ee.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,c.n5,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x2),T=i.styled.p.withConfig({componentId:"sc-1go3nhn-1"})(["margin:0;font:italic 16px/48px ",";@media ","{padding-top:","px;line-height:16px;}"],({theme:e})=>e.fontFamily.secondaryFont,c.BY,({theme:e})=>e.spacing.x2),A=i.styled.div.withConfig({componentId:"sc-1go3nhn-2"})(["margin:0 0 27px 0;font:16px ",";@media ","{margin-bottom:","px;}p{font:16px ",";}"],({theme:e})=>e.fontFamily.secondaryFont,c.BY,({theme:e})=>e.spacing.x2,({theme:e})=>e.fontFamily.secondaryFont),D=i.styled.h3.withConfig({componentId:"sc-1go3nhn-3"})(["margin:0 0 10px;font:normal 16px ",";@media ","{display:none;}"],({theme:e})=>e.fontFamily.secondaryFont,c.BY),N=i.styled.header.withConfig({componentId:"sc-1go3nhn-4"})(["margin-bottom:","px;"],({theme:e})=>e.spacing.x1_5),_=i.styled.div.withConfig({componentId:"sc-1go3nhn-5"})(["height:100%;flex-grow:1;img{object-fit:contain;}"]),z=i.styled.h4.withConfig({componentId:"sc-1go3nhn-6"})(["display:inline;font:24px/28px ",";"],({theme:e})=>e.fontFamily.primaryFont),F=i.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:i})=>{var o;if(null==n||!n.url)return null;const{caption:a,copyright:s,extra:l,localCaption:c,height:d,title:u,url:p,width:h}=n,g=null===(o=c||a)||void 0===o?void 0:o.replace(/\s{2,}/g," "),f="data:"===p.slice(0,5),y=i&&null!=l&&l.sizes&&!Array.isArray(l.sizes)?(0,C.vu)(l.sizes,i):void 0,b=i===P.m.FREEFORM?void 0:i,v=f?void 0:(0,C.Ly)(p,I,b,!0,y).join(", ");return(0,m.jsxs)(F,{children:[(0,m.jsx)(_,{children:(0,m.jsx)(E.A,{alt:g||u,height:d||0,layout:"fill",src:p,srcset:v,width:h||0})}),t&&(0,m.jsxs)(M,{children:[(0,m.jsxs)(N,{children:[(0,m.jsx)(D,{children:r}),u&&!e&&(0,m.jsx)(z,{children:u})]}),(0,m.jsx)(A,{dangerouslySetInnerHTML:{__html:g||""}}),(0,m.jsx)(T,{children:s})]})]})},R=({adUnitPath:e,name:t,size:n})=>(0,m.jsx)("div",{"data-mpu":"true","data-is-video":"false","data-tile-name":t,"data-ad-unit-path":e,"data-size-key":n}),L=`#${d.t5}`,B=(0,i.styled)(s.Ay).attrs({size:s.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=i.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.galleryOverlay.count),K=i.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,c.BY,c.$r,c.V),q=i.styled.header.withConfig({componentId:"sc-1j0gkas-3"})(["position:absolute;right:0;z-index:10;width:100%;height:50px;@media ","{width:316px;height:100%;background:",";}"],c.BY,({theme:e})=>e.color.canvas.base),V=i.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.galleryOverlay.title),W=i.styled.aside.withConfig({componentId:"sc-1j0gkas-5"})(["z-index:2147483642;"]),U=(0,i.styled)(s.Ay).attrs({size:s.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),G=i.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;}"],c.$r),J=i.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;}"],c.$r,c.V),Y=i.styled.span.withConfig({componentId:"sc-1j0gkas-9"})(["display:none;@media ","{display:block;}"],c.BY),Q=({adUnitPath:e,autoGallery:t,disableAds:n,gallery:i,galleryIndex:s=0,galleryOpen:c,id:d,isImage:p,returnFocus:h=L,title:g,toggleGalleryOpen:f})=>{const[y,b]=(0,r.useState)(s),[v,x]=(0,r.useState)(!0),w=i?i.filter(Boolean).map(e=>({type:"image",item:e})):[];return(0,r.useEffect)(()=>{b(s)},[s]),(0,m.jsx)(a.A,{children:(0,m.jsx)(W,{className:u.Gc,children:(0,m.jsx)(l.aF,{className:"gallery-overlay",id:d,isHidden:!c,onBackgroundClick:f,returnFocus:h,children:(0,m.jsxs)("div",{children:[(0,m.jsxs)(q,{children:[(0,m.jsxs)(V,{children:[(0,m.jsxs)(H,{children:[(0,m.jsx)("span",{children:y+1}),"/",i.length]}),(0,m.jsx)(Y,{children:g})]}),(0,m.jsx)("button",{onClick:f,"aria-label":"Close Gallery",children:(0,m.jsx)(B,{svg:o.a})})]}),(0,m.jsxs)(K,{className:"gallery-carousel",children:[(0,m.jsx)(S,{loop:!0,parentIndex:s,setParentIndex:e=>b(e),children:w.map(({item:e},n)=>{var r;const i=0===n;return(0,m.jsx)($,{autoGallery:t,data:e.data,isCaptionVisible:v,title:g,crop:i&&p?P.m.HERO:null===(r=e.data.crop)||void 0===r?void 0:r.name},e.data.mid)})}),(0,m.jsx)("button",{onClick:()=>{x(!v)},"aria-label":"Toggle Caption Visibility",children:(0,m.jsx)(U,{svg:o.m3})})]}),!n&&(0,m.jsx)(G,{children:(0,m.jsx)(R,{adUnitPath:e,name:"gallery",size:"GALLERY"})}),!n&&(0,m.jsx)(J,{children:(0,m.jsx)(R,{adUnitPath:e,name:"gallery_banner",size:"MOBILE_FOOTER"})})]})})})})}},88716:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89408:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=Object.defineProperty;const i=((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")},89834:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(82075),i=n(86106),o=n(64543),a=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}var l=Object.defineProperty,c=(e,t)=>l(e,"name",{value:t,configurable:!0});const d=c(e=>a.createElement("svg",function(e){for(var t=1;te.dimension.loadingEllipsis.height,u,({theme:e})=>e.color.ink.base),h=c(()=>(0,i.jsx)(p,{"data-testid":"loading-ellipsis"}),"LoadingEllipsis")},90528:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(40015),i=n.n(r),o=(n(20239),n(3950),n(59224));const a=(e,t=0,n=!1)=>{const r=n&&t%1==0?0:2,a={style:"currency",currency:e,minimumFractionDigits:r,maximumFractionDigits:r};switch(e){case o.tX:return new(i().NumberFormat)("en-GB",a).format(t);case o.tL:return new(i().NumberFormat)("en-US",a).format(t);case o.bz:return new(i().NumberFormat)("en-GB",a).format(t);default:return(new(i().NumberFormat)).format(t)}}},90740:(e,t,n)=>{var r=n(12746),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},91428:(e,t,n)=>{"use strict";n.d(t,{e:()=>E,A:()=>_});var r=n(86106),i=n(76941),o=n(89408),a=n(82075),s=n(48821),l=n(7378),c=n(64543),d=n(18087);const u=["children","className","keepOpen","onInteract","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 f="accordion-wrapper",y=c.styled.div.withConfig({componentId:"sc-bgh9ft-0"})([""]),b=g(e=>{let{children:t,className:n,keepOpen:o,onInteract:a,isOpen:c}=e,p=(0,s.A)(e,u);const[m,f]=(0,l.useState)(c),y=g(()=>{o?f(e=>!e):null==a||a()},"onInteractHandler");return(0,r.jsx)(d.D,h(h({className:(0,i.c)("drawer-menu-section",n),onInteract:y,isOpen:o?m:c},p),{},{children:t}))},"AccordionSection"),v=g(({name:e,className:t,sections:n,initialOpenIndex:o=null,initialOpenState:a=!1,keepOpen:s})=>{const[c,d]=(0,l.useState)(o),u=(0,l.useCallback)(e=>d(c===e?null:e),[c]),p=(0,l.useMemo)(()=>n.map(({content:t,trigger:n,id:i},o)=>(0,r.jsx)(b,{id:i,isOpen:a||c===o,onInteract:()=>u(o),trigger:n,keepOpen:s,children:t},`accordion-section-${e}-${i}`)),[n,c,u,e,s,a]);return(0,r.jsx)(y,{className:(0,i.c)(f,t),children:p})},"Accordion");var x=n(9976),w=n(16708),j=n(90632),O=n(62892),k=(n(96120),n(75829),n(50082),n(14847),Object.defineProperty),S=(e,t)=>k(e,"name",{value:t,configurable:!0});const C="dropdown-trigger",E=c.styled.span.withConfig({componentId:"sc-5qw2tu-0"})(["margin-right:","px;display:inline-block;padding:5px 6px;border-radius:50% 50% 0 50%;background-color:",";color:",";",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.base,({theme:e})=>e.color.canvas.base,({theme:e})=>e.textStyle.faqs.drop),P=c.styled.h2.withConfig({componentId:"sc-5qw2tu-1"})(["margin:0 ","px 0 0;",";&::first-letter{text-transform:uppercase;}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.faqs.title),I=c.styled.div.withConfig({componentId:"sc-5qw2tu-2"})(["margin-left:auto;"]),M=c.styled.div.withConfig({componentId:"sc-5qw2tu-3"})(["display:flex;width:100%;align-items:center;"]),T=c.styled.div.withConfig({componentId:"sc-5qw2tu-4"})(["margin-top:","px;font-family:",";p,ul,ol{margin:0 0 ","px;}p,ul,ol,li{font-size:16px;line-height:20px;}ul,ol{padding-left:50px;}@media ","{margin-right:200px;}"],e=>e.theme.spacing.x0_25,({theme:e})=>e.fontFamily.secondaryFont,({theme:e})=>e.spacing.x2,O.l),A=c.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),D=S(({firstLetterOfTheWordQuestion:e="Q",question:t})=>(0,r.jsxs)(M,{className:C,"data-testid":C,children:[(0,r.jsx)(E,{children:e}),(0,r.jsx)(P,{dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)(I,{children:(0,r.jsx)(w.I,{svg:x._,size:j.a})})]}),"FAQsSectionTitle"),N=S(({answer:e})=>(0,r.jsx)(T,{"data-testid":"dropdown-content",dangerouslySetInnerHTML:{__html:e}}),"FAQsSectionContent"),_=S(({name:e,faqs:t,initialOpenState:n,firstLetterOfTheWordQuestion:a,className:s})=>{const l=t.map(e=>({trigger:(0,r.jsx)(D,{question:e.question,firstLetterOfTheWordQuestion:a}),content:(0,r.jsx)(N,{answer:e.answer}),id:e.id||(0,o.s)(e.question)}))||[];return(0,r.jsx)(A,{className:(0,i.c)(f,s),children:(0,r.jsx)(v,{name:e,sections:l,initialOpenState:n,keepOpen:!0})})},"FAQsContent")},93125:(e,t,n)=>{"use strict";var r=n(21731),i=n(14389),o=n(24936);const a=e=>`https://static.independent.co.uk/static-assets/images/newsletters/${e}`;i.Wd,a("yourMoney1_1.png"),(0,r.A)({[o.u0]:"caa8f478-3902-42c2-8110-84ef833c5c59",[o.zP]:"4317a833-97fa-4535-b19a-2fa9240fa3b0"}),(0,r.A)({[o.u0]:"abff9c89-d274-49b4-bf33-c24a36ab5052",[o.zP]:"74449e09-964c-4dba-97d6-ef54c35ddd60"}),(0,r.A)({[o.u0]:"49aa60db-1290-4c0d-b9cd-8c51c58013da",[o.zP]:"9922b879-d8e3-447d-a0ea-1f873bf5f84e"}),(0,r.A)({[o.u0]:"ded22845-5d83-4a9f-b2eb-a54970aeaed4",[o.zP]:"c329f8d3-4087-4feb-822f-d7f399b63cd4"}),(0,r.A)({[o.u0]:"de1fa6dd-3e63-4e4c-b3b0-8767f00fa6fd",[o.zP]:"6ab5d0c4-e9f1-482d-b048-b2c8c985227e"}),(0,r.A)({[o.u0]:"cfd96470-c291-4746-a4c6-6472963cad2b",[o.zP]:"83402e63-e824-4701-93c6-c4fa7e1ed1fa"}),(0,r.A)({[o.u0]:"ffbd46bf-eca7-42f8-ab44-6599cc6342da",[o.zP]:"e20fd870-6c52-417d-99ab-036406433667"}),a("theRaceReport1_1.png"),(0,r.A)({[o.u0]:"a476a40b-80d6-475e-83ee-36e2c8c6dcb9",[o.zP]:"dd95fe7c-06c4-47a6-8129-f4559aa70f0e"}),a("healthCheck1_1.png"),(0,r.A)({[o.u0]:"d4b68566-42cf-41ed-90be-0c5124c8d59c",[o.zP]:"3575ef2f-58e9-4eb5-85d8-2f099a36bf43"}),a("indyArts1_1.png"),(0,r.A)({[o.u0]:"d6776bff-0bec-4d53-a0ce-bd38db6811e5",[o.zP]:"13361afd-2463-4b8b-aa6a-9f12b71eee79"}),a("readingTheGame1_1.png"),(0,r.A)({[o.u0]:"aa30e84e-b2f9-427b-8f33-006c684e22af",[o.zP]:"03b6d9d7-d676-47ab-a5c1-8e5e1148a9c3"}),a("sportBrief1_1.png"),(0,r.A)({[o.u0]:"c3ba2695-4646-4f4d-9679-c1c4641bf1ad",[o.zP]:"4f15448d-52b6-4a72-819e-be21d29d1899"}),a("compsAndOffers1_1.png"),(0,r.A)({[o.u0]:"f4f7a014-a704-4b0d-87f4-9b980f05f07f",[o.zP]:"478c4e0c-c7fb-4604-acb5-3d68d6d47b3d"}),a("indyBest1_1.png"),(0,r.A)({[o.u0]:"2cc88dbe-d082-4b8a-a251-4f301ff165a2",[o.zP]:"d666293f-baef-41ea-8713-20bc33f070b0"}),a("lessonsInLifestyle1_1.png"),(0,r.A)({[o.u0]:"49bc57ef-e891-4172-8113-3f46400fcd87",[o.zP]:"1f83f2e7-2af6-4333-bd0c-97026320656d"}),a("livingWell1_1.png"),(0,r.A)({[o.u0]:"639034bf-3e24-4705-b5a0-8e0073e95aab",[o.zP]:"654ab47c-157c-4f52-a28b-fe62a6c68cf8"}),a("simonCalder1_1.png"),(0,r.A)({[o.u0]:"b95d438b-1c8a-4bcc-b662-ba3e12f2afc5",[o.zP]:"22b79f94-1403-47d2-9309-99b2b2ff1da6"}),a("viewFromWestminster1_1.png"),(0,r.A)({[o.u0]:"af764e04-87eb-45e6-a84b-a7455ba70a1e",[o.zP]:"5e324189-2227-4686-a1ba-25a0777b8d7c"}),a("insideWashington1_1.png"),(0,r.A)({[o.u0]:"d9194ae4-912a-47fb-8f79-f495b1e014c1",[o.zP]:"a3afca9b-d562-4f8c-b706-47dade56710c"}),a("morningHeadlines1_1.png"),(0,r.A)({[o.u0]:"ea81aa66-1d12-4313-9b4e-6f20b0117b8f",[o.zP]:"709c05ab-c101-4054-bcab-e5ba88c1f084"}),a("breakingNews1_1.png"),(0,r.A)({[o.u0]:"5a7ac7c1-5f39-48c0-8ee8-0b8e43b9e451",[o.zP]:"cf5de473-8195-454a-9309-705186ad5822"}),a("climate1_1.png"),(0,r.A)({[o.u0]:"6e9f9dd1-5b86-4b5e-80ce-5ad26ca26edb",[o.zP]:"a070c9b1-8ee3-44f3-8247-c5c57fff3270"}),a("indyEats1_1.png"),(0,r.A)({[o.u0]:"fd571433-deb9-4bca-8641-81e8c37024a9",[o.zP]:"80ced531-0988-40ac-a1e8-90f40b7b24ee"}),a("independentWomen1_1.png"),(0,r.A)({[o.u0]:"1c1d8520-c8dd-4347-9c44-a789e6e67c0d",[o.zP]:"8a91ad1a-5bf1-4d7d-99b5-d29ebf85ed36"}),a("nowHearThis1_2.png"),(0,r.A)({[o.u0]:"c9972e20-b4d1-4401-a88f-777e77be0046",[o.zP]:"ddf240ea-5241-4e4b-9b8e-6d56c20605c4"}),a("indyTech1_1.png"),(0,r.A)({[o.u0]:"74164a51-8a5a-4f65-a441-80b8079d7677",[o.zP]:"d14b1c6c-f1e2-4b79-b6a8-c6a0219611cc"}),a("indy1001_1.png"),(0,r.A)({[o.u0]:"4326e634-422a-4447-8e1e-604a937cd3b5",[o.zP]:"ee0d4862-64fb-4d48-8a2f-386e84b670c8"}),a("usEveningHeadlines1_1.png"),(0,r.A)({[o.u0]:"90d8bfc5-e702-43ab-b5ca-87263048ce34",[o.zP]:"04c47e2a-c523-41c6-bb75-27d9b8adf17e"}),a("voices1_1.png"),(0,r.A)({[o.u0]:"8dcf0f56-b455-4b6b-baf5-43a270c55e7d",[o.zP]:"2fa19044-27c9-4386-9d32-bd9695ac9f21"}),a("brexitAndBeyond1_1.png"),(0,r.A)({[o.zP]:"0c8bdc00-7659-4e65-a64e-0b6f1ea8c3ef",[o.u0]:"47ee9671-3d14-47e3-80dd-baa43716dc3e"}),a("homeAndGarden1_1.png"),(0,r.A)({[o.zP]:"a1335fab-87bf-444c-9e28-a0c1479908e9",[o.u0]:"058fb79f-211a-4c80-9733-30f5f76ab957"}),a("dailyDeals1_1.png"),(0,r.A)({[o.u0]:"14806361-6435-4d19-b06e-05326605fb01",[o.zP]:"7580fe1a-c84a-4c3d-90f9-1448ed99e107"}),a("onTheGround1_1.png"),(0,r.A)({[o.u0]:"7786fd4e-e878-442d-a784-c9c8e286cc8c",[o.zP]:"ae111d45-361d-4379-8081-15741c169c25"}),a("DriveSmart1_1.png"),(0,r.A)({[o.u0]:"e5ee5200-19c9-4d8c-992b-5e27f0867571",[o.zP]:"6af7db00-b7ec-4c70-a10b-3030f4922525"}),a("Betting1_1.png")},94199:(e,t,n)=>{"use strict";n.d(t,{tn:()=>r.tn});var r=n(65036)},95411:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g,hh:()=>h,mO:()=>p,sk:()=>y});var r=n(86106),i=n(64543),o=n(9976),a=n(16708),s=n(90632),l=(n(7378),n(62892)),c=(n(96120),n(75829),Object.defineProperty),d=(e,t)=>c(e,"name",{value:t,configurable:!0});const u=i.styled.ul.withConfig({componentId:"sc-1m0izjv-0"})(["display:flex;flex-direction:column;gap:","px;padding:0;margin:0;list-style:none;"],({theme:e})=>e.spacing.x1),p=i.styled.li.withConfig({componentId:"sc-hpcqcg-0"})(["display:flex;align-items:center;gap:","px;color:",";font:16px / 20px ",";"],({theme:e})=>e.spacing.x1,e=>e.theme.color.ink.base,({theme:e})=>e.fontFamily.secondaryFont),h=i.styled.div.withConfig({componentId:"sc-hpcqcg-1"})([""]),m=d(({icon:e=o.c,iconSize:t=s.b,children:n,className:i})=>(0,r.jsxs)(p,{className:i,children:[(0,r.jsx)(h,{children:(0,r.jsx)(a.I,{svg:e,size:t})}),n]}),"FeatureListItem"),g=d(({features:e=[],className:t})=>(0,r.jsx)(u,{className:t,children:e.map(({feature:e,icon:t,iconSize:n},i)=>(0,r.jsx)(m,{icon:t,iconSize:n,children:e},i))}),"FeatureList"),f=(0,i.styled)(g).withConfig({componentId:"sc-t2axx9-0"})(["margin:0;--mobile-font:",";--tablet-font:",";--laptop-font:",";a{color:",";text-decoration:underline;&:hover{color:",";}}","{",";align-items:normal;font:var(--mobile-font);","{display:flex;height:1lh;align-items:center;}svg{color:",";}@media ","{font:var(--tablet-font);}@media ","{font:var(--laptop-font);}}"],({theme:e,$size:t})=>e.textStyle.featureListChecked[t].mobile,({theme:e,$size:t})=>e.textStyle.featureListChecked[t].tablet,({theme:e,$size:t})=>e.textStyle.featureListChecked[t].laptop,({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt,p,({theme:e,$isCosy:t})=>t?`gap: ${e.spacing.x0_5}px`:"",h,({theme:e})=>e.color.actionBrand.base,l.t,l.l),y=d(({features:e,className:t,size:n="base",isCosy:i=!1})=>{const a=e.map(e=>({feature:e,icon:o.c,iconSize:s.b}));return(0,r.jsx)(f,{$size:n,$isCosy:i,features:a,className:t})},"FeatureListChecked")},95698:(e,t,n)=>{"use strict";n.d(t,{aZ:()=>o,jl:()=>i,n6:()=>r});const r="IP + Daily Editions",i="Supporter Donation - Monthly",o="Supporter Donation - One-off"},95821:(e,t,n)=>{"use strict";n.d(t,{B8:()=>s,Mc:()=>p,N_:()=>c,QB:()=>d,ck:()=>l,eI:()=>u,mO:()=>a});var r=n(64543),i=n(34616),o=n(46615);const a=r.styled.div.withConfig({componentId:"sc-1aob4nu-0"})(["--margin-bottom:","px;margin-bottom:var(--margin-bottom);@media ","{--margin-bottom:","px;}"],({theme:e})=>e.spacing.x1_5,i.BY,({theme:e})=>e.spacing.x1),s=r.styled.ul.withConfig({componentId:"sc-1aob4nu-1"})(["display:flex;flex-wrap:wrap;padding:0;margin:0;list-style:none;"]),l=r.styled.li.withConfig({componentId:"sc-1aob4nu-2"})(["--width:100%;--margin:","px;width:var(--width);box-sizing:border-box;margin-bottom:var(--margin);border:1px solid ",";font-family:",";@media ","{--width:calc(50% - (var(--margin)));&:nth-child(odd){margin-right:calc((var(--margin)) * 2);}}@media ","{margin-bottom:","px;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light,({theme:e})=>e.fontFamily.secondaryFont,i.n5,i.BY,({theme:e})=>e.spacing.x2),c=r.styled.a.withConfig({componentId:"sc-1aob4nu-3"})(["color:inherit;text-decoration:none;&:hover{","{h4{color:",";}}","{background-color:",";color:",";}}"],o.vu,({theme:e})=>e.color.actionBrand.alt,o.X9,({theme:e})=>e.color.actionTransparent.alt,({theme:e})=>e.color.canvas.secondary),d=r.styled.div.withConfig({componentId:"sc-1aob4nu-4"})(["--item-margin-bottom:","px;--item-count:",";--item-height:calc(136px + var(--item-margin-bottom));--items-height:calc(var(--item-count) * var(--item-height));display:flex;min-height:var(--items-height);box-sizing:border-box;align-items:center;justify-content:center;background-color:",";@media ","{--item-margin-bottom:","px;--item-count:",";}"],({theme:e})=>e.spacing.x1_5,({$itemCount:e})=>e,({theme:e})=>e.color.canvas.secondary,i.BY,({theme:e})=>e.spacing.x2,({$pairedItemCount:e})=>e),u=r.styled.div.withConfig({componentId:"sc-1aob4nu-5"})([""]),p=r.styled.div.withConfig({componentId:"sc-1aob4nu-6"})(["font:",";text-align:center;a{display:block;font-weight:bold;text-decoration:underline;}"],({theme:e})=>e.textStyle.booking.base)},96120:(e,t,n)=>{"use strict";n.d(t,{U:()=>P});var r=n(82075),i=n(48821),o=n(86106),a=n(75829),s=n(64543);const l=["children","className","viewBox","width","height"],c=["isInline","children"],d=["svg"],u=["children","id","viewBox"];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 f=s.styled.svg.withConfig({componentId:"sc-eaj12q-0"})(["width:",";height:",";"],({$width:e})=>e?`${e}px`:"100%",({$height:e})=>e?`${e}px`:"100%"),y=g(e=>{let{children:t,className:n,viewBox:r,width:a,height:s}=e,c=(0,i.A)(e,l);const d=Object.fromEntries(Object.entries(c).filter(([e])=>!["Symbol","svg","name"].includes(e)));return(0,o.jsx)(f,h(h({className:n,viewBox:r,$width:a,$height:s},d),{},{children:t}))},"Inline"),b=g(({className:e,id:t,width:n,height:r})=>(0,o.jsx)(f,{$width:n,$height:r,className:e,children:(0,o.jsx)("use",{href:`#${t}`})}),"Use"),v=g(e=>{let{isInline:t=!0,children:n}=e,r=(0,i.A)(e,c);return t?(0,o.jsx)(y,h(h({},r),{},{children:n})):(0,o.jsx)(b,h({},r))},"SVG");let x=null;function w(e){return document?(x=Array.from(document.querySelectorAll(`.${e} symbol`),({id:e})=>e),x):null}function j(e,t){const n=x||w(t);return Array.isArray(n)&&n.includes(e)}function O(e){return[...new Map(e.map(e=>[e.id,e])).values()]}function k(e=[]){return e}function S(e=[]){return e}g(w,"getSSRSymbolIDs"),g(j,"existsAsSymbol"),g(O,"reducePropsToState"),g(k,"handleStateChangeOnClient"),g(S,"mapStateOnServer");const C="__INDY_UI_SYMBOLS__",E=a(O,k,S)(v),P=g(e=>g(t=>{var n;let{svg:r}=t,a=(0,i.A)(t,d);const s=r({}).props,{children:l,id:c,viewBox:p}=s,m=(0,i.A)(s,u),g=null!==(n=E.canUseDOM&&!j(c,C))&&void 0!==n&&n;return(0,o.jsx)(e,h(h(h({width:0,height:0},m),a),{},{id:c,isInline:g,viewBox:p,children:l}))},"Wrapped"),"withIconSideEffect")(E)},96463:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,D:()=>d,S:()=>l,a:()=>c});var r=n(64543),i=n(16708),o=(n(86106),n(62892)),a=n(18087);const s=(0,r.styled)(i.I).withConfig({componentId:"sc-9kbqz-0"})(["transform:rotate(",");transition:transform 0.2s ease-in-out;"],({$isOpen:e})=>e?"-180deg":"0deg"),l=(0,r.styled)(a.D).withConfig({componentId:"sc-x3k5mc-0"})(["display:block;background-color:",";font:",";"],({theme:e})=>e.color.canvas.secondary,({theme:e})=>e.textStyle.dropdownForCard.content),c=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,o.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)},97086:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(82075),i=n(7378),o=n(77463),a=n(38019),s=n(81788),l=n(43292);const c=(e,t)=>{(t?l.dispatchNewsletterSubscribe:l.dispatchNewsletterUnsubscribe)({newsletter:e})};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{const[l,d]=(0,i.useState)(e),p=async(e,i)=>{if(!t||e.length<1)return;const a=l;fetch(`${o.AA}?__amp_source_origin=${encodeURIComponent(window.location.origin)}`,{method:"POST",body:e.reduce((e,t)=>(e.append(t,i.toString()),e),new URLSearchParams),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(t=>{t.ok?n&&(e.forEach(e=>{c(e,i)}),n(e,i)):(r&&r(e,i),d(t=>{const n=u({},t);return e.forEach(e=>{n[e]=u(u({},a[e]),{},{subscribed:!i})}),n}))}),d(t=>u(u({},t),e.reduce((e,n)=>(e[n]=u(u({},t[n]),{},{subscribed:i}),e),{})))};return{newsletters:l,handleSubscribe:e=>{p(e,!0)},handleUnsubscribe:e=>{p(e,!1)},handleAnonSubmit:(e,t)=>{if(e.length<1)return;const i=l,p=[...e];t.optIn&&!p.includes(o.Cd)&&p.push(o.Cd),t[a.cN]=s.uj;const h=t;h.newsletters=p,fetch(`${o.TJ}?__amp_source_origin=${encodeURIComponent(window.location.origin)}`,{method:"POST",body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).then(e=>{e.ok&&n?(d(e=>u(u({},e),p.reduce((t,n)=>(t[n]=u(u({},e[n]),{},{subscribed:!0,signedUp:!0}),t),{}))),p.forEach(e=>{c(e,!0)}),n(p,!0)):(d(i),r&&r(p,!0))}).catch(()=>{d(i),r&&r(p,!0)}),d(e=>u(u({},e),p.reduce((t,n)=>(t[n]=u(u({},e[n]),{},{subscribed:!0,signedUp:!0}),t),{})))}}}},97349:(e,t,n)=>{"use strict";n.d(t,{JE:()=>a,Kz:()=>i,Oe:()=>s,SK:()=>o,WI:()=>r,dM:()=>u,fn:()=>l,ib:()=>d,xo:()=>c});const r="turned_auto_renewalON",i="turned_auto_renewalOFF",o="registration_complete",a="subscription_start",s="subscription_finish",l="subscription_onboarding_survey",c="registration_onboarding_survey",d="donation_start",u="donation_finish"},97377:(e,t,n)=>{"use strict";n.d(t,{I:()=>r,o:()=>i});const r="The Independent app",i=[{key:"analysis",bullet:"Full access to Premium news analysis"},{key:"adfree",bullet:"Advert-free reading across Independent.co.uk"},{key:"daily-edition",bullet:"The Independent Daily Edition newspaper",popup:{title:"The Independent Daily Edition newspaper",content:"Download a digital replica of the newspaper every morning from 5am via The Independent app. Every edition is packed full of the day’s biggest stories and incisive analysis, as well as exclusive supplements."}},{key:"app",bullet:"The Independent app with Premium features",popup:{title:r,content:"All of your subscriber benefits in one place, including audio articles and the ability to create playlists for offline listening, Premium news analysis, event tickets and puzzles. Plus, our regular breaking news and ‘5 things you need to know today’ daily briefing."}},{key:"newsletters",bullet:"Subscriber-exclusive newsletters"},{key:"puzzles",bullet:"Daily crossword and Sudoku puzzles"}]},97435:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59187),i=n(34677);const o=(e=r.Sj)=>e.add(i.LS).string().isEmail().required()},97610:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,i=n(7378);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",id:"e2046b553e9a4657",viewBox:"0 0 24 24"},e),r||(r=i.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"})))},97982:(e,t,n)=>{"use strict";n.d(t,{BN:()=>$t,FN:()=>q,Y9:()=>Lt,Jx:()=>zt,lL:()=>vt});var r=n(67721),i=n.n(r),o=n(7378),a=n(15081),s=n(64543);const l=s.styled.div.withConfig({componentId:"sc-2jvwcy-0"})(["--container-max-width:804px;max-width:var(--container-max-width);padding:0 ","px;margin:0 auto;"],({theme:e})=>e.spacing.x1_5);var c=n(82075),d=n(34616);const u=s.styled.div.withConfig({componentId:"sc-oprrt7-0"})(["max-height:110px;"]),p=s.styled.div.withConfig({componentId:"sc-oprrt7-1"})(["display:flex;width:100%;flex-direction:column;align-items:center;padding:0 ","px;text-align:center;@media ","{padding:0;}"],({theme:e})=>e.spacing.x4,d.wG),h=s.styled.p.withConfig({componentId:"sc-oprrt7-2"})(["margin:","px 0 0 0;color:",";font:",";"],({theme:e})=>e.spacing.x2,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingCarousel.card.description),m=s.styled.h4.withConfig({componentId:"sc-oprrt7-3"})(["margin:20px 0 0 0;color:",";font:",";"],({theme:e})=>e.color.primary.base,({theme:e})=>e.textStyle.sellingCarousel.card.title),g=s.styled.img.withConfig({componentId:"sc-oprrt7-4"})([""]);var f=n(86106);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 b(e){for(var t=1;t{const{src:i,width:o,height:a}=n||null;return(0,f.jsxs)(p,{className:r,children:[n&&(0,f.jsx)(u,{children:(0,f.jsx)(g,b(b({src:i,alt:e},o&&{width:o}),a&&{height:a}))}),(0,f.jsx)(m,{children:e}),(0,f.jsx)(h,{children:t})]})},x=(0,s.styled)(v).withConfig({componentId:"sc-gyn4uw-0"})(["width:50%;&:nth-child(odd):not(:only-child){border-right:1px solid ",";}"],({theme:e})=>e.color.divider.light);var w=n(48821),j=n(3698),O=n.n(j),k=n(88107);const S=s.styled.div.withConfig({componentId:"sc-1cf1cyq-0"})(["display:flex;flex-direction:column;align-items:center;"]),C=s.styled.div.withConfig({componentId:"sc-1elnfdd-0"})(["display:flex;position:relative;overflow:hidden;width:100%;"]);var E=n(23745),P=n(73108);const I=(0,s.styled)(P.A).attrs({svg:E.Dk}).withConfig({componentId:"sc-8fkfae-0"})(["position:absolute;top:50%;right:0;z-index:10;color:",";cursor:pointer;outline-offset:-2px;&.hide{display:none;}&:hover{color:",";}"],({theme:e})=>e.color.ink.light,({theme:e})=>e.color.ink.base),M=(0,s.styled)(I).attrs({svg:E.Qm}).withConfig({componentId:"sc-8fkfae-1"})(["left:0;"]),T=s.styled.div.withConfig({componentId:"sc-fid725-0"})(["display:flex;width:100%;transition:transform 0.3s ease-in-out;"]),A=s.styled.div.withConfig({componentId:"sc-sp0bs7-0"})(["display:flex;flex:1 0 100%;"]),D=s.styled.div.withConfig({componentId:"sc-1m85ihv-0"})(["display:grid;grid-template-columns:",";margin-top:38px;grid-gap:10px;@media ","{margin-top:","px;}"],({$dotsCount:e})=>`repeat(${e}, 10px)`,d.wG,({theme:e})=>e.spacing.x3),N=s.styled.button.withConfig({componentId:"sc-a0wu7z-0"})(["width:10px;height:10px;padding:0;border:none;border-radius:50%;background:",";cursor:pointer;transition:all 0.2s ease;&:hover,&.active{background:",";}"],({theme:e})=>e.color.semiotic.inactive,({theme:e})=>e.color.ink.light),_=["id","children"];function z(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;t{let{id:t,children:n}=e,r=(0,w.A)(e,_);const i=o.Children.count(n),[a,s,l]=(({slideCount:e=0})=>{const[t,n]=(0,o.useState)(0),r=(0,o.useRef)(null);return(0,o.useEffect)(()=>{var n,i;const o=document.querySelector(`.${k.Z$}`),a=document.querySelector(`.${k.V7}`);0===t&&null!==(n=r.current)&&void 0!==n&&n.classList.contains(k.Z$)&&(r.current=a,a&&a.focus()),t+1===e&&null!==(i=r.current)&&void 0!==i&&i.classList.contains(k.V7)&&(r.current=o,o&&o.focus())},[t,e]),[t,e=>n(e),e=>{r.current=e.currentTarget}]})({slideCount:i});return 0===i?null:(0,f.jsxs)(S,F(F({},r),{},{id:t,children:[(0,f.jsxs)(C,{className:k.WC,children:[a>0&&(0,f.jsx)(M,{className:k.Z$,onClick:()=>s(a-1),onKeyDown:l,"aria-label":"Previous slide"}),(0,f.jsx)(T,{className:k.xI,style:{transform:`translateX(-${a}00%)`},children:o.Children.map(n,(e,t)=>(0,f.jsx)(A,{children:e},`carousel-item-${t}`))}),a+1s(a+1),onKeyDown:l,"aria-label":"Next slide"})]}),(0,f.jsx)(D,{$dotsCount:i,children:o.Children.map(n,(e,t)=>(0,f.jsx)(N,{className:O()(k.U,{active:a===t}),onClick:()=>s(t),"aria-hidden":"true",tabIndex:-1},`carousel-dot-${t}`))})]}))},R=(0,s.styled)($).withConfig({componentId:"sc-fomffn-0"})(["@media ","{","{","{top:36%;}","{top:36%;}}}@media ","{","{","{top:25%;}","{top:25%;}}}@media ","{","{","{top:50%;}","{top:50%;}}}@media ","{","{justify-content:center;}}"],d.kF,C,I,M,d.k4,C,I,M,d.r7,C,I,M,d.QK,A),L=s.styled.h3.withConfig({componentId:"sc-11mrpt1-0"})(["margin:0 0 ","px 0;color:",";font:",";text-align:center;@media ","{margin-bottom:","px;}"],({theme:e})=>e.spacing.x5,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingCarousel.title,d.wG,({theme:e})=>e.spacing.x2),B=s.styled.section.withConfig({componentId:"sc-selfje-0"})(["width:100%;padding:20px 0 ","px 0;margin-top:","px;background:",";@media ","{padding-top:","px;padding-bottom:0;margin-top:0;background:none;}@media ","{margin-top:0;}"],({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary,d.wG,({theme:e})=>e.spacing.x3,d.QK),H=s.styled.div.withConfig({componentId:"sc-selfje-1"})(["@media ","{display:none;}"],d.wG),K=s.styled.div.withConfig({componentId:"sc-selfje-2"})(["display:none;@media ","{display:block;}"],d.wG),q=({items:e,title:t="The key benefits explained"})=>{if(!e||0===e.length)return null;const n=i()(e,2).map((e,t)=>(0,f.jsx)(o.Fragment,{children:e.map(({title:e,description:t,image:n},r)=>(0,f.jsx)(x,{title:e,description:t,image:n},`item-chunk-card-${r}`))},`item-chunk-${t}`)),r=e.map(({title:e,description:t,image:n},r)=>(0,f.jsx)(v,{title:e,description:t,image:n},`item-${r}`));return(0,f.jsx)(B,{children:(0,f.jsxs)(l,{children:[(0,f.jsx)(L,{children:t}),(0,f.jsx)(H,{children:(0,f.jsx)(R,{id:a.i5,children:n})}),(0,f.jsx)(K,{children:(0,f.jsx)(R,{id:a.zV,children:r})})]})})},V="bullet-html",W="popup-title",U="popup-content-html";var G=n(55480),J=n(49047),Y=n(43292),Q=n(49682),Z=n(97377);const X=e=>{const t=(e=>[...Array(8).keys()].map(t=>{const n=(0,Q.Np)(`benefit-${t}`,e,[V,W,U]),r=n[V],i=n[W],o=n[U];if(r)return{key:`benefit-${t}`,bullet:r,popup:(()=>{if(o)return{title:i,content:o}})()}}).filter(e=>void 0!==e))(e);return null!=t&&t.length?t:Z.o};var ee=n(72241),te=n(76941),ne=n(37528);n(9976),n(16708),n(90632),n(96120),n(75829),n(62892);const re=["isActive","children","className"];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 oe(e){for(var t=1;tae(e,"name",{value:t,configurable:!0});const le=s.styled.aside.withConfig({componentId:"sc-15791rv-0"})(["position:fixed;bottom:0;left:0;z-index:",";overflow:hidden;width:100%;max-height:90vh;box-sizing:border-box;background-color:",";transform:translateY(100%);transition:transform 0.3s ease-in-out;&.","{overflow:auto;box-shadow:",";transform:translateY(0);}"],({theme:e})=>e.zIndex.stickyPrompt,({theme:e})=>e.color.canvas.secondary,"is-active",({theme:e})=>e.boxShadows.lightUp),ce=s.styled.div.withConfig({componentId:"sc-15791rv-1"})(["display:flex;align-items:center;justify-content:center;"]),de=se(e=>{let{isActive:t,children:n,className:r}=e,i=(0,w.A)(e,re);return(0,f.jsx)(le,oe(oe({className:(0,te.c)(r,{[ne.C]:t}),"aria-hidden":!t},i),{},{children:(0,f.jsx)(ce,{children:n})}))},"StickyPrompt"),ue=s.styled.div.withConfig({componentId:"sc-dgktpr-0"})(["display:flex;width:500px;flex-direction:column;justify-content:center;padding:","px ","px ","px;@media ","{padding:","px 0 ","px;}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x4,d.n5,({theme:e})=>e.spacing.x2,({theme:e})=>e.spacing.x3),pe=s.styled.h3.withConfig({componentId:"sc-dgktpr-1"})(["margin:0 0 ","px;color:",";font:",";text-align:center;span{text-transform:capitalize;}"],({theme:e})=>e.spacing.x1,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.subscriptionPricingCard.persistent.title),he=({isActive:e=!1,periodType:t,children:n})=>(0,f.jsx)(de,{isActive:e,children:(0,f.jsxs)(ue,{children:[(0,f.jsxs)(pe,{children:["Your chosen payment term: ",(0,f.jsx)("span",{children:t})]}),n]})});var me=n(95411),ge=n(2238),fe=n(7240);const ye=(0,s.styled)(fe.J8).withConfig({componentId:"sc-1um26fl-0"})([""]),be=s.styled.div.withConfig({componentId:"sc-1um26fl-1"})(["--margin-x:","px;--modal-width:calc(100% - (var(--margin-x) * 2));--modal-max-width:419px;--padding:","px ","px 20px ","px;display:flex;position:absolute;top:50%;left:50%;overflow:auto;width:var(--modal-width);max-width:var(--modal-max-width);max-height:100vh;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;padding:var(--padding);border-radius:4px;background:",";box-shadow:",";transform:translate(-50%,-50%);@media ","{--modal-max-width:343px;}"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.base,({theme:e})=>e.boxShadows.darkDown,d.n5),ve=s.styled.div.withConfig({componentId:"sc-1um26fl-2"})(["display:flex;width:100%;justify-content:flex-end;"]),xe=s.styled.h3.withConfig({componentId:"sc-1um26fl-3"})(["margin-top:","px;color:",";font:",";text-align:center;@media ","{font:",";}"],({theme:e})=>e.spacing.x2,e=>e.theme.color.primary.base,({theme:e})=>e.textStyle.sellingModal.title.mobile,d.n5,({theme:e})=>e.textStyle.sellingModal.title.tablet),we=s.styled.div.withConfig({componentId:"sc-1um26fl-4"})(["padding:0 ","px;@media ","{padding:0;}"],({theme:e})=>e.spacing.x2,d.n5),je=s.styled.p.withConfig({componentId:"sc-1um26fl-5"})(["margin-top:","px;color:",";font:",";text-align:center;& strong{font-weight:bold;}"],({theme:e})=>e.spacing.x2,e=>e.theme.color.ink.base,({theme:e})=>e.textStyle.sellingModal.body);var Oe=n(97610);const ke=({title:e,children:t,isHidden:n,onClose:r,handleKeyDown:i})=>(0,f.jsx)(ye,{isHidden:n,role:"dialog","aria-modal":"true","aria-labelledby":a.YU,returnFocus:"",onEscapeKeyPress:r,onBackgroundClick:r,children:(0,f.jsxs)(be,{children:[(0,f.jsx)(ve,{children:(0,f.jsx)(P.A,{"aria-label":"Close",onClick:r,onKeyDown:i,svg:Oe.A})}),(0,f.jsxs)(we,{children:[(0,f.jsx)(xe,{id:a.YU,children:e}),(0,f.jsx)(je,{children:t})]})]})});var Se;function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement("svg",Ce({xmlns:"http://www.w3.org/2000/svg",id:"f0dd65a3f25e79c6",viewBox:"0 0 24 24"},e),Se||(Se=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20m1.27-6.1h-2.4v2.26h2.4zM8.3 7.6Q8 8.38 8 9.4h2.05q0-1.23.52-1.95.54-.75 1.66-.74a1.8 1.8 0 0 1 1.57 1.08q.2.38.2.92a2 2 0 0 1-.46 1.37q-.2.25-.46.46l-.54.47q-.36.3-.63.63-.26.3-.44.72t-.27.97q-.06.54-.07 1.34h1.95q0-.66.1-1.1a3 3 0 0 1 .85-1.39l.63-.56.58-.5a3.2 3.2 0 0 0 1-2.49q0-.86-.3-1.54a3.4 3.4 0 0 0-2.09-1.84 4.8 4.8 0 0 0-3.33.07q-.79.3-1.37.89a4 4 0 0 0-.86 1.38Z"}))),Pe=(0,s.styled)(P.A).attrs({svg:Ee,isCosy:!0,size:"small"}).withConfig({componentId:"sc-1a4v13m-0"})(["display:inline;margin-left:","px;color:",";vertical-align:middle;&:hover path{fill:",";}"],({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.actionBrand.alt),Ie=s.styled.div.withConfig({componentId:"sc-1a4v13m-1"})(["width:100%;text-wrap:balance;text-wrap:pretty;vertical-align:middle;"]),Me=(0,o.forwardRef)(function({idx:e,bullet:t,popup:n,onInfoClick:r},i){return(0,f.jsxs)(Ie,{ref:i,children:[t,n&&(0,f.jsx)(Pe,{onClick:()=>r(n,e),"aria-label":"More information about this benefit","aria-haspopup":"dialog"})]})}),Te=({benefits:e})=>{const[t,n,r,i,a]=(({benefits:e})=>{const[t,n]=(0,o.useState)(null),r=(0,o.useRef)(null),i=e.map(()=>(0,o.createRef)()),a=()=>{n(null),r.current=null},s=(0,o.useCallback)(e=>{if("Tab"===e.key||"Enter"===e.key){e.preventDefault();const t=r.current,n=null==t?void 0:t.querySelector('button[data-testid="selling-page-popup-btn"]');n instanceof HTMLButtonElement&&n.focus(),a()}},[]);return[i,t,(e,t)=>{var o,a;r.current=null!==(o=null===(a=i[t])||void 0===a?void 0:a.current)&&void 0!==o?o:null,n(e)},a,s]})({benefits:e}),l=e.map(({bullet:e,popup:n,key:i},o)=>(0,f.jsx)(Me,{bullet:e,popup:n,idx:o,onInfoClick:r,ref:null==t?void 0:t[o]},i));return(0,f.jsxs)(s.ThemeProvider,{theme:ge.lF,children:[n&&(0,f.jsx)(ke,{title:null==n?void 0:n.title,isHidden:!n,onClose:i,handleKeyDown:a,children:null==n?void 0:n.content}),(0,f.jsx)(me.sk,{features:l,isCosy:!0})]})};var Ae=n(14725),De=n(381);const Ne=(0,o.forwardRef)(function({id:e,fields:t,periodType:n,planType:r,handleClick:i,className:o},a){return(0,f.jsx)(Le,{id:e,className:o,"data-package":`${r}-billing-plan`,onClick:i,ref:a,children:"annual"===n?t[`copy-${r}-annual-card-button`]:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Ve,{children:t[`copy-${r}-monthly-card-button`]}),(0,f.jsx)(qe,{children:t[`copy-${r}-monthly-card-button_mobile`]})]})})}),_e=s.styled.h2.withConfig({componentId:"sc-1uh3fh5-0"})(["margin:0;font:",";text-align:left;@media ","{text-align:center;}"],({theme:e})=>e.textStyle.subscriberOffer.title,d.n5),ze=s.styled.div.withConfig({componentId:"sc-1uh3fh5-1"})(["position:relative;width:var(--wrapper-width);max-width:var(--wrapper-max-width);border:1px solid ",";box-shadow:0 4px 4px ",";&:not(:first-child){margin-bottom:var(--wrappers-margin-bottom);margin-left:var(--wrappers-margin-left);}@media ","{&[data-plan-type='all-access'] ","{margin-top:var(--data-plan-margin-top);}}"],({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.shadow.dark,d.Hw,_e),Fe=s.styled.div.withConfig({componentId:"sc-1uh3fh5-2"})(["display:grid;max-width:var(--card-wrapper-max-width);grid-template-rows:1fr;padding:var(--card-wrapper-padding);margin:var(--card-wrapper-margin);"]),$e=s.styled.div.withConfig({componentId:"sc-1uh3fh5-3"})(["display:flex;align-items:center;justify-content:space-between;margin-top:var(--periods-marin-top);@media ","{margin-top:","px;}@media ","{margin-top:","px;}"],d.$r,({theme:e})=>e.spacing.x3,d.Hw,({theme:e})=>e.spacing.x2),Re=(0,s.styled)(De.A).withConfig({componentId:"sc-1uh3fh5-4"})(["width:192px;height:auto;@media ","{display:none;}@media ","{display:var(--plan-img-laptop-display);}"],d.$r,d.BY),Le=(0,s.styled)(Ae.Ay).attrs({size:Ae.Zz,forwardedAs:Ae.VN}).withConfig({componentId:"sc-1uh3fh5-5"})(["margin-top:","px;@media ","{font-size:var(--subscribe-btn-font-size);}"],({theme:e})=>e.spacing.x3,d.n5),Be=(0,s.styled)(Ne).withConfig({componentId:"sc-1uh3fh5-6"})(["margin-top:0;"]),He=s.styled.p.withConfig({componentId:"sc-1uh3fh5-7"})(["padding-top:var(--terms-padding-top);margin:","px 0 0 0;border-top:var(--terms-border-top);font:",";text-align:left;@media ","{padding:0;border:none;}@media ","{text-align:center;}@media ","{margin-top:var(--terms-margin-top);}"],({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.subscriberOffer.terms,d.$r,d.n5,d.n5),Ke=s.styled.div.withConfig({componentId:"sc-1uh3fh5-8"})(["display:none;max-width:366px;justify-content:center;margin-top:18px;@media ","{display:var(--benefits-tablet-display);margin-top:var(--benefits-tablet-margin-top);}"],d.n5),qe=s.styled.span.withConfig({componentId:"sc-1uh3fh5-9"})(["display:block;@media ","{display:none;}"],d.n5),Ve=s.styled.span.withConfig({componentId:"sc-1uh3fh5-10"})(["display:none;@media ","{display:block;}"],d.n5),We=s.styled.div.withConfig({componentId:"sc-1uh3fh5-11"})(["display:block;@media ","{display:none;}"],d.n5),Ue=s.styled.label.withConfig({componentId:"sc-1m6bfpg-0"})(["display:flex;cursor:pointer;&:not(:first-child){margin-top:var(--second-label-margin-top);}@media ","{&:not(:first-child){margin-top:var(--second-label-margin-top-tablet);}}"],d.V),Ge=s.styled.div.withConfig({componentId:"sc-1m6bfpg-1"})(["position:relative;width:24px;height:24px;border:1px solid ",";border-radius:50%;&::after{display:none;position:absolute;top:50%;left:50%;width:14px;height:14px;border-radius:50%;background:",";content:'';transform:translate(-50%,-50%);}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.color.actionBrand.base),Je=s.styled.div.withConfig({componentId:"sc-1m6bfpg-2"})(["margin-left:","px;p{margin:0;}"],({theme:e})=>e.spacing.x1),Ye=s.styled.p.withConfig({componentId:"sc-1m6bfpg-3"})(["color:",";font:",";span{display:inline-block;margin-left:","px;color:",";font:",";}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingPricingCard.time.base,({theme:e})=>e.spacing.x0_5,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.textStyle.sellingPricingCard.time.small),Qe=s.styled.p.withConfig({componentId:"sc-1m6bfpg-4"})(["color:",";font:",";span{color:",";text-decoration:line-through;}"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingPricingCard.price,({theme:e})=>e.color.ink.light),Ze=s.styled.p.withConfig({componentId:"sc-1m6bfpg-5"})(["color:var(--after-trial-color);font:",";"],({theme:e})=>e.textStyle.sellingPricingCard.terms),Xe=s.styled.div.withConfig({componentId:"sc-1m6bfpg-6"})(["position:relative;input[type='radio']{display:none;}input[type='radio']:checked ~ ",":after{display:block;}"],Ge),et=({offerId:e,planType:t,periodType:n,fields:r,defaultChecked:i=!1,onChange:a})=>{var s;const l=(0,o.useRef)(null),c=`label-${t}-${n}`;return(0,f.jsxs)(Ue,{className:k.wP,id:c,children:[(0,f.jsxs)(Xe,{children:[(0,f.jsx)("input",{defaultChecked:i,type:"radio",name:`${t}-billing-plan`,value:`${t}-${n}`,"data-offer-id":e,"data-term-id":r[`${t}-${n}-term-id`],"data-tracking-price":r[`${t}-plan-${n}-tracking-price`],"data-tracking-length":r[`${t}-plan-${n}-tracking-length`],"data-tracking-name":r[`${t}-plan-${n}-tracking-name`],"data-tracking-cta":r[`${t}-card-button`],onChange:()=>a(n),ref:l}),(0,f.jsx)(Ge,{tabIndex:0,onKeyUp:e=>(e=>{const{currentTarget:t}=e;l.current&&!l.current.checked&&l.current===t.previousElementSibling&&(l.current.checked=!0)})(e),role:"radio","aria-labelledby":c,"aria-checked":(null===(s=l.current)||void 0===s?void 0:s.checked)||i})]}),(0,f.jsxs)(Je,{children:[(0,f.jsx)(Ye,{dangerouslySetInnerHTML:{__html:r[`${t}-plan-${n}-name`]||""}}),(0,f.jsx)(Qe,{className:k.cX,dangerouslySetInnerHTML:{__html:r[`${t}-plan-${n}-price`]||""}}),(0,f.jsx)(Ze,{children:r[`${t}-plan-${n}-after-trial`]||""})]})]})},tt=s.styled.div.withConfig({componentId:"sc-uqp8fy-0"})(["display:flex;flex-direction:column;"]),nt=({fields:e,planType:t,onChange:n})=>((0,o.useEffect)(()=>{const e=Array.from(document.querySelectorAll('div[role="radio"][aria-labelledby^="label-tide"]'));if(0===e.length)return;e.forEach((e,t)=>{e.tabIndex=0===t?0:-1});const t=t=>{e.forEach((e,n)=>{e.tabIndex=n===t?0:-1})},n=n=>r=>{const{key:i}=r;if("ArrowRight"===i||"ArrowDown"===i){r.preventDefault();const i=(n+1)%e.length;e[i].focus(),t(i)}if("ArrowLeft"===i||"ArrowUp"===i){r.preventDefault();const i=(n-1+e.length)%e.length;e[i].focus(),t(i)}};return e.forEach((e,t)=>{e.addEventListener("keydown",n(t))}),()=>{e.forEach((e,t)=>{e.removeEventListener("keydown",n(t))})}},[]),(0,f.jsxs)(tt,{children:[(0,f.jsx)(et,{planType:t,periodType:"annual",offerId:e.offerid,fields:e,defaultChecked:!0,onChange:n}),(0,f.jsx)(et,{planType:t,periodType:"monthly",offerId:e.offerid,fields:e,onChange:n})]}));function rt({options:e={},trackImpression:t}={}){const[n,r]=(0,o.useState)(!0),[i,a]=(0,o.useState)(!1),s=(0,o.useRef)(null),l=(0,o.useRef)(null);return function(e,t){const[n,r]=(0,o.useState)(!1),[i,a]=(0,o.useState)(null),s=(0,o.useCallback)(t=>{if(!e.current)return;const{key:o,target:s}=t,l="Tab"===o;if(s instanceof HTMLElement&&s!==e.current&&s.matches("\na[href],\narea[href],\ninput,\nselect,\ntextarea,\nbutton,\niframe,\nobject,\nembed,\n[tabindex],\n[contenteditable]\n")&&a(s),l){if(!n)return t.preventDefault(),e.current.focus(),void r(!0);i&&s===e.current&&(t.preventDefault(),i.focus())}},[i,e,n]);(0,o.useEffect)(()=>{t&&n&&r(!1)},[t,n]),(0,o.useEffect)(()=>(document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)),[s])}(l,n),(0,o.useEffect)(()=>{const n=s.current;if(!n)return;const o=new IntersectionObserver(([e])=>{r(e.isIntersecting),e.isIntersecting||i||(null==t||t(),a(!0))},e);return o.observe(n),()=>o.disconnect()},[e,i,t]),[s,l,n]}function it(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 ot(e){for(var t=1;t{const[c,d,u]=rt({trackImpression:()=>l&&(0,Y.dispatchSubscribePersistentCTAImpression)({persistent_cta:J.YD})}),[p,h]=(0,o.useState)("annual"),m=`${t}-plan-${p}-tracking`,g=i[`${m}-name`],y=i[`${m}-price`],b=()=>({subscription_length:i[`${m}-length`],subscription_price:y,subscription_package:g,subscribe_button_version:i[`${m}-name`]}),v={fields:i,isOutsideRegion:e,toggleIsAppPopupOpen:s,selectedPlan:p,trackingData:b()},x=e=>(0,ee.A)(ot(ot({},v),{},{trackingFn:e})),w=X(i),j=(0,f.jsx)(Te,{benefits:w});return(0,f.jsxs)(ze,{children:[(0,f.jsxs)(Fe,{children:[(0,f.jsx)(_e,{children:n}),(0,f.jsxs)($e,{children:[(0,f.jsx)(nt,{planType:t,fields:i,onChange:e=>{(0,Y.dispatchAndCacheChangeSubscriptionPackage)(b()),h(e)}}),(0,f.jsx)(Re,{src:i[`${t}-image-url`]||r,alt:"Standard access devices"}),(0,f.jsx)(Ke,{children:j})]}),(0,f.jsx)(Ne,{className:p,id:a.ap,fields:i,periodType:p,planType:t,handleClick:()=>x(Y.dispatchAndCacheSubscriptionButtonClick),ref:c}),(0,f.jsx)(He,{children:i[`terms-${t}-${p}`]})]}),(0,f.jsx)(We,{children:(0,f.jsx)(G.LD,{triggerContent:"What's included",children:j})}),l&&!u&&(0,f.jsx)(he,{isActive:!0,periodType:p,children:(0,f.jsx)(Be,{className:p,id:a.Im,fields:i,periodType:p,planType:t,handleClick:()=>x(Y.dispatchAndCacheSubscriptionPersistentButtonClick),ref:d})})]})};var st=n(23108);const lt=s.styled.div.withConfig({componentId:"sc-5o30f0-0"})(["--root-wrapper-border-bottom:var(--border-bottom-grey);--container-max-width:804px;--cards-container-justify-content:unset;--cards-container-flex-direction:unset;--small-print-border-bottom:0;--wrapper-width:100%;--wrapper-max-width:100%;--wrappers-margin-left:0;--wrappers-margin-bottom:24px;--data-plan-margin-top:0;--card-wrapper-max-width:638px;--card-wrapper-margin:0 auto;--card-wrapper-padding:16px;--periods-marin-top:24px;--plan-img-laptop-display:none;--subscribe-btn-font-size:16px;--terms-padding-top:0;--terms-border-top:none;--terms-margin-top:24px;--benefits-tablet-display:block;--benefits-tablet-margin-top:0;--title-line-height:28px;--benefits-title-wrapper-margin-top:0;--second-label-margin-top:26px;--second-label-margin-top-tablet:24px;--after-trial-color:",";@media ","{--card-wrapper-padding:41px 25px;}padding-top:32px;@media ","{padding-top:16px;}@media ","{padding-top:20px;}@media ","{border-bottom:var(--root-wrapper-border-bottom);}"],e=>e.theme.color.ink.muted,d.n5,d.wG,d.lw,d.n5),ct=s.styled.div.withConfig({componentId:"sc-5o30f0-1"})(["max-width:var(--container-max-width);padding:0 12px;margin:0 auto;"]),dt=s.styled.div.withConfig({componentId:"sc-5o30f0-2"})(["display:flex;align-items:center;justify-content:space-between;"]),ut=s.styled.div.withConfig({componentId:"sc-5o30f0-3"})(["display:flex;position:relative;width:100%;justify-content:var(--cards-container-justify-content);@media ","{flex-direction:var(--cards-container-flex-direction);}"],d.$r),pt=s.styled.div.withConfig({componentId:"sc-5o30f0-4"})(["display:flex;width:100%;justify-content:center;padding-bottom:24px;margin-top:24px;border-bottom:var(--border-bottom-grey);@media ","{border-bottom:var(--small-print-border-bottom);}"],d.n5),ht=s.styled.p.withConfig({componentId:"sc-5o30f0-5"})(["max-width:675px;margin:0;font-family:",";font-size:12px;font-style:italic;font-weight:normal;letter-spacing:0;line-height:16px;text-align:center;a{color:inherit;text-decoration:underline;}"],e=>e.theme.fontFamily.secondaryFont),mt=({termsUrl:e,children:t,className:n})=>(0,f.jsx)(lt,{className:n,children:(0,f.jsxs)(ct,{children:[(0,f.jsx)(dt,{children:(0,f.jsx)(ut,{children:t})}),(0,f.jsx)(pt,{children:(0,f.jsxs)(ht,{children:[(0,f.jsx)("a",{href:e,children:"Click here"})," to read our full terms and conditions."]})})]})});mt.propTypes={termsUrl:st.string.isRequired,children:st.oneOfType([st.arrayOf(st.node),st.node]).isRequired,className:st.string.isRequired};const gt=mt;function ft(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 yt(e){for(var t=1;t{const i={fields:e,isOutsideRegion:t,toggleIsAppPopupOpen:n};return(0,f.jsx)(bt,{termsUrl:e["terms-url"],children:(0,f.jsx)(at,yt({title:"Independent Premium",planType:"tide",cardImageUrl:"https://static.independent.co.uk/static-assets/images/payment-flow2022-04/all-access-devices-large.png",isPersistentCtaEnabled:r},i))})},xt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-0"})(["display:flex;width:100%;flex-direction:row;justify-content:center;@media ","{padding:0 ","px;margin:","px 0;}"],d.n5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x4),wt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-1"})(["display:flex;width:100%;max-width:992px;flex-direction:row;justify-content:space-evenly;margin:0 10px;transition:inherit;@media ","{flex-direction:column;gap:","px;margin-top:","px;margin-bottom:","px;}@media ","{margin:0 22px;}"],d.V,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x3,d.n5),jt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-2"})(["display:flex;width:100%;flex-direction:row;justify-content:center;transition:inherit;@media ","{width:45%;}&:last-child{@media ","{margin-left:","px;}}"],d.n5,d.n5,({theme:e})=>e.spacing.x5),Ot=s.styled.img.withConfig({componentId:"sc-1uzzmsh-3"})(["display:none;width:100%;transition:inherit;@media ","{max-width:331px;}"],d.V),kt=(0,s.styled)(Ot).withConfig({componentId:"sc-1uzzmsh-4"})(["@media ","{display:block;}"],d.n5),St=(0,s.styled)(Ot).withConfig({componentId:"sc-1uzzmsh-5"})(["@media "," and ","{display:block;}"],d.Hw,d.V),Ct=(0,s.styled)(Ot).withConfig({componentId:"sc-1uzzmsh-6"})(["@media ","{display:block;}"],d.nE),Et=s.styled.div.withConfig({componentId:"sc-1uzzmsh-7"})(["display:flex;width:100%;flex-direction:column;justify-content:center;transition:inherit;@media ","{max-width:380px;}"],d.n5),Pt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-8"})(["width:100%;box-sizing:border-box;padding:","px 0;border-radius:8px 8px 0 0;background-color:",";text-align:center;"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.canvas.card),It=s.styled.h3.withConfig({componentId:"sc-1uzzmsh-9"})(["margin-block:0;color:",";font:",";"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingPage.newsguard.title),Mt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-10"})(["display:flex;width:100%;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:","px;padding:","px ","px;border-width:0 1px 1px 1px;border-style:solid;border-color:",";border-radius:0 0 8px 8px;"],({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light),Tt=s.styled.p.withConfig({componentId:"sc-1uzzmsh-11"})(["width:100%;margin-block:0;color:",";font:",";text-align:center;"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingPage.newsguard.content),At=s.styled.div.withConfig({componentId:"sc-1uzzmsh-12"})([""]),Dt=s.styled.cite.withConfig({componentId:"sc-1uzzmsh-13"})(["display:inline-block;margin-block:0;color:",";font:",";text-align:center;"],({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.sellingPage.newsguard.citation),Nt=s.styled.div.withConfig({componentId:"sc-1uzzmsh-14"})(["width:calc(100% - ","px);height:1px;margin:0 ","px;background-color:",";"],({theme:e})=>e.spacing.x3,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.color.divider.light),_t={desktopImage:{src:"https://static.independent.co.uk/static-assets/images/piano-selling-page/selling-page-quote-1000px.svg",alt:"Newsguard"},tabletImage:{src:"https://static.independent.co.uk/static-assets/images/piano-selling-page/selling-page-quote-mob-tablet.svg",alt:"Newsguard"},mobileImage:{src:"https://static.independent.co.uk/static-assets/images/piano-selling-page/selling-page-quote-320px.svg",alt:"Newsguard"}},zt=({newsGuardData:e=_t})=>{const{desktopImage:t,tabletImage:n,mobileImage:r}=e;return(0,f.jsx)(xt,{children:(0,f.jsxs)(wt,{children:[(0,f.jsxs)(jt,{children:[(0,f.jsx)(kt,{src:t.src,alt:t.alt}),(0,f.jsx)(St,{src:n.src,alt:n.alt}),(0,f.jsx)(Ct,{src:r.src,alt:r.alt})]}),(0,f.jsx)(jt,{children:(0,f.jsxs)(Et,{children:[(0,f.jsx)(Pt,{children:(0,f.jsx)(It,{children:"News you can trust"})}),(0,f.jsxs)(Mt,{children:[(0,f.jsx)(Tt,{children:"The Independent is the no. 1 digital news brand for 'caring about the truth' and being 'free of bias'"}),(0,f.jsx)(Nt,{}),(0,f.jsx)(At,{children:(0,f.jsxs)(Dt,{children:[(0,f.jsx)("b",{children:"Source:"})," BVA BDRC/The Independent, October 2023"]})})]})]})})]})})};zt.propTypes={newsGuardData:st.object};const Ft=s.styled.header.withConfig({componentId:"sc-qkowcd-0"})(["display:flex;width:100%;flex-direction:row;justify-content:center;"]),$t=s.styled.picture.withConfig({componentId:"sc-qkowcd-1"})(["display:flex;overflow:hidden;width:100%;max-height:190px;align-items:center;justify-content:center;object-fit:cover;"]),Rt=s.styled.img.withConfig({componentId:"sc-qkowcd-2"})(["width:100%;"]),Lt=({fields:e,className:t})=>(0,f.jsx)(Ft,{className:t,children:(0,f.jsxs)($t,{children:[(0,f.jsx)("source",{media:d.n5,srcSet:e["src-desktop"]}),(0,f.jsx)("source",{media:`${d.r7}`,srcSet:e["src-tablet"]}),(0,f.jsx)("source",{media:`${d.k4}`,srcSet:e["src-mobile-large"]}),(0,f.jsx)("source",{media:`${d.kF}`,srcSet:e["src-mobile-medium"]}),(0,f.jsx)(Rt,{src:e["src-mobile-small"],alt:"Default header"})]})})},98758:(e,t,n)=>{"use strict";n.d(t,{e:()=>i,o:()=>r});const r="Price not available",i="Sorry, this content has not loaded."},99201:(e,t,n)=>{"use strict";n.d(t,{F:()=>l,_:()=>c});var r=n(38019),i=n(81788),o=n(84449),a=n(65619),s=n(10962);const l=()=>{const e=(0,a.g8)({[r.cN]:i.D9});s.J4.storeCurrentURL(),(0,o.V)(e)},c=()=>{const e=s.J4.retrieve();s.J4.clear(),(0,o.V)(e)}},99302:(e,t,n)=>{var r=n(38036),i=n(9185);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},99842:(e,t,n)=>{var r={"./bootstrap/helpers/getHydrateRoots.ts":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n("./components/HydrateIsland.tsx");const i=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"),i=n("react-dom/client"),o=n("react/jsx-runtime");function a(e){return a="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},a(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 l(e){for(var t=1;t{n.r(t),n.d(t,{error:()=>l,isShowLog:()=>o,log:()=>a,retrieveShowLogReference:()=>i,warn:()=>s});var r=n("./bootstrap/helpers/log.ts"),i=function(){},o=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},a=function(){var e;r.isShowLog()&&(e=console).log.apply(e,arguments)},s=function(){var e;r.isShowLog()&&(e=console).warn.apply(e,arguments)},l=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"),i=n("./bootstrap/helpers/log.ts");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)}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 s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(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)?c(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&(e(),this.unobserve(n.target))}};const u=function(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=o.StateProvider,c=o.Wrapper,u=o.rootMargins,p=(null===(n=e.nextElementSibling)||void 0===n?void 0:n.textContent)||"",h=JSON.parse(p),m=e.dataset,g=e.dataset.component||"",f=e.dataset.loading||"",y=(null==u?void 0:u[f])||null,b=function(e){for(var t=1;t{n.r(t),n.d(t,{default:()=>o,primeIsland:()=>i.default});var r=n("./bootstrap/helpers/getHydrateRoots.ts"),i=n("./bootstrap/helpers/primeIsland.tsx");const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.StateProvider,o=t.Wrapper,a=t.rootMargins;(0,r.default)().forEach(function(t){return(0,i.default)(t,e,{StateProvider:n,Wrapper:o,rootMargins:a})})}},"./components/HydrateIsland.tsx":(e,t,n)=>{n.r(t),n.d(t,{CLASS_HYDRATE_ROOT:()=>c,HydrateIsland:()=>d,default:()=>u});var r=n("react/jsx-runtime");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)}var o=["className","children","loading"];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 s(e){for(var t=1;t{e.exports=n(7378)},"react-dom/client":e=>{e.exports=n(79124)},"react/jsx-runtime":e=>{e.exports=n(86106)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,o),n.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 a={};(()=>{o.r(a),o.d(a,{hydrateComponent:()=>t.default,hydrateComponentList:()=>e.default});var e=o("./bootstrap/hydrateComponentList.ts"),t=o("./bootstrap/helpers/primeIsland.tsx")})(),e.exports=a},99973:(e,t,n)=>{"use strict";n.d(t,{Q:()=>W,g:()=>z});var r=n(86106),i=n(7378),o=n(76941),a=n(64543),s=n(9976),l=(n(16708),n(90632)),c=n(73108),d=n(12312),u=n(14847),p=n(24847),h=n(62892),m=n(49569),g=(n(96120),n(75829),n(25584),n(51312),n(71707),n(2323),n(48484),n(7486),n(25730),n(78174),n(28048),n(23950),n(7939),n(27835),Object.defineProperty),f=(e,t)=>g(e,"name",{value:t,configurable:!0});const y=f(({itemCount:e})=>{const t=Array.from({length:e},()=>(0,i.useRef)(null)),n=(0,i.useMemo)(()=>t,[t]),[r,o]=(0,i.useState)(0);return(0,i.useEffect)(()=>{const e=new ResizeObserver(e=>{let t=0;e.map(e=>{const n=e.target.children[0].clientHeight;n>t&&(t=n)}),o(t)});return n.forEach(t=>{const n=t.current;n&&e.observe(n)}),()=>e.disconnect()},[n]),{handleCaptionRef:f(e=>t=>{n[e].current=t},"handleCaptionRef"),captionHeight:r}},"useCaptionHeight"),b=f(({initialIndex:e=0,autoPlayInterval:t=0}={})=>{const n=(0,i.useRef)(null),[r,o]=(0,i.useState)(e),[a,s]=(0,i.useState)(!1);(0,i.useEffect)(()=>{const e=n.current;if(!e)return;const t=Array.from(e.children),r=new IntersectionObserver(f(n=>{n.map(n=>{if(n.isIntersecting){const n=e.scrollLeft,r=e.clientWidth,i=Math.round(n/r);o(i),s(i===t.length-1)}})},"handleIntersection"),{root:e,threshold:.5});return t.forEach(e=>{r.observe(e)}),()=>r.disconnect()},[]);const l=(0,i.useCallback)(e=>{const t=n.current;if(!t)return;const r=t.clientWidth;t.scrollTo({left:e*r,behavior:"smooth"}),o(e)},[]),c=(0,i.useCallback)(()=>l(r-1),[r,l]),d=(0,i.useCallback)(()=>l(r+1),[r,l]);return(0,i.useEffect)(()=>{if(t>0){const e=setInterval(()=>{a||d()},1e3*t);return()=>clearInterval(e)}},[t,d,a]),{sliderRef:n,currentIndex:r,handlePrev:c,handleNext:d}},"useSimpleSlider"),v=a.styled.section.withConfig({componentId:"sc-174s69b-0"})(["display:flex;box-sizing:border-box;flex-direction:column;"]),x=a.styled.header.withConfig({componentId:"sc-174s69b-1"})([""]),w=(0,a.styled)(d.A).attrs({as:"header"}).withConfig({componentId:"sc-174s69b-2"})([""]),j=a.styled.h3.withConfig({componentId:"sc-174s69b-3"})([""]),O=(0,a.styled)(d.A).attrs({as:"p"}).withConfig({componentId:"sc-174s69b-4"})([""]),k=a.styled.ul.withConfig({componentId:"sc-174s69b-5"})(["display:flex;width:100%;padding:0;margin:0 -1px;list-style:none;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:visible;scroll-behavior:smooth;scroll-snap-type:x mandatory;",""],u.TH),S=a.styled.li.withConfig({componentId:"sc-174s69b-6"})(["width:100%;flex:0 0 auto;padding:0;margin:0;scroll-snap-align:start;"]),C=a.styled.nav.withConfig({componentId:"sc-174s69b-7"})(["display:flex;align-items:center;justify-content:flex-end;"]),E=a.styled.span.withConfig({componentId:"sc-174s69b-8"})([""]),P=(0,a.styled)(c.A).attrs({size:l.b,svg:s.Q}).withConfig({componentId:"sc-174s69b-9"})([""]),I=(0,a.styled)(c.A).attrs({size:l.b,svg:s.b}).withConfig({componentId:"sc-174s69b-10"})([""]),M="gallery-btn",T=f(({handlePrev:e,handleNext:t,itemCount:n,currentIndex:i,contentType:a="Image",className:s})=>{const l=0===i,c=i===n-1;return(0,r.jsxs)(C,{"aria-label":"slide controls",children:[(0,r.jsx)(E,{children:`${a} ${i+1} of ${n}`}),(0,r.jsx)(P,{className:(0,o.c)(s,M),"aria-label":"Previous",isDisabled:l,onClick:e,"data-testid":"prev-button"}),(0,r.jsx)(I,{className:(0,o.c)(s,M),"aria-label":"Next",isDisabled:c,onClick:t,"data-testid":"next-button"})]})},"Controls$1"),A=f(({title:e,showTitle:t})=>(0,r.jsx)(t?x:w,{children:(0,r.jsx)(j,{children:e})}),"Header"),D=f(({title:e,showTitle:t=!0,description:n,className:i,children:o})=>(0,r.jsxs)(v,{className:i,children:[(0,r.jsx)(A,{title:e,showTitle:t}),(0,r.jsx)(O,{children:n}),o]}),"Carousel"),N=(0,a.styled)(D).withConfig({componentId:"sc-13ygv4q-0"})([""," --gap:","px;--padding:","px;--nav-min-height:","px;--nav-width:205px;gap:var(--gap);padding:var(--padding);background:",";","{margin-right:","px;font:",";}@media ","{--padding:","px ","px ","px;position:relative;","{position:absolute;right:0;bottom:0;width:var(--nav-width);height:var(--caption-height);min-height:var(--nav-min-height);padding-right:","px;padding-bottom:","px;background:",";}}@media ","{--gap:","px;--padding:","px ","px ","px;","{order:2;}","{order:1;}}"],({$captionHeight:e})=>(0,a.css)(["--caption-height:",";"],e?`${e}px`:"auto"),({theme:e})=>e.spacing.x0_5,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.dimension.minTouchArea,({theme:e})=>e.color.canvas.secondary,E,({theme:e})=>e.spacing.x2,({theme:e})=>e.textStyle.media.pagination,h.o,({theme:e})=>e.spacing.x4,({theme:e})=>e.spacing.x4,({theme:e})=>e.spacing.x2,C,({theme:e})=>e.spacing.x4,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.canvas.secondary,h.l,({theme:e})=>e.spacing.x1,({theme:e})=>e.spacing.x1_5,({theme:e})=>e.spacing.x8,({theme:e})=>e.spacing.x5,k,C);(0,a.styled)(p.$K).withConfig({componentId:"sc-13ygv4q-1"})(["","{margin-top:","px;@media ","{margin-top:","px;}@media ","{display:flex;width:calc(100% - (var(--nav-width)));height:var(--caption-height);min-height:var(--nav-min-height);align-items:center;padding-right:","px;}@media ","{line-height:16px;}}"],p.HL,({theme:e})=>e.spacing.x0_5,h.t,({theme:e})=>e.spacing.x1,h.o,({theme:e})=>e.spacing.x2,h.l);const _=(0,i.forwardRef)(f(function({items:e,renderSlide:t,currentIndex:n,handleCaptionRef:i},o){const a=e[n];return(0,r.jsx)(k,{ref:o,children:e.map((e,n)=>{const o=a===e,s=i(n);return(0,r.jsx)(S,{"aria-hidden":!o,children:t({item:e,captionRef:s})},`item-${n}`)})})},"Slider2")),z=f(({title:e,items:t,renderSlide:n})=>{const i=t.length||0,{sliderRef:o,currentIndex:a,handlePrev:s,handleNext:l}=b(),{handleCaptionRef:c,captionHeight:d}=y({itemCount:i});return 0===i?null:(0,r.jsxs)(N,{title:e,showTitle:!1,description:"Carousel with one slide shown at a time. Use the Previous and Next buttons to navigate between slides.",$captionHeight:d,children:[(0,r.jsx)(_,{items:t,renderSlide:n,currentIndex:a,handleCaptionRef:c,ref:o}),(0,r.jsx)(T,{handlePrev:s,handleNext:l,itemCount:i,currentIndex:a})]})},"ImageCarousel"),F=a.styled.div.withConfig({componentId:"sc-1yvcr-0"})(["display:flex;position:relative;width:100%;height:","px;box-sizing:border-box;align-items:center;border-right:1px solid ",";background-color:",";color:",";@media ","{height:","px;}"],82,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.canvas.base,({theme:e})=>e.color.ink.base,h.t,60),$=a.styled.a.withConfig({componentId:"sc-1yvcr-1"})(["display:flex;position:absolute;right:0;bottom:0;z-index:1;width:","px;height:","px;box-sizing:border-box;align-content:center;align-items:center;padding:11px ","px;border-left:1px solid ",";background-color:",";color:",";white-space:nowrap;",";&:hover{background-color:",";color:",";}@media ","{position:static;height:100%;border-right:1px solid ",";}"],94,38,({theme:e})=>e.spacing.x2,({theme:e})=>e.color.divider.light,({theme:e})=>e.color.actionBrand.base,({theme:e})=>e.color.ink.base,({theme:e})=>e.textStyle.voucherTicker.CTA,({theme:e})=>e.color.actionBrand.alt,({theme:e})=>e.color.ink.base,h.t,({theme:e})=>e.color.divider.light),R=a.styled.ul.withConfig({componentId:"sc-1yvcr-2"})(["display:flex;overflow:hidden;width:100%;max-width:calc(100% - ","px);align-items:center;padding:0;margin:0 ","px;color:",";@media ","{width:100%;max-width:calc( 100% - ","px );margin:0 ","px;}@media ","{width:","px;max-width:fit-content;}@media ","{width:","px;}"],110,8,({theme:e})=>e.color.ink.base,h.t,206,12,h.l,804,h.a,1053),L=a.styled.li.withConfig({componentId:"sc-1yvcr-3"})(["width:100%;flex:1 0 auto;color:",";list-style-type:none;scroll-snap-align:start;"],({theme:e})=>e.color.ink.base),B=a.styled.nav.withConfig({componentId:"sc-1yvcr-4"})(["display:flex;position:absolute;top:0;right:0;width:","px;box-sizing:border-box;justify-content:center;border-left:1px solid ",";@media ","{position:relative;right:0;width:","px;align-items:center;border:0;}"],94,({theme:e})=>e.color.divider.light,h.t,88),H=(0,a.styled)(c.A).attrs({size:l.b,svg:s.Q}).withConfig({componentId:"sc-1yvcr-5"})(["color:",";&:hover,&:active,&:focus-visible{color:",";}&[disabled]{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.semiotic.disabled),K=(0,a.styled)(c.A).attrs({size:l.b,svg:s.b}).withConfig({componentId:"sc-1yvcr-6"})(["color:",";&:hover,&:active,&:focus-visible{color:",";}&[disabled]{color:",";}"],({theme:e})=>e.color.actionBase.base,({theme:e})=>e.color.actionBase.alt,({theme:e})=>e.color.semiotic.disabled),q=f(({handlePrev:e,handleNext:t,itemCount:n,currentIndex:i,className:a})=>{const s=0===i,l=i===n-1;return(0,r.jsxs)(B,{"aria-label":"slide controls",children:[(0,r.jsx)(H,{className:(0,o.c)(a,"carousel-prev-button"),"aria-label":"Previous",isDisabled:s,onClick:e,"data-testid":"prev-button"}),(0,r.jsx)(K,{className:(0,o.c)(a,"carousel-next-button"),"aria-label":"Next",isDisabled:l,onClick:t,"data-testid":"next-button"})]})},"Controls"),V=(0,i.forwardRef)(f(function({items:e,renderSlide:t,currentIndex:n},i){const o=e[n];return(0,r.jsx)(R,{ref:i,children:e.map((e,n)=>(0,r.jsx)(L,{"aria-hidden":!(o===e),children:t({item:e})},`item-${n}`))})},"Slider2")),W=f(({className:e,items:t,renderSlide:n,ctaText:i,ctaHref:o,autoPlayInterval:a})=>{const s=t.length||0,{sliderRef:l,currentIndex:c,handlePrev:d,handleNext:u}=b({autoPlayInterval:a});return 0===s?null:(0,r.jsx)(m.A,{children:(0,r.jsxs)(F,{className:e,children:[(0,r.jsx)($,{href:o,target:"_blank",rel:"noopener noreferrer",children:i}),(0,r.jsx)(V,{items:t,currentIndex:c,renderSlide:n,ref:l}),(0,r.jsx)(q,{handlePrev:d,handleNext:u,itemCount:s,currentIndex:c})]})})},"TextCarousel")}},e=>{var t;t=82541,e(e.s=t)}]);