1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3553],{57396:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/laser-facials",function(){return s(28438)}])},20190:function(e,t){"use strict";t.Z={src:"/_next/static/media/starCategory.8b434ce6.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEX/zyD/3S7/4C//2S7/2C7/2i3/3i7/2C7/2C7/2i7/8DLpKKGzAAAACXRSTlMCav6OTLTVPNKTPWohAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAANElEQVR4nCWLuQ0AMAyE8BfnvP/AkRUKRAOAGZ9z1p0hRTY1LvkU1EYBKXflPnPv7GcBYTwdZADdOYhOUwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},92564:function(e,t,s){"use strict";var a=s(85893),r=s(25675),n=s.n(r),i=s(67294),l=s(11163),o=s(68790),c=s(36756),d=s(20190),_=s(41664),u=s.n(_),p=s(66786),h=s.n(p),m=s(11646);t.Z=e=>{let{name:t,imageSource:s,price:r,rating:_,slug:p,onAddClick:x,onRemoveClick:g,duration:y,description:b,productId:f,setSelectedProductId:w,setProductName:v,isAdded:A,is_new:j}=e,[C,N]=(0,i.useState)(!1),handleClick=()=>{!A&&x?x():A&&g&&g()},T=(0,l.useRouter)(),[k,S]=(0,i.useState)({width:0});(0,i.useEffect)(()=>{S({width:window.innerWidth})},[]);let handleViewDetails=()=>{T.push("/laser-treatments/".concat(p))};return(0,a.jsxs)("div",{className:h().container,id:"product-".concat(f),children:[(0,a.jsxs)("div",{className:h().infoContainer,children:[(0,a.jsx)("div",{className:h().ratingRow,children:(0,a.jsx)(u(),{href:"/laser-treatments/".concat(p),children:(0,a.jsx)("div",{className:h().title,children:t})})}),(0,a.jsxs)("div",{className:h().ratingRow,children:[_||"4.77",(0,a.jsx)(n(),{unoptimized:!0,src:d.Z,alt:"star",width:15,height:14}),(0,a.jsx)(n(),{unoptimized:!0,src:"https://cdn.avataarskin.com/static/website/duration.png",alt:"star",width:15,height:14}),(0,a.jsxs)("div",{className:h().durationText,children:[y," mins"]})]}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:b},className:h().description}),(0,a.jsx)("div",{className:h().divider}),(0,a.jsx)("button",{onClick:handleViewDetails,className:h().custom_btn,children:"VIEW DETAILS"})]}),(0,a.jsxs)("div",{className:h().imageContainer,children:[(0,a.jsx)(n(),{unoptimized:!0,className:h().image,src:s,alt:t,width:200,height:200,onClick:handleViewDetails}),188==f||189==f||205==f||206==f||239==f||240==f?null:A&&(0,o.LP)()?(0,a.jsx)("button",{onClick:handleClick,className:h().added,children:"REMOVE"}):!A&&x&&(0,o.LP)()?(0,a.jsx)("button",{onClick:handleClick,className:h().addToCart,children:"ADD"}):(0,o.LP)()?null:(0,a.jsx)("button",{onClick:()=>{N(!0)},className:h().addToCart,children:"ADD"})]}),C&&k.width>768&&(0,a.jsx)(m.Z,{setModal:N}),C&&k.width<=768&&(0,a.jsx)(c.Z,{setSignIn:N})]})}},29003:function(e,t,s){"use strict";var a=s(85893);s(67294);var r=s(7267),n=s.n(r);t.Z=e=>{let{mapping:t,onSelect:s,selectedId:r,totalCount:i}=e,l=Object.entries(t);return(0,a.jsxs)("div",{className:n().wrapper,children:[(0,a.jsxs)("div",{className:n().sidebar,children:[(0,a.jsxs)("div",{className:n().resultsCount,children:[i," Results"]}),(0,a.jsx)("hr",{className:n().separator}),(0,a.jsxs)("div",{className:n().filterSection,children:[(0,a.jsx)("div",{className:n().filterHeader,children:"Types"}),l.map(e=>{let[t,i]=e;return(0,a.jsxs)("label",{className:n().checkboxWrapper,children:[(0,a.jsx)("input",{type:"checkbox",id:"checkbox-".concat(i),checked:r===i,onChange:()=>{s(i)}}),(0,a.jsx)("span",{className:n().customCheckbox}),(0,a.jsx)("span",{className:n().labelText,children:t})]},i)})]}),(0,a.jsx)("hr",{className:n().separator})]}),(0,a.jsx)("div",{className:n().mobileButtons,children:l.map(e=>{let[t,i]=e;return(0,a.jsx)("button",{className:"".concat(n().button," ").concat(r===i?n().activeButton:""),onClick:()=>{s(i)},children:t},i)})})]})}},36756:function(e,t,s){"use strict";var a=s(85893),r=s(50043),n=s(95091),i=s(11163);s(67294),t.Z=e=>{let{setSignIn:t}=e,s=(0,i.useRouter)();return(0,a.jsx)(r.Z,{onClose:()=>t(!1),height:220,width:320,children:(0,a.jsxs)("div",{style:{textAlign:"center",padding:"20px",fontFamily:"Montserrat-Regular"},children:[(0,a.jsx)(n.ZP,{tagType:"p",style:{fontSize:"16px",marginBottom:"24px",color:"#444",lineHeight:"1.4"},children:"Please login to continue"}),(0,a.jsx)("button",{style:{background:"#111",color:"#fff",padding:"10px 0",width:"50%",borderRadius:"12px",border:"none",fontSize:"16px",letterSpacing:"0.5px",fontFamily:"Montserrat-Medium",curs
1or:"pointer",boxShadow:"0 4px 8px rgba(0,0,0,0.1)",transition:"opacity 0.3s ease"},onClick:()=>{s.push("/signInMobile")},onTouchStart:e=>e.target.style.opacity="0.8",onTouchEnd:e=>e.target.style.opacity="1",children:"SIGN IN"})]})})}},28438:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return laser_facials}});var a=s(85893),r=s(67294),n=s(37872),i=s(96156),l=s(29003),o=s(92564),c=s(66970),d=s.n(c),_=s(63922),u=s(84422),p=s(41664),h=s.n(p),m=s(87066),container_laserFacialPage=()=>{let{data:e}=(0,_.UM)({screenEnum:u.Q.HOME,screenSection:u.P.CONDITIONS}),[t,s]=(0,r.useState)(null),[n,i]=(0,r.useState)([]),[c,p]=(0,r.useState)(!1),x=["unwanted-hair-women","stubborn-fat-women","hair-fall-women","dark-underarms-women","advanced-underarm-rejuvenation-for-women","advanced-body-polish-for-women","dark-circles-for-women"],g=(null==e?void 0:e.map(e=>{var t;let s=e.attributes.slug.split("/").pop();return{id:e.id,title:e.attributes.title,slug:s,treatments:(null===(t=e.attributes.treatments)||void 0===t?void 0:t.data)||[]}}).filter(e=>!x.includes(e.slug)))||[],y=g.reduce((e,t)=>(e[t.title]=t.slug,e),{});y["See All"]="see-all";let b={"pigmentation-for-women":[22],"acne-control-for-women":[26],"dull-skin-women":[133],"anti-aging-for-women":[124,23,22,155],"oily-skin-for-women":[26],"scars-for-women":[23]},sortByOrder=(e,t)=>{var s,a;let r=null!==(s=e.sort_order)&&void 0!==s?s:0,n=null!==(a=t.sort_order)&&void 0!==a?a:0;return r-n},fetchConcernProducts=async e=>{p(!0);try{if("see-all"===e){let e=[];for(let t of g){let s=t.slug,a=await m.Z.get("".concat("https://dev.avataarskin.com","/products/collections-slug/").concat(s)),r=a.data||[],n=b[s]||[];r=r.filter(e=>!n.includes(e.id)),e=[...e,...r]}let t=Array.from(new Map(e.map(e=>[e.id,e])).values()).sort(sortByOrder);i(t)}else{let t=e.split("/").pop()||e,s=await m.Z.get("".concat("https://dev.avataarskin.com","/products/collections-slug/").concat(t)),a=s.data||[],r=b[t]||[];a=(a=a.filter(e=>!r.includes(e.id))).sort(sortByOrder),i(a)}}catch(e){i([])}p(!1)};return(0,r.useEffect)(()=>{if(g.length&&!t){localStorage.getItem("concernId");let e="see-all";s(e),fetchConcernProducts(e)}},[g]),(0,r.useEffect)(()=>{t&&fetchConcernProducts(t)},[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:d().breadcrumbsContainer,children:(0,a.jsxs)("div",{className:d().breadcrumbsHeading,children:[(0,a.jsx)(h(),{href:"/",passHref:!0,children:"Home"}),(0,a.jsx)("div",{children:">"}),(0,a.jsx)("span",{children:"Advanced laser facials "})]})}),(0,a.jsxs)("div",{className:d().concernPageContent,children:[(0,a.jsx)("div",{className:d().sidebarWrapper,children:(0,a.jsx)(l.Z,{mapping:y,onSelect:s,selectedId:t,totalCount:n.length})}),(0,a.jsx)("div",{className:d().cardsGrid,children:c?(0,a.jsx)("div",{children:"Loading..."}):n.length?(0,a.jsx)("div",{className:d().productsRow,children:n.map((e,t)=>(0,a.jsx)(o.Z,{productId:e.id,name:e.name,imageSource:e.image,price:e.price,rating:e.rating,slug:e.slug,description:e.description,duration:e.duration,is_new:e.is_new},e.id||t))}):null})]})]})},laser_facials=()=>(0,a.jsxs)("div",{children:[(0,a.jsx)(n.Z,{}),(0,a.jsx)(container_laserFacialPage,{}),(0,a.jsx)(i.Z,{})]})},66786:function(e){e.exports={container:"styles_container__4XkU9",infoContainer:"styles_infoContainer__YXfgm",divider:"styles_divider__TrVn4",separatorText:"styles_separatorText__1S1i4",title:"styles_title__TtKzW",ratingRow:"styles_ratingRow___t_FV",ratingText:"styles_ratingText__4VBfB",bookingText:"styles_bookingText__oaMfc",priceRow:"styles_priceRow__RVeKe",durationText:"styles_durationText__8XvPJ",description:"styles_description__3INAA",primaryButton:"styles_primaryButton__0W0Fn",primaryButtonText:"styles_primaryButtonText__3TyZE",imageContainer:"styles_imageContainer__Um9OA",image:"styles_image__gJC4L",row:"styles_row__l59DS",custom_btn:"styles_custom_btn__eg_wP",addToCart:"styles_addToCart__5DWDs",added:"styles_added__knsTO",startsFrom:"styles_startsFrom__mXCbF",price:"styles_price__Wh0hG"}},7267:function(e){e.exports={wrapper:"styles_wrapper__zziSh",sidebar:"styles_sidebar__R_RBv",resultsCount:"styles_resultsCount__9ED63",separator:"styles_separator__tFh60",filterHeader:"styles_filterHeader__JxV29",checkboxWrapper:"styles_checkboxWrapper__TIWid",customCheckbox:"styles_customCheckbox__5Q3vB",labelText:"styles_labelText__72lju",mobileButtons:"styles_mobileButtons__tITth",button:"styles_button__m0_wu",activeButton:"styles_activeButton__EEjJe"}},66970:function(e){e.exports={pageWrapper:"styles_pageWrapper__A8SjU",breadcrumbsContainer:"styles_breadcrumbsContainer__3c_5t",breadcrumbsHeading:"styles_breadcrumbsHeading__MWgZt",concernPageContent:"styles_concernPageContent__lic8U",sidebarWrapper:"styles_sidebarWrapper__rawp2",cardsGri
1d:"styles_cardsGrid__LUk8Q",productsRow:"styles_productsRow__a6Tgh",productCard:"styles_productCard__ClK_L",productImage:"styles_productImage__y3L0_",productTitle:"styles_productTitle__7zuK8",noFiltersText:"styles_noFiltersText__4YsN8"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=57396)}),_N_E=e.O()}]);
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.