1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9960],{258:(e,t,i)=>{"use strict";i.d(t,{default:()=>o});var a=i(95155),l=i(12115),n=i(37793),s=i(95696),r=i(20063);let o=()=>{let e=(0,r.usePathname)();return(0,l.useEffect)(()=>{s.A.initUTMCookie(),n.A.scrollToAnchor();let e=setTimeout(()=>{clearInterval(t)},3e3),t=setInterval(()=>{Array.from(document.querySelectorAll("#truste-consent-track")).slice(1).forEach(e=>e.remove())},100);return()=>{clearTimeout(e),clearInterval(t)}},[]),(0,l.useEffect)(()=>{window.location.hash||window.scrollTo({top:0,behavior:"smooth"})},[e]),(0,a.jsx)(a.Fragment,{})}},1788:(e,t,i)=>{"use strict";i.d(t,{default:()=>F});var a=i(95155),l=i(12115);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t=new Date;return new Date(t.setMonth(t.getMonth()+e))},s=(e,t)=>{if(!t||!t.length)return!0;let i=t&&t.map(e=>new Date(e.start_time).toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"})),a=e.date.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"}),l=!1;return i&&i.length&&(l=!i.includes("".concat(a))),l},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return new Date(e).toLocaleString(t,{hour:"numeric",minute:"numeric",hour12:!0})},o=e=>e.toLocaleString("en-US",{day:"2-digit",month:"short",year:"numeric"}),d=(e,t,i)=>Math.abs((e-t)/1e3/60/60/24)<i,c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=new Date(new Date().setHours(e,0,0,0)).toLocaleString(t,{dayPeriod:"long"}).split(" ").splice(-1)[0];return i.charAt(0).toUpperCase()+i.slice(1)},u={C:"Orthodontist",D:"General Dentist",Peds:"Pediatric Dentist",Ortho:"Orthodontist",GP:"General Dentist"};var m=i(33599),g=i(63365),h=i(25618),p=i.n(h),_=i(65493),f=i(46574),v=i(21024),x=i(7977),y=i(37793),b=i(95696),w=i(93411),j=i(88947),S=i(29516),A=i(85141);i(32375);var T=i(30411);let N=(0,_.T)(p()),C=(0,l.memo)(e=>{let{selectedDate:t,locale:i="en-US",startDate:n,endDate:r,slots:o,slotsPresent:d}=e,[c,u]=(0,l.useState)(n),[m,g]=(0,l.useReducer)((e,t)=>({...e,...t}),{button:{prev:!1,next:!1},update:!1}),h=(0,l.useDeferredValue)(c);return(0,l.useEffect)(()=>{let e={};["prev","next"].map(t=>{let i=document.querySelector(".react-calendar__navigation__".concat(t,"-button[disabled]"));e[t]=!!i}),g({button:e})},[m.update]),(0,l.useEffect)(()=>{d&&d(!0)},[]),(0,a.jsx)("div",{className:N("calendar"),children:(0,a.jsx)(A.Ay,{calendarType:"gregory",minDate:n,maxDate:r,minDetail:"month",navigationLabel:e=>{let{date:t,label:a,locale:l,view:n}=e;return"".concat(t.toLocaleString(i||l,{month:"long"}))},formatShortWeekday:(e,t)=>"".concat(t.toLocaleString(i||e,{weekday:"short"})),value:h,onChange:e=>{u(e),t&&t(e)},tileDisabled:e=>s(e,o),showNeighboringMonth:!1,defaultView:"month",onActiveStartDateChange:e=>{let{action:t}=e;return("next"==t||"prev"==t)&&g({update:!m.update})},nextLabel:(0,a.jsx)(T.CustomArrow,{indicatorPosition:"sideways",direction:"right",sliderType:"ticker tape",className:"".concat(m.button.next?"disabled":"")}),nextAriaLabel:"Next month",prevLabel:(0,a.jsx)(T.CustomArrow,{indicatorPosition:"sideways",direction:"left",sliderType:"ticker tape",className:"".concat(m.button.prev?"disabled":"")}),prevAriaLabel:"Previous month",next2Label:null,prev2Label:null})})}),P=(0,_.T)(p()),L=(0,l.memo)(e=>{let{startDate:t,endDate:i,locale:n="en-US",callback:r,slots:d,slotsPresent:c,no_slots_available_month:u}=e,m=[],[g,h]=(0,l.useState)(new Date(t.getFullYear(),t.getMonth(),1)),[p,_]=(0,l.useState)(t),[f,v]=(0,l.useState)([]),x=new Date(t);for(;x<i;)x.setDate(1),m.push(new Date(x)),x.setMonth(x.getMonth()+1);return(0,l.useEffect)(()=>{let e=[];for(let a=new Date(g);a.getMonth()==g.getMonth()&&a<i;a.setDate(a.getDate()+1))s({activeStartDate:t,date:a,view:"month"},d)||g.getMonth()==t.getMonth()&&a.getDate()<t.getDate()||e.push(new Date(a));v(e),e&&e.length&&(_(e[0]),r&&r(e[0]))},[g]),(0,l.useEffect)(()=>{f&&f.length>0?c&&c(!0):c&&c(!1)},[f]),(0,a.jsxs)("div",{className:P("mobile-calendar"),children:[(0,a.jsx)("div",{className:P("parts-of-month"),children:m.map((e,t)=>
1{let i=e.toLocaleString(n,{month:"short"});return(0,a.jsx)("div",{className:P("pom-wrapper"),children:(0,a.jsx)("div",{className:P("pom",{selected:o(e)===o(g)}),onClick:()=>{h(e)},children:i})},"pom-wrapper-".concat(t))})}),f&&f.length>0?(0,a.jsx)("div",{className:P("dates"),children:f.map((e,i)=>{let l=e.toLocaleString(n,{weekday:"short",day:"2-digit"}).split(" ");return(0,a.jsx)("div",{className:P("date","slot"),children:(0,a.jsx)(w.default,{url:"#",...2==l.length&&{children:(0,a.jsx)(()=>{let e=isNaN(+l[0]);return(0,a.jsxs)("span",{className:P("label-day"),children:[e?l[0]:l[1],(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:P("label-date"),children:e?l[1]:l[0]})]})},{})},...1==l.length&&{label:l[0]},variant:"secondary | for light bg",className:o(p)==o(e)?"selected":"",onClick:()=>{o(e)===o(t)&&(e=t),_(e),r&&r(e)}},"button-".concat(e,"-slot-").concat(i))},"date-".concat(i))})}):(0,a.jsx)("p",{children:u||"No slots available"})]})}),k=(0,_.T)(p()),M=(0,l.memo)(e=>{let{slots:t,selectedPartOfDay:i,selectedTime:l,selectedSlot:n,noSlotTextMorning:s,noSlotTextAfternoon:o}=e,d=[],c=[],u=[];return(t[i].map((e,t)=>{t%3==1?c.push(e):t%3==2?u.push(e):d.push(e)}),[...d,...c,...u].length)?(0,a.jsx)("div",{className:k("slot-overflow"),children:[d,c,u].map((e,t)=>(0,a.jsx)("div",{className:k("slot-wrapper-inner"),children:e.map((e,t)=>{let s=r(e);return(0,a.jsx)("div",{className:k("slot"),children:(0,a.jsx)(w.default,{label:s,url:"#",variant:"secondary | for light bg",className:l===s?"selected":"",onClick:()=>{n&&n(new Date(e),s)}},"button-mobile-".concat(i,"-slot-").concat(t))},"mobile-".concat(i,"-slot-").concat(t))})},"slot-wrapper-inner-".concat(t)))}):(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:"morning"===i?s||"":o||""}})}),I=(0,_.T)(p()),E=(0,l.memo)(e=>{var t,i;let{locale:n="en-US",selectedDay:s,firstSlot:o="8:00",lastSlot:u="16:45",selectedSlot:h,isMobile:p=!1,noSlotTextMorning:_,noSlotTextAfternoon:f,startDate:v,hlSlots:x,noSlotsText:y}=e;if(!x||!x.length)return(0,a.jsx)(a.Fragment,{});let b=[c(8,n),c(13,n)],[j,S]=(0,l.useState)(b[0]),[A,T]=(0,l.useState)(""),N=o.split(":"),C=u.split(":"),P=s.getHours(),L=s.getMinutes();if(P>=+N[0]&&P<=+C[0]+1&&d(s.getTime(),new Date().getTime(),1.5)){let e=[0,15,30,45].find(e=>L<e);e&&"".concat(P,":").concat(e)}let k={},E=(e=>{let t={};for(let i of e){let e=new Date(i.start_time),a=new Date(i.end_time),l=e.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"});t[l]||(t[l]=[]),t[l].push({start:e.toISOString(),end:a.toISOString()})}let i=[];for(let e in t)i.push({date:e,slots:t[e]});return i})(x),R=null==E?void 0:E.find(e=>{if(new Date(e.date).toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"})===new Date(s).toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"}))return e});if(!v||!R)return(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:y||""}});let D=null==R?void 0:R.slots.map(e=>e.start);for(let e of(b.map(e=>k[e]=[]),D)){let t=new Date(e);t>new Date&&(12>t.getHours()?k[b[0]].push(t.toString()):k[b[1]].push(t.toString()))}return(0,l.useEffect)(()=>{v>new Date("".concat(s.getMonth()+1,"/").concat(s.getDate(),"/").concat(s.getFullYear()," ").concat("11:44 AM"))&&s.getHours()<+u.split(":")[0]+1&&d(v.getTime(),new Date().getTime(),1.5)?S(b[1]):S(b[0])},[s]),(0,a.jsxs)("div",{className:I("slots"),children:[(0,a.jsx)("div",{className:I("parts-of-day"),children:b.map((e,t)=>(0,a.jsx)("div",{className:I("pod-wrapper"),children:(0,a.jsx)("div",{className:I("pod",{selected:e===j}),onClick:()=>S(e),children:e})},"pod-wrapper-".concat(t)))}),(0,a.jsx)(m.A,{className:I("slot-wrapper"),children:(null==(t=k[j])?void 0:t.length)>0?p&&M?(0,a.jsx)(M,{slots:k,selectedPartOfDay:j,selectedTime:A,noSlotTextMorning:_,noSlotTextAfternoon:f,selectedSlot:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";T(t),h&&h(new Date(e),t)}}):null==(i=k[j])?void 0:i.map((e,t)=>{let i=r(e,n);return(0,a.jsx)(g.A,{xs:4,className:I("slot"),children:(0,a.jsx)(w.default,{label:i,variant:"secondary | for light bg",className:A===i?"selected":"",url:"#",onClick:()=>{T(i),h&&h(new Date(e),i)}},"button-".concat(j,"-slot-").concat(t))},"".concat(j,"-slot-").concat(t))}):(0,a.jsx)(g.A,{children:(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:j===b[0]?_||"":f||""}})})})]})});var R=i(47311);let D=(0,_.T)(p()),F=(0,l.memo)(e=>{let t,{index:i,depth:s,eyebrow:r,headline:o,bodyCopy:d,custom:c,pageProps:h,...p}=e,_={index:i,depth:s,custom:c,pageProps:h,...p}
1,A=h&&y.A.createIdFromLocaleAndSlug(h)||"form",{localeId:T="en-US"}=h||{},{bodyCopy2:N,noSLotText:P,noSlotTextAfternoon:k="No afternoon times are available for the date you selected.",goBackText:M="Choose a different date and time",noSlotsText:I="No slots available",loadingText:F="Fetching doctor availability...",addToCalendar:K}=c||{},G=new Date,H=n(),[B,V]=(0,l.useState)(d),[q,z]=(0,l.useState)(G),[U,O]=(0,l.useState)(),[W,Q]=(0,l.useState)(1),{isMobile:Z}=(0,v.B)(!!(null==h?void 0:h.isMobile)),[Y,J]=(0,l.useState)([]),[X,$]=(0,l.useState)(),[ee,et]=(0,l.useState)(G),[ei,ea]=(0,l.useState)(!0),[el,en]=(0,l.useState)(!0),es={no_doc_id_error:null==h?void 0:h.sharedTranslation.no_doc_id_error,no_slots_available:null==h?void 0:h.sharedTranslation.no_slots_available,no_slots_available_month:null==h?void 0:h.sharedTranslation.no_slots_available_month},er="MY"===T.split("-")[1]?"en-MY":T,eo=e=>{var t;if(!e)return"";let i=e.display_name,a=null==e||null==(t=e.display_name)?void 0:t.split(" ");return a&&a.length&&!["dr","Dr","dr.","Dr."].includes(a[0])&&(i="Dr. ".concat(e.display_name)),e.is_dso?e.practice_name||e.practice_name2||"".concat(e.first_name||""," ").concat(e.last_name||""):(e.display_name?i:e.display_name||"Dr. ".concat(e.first_name||""," ").concat(e.last_name||""))||""},ed=[{fields:{entryTitle:"Left Arrow | Tertiary CTA | For Light BG",icon:{fields:{title:"Graphic | Arrow | Left | Circle | Blue",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/2fJpyDp5xLylXCOgJsXj1r/055fe280a03562389c1e65a20b9a7f8d/Left_Arrow_Icon_Heritage.svg",fileName:"Left_Arrow_Icon_Heritage.svg",contentType:"image/svg+xml",details:{size:825,image:{width:20,height:20}}}}},animation:"arrow-left"}}],ec=async e=>{if(e){let t=await (0,S.FL)({docId:e}),i=await (0,S.xQ)({account_number:e,appointment_type:"docloc",days_ahead:30});if(t){$(t);let e=structuredClone(d);e&&(x.A.replaceVariable(e,"{doctor}",eo(t)),V(e))}if(i&&i.length){let e=(e=>{let t=new Date;for(let i of(e=>(e.sort((e,t)=>{let i=new Date(e.start_time),a=new Date(t.start_time);return i.getTime()-a.getTime()}),e))(e)){let e=new Date(i.start_time);if(e>t)return new Date(e)}return null})(i);e?(et(e),z(e)):console.log("no slots available"),J(i)}else console.log("No slots available");ea(!1)}else console.log("No slots available"),ea(!1)},eu=function(e,t){let[i,a]=(0,l.useState)(!1),n=(0,l.useRef)();return(0,l.useEffect)(()=>{n.current=e},[e]),(0,l.useEffect)(()=>{if(i&&1){let e=setInterval(()=>{n.current()},500);return()=>clearInterval(e)}},[t,i]),l.useCallback(e=>{a(e)},[])}(()=>{let e=null==h?void 0:h.urlParams,t=null==e?void 0:e.id;window.grecaptcha.enterprise&&t&&(ec(t),eu(!1))},500);(0,l.useEffect)(()=>{var e;ea(!0),b.A.getCookie("".concat(A,"-submitted"))&&(null==(e=b.A.getCookieAsJson("userData"))?void 0:e.hasOwnProperty("zip"))?(Q(3),ea(!1),O(b.A.getCookieAsJson("requested_slot"))):eu(!0)},[]),(0,l.useEffect)(()=>{(2===W||3===W)&&setTimeout(()=>{if(document.querySelectorAll('form[data-id^="inv-con"], form[data-id^="viv-con"]').length){var e;null==(e=window.dataLayer)||e.push({event:"heeet_inpage_form_load"})}},0)},[W]);let em=null==h?void 0:h.urlParams,eg=null==em?void 0:em.id;return eg?(0,a.jsxs)("div",{className:D({"request-appointment container-inner":3!==W}),children:[ei?(0,a.jsxs)("div",{style:{textAlign:"center"},id:"loader","data-testid":"loading",children:[(0,a.jsx)("img",{alt:"",src:"https://d2i6vk5bmh3r0a.cloudfront.net/invisalign_next/loader_n.gif",style:{width:100,margin:"50px auto 20px auto"}}),(0,a.jsx)("p",{style:{margin:"0px auto 50px auto"},children:F})]}):(0,a.jsxs)(a.Fragment,{children:[eg&&3!==W&&(0,a.jsx)(f.A,{firstEntry:!0,index:i,depth:s,eyebrow:r,headline:o,bodyCopy:B,textStyling:{eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"}},disableForceHeadlineStyle:!0}),Y&&(Y.length||3===W)?1===W&&(0,a.jsx)(m.A,{className:D("ra-step-1"),children:(0,a.jsxs)(a.Fragment,{children:[Z?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:D("slots"),children:(0,a.jsx)(L,{startDate:ee,endDate:H,locale:er,callback:e=>z(e),slots:Y,slotsPresent:e=>en(e),no_slots_available_month:es.no_slots_available_month})})}):(0,a.jsx)(g.A,{md:6,children:(0,a.jsx)(C,{startDate:ee,endDate:H,locale:er,selectedDate:e=>z(e),slots:Y,slotsPresent:e=>en(e)})}),el&&(0,a.jsx)(g.A,{xs:12,md:6,lg:5,children:(0,a.jsx)(E,{startDate:ee,locale:T,selectedDay:q,firstSlot:"8:30",selectedSlot:(e,t)=>
1{j.A.gtmTrackNA("schedule_appointment_time_selected",void 0,{form_name:A});let i=null==e?void 0:e.toLocaleString(T,{weekday:"long",month:"long",day:"numeric"}),a=(e=>["th","st","nd","rd",""][e<=0?4:e>3&&e<21||e%10>3?0:e%10])(e.getDate()),l=structuredClone(N);x.A.replaceVariable(l,"{time}",t||""),x.A.replaceVariable(l,"{day_date}",i),x.A.replaceVariable(l,"{ordinal}",a),x.A.replaceVariable(l,"{doctor}",eo(X)),z(e);let n=Y.find(t=>t.start_time===new Date(e).toISOString());O(n),V(l),b.A.putCookie("requested_date_time","".concat(e),{expires:1}),b.A.putCookie("doctorName","".concat(eo(X)),{expires:1}),b.A.putCookie("doctorAddress","".concat(X&&((e,t,i,a,l)=>"".concat(e).concat(t?", ".concat(t):""," ").concat(i).concat(a?", ".concat(a):"").concat(l?", ".concat(l):""))(X.line1,X.line2,X.city,X.state,X.postal_code)),{expires:1}),b.A.putCookie("requested_slot",JSON.stringify({start_time:null==n?void 0:n.start_time,end_time:null==n?void 0:n.end_time}),{expires:1}),Q(2)},isMobile:Z,noSlotTextMorning:P,noSlotTextAfternoon:k,noSlotsText:I,hlSlots:Y})})]})}):(0,a.jsx)("div",{className:D("form_error_message"),children:(0,a.jsx)("p",{children:es.no_slots_available||"No slots available"})})]}),(2===W||3===W)&&(0,a.jsxs)(m.A,{className:D("ra-step-2"),children:[2===W&&(0,a.jsx)("div",{className:D("go-back"),children:(0,a.jsx)(w.default,{label:M,variant:"tertiary | for light bg",className:D("go-back"),beforeIcon:ed,onClick:e=>{e.preventDefault(),Q(1),z(ee),(()=>{let e=structuredClone(d);e&&(x.A.replaceVariable(e,"{doctor}",eo(X)),V(e))})()}})}),(0,a.jsx)("div",{className:D("form-wrapper"),children:(0,a.jsx)(R.default,{..._,template:"Heartland_Request_Appointment",addToCalendar:{details:K,eventDate:U&&new Date(U.start_time)||q,endsIn:U&&Math.abs((new Date(null==U?void 0:U.end_time).getTime()-new Date(null==U?void 0:U.start_time).getTime())/1e3/60)},intialValues:{requested_date_time__c:q.toLocaleString("en-US",{weekday:"long",year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit",timeZoneName:"long"}),account__r__account_number__c:"".concat(null==X?void 0:X.location_id),account_number:"".concat(null==X?void 0:X.location_id),calendar_name:"general",start_time:q.toISOString(),end_time:null==U?void 0:U.end_time,appointment_type:"docloc",profile_designation:X&&u[X.doctor_type],form_name:"heartland",profile_tier:X&&((e,t)=>{if(t)return"VIP";if(1===e)return"Diamond Plus";if(2===e||300===e)return"Diamond";if(3===e)return"Platinum Plus";if(4===e||500===e)return"Platinum";if(5===e)return"Gold Plus";if(6===e||510===e)return"Gold";else if(7===e)return"Silver Plus";else if(8===e||520===e)return"Silver";else if(9===e)return"Bronze Plus";else if(10===e||530===e);else if(150===e)return"Emerald Elite";else if(200===e)return"Emerald";else if(250===e)return"Diamond Elite";else if(400===e)return"Platinum Elite";return"Bronze"})(X.advantage_level,t)},callback:async e=>{"submitted"===e&&Q(3)}})})]})]}):(0,a.jsx)("div",{className:D("form_error_message"),children:es.no_doc_id_error||"Doctor ID is missing in the URL"})})},2047:(e,t,i)=>{"use strict";i.d(t,{default:()=>m});var a=i(95155),l=i(12115),n=i(65493),s=i(37008),r=i.n(s),o=i(30411),d=i(13150),c=i(21024);let u=(0,n.T)(r()),m=e=>{var t;let{slides:i,index:n,depth:s,firstEntry:r}=e,[m,g]=(0,l.useState)(),[h,p]=(0,l.useState)(0),[_,f]=(0,l.useState)(null==(t=i[0])?void 0:t.fields.slides),{isMobile:v}=(0,c.B)(!0);(0,l.useEffect)(()=>{g(i.map(e=>e.fields.partnerName))},[]);let x=(0,l.useRef)(null);return(0,a.jsxs)("div",{className:u("parternship_main"),children:[(0,a.jsx)("div",{className:u("tab_container"),children:null==m?void 0:m.map((e,t)=>(0,a.jsx)("div",{className:u("tab_container_item",h===t&&"tab_container_item_active"),onClick:()=>{var a,l;p(t);let n=null==(a=i.find(t=>t.fields.partnerName===e))?void 0:a.fields.slides;n&&f(n),null==(l=x.current)||l.goToSlide(0)},children:e},e))}),(0,a.jsx)("div",{className:u("card_container"),children:(0,a.jsx)(o.default,{ref:x,indicatorPosition:v?"bottom (with page count)":"sideways",type:"three up",slidesToShow:1,children:null==_?void 0:_.map((e,t)=>(0,a.jsx)(d.A,{step:"0".concat(t+1),hideStepNumber:!0,contentType:e.contentType,stepsUrl:"",...e.fields,index:n,depth:s,firstEntry:r},"".concat(e.fields.image.fields.title,"-").concat(t)))})})]})}},2638:e=>
1{e.exports={heroBgContainer:"HeroWithBackground_heroBgContainer__ExREU",textContainer:"HeroWithBackground_textContainer__3Arcn",textOnly:"HeroWithBackground_textOnly__aVAa6","left-image":"HeroWithBackground_left-image__VMSlF","right-image":"HeroWithBackground_right-image__NXrB9",gradientBg:"HeroWithBackground_gradientBg__8E0qi",darkBg:"HeroWithBackground_darkBg__xBTb_"}},2646:e=>{e.exports={radioHolder:"RadioGroup_radioHolder__OzCld","col-2":"RadioGroup_col-2__Oiz6J","col-4":"RadioGroup_col-4__T0YRc","col-3":"RadioGroup_col-3__eWaOw",withImage:"RadioGroup_withImage__cqhVU"}},3229:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var a=i(95155),l=i(12115),n=i(17363),s=i(65493),r=i(2646),o=i.n(r);let d=(0,s.T)(o()),c=l.memo(e=>{let{options:t,name:i,value:s,label:r,onChange:o,defaultChecked:c,variant:u="Button",inForm:m=!1}=e,[g,h]=(0,l.useState)(c||""),p=2===t.length?"col-2":t.length<4?"col-3":"col-4";return(0,a.jsx)("div",{className:d("radioHolder",p,(t[0].image||"Radio"===u)&&"withImage"),style:{alignSelf:"Button"===u?"center":""},children:(0,a.jsxs)("fieldset",{children:[(0,a.jsx)("legend",{children:r}),t.map((e,l)=>(0,a.jsx)(n.A,{name:i,value:e.value,label:e.label,checked:s===e.value||g===e.value,onChange:e=>{o(e),h("")},variant:u,image:e.image?e.image:void 0,width:m?"form-width":t.length<4?"col-3":"col-4"},l))]})})})},6984:e=>{e.exports={"universal-popup":"AssessmentModal_universal-popup__y3wvW","custom-modal-dialog":"AssessmentModal_custom-modal-dialog__Rw1eY","horizontal-align":"AssessmentModal_horizontal-align__KpBJL","vertical-align":"AssessmentModal_vertical-align__WnVuK","custom-modal-content":"AssessmentModal_custom-modal-content__dQJTb","custom-modal-body":"AssessmentModal_custom-modal-body__HQAt7","popup-close-button":"AssessmentModal_popup-close-button__XqYcZ","modal-content-wrapper":"AssessmentModal_modal-content-wrapper__7GcqQ","align-left":"AssessmentModal_align-left___q72x","align-top":"AssessmentModal_align-top__r4Hpj","align-right":"AssessmentModal_align-right__Rn6vo","align-bottom":"AssessmentModal_align-bottom__ephnY","image-wrapper":"AssessmentModal_image-wrapper__9VrRZ","text-and-cta-wrapper":"AssessmentModal_text-and-cta-wrapper__htE0O","Modal-button-wrapper":"AssessmentModal_Modal-button-wrapper__NRRxZ"}},7442:e=>{e.exports={"text-only":"TextAndCta_text-only__TkSaV","child-wrapper":"TextAndCta_child-wrapper__l8G2o","inline-link":"TextAndCta_inline-link__6z2vn",gradientBg:"TextAndCta_gradientBg__owhnX",eyebrow:"TextAndCta_eyebrow__X4r38",darkBg:"TextAndCta_darkBg__i_4sS",mobileCenter:"TextAndCta_mobileCenter__eZFSb","list-item":"TextAndCta_list-item__HAuxu","cta-container":"TextAndCta_cta-container__NX58B",Left:"TextAndCta_Left__Yp27p",Right:"TextAndCta_Right__hi51H",left:"TextAndCta_left__QcUiY",right:"TextAndCta_right__a5OTl",center:"TextAndCta_center__SLeLG","line-height-20":"TextAndCta_line-height-20__E6fsa",heading:"TextAndCta_heading__lNUwi",small:"TextAndCta_small__sdbTW",medium:"TextAndCta_medium__eVQPj",large:"TextAndCta_large__imZnr",subHeadTiles:"TextAndCta_subHeadTiles__zT4m7","font-weight-400":"TextAndCta_font-weight-400__MuvoT","font-weight-500":"TextAndCta_font-weight-500__Y_Wjv","font-weight-900":"TextAndCta_font-weight-900__x2ag5","list-wrapper":"TextAndCta_list-wrapper__pYZwn",lists:"TextAndCta_lists__0OJwl",Center:"TextAndCta_Center__Mkl1C","cta-wrapper":"TextAndCta_cta-wrapper__rIBKs",ctaFlex:"TextAndCta_ctaFlex__bTc7o","cta-highlitedText":"TextAndCta_cta-highlitedText__EICv3","cta-item":"TextAndCta_cta-item__pARaP",ctaImgBtn:"TextAndCta_ctaImgBtn__DhtPh","with-add-to-calendar":"TextAndCta_with-add-to-calendar__UtOxl","subhead-wrap":"TextAndCta_subhead-wrap__K5jxS","es-rating-stars":"TextAndCta_es-rating-stars__Qgse1"}},7977:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var a=i(12115),l=i(3369),n=i(85814);let s=parseInt(i(95704).env.DEFAULT_CACHE_TIME||"60");class r{async getOrInsertFromCache(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,a=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=this.get(e);return l?a&&console.log("CACHE HIT: "+e):(l=await t())&&(a&&console.log("CACHE SET: "+e),this.put(e,l,i<0?s:i)),l}get(e){let t=this.cacheData[e];if(t)if(!(new Date().getTime()>t.ticks))return t.data;else delete this.cacheData[e];return null}put(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.cacheData[e]={ticks:new Date().getTime()+(0===i?1e12:1e3*i),data:t}}constructor(){this.cacheData={}}}let o=new r;var d=i(88525),c=i(48558),u=i(95704);let m={};class g{GetEntryExFromInternalEntries(e){return e.map(e=>({id:e.id,contentType:e.contentType,fields:e.fields}))}addToRegexGlobalMap(e,t){m[e]=t}getFromRegexGlobalMap(e){return m[e]}getMaxRenderDepth(){return parseInt(u.env.GENERAL_MAX_RENDER_DEPTH||"8")}isArray(e){return!!e&&e.constructor===Array}isObject(e){return!!e&&e.constructor===Object}isString(e){return!!e&&"string"==typeof e}isNumber(e){return!isNaN(parseFloat(e))&&isFinite(e)}formatUrlWithParams(e,t){return e+((e||"").indexOf("?")>=0?"&":"?")+Object.keys(t||{}).filter(e=>"slug"!==e).map(e=>"".concat(e,"=").concat(encodeURIComponent(t[e]||""))).join("&")}addTrailingSlash(e){return e&&!/\/$/gi.test(e)&&(e+="/"),e||""}toMap(e,t){let i={};
1return e.forEach(e=>i[t(e)]=e),i}getObjectByPath(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e[t]||i}makeFirstUpper(e){return e.charAt(0).toUpperCase()+e.slice(1)}async fetchSvg(e,t){try{let i="".concat(e.includes("https:")?e:"https:".concat(e)),a=u.env.DEFAULT_SVG_CACHE_TIME,n=a?Number(a):86400,s="svg-".concat(t||i.split("/").pop());return await o.getOrInsertFromCache(s,async()=>(await l.A.get(i,{timeout:1500})).data,n,!1)}catch(e){return null}}documentToComponent(e,t,i){let l={renderNode:{[d.INLINES.HYPERLINK]:(e,t)=>(0,c.jn)(e,t),[d.INLINES.EMBEDDED_ENTRY]:e=>(0,c.Ft)(e),[d.INLINES.ENTRY_HYPERLINK]:e=>(0,c.VF)(e),[d.BLOCKS.PARAGRAPH]:(e,l)=>(0,a.createElement)(t,{className:i},l)},renderMark:{...(0,c.ZH)()},renderText:e=>null==e?void 0:e.split("\n").reduce((e,t,i)=>[...e,i>0?(0,a.createElement)("br",{key:i}):null,t],[])};return(0,n.i)(e,l)}updateTextAndCtaVariable(e,t,i){let a=e.fields.eyebrow,l=e.fields.headline,n=e.fields.bodyCopy;return(null==a?void 0:a.nodeType)==="document"&&this.replaceVariable(a,t,i),(null==l?void 0:l.nodeType)==="document"&&this.replaceVariable(l,t,i),(null==n?void 0:n.nodeType)==="document"&&this.replaceVariable(n,t,i),e}constructor(){this.replaceVariable=(e,t,i)=>{if("object"==typeof e&&null!==e){if(Array.isArray(e))for(let a=0;a<e.length;a++)this.replaceVariable(e[a],t,i);else for(let a in e)if(e.hasOwnProperty(a)){let l=e[a];"value"===a&&"string"==typeof l?e[a]=l.replace(t,i):"object"==typeof l&&this.replaceVariable(l,t,i)}}},this.getAcceptableDate=(e,t)=>{let i="MM-DD-YYYY";if(e&&e.length>=8){let a=e.split("/");("MM/DD/YYYY"==t||"mm/dd/yyyy"==t)&&3==a.length&&4==a[2].length&&(i=a[2]+"-"+a[0]+"-"+a[1]),("DD/MM/AAAA"==t||"DD/MM/YYYY"==t||"dd/mm/yyyy"==t)&&3==a.length&&4==a[2].length&&(i=a[2]+"-"+a[1]+"-"+a[0])}else if(e&&e.length>=6&&e.length<8){let a=e.split("/");("MM/YYYY"==t||"MM/AAAA"==t)&&2==a.length&&4==a[1].length&&(i=a[1]+"-"+a[0]+"-01")}return i}}}let h=new g},9284:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var a=i(95155),l=i(12115),n=i(1511);i(26866);let s=(0,l.memo)(e=>{let{text:t="Slide"}=e;return(0,a.jsx)("div",{className:"wrapper",children:(0,a.jsx)("div",{className:"gradient-border",children:(0,a.jsxs)("div",{className:"custom-handle",children:[(0,a.jsx)("div",{className:"arrow left"}),(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:t}}),(0,a.jsx)("div",{className:"arrow right"})]})})})});var r=i(33046);let o=(0,l.memo)(e=>{let{beforeImage:t,afterImage:i,text:l}=e;return(0,a.jsx)("div",{className:"before-after-module",children:(0,a.jsx)(n.EW,{onlyHandleDraggable:!0,style:{display:"flex"},className:"slider-image",handle:(0,a.jsx)(s,{text:l}),itemOne:(0,a.jsx)(r.default,{fill:!0,image:t,alt:""}),itemTwo:(0,a.jsx)(r.default,{fill:!0,image:i,alt:""})})})});var d=i(83114),c=i(17357),u=i.n(c);let m=(0,i(65493).T)(u()),g=(0,l.memo)(e=>{let[t,i]=(0,l.useState)(0),{beforeImages:n,afterImages:s,text:r,type:c=""}=e,u=null==n?void 0:n.length,g=null==s?void 0:s.length;if(!(u&&g))return(0,a.jsx)(a.Fragment,{});if(u!==g)if(u>g)for(let e=0;e<u-g;e++)n.pop();else for(let e=0;e<g-u;e++)s.pop();let h=[];return null==s||s.map((e,t)=>{h.push({id:"before-after-".concat(t),contentType:"Asset",fields:{image:e}})}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:m("social-proof-before-after-slider",{[c]:!!c}),children:[(0,a.jsx)(o,{beforeImage:n[t],afterImage:s[t],text:r}),h.length>1&&(0,a.jsx)(d.default,{source:"beforeAfter",sliderItem:h,handleClick:e=>i(e)})]})})})},9447:(e,t,i)=>{"use strict";i.d(t,{default:()=>o});var a=i(95155),l=i(12115),n=i(37793);class s{isYoutubeVideoUrl(e){return!!e&&/^https:\/\/www\.(youtube\.com|youtu\.be)/i.test(e)}isVimeoVideoUrl(e){return e&&/vimeo/i.test(e)}getVimeoId(e){if(!e)return null;let t=e.match(/\/(\d+)$/i);return t?t[0]:null}getEmbedHostedVideoUrl(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return this.isVimeoVideoUrl(e)?this.getHostedVideoUrl(e)+"?background=1":this.isYoutubeVideoUrl(e)?this.getHostedVideoUrl(e)+"?controls=1".concat(t?"&autoplay=1":"").concat(i?"&loop=1":"","&showinfo=0&rel=0&enablejsapi=1&wmode=transparent&playlist=").concat(this.getYoutubeId(e)):void 0}getYoutubeId(e){if(!e)return null;let t=/v=(.+)$/i.exec(e);return t?t[1]:null}getHostedVideoUrl(e){return e?this.isVimeoVideoUrl(e)?"https://player.vimeo.com/video/"+this.getVimeoId(e):this.isYoutubeVideoUrl(e)?"https://www.youtube.com/embed/"+this.getYoutubeId(e):null:null}}new s;var r=i(88947);let o=e=>{let t=(0,l.useCallback)(e=>{let{target:t}=e;if(t&&((e=>{let t=null==e?void 0:e.getAttribute("data-tracking-key");try{if(t&&r.A.gtmTrackNA(t),(null==e?void 0:e.tagName)==="IMG"&&(null==e?void 0:e.getAttribute("data-download"))){let t=null==e?void 0:e.getAttribute("data-download");r.A.gtmTrackNA("download_app",void 0,{app_type:t})}}catch(e){console.log(e)}})(t),(e=>{if("A"===e.tagName&&"#"===e.getAttribute("href")){if(/^\d+$/.test(e.innerHTML)){let t=document.getElementById("footnote-".concat(e.innerHTML));t&&t.scrollIntoView({behavior:"smooth",block:"center"})}return!0}return!1})(t)||(e=>{if("A"===e.tagName&&e.getAttribute("in-page-section")){let t=document.getElementById(e.getAttribute("in-page-section")||"");return t&&t.scrollIntoView({behavior:"smooth",block:"center"}),!0}return!1})(t)||(e=>{if("A"===e.tagName&&e.getAttribute("show-scroll-to")){let t=e.getAttribute("show-scroll-to")||"",i=t.split(" ")[0],a=(t.split(" ")[1]||"").replace(/[()]/g,"").split("|"),l=document.getElementsByClassName(i)[0];return l&&(l.style.display="block",l.scrollIntoView({behavior:"smooth",block:"start"}
1)),a.forEach(e=>{let t=document.getElementsByClassName(e)[0];t&&(t.style.display="none")}),!0}return!1})(t)||(e=>{if("A"===e.tagName&&!e.getAttribute("href")&&/see-more-benifits/gi.test(e.getAttribute("class")||"")){let t=n.A.findParentBySelector(e,"div",!0);if(t){let i=t.querySelector(".primary-list"),a=t.querySelector(".orange-bullet-points");return i&&n.A.toggleSlide(i),a&&n.A.toggleSlide(a),e.classList.toggle("collapsed"),!0}}return!1})(t)))return void e.preventDefault()},[]);return(0,l.useEffect)(()=>(document.addEventListener("click",t),()=>document.removeEventListener("click",t)),[]),(0,a.jsx)(a.Fragment,{})}},10638:()=>{},11259:(e,t,i)=>{"use strict";i.d(t,{default:()=>c});var a=i(95155),l=i(12115),n=i(90321),s=i(34672),r=i(23675);i(54493);let o=e=>{let t=(0,r.y8)(!0,async()=>(await Promise.all([i.e(4817),i.e(2382),i.e(6921)]).then(i.bind(i,66921))).default);return(0,a.jsx)(l.Fragment,{children:t?(0,a.jsx)(t,{...e}):(0,a.jsx)("div",{style:{textAlign:"center"},id:"loader","data-testid":"loading",children:(0,a.jsx)("img",{alt:"",src:"https://d2i6vk5bmh3r0a.cloudfront.net/invisalign_next/loader_n.gif",style:{width:100,margin:"50px auto"}})})})};var d=i(29516);let c=e=>{let{index:t,depth:i,adminMode:r,modules:c,pageProps:u,isFirstDescendant:m,simulationSvcUrl:g,cableSvcUrl:h,myInvisalignUrl:p}=e,[_,f]=(0,l.useState)("default"),v=c[c.length-1],x=c.slice(0,-1),y=x[0];y.fields.firstEntry=!0,x[0]=y;let b=()=>{window.innerWidth<=768?(f("mobile"),(()=>{let e=document.querySelector(".footnote-ref");if(e)for(;e.firstChild;)e.removeChild(e.firstChild)})()):f("desktop")};if((0,l.useEffect)(()=>(b(),window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}),[]),"default"===_)return(0,a.jsx)("div",{style:{height:800}});if("mobile"===_){let e=v.fields;return(0,a.jsx)(o,{...e,submitFormData:d.BR,simulationSvcUrl:g||void 0,cableSvcUrl:h||void 0,myInvisalignUrl:p||void 0,pageProps:u})}return(0,a.jsx)(a.Fragment,{children:(0,s.v7)({depth:0,index:0,isFirstDescendant:!0,typeTemplateMap:n.A,adminMode:r,pageProps:u},x)})}},11485:(e,t,i)=>{"use strict";i.d(t,{default:()=>S,G:()=>j});var a=i(95155),l=i(12115),n=i(50059),s=i(65875),r=i(7977),o=i(95696),d=i(23970),c=i.n(d),u=i(65493),m=i(29516),g=i(35925),h=i(88947),p=i(20063),_=i(21024);let f=(0,u.T)(c()),v=e=>{let{areaData:t,onChange:i,className:n,translation:s}=e,[r,o]=(0,l.useState)(""),[d,c]=(0,l.useState)(""),[u,m]=(0,l.useState)([]);return t&&0!==t.length?((0,l.useEffect)(()=>{t.length>0&&(o(""),m([]),c(""))},[]),(0,a.jsxs)("div",{className:f("area-selector",n),children:[(0,a.jsx)("div",{className:f("select-wrapper"),children:(0,a.jsxs)("select",{value:r,onChange:e=>{let a=e.target.value;if(!a){o(""),m([]),c(""),null==i||i("","");return}let l=t.find(e=>e.name===a);l&&(o(a),m(l.districts),c(""),null==i||i(a,""))},className:f("area-select"),children:[(0,a.jsx)("option",{value:"",children:(null==s?void 0:s.select_area_label)||"Select area"}),Array.isArray(t)&&t.map((e,t)=>(0,a.jsx)("option",{value:e.name,children:e.name},t))]})}),(0,a.jsx)("div",{className:f("select-wrapper"),children:(0,a.jsxs)("select",{value:d,onChange:e=>{let t=e.target.value;if(!t){c(""),null==i||i(r,"");return}u.find(e=>e.name===t)&&(c(t),null==i||i(r,t))},className:f("district-select"),disabled:!r,children:[(0,a.jsx)("option",{value:"",children:(null==s?void 0:s.select_district_label)||"Select district"}),u.map((e,t)=>(0,a.jsx)("option",{value:e.name,children:e.name},t))]})})]})):null};var x=i(69442);let y=(0,u.T)(c()),b=(0,l.memo)(e=>{let{id:t,defaultSelection:i=!1,callback:s,translation:r,radioType:o}=e,[d,c]=(0,l.useState)(i?"invisalign-go":"invisalign"),u=e=>{c(e),s("invisalign-go"===e)};return(0,l.useEffect)(()=>{c(i?"invisalign-go":"invisalign")},[i]),(0,a.jsxs)(n.A.Group,{children:[(0,a.jsx)("p",{className:y("label-heading"),children:(null==r?void 0:r.doctor_type)||"DOCTORS TYPE"}),(0,a.jsxs)("div",{className:y("radio-wrapper"),children:[(0,a.jsx)(x.A,{id:"formRadioInvisalign-".concat(t),value:"invisalign",checked:"invisalign"===d,onChange:()=>u("invisalign"),label:(null==r?void 0:r.label_invisalign)||"Invisalign",type:o}),(0,a.jsx)(x.A,{id:"formRadioInvisalignGo-".concat(t),value:"invisalign-go",checked:"invisalign-go"===d,onChange:()=>u("invisalign-go"),label:(null==r?void 0:r.label_invisalign_go)||"Invisalign Go",type:o})]})]})}),w=(0,u.T)(c()),j=(e,t,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(async a=>{let l=String(a.coords.latitude),n=String(a.coords.longitude),s={lat:parseFloat(l),lng:parseFloat(n),country:i||"AU"};(0,m.PT)(s).then(i=>{i&&i.zip?e(i.zip):e(t||"")}).catch(()=>e(t||""))},i=>{e(t||"")}):(console.log("geo_not_supported"),e(t||""))},S=e=>{let{localeId:t="en-US",useLocParam:d=!1,fadbaseUrl:c="/find-a-doctor/results",slug:u="/",sharedAssets:m,translation:f,className:x,id:y,hideAgeSelection:S,hideFadZipSection:A,hideFad:T,inlineMode:N,defaultRadioSelection:C="adult",geoData:P,urlParam
1s:L,defaultQueryParams:k,cityEnable:M,cities:I,env:E,labelMap:R,country:D}=e,{apacAreaData:F,areaSelector:K,invisalignGoSelector:G}=R||{},H=F?JSON.parse(F):[],B="true"===K,V="true"===G,q=(0,p.useParams)(),[z,U]=(0,l.useState)(null),[O,W]=(0,l.useState)(""),[Q,Z]=(0,l.useState)(""),[Y,J]=(0,l.useState)(!1),[X,$]=(0,l.useState)(""),[ee,et]=(0,l.useState)(""),ei=(0,l.useMemo)(()=>"en-US"===t,[t]),ea=(0,l.useMemo)(()=>{if(ei)return 5},[]),el=e=>ea&&String(e.trim()).length>=ea?e.slice(0,ea):e,{isMobile:en}=(0,_.B)(!0);(0,l.useEffect)(()=>{let e="string"==typeof(null==q?void 0:q.slug)?q.slug.substring(q.slug.lastIndexOf("/")+1):"";I.includes(e)&&M&&W(r.A.makeFirstUpper(e));let t=o.A.getCookieAsJson("userData")||"";t&&t.zip?(U(t),W(el(t.zip)),t.ageGroup?Z("A teen"===t.ageGroup?"teen":"adult"):Z(S?"adult":C)):(!M&&P&&P.zip&&""!==P.zip.trim()&&W(el(P.zip)),Z(S?"adult":C))},[]);let es=()=>{if(B&&X&&ee)return!0;let e=O.trim();return!!M&&e.length>0||!!e&&(!ei||e.length===ea)},er=(0,l.useMemo)(()=>L&&"yes"===L.vivera,[L]),eo=(0,l.useRef)({lat:null,lng:null,address:""}),ed=e=>{let{geometry:t,formatted_address:i}=e;eo.current={lat:null==t?void 0:t.location.lat(),lng:null==t?void 0:t.location.lng(),address:i}},ec=async e=>{if((!e.target.pattern||e.target.validity.valid)&&(W(e.target.value),M)){let e=await (await i.e(5920).then(i.bind(i,65920))).default;e&&await e.initGoogleAutoComplete("find_a_doctor_zip_".concat(y),E,t,ed)}},eu=(0,l.useCallback)(e=>{if(!es())return;o.A.putCookie("doclocZip",O),o.A.putCookie("fromMiniSearch",!0);let t={QuerySource:"TR2",...e?{searchType:e}:{},vivera:er?"yes":null,...(null==L?void 0:L.svc)&&{svc:null==L?void 0:L.svc},...(null==L?void 0:L.trt)&&{trt:null==L?void 0:L.trt},...V&&{invisalignGo:"".concat(Y)},...B&&X&&{area:X},...B&&ee&&{district:ee},...M&&!B&&eo.current.lat&&eo.current.lng?{lat:eo.current.lat,lng:eo.current.lng,address:eo.current.address}:{address:O},...k};h.A.gtmTrackNA("find_a_doctor_zip_entered",void 0,{doc_loc_search_location:"in-page",zip_code_searched:M?"":O,user_category:"teen"===e?"A teen":"An adult"}),o.A.putCookie("userData",{firstname:null==z?void 0:z.firstname,lastname:null==z?void 0:z.lastname,ageGroup:"teen"===e?"A teen":"An adult",phone:null==z?void 0:z.phone},{expires:1}),window.location.href=s.A.formatUrlWithParams(c,t)},[O,er,d,c,X,ee,Y,V,B]);return(0,a.jsxs)(n.A,{className:w(" doc-locator-module",x,{inlineMode:!!N}),children:[(0,a.jsxs)(n.A.Group,{children:[B&&H&&!N&&(0,a.jsx)(v,{onChange:(e,t)=>
1{$(e),et(t)},translation:f,areaData:H}),!T&&!B&&(0,a.jsx)(a.Fragment,{children:!A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.A.Label,{htmlFor:"find_a_doctor_zip_".concat(y),children:M?null==f?void 0:f.label_zip_city:(null==f?void 0:f.label_zip)||"ZIP CODE"}),(0,a.jsxs)("div",{className:w("input-wrapper"),children:[(0,a.jsx)("img",{className:w("search"),src:m&&m.searchIcon&&m.searchIcon.url||"https://images.ctfassets.net/vh25xg5i1h5l/74uKdXAV6E0nPOWihljBie/96adb6622f4467fd25d38c11551d4133/Leading_Icon.svg",title:"search icon",alt:"search"}),(0,a.jsx)("input",{type:"text",id:"find_a_doctor_zip_".concat(y),onChange:ec,className:w("zip-input"),placeholder:(M?null==f?void 0:f.label_zip_city_placeholder:null==f?void 0:f.label_zip_placeholder)||"00000",maxLength:M?void 0:O.includes("-")&&ea?ea+1:ea,pattern:ei?"[0-9]*":void 0,value:O,onKeyDown:e=>{("Enter"===e.code||"Enter"===e.key)&&(e.preventDefault(),eu(Q))}}),(0,a.jsx)("img",{onClick:()=>j(e=>{W(el(e))},null==P?void 0:P.zip,D),className:w("location"),src:m&&m.locationIcon&&m.locationIcon.url||"https://images.ctfassets.net/vh25xg5i1h5l/27ZyoTPYJCmHWUkyOyMRJG/588e664ef671b2745b1a2688d7c931d5/Trailing_Icon.svg",title:"location Icon",alt:"location"})]})]})})]}),!S&&(0,a.jsx)(g.A,{id:y||"",defaultRadioSelection:Q,callback:e=>Z(e),translation:f}),V&&(0,a.jsx)(b,{id:y||"",callback:e=>{J(e)},defaultSelection:!1,translation:f}),(0,a.jsx)(n.A.Group,{children:(0,a.jsx)("div",{className:"get-start",children:!T&&(0,a.jsx)(a.Fragment,{children:A?(0,a.jsx)("a",{className:w("button primary-light fad-btn"),id:"do_search",href:(null==f?void 0:f.header_fad_url)||"",children:(null==f?void 0:f.fad_button)||"Find a doctor now"}):(0,a.jsx)("a",{className:w("button primary-light fad-btn",es()?"":"disabled",B&&""===X&&""===ee?"disabled":""),id:"do_search",onClick:()=>eu(Q),children:(null==f?void 0:f.fad_button)||"Find a doctor now"})})})})]})}},12359:e=>{e.exports={"request-appointment":"RequestAppointment_request-appointment__mRRZW",slots:"RequestAppointment_slots__QwSF7","slot-wrapper":"RequestAppointment_slot-wrapper__UyrTw","slot-overflow":"RequestAppointment_slot-overflow__rWf7x","slot-wrapper-inner":"RequestAppointment_slot-wrapper-inner__5yekK",slot:"RequestAppointment_slot__eyb4N","parts-of-day":"RequestAppointment_parts-of-day__5Tq4R","parts-of-month":"RequestAppointment_parts-of-month__4mORJ","pod-wrapper":"RequestAppointment_pod-wrapper___84M8","pom-wrapper":"RequestAppointment_pom-wrapper__6Loi7",pod:"RequestAppointment_pod__QRc_c",pom:"RequestAppointment_pom__plifa",selected:"RequestAppointment_selected___3KL0","mobile-calendar":"RequestAppointment_mobile-calendar__EQwrG",dates:"RequestAppointment_dates__nex9u",date:"RequestAppointment_date__F2mte","label-date":"RequestAppointment_label-date__gZEGa",calendar:"RequestAppointment_calendar__ZZSLc","ra-step-2":"RequestAppointment_ra-step-2__APhMJ","go-back":"RequestAppointment_go-back__7NxBb","form-wrapper":"RequestAppointment_form-wrapper__iouo7"}},12927:(e,t,i)=>{"use strict";i.d(t,{default:()=>m});var a=i(95155),l=i(12115),n=i(65493),s=i(53743),r=i(27236),o=i.n(r),d=i(93411),c=i(95696);let u=(0,n.T)(o()),m=e=>{let{text:t,button:i,closeIconUrl:n}=e,[r,o]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{c.A.getCookie("blue-alert-banner-closed")?o(!1):o(!0)},[]),(0,a.jsx)(a.Fragment,{children:r&&(0,a.jsxs)("div",{className:u("main-blue-banner"),children:[(0,a.jsxs)("div",{className:u("text-banner"),children:[(0,a.jsx)("span",{children:t}),i&&(0,a.jsx)(d.default,{...i.fields})]}),(0,a.jsx)("div",{className:u("crossIcon"),onClick:()=>{c.A.putCookie("blue-alert-banner-closed",!0,{expires:1}),o(!1)},children:(0,a.jsx)(s.A,{url:n||"https://images.ctfassets.net/vh25xg5i1h5l/1WvKVPfAT4MFVZr6KyyidH/11b7bcad9dc30c3ebbc0e30a6df6b4b4/X.svg",title:"Cose icon"})})]})})}},13150:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var a=i(95155),l=i(46574),n=i(33046),s=i(55222),r=i(68009);i(71545);var o=i(52619),d=i.n(o);let c={eyeBrowStyle:{alignment:"Center"},headLineStyle:{alignment:"Center",size:"small"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"}},u=e=>{let{index:t,depth:i,firstEntry:o,image:u,hideCta:m,hideStepNumber:g,step:
1h,stepsUrl:p,contentType:_,...f}=e,v={...f,textStyling:f.textStyling||c},x=v.buttons&&v.buttons[0].fields.url||void 0;return(m&&delete v.buttons,"3UpFlipCard"===_)?(0,a.jsx)(s.default,{...e}):"3UpPlainCard"===_?(0,a.jsx)(r.default,{...e}):(0,a.jsxs)("div",{className:"card",children:[(0,a.jsx)("div",{className:"card-image-wrapper",children:(0,a.jsx)("div",{className:"card-image",children:u.fields.file.url&&(0,a.jsx)(a.Fragment,{children:x||p?(0,a.jsxs)(d(),{href:x||p,children:[!g&&(0,a.jsx)("div",{className:"card-step",children:h}),(0,a.jsx)(n.default,{image:u,alt:u.fields.title})]}):(0,a.jsxs)(a.Fragment,{children:[!g&&(0,a.jsx)("div",{className:"card-step",children:h}),(0,a.jsx)(n.default,{image:u,alt:u.fields.title})]})})})}),(0,a.jsx)(l.A,{index:t+1,depth:i+1,firstEntry:!1,headlineFontWeight:"500",...v})]})}},13280:()=>{},14097:(e,t,i)=>{"use strict";i.d(t,{default:()=>S});var a=i(95155),l=i(12115),n=i(88560),s=i.n(n),r=i(65493),o=i(61615),d=i(71886),c=i.n(d);let u=(0,r.T)(c()),m=l.memo(e=>{let{steps:t,currentStep:i=1}=e;return(0,a.jsx)(o.A,{className:u("range-slider-main"),min:0,max:t,step:1,value:i,snapDragDisabled:!0,disabled:!0,thumbClassName:u("range-slider-thumb"),trackClassName:u("range-slider-track"),renderThumb:(e,i)=>(0,a.jsxs)("div",{...e,children:[i.valueNow,"/",t]}),renderTrack:(e,t)=>(0,a.jsx)("div",{...e,id:0==t.index?u("range-slider-active-track"):u("range-slider-noactive-track")})})});var g=i(93411),h=i(46574),p=i(23675),_=i(95696),f=i(3229),v=i(53743),x=i(74212),y=i(37793),b=i(20063),w=i(88947);let j=(0,r.T)(s()),S=(0,l.memo)(e=>{var t,n,s;let{index:r,depth:o,eyebrow:d,headline:c,bodyCopy:u,custom:S,pageProps:A,modals:T,countryCode:N,...C}=e,P={index:r,depth:o,custom:S,eyebrow:d,headline:c,bodyCopy:u,pageProps:A,modals:T,countryCode:N,...C},L=((null==A?void 0:A.localeId)||"en-US").split("-"),k=N||L[1],M=A&&y.A.createIdFromLocaleAndSlug(A)||"form",[I,E]=(0,l.useState)(),R=(null==S?void 0:S.radioGroupAge).fields,D=(null==S?void 0:S.radioGroupTeethType).fields,F=(null==S?void 0:S.radioGroupTreatment).fields,K=(null==S?void 0:S.radioGroupSmileJourney).fields,G=(null==S||null==(t=S.translation)?void 0:t.label_next)||"Next",H=(null==S||null==(n=S.translation)?void 0:n.label_back)||"Back",B=(null==S||null==(s=S.translation)?void 0:s.label_moreInformation)||"More information",[V,q]=(0,l.useState)(1),[z,U]=(0,l.useState)(!1),[O,W]=(0,l.useState)(),[Q,Z]=(0,l.useState)(!1),Y=(0,b.useRouter)(),J=(0,p.y8)(!0,async()=>(await Promise.resolve().then(i.bind(i,47311))).default),X={headLineStyle:{size:"medium",alignment:"Center"}},[$,ee]=(0,l.useState)(!1),et=()=>{let e=document.getElementById("form-smile-quiz");e&&y.A.scrollTo(e,78)};return((0,l.useEffect)(()=>{let e=_.A.getCookieAsJson("userData");if(e&&_.A.getCookie("".concat(M,"-submitted"))){var t,i,a;return"A teen"===e.ageGroup?Y.push(null==S||null==(t=S.translation)?void 0:t.teenPageUrl):"A parent (looking for my child)"===e.ageGroup?Y.push(null==S||null==(i=S.translation)?void 0:i.parentPageUrl):Y.push(null==S||null==(a=S.translation)?void 0:a.adultPageUrl)}E({[R.name]:"",[D.name]:"TW"===k?"Generally straighter teeth":""}),W(null==T?void 0:T.find(e=>"bite-type"===e.fields.id)),Z(!0)},[]),(0,l.useEffect)(()=>{5===V&&setTimeout(()=>{if(document.querySelectorAll('form[data-id^="inv-con"], form[data-id^="viv-con"]').length){var e;null==(e=window.dataLayer)||e.push({event:"heeet_inpage_form_load"})}},0)},[V]),Q)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:j("smile-quiz-main"),id:"form-smile-quiz",children:[(0,a.jsxs)("div",{className:j("sticky_header"),children:[(0,a.jsx)("div",{className:j("top-sticky")}),(0,a.jsx)(m,{steps:5,currentStep:V}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:j("slider-buttom"),style:{justifyContent:1===V?"center":"space-between"},children:[1!==V&&(0,a.jsx)(g.default,{className:j("back-btn-steps"),onClick:()=>{"TW"===k?q(e=>3==e?1:e-1):q(e=>e<=1?1:e-1),et()},beforeIcon:[{fields:{entryTitle:"Back Icon",icon:{fields:{title:"Back",file:{fileName:"Back",contentType:"Icon",details:{size:40},url:"https://images.ctfassets.net/vh25xg5i1h5l/2fJpyDp5xLylXCOgJsXj1r/055fe280a03562389c1e65a20b9a7f8d/Left_Arrow_Icon_Heritage.svg"}}}}}],variant:"tertiary | for light bg",label:H}),(0,a.jsx)(h.A,{index:r,depth:o,eyebrow:null==S?void 0:S.pageEyebrow,pageProps:A}),1!==V&&(0,a.jsx)("div",{className:j("hidden_div_smile_quiz")})]})]}),(0,a.jsx)("br",{}),(0,a.jsxs)("div",{className:j("smile-quiz-content"),children:[1===V&&(0,a.jsxs)("div",{className:j("form-step"),children:[(0,a.jsx)(h.A,{className:j("smile-headlines"),index:r,depth:o,headline:null==S?void 0:S.step1Text,textStyling:X,disableForceHeadlineStyle:!0,pageProps:A}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(f.A,{value:I[R.name],options:R.itemProps.radioOptions||[],label:R.name,name:R.name,onChange:e=>{E(t=>(delete t[R.name],{...t,[R.name]:e})),!1===$&&(w.A.gtmTrackNA("smile_assessment_started",void 0,{form_name:M}),ee(!0))},variant:R.itemProps.radioVariant}),(0,a.jsx)(g.default,{className:j("next-btn"),onClick:()=>{(()=>
1{let e=document.querySelector(".heroWithBackground-ref");e&&e.remove()})(),"TW"===k?q(3):q(2),et()},variant:"primary | for light bg",label:G,disabled:!I[R.name]})]}),2===V&&(0,a.jsxs)("div",{className:j("form-step"),children:[(0,a.jsx)(h.A,{className:j("smile-headlines"),index:r,depth:o,headline:null==S?void 0:S.step2Text,textStyling:X,pageProps:A}),(0,a.jsxs)("div",{className:j("info_holder"),onClick:()=>U(!0),children:[(0,a.jsx)("span",{children:B}),(0,a.jsx)(v.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/6i9xhUsqvqkq4A8wo5avVj/51e5042e0fa01238dd2ab104f5a4639c/info.svg",title:"Info"})]}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(f.A,{value:I[D.name],options:D.itemProps.radioOptions||[],label:D.name,name:D.name,onChange:e=>{E(t=>(delete t[D.name],{...t,[D.name]:e}))},variant:D.itemProps.radioVariant}),(0,a.jsx)(g.default,{className:j("next-btn"),onClick:()=>{q(3),et()},variant:"primary | for light bg",label:G,disabled:!I[D.name]})]}),3===V&&(0,a.jsxs)("div",{className:j("form-step"),children:[(0,a.jsx)(h.A,{className:j("smile-headlines"),index:r,depth:o,headline:null==S?void 0:S.step3Text,textStyling:X,pageProps:A}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(f.A,{value:I[F.name],options:F.itemProps.radioOptions||[],label:F.name,name:F.name,onChange:e=>{E(t=>(delete t[F.name],{...t,[F.name]:e}))},variant:F.itemProps.radioVariant}),(0,a.jsx)(g.default,{className:j("next-btn"),onClick:()=>{q(4),et()},variant:"primary | for light bg",label:G,disabled:!I[F.name]})]}),4===V&&(0,a.jsxs)("div",{className:j("form-step"),children:[(0,a.jsx)(h.A,{className:j("smile-headlines"),index:r,depth:o,headline:null==S?void 0:S.step4Text,textStyling:X,pageProps:A}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(f.A,{value:I[K.name],options:K.itemProps.radioOptions||[],label:K.name,name:K.name,onChange:e=>{E(t=>(delete t[K.name],{...t,[K.name]:e}))},variant:K.itemProps.radioVariant}),(0,a.jsx)(g.default,{className:j("next-btn"),onClick:()=>{q(5),et()},variant:"primary | for light bg",label:G,disabled:!I[K.name]})]}),5===V&&J&&(0,a.jsx)("div",{className:j("form-wrapper"),children:(0,a.jsx)(J,{...P,template:"Smile_Quiz",intialValues:I,custom:S})})]})]}),z&&O&&(0,a.jsx)(x.A,{item:O,setShowModal:e=>U(e),size:"lg",textAlignment:"left",buttonOnClick:()=>U(!1),closeText:null==A?void 0:A.sharedTranslation.close})]}):(0,a.jsx)(a.Fragment,{})})},15554:e=>{e.exports={"social-share-wrapper":"SocialMediaShare_social-share-wrapper__JU4_w",blueBackground:"SocialMediaShare_blueBackground___AQ7_",social_media:"SocialMediaShare_social_media__6YxNx",left:"SocialMediaShare_left__LVFcv",author_shareTitle:"SocialMediaShare_author_shareTitle__iZg1G"}},16111:e=>{e.exports={"main-input":"TextInput_main-input__PtbL5",label:"TextInput_label__7clth","input-dark":"TextInput_input-dark__ZhYtY","visually-hidden":"TextInput_visually-hidden__SLGSu","input-light":"TextInput_input-light__iH23Q"}},17095:e=>{e.exports={"article-body":"Body_article-body__E6Do4"}},17357:e=>{e.exports={"social-proofs-module":"SocialProof_social-proofs-module__EP30n","background-blue":"SocialProof_background-blue__Kczst","social-proof-slider":"SocialProof_social-proof-slider__9U3gP","slider-wrapper":"SocialProof_slider-wrapper__zHpqL","before-after":"SocialProof_before-after__YTF25","social-slide":"SocialProof_social-slide__R53vw","img-wrap":"SocialProof_img-wrap__aqKZS","before-after-slider":"SocialProof_before-after-slider__9u1kQ",tile:"SocialProof_tile__qCsMJ","social-capsule":"SocialProof_social-capsule__4TqsX",active:"SocialProof_active__k4Q3y","social-modal":"SocialProof_social-modal__eitjj","modal-media":"SocialProof_modal-media__h_Jdx","modal-content":"SocialProof_modal-content__T6TpL",cross:"SocialProof_cross__fDUQT","social-icon":"SocialProof_social-icon__XpGh_",noPadding:"SocialProof_noPadding__xmpti","light-grey-background":"SocialProof_light-grey-background__cU7kI","social-proofs-before-after-module":"SocialProof_social-proofs-before-after-module__cIYub","before-after-module":"SocialProof_before-after-module___hZjB","slider-first":"SocialProof_slider-first__IOobh","col-no-reverse":"SocialProof_col-no-reverse__Np6KR"}},17363:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});
1var a=i(95155),l=i(12115),n=i(65493),s=i(51800),r=i.n(s),o=i(53743);let d=(0,n.T)(r()),c=l.memo(e=>{let{name:t,label:i,checked:l,image:n,onChange:s,value:r,variant:c="Button",width:u}=e,m=()=>{s(r)};return"Button"===c?(0,a.jsxs)("div",{className:d("radio_main",l&&"checked_radio",u),onClick:m,"data-uw-ignore-s25":!0,children:[(0,a.jsx)("input",{type:"radio",name:t,value:r,checked:l,"aria-label":i,readOnly:!0}),(0,a.jsx)("span",{children:i}),n&&(0,a.jsx)(o.A,{title:n.fields.title,url:n.fields.file.url})]}):(0,a.jsxs)("div",{className:d("radio_main_2",l&&"checked_radio"),onClick:m,children:[(0,a.jsx)("div",{className:d(l?"type_Radio_cheked":"type_Radio"),children:(0,a.jsx)("div",{className:d("innerDivRadio")})}),(0,a.jsx)("input",{id:r,type:"radio",name:t,value:r,checked:l,"aria-label":r,readOnly:!0}),(0,a.jsx)("label",{htmlFor:r,children:(0,a.jsx)("span",{children:i})})]})})},17520:e=>{e.exports={"row-right":"Innovation_row-right__1EOYV",gray:"Innovation_gray__F0J_n","innovation-module":"Innovation_innovation-module__qTREW","content-left":"Innovation_content-left__JiGMp","content-right":"Innovation_content-right__fQ4Xp","content-column":"Innovation_content-column__9u_JM",content:"Innovation_content__KpCnK","image-sec":"Innovation_image-sec__EFxMl",hotspot:"Innovation_hotspot__HN8Xy",inner:"Innovation_inner__7_x1K",active:"Innovation_active__QYvRF",subheading:"Innovation_subheading__uUuR0"}},17938:(e,t,i)=>{"use strict";i.d(t,{default:()=>M});var a=i(95155),l=i(21024),n=i(59197),s=i(53743);i(55166);var r=i(93411),o=i(88947),d=i(65875),c=i(12115);let u="Invisalign Utility Navigation Menu",m=["image button","link | inherited","large button with image"],g=e=>{let{utilityLinks:t,pageProps:i}=e,{labelMap:l,site:g,localeId:h,sharedAssets:p}=i||{},_=null==g?void 0:g.locales.find(e=>e.id===h),f=null==g?void 0:g.locales.filter(e=>e.id!==h),[v,x]=(0,c.useState)(!1),y=(e,t)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:d.A.updateHTMLTagsAndSpecialChars(e),link_url:t?d.A.getUrlWithOrigin(t):"",menu_position:"utility nav"})},b=(0,c.useRef)(null),w=e=>{let t=e.target;e.target.closest('[aria-details="Language"]')||b.current&&!b.current.contains(t)&&x(!1)};(0,c.useEffect)(()=>(document.addEventListener("mousedown",w),()=>{document.removeEventListener("mousedown",w)}),[]);let j=l&&l["lang_".concat(null==_?void 0:_.language,"_invariant")]||(null==_?void 0:_.language)||"english",S=l&&"true"===l.hide_top_navi_language_switch;return(0,a.jsx)("div",{className:"utility-nav-container",children:(0,a.jsxs)("nav",{"aria-label":u,children:[(0,a.jsxs)("ul",{"aria-label":u,role:"menubar",children:[null==t?void 0:t.map(e=>{let{id:t,url:i,label:l,icon:o,dataTrackingKey:d,openLinkInNewTab:c,variant:u}=e;if(e.title.includes("Language"))return null;let g=!function(e){return"string"==typeof e&&!m.includes(e)}(u)?null:u;return(0,a.jsx)("li",{role:"none",onClick:()=>{y(l,i)},"aria-details":e.title.includes("Language")?"Language":"",children:g?(0,a.jsx)(r.default,{variant:g,ariaLabel:l,url:i,openLinkInNewTab:c,dataTrackingKey:d,role:"menuitem",children:(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)(s.A,{url:o.fields.file.url,title:o.fields.title}),l]})}):(0,a.jsx)(n.A,{href:i,"aria-label":l,role:"menuitem",dataTrackingKey:d,target:c?"_blank":void 0,children:(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)(s.A,{url:o.fields.file.url,title:o.fields.title}),l]})})},t)}),!S&&f&&(null==f?void 0:f.length)>0&&(0,a.jsx)("li",{role:"none",onClick:()=>{y(j,""),x(!v)},"aria-details":"Language",children:(0,a.jsx)(n.A,{role:"menuitem",children:j})})]}),!S&&v&&(0,a.jsx)("div",{className:"lang_box",ref:b,children:null==f?void 0:f.map((e,t)=>{let i=l&&l["lang_".concat(e.language,"_invariant")]||e.language||"english",n=e.slugPrefix?"/"+e.slugPrefix:"/";return(0,a.jsx)("div",{onClick:()=>y(i,n),"data-tracking-key":"".concat(i,"-header"),children:(0,a.jsx)("a",{href:n,children:i})},"lang-".concat(t))})})]})})},h={id:"7slAAU4WbPz64pph6oNceY",contentType:"Asset",fields:{title:"Top Nav | Invisalign Logo",description:"Invisalign Logo",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/5xlMjRQxQVTsgE68JNge8X/a6389161bbea63fdb25670ecee423e4c/invis_logo_black-USf6c4c07a1c4fd883eaa7700fa407c0b1eee748ec5e39566d4526419a4d72a89a.svg",details:{size:4794,image:{width:200,height:48}},fileName:"Invisalign-Logo.png",contentType:"image/png"}}},p={id:"6lFEmvbU5d3I2wAKKqRRZK",contentType:"Asset",fields:{title:"Top Nav | Invisalign Logo | mobile",description:"Invisalign Logo",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/5xlMjRQxQVTsgE68JNge8X/a6389161bbea63fdb25670ecee423e4c/invis_logo_black-USf6c4c07a1c4fd883eaa7700fa407c0b1eee748ec5e39566d4526419a4d72a89a.svg",details:{size:3122,image:{width:137,height:33}},fileName:"Invisalign-Logo_mobile.png",contentType:"image/png"}}};var _=i(33046);i(21456);let f="submenu",v="submenu-bg",x=e=>{let{rootNode:t,subNodes:i,isExpanded:l,handleClose:s}=e,r=(0,c.useRef)(null),u=[...i.reduce((e,t)=>
1{let{childNodes:i,...a}=t;return[...e,{...a,childNodes:i,depth:1},...i.map(e=>({...e,depth:2}))]},[])],m=(0,c.useCallback)(e=>{var t,i;let a=e.target;(null==(t=document.getElementById("header"))||!t.contains(a))&&((null==(i=r.current)?void 0:i.contains(e.target))||s())},[l]);return(0,c.useEffect)(()=>{let e,i=document.getElementById(f);if(i){let t=i.offsetHeight;i.style.bottom="-".concat(t,"px"),e=t}let a=()=>{let i=document.getElementById(t.domId),a=document.getElementById(v);if(i&&a&&(a.style.left="-".concat(i.offsetLeft,"px"),e)){let t=e+25;a.style.bottom="-".concat(t+1,"px"),a.style.height="".concat(t,"px")}};return a(),window.addEventListener("click",m),window.addEventListener("resize",a),()=>{window.removeEventListener("click",m),window.removeEventListener("resize",a)}},[]),(0,a.jsxs)("div",{ref:r,children:[l&&(0,a.jsx)("div",{id:v}),(0,a.jsx)("ul",{id:f,className:"main-nav-submenu",role:"menu","aria-label":t.label,children:u.map((e,t)=>{let{hideIn:i}=e;if("Top Navigation"===i)return(0,a.jsx)(a.Fragment,{});let{depth:l,label:s,url:r,openLinkInNewTab:c,...u}=e,m="".concat(t+1,"-depth-").concat(l+1,"-").concat(s);return(0,a.jsx)("li",{className:"sub-menuitem",role:"none",onClick:()=>((e,t)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:d.A.updateHTMLTagsAndSpecialChars(e),link_url:t?d.A.getUrlWithOrigin(t):"",menu_position:"top nav"})})(s,r),children:(0,a.jsx)(n.A,{role:"menuitem",href:r,type:"main nav item | secondary".concat(1===l?" #bold":""),target:c?"_blank":void 0,...u,children:s})},m)})})]})};i(10638);let y=e=>{let{navAriaLabel:t,rootNodes:i,isNarrow:l,setShowModal:s}=e,[r,u]=(0,c.useState)("");return(0,a.jsx)("div",{className:"main-nav-wrapper",id:"main-nav",children:(0,a.jsx)("nav",{className:"main-nav","aria-label":t||"Invisalign",children:(0,a.jsx)("ul",{className:"main-navigation".concat(l?" isnarrow":""),role:"menubar","aria-label":t,children:null==i?void 0:i.map((e,t)=>{let{hideIn:i}=e;if("Top Navigation"===i)return(0,a.jsx)(a.Fragment,{});if(e.title.includes("Language"))return;let{url:l,label:c,childNodes:m,dataTrackingKey:g,openLinkInNewTab:h}=e,p=!!m.length&&m.some((e,t)=>"Top Navigation"!==e.hideIn&&t!==m.length),_="".concat(t+1,"-depth-1-").concat(c),f=r===_;return(0,a.jsx)("li",{id:_,role:"none",className:"main-nav-menuitem",...p?{"aria-haspopup":"true","aria-expanded":f?"true":"false"}:{},onClick:()=>{p||((e,t)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:d.A.updateHTMLTagsAndSpecialChars(e),link_url:t?d.A.getUrlWithOrigin(t):"",menu_position:"top nav"})})(c,l)},children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{height:"100%"},className:"clickable",onClick:()=>(e=>{u(t=>t===e?"":e)})(_),children:(0,a.jsx)(n.A,{role:"menuitem",type:"main nav item",hovered:f,dataTrackingKey:g,target:h?"_blank":void 0,children:c})}),f&&(0,a.jsx)(x,{rootNode:{...e,domId:_},subNodes:m,isExpanded:f,handleClose:()=>u("")})]}):(0,a.jsx)(a.Fragment,{children:"#shopAccessoriesModal"===l?(0,a.jsx)("div",{role:"menuitem",onClick:()=>null==s?void 0:s(!0),className:"shop-accessories-link",children:c}):(0,a.jsx)(n.A,{role:"menuitem",href:l,type:"main nav item",dataTrackingKey:g,target:h?"_blank":void 0,children:c})})},_)})})})})},b={0:"root",1:"sub",2:"tertiary"},w=e=>{let{className:t}=e;return(0,a.jsx)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t||"nav-arrow-icon",children:(0,a.jsx)("path",{d:"M10 7L16 13L10 19",stroke:"#3D3935",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};i(59576);var j=i(23675);let S=e=>{var t;let{buttons:l,links:m,pageProps:g,topNavigation:h}=e,{labelMap:p}=g||{},{mainNavCTAs:_}=h||{},[f,v]=(0,c.useState)(!1),x=(e,t,i)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:t?d.A.updateHTMLTagsAndSpecialChars(t):"",link_url:i?d.A.getUrlWithOrigin(i):"",menu_position:e})},y=(0,j.y8)(!0,async()=>(await Promise.all([i.e(6219),i.e(8371)]).then(i.bind(i,38371))).default);return(0,a.jsxs)("div",{className:"mobile-utility-nav",children:[(0,a.jsx)("div",{className:"button-wrapper",children:l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"utility-button",onClick:()=>x("sticky nav",l[0].fields.label,l[0].fields.url),children:(0,a.jsx)(r.default,{...l[0].fields,variant:"primary | for dark bg"})}),f&&y?(0,a.jsx)("div",{className:"utility-button",children:(0,a.jsx)(y,{pageProps:g,closeMobileFad:e=>{v(!1)},mobileUtilityNav:!0})}):l[1]&&(0,a.jsx)("div",{className:"utility-button",onClick:()=>{var e,t;return x("sticky nav",null==(e=l[1])?void 0:e.fields.label,null==(t=l[1])?void 0:t.fields.url)},children:(0,a.jsx)(r.default,{...null==(t=l[1])?void 0:t.fields,variant:"secondary | for dark bg",onClick:()=>{(null==p?void 0:p.disableHeaderMiniSearch)==="true"&&(null==p?void 0:p.fad_base_url)?window.location.href=p.fad_base_url:v(!0)}})})]})}),(0,a.jsx)("div",{className:"link-wrapper",children:(0,a.jsx)("nav",{"aria-label":u,children:(0,a.jsx)("ul",{"aria-label":u,role:"menubar",children:null==m?void 0:m.map((e,t)=>{let{id:i,url:l,label:r,icon:o,openLinkInNewTab:d,...c}=e;if(!e.title.includes("Language"))return(0,a.jsx)("li",{role:"none",onClick:()=>x("utility nav",r,l),children:(0,a.jsx)(n.A,{href:l,"aria-label":r,role:"menuitem",target:d?"_blank":void 0,...c,children:(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)(s.A,{url:o.fields.file.url,t
1itle:o.fields.title,className:"utility-icon-".concat(t)}),r]})})},i)})})})})]})};i(38358);let A={root:void 0,sub:void 0,tertiary:void 0},T=(e,t)=>"sub"===e&&t?{...t,[e]:void 0}:A,N=e=>{let{rootNodes:t,navAriaLabel:i,utilityButtons:l,utilityLinks:r,mainNavContainerId:u,pageProps:m,setShowModal:g}=e,[h,p]=(0,c.useState)(!1),[_,f]=(0,c.useState)(),[v,x]=(0,c.useState)(T("root")),y=(0,c.useMemo)(()=>t.map(e=>e.id),[t]),j=(0,c.useCallback)((e,t)=>{x(i=>{var a;return(null==(a=i[t])?void 0:a.id)===e.id?T(t,i):{...i,[t]:e}})},[T,x]),A=(e,t)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:d.A.updateHTMLTagsAndSpecialChars(e),link_url:t?d.A.getUrlWithOrigin(t):"",menu_position:"top nav"})},N=(0,c.useCallback)(e=>{let{depth:t,nodes:l,parentNodes:r,expand:o=!1}=e,d=b[t];return(0,a.jsx)("ul",{className:"main-navigation-mobile"+(e=>"sub"===e?" sub-list":"tertiary"===e?" tertiary-list":"")(d),role:"menubar","aria-label":i,children:l.map((e,i)=>{var c,u;let{hideIn:m}=e;if("Top Navigation"===m)return(0,a.jsx)(a.Fragment,{});let{id:h,url:p,label:_,childNodes:f,openLinkInNewTab:x}=e,b="".concat(i+1,"-").concat(t,"-").concat(_),S=null==f?void 0:f.some((e,t)=>"Top Navigation"!==e.hideIn&&t!==f.length),T=e.id.includes("language"),C=null==(c=v[d])?void 0:c.id,P=!!v[d],L=!(!v[d]||e.id===C||!y.includes(e.id)),k=i===l.length-1,M=r.findIndex(e=>e.id===h)===r.length-1,I="root"===d&&(!P&&!k||(null==(u=v.root)?void 0:u.id)===h)||"sub"===d&&!k||"tertiary"===d&&(!M||M&&!k)||o;if(!e.title.includes("Language"))return(0,a.jsxs)("li",{role:"none",onClick:()=>{S||A(_,p)},className:"main-nav-menuitem-mobile".concat(C!==e.id&&!S?" flex items-center":"").concat(P?" ".concat(d,"-expanded"):"").concat(L?" hide-node":""),...S?{"aria-haspopup":"true","aria-expanded":P?"true":"false"}:{},children:[S?(0,a.jsx)("div",{className:"expandable clickable",onClick:()=>j(e,d),children:(0,a.jsx)(n.A,{...o?{href:p}:{},type:"main nav item | mobile #bold",role:"menuitem",className:"main-menuitem-button".concat("root"===d&&P?" expanded-height":""),isMobile:!0,children:(0,a.jsxs)("div",{className:"mobile-nav-item".concat(I?" bordered":""),onClick:()=>{o&&A(_,p)},children:[!o&&"root"===d&&P&&(0,a.jsx)(w,{className:"narrow-arrow-icon-before"}),(0,a.jsx)("span",{children:_}),!o&&("root"===d&&!P||"sub"===d&&S)&&(0,a.jsx)(w,{className:"narrow-arrow-icon-after"})]})})}):(0,a.jsx)(a.Fragment,{children:T?(0,a.jsx)("a",{href:p,className:"main-menuitem-link language-node",children:(0,a.jsx)("span",{className:"menuitem-link-label bordered",children:_})}):(0,a.jsx)(a.Fragment,{children:"#shopAccessoriesModal"===p?(0,a.jsx)("div",{role:"menuitem",onClick:()=>g(!0),className:"main-menuitem-link shop-accessories-link",children:(0,a.jsxs)("span",{className:"menuitem-link-label".concat(I?" bordered":"").concat("tertiary"===d?" tertiary":""),children:[e.icon&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{url:e.icon.fields.file.url,title:e.icon.fields.title,className:"globe-icon"}),"\xa0"]}),_]})}):(0,a.jsx)(n.A,{href:p,type:"main nav item | mobile".concat("tertiary"!==d?" #bold":""),role:"menuitem",className:"main-menuitem-link",isMobile:!0,target:x?"_blank":void 0,children:(0,a.jsxs)("span",{className:"menuitem-link-label".concat(I?" bordered":"").concat("tertiary"===d?" tertiary":""),children:[e.icon&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{url:e.icon.fields.file.url,title:e.icon.fields.title,className:"globe-icon"}),"\xa0"]}),_]})})})}),!o&&S&&P&&N({depth:t+1,nodes:f,parentNodes:l,expand:!0}),o&&S&&(0,a.jsx)("div",{className:"main-navigation-mobile tertiary-list",children:f.map((e,t)=>{let{id:i,url:l,label:s,openLinkInNewTab:r}=e;return(0,a.jsx)(n.A,{href:l,type:"main nav item | mobile",role:"menuitem",className:"main-menuitem-link",isMobile:!0,target:r?"_blank":void 0,children:(0,a.jsx)("span",{className:"menuitem-link-label tertiary".concat(I?" bordered":""),onClick:()=>{o&&A(s,l)},children:s})},t+i)})})]},b)})})},[y,i,v]);if((0,c.useEffect)(()=>{var e;f(null==(e=document.getElementById(u))?void 0:e.offsetHeight),p(!0)},[]),!h)return(0,a.jsx)(a.Fragment,{});let{labelMap:C,site:P,localeId:L}=m||{},k=null==P?void 0:P.locales.find(e=>e.id===L),M=null==P?void 0:P.locales.filter(e=>e.id!==L),I=C&&C["lang_".concat(null==k?void 0:k.language,"_invariant")]||(null==k?void 0:k.language)||"english",E=C&&"true"===C.hide_top_navi_language_switch,R=M?null==M?void 0:M.map(e=>{let t=C&&C["lang_".concat(e.language,"_invariant")]||e.language||"english";return{id:"language",title:t,label:t,url:e.slugPrefix?"/"+e.slugPrefix:"/",childNodes:[],childNodeGroups:[],dataTrackingKey:"".concat(t,"-header")}}):[],D=E?[]:[{id:"languages",title:I,label:I,childNodes:[...R],childNodeGroups:[],dataTrackingKey:"utility-language"}],F=M&&M.length>0?[...t,...D]:t;return(0,a.jsxs)("div",{className:"mobile-nav",style:{..._?{height:"calc(100vh - ".concat(_,"px)")}:{}},children:[(0,a.jsx)("nav",{className:"main-nav-mobile","aria-label":i||"Invisalign",children:N({depth:0,nodes:F,parentNodes:F})}),!!(null==r?void 0:r.length)&&(0,a.jsx)(S,{buttons:l,links:r,pageProps:m})]})};i(49992);let C=(0,c.memo)(e=>{var t;let{pageProps:l,topNavigation:n,size:s,device:u}=e,{labelMap:m}=l||{},{mainNavCTAs:g,needFadSearch:h}=n||{},p=null==g||null==(t=g.slice(-1)[0])?void 0:t.id,[_,f]=(0,c.useState)(!1),v=(0,j.y8)(!0,async()=>(await Promise.all([i.e(6219),i.e(8371)]).then(i.bind(i,38371))).default),x=(e,t)=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:e?d.A.updateHTMLTagsAndSpecialChars(e):"",link_url:t?d.A.getUrlWithOrigin(t):"",menu_position:"sticky nav"})},y=(0,c.memo)(e=>{let{buttonProps:t,identity:i,size:l}=e;return h&&t.id===p?(t.fields.url="#",(0,a.jsx)(r.default,{onClick:e=>{x(t.fields.label,t.fields.url),(null==m?void 0:m.disableHeaderMiniSearch)==="true"&&(null==m?void 0:m.fad_base_url)?window.location.href=m.fad_base_url:f(!0)},size:l,...t.fields}
1,"$main-nav-cta-".concat(i).concat(u))):(0,a.jsx)("div",{onClick:()=>x(t.fields.label,t.fields.url),children:(0,a.jsx)(r.default,{...t.fields,size:l},"main-nav-cta-".concat(i).concat(u))})});return(0,a.jsx)(a.Fragment,{children:_?(0,a.jsx)(a.Fragment,{children:v&&(0,a.jsx)(v,{pageProps:l,closeMobileFad:e=>{f(!e)}})}):(0,a.jsx)(a.Fragment,{children:null==g?void 0:g.map((e,t)=>(0,a.jsx)(y,{buttonProps:e,identity:t,size:s},"lastButtonToggle-".concat(t)))})})});var P=i(74212);let L="main-nav-container",k=(0,c.memo)(e=>{let[t,i]=(0,c.useState)(!1),{topNavigation:l,utilityNav:s,navAriaLabel:r,isMobile:u,pageProps:m}=e,{slug:g,labelMap:f,site:v,localeId:x}=m,{hide_secondaryNav_mobile:b}=f,w=((null==m?void 0:m.sharedEntries)||[]).filter(e=>{let{contentType:t}=e;return"modal"===t}).find(e=>{let{fields:t}=e;return"shop-accessories"===t.id}),j=!!b&&b.split(",").some(e=>g.includes(e.trim())),{childNodes:S=[],mainNavCTAs:A=[]}=l||{},{childNodes:T=[]}=s||{},[k,M]=(0,c.useState)(!1),[I,E]=(0,c.useState)(!1),R=(0,c.useMemo)(()=>u?p:h,[u]);(0,c.useEffect)(()=>{let e=()=>{var e;E(window.innerWidth<(7>((null==l||null==(e=l.childNodes)?void 0:e.length)||0)?1500:1700))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[l]);let{slugPrefix:D=""}=v.locales.filter(e=>e.id===x)[0]||v.locales[0]||{},F=D?"/".concat(D).replace(/\/+/g,"/"):"/";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"main-container",id:L,tabIndex:-1,children:[(0,a.jsx)("div",{className:"main-nav-logo".concat(I?" isnarrow":""),onClick:()=>{o.A.gtmTrackNA("menu_engagement",void 0,{link_text:d.A.updateHTMLTagsAndSpecialChars(R.fields.title),link_url:d.A.getUrlWithOrigin("/"),menu_position:"top nav"})},children:(0,a.jsx)(n.A,{href:F,passHref:!0,children:(0,a.jsx)(_.default,{image:R})})}),!u&&(0,a.jsxs)(a.Fragment,{children:[!I&&(0,a.jsx)(y,{rootNodes:S,navAriaLabel:r,setShowModal:i}),!!A.length&&(0,a.jsx)("div",{className:"main-nav-cta-wrapper",children:(0,a.jsx)(C,{topNavigation:l,pageProps:m})})]}),u&&l&&(0,a.jsx)("div",{className:"nav-icon-container",children:(0,a.jsx)("button",{id:"nav-icon",className:"nav-icon"+(k?" open":""),onClick:()=>M(e=>!e),"aria-label":"Menu",children:[,,,,].fill(null).map((e,t)=>(0,a.jsx)("span",{},"span-".concat(t)))})})]}),u&&k&&(0,a.jsx)(N,{rootNodes:S,navAriaLabel:r,utilityButtons:A,utilityLinks:T,mainNavContainerId:L,pageProps:m,setShowModal:i}),u&&!k&&!j&&(0,a.jsx)("div",{className:"secondary-nav",children:!!A.length&&(0,a.jsx)("div",{className:"secondary-cta-wrapper",children:(0,a.jsx)(C,{size:"small",topNavigation:l,pageProps:m,device:"mobile"})})}),!u&&I&&(0,a.jsx)(y,{rootNodes:S,navAriaLabel:r,isNarrow:I,setShowModal:i}),t&&(0,a.jsx)(P.A,{item:w,setShowModal:i,size:"xl",fullWidth:!0})]})});i(18283);let M=(0,c.memo)(e=>{let{topNavigation:t,utilityNav:i,navAriaLabel:n,isServerMobile:s,pageProps:r}=e,{childNodes:o}=i||{},{isMobile:d}=(0,l.B)(s);return(0,a.jsxs)("header",{id:"header","data-anchor":"nav",children:[!d&&!!(null==o?void 0:o.length)&&(0,a.jsx)(g,{utilityLinks:o,pageProps:r}),(0,a.jsx)(k,{topNavigation:t,utilityNav:i,navAriaLabel:n,isMobile:d,pageProps:r})]})})},18283:()=>{},19264:e=>{e.exports={"three-up-module":"ThreeUp_three-up-module___Qf0t","light-grey-background":"ThreeUp_light-grey-background__WLts_","three-up-child-body":"ThreeUp_three-up-child-body__PRZCX","threeup-card-list":"ThreeUp_threeup-card-list__kljbw","hide-on-mobile":"ThreeUp_hide-on-mobile__Dg4u2","three-up-button-wrapper":"ThreeUp_three-up-button-wrapper__1t9vp",slider:"ThreeUp_slider__JOhNy","with-btn":"ThreeUp_with-btn__o563M","without-slider":"ThreeUp_without-slider__YR1LR","dark-background":"ThreeUp_dark-background__E2ImR","text-section":"ThreeUp_text-section__JTUFd","slides-wrapper":"ThreeUp_slides-wrapper__t0Uno"}},19290:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var a=i(95155),l=i(33046),n=i(68937),s=i.n(n),r=i(65493),o=i(46574);let d=(0,r.T)(s()),c=e=>{var t,i,n;let{item:s,includes:r,homeSlug:c,topicSlug:u,localeId:m="en-US",depth:g=2,index:h=2,firstEntry:p=!1}=e,{title:_,slug:f,hero:v}=s.fields||{},x=v[0].sys?v[0].sys.id:v[0].id,y=r.Entry.find(e=>e.sys.id===x),{image:b=[],textStyling:w,articleDate:j,...S}=null==y?void 0:y.fields;if(!(null==(t=b[0])?void 0:t.fields)){let e=null==r||null==(n=r.Asset)?void 0:n.find(e=>e.sys.id===b[0].sys.id);e&&(b[0]=e)}let A={headLineStyle:{size:(null==w||null==(i=w.headLineStyle)?void 0:i.size)||"small"},removeMobileForceCenter:!0,...w},T={...S,textStyling:A},N=j&&new Date(j),C=N&&!isNaN(N.getTime()),P=C&&N&&N.toLocaleStr
1ing(m,{month:"long",year:"numeric"});return(0,a.jsxs)("a",{className:d("listing-card"),"aria-label":_||"",...c&&u&&f&&{href:"/".concat(c,"/").concat(u,"/").concat(f)},children:[(0,a.jsx)(l.default,{image:b[0]}),(0,a.jsx)(o.A,{depth:g,index:h,firstEntry:!!p,...T}),C&&N&&(0,a.jsx)("p",{style:{marginTop:15},children:"".concat(P)})]})}},19417:e=>{e.exports={radioWrapper:"Radio_radioWrapper__Tw_yg",radio_main_type:"Radio_radio_main_type__L78l9",type_Radio_cheked:"Radio_type_Radio_cheked__KQVh1",type_Radio:"Radio_type_Radio__ju6gw",innerDivRadio:"Radio_innerDivRadio__eZWIw",radioButton:"Radio_radioButton__412J1",radioInput:"Radio_radioInput__wP3pu",typeCheck:"Radio_typeCheck__fAH6K",radioLabel:"Radio_radioLabel__Ev53M"}},21024:(e,t,i)=>{"use strict";i.d(t,{B:()=>n});var a=i(12115),l=i(26549);let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"md",[i,n]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let e=()=>{let e=l.LO[t];n(window.innerWidth<e)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[t]),{isMobile:i}}},21456:()=>{},23445:e=>{e.exports={"footnote-container":"FootnotesStyle_footnote-container__6dF_t","footnotes-list":"FootnotesStyle_footnotes-list__4_tNy"}},23675:(e,t,i)=>{"use strict";i.d(t,{y8:()=>n});var a=i(12115);class l{init(){console.log("Initial document ready state: "+document.readyState),this.tickCache.interactive=new Date().getTime(),this.executeHandlers("interactive"),document.addEventListener("readystatechange",e=>{"complete"===document.readyState&&(console.log("Ready state: complete"),this.tickCache.complete=new Date().getTime(),this.executeHandlers("complete"))})}executeHandlers(e){if(!this.tickCache[e])return;let t=new Date().getTime();this.handlerCache[e].forEach(i=>{window.setTimeout(()=>{i.handler(e)},Math.max(i.delay+this.tickCache[e]-t,0))}),this.handlerCache[e]=[]}addListener(e,t,i){this.handlerCache[t].push({handler:e,delay:i}),this.executeHandlers(t)}checkIfStillPending(e,t){if(this.tickCache[e]){let i=new Date().getTime();return t+this.tickCache[e]-i>0}return!0}addListenerIfStillPending(e,t,i){return!!this.checkIfStillPending&&(this.addListener(e,t,i),!0)}constructor(){this.tickCache={interactive:0,complete:0},this.handlerCache={interactive:[],complete:[]}}}new l,i(42606),i(60087);let n=(e,t)=>{let[i,l]=(0,a.useState)(null);return(0,a.useEffect)(()=>{e&&!i&&(async()=>{l({component:await t()})})()},[e]),(null==i?void 0:i.component)||null}},23970:e=>{e.exports={"doc-locator-module":"DocLocatorSearch_doc-locator-module__G0EjC","dropdown-doc-loc":"DocLocatorSearch_dropdown-doc-loc__J1hwH","input-wrapper":"DocLocatorSearch_input-wrapper__Em_Ze","zip-input":"DocLocatorSearch_zip-input__8ipaG",search:"DocLocatorSearch_search__AIrgb",location:"DocLocatorSearch_location__foSlN","radio-wrapper":"DocLocatorSearch_radio-wrapper__4DIF1","fad-btn":"DocLocatorSearch_fad-btn__KKRyj",inlineMode:"DocLocatorSearch_inlineMode__I9_kj","label-heading":"DocLocatorSearch_label-heading__D4mAM","area-selector":"DocLocatorSearch_area-selector__7UA6s","select-wrapper":"DocLocatorSearch_select-wrapper__T9oug","area-select":"DocLocatorSearch_area-select__rVBcr","district-select":"DocLocatorSearch_district-select__QCA_n","invisalign-selector":"DocLocatorSearch_invisalign-selector__CNXqt","radio-option":"DocLocatorSearch_radio-option__yo7n1"}},25523:e=>{e.exports={"anchor-link-bar":"AnchorLinkBar_anchor-link-bar__YABHZ","anchor-link-wrapper":"AnchorLinkBar_anchor-link-wrapper__JlANL","anchor-links":"AnchorLinkBar_anchor-links__x9HdE"}},25618:e=>{e.exports={form_error_message:"HeartlandRequestAppointment_form_error_message__Wd1aX","request-appointment":"HeartlandRequestAppointment_request-appointment__9b0Ic",slots:"HeartlandRequestAppointment_slots__RU1go","slot-wrapper":"HeartlandRequestAppointment_slot-wrapper__t49X8","slot-overflow":"HeartlandRequestAppointment_slot-overflow__U8j_k","slot-wrapper-inner":"HeartlandRequestAppointment_slot-wrapper-inner__sB53r",slot:"HeartlandRequestAppointment_slot__tIwfi","parts-of-day":"HeartlandRequestAppointment_parts-of-day__SEdE6","parts-of-month":"HeartlandRequestAppointment_parts-of-month__Wp8m4","pod-wrapper":"HeartlandRequestAppointment_pod-wrapper__HSrNt","pom-wrapper":"HeartlandRequestAppointment_pom-wrapper__rOurF",pod:"HeartlandRequestAppointment_pod__VVHno",pom:"HeartlandRequestAppointment_pom__37bGX",selected:"HeartlandRequestAppointment_selected__TpEFw","mobile-calendar":"HeartlandRequestAppointment_mobile-calendar__xdI5E",dates:"HeartlandRequestAppointment_dates__SWS
1xw",date:"HeartlandRequestAppointment_date__IlHhC","label-date":"HeartlandRequestAppointment_label-date__GdQ_N",calendar:"HeartlandRequestAppointment_calendar__lwWeW","ra-step-2":"HeartlandRequestAppointment_ra-step-2__EqFuB","go-back":"HeartlandRequestAppointment_go-back__QkCWJ","form-wrapper":"HeartlandRequestAppointment_form-wrapper__Btq2v"}},26549:(e,t,i)=>{"use strict";i.d(t,{Ac:()=>a,LO:()=>l});let a=["h1","h2","h3","h4","h5","h6"],l={xs:0,sm:360,md:800,lg:1024,xl:1400,xxl:1900}},26866:()=>{},27236:e=>{e.exports={"main-blue-banner":"BlueAlertBanner_main-blue-banner__H36Gc","text-banner":"BlueAlertBanner_text-banner__JVmm6",crossIcon:"BlueAlertBanner_crossIcon__aY9ZA"}},28269:(e,t,i)=>{"use strict";i.d(t,{default:()=>d});var a=i(95155),l=i(12115),n=i(21621),s=i.n(n);let r="undefined"!=typeof IntersectionObserver,o=new Map;function d(){let[e,t]=(0,l.useState)(!1),i=(0,l.useRef)(null),n=(0,l.useRef)(null),d=(0,l.useCallback)(e=>{n.current=e},[]),c=(0,l.useCallback)((e,t)=>{n.current&&n.current({...t,origin:{y:.6},particleCount:Math.floor(120*e)})},[]);(0,l.useEffect)(()=>{if(i.current){let e=function(e,t,i){if(!r)return()=>{};let{id:a,observer:l,elements:n}=function(e){let t=e.rootMargin||"",i=o.get(t);if(i)return i;let a=new Map,l=new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),i=e.isIntersecting||e.intersectionRatio>0;t&&t(i)})},e);return o.set(t,i={id:t,observer:l,elements:a}),i}(i);return n.set(e,t),l.observe(e),function(){n.delete(e),l.unobserve(e),0===n.size&&(l.disconnect(),o.delete(a))}}(i.current,e=>{e&&t(!0)},{});return()=>{e()}}},[]),(0,l.useEffect)(()=>{e&&u()},[e]);let u=(0,l.useCallback)(()=>{c(.25,{spread:26,startVelocity:55}),c(.2,{spread:60}),c(.35,{spread:100,decay:.91,scalar:.8}),c(.1,{spread:120,startVelocity:25,decay:.92,scalar:1.2}),c(.1,{spread:120,startVelocity:45})},[c]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:i}),(0,a.jsx)(s(),{refConfetti:d,style:{position:"fixed",pointerEvents:"none",width:"100%",height:"100%",top:0,left:0,zIndex:9999}})]})}},29516:(e,t,i)=>{"use strict";i.d(t,{PT:()=>r,FL:()=>m,xQ:()=>g,BR:()=>s});let a=async e=>(0,(await i.e(919).then(i.bind(i,60919))).default)(e),l=async e=>{try{var t,i,l;if(e.city=null,(null==(t=e.countrycode)?void 0:t.toUpperCase())==="IN"){let t={zip:(null==(i=e.zip__c)?void 0:i.toString())||""};try{e.city=(null==(l=(await a({method:"post",url:"/api/getCityName",data:t})).data)?void 0:l.city)||null}catch(e){console.error("Error fetching city name:",e)}}}catch(e){throw console.error("Error fetching timezone:",e),e}},n=async e=>{let t=e.attachDocInfo;try{var i,a,n;let s,r;(null==e?void 0:e.zip__c)&&(s=(await c(null==e||null==(a=e.zip__c)?void 0:a.toString(),e.withAssetPrefix)).tz),e.tz=s,(null==(i=e.countrycode)?void 0:i.toUpperCase())!=="VN"&&await l(e),(null==e?void 0:e.zip__c)&&(r=(await u({zipcode:null==e||null==(n=e.zip__c)?void 0:n.toString(),country_code:null==e?void 0:e.countrycode,Recaptcha:null==e?void 0:e.Recaptcha},e.withAssetPrefix)).accountsInfo)&&(e.finance__c=r.finance,e.adapt_eligible__c=r.adapt_eligible,e.pilot_partner__c=r.pilot_partner,e.consumer_zip_cluster__c=r.cluster_name,t&&(e.account__r__account_number__c=r.accounts[0],e.account2__r__account_number__c=r.accounts[1],e.account3__r__account_number__c=r.accounts[2]));let o={leadsource__c:e.leadsource,source_sub_type__c:e.subLeadSource||"",i_am__c:e.i_am__c,preferred_doctor_1__c:null==e?void 0:e.preferred_doctor_1__c,...t?{account__r__account_number__c:null==r?void 0:r.accounts[0],account2__r__account_number__c:null==r?void 0:r.accounts[1],account3__r__account_number__c:null==r?void 0:r.accounts[2]}:e.account__r__account_number__c?{account__r__account_number__c:e.account__r__account_number__c}:{}};return e.lead_journey=o,e.source_sub_type__c=e.subLeadSource||"",e.time_zone_text__c="",e}catch(e){throw console.error("Error in getDocInfoAndTimeZone:",e),e}},s=async(e,t)=>{try{var i;e.RECAPTCHA_ACTIVE&&(e.RecaptchaAction="pre_check",e.Recaptcha=await window.loadRecaptcha("pre_check")),(null==(i=e.countrycode)?void 0:i.toUpperCase())!=="VN"&&(e.removeDocInfo?await l(e):await n(e));let a=(e=>{let t=e.attachDocInfo;return{leadsource__c:e.leadsource,source_sub_type__c:e.subLeadSource||"",i_am__c:e.i_am__c,preferred_doctor_1__
1c:null==e?void 0:e.preferred_doctor_1__c,...t?{account__r__account_number__c:e.account__r__account_number__c,account2__r__account_number__c:e.account2__r__account_number__c,account3__r__account_number__c:e.account3__r__account_number__c}:e.account__r__account_number__c?{account__r__account_number__c:e.account__r__account_number__c}:{}}})(e);return e.lead_journey=a,e.source_sub_type__c=e.subLeadSource||"",delete e.attachDocInfo,delete e.subLeadSource,delete e.removeDocInfo,"isPatient"in e&&"Yes"===e.isPatient?await d(e,e.withAssetPrefix):await o(e,t,e.withAssetPrefix)}catch(e){throw console.error("Error in submitFormData:",e),e}},r=async e=>(await a({method:"post",url:"/api/getAddressFromLatLng",data:e})).data,o=async function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l="phone";(null==e?void 0:e[l])&&t&&(e[l]=t+(null==e?void 0:e[l]));try{return(await a({method:"post",url:i?"".concat(i,"/api/submitGenericLead"):"/api/submitGenericLead",data:e})).data}catch(e){throw console.error("Error in submitFormData:",e),e}},d=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(await a({method:"post",url:t?"".concat(t,"/api/submitTicket"):"/api/submitTicket",data:e})).data},c=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(await a({method:"post",url:t?"".concat(t,"/api/getTimeZone"):"/api/getTimeZone",data:{zip:e}})).data},u=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(await a({method:"post",url:t?"".concat(t,"/api/getDocInfo"):"/api/getDocInfo",data:e})).data},m=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.RecaptchaAction="pre_check",e.Recaptcha=await window.loadRecaptcha("pre_check"),(await a({method:"post",url:t?"".concat(t,"/api/getDocInfoById"):"/api/getDocInfoById",data:e})).data.docInfo},g=async e=>(await a({method:"post",url:"/api/getHeartlandSlots",data:e})).data.slots},30411:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CustomArrow:()=>d,default:()=>c});var a=i(95155),l=i(12115),n=i(45735),s=i(12389);i(59040);let r=s.A;function o(e){let t,{direction:i="right",isClickable:l,disabled:n,onClick:s}=e,r=(t="","left"===i&&(t+="left-arrow"),l&&(t+=t.length?" clickable":"clickable"),t);if(n)return(0,a.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[(0,a.jsx)("circle",{cx:"20",cy:"20",r:"15",fill:"#EFEFEF"}),(0,a.jsx)("path",{d:"M17 14L23 20L17 26",stroke:"#3D3935",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});let o=Math.round(1e3*Math.random());return(0,a.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:s,className:r,children:[(0,a.jsx)("circle",{cx:"20",cy:"20",r:"16.5",fill:"white",stroke:"url(#paint0_linear_2428_13259_".concat(o,")"),strokeWidth:"3"}),(0,a.jsx)("path",{d:"M18 14L24 20L18 26",stroke:"#3D3935",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_2428_13259_".concat(o),x1:"20",y1:"5",x2:"20",y2:"35",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0.0572917",stopColor:"#8FD205"}),(0,a.jsx)("stop",{offset:"0.916667",stopColor:"#0B9EBF",stopOpacity:"0.923931"})]},o)})]})}i(85395),i(26866);let d=e=>{let{slideCount:t,currentSlide:i,direction:l,indicatorPosition:n,onClick:s,className:r,background:d,btnWrapperHeight:c,sliderType:u}=e,m="".concat(Number(i)+1,"/").concat(t),g=null==r?void 0:r.includes("disabled");return(0,a.jsxs)("div",{className:"flex justify-center items-center ".concat("left"===l?"prev-arrow":"next-arrow"),style:{...c?{bottom:-((c+95)*1)}:{}},children:["right"===l&&"bottom (with page count)"===n&&(0,a.jsx)("span",{className:"page-count bg-".concat(d," font-").concat(u.split(" ").join("-")),children:m}),(0,a.jsx)(o,{direction:l,onClick:s,disabled:g,isClickable:!g})]})},c=(0,l.forwardRef)((e,t)=>{let[i,s]=(0,l.useState)(),{children:o,indicatorPosition:c,className:u,background:m="light",btnWrapperId:g,type:h,slidesToShow:p=1,slideAtOnce:_=1,onIndexChange:f}=e,v=(0,n.CK)(m),x={infinite:!1,slidesToShow:p,slidesToScroll:_,prevArrow:(0,a.jsx)(d,{direction:"left",indicatorPosition:c,btnWrapperHeight:i,background:v,sliderType:h}),nextArrow:(0,a.jsx)(d,{direction:"right",indicatorPosition:c,btnWrapperHeight:i,background:v,sliderType:h}),afterChange:f},y=(0,l.useRef)(null),b=e=>{y.current&&y.current.slickGoTo(e)};(0,l.useImperativeHandle)(t,()=>({goToSlide:b}));let w=(0,l.useCallback)(()=>{var e;if(!g)return;
1let t=null==(e=document.getElementById(g))?void 0:e.clientHeight;t&&s(t)},[g,s]);return(0,l.useEffect)(()=>{var e;return g&&s(null==(e=document.getElementById(g))?void 0:e.clientHeight),window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)},[]),(0,a.jsx)("div",{className:"slider page-count-".concat((0,n.JA)(c)).concat(!i?" without-button":"").concat(o.length<=p?" without-arrows":"").concat(u?" ".concat(u):""),children:(0,a.jsxs)(r,{ref:y,...x,children:[...o]})})})},30945:e=>{e.exports={"video-container":"Video_video-container__7QHHy","custom-controls":"Video_custom-controls__YAzYq",controls:"Video_controls__48SxV","play-btn":"Video_play-btn__tlSVV","pause-btn":"Video_pause-btn__CTBaz",buffering:"Video_buffering__BHJLF",pause:"Video_pause__VVC18"}},31302:e=>{e.exports={"chips-selected":"Chip_chips-selected__O3WA2","chips-not-selected":"Chip_chips-not-selected__4U6Xc","chips-item-part":"Chip_chips-item-part__01cAt","chips-label":"Chip_chips-label__NKT_Z"}},31896:()=>{},32476:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var a=i(43172);class l{isEmpty(e){return 0===Object.keys(e).length}checkIfPageExists(e){if(!(null==e?void 0:e.articles))return!1;let{articles:t}=e;return!("topic"===t.page&&this.isEmpty(t.articlesTopic[0]))&&!("details"===t.page&&this.isEmpty(t.articleDetails[0]))}splitToNChunks(e,t){let i=[];for(;e.length;)i.push(e.splice(0,t));return i}filterAndDelete(e,t,i){let a=null==e?void 0:e.filter(e=>{var i;return null==(i=e.fields)?void 0:i[t]}),l=i?[...a.slice(0,i)]:a,n=e.filter(e=>!l.find(t=>e.sys.id===t.sys.id));return{response:structuredClone(l),remaining:structuredClone(n)}}toHoursAndMinutes(e){return{hours:Math.floor(e/60),minutes:e%60}}labelForBreadcrumb(e){return e.replaceAll("/"," - ").replaceAll("-"," ")}constructor(){this.afterIcon=()=>[{fields:{entryTitle:"Right Arrow | Tertiary CTA | For Light BG",icon:{fields:{title:"Graphic | Arrow | Right | Circle | Blue",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/39WDoZnTA1eA9oWUNHdBcd/650192e5326f3e272188f8390ca892e0/Right_Arrow_Icon_Heritage.svg",fileName:"Right_Arrow_Icon_Heritage.svg",contentType:"image/svg+xml",details:{size:825,image:{width:20,height:20}}}}},animation:"arrow-right"}}],this.contentsFootnote=async e=>{let t=[],i=[],l=1,n=async e=>{let t=await a.A.getEntry("pda",e,{select:"fields"});return null==t?void 0:t.fields},s=e=>!!(null==e?void 0:e.nodeType)&&(!!(null==e?void 0:e.content)||!!(null==e?void 0:e.data)),r=e=>{Object.keys(e).forEach(t=>{let i=e[t];i&&(Array.isArray(i)?i=i.map(e=>r(e)):"object"==typeof i&&(i=s(i)?o(i):r(i)))})},o=async e=>{if(!e||"object"!=typeof e)return e;let{nodeType:a,data:o,content:d,...c}=e;Object.keys(c).length&&Array.isArray(d)&&d[0]&&s(d[0])&&r(c);let u=async e=>{for(let r of e){var a,s;if("entry-hyperlink"===r.nodeType&&r.content&&"*"===r.content[0].value&&(null==(s=r.content[0])||null==(a=s.marks)?void 0:a.some(e=>"superscript"===e.type))){let e=i.find(e=>e.footnoteEntryId===r.data.target.sys.id);if(e)r.content[0].footnoteNumber="".concat(e.footnoteNumber);else{let e={};e.footnoteNumber="".concat(l),e.footnoteEntryId=r.data.target.sys.id;let a=await n(r.data.target.sys.id),s={id:r.data.target.sys.id,contentType:"footnote",fields:{...a}};s&&t.push(s),i.push(e),r.content[0].footnoteNumber="".concat(l),l++}}Array.isArray(r.content)&&await u(r.content)}};await u(e.content)},d=async e=>{var t,i,a,l,n;for(let t in e.fields.bodyCopy.content){let i=null==(a=e.fields.bodyCopy)?void 0:a.content[t];await o(i)}let s=null==(i=e.fields)||null==(t=i.inlineModule)?void 0:t.fields;if(s)for(let e in null==(l=s.bodyCopy)?void 0:l.content){let t=null==(n=s.bodyCopy)?void 0:n.content[e];await o(t)}},c=async e=>{for(let t=0;t<e.length;t++)if(0===t){var i,a;let t=null==(i=e[0].fields.eyebrow)?void 0:i.content[0];await o(t);let l=null==(a=e[0].fields.headline)?void 0:a.content[0];await o(l)}else await d(e[t]);return t};return await c(e),t},this.checkForArticlesMetadata=async e=>{var t,i;let a;return"topic"===e.page?a=null==(t=e.articlesTopic[0].fields)?void 0:t.seoMetadata.sys.id:"details"===e.page&&(a=null==(i=e.articleDetails[0].fields)?void 0:i.seoMetadata.sys.id),e.includes.Entry.find(e=>e.sys.id===a)}}}let n=new l},33046:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var a=i(95155),l=i(15239);let n=e=>{var t,i,n,s,r,o;let{image:d,sizes:c,loading:u,className:m,fill:g=!1,alt:h="",priority:p=!1,style:_}=e;if(!(null==d||null==(i=d.fields)||null==(t=i.file)?void 0:t.url))return null;let f=/\.svg$/i.test(d.fields.file.url);return(0,a.jsx)(l.default,{className:m,fill:g,sizes:c,loading:u,unoptimized:f,alt:d.fields.description||h||"",priority:p,style:_,...!g&&{width:(null==(s=d.fields.file.details)||null==(n=s.image)?void 0:n.width)||200,height:(null==(o=d.fields.file.details)||null==(r=o.image)?void 0:r.height)||200},src:"".concat(d.fields.file.url.includes("https://")?d.fields.file.url:"https:".concat(d.fields.file.url)),loader:e=>{let{src:t,width:i}=e;if(t.startsWith("//")&&(t="https:"+t),/\.svg$/i.test(t))return t;let a=[];return a.push("fm=webp"),a.push("w=".concat(i)),"".concat(t).concat(t.indexOf("?")>=0?"&":"?").concat(a.join("&"))}})}},34188:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var a=i(95155),l=i(52619),n=i.n(l),s=i(84919),r=i.n(s);let o=(0,i(65493).T)(r()),d=e=>{let{titleSlugMap:t={}}=e,i=Object.keys(t);return i.length?(0,a.jsx)("div",{className:o("breadcrumbs"),children:(0,a.jsx)("div",{className:"container-inner",children:i.map((e,l)=>(0,a.jsx)("span",{children:i.length-1!==l?(0,a.jsxs)("span",{children:[(0,a.jsx)(n(),{href:"/".concat(t[e].slug),children:t[e].title},"breadcrumb-".concat(l)),(0,a.jsx)(a.Fragment,{children:" \xa0|\xa0 "})]},"breadcrumbs-".concat(l)):(0,a.jsxs)("span",{children:[" ",t[e].title]},"breadcrumbs-".concat(l))},"breadcrumbs-".concat(l)))})}):(0,a.jsx)(a.Fragment,{})}},34472:e=>{e.exports={"accordion-wrapper":"countrySelction_accordion-wrapper__TTBzE","geography-header":"countrySelction_geography-header__DMfe3",row:"countrySelction_row__mkTVn",accordion:"countrySelction_accordion__aGzVo",col:"countrySelction_col__z3KCK",tb:"countrySelction_tb__vssW1","country-item":"countrySelction_country-item__HyrbV",continantWrap:"c
1ountrySelction_continantWrap__iNAUW",plus:"countrySelction_plus__wQQvl",minus:"countrySelction_minus__tE6MU"}},34672:(e,t,i)=>{"use strict";i.d(t,{Ph:()=>d,v7:()=>o});var a=i(95155);i(12115);var l=i(67589),n=i(37793),s=i(95704);let r=e=>{let{item:t,typeTemplateMap:i}=e,l=i[t.contentType];if(!l)return console.log("Template map not found for content type: ".concat(t.contentType)),null;let n=t.fields.template,s=n&&l[n]||l._default;return(0,a.jsx)(s,{...e})},o=(e,t,i,a)=>{let{depth:l}=e;return l>parseInt(s.env.GENERAL_MAX_RENDER_DEPTH||"5")?[]:t.map((t,l)=>d(e,t,l,i,"function"==typeof a?null==a?void 0:a(t,l):a))},d=(e,t,i,l,n)=>{let{depth:s,typeTemplateMap:o,isFirstDescendant:d,adminMode:u,pageProps:m}=e,g={item:t,depth:s+1,typeTemplateMap:o,index:i,isFirstDescendant:d&&0===i,additionalProps:n,adminMode:u,pageProps:m},h=e=>e||(0,a.jsx)(r,{...g},t.id);return 0===s?c(g,h()):l?l(e,g,h):h()},c=(e,t)=>{var i,s;let{item:r}=e,o=((null==(i=r.fields.classes)?void 0:i.map(e=>e.fields.title))||[]).some(e=>"layout-container"===e);return(0,a.jsx)(l.mc,{fluid:!o,...(null==(s=r.fields)?void 0:s.anchor)&&{"data-anchor":n.A.createIdForEl(r.fields.anchor)},children:t},e.item.id)}},35468:()=>{},35925:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var a=i(95155),l=i(50059),n=i(69442),s=i(23970),r=i.n(s),o=i(65493),d=i(12115);let c=(0,o.T)(r()),u=(0,d.memo)(e=>{let{id:t,defaultRadioSelection:i,callback:s,source:r="default",translation:o,radioType:u}=e,[m,g]=(0,d.useState)(i),h=e=>{g(e),s(e)};return(0,d.useEffect)(()=>{g(i)},[i]),(0,a.jsxs)(l.A.Group,{className:"patient-age-radio",children:[(0,a.jsx)("p",{className:c("label-heading".concat("miniSearch"===r?" mini-search-label":"")),children:(null==o?void 0:o.label_patient_age)||"PATIENTâS AGE"}),(0,a.jsxs)("div",{className:c("radio-wrapper".concat("miniSearch"===r?" mini-search":"")),children:[(0,a.jsx)(n.A,{id:"formRadioTeen-".concat(t),value:"teen",checked:"teen"===m,onChange:e=>h("teen"),label:(null==o?void 0:o.label_under_20)||"Under 20",type:u}),(0,a.jsx)(n.A,{id:"formRadioAdult-".concat(t),value:"adult",checked:"adult"===m,onChange:e=>h("adult"),label:(null==o?void 0:o.label_over_20)||"20 +",type:u})]})]})})},36657:e=>{e.exports={seperator:"FAQsByTopic_seperator__zd_Xx",titleSpace:"FAQsByTopic_titleSpace__m5iWI","faq-single-topic":"FAQsByTopic_faq-single-topic__LXCOi",separator_results:"FAQsByTopic_separator_results__2dNag",search_results:"FAQsByTopic_search_results__jePbg",loadMoreBtnSearch:"FAQsByTopic_loadMoreBtnSearch__iuAn0","chips-countainer":"FAQsByTopic_chips-countainer__djL12","faqs-button":"FAQsByTopic_faqs-button__KDaPT","faq-question-title-search-q":"FAQsByTopic_faq-question-title-search-q__6r_2_","faq-question-title-search-a":"FAQsByTopic_faq-question-title-search-a__aXQaM"}},36746:e=>{e.exports={"confetti-module":"Confetti_confetti-module__sgYW3","image-sec":"Confetti_image-sec__3bOXV"}},37008:e=>{e.exports={parternship_main:"PartnershipTabSlider_parternship_main__K2yy2",tab_container:"PartnershipTabSlider_tab_container__RSWi9",tab_container_item:"PartnershipTabSlider_tab_container_item__bhf_K",tab_container_item_active:"PartnershipTabSlider_tab_container_item_active__Kdxp_",card_container:"PartnershipTabSlider_card_container__UiM0F"}},37793:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let a=e=>{let{from:t,to:i,duration:a=300,easeFunc:l=e=>e<.5?2*e*e:-1+(4-2*e)*e,update:n,complete:s}=e,r=i-t,o=performance.now(),d=()=>{let e=performance.now()-o||.01;if(e>=a)return void s();n(t+l(e/a)*r,e),window.requestAnimationFrame(d)};window.requestAnimationFrame(d)};class l{isVisible(e){return e.offsetWidth>0&&e.offsetHeight>0}getDimensions(e){if(!this.isVisible(e)){let t=e.style.display;e.style.display="";let i={h:e.offsetHeight,w:e.offsetWidth};return e.style.display=t,i}return{h:e.offsetHeight,w:e.offsetWidth}}slideDown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;if(!this.isVisible(e)){let{overflow:i,height:l}=e.style;e.style.display="";let{h:n}=this.getDimensions(e);e.style.overflow="hidden",a({from:0,to:n,duration:t,update:t=>e.style.height=t+"px",complete:()=>{e.style.overflow=i,e.style.height=l}})}}slideUp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;if(this.isVisible(e)){let{h:i}=this.getDimensions(e),{overflow:l,height:n}=e.style;e.style.overflow="hidden",a({from:i,to:0,duration:t,update:t=>e.style.height=t+"px",complete:()=>{e.style.display="none",e.style.height=n,e.style.overflow=l}})}}toggleSlide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;this.isVisible(e)?this.slideUp(e,t):this.slideDown(e,t)}scrollTo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=0;if(e){let a=e.getBoundingClientRect();if(!a||!a.top)return;i=a.top+window.scrollY-t}else{if(e||0===t)return;i=t}window.scrollTo({top:i,left:0,behavior:"smooth"})}findParentBySelector(e,t,i){let a=(e,t)=>{for(let i=0,a=e.length;i<a;i++)if(e[i]===t)return!0;return!1},l=document.querySelectorAll(t),n=i?e:e.parentNode;for(;n&&!a(l,n);)n=n.parentNode;return n}createIdFromLocaleAndSlug(e,t){if(!e)return"";let{formName:i,num:a=0}=t||{},{localeId:l,slug:n}=e,s=(null==n?void 0:n.toLowerCase().includes("vivera"))?"viv-con":"inv-con",r="/"===n||"fr"===n?"home":null==n?void 0:n.split("/").splice(-1)[0].toLowerCase();"viv-con"!==s||r.includes("vivera")||(r="vivera-".concat(r)),"teen-invisalign/testimonials"===n&&(r="teen_".concat(n.split("/")[1]));let o="".concat(s,"-").concat(l.toLowerCase().split("-").reverse().join("-"),"-").concat(r).replace("_","-");return i&&(o="".concat(o,"-").concat(i)),(a||0!==a)&&(o="".concat(o,"-").concat(a)),o.toString()}createIdForEl(e){return(e=e.trim().replace("#","")).toString()}scrollToAnchor(e,t){try{setTimeout(()=>{var i;let a=e||window.location.href.split("#")[1];if(null==a?void 0:a.includes("?"))return;let l=a?document.querySelector('[data-anchor="'.concat(a,'"'))||document.querySelector('[id="'.concat(a,'"')):null;if(!l)return;let n=document.querySelector('[data-anchor="nav"'),s=n?n.getBoundingClientRect().height+10:0,r=n?parseInt((null==(i=window.getComputedStyle(n,null).getPropertyValue("top"))?void 0:i.replace(/\D/g,""))||"0",10):0,o=document.body.getBoundingClientRect().top,d=l.getBoundingClientRect().top-o-s;0!==r&&(d+=s-20),t&&(d-=t),this.scrollTo(void 0,d)},500)}catch(e){}}heeetData(){if("undefined"==typeof document)return{};{let e=Array.from(document.querySelectorAll("input[type=hidden][name^=Heeet]")),t={};return 0!=e.length&&e.forEach((e,i)=>{var a;t["".concat(null==(a=e.getAttribute("name"))?void 0:a.toLowerCase())]=e.getAttribute("value")}),t}}
1fetchUtmDataFromPageProps(e){if(!e)return;let t=Object.keys(null==e?void 0:e.urlParams).filter(e=>e.startsWith("utm")).reduce((t,i)=>(t[i]=null==e?void 0:e.urlParams[i],t),{});return Object.keys(t).length?t:void 0}validatorEscape(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}validatorUnescape(e){return e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")}tokenReplace(e,t){let i="",a=e.split("{label:");for(let e=1;e<a.length;e++)i+=t[a[e].substring(0,a[e].search("}"))],i+=a[e].substring(a[e].search("}")+1);return i}constructor(){this.slugListTreatable=e=>{var t;return null==e||null==(t=e.inline_smile_assessment_na)?void 0:t.split(",")}}}let n=new l},38358:()=>{},39971:e=>{e.exports={"articles-hero":"Hero_articles-hero__z_ttJ","article-hero-text":"Hero_article-hero-text__Dh930","article-hero-image":"Hero_article-hero-image__X0MBm","hero-wrapper":"Hero_hero-wrapper__ZX7mG","clickable-card":"Hero_clickable-card__TRu_v","articles-hero-card-row":"Hero_articles-hero-card-row__SkQrX","articles-hero-card":"Hero_articles-hero-card__mhbjm","article-date":"Hero_article-date__w_XiT",headline:"Hero_headline__AgSQt",h1:"Hero_h1__T7H_l"}},41408:(e,t,i)=>{"use strict";i.d(t,{default:()=>v});var a=i(95155),l=i(12115),n=i(65493),s=i(67589),r=i(46574),o=i(99095),d=i(39768),c=i(41499),u=i(39093),m=i(34472),g=i.n(m),h=i(52619),p=i.n(h);let _=(0,n.T)(g()),f=e=>{let{children:t,eventKey:i,callback:n}=e,s=(0,l.useContext)(d.A),r=(0,u.M)(i,()=>n&&n(i)),o=(null==s?void 0:s.activeEventKey)===i;return(0,a.jsx)("p",{className:_(o?"tb minus":"tb plus","primary","large"),onClick:r,children:t})},v=e=>{let{index:t,depth:i,disableAllowDomainAccess:n,continents:d=[],images:u=[],...m}=e,[h,v]=(0,l.useState)("default"),x=()=>v(window.innerWidth<=992?"mobile":"default");(0,l.useEffect)(()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]);let y=(e,t)=>{var i;return(0,a.jsxs)("div",{className:g().continantWrap,children:[(0,a.jsx)(f,{eventKey:e.toString(),children:t.continentName}),(0,a.jsx)(c.A.Collapse,{className:_("country-item",{show:"mobile"!==h}),eventKey:e.toString(),children:(0,a.jsx)(l.Fragment,{children:null==(i=t.country)?void 0:i.map((e,t)=>{let{countryName:i,countryURL:l}=e;return(0,a.jsx)(p(),{className:_("primary"),href:"".concat(l).concat("true"!==n?"?allowDomainAccess=1":""),children:i},t)})})})]})};return(0,a.jsxs)("div",{className:_("container-fluid accordion-wrapper"),children:[(0,a.jsx)(s.fI,{children:(0,a.jsx)(s.fv,{md:12,children:(0,a.jsx)("div",{className:_("geography-header"),children:(0,a.jsx)(o.A,{images:u||[],location:"",children:(0,a.jsx)(r.A,{depth:i,index:t,firstEntry:!0,headline:m.headline,textStyling:{headLineStyle:{size:"medium"}},disableForceHeadlineStyle:!0,...m})})})})}),(0,a.jsx)("div",{className:"container",children:(0,a.jsx)(s.fI,{children:(0,a.jsxs)(c.A,{className:"row ".concat(g().row," ").concat(g().accordion),children:[(0,a.jsxs)(s.fv,{md:4,className:g().col,children:[d[0]&&y(0,d[0]),d[1]&&y(1,d[1])]}),(0,a.jsx)(s.fv,{md:4,className:g().col,children:d[2]&&y(2,d[2])}),(0,a.jsx)(s.fv,{md:4,className:g().col,children:d.length>3&&d.slice(3).map((e,t)=>y(t+3,e))})]})})})]})}},42634:()=>{},43172:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var a=i(23917),l=i(2040),n=i(97939),s=i(95704);let r=new l.Y({region:s.env.S3_REGION||"eu-west-1",credentials:{accessKeyId:s.env.S3_KEY_ID||"",secretAccessKey:s.env.S3_SECRET||""}});class o{getClient(e){let t=(e=e||{}).api||s.env.CONTENTFUL_API,i={...{application:"Invisalign/0.1",space:s.env.CONTENTFUL_SPACE_ID||"dummy",accessToken:("cda"===t?s.env.CONTENTFUL_DELIVERY_TOKEN:s.env.CONTENTFUL_PREVIEW_TOKEN)||"dummy",host:"cda"===t?s.env.CONTENTFUL_DELIVERY_API_HOST:s.env.CONTENTFUL_PREVIEW_API_HOST,removeUnresolved:!0,environment:s.env.CONTENTFUL_ENVIRONMENT||"master"},...e};return(0,a.U)(i)}async getEntry(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return await this.getClient({api:e}).getEntry(t,{...i})}catch(e){}}async getEntries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US",t=arguments.length>1?arguments[1]:void 0;return"true"===s.env.GENERAL_USE_S3_CONTENT?this.getEntriesFromS3(e,t):this.getEntriesFromContentful(e,t)}async getEntriesByContentType(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cda",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return await this.getClient({api:i}).getEntries({locale:e,include:a,resolveLinks:!1,limit:100,content_type:t,order:"-sys.updatedAt"})}async downloadS3File(e,t){var i;let a=new n.j({Bucket:e,Key:t}),l=await r.send(a);return await (null==(i=l.Body)?void 0:i.transformToString())}async getEntriesFromS3(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";arguments.length>1&&arguments[1];let t="".concat(s.env.S3_PATH,"/").concat(e,"/allcontent.json");return JSON.parse(await this.downloadS3File(s.env.S3_BUCKET_NAME||"",t)||"{}")}async getEntriesFromContentful(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US",t=arguments.length>1?arguments[1]:void 0;console.log("contentful called");let i={locale:e,include:1,resolveLinks:!1,limit:1e3,order:"sys.createdAt","sys.contentType.sys.id[nin]":"configPreset,jsonFieldForm,jsonFieldItem"},a=await this.getClient({api:t}).getEntries(i),{total:l,items:{length:n}}=a;if(l>n){let e=Array(Math.ceil((l-n)/1e3)).fill(0).map((e,a)=>this.getClient({api:t}).getEntries({...i,skip:(a+1)*1e3,resolveLinks:!1})),s=await Promise.all(e);s.unshift(a);let r=[];for(let e=0;e<s.length;e++)r=[...r,...s[e].items||[]];a.items=r,a.includes||(a.includes={}),a.includes.Entry&&delete a.includes.Entry;let o=new Set,d=s.map(e=>{var t;return(null==e||null==(t=e.includes)?void 0:t.Asset)?e.includes.Asset:[]}).reduce((e,t)=>
1[...e,...t],[]).filter(e=>!o.has(e.sys.id)&&(o.add(e.sys.id),!0));a.includes.Asset=d}return a}replaceChildReferencesFromIncludes(e,t){let i=e=>{if("object"==typeof e&&null!==e)if(e.sys&&("Entry"===e.sys.linkType||"Asset"===e.sys.linkType)){let i=t.Entry.find(t=>t.sys.id===e.sys.id)||t.Asset.find(t=>t.sys.id===e.sys.id);if(i)return this.replaceChildReferencesFromIncludes(i,t)}else for(let t in e)e[t]=i(e[t]);return e};return i(e)}parseEntries(e){return this.getClient({}).parseEntries(e)}}let d=new o},44421:e=>{e.exports={"ticker-tape-ticker":"Ticker_ticker-tape-ticker__nV5bU"}},45675:(e,t,i)=>{"use strict";i.d(t,{default:()=>m});var a=i(95155),l=i(12115),n=i(67589),s=i(65493),r=i(33046),o=i(46574),d=i(17520),c=i.n(d);let u=(0,s.T)(c()),m=e=>{let[t,i]=(0,l.useState)(0),{index:s,depth:d,firstEntry:m,hotspots:g=[],image:h,imagePosition:p="left",theme:_}=e;if(!g.length)return(0,a.jsx)(a.Fragment,{});let{...f}=g[t].fields,{eyebrow:v,headline:x,subhead:y,bodyCopy:b,buttons:w,textStyling:j,...S}=f,A={index:s,depth:d,firstEntry:m||0===s},T={eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{size:"medium",alignment:"Left"}},N=h&&(null==h?void 0:h.fields.file.url)&&(0,a.jsxs)("div",{className:u("image-sec"),children:[(0,a.jsx)(r.default,{image:h,alt:""}),g&&g.map((e,l)=>{let{hotspotPositionX:n,hotspotPositionY:s}=e.fields;return(0,a.jsx)("div",{className:u({hotspot:!0,active:t===l}),onClick:()=>{i(l)},style:{left:"".concat(n||0,"%"),top:"".concat(s||0,"%")},children:(0,a.jsxs)("div",{className:u("inner"),children:["0",l+1]})},l)})]});return(0,a.jsx)("div",{className:u("Light grey background"===_&&"gray"),children:(0,a.jsxs)("div",{className:u("container-inner innovation-module"),children:[(0,a.jsxs)(n.fI,{className:u({["row-".concat(p)]:!!p,"hide-on-mobile":!0}),children:[(0,a.jsx)(n.fv,{md:6,children:N}),(0,a.jsx)(n.fv,{md:6,className:c()["content-column"],children:(0,a.jsx)("div",{className:u({["content-".concat(p)]:!!p,content:!0}),children:(0,a.jsx)(o.A,{...A,...f,textStyling:{eyeBrowStyle:{alignment:"Left"},headLineStyle:{size:"medium",alignment:"Left"},bodyStyle:{size:"medium",alignment:"Left"},removeMobileForceCenter:!0},subhead:y,subheadCount:"0".concat(t+1," ")})})})]}),(0,a.jsxs)(n.fI,{className:"hide-on-desktop",children:[(0,a.jsx)(o.A,{eyebrow:v,headline:x,textStyling:T,...A,...S}),(0,a.jsx)(n.fv,{md:6,children:N}),(0,a.jsx)(n.fv,{md:6,className:c()["content-column"],children:(0,a.jsx)("div",{className:u("content"),children:(0,a.jsx)(o.A,{subhead:y,bodyCopy:b,buttons:w,textStyling:T,subheadCount:"0".concat(t+1," "),...A,...S})})})]})]})})}},45735:(e,t,i)=>{"use strict";i.d(t,{CK:()=>l,JA:()=>n,Z7:()=>a});let a={"light blue":"light","dark blue":"dark"},l=e=>Object.values(a).includes(e)?e:"light",n=e=>"bottom (with page count)"===e?"bottom":"sideways"},45796:e=>{e.exports={"topic-page":"articles_topic-page__04TSO","topic-section":"articles_topic-section__H6KFb","landing-page":"articles_landing-page__3CAdW","details-page":"articles_details-page__jZ6xU","details-wrapper":"articles_details-wrapper__WzTgz","related-title":"articles_related-title__3b4_8","author-wrap":"articles_author-wrap__V1j5q"}},46144:e=>{e.exports={"midline-callout-wrapper":"MidlineCallout_midline-callout-wrapper__01Ae3","midline-callout":"MidlineCallout_midline-callout__dfjxI"}},46160:e=>{e.exports={radio_main_2:"CheckBox_radio_main_2__QeVxY",labelRichText:"CheckBox_labelRichText__w232h",radio_main_type:"CheckBox_radio_main_type__nl5IH",type_Radio_cheked:"CheckBox_type_Radio_cheked__9QE_q",type_Radio:"CheckBox_type_Radio__pQSit"}},46574:(e,t,i)=>{"use strict";i.d(t,{A:()=>v});var a=i(95155),l=i(12115),n=i(85814),s=i(48558),r=i(93411),o=i(26549);function d(e){let{firstEntry:t,depth:i,index:l,headline:r,eyebrow:d,headingPropsByType:c,tagsStyle:u,eyebrowLineHeight:m,headlineFontWeight:g,headlineLineHeight:h,disableForceHeadlineStyle:p=!1,cx:_}=e;if(!r&&!d)return(0,a.jsx)(a.Fragment,{});let{eyeBrowStyle:f,headLineStyle:v}=u||{},x=0,y=+!t;return(y+=t?0:i-1)+1>o.Ac.length-1&&(y=o.Ac.length-2),t&&r&&v&&!p&&(v.size="large"),(0,a.jsx)(a.Fragment,{children:Object.keys(c).map((e,r)=>{let d=c[e];if(!d)return null;{let c="eyebrow"===e?f:v,u=o.Ac[y+x];x++;let p=_(null==c?void 0:c.size,null==c?void 0:c.alignment,{heading:!0,eyebrow:"eyebrow"===e,"eyebrow-ref":"eyebrow"===e,headline:"headline"===e,["line-height-".concat(m||h)]:"eyebrow"===e&&!!m||"headline"===e&&!!h,["font-weight-".concat(g)]:"headline"===e&&!!g,firstEntry:t}),b="heading-".concat(r,"-").concat(i,"-").concat(l),w=(0,s.SJ)({Comp:u,cls:p,key:b});return"object"==typeof d?(0,n.i)(d,w):(0,a.jsx)(u,{className:p,dangerouslySetInnerHTML:{__html:d}},b)}})})}var c=i(36396),u=i(95696);let m=(0,l.memo)(e=>{var t;let{eventDate:i,label:l,endsIn:n=15,buttonVarient:s="primary | for light bg",details:o={label:"Add to your calendar",name:"Invisalign Concierge Call",location:"We'll call you",description:"Be on the lookout for an incoming call at this time for a quick convo about Invisalign treatment with your personal Invsialign Smile Concierge."},onClick:d}=e;if(!i){let e=u.A.getCookie("requested_date_time");if(!e)return(0,a.jsx)(a.Fragment,{});i=new Date(e)}"string"==typeof i&&(i=new Date(i));let m=new Date(i),g={name:o.name,description:o.description,startDate:i.toISOString().split("T")[0],endDate:i.toISOString().split("T")[0],startTime:i.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}),endTime:new Date(m.setMinutes(m.getMinutes()+n)).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}),location:o.location,label:o.label,options:["Apple","iCal","Google","Microsoft365","MicrosoftTeams","Outlook.com","Yahoo"],timeZone:"currentBrowser",iCalFileName:null==(t=o.name)?void 0:t.replaceAll(" ","_"),trigger:"click",listStyle:"modal"};return(0,a.jsx)(r.default,{label:l,variant:s,url:"#",onClick:e=>{(0,c.Cw)(g),d&&d(e)}})});
1var g=i(65493),h=i(7442),p=i.n(h),_=i(7977);let f=(0,g.T)(p()),v=(0,l.memo)(e=>{var t,i;let{firstEntry:l,depth:o=1,index:c=0,eyebrow:u,headline:g,subhead:h,subheadCount:p,bodyCopy:v,textStyling:x,buttons:y,className:b,addToCalendar:w,buttonAlignment:j,disableForceHeadlineStyle:S,highlitedText:A,hasRatingStars:T,pageProps:N,...C}=e,{removeMobileForceCenter:P=!1,darkBg:L=!1,gradientBg:k=!1,buttonStyle:M={},highlightedtextStyle:I={}}=x||{},E=v&&(0,s.o7)({tagsStyle:x,cx:f}),R=h&&(0,s.NM)({tagsStyle:x,cx:f}),D=u,F=g,K=(null==N||null==(t=N.cookies)?void 0:t.firstname)||(()=>{try{var e;let t=null==N||null==(e=N.cookies)?void 0:e.userData;if(t){let e=JSON.parse(t);return null==e?void 0:e.firstname}}catch(e){}})();return K&&(D=_.A.updateTextAndCtaVariable({fields:{eyebrow:u},id:"",contentType:""},"{firstname}",K).fields.eyebrow,F=_.A.updateTextAndCtaVariable({fields:{headline:g},id:"",contentType:""},"{firstname}",K).fields.headline),(0,a.jsx)("div",{className:"text-only-ref ".concat(f(b,"text-only",{mobileCenter:!P,darkBg:!!L,gradientBg:!!k})),children:(0,a.jsxs)("div",{className:"child-wrapper-ref ".concat(f("child-wrapper")),children:[(0,a.jsx)(d,{firstEntry:l,index:c,depth:o,eyebrow:D,headline:F,tagsStyle:x,headingPropsByType:{eyebrow:u,headline:g},...C,cx:f,disableForceHeadlineStyle:S}),h&&(0,a.jsxs)("div",{className:f("subhead-wrap"),children:[p&&(0,a.jsx)("p",{children:p}),(0,n.i)(h,R)]}),v&&(0,n.i)(v,E),T&&(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:f("es-rating-stars"),children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,a.jsxs)("svg",{role:"img","aria-label":"rating star ".concat(t+1),width:"30",height:"30",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M9.88552 5.85364H0L4.94427 9.72919L8 12.1244L12.9443 16L11.0557 9.72919L16 5.85364H9.88552Z",fill:"#FFD700"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.53216 5.2863L8.13765 0L9.74314 5.2863H6.53216ZM4.92025 10.5937L7.5658 12.6674L3.27832 16L4.92025 10.5937Z",fill:"#FFD700"})]},t))})}),(!!(null==y?void 0:y.length)||(null==w?void 0:w.eventDate)||(null==A?void 0:A.length))&&(0,a.jsx)("div",{className:f("tac-cta-ref","cta-wrapper",j),style:{justifyContent:j||"center"},children:(0,a.jsxs)("div",{className:f("cta-container"),children:[null==y?void 0:y.map(e=>(0,a.jsx)("div",{className:f("".concat("image button"===e.fields.variant?"ctaImgBtn":"cta-item"),j),children:(0,a.jsx)(r.default,{...e.fields})},e.id)),(0,a.jsx)("div",{className:f({ctaFlex:y&&(null==y?void 0:y.length)>1,"with-add-to-calendar":!!(null==w?void 0:w.eventDate)}),children:(null==w?void 0:w.eventDate)&&(0,a.jsx)("div",{className:f("cta-item"),children:(0,a.jsx)(m,{eventDate:(null==w?void 0:w.eventDate)||"",details:null==w?void 0:w.details,endsIn:null==w?void 0:w.endsIn,label:(null==w||null==(i=w.details)?void 0:i.label)||"Add to calendar"},"add-to-calendar")})}),A&&(0,a.jsx)("p",{className:f("cta-highlitedText",null==I?void 0:I.alignment),children:A})]})})]})})})},46688:e=>{e.exports={"popcorn-module":"Popcorn_popcorn-module___fjbM",content:"Popcorn_content__hFugR","content-column":"Popcorn_content-column__rzMCR","image-column":"Popcorn_image-column__fMDhw","aligner-wrap":"Popcorn_aligner-wrap__txFvQ","aligner-case":"Popcorn_aligner-case___BC2I",popcorn:"Popcorn_popcorn__gjFvq","popcorn-1":"Popcorn_popcorn-1__BK0na","popcorn-2":"Popcorn_popcorn-2__5TuHC","popcorn-3":"Popcorn_popcorn-3__B7I_H","popcorn-4":"Popcorn_popcorn-4__7s182","popcorn-5":"Popcorn_popcorn-5__yApjX","popcorn-module-row":"Popcorn_popcorn-module-row__qpbeJ"}},47311:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Y,teenAgeValidator:()=>Z});var a=i(95155),l=i(12115),n=i(41521),s=i(35068),r=i(65493),o=i(92866),d=i.n(o),c=i(3229),u=i(46160),m=i.n(u),g=i(85814),h=i(48558);let p=(0,r.T)(m()),_=l.memo(e=>{let{name:t,label:i,checked:n,onChange:s}=e,[r,o]=(0,l.useState)(n);return(0,a.jsx)(a.Fragment,{children:i&&(0,a.jsxs)("div",{className:p("radio_main_2",r&&"checked_radio"),children:[(0,a.jsx)("div",{className:p(r?"type_Radio_cheked":"type_Radio"),onClick:()=>{let e=!r;o(e),s(e)}}),(0,a.jsx)("input",{type:"checkbox",name:t,checked:r,"aria-label":"CheckBox",readOnly:!0}),(0,a.jsx)("div",{className:p("labelRichText"),children:(0,g.i)(i,(0,h.NM)({tagsStyle:void 0,cx:p}))})]})})});var f=i(46574),v=i(68258),x=i.n(v),y=i(89114),b=i.n(y),w=i(54742),j=i.n(w);let S=(0,r.T)(x()),A=e=>{let{id:t,placeholder:i,label:n,value:s,pattern:r="",error:o=!1,type:d,phonePrefix:c,phoneMax:u,phoneMin:m,onChange:g,onFocus:h}=e,p=r.split(",").map(e=>e.startsWith('"')&&e.endsWith('"')?e.replace(/"/g,""):"d"===e?RegExp("\\d"):new RegExp(e)),[_,f]=(0,l.useState)(p),[v,x]=(0,l.useState)(u),y=j()(null==i?void 0:i.toLowerCase());return(0,a.jsxs)("div",{className:S("textinputForm_input",o&&"error_form_input"),style:{width:"TextArea"===d?"100%":"",height:"TextArea"===d?96:""},children:["TextArea"!==d?(0,a.jsxs)(a.Fragment,{children:["PhoneNumber"===d&&c&&(0,a.jsx)("span",{className:S("phone-prefix"),children:c}),(0,a.jsx)(b(),{id:t,name:t,mask:!!d&&"Email"!==d&&"Text"!==d&&("Number"===d||"PhoneNumber"===d?_:p),placeholder:i,onChange:e=>{var t,i,a;let l=e.target.value;if("PhoneNumber"===d&&l.startsWith(c)&&(l=c+l.replace(c,"")),"PhoneNumber"===d&&l.replace(/\D/g,"").length>=(null==p?void 0:p.length)&&(null==(t=l.replace(/\D/g,""))?void 0:t.length)<=v){if("PhoneNumber"===d&&_.length<=v){x(l.replace(/\D/g,"").length);let e=Array(v).fill(/\d/);f((i=[p[0]],i.concat(e)))}}else if("PhoneNumber"===d&&l.replace(/\D/g,"").length<p.length)x(v>p.length?m||p.length:v),f(p);else if("PhoneNumber"===d){let e=l.replace(/\D/g,"");e.length>u&&(l=e.slice(0,u));let t=Array(u-1).fill(/\d/);f((a=[p[0]],a.concat(t)))}g(l)},onFocus:h,placeholderChar:"_",pipe:"Date"===d?y:void 0,"aria-label":n,value:"PhoneNumber"===d&&c?""+s:s.toString()})]}):(0,a.jsx)("textarea",{id:t,placeholder:i,onChange:e=>{g(e.target.value)},"aria-label":n,value:s}),o&&(0,a.jsx)("div",{className:S("error_icon")})]})};var T=i(29516),N=i(74212),C=i(95696),P=i(37793),L=i(34672),k=i(90321),M=i(7977),I=i(53743),E=i(23675),R=i(93411),D=i(20063),F=i(88947),K=i(93547),G=i.n(K),H=i(68321);{let e=new Event("ReCaptchaLoaded");window.recaptchaLoadedFn=()=>{window.dispatchEvent(e)}}let B={},V=e=>{let{ver:t="2",badge:i="inline",theme:n="light",size:s="normal",language:r="en",v2Key:o,v3Key:d,sitekey:c,onChange:u,onError:m,onExpired:g,onCaptchaCreated:h}=e,p=(0,l.useRef)(null),_=(0,l.useRef)(null);c||(c="2"===t?o:d),"3"===t&&(s="invisible");let f=()=>{var e;if(null===_.current&&p.current&&(null==(e=window.grecaptcha)?void 0:e.render)&&c)try{let e=window.grecaptcha.render(p.current,{sitekey:c,theme:n,badge:i,size:s,callback:e=>null==u?void 0:u(e),"error-callback":()=>null==m?void 0:m(),"expired-callback":()=>null==g?void 0:g()});_.current=e,u&&(B[e]=u),null==h||h(e)}catch(e){console.error(e)}},v=(0,l.useCallback)(()=>{f()},[]);return(0,l.useEffect)(()=>(f(),window.addEventListener("ReCaptchaLoaded",v),()=>window.removeEventListener("ReCaptchaLoaded",v)),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:p}),(0,a.jsx)(H.default,{src:"https://www.google.com/recaptcha/api.js?onload=recaptchaLoadedFn&hl=".concat(r),async:!0})]})};var q=i(61804);i(77975);let z={Custom_PrivacyPolicy:(0,l.forwardRef)((e,t)=>((0,l.useImperativeHandle)(t,()=>({getFormValues:()=>({}),toggleErrors:e=>{}})),(0,a.jsx)("div",{className:"custom-form-policy"}
1)))},U=(0,l.forwardRef)((e,t)=>{var i,n,s,r,o,d,c,u;let{item:m}=e;if(!m)return(0,a.jsx)("p",{className:"error-message",children:"No privacy policy available"});let g=(0,l.useRef)(null),h=(0,l.useRef)({}),[p,_]=(0,l.useState)(!1);(0,l.useImperativeHandle)(t,()=>({getFormValues:()=>{var e;let t=Object.fromEntries(Object.entries(h.current).map(e=>{var t;let[i,a]=e;return[i,(null==(t=a.current)?void 0:t.getValue())||"0"]}));return{...null==(e=g.current)?void 0:e.getFormValues(),...t}},toggleErrors:e=>{var t;_(e),null==(t=g.current)||t.toggleErrors(e),Object.values(h.current).forEach(t=>{var i;return null==(i=t.current)?void 0:i.toggleErrors(e)})}}));let f=null!=(u=null==(i=m.fields)?void 0:i.formItems)?u:[];return(0,a.jsxs)(q.A,{className:"privacy-policy-section",children:[(0,a.jsx)("p",{children:null==(s=m.fields.custom)||null==(n=s.translation)?void 0:n.heading}),(0,a.jsx)("p",{children:null==(o=m.fields.custom)||null==(r=o.translation)?void 0:r.subHeading}),(0,a.jsx)(O,{item:m,ref:g}),f.length>0?f.map(e=>(h.current[e.fields.name]||(h.current[e.fields.name]=l.createRef()),(0,a.jsx)(W,{item:e,ref:h.current[e.fields.name]},e.fields.name))):(0,a.jsx)("p",{children:"No policies available"}),p&&(0,a.jsx)("p",{className:"error-message",children:null==(c=m.fields.custom)||null==(d=c.translation)?void 0:d.agreementRequiredMessage})]})}),O=(0,l.forwardRef)((e,t)=>{let{item:i}=e;if(!(null==i?void 0:i.fields))return null;let n=(0,l.useRef)(Object.fromEntries((i.fields.formItems||[]).map(e=>{let{fields:t}=e;return[t.name,l.createRef()]})));return(0,l.useImperativeHandle)(t,()=>({getFormValues:()=>Object.fromEntries((i.fields.formItems||[]).map(e=>{var t,i,a;let{fields:l}=e;return[l.name,null!=(a=null==(i=n.current[l.name])||null==(t=i.current)?void 0:t.getFormValues())?a:null]})),toggleErrors:e=>{(i.fields.formItems||[]).forEach(t=>{var i,a;let{fields:l}=t;return null==(a=n.current[l.name])||null==(i=a.current)?void 0:i.toggleErrors(e)})}})),(0,a.jsx)(a.Fragment,{children:(i.fields.formItems||[]).map(e=>{let t=z[e.fields.template]||null;return t?(0,a.jsx)(t,{ref:n.current[e.fields.name],...e},e.fields.name):null})})}),W=(0,l.forwardRef)((e,t)=>{let{item:i}=e,{name:n,content:s,custom:r={}}=i.fields,o=r.description||"",d=r.radioOptions||[],[c,u]=(0,l.useState)(""),[m,g]=(0,l.useState)(!1);return(0,l.useImperativeHandle)(t,()=>({getValue:()=>c,toggleErrors:e=>g(e&&"1"!==c)})),(0,a.jsxs)("div",{className:"policy-input-wrapper ".concat(m?"error":""),children:[s?(0,a.jsx)("div",{className:"field-content",dangerouslySetInnerHTML:{__html:s}}):(0,a.jsx)("div",{className:"field-description",children:o}),d.length>0&&(0,a.jsx)("div",{className:"options-wrapper",children:d.map((e,t)=>(0,a.jsx)("div",{className:"option-wrapper",children:(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{type:"radio",name:n,value:String(e.value),checked:c===String(e.value),onChange:()=>{u(String(e.value)),g(!1)}}),e.label]})},"".concat(n,"-").concat(t)))})]})}),Q=(0,r.T)(d()),Z=(e,t)=>{let i=13;return"GB"===t.toUpperCase()&&(i=16),(Date.now()-new Date(e).getTime())/315576e5<i},Y=l.memo(e=>{var t,r;let{index:o,depth:d,adminMode:u,countryCode:m,isFirstDescendant:g,firstEntry:h,pageProps:p,phonePrefix:v,template:x,leadSource:y,subLeadSource:b,eyebrow:w,headline:j,bodyCopy:S,formItems:K,formSubmitLabel:H,modals:B,thankYouScreen:q,useReCaptcha:z,intialValues:O,addToCalendar:W,callback:Y,custom:J,customFormPolicies:X,useCustomPolicy:$,phoneMax:ee,phoneMin:et,eventNameForFormInteraction:ei,eventNameForFormSubmission:ea}=e,el=(0,l.useRef)(null),en=(0,l.useRef)(Object.fromEntries((X||[]).map(e=>[e.id,l.createRef()]))),es=(null==p?void 0:p.localeId)||"en-US",er=es.split("-"),eo,ed=m||er[1],ec=(null==p||null==(t=p.env)?void 0:t.RECAPTCHA_ACTIVE)||"false",eu=JSON.parse((null==p?void 0:p.labelMap.navigatorLanguageSelector)||"{}"),em={required_information:null==p?void 0:p.sharedTranslation.required_information,invalid_information:null==p?void 0:p.sharedTranslation.invalid_information,form_error:null==p?void 0:p.sharedTranslation.form_error,check_errors:null==p?void 0:p.sharedTranslation.check_errors,closeText:null==p?void 0:p.sharedTranslation.close,no_slot_available:null==p?void 0:p.sharedTranslation.no_slot_available,phone_error:(null==p?void 0:p.sharedTranslation.phone_error)||"This information is required.",custom_Policies:(null==p?void 0:p.sharedTranslation.customPolicies)||"This information is required."},eg={zipPattern:(null==p?void 0:p.labelMap.zipPattern)||"",phonePattern:(null==p?void 0:p.labelMap.phonePattern)||"",agePattern:(null==p?void 0:p.labelMap.agePattern)||""},[eh,ep]=(0,l.useState)(null),e_=(0,D.useRouter)(),[ef,ev]=(0,l.useState)(!1),[ex,ey]=(0,l.useState)(K),[eb,ew]=(0,l.useState)(!1),[ej,eS]=(0,l.useState)(!1),[eA,eT]=(0,l.useState)(q),[eN,eC]=(0,l.useState)(!1),[eP,eL]=(0,l.useState)(!1),[ek,eM]=(0,l.useState)(""),[eI,eE]=(0,l.useState)(!1),[eR,eD]=(0,l.useState)(),[eF,eK]=(0,l.useState)(!1),[eG,eH]=(0,l.useState)(!0),[eB,eV]=(0,l.useState)(),[eq,ez]=(0,l.useState)({}),eU={...O,...z&&{"g-recaptcha-response":""},chief_concern__c:"",scan_office_appointment_date_text__c:""},eO=["data_transmission_agreement","info_collection_agreement","third_party_information_agreement"],eW=p&&P.A.createIdFromLocaleAndSlug(p)||"form";
1null==K||K.forEach(e=>{var t,i,a,l;"Radio"===e.fields.component?eU[e.fields.name]=(null==(t=e.fields.itemProps)?void 0:t.defaultRadioValue)||"":"CheckBox"===e.fields.component?eU[e.fields.name]=null!=(i=e.fields.itemProps)&&!!i.defaultSelected&&(null==(a=e.fields.itemProps)?void 0:a.defaultSelected)==="yes":"Hidden_Item"===e.fields.component?eU[e.fields.name]=(null==(l=e.fields.itemProps)?void 0:l.value)||"":eU[e.fields.name]="","treatment_question__c"===e.fields.name&&(eU.chief_concern__c=eq[eU.treatment_question__c]||""),"requested_date_time__c"===e.fields.name&&(eU.scan_office_appointment_date_text__c=eU.requested_date_time__c)});let eQ=e=>{let t=em.required_information||"This information is required.",i=em.invalid_information||"This information is invalid.";return s.Ik().shape(null==e?void 0:e.reduce((e,a)=>{let{name:l,component:n,itemProps:r}=a.fields;if(z&&!e["g-recaptcha-response"]&&(e["g-recaptcha-response"]=s.Yj().required(t)),(null==r?void 0:r.required)==="yes"&&("CheckBox"===n?e[l]=s.Yj().oneOf(["true"],r.customError||t).required(r.customError||t):e[l]=s.Yj().required(t)),"Input"===n)if((null==r?void 0:r.inputType)==="Email"&&(null==r?void 0:r.required)==="yes"?e[l]=s.Yj().email(i).test("no-dot",i,e=>void 0===e||e.includes(".")).required(t):(null==r?void 0:r.inputType)==="Email"&&(e[l]=s.Yj().email(i).test("no-dot",i,e=>void 0===e||e.includes("."))),(null==r?void 0:r.inputType)==="Date"&&(null==r?void 0:r.required)==="yes"?e[l]=s.Yj().required(t).test("no-underscore",i,e=>void 0===e||!e.includes("_")):(null==r?void 0:r.inputType)==="Date"&&(e[l]=s.Yj().test("no-underscore",i,e=>void 0===e||!e.includes("_"))),(null==r?void 0:r.inputType)==="ZipCode"&&(null==r?void 0:r.required)==="yes"?e[l]=s.Yj().required(t).test("no-underscore",i,e=>void 0===e||!e.includes("_")):(null==r?void 0:r.inputType)==="ZipCode"&&(e[l]=s.Yj().test("no-underscore",i,e=>void 0===e||!e.includes("_"))),(null==r?void 0:r.inputType)==="PhoneNumber"&&(null==r?void 0:r.required)==="yes"){let t=Number(et)||8,a=Number(ee)||12;e[l]=s.Yj().required(em.phone_error).test("valid-phone",i,e=>{if(!e)return!1;let i=e.replace(/[^\d]/g,"");return!(i.length<t||i.length>a||i.startsWith("0"))})}else(null==r?void 0:r.inputType)==="PhoneNumber"&&(e[l]=s.Yj().test("no-underscore",i,e=>void 0===e||!e.includes("_")));return e},{}))},eZ=e=>{if("Contact_Us"===x)if("Yes"===(e||"Yes")){let e=K.filter(e=>"date_of_birth__c"!==e.fields.name);ey(e),ep(eQ(e))}else{let e=K.filter(e=>"aligner_number"!==e.fields.name&&"message"!==e.fields.name);ey(e),ep(eQ(e))}else ep(eQ(ex))},eY={eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"}},eJ=(0,E.y8)(!0,async()=>(await Promise.all([i.e(4599),i.e(6752),i.e(8806)]).then(i.bind(i,98806))).default),eX=(e,t)=>{eA.forEach((i,a)=>{let l=M.A.updateTextAndCtaVariable(i,"{firstname}",e),n=C.A.getCookie("requested_date_time"),s=C.A.getCookie("doctorName"),r=C.A.getCookie("doctorAddress");n&&(n=new Date(n).toLocaleString(es,{weekday:"long",year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit"}),l=M.A.updateTextAndCtaVariable(l,"{requested_date_time}",n)),t&&(l=M.A.updateTextAndCtaVariable(l,"{phone}",t)),(null==W?void 0:W.eventDate)&&(l.fields={...l.fields,addToCalendar:W}),s&&(l=M.A.updateTextAndCtaVariable(l,"{doctor}",s)),r&&(l=M.A.updateTextAndCtaVariable(l,"{location}",r)),eA[a]=l}),eT(eA)},e$=(null==(r=K.find(e=>"date_of_birth__c"===e.fields.name))?void 0:r.fields.itemProps.placeholder)||"MM/DD/YYYY",[e0,e1]=(0,l.useState)(!1),e5={Generic_Lead:"in_page_lead_started",Contact_Us:"contact_us_started",Request_Appointment:"request_appointment_started",Heartland_Request_Appointment:"schedule_appointment_started",Smile_View:"smileview_started"};return((0,l.useEffect)(()=>{if(!0===e0){let e="";e=ei||e5[x],"Smile_Quiz"!==x&&F.A.gtmTrackNA(e,void 0,{form_name:eW})}},[e0]),(0,l.useEffect)(()=>{let e=document.createElement("meta");e.setAttribute("name","viewport"),e.setAttribute("content","width=device-width, initial-scale=1, maximum-scale=1"),document.head.appendChild(e),eZ(eU.isPatient);let t=C.A.getCookieAsJson("userData");if(t&&C.A.getCookie("".concat(eW,"-submitted"))){eX(t.firstname,t.phone),eS(!0),ev(!0);return}if("Contact_Us"===x){var i;let e=null==B||null==(i=B.find(e=>"aligner_number_text"===e.fields.id))?void 0:i.fields.body;e&&eD(e)}ev(!0)},[]),(0,l.useEffect)(()=>{(()=>{if(eF){let e=document.getElementById("header-form");e&&P.A.scrollTo(e,200),eK(!1)}})()},[eF]),(0,l.useEffect)(()=>{var e;let t=null==p||null==(e=p.includes)?void 0:e.Entry;if(t&&t.length>0){let e={};t.forEach(t=>{var i,a;let l=null==t||null==(a=t.fields)||null==(i=a.itemProps)?void 0:i.treatmentQuestion;l&&Object.values(l).forEach(t=>{(null==t?void 0:t.treatment_question)&&(null==t?void 0:t.chief_concern)&&(e[t.treatment_question]=t.chief_concern)}),ez(e)})}},[p]),ef)?(0,a.jsxs)(a.Fragment,{children:[ej?(0,a.jsx)("div",{className:Q("thank-you-screen"),"data-testid":"thankYouScreen",children:q&&(0,L.v7)({depth:d,index:o,isFirstDescendant:g,typeTemplateMap:k.A,adminMode:u,pageProps:p},eA)}):(0,a.jsx)(n.l1,{initialValues:eU,validate:e=>{let t={};
1return $&&X&&X.forEach(e=>{var i,a;let l=null==(i=en.current[String(e.id)])?void 0:i.current;if(l){let e=(null==(a=l.getFormValues)?void 0:a.call(l))||{},i=eO.every(t=>"1"===e[t]);eH(i),i?l.toggleErrors(!1):(t.useCustomPolicies="Not Accepted",l.toggleErrors(!0))}}),t},onSubmit:async(e,t)=>{let{setFieldError:i}=t;eC(!0),setTimeout(()=>{let e=document.getElementById("loader");e&&P.A.scrollTo(e,340)},100);let a=(e=>{let t={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i];""!==a&&(t[i]=a),"unsubscribe__c"===i&&(t[i]=!a)}return e.treatment_question__c&&(t.chief_concern__c=eq[e.treatment_question__c]||""),e.requested_date_time__c&&(t.scan_office_appointment_date_text__c=e.requested_date_time__c),t.company="".concat(e.firstname," ").concat(e.lastname).slice(0,35),t})(e=(e=>{let t=C.A.getCookieAsJson("utmParams"),i=new URLSearchParams(window.location.search);return t&&0===i.size?(e.lead_url_campaign__c=t.utm_campaign,e.lead_url_source__c=t.utm_source,e.lead_url_medium__c=t.utm_medium,e.lead_url_content__c=t.utm_content,e.lead_url_term__c=t.utm_term,e.GCLID__c=t.gclid):i.size>0&&(e.lead_url_campaign__c=i.get("utm_campaign")||"",e.lead_url_source__c=i.get("utm_source")||"",e.lead_url_medium__c=i.get("utm_medium")||"",e.lead_url_content__c=i.get("utm_content")||"",e.lead_url_term__c=i.get("utm_term")||"",e.GCLID__c=i.get("gclid")||""),e})(e)),l=M.A.getAcceptableDate(a.date_of_birth__c,e$);if(a.chief_concern__c=eq[a.treatment_questions__c]||"",a.scan_office_appointment_date_text__c=a.requested_date_time__c,"i_am__c"in a&&"date_of_birth__c"in a&&"A teen"===a.i_am__c&&Z(l,ed)){i("date_of_birth__c",null==em?void 0:em.invalid_information),eV(null==B?void 0:B.find(e=>"age-limit"===e.fields.id)),eL(!0),eC(!1);return}eo="US"!==ed.toUpperCase()&&"CA"!==ed.toUpperCase(),a.leadsource=y,a.subLeadSource=b,a.attachDocInfo=eo;let n=window.navigator.language.split("-")[0];a.language__c=eu.hasOwnProperty(n)?eu[n]:"English",a.countrycode=m||er[1],"date_of_birth__c"in a&&(a.date_of_birth__c=l),"true"===ec&&(a.RECAPTCHA_ACTIVE=!0);try{let e=await (0,T.BR)(a,v);if(e&&201===Number(e.leadStatus)){var s,r,o,d,c,u;C.A.putCookie("userData",JSON.stringify({firstname:a.firstname,lastname:a.lastname,zip:a.zip__c,ageGroup:a.i_am__c,phone:a.phone}),{expires:1}),C.A.putCookie("".concat(eW,"-submitted"),!0,{expires:1});let e=C.A.getCookieAsJson("utmParams"),t=new URLSearchParams(window.location.search);!e&&t.size>0&&C.A.putCookie("utmParams",JSON.stringify({utm_campaign:a.lead_url_campaign__c,utm_source:a.lead_url_source__c,utm_medium:a.lead_url_medium__c,utm_content:a.lead_url_content__c,utm_term:a.lead_url_term__c,gclid:a.GCLID__c}),{expires:1});let i="";i=ea||({Generic_Lead:"in_page_lead_completed",Contact_Us:"contact_us_completed",Request_Appointment:"request_appointment_completed",Heartland_Request_Appointment:"schedule_appointment_completed",Smile_View:"SmileView_WebLead_entered",Smile_Quiz:"smile_assessment_completed"})[x],(null==(s=a.country_code)?void 0:s.toLowerCase())==="kr"&&(a.optin=eG);let l={form_name:eW,uhe:G()(null==(r=a.email)?void 0:r.toLowerCase().trim()),uhp:G()(null==(o=a.phone)?void 0:o.replace(/[\D_]/g,"")),user_category:a.i_am__c,contact_consent:a.unsubscribe__c?"opt-out":"opt-in"};if(a.isPatient&&(l.currently_have_invisalign="Yes"===a.isPatient?"patient":"not a patient"),a.preferred_contact_time__c&&(l.contact_time_preference=a.preferred_contact_time__c),a.primary_goal__c&&(l.smile_type=a.primary_goal__c),a.sa_prospect_status__c&&(l.smile_journey_progress=a.sa_prospect_status__c),a.treatment_questions__c&&(l.treatment_concern=a.treatment_questions__c),"Heartland_Request_Appointment"===x&&a.account_number&&(l.profile_number=a.account_number,l.profile_designation=a.profile_designation,l.profile_tier=a.profile_tier,l.is_ols=!0),F.A.gtmTrackNA(i,void 0,l),"Smile_Quiz"===x){if("A teen"===a.i_am__c)return e_.push(null==J||null==(d=J.translation)?void 0:d.teenPageUrl);if("A parent (looking for my child)"===a.i_am__c)return e_.push(null==J||null==(c=J.translation)?void 0:c.parentPageUrl);if("An adult"===a.i_am__c)return e_.push(null==J||null==(u=J.translation)?void 0:u.adultPageUrl)}
1q&&(eX(a.firstname,a.phone),eS(!0)),eC(!1),Y&&Y("submitted")}else e&&409===Number(e.leadStatus)&&(em.form_error=em.no_slot_available||"Slot not available"),eC(!1),ew(!0)}catch(e){eC(!1),ew(!0)}},validateOnChange:!0,validationSchema:eh,children:e=>{var t;return(0,a.jsx)(n.lV,{className:Q("form_main"),"data-id":eW,children:eN||eb?eb?(0,a.jsx)("div",{className:Q("form_error_message"),children:em.form_error}):"Smile_Quiz"===x?(0,a.jsxs)("div",{children:[(0,a.jsx)(f.A,{index:o,depth:d,eyebrow:(t=e.values.firstname,M.A.updateTextAndCtaVariable({fields:{eyebrow:null==J?void 0:J.thanksEyebrow},id:"",contentType:""},"{firstname}",t).fields.eyebrow),headline:null==J?void 0:J.thanksHeadline,textStyling:eY,pageProps:p}),(0,a.jsx)("div",{className:Q("loader-logo"),id:"loader","data-testid":"loading",children:(0,a.jsx)("img",{alt:"",src:"https://images.ctfassets.net/vh25xg5i1h5l/4QupHgRSzVWMV13vI90U5w/44903236b89128397f40875c80cc211a/gif-spinning-invisalign-case-with-flower.gif"})})]}):(0,a.jsx)("div",{className:Q("loader-screen"),id:"loader","data-testid":"loading",children:(0,a.jsx)("img",{alt:"",src:"https://d2i6vk5bmh3r0a.cloudfront.net/invisalign_next/loader_n.gif"})}):(0,a.jsxs)("div",{className:Q("form_content"),children:[(0,a.jsxs)("div",{className:Q("form_header"),id:"header-form",children:[(0,a.jsx)(f.A,{index:o,depth:d,eyebrow:w,headline:j,bodyCopy:S,textStyling:eY,firstEntry:!!h,pageProps:p}),e.submitCount>0&&Object.keys(e.errors).length>0&&(0,a.jsx)("div",{className:Q("form_error_message_2"),children:em.check_errors})]}),(0,a.jsx)("div",{className:Q("form_items"),children:null==ex?void 0:ex.map((t,i)=>{let{component:l,itemProps:s,label:r,name:o}=t.fields;if("Radio"===l&&(null==s?void 0:s.radioOptions))return(0,a.jsxs)("div",{className:Q("form_item"),children:[r&&(0,a.jsx)("label",{className:Q("item_label"),style:{marginBottom:15,alignSelf:"Button"===s.radioVariant?"center":""},htmlFor:o,children:r.toUpperCase()}),(0,a.jsx)(c.A,{value:e.values[o],options:s.radioOptions||[],label:r,name:o,onChange:async t=>{var i;!1===e0&&e1(!0),e.setFieldValue(o,t);let a=M.A.getAcceptableDate(null==(i=e.values.date_of_birth__c)?void 0:i.toString(),e$);e.values.date_of_birth__c&&"A teen"===t&&Z(a,ed)&&(await e.setFieldTouched("date_of_birth__c",!0,!0),e.setFieldError("date_of_birth__c",null==em?void 0:em.invalid_information)),"isPatient"===o&&(eZ(t),e.resetForm({values:e.values}),e.setFieldValue(o,t),e.setErrors({}))},variant:s.radioVariant,defaultChecked:s.defaultRadioValue,inForm:!0}),(0,a.jsx)(n.Kw,{className:Q("error_message"),name:o,component:"div"})]},i);if("CheckBox"===l)return(0,a.jsxs)("div",{className:Q("form_item"),children:[r&&(0,a.jsx)("label",{className:Q("item_label"),children:r.toUpperCase()}),(0,a.jsx)(_,{name:o,label:null==s?void 0:s.labelRichtText,checked:!!e.values[o],onChange:t=>{!1===e0&&e1(!0),e.setFieldValue(o,t)}}),(0,a.jsx)(n.Kw,{className:Q("error_message","custom_error"),name:o,component:"div"})]},i);if("Input"===l)return(0,a.jsxs)("div",{className:Q("form_item_input",(null==s?void 0:s.inputType)==="TextArea"&&"textArea"),children:[r&&(0,a.jsxs)("label",{className:Q("item_label"),htmlFor:o,children:[r.toUpperCase(),"aligner_number"===o&&(0,a.jsx)("div",{className:Q("info_holder"),onClick:()=>eE(!0),"data-testid":"align_number_svg",children:(0,a.jsx)(I.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/6i9xhUsqvqkq4A8wo5avVj/51e5042e0fa01238dd2ab104f5a4639c/info.svg",title:"Info"})})]}),(0,a.jsx)(A,{id:o,placeholder:null==s?void 0:s.placeholder,onChange:t=>{e.setFieldValue(o,t)},onFocus:()=>{!1===e0&&e1(!0)},value:e.values[o],label:r,pattern:(null==s?void 0:s.inputType)==="ZipCode"?eg.zipPattern:(null==s?void 0:s.inputType)==="Date"?eg.agePattern:(null==s?void 0:s.inputType)==="PhoneNumber"?eg.phonePattern:"",error:!!e.errors[o]&&!!e.touched[o],type:(null==s?void 0:s.inputType)||"Text",phonePrefix:v,phoneMax:ee,phoneMin:et},o),(0,a.jsx)(n.Kw,{className:Q("error_message"),name:o,component:"div"},o+"div")]},i);if("PickList"===l){var d;return(0,a.jsxs)("div",{className:Q("form_item_input"),children:[r&&(0,a.jsx)("label",{className:Q("item_label"),children:r.toUpperCase()}),(0,a.jsxs)("select",{className:Q("form_dropdown_input",(null==s?void 0:s.inputType)==="PickList"&&"pickList"),name:"city",value:ek,placeholder:null==s?void 0:s.placeholder,onChange:t=>{let i=t.target.value;eM(i),e.setFieldValue(o,i)},children:[(0,a.jsx)("option",{value:"",disabled:!0,children:(null==s?void 0:s.placeholder)||"Select a city"}),Object.entries(null!=(d=null==s?void 0:s.citiesWithRegion)?d:{}).map(e=>{let[t,i]=e;return(0,a.jsx)("option",{value:i.cityValue,children:i.cityName},t)})]})]},i)}})}),z&&(0,a.jsxs)("div",{className:Q("reCaptcha"),children:[(0,a.jsx)(V,{v2Key:null==p?void 0:p.env.EMEA_RECAPTCHA_V2_PUBLIC_KEY,onCh
1ange:t=>{e.setFieldValue("g-recaptcha-response",t)},onExpired:()=>{e.setFieldValue("g-recaptcha-response","")}}),(0,a.jsx)(n.Kw,{className:Q("error_message"),name:"g-recaptcha-response",component:"div"})]}),!!$&&!!(null==X?void 0:X.length)&&(0,a.jsxs)("div",{className:Q("form_useCustomPolicies"),children:[X.map(e=>{var t;let i=String(e.id);return(t=en.current)[i]||(t[i]=l.createRef()),(0,a.jsx)(U,{ref:en.current[i],item:e},i)}),(0,a.jsx)("div",{ref:el}),(0,a.jsx)(n.Kw,{className:Q("error_message","custom_Policies"),name:"useCustomPolicies",component:"div"})]}),(0,a.jsx)("div",{className:Q("submit_btn"),children:(0,a.jsx)("a",{className:Q("button primary-light fad-btn"),onClick:()=>{eK(!0),e.submitForm()},"aria-label":H||"Submit",children:H||"Submit"})})]})})}}),eP&&eB&&(0,a.jsx)(N.A,{item:eB,setShowModal:e=>eL(e),size:"sm",closeText:em.closeText}),eJ&&(0,a.jsx)(eJ,{show:eI,size:"lg",onHide:()=>eE(!1),centered:!0,className:Q("container-modal"),children:(0,a.jsxs)("div",{className:Q("modal-main"),"data-testid":"aligner_modal",children:[(0,a.jsx)("div",{className:Q("closeIcon-holder"),children:(0,a.jsx)("div",{onClick:()=>eE(!1),children:(0,a.jsx)(I.A,{className:Q("closeBtn"),title:"Close Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/4nTKpo08g9TfSBXvRN3IM1/6db30bc39d43b7143e1a79b4a71719af/close.svg"})})}),eR?M.A.documentToComponent(eR,"p",Q("")):(0,a.jsx)("p",{children:"In order to verify you are an Invisalign patient, please enter the six-eight digit code found on your aligner. Please note, if there is a number printed beside the flower logo, you must enter it first followed by the remaining code printed on your aligner. In the example below, the aligner number is 1234567. Otherwise, if a number is not printed beside the logo, the aligner number is 234567."}),(0,a.jsx)("img",{src:"https://images.ctfassets.net/vh25xg5i1h5l/5pL5XlX5VTAqgKEL7jKV5v/48dba147298d348a77a64378c4d6fb27/PatientID_location.jpg",width:"90%"}),(0,a.jsx)("div",{className:Q("seperator")}),(0,a.jsx)("div",{className:Q("singleCTA"),children:(0,a.jsx)(R.default,{label:em.closeText,variant:"primary | for light bg",onClick:()=>eE(!1)})})]})})]}):(0,a.jsx)(a.Fragment,{})})},48467:(e,t,i)=>{"use strict";i.d(t,{default:()=>_});var a=i(95155),l=i(12115),n=i(65493),s=i(95696),r=i(23675),o=i(6984),d=i.n(o),c=i(67589),u=i(46574),m=i(33046),g=i(21024),h=i(93411);let p=(0,n.T)(d()),_=e=>{var t,n,o;let{eyebrow:d,headline:_,image:f,bodyCopy:v,buttons:x,buttonAlignment:y,imageAlignment:b}=e,w=(0,r.y8)(!0,async()=>(await Promise.all([i.e(4599),i.e(6752),i.e(8806)]).then(i.bind(i,98806))).default),j=(0,g.B)(!1),[S,A]=(0,l.useState)(!1),T="popupClosedAtAssessment";if((0,l.useEffect)(()=>{let e=parseInt(s.A.getCookie(T)||"0",10),t=Date.now();(!e||t-e>432e5)&&A(!0)},[]),!w||!(null==f||null==(o=f[0])||null==(n=o.fields)||null==(t=n.file)?void 0:t.url))return null;let N=f[0],C=f[1]||N,P="left"===b||"right"===b;return(0,a.jsx)(w,{show:S,className:p("universal-popup","custom-header-modal"),dialogClassName:p("custom-modal-dialog",P?"horizontal-align":"vertical-align"),contentClassName:p("custom-modal-content"),children:(0,a.jsxs)(w.Body,{className:p("custom-modal-body"),children:[(0,a.jsx)("div",{className:p("popup-close-button"),"data-dismiss":"modal",onClick:()=>{s.A.putCookie(T,Date.now().toString()),A(!1)},children:"\xd7"}),(0,a.jsx)("div",{className:p("modal-content-wrapper"),children:(0,a.jsxs)(c.fI,{children:[(0,a.jsx)(c.fv,{md:P?5:12,className:p("image-wrapper"),children:(0,a.jsx)("div",{className:p("contact-us-image"),children:(0,a.jsx)(m.default,{image:j?C:N})})}),(0,a.jsxs)(c.fv,{md:P?7:12,className:p("text-and-cta-wrapper"),children:[(0,a.jsx)(u.A,{index:0,depth:0,eyebrow:d,headline:_,bodyCopy:v,firstEntry:!0}),!!(null==x?void 0:x.length)&&(0,a.jsx)("div",{id:"Modal-button-wrapper",className:p("Modal-button-wrapper"),children:null==x?void 0:x.map(e=>(0,a.jsx)("div",{className:p("".concat("image button"===e.fields.variant?"ctaImgBtn":"cta-item"),y),children:(0,a.jsx)(h.default,{...e.fields})},e.id))})]})]})})]})})}},48558:(e,t,i)=>{"use strict";i.d(t,{Ft:()=>m,NM:()=>_,SJ:()=>f,VF:()=>c,ZH:()=>h,jn:()=>u,o7:()=>p});var a=i(95155),l=i(65493),n=i(88525),s=i(33046),r=i(7442),o=i.n(r);let d=(0,l.T)(o()),c=e=>{let t=e.content[0];return t.marks.some(e=>"superscript"===e.type)&&t.footnoteNumber?(0,a.jsx)("sup",{className:"footnote-link",children:(0,a.jsx)("a",{href:"#",children:t.footnoteNumber})}):(0,a.jsx)("a",{href:"#",children:null==t?void 0:t.footnoteNumber})},u=(e,t,i)=>{let l=e.data.uri,n="_self",s=l.match(/\[(.*?)\]/),r=null==i?void 0:i.darkBg;return n=s&&s.length>=2&&"_blank|_self|_parent|_top".includes(s[1])?s[1]:/https?:\/\//.test(l)?"_blank":"_self",(0,a.jsx)("a",{href:l.replace(/\[[^\]]*\]/g,""),target:n,className:d("inline-link",{darkBg:r}),children:t})},m=e=>{var t;let i=null==e?void 0:e.data;if((null==i||null==(t=i.sys)?void 0:t.type)==="Asset"){let{target:e,metadata:t,sys:l,...n}=i;return(0,a.jsx)("span",{className:"embedded-asset",children:(0,a.jsx)(s.default,{image:n,alt:""})})}},g=e=>{let t=/^\d+$/.test(e);return(0,a.jsx)("sup",{className:t?"footnote-link":"",children:t?(0,a.jsx)("a",{href:"#",children:e}):e})},h=()=>({[n.MARKS.ITALIC]:e=>(0,a.jsx)("em",{children:e}),[n.MARKS.BOLD]:e=>{let t;if("string"==typeof e&&/^\{[^:]*:[^}]*\}$/.test(e)){let i=e.split(":")[0].replace("{","");t="#"+e.split(":")[1].replace("}",""),e=i}return(0,a.jsx)("strong",{style:{color:t||void 0},children:e})}}),p=e=>{var t;let{tagsStyle:i,cx:l}=e,s=null==i?void 0:i.darkBg,r=(null==i||null==(t=i.bodyStyle)?void 0:t.alignment)==="Center";return{renderNode:{[n.BLOCKS.PARAGRAPH]:(e,t)=>{let n=null==i?void 0:i.bodyStyle;return(0,a.jsx)("p",{className:l(null==n?void 0:n.size,null==n?void 0:n.alignment),children:t})},[n.BLOCKS.HEADING_2]:(e,t)=>{var i,l;if(null==(l=t[0])||null==(i=l.props)?void 0:i.children[1]){let e=/\[([^\]]+)\]/,i=t[0].props.children[1];t[0].props.children[1]=i.replace(e,"");let l=i.match(e);if(l)return(0,a.jsx)("h2",{id:l[1],children:t})}else if(t[0][1]){let e=/\[([^\]]+)\]/,i=t[0][1];t[0][1]=t[0][1].replace(e,"");let l=i.match(e);if(l)return(0,a.jsx)("h2",{id:l[1],children:t})}return(0,a.jsx)("h2",{children:t})},[n.BLOCKS.HEADING_3]:(e,t)=>{var i,l;if(null==(l=t[0])||null==(i=l.props)?void 0:i.children[1]){let e=/\[([^\]]+)\]/,i=t[0].props.children[1];t[0].props.children[1]=i.replace(e,"");let l=i.match(e);if(l)return(0,a.jsx)("h3",{id:l[1],children:t})}else if(t[0][1]){let e=/\[([^\]]+)\]/,i=t[0][1];t[0][1]=t[0][1].replace(e,"");let l=i.match(e);if(l)return(0,a.jsx)("h3",{id:l[1],children:t})}return(0,a.jsx)("h3",{children:t})},[n.BLOCKS.LIST_ITEM]:(e,t)=>(0,a.jsx)("li",{className:o()["list-item"],children:t}),[n.BLOCKS.OL_LIST]:(e,t)=>(0,a.jsx)("div",{className:l("list-wrapper",{center:r}),children:(0,a.jsx)("ol",{className:l("lists",{darkBg:s}),children:t})}),[n.BLOCKS.UL_LIST]:(e,t)=>(0,a.jsx)("div",{className:l("list-wrapper",{center:r}),children:(0,a.jsx)("ul",{className:l("lists",{darkBg:s}),children:t})}),[n.INLINES.HYPERLINK]:(e,t)=>u(e,t,i),[n.INLINES.EMBEDDED_ENTRY]:e=>m(e),[n.INLINES.ENTRY_HYPERLINK]:e=>c(e)},renderText:e=>null==e?void 0:e.split("\n").reduce((e,t,i)=>[...e,i>0&&(0,a.jsx)("br",{},i),t],[]),renderMark:{[n.MARKS.SUPERSCRIPT]:e=>g(e),...h()}}},_=e=>{let{tagsStyle:t,cx:i}=e;return{renderNode:{[n.BLOCKS.PARAGRAPH]:(e,l)=>{let n=null==t?void 0:t.bodyStyle;return(0,a.jsx)("p",{className:i("subheading",null==n?void 0:n.size,null==n?void 0:n.alignment),children:l})},[n.INLINES.EMBEDDED_ENTRY]:e=>m(e),[n.INLINES.HYPERLINK]:(e,t)=>u(e,t),[n.INLINES.ENTRY_HYPERLINK]:e=>c(e)},renderMark:{[n.MARKS.SUPERSCRIPT]:e=>g(e),...h()}}},f=e=>{let{Comp:t,cls:i,key:l}=e;return{renderNode:{[n.BLOCKS.PARAGRAPH]:(e,n)=>(0,a.jsx)(t,{className:i,children:n},l),[n.INLINES.EMBEDDED_ENTRY]:e=>m(e),[n.INLINES.ENTRY_HYPERLINK]:e=>c(e),[n.INLINES.HYPERLINK]:(e,t)=>u(e,t)},renderMark:{[n.MARKS.SUPERSCRIPT]:e=>g(e),...h()}}}},49576:(e,t,i)=>{"use strict";i.d(t,{default:()=>y});var a=i(95155),l=i(39971),n=i.n(l),s=i(46574),r=i(65493),o=i(67589),d=i(33046),c=i(62782),u=i(12115);let m=(0,r.T)(n()),g=(0,u.memo)(e=>{var t,i,l;let{depth:n=1,index:r=2,item:u,firstEntry:g=!1,includes:h,homeSlug:p,author:_,localeId:f="en-US"}=e,{image:v=[],articleDate:x,textStyling:y,...b}=u.fields;if(!(null==(t=v[0])?void 0:t.fields)){let e=null==h||null==(l=h.Asset)?void 0:l.find(e=>e.sys.id===v[0].sys.id);e&&(v[0]=e)}let w={headLineStyle:{size:(null==y||null==(i=y.headLineStyle)?void 0:i.size)||"medium"},...y},j={...b,textStyling:w},S=x&&new Date(x),A=S&&!isNaN(S.getTime()),T=A&&S&&S.toLocaleStr
1ing(f,{month:"long",year:"numeric"});return(0,a.jsx)("div",{className:m("articles-hero-card","container-inner"),children:(0,a.jsxs)(o.fI,{className:m("articles-hero-card-row"),children:[(0,a.jsxs)(o.fv,{md:6,className:m("article-hero-text"),children:[(0,a.jsx)(s.A,{depth:n,index:r,firstEntry:!!g,disableForceHeadlineStyle:!0,...j}),A&&S&&(0,a.jsx)("p",{className:m("article-date"),children:"".concat(T)}),_&&(0,a.jsx)(c.A,{..._.fields})]}),(0,a.jsx)(o.fv,{md:6,className:m("article-hero-image"),children:(0,a.jsx)(d.default,{image:v[0],screenWidth:"half",alt:""})})]})})});var h=i(21024);let p=(0,r.T)(n()),_=e=>{let{headline:t=""}=e;return(0,a.jsx)("div",{className:p("headline"),children:(0,a.jsx)("div",{className:"container-inner",children:(0,a.jsx)(s.A,{depth:0,index:0,firstEntry:!0,headline:t,textStyling:{headLineStyle:{size:"medium"}}})})})};var f=i(43172),v=i(23675);let x=(0,r.T)(n()),y=(0,u.memo)(e=>{let{items:t,isOldIos:l=!1,includes:n,headline:s,homeSlug:r,localeId:o,showAuthor:d=!1,notLink:c=!1,firstEntry:u=!1}=e,{isMobile:m}=(0,h.B)(!0),p=(0,v.y8)(!!(!l&&t.length>1),async()=>(await Promise.resolve().then(i.bind(i,30411))).default),y=()=>t.map((e,t)=>{var i;let l=(e=f.A.replaceChildReferencesFromIncludes(e,n)).fields.hero[0],u=e.fields.author,m=e.fields.topic,h=(null==m||null==(i=m.fields)?void 0:i.slug)||"";return(0,a.jsx)(c?"div":"a",{className:x("hero-wrapper","clickable-card"),"aria-label":(null==l?void 0:l.fields.title)||"",...!c&&r&&h&&e.fields.slug&&{href:"/".concat(r,"/").concat(h,"/").concat(e.fields.slug)},children:(0,a.jsx)(g,{item:l,includes:n,headline:s,firstEntry:!s,localeId:o,...d&&{author:u}})},"server-hero-".concat(t))});return(0,a.jsxs)(a.Fragment,{children:[s&&(0,a.jsx)(_,{headline:s}),(0,a.jsx)("div",{className:x("articles-hero"),children:p?(0,a.jsx)(p,{indicatorPosition:m?"bottom (with page count)":"sideways",btnWrapperId:"",type:"three up",children:y()}):y()})]})})},49992:()=>{},51361:(e,t,i)=>{"use strict";i.d(t,{default:()=>_});var a=i(95155),l=i(34188),n=i(49576),s=i(71094),r=i(85550),o=i(32476),d=i(67372),c=i(45796),u=i.n(c),m=i(65493),g=i(12115),h=i(43172);let p=(0,m.T)(u()),_=(0,g.memo)(e=>{var t,i,c,u,m;let{page:_,homeSlug:f="",articlesHome:v,articlesTopic:x,articleDetails:y,includes:b,topicMap:w,pageProps:j,disclaimer:S}=e,A=x&&x[0],T=structuredClone(y||[]),{response:N,remaining:C}=o.A.filterAndDelete(T||[],"featureArticle",3),{response:P,remaining:L}=o.A.filterAndDelete(C,"popularArticle"),k=A?{[A.sys.id]:[...P||[]]}:{},M=h.A.replaceChildReferencesFromIncludes(null==A||null==(t=A.fields)?void 0:t.footerTextOnly,b),I=h.A.replaceChildReferencesFromIncludes(S,b),E={home:{slug:"".concat(f),title:o.A.labelForBreadcrumb(f)||"Home"},topic:{slug:"".concat(f,"/").concat(null==A?void 0:A.fields.slug),title:o.A.labelForBreadcrumb((null==A||null==(i=A.fields)?void 0:i.slug)||"")||"Topic"}},[R,D]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{D(!0)},[]),(0,a.jsx)("div",{className:p("topic-page"),children:R&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:p("topic-section"),children:[(0,a.jsx)(l.A,{titleSlugMap:E}),(0,a.jsxs)("div",{style:{overflow:"hidden"},children:[0!==N.length&&(0,a.jsx)(n.default,{items:[...N],isOldIos:null==j?void 0:j.isOldIOS,includes:b,homeSlug:f,headline:null==A||null==(c=A.fields)?void 0:c.headline,localeId:null==j?void 0:j.localeId,showAuthor:!0}),0!==P.length&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{homeSlug:f,topics:x,topicListing:k,includes:b,popularityTag:!0,localeId:null==j?void 0:j.localeId,view_more_label:(null==j||null==(u=j.sharedTranslation)?void 0:u.view_more)||"View more"}),(0,a.jsx)("hr",{className:"container-inner"})]}),L&&(0,a.jsx)(r.default,{items:L,includes:b,homeSlug:f,localeId:null==j?void 0:j.localeId,topicSlug:x&&x[0].fields.slug||"",view_more_label:(null==j||null==(m=j.sharedTranslation)?void 0:m.view_more)||"View more"})]})]}),I&&(0,a.jsx)(d.A,{item:I,depth:1,index:2,typeTemplateMap:{content:{_default:d.A}},adminMode:!1,isFirstDescendant:!1}),M&&(0,a.jsx)(d.A,{item:M,depth:1,index:2,typeTemplateMap:{content:{_default:d.A}},adminMode:!1,isFirstDescendant:!1})]})})})},51800:e=>
1{e.exports={radio_main:"Radio_radio_main__1o5IP",checked_radio:"Radio_checked_radio__Ju2Vd","form-width":"Radio_form-width__Y6__Q","col-3":"Radio_col-3__MTqYk","col-4":"Radio_col-4__wWXEK",radio_main_2:"Radio_radio_main_2__CFVLo",radio_main_type:"Radio_radio_main_type__Tuvdh",type_Radio_cheked:"Radio_type_Radio_cheked__GP9ZM",type_Radio:"Radio_type_Radio__vNBko",innerDivRadio:"Radio_innerDivRadio__iBQ2j"}},53743:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var a=i(95155),l=i(12115),n=i(7977);i(65014);let s=(0,l.memo)(function(e){let{url:t,title:i,animation:s,className:r}=e,[o,d]=(0,l.useState)(""),c=null==t?void 0:t.includes(".svg"),u="arrow-right"===s||"arrow-left"===s,m=(0,l.useCallback)(async()=>{if(c){let e=await n.A.fetchSvg(t,i);e&&d(e)}},[c,t,i]);return(0,l.useEffect)(()=>{m()},[m]),(0,a.jsx)(a.Fragment,{children:o?(0,a.jsxs)("div",{className:"icon-wrapper flex justify-center items-center".concat(u?" animation-wrapper":"").concat(r?" ".concat(r):""),children:[(0,a.jsx)("div",{className:"flex justify-center items-center".concat(u?" icon-animate-fade-in":""),dangerouslySetInnerHTML:{__html:o}}),u&&(0,a.jsx)("div",{className:"icon-animate-out animate-".concat(s.split("-")[1]," flex justify-center items-center"),dangerouslySetInnerHTML:{__html:o}})]}):(0,a.jsx)("img",{style:{width:"".concat(20,"px"),height:"".concat(20,"px")},src:t,alt:i})})})},54493:()=>{},55166:()=>{},55222:(e,t,i)=>{"use strict";i.d(t,{default:()=>_});var a=i(95155),l=i(12115),n=i(46574),s=i(33046),r=i(93411),o=i(48558),d=i(85814),c=i(65493),u=i(70341),m=i.n(u);let g=(0,c.T)(m()),h={headLineStyle:{alignment:"Left",size:"small"},bodyStyle:{alignment:"Left"},buttonStyle:{alignment:"Center"},removeMobileForceCenter:!0},p={headLineStyle:{alignment:"Center",size:"small"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"}},_=e=>{var t;let[i,c]=(0,l.useState)(!1),u=(0,l.useRef)(null),[m,_]=(0,l.useState)(0),{index:f,depth:v,firstEntry:x,image:y,hideStepNumber:b,step:w,backOfCard:j,backButtons:S,buttons:A,quote:T,...N}=e,{heading:C,breakdown:P}=j,{doctorFee:L,installment:k,remainingBalance:M,insuranceCoverage:I}=P||{};(0,l.useEffect)(()=>{var e,t;(null==u||null==(e=u.current)?void 0:e.clientHeight)&&_(null==u||null==(t=u.current)?void 0:t.clientHeight)},[null==u||null==(t=u.current)?void 0:t.clientHeight]);let E={...N,textStyling:h},R=T&&(0,o.o7)({tagsStyle:p,cx:g});return(0,a.jsx)("div",{className:g("flip-container",{hover:i}),children:(0,a.jsxs)("div",{className:g("flipper",{"is-flipped":i}),onClick:()=>c(!i),children:[(0,a.jsxs)("div",{className:g("front"),ref:u,children:[(0,a.jsx)("div",{className:g("card-image"),children:y.fields.file.url&&(0,a.jsxs)(a.Fragment,{children:[!b&&(0,a.jsx)("div",{className:g("card-step"),children:w}),(0,a.jsx)(s.default,{image:y})]})}),(0,a.jsx)(n.A,{index:f+1,depth:v+1,firstEntry:!1,headlineFontWeight:"500",...E}),(0,a.jsx)("div",{className:g("btn-wrapper"),children:A&&A[0]&&(0,a.jsx)(r.default,{...A[0].fields,onClick:()=>c(!i)})})]}),(0,a.jsxs)("div",{className:g("back"),style:{height:m},children:[(0,a.jsxs)("div",{className:g("table-wrapper"),children:[(0,a.jsx)(n.A,{index:f+1,depth:v+1,firstEntry:!1,headline:C,headlineFontWeight:"500",textStyling:p}),(0,a.jsx)("table",{className:g("cost-breakup"),cellSpacing:"0",cellPadding:"0",children:(0,a.jsxs)("tbody",{children:[L&&(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:L.label})}),(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:L.value})})]}),I&&(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:I.label})}),(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:I.value})})]}),M&&(0,a.jsxs)("tr",{className:g("remainingBalance"),children:[(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:M.label})}),(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:M.value})})]}),k&&(0,a.jsxs)("tr",{className:g("total"),children:[(0,a.jsx)("td",{children:(0,a.jsx)("p",{children:k.label})}),(0,a.jsxs)("td",{children:[(0,a.jsx)("p",{children:k.value}),k.installmentDuration&&(0,a.jsx)("p",{className:g("duration"),children:k.installmentDuration})]})]})]})})]}),(0,a.jsx)("div",{className:g("quote"),children:T&&(0,d.i)(T,R)}),(0,a.jsx)("div",{className:g("btn-wrapper"),children:(0,a.jsx)(r.default,{...S[0].fields,onClick:()=>c(!i)})})]})]})})}},57865:e=>{e.exports={"faqs-main":"FAQs_faqs-main__HH2B5","faqs-button-section":"FAQs_faqs-button-section__HGy00","faqs-container-all":"FAQs_faqs-container-all__HFC3k","faqs-button-3":"FAQs_faqs-button-3__PRMSZ","faqs-button-2":"FAQs_faqs-button-2__p9hbn","faqs-header":"FAQs_faqs-header__Kq5Xa","header-related-faq":"FAQs_header-related-faq__Wb5xG",description:"FAQs_description__Yt3vn",seperator:"FAQs_seperator__og58i"}},57978:e=>{e.exports={"container-modal-sm":"GeoModal_container-modal-sm__XIAwj","modal-body":"GeoModal_modal-body__VGTz9",wrapper:"GeoModal_wrapper__9v9QQ","btn-wrapper":"GeoModal_btn-wrapper__QRSnH","redirection-btn":"GeoModal_redirection-btn__IuDaj",full:"GeoModal_full__sBFMt"}},58257:(e,t,i)=>{"use strict";i.d(t,{default:()=>E});var a=i(95155),l=i(65493),n=i(12115),s=i(7977),r=i(53743),o=i(73533),d=i.n(o);let c=(0,l.T)(d()),u=(0,n.memo)(e=>{let{icon:t,expanded:i=!1,fields:l,titleClass:o}=e,{question:d,answer:u}
1=l,[m,g]=(0,n.useState)(i);return(0,a.jsxs)("div",{className:c("faq"),"data-testid":"faqCore",onClick:()=>{g(!m)},children:[(0,a.jsxs)("div",{className:c("left-holder"),children:[d&&(0,a.jsx)("div",{className:c("faq-question"),children:s.A.documentToComponent(d,"h2",c("faq-question-title "+o))}),u&&(0,a.jsxs)("div",{className:c("faq-answer",m&&"expanded"),"data-testid":"answerFAQ",children:[(0,a.jsx)("div",{className:c("seperator")}),s.A.documentToComponent(u,"p",c(""))]})]}),t&&(0,a.jsx)("div",{className:c("faq-toggle-btn"),children:(0,a.jsx)("div",{className:c("icon-holder",m&&"expanded"),children:(0,a.jsx)(r.A,{url:t.url,title:t.title})})})]})});var m=i(93411),g=i(46574),h=i(57865),p=i.n(h),_=i(99095),f=i(16111),v=i.n(f);let x=(0,l.T)(v()),y=e=>{let{label:t,variant:i="light",icon:l,disabled:s=!1,handleChange:o}=e,d=(0,n.useRef)(null);return(0,a.jsx)("div",{className:x("main-input"),children:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{ref:d,className:x("label"),children:t}),(0,a.jsxs)("div",{className:x("input-".concat(i)),children:[l&&(0,a.jsx)(r.A,{url:l.url,title:l.title}),(0,a.jsxs)("label",{...{children:t,htmlFor:"TextInput"},children:[(0,a.jsx)("span",{className:x("visually-hidden"),children:t}),(0,a.jsx)("input",{placeholder:t,disabled:s,onChange:e=>{o(e.target.value),e.target.value.length>0&&d.current?d.current.style.display="flex":0===e.target.value.length&&d.current&&(d.current.style.display="none")},id:"TextInput"})]})]})]})})};var b=i(36657),w=i.n(b),j=i(31302),S=i.n(j);let A=(0,l.T)(S()),T=n.memo(e=>{let{selected:t,label:i,icon:l,handleClick:n}=e;return(0,a.jsx)(a.Fragment,{children:!0===t?(0,a.jsx)("div",{className:A("chips-selected"),children:(0,a.jsxs)("div",{className:A("chips-item-part"),children:[l&&(0,a.jsx)(r.A,{title:l.title,url:l.url}),(0,a.jsxs)("span",{className:A("chips-label"),children:[" ",i]})]})}):(0,a.jsx)("div",{"data-testid":"singleChipClick",className:A("chips-not-selected"),onClick:n,children:(0,a.jsx)("div",{className:A("chips-item-part","chips-label"),children:i})})})}),N=(0,l.T)(w()),C=(0,n.memo)(e=>{let{translations:t,expandIcon:i,showAllList:l=!1}=e,{topic:s,faqs:r,anchor:o}=e.item.fields,[d,c]=(0,n.useState)([]),[g,h]=(0,n.useState)(l),p={variant:"tertiary | for light bg",afterIcon:[{fields:{entryTitle:"circlePlusBlue",icon:{fields:{title:"circlePlusBlue",file:{details:{size:822},fileName:"circlePlusBlue.svg",contentType:"Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/2XpdwmsFapg3hCfecdNh5e/281263fd4e1a76be14b449e179434c66/circlePlusBlue.svg"}}}}}]},_={variant:"tertiary | for light bg",afterIcon:[{fields:{entryTitle:"minus",icon:{fields:{title:"minus",file:{details:{size:421},fileName:"minus.svg",contentType:"Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/1IX5kDDrSC54w6gulqWlW3/44d98ce4483d31c4d1e85c61e4f4c84a/minus.svg"}}}}}]};return(0,n.useEffect)(()=>{if(r&&r.length>3&&!g){let e=null==r?void 0:r.slice(0,3);e&&c(e)}else r&&c(r)},[r]),(0,a.jsx)("div",{"data-anchor":o,children:(null==d?void 0:d.length)>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:N("faq-single-topic"),children:s}),(0,a.jsx)("div",{className:N("titleSpace")}),d.map((e,t)=>(0,a.jsx)(u,{expanded:0===t,icon:i,...e},t)),r&&r.length>3&&!g&&(0,a.jsx)("div",{className:N("faqs-button"),onClick:e=>{e.preventDefault(),r&&c(r),h(!0)},"data-testid":"viewAllDiv",children:(0,a.jsx)(m.default,{label:(null==t?void 0:t.view_all)||"View All",...p})}),r&&r.length>3&&g&&(0,a.jsx)("div",{className:N("faqs-button"),onClick:e=>{e.preventDefault();let t=null==r?void 0:r.slice(0,3);t&&c(t),h(!1)},"data-testid":"seeLessDiv",children:(0,a.jsx)(m.default,{label:(null==t?void 0:t.view_less)||"Sell Less",..._})}),(0,a.jsx)("div",{className:N("seperator")})]})})});var P=i(26104);let L=(0,l.T)(w()),k=e=>{let{question:t,answer:i}=e.fields;return(0,a.jsxs)("div",{className:"searchResult",children:[t&&s.A.documentToComponent(t,"h2",L("faq-question-title-search-q")),i&&(0,a.jsx)("div",{className:L("faq-question-title-search-a"),children:s.A.documentToComponent(i,"p",L(""))})]})},M=(0,n.memo)(e=>{let{expandIcon:t,categoryIcon:i,faqsList:l,search:s,translations:r,allTopicsLabel:o="All Topics"}
1=e,[d,c]=(0,n.useState)([]),[u,g]=(0,n.useState)([]),[h,p]=(0,n.useState)(l),[_,f]=(0,n.useState)([]),v=(0,n.useRef)(null);return(0,n.useEffect)(()=>{f([{selected:!0,label:o},...l.map(e=>({selected:!1,label:e.fields.topic||""}))])},[]),(0,n.useEffect)(()=>{if(s){let e=l.flatMap(e=>e.fields.faqs&&e.fields.faqs.filter(e=>{let t=e.fields.question&&(0,P.l)(e.fields.question),i=e.fields.answer&&(0,P.l)(e.fields.answer);return(null==t?void 0:t.toLowerCase().includes(s.toLowerCase()))||(null==i?void 0:i.toLowerCase().includes(s.toLowerCase()))})).reduce((e,t)=>(!e.find(e=>e.id===(null==t?void 0:t.id))&&t&&e.push(t),e),[]);c(e.slice(0,6)),g(e)}},[s]),(0,a.jsx)("div",{children:""===s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:L("chips-countainer"),children:_.map((e,t)=>(0,a.jsx)(T,{label:e.label,selected:e.selected,icon:i,handleClick:()=>(e=>{if(f(_.map(t=>t.label!==e||t.selected?{...t,selected:!1}:{...t,selected:!0})),e===o)p(l);else{let t=l.find(t=>t.fields.topic===e);t&&p([t])}})(e.label)},t))}),h.map((e,i)=>(0,a.jsx)(C,{item:e,expandIcon:t,translations:r},i))]}):(0,a.jsxs)("div",{ref:v,children:[(0,a.jsx)("h2",{className:L("search_results"),children:u.length>0?(0,a.jsxs)(a.Fragment,{children:[u.length," ",1===u.length?"result":"results",' for "',s,'"']}):(0,a.jsxs)(a.Fragment,{children:['No results for "',s,'"']})}),(0,a.jsx)("div",{className:L("separator_results")}),d.length>0?d.map((e,t)=>(0,a.jsx)(k,{...e},t)):(0,a.jsx)("div",{children:"No data found"}),u.length>6&&u.length!==d.length&&(0,a.jsx)("div",{className:L("faqs-button"),onClick:()=>{c(u)},"data-testid":"viewAllDiv",children:(0,a.jsx)(m.default,{label:(null==r?void 0:r.view_more)||"View More",variant:"secondary | for dark bg"})})]})})}),I=(0,l.T)(p()),E=e=>{var t,l;let{faqs:r,cta:o,backgroundImages:d,searchInputLabel:c,allTopics:h,location:p,index:f,depth:v,eyebrow:x,headline:b,bodyCopy:w,translations:j,sharedAssets:S,showAllList:A=!1,titleClass:T,hideQaInPageFaq:N=!1}=e,[C,P]=(0,n.useState)([]),[L,k]=(0,n.useState)(""),[E,R]=(0,n.useState)(A),D=e=>{e.preventDefault(),P(r),R(!0)},F=e=>{e.preventDefault(),P(r.slice(0,3)),R(!1)},K={variant:"tertiary | for light bg",afterIcon:[{fields:{entryTitle:"circlePlusBlue",icon:{fields:{title:"circlePlusBlue",file:{details:{size:822},fileName:"circlePlusBlue.svg",contentType:"Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/2XpdwmsFapg3hCfecdNh5e/281263fd4e1a76be14b449e179434c66/circlePlusBlue.svg"}}}}}]},G={variant:"tertiary | for light bg",afterIcon:[{fields:{entryTitle:"minus",icon:{fields:{title:"minus",file:{details:{size:421},fileName:"minus.svg",contentType:"Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/1IX5kDDrSC54w6gulqWlW3/44d98ce4483d31c4d1e85c61e4f4c84a/minus.svg"}}}}}]};return(0,n.useEffect)(()=>{let e=document.createElement("meta");return e.setAttribute("name","viewport"),e.setAttribute("content","width=device-width, initial-scale=1, maximum-scale=1"),document.head.appendChild(e),(null==r?void 0:r.length)>3&&!E?P(r.slice(0,3)):P(r),"FAQ Post Page"===p&&i.g.window.scrollTo({top:0,left:0,behavior:"smooth"}),()=>{e.parentNode===document.head&&document.head.removeChild(e)}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.A,{images:d||[],location:p,children:(0,a.jsxs)("div",{className:I("faqs-main"),children:[(0,a.jsx)("div",{className:I("faqs-header"),children:(0,a.jsx)(g.A,{index:f,depth:v,eyebrow:x,headline:b,textStyling:{headLineStyle:{size:"medium"}},bodyCopy:"FAQ Post Page"!==p?w:void 0})}),"In-Page FAQ"!==p||N?"FAQ Post Page"===p||N?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(y,{label:c||"Search FAQ Topics",icon:{url:"https://images.ctfassets.net/vh25xg5i1h5l/24BAdmLLiIe2AoHjKeLg6o/9950abe0004a5b302cda16be1d5b90f5/search.svg",title:c||"Search FAQ Topics"},handleChange:e=>{k(e)}}):(0,a.jsx)("div",{className:I("faqs-container-all"),children:r&&r.map((e,t)=>{var i;return(0,a.jsx)(u,{titleClass:T,expanded:0===t,icon:{url:S&&(null==(i=S.PlusIcon)?void 0:i.url)||"https://images.ctfassets.net/vh25xg5i1h5l/4KlzgkWAYozdFVbfPOSbGL/801d7d3dc050b3de23b3f742d8813e57/plusIcon.svg",title:"Plus Icon FAQ"},...e},e.id)})}),o&&"In-Page FAQ"===p&&(0,a.jsx)("div",{className:I("faqs-button-section"),children:(0,a.jsx)(m.default,{...o.fields})})]})}),"FAQ Page"===p&&(0,a.jsx)("div",{className:I("faqs-main"),children:(0,a.jsx)("div",{className:I("faqs-container-all"),children:(0,a.jsx)(M,{faqsList:r,expandIcon:{url:S&&(null==(t=S.PlusIcon)?void 0:t.url)||"https://images.ctfassets.net/vh25xg5i1h5l/4KlzgkWAYozdFVbfPOSbGL/801d7d3dc050b3de23b3f742d8813e57
1/plusIcon.svg",title:"Plus Icon FAQ"},categoryIcon:{url:S&&(null==(l=S.CheckSelected)?void 0:l.url)||"https://images.ctfassets.net/vh25xg5i1h5l/289BlubQMLpSeIR98o7yp7/6990f7e8e2872402a771524cf512c6a0/tickIcon.svg",title:"Chip Select Icon"},search:L,translations:j,allTopicsLabel:h})})}),"FAQ Post Page"===p&&(0,a.jsxs)("div",{className:I("faqs-main"),children:[(0,a.jsx)("div",{className:I("faqs-container-all","description"),children:s.A.documentToComponent(w,"p",I(""))}),(null==r?void 0:r.length)>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:I("seperator")}),(0,a.jsxs)("div",{className:I("faqs-container-all"),children:[(0,a.jsxs)("div",{className:I("header-related-faq"),children:[(0,a.jsx)("h2",{children:"Related FAQs"}),r.length>3&&!E&&(0,a.jsx)("div",{className:I("faqs-button-2"),onClick:D,id:"viewAllDiv",children:(0,a.jsx)(m.default,{label:(null==j?void 0:j.view_all)||"View All",...K})}),r.length>3&&E&&(0,a.jsx)("div",{className:I("faqs-button-2"),onClick:F,id:"seeLessDiv",children:(0,a.jsx)(m.default,{label:(null==j?void 0:j.view_less)||"Sell Less",...G})})]}),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),C.length>0?C.map((e,t)=>{var i;return(0,a.jsx)(u,{expanded:0===t,icon:{url:S&&(null==(i=S.PlusIcon)?void 0:i.url)||"https://images.ctfassets.net/vh25xg5i1h5l/4KlzgkWAYozdFVbfPOSbGL/801d7d3dc050b3de23b3f742d8813e57/plusIcon.svg",title:"Plus Icon FAQ"},...e},e.id)}):r.slice(0,3).map((e,t)=>{var i;return(0,a.jsx)(u,{expanded:0===t,icon:{url:S&&(null==(i=S.PlusIcon)?void 0:i.url)||"https://images.ctfassets.net/vh25xg5i1h5l/4KlzgkWAYozdFVbfPOSbGL/801d7d3dc050b3de23b3f742d8813e57/plusIcon.svg",title:"Plus Icon FAQ"},...e},e.id)}),r.length>3&&r.length!==C.length&&(0,a.jsx)("div",{className:I("faqs-button-3"),onClick:D,id:"viewAllDiv",children:(0,a.jsx)(m.default,{label:(null==j?void 0:j.view_all)||"View All",...K})}),r.length>3&&r.length===C.length&&(0,a.jsx)("div",{className:I("faqs-button-3"),onClick:F,id:"seeLessDiv",children:(0,a.jsx)(m.default,{label:(null==j?void 0:j.view_less)||"View Less",...G})}),(0,a.jsx)("br",{})]})]})]})]})}},59197:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var a=i(95155),l=i(52619),n=i.n(l),s=i(65493),r=i(87566),o=i.n(r);let d=(0,s.T)(o()),c=e=>{let{href:t,target:i,children:l,role:s,type:r,dataTrackingKey:o,className:c,hovered:u,isMobile:m,style:g}=e,h=t||"#";return(0,a.jsx)(n(),{className:((e,t)=>d(e,{["".concat(null==r?void 0:r.split(" ").join("-").replace("|-","").replace("-#"," "))]:!!r},{["".concat(t)]:!!t},{hovered:u},{mobile:!!m}))("link",c),href:h,onClick:e=>"#"===h&&e.preventDefault(),role:s,target:i,"data-tracking-key":o,style:g,prefetch:"/resources"!==t,children:l})}},59576:()=>{},59962:e=>{e.exports={main:"styles_main__NQIlM"}},61370:e=>{e.exports={"plainCard-container":"PlainCard_plainCard-container__riCNb",plainCard:"PlainCard_plainCard__C0MZc","plain-image":"PlainCard_plain-image__MIOPm",quote:"PlainCard_quote__WClkq","btn-wrapper":"PlainCard_btn-wrapper__qfYRE",highlitedText:"PlainCard_highlitedText__fFSod"}},62216:(e,t,i)=>{"use strict";i.d(t,{default:()=>c});var a=i(95155),l=i(65493),n=i(25523),s=i.n(n),r=i(37793),o=i(12115);let d=(0,l.T)(s()),c=(0,o.memo)(e=>{let{anchorList:t}=e;return(0,o.useEffect)(()=>{var e,i,a;let l=null==(a=window)||null==(i=a.location)||null==(e=i.hash)?void 0:e.replace("#","");l&&t.find(e=>e.anchor===l)&&setTimeout(()=>r.A.scrollToAnchor(l,100),0)},[]),t.forEach((e,i)=>{e.anchorLabel||e.anchor||t.splice(i,1)}),(0,a.jsx)("div",{className:d("anchor-link-bar"),children:0!==t.length&&(0,a.jsx)("div",{className:d("anchor-link-wrapper"),children:t.map((e,t)=>(0,a.jsx)("span",{onClick:()=>(null==e?void 0:e.anchor)&&r.A.scrollToAnchor(e.anchor.replace("#",""),100),className:d("anchor-links"),children:e.anchorLabel||""},"anchor-list-".concat(t)))})})})},62782:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var a=i(95155);i(12115);var l=i(33046),n=i(65493),s=i(86821),r=i.n(s),o=i(88969),d=i(32476);let c=(0,n.T)(r()),u=e=>{let{authorImage:t,authorByline:i="",authorName:n="",articleShareTitle:s="Share this article",usecase:r="Resource_Hub",minutesToRead:u=5}=e,{hours:m,minutes:g}=d.A.toHoursAndMinutes(u),h="".concat(m?"".concat(m," hour "):"").concat(g?"".concat(g," minutes "):"","read");return(0,a.jsx)(a.Fragment,{children:"Article"===r?(0,a.jsxs)("div",{className:c("author_box"),children:[t&&(0,a.jsx)(l.default,{image:t,screenWidth:"half",alt:"",className:c("author_image")}),(0,a.jsxs)("div",{className:c("author_part2"),children:[(i||n)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:c("author_byline"),children:i}),(0,a.jsx)("h2",{children:n}),(0,a.jsx)("div",{className:c("seperator")})]}),(0,a.jsx)(o.default,{title:s})]})]}):(0,a.jsxs)("div",{className:c("author_box_for_hub"),children:[t&&(0,a.jsx)(l.default,{image:t,screenWidth:"half",alt:"",className:c("author_image_hub")}),(0,a.jsxs)("div",{className:c("name_read"),children:[(0,a.jsx)("h2",{children:n}),(0,a.jsx)("span",{children:h})]})]})})}},64052:e=>
1{e.exports={"comparison-chart-module":"ComparisonChart_comparison-chart-module__jLfaU",column1:"ComparisonChart_column1__JqUJX",tick:"ComparisonChart_tick__hGxfL","blue-background":"ComparisonChart_blue-background__KZnt1","column-merge":"ComparisonChart_column-merge__kzgL_","feature-mobile":"ComparisonChart_feature-mobile__7Mgen",multiColumn:"ComparisonChart_multiColumn__F0teQ","hide-merge-column-mobile":"ComparisonChart_hide-merge-column-mobile__3EWwI","button-sec":"ComparisonChart_button-sec__mqPCj",button:"ComparisonChart_button__rQoCx",nodisplay:"ComparisonChart_nodisplay__R4KEg"}},64385:e=>{e.exports={"row-right":"Hero_row-right__LYN41","row-hero":"Hero_row-hero__OYvnO","hero-module":"Hero_hero-module__biRJr",textAndMedia:"Hero_textAndMedia__HKmAf","image-sec":"Hero_image-sec__50_oT",content:"Hero_content__jPeUL","content-column":"Hero_content-column__Zhbat",reducePadding:"Hero_reducePadding__EbtBM","background-blue":"Hero_background-blue__bHsdq","background-light-blue":"Hero_background-light-blue__csq5w","background-grey":"Hero_background-grey__LaoIV",reduce:"Hero_reduce__A2Zvh",withImageBetweenText:"Hero_withImageBetweenText__b8XLG","hero-row":"Hero_hero-row__E87rw",imageBetweenText:"Hero_imageBetweenText__2Zb0k","imageShapeOnMobile-circle":"Hero_imageShapeOnMobile-circle__a2MDA","video-sec":"Hero_video-sec__tOHqj"}},65014:()=>{},65493:(e,t,i)=>{"use strict";i.d(t,{A:()=>n,T:()=>s});class a{getEntryClasses(e){var t;return(null==(t=e.fields.classes)?void 0:t.map(e=>e.fields.title).filter(e=>!!e))||[]}getEntryClassesStrFromModuleCss(e,t){for(var i=arguments.length,a=Array(i>2?i-2:0),l=2;l<i;l++)a[l-2]=arguments[l];return this.getClassesStrFromModuleCss(t,...this.getEntryClasses(e),...a)}composeClasses(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];let l=i.reduce((e,t)=>{switch(typeof t){case"undefined":case"boolean":case"function":return e;case"object":if(!t)return e;return Array.isArray(t)?[...e,...this.composeClasses(!1,...t)]:[...e,...Object.entries(t).reduce((e,t)=>{let[i,a]=t;return a?[...e,..."string"==typeof i?i.trim().split(" "):[i]]:e},[])];case"string":if(!t)return e;return[...e,...t.trim().split(" ")];default:return[...e,t]}},[]);return e?l.join(" "):l}getClassesStrFromModuleCss(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return this.composeClasses(!1,...i).map(t=>e[t]||t).join(" ")}}let l=new a,n=l,s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){for(var t=arguments.length,i=Array(t),a=0;a<t;a++)i[a]=arguments[a];return l.getClassesStrFromModuleCss(e,...i)}}},65498:(e,t,i)=>{var a={"./asset-hyperlink.json":70515,"./blockquote.json":57181,"./document.json":4975,"./embedded-asset-block.json":48193,"./embedded-entry-block.json":75349,"./embedded-entry-inline.json":31087,"./embedded-resource-block.json":853,"./embedded-resource-inline.json":2895,"./entry-hyperlink.json":3299,"./heading-1.json":50780,"./heading-2.json":79537,"./heading-3.json":67570,"./heading-4.json":4551,"./heading-5.json":22e3,"./heading-6.json":32309,"./hr.json":63488,"./hyperlink.json":98774,"./list-item.json":56376,"./ordered-list.json":47374,"./paragraph.json":4570,"./resource-hyperlink.json":15725,"./table-cell.json":63049,"./table-header-cell.json":6729,"./table-row.json":89329,"./table.json":96068,"./text.json":66505,"./unordered-list.json":77965};function l(e){return i(n(e))}function n(e){if(!i.o(a,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}l.keys=function(){return Object.keys(a)},l.resolve=n,e.exports=l,l.id=65498},65875:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let a=JSON.parse('{"r":[{"Id":"ad","Name":"Andorra","VATRegex":"^\\\\w\\\\-?\\\\d{6}\\\\-?\\\\w$","PostalCodeRegex":"^ad[1-7]00$","PhonePrefix":"+376","ExpandedAddressFields":"AddressLinePrefix,AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"at","Name":"Austria","VATRegex":"^(ATU)?\\\\d{8}$|^(AT U)?\\\\d{8}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+43","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","DefaultLanguage":"de","AddressLines":"AddressLine"},{"Id":"dk","Name":"Denmark","VATRegex":"^(DK)?\\\\d{8}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+45","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"fi","Name":"Finland","VATRegex":"^(FI)?\\\\d{8}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+358","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"fr","Name":"France","VATRegex":"^(FR)?[A-Z0-9]{2}\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+33","ExpandedAddressFields":"AddressLine2,AddressLine3,HouseNumber,StreetName,Depen
1dantLocality,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","DefaultLanguage":"fr","AddressLines":"AddressLine"},{"Id":"de","Name":"Germany","VATRegex":"^(DE)?\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+49","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","DefaultLanguage":"de","AddressLines":"AddressLine"},{"Id":"gi","Name":"Gibraltar","PostalCodeRegex":"^GX11 1AA$","PhonePrefix":"+350","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"gr","Name":"Greece","VATRegex":"^(EL)?\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+30","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"gl","Name":"Greenland","VATRegex":"","PostalCodeRegex":"^39\\\\d\\\\d$","PhonePrefix":"+299","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"is","Name":"Iceland","VATRegex":"^\\\\d{5,6}$|^VSK\\\\d{5,6}$","PostalCodeRegex":"^[1-9]\\\\d\\\\d$","PhonePrefix":"+354","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"ie","Name":"Ireland","VATRegex":"^(IE)?\\\\d{7}[A-Z]{1,2}$|^(IE)?\\\\d[A-Z]\\\\d{5}[A-Z]$|^(IE)?\\\\d\\\\W\\\\d{5}[A-Z]$|^EU","PostalCodeRegex":"","PhonePrefix":"+353","ExpandedAddressFields":"AddressLine3,HouseNumber,StreetName,DependantLocality,DoubleDependantLocality,Locality,Province","RequiredAddressFields":"StreetName,Locality,Province","AddressLines":"AddressLine"},{"Id":"it","Name":"Italy","VATRegex":"^(IT)?\\\\d{11}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+39","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode,ProvinceAbbreviation","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode,ProvinceAbbreviation","ProvinceAbbreviationRegex":"^[a-zA-Z]{2}$","VATNumberMandatory":"true","DefaultLanguage":"it","AddressLines":"AddressLine"},{"Id":"li","Name":"Liechtenstein","VATRegex":"^\\\\d{2}\\\\s\\\\d{3}$|^\\\\d{5}$","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+423","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"StreetName,Locality,HouseNumber,PostalCode","AddressLines":"AddressLine"},{"Id":"mt","Name":"Malta","VATRegex":"^(MT)?\\\\d{8}$|^EU","PostalCodeRegex":"^[A-Z]{3} ?\\\\d{4}$","PhonePrefix":"+356","ExpandedAddressFields":"HouseNumber,StreetName,DependantLocality,Locality,PostalCode","RequiredAddressFields":"StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"no","Name":"Norway","VATRegex":"^(NO)?\\\\s?\\\\d{3}\\\\s?\\\\d{3}\\\\s?\\\\d{3}\\\\s?MVA$","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+47","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"pt","Name":"Portugal","VATRegex":"^(PT)?\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{4}-\\\\d{3}$","PhonePrefix":"+351","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,DependantLocality,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine","ShowPracticeType":true},{"Id":"sm","Name":"San Marino","VATRegex":"","PostalCodeRegex":"^4789[0-9]$","PhonePrefix":"+378","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","DefaultLanguage":"it","AddressLines":"AddressLine"},{"Id":"es","Name":"Spain","VATRegex":"^(ES){0,1}([0-9A-Z][0-9]{7}[A-Z]|[A-Z][0-9]{7}[0-9A-Z])$","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+34","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,AddressLinePrefix,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","VATNumberMandatory":"true","DefaultLanguage":"es","AddressLines":"AddressLine","Specialties":[["Orthodontics","Ortodoncia"],["Implantology","Implantolog\xeda"],["Esthetic","Est\xe9tica"],["Prosthodontics","Prostodoncia"],["Periodontics","Periodoncia"],["Endodontics","Endodoncia"],["Maxillofacial","Maxilofacial"],["Pediatric dentistry","Odontopediatr\xeda"],["Oral surgery","Cirug\xeda oral"],["Other","Otro"]],"HearFromOptions":[["RR.SS","RR.SS"],["Youtube","Youtube"],["Inspiria","Inspiria"],["Industry magazines","Revistas del sector"],["conferences","Congresos"],["Recommendation from another doctor","Recomendaci\xf3n de otro doctor"],["Official website","P\xe1gina oficial"],["Others","Otros"]]},{"Id":"se","Name":"Sweden","VATRegex":"^(SE)?\\\\d{12}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+46","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"ch","Name":"Switzerland","VATRegex":"^(CH)?\\\\d{3}(\\\\s)?\\\\d{3}$|^CHE-?\\\\d{3}\\\\.?\\\\d{3}\\\\.?\\\\d{3}(\\\\s)?(((HR/?)?MWST)|((RC/?)?(TVA|IVA)))?$","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+41","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","ShowLanguagePicker":"true","AddressLines":"AddressLine","DefaultLanguage":"de"}
1,{"Id":"gb","Name":"UK","VATRegex":"^(GB)?\\\\d{9}$|^(GB)?\\\\d{12}$|^(GB)?[A-Z]{2}\\\\d{3}$|^EU","PostalCodeRegex":"^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([AZa-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) [0-9][A-Za-z]{2})$","PhonePrefix":"+44","ExpandedAddressFields":"AddressLine2,AddressLine3,HouseNumber,StreetName,DependantLocality,Locality,PostalCode","RequiredAddressFields":"StreetName,Locality,PostalCode","AddressLines":"AddressLine","ShowGDCNumber":true},{"Id":"pl","Name":"Poland","VATRegex":"^(PL)?\\\\s?\\\\d{10}$|^(PL)?\\\\s?\\\\d{3}-\\\\d{2}-\\\\d{2}-\\\\d{3}$|^(PL)?\\\\s?\\\\d{3}-\\\\d{3}-\\\\d{2}-\\\\d{2}$|^EU","PostalCodeRegex":"^\\\\d{2}\\\\-?\\\\d{3}$","PhonePrefix":"+48","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"nl","Name":"Netherlands","VATRegex":"^(NL)?\\\\d{9}B\\\\d{2}$|^EU","PostalCodeRegex":"^\\\\d{4} ?\\\\w\\\\w$","PhonePrefix":"+31","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"be","Name":"Belgium","VATRegex":"^(BE)?\\\\d{10}$|^BE\\\\s0\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+32","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","ShowLanguagePicker":"true","AddressLines":"AddressLine"},{"Id":"lu","Name":"Luxembourg","VATRegex":"^(LU)?\\\\d{8}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+352","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","DefaultLanguage":"fr","AddressLines":"AddressLine"},{"Id":"cz","Name":"Czech Republic","VATRegex":"^(CZ)?\\\\d{8}$|^(CZ)?\\\\d{9}$|^(CZ)?\\\\d{10}$|^EU","PostalCodeRegex":"^\\\\d{3} ?\\\\d{2}$","PhonePrefix":"+420","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"hu","Name":"Hungary","VATRegex":"^(HU)?\\\\d{8}$|^\\\\d{8}-\\\\d-\\\\d{2}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+36","ExpandedAddressFields":"AddressLine2,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"ro","Name":"Romania","VATRegex":"^EU|^(RO)?\\\\d{2,10}$","PostalCodeRegex":"^\\\\d{6}$","PhonePrefix":"+40","ExpandedAddressFields":"AddressLine2,AddressLine3,DependantLocality,HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"sk","Name":"Slovakia","VATRegex":"^(SK)?\\\\d{10}$|^(SK)?\\\\d{9}$|^EU","PostalCodeRegex":"^\\\\d{3} ?\\\\d{2}$","PhonePrefix":"+421","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"si","Name":"Slovenia","VATRegex":"^(SI)?\\\\d{8}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+386","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"hr","Name":"Croatia","VATRegex":"^(HR)?\\\\d{11}$|^EU","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+385","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"bg","Name":"Bulgaria","VATRegex":"^\\\\d{9,10}$|^BG\\\\d{9,10}$|^EU","PostalCodeRegex":"^\\\\d{4}$","PhonePrefix":"+359","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"ee","Name":"Estonia","VATRegex":"","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+372","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"lv","Name":"Latvia","VATRegex":"","PostalCodeRegex":"^LV-\\\\d{4}$","PhonePrefix":"+371","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"lt","Name":"Lithuania","VATRegex":"","PostalCodeRegex":"^LT-\\\\d{5}$","PhonePrefix":"+370","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"sa","Name":"Saudi Arabia","VATRegex":"","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+966","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine","VATNumberMandatory":"true"},{"Id":"kw","Name":"Kuwait","VATRegex":"","PostalCodeRegex":"^\\\\d{5}$","PhonePrefix":"+965","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality","AddressLines":"AddressLine"},{"Id":"bh","Name":"Bahrain","VATRegex":"","PostalCodeRegex":"^\\\\d\\\\d\\\\d\\\\d?$","PhonePrefix":"+973","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"},{"Id":"qa","Name":"Qatar","VATRegex":"","PostalCodeRegex":"","PhonePrefix":"+974","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality","AddressLines":"AddressLine"}
1,{"Id":"ae","Name":"United Arab Emirates","VATRegex":"","PostalCodeRegex":"","PhonePrefix":"+971","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode,ProvinceAbbreviation","RequiredAddressFields":"HouseNumber,StreetName,Locality,ProvinceAbbreviation","ProvinceAbbreviationRegex":"^[a-zA-Z]{2}$","AddressLines":"AddressLine","VATNumberMandatory":"true","ProvinceAbbreviationMap":[["AZ","Abu Dhabi"],["AJ","Ajman"],["DU","Dubai"],["FU","Fujairah"],["RK","Ras al-Khaimah"],["SH","Sharjah"],["UQ","Umm al-Quwain"]]},{"Id":"ru","Name":"Russia","VATRegex":"","PostalCodeRegex":"^\\\\d{6}$","PhonePrefix":"+7","ExpandedAddressFields":"HouseNumber,StreetName,Locality,PostalCode","RequiredAddressFields":"HouseNumber,StreetName,Locality,PostalCode","AddressLines":"AddressLine"}]}');var l=i(33018),n=i.n(l);class s{generateRandom(e){return e.replace(/[xy]/g,e=>{let t=n().randomBytes(1)[0]%16;return("x"===e?t:3&t|8).toString(16)})}generateClientShortGuid(){return this.generateRandom("xxxxxxxxxxxx")}httpGet(e){return new Promise(function(t,i){let a=new XMLHttpRequest;a.open("GET",e),a.onload=function(){this.status>=200&&this.status<300?t(a.response):i({status:this.status,statusText:a.statusText})},a.onerror=function(){i({status:this.status,statusText:a.statusText})},a.send()})}isNumber(e){return!isNaN(parseFloat(e))&&isFinite(e)}initGoogleAutoComplete(e,t,i){let a={types:t.startsWith("ja")?["geocode","establishment"]:["geocode"],componentRestrictions:{country:["".concat(null==t?void 0:t.split("-")[1])]}},l=Array.from(document.getElementsByTagName("input")).find(t=>t.id===e);if("object"==typeof window.google&&"object"==typeof window.google.maps&&l){let e=new window.google.maps.places.Autocomplete(l,a);window.google.maps.event.addListener(e,"place_changed",()=>{try{let{formatted_address:t,geometry:a}=e.getPlace();a&&i({geometry:a,formatted_address:t})}catch(e){console.log(e)}})}else console.log("Google not found")}async wait(e){return await new Promise(t=>setTimeout(()=>t(),e))}async waitUntil(e,t,i){await this.wait(i),e()?await this.waitUntil(e,t,i):t()}formatUrlWithParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"object"!=typeof t||Array.isArray(t)||(t=Object.entries(t).reduce((e,t)=>{let[i,a]=t;return a?{...e,[i]:a}:e},{})),e+(e.indexOf("?")>=0?"&":"?")+new URLSearchParams(t).toString()}getUrlWithOrigin(e){return e?e.includes(window.location.host)||e.includes("http")||e.includes("www.")?e:"/"===e?window.location.origin:"".concat(window.location.origin).concat(e):""}updateHTMLTagsAndSpecialChars(e){return null==e?void 0:e.replaceAll("®","\xae").replace(/<[^<>]*>/g,"").replace(/\s{2,}/g,"").trim()}splitCityPostalCode(e,t){let i=[(e||"").trim(),""];if(!e)return i;let l=a.r.find(e=>e.Id===t),n=l?l.PostalCodeRegex:"";n||(n="\\d{3,10}");let s=[n=n.replace(/^\^/i,"").replace(/\$$/i,""),"\\d{3,10}"];for(let t=0;t<s.length;t++){let a=RegExp(s[t],"gi"),l=[],n=a.exec(e);for(;n;)l.push(n[0]),n=a.exec(e);if(l.length){i[1]||(i[1]=l[0]);let e=i[0].replace(a,"");e=(e=e.replace(/^\W+/gi,"")).replace(/\W+$/gi,""),i[0]=e.trim()}}return i}}let r=new s},67372:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var a=i(95155),l=i(12115),n=i(46574),s=i(71231),r=i.n(s);let o=(0,i(65493).T)(r()),d=(0,l.memo)(e=>{let{item:t,depth:i,index:l}=e,{firstEntry:s,custom:r={},...d}=t.fields,c={darkBg:"Blue background"===r.theme,grayBg:"Light grey background"===r.theme,bodyStyle:{alignment:r.alignment||"Center"},buttonStyle:{alignment:r.alignment||"Center"},eyeBrowStyle:{alignment:r.alignment||"Center"},headLineStyle:{size:"medium",alignment:r.alignment||"Center"},removeMobileForceCenter:!!r.removeMobileForceCenter},u={textStyling:c,...d};return(0,a.jsx)("div",{className:o({textOnly:!0,module:null==r?void 0:r.source,darkBg:null==c?void 0:c.darkBg,grayBg:null==c?void 0:c.grayBg}),children:(0,a.jsx)(n.A,{depth:i,index:l,firstEntry:!!s,pageProps:e.pageProps,...u})})})},67589:(e,t,i)=>{"use strict";i.d(t,{fI:()=>n,fv:()=>l,mc:()=>s});var a=i(95155);let l=e=>{let{xs:t,sm:i,md:l,lg:n,xl:s,xxl:r,className:o,children:d,...c}=e,u=[],m=(e,t)=>
1{if(void 0!==t)if("number"==typeof t||"string"==typeof t)u.push("col".concat(e?"-"+e:"","-").concat(t));else{let{span:i,offset:a,order:l}=t;i&&u.push("col".concat(e?"-"+e:"","-").concat(i)),a&&u.push("offset".concat(e?"-"+e:"","-").concat(a)),l&&u.push("order".concat(e?"-"+e:"","-").concat(l))}};return m("",t),m("sm",i),m("md",l),m("lg",n),m("xl",s),m("xxl",r),o&&u.push(o),(0,a.jsx)("div",{className:u.join(" "),...c,children:d})},n=e=>{let{className:t,children:i,...l}=e,n=["row"];return t&&n.push(t),(0,a.jsx)("div",{className:n.join(" "),...l,children:i})},s=e=>{let{className:t,fluid:i,children:l,...n}=e,s=[!0===i?"container-fluid":"string"==typeof i?"container-"+i:"container"];return t&&s.push(t),(0,a.jsx)("div",{className:s.join(" "),...n,children:l})}},68009:(e,t,i)=>{"use strict";i.d(t,{default:()=>m});var a=i(95155),l=i(12115),n=i(46574),s=i(33046),r=i(65493),o=i(61370),d=i.n(o);let c=(0,r.T)(d()),u={headLineStyle:{alignment:"Center",size:"small"},bodyStyle:{alignment:"Center"},highlightedtextStyle:{alignment:"Center"},removeMobileForceCenter:!0},m=e=>{let{index:t,depth:i,firstEntry:r,image:o,hideStepNumber:d,step:m,backOfCard:g,backButtons:h,buttons:p,highlitedText:_,...f}=e,v={...f,textStyling:u};return(0,l.useEffect)(()=>{let e=document.querySelectorAll(".plainCard-text-only-ref");if(!e||0===e.length)return;let t=Array.from(e).reduce((e,t)=>Math.max(e,t.getBoundingClientRect().height),0);e.forEach(e=>{e.style.height="".concat(t,"px")})},[]),(0,a.jsx)("div",{className:c("plainCard-container"),children:(0,a.jsxs)("div",{className:c("plainCard"),children:[(0,a.jsx)("div",{className:c("plain-image"),children:o.fields.file.url&&(0,a.jsxs)(a.Fragment,{children:[!d&&(0,a.jsx)("div",{className:c("card-step"),children:m}),(0,a.jsx)(s.default,{image:o})]})}),(0,a.jsx)("div",{className:c("plainCard-text-only-ref"),children:(0,a.jsx)(n.A,{index:t+1,depth:i+1,firstEntry:!1,headlineFontWeight:"500",highlitedText:_,...v})})]})})}},68258:e=>{e.exports={textinputForm_input:"TextInputForm_textinputForm_input__OHZKG",error_icon:"TextInputForm_error_icon__qhEiM",error_form_input:"TextInputForm_error_form_input__lKb7D"}},68937:e=>{e.exports={listing:"Card_listing__wBG1x","topic-heading":"Card_topic-heading__e7Esc","topic-head":"Card_topic-head__b4iGW","go-to-topic":"Card_go-to-topic__wab6h","listing-cards":"Card_listing-cards__9LTEm","listing-card":"Card_listing-card__dq_bt","stack-listing":"Card_stack-listing__nChzb","stacked-item":"Card_stacked-item__q1tUA","view-more":"Card_view-more__PnJd9"}},69442:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var a=i(95155);i(12115);var l=i(19417),n=i.n(l);let s=(0,i(65493).T)(n());function r(e){let{id:t,value:i,checked:l,label:r,name:o,onChange:d,type:c="radio"}=e;return(0,a.jsxs)("div",{className:"tickRadio"===c?n().typeCheck:n().radioWrapper,onClick:()=>{d(i)},children:[(0,a.jsx)("input",{className:n().radioInput,type:"radio",id:t,name:o,value:i,checked:l,readOnly:!0}),(0,a.jsx)("div",{className:s(l?"type_Radio_cheked":"type_Radio"),children:(0,a.jsx)("div",{className:s("innerDivRadio")})}),r&&(0,a.jsx)("label",{htmlFor:t,className:n().radioLabel,children:r})]})}},70341:e=>{e.exports={"flip-container":"FlipCard_flip-container__sWjuF",front:"FlipCard_front__SZIWO",back:"FlipCard_back__13Oer","btn-wrapper":"FlipCard_btn-wrapper__uDTi5",flipper:"FlipCard_flipper__zvTG1","card-image":"FlipCard_card-image__ddml3","table-wrapper":"FlipCard_table-wrapper__btUph",remainingBalance:"FlipCard_remainingBalance__x14X6",total:"FlipCard_total__NUCX6",duration:"FlipCard_duration__4blBE",quote:"FlipCard_quote__HJ7Ie",hover:"FlipCard_hover__24Gnl"}},71094:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var a=i(95155),l=i(68937),n=i.n(l),s=i(65493),r=i(19290),o=i(30411),d=i(21024),c=i(93411),u=i(32476),m=i(12115);let g=(0,s.T)(n()),h=(0,m.memo)(e=>{let{homeSlug:t,topics:i,topicListing:l,includes:n,popularityTag:s=!1,popularityHeading:h="Popular in",listHeading:p="",localeId:_,view_more_label:f}=e,{isMobile:v}=(0,d.B)(!0),[x,y]=(0,m.useState)(3);[...Object.keys(l)].forEach(e=>{var t;(null==(t=l[e])?void 0:t.length)||delete l[e]});let b=Object.keys(l),{isMobile:w}=(0,d.B)(!0,"lg"),j=v?1.1:w?2:3,S=v?1:w?2:3;return(0,a.jsxs)("div",{className:g("listing","container-inner",{nopad:v}),children:[b.slice(0,x).map((e,d)=>{let m,x,y=null==i?void 0:i.find((t,i)=>t.sys.id===e),b=l[e];return y&&(null==b?void 0:b.length)!==0&&(0,a.jsxs)("div",{className:g("topic-heading"),children:[(0,a.jsxs)("div",{className:g("topic-head"),children:[(0,a.jsx)("h2",{children:p||(0,a.jsxs)(a.Fragment,{children:[s&&"".concat(h," "),y.fields.title]})}),!s&&(0,a.jsx)(c.default,{label:f,variant:"tertiary | for light bg",className:g("go-to-topic"),afterIcon:u.A.afterIcon(),url:"/".concat(t,"/").concat(y.fields.slug)},"button-".concat(d))]}),(0,a.jsx)("div",{className:g("listing-cards"),children:(0,a.jsx)(o.default,{indicatorPosition:v?"bottom (with page count)":"sideways",btnWrapperId:"",type:"three up",slidesToShow:j,slideAtOnce:S,children:(m=b||[],x=y.fields.slug,m.map((e,i)=>(0,a.jsx)(r.A,{item:e,includes:n,homeSlug:t,topicSlug:x,localeId:_},"list-item-".concat(d,"-").concat(i))))})})]},"listing-".concat(d))}),b.length>x&&(0,a.jsx)(c.default,{label:f,variant:"primary | for light bg",className:g("view-more"),onClick:()=>{y(x+10)}})]})})},71231:e=>{e.exports={textOnly:"TextOnly_textOnly__RED19",darkBg:"TextOnly_darkBg__kzQoS",grayBg:"TextOnly_grayBg__g_Gso",module:"TextOnly_module__z6PG8"}},71545:()=>{},71738:(e,t,i)=>{"use strict";i.d(t,{default:()=>o});var a=i(95155),l=i(29516),n=i(12115),s=i(23675);let r=e=>{let t=(0,s.y8)(!0,async()=>(await Promise.all([i.e(76),i.e(3328),i.e(2382),i.e(7161)]).then(i.bind(i,77161))).default);return(0,a.jsx)(n.Fragment,{children:(0,a.jsx)("div",{id:e.anchor,children:t?(0,a.jsx)(t,{...e}):(0,a.jsx)("div",{style:{textAlign:"center"},id:"loader","data-testid":"loading",children:(0,a.jsx)("img",{alt:"",src:"https://d2i6vk5bmh3r0a.cloudfront.net/invisalign_next/loader_n.gif",style:{width:100,margin:"50px auto"}})})})})},o=e=>{let{pageProps:t,simulationSvcUrl:i,cableSvcUrl:n,myInvisalignUrl:s}=e,{page:o,env:d}=t||{},{fields:c}=o||{},{contents:u}=c||{},m={};if(u&&u.length>0){var g;m=null==(g=u.find(e=>"moduleSmileViewApac"===e.contentType))?void 0:g.fields}return(0,a.jsx)(r,{...m,submitFormData:e=>(0,l.BR)({...e,withAssetPrefix:(null==d?void 0:d.CLIENT_API_PREFIX)||""}),simulationSvcUrl:i||void 0,cableSvcUrl:n||void 0,myInvisalignUrl:s||void 0,pageProps:t})}},71886:e=>{e.exports={"range-slider-main":"RangeStepSlider_range-slider-main__BqhW4","range-slider-thumb":"RangeStepSlider_range-slider-thumb__amVXe","range-slider-track":"RangeStepSlider_range-slider-track__au3S1","range-slider-active-track":"RangeStepSlider_range-slider-active-track__j1N9Q","range-slider-noactive-track":"RangeStepSlider_range-slider-noactive-track___ow_X"}},72106:()=>{},73533:e=>{e.exports={faq:"FAQ_faq__T7lSW","left-holder":"FAQ_left-holder__nGfQV",minus:"FAQ_minus__H6Nqk","faq-toggle-btn":"FAQ_faq-toggle-btn__0_VQ4","icon-holder":"FAQ_icon-holder__ehxKo",expanded:"FAQ_expanded__1Jxhk","faq-question":"FAQ_faq-question__cV9cn","faq-question-title":"FAQ_faq-question-title__4p4zI","faq-answer":"FAQ_faq-answer__3O0qP",seperator:"FAQ_seperator__ND7_D","color-blue":"FAQ_color-blue__IhpvE"}},74212:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var a=i(95155),l=i(12115),n=i(85814),s=i(23675),r=i(65493),o=i(77271),d=i.n(o),c=i(93411),u=i(53743);let m=(0,r.T)(d()),g=(0,l.memo)(e=>{let{item:t,setShowModal:l,size:r,textAlignment:o="center",closeText:d,children:g,buttonOnClick:h,fadUrl:p,fullWidth:_=!1}=e,{body:f,cta:v}=t.fields,x=(0,s.y8)(!0,async()=>(await Promise.all([i.e(4599),i.e(6752),i.e(8806)]).then(i.bind(i,98806))).default);return x&&(0,a.jsx)(x,{show:!0,size:r,onHide:()=>l(!1),centered:!0,className:m("container-modal-".concat(r," ").concat(_?"full-width":"")),children:(0,a.jsxs)("div",{className:m("modal-main"),children:[(0,a.jsx)("div",{className:m("closeIcon-holder"),children:(0,a.jsx)("div",{onClick:()=>l(!1),children:(0,a.jsx)(u.A,{className:m("closeBtn"),title:"Close Icon",url:"https://images.ctfassets.net/vh25xg5i1h5l/4nTKpo08g9TfSBXvRN3IM1/6db30bc39d43b7143e1a79b4a71719af/close.svg"})})}),(0,a.jsxs)("div",{className:m("modal-content-wrapper"),children:[(0,a.jsx)("div",{className:m("content-text"),style:{textAlign:o},children:f&&(0,n.i)(f)}),f&&(0,a.jsx)("div",{className:m("seperator")}),g&&g,!v&&(0,a.jsx)("div",{className:m("singleCTA"),children:(0,a.jsx)(c.default,{label:d,variant:"primary | for light bg",onClick:()=>l(!1)})}),(null==v?void 0:v.length)===1&&(0,a.jsx)("div",{className:m("singleCTA"),onClick:()=>l(!1),children:(0,a.jsx)(c.default,{...h&&{onClick:()=>h(p)},...v[0].fields})}),(null==v?void 0:v.length)==2&&(0,a.jsxs)("div",{className:m("multiCTA"),children:[(0,a.jsx)(c.default,{...v[0].fields}),(0,a.jsx)(c.default,{...h&&{onClick:()=>{var e;return h(null==(e=v[1].fields)?void 0:e.url)}},...v[1].fields})]})]})]})})})},76773:(e,t,i)=>{"use strict";i.d(t,{default:()=>p});var a=i(95155),l=i(34188),n=i(49576),s=i(71094),r=i(32476),o=i(67372),d=i(43172),c=i(45796),u=i.n(c),m=i(65493),g=i(12115);
1let h=(0,m.T)(u()),p=(0,g.memo)(e=>{var t,i,c,u,m;let{page:p,homeSlug:_="",articlesHome:f,articlesTopic:v,articleDetails:x,includes:y,topicMap:b,pageProps:w}=e,j=structuredClone(x),{response:S,remaining:A}=r.A.filterAndDelete(j||[],"featureArticle",3),{response:T,remaining:N}=r.A.filterAndDelete(A||[],"popularArticle"),C=[...T,...N||[]],P={};null==v||v.forEach(e=>{P[e.sys.id]=null==C?void 0:C.filter(t=>{var i;return(null==(i=t.fields.topic)?void 0:i.sys.id)===e.sys.id})});let L=f&&d.A.replaceChildReferencesFromIncludes(null==(i=f[0])||null==(t=i.fields)?void 0:t.footerTextOnly,y),k=f&&d.A.replaceChildReferencesFromIncludes(null==(u=f[0])||null==(c=u.fields)?void 0:c.disclaimer,y),M={home:{slug:"".concat(_),title:r.A.labelForBreadcrumb(_)||"Home"}},[I,E]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{E(!0)},[]),(0,a.jsx)("div",{className:h("landing-page"),children:I&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.A,{titleSlugMap:M}),(0,a.jsxs)("div",{style:{overflow:"hidden"},children:[0!==S.length&&(0,a.jsx)(n.default,{items:[...S],isOldIos:null==w?void 0:w.isOldIOS,includes:y,homeSlug:_,showAuthor:!0,localeId:null==w?void 0:w.localeId,firstEntry:!0}),(0,a.jsx)(s.A,{homeSlug:_,topics:v,topicListing:P,includes:y,localeId:null==w?void 0:w.localeId,view_more_label:(null==w||null==(m=w.sharedTranslation)?void 0:m.view_more)||"View more"}),k&&(0,a.jsx)(o.A,{item:k,depth:1,index:2,typeTemplateMap:{content:{_default:o.A}},adminMode:!1,isFirstDescendant:!1}),L&&(0,a.jsx)(o.A,{item:L,depth:1,index:2,typeTemplateMap:{content:{_default:o.A}},adminMode:!1,isFirstDescendant:!1})]})]})})})},77271:e=>{e.exports={"modal-main":"ModalModule_modal-main__wa6P4","content-text":"ModalModule_content-text__hKTPO","closeIcon-holder":"ModalModule_closeIcon-holder__4P4ZV",closeBtn:"ModalModule_closeBtn__msb9Y",seperator:"ModalModule_seperator__roJ0h",multiCTA:"ModalModule_multiCTA__kO714",singleCTA:"ModalModule_singleCTA__pL__M","container-modal-sm":"ModalModule_container-modal-sm__1aUy3","container-modal-lg":"ModalModule_container-modal-lg__Zn81y","full-width":"ModalModule_full-width__79e4u","container-modal-xl":"ModalModule_container-modal-xl__1TE7T","modal-content-wrapper":"ModalModule_modal-content-wrapper__fohA5"}},77975:()=>{},79492:(e,t,i)=>{"use strict";i.d(t,{default:()=>m});var a=i(95155);i(12115);var l=i(30411),n=i(80805),s=i.n(n),r=i(65493),o=i(21024),d=i(93411),c=i(32476);let u=(0,r.T)(s()),m=e=>{let{children:t,title:i,viewAllLabel:n,homeSlug:s}=e,{isMobile:r}=(0,o.B)(!0),{isMobile:m}=(0,o.B)(!0,"lg");return(0,a.jsxs)("div",{className:u("container-inner","main_swimlane"),children:[(0,a.jsxs)("div",{className:u("swimlane-topic-heading"),children:[i&&(0,a.jsx)("h2",{children:i}),(0,a.jsx)(d.default,{label:n,variant:"tertiary | for light bg",className:u("go-to-topic"),afterIcon:c.A.afterIcon(),url:"/".concat(s)})]}
1),r?(0,a.jsxs)("div",{className:u("swimlane-mobile"),children:[...t]}):(0,a.jsxs)(l.default,{indicatorPosition:"sideways",btnWrapperId:"",type:"three up",slidesToShow:m?2:3,slideAtOnce:m?2:3,children:[...t]})]})}},80052:e=>{e.exports={"doctor-locator-module":"DoctorLocator_doctor-locator-module__BJghQ","div-default":"DoctorLocator_div-default__aEOvP","content-column":"DoctorLocator_content-column__x2kn4",content:"DoctorLocator_content__2VBJs","no-padding":"DoctorLocator_no-padding__TDAjA","column-reverse":"DoctorLocator_column-reverse__H_DZz","image-sec":"DoctorLocator_image-sec__u_E3s","template-default":"DoctorLocator_template-default__2_z0l","row-right":"DoctorLocator_row-right__gvIUo","row-hero":"DoctorLocator_row-hero__IGmbO","doctor-locator-module-row":"DoctorLocator_doctor-locator-module-row__mzWRI","column-reverse-mobile":"DoctorLocator_column-reverse-mobile__uAy3y",centerMode:"DoctorLocator_centerMode__0yj23",lightGrayBg:"DoctorLocator_lightGrayBg__TrQF_"}},80805:e=>{e.exports={main_swimlane:"swimlane_main_swimlane__nAAMC","swimlane-topic-heading":"swimlane_swimlane-topic-heading__KxSDc","swimlane-mobile":"swimlane_swimlane-mobile___SMph"}},81107:e=>{e.exports={"main-wrapper":"ArticleInLineImage_main-wrapper__Y1y20",main_inline_image:"ArticleInLineImage_main_inline_image__ZIW_M","video-holder":"ArticleInLineImage_video-holder__990zx",inline_image:"ArticleInLineImage_inline_image__tt9w2",inline_image_caption:"ArticleInLineImage_inline_image_caption__mMVMX"}},82963:(e,t,i)=>{"use strict";i.d(t,{default:()=>h});var a=i(95155),l=i(65493),n=i(67589),s=i(59197),r=i(99095),o=i(46574),d=i(83352),c=i.n(d);let u=(0,l.T)(c()),m=e=>{let{rootNode:t,subNodes:i}=e,l=[...i.reduce((e,t)=>{let{childNodes:i,...a}=t;return[...e,{...a,childNodes:i,depth:1},...i.map(e=>({...e,depth:2}))]},[])];return(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"","aria-label":t.label,children:l.map((e,t)=>{let{listPageOnHtmlSitemap:i}=e;if(!i)return(0,a.jsx)(a.Fragment,{});let{depth:l,label:n,url:r,openLinkInNewTab:o,...d}=e,c="".concat(t+1,"-sitemap-depth-").concat(l+1,"-").concat(n);return(0,a.jsx)("div",{className:u("node-child"),children:(0,a.jsx)(s.A,{href:r,...d,target:o?"_blank":void 0,children:n})},c)})})})},g=(e,t)=>{let{listPageOnHtmlSitemap:i,openLinkInNewTab:l}=e;if(!i)return(0,a.jsx)(a.Fragment,{});let{url:n,label:r,childNodes:o,dataTrackingKey:d}=e,c="".concat(t+1,"-sitemap-").concat(r);return(0,a.jsx)("div",{id:c,className:u("node-category"),children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:u("node-parent"),children:(0,a.jsx)(s.A,{dataTrackingKey:d,href:n,target:l?"_blank":void 0,children:r})}),!!o.length&&(0,a.jsx)(m,{rootNode:{...e,domId:c},subNodes:o})]})},c)},h=e=>{let{rootNodes:t,backgroundImages:i,location:l,index:s,depth:d,eyebrow:c,headline:m,bodyCopy:h}=e;return(0,a.jsxs)("div",{className:u("sitemap-wrapper"),children:[(0,a.jsx)(r.A,{images:i||[],location:l,children:(0,a.jsx)(o.A,{index:s,depth:d,eyebrow:c,headline:m,textStyling:{headLineStyle:{size:"medium"}},bodyCopy:h,firstEntry:!0,disableForceHeadlineStyle:!0})}),(0,a.jsx)("div",{className:u("container link-container"),children:(0,a.jsxs)(n.fI,{className:u("sitemap-row"),children:[(0,a.jsxs)(n.fv,{md:4,children:[t[0]&&g(t[0],0),t[1]&&g(t[1],1)]}),(0,a.jsxs)(n.fv,{md:4,children:[t[2]&&g(t[2],2),t[3]&&g(t[3],3),t[4]&&g(t[4],4)]}),(0,a.jsx)(n.fv,{md:4,children:t.length>5&&t.slice(5).map((e,t)=>g(e,t+4))})]})})]})}},83114:(e,t,i)=>{"use strict";i.d(t,{default:()=>x});var a=i(95155),l=i(12115),n=i(33046),s=i(67589),r=i(65493),o=i(17357),d=i.n(o),c=i(23675),u=i(53743),m=i(85814),g=i(48558),h=i(95962);let p=e=>{let{userName:t,icon:i,cx:l,noPadding:s=!1}=e;return t?(0,a.jsxs)("div",{className:l("social-capsule",s?"noPadding":""),children:[i&&(0,a.jsx)(n.default,{image:null==i?void 0:i.fields.icon,alt:i.title?i.title:"",className:l("social-icon")}),t]}):(0,a.jsx)(a.Fragment,{})};(0,r.T)(d());let _={},f=e=>{var t,l;let{setShowModal:r,cx:o,item:d}=e,{userName:f,icon:v,image:x={},video:y={},bodyCopy:b}=d.fields,w=(0,c.y8)(!0,async()=>(await Promise.all([i.e(4599),i.e(6752),i.e(8806)]).then(i.bind(i,98806))).default),j=b&&(0,g.o7)({tagsStyle:_,cx:o});return(0,a.jsx)(a.Fragment,{children:w&&(0,a.jsx)(w,{show:!0,size:"xl",onHide:()=>r(!1),centered:!0,className:o("social-modal"),children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:()=>r(!1),children:(0,a.jsx)(u.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/1WvKVPfAT4MFVZr6KyyidH/11b7bcad9dc30c3ebbc0e30a6df6b4b4/X.svg",title:"cross",className:o("cross")})}),(0,a.jsx)(w.Body,{children:(0,a.jsxs)(s.fI,{children:[(0,a.jsxs)(s.fv,{md:6,className:o("modal-media"),children:[y&&y.fields&&(0,a.jsx)("div",{className:o("video-sec"),children:(0,a.jsx)(h.default,{src:null==y||null==(l=y.fields)||null==(t=l.file)?void 0:t.url,autoPlay:!0,poster:"".concat((null==x?void 0:x.fields.file.url.includes("https://"))?null==x?void 0:x.fields.file.url:"https:".concat(null==x?void 0:x.fields.file.url))})}),x&&!(null==y?void 0:y.fields)&&(0,a.jsx)(n.default,{image:x,alt:""})]}),(0,a.jsx)(s.fv,{md:6,children:(0,a.jsxs)("div",{className:o("modal-content"),children:[(0,a.jsx)(p,{cx:o,userName:f,icon:v,noPadding:!0}),b&&(0,m.i)(b,j)]})})]})})]})})})},v=(0,r.T)(d()),x=(0,l.memo)(e=>{let{handleClick:t}=e,[i,r]=(0,l.useState)(!1),[o,d]=(0,l.useState)(0),c="beforeAfter"===e.source;return(0,a.jsxs)("div",{className:v("container-fluid social-proof-slider",{"before-after-slider":c}),children:[(0,a.jsx)(s.fI,{children:(0,a.jsx)(s.fv,{xs:12,children:(0,a.jsx)("div",{className:v("slider-wrapper",{"before-after":c}),children:e.sliderItem.map((e,i)=>{let{image:s,userName:u,icon:m}=e.fields;return(0,l.useMemo)(()=>(0,a.jsxs)("div",{className:v("social-slide",{"before-after":c,active:!!c&&i===o}),onClick:e=>{(e=>{t?(d(e),t(e)):(d(e),r(!0))})(i),(e=>{var t,i,a;let l=e.target,n=null==(i=l.parentElement)||null==(t=i.parentElement)?void 0:t.parentElement,s=null==(a=l.parentElement)?void 0:a.parentElement;if(n){let e=null==s?void 0:s.getBoundingClientRect().left;e&&(n.scrollLeft+=e)}})(e)},children:[s&&(0,a.jsx)("div",{className:v("img-wrap"),children:(0,a.jsx)(n.default,{image:s,alt:"",className:v("tile",{"before-after":c})})}),(0,a.jsx)(p,{cx:v,userName:u,icon:m})]},i),[o])})})})}),i&&(0,a.jsx)(f,{item:e.sliderItem[o],setShowModal:e=>r(e),cx:v})]})})},83132:(e,t,i)=>{"use strict";i.d(t,{default:()=>y});var a=i(95155),l=i(12115),n=i(91462),s=i(33599),r=i(63365),o=i(12359),d=i.n(o),c=i(65493),u=i(46574),m=i(21024),g=i(7977),h=i(37793),p=i(95696),_=i(23675),f=i(93411),v=i(88947);let x=(0,c.T)(d()),y=(0,l.memo)(e=>{let{index:t,depth:o,eyebrow:d,headline:c,bodyCopy:y,custom:b,pageProps:w,...j}=e,S={index:t,depth:o,custom:b,pageProps:w,...j}
1,A=w&&h.A.createIdFromLocaleAndSlug(w)||"form",{localeId:T="en-US"}=w||{},{bodyCopy2:N,holidays:C=[],noSLotText:P,goBackText:L="Choose a different date and time",addToCalendar:k,firstSlot:M="8:00",lastSlot:I="16:45",breakTimings:E=[]}=b||{},R="MY"===T.split("-")[1]?"en-MY":T,D=(0,n.NV)(C),F=(0,n.ax)(),[K,G]=(0,l.useState)(y),[H,B]=(0,l.useState)(D),[V,q]=(0,l.useState)(1),{isMobile:z}=(0,m.B)(!!(null==w?void 0:w.isMobile)),U=(0,_.y8)(!z,async()=>(await i.e(8270).then(i.bind(i,78270))).default),O=(0,_.y8)(z,async()=>(await i.e(344).then(i.bind(i,30344))).default),W=(0,_.y8)(!0,async()=>(await i.e(4931).then(i.bind(i,24931))).default),Q=(0,_.y8)(!0,async()=>(await Promise.resolve().then(i.bind(i,47311))).default),Z=[{fields:{entryTitle:"Left Arrow | Tertiary CTA | For Light BG",icon:{fields:{title:"Graphic | Arrow | Left | Circle | Blue",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/2fJpyDp5xLylXCOgJsXj1r/055fe280a03562389c1e65a20b9a7f8d/Left_Arrow_Icon_Heritage.svg",fileName:"Left_Arrow_Icon_Heritage.svg",contentType:"image/svg+xml",details:{size:825,image:{width:20,height:20}}}}},animation:"arrow-left"}}];return(0,l.useEffect)(()=>{var e;p.A.getCookie("".concat(A,"-submitted"))&&(null==(e=p.A.getCookieAsJson("userData"))?void 0:e.hasOwnProperty("zip"))&&q(3)},[]),(0,l.useEffect)(()=>{(2===V||3===V)&&setTimeout(()=>{if(document.querySelectorAll('form[data-id^="inv-con"], form[data-id^="viv-con"]').length){var e;null==(e=window.dataLayer)||e.push({event:"heeet_inpage_form_load"})}},0)},[V]),(0,a.jsxs)("div",{className:x({"request-appointment container-inner":3!==V}),children:[3!==V&&(0,a.jsx)(u.A,{firstEntry:!0,index:t,depth:o,eyebrow:d,headline:c,bodyCopy:K,textStyling:{eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"}},disableForceHeadlineStyle:!0,pageProps:w}),1===V&&(0,a.jsx)(s.A,{className:x("ra-step-1"),children:(0,a.jsxs)(a.Fragment,{children:[!z&&U?(0,a.jsx)(r.A,{md:6,children:(0,a.jsx)(U,{startDate:D,endDate:F,holidays:C,locale:R,selectedDate:e=>B(e)})}):(0,a.jsx)(a.Fragment,{children:O&&(0,a.jsx)("div",{className:x("slots"),children:(0,a.jsx)(O,{startDate:D,endDate:F,holidays:C,locale:R,callback:e=>B(e)})})}),W&&(0,a.jsx)(r.A,{xs:12,md:6,lg:5,children:(0,a.jsx)(W,{startDate:D,locale:T,selectedDay:H,firstSlot:M,lastSlot:I,selectedSlot:(e,t)=>{v.A.gtmTrackNA("request_appointment_time_selected",void 0,{form_name:A});let i=null==e?void 0:e.toLocaleString(T,{weekday:"long",month:"long",day:"numeric"}),a=(e=>["th","st","nd","rd",""][e<=0?4:e>3&&e<21||e%10>3?0:e%10])(e.getDate()),l=structuredClone(N);g.A.replaceVariable(l,"{time}",t||""),g.A.replaceVariable(l,"{day_date}",i),g.A.replaceVariable(l,"{ordinal}",a),B(e),G(l),p.A.putCookie("requested_date_time","".concat(e),{expires:1}),q(2)},isMobile:z,noSlotText:P,breakTimings:E})})]})}),(2===V||3===V)&&(0,a.jsxs)(s.A,{className:x("ra-step-2"),children:[2===V&&(0,a.jsx)("div",{className:x("go-back"),children:(0,a.jsx)(f.default,{label:L,variant:"tertiary | for light bg",className:x("go-back"),beforeIcon:Z,onClick:e=>{e.preventDefault(),q(1),B(D),G(y)}})}),Q&&(0,a.jsx)("div",{className:x("form-wrapper"),children:(0,a.jsx)(Q,{...S,template:"Request_Appointment",addToCalendar:{details:k,eventDate:H},intialValues:{requested_date_time__c:"".concat(H.toLocaleString("en-US",{weekday:"long",year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit"})),scan_office_appointment_date_time__c:new Date(H),removeDocInfo:!0},callback:async e=>"submitted"===e&&q(3)})})]})]})})},83352:e=>{e.exports={"sitemap-wrapper":"sitemap_sitemap-wrapper__FNqLm","link-container":"sitemap_link-container__df8Hi","sitemap-row":"sitemap_sitemap-row__TJMv2","node-category":"sitemap_node-category__18B80","node-parent":"sitemap_node-parent__orrvx","node-child":"sitemap_node-child__g5HZj"}},83464:(e,t,i)=>{"use strict";i.d(t,{default:()=>n});var a=i(95155);let l=(0,i(67909).default)(()=>Promise.all([i.e(5747),i.e(3204),i.e(8143)]).then(i.bind(i,88143)),{loadableGenerated:{webpack:()=>[88143]},ssr:!1}),n=e=>(0,a.jsx)(l,{...e})},84919:e=>{e.exports={breadcrumbs:"BreadCrumbs_breadcrumbs__GYZXa"}},85395:()=>{},85550:(e,t,i)=>{"use strict";i.d(t,{default:()=>h});var a=i(95155),l=i(67589),n=i(19290),s=i(68937),r=i.n(s),o=i(65493),d=i(32476),c=i(93411),u=i(12115),m=i(21024);let g=(0,o.T)(r()),h=(0,u.memo)(e=>{let{items:t,includes:i,homeSlug:s,topicSlug:r,localeId:o,view_more_label:h}=e;if(!t.length)return(0,a.jsx)(a.Fragment,{});let{isMobile:p}=(0,m.B)(!0),[_,f]=(0,u.useState)(p?3:2),v=d.A.splitToNChunks(structuredClone(t),p?1:3);return(0,a.jsxs)("div",{className:g("container-inner"),children:[v.slice(0,_).map((e,t)=>(0,a.jsx)(l.fI,{className:g("stack-listing"),children:null==e?void 0:e.map((e,d)=>(0,a.jsx)(l.fv,{md:6,lg:4,className:g("stacked-item"),children:(0,a.jsx)(n.A,{item:e,includes:i,homeSlug:s,topicSlug:r,localeId:o})},"regular-card-".concat(t,"-").concat(d)))},"stack-list-".concat(t))),v.length>_&&(0,a.jsx)(c.default,{label:h,variant:"primary | for light bg",className:g("view-more"),onClick:()=>{f(_+10)}})]},"card-stack")})},86105:(e,t,i)=>{"use strict";i.d(t,{default:()=>g});var a=i(95155),l=i(12115),n=i(65493),s=i(93411),r=i(57978),o=i.n(r),d=i(88947),c=i(95696),u=i(23675);let m=(0,n.T)(o()),g=e=>{let{geoData:t,site:n,slug:r,siteConfigs:g,translation:h}=e,[p,_]=(0,l.useState)(!0),f=c.A.getCookie("closedGeoPopup");if(!t)return null;let{country:v,countryName:x,continent:y}=t,b=g.find(e=>e.id===v.toLocaleLowerCase()),w=b;b||("Europe"===y?w=g.find(e=>"enbe"===e.id):"Africa"===y&&(w=g.find(e=>"enza"===e.id)));let j=v&&v.toLocaleLowerCase()!==(null==n?void 0:n.id)&&null==f&&w,S=(0,u.y8)(!0,async()=>(await Promise.all([i.e(4599),i.e(6752),i.e(8806)]).then(i.bind(i,98806))).default),A=()=>{c.A.putCookie("closedGeoPopup","true",{expires:1}),_(!1)};return(0,l.useEffect)(()=>{S&&j&&d.A.gtmTrackNA("modal_view",void 0,{modal_name:"select_country",country:v.toLocaleLowerCase()})},[S,j]),S&&j?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(S,{show:p,onHide:A,size:"sm",className:m("container-modal-sm"),centered:!0,children:[(0,a.jsx)(S.Header,{closeButton:!0}),(0,a.jsx)(S.Body,{children:(0,a.jsxs)("div",{className:o().wrapper,children:[(0,a.jsx)("div",{children:(0,a.jsxs)("h2",{children:[(null==h?void 0:h.we_noticed_that)||"Your location is set to"," ",(0,a.jsxs)("strong",{children:[x,"!"]})]})}),(0,a.jsx)("div",{className:o()["btn-wrapper"],children:w&&w.locales.map(e=>(0,a.jsx)(s.default,{dataTrackingKey:"modal_country_switch",className:m("redirection-btn",{full:w&&1===w.locales.length}),url:"https://".concat(w&&w.domain).concat(e.slugPrefix?"/".concat(e.slugPrefix):"/"),variant:"primary | for light bg",children:w&&1===w.locales.length?"".concat((null==h?void 0:h.visit)||"Visit"," ").concat(w.domain.replace("www.","")):"".concat((null==h?void 0:h.visit)||"Visit"," ").concat(x," - ").concat(e.language)},e.id))}),(0,a.jsxs)("p",{children:[(null==h?void 0:h.not_in)||"Not in"," ",x,"?"," ",(null==h?void 0:h.continue_to)||"Continue to"," ",(0,a.jsx)("a",{onClick:A,"data-tracking-key":"modal_country_stay",children:(null==h?void 0:h.us_prod_url)||"www.inv
1isalign.com"}),"."]})]})})]})}):null}},86821:e=>{e.exports={author_box:"ArticleAuthor_author_box__48c1l",author_image:"ArticleAuthor_author_image__9xl_z",author_part2:"ArticleAuthor_author_part2__Km9dH",author_byline:"ArticleAuthor_author_byline__QFmuE",seperator:"ArticleAuthor_seperator__1U9mu",author_box_for_hub:"ArticleAuthor_author_box_for_hub__HbV99",author_image_hub:"ArticleAuthor_author_image_hub__THLnO",name_read:"ArticleAuthor_name_read__xKZ82",author_shareTitle:"ArticleAuthor_author_shareTitle__6VCAs"}},87566:e=>{e.exports={link:"Link_link__q4p8y","main-nav-item":"Link_main-nav-item__4VYmT","footer-nav-item":"Link_footer-nav-item__ELO4V",mobile:"Link_mobile__yysNG",hovered:"Link_hovered__e1ISd","main-nav-item-secondary":"Link_main-nav-item-secondary__ZsoT0",bold:"Link_bold__RbICN","footer-nav-item-secondary":"Link_footer-nav-item-secondary__09oJw","main-nav-item-mobile":"Link_main-nav-item-mobile__u_W9Z"}},88120:(e,t,i)=>{"use strict";i.d(t,{default:()=>y});var a=i(95155),l=i(12115),n=i(21024);let s={id:"2RVEz5WYJGjyrTTvZz9ddp",contentType:"Asset",fields:{title:"Invisalign Logo | footer | desktop",description:"Invisalign Logo",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/5xlMjRQxQVTsgE68JNge8X/a6389161bbea63fdb25670ecee423e4c/invis_logo_black-USf6c4c07a1c4fd883eaa7700fa407c0b1eee748ec5e39566d4526419a4d72a89a.svg",details:{size:5592,image:{width:250,height:58}},fileName:"Invisalign-Logo_footer_desktop.png",contentType:"image/png"}}},r={id:"7f7jw9VgQHtwlBLPsFU9nO",contentType:"Asset",fields:{title:"Invisalign Logo | footer | mobile",description:"Invisalign Logo",file:{url:"https://images.ctfassets.net/vh25xg5i1h5l/5xlMjRQxQVTsgE68JNge8X/a6389161bbea63fdb25670ecee423e4c/invis_logo_black-USf6c4c07a1c4fd883eaa7700fa407c0b1eee748ec5e39566d4526419a4d72a89a.svg",details:{size:5103,image:{width:214,height:50}},fileName:"Invisalign-Logo_footer_mobile.png",contentType:"image/png"}}};var o=i(33046),d=i(53743),c=i(59197);i(13280);var u=i(88947),m=i(65875);let g="Invisalign Footer Navigation Menu",h=e=>{var t;let{footerNavigation:i,setShowModal:l}=e;return(0,a.jsx)("nav",{className:"footer-main-nav","aria-label":g,children:(0,a.jsx)("div",{className:"footer-main-menu","aria-label":g,role:"menubar",children:null==i||null==(t=i.childNodeGroups)?void 0:t.map((e,t)=>{var i;return(0,a.jsx)("div",{className:"menu-item-group",children:(0,a.jsx)("ul",{role:"menubar","aria-label":g,children:null==(i=e.childNodes)?void 0:i.map((e,t)=>{let{label:i,url:n,childNodes:s,dataTrackingKey:r,hideIn:o,openLinkInNewTab:d}=e,g=!!(null==s?void 0:s.length);return(0,a.jsxs)("li",{className:"footer-main-menu-item".concat(g?"":" single"),role:"none",style:{..."Bottom Navigation"===o?{display:"none"}:{}},onClick:()=>((e,t)=>{u.A.gtmTrackNA("menu_engagement",void 0,{link_text:m.A.updateHTMLTagsAndSpecialChars(e),link_url:t?m.A.getUrlWithOrigin(t):"",menu_position:"footer nav"})})(i,n),children:["#shopAccessoriesModal"===n?(0,a.jsx)("div",{role:"menuitem",onClick:()=>null==l?void 0:l(!0),className:"footer-nav-item-secondary",children:i}):(0,a.jsx)(c.A,{role:"menuitem",href:n,type:"footer nav item | secondary #bold",dataTrackingKey:r,target:d?"_blank":void 0,children:i}),g&&(0,a.jsx)("ul",{className:"footer-sub-menu",children:s.map((e,t)=>{let{url:i,label:l,dataTrackingKey:n,hideIn:s}=e;return(0,a.jsx)("li",{role:"none",style:{..."Bottom Navigation"===s?{display:"none"}:{}},children:(0,a.jsx)(c.A,{role:"menuitem",href:i,type:"footer nav item | secondary",dataTrackingKey:n,children:l})},"".concat(t,"-").concat(l))})})]},"".concat(t,"-").concat(i))})})},"".concat(t,"-navigroup"))})})})};i(97439);var p=i(68321),_=i(95704);let f=e=>{let{sitekey:t}=e,{GENERAL_RECAPTCHA_DELAYED:i}=_.env,[n,s]=(0,l.useState)();return(0,l.useEffect)(()=>{if(!n){let e=setTimeout(()=>s(!0),parseInt(i||"100"));return()=>{clearTimeout(e)}}},[]),(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.default,{src:"https://www.google.com/recaptcha/enterprise.js?render=".concat(t),onLoad:()=>{window.loadRecaptcha=async e=>await window.grecaptcha.enterprise.execute(t,{action:e}).then(e=>e)}}
1),(0,a.jsx)("div",{className:"g-recaptcha","data-badge":"inline","data-size":"invisible","data-theme":"dark","data-sitekey":t})]})})};var v=i(74212);let x="Invisalign Footer Auxiliary Menu",y=e=>{let[t,i]=(0,l.useState)(!1),{footerNavigation:g,socialIconLinks:p,footerLinks:_,isServerMobile:y,bottom:b,useRecaptcha:w,recaptchaEnterpriseKey:j,labelMap:S,slugPrefix:A,sharedEntries:T}=e,N=null==T?void 0:T.filter(e=>{let{contentType:t}=e;return"modal"===t}).find(e=>{let{fields:t}=e;return"shop-accessories"===t.id}),C=null==S?void 0:S.geography_url,{copyright:P,countryName:L="United States",language:k="English",cygIcon:M}=b||{},{isMobile:I}=(0,n.B)(y),E=I?r:s,R=(0,l.useMemo)(()=>new Date().getFullYear(),[]),D=(e,t,i)=>{u.A.gtmTrackNA("menu_engagement",void 0,{link_text:m.A.updateHTMLTagsAndSpecialChars(t),link_url:i?m.A.getUrlWithOrigin(i):"",menu_position:e})},F=()=>{var e;return(0,a.jsx)("nav",{className:"footer-links-menu","aria-label":x,children:(0,a.jsx)("ul",{className:"footer-links","aria-label":x,role:"menubar",children:null==_||null==(e=_.childNodes)?void 0:e.map((e,t)=>{let{label:i,url:l,dataTrackingKey:n,openLinkInNewTab:s}=e;return"#cookiepreference"===l?(0,a.jsx)("li",{role:"none",children:(0,a.jsx)("button",{className:"truste_cursor_pointer auxiliary-link",onClick:()=>{var e,t;return null==(t=window.truste)||null==(e=t.eu)?void 0:e.clickListener(1)},role:"menuitem",type:"button",children:i})},"".concat(t,"-").concat(i)):(0,a.jsx)("li",{role:"none",onClick:()=>D("footer links",i,l),children:(0,a.jsx)(c.A,{className:"auxiliary-link",role:"menuitem",href:l,dataTrackingKey:n,target:s?"_blank":void 0,children:i})},"".concat(t,"-").concat(i))})})})},K=()=>(0,a.jsx)("div",{className:"copyright",dangerouslySetInnerHTML:{__html:"© ".concat(P," ").concat(R)}}),G=()=>(0,a.jsx)("div",{onClick:()=>D("footer links","Language",C),children:(0,a.jsxs)(c.A,{className:"country-language-link flex",href:C,children:[M&&(0,a.jsx)(d.A,{url:M.fields.file.url,title:M.fields.title}),L,"\xa0â\xa0",k]})});return(0,a.jsxs)("footer",{children:[(0,a.jsxs)("div",{className:"footer-main",children:[(0,a.jsxs)("div",{className:"footer-body",children:[(0,a.jsx)("div",{className:"footer-logo",onClick:()=>D("footer nav",E.fields.title,"/"),children:(0,a.jsx)(c.A,{href:A?null==A?void 0:A.replace(/^\//i,""):"/",passHref:!0,children:(0,a.jsx)(o.default,{image:E})})}),(0,a.jsx)(h,{footerNavigation:g,setShowModal:i})]}),(0,a.jsx)("div",{className:"social-icon-container",children:(0,a.jsx)("ul",{"aria-label":x,role:"footer_social",children:null==p?void 0:p.childNodes.map((e,t)=>{let{icon:i,openLinkInNewTab:l,dataTrackingKey:n}=e;return i?(0,a.jsx)("li",{role:"none",className:"social_li",onClick:()=>D("social nav",i.fields.title,e.url),children:(0,a.jsxs)(c.A,{href:e.url,passHref:!0,target:l?"_blank":void 0,dataTrackingKey:n,children:[i&&(0,a.jsx)(d.A,{url:i.fields.file.url,title:i.fields.title}),(0,a.jsx)("span",{className:"hide",children:i.fields.title})]},"".concat(t,"-").concat(i.fields.title)||"".concat(t,"-social-icon"))},"".concat(t,"-").concat(i.fields.title)):(0,a.jsx)(a.Fragment,{})})})})]}),(0,a.jsx)("div",{className:"footer-bottom",children:I?(0,a.jsxs)(a.Fragment,{children:[_&&(0,a.jsx)("div",{className:"footer-links-container",children:F()}),(0,a.jsxs)("div",{className:"copyright-cyg",children:[K(),G()]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:K()}),_&&F(),(0,a.jsx)("div",{children:G()})]})}),(0,a.jsx)("div",{children:"true"===w&&j&&(0,a.jsx)(f,{sitekey:j})}),t&&(0,a.jsx)(v.A,{item:N,setShowModal:i,size:"xl",fullWidth:!0})]})}},88560:e=>{e.exports={"smile-quiz-main":"SmileQuiz_smile-quiz-main__f5DlU",sticky_header:"SmileQuiz_sticky_header___pTXZ","top-sticky":"SmileQuiz_top-sticky__3oOna","back-btn-steps":"SmileQuiz_back-btn-steps__yfoRX","slider-buttom":"SmileQuiz_slider-buttom__Vh10g",hidden_div_smile_quiz:"SmileQuiz_hidden_div_smile_quiz__15aWK","smile-quiz-content":"SmileQuiz_smile-quiz-content__zs44y","form-step":"SmileQuiz_form-step__ZhvrQ","smile-headlines":"SmileQuiz_smile-headlines__8imp9",info_holder:"SmileQuiz_info_holder__JvlGC","next-btn":"SmileQuiz_next-btn__BuV3g"}},88676:e=>
1{e.exports={"wrapper-main":"SharedBackground_wrapper-main__oHCjm","left-top-image-container":"SharedBackground_left-top-image-container__BZQj5","right-top-image-container":"SharedBackground_right-top-image-container__SqlJ3","left-bottom-image-container":"SharedBackground_left-bottom-image-container__a3ZlX","right-bottom-image-container":"SharedBackground_right-bottom-image-container__W7fwj",showMobileRightImage:"SharedBackground_showMobileRightImage__5Chly"}},88947:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var a=i(95155),l=i(65875),n=i(95704);class s{gtmEvent(e){console.log("TODO - add GTM tracking")}gtmTrackEmea(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.gtmTrack(e,t,i,a,l)}gtmTrack(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{let n={event:e,add_info:{category:t,action:i,label:a,...l}};if(console.log("GTM: "+JSON.stringify(n)),!window.dataLayer)return;window.dataLayer.push(n)}catch(e){console.log(e)}}renderGTMScript(e,t){if("true"===n.env.GENERAL_DISABLE_TRACKING)return null;let{gtmKey:i="",gtmDomain:l="www.googletagmanager.com"}=e;if(!(i=(null==t?void 0:t.gtmKey)?t.gtmKey:i))return null;let s=("true"===n.env.GENERAL_INIT_GTM_ORIGINAL_LOCATION?"window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n originalLocation: document.location.protocol + '//' +\n document.location.hostname +\n document.location.pathname +\n document.location.search\n });":"")+"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n 'https://".concat(l,"/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer', '").concat(i,"');\n ");return(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:s}})}renderTrustArcLinkTags(e,t){if("true"===n.env.GENERAL_DISABLE_TRACKING)return null;let i="true"===n.env.GENERAL_ENABLE_TRUSTARC,l="true"===n.env.ENABLE_TRUSTARC_LINK_TAGS;return i||!l?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("link",{rel:"dns-prefetch",href:"https://consent.trustarc.com/"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://consent.trustarc.com/",crossOrigin:"anonymous"})]})}renderTrustArcScript(e,t){let{GENERAL_ENABLE_TRUSTARC:i,TRUSTARC_BEHAVIOR:l,TRUSTARC_COUNTRY:s}=n.env,r=t.defaultTrustArcLang||t.id.split("-")[0],o=s||t.trustArcCountry||t.id.split("-")[1],d="https://consent.trustarc.com/notice?domain=invisalign.com&language=".concat(r,"&c=teconsent>m=1");return(o&&(d+="&country=".concat(o.toLowerCase())),"expressed"!==l?d+="&js=nj¬iceType=bb&text=true":d+="&behavior=".concat(l),"true"!==i)?null:(0,a.jsx)("script",{src:d,async:!0})}renderGTMnoScript(e){if("true"===n.env.GENERAL_DISABLE_TRACKING)return null;let{locales:t=[]}=e.site,{gtmKey:i="",gtmDomain:l="www.googletagmanager.com"}=e.labelMap,s=t.find(t=>t.id===e.localeId);if(!(i=(null==s?void 0:s.gtmKey)?s.gtmKey:i))return null;let r='<iframe title="'.concat(l,"-").concat(i,'" src="https://').concat(l,"/ns.html?id=").concat(i,'"\n height="0" width="0" style="display:none;visibility:hidden"></iframe>');return(0,a.jsx)("noscript",{dangerouslySetInnerHTML:{__html:r}})}renderOptimizelyScript(e,t){if("true"===n.env.GENERAL_DISABLE_TRACKING||"true"===n.env.GENERAL_DISABLE_OPTIMIZELY)return null;let{optimizelyKey:i}=e;return i=(null==t?void 0:t.optimizelyKey)?t.optimizelyKey:i,(0,a.jsx)("script",{src:"https://cdn.optimizely.com/js/".concat(i,".js"),async:!0})}renderVWOScript(e){if(!e||!this.checkTrackingEnabledEMEA(e)||!e.labelMap.VWO_account_id)return null;let t="window._vwo_code = window._vwo_code || (function(){\n var account_id=".concat(e.labelMap.VWO_account_id,",\n settings_tolerance=2000,\n library_tolerance=2500,\n use_existing_jquery=false,\n is_spa=1,\n hide_element='body',\n\n /* DO NOT EDIT BELOW THIS LINE */\n f=false,d=document,code={use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById('_vis_opt_path_hides');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement('script');b.src=a;b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName('head')[0].appendChild(b);},init:function(){\n window.settings_timer=setTimeout(function () {_vwo_code.finish() },settings_tolerance);var a=d.createElement('style'),b=hide_element?hide_element+'{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}':'',h=d.getElementsByTagName('head')[0];a.setAttribute('id','_vis_opt_path_hides');a.setAttribute('type','text/css');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);this.load('https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&f='+(+is_spa)+'&r='+Math.random());return settings_timer; }};window._vwo_settings_timer = code.init(); return code; }());");return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:t}})})}renderChatBotAdaScript(e,t){if(!e||!t)return null;try{let i=t?JSON.parse(t):{};if(null==i?void 0:i.config){let t=Object.keys(null==i?void 0:i.config).find(t=>{var a,l,n,s,r;if((null==i||null==(a=i.config[t])?void 0:a.all)!==!0){let a=null==i||null==(l=i.config[t])?void 0:l.includeForSlugs,o=null==i||null==(n=i.config[t])?void 0:n.excludeForSlugs;return a&&!o?(null==(s=a.split("|"))?void 0:s.find(t=>t===e))?t:null:(null==(r=o.split("|"))?void 0:r.find(t=>t===e))?null:t}});if(t)return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("script",{id:"__ada","data-handle":"".concat(t),src:"https://static.ada.support/embed2.js",async:!0})})}}catch(e){console.log(e)}return null}slugBasedOptimizelySnippet(e,t){var i,l;if(!e||!t)return null;let n=null==t||null==(l=t.split("|"))||null==(i=l.map(e=>{var t;return null==e||null==(t=e.split("="))?void 0:t.map(e=>null==e?void 0:e.trim())}))?void 0:i.reduce((e,t)=>
1(e[t[0]]=t[1],e),{});if(null==n||!n.hasOwnProperty(e))return null;{let t=n[e];return t?(0,a.jsx)("script",{src:"https://cdn.optimizely.com/js/".concat(t,".js"),async:!0}):null}}customOptimizelyTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;window&&(window.optimizely=window.optimizely||[],window.optimizely.push({type:"event",eventName:e,tags:{revenue:t,value:i}}))}async deleteRepeatedKeys(e,t){return"true"!==n.env.GENERAL_ENABLE_GTM_OVERRIDE_KEYS||t.forEach(t=>delete e[t]),e}async gtmTrackNA(e,t,i){if(!window.dataLayer||this.removedDlEvents.includes(e))return;let a=this.naTrackingData?JSON.parse("".concat(this.naTrackingData)):{};try{if(a.hasOwnProperty(e)){let l=a[e].split("|")[0],n=a[e].split("|")[1],s=a[e].split("|")[2];t?(i=i?await this.deleteRepeatedKeys(i,["event","ga_category","ga_action","ga_label","user_hashed_email"]):{},window.dataLayer.push({event:e,ga_category:l,ga_action:n,ga_label:s,user_hashed_email:t,...i})):(i=i?await this.deleteRepeatedKeys(i,["event","ga_category","ga_action","ga_label"]):{},window.dataLayer.push({event:e,ga_category:l,ga_action:n,ga_label:s,...i})),window.dataLayer.push({event:"genericEvent"})}else i=i?await this.deleteRepeatedKeys(i,["event"]):{},window.dataLayer.push({event:e,...i})}catch(e){console.log(e)}}checkTrackingEnabledEMEA(e){return/^accepted/i.test(e.cookiesDirective)&&!/2/i.test(e.cookiesDirective)}constructor(){this.removedDlEvents=[],this.setRemovedDlEvents=(e,t)=>{if(e&&t)try{let i=JSON.parse(t);i[e]&&(this.removedDlEvents=i[e])}catch(e){}},this.updateTrackingData=async()=>{if(void 0===this.naTrackingData)try{this.naTrackingData=await l.A.httpGet("/api/getNATrackinData")}catch(e){}},this.initializeMarketName=(e,t)=>{let{id:i}=t,[l,n]=i.split("-"),s=n?"".concat(n.toLowerCase(),"-").concat(l.toLowerCase()):l.toLowerCase();if(s)return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"var dataLayer = dataLayer || []; dataLayer.push({'market': '".concat(s,"'});")}})})},this.initializeAccessibeScript=()=>{if("true"===n.env.GENERAL_ENABLE_ACCESSIBE)return(0,a.jsx)("script",{id:"initializeAccessibeScript",dangerouslySetInnerHTML:{__html:"(function(){ var s = document.createElement('script'); var h = document.querySelector('head') || document.body; s.src = 'https://acsbapp.com/apps/app/dist/js/app.js'; s.async = true; s.onload = function(){ acsbJS.init({ statementLink : '', footerHtml : '', hideMobile : false, hideTrigger : false, disableBgProcess : false, language : 'en', position : 'left', leadColor : '#0067ac', triggerColor : '#0067ac', triggerRadius : '50%', triggerPositionX : 'left', triggerPositionY : 'bottom', triggerIcon : 'people', triggerSize : 'medium', triggerOffsetX : 20, triggerOffsetY : 20, mobile : { triggerSize : 'medium', triggerPositionX : 'left', triggerPositionY : 'bottom', triggerOffsetX : 25, triggerOffsetY : 30, triggerRadius : '50%' } }); }; h.appendChild(s); })();"},async:!0})}}}let r=new s},88969:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var a=i(95155),l=i(12115),n=i(65493),s=i(15554),r=i.n(s),o=i(53743);let d=(0,n.T)(r()),c=e=>{let{title:t,background:i="white",align:n="center"}=e,s=async e=>{try{await navigator.clipboard.writeText(window.location.href),alert("Link copied to clipboard!")}catch(e){console.error("Unable to copy to clipboard",e)}},[r,c]=(0,l.useState)("");return(0,l.useEffect)(()=>{c(window.location.href)},[]),(0,a.jsxs)("div",{className:d("social-share-wrapper",{blueBackground:"blue"===i}),children:[(0,a.jsx)("span",{className:d("author_shareTitle"),children:t}),(0,a.jsxs)("div",{className:d("social_media",{left:"left"===n}),children:[(0,a.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(r)),target:"_blank",rel:"noopener noreferrer","aria-label":"Share on Facebook","data-tracking-key":"article-share-facebook",children:(0,a.jsx)(o.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/gyFc0Au2WwDG5DpaQGiNB/89bc30f37521e609c3df5d829ec24696/facebook_icon.svg",title:"facebook_logo"})}),(0,a.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(r),"&text=").concat(encodeURIComponent("Article")),target:"_blank",rel:"noopener noreferrer","aria-label":"Share on Twitter","data-tracking-key":"article-share-twitter",children:(0,a.jsx)(o.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/rgyFyNbjRYcRKfTbkvs4p/b0611a81855e2f52179c3fe6c5f5dc26/twitter_icon.svg",title:"twitter_logo"})}),(0,a.jsx)("a",{href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(r),target:"_blank",rel:"noopener noreferrer","aria-label":"Share on Linkedin","data-tracking-key":"article-share-linkedin",children:(0,a.jsx)(o.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/hhIJsTRrSBKSb4mpoWjG6/ec84a636dd0d4eee1b6c21af2e728f13/linkedin.svg",title:"linkedIn_logo"})}),(0,a.jsx)("a",{href:"mailto:?subject=".concat(encodeURIComponent("Someone shared an article from the Invisalign\xae brand"),"&body=").concat(encodeURIComponent("Check out this blog post: ".concat(r))),"aria-label":"Share on Mail","data-tracking-key":"article-share-email",children:(0,a.jsx)(o.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/3Yvoci809VWoaYt9AJWCUs/9623de4a9bd708b93c541876a14c0b03/Email.svg",title:"email_icon"})}),(0,a.jsx)("a",{"data-tracking-key":"article-share-url",onClick:e=>{e.preventDefault(),s(e)},children:(0,a.jsx)(o.A,{url:"https://images.ctfassets.net/vh25xg5i1h5l/5PeQFW4iGSQKjuM7GrQxtF/95215f845998ef979b8b5965bd2c88cb/Link.svg",title:"link_icon"})})]})]})}},90321:(e,t,i)=>{"use strict";i.d(t,{A:()=>t_});var a=i(95155),l=i(58257),n=i(12115),s=i(65493),r=i(67589),o=i(33046),d=i(95962),c=i(46574),u=i(64385),m=i.n(u),g=i(52619),h=i.n(g);let p=(0,s.T)(m()),_=e=>{var t,i,l,u,g,_,f;let{item:v,depth:x,index:y,pageProps:b}=e,{firstEntry:w,anchor:j,custom:S={},image:A=[],video:T=[],textStyling:N,...C}=v.fields,{imagePosition:P="left",theme:L="White background",columnSize:k="6-6",autoPlay:M=!1,imageSize:I="default",imageBetweenText:E=!1,imageShapeOnMobile:R="square",source:D="hero",containerType:F="fluid"}=S,K=A&&A[0],G=(0,n.useMemo)(()=>(e=>{let t=[6,6];if(e){let i=e.split("-");i[0]&&(t[0]=parseInt(i[0])),i[1]&&(t[1]=parseInt(i[1]))}return t})(k),[k]),H=T[0],B=null==(i=v.fields.buttons)||null==(t=i[0])?void 0:t.fields,V={headLineStyle:{size:(null==N||null==(l=N.headLineStyle)?void 0:l.size)||"large"},darkBg:"Blue background"===L,...N},q={...C,textStyling:V};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:s.A.getEntryClassesStrFromModuleCss(v,m(),"hero-module root container-".concat(F," ").concat(D),{"background-blue":"Blue background"===L,"background-grey":"Light grey background"===L,"background-light-blue":"Light blue background"===L}),children:(0,a.jsxs)(r.fI,{className:p({["row-".concat(P)]:!!P,"hero-row":!0,["row-".concat(D)]:D}),children:[(0,a.jsxs)(r.fv,{md:G[0],className:p({[I]:!!I,withImageBetweenText:!!E,["imageShapeOnMobile-".concat(R)]:!0}),children:[(null==H||null==(g=H.fields)||null==(u=g.file)?void 0:u.url)&&(0,a.jsx)("div",{className:p("video-sec"),children:(0,a.jsx)(d.default,{src:null==H?void 0:H.fields.file.url,autoPlay:M,poster:"".concat((null==K?void 0:K.fields.file.url.includes("https://"))?null==K?void 0:K.fields.file.url:"https:".concat(null==K?void 0:K.fields.file.url))})}),K&&!(null==H||null==(f=H.fields)||null==(_=f.file)?void 0:_.url)&&(0,a.jsx)("div",{className:p("image-sec"),children:"replace-map-image"===j&&B&&B.url?(0,a.jsx)(h(),{href:B.url,target:B.openLinkInNewTab?"_blank":void 0,"data-tracking-key":B.dataTrackingKey,"aria-label":B.ariaLabel,children:(0,a.jsx)(o.default,{image:K,screenWidth:"half",alt:""})}):(0,a.jsx)(o.default,{image:K,screenWidth:"half",alt:""})})]}),(0,a.jsx)(r.fv,{md:G[1],className:m()["content-column"],children:(0,a.jsx)("div",{className:p("content",{reducePadding:!!I}),children:(0,a.jsx)(c.A,{depth:x,index:y,firstEntry:!!w,pageProps:b,...q})})})]})})})};var f=i(10965);let v=(0,s.T)(m()),x=(0,n.memo)(e=>{let{item:t,depth:i,index:l}=e,{eyebrow:n,headline:s,bodyCopy:r,buttons:o,firstEntry:d,...u}=t.fields,m=(0,f.qg)((0,f.As)(e));return m.item.fields={...u,bodyCopy:r,buttons:o},(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{className:v("imageBetweenText"),depth:i,index:l,firstEntry:d,eyebrow:n,headline:s,pageProps:e.pageProps,...u}),(0,a.jsx)(_,{...m})]})}),y=(0,n.memo)(e=>{var t;let{item:i,pageProps:l}=e,{custom:n={},textStyling:s={}}=i.fields,{imageBetweenText:r=!1,columnSize:o="5-7"}=n;n.columnSize=o,n.imageSize="reduce",n.source="textAndMedia",n.containerType="inner";let d="Blue background"===n.theme,c="Light grey background"===n.theme,u={headLineStyle:{size:(null==s||null==(t=s.headLineStyle)?void 0:t.size)||"medium"},darkBg:"Blue background"===n.theme,...s},m={...e,item:{...e.item,fields:{...e.item.fields,textStyling:u}}};
1return(0,a.jsxs)("div",{className:d?"dark-background":c?"grey-background":"",children:[(0,a.jsx)("div",{className:r?" hide-on-mobile":"",children:(0,a.jsx)(_,{...m})}),(0,a.jsx)("div",{className:"hide-on-desktop".concat(r?"":" hide-on-mobile"),children:(0,a.jsx)(x,{...m})})]})});var b=i(67372),w=i(30411),j=i(13150),S=i(93411),A=i(19264),T=i.n(A),N=i(48558),C=i(85814);let P=(0,s.T)(T());i(72106);var L=i(45735),k=i(44421),M=i.n(k);let I=(0,s.T)(M()),E={eyeBrowStyle:{alignment:"Center"},headLineStyle:{alignment:"Center",size:"small"}},R=e=>{let{image:t,background:i,hideImages:l,...n}=e,s={...n,textStyling:{...E,darkBg:"dark blue"===i}};return(0,a.jsxs)("div",{className:I("ticker",M()["ticker-tape-ticker"]),children:[(0,a.jsx)(c.A,{...s,eyebrowLineHeight:"20",headlineFontWeight:"400",headlineLineHeight:"20"}),!l&&(null==t?void 0:t.fields.file.url)&&(0,a.jsx)(o.default,{image:t,className:"ticker-img"})]})};i(35468);var D=i(46688),F=i.n(D);let K=(0,s.T)(F());var G=i(45675),H=i(83114),B=i(17357),V=i.n(B),q=i(47311),z=i(9284);let U=(0,s.T)(V()),O=(0,n.memo)(e=>{let{item:t,pageProps:i}=e,{theme:l="White background",firstEntry:n,buttons:s,beforeImages:r,afterImages:o,custom:d,...u}=t.fields,{eyebrow:m,headline:g,bodyCopy:h,...p}=u,{sliderFirst:_=!1,sliderBetweenText:f=!1,sliderIconText:v="Slide"}=d||{};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"".concat(U("before-after-module col-no-reverse")," ").concat(f?"hide-on-desktop slider-between-text":"hide-on-mobile hide-on-desktop"),children:[(0,a.jsx)(c.A,{eyebrow:m,headline:g,bodyCopy:h,textStyling:{darkBg:"Blue background"===l,bodyStyle:{alignment:"Left"},buttonStyle:{alignment:"Left"},eyeBrowStyle:{alignment:"Left"},headLineStyle:{size:"medium",alignment:"Left"}},pageProps:i,...p}),(0,a.jsx)(z.default,{beforeImages:r,afterImages:o,text:v,type:"slider-between-text"}),(0,a.jsx)(c.A,{buttons:s,...p,pageProps:i})]},"slider-2")})}),W=(0,s.T)(V()),Q=(0,n.memo)(e=>{let{item:t}=e,{theme:i="White background",firstEntry:l,buttons:n,beforeImages:r,afterImages:o,custom:d={},...c}=t.fields,{sliderPosition:u="After Text",sliderIconText:m="Slide"}=d,g=!1,h=!1;"Before Text"===u?g=!0:(h=!0,d.sliderBetweenText=!0);let p={theme:i,alignment:"Left",source:"module",...d};return t.fields={...t.fields,custom:p},(0,a.jsx)("div",{className:W("Light grey background"===i&&"light-grey-background"),children:(0,a.jsxs)("div",{className:s.A.getEntryClassesStrFromModuleCss(t,V(),"social-proofs-before-after-module root container-inner",{"background-blue":"Blue background"===i}),children:[(0,a.jsxs)("div",{className:"".concat(W("before-after-module",{"slider-first":g})," ").concat(h?"hide-on-mobile":""),children:[(0,a.jsx)(b.A,{...e}),(0,a.jsx)(z.default,{beforeImages:r,afterImages:o,text:m})]},"slider-1"),h&&(0,a.jsx)(O,{...e})]})})});var Z=i(11485),Y=i(83464),J=i(65875),X=i(80052),$=i.n(X);let ee=(0,s.T)($());var et=i(64052),ei=i.n(et);let ea=(0,s.T)(ei());var el=i(83132),en=i(1788),es=i(12359),er=i.n(es);let eo=(0,s.T)(er()),ed=(0,n.memo)(e=>{let{index:t,depth:i,adminMode:l,item:n,pageProps:s,isFirstDescendant:r}=e;return(0,a.jsx)("div",{className:eo("request-appointment-module"),children:"Heartland_Request_Appointment"===n.fields.template?(0,a.jsx)(en.default,{...n.fields,index:t,depth:i,pageProps:s,adminMode:l,isFirstDescendant:r}):(0,a.jsx)(el.default,{...n.fields,index:t,depth:i,pageProps:s,adminMode:l,isFirstDescendant:r})})});var ec=i(2638),eu=i.n(ec);let em=(0,s.T)(eu());var eg=i(28269),eh=i(36746),ep=i.n(eh);let e_=(0,s.T)(ep()),ef={eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"},darkBg:!0};var ev=i(88560),ex=i.n(ev),ey=i(14097);let eb=(0,s.T)(ex()),ew=(0,n.memo)(e=>{let{index:t,depth:i,adminMode:l,item:n,pageProps:s,isFirstDescendant:r}=e;return(0,a.jsx)("div",{className:eb("smile-quiz-module"),children:(0,a.jsx)(ey.default,{...n.fields,index:t,depth:i,pageProps:s,adminMode:l,isFirstDescendant:r})})});var ej=i(46144),eS=i.n(ej);let eA=(0,s.T)(eS());var eT=i(20063),eN=i(32476),eC=i(76773),eP=i(51361),eL=i(49576),ek=i(34188),eM=i(45796),eI=i.n(eM),eE=i(34672),eR=i(43172),eD=i(17095),eF=i.n(eD);let eK=(0,s.T)(eF()),eG=e=>{var t,i;let{item:l,includes:n}
1=e,{textStyling:s,custom:r,inlineModule:o,anchor:d,...u}=l.fields||{},{theme:m="White background"}=r||{},g={headLineStyle:{size:(null==s||null==(t=s.headLineStyle)?void 0:t.size)||"medium"},darkBg:"Blue background"===m,...s},h={...u,textStyling:g},p=o&&n&&eR.A.replaceChildReferencesFromIncludes(o,n),_={id:(null==p?void 0:p.sys.id)||"",contentType:(null==p||null==(i=p.sys.contentType)?void 0:i.sys.id)||"",fields:(null==p?void 0:p.fields)||{}};return(0,a.jsxs)("div",{"data-anchor":null==d?void 0:d.replace("#",""),className:eK("article-body"),children:[(0,a.jsx)(c.A,{depth:2,index:1,firstEntry:!1,...h}),(0,eE.Ph)(e,_,2)]})};var eH=i(62782),eB=i(88969),eV=i(62216),eq=i(85550),ez=i(26104),eU=i(7977),eO=i(23445),eW=i.n(eO);let eQ=(0,s.T)(eW()),eZ=e=>{let{footnotes:t}=e;return t&&t.length?(0,a.jsx)("div",{className:"".concat(eQ("footnote-container container-inner")," footnote-ref"),children:(0,a.jsx)("ol",{className:eQ(eW()["footnotes-list"]),children:t.map((e,t)=>{let{claim:i}=e.fields;return(0,a.jsx)("li",{id:"footnote-".concat(t+1),children:i&&eU.A.documentToComponent(i,"span",eQ("footnote"))},t)})})}):null},eY=(0,s.T)(eI()),eJ=async e=>{var t,i,l,n,s,o;let{homeSlug:d="",articlesHome:c,articlesTopic:u,articleDetails:m,includes:g,pageProps:h,typeTemplateMap:p,disclaimer:_,relatedText:f}=e;if(m&&(null==(t=m[0].fields)?void 0:t.inactive))return(0,eT.redirect)("/not-found");let v=m&&m[0];v&&(v=eR.A.replaceChildReferencesFromIncludes(v,g));let x=null==v?void 0:v.fields.author;x&&(x.fields.usecase="Article");let{body:y}=(null==v?void 0:v.fields)||{},w=null==y?void 0:y.map(e=>g.Entry.find(t=>{var i;return t.sys.id===(null==e||null==(i=e.sys)?void 0:i.id)})),j=[];m&&m[0]&&w&&(j=await eN.A.contentsFootnote([null==(o=m[0])?void 0:o.fields.hero[0],...w.filter(Boolean)]));let S=[];null==w||w.map(e=>{var t;null==(t=e.fields.bodyCopy)||t.content.map(e=>{if("heading-2"===e.nodeType||"heading-3"===e.nodeType){let t=e.content[0].value.match(/\[([^\]]+)\]/);t&&S.push({anchorLabel:t[1]||"",anchor:t[1]||""})}})});let A=u&&(null==v||null==(l=v.fields)||null==(i=l.relatedArticles)?void 0:i.filter(e=>e.fields.topic.sys.id===u[0].sys.id)),{footerTextOnly:T}=(null==v?void 0:v.fields)||{},N=eR.A.replaceChildReferencesFromIncludes(_,g),C=u&&u[0],P={home:{slug:"".concat(d),title:eN.A.labelForBreadcrumb(d)||"Home"},topic:{slug:"".concat(d,"/").concat(null==C?void 0:C.fields.slug),title:eN.A.labelForBreadcrumb((null==C?void 0:C.fields.slug)||"")||"Topic"},detail:{slug:"".concat(d,"/").concat(null==C?void 0:C.fields.slug,"/").concat(null==v?void 0:v.fields.slug),title:(0,ez.l)(null==(n=(null==v?void 0:v.fields.hero[0]).fields)?void 0:n.headline).replace(/\*/g,"")||"Art
1icle"}};return(0,a.jsxs)("div",{className:eY("details-page"),children:[(0,a.jsx)(ek.A,{titleSlugMap:P}),(0,a.jsxs)("div",{className:eY("details-wrapper"),children:[m&&(0,a.jsx)(eL.default,{items:[...m],isOldIos:null==h?void 0:h.isOldIOS,includes:g,homeSlug:d,localeId:null==h?void 0:h.localeId,firstEntry:!0,notLink:!0}),(0,a.jsxs)("div",{children:[(0,a.jsx)(eV.default,{anchorList:S}),(0,a.jsxs)(r.fI,{className:"container-inner",children:[(0,a.jsx)(r.fv,{className:eY("author-wrap"),md:4,children:(0,a.jsx)(eH.A,{usecase:"Article",...null==x?void 0:x.fields})}),(0,a.jsxs)(r.fv,{md:7,lg:7,xl:7,children:[null==w?void 0:w.map((e,t)=>e&&p&&(0,a.jsx)(eG,{item:e,includes:g,depth:1,index:2,typeTemplateMap:p,adminMode:!1,isFirstDescendant:!1},"article-body-".concat(t))),(0,a.jsx)("hr",{}),(0,a.jsx)(eB.default,{title:(null==x?void 0:x.fields.articleShareTitle)||"Share this article",background:"blue",align:"left"}),(0,a.jsx)("br",{})]})]})]}),A&&u&&(0,a.jsxs)("div",{style:{paddingBottom:"40px"},children:[(0,a.jsx)("div",{className:eY("container-inner","related-title"),children:(0,a.jsx)("h2",{children:f})}),(0,a.jsx)(eq.default,{items:A,includes:g,homeSlug:d,topicSlug:u&&u[0].fields.slug||"",localeId:null==h?void 0:h.localeId,view_more_label:(null==h||null==(s=h.sharedTranslation)?void 0:s.view_more)||"View more"})]}),N&&(0,a.jsx)(b.A,{item:N,depth:1,index:2,typeTemplateMap:{content:{_default:b.A}},adminMode:!1,isFirstDescendant:!1}),T&&p&&(0,a.jsx)(b.A,{item:T,depth:1,index:2,typeTemplateMap:p,adminMode:!1,isFirstDescendant:!1}),(null==j?void 0:j.length)>0&&(0,a.jsx)(eZ,{footnotes:j})]})]})},eX=(0,n.memo)(e=>{let{pageProps:t,typeTemplateMap:i}=e,{extraData:l={},urlParams:n}=t||{};eN.A.checkIfPageExists(l)||(0,eT.redirect)("/not-found");let{articles:s}=l,r=s.articlesHome[0].fields.disclaimer,o=s.articlesHome[0].fields.relatedArticlesTitle,d={home:(0,a.jsx)(eC.default,{...s,pageProps:t}),topic:(0,a.jsx)(eP.default,{...s,pageProps:t,disclaimer:r}),details:(0,a.jsx)(eJ,{...s,pageProps:t,typeTemplateMap:i,disclaimer:r,relatedText:o})};return(0,a.jsx)(a.Fragment,{children:s.page&&d[s.page]})});var e$=i(81107),e0=i.n(e$);let e1=(0,s.T)(e0());var e5=i(82963),e2=i(86105);let e3=JSON.parse('{"production":[{"id":"gb","domain":"www.invisalign.co.uk","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-GB","language":"english"}]},{"id":"ae","domain":"www.invisalign.ae","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ae-AE","language":"arabic","direction":"rtl"}]},{"id":"bh","domain":"www.invisalign.bh","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-BH","language":"arabic","direction":"rtl"}]},{"id":"arcm","domain":"www.invisalignafrica.com","locales":[{"id":"ar-CM","language":"arabic","slugPrefix":"ar/"}]},{"id":"ardz","domain":"www.invisalignafrica.com","locales":[{"id":"ar-DZ","language":"arabic","slugPrefix":"ar/"}]},{"id":"areg","domain":"www.invisalignafrica.com","locales":[{"id":"ar-EG","language":"arabic","slugPrefix":"ar/"}]},{"id":"argh","domain":"www.invisalignafrica.com","locales":[{"id":"ar-GH","language":"arabic","slugPrefix":"ar/"}]},{"id":"arke","domain":"www.invisalignafrica.com","locales":[{"id":"ar-KE","language":"arabic","slugPrefix":"ar/"}]},{"id":"arkw","domain":"www.invisalign.com.kw","locales":[{"id":"ar-KW","language":"arabic"}]},{"id":"arlr","domain":"www.invisalignafrica.com","locales":[{"id":"ar-LR","language":"arabic","slugPrefix":"ar/"}]},{"id":"arma","domain":"www.invisalignafrica.com","locales":[{"id":"ar-MA","language":"arabic","slugPrefix":"ar/"}]},{"id":"armu","domain":"www.invisalignafrica.com","locales":[{"id":"ar-MU","language":"arabic","slugPrefix":"ar/"}]},{"id":"arng","domain":"www.invisalignafrica.com","locales":[{"id":"ar-NG","language":"arabic","slugPrefix":"ar/"}]},{"id":"om","domain":"www.invisalign.com.om","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-OM","language":"arabic","direction":"rtl"}]},{"id":"qa","domain":"www.invisalign.com.qa","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-QA","language":"arabic","direction":"rtl"}]},{"id":"arre","domain":"www.invisalignafrica.com","locales":[{"id":"ar-RE","language":"arabic","slugPrefix":"ar/"}]},{"id":"sa","domain":"www.invisalign.com.sa","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-SA","language":"arabic","direction":"rtl"}]},{"id":"arsn","domain":"www.invisalignafrica.com","locales":[{"id":"ar-SN","language":"arabic","slugPrefix":"ar/"}]},{"id":"artn","domain":"www.invisalignafrica.com","locales":[{"id":"ar-TN","language":"arabic","slugPrefix":"ar/"}]},{"id":"arza","domain":"www.invisalignafrica.com","locales":[{"id":"ar-ZA","language":"arabic","slugPrefix":"ar/"}]},{"id":"cz","domain":"www.invisalign.cz","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"cs-CZ","language":"czech"}]},{"id":"dk","domain":"www.invisalign.dk","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"da-DK","language":"danish"}]},{"id":"dafo","domain":"www.invisalign.dk","locales":[{"id":"da-FO","language":"danish"}]},{"id":"dagl","domain":"www.invisalign.dk","locales":[{"id":"da-GL","language":"danish"}]},{"id":"de","domain":"www.invisalign.de","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"de-AT","language":"german"}]},{"id":"ch","domain":"www.invisalign.ch","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"de-CH","language":"german"}]},{"id":"de","domain":"www.invisalign.de","locales":[{"id":"de","language":"german"}]},{"id":"cy","domain":"www.invisalign.cy","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"el-CY","language":"greek"}]},{"id":"gr","domain":"www.invisalign.gr","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"el-GR","language":"greek"}]},{"id":"aeen","domain":"www.invisalign.ae","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"en-AE","language":"english","slugPrefix":"en/"}]},{"id":"enaf","domain":"www.invisalign.eu","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-AF","language":"english"}]},{"id":"enbe","domain":"www.invisalign.eu","locales":[{"id":"en-BE","language":"english"}]},{"id":"enbg","domain":"www.invisalign.eu","locales":[{"id":"en-BG","language":"english"}]},{"id":"bhen","domain":"www.invisalign.bh","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-BH","language":"english","slugPrefix":"EN/"}]},{"id":"encm","domain":"www.invisalignafrica.com","locales":[{"id":"en-CM","language":"english"}]},{"id":"endz","domain":"www.invisalignafrica.com","locales":[{"id":"en-DZ","language":"english"}]},{"id":"enee","domain":"www.invisalign.eu","locales":[{"id":"en-EE","language":"english"}]},{"id":"eneg","domain":"www.invisalignafrica.com","locales":[{"id":"en-EG","language":"english"}]},{"id":"engg","domain":"www.invisalign.co.uk","locales":[{"id":"en-GG","language":"english"}]},{"id":"engh","domain":"www.invisalignafrica.com","locales":[{"id":"en-GH","language":"english"}]},{"id":"engi","domain":"www.invisalign.co.uk","locales":[{"id":"en-GI","language":"english"}]},{"id":"enhr","domain":"www.invisalign.eu","locales":[{"id":"en-HR","language":"english"}]},{"id":"enhu","domain":"www.invisalign.eu","locales":[{"id":"en-HU","language":"english"}]},{"id":"ie","domain":"www.invisalign.ie","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-IE","language":"english"}]},{"id":"enim","domain":"www.invisalign.co.uk","locales":[{"id":"en-IM","language":"english"}]},{"id":"enis","domain":"www.invisalign.eu","locales":[{"id":"en-IS","language":"english"}]},{"id":"enje","domain":"www.invisalign.co.uk","locales":[{"id":"en-JE","language":"english"}]},{"id":"enjo","domain":"www.invisalign.eu","locales":[{"id":"en-JO","language":"english"}]},{"id":"enke","domain":"www.invisalignafrica.com","locales":[{"id":"en-KE","language":"english"}]},{"id":"kwen","domain":"www.invisalign.com.kw","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-KW","language":"english","slugPrefix":"en/"}]},{"id":"enlb","domain":"www.invisalign.eu","locales":[{"id":"en-LB","language":"english"}]},{"id":"enli","domain":"www.invisalign.eu","locales":[{"id":"en-LI","language":"english"}]},{"id":"enlr","domain":"www.invisalignafrica.com","locales":[{"id":"en-LR","language":"english"}]},{"id":"enlt","domain":"www.invisalign.eu","locales":[{"id":"en-LT","language":"english"}]},{"id":"enlu","domain":"www.invisalign.eu","locales":[{"id":"en-LU","language":"english"}]},{"id":"enlv","domain":"www.invisalign.eu","locales":[{"id":"en-LV","language":"english"}]},{"id":"enma","domain":"www.invisalignafrica.com","locales":[{"id":"en-MA","language":"english"}]},{"id":"enmt","domain":"www.invisalign.eu","locales":[{"id":"en-MT","language":"english"}]},{"id":"enmu","domain":"www.invisalignafrica.com","locales":[{"id":"en-MU","language":"english"}]},{"id":"enng","domain":"www.invisalignafrica.com","locales":[{"id":"en-NG","language":"english"}]},{"id":"omen","domain":"www.invisalign.com.om","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"en-OM","language":"english","slugPrefix":"en/"}]},{"id":"qaen","domain":"www.invisalign.com.qa","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-QA","language":"english","slugPrefix":"en/"}]},{"id":"enre","domain":"www.invisalignafrica.com","locales":[{"id":"en-RE","language":"english"}]},{"id":"enro","domain":"www.invisalign.eu","locales":[{"id":"en-RO","language":"english"}]},{"id":"enrs","domain":"www.invisalign.eu","locales":[{"id":"en-RS","language":"english"}]},{"id":"saen","domain":"www.invisalign.com.sa","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"en-SA","language":"english","slugPrefix":"en/"}]},{"id":"ensi","domain":"www.invisalign.eu","locales":[{"id":"en-SI","language":"english"}]},{"id":"ensn","domain":"www.invisalignafrica.com","locales":[{"id":"en-SN","language":"english"}]},{"id":"entn","domain":"www.invisalignafrica.com","locales":[{"id":"en-TN","language":"english"}]},{"id":"entr","domain":"www.invisalign.eu","locales":[{"id":"en-TR","language":"english"}]},{"id":"enua","domain":"www.invisalign.eu","locales":[{"id":"en-UA","language":"english"}]},{"id":"enza","domain":"www.invisalignafrica.com","locales":[{"id":"en-ZA","language":"english"}]},{"id":"fi","domain":"www.invisalign.fi","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fi-FI","language":"finnish"}]},{"id":"frbe","domain":"www.invisalign.eu","locales":[{"id":"fr-BE","language":"french","slugPrefix":"fr/"}]},{"id":"chfr","domain":"www.invisalign.ch","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fr-CH","language":"french","slugPrefix":"fr/"}]},{"id":"frcm","domain":"www.invisalignafrica.com","locales":[{"id":"fr-CM","language":"french","slugPrefix":"fr/"}]},{"id":"frdz","domain":"www.invisalignafrica.com","locales":[{"id":"fr-DZ","language":"french","slugPrefix":"fr/"}]},{"id":"freg","domain":"www.invisalignafrica.com","locales":[{"id":"fr-EG","language":"french","slugPrefix":"fr/"}]},{"id":"fr","domain":"www.invisalign.fr","locales":[{"id":"fr","language":"french"}]},{"id":"frgh","domain":"www.invisalignafrica.com","locales":[{"id":"fr-GH","language":"french","slugPrefix":"fr/"}]},{"id":"frke","domain":"www.invisalignafrica.com","locales":[{"id":"fr-KE","language":"french","slugPrefix":"fr/"}]},{"id":"frli","domain":"www.invisalign.eu","locales":[{"id":"fr-LI","language":"french","slugPrefix":"fr/"}]},{"id":"frlr","domain":"www.invisalignafrica.com","locales":[{"id":"fr-LR","language":"french","slugPrefix":"fr/"}]},{"id":"frlu","domain":"www.invisalign.eu","locales":[{"id":"fr-LU","language":"french","slugPrefix":"fr/"}]},{"id":"ma","domain":"www.invisalignafrica.com","locales":[{"id":"fr-MA","language":"french","slugPrefix":"fr/"}]},{"id":"frmc","domain":"www.invisalign.fr","locales":[{"id":"fr-MC","language":"french"}]},{"id":"frmt","domain":"www.invisalign.eu","locales":[{"id":"fr-MT","language":"french","slugPrefix":"fr/"}]},{"id":"frmu","domain":"www.invisalignafrica.com","locales":[{"id":"fr-MU","language":"french","slugPrefix":"fr/"}]},{"id":"frnc","domain":"www.invisalign.fr","locales":[{"id":"fr-NC","language":"french"}]},{"id":"frng","domain":"www.invisalignafrica.com","locales":[{"id":"fr-NG","language":"french","slugPrefix":"fr/"}]},{"id":"frre","domain":"www.invisalignafrica.com","locales":[{"id":"fr-
1RE","language":"french","slugPrefix":"fr/"}]},{"id":"frsn","domain":"www.invisalignafrica.com","locales":[{"id":"fr-SN","language":"french","slugPrefix":"fr/"}]},{"id":"frtn","domain":"www.invisalignafrica.com","locales":[{"id":"fr-TN","language":"french","slugPrefix":"fr/"}]},{"id":"frza","domain":"www.invisalignafrica.com","locales":[{"id":"fr-ZA","language":"french","slugPrefix":"fr/"}]},{"id":"il","domain":"www.invisalign.co.il","gtmKey":"GTM-TLSSDS","locales":[{"id":"he-IL","language":"hebrew","direction":"rtl"}]},{"id":"chit","domain":"www.invisalign.ch","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"it-CH","language":"italian","slugPrefix":"it/"}]},{"id":"it","domain":"www.invisalign.it","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"it-IT","language":"italian"}]},{"id":"nlbe","domain":"www.invisalign.eu","locales":[{"id":"nl-BE","language":"english","slugPrefix":"nl/"}]},{"id":"nlli","domain":"www.invisalign.eu","locales":[{"id":"nl-LI","language":"english","slugPrefix":"nl/"}]},{"id":"nllu","domain":"www.invisalign.eu","locales":[{"id":"nl-LU","language":"english","slugPrefix":"nl/"}]},{"id":"nlmt","domain":"www.invisalign.eu","locales":[{"id":"nl-MT","language":"english","slugPrefix":"nl/"}]},{"id":"nl","domain":"www.invisalign.nl","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"nl-NL","language":"dutch"}]},{"id":"no","domain":"www.invisalign.no","locales":[{"id":"no-NO","language":"norwegian","defaultTrustArcLang":"no"}]},{"id":"pl","domain":"www.invisalign.pl","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"pl-PL","language":"polish"}]},{"id":"pt","domain":"www.invisalign.pt","gtmKey":"GTM-TLSSDS","gtmDomain":"gtm-analytics.invisalign.pt","gtmKey2":"GTM-WD249HM","incProfilePagesInSiteMap":true,"locales":[{"id":"pt-PT","language":"portuguese"}]},{"id":"ruge","domain":"www.invisalign.ru","locales":[{"id":"ru-GE","language":"russian"}]},{"id":"rukz","domain":"www.invisalign.ru","locales":[{"id":"ru-KZ","language":"russian"}]},{"id":"rumd","domain":"www.invisalign.ru","locales":[{"id":"ru-MD","language":"russian"}]},{"id":"ru","domain":"www.invisalign.ru","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"ru-RU","language":"russian"}]},{"id":"sk","domain":"www.invisalign.sk","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"sk-SK","language":"slovak"}]},{"id":"se","domain":"www.invisalign.se","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"sv-SE","language":"swedish"}]},{"id":"es","domain":"www.invisalign.es","locales":[{"id":"es-ES","language":"spanish"}]}],"staging":[{"id":"gb","domain":"gb-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-GB","language":"english"}]},{"id":"de","domain":"de-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"de","language":"german"}]},{"id":"fr","domain":"fr-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fr","language":"french"}]},{"id":"it","domain":"it-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"it-IT","language":"italian"}]},{"id":"gg","domain":"gb-staging-conweb.invisalign.hamburg","locales":[{"id":"en-GG","language":"english"}]},{"id":"gi","domain":"gb-staging-conweb.invisalign.hamburg","locales":[{"id":"en-GI","language":"english"}]},{"id":"eu","domain":"eu-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-EU","language":"english"}]},{"id":"eufr","domain":"eu-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"fr-EU","language":"french","slugPrefix":"fr/"}]},{"id":"ie","domain":"ie-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-IE","language":"english"}]},{"id":"ch","domain":"ch-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"de-CH","language":"german"}]},{"id":"chfr","domain":"ch-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fr-CH","language":"french","slugPrefix":"fr/"}]},{"id":"chit","domain":"ch-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"it-CH","language":"italian","
1slugPrefix":"it/"}]},{"id":"ae","domain":"ae-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-AE","language":"arabic","direction":"rtl"}]},{"id":"aeen","domain":"ae-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-AE","language":"english","slugPrefix":"en/"}]},{"id":"sa","domain":"sa-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-SA","language":"arabic","direction":"rtl"}]},{"id":"saen","domain":"sa-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-SA","language":"english","slugPrefix":"en/"}]},{"id":"kw","domain":"kw-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-KW","language":"arabic","direction":"rtl"}]},{"id":"kwen","domain":"kw-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-KW","language":"english","slugPrefix":"en/"}]},{"id":"bh","domain":"bh-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-BH","language":"arabic","direction":"rtl"}]},{"id":"bhen","domain":"bh-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-BH","language":"english","slugPrefix":"en/"}]},{"id":"qa","domain":"qa-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-QA","language":"arabic","direction":"rtl"}]},{"id":"qaen","domain":"qa-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-QA","language":"english","slugPrefix":"en/"}]},{"id":"dk","domain":"dk-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"da-DK","language":"danish"}]},{"id":"se","domain":"se-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"sv-SE","language":"swedish"}]},{"id":"no","domain":"no-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"nb-NO","language":"norwegian","defaultTrustArcLang":"no"}]},{"id":"fi","domain":"fi-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fi-FI","language":"finnish"}]},{"id":"cz","domain":"cz-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"cs-CZ","language":"czech"}]},{"id":"sk","domain":"sk-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"sk-SK","language":"slovak"}]},{"id":"pl","domain":"pl-staging-conweb.invisalign.hamburg","incProfilePagesInSiteMap":true,"gtmKey":"GTM-TLSSDS","locales":[{"id":"pl-PL","language":"polish"}]},{"id":"ma","domain":"ma-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"fr-MA","language":"french"}]},{"id":"pt","domain":"pt-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","gtmDomain":"gtm-analytics.invisalign.pt","incProfilePagesInSiteMap":true,"locales":[{"id":"pt-PT","language":"portuguese"}]},{"id":"nl","domain":"nl-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"nl-NL","language":"dutch"}]},{"id":"nleu","domain":"eu-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"nl-EU","language":"dutch","slugPrefix":"nl/"}]},{"id":"il","domain":"il-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"he-IL","language":"hebrew","direction":"rtl"}]},{"id":"om","domain":"om-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ar-OM","language":"arabic","direction":"rtl"}]},{"id":"omen","domain":"om-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-OM","language":"english","slugPrefix":"en/"}]},{"id":"ru","domain":"ru-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"ru-RU","language":"russian"}]},{"id":"gr","domain":"gr-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"el-GR","language":"greek"}]},{"id":"cy","domain":"cy-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"el-CY","language":"greek"}]},{"id":"euaf","domain":"af-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-AF","language":"english"}]},{"id":"nleu","domain":"eu-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"nl-EU","language":"dutch","slugPrefix":"nl/"}]},{"id":"fraf","domain":"af-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"fr-AF","language":"french","slugPrefix":"fr/"}]},{"id":"euar","domain":"af-staging-conweb.invisalign.hamburg","gtmKey":"GTM-TLSSDS","locales":[{"id":"ar-EU","language":"arabic","direction":"rtl","slugPrefix":"ar/"}]},{"id":"es","domain":"es-staging-conweb.invisalign.hamburg","locales":[{"id":"es-ES","language":"spanish"}]}],"test":[],"development":[{"id":"gb","domain":"ssss","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"en-GB","language":"english"}]},{"id":"de","domain":"de.invisalign.local","gtmKey":"GTM-TLSSDS","incProfilePagesInSiteMap":true,"locales":[{"id":"de","language":"german"}]},{"id":"pt","domain":"pt.invisalign.local","gtmKey":"GTM-TLSSDS","gtmDomain":"gtm-analytics.invisalign.pt","locales":[{"id":"pt-PT","language":"portuguese"}]},{"id":"euaf","domain":"af.invisalign.local","gtmKey":"GTM-TLSSDS","locales":[{"id":"en-AF","language":"english"}]},{"id":"fraf","domain":"af.invisalign.local","gtmKey":"GTM-TLSSDS","locales":[{"id":"fr-AF","language":"french","slugPrefix":"fr/"}]},{"id":"euar","domain":"af.invisalign.local","gtmKey":"GTM-TLSSDS","locales":[{"id":"ar-EU","language":"arabic","direction":"rtl","slugPrefix":"ar/"}]},{"id":"es","domain":"es.invisalign.local","locales":[{"id":"es-ES","language":"spanish"}]}]}'),e9=JSON.parse('{"production":[{"id":"us","domain":"www.invisalign.com","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"enus","domain":"invisalign.com","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"tsus","domain":"con-consumerweb-use-prd.herokuapp.com","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"ca","domain":"www.invisalign.ca","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"en-CA","language":"english","gtmKey":"GTM-5SC6ZBS"}]},{"id":"frca","domain":"www.invisalign.ca","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"fr-CA","language":"french","slugPrefix":"fr/","gtmKey":"GTM-5SC6ZBS"}]},{"id":"br","domain":"www.invisalign.com.br","optimizelyKey":"19751402987","locales":[{"id":"pt-BR","language":"portuguese","gtmKey":"GTM-N69PTCP"}]},{"id":"lat","domain":"www.invisalign.lat","gtmKey":"GTM-5WN9DTR","locales":[{"id":"es-LAT","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNDPGDB"}]},{"id":"cl","domain":"www.invisalign.lat","locales":[{"id":"es-CL","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ar","domain":"www.invisalign.lat","locales":[{"id":"es-AR","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"bo","domain":"www.invisalign.lat","locales":[{"id":"es-BO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"co","domain":"www.invisalign.lat","locales":[{"id":"es-CO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNM2P7S"}
1]},{"id":"mx","domain":"www.invisalign.com.mx","locales":[{"id":"es-MX","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNDPGDB"}]},{"id":"cr","domain":"www.invisalign.lat","locales":[{"id":"es-CR","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"do","domain":"www.invisalign.lat","locales":[{"id":"es-DO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ec","domain":"www.invisalign.lat","locales":[{"id":"es-EC","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"sv","domain":"www.invisalign.lat","locales":[{"id":"es-SV","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"gt","domain":"www.invisalign.lat","locales":[{"id":"es-GT","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"hn","domain":"www.invisalign.lat","locales":[{"id":"es-HN","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ni","domain":"www.invisalign.lat","locales":[{"id":"es-NI","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"pa","domain":"www.invisalign.lat","locales":[{"id":"es-PA","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"py","domain":"www.invisalign.lat","locales":[{"id":"es-PY","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"pe","domain":"www.invisalign.lat","locales":[{"id":"es-PE","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"uy","domain":"www.invisalign.lat","locales":[{"id":"es-UY","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ve","domain":"www.invisalign.lat","locales":[{"id":"es-VE","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]}],"staging":[{"id":"us","domain":"con-consumerweb-use-ppr.herokuapp.com","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"us1","domain":"con-consumerweb-use-qat.herokuapp.com","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"us2","domain":"us-staging.invisalign.hamburg","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"us3","domain":"us-staging-conweb.invisalign.hamburg","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"us4","domain":"con-consumerweb-use-qas.herokuapp.com","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"ca","domain":"ca-staging-conweb.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"en-CA","language":"english","gtmKey":"GTM-5SC6ZBS"}]},{"id":"frca","domain":"ca-staging-conweb.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"fr-CA","language":"french","slugPrefix":"fr/","gtmKey":"GTM-5SC6ZBS"}]},{"id":"ca2","domain":"ca-staging-conweb2.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"en-CA","language":"english","gtmKey":"GTM-5SC6ZBS"}]},{"id":"frca2","domain":"ca-staging-conweb2.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"fr-CA","language":"french","slugPrefix":"fr/","gtmKey":"GTM-5SC6ZBS"}]},{"id":"us3","domain":"ts.invisalign.com","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"br","domain":"br-staging-conweb.invisalign.hamburg","optimizelyKey":"19751402987","locales":[{"id":"pt-BR","language":"portuguese","gtmKey":"GTM-N69PTCP"}]},{"id":"br2","domain":"br-staging-conweb2.invisalign.hamburg","optimizelyKey":"19751402987","locales":[{"id":"pt-BR","language":"portuguese","gtmKey":"GTM-N69PTCP"}]},{"id":"lat","domain":"lat-staging-conweb.invisalign.hamburg","gtmKey":"GTM-5WN9DTR","locales":[{"id":"es-LAT","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNDPGDB"}]},{"id":"mx","domain":"mx-staging-conweb.invisalign.hamburg","locales":[{"id":"es-MX","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNDPGDB"}]},{"id":"cl","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-CL","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ar","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-AR","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"bo","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-BO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"co","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-CO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNM2P7S"}
1]},{"id":"cr","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-CR","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"do","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-DO","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ec","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-EC","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"sv","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-SV","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"gt","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-GT","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"hn","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-HN","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ni","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-NI","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"pa","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-PA","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"py","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-PY","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"pe","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-PE","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"uy","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-UY","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]},{"id":"ve","domain":"lat-staging-conweb.invisalign.hamburg","locales":[{"id":"es-VE","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MMLPZV6"}]}],"test":[{"id":"us-qas","domain":"con-consumerweb-use-qas.herokuapp.com","gtmKey":"GTM-57QLB7X","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"ca","domain":"ca-test-conweb.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"en-CA","language":"english","gtmKey":"GTM-5SC6ZBS"}]},{"id":"frca","domain":"ca-test-conweb.invisalign.hamburg","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"fr-CA","language":"french","slugPrefix":"fr/","gtmKey":"GTM-5SC6ZBS"}]},{"id":"br","domain":"br-test-conweb.invisalign.hamburg","optimizelyKey":"19751402987","locales":[{"id":"pt-BR","language":"portuguese","gtmKey":"GTM-N69PTCP"}]}],"development":[{"id":"us","domain":"us.invisalign.local","locales":[{"id":"en-US","language":"english","gtmKey":"GTM-57QLB7X","optimizelyKey":"337759171"}]},{"id":"ca","domain":"ca.invisalign.local","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"en-CA","language":"english","gtmKey":"GTM-5SC6ZBS"}]},{"id":"frca","domain":"ca.invisalign.local","gtmKey":"GTM-5SC6ZBS","optimizelyKey":"15126520503","locales":[{"id":"fr-CA","language":"french","slugPrefix":"fr/"}]},{"id":"br","domain":"br.invisalign.local","optimizelyKey":"19751402987","locales":[{"id":"pt-BR","language":"portuguese","gtmKey":"GTM-N69PTCP"}]},{"id":"lat","domain":"lat.invisalign.local","gtmKey":"GTM-5WN9DTR","locales":[{"id":"es-LAT","language":"spanish","gtmKey":"GTM-5WN9DTR","gtmKey2":"GTM-MNDPGDB"}]},{"id":"cl","domain":"lat.invisalign.local","locales":[{"id":"es-CL","language":"spanish","gtmKey":"GTM-MMLPZV6"}]},{"id":"ar","domain":"lat.invisalign.local","locales":[{"id":"es-AR","language":"spanish","gtmKey":""}]},{"id":"bo","domain":"lat.invisalign.local","locales":[{"id":"es-BO","language":"spanish","gtmKey":""}]},{"id":"co","domain":"lat.invisalign.local","locales":[{"id":"es-CO","language":"spanish","gtmKey":""}]},{"id":"cr","domain":"lat.invisalign.local","locales":[{"id":"es-CR","language":"spanish","gtmKey":""}]},{"id":"do","domain":"lat.invisalign.local","locales":[{"id":"es-DO","language":"spanish","gtmKey":""}]},{"id":"ec","domain":"lat.invisalign.local","locales":[{"id":"es-EC","language":"spanish","gtmKey":""}]},{"id":"sv","domain":"lat.invisalign.local","locales":[{"id":"es-SV","language":"spanish","gtmKey":""}]},{"id":"gt","domain":"lat.invisalign.local","locales":[{"id":"es-GT","language":"spanish","gtmKey":""}]},{"id":"hn","domain":"lat.invisalign.local","locales":[{"id":"es-HN","language":"spanish","gtmKey":""}]},{"id":"mx","domain":"mx.invisalign.local","locales":[{"id":"es-MX","language":"spanish","gtmKey":""}]},{"id":"ni","domain":"lat.invisalign.local","locales":[{"id":"es-NI","language":"spanish","gtmKey":""}]},{"id":"pa","domain":"lat.invisalign.local","locales":[{"id":"es-PA","language":"spanish","gtmKey":""}]},{"id":"py","domain":"lat.invisalign.local","locales":[{"id":"es-PY","language":"spanish","gtmKey":""}]},{"id":"pe","domain":"lat.invisalign.local","locales":[{"id":"es-PE","language":"spanish","gtmKey":""}]},{"id":"uy","domain":"lat.invisalign.local","locales":[{"id":"es-UY","language":"spanish","gtmKey":""}]},{"id":"ve","domain":"lat.invisalign.local","locales":[{"id":"es-VE","language":"spanish","gtmKey":""}]}]}'),e4=JSON.parse('{"production":[{"id":"au","domain":"www.invisalign.com.au","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]},{"id":"au_prod","domain":"con-consumerweb-apact-prd-2e53d07da1e2.herokuapp.com","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]}
1,{"id":"mau","domain":"m.invisalign.com.au","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]},{"id":"nz","domain":"www.invisalign.co.nz","locales":[{"id":"en-NZ","gtmKey":"GTM-KGWPH9"}]},{"id":"sg","domain":"www.invisalign.com.sg","locales":[{"id":"en-SG","language":"english","gtmKey":"GTM-T3GL85"}]},{"id":"id","domain":"www.invisalign.co.id","locales":[{"id":"id-ID","language":"bahasa","gtmKey":"GTM-MPHSCN"},{"id":"en-ID","language":"english","slugPrefix":"en/","gtmKey":"GTM-MPHSCN"}]},{"id":"vn","domain":"www.invisalign.com.vn","locales":[{"id":"vi-VN","language":"Tiếng Viá»t","gtmKey":"GTM-PS569QC"},{"id":"en-VN","language":"english","slugPrefix":"en/","gtmKey":"GTM-PS569QC"}]},{"id":"hk","domain":"www.invisalign.com.hk","locales":[{"id":"zh-Hant-HK","language":"chinese","gtmKey":"GTM-NVKHDT","defaultTrustArcLang":"zh-hk","trustArcCountry":"hk"},{"id":"en-HK","language":"english","slugPrefix":"en/","gtmKey":"GTM-NVKHDT"}]},{"id":"cn","domain":"www.invisalign.com.cn","locales":[{"id":"zh-Hans-CN","language":"chinese","gtmKey":"GTM-PM2ZGX","trustArcCountry":"cn"},{"id":"zh","language":"english","slugPrefix":"en/","gtmKey":"GTM-PM2ZGX"}]},{"id":"tw","domain":"www.invisalign.com.tw","locales":[{"id":"zh-Hant-TW","gtmKey":"GTM-TJ52W8","defaultTrustArcLang":"zh-tw","trustArcCountry":"tw"}]},{"id":"jpcon","domain":"www.invisalign.co.jp","locales":[{"id":"ja-JP","slugPrefix":"consumer/","gtmKey":"GTM-PD479NK"}]},{"id":"jp","domain":"www.invisalign.co.jp","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK"}]},{"id":"in","domain":"www.invisalign.in","locales":[{"id":"en-IN","gtmKey":"GTM-PLWV7K"}]},{"id":"my","domain":"www.invisalign.com.my","locales":[{"id":"ms-MY","gtmKey":"GTM-M33B2T"}]},{"id":"ph","domain":"www.invisalign.com.ph","locales":[{"id":"en-PH","gtmKey":"GTM-K6RGMHK"}]},{"id":"kr","domain":"www.invisalign.co.kr","locales":[{"id":"ko-KR","gtmKey":"GTM-M2JZXK"}]},{"id":"th","domain":"www.invisalign.co.th","locales":[{"id":"th-TH","language":"à¹à¸à¸¢","gtmKey":"GTM-MHJHRS"},{"id":"en-TH","language":"english","slugPrefix":"en/","gtmKey":"GTM-MHJHRS"}]},{"id":"auprd","domain":"www-prd.invisalign.com.au","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]},{"id":"nzprd","domain":"www-prd.invisalign.co.nz","locales":[{"id":"en-NZ","language":"english","gtmKey":"GTM-KGWPH9"}]},{"id":"sgprd","domain":"www-prd.invisalign.com.sg","locales":[{"id":"en-SG","language":"english","gtmKey":"GTM-T3GL85"}]},{"id":"inprd","domain":"www-prd.invisalign.in","locales":[{"id":"en-IN","language":"english","gtmKey":"GTM-PLWV7K"}]},{"id":"thprd","domain":"www-prd.invisalign.co.th","locales":[{"id":"th-TH","language":"à¹à¸à¸¢","gtmKey":"GTM-MHJHRS"},{"id":"en-TH","language":"english","slugPrefix":"en/","gtmKey":"GTM-MHJHRS"}]},{"id":"myprd","domain":"www-prd.invisalign.com.my","locales":[{"id":"ms-MY","gtmKey":"GTM-M33B2T"}]},{"id":"idprd","domain":"www-prd.invisalign.co.id","locales":[{"id":"id-ID","language":"bahasa","gtmKey":"GTM-MPHSCN"},{"id":"en-ID","language":"english","slugPrefix":"en/","gtmKey":"GTM-MPHSCN"}]},{"id":"vnprd","domain":"www-prd.invisalign.com.vn","locales":[{"id":"vi-VN","language":"Tiếng Viá»t","gtmKey":"GTM-PS569QC"},{"id":"en-VN","language":"english","slugPrefix":"en/","gtmKey":"GTM-PS569QC"}]},{"id":"hkprd","domain":"www-prd.invisalign.com.hk","locales":[{"id":"zh-Hant-HK","language":"chinese","gtmKey":"GTM-NVKHDT","defaultTrustArcLang":"zh-hk","trustArcCountry":"hk"},{"id":"en-HK","language":"english","slugPrefix":"en/","gtmKey":"GTM-NVKHDT"}]},{"id":"jpconprd","domain":"jp-prd-conweb.invisalign.hamburg","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK","slugPrefix":"consumer/"}]},{"id":"cnprd","domain":"www-prd.invisalign.com.cn","locales":[{"id":"zh-Hans-CN","language":"chinese","gtmKey":"GTM-PM2ZGX","trustArcCountry":"cn"},{"id":"zh","language":"english","slugPrefix":"en/","gtmKey":"GTM-PM2ZGX"}]},{"id":"twprd","domain":"www-prd.invisalign.com.tw","locales":[{"id":"zh-Hant-TW","gtmKey":"GTM-TJ52W8","defaultTrustArcLang":"zh-tw","trustArcCountry":"tw"}]},{"id":"jpprd","domain":"www-prd.invisalign.co.jp","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK"}]},{"id":"krprd","domain":"www-prd.invisalign.co.kr","locales":[{"id":"ko-KR","gtmKey":"GTM-M2JZXK"}]}],"staging":[{"id":"au","domain":"au-staging-conweb.invisalign.hamburg","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]},{"id":"nz","domain":"nz-staging-conweb.invisalign.hamburg","locales":[{"id":"en-NZ","language":"english","gtmKey":"GTM-KGWPH9"}]},{"id":"in","domain":"in-staging-conweb.invisalign.hamburg","locales":[{"id":"en-IN","gtmKey":"GTM-PLWV7K"}]},{"id":"in","domain":"in-staging-ts.invisalign.hamburg","locales":[{"id":"en-IN","gtmKey":"GTM-PLWV7K"}]},{"id":"sg","domain":"sg-staging-conweb.invisalign.hamburg","locales":[{"id":"en-SG","language":"english","gtmKey":"GTM-T3GL85"}]},{"id":"th","domain":"th-staging-conweb.invisalign.hamburg","locales":[{"id":"th-TH","language":"à¹à¸à¸¢","gtmKey":"GTM-MHJHRS"},{"id":"en-TH","language":"english","slugPrefix":"en/","gtmKey":"GTM-MHJHRS"}]},{"id":"my","domain":"my-staging-conweb.invisalign.hamburg","locales":[{"id":"ms-MY","gtmKey":"GTM-M33B2T"}]},{"id":"id","domain":"id-staging-conweb.invisalign.hamburg","locales":[{"id":"id-ID","language":"bahasa","gtmKey":"GTM-MPHSCN"},{"id":"en-ID","language":"english","slugPrefix":"en/","gtmKey":"GTM-MPHSCN"}]},{"id":"vn","domain":"vn-staging-conweb.invisalign.hamburg","locales":[{"id":"vi-VN","language":"Tiếng Viá»t","gtmKey":"GTM-PS569QC"},{"id":"en-VN","language":"english","slugPrefix":"en/","gtmKey":"GTM-PS569QC"}]},{"id":"vn","domain":"www-prd.invisalign.com.vn","locales":[{"id":"vi-VN","language":"Tiếng Viá»t","gtmKey":"GTM-PS569QC"},{"id":"en-VN","language":"english","slugPrefix":"en/","gtmKey":"GTM-PS569QC"}]},{"id":"hk","domain":"hk-staging-conweb.invisalign.hamburg","locales":[{"id":"zh-Hant-HK","language":"chinese","gtmKey":"GTM-NVKHDT","defaultTrustArcLang":"zh-hk","trustArcCountry":"hk"},{"id":"en-HK","language":"english","slugPrefix":"en/","gtmKey":"GTM-NVKHDT"}]},{"id":"cn","domain":"cn-staging-conweb.invisalign.hamburg","locales":[{"id":"zh-Hans-CN","language":"chinese","gtmKey":"GTM-PM2ZGX","trustArcCountry":"cn"},{"id":"zh","language":"english","slugPrefix":"en/","gtmKey":"GTM-PM2ZGX"}]},{"id":"tw","domain":"tw-staging-conweb.invisalign.hamburg","locales":[{"id":"zh-Hant-TW","gtmKey":"GTM-TJ52W8","defaultTrustArcLang":"zh-tw","trustArcCountry":"tw"}]},{"id":"jpcon","domain":"jp-staging-conweb.invisalign.hamburg","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK","slugPrefix":"consumer/"}
1]},{"id":"jpconprd","domain":"jp-preprd-conweb.invisalign.hamburg","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK","slugPrefix":"consumer/"}]},{"id":"jp","domain":"jp-staging-conweb.invisalign.hamburg","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK"}]},{"id":"jp","domain":"www.ppr.invisalign.co.jp","locales":[{"id":"ja-JP","gtmKey":"GTM-PD479NK","slugPrefix":"consumer/"}]},{"id":"ph","domain":"ph-staging-conweb.invisalign.hamburg","locales":[{"id":"en-PH","gtmKey":"GTM-K6RGMHK"}]},{"id":"kr","domain":"kr-staging-conweb.invisalign.hamburg","locales":[{"id":"ko-KR","gtmKey":"GTM-M2JZXK"}]},{"id":"twstg","domain":"www-prd.invisalign.com.tw","locales":[{"id":"zh-Hant-TW","gtmKey":"GTM-TJ52W8","defaultTrustArcLang":"zh-tw","trustArcCountry":"tw"}]}],"test":[],"development":[{"id":"au","domain":"localhost","locales":[{"id":"en-AU","language":"english","gtmKey":"GTM-T4P8NF"}]}]}'),e6=i(95704).env.NODE_ENV_INTERNAL||"production",e7=[e4,e9,e3].map(e=>e[e6]).reduce((e,t)=>[...e,...t],[]);var e8=i(59962),te=i.n(e8),tt=i(93005);let ti=(0,s.T)(te());var ta=i(41408),tl=i(11259),tn=i(95704);let ts=(0,n.memo)(e=>{let{index:t,depth:i,adminMode:l,item:n,pageProps:s,isFirstDescendant:r}=e;return(0,a.jsx)(tl.default,{index:t,depth:i,pageProps:s,adminMode:l,isFirstDescendant:r,modules:n.fields.modules,simulationSvcUrl:tn.env.SMILEVIEW_SIMULATION_SVC||void 0,cableSvcUrl:tn.env.SMILEVIEW_CABLE_SVC||void 0,myInvisalignUrl:tn.env.MYINVISALIGN_URL||void 0})});var tr=i(96392);let to=(0,n.memo)(e=>{let{index:t,depth:i,item:l,pageProps:n}=e,{eyebrow:s,headline:r,cases:o,firstEntry:d}=l.fields;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(c.A,{eyebrow:s,headline:r,index:t,depth:i,textStyling:{headLineStyle:{size:"medium",alignment:"Center"},eyeBrowStyle:{alignment:"Center"}},firstEntry:!!d,pageProps:n}),(0,a.jsx)(tr.default,{items:o,index:t,depth:i,firstEntry:!!d})]})});var td=i(19290),tc=i(79492),tu=i(2047),tm=i(71738),tg=i(95704);let th=(0,n.memo)(e=>{let{index:t,depth:i,adminMode:l,item:n,pageProps:s,isFirstDescendant:r}=e;return(0,a.jsx)(tm.default,{index:t,depth:i,pageProps:s,adminMode:l,isFirstDescendant:r,smileViewForm:n.fields.smileViewForm,simulationSvcUrl:tg.env.SMILEVIEW_SIMULATION_SVC||null,cableSvcUrl:tg.env.SMILEVIEW_CABLE_SVC||null,myInvisalignUrl:tg.env.MYINVISALIGN_URL||null})});var tp=i(48467);let t_={content:{_default:e=>(0,a.jsx)(a.Fragment,{}),Hero:_,"Text+Media":y,"Line Divider":function(e){let{}=e;return(0,a.jsx)("hr",{className:"line-divider"})},Confetti:e=>{let{item:t,depth:i,index:l,pageProps:n}=e,{firstEntry:d,custom:u={},image:m=[],video:g=[],textStyling:h,...p}=t.fields,{disableConfetti:_=!1}=u,f=m&&m[0];return p.eyebrow||p.headline||p.bodyCopy||p.buttons?(0,a.jsxs)("div",{className:s.A.getEntryClassesStrFromModuleCss(t,ep(),"confetti-module root container-fluid"),children:[(0,a.jsxs)(r.fI,{className:e_("confetti-row"),children:[(0,a.jsx)(r.fv,{md:12,className:ep()["content-column"],children:(0,a.jsx)("div",{className:e_("content"),children:(0,a.jsx)(c.A,{depth:i,index:l,firstEntry:!!d,textStyling:ef,disableForceHeadlineStyle:!0,pageProps:n,...p})})}),(0,a.jsx)(r.fv,{md:12,children:f&&(0,a.jsx)("div",{className:e_("image-sec"),children:(0,a.jsx)(o.default,{image:f,alt:"",style:{width:"100%"}})})})]}),!_&&(0,a.jsx)(eg.default,{})]}):_?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(eg.default,{})},GeoModal:e=>{let{pageProps:t}=e,{geoData:i,site:l,slug:n,sharedTranslation:s}=t||{};return(0,a.jsx)(e2.default,{site:l,siteConfigs:e7,geoData:i,slug:n,translation:s})},AssessmentModal:e=>{let{item:t}=e;if(!(null==t?void 0:t.fields))return null;let{eyebrow:i,headline:l,bodyCopy:n,image:s,buttons:r,buttonAlignment:o,custom:d={},imageAlignment:c}=t.fields;return(0,a.jsx)(tp.default,{...d,eyebrow:i,headline:l,bodyCopy:n,image:s,buttons:r,buttonAlignment:o,imageAlignment:c})},"Mobile accordion":e=>{let{item:t,depth:i,index:l,pageProps:n}=e,{firstEntry:s,image:r=[],custom:o={},...d}=t.fields,{continents:c=[]}=o,u=null==n?void 0:n.env.DISABLE_ALLOW_DOMAIN_ACCESS;return(0,a.jsx)(ta.default,{index:l,depth:i,images:r,continents:c,disableAllowDomainAccess:u,...d})}},moduleTextOnly:{_default:b.A},faqGroup:{_default:e=>{let{item:t,index:i,depth:n,pageProps:s}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(l.default,{...t.fields,index:i,depth:n,sharedAssets:null==s?void 0:s.sharedAssets,translations:{view_all:null==s?void 0:s.sharedTranslation.view_all,view_less:null==s?void 0:s.sharedTranslation.view_less,view_more:null==s?void 0:s.sharedTranslation.view_more}})})}},threeUp:{_default:function(e){var t,i;let{item:l,index:n,depth:s,firstEntry:r,pageProps:o}=e,{cards:d,disableSliderMobile:u=!1,buttons:m,hideStepNumber:g=!0,theme:h="White background",subBodyCopy:p,childBodyCopy:_,...f}=(null==l?void 0:l.fields)||{},v=p&&(0,N.o7)({tagsStyle:f.textStyling,cx:P}),{isOldIOS:x}=o||{},y={index:n,depth:s,firstEntry:r||0===n},b={...f,textStyling:f.textStyling||{eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"},darkBg:"Blue background"===h}},A="three-up-btn-ref".concat(l.id),L=!u&&!x,k=m&&(null==(i=m[0])||null==(t=i.fields)?void 0:t.url)||void 0;if(!(null==d?void 0:d.length))return(0,a.jsx)(a.Fragment,{});let M=()=>null==d?void 0:d.map((e,t)=>(0,a.jsx)(j.A,{step:"0".concat(t+1),hideStepNumber:g,contentType:e.contentType,stepsUrl:k,...e.fields,...y},"".concat((null==o?void 0:o.slug)||"preview","-").concat(t,"-three-up-card")));return(0,a.jsxs)("div",{className:P(T()["three-up-module"],{"with-btn":!!(null==m?void 0:m.length)&&L},{"without-slider":!L},{"dark-background":"Blue background"===h},{"light-grey-background":"Light grey background"===h}),children:[(0,a.jsx)("div",{className:P("text-section",{"background-blue":"Blue background"===h}),children:(0,a.jsx)(c.A,{...b,...y,pageProps:o})}),(0,a.jsxs)("div",{className:P("slides-wrapper"),children:[L&&(0,a.jsx)(w.default,{className:"hide-on-desktop",indicatorPosition:"bottom (with page count)",btnWrapperId:A,type:"three up",children:M()}),(0,a.jsx)("div",{className:P(T()["threeup-card-list"],{"hide-on-mobile":L}),children:M()}),!!(null==m?void 0:m.length)&&(0,a.jsx)("div",{id:A,className:P(T()["three-up-button-wrapper"]),children:m.map(e=>{let{fields:t,id:i}=e;return(0,a.jsx)(S.default,{...t},i)})})]}),(0,a.jsxs)("p",{className:P("three-up-child-body "),children:[_&&(0,C.i)(_,v),p&&(0,C.i)(p,v)]})]})}},tickerTape:{_default:e=>{let{item:t,index:i,depth:l,firstEntry:n,pageProps:s}=e,{isOldIOS:r}=s||{},o={index:i,depth:l,firstEntry:n},{tickers:d,background:c="light blue",indicatorPosition:u="sidew
1ays",hideImages:m=!1}=t.fields||{};if(!(null==d?void 0:d.length)||r)return(0,a.jsx)(a.Fragment,{});let g=c.split(" ").join("-");return(0,a.jsx)("div",{className:"ticker-tape-ref ticker-tape ".concat(g),children:(0,a.jsx)(w.default,{indicatorPosition:u,background:L.Z7[c],type:"ticker tape",children:d.map(e=>(0,a.jsx)(R,{background:c,hideImages:m,...e.fields,...o},e.id))})})}},modulePopcorn:{_default:e=>{var t,i;let{item:l,index:n,depth:s,firstEntry:d,pageProps:u}=e,{popcorns:m=[],image:g,...h}=l.fields||{};return(0,a.jsx)("div",{className:K("popcorn-module","container-fluid"),children:(0,a.jsxs)(r.fI,{className:K("popcorn-module-row","container-inner"),children:[(0,a.jsx)(r.fv,{md:6,className:F()["content-column"],children:(0,a.jsx)("div",{className:F().content,children:(0,a.jsx)(c.A,{...h,index:n,depth:s,firstEntry:d||0===n,pageProps:u,textStyling:{headLineStyle:{size:"medium"},darkBg:!0}})})}),(0,a.jsxs)(r.fv,{md:6,className:F()["image-column"],children:[(0,a.jsx)("div",{className:F()["aligner-wrap"],style:{height:Number(null==g||null==(t=g.fields.file.details.image)?void 0:t.height)+20},children:(0,a.jsx)(o.default,{image:g,className:F()["aligner-case"],style:{maxHeight:Number(null==g||null==(i=g.fields.file.details.image)?void 0:i.height)}})}),m.map((e,t)=>{let{image:i}=e.fields;return(0,a.jsx)(o.default,{image:i,className:K("popcorn","popcorn-".concat(t+1))},t)})]})]})})}},innovation:{_default:e=>{let{item:t,index:i,depth:l}=e;return(0,a.jsx)(G.default,{...t.fields,index:i,depth:l})}},socialProof:{_default:e=>{let{item:t,index:i,depth:l,pageProps:n}=e,{theme:r="White background",firstEntry:o,buttons:d,socialProofs:u,...m}=t.fields,g={eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"},darkBg:"Blue background"===r};return(0,a.jsxs)("div",{className:s.A.getEntryClassesStrFromModuleCss(t,V(),"social-proofs-module root container-fluid",{"background-blue":"Blue background"===r}),children:[(0,a.jsx)(c.A,{firstEntry:!!o,textStyling:g,pageProps:n,...m}),u&&(0,a.jsx)(H.default,{sliderItem:u}),(0,a.jsx)(c.A,{depth:l,index:i,textStyling:g,buttons:d,pageProps:n})]})}},form:{_default:e=>{let{item:t,index:i,depth:l,pageProps:n,adminMode:s,isFirstDescendant:r}=e,{firstEntry:o}=t.fields;return(0,a.jsx)(q.default,{...t.fields,index:i,depth:l,pageProps:n,adminMode:s,isFirstDescendant:r,firstEntry:o})},Request_Appointment:ed,Smile_Quiz:ew,Heartland_Request_Appointment:ed},moduleSocialProofBeforeAfter:{_default:Q},doctorLocator:{_default:e=>{var t,i,l,n,d;let{item:u,index:m,depth:g,pageProps:p,adminMode:_,isFirstDescendant:f}=e,{image:v,template:x="Default",theme:y="White background",firstEntry:b,imagePosition:w="left",cityEnable:j,countryData:S,translation:A,queryParams:T,fadbaseUrl:N,hideAgeSelection:C=!1,hideFadZipSection:P=!1,hideFad:L,buttonAlignment:k,defaultRadioSelection:M,anchor:I,searchResultConfigs:E,...R}=u.fields,{doctorLocatorUrl:D=N,doctorProfileUrl:F}=E||{},K=(null==E?void 0:E.country)||(null==p?void 0:p.localeId.split("-")[1]);D||(D=(null==p||null==(l=p.labelMap)?void 0:l.doctorLocatorBaseUrl)||"/find-a-doctor/results");let G=v&&v[0],H=null==p?void 0:p.slug,B={GOOGLE_MAP_API_URL:null==p?void 0:p.env.GOOGLE_MAP_API_URL,REACT_APP_GOOGLE_KEY:null==p?void 0:p.env.REACT_APP_GOOGLE_KEY},V=null==p?void 0:p.urlParams,q=(null==p?void 0:p.localeId)||"en-US",z=null==p?void 0:p.geoData,U=null==p?void 0:p.sharedTranslation,O={...null==A?void 0:A.translation,...U},W=V&&(V.zip||V.lat&&V.lng||V.area&&V.district||V.address||V.searchType),Q=V&&V.profile,X=null==H?void 0:H.substring((null==H?void 0:H.lastIndexOf("/"))+1);return X&&(null==p||null==(d=p.labelMap)||null==(n=d.cityRoots)||n.includes(X)),(0,a.jsx)(a.Fragment,{children:W||Q?(0,a.jsx)("div",{className:ee("container-fluid"),children:(0,a.jsx)(r.fI,{children:(0,a.jsx)(r.fv,{xs:12,children:(0,a.jsx)(Y.default,{pageProps:p,adminMode:_,isFirstDescendant:f,...u.fields})})})}):(0,a.jsx)("div",{className:ee({lightGrayBg:"Light grey background"===y},{centerMode:"Center aligned"===x}),children:(0,a.jsx)("div",{className:s.A.getEntryClassesStrFromModuleCss(u,$(),"doctor-locator-module root container".concat("Without padding"===x?"-fluid":"-inner"),{"no-padding":"Without padding"===x}),children:(0,a.jsxs)(r.fI,{className:ee("doctor-locator-module-row",{["row-".concat(w)]:!!w,"column-reverse":"Center aligned"===x,"column-reverse-mobile":"Without padding"===x}),children:[(0,a.jsxs)(r.fv,{className:ee({"div-default":"Default"===x}),md:"Center aligned"===x?12:6,children:[G&&(0,a.jsx)("div",{className:ee("image-sec",{"template-default":"Default"===x}),children:"replace-map-image"===I?(0,a.jsx)(h(),{href:D&&"".concat(D,"?city=").concat(X),children:(0,a.jsx)(o.default,{image:G,alt:"",style:{width:"100%"}})}):(0,a.jsx)(o.default,{image:G,alt:"",style:{width:"100%"}})}),(0,a.jsx)(Z.default,{className:ee("hide-on-desktop",{"hide-on-mobile":"Default"!==x}),localeId:q,useLocParam:!1,fadbaseUrl:D,slug:H,sharedAssets:null==p?void 0:p.sharedAssets,defaultRadioSelection:M,translation:O,hideAgeSelection:C||"Center aligned"===x,hideFadZipSection:P||"Center aligned"===x,hideFad:L,inlineMode:"Center aligned"===x,id:J.A.generateRandom("xxxxxxxx"),geoData:z,urlParam
1s:V,defaultQueryParams:null==T?void 0:T.queryParams,cityEnable:j,cities:(null==p||null==(t=p.labelMap)?void 0:t.cityRoots)||"",labelMap:null==p?void 0:p.labelMap,env:B,country:K})]}),(0,a.jsx)(r.fv,{md:"Center aligned"===x?12:6,className:$()["content-column"],children:(0,a.jsxs)("div",{className:ee("content"),children:[(0,a.jsx)(c.A,{firstEntry:!!b,textStyling:{eyeBrowStyle:{alignment:"Center aligned"===x?"Center":"Left"},headLineStyle:{size:"medium",alignment:"Center aligned"===x?"Center":"Left"},bodyStyle:{alignment:"Center aligned"===x?"Center":"Left"}},buttonAlignment:k,pageProps:p,...R}),(0,a.jsx)(Z.default,{className:ee({"hide-on-mobile":"Default"===x}),localeId:q,useLocParam:!1,fadbaseUrl:D,slug:H,sharedAssets:null==p?void 0:p.sharedAssets,translation:O,defaultRadioSelection:M,hideAgeSelection:C||"Center aligned"===x,hideFadZipSection:P||"Center aligned"===x,hideFad:L,inlineMode:"Center aligned"===x,id:J.A.generateRandom("xxxxxxx"),geoData:z,urlParams:V,defaultQueryParams:null==T?void 0:T.queryParams,cityEnable:j,cities:(null==p||null==(i=p.labelMap)?void 0:i.cityRoots)||"",env:B,labelMap:null==p?void 0:p.labelMap})]})})]})})})})}},comparisonChart:{_default:e=>{let{item:t,index:i,depth:l,pageProps:n}=e,{layout:o="1:1 Comparison",custom:d,firstEntry:u,buttons:m,blueTickEnble:g=!1,...h}=t.fields,{tableHead1:p,tableHead2:_,tableHead3:f,featuresMulti:v,featuresSingle:x,featuresMultiMerge:y}=d||{},{sharedAssets:b}=n||{},w="1:2 Comparison"===o,j="Cost Table"===o,S=j?y:w?v:x,A={eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:"Center"},bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"}},T=(0,N.o7)({tagsStyle:A,cx:ea}),P=e=>{let t=b&&b["tickXL".concat(e)].url||"https://images.ctfassets.net/vh25xg5i1h5l/44Ewp08wWIMdo5qDx8T7GT/2a9edb655c6912eb1ede76b937352902/tickXL-gray.svg";return(0,a.jsx)("img",{className:ea("tick"),src:t,title:"tick ".concat(e),alt:"tick ".concat(e)})};return(0,a.jsxs)("div",{className:s.A.getEntryClassesStrFromModuleCss(t,ei(),"comparison-chart-module root container-inner"),children:[(0,a.jsx)(r.fI,{children:(0,a.jsx)(r.fv,{md:12,children:(0,a.jsx)(c.A,{firstEntry:!!u,textStyling:A,pageProps:n,...h})})}),(0,a.jsx)(r.fI,{children:(0,a.jsx)(r.fv,{md:12,children:(0,a.jsxs)("table",{className:ea({multiColumn:w,multiColumnMerge:j}),children:[(0,a.jsx)("thead",{className:j?ea("blue-background"):"",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:j?ea("hide-merge-column-mobile"):ea("column1"),children:(0,a.jsx)("span",{className:ea("nodisplay"),children:"blank"})}),(0,a.jsx)("th",{children:p&&(0,C.i)(p,T)}),(0,a.jsx)("th",{children:_&&(0,C.i)(_,T)}),w&&(0,a.jsx)("th",{children:f&&(0,C.i)(f,T)}),j&&(0,a.jsx)("th",{children:f&&(0,C.i)(f,T)})]})}),S&&S.map((e,t)=>{let i=(0,N.NM)({tagsStyle:A,cx:ea});return j?(0,a.jsxs)("tbody",{children:[(0,a.jsx)("tr",{className:ea("feature-mobile"),children:(0,a.jsx)("td",{className:j&&3===t?ea("hide-merge-column-mobile"):"",colSpan:4,children:e.name&&(0,C.i)(e.name,i)})}),(0,a.jsxs)("tr",{className:j&&3===t?ea("hide-merge-column-mobile"):"",children:[(0,a.jsx)("td",{className:j?ea("hide-merge-column-mobile"):ea("column1"),children:e.name&&(0,C.i)(e.name,i)}),(0,a.jsx)("td",{colSpan:j&&3===t?2:void 0,children:e.productName1&&(0,C.i)(e.productName1)}),(0,a.jsx)("td",{className:j&&3===t?ea("column-merge"):"",children:e.productName2&&(0,C.i)(e.productName2)}),(0,a.jsx)("td",{children:e.productName3&&(0,C.i)(e.productName3)})]})]},t):(0,a.jsxs)("tbody",{children:[(0,a.jsx)("tr",{className:ea("feature-mobile"),children:(0,a.jsx)("td",{colSpan:3,children:e.name&&(0,C.i)(e.name,i)})}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:ea("column1"),children:e.name&&(0,C.i)(e.name,i)}),(0,a.jsx)("td",{children:e.productInvisalign?P("Blue"):""}),!g&&(0,a.jsx)("td",{children:e.product1&&!g?P("Gray"):""}),g&&(0,a.jsx)("td",{children:e.product1&&g?P("Blue"):""}),w&&(0,a.jsx)("td",{children:e.product2?P("Gray"):""})]})]},t)})]})})}),m&&m.length&&(0,a.jsx)(r.fI,{className:ea("button-sec"),children:(0,a.jsx)(r.fv,{md:12,children:(0,a.jsx)(c.A,{depth:l,index:i,firstEntry:!!u,textStyling:A,buttons:m,pageProps:n})})})]})}}
1,moduleHeroWithBackground:{_default:e=>{let{item:t,pageProps:i}=e,{firstEntry:l,rightImage:n,leftImage:s,custom:r,...d}=t.fields,{theme:u,alignment:m,source:g}=r||{},h={darkBg:"Blue background"===u,gradientBg:"Blue gradient background"===u,bodyStyle:{alignment:"Center"},buttonStyle:{alignment:"Center"},eyeBrowStyle:{alignment:"Center"},headLineStyle:{size:"medium",alignment:m||"Center"}},p={textStyling:h,...d};return(0,a.jsx)("div",{className:"".concat(em("heroBgContainer")," heroWithBackground-ref"),children:(0,a.jsxs)("div",{className:em("textContainer",{gradientBg:null==h?void 0:h.gradientBg,darkBg:null==h?void 0:h.darkBg}),children:[(0,a.jsx)("div",{className:em("left-image"),children:s&&(0,a.jsx)(o.default,{image:s,alt:""})}),(0,a.jsx)("div",{className:em("textOnly",{module:g,darkBg:null==h?void 0:h.darkBg}),children:(0,a.jsx)(c.A,{firstEntry:!!l,...p,pageProps:i,disableForceHeadlineStyle:!0})}),(0,a.jsx)("div",{className:em("right-image"),children:n&&(0,a.jsx)(o.default,{image:n,alt:""})})]})})}},articlesHome:{_default:eX},articleInLineImage:{_default:e=>{var t,i,l;let{item:n}=e,{image:s=[],video:r,imageCaption:c}=n.fields;return(0,a.jsx)("div",{className:e1("main-wrapper"),children:(0,a.jsxs)("div",{className:e1("main_inline_image"),children:[r?(0,a.jsx)("div",{className:e1("video-holder"),children:(0,a.jsx)(d.default,{src:(null==r?void 0:r.fields.file.url.includes("https://"))?null==r?void 0:r.fields.file.url:"https:".concat(null==r?void 0:r.fields.file.url),autoPlay:!1,poster:"".concat((null==(t=s[0])?void 0:t.fields.file.url.includes("https://"))?null==(i=s[0])?void 0:i.fields.file.url:"https:".concat(null==(l=s[0])?void 0:l.fields.file.url))})}):(0,a.jsx)(o.default,{image:s[0],screenWidth:"half",alt:"",className:e1("inline_image")}),c&&(0,a.jsx)("div",{className:e1("inline_image_caption"),children:(0,C.i)(c)})]})})}},articleMidlineCallout:{_default:e=>{let{item:t}=e;return t.fields.textStyling={headLineStyle:{size:"subHeadTiles"},removeMobileForceCenter:!0},t.fields.headlineFontWeight="900",t.fields.custom={columnSize:"4-8"},(0,a.jsx)("div",{className:eA("midline-callout-wrapper","container-inner"),children:(0,a.jsx)("div",{className:eA("midline-callout"),children:(0,a.jsx)(y,{...e})})})}},sitemap:{_default:e=>{let{item:t,pageProps:i,depth:l,index:n}=e,{eyebrow:s,headline:r,bodyCopy:o}=t.fields,{navi:d}=i,{SiteMapLinks:c}=d,{childNodes:u}=c;return(0,a.jsx)("div",{className:"sitemap",children:(0,a.jsx)(e5.default,{index:n,depth:l,eyebrow:s,headline:r,bodyCopy:o,rootNodes:u,...t.fields})})}},moduleHtml:{_default:e=>{let{item:t}=e;return(0,a.jsx)("div",{className:ti("main"),children:(0,a.jsx)(tt.default,{body:t.fields.body})})}},smileViewModule:{_default:ts},moduleTreatableCases:{_default:to},articleSwimlane:{_default:e=>{var t,i;let{item:l,pageProps:n}=e,{extraData:s={}}=n||{},{articles:r}=s,{includes:o}=r,{articlesMainPage:d,topicSubhead:c,articles:u}=l.fields,m=(null==(i=d.fields)||null==(t=i.slug)?void 0:t.toString())||"";return(0,a.jsx)(tc.default,{title:c,viewAllLabel:(null==n?void 0:n.sharedTranslation.view_all)||"View all",homeSlug:m,children:u.map((e,t)=>(0,a.jsx)(td.A,{item:e,includes:o,homeSlug:m,topicSlug:e.fields.topic.fields.slug||"",localeId:null==n?void 0:n.localeId},"list-item-swimlane-".concat(t)))})}},modulePartnership:{_default:e=>{let{index:t,depth:i,item:l,pageProps:n}=e,{firstEntry:s,headline:r,bodyCopy:o,content:d}=l.fields;return(0,a.jsxs)("div",{children:[(0,a.jsx)(c.A,{headline:r,bodyCopy:o,index:t,depth:i,textStyling:{headLineStyle:{size:"medium",alignment:"Center"},eyeBrowStyle:{alignment:"Center"}},firstEntry:!!s,pageProps:n}),(0,a.jsx)(tu.default,{slides:d,firstEntry:!!s,index:t,depth:i})]})}},moduleSmileViewApac:{_default:th}}},91462:(e,t,i)=>{"use strict";i.d(t,{EE:()=>o,NV:()=>a,UA:()=>s,ax:()=>n,eV:()=>r,g8:()=>c,wO:()=>d});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"16:45",a=new Date,n=+i.split(":")[0];console.log("offset",t),a.getHours()>n&&(t+=1);let s=a.getDate()+t;return a.setDate(s),(a=l("".concat(a),e)).getHours()>=n&&a.getMinutes()>=+i.split(":")[1]&&d(a.getTime(),new Date().getTime(),1.5)&&(a=l("".concat(new Date(a.setDate(s+1))),e)),a},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=new Date(e);return s({activeStartDate:i,date:i,view:"month"},t)?l("".concat(new Date(i.setDate(i.getDate()+1))),t):i},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t=new Date;return new Date(t.setMonth(t.getMonth()+e))},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=e.date.getDay(),a=e.date.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"});return 0==i||6==i||!!t.includes("".concat(a))},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";
1return new Date(e).toLocaleString(t,{hour:"numeric",minute:"numeric",hour12:!0})},o=e=>e.toLocaleString("en-US",{day:"2-digit",month:"short",year:"numeric"}),d=(e,t,i)=>Math.abs((e-t)/1e3/60/60/24)<i,c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=new Date(new Date().setHours(e,0,0,0)).toLocaleString(t,{dayPeriod:"long"}).split(" ").splice(-1)[0];return i.charAt(0).toUpperCase()+i.slice(1)}},92217:e=>{e.exports={"social-proof-slider":"styles_social-proof-slider__noz90","slider-wrapper":"styles_slider-wrapper__CpZV6","radio-holders":"styles_radio-holders__clovl","before-after":"styles_before-after__xN_hQ","social-slide":"styles_social-slide__tJACf","img-wrap":"styles_img-wrap__kHa8C","before-after-slider":"styles_before-after-slider__ANVmp",tile:"styles_tile__2Ijky","social-capsule":"styles_social-capsule__f9B5_",active:"styles_active__rO8wZ","slider-numbder":"styles_slider-numbder__bqtru","smile-data":"styles_smile-data__IyPG5","smile-data-left":"styles_smile-data-left__4nMbv","video-sec":"styles_video-sec__6jvcd","smile-data-des":"styles_smile-data-des__cu2Zn","smile-data-right":"styles_smile-data-right__7Hk4_","smile-data-btn":"styles_smile-data-btn__0Vnq9","hide-on-desktop":"styles_hide-on-desktop__HHWk_"}},92866:e=>{e.exports={form_main:"Form_form_main___wiFF",form_error_message:"Form_form_error_message__0BjyP","loader-screen":"Form_loader-screen__qA54P","loader-logo":"Form_loader-logo__0f0qy",form_content:"Form_form_content__DWjE7",form_header:"Form_form_header__rQbAt",form_error_message_2:"Form_form_error_message_2__AiMv9",item_label:"Form_item_label__EgoBJ",form_items:"Form_form_items__kR__O",form_item_input:"Form_form_item_input__JBkin",form_item:"Form_form_item__tO0EU",info_holder:"Form_info_holder__kpUy_",error_message:"Form_error_message__iTbVt",custom_error:"Form_custom_error__cbbiB",form_dropdown_input:"Form_form_dropdown_input__p8FpO",textArea:"Form_textArea__Y4xQy",reCaptcha:"Form_reCaptcha__Z_j2_",submit_btn:"Form_submit_btn__ZVbog","modal-main":"Form_modal-main__uxYqm","content-text":"Form_content-text__hHGEC","closeIcon-holder":"Form_closeIcon-holder__Ee9Ce",closeBtn:"Form_closeBtn__Va3LK",seperator:"Form_seperator__VuqzG",singleCTA:"Form_singleCTA__sVfzY","container-modal":"Form_container-modal__spUco","thank-you-screen":"Form_thank-you-screen__A0Gfy",headline:"Form_headline__9tynd"}},93005:(e,t,i)=>{"use strict";i.d(t,{default:()=>r});var a=i(95155),l=i(12115),n=i(68422),s=i(37793);function r(e){let{body:t}=e,i=(0,n.v)(t);i=i.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">");let r=e=>{let t=e.target.getAttribute("href");if(t&&t.startsWith("#")){e.preventDefault();let i=t.substring(1),a=document.getElementById(i);a&&s.A.scrollTo(a,135)}};l.useEffect(()=>{let e=document.getElementById("mainContent");return e&&e.addEventListener("click",r),()=>{e&&e.removeEventListener("click",r)}},[]);let o=l.createElement("div",{id:"mainContent",dangerouslySetInnerHTML:{__html:i}});return(0,a.jsx)(a.Fragment,{children:o})}},93411:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var a=i(95155),l=i(52619),n=i.n(l),s=i(53743);let r=e=>{let{isDisabled:t,position:i,iconEntries:l}=e;if(!l||!l.length)return;let n=t&&1!==l.length?1:0,{icon:r,...o}=l[n].fields;return(0,a.jsx)("div",{className:("before"===i?"before-icon":"after-icon")+" flex justify-center items-center",children:(0,a.jsx)(s.A,{url:r.fields.file.url,title:r.fields.title,...o})})};var o=i(12115),d=i(65493);i(95487);let c=(0,d.T)();function u(e){let{label:t,image:i,description:l,alt:n,role:s,onChange:r}=e,[d,u]=(0,o.useState)(!1);return(0,a.jsxs)("div",{className:c("large-button-wrapper",{selected:d}),onClick:()=>{u(e=>{let t=!e;return r&&r(t),t})},role:s||"button",children:[(0,a.jsx)("span",{className:"lbwi-label",children:t}),i&&(0,a.jsx)("img",{alt:n,src:i.url}),(0,a.jsx)("p",{className:"mb-0 text-center",children:l})]})}var m=i(33046);i(31896);var g=i(37793),h=i(7977);function p(e){var t;let{children:i,url:l,variant:s,openLinkInNewTab:o,noFollow:d,label:c,ariaLabel:p,custom:_,afterIcon:f,beforeIcon:v,dataTrackingKey:x,width:y,marginCenter:b,size:w,disabled:j,role:S,className:A,anchor:T,onClick:N}=e,C=i||c,{width:P,alt:L,image:k,description:M}=_||{},I=(e=>{let{alt:t,label:i,image:a}=e;if(a&&a.url)return{id:a.id,contentType:"Asset",fields:{description:t||i||"",file:{url:a.url,details:{size:0,image:void 0},fileName:"",contentType:"image/jpeg"},title:t||i||""}}})({image:k,alt:L,label:c}),E=null==s?void 0:s.includes("with icon"),R=(null==s?void 0:s.includes("primary"))||(null==s?void 0:s.includes("secondary"))||(null==s?void 0:s.includes("tertiary"))||(null==s?void 0:s.includes("icon")),D=(e=>{let{variant:t,isWithIcon:i,isImageButton:a,disabled:l,marginCenter:n,width:s,animationType:r,size:o}=e;if(a)return"image-btn";let d="button";return i?(d+=" withicon","with icon | filled | dark grey"===t&&(d+=" filled-black"),"with icon | outlined | blue"===t&&(d+=" outlined-blue"),"with icon | gradient"===t&&(d+=" withicon-small white-bg")):("primary | for light bg"===t&&(d+=" primary-light"),"primary | for dark bg"===t&&(d+=" primary-dark"),"secondary | for light bg"===t&&(d+=" secondary-light"),"secondary | for dark bg"===t&&(d+=" secondary-dark"),"tertiary | for light bg"===t&&(d+=" tertiary-light"),"tertiary | for dark bg"===t&&(d+=" tertiary-dark")),o&&(
1d=d+" "+o),n&&(d+=" margin-center"),l&&(d+=" disabled"),"fit"===s&&(d+=" width-fit"),r&&(d+=" animate-".concat(r,"-icon")),d})({variant:s,isWithIcon:E,isImageButton:"image button"===s,disabled:j,width:y,marginCenter:b,animationType:f&&"arrow-right"===f[0].fields.animation||v&&"arrow-left"===v[0].fields.animation?"arrow":void 0,size:w})+" ".concat(A||""),F=null==(t=e.pageLink)?void 0:t.fields.slug,K=()=>{if(j)return"#";if(F){let e=h.A.addTrailingSlash(F);return"/".concat(e)}return l||"#"},G=e=>{(j||!l)&&e.preventDefault(),T&&!l&&g.A.scrollToAnchor(T.split("#")[1].replace("#","")),N&&N(e)},H=()=>(0,a.jsxs)(n(),{className:D,href:K(),target:o?"_blank":void 0,rel:(e=>{let{openLinkInNewTab:t,noFollow:i}=e,a="";return t&&(a+="noreferrer noopener"),i&&(a+=" nofollow"),a||void 0})({openLinkInNewTab:o,noFollow:d}),"data-tracking-key":x,style:{...(null==y?void 0:y.includes("px"))?{width:y}:{}},"aria-label":p||c||L,role:S,prefetch:"/resources"!==K(),onClick:G,children:["image button"===s&&I&&(0,a.jsx)("div",{className:"image-wrapper",style:{maxWidth:P?"".concat(P,"px"):void 0},children:(0,a.jsx)(m.default,{image:I})}),R&&(0,a.jsxs)(a.Fragment,{children:[r({position:"before",iconEntries:v,isDisabled:j}),C,r({position:"after",iconEntries:f,isDisabled:j})]})]});return"large button with image"===s?(0,a.jsx)(u,{label:c,image:k,description:M,alt:L,role:S}):E&&"with icon | gradient"===s?(0,a.jsx)("div",{className:"bluegreen-gradient-wrapper",children:(0,a.jsx)(H,{})}):(0,a.jsx)(H,{})}},95487:()=>{},95696:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var a=i(65875);let l={ms:1,sec:1e3,min:6e4,hour:36e5,day:864e5,week:6048e5,month:18144e6,year:31536e6},n="cookiesDirective",s="userVisited";class r{getCookie(e){return this.cookieMap[e]}getCookieAsJson(e){let t=this.cookieMap[e];if(t)try{return JSON.parse(t)}catch(e){}}putCookie(e,t,i){let{expires:a=0,expiresUnit:n="day",path:s="/",sameSite:r="Lax"}=i||{},o="https:"===window.location.protocol;"None"!==r||o||(r="Lax");let d=new Date,c=l[n]*a;d.setTime(d.getTime()+c);let u="";try{u="object"==typeof t?JSON.stringify(t):String(t)}catch(e){return!1}return document.cookie="".concat(e,"=").concat(u,"; expires=").concat(c>0?d.toUTCString():"","; path=").concat(s,"; SameSite=").concat(r).concat(o?"; Secure":""),this.cookieMap[e]=u,!0}getPreviewMode(){return!!this.getCookie("previewMode")}setPreviewMode(e){this.putCookie("previewMode",e?"1":"")}getVisitorId(){let e=this.getCookie("vid");return e||(e=a.A.generateClientShortGuid(),this.putCookie("vid",e,{expires:5,expiresUnit:"year"})),e}getSetUserVisited(){let e="yes"===this.getCookie(s);return e||this.putCookie(s,"yes",{path:"/"}),void 0===this.userVisited&&(this.userVisited=e),this.userVisited}getUserVisited(){return"yes"===this.getCookie(s)}getAcceptCookieData(){let e=this.getDefaultAcceptCookieData(),t=this.getCookie(n);if(!t)return e;let i=t.split("|");"accepted"===i[0]&&(e.accepted=!0,e.allowCategory.forEach((t,i)=>e.allowCategory[i]=!0));for(let t=1;t<i.length;t++)if(a.A.isNumber(i[t])){let a=parseInt(i[t]);a>0&&a<e.allowCategory.length&&(e.allowCategory[a]=!1)}return e}setAcceptCookieData(e){let t=[e.accepted?"accepted":"notaccepted"];if(e.accepted)for(let i=1;i<e.allowCategory.length;i++)!1===e.allowCategory[i]&&t.push(""+i);let i=t.join("|");this.putCookie(n,i,{expires:2,expiresUnit:"year",sameSite:"None"})}setCookieAccepted(e,t){let i=this.getDefaultAcceptCookieData();if(i.accepted=e,t&&t.length)for(let e=0;e<t.length;e++)i.allowCategory[e+1]=!!t[e];this.setAcceptCookieData(i)}shouldShowAcceptPopup(){return!this.getAcceptCookieData().accepted}checkUseScript(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!this.checkCookiesEnabled())return!0;let t=this.getAcceptCookieData();return!!t.accepted&&(void 0===e?!t.allowCategory.some(e=>!e):!!t.allowCategory[e])}checkCookiesEnabled(){return!1!==window.navigator.cookieEnabled}initUTMCookie(){let e=new URLSearchParams(window.location.search);if(e.get("utm_campaign")){let t={utm_campaign:e.get("utm_campaign"),utm_content:e.get("utm_content"),utm_medium:e.get("utm_medium"),utm_source:e.get("utm_source"),utm_term:e.get("utm_term")};
1this.putCookie("utmParams",JSON.stringify(t),{path:"/"})}}getUTMCookie(){return this.getCookieAsJson("utmParams")}initGCLIDCookie(){let e=new URLSearchParams(window.location.search);if(e.get("gclid")){let t={gclid:e.get("gclid")};this.putCookie("gclidParams",JSON.stringify(t))}}getGCLIDCookie(){return this.getCookieAsJson("gclidParams")}constructor(){this.cookieMap={},this.getDefaultAcceptCookieData=()=>({accepted:!1,allowCategory:[!0,!1,!1,!1]}),document.cookie.split("; ").forEach(e=>{let[t,i]=e.split("=");if(t&&i)try{this.cookieMap[t]=decodeURIComponent(i)}catch(e){try{this.cookieMap[t]=unescape(i)}catch(e){}}})}}let o=new r},95962:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c});var a=i(95155),l=i(12115),n=i(65493),s=i(30945),r=i.n(s),o=i(88947);let d=(0,n.T)(r()),c=e=>{let t=(0,l.useRef)(null),i=(0,l.useRef)(!1),[n,s]=(0,l.useState)({playing:!1,min:0,max:2,step:.1,progress:0}),[r,c]=(0,l.useState)(!1),{src:u,poster:m,autoPlay:g=!1,controls:h=!1,loop:p=!0}=e;if(!u)return null;let _={};g&&(_.autoPlay=!0,_.muted=!1,_.loop=p,_.src=u),h&&(_.controls=!0);let f=e=>{if(!t.current)return;let i=t.current,a={playing:!!(!i.paused&&!i.ended)};a.progress=i.currentTime||0,i.duration&&!isNaN(i.duration)&&(a.max=i.duration),a.step=.1,a.max=t.current.duration.toFixed(1),a.min=0,s(a),c(t.current.readyState<t.current.HAVE_FUTURE_DATA)},v=()=>{t.current&&(n.playing?t.current.pause():t.current.play())};return(0,a.jsxs)("div",{className:d("video-container"),onClick:v,children:[m&&!i.current&&(0,a.jsx)("img",{src:m,alt:"Video Poster",loading:"eager",style:{width:"100%",height:"auto"}}),(0,a.jsx)("video",{ref:t,className:"video",style:{height:i.current?"100%":0},..._,onPlay:()=>{i.current=!0;let e=u.split("/"),t=e[e.length-1];o.A.gtmTrackNA("video_start",void 0,{video_title:t,video_url:"https:"+u}),f("onPlay")},onEnded:()=>{f()},onPause:()=>{f()},onTimeUpdate:()=>{f()},playsInline:!0,preload:"true",autoPlay:g,onClick:v,src:u}),!h&&(0,a.jsx)("div",{className:d("custom-controls",n.playing?"pause":"play"),children:(0,a.jsx)("button",{className:d("controls",n.playing?r?"buffering":"pause-btn":"play-btn"),onClick:v,title:n.playing?"Pause":"Play","aria-label":n.playing?"Pause":"Play"})})]})}},96392:(e,t,i)=>{"use strict";i.d(t,{default:()=>f});var a=i(95155),l=i(12115),n=i(95962),s=i(17363),r=i(67589),o=i(65493),d=i(92217),c=i.n(d),u=i(93411),m=i(30411),g=i(15239),h=i(20063),p=i(46574);let _=(0,o.T)(c()),f=l.memo(e=>{var t,i,o,d,c,f,v,x,y;let{items:b,depth:w,index:j,firstEntry:S}=e,[A,T]=(0,l.useState)(0),[N,C]=(0,l.useState)(!1),P=(0,l.useRef)(null),L=(0,l.useRef)(null),k=(0,h.useSearchParams)().get("bite_type"),M=e=>{if(P.current){var t;null==(t=L.current)||t.goToSlide(e);let i=P.current.offsetWidth,a=200*e;P.current.scrollTo({left:a-(i/2-100),behavior:"smooth"}),N||C(!0)}};return(0,l.useEffect)(()=>{k&&T(b.findIndex(e=>e.fields.identifier===k))},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:_("container-fluid social-proof-slider",{"before-after-slider":!0}),children:(0,a.jsx)(r.fI,{children:(0,a.jsx)(r.fv,{xs:12,children:(0,a.jsx)("div",{className:_("slider-wrapper",{"before-after":!0}),ref:P,children:b.map((e,t)=>{let{fields:i}=e;return(0,a.jsx)("div",{className:_("radio-holders"),children:(0,a.jsx)(s.A,{name:t.toString(),value:t.toString(),image:i.smileImage,label:i.smileLabel,onChange:e=>{T(parseInt(e)),M(parseInt(e))},checked:t===A,width:"width",variant:"Button"})},t)})})})})}),(0,a.jsxs)("div",{className:_("smile-data"),children:[(0,a.jsxs)("div",{className:_("smile-data-left"),children:[(0,a.jsx)("div",{className:_("video-sec"),children:b[A].fields.smileVideo?(0,a.jsx)(n.default,{src:null==(o=b[A].fields.smileVideo)||null==(i=o.fields)||null==(t=i.file)?void 0:t.url,autoPlay:N,poster:"".concat((null==(d=b[A].fields.smileVideoThumbnail)?void 0:d.fields.file.url.includes("https://"))?null==(c=b[A].fields.smileVideoThumbnail)?void 0:c.fields.file.url:"https:".concat(null==(f=b[A].fields.smileVideoThumbnail)?void 0:f.fields.file.url)),loop:!1}):(0,a.jsx)(g.default,{src:"".concat((null==(v=b[A].fields.smileVideoThumbnail)?void 0:v.fields.file.url.includes("https://"))?null==(x=b[A].fields.smileVideoThumbnail)?void 0:x.fields.file.url:"https:".concat(null==(y=b[A].fields.smileVideoThumbnail)?void 0:y.fields.file.url)),alt:"Tooth Image",loading:"eager",width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:_("smile-data-des"),children:(0,a.jsx)(p.A,{depth:w,index:j,firstEntry:!!S,bodyCopy:b[A].fields.description})})]}),(0,a.jsxs)("div",{className:_("smile-data-right"),children:[(0,a.jsx)("div",{children:(0,a.jsx)(p.A,{depth:w,index:j,firstEntry:!!S,bodyCopy:b[A].fields.rightText})}),b[A].fields.rightBtn&&(0,a.jsx)("div",{className:_("smile-data-btn"),children:(0,a.jsx)(u.default,{...b[A].fields.rightBtn.fields})})]})]}),(0,a.jsx)(m.default,{className:_("hide-on-desktop","slider-numbder"),indicatorPosition:"bottom (with page count)",type:"three up",onIndexChange:e=>{T(e),M(e)},ref:L,children:b.map((e,t)=>(0,a.jsx)("div",{},t))})]})})},97439:()=>{},99095:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var a=i(95155),l=i(65493),n=i(88676),s=i.n(n),r=i(33046),o=i(12115);let d=(0,l.T)(s()),c=e=>{let{children:t,images:i,location:l,showMobileRightImage:n=!0}=e,[s,c]=i||[],u=e=>{if(e){let t=null==e?void 0:e.firstChild;(null==t?void 0:t.style)&&(t.style.zIndex="1",t.style.position="relative")}};return(0,o.useEffect)(()=>{var e,t;let i=null==(t=document.getElementById("sharedbackground"))||null==(e=t.parentNode)?void 0:e.parentNode;if(i){let e=i.previousSibling,t=i.nextSibling;u(e),u(t)}},[]),(0,a.jsxs)("div",{className:d("wrapper-main"),id:"sharedbackground",style:{backgroundColor:"In-Page FAQ"===l?"#ffffff"
1:"#f6f6f6",minHeight:"FAQ Post Page"===l?331:377},children:[s&&(0,a.jsx)("div",{className:d("left-".concat("In-Page FAQ"===l?"top":"bottom","-image-container")),children:(0,a.jsx)(r.default,{image:s,alt:""})}),c&&(0,a.jsx)("div",{className:d("right-".concat("In-Page FAQ"===l?"top":"bottom","-image-container"),{showMobileRightImage:n}),children:(0,a.jsx)(r.default,{image:c,alt:""})}),t]})}}}]);
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.