1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ca62771f-f172-5d16-93c0-cada4b713193")}catch(e){}}(); 3import{s as e,t}from"./jsx-runtime-D4ePz0Hl.js";import{t as n}from"./react-BXH-GOAS.js";import{M as r,n as i}from"./components-CDo3yjgw.js";import{t as a}from"./useTranslation-xRzBcOIb.js";import{t as o}from"./classnames-B9Sa-P4w.js";import{t as s}from"./Text-BXQCamjY.js";import{t as c}from"./LockClosedIcon-EgqD9Np-.js";import{n as l}from"./StaticPage-Babiqn2v.js";import{t as u}from"./rewriteSrc-CE-UieqK.js";var d=e(o(),1),f=function(e){return e.POPUP=`popup`,e.GATED=`gated`,e.FORM=`form`,e.NONE=`none`,e}({});function p(e,t={}){return{type:`signup`,attrs:{id:`static_signup_element`,data:[],padding:4,buttonBackgroundColor:e.primary_color,buttonTextColor:e.text_on_primary_color,backgroundColor:e.background_color,borderStyle:e.border_style,borderWidth:`2px`,borderColor:e.border_color,borderRadius:e.border_radius,buttonBorderRadius:e.border_radius,inputBackgroundColor:e.background_color,inputPlaceholderColor:e.border_color,inputTextColor:e.text_on_background_color,...t},content:[{id:``,text:``}]}}var m=e(t(),1),h=({cta:e,createActionType:t,title:n,message:o,publication:u,theme:h})=>{let{pathname:g}=r(),{t:_}=a(),v=u.web_theme.background_color,y=u.web_theme.primary_color;return(0,m.jsxs)(`div`,{className:(0,d.default)(`mx-auto flex w-full flex-col items-center px-10`,{"mb-10 bg-wt-text-on-background py-10 text-wt-background":h===`subscribe-gate`},{"max-w-xl bg-transparent":h===`subscribe-gate-bottom`},{"max-w-2xl":h!==`subscribe-gate-bottom`}),children:[u.private&&(0,m.jsx)(c,{className:`w-16 h-16`}),(0,m.jsxs)(`div`,{className:`flex flex-col space-y-2`,children:[(0,m.jsx)(s,{as:`h2`,type:`title`,size:h===`subscribe-gate-bottom`?`2xl`:`3xl`,theme:h,className:`text-3xl font-bold leading-tight tracking-normal text-center`,children:n}),(0,m.jsx)(s,{as:`p`,type:`body`,size:h===`subscribe-gate-bottom`?`md`:`lg`,theme:h,className:`leading-tight tracking-normal text-center`,children:o})]}),!(u.private&&!u.require_subscriber_approval)&&(0,m.jsx)(`div`,{className:`w-full py-8`,children:l(p(u.web_theme,{redirectUrl:t===f.GATED?g:void 0,buttonText:e||_(`shared.cta.subscribe`),buttonSubmittingText:`${_(`shared.actions.submitting`)}...`,gdprTextColor:h===`subscribe-gate`?v:y,inputFontSize:h===`subscribe-gate-bottom`?`14px`:void 0,buttonFontSize:h===`subscribe-gate-bottom`?`14px`:void 0,inputPlaceholder:_(`subscribe.email_placeholder`)}))}),(0,m.jsxs)(`div`,{className:`pb-2`,children:[(0,m.jsxs)(s,{as:`span`,type:`body`,theme:h,className:`flex items-center justify-center text-sm text-center`,children:[_(`login.already_a_subscriber`),(0,m.jsxs)(i,{to:`/?modal=login`,className:`ml-1`,children:[(0,m.jsx)(`span`,{className:(0,d.default)(`underline underline-offset-1`,{"text-wt-text-on-background":h!==`subscribe-gate`}),children:_(`shared.cta.sign_in`)}),`.`]})]}),(0,m.jsx)(i,{to:`/`,className:`cursor-pointer`,children:(0,m.jsx)(s,{as:`span`,type:`body`,theme:h,className:`flex justify-center py-2 text-sm text-center sm:text-lg`,children:(0,m.jsx)(`span`,{className:`text-sm underline underline-offset-1`,children:_(`login.not_now`)})})})]})]})},g=e(n(),1),_=({src:e,alt:t,maxWidth:n,aspectRatio:r,widthClass:i,...a})=>{let o=(0,g.useRef)(null),s={social:`aspect-social`,square:`aspect-square`,video:`aspect-video`}[r],[c,l]={social:[1.9,1],square:[1,1],video:[16,9]}[r],f=n,p=Math.round(f/c*l),h=u(e,{format:`auto`,width:String(f),height:String(p),fit:`scale-down`,onerror:`redirect`});return(0,m.jsx)(`figure`,{className:(0,d.default)(s,`relative h-full overflow-hidden`,i||`w-full`),ref:o,children:(0,m.jsx)(`img`,{...a,width:f,height:p,src:h,alt:t,className:`absolute inset-0 h-full w-full object-cover`})})};export{f as i,h as n,p as r,_ as t}; 4//# sourceMappingURL=Image-C4RJpl5y.js.map 5//# debugId=ca62771f-f172-5d16-93c0-cada4b713193
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.