try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`27fe6bb6-d213-4359-912e-4fe66963920a`,e._sentryDebugIdIdentifier=`sentry-dbid-27fe6bb6-d213-4359-912e-4fe66963920a`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{$m as t,Ag as n,Rm as r,ng as i,pi as a}from"./entry.client-mpghtlrl.js";import{pt as o,x as s}from"./xds-react-components-ihgca01z.js";import{C as c}from"./xds-icons-m106f2fc.js";import"./background-image-nmq0yffm.js";import{t as l}from"./GuideL2Header-a2pogkf0.js";import{t as u}from"./GuideAccentImage-hojxwxht.js";var d=n(),f=e(a(),1),p=i(),m=`16 / 9`,h=e=>{let t=(0,d.c)(3),{aspectRatio:n}=e,r=n===void 0?m:n,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,f.default)(`-top-template-overlays-guide-padding-internal-top absolute end-0 start-0`,`pointer-events-none`,`contrast-high:invisible`,`z-0`,`ltr:[--mask-start:right] rtl:[--mask-start:left]`,`mask-image-[radial-gradient(ellipse_100%_75%_at_var(--mask-start)_top,rgba(1_1_1_/_50%),_transparent_100%)]`),t[0]=i):i=t[0];let a;return t[1]===r?a=t[2]:(a=(0,p.jsx)(`div`,{className:i,children:(0,p.jsx)(`div`,{className:`w-full bg-container-backgrounds-celebratory-vibrant-gradients-aqua`,style:{aspectRatio:r}})}),t[1]=r,t[2]=a),a},g=e=>{let n=(0,d.c)(37),{contentPromotionTitle:i,contentPromotionSubtitle:a,contentPromotionHeroImageUrl:f,contentPromotionUrl:m,qrCodeDataUri:g,onLearnMoreClick:_}=e,v=r(),{t:y}=t(`GuideJumpLandingPage`),b;n[0]===y?b=n[1]:(b=y(`Promotional content`,{shortKey:`content_promotion_l2_fallback_title`}),n[0]=y,n[1]=b);let x=b,S;n[2]===y?S=n[3]:(S=y(`Scan the QR code to learn more`,{shortKey:`content_promotion_l2_fallback_subtitle`}),n[2]=y,n[3]=S);let C=S,w;n[4]===y?w=n[5]:(w=y(`QR code`,{shortKey:`content_promotion_l2_qr_code_alt`}),n[4]=y,n[5]=w);let T=w,E;n[6]===y?E=n[7]:(E=y(`Content promotion`,{shortKey:`content_promotion_l2_sponsored_by`}),n[6]=y,n[7]=E);let D=E,O;n[8]===y?O=n[9]:(O=y(`Learn more`,{shortKey:`content_promotion_l2_learn_more`}),n[8]=y,n[9]=O);let k=O,A;n[10]===D?A=n[11]:(A=(0,p.jsx)(l,{title:D}),n[10]=D,n[11]=A);let j;n[12]===f?j=n[13]:(j=f?(0,p.jsx)(u,{imageUrl:f,aspectRatio:`1/1`}):(0,p.jsx)(h,{}),n[12]=f,n[13]=j);let M;n[14]!==g||n[15]!==v||n[16]!==T?(M=g&&(0,p.jsx)(`div`,{className:`gap-spacing-internal-gap-tight flex flex-col items-center`,children:(0,p.jsx)(`img`,{src:g,alt:T,className:`h-[200px] w-[200px] rounded-regular`,crossOrigin:v(g)})}),n[14]=g,n[15]=v,n[16]=T,n[17]=M):M=n[17];let N=i??x,P;n[18]===N?P=n[19]:(P=(0,p.jsx)(`h2`,{className:`text-start text-noninteractive-content-primary-content type-title2`,children:N}),n[18]=N,n[19]=P);let F=a??C,I;n[20]===F?I=n[21]:(I=(0,p.jsx)(`p`,{className:`text-start text-noninteractive-content-secondary-content type-body`,children:F}),n[20]=F,n[21]=I);let L;n[22]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,p.jsx)(o,{variant:`subtle`,className:`mx-internal-container-padding-tight w-full`}),n[22]=L):L=n[22];let R;n[23]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,p.jsx)(c,{}),n[23]=R):R=n[23];let z;n[24]!==m||n[25]!==k||n[26]!==_?(z=(0,p.jsx)(s,{as:`a`,href:m,target:`_blank`,rel:`noopener noreferrer`,background:`invisible`,label1:k,className:`w-full`,leadingIcon:R,onClick:_}),n[24]=m,n[25]=k,n[26]=_,n[27]=z):z=n[27];let B;n[28]!==P||n[29]!==I||n[30]!==z?(B=(0,p.jsxs)(`div`,{className:`flex flex-col gap-layout-vertical-group-of-items-tight self-stretch`,children:[P,I,L,z]}),n[28]=P,n[29]=I,n[30]=z,n[31]=B):B=n[31];let V;return n[32]!==A||n[33]!==j||n[34]!==M||n[35]!==B?(V=(0,p.jsxs)(`div`,{className:`flex h-full flex-col gap-layout-vertical-related-content-in-a-section-tight`,children:[A,j,M,B]}),n[32]=A,n[33]=j,n[34]=M,n[35]=B,n[36]=V):V=n[36],V};export{g as t};