1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="682d61ee-a55f-a93a-29e0-5e9b22644172")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,651946,e=>{"use strict";var l=e.i(843476),t=e.i(340054),s=e.i(996499),a=e.i(464916),r=e.i(271645),i=e.i(282877),n=e.i(522016),c=e.i(580241);function d({className:e="",fill:t="black",width:s=174,height:a=16,...r}){return(0,l.jsxs)("svg",{width:s,height:a,viewBox:"0 0 173.84 16.1",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...r,children:[(0,l.jsx)("path",{d:"M5.01 16.1V1.79H0V0h11.94v1.79H6.92V16.1H5.01Z",fill:t}),(0,l.jsx)("path",{d:"M17.72 16.1V0h1.88v6.99h7.27V0h1.89v16.1h-1.89V8.65H19.6v7.45h-1.88Z",fill:t}),(0,l.jsx)("path",{d:"M35.72 16.1V0h9.66v1.79h-7.77v5.16h7.13v1.7h-7.13v5.65h7.77v1.8h-9.66Z",fill:t}),(0,l.jsx)("path",{d:"M58.22 15.96 64.22.23h2.32l5.98 15.73h-2.09l-1.66-4.25H61.9l-1.66 4.25h-2.02Zm4.27-6.02h5.69L65.33 2.37 62.49 9.94Z",fill:t,opacity:"0.3"}),(0,l.jsx)("path",{d:"M77.11.23h10.02v1.8h-8.07v5.04h6.72v1.79h-6.72v5.31h8.36v1.79H77.11V.23Z",fill:t}),(0,l.jsx)("path",{d:"M92.43.23h4.65c1.62 0 3.02.33 4.2.99a6.5 6.5 0 0 1 2.74 2.74 8.34 8.34 0 0 1 .97 4.14c0 1.56-.32 2.94-.97 4.13a6.6 6.6 0 0 1-2.74 2.77c-1.18.64-2.58.96-4.2.96h-4.65V.23Zm4.65 13.94c1.87 0 3.32-.55 4.36-1.64 1.03-1.1 1.55-2.57 1.55-4.43 0-1.87-.52-3.35-1.55-4.43-1.02-1.09-2.47-1.64-4.36-1.64h-2.7v12.14h2.7Z",fill:t}),(0,l.jsx)("path",{d:"M110.27.23h1.95v15.74h-1.95V.23Z",fill:t}),(0,l.jsx)("path",{d:"M117.11.23h12.16v1.8h-5.1v13.94h-1.96V2.03h-5.1V.23Z",fill:t}),(0,l.jsx)("path",{d:"M134.17.23h1.95v15.74h-1.95V.23Z",fill:t}),(0,l.jsx)("path",{d:"M156.41 8.1c0 1.53-.33 2.9-.97 4.11a7.07 7.07 0 0 1-2.65 2.86c-1.14.69-2.44 1.03-3.89 1.03-1.45 0-2.75-.34-3.89-1.03a7.22 7.22 0 0 1-2.67-2.86 8.84 8.84 0 0 1-.94-4.11c0-1.53.31-2.9.94-4.12a7.22 7.22 0 0 1 2.67-2.85A7.34 7.34 0 0 1 148.9.1c1.45 0 2.75.35 3.89 1.04a7.07 7.07 0 0 1 2.65 2.85c.64 1.21.97 2.59.97 4.11Zm-13.01 0c0 1.2.23 2.27.69 3.21a5.53 5.53 0 0 0 1.93 2.2c.84.53 1.8.79 2.88.79 1.08 0 2.03-.26 2.85-.79a5.28 5.28 0 0 0 1.96-2.2c.46-.94.69-2.01.69-3.21 0-1.2-.23-2.26-.69-3.19a5.28 5.28 0 0 0-1.96-2.2 5.1 5.1 0 0 0-2.85-.81c-1.08 0-2.04.27-2.88.81a5.33 5.33 0 0 0-1.93 2.2 7.11 7.11 0 0 0-.69 3.19Z",fill:t}),(0,l.jsx)("path",{d:"M161.69 15.96V.23h1.79l8.45 12.14V.23h1.91v15.74h-1.8l-8.45-12.14v12.14h-1.9Z",fill:t})]})}var o=e.i(481899),m=e.i(519455);let h=({topArticles:e,articlesByCollection:t,collections:s})=>{let[a,i]=(0,r.useState)("0"),[h,x]=(0,r.useState)(e);return(0,r.useEffect)(()=>{"0"===a?x(e):x(t.filter(e=>e[0].collection_id===a)[0])},[a]),(0,l.jsxs)("section",{className:"w-full",children:[(0,l.jsx)("div",{className:(0,o.cn)("h-[23rem] w-full pt-[9vw] mb-[-20.75rem] bg-cover bg-[80%]","md:h-[32rem] md:pt-20 md:mb-[-29rem]"),style:{backgroundImage:"url(https://res.cloudinary.com/aedit/image/upload/c_scale,f_auto,q_auto/e_blur:5000/website/pages/homepage/beuro/home-background-aedition-min.jpg)"}}),(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-col items-center min-h-[37rem] w-full pt-[5vw]","md:justify-evenly md:pt-[3vw]"),children:[(0,l.jsx)(n.default,{href:"/aedition","aria-label":"The AEDITION",children:(0,l.jsx)(d,{fill:"white",className:"w-[174px] h-4"})}),(0,l.jsxs)("h2",{className:(0,o.cn)("w-full text-center text-white t-subsection-header pt-8 pb-2","md:pt-12 md:pb-14"),children:["On-the-pulse editorial content in support of ",(0,l.jsx)("br",{})," every step of your aesthetic journey."]}),(0,l.jsx)("div",{className:(0,o.cn)("hidden text-white justify-around w-full px-20 pb-14","md:flex"),children:s.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col text-center justify-end w-full group",children:[(0,l.jsx)("p",{className:(0,o.cn)(["t-breadcrumb",a===e.id?"font-bold cursor-default":"cursor-pointer"]),onClick:()=>i(e.id),children:e.title},e.id),(0,l.jsx)("div",{className:(0,o.cn)(["bg-gold h-[1.75px] w-full mt-7 transition-all duration-200 group-hover:bg-white",a===e.id&&"bg-white"])})]},`collection-${t}`))}),(0,l.jsx)("div",{className:(0,o.cn)("flex justify-around w-full px-[7vw]","md:px-0"),children:h.map(e=>(0,l.jsx)("div",{className:(0,o.cn)("h-fit max-w-100 animate-in fade-in duration-1000 fill-mode-forwards","hidden [&:first-of-type]:block md:block","md:w-1/4"),children:(0,l.jsxs)(n.default,{href:`/aedition/${e.slug}`,children:[(0,l.jsx)("p",{className:"t-chiclet relative top-9 left-3 bg-white text-center w-fit roun
2ded-full py-1 px-3 z-10",children:e.collection.title}),(0,l.jsx)("div",{className:"h-[12.5rem] w-full overflow-hidden rounded-xl",children:(0,l.jsx)(c.default,{crop:"fill",height:200,publicId:e.articleImage.src,alt:e.articleImage.description||e.title,className:"transition-all duration-200 hover:scale-110 rounded-xl"})}),(0,l.jsx)("h2",{className:"t-subsection-header mb-1 mt-3",children:e.title}),(0,l.jsx)("p",{className:"t-body",children:e.intro})]})},e.id))})]}),(0,l.jsx)(n.default,{href:"/aedition",className:(0,o.cn)("flex justify-center w-full pt-8 px-6 pb-14","md:pb-[5.5rem]"),children:(0,l.jsx)(m.Button,{className:"w-full md:w-auto",children:"Discover more articles"})})]})};e.i(278161);var x=e.i(689284);e.i(965636);var u=e.i(825743),p=e.i(529887);let f=({aeditorTitle:e,aeditorText:t})=>{let s=t.split("\n").filter(e=>e);return(0,l.jsxs)("section",{className:(0,o.cn)("flex flex-col justify-between bg-white","lg:flex-row lg:h-[50rem]! lg:border-t-2 lg:border-ivory","xxl:h-[42rem]!"),children:[(0,l.jsx)("div",{className:(0,o.cn)("h-100","lg:h-full lg:w-1/2"),children:(0,l.jsx)(c.default,{publicId:"/website/pages/homepage/beuro/home-aeditor-model-with-line.png",className:"w-full h-full object-cover",alt:"Model"})}),(0,l.jsxs)("div",{className:(0,o.cn)("pt-14 px-[7vw]","lg:w-1/2 lg:flex lg:flex-col lg:justify-center"),children:[(0,l.jsx)("h2",{className:"t-section-header ",children:e}),(0,l.jsxs)("span",{className:"uppercase t-overline flex items-center gap-1",children:["powered by ",(0,l.jsx)(x.AeditLogo,{size:"small"})]}),(0,l.jsx)("h3",{className:"t-subsection-header pt-6 pb-4",children:"Visualize Your Ideal Aesthetic"}),s.map((e,t)=>(0,l.jsx)("p",{className:(0,o.cn)("t-body",{"mt-8":0!==t}),children:e},t)),(0,l.jsx)("div",{className:(0,o.cn)("flex justify-between pb-14 mt-10","lg:pb-8 lg:w-full"),children:(0,l.jsx)(u.AppStoreButton,{})})]})]})},g=e=>(0,p.useFlags)(["app_module"]).app_module.enabled?(0,l.jsx)(f,{...e}):(0,l.jsx)(l.Fragment,{});var b=e.i(834298);let j=({heroTitle:e,heroDescription:t,heroImage:s})=>(0,l.jsx)("section",{children:(0,l.jsxs)("div",{className:(0,o.cn)("flex items-start justify-between w-full bg-cover [background-position-x:20%] bg-no-repeat px-8",'bg-[url("https://images.ctfassets.net/zw35sfestf1t/77uaNjlbXhZ9PqhKpGX3SL/ed9fbc24427a6aed302a19858069e0e6/heroBanner.png")]',"lg:p-0 lg:bg-none"),children:[(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-col text-left max-w-[37rem] w-full h-full text-green mx-auto mt-20 mb-15","lg:max-w-[48rem] md:ml-[10vw] md:mt-[5rem] md:mb-[3.75rem]"),children:[(0,l.jsx)(b.LogoIcon,{width:112,height:26,fill:"#182927",markOpacity:.6}),(0,l.jsx)("h1",{className:"font-GT-Super-Display my-8 text-5xl",children:e}),(0,l.jsx)("p",{className:"t-subsection-header text-charcoal",children:t})]}),(0,l.jsx)(c.default,{publicId:s.src,className:(0,o.cn)("hidden h-[30rem] object-cover object-top max-w-[720px]","lg:block lg:w-[40%]","xxl:w-[60%]")})]})});var w=e.i(159397),v=e.i(456075),N=e.i(216686),y=e.i(480808),k=e.i(171114);let I=()=>{let[e,t]=(0,r.useState)(""),s=async l=>{if(l.preventDefault(),!e)return void w.toast.error({title:"Please enter an email address"});try{await N.default.post("/v1/newsletter",{email:e}),l.target.reset(),i.Track.newsletterSignupSubmitted(e),w.toast.success({title:"Thanks for signing up for The Weekly AEDIT."})}catch(e){"This email address is already subscribed"===e.message?w.toast.info({title:`${e.message}.`}):(0,v.toastError)(e,{message:"Failed to subscribe to newsletter"})}};return(0,l.jsx)("section",{className:(0,o.cn)("flex flex-col bg-white py-14","md:h-[15.5rem]"),children:(0,l.jsxs)("div",{className:"w-full max-w-page mx-auto px-6 md:flex md:gap-x-12",children:[(0,l.jsx)("div",{className:(0,o.cn)("md:w-6/12","md:flex md:self-center"),children:(0,l.jsx)("h2",{className:"t-section-header mb-4 md:mb-0",children:"Want the latest aesthetic and beauty news delivered straight to your inbox?"})}),(0,l.jsxs)("form",{className:(0,o.cn)("md:w-6/12","md:self-center"),onSubmit:s,children:[(0,l.jsx)("label",{htmlFor:"email",className:"font-medium t-overline leading-6 text-black uppercase w-full text-left",children:"Sign up for the Weekly AEDIT newsletter"}),(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-col gap-2 mt-4","md:flex-row md:mt-2"),children:[(0,l.jsx)(y.Input,{name:"email",placeholder:"Email address",type:"email",label:"Sign up for the Weekly AEDIT newsletter",className:"h-12 text-black placeholder:text-dark-gray md:self-end",value:e,onCh
2ange:e=>t(e.target.value)}),(0,l.jsxs)(m.Button,{type:"submit",className:(0,o.cn)("w-full","md:self-end md:flex-1"),disabled:!e,children:[(0,l.jsx)("span",{className:"t-body-sm",children:"Sign up"}),(0,l.jsx)(k.default,{width:16,height:16,className:"inline-block align-middle"})]})]})]})]})})};var A=e.i(47783);let S=({procedures:e=[]})=>(0,l.jsxs)("section",{className:(0,o.cn)("flex flex-col items-center mx-4 pt-18 pb-14","md:pt-24 md:pb-20"),children:[(0,l.jsx)("h2",{className:"t-subsection-header",children:"Explore AEDIT's Concern & Solution Database"}),(0,l.jsx)("div",{className:(0,o.cn)("flex flex-col flex-wrap w-full my-6","md:flex-row md:justify-evenly"),children:e.map(e=>e&&(0,l.jsxs)(n.default,{className:(0,o.cn)("flex items-center w-full ","","md:flex-col md:h-[17rem] md:w-[16vw] md:mx-4 md:pt-4"),href:`/procedure/${e.slug}`,"data-cy":`${e.slug}-link`,children:[(0,l.jsx)("div",{className:(0,o.cn)("w-14 h-14 my-2 mr-4 ml-2 overflow-hidden rounded-full","md:w-40 md:h-40 md:my-4 md:mx-0"),children:(0,l.jsx)(c.default,{publicId:e.image,alt:e.value,className:"bg-transparent rounded-full transition-transform duration-200 hover:scale-110"})}),(0,l.jsx)("p",{className:"t-body-sm cursor-pointer",children:e.value})]},e.entity_id))}),(0,l.jsx)(n.default,{href:"/procedures","data-cy":"procedures-link",className:"w-full md:w-auto",children:(0,l.jsx)(m.Button,{className:"w-full md:w-auto",children:"Explore Database"})})]});function E({title:e,onClick:t,disabled:s}){return(0,l.jsx)("button",{className:(0,o.cn)("relative py-2 px-4 min-w-fit flex-1 rounded-t-xl text-green min-h-10 flex flex-col justify-between items-center whitespace-nowrap transition-all",'before:content-[""] before:absolute before:bottom-6 before:opacity-0 before:w-4/5 before:h-0 before:bg-gold before:transition-all',s?"bg-ivory disabled-bordered before:h-[1px] before:opacity-100 before:bottom-0":"bg-gold hover:bg-gold-hover"),onClick:t,disabled:s,children:(0,l.jsx)("span",{className:"t-overline uppercase leading-6",children:e})})}function T({headerImage:e}){let[t,s]=(0,r.useState)(0);return(0,l.jsxs)("div",{className:(0,o.cn)("rounded-2xl w-full bg-ivory relative","lg:h-170 xxl:h-158 lg:flex lg:flex-col"),children:[(0,l.jsxs)("header",{className:"flex flex-col justify-end gap-6 h-52 bg-cover bg-no-repeat rounded-t-2xl scale-101 object-[top_5%_right_50%]",style:{backgroundImage:`url('${e}')`},children:[(0,l.jsx)("div",{className:"w-full pl-6 lg:pl-10",children:(0,l.jsx)(b.LogoIcon,{width:108,height:24,fill:"white"})}),(0,l.jsxs)("div",{className:"flex items-end gap-2 w-full px-2 lg:px-10",children:[(0,l.jsx)(E,{title:"AI Plastic Surgeonâ¢",disabled:0===t,onClick:()=>s(0)}),(0,l.jsx)(E,{title:"THE AEDITIONâ¢",disabled:1===t,onClick:()=>s(1)})]})]}),(0,l.jsx)("h4",{className:"t-overline uppercase text-gold mx-6 md:mx-10 mt-6 leading-6 md:leading-8",children:0===t?"cosmetic assessment":"editorial"}),(0,l.jsx)("p",{className:"text-charcoal mx-6 md:mx-10 t-body leading-6",children:0===t?"Get an in-depth cosmetic assessment of your face and neck with medically accurate measurements and personalized feedback.":"Stay up-to-date on the latest beauty news and aesthetics trends with our curated digital publication."}),0===t?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h4",{className:"t-overline uppercase text-gold mt-2 mx-6 md:mx-10 leading-6 md:leading-8",children:"try on procedures"}),(0,l.jsx)("p",{className:"text-charcoal mx-6 md:mx-10 t-body leading-6",children:'Using personalized information, virtually "try-on" popular cosmetic procedures with the AI Plastic Surgeonâ¢.'}),(0,l.jsx)("p",{className:"t-overline-sm uppercase text-dark-gray-hover mt-2 mx-6 md:mx-10",children:"*Available Exclusively in the iOS App store"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h4",{className:"t-overline uppercase text-gold mt-2 mx-6 md:mx-10 leading-6 md:leading-8",children:"concern + solution database"}),(0,l.jsx)("p",{className:"text-charcoal mx-6 md:mx-10 t-body leading-6",children:"Research surgical and non-surgical treatments with our medically accurate procedure guides that break down everything you need to know about cost, recovery, results, and more."})]}),(0,l.jsx)("div",{className:(0,o.cn)("m-6 w-[calc(100%-3rem)]","md:pt-4 md:mt-auto md:mb-10 md:ml-10"),
2children:(0,l.jsx)(n.default,{href:0===t?"/aeditor-app":"/aedition",children:(0,l.jsx)(m.Button,{children:0===t?"Download the App":"Explore the AEDITIONâ¢"})})})]})}var C=e.i(103615),_=e.i(426892);function M({headerImage:e}){let[t,s]=(0,r.useState)(0),a=(0,_.useShowAeditFlows)();return(0,l.jsxs)("div",{className:(0,o.cn)("rounded-2xl w-full bg-ivory relative","lg:h-170 xxl:h-158 lg:flex lg:flex-col"),children:[(0,l.jsxs)("header",{className:"flex flex-col justify-end gap-6 h-52 bg-cover bg-no-repeat rounded-t-2xl scale-101 object-[top_5%_right_50%]",style:{backgroundImage:`url('${e}')`,backgroundPosition:"bottom"},children:[(0,l.jsxs)("div",{className:(0,o.cn)("flex items-baseline gap-4 pl-6 flex-col","sm:flex-row sm:gap-2","lg:flex-col lg:gap-4 lg:pl-10","xl:flex-row xl:gap-2"),children:[(0,l.jsx)(b.LogoIcon,{width:108,height:24,fill:"white"}),(0,l.jsx)("span",{className:"font-maison font-normal leading-6 text-[2rem] text-white whitespace-nowrap",children:"Cosmetic Wellness"})]}),(0,l.jsxs)("div",{className:"flex items-end gap-2 w-full px-2 lg:px-10",children:[(0,l.jsx)(E,{title:"Treatments",disabled:0===t,onClick:()=>s(0)}),(0,l.jsx)(E,{title:"Medshop",disabled:1===t,onClick:()=>s(1)})]})]}),(0,l.jsx)("h4",{className:"t-overline uppercase text-gold mx-6 md:mx-10 mt-6 leading-6 md:leading-8",children:0===t?"the expertise of AEDITâ¢, now in a medspa":"meet our virtual storefront"}),(0,l.jsx)("p",{className:"text-charcoal mx-6 md:mx-10 t-body leading-6",children:0===t?"Bring your âtry-onsâ to life at AEDIT Cosmetic Wellness. Our elite team uniquely integrates wellness therapies, top tier aesthetic treatments, physician expertise and cutting-edge technology to natural, bespoke results.":"Welcome to the AEDIT Medshop, our standard for aesthetic and wellness solutions. Each product is science-backed and carefully selected to target skin concerns, enhance treatment results, and support faster recovery from procedures. Weâve taken out the guesswork so you can shop with confidence, knowing youâre choosing whatâs right for you."}),(0,l.jsx)("h4",{className:"t-overline uppercase text-gold mx-6 md:mx-10 mt-2 leading-6 md:leading-8",children:0===t?"AEDIT Cosmetic Wellness LA":"curated products"}),(0,l.jsx)("p",{className:"text-charcoal mx-6 md:mx-10 t-body leading-6",children:0===t?(0,l.jsxs)(l.Fragment,{children:["8302-A Melrose Avenue ",(0,l.jsx)("br",{}),"Los Angeles, CA 90069"]}):"Explore skincare essentials, pre and post treatment support, procedure enhancements, or even treatment alternatives, we've got you covered."}),0===t?(0,l.jsxs)("div",{className:(0,o.cn)("flex flex-col gap-3","md:pt-4 md:mt-auto md:mb-10 md:ml-10","xxl:flex-row"),children:[a&&(0,l.jsx)(m.Button,{onClick:()=>(0,C.showBuyModal)("booking"),className:(0,o.cn)("mt-6 mx-6 w-[calc(100%-3rem)]","md:w-fit md:m-0"),children:"Book Now"}),(0,l.jsx)(n.default,{href:"/aedit-medspa",children:(0,l.jsx)(m.Button,{variant:"ghost-black",className:(0,o.cn)("mb-6 mx-6 w-[calc(100%-3rem)]",!a&&"mt-6","md:w-fit md:m-0"),children:"About AEDIT Cosmetic Wellness"})})]}):(0,l.jsx)("div",{className:(0,o.cn)("m-6 w-[calc(100%-3rem)]","md:pt-4 md:mt-auto md:mb-10 md:ml-10"),children:(0,l.jsx)(m.Button,{disabled:!0,children:"Coming Soon"})})]})}function V({firstMainFeatureImage:e,secondMainFeatureImage:t}){return(0,l.jsxs)("div",{className:(0,o.cn)("flex w-[calc(100%-3rem)] mx-auto min-w-[312px] flex-col-reverse justify-center gap-6 relative -top-12","lg:flex-row lg:w-[calc(100%-15.5rem)] lg:-top-24"),children:[(0,l.jsx)(T,{headerImage:e.src}),(0,l.jsx)(M,{headerImage:t.src})]})}var D=e.i(477570);function Z({treatment:e}){return(0,l.jsx)(n.default,{href:`/${e.treatmentSlug}`,className:"w-full",children:(0,l.jsxs)("div",{className:"flex rounded-xl bg-ivory w-full min-h-48 lg:min-w-80",children:[(0,l.jsx)(c.default,{publicId:e.treatmentImage.src,className:"w-[15%] object-cover rounded-l-xl"}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 py-4 px-6 flex-1",children:[(0,l.jsxs)("header",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("h4",{className:"text-black t-subsection-header",children:e.treatmentName}),(0,l.jsxs)("span",{className:"t-overline text-gold leading-4",children:["$",e.price]})]}),(0,l.jsx)("div",{className:"text-2xl",children:(0,l.jsx)(D.default,{direction:"right",stroke:"black"})})]}),e.childrenProcedures.length>0&&(0,l.jsxs)("span",{className:"t-overline uppercase text-black leading-4 text-xxs",children:[e.childrenProcedures[0].procedureName," ",e.childrenProcedures.length>1&&`and ${e.childrenProcedures.length-1} other procedure${e.childrenProcedures.length>2?"s":""}`]}),(0,l.jsx)("span",{className:"text-black t-body-sm leading-4",children:e.shortBlurb})]})]})})}function P({packagesImage:e,mappedPackages:t}){return(0,l.jsxs)("div",{className:"flex w-full items-center justify-between mx-auto gap-10 bg-green",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-8 w-full mx-6 mb-10 lg:ml-[112px] lg:mr-auto lg:mb-0",children:[(0,l.jsx)("h3",{className:"text-white text-l-section-header font-GT-Super-Display",children:"Extra savings with AEDIT Medspa Packages"}),(0,l.jsx)("div",{className:"flex flex-col items-center gap-4 lg:flex-row",children:t.map(e=>(0,l.jsx)(Z,{treatment:e},e.id))}),(0,l.jsxs)(n.default,{href:"procedures",className:"flex items-center gap-3",children:[(0,l.jsx)("span",{className:"t-body text-white underline",children:"Explore all packages"}),(0,l.jsx)(k.default,{direction:"right",stroke:"white"})]})]}),(0,l.jsx)(c.default,{publicId:e,className:"w-full max-w-[37rem]! rounded-tl-2xl hidden lg:block"})]})}let B=e=>{let{heroTitle:n,heroDescription:c,heroImage:d,firstMainFeatureImage:o,secondMainFeatureImage:m,mappedPackages:x,packagesImage:u,aeditorTitle:p,aeditorText:f,collections:b,topArticles:w,articlesByCollection:v,procedures:N,press:y}=e;(0,r.useEffect)(()=>{i.Track.homepageLoaded()},[]);let k=(0,_.useShowAeditFlows)();return(0,l.jsxs)(s.default,{id:"t__home-page-v2",className:"overflow-hidden bg-ivory",hiddenElements:["container"],children:[(0,l.jsx)(a.default,{}),(0,l.jsx)(j,{heroTitle:n,heroDescription:c,heroImage:d}),(0,l.jsx)("div",{className:"green-wrapper relative min-h-auto w-full bg-[rgb(28,47,44)] border-0 lg:min-h-[calc(45rem-4rem)] xxl:min-h-[calc(39.5rem-4rem)]",children:(0,l.jsx)(V,{firstMainFeatureImage:o,secondMainFeatureImage:m})}
2),k&&(0,l.jsx)(P,{mappedPackages:x,packagesImage:u?.src}),(0,l.jsx)(g,{aeditorTitle:p,aeditorText:f}),(0,l.jsx)(h,{collections:b,topArticles:w,articlesByCollection:v}),(0,l.jsx)(I,{}),(0,l.jsx)(S,{procedures:N}),(0,l.jsx)(A.default,{slides:y}),(0,l.jsx)(t.default,{})]})};var F=e.i(854278);e.s(["default",0,function(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(F.WebVitals,{}),(0,l.jsx)(B,{...e})]})}],651946)},340054,e=>{"use strict";var l=e.i(843476),t=e.i(271645),s=e.i(745009),a=e.i(522016),r=e.i(156577),i=e.i(529887),n=e.i(481899),c=e.i(283599),d=e.i(216686),o=e.i(456075),m=e.i(8719),h=e.i(159397),x=e.i(681307);let u=x.z.object({show:x.z.string(),route:x.z.string()}).strip(),p=x.z.object({locations:x.z.array(u),specialties:x.z.array(u),procedures:x.z.array(u)}).strip(),f={locations:[],specialties:[],procedures:[]};async function g(e){let l=await d.websiteApi.get(e);return p.parse(l.data)}function b(e){let l=(0,o.formatApiError)(e);(0,m.reportAppError)(e,{message:`[find-a-provider] ${l.message}`,context:{code:l.code,httpStatus:l.httpStatus,scope:"find-a-provider"}}),h.toast.error({description:l.message})}let j=e=>{let t=(0,i.useFlags)(["seo_location_flag"]);return t?.seo_location_flag?.enabled?(0,l.jsx)(w,{...e}):(0,l.jsx)(l.Fragment,{})},w=e=>{let{className:s="",...i}=e,{findAProvider:d,isLoading:o}=function(){let{data:e,error:l,isLoading:t,mutate:s}=(0,c.default)("/v1/find-a-provider",g,{dedupingInterval:3e5,fallbackData:f,revalidateOnFocus:!1,revalidateOnReconnect:!1,onError:b});return{findAProvider:e??f,isLoading:t,error:l,mutate:s}}(),[m,h]=(0,t.useState)("Locations");if(o||!d?.locations?.length)return null;let x=[{list:(0,r.alphabeticalSort)(d.locations,"show"),name:"Locations"},{list:(0,r.alphabeticalSort)(d.specialties,"show"),name:"Specialties"},{list:(0,r.alphabeticalSort)(d.procedures,"show"),name:"Procedures"}];return(0,l.jsx)("section",{className:"bg-white",children:(0,l.jsx)("div",{className:(0,n.cn)("w-full max-w-page mx-auto px-6 py-12 md:pt-24 md:pb-26",s),...i,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"t-section-header mb-2",children:"Find Affiliate Providers"}),(0,l.jsx)("div",{className:(0,n.cn)("flex w-full mb-4","border-b-2 border-ivory-hover"),children:["Locations","Specialties","Procedures"].map(e=>(0,l.jsx)("span",{role:"button",tabIndex:0,className:(0,n.cn)('t-overline mr-8 cursor-pointer pb-3 inline-block relative translate-y-0.5 after:content-[""] after:block after:absolute after:w-full after:bottom-0 after:left-0 after:transition-all after:duration-200',m===e?"after:bg-gold after:h-0.5":"after:bg-transparent after:h-0 hover:after:bg-gold hover:after:h-0.5"),onClick:()=>h(e),children:e},e))}),x.map(({list:e,name:t})=>(0,l.jsxs)("div",{className:(0,n.cn)(t===m?"block":"hidden"),children:[(0,l.jsxs)("h3",{className:"t-body-bold my-2",children:["Providers by ",t]}),(0,l.jsx)("ul",{className:"grid p-0 gap-x-6 grid-rows-[auto_1fr] md:grid-flow-col md:grid-rows-[repeat(5,_1fr)] lg:grid-rows-[repeat(4,_1fr)]",children:e.map(e=>(0,l.jsx)("li",{className:"t-body col-span-3 underline text-ellipsis whitespace-nowrap overflow-x-hidden",children:(0,l.jsx)(a.default,{href:e.route,target:"_blank",rel:"noopener",children:e.show})},e.show))})]},t))]})})})};j.propTypes={className:s.default.string},e.s(["default",0,j],340054)},834298,e=>{"use strict";var l=e.i(843476),t=e.i(271645);e.s(["LogoIcon",0,function({className:e="",width:s=124,height:a=16,fill:r="black",markOpacity:i=.5,...n}){let c=(0,t.useId)();return(0,l.jsxs)("svg",{width:s,height:a,className:e,viewBox:"0 0 108 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,l.jsxs)("g",{clipPath:`url(#${c})`,children:[(0,l.jsx)("path",{d:"M27.79 0H43.2v2.74H30.8v7.68h10.33v2.75H30.8v8.09h12.85V24H27.8V0Z",fill:r}),(0,l.jsx)("path",{d:"M51.34 0h7.16c2.48 0 4.64.5 6.46 1.5 1.84 1 3.25 2.39 4.22 4.2.98 1.8 1.48 3.9 1.48 6.3s-.5 4.48-1.48 6.3a10.24 10.24 0 0 1-4.22 4.23A13.4 13.4 0 0 1 58.5 24h-7.16V0Zm7.16 21.26c2.88 0 5.11-.84 6.7-2.5 1.59-1.67 2.38-3.93 2.38-6.76 0-2.83-.79-5.1-2.38-6.75-1.57-1.67-3.8-2.5-6.7-2.5h-4.15v18.5h4.15Z",fill:r}),(0,l.jsx)("path",{d:"M78.78 0h3v24h-3V0Z",fill:r}),(0,l.jsx)("path",{d:"M89.3 0H108v2.74h-7.84V24h-3.01V2.74h-7.84V0Z",fill:r}),(0,l.jsx)("path",{opacity:i,d:"M0 24 9.02 0h3.47l8.98 24h-3.14l-2.5-6.48H5.54L3.04 24H0Zm6.41-9.19h8.55L10.67 3.26 6.41 14.8Z",fill:r})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:c,children:(0,l.jsx)("rect",{width:"108",height:"24",fill:"white"})})})]})}])},996499,929158,e=>{"use strict";var l=e.i(843476),t=e.i(481899);let s=({children:e,style:s={},className:a="",id:r="",onClick:i})=>(0,l.jsx)("div",{className:(0,t.cn)("w-full mx-auto px-4 wide:max-w-[1136px] wide:px-2",a),style:s,id:r,onClick:i,children:e});e.s(["Container",0,s],929158);var a=e.i(343794),r=e.i(129549);e.s(["default",0,({children:e,hiddenElements:t=[],className:i="",id:n=""})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:n,className:(0,a.default)("flex-1",{[i]:i}),children:t.includes("container")?e:(0,l.jsx)(s,{children:e})}),!t.includes("footer")&&(0,l.jsx)(r.default,{})]})],996499)},47783,e=>{"use strict";var l=e.i(843476),t=e.i(271645),s=e.i(178188),a=e.i(927384),r=e.i(481899),i=e.i(323211);e.s(["default",0,({slides:e})=>{e=e.filter(e=>e?.logo?.src);let[n,c]=(0,t.useState)(0),[d,o]=(0,t.useState)(null),m=e[n],{width:h}=(0,a.default)();(0,t.useEffect)(()=>
2{if(!d)return;let e=()=>{c(d.selectedScrollSnap())};return d.on("select",e),()=>d.off("select",e)},[d]);let x=h>767?"basis-1/5":"basis-1/3";return(0,l.jsxs)("section",{className:"bg-light-gray py-15 h-[360px] md:h-[443px] items-center justify-center flex flex-col",children:[(0,l.jsx)(i.Carousel,{setApi:o,className:"h-[60px]",autoplay:!0,opts:{loop:!0,align:"center",dragFree:!1},children:(0,l.jsx)(i.CarouselContent,{className:"ml-0",children:e.map((e,t)=>(0,l.jsx)(i.CarouselItem,{className:(0,r.cn)(x,"px-5 md:px-10 cursor-pointer transition-opacity duration-500 hover:opacity-90",n===t?"opacity-100":"opacity-25"),onClick:()=>{d&&d.scrollTo(t)},children:(0,l.jsx)("div",{className:"text-center w-full",style:{filter:"grayscale(1)"},children:(0,l.jsx)(s.default,{publicId:e.logo.src,alt:e.name+" logo",quality:"auto:good",className:"w-full h-[60px] max-w-full object-contain"})})},t))})}),(0,l.jsx)("div",{className:"border-t-2 border-t-gold w-[100px] mx-auto mt-8 mb-10"}),(0,l.jsx)("a",{href:m?.url,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsxs)("figure",{className:"text-center px-4",children:[(0,l.jsx)("blockquote",{cite:m?.url,className:"text-[18px] leading-[1.3] text-dark-gray font-maison mb-5 md:text-[24px]",children:m?.pullQuote}),(0,l.jsxs)("figcaption",{className:"text-[16px] text-black font-semibold",children:["- ",m?.name]})]})})]})}])},927384,e=>{"use strict";var l=e.i(271645);e.s(["default",0,()=>{let[e,t]=(0,l.useState)({width:void 0,height:void 0});return(0,l.useEffect)(()=>{function e(){return{width:window.innerWidth,height:window.innerHeight}}function l(){t(e())}return t(e()),window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[]),e}])}]); 3 4//# debugId=682d61ee-a55f-a93a-29e0-5e9b22644172
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.