1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9808],{4087:(e,t,a)=>{"use strict";a.d(t,{L:()=>l});var r=a(71708);let l=()=>{let e=Date.now()+1e4;function t(e,t){(0,r.A)({particleCount:200,spread:300,scalar:2,origin:{x:e,y:t},gravity:1})}t(.2,0),t(.5,0),t(.8,0),function t(){Date.now()<e&&requestAnimationFrame(t)}()}},11879:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var r,l,n,s=a(12115);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let i=function(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:49,height:48,fill:"none"},e),s.createElement("g",{clipPath:"url(#friends-logo_svg__a)"},s.createElement("mask",{id:"friends-logo_svg__b",width:49,height:48,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},r||(r=s.createElement("path",{fill:"#fff",d:"M.333 0h48v48h-48z"}))),l||(l=s.createElement("g",{stroke:"#62A09A",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2.813,mask:"url(#friends-logo_svg__b)"},s.createElement("path",{d:"M24.334 12.703a9.037 9.037 0 0 1-9.038 9.037 9.037 9.037 0 0 1-9.037-9.037 9.037 9.037 0 1 1 18.075 0"}),s.createElement("path",{d:"M15.296 21.74c-7.487 0-13.556 6.07-13.556 13.557v5.271a3.777 3.777 0 0 0 3.765 3.766h19.582a3.777 3.777 0 0 0 3.765-3.766v-5.271c0-7.487-6.07-13.557-13.556-13.557M42.409 12.703a9.037 9.037 0 0 1-9.038 9.037 9.037 9.037 0 1 1 0-18.075 9.037 9.037 0 0 1 9.037 9.038"}),s.createElement("path",{d:"M23.58 44.334H43.16a3.777 3.777 0 0 0 3.766-3.766v-5.271c0-7.487-6.07-13.557-13.556-13.557-3.473 0-6.64 1.306-9.039 3.453"})))),n||(n=s.createElement("defs",null,s.createElement("clipPath",{id:"friends-logo_svg__a"},s.createElement("path",{fill:"#fff",d:"M.333 0h48v48h-48z"})))))}},14417:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r,l,n=a(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100"},e),r||(r=n.createElement("g",{fill:"#62A09A",clipPath:"url(#talk-logo_svg__a)"},n.createElement("path",{d:"M31.14 62.28C13.97 62.28 0 48.31 0 31.14S13.97 0 31.14 0c14.683 0 27.268 10.175 30.403 24.376 2.432.467 5.447.36 7.8-1.922a1.953 1.953 0 0 1 3.288 1.713c-1.303 8.088-7.413 12.835-11.434 15.132-1.721 6.343-5.48 12.067-10.65 16.193-5.563 4.44-12.274 6.788-19.407 6.788m0-58.374c-15.017 0-27.234 12.217-27.234 27.234S16.123 58.374 31.14 58.374c12.635 0 23.522-8.567 26.476-20.834a1.96 1.96 0 0 1 .98-1.267c2.53-1.346 6.46-3.992 8.686-8.248-2.376.68-5.071.64-7.93-.155-.725-.2-1.27-.8-1.4-1.54C55.635 13.338 44.361 3.907 31.14 3.907M74.902 100a25.16 25.16 0 0 1-15.642-5.471 25.24 25.24 0 0 1-8.538-12.89c-3.256-1.89-8.077-5.722-9.121-12.202a1.954 1.954 0 0 1 3.288-1.713c1.662 1.612 3.79 1.757 5.57 1.464 2.623-11.308 12.7-19.383 24.443-19.383 13.84 0 25.098 11.258 25.098 25.097S88.741 100 74.902 100M47.057 73.04c1.76 2.821 4.468 4.62 6.262 5.576.494.263.851.724.982 1.267 2.298 9.544 10.77 16.21 20.601 16.21 11.686 0 21.192-9.505 21.192-21.19S86.588 53.71 74.902 53.71c-10.287 0-19.061 7.338-20.861 17.448a1.95 1.95 0 0 1-1.401 1.54c-1.98.55-3.867.658-5.584.341"}),n.createElement("path",{d:"M66.602 76.953a1.97 1.97 0 0 1-1.381-.572A1.97 1.97 0 0 1 64.648 75c0-.513.21-1.018.573-1.38a1.97 1.97 0 0 1 1.38-.573c.514 0 1.018.209 1.382.572s.572.868.572 1.381-.21 1.018-.573 1.38a1.97 1.97 0 0 1-1.38.573M75 76.953a1.97 1.97 0 0 1-1.38-.572A1.97 1.97 0 0 1 73.046 75c0-.513.209-1.018.572-1.38A1.97 1.97 0 0 1 75 73.046c.513 0 1.018.209 1.38.572.364.363.573.868.573 1.381s-.209 1.018-.572 1.38a1.97 1.97 0 0 1-1.381.573M83.398 76.953a1.97 1.97 0 0 1-1.38-.572A1.97 1.97 0 0 1 81.445 75c0-.513.21-1.018.573-1.38a1.97 1.97 0 0 1 1.38-.573c.514 0 1.018.209 1.381.572.364.363.573.868.573 1.381s-.21 1.018-.573 1.38a1.97 1.97 0 0 1-1.38.573M43.197 28.32H16.992a1.953 1.953 0 1 1 0-3.906h26.205a1.953 1.953 0 0 1 0 3.906M34.375 37.695H16.992a1.953 1.953 0 1 1 0-3.906h17.383a1.953 1.953 0 1 1 0 3.906M43.198 37.695a1.98 1.98 0 0 1-1.384-.572 1.97 1.97 0 0 1-.57-1.38c0-.514.207-1.019.57-1.382a1.97 1.97 0 0 1 1.384-.572c.513 0 1.017.21 1.38.572.363.363.573.868.573 1.381 0 .514-.21 1.018-.573 1.381a1.97 1.97 0 0 1-1.38.572"}))),l||(l=n.createElement("defs",null,n.createElement("clipPath",{id:"talk-logo_svg__a"},n.createElement("rect",{width:"100%",height:"100%",fill:"#fff"})))))}},15925:(e,t,a)=>{"use strict";a.d(t,{R:()=>l});var r=a(42335);function l(e,t,a){let l=Array.isArray(e)?e[0]:null!=e?e:"en";return"/".concat(l,"/teachers/").concat((0,r.GO)(t,null!=a?a:""))}},17565:(e,t,a)=>{"use strict";a.d(t,{default:()=>j});var r,l=a(95155),n=a(12115),s=a(25016),o=a(39210),i=a(20063),c=a(46316),d=a(97470),u=a(15239),p=a(52619),m=a.n(p),f=a(24274);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let h=function(e){return n.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"
1currentColor",viewBox:"0 0 24 24"},e),r||(r=n.createElement("path",{d:"M3.691 6.292C5.094 4.771 7.217 4 10 4h1v2.819l-.804.161c-1.37.274-2.323.813-2.833 1.604A2.9 2.9 0 0 0 6.925 10H10a1 1 0 0 1 1 1v7c0 1.103-.897 2-2 2H3a1 1 0 0 1-1-1v-5l.003-2.919c-.009-.111-.199-2.741 1.688-4.789M20 20h-6a1 1 0 0 1-1-1v-5l.003-2.919c-.009-.111-.199-2.741 1.688-4.789C16.094 4.771 18.217 4 21 4h1v2.819l-.804.161c-1.37.274-2.323.813-2.833 1.604A2.9 2.9 0 0 0 17.925 10H21a1 1 0 0 1 1 1v7c0 1.103-.897 2-2 2"})))};var x=a(40448),v=a(39347),b=a(15925);let A=e=>{let{clientFullName:t,response:a,originalResponse:r,rating:o,className:c,guruAvatar:p,guruFullName:g,serviceId:A,dateComment:y}=e,{t:w}=(0,f.Bd)(),{slug:E}=(0,i.useParams)(),[_,j]=(0,n.useState)(!1);return(0,l.jsx)("div",{className:(0,s.cn)("h-fit w-full rounded-[20px] bg-white p-[24px] dark:bg-[#1A1A1D]",c),children:(0,l.jsxs)("div",{className:"flex flex-col gap-[24px]",children:[(0,l.jsx)("div",{className:"flex items-center gap-[4%] border-b-[1px] border-metal-150 pb-4 dark:border-metal-600",children:(0,l.jsxs)(m(),{href:(0,b.R)(E,A,null==g?void 0:g.split(/\s+/)[0]),className:"flex items-center gap-3 text-[20px] text-[#1A1A1D] transition-all duration-300 ease-out dark:text-white",children:[(0,l.jsx)("div",{className:"h-[40px] w-[40px]",children:(0,l.jsx)(u.default,{loader:()=>p||"",src:p||"",alt:t,width:40,height:40,className:"h-[40px] w-[40px] rounded-[50%] object-cover"})}),(0,l.jsxs)("span",{className:"text-[18px] text-metal-500 dark:text-metal-200",children:[w("LBL_HEADER_NAVBAR_GURU"),":"]})," ",(0,l.jsx)("span",{className:"font-medium text-metal-600 transition-all duration-300 ease-out group-hover:text-purple-600 dark:text-metal-100 group-hover:dark:text-purple-400",children:g})]})}),(0,l.jsxs)("div",{className:"relative flex w-full flex-col gap-[16px]",children:[(0,l.jsxs)("div",{className:"flex w-full flex-row gap-3",children:[(0,l.jsx)(h,{className:"h-7 w-7 text-[#cfdee6] dark:text-[#8b9ba2]"}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-1",children:[(0,l.jsx)("span",{className:"text-xl font-normal text-metal-400 dark:text-metal-200",children:_?r:a}),r!==a?(0,l.jsxs)("button",{onClick:()=>j(!_),className:"mt-2 flex items-center gap-2 text-blue-600",children:[(0,l.jsx)(d.A,{className:"h-[16px] w-[16px] text-blue-600"}),w(_?"LBL_TRANSLATE":"LBL_SHOW_ORIGINAL")]}):null]})]}),(0,l.jsxs)("div",{className:"flex w-full flex-col",children:[(0,l.jsxs)("div",{className:"flex w-full flex-row items-center justify-end gap-2",children:[(0,l.jsx)(x.A,{className:"text-metal-500"}),(0,l.jsx)("span",{className:"text-[18px] font-normal text-[#777989] dark:text-[#949599]",children:t}),(0,l.jsx)(v.A,{className:"fill-yellow-300 text-yellow-300"}),(0,l.jsx)("span",{className:"text-xl font-medium text-yellow-300",children:o})]}),(0,l.jsx)("span",{className:"text-end italic text-metal-300",children:y.split(" ")[0]})]})]})]})})};var y=a(35541),w=a(68122);let E=()=>(0,l.jsx)("div",{className:"h-fit w-full rounded-[20px] bg-white p-[24px] dark:bg-[#1A1A1D]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 border-b-[1px] border-metal-150 pb-4 dark:border-metal-600",children:[(0,l.jsx)(w.E,{className:"h-10 w-10 rounded-full bg-gray-300 dark:bg-gray-600"}),(0,l.jsx)(w.E,{className:"h-5 w-36 bg-gray-300 dark:bg-gray-600"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)(w.E,{className:"h-6 w-3/4 bg-gray-300 dark:bg-gray-600"}),(0,l.jsx)(w.E,{className:"h-6 w-1/2 bg-gray-300 dark:bg-gray-600"}),(0,l.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,l.jsx)(w.E,{className:"h-5 w-20 bg-gray-300 dark:bg-gray-600"}),(0,l.jsx)(w.E,{className:"h-5 w-6 bg-gray-300 dark:bg-gray-600"})]})]})]})});var _=a(29523);let j=()=>{let e=(0,y.U)("(max-width: 1024px)"),[t,a]=(0,n.useState)([]),[r,d]=(0,n.useState)(1),[u,p]=(0,n.useState)(0),[m,g]=(0,n.useState)(!1),{t:h}=(0,f.Bd)(),{slug:x}=(0,i.useParams)(),v="string"==typeof x&&(0,_.pV)(x)?x:(0,_.QC)("string"==typeof x?x:""),b=1===r?t.slice(1):t,w=async()=>{g(!0),await o.A.post("/api/middleware",{reqUrl:"/api/v1/reviews/main",method:"GET",page:1,limit:9,lang:v}).then(e=>{var t;(null==(t=e.data)?void 0:t.success)&&(p(e.data.data.pagination.total),a(e.data.data.items))}).catch(e=>{console.log(e)}).finally(()=>{g(!1)})};(0,n.useEffect)(()=>{w()},[v]);let j=async()=>{await o.A.post("/api/middleware",{reqUrl:"/api/v1/reviews/main?page=".concat(r+1),method:"GET",lang:v}).then(e=>{var t;if(null==(t=e.data)?void 0:t.success){let t=e.data.data.items;a(e=>[...e,...t]),d(e=>e+1)}}).catch(e=>{console.log(e)})},C=()=>(0,l.jsxs)("div",{className:(0,s.cn)("flex w-full flex-col items-center justify-center rounded-[20px] bg-white p-[24px] dark:bg-[#1A1A1D]","max-h-[135px]",e?"order-[-1]":"order-none"),children:[(0,l.jsx)("h3",{className:"text-[40px] font-bold text-[#978DF9] dar
1k:text-[#978DF9]",children:(0,c.Z)(u)}),(0,l.jsx)("span",{className:"text-[20px] font-normal",children:h("LBL_TESTIMONIALS")})]}),k=e=>Array.from({length:e},(e,t)=>(0,l.jsx)(E,{},"skeleton-".concat(t)));return(0,l.jsxs)("div",{className:"w-full",children:[e?(0,l.jsxs)("div",{className:"flex flex-col gap-[30px]",children:[C(),m?k(3):t.map((e,t)=>{var a,r;let n=e.client.last_name?"".concat(e.guru.first_name," ").concat(e.client.last_name[0],"."):e.guru.first_name,s=e.client.last_name?"".concat(e.client.first_name," ").concat(e.client.last_name[0],"."):e.client.first_name;return(0,l.jsx)(A,{guruAvatar:e.guru.avatar.origin_url,clientFullName:s,guruFullName:n,response:(null==e||null==(a=e.translated_message)?void 0:a.message)||"",originalResponse:(null==e||null==(r=e.origin_message)?void 0:r.message)||"",rating:e.rating.amount,serviceId:e.service_id,dateComment:e.date},t)})]}):(0,l.jsx)("div",{className:(0,s.cn)("grid gap-x-[30px]","grid-cols-2 lg:grid-cols-3"),children:m?k(3):((e,t)=>{let a=Array.from({length:t},()=>[]);return e.forEach((e,r)=>{a[r%t].push(e)}),a})(b,e?1:3).map((t,a)=>(0,l.jsx)("div",{className:"flex flex-col gap-[30px]",children:t.map((t,r)=>{var s,o;if(1===a+r*(e?1:3))return(0,l.jsx)(n.Fragment,{children:C()},"testimonials");let i=t.client.last_name?"".concat(t.guru.first_name," ").concat(t.client.last_name[0],"."):t.guru.first_name,c=t.client.last_name?"".concat(t.client.first_name," ").concat(t.client.last_name[0],"."):t.client.first_name;return(0,l.jsx)(A,{guruAvatar:t.guru.avatar.origin_url,clientFullName:c,guruFullName:i,response:(null==t||null==(s=t.translated_message)?void 0:s.message)||"",originalResponse:(null==t||null==(o=t.origin_message)?void 0:o.message)||"",rating:t.rating.amount,serviceId:t.service_id,dateComment:t.date},"".concat(a,"-").concat(r))})},a))}),(0,l.jsx)("div",{className:"mt-[32px] flex flex-col items-center",children:(0,l.jsx)("button",{className:"flex h-[64px] w-full items-center justify-center gap-2 rounded-lg bg-purple-600 px-4 text-xl font-semibold text-white transition-colors hover:bg-purple-900 md:w-fit",onClick:j,disabled:m,children:h("LBL_VIEW_ALL_REVIEWS")})})]})}},29093:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r,l,n=a(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),r||(r=n.createElement("g",{clipPath:"url(#simple-gift-logo_svg__a)"},n.createElement("path",{fill:"#62A09A",d:"M43.781 11.25H38.06a7 7 0 0 0 1.41-4.219A7.04 7.04 0 0 0 32.437 0c-2.335 0-4.057.837-5.42 2.633C25.879 4.136 25.046 6.235 24 8.886c-1.045-2.651-1.878-4.75-3.018-6.253C19.62.837 17.898 0 15.562 0a7.04 7.04 0 0 0-7.03 7.031c0 1.582.525 3.043 1.41 4.219H4.218A4.224 4.224 0 0 0 0 15.469v2.812a4.225 4.225 0 0 0 2.813 3.977v21.523A4.224 4.224 0 0 0 7.03 48H40.97a4.223 4.223 0 0 0 4.218-4.219V22.258A4.225 4.225 0 0 0 48 18.281V15.47a4.224 4.224 0 0 0-4.219-4.219m-17.2-1.243c2.155-5.466 2.974-7.194 5.857-7.194a4.224 4.224 0 0 1 4.218 4.218 4.224 4.224 0 0 1-4.218 4.219h-6.349q.26-.651.492-1.243M15.563 2.813c2.882 0 3.701 1.728 5.856 7.194l.492 1.243h-6.349a4.224 4.224 0 0 1-4.218-4.219 4.224 4.224 0 0 1 4.219-4.218m2.812 42.375H7.031c-.775 0-1.406-.631-1.406-1.407V22.5h12.75zm0-25.5H4.219c-.776 0-1.407-.631-1.407-1.407V15.47c0-.776.631-1.406 1.407-1.406h14.156zm8.438 25.5h-5.625V14.061h5.625zm15.562-1.407c0 .776-.63 1.407-1.406 1.407H29.625V22.5h12.75zm2.813-25.5c0 .776-.631 1.407-1.407 1.407H29.625v-5.625h14.156c.776 0 1.407.63 1.407 1.406z"}))),l||(l=n.createElement("defs",null,n.createElement("clipPath",{id:"simple-gift-logo_svg__a"},n.createElement("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))}},29523:(e,t,a)=>{"use strict";a.d(t,{QC:()=>n,pV:()=>l});let r=["en","fr","de","it","ja","ko","pl","pt","ru","tr","ua","zh","he","ar","es","hi"];function l(e){return r.includes(e)}function n(e){return e&&l(e)?e:"en"}},32260:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r,l,n=a(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:49,height:48,fill:"none"},e),r||(r=n.createElement("g",{fill:"#62A09A",clipPath:"url(#clock-logo_svg__a)"},n.createElement("path",{d:"M41.637 7.03A23.84 23.84 0 0 0 24.667 0a23.84 23.84 0 0 0-16.97 7.03A23.84 23.84 0 0 0 .666 24c0 6.41 2.496 12.438 7.03 16.97A23.84 23.84 0 0 0 24.666 48c6.41 0 12.437-2.496 16.97-7.03A23.84 23.84 0 0 0 48.667 24c0-6.41-2.497-12.438-7.03-16.97m-16.97 38.158C12.984 45.188 3.479 35.683 3.479 24S12.984 2.813 24.667 2.813 45.854 12.317 45.854 24 36.35 45.188 24.667 45.188"}),n.createElement("path",{d:"M24.667 6.055C14.77 6.055 6.72 14.105 6.72 24c0 9.895 8.05 17.945 17.946 17.945 9.895 0 17.945-8.05 17.945-17.945 0-9.896-8.05-17.946-17.945-17.946m0 33.079c-8.345 0-15.134-6.789-15.134-15.134 0-8.344 6.79-15.133 15.134
1-15.133S39.8 15.656 39.8 24c0 8.345-6.789 15.134-15.133 15.134"}),n.createElement("path",{d:"M26.073 23.514v-5.06a1.406 1.406 0 1 0-2.813 0V24c0 .315.106.621.3.869l5.274 6.712a1.404 1.404 0 0 0 1.974.237c.61-.48.717-1.364.237-1.974z"}))),l||(l=n.createElement("defs",null,n.createElement("clipPath",{id:"clock-logo_svg__a"},n.createElement("path",{fill:"#fff",d:"M.667 0h48v48h-48z"})))))}},37560:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r,l,n=a(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),r||(r=n.createElement("g",{fill:"#62A09A",clipPath:"url(#star-logo_svg__a)"},n.createElement("path",{d:"M47.045 22.774c-2.81-1.126-5.47-3.236-7.696-6.101-2.27-2.922-4.1-6.646-5.29-10.77l-1.364-4.717a1.402 1.402 0 0 0-2.693 0l-1.364 4.718c-1.19 4.123-3.02 7.847-5.29 10.769-2.226 2.865-4.887 4.975-7.696 6.1a1.402 1.402 0 0 0-.04 2.586l.435.191c5.577 2.441 10.135 8.454 12.505 16.495l1.452 4.927a1.402 1.402 0 0 0 2.69 0l1.45-4.927c2.37-8.041 6.928-14.054 12.506-16.495l.435-.19a1.402 1.402 0 0 0-.04-2.586m-15.59 18.479-.107.363-.107-.363c-2.307-7.83-6.595-13.95-11.95-17.173 2.29-1.379 4.423-3.308 6.271-5.687 2.486-3.2 4.48-7.25 5.77-11.711l.016-.057.017.057c1.289 4.46 3.284 8.51 5.77 11.71 1.847 2.38 3.981 4.31 6.271 5.688-5.355 3.223-9.643 9.343-11.95 17.173M1.83 13.972l.218.095c2.607 1.142 4.751 3.996 5.881 7.83l.728 2.472a1.402 1.402 0 0 0 2.69 0l.728-2.471c1.13-3.835 3.274-6.69 5.882-7.83l.218-.096a1.402 1.402 0 0 0-.04-2.586c-2.683-1.076-4.964-4.069-6.102-8.007l-.684-2.366a1.402 1.402 0 0 0-2.694 0l-.683 2.366c-1.138 3.938-3.42 6.931-6.102 8.007a1.402 1.402 0 0 0-.04 2.586m8.172-7.875c1.127 2.829 2.786 5.105 4.794 6.596-2.008 1.501-3.671 3.793-4.794 6.621-1.123-2.828-2.786-5.12-4.793-6.62 2.008-1.492 3.667-3.768 4.793-6.597M12.589 37.445c-1.746-.7-3.239-2.678-3.994-5.293l-.476-1.646a1.402 1.402 0 0 0-2.693 0l-.476 1.646C4.194 34.767 2.7 36.745.956 37.445a1.402 1.402 0 0 0-.04 2.586l.151.066c1.674.733 3.114 2.669 3.854 5.178l.507 1.72a1.402 1.402 0 0 0 2.69 0l.506-1.72c.74-2.51 2.18-4.445 3.853-5.178l.152-.066a1.402 1.402 0 0 0-.04-2.586m-5.817 4.852c-.694-1.437-1.598-2.645-2.652-3.545 1.054-.895 1.957-2.096 2.652-3.532.695 1.436 1.598 2.637 2.652 3.532-1.054.9-1.957 2.107-2.652 3.545"}))),l||(l=n.createElement("defs",null,n.createElement("clipPath",{id:"star-logo_svg__a"},n.createElement("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))}},39347:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},39450:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var r,l,n,s=a(12115);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let i=function(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100"},e),r||(r=s.createElement("path",{fill:"#62A09A",d:"m88.176 39.382-.016-.066a1.953 1.953 0 0 0-3.791.939l.012.047a1.953 1.953 0 1 0 3.795-.92M36.463 63.721c-4.856-2.93-7.755-8.06-7.755-13.722 0-1.75.28-3.47.833-5.112a1.953 1.953 0 1 0-3.701-1.246 19.9 19.9 0 0 0-1.037 6.358c0 7.043 3.604 13.423 9.642 17.067a1.952 1.952 0 1 0 2.018-3.345M58.376 35.494a19.84 19.84 0 0 0-13.654-5.415c-2.386 0-4.721.418-6.94 1.243a1.953 1.953 0 0 0 1.361 3.661 16 16 0 0 1 5.58-.998 15.95 15.95 0 0 1 10.975 4.352 1.948 1.948 0 0 0 2.76-.083 1.953 1.953 0 0 0-.082-2.76"})),l||(l=s.createElement("path",{fill:"#62A09A",d:"M98.047 50.587H83.355v-4.04a3.566 3.566 0 0 0-3.562-3.562H77.17a33.04 33.04 0 0 0-8.973-16.462 33.24 33.24 0 0 0-29.432-9.189 1.953 1.953 0 0 0 .698 3.843 29.33 29.33 0 0 1 25.972 8.108 29.16 29.16 0 0 1 7.73 13.7H62.505a3.566 3.566 0 0 0-3.562 3.562v4.04H44.25a1.953 1.953 0 0 0-1.953 1.953v11.98a6.93 6.93 0 0 0 1.877 4.746v10.022c-7.619-.13-14.734-3.144-20.165-8.575a29.25 29.25 0 0 1-7.99-26.585 1.953 1.953 0 1 0-3.827-.78c-2.231 10.964 1.154 22.225 9.055 30.126 6.079 6.08 14.359 9.57 22.927 9.717v7.077q0 .275.034.54c-22.27-.277-40.302-18.475-40.302-40.81a40.74 40.74 0 0 1 5.15-19.86l6.59 6.62
11c.366.368.864.575 1.383.575h12.284l12.041 12.042c.382.381.882.572 1.381.572a1.953 1.953 0 0 0 1.38-3.334l-12.04-12.042V22.29c0-.519-.207-1.016-.575-1.383l-6.607-6.591a40.74 40.74 0 0 1 19.829-5.133c15.843 0 30.386 9.292 37.052 23.672a1.953 1.953 0 1 0 3.544-1.643 44.8 44.8 0 0 0-16.212-18.708 44.55 44.55 0 0 0-24.384-7.227 44.63 44.63 0 0 0-22.695 6.18l-5.62-5.607a1.953 1.953 0 0 0-3.333 1.382V18.3H1.972a1.953 1.953 0 0 0-1.384 3.33L6.2 27.269A44.63 44.63 0 0 0 0 49.998c0 11.946 4.652 23.177 13.099 31.624S32.777 94.72 44.722 94.72l48.946.002a4.46 4.46 0 0 0 4.455-4.456v-21a6.9 6.9 0 0 0 1.877-4.75V52.538a1.953 1.953 0 0 0-1.953-1.953M16.98 11.938 28.17 23.1v7.56L16.98 19.444zm-2.763 10.267 11.19 11.223H17.84L6.671 22.205zM62.848 46.89h16.6v3.697h-16.6zm31.37 34.551H81.4a1.953 1.953 0 0 0 0 3.906h12.816v4.92a.55.55 0 0 1-.549.55H51.023l-.042-.002h-2.373a.55.55 0 0 1-.529-.548V71.376a7 7 0 0 0 1.175.1H65.36a5.84 5.84 0 0 0 5.788 5.134 5.84 5.84 0 0 0 5.79-5.147l16.1.01h.005q.597-.001 1.174-.1zM69.222 70.778v-3.433h3.851v3.433a1.93 1.93 0 0 1-1.925 1.926 1.93 1.93 0 0 1-1.926-1.926m26.871-6.262a3.03 3.03 0 0 1-.894 2.159 3.03 3.03 0 0 1-2.157.893h-.002l-16.061-.01v-1.79a2.33 2.33 0 0 0-2.329-2.329h-7.006a2.33 2.33 0 0 0-2.328 2.329v1.803H49.254a3.055 3.055 0 0 1-3.051-3.052V54.492h49.89z"})),n||(n=s.createElement("path",{fill:"#62A09A",d:"M73.214 82.015a1.97 1.97 0 0 0-1.381-.573c-.516 0-1.017.21-1.383.573-.363.363-.57.867-.57 1.38 0 .514.207 1.018.57 1.38.366.364.868.573 1.383.573a1.97 1.97 0 0 0 1.38-.572c.364-.363.573-.867.573-1.38 0-.514-.21-1.018-.572-1.381"})))}},40448:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("circle-user-round",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},42335:(e,t,a)=>{"use strict";a.d(t,{GO:()=>n});let r="teacher",l={а:"a",б:"b",в:"v",г:"g",Ò:"g",д:"d",е:"e",Ñ:"ie",Ñ:"yo",ж:"zh",з:"z",и:"y",Ñ:"i",Ñ:"yi",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",Ñ:"r",Ñ:"s",Ñ:"t",Ñ:"u",Ñ:"f",Ñ
:"kh",Ñ:"ts",Ñ:"ch",Ñ:"sh",Ñ:"shch",Ñ:"",Ñ:"y",Ñ:"",Ñ:"e",Ñ:"yu",Ñ:"ya"};function n(e,t){let a="number"==typeof e?e:Number.parseInt(String(e),10);if(!Number.isFinite(a)||a<=0)throw Error("buildTeacherSlug: invalid serviceId ".concat(e));let n=t?Array.from(t.toLowerCase().trim().normalize("NFKD").replace(/[\u0300-\u036f]/g,"")).map(e=>{var t;return null!=(t=l[e])?t:e}).join("").replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""):"";return n?"".concat(a,"-").concat(r,"-").concat(n):"".concat(a,"-").concat(r)}},50479:(e,t,a)=>{"use strict";a.d(t,{at:()=>C,cf:()=>k});var r=a(95155),l=a(25016),n=a(12115),s=a(70682),o=a(90368),i=a(27937),c=a(80168),d=a(26467),u=a(58576),p=a(59281),m=a(72473),f=a(84639),g=a(93366),h=a(16429),x=a(92381),v=a(72378),b=a(10942),A=a(27346),y=a(6831);function w(e,t){let a=function(e){let[t,a]=e.split(":").map(Number);return 60*t+a}(e)+t,r=Math.floor(a/60)%24;return"".concat(String(r).padStart(2,"0"),":").concat(String(a%60).padStart(2,"0"))}function E(e,t){if(!e.isAvailable)return!1;let a=t.find(t=>t.time===w(e.time,30));return!(e.fitsLongLesson&&(null==a?void 0:a.isAvailable))}let _=(0,n.createContext)(null),j=()=>{let e=(0,n.useContext)(_);if(!e)throw Error("useHgCalendarContext doesn't exist");return e},C=Object.assign(function(e){let{className:t,isLocalTime:a=!1,periodsTime:o=[],availableDates:i,scheduleDate:d,handleGetStartDate:u,fetchPage:p,currentDate:f,isLongTime:g=!1,blockTrialOnly:h=!0,highlightMyGuruBookings:x=!0,skipLayoutCalendarFetch:A=!1,...y}=e,[w,E]=(0,n.useState)(new Date),[j,C]=(0,n.useState)(null),[k,N]=(0,n.useState)(!1),F=(0,c.use18nCustomProvider)(),{handleFetchCalendar:S}=(0,b.l)(),{activeTimeZone:M}=(0,b.l)(),D=async(e,t,a)=>{if("available"===t&&!k){if(j===e){C(null),N(!0);try{await d(void 0)}finally{N(!1)}return}C(e),N(!0);try{await d(new Date(a))}finally{N(!1)}}};(0,n.useEffect)(()=>{let e=(0,m.GP)(w,"yyyy-MM-dd");if(!A){var t;S(null!=(t=null==F?void 0:F.timezone)?t:"UTC",e)}u&&u(e)},[w,A,S,u,null==F?void 0:F.timezone]);let H=v.A.get("timeZone");return(0,n.useEffect)(()=>{let e=H||(null==F?void 0:F.timezone)||M;if(e){let t=(0,s.L_)(new Date,e);t.setHours(12,0,0,0),E(t)}},[H,M,null==F?void 0:F.timezone]),(0,r.jsx)(_.Provider,{value:{startDate:w,handleDateChange:e=>{E(t=>{let a=new Date(t);return a.setDate(t.getDate()+("next"===e?7:-7)),a.setHours(12,0,0,0),p&&p((0,m.GP)(a,"yyyy-MM-dd")),a})},availableDates:i,selectedDate:j,handleCellClick:D,isLocalTime:a,periodsTime:o,currentStartDate:f,isLongTime:g,isProcessing:k,blockTrialOnly:h,highlightMyGuruBookings:x},children:(0,r.jsx)("div",{className:(0,l.cn)("flex flex-col rounded-lg border bg-white p-6 dark:bg-black",t),...y})})},{Navigation:function(e){let{className:t}=e,{startDate:a,handleDateChange:n,isLocalTime:d}=j(),u=v.A.get("userLangCode"),{userTime:p,userGmt:m}=(0,y.w)(),f=(0,c.use18nCustomProvider)(),{activeTimeZone:g}=(0,b.l)(),h=(null==f?void 0:f.timezone)||g,x=(0,s.L_)(new Date,h);return(0,r.jsxs)("div",{className:(0,l.cn)("flex flex-col items-center justify-center gap-2 text-metal-900 dark:text-white",t),children:[(0,r.jsxs)("div",{className:"justify-beetween flex w-full flex-row items-center gap-[24px]",children:[(0,r.jsx)(o.A,{className:(0,l.cn)("h-8 w-8 transform cursor-pointer stroke-current transition-transform duration-200 hover:scale-125 active:scale-75 rtl:rotate-180",a.toDateString()===x.toDateString()?"cursor-not-allowed opacity-50":""),onClick:()=>a.toDateString()!==x.toDateString()&&n("prev")}),(0,r.jsxs)("span",{className:"text-md w-full select-none text-nowrap text-center font-[600] capitalize md:text-lg lg:text-xl xl:text-2xl",children:[a.toLocaleDateString(u,{month:"short",day:"2-digit"})," - ",(()=>{let e=new Date(a);e.setDate(a.getDate()+6);let t=a.toLocaleDateString(u,{month:"short"}),r=e.toLocaleDateString(u,{month:"short"}),l=e.toLocaleDateString(u,{day:"2-digit"}),n=e.toLocaleDateString(u,{year:"numeric"});return t===r?"".concat(l,", ").concat(n):"".concat(l," ").concat(r," ").concat(n)})()]}),(0,r.jsx)(i.A,{className:"h-8 w-8 transform cursor-pointer stroke-current transition-transform duration-200 hover:scale-125 active:scale-75 rtl:rotate-180",onClick:()=>n("next")})]}),(0,r.jsx)("div",{children:d?(0,r.jsxs)("span",{className:"text-base text-metal-400",children:["My time: ",p," (",m,")"]}):null})]})},Header:function(e){let{className:t}=e,{startDate:a}=j(),n=v.A.get("userLangCode");return(0,r.jsx)("div",{className:(0,l.cn)("mb-[1px] grid grid-cols-[repeat(7,1fr)] gap-1 mobile:mb-[2px] mobile:gap-2",t),children:Array.from({length:7}).map((e,t)=>{let l=new Date(a);return l.setDate(a.getDate()+t),(0,r.jsxs)(N,{status:"day",className:"px-0",children:[(0,r.jsx)("span",{className:"text-[10px] font-[600] smobile:text-xs mobile:text-sm",children:l.toLocaleDateString(n,{weekday:"short"}).replace(/^./,e=>e.toUpperCase())}),(0,r.jsx)("span",{className:"text-xs font-[600] text-turquoise-600 dar
1k:text-turquoise-500 mobile:text-sm",children:l.getDate()})]},t)})})},Body:function(e){let{className:t}=e,{startDate:a,availableDates:o,handleCellClick:i,currentStartDate:d}=j(),u=(0,c.use18nCustomProvider)(),p=(0,n.useRef)(null),m=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(p.current){let e=p.current.querySelector("[data-radix-scroll-area-viewport]");e&&(m.current=e,m.current.scrollTo({top:0,behavior:"smooth"}))}},[a]),(0,r.jsx)(A.F,{ref:p,className:(0,l.cn)("h-[440px] rounded-lg",t),children:(0,r.jsx)("div",{className:"mt-1 grid grid-cols-[repeat(7,1fr)] gap-1 mobile:mt-2 mobile:gap-2",children:Array.from({length:34}).map((e,t)=>(0,r.jsx)(n.Fragment,{children:Array.from({length:7}).map((e,n)=>{var c,p;let m,f=Math.floor(t/2)+7,g=t%2==0?"00":"30",h=7*t+n,x=new Date(a);x.setDate(a.getDate()+n);let v=x.getFullYear(),b=String(x.getMonth()+1).padStart(2,"0"),A=String(x.getDate()).padStart(2,"0"),y=String(f).padStart(2,"0"),w="".concat(v,"-").concat(b,"-").concat(A," ").concat(y,":").concat(g,":00"),E=null==o?void 0:o.find(e=>"slot"in e?e.slot===w:e.start_date===w);m=E?"available":"unavailable",new Date(E&&"slot"in E?E.slot:null!=(c=null==E?void 0:E.start_date)?c:"")<=(0,s.L_)(new Date,null!=(p=null==u?void 0:u.timezone)?p:"")&&(m="unavailable");let _=new Date(w).getTime()===(null==d?void 0:d.getTime())?"selected":m;return(0,r.jsx)(N,{status:_,className:(0,l.cn)("px-0","available"===m&&"hover:opacity-80"),onClick:()=>i(h,m,w),children:"".concat(f,":").concat(g).padStart(5,"0")},h)})},t))})})},GuruBody:function(e){let{className:t}=e,{startDate:a,handleCellClick:s,periodsTime:o,isLongTime:i,blockTrialOnly:y,highlightMyGuruBookings:_}=j(),[C,k]=(0,n.useState)([]),[F,S]=(0,n.useState)([]),[M,D]=(0,n.useState)([]),[H,O]=(0,n.useState)(()=>new Map),[P,z]=(0,n.useState)(null),R=(0,n.useRef)(null),L=(0,n.useRef)(null),U=(0,n.useRef)(a);U.current=a;let B=(0,c.use18nCustomProvider)(),{activeTimeZone:I}=(0,b.l)(),V=v.A.get("timeZone")||(null==B?void 0:B.timezone)||I;function G(e){let t=new Date(U.current);t.setHours(12,0,0,0);let a=[];for(let r=0;r<7;r++){let l=new Date(t);l.setDate(t.getDate()+r);let n=[];for(let{start_date:t,end_date:a}of e){let e=new Date(t),r=new Date(a),s=new Date(e),o=new Date(r.getTime()-18e5);for(;s<=o;){if(s.getFullYear()===l.getFullYear()&&s.getMonth()===l.getMonth()&&s.getDate()===l.getDate()){let e=s.getHours().toString().padStart(2,"0"),t=s.getMinutes().toString().padStart(2,"0");n.push("".concat(e,":").concat(t))}s=new Date(s.getTime()+18e5)}}a.push({day:l.getDay(),busyHours:n})}return a}return(0,n.useEffect)(()=>{k([]),S([]),D([]),O(new Map)},[a]),(0,n.useEffect)(()=>{var e,t;if(!(null==o?void 0:o.time))return;let a=U.current,r=a.getDay(),l=null!=(e=o.extra_time)?e:[];O(function(e,t){var a;let r=new Map,l=(e,t)=>{let a=r.get(e);(!a||t.getTime()<a.getTime())&&r.set(e,t)};for(let a of e.time){let e=function(e,t){let a=new Date(e),r=(t-a.getDay()+7)%7;return a.setDate(a.getDate()+r),a}(t,a.day_number);for(let t of a.periods){let[r,n]=t.start_time.split(":").map(Number),[s,o]=t.end_time.split(":").map(Number);for(;r<s||r===s&&n<=o;){let t="".concat(String(r).padStart(2,"0"),":").concat(String(n).padStart(2,"0")),i=new Date(e);i.setHours(s,o,0,0),i.setMinutes(i.getMinutes()+30),l("".concat(a.day_number,"-").concat(t),i),(n+=30)>=60&&(n-=60,r++)}}}for(let t of null!=(a=e.extra_time)?a:[]){let e=(0,d.H)(t.end_date),a=(0,d.H)(t.start_date);for(;(0,u.Y)(a,e);){let t=(0,p.P)(a),r=(0,m.GP)(a,"HH:mm");l("".concat(t,"-").concat(r),new Date(e.getTime())),a=(0,f.z)(a,30)}}return r}(o,a));let n=function(e){let t=new Set(e.map(e=>e.day_number)),a=[...e];for(let e=0;e<7;e++)t.has(e)||a.push({day_number:e,periods:[]});return a.sort((e,t)=>e.day_number-t.day_number)}(o.time.map(e=>{let{slots:t,trialOnlySlots:a}=((e,t)=>{let a=[],r=[];e.forEach(e=>{let{start_time:l,end_time:n,availability_type:s}=e,[o,i]=l.split(":").map(Number),[c,d]=n.split(":").map(Number),u=1===s;for(;o<c||o===c&&i<=d;){let e="".concat(String(o).padStart(2,"0"),":").concat(String(i).padStart(2,"0"));a.push(e),u&&r.push(e),(i+=t)>=60&&(i-=60,o++)}});let l=e=>
1{let[t,a]=e.split(":").map(Number);return 60*t+a};return{slots:[...new Set(a)].sort((e,t)=>l(e)-l(t)),trialOnlySlots:[...new Set(r)]}})(e.periods,30);return{...e,periods:t,trialOnlySlots:a}}));k(function(e,t,a){let r=(0,g.o)(a),l=(0,h.D)((0,x.f)(a,6)),n=[...e];return t.forEach(e=>{let{start_date:t,end_date:a,availability_type:s}=e,o=(0,d.H)(t),i=(0,d.H)(a),c=1===s;i<=r||o>=l||(function(e,t){let a=new Map,r=new Date(e);for(;(0,u.Y)(r,t);){let e=(0,p.P)(r),t=(0,m.GP)(r,"HH:mm");a.has(e)||a.set(e,[]),a.get(e).push(t),r=(0,f.z)(r,30)}return a})(o,i).forEach((e,t)=>{let a=n.find(e=>e.day_number===t);a||(a={day_number:t,periods:[],trialOnlySlots:[]},n.push(a)),e.forEach(e=>{var t;a.periods.includes(e)||a.periods.push(e),!c||(null==(t=a.trialOnlySlots)?void 0:t.includes(e))||(a.trialOnlySlots||(a.trialOnlySlots=[]),a.trialOnlySlots.push(e))})})}),n.forEach(e=>{e.periods.sort((e,t)=>e.localeCompare(t))}),n}([...n.slice(r),...n.slice(0,r)],l,a)),S(G(o.guru_time)),D(G(null!=(t=o.client_guru_time)?t:[]))},[o,V,a]),(0,n.useEffect)(()=>{if(R.current){let e=R.current.querySelector("[data-radix-scroll-area-viewport]");e&&(L.current=e,L.current.scrollTo({top:0,behavior:"smooth"}))}},[a]),(0,r.jsx)(A.F,{ref:R,className:(0,l.cn)("h-[440px] rounded-lg",t),children:(0,r.jsx)("div",{className:"mt-1 grid grid-cols-7 gap-1 mobile:mt-2 mobile:gap-2",children:C.map((e,t)=>{var n,o,c;let d=new Date(a);d.setDate(a.getDate()+t);let u=null==F?void 0:F.find(t=>t.day===e.day_number),p=new Set(null!=(n=null==u?void 0:u.busyHours)?n:[]),m=null==M?void 0:M.find(t=>t.day===e.day_number),g=new Set(null!=(o=null==m?void 0:m.busyHours)?o:[]),h=y?new Set(null!=(c=e.trialOnlySlots)?c:[]):new Set,x=e.periods.map((a,r)=>{let[l,n]=a.split(":"),s=d.getFullYear(),o=String(d.getMonth()+1).padStart(2,"0"),c=String(d.getDate()).padStart(2,"0"),u="".concat(s,"-").concat(o,"-").concat(c," ").concat(l,":").concat(n,":00"),m=p.has(a),x=h.has(a),v=_&&m&&g.has(a),b=new Date(d);b.setHours(Number(l),Number(n),0,0);let A=H.get("".concat(e.day_number,"-").concat(a));return{time:a,rowIndex:r,colIndex:t,formattedDate:u,isAvailable:!m,isTrialOnly:x,fitsLongLesson:!i||null==A||(0,f.z)(b,55).getTime()<=A.getTime(),isMyGuruBookingSlot:v}});return(0,r.jsx)("div",{className:"flex flex-col gap-1 mobile:gap-2",children:x.map((e,t)=>{let a,{rowIndex:n,colIndex:o,time:c,isAvailable:d,isTrialOnly:u,formattedDate:p,fitsLongLesson:m,isMyGuruBookingSlot:f}=e,g=7*n+o,h="";if(i&&d&&null!==P){let a=x.find(e=>7*e.rowIndex+e.colIndex===P);if(null==a?void 0:a.isAvailable){let r=a.rowIndex,l=w(a.time,30);t===r&&(h=E(a,x)?"bg-red-400 dark:bg-red-400 text-white dark:text-white":"bg-purple-900 dark:bg-purple-800 text-white"),c===l&&e.isAvailable&&a.fitsLongLesson&&(h="bg-purple-900 dark:bg-purple-800 text-white")}}return a=f?"my_booking":u?"trial_only":d?i&&E({isAvailable:d,fitsLongLesson:m,time:c},x)?"long_blocked":"available":"unavailable",(0,r.jsx)(N,{onMouseEnter:()=>i&&z(g),onMouseLeave:()=>i&&z(null),status:a,className:(0,l.cn)("px-0 transition-colors","available"===a&&"cursor-pointer","trial_only"!==a&&"my_booking"!==a&&!i&&"hover:bg-purple-900 hover:text-white dark:hover:bg-purple-800",i&&h,h.includes("bg-red-400")&&"cursor-default"),onClick:"long_blocked"===a||"my_booking"===a||h.includes("bg-red-400")?()=>{}:()=>s(g,a,p),children:c},"".concat(p,"-").concat(c))})},t)})})})}});function k(e){let{availableDates:t,scheduleDate:a,currentDate:l,className:n,handleGetStartDate:s,skipLayoutCalendarFetch:o=!1}=e;return(0,r.jsxs)(C,{className:n,availableDates:t,currentDate:l,scheduleDate:a,handleGetStartDate:s,skipLayoutCalendarFetch:o,children:[(0,r.jsx)(C.Navigation,{}),(0,r.jsx)(C.Header,{}),(0,r.jsx)(C.Body,{})]})}function N(e){let{children:t,className:a,status:n,onClick:s,...o}=e,{isProcessing:i}=j();return(0,r.jsx)("button",{className:(0,l.cn)("flex cursor-default flex-col items-center justify-center rounded-[8px] px-6 py-3 text-[8px] font-[700] smobile:text-[12px] mobile:text-[14px] sm:text-[16px]",(e=>{switch(e){case"available":return"bg-purple-200 dark:bg-purple-900 text-purple-600 dark:text-purple-400 cursor-pointer";case"long_blocked":return"bg-purple-200/70 dark:bg-purple-900/55 text-purple-600/50 dark:text-purple-400/50 border border-purple-500/10 dark:border-purple-400/10 cursor-default";case"unavailable":return"bg-metal-100 text-metal-400 dark:bg-metal-700 dark:text-metal-300";case"selected":return"bg-purple-600 text-white cursor-pointer";case"trial_only":return"bg-metal-100 text-metal-400 dark:bg-metal-700 dark:text-metal-300 cursor-not-allowed";case"my_booking":return"bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-400 cursor-default";
1case"day":return"bg-turquoise-100 dark:bg-turquoise-800 text-turquoise-600 dark:text-turquoise-500";default:return"bg-black text-white"}})(n),i&&"cursor-not-allowed opacity-50",a),onClick:s,disabled:i,...o,children:t})}},51539:(e,t,a)=>{"use strict";a.d(t,{Accordion:()=>i,AccordionContent:()=>u,AccordionItem:()=>c,AccordionTrigger:()=>d});var r=a(95155),l=a(12115),n=a(58609),s=a(24033),o=a(25016);let i=n.bL,c=l.forwardRef((e,t)=>{let{className:a,...l}=e;return(0,r.jsx)(n.q7,{ref:t,className:(0,o.cn)("",a),...l})});c.displayName="AccordionItem";let d=l.forwardRef((e,t)=>{let{className:a,children:l,...i}=e;return(0,r.jsx)(n.Y9,{className:"flex",children:(0,r.jsxs)(n.l9,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between text-left text-lg font-medium transition-all [&[data-state=open]>svg]:rotate-180",a),...i,children:[l,(0,r.jsx)(s.A,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});d.displayName=n.l9.displayName;let u=l.forwardRef((e,t)=>{let{className:a,children:l,...s}=e;return(0,r.jsx)(n.UC,{ref:t,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...s,children:(0,r.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",a),children:l})})});u.displayName=n.UC.displayName},57259:(e,t,a)=>{"use strict";a.d(t,{Ke:()=>E,Nt:()=>A,R6:()=>y,UC:()=>N,bL:()=>C,l9:()=>k,z3:()=>x});var r=a(12115),l=a(92556),n=a(3468),s=a(86182),o=a(4129),i=a(94446),c=a(97602),d=a(76842),u=a(68946),p=a(95155),m=Object.defineProperty,f=(e,t)=>m(e,"name",{value:t,configurable:!0}),g="Collapsible",[h,x]=(0,n.A)(g),[v,b]=h(g),A=r.forwardRef(f(function(e,t){let{__scopeCollapsible:a,open:l,defaultOpen:n,disabled:o,onOpenChange:i,...d}=e,[m,f]=(0,s.i)({prop:l,defaultProp:null!=n&&n,onChange:i,caller:g});return(0,p.jsx)(v,{scope:a,disabled:o,contentId:(0,u.B)(),open:m,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),children:(0,p.jsx)(c.sG.div,{"data-state":j(m),"data-disabled":o?"":void 0,...d,ref:t})})},"Collapsible")),y=r.forwardRef(f(function(e,t){let{__scopeCollapsible:a,...r}=e,n=b("CollapsibleTrigger",a);return(0,p.jsx)(c.sG.button,{type:"button","aria-controls":n.open?n.contentId:void 0,"aria-expanded":n.open||!1,"data-state":j(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...r,ref:t,onClick:(0,l.mK)(e.onClick,n.onOpenToggle)})},"CollapsibleTrigger")),w="CollapsibleContent",E=r.forwardRef(f(function(e,t){let{forceMount:a,...r}=e,l=b(w,e.__scopeCollapsible);return(0,p.jsx)(d.C,{present:a||l.open,children:e=>{let{present:a}=e;return(0,p.jsx)(_,{...r,ref:t,present:a})}})},"CollapsibleContent")),_=r.forwardRef(f(function(e,t){let{__scopeCollapsible:a,present:l,children:n,...s}=e,d=b(w,a),[u,m]=r.useState(l),f=r.useRef(null),g=(0,i.s)(t,f),h=r.useRef(0),x=h.current,v=r.useRef(0),A=v.current,y=d.open||u,E=r.useRef(y),_=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.N)(()=>{let e=f.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,v.current=t.width,E.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),m(l)}},[d.open,l]),(0,p.jsx)(c.sG.div,{"data-state":j(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y,...s,ref:g,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":A?"".concat(A,"px"):void 0,...e.style},children:y&&n})},"CollapsibleContentImpl"));function j(e){return e?"open":"closed"}f(j,"getState");var C=A,k=y,N=E},57561:(e,t,a)=>{"use strict";a.d(t,{HomeHeroFlags:()=>c});var r=a(95155),l=a(15239),n=a(39026);let s={src:"/_next/static/media/books.2aa15cda.png",height:230,width:442,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAATlBMVEW/us58x7re4r+zz8b+3rjfysBMaXHh3sPi7e+tqLrXu5xNQbuefXt3///j1I4jIMHi0JzP4d/bzMXGw9jf5d/i7tB3yr7yyWxuaLfls22t3SdoAAAAE3RSTlP+wcb9d+UA/v6f/PSfD5ZH/WD+SmX6/AAAAAlwSFlzAAALEwAACxMBAJqcGAAAACxJREFUCJlj4JYQZmAQ5mRj4OeR5BISYmVh4OUTF2BnF2ViEOTgEBFhFmMEABxPAY4FFCzDAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4},o={src:"/_next/static/media/green-flag.c5cccf09.png",height:43,width:34,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAHlBMVEWAzcWH/8l/zMV6wsJ/zMV/ysOBz8eAzsWBz8eK3NT2+X2IAAAACHRSTlP3AaoMbnDQzAWrOCsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAApSURBVAiZY2CAAA4QQKIYGMAIzGPgZGfjZGDgZGJmZuJgYGFkZGRkBQAXCADQ4UXWawAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},i={src:"/_next/static/media/blue-flag.54365ef8.png",height:46,width:35,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAG1BMVEVSR7hRRrZQRrVVVbhRR7ZRRrVSRrVaS7RXS8SxN1rmAAAACHRSTlP+2e4Dw2yrEQrFJBEAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAnSURBVAiZbcXBAQAgDAKxA1pl/4ldwHzCWLJQASN+VVOjuTmwSbIPCF4AY3zDhywAAAAASUVORK5CYII=",blurWidth:6,blurHeight:8};function c(){return(0,r.jsxs)("div",{className:"flex w-full flex-col text-center md:w-[580px]",children:[(0,r.jsx)("div",{className:"relative bottom-[-17px] left-[-10px] flex justify-center sm:bottom-[-26px] md:bottom-[-23px] md:w-[580px]",children:(0,r.jsx)("video",{src:"/hero-video.webm",muted:!0,autoPlay:!0,loop:!0,playsInl
1ine:!0,disablePictureInPicture:!0,preload:"auto",className:"max-w-full"})}),(0,r.jsxs)("div",{className:"relative flex justify-center",children:[(0,r.jsx)(l.default,{src:s,alt:"Stack of language learning books illustrating online English lessons on SeeGuru",width:350,height:230,className:""}),(0,r.jsx)("div",{className:"absolute right-[130px] top-[10px] overflow-hidden sm:right-[250px] md:top-[10px]",children:(0,r.jsx)(n.P.div,{initial:{y:-45},animate:{y:0},transition:{duration:1,repeat:1/0,repeatDelay:.5,repeatType:"reverse",ease:"easeInOut"},children:(0,r.jsx)(l.default,{src:o,alt:"",className:"object-cover"})})}),(0,r.jsx)("div",{className:"absolute bottom-[15px] left-[130px] overflow-hidden sm:bottom-[7px] sm:left-[200px]",children:(0,r.jsx)(n.P.div,{initial:{y:-45},animate:{y:0},transition:{duration:1,repeat:1/0,repeatDelay:.5,repeatType:"reverse",ease:"easeInOut"},children:(0,r.jsx)(l.default,{src:i,alt:"",className:"object-cover"})})})]})]})}},58609:(e,t,a)=>{"use strict";a.d(t,{UC:()=>Q,Y9:()=>q,bL:()=>G,l9:()=>W,q7:()=>T});var r=a(12115),l=a(3468),n=a(49972),s=a(94446),o=a(92556),i=a(86182),c=a(97602),d=a(57259),u=a(68946),p=a(66218),m=a(95155),f=Object.defineProperty,g=(e,t)=>f(e,"name",{value:t,configurable:!0}),h="Accordion",x=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[v,b,A]=(0,n.N)(h),[y,w]=(0,l.A)(h,[A,d.z3]),E=(0,d.z3)(),_=r.forwardRef(g(function(e,t){let{type:a,...r}=e;return(0,m.jsx)(v.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,m.jsx)(S,{...r,ref:t}):(0,m.jsx)(F,{...r,ref:t})})},"Accordion")),[j,C]=y(h),[k,N]=y(h,{collapsible:!1}),F=r.forwardRef(g(function(e,t){let{value:a,defaultValue:l,onValueChange:n=g(()=>{},"onValueChange"),collapsible:s=!1,...o}=e,[c,d]=(0,i.i)({prop:a,defaultProp:null!=l?l:"",onChange:n,caller:h});return(0,m.jsx)(j,{scope:e.__scopeAccordion,value:r.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:r.useCallback(()=>s&&d(""),[s,d]),children:(0,m.jsx)(k,{scope:e.__scopeAccordion,collapsible:s,children:(0,m.jsx)(H,{...o,ref:t})})})},"AccordionImplSingle")),S=r.forwardRef(g(function(e,t){let{value:a,defaultValue:l,onValueChange:n=g(()=>{},"onValueChange"),...s}=e,[o,c]=(0,i.i)({prop:a,defaultProp:null!=l?l:[],onChange:n,caller:h}),d=r.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[c]),u=r.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[c]);return(0,m.jsx)(j,{scope:e.__scopeAccordion,value:o,onItemOpen:d,onItemClose:u,children:(0,m.jsx)(k,{scope:e.__scopeAccordion,collapsible:!0,children:(0,m.jsx)(H,{...s,ref:t})})})},"AccordionImplMultiple")),[M,D]=y(h),H=r.forwardRef(g(function(e,t){let{__scopeAccordion:a,disabled:l,dir:n,orientation:i="vertical",...d}=e,u=r.useRef(null),f=(0,s.s)(u,t),h=b(a),A="ltr"===(0,p.jH)(n),y=(0,o.mK)(e.onKeyDown,e=>{var t;if(!x.includes(e.key))return;let a=e.target,r=h().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),l=r.findIndex(e=>e.ref.current===a),n=r.length;if(-1===l)return;e.preventDefault();let s=l,o=n-1,c=g(()=>{(s=l+1)>o&&(s=0)},"moveNext"),d=g(()=>{(s=l-1)<0&&(s=o)},"movePrev");switch(e.key){case"Home":s=0;break;case"End":s=o;break;case"ArrowRight":"horizontal"===i&&(A?c():d());break;case"ArrowDown":"vertical"===i&&c();break;case"ArrowLeft":"horizontal"===i&&(A?d():c());break;case"ArrowUp":"vertical"===i&&d()}null==(t=r[s%n].ref.current)||t.focus()});return(0,m.jsx)(M,{scope:a,disabled:l,direction:n,orientation:i,children:(0,m.jsx)(v.Slot,{scope:a,children:(0,m.jsx)(c.sG.div,{...d,"data-orientation":i,ref:f,onKeyDown:l?void 0:y})})})},"AccordionImpl")),O="AccordionItem",[P,z]=y(O),R=r.forwardRef(g(function(e,t){let{__scopeAccordion:a,value:r,...l}=e,n=D(O,a),s=C(O,a),o=E(a),i=(0,u.B)(),c=r&&s.value.includes(r)||!1,p=n.disabled||e.disabled;return(0,m.jsx)(P,{scope:a,open:c,disabled:p,triggerId:i,children:(0,m.jsx)(d.bL,{"data-orientation":n.orientation,"data-state":V(c),...o,...l,ref:t,disabled:p,open:c,onOpenChange:e=>{e?s.onItemOpen(r):s.onItemClose(r)}})})},"AccordionItem")),L=r.forwardRef(g(function(e,t){let{__scopeAccordion:a,...r}=e,l=D(h,a),n=z("AccordionHeader",a);return(0,m.jsx)(c.sG.h3,{"data-orientation":l.orientation,"data-state":V(n.open),"data-disabled":n.disabled?"":void 0,...r,ref:t})},"AccordionHeader")),U="AccordionTrigger",B=r.forwardRef(g(function(e,t){let{__scopeAccordion:a,...r}=e,l=D(h,a),n=z(U,a),s=N(U,a),o=E(a);return(0,m.jsx)(v.ItemSlot,{scope:a,children:(0,m.jsx)(d.l9,{"aria-disabled":n.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:n.triggerId,...o,...r,ref:t})})},"AccordionTrigger")),I=r.forwardRef(g(function(e,t){let{__scopeAccordion:a,...r}=e,l=D(h,a),n=z("AccordionContent",a),s=E(a);return(0,m.jsx)(d.UC,{role:"region","aria-labelledby":n.triggerId,"data-orientation":l.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})},"AccordionContent"));function V(e){return e?"open":"closed"}g(V,"getState");var G=_,T=R,q=L,W=B,Q=I},62392:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r,l,n=a(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100"},e),n.createElement("mask",{id:"test-logo_svg__a",width:100,height:100,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},r||(r=n.createElement("path",{fill:"#fff",d:"M0 0h100v100H0z"}))),l||(l=n.createElement("g",{stroke:"#62A09A",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:2.613,strokeWidth:3.906,mask:"url(#test-logo_svg__a)"},n.createElement("path",{d:"M24.61 1.952h62.5c1.074 0 1.953.88 1.953 1.953v82.032a1.96 1.96 0 0 1-1.954 1.953h-62.5a1.96 1.96 0 0 1-1.953-1.954V3.906c0-1.075.88-1.954 1.953-1.954"}),n.createElement("path",{d:"M71.484 28.932v-7.813a3.92 3.92 0 0 0-3.906-3.906 3.92 3.92 0 0 0-3.906 3.906v7.813m1.953-3.907h3.906"}),n.createElement("path",{d:"M67.578 37.11c7.53 0 13.672-6.142 13.672-13.672S75.108 9.766 67.578 9.766s-13.672 6.141-13.672 13.672c0 7.53 6.142 13.671 13.672 13.671M77.343 89.844v6.25a1.96 1.96 0 0 1-1.953 1.953h-62.5a1.96 1.96 0 0 1-1.953-1.953V14.063c0-1.075.879-1.953 1.953-1.953h7.813M45.02 12.11H30.47M39.746 20.443H30.47M45.02 37.11H30.47M81.25 53.124H39.257M81.25 61.458H30.47M55.86 69.791H30.47M55.86 78.124H30.47M30.468 53.124h.002"}))))}},65372:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var r,l,n,s=a(12115);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let i=function(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:49,height:48,fill:"none"},e),s.createElement("g",{clipPath:"url(#question-logo_svg__a)"},s.createElement("mask",{id:"question-logo_svg__b",width:49,height:48,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},r||(r=s.createElement("path",{fill:"#fff",d:"M.667 0h48v48h-48z"}))),l||(l=s.createElement("g",{mask:"url(#question-logo_svg__b)"},s.createElement("path",{stroke:"#62A09A",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2.813,d:"m45.133 36.085 1.11 6.667-6.667-1.11a15.45 15.45 0 0 1-7.849 2.127c-6.038 0-11.27-3.444-13.841-8.475 8.45-.15 15.254-7.046 15.254-15.531 0-2.54-.61-4.94-1.692-7.058l.279-.002c8.58 0 15.534 6.954 15.534 15.533 0 2.863-.776 5.545-2.128 7.849M39.07 28.236h-8.35M39.07 34.412H24.39M39.071 22.06h-5.96"}),s.createElement("path",{stroke:"#62A09A",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2.813,d:"M33.14 19.763c0 8.486-6.804 15.382-15.254 15.531q-.14.003-.28.003c-2.864 0-5.545-.775-7.848-2.127L3.09 34.28l1.11-6.668a15.46 15.46 0 0 1-2.127-7.849c0-8.579 6.954-15.533 15.533-15.533 6.038 0 11.271 3.444 13.842 8.476a15.5 15.5 0 0 1 1.692 7.057"}),s.createElement("path",{stroke:"#62A09A",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2.813,d:"M14.069 15.348a3.538 3.538 0 1 1 3.537 3.537v4.144"}),s.createElement("path",{fill:"#62A09A",d:"M17.606 29.123c.736 0 1.44-.647 1.406-1.406-.034-.762-.61
17-1.406-1.406-1.406-.735 0-1.44.646-1.406 1.406.034.762.618 1.406 1.406 1.406"})))),n||(n=s.createElement("defs",null,s.createElement("clipPath",{id:"question-logo_svg__a"},s.createElement("path",{fill:"#fff",d:"M.667 0h48v48h-48z"})))))}},68122:(e,t,a)=>{"use strict";a.d(t,{E:()=>n});var r=a(95155),l=a(25016);function n(e){let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-primary/10",t),...a})}},68772:(e,t,a)=>{"use strict";a.d(t,{default:()=>f});var r=a(95155);a(12115);var l=a(50479),n=a(39026),s=a(46429),o=a(10942),i=a(24274),c=a(28171),d=a(20063),u=a(4087),p=a(25016),m=a(88088);let f=e=>{let{title:t,article:a,titleText:f,articleText:g,classes:h="bg-purple-600"}=e,{availableDates:x,handleCalendarClick:v}=(0,o.l)(),{ref:b,inView:A}=(0,s.Wx)({threshold:.3,triggerOnce:!0}),{t:y}=(0,i.Bd)(),w=null!=f?f:y("".concat(t)),E=null!=g?g:y("".concat(a)),{toast:_}=(0,c.dj)(),j=(0,d.useRouter)(),{slug:C}=(0,d.useParams)(),k=async e=>{try{let t=await v(e);t&&(_({status:t.success?"success":"error",title:t.success?y("".concat(t.message)):t.message}),t.success&&((0,u.L)(),j.push("/".concat(C,"/account/meetings"))))}catch(e){console.log(e)}};return(0,r.jsx)("section",{className:"container flex w-full items-center justify-center py-0 md:py-[100px] lg:py-[140px]",children:(0,r.jsx)("div",{className:"container flex items-center justify-center px-0 pb-0 md:px-[16px] xl:px-[100px]",children:(0,r.jsx)(n.P.div,{className:(0,p.cn)("md:px-24px flex w-full items-center justify-center px-[16px] py-[56px] md:rounded-3xl",h),ref:b,initial:{opacity:0,y:200},animate:{opacity:+!!A,y:200*!A},transition:{duration:.5},children:(0,r.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 md:gap-6",children:[(0,r.jsx)("h2",{className:"text-center text-[26px] font-bold text-white sm:text-[30px] md:text-[38px] lg:text-[48px]",children:(0,m.w)(w)}),(0,r.jsx)("p",{className:"max-w-[620px] text-center leading-[22px] text-white sm:text-xl sm:leading-6 md:text-xl md:leading-7",children:(0,m.w)(E)}),(0,r.jsx)("div",{className:"max-h-[624px] w-full max-w-[700px]",children:(0,r.jsx)(l.cf,{scheduleDate:e=>k(e),availableDates:x})})]})})})})}},70129:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>x});var r,l,n,s,o,i,c,d,u,p,m,f,g=a(12115);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}let x=function(e){return g.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 98"},e),r||(r=g.createElement("path",{fill:"url(#toys-logo_svg__a)",d:"m41.87 80.546-6.464-17.384a2.34 2.34 0 0 0-2.173-1.467h-.003a2.34 2.34 0 0 0-2.172 1.471l-6.52 17.374a1.953 1.953 0 1 0 3.657 1.372l1.145-3.049h7.736l1.132 3.044a1.953 1.953 0 1 0 3.662-1.361m-11.064-5.589 2.42-6.451 2.398 6.451z"})),l||(l=g.createElement("path",{fill:"url(#toys-logo_svg__b)",d:"M25.39 56.813a1.953 1.953 0 0 0-1.953-1.954h-5.859a1.953 1.953 0 0 0-1.953 1.953v5.86a1.953 1.953 0 1 0 3.906 0v-3.906h3.907a1.953 1.953 0 0 0 1.953-1.953"})),n||(n=g.createElement("path",{fill:"url(#toys-logo_svg__c)",d:"M48.828 80.25a1.953 1.953 0 0 0-1.953 1.953v3.906h-3.906a1.953 1.953 0 1 0 0 3.907h5.86a1.953 1.953 0 0 0 1.952-1.954v-5.859a1.953 1.953 0 0 0-1.953-1.953"})),s||(s=g.createElement("path",{fill:"url(#toys-logo_svg__d)",d:"M11.719 15.797V11.89h3.906a1.953 1.953 0 1 0 0-3.907h-5.86a1.953 1.953 0 0 0-1.953 1.954v5.859a1.953 1.953 0 1 0 3.907 0"})),o||(o=g.createElement("path",{fill:"url(#toys-logo_svg__e)",d:"M34.18 43.14h5.86a1.953 1.953 0 0 0 1.952-1.953v-5.859a1.953 1.953 0 1 0-3.906 0v3.906H34.18a1.953 1.953 0 1 0 0 3.907"})),i||(i=g.createElement("path",{fill:"url(#toys-logo_svg__f)",d:"M20.02 36.305h.008c.047 0 4.718-.021 5.996-.021 3.69 0 6.69-2.999 6.69-6.685 0-2.18-1.05-4.119-2.67-5.34a5.96 5.96 0 0 0 1.09-3.44c0-3.308-2.693-5.999-6.002-5.999h-5.113a1.953 1.953 0 0 0-1.953 1.953v17.579a1.953 1.953 0 0 0 1.954 1.953m6.005-3.928c-.74 0-2.596.007-4.052.013v-5.564l1.31-.005h2.741a2.784 2.784 0 0 1 2.784 2.778 2.784 2.784 0 0 1-2.783 2.778m-.893-13.65c1.156 0 2.096.938 2.096 2.091s-.94 2.092-2.096 2.092c-.376 0-1.083.002-1.855.005h-1.304v-4.188z"})),c||(c=g.createElement("path",{fill:"url(#toys-logo_svg__g)",d:"M99.993 67.4 98.717 52.81a1.95 1.95 0 0 0-2.117-1.776c-.52.045-.99.291-1.326.69-.336.4-.494.906-.449 1.425l1.107 12.647-42.806 3.746-3.745-42.805 42.805-3.746 1.108 12.647c.043.49.265.943.629 1.273.402.367.943.55 1.486.504a1.96 1.96 0 0 0 1.775-2.117l-1.277-14.592a1.96 1.96 0 0 0-.69-1.326 1.97 1.97 0 0 0-1.425-.45l-43.01 3.762V2.125A1.953 1.953 0 0 0 48.829.172H1.953A1.953 1.953 0 0 0 0 2.125V49c0 1.079.874 1.953 1.953 1.953h5.86v44.922c0 1.079.874 1.953 1.953 1.953H56.64a1.953 1.953 0 0 0 1.953-1.953V72.983l39.623-3.465a1.97 1.97 0 0 0 1.326-.692c.33-.394.494-.914.45-1.426M3.906 4.078h42.97v18.968a1.956 1.956 0 0 0-1.557 2.085l1.556 17.79v4.126H3.906zm50.782 89.844h-42.97V50.953h35.86l1.826 20.873c.045.514.297.996.69 1.326a1.96 1.96 0 0 0 1.426.45l3.168-.277z"})),d||(d=g.createElement("path",{fill:"url(#toys-logo_svg__h)",d:"M63.512 31.381a1.95 1.95 0 0 0-2.116-1.775l-5.837.51a1.953 1.953 0 0 0-1.776 2.116l.51 5.837c.09 1.017 1.029 1.78 2.03 1.78 1.075-.094 1.956-1.045 1.862-2.12l-.34-3.892 3.891-.34a1.953 1.953 0 0 0 1.776-2.116"})),u||(u=g.createElement("path",{fill:"url(#toys-logo_svg__i)",d:"m91.53 60.3-.511-5.838a1.953 1.953 0 0 0-3.891.34l.34 3.892-3.892.34a1.953 1.953 0 0 0-1.775 2.116c.089 1.017.881 1.782 2.03 1.78l5.923-.515a1.953 1.953 0 0 0 1.775-2.116"})),p||(p=g.createElement("path",{fill:"url(#toys-logo_svg__j)",d:"M74.116 39.752a6.13 6.13 0 0 1 3.646.827 1.953 1.953 0 1 0 1.971-3.373 10.02 10.02 0 0 0-5.958-1.346c-2.769.243-5.269 1.595-7.039 3.807-1.749 2.186-2.575 4.954-2.326 7.796.248 2.841 1.543 5.424 3.644 7.273 1.9 1.672 4.253 2.566 6.707 2.566q.442 0 .886-.04c2.283-.199 4.26-1.16 5.716-2.778a9 9 0 0 0 .787-1.016 1.953 1.953 0 0 0-3.25-2.166 5 5 0 0 1-.44.57c-.794.881-1.855 1.386-3.153 1.5-1.695.147-3.355-.41-4.673-1.569-1.344-1.182-2.172-2.844-2.333-4.68-.16-1.837.367-3.618 1.485-5.015 1.097-1.371 2.634-2.208 4.33-2.356"})),m||(m=g.createElement("path",{fill:"url(#toys-logo_svg__k)",d:"M96.007 46.176a1.953 1.953 0 1 0 0-3.906 1.953 1.953 0 0 0 0 3.906"})),f||(f=g.createElement("defs",null,g.createElement("linearGradient",{id:"toys-logo_svg__a",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__b",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__c",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__d",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__e",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__f",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__g",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__h",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__i",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__j",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})),g.createElement("linearGradient",{id:"toys-logo_svg__k",x1:100,x2:0,y1:49,y2:49,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.02,stopColor:"#B254FA"}),g.createElement("stop",{offset:.26,stopColor:"#3FD6F5"}),g.createElement("stop",{offset:.5,stopColor:"#74EA38"}),g.createElement("stop",{offset:.75,stopColor:"#FFCF5F"}),g.createElement("stop",{offset:1,stopColor:"#FF4949"})))))}},73194:(e,t,a)=>{Promise.resolve().then(a.bind(a,80274)),Promise.resolve().then(a.bind(a,51539)),Promise.resolve().then(a.bind(a,12596)),Promise.resolve().then(a.bind(a,57561)),Promise.resolve().then(a.bind(a,87327)),Promise.resolve().then(a.bind(a,81280)),Promise.resolve().then(a.bind(a,17565)),Promise.resolve().then(a.bind(a,68772)),Promise.resolve().then(a.t.bind(a,52619,23)),Promise.resolve().then(a.bind(a,32260)),Promise.resolve().then(a.bind(a,11879)),Promise.resolve().then(a.bind(a,39450)),Promise.resolve().then(a.bind(a,14417)),Promise.resolve().then(a.bind(a,62392)),Promise.resolve().then(a.bind(a,70129)),Promise.resolve().then(a.bind(a,65372)),Promise.resolve().then(a.bind(a,29093)),Promise.resolve().then(a.bind(a,37560))},80274:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});var r=a(95155),l=a(39026),n=a(46429);function s(e){let{children:t,className:a}=e,{ref:s,inView:o}=(0,n.Wx)({threshold:.3,triggerOnce:!0});return(0,r.jsx)(l.P.div,{ref:s,initial:{opacity:0,y:200}
1,animate:{opacity:+!!o,y:200*!o},transition:{duration:.5},className:a,children:t})}},81280:(e,t,a)=>{"use strict";a.d(t,{HomeHowItWorksVideo:()=>p});var r=a(95155),l=a(15239),n=a(85921),s=a(12115),o=a(25016);let i="jqylLQlNuFA",c="https://img.youtube.com/vi/".concat(i),d="https://www.youtube.com/embed/".concat(i),u="relative h-[300px] w-full rounded-[20px] md:h-[450px] lg:h-[642px]";function p(e){let{iframeTitle:t,playVideoLabel:a}=e,[i,p]=(0,s.useState)(!1),[m,f]=(0,s.useState)("maxres"),g=(0,s.useMemo)(()=>(function(e){switch(e){case"maxres":return"".concat(c,"/maxresdefault.jpg");case"sd":return"".concat(c,"/sddefault.jpg");default:return"".concat(c,"/hqdefault.jpg")}})(m),[m]),h=(0,s.useCallback)(()=>{f(e=>"maxres"===e?"sd":"sd"===e?"hq":e)},[]),x=(0,s.useCallback)(()=>p(!0),[]);return i?(0,r.jsx)("iframe",{className:u,src:"".concat(d,"?autoplay=1&rel=0"),title:t,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):(0,r.jsxs)("button",{type:"button",className:"group ".concat(u," cursor-pointer overflow-hidden border-0 bg-black/5 p-0 text-left outline-none ring-offset-2 transition focus-visible:ring-2 focus-visible:ring-purple-600 dark:bg-black/20"),onClick:x,"aria-label":a,children:[(0,r.jsx)(l.default,{src:g,alt:"",fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 90vw, (max-width: 1536px) 85vw, 1280px",quality:88,onError:h},g),(0,r.jsx)("span",{className:"absolute inset-0 flex items-center justify-center bg-black/10 transition-colors duration-200 group-hover:bg-black/20 group-focus-visible:bg-black/20","aria-hidden":!0,children:(0,r.jsx)("span",{className:(0,o.cn)("flex size-12 items-center justify-center rounded-full bg-white/45 shadow-lg backdrop-blur-[2px] transition-all duration-200 ease-out md:size-14","group-hover:size-16 group-hover:bg-white/55 md:group-hover:size-20","group-focus-visible:size-16 group-focus-visible:bg-white/55 md:group-focus-visible:size-20"),children:(0,r.jsx)(n.A,{className:"ml-1 size-6 text-purple-700 transition-all duration-200 ease-out group-hover:size-8 md:size-7 md:group-hover:size-10",fill:"currentColor","aria-hidden":!0})})})]})}},85921:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},87327:(e,t,a)=>{"use strict";a.d(t,{HomeHeroPrice:()=>c});var r=a(95155),l=a(12115),n=a(39210),s=a(72378),o=a(10942),i=a(88088);function c(e){let{text:t}=e,{activeCurrency:a}=(0,o.l)(),[c,d]=(0,l.useState)([]),u=a||s.A.get("userCurrency")||"";(0,l.useEffect)(()=>{(async()=>{try{let e=await n.A.post("/api/middleware",{reqUrl:"/api/v1/filters/currencies",method:"GET"});e.data.success&&d(e.data.data)}catch(e){}})()},[]);let p=(0,l.useMemo)(()=>{let e=c.find(e=>String(e.id)===u);return e?{symbol_left:e.symbol_left||null,symbol_right:e.symbol_right||null,value:e.value?Math.round(5*e.value):void 0}:null},[c,u]);return(0,r.jsx)(r.Fragment,{children:(0,i.w)(t,null,void 0,void 0,p)})}},97470:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(71847).A)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])}},e=>{e.O(0,[8465,9210,4909,4274,6526,7145,2473,2619,1210,4314,6230,3085,9972,3427,9034,9026,9860,1821,5239,7572,745,9851,9829,8701,6625,6586,2145,7429,6968,1314,2174,708,2596,8441,1255,7358],()=>e(e.s=73194)),_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.