PageSourceSearch

https://www.uatl.com/_next/static/chunks/1068.987cfaedc02ac2e8.js

js uatl.com collected 2026-10-02 17:26:36 UTC 9,154 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1068],{1068:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var a=l(95155),s=l(12115),i=l(20425),n=l(63505),r=l(3860),d=l(81311),o=l(35996);let c=(0,o.L)({base:"flex h-full flex-col items-center bg-white text-black"}),x=(0,o.L)({base:"flex w-full flex-1 flex-col items-start gap-8 bg-white px-5 pt-8",md:"md:px-12",lg:"lg:gap-14 lg:px-30"}),p=(0,o.L)({base:"pl-5",md:"md:pl-12",lg:"lg:pl-30"}),f=(0,o.L)({base:"flex w-full flex-col items-start gap-3 pr-5 pl-5",md:"md:flex-row md:gap-6 md:pr-12 md:pl-12",lg:"lg:pr-30 lg:pl-30"}),g=(0,o.L)({base:"flex-1 text-left text-[32px] leading-8 font-extrabold tracking-[-0.093px] text-black",lg:"lg:text-[56px] lg:leading-[60px] lg:font-bold lg:tracking-[-1.5px]"}),u=(0,o.L)({base:"flex-1 text-left font-serif text-base leading-6 font-normal tracking-[-0.093px] text-[#3B3B3B]",lg:"lg:text-[32px] lg:leading-10 lg:tracking-[-0.96px]"});function m({title:e,subtitle:t,currentIdx:l,totalCount:o,aspectRatio:h,isCarousel:v,slides:w,ctaText:b,ctaLink:j,onNext:k,onPrev:_,onClose:N,isFirst:C,isLast:y,setNavOverride:A}){let L=(0,s.useCallback)(()=>{(0,i.e)("new_promotions",l),k()},[k,l]),E=(0,s.useCallback)(()=>{(0,n.c)("new_promotions",l),_()},[_,l]);return(0,s.useEffect)(()=>{A({onNext:y?k:L,onPrev:E,onClose:N,isFirst:C,isLast:y})},[L,E,k,N,C,y,A]),(0,a.jsx)("div",{className:c,children:(0,a.jsxs)("div",{className:x,children:[(0,a.jsx)("div",{className:p,children:(0,a.jsx)(r.L,{currentIdx:l,totalCount:o})}),(0,a.jsxs)("div",{className:f,children:[e&&(0,a.jsx)("h2",{className:g,children:e}),t&&(0,a.jsx)("p",{className:u,children:t})]}),h&&w?.length?(0,a.jsx)(d.A,{aspectRatio:h,isCarousel:v,slides:w,ctaText:b,ctaLink:j}):null]})})}},3860:(e,t,l)=>{l.d(t,{L:()=>s});var a=l(95155);let s=({currentIdx:e,totalCount:t,leftSlant:l=!1})=>(0,a.jsxs)("div",{className:"relative z-1 inline-block shrink-0",children:[l&&(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"26",viewBox:"0 0 30 26",fill:"none",className:"absolute top-0 -left-2.25 -z-1 h-full w-auto lg:hidden",children:(0,a.jsx)("path",{d:"M22.9242 26H0L7.07576 0H30L22.9242 26Z",fill:"#EAEAEA"})}),(0,a.jsx)("div",{className:"bg-[#EAEAEA] px-3 py-1",children:(0,a.jsxs)("span",{className:"text-[12px] leading-4.5 font-semibold tracking-[-0.093px]",children:["Step ",e+1," of ",t]})}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"26",viewBox:"0 0 30 26",fill:"none",className:"absolute top-0 -right-2.25 -z-1 h-full w-auto",children:(0,a.jsx)("path",{d:"M22.9242 26H0L7.07576 0H30L22.9242 26Z",fill:"#EAEAEA"})})]})},20425:(e,t,l)=>{l.d(t,{e:()=>s});var a=l(47564);function s(e,t){(0,a.s)("User Onboarding Next Page Clicked",{onboarding_step:e,page_index:t,content_type:"onboarding"})}},62081:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(87817);let s=e=>{if(!e)return null;if(e.startsWith("http"))return e;let t="prod"!==(0,a.A)()?"https://sandbox.ajc.com":"https://ajc.com";return`${t}${e}`}},63505:(e,t,l)=>{l.d(t,{c:()=>s});var a=l(47564);function s(e,t){(0,a.s)("User Onboarding Previous Page Clicked",{onboarding_step:e,page_index:t,content_type:"onboarding"})}},63807:(e,t,l)=>{l.d(t,{H:()=>i});var a=l(47564);let s=new Map;function i(e){let t=e.page_url??window.location.href,l=function(e){if(e||"u"<typeof document)return e;let t=document.querySelector("[data-sticky-active][data-hide-subnav]");return t?.getAttribute("data-sticky-active")==="true"?"sticky":"cohort-navigation-header"===t?.dataset.feature?"Cohort":"Basic"}(e.header_type),i={...e,header_type:l,page_url:t},n=JSON.stringify({link_text:i.link_text,link_url:i.link_url,nav_type:i.nav_type,page_url:i.page_url}),r=Date.now(),d=s.get(n);if(!d||!(r-d<500)){if(s.set(n,r),s.size>100){let e=r-1e3;for(let[t,l]of s.entries())l<e&&s.delete(t)}(0,a.s)("Navigation Link Clicked",i)}}},81311:(e,t,l)=>{l.d(t,{A:()=>v});var a=l(95155),s=l(65596),i=l(39279),n=l(87817),r=l(12115),d=l(43459),o=l(41641),c=l(21362);let x=({Icon:e,side:t,gradient:l,onClick:s})=>(0,a.jsxs)("div",{className:`absolute top-0 ${t}-0 hidden h-full max-h-136 w-16 cursor-pointer items-center lg:flex`,onClick:s,children:[(0,a.jsx)("div",{className:`absolute inset-0 ${l} mix-blend-multiply`}),(0,a.jsx)(e,{className:"relative h-[39.141px] w-[39.141px] text-white"})]});var p=l(63807);let f=({ctaText:e,ctaLink:t})=>(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"block w-full rounded-lg border border-[#3B3B3B] py-2.75 text-center text-sm leading-4.5 font-medium tracking-[-0.013px] text-[#3B3B3B] md:w-[unset] md:px-[68.5px]",onClick:l=>{(0,p.H)({link_text:e,link_url:t,nav_type:"Sub nav",content_type:"onboarding"})},children:e});var g=l(62081);let u=({videoCenterId:e,aspectRatio:t})=>{let l=(0,n.A)();return(0,r.useEffect)(()=>{window.powaBoot&&window.powaBoot()},[e]),(0,a.jsx)("div",{className:"powa relative isolate h-full w-full",id:`powa-${e}`,"data-uuid":e,"data-org":"ajc","data-env":l,"data-api":l,"data-aspect-ratio":"9-16"===t?"1.778":"0.562","data-autoplay":"false","data-muted":"false","data-loop":"false","data-ads":"false","data-controls":"true"})},m=({slide:e,aspectRatio:t})=>{let l=e.title||e.description,s=!e.videoCenterId&&!!e.slideLink,n=(0,a.jsxs)("div",{className:"relative h-full w-full",children:[e.videoCenterId?(0,a.jsx)(u,{videoCenterId:e.videoCenterId,aspectRatio:t}):(0,a.jsx)("img",{className:"h-full w-full object-cover",src:(0,g.A)(e.mediaUrl)??void 0,alt:e.mediaAlt??""}),l&&(0,a.jsxs)("div",{className:(0,i.cn)("absolute inset-0 z-10 flex flex-col justify-end gap-1 bg-[linear-gradient(180deg,rgba(0,0,0,0.00)_0%,#000_100%)] p-4",e.videoCenterId&&"pointer-events-none"),children:[e.title&&(0,a.jsx)("p",{className:"text-base leading-5 font-semibold text-white",children:e.title}),e.description&&(0,a.jsx)("p",{className:"text-sm leading-5 text-white/80",children:e.description})]})]});return s?(0,a.jsx)("a",{href:e.slideLink,target:"_blank",rel:"noopener noreferrer",className:"block h-full w-full",children:n}):n},h=({slides:e,aspectRatio:t,ctaText:l,ctaLink:s})=>{let n="9-16"===t,p="16-9"===t,[g,u]=(0,r.useState)(0),[h,v]=(0,r.useState)(!1),[w,b]=(0,r.useState)(!1),[j,k]=(0,d.A)({loop:!1,align:"start",containScroll:"trimSnaps"}),_=(0,r.useCallback)(()=>{k&&(u(k.selectedScrollSnap()),v(k.canScrollPrev()),b(k.canScrollNext()))},[k]),N=!h&&!w,C=Math.max(0,Math.min(g-Math.floor(2),e.length-4)),y=e.slice(C,C+4);return(0,r.useEffect)(()=>
1{if(k)return(0,r.startTransition)(_),k.on("select",_),k.on("reInit",_),()=>{k.off("select",_),k.off("reInit",_)}},[k,_]),(0,a.jsxs)("div",{"data-feature":"onboarding_promotion_carousel",className:(0,i.cn)("w-full py-8","9-16"===t?"pl-5 md:pl-12 lg:pl-30":"pl-5 pr-5 md:pl-12 md:pr-0 lg:pl-30"),children:[(0,a.jsxs)("div",{className:"relative w-full overflow-hidden",ref:j,children:[(0,a.jsx)("div",{className:(0,i.cn)("flex","gap-4"),children:e.map((l,s)=>(0,a.jsx)("div",{className:(0,i.cn)("h-full flex-[0_0_100%]",n&&"aspect-9/16 max-h-136 flex-[0_0_85%] md:flex-[0_0_33%] lg:flex-[0_0_18.5%]",s===e.length-1&&!N&&"pr-5",p&&"aspect-video md:flex-[0_0_62.5%] lg:flex-[0_0_45%]"),children:(0,a.jsx)(m,{slide:l,aspectRatio:t})},l.id??s))}),h&&!N&&(0,a.jsx)(x,{Icon:o.A,side:"left",gradient:"bg-[linear-gradient(270deg,transparent_20.19%,#2C2C2C_100%)]",onClick:()=>k?.scrollPrev()}),w&&!N&&(0,a.jsx)(x,{Icon:c.A,side:"right",gradient:"bg-[linear-gradient(90deg,transparent_20.19%,#2C2C2C_100%)]",onClick:()=>k?.scrollNext()})]}),e.length>1&&(0,a.jsxs)("div",{className:(0,i.cn)("flex w-full flex-col items-center justify-center gap-y-5 bg-white pt-5 pr-5 pb-8 md:flex-row-reverse md:justify-between md:pr-12 lg:pr-30"),children:[(0,a.jsx)("div",{className:"flex items-center justify-center gap-1",children:!N&&y.map((t,l)=>{let s=C+l,n=0===l&&C>0||3===l&&C+4<e.length,r=(0===l||3===l)&&n?0===l?"linear-gradient(270deg, #838383 0.22%, rgba(131, 131, 131, 0.00) 96.4%)":"linear-gradient(90deg, #838383 0.22%, rgba(131, 131, 131, 0.00) 96.4%)":void 0;return(0,a.jsx)("button",{onClick:()=>k?.scrollTo(s),"aria-label":`Go to slide ${s+1}`,className:(0,i.cn)("h-1 rounded-full transition-all duration-300",s===g?"w-[34.791px] bg-[#003FCC]":"w-[16.75px] bg-[#6E6E6E]"),style:r?{maskImage:r,WebkitMaskImage:r}:void 0},s)})}),l&&s&&(0,a.jsx)(f,{ctaText:l,ctaLink:s})]})]})};function v({aspectRatio:e,isCarousel:t,slides:l,ctaText:r,ctaLink:d}){if(!l?.length)return null;let o=(0,n.A)(),c=l.some(e=>e.videoCenterId);return(0,a.jsxs)("div",{className:"w-full bg-white",children:[c&&(0,a.jsx)(s.default,{id:"powaVideoScript",src:`https://d328y0m0mtvzqc.cloudfront.net/${o}/powaBoot.js?org=ajc`,strategy:"afterInteractive",onLoad:()=>window.powaBoot?.()}),t?(0,a.jsx)(h,{slides:l,aspectRatio:e,ctaText:r,ctaLink:d}):(0,a.jsxs)("div",{className:"flex flex-col gap-5 px-5 py-8 md:px-12 lg:px-30",children:[(0,a.jsx)("div",{className:(0,i.cn)("mx-auto w-full overflow-hidden","9-16"===e?"aspect-9/16 max-h-155 max-w-87.5":"aspect-video max-w-2xl lg:max-w-199.5"),children:(0,a.jsx)(m,{slide:l[0],aspectRatio:e})}),r&&d&&(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(f,{ctaText:r,ctaLink:d})})]})]})}}}]);

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.