1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[807],{30274:(e,t,n)=>{"use strict";n.d(t,{G:()=>b});var r=n(59178),a=n(86502);n(14232);var s=n(28726),i=n(90509),o=n(19654),c=n(46337),l=n(42969),d=n(63857),u=n(60180),p=n.n(u),h=n(5130),m=n(53051);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,l.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g=new h.A;function y(e,t){return j.apply(this,arguments)}function j(){return(j=(0,d.A)(p().mark(function e(t,n){var r,a,s,i,o,c;return p().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={},a=g.get("kossie"),s={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},null!=a&&(s=f(f({},s),{},{Authorization:"Token ".concat(a)})),(i=new URLSearchParams).append("social_media",t),i.append("qna",n),e.prev=7,e.next=10,fetch("".concat(m.t,"/share/share/"),{method:"POST",headers:s,body:i});case 10:o=e.sent,e.t0=res.status,e.next=201===e.t0?14:400===e.t0?18:20;break;case 14:return e.next=16,o.json();case 16:return c=e.sent,e.abrupt("return",c);case 18:return r=f(f({},r),{},{errorMessage:"wrong email or password. please try again"}),e.abrupt("return",r);case 20:e.next=24;break;case 22:e.prev=22,e.t1=e.catch(7);case 24:case"end":return e.stop()}},e,null,[[7,22]])}))).apply(this,arguments)}var v=n(93846),w=n(37876);function b(e){var t=e.open,n=e.setOpen,l=e.data,d=v.bl+l.url,u=function(e){n(!1)};return(0,w.jsx)("div",{children:(0,w.jsxs)(r.A,{id:"ks__socialShare",open:t,onClose:function(){n(!1)},"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,w.jsx)(a.A,{disableGutters:!0,children:(0,w.jsxs)(s.A,{url:d,onClick:u,onShareWindowClose:function(){y("FB",l.aid)},children:[(0,w.jsx)(o.A,{fontSize:"small"}),"Facebook"]})}),(0,w.jsx)(a.A,{disableGutters:!0,children:(0,w.jsxs)(i.A,{url:d,onClick:u,onShareWindowClose:function(){y("TW",l.aid)},children:[(0,w.jsx)(c.A,{fontSize:"small"}),"Twitter"]})})]})})}},53051:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var r="https://api.kossie.com.hk"},70149:(e,t,n)=>{"use strict";n.d(t,{T:()=>p,Z:()=>m});var r=n(42969),a=n(63857),s=n(60180),i=n.n(s),o=n(5130),c=n(53051);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=new o.A;function p(e){return h.apply(this,arguments)}function h(){return(h=(0,a.A)(i().mark(function e(t){var n,r,a,s,o,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.get("kossie"),r={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",Authorization:"Token ".concat(n)},a={},(s=new URLSearchParams).append("qna_id",t),s.append("bookmark",!0),e.prev=6,e.next=9,fetch("".concat(c.t,"/engagement/qna/"),{method:"POST",headers:r,body:s});case 9:o=e.sent,e.t0=o.status,e.next=202===e.t0?13:400===e.t0?17:19;break;case 13:return e.next=15,o.json();case 15:return l=e.sent,e.abrupt("return",l);case 17:return a=d(d({},a),{},{errorMessage:"wrong email or password. please try again"}),e.abrupt("return",a);case 19:e.next=24;break;case 21:return e.prev=21,e.t1=e.catch(6),e.abrupt("return",{errorMessage:e.t1.message});case 24:case"end":return e.stop()}},e,null,[[6,21]])}))).apply(this,arguments)}function m(e){return x.apply(this,arguments)}function x(){return(x=(0,a.A)(i().mark(function e(t){var n,r,a,s,o,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.get("kossie"),r={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",Authorization:"Token ".concat(n)},a={},(s=new URLSearchParams).append("qna_id",t),s.append("clap",!0),e.prev=6,e.next=9,fetch("".concat(c.t,"/engagement/qna/"),{method:"POST",headers:r,body:s});case 9:o=e.sent,e.t0=o.status,e.next=201===e.t0?13:400===e.t0?17:19;break;case 13:return e.next=15,o.json();case 15:return l=e.sent,e.abrupt("return",l);case 17:return a=d(d({},a),{},{errorMessage:"wrong email or password. please try again"}),e.abrupt("return",a);case 19:e.next=23;break;case 21:e.prev=21,e.t1=e.catch(6);case 23:case"end":return e.stop()}},e,null,[[6,21]])}))).apply(this,arguments)}}
1,77804:(e,t,n)=>{"use strict";n.d(t,{D:()=>b,v:()=>A});var r=n(59860),a=n(42969),s=n(60816),i=n(14232),o=n(48230),c=n.n(o),l=n(54587),d=n.n(l),u=n(82230),p=n(2136),h=n(30388),m=n(37876),x=["avatarProps"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var y=(0,p.A)(function(){return{tooltipWrapper:{width:282},imgWrapper:{width:50,height:50,borderRadius:"50%",overflow:"hidden",border:"2px solid #e8746140",margin:"5px 0px"},img:{width:"100%",height:"100%",objectFit:"cover",textAlign:"center"},identityWrapper:{display:"flex",padding:"10px 5px",height:80,borderBottom:"1px solid #dadde9"},infoWrapper:{maxWidth:222,marginLeft:10,alignSelf:"baseline",fontSize:13},infoContainer:{lineHeight:1.2,letterSpacing:.2},meta:{marginTop:"5px",fontWeight:300},metaBold:{fontWeight:600,marginRight:"5px"},metaSep:{margin:"0px 5px"},body:{fontWeight:300},name:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},testimony:{margin:"10px 0px",fontWeight:400,fontSize:13,lineHeight:1.1,fontStyle:"italic"}}}),j=(0,u.A)(function(e){return{tooltip:{backgroundColor:"#fafafa",color:"#505050",width:300,minHeight:100,borderRadius:10,boxShadow:"0 2px 3px rgba(0, 0, 0, 0.30)",fontSize:e.typography.pxToRem(12),border:"1px solid #dadde9"}}})(s.A),v=function(e){var t=e.avatar,n=t.avatar,r=t.firstName,a=t.lastName,s=t.rate,i=t.numberOfPosts,o=t.coachProfile,c=t.area,l=o.introduction,d=e.t,u=c[0].category.name,p=y();return(0,m.jsxs)("div",{className:p.tooltipWrapper,children:[(0,m.jsxs)("div",{className:p.identityWrapper,children:[(0,m.jsx)("div",{className:p.imgWrapper,children:(0,m.jsx)("img",{className:p.img,src:null!=n?n:"/media/logo_square_256x256.png"})}),(0,m.jsx)("div",{className:p.infoWrapper,children:(0,m.jsxs)("div",{className:p.infoContainer,children:[(0,m.jsxs)("div",{className:p.name,children:[r," ",a]}),(0,m.jsxs)("div",{className:p.body,children:[u," ",d("coach")]}),(0,m.jsxs)("div",{className:p.meta,children:[(0,m.jsxs)("span",{children:[(0,m.jsx)("span",{className:p.metaBold,children:i}),d("guidance")]}),(0,m.jsx)("span",{className:p.metaSep,children:"â¢"}),!!s&&(0,m.jsxs)("span",{children:[(0,m.jsx)("span",{className:p.metaBold,children:s}),d("rating")]})]})]})})]}),(0,m.jsxs)("div",{className:p.testimony,children:["â",l,"â"]})]})},w=i.forwardRef(function(e,t){var n=e.avatar,r=n.firstName,a=n.lastName,s=n.avatar,i=n.coachAlias;return(0,m.jsx)("div",g(g({},e),{},{ref:t,children:(0,m.jsxs)(c(),{href:"/c/".concat(i),children:[(0,m.jsx)("div",{className:"MuiAvatar-root MuiAvatar-circle",children:(0,m.jsx)(d(),{className:"MuiAvatar-img",src:null!=s?s:"/media/logo_square_256x256.png",alt:"coach picture",width:50,height:50,style:{maxWidth:"100%",objectFit:"cover"},unoptimized:!0})}),(0,m.jsxs)("div",{className:"ks__avatarTooltip__name",children:[r," ",a]})]})}))});function b(e){var t=(0,h.Bd)("comp.widget.avatarTooltip").t;return(0,m.jsx)(i.Fragment,{children:(0,m.jsx)("div",{className:"ks__avatarTooltip__root",children:(0,m.jsx)(j,{enterDelay:300,leaveDelay:200,title:(0,m.jsx)(v,{avatar:e.avatar,t:t}),disableFocusListener:!0,children:(0,m.jsx)(w,{avatar:e.avatar})})})})}var _=i.forwardRef(function(e,t){var n=e.avatarProps,a=(0,r.A)(e,x),s=n.firstName,i=n.lastName,o=n.avatar,l=n.coachAlias;return(0,m.jsx)("div",g(g({},a),{},{ref:t,children:(0,m.jsxs)(c(),{href:"/c/".concat(l),children:[(0,m.jsx)("div",{className:"MuiAvatar-root MuiAvatar-circle",children:(0,m.jsx)(d(),{className:"MuiAvatar-img",src:null!=o?o:"/media/logo_square_256x256.png",width:50,height:50,alt:"Coach",style:{maxWidth:"100%",objectFit:"cover"}})}),(0,m.jsxs)("div",{className:"ks__avatarTooltip__name",children:[s," ",i]})]})}))});function A(e){return(0,m.jsx)(i.Fragment,{children:(0,m.jsx)("div",{className:"ks__avatarTooltip__root",children:(0,m.jsx)(_,{avatarProps:e.avatar})})})}},78890:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Q,iv:()=>F});var r,a=n(50030),s=n(94926),i=n(91643),o=n(32228),c=n(63857),l=n(47018),d=n(82505),u=n(33201),p=n(27925),h=n(
150633),m=n(60180),x=n.n(m),f=n(14232),g=n(27630),y=n(52588),j=n(95815),v=n(37550),w=n(31777),b=n(55324);n(26572);var _=n(93706),A=n(89099),k=n(30388),N=n(18847),S=n.n(N),O=n(37876);function P(e){var t=e.children,n=e.disabled,r=e.onClick;return(0,O.jsx)(h.A,{disabled:n,onClick:r,variant:"outlined",style:{cursor:"pointer",display:"flex",flexDirection:"column",justifyContent:"center",right:"1%",opacity:n?"0":"1",userSelect:"none"},children:t})}function T(){var e=f.useContext(v.VisibilityContext),t=e.isFirstItemVisible,n=e.scrollPrev,r=e.visibleItemsWithoutSeparators,a=e.initComplete,s=f.useState(!a||a&&t),i=(0,p.A)(s,2),o=i[0],c=i[1];return f.useEffect(function(){r.length&&c(t)},[t,r]),(0,O.jsx)(P,{disabled:o,onClick:function(){return n()},children:(0,O.jsx)(u.A,{})})}function q(){var e=f.useContext(v.VisibilityContext),t=e.isLastItemVisible,n=e.scrollNext,r=e.visibleItemsWithoutSeparators,a=f.useState(!r.length&&t),s=(0,p.A)(a,2),i=s[0],o=s[1];return f.useEffect(function(){r.length&&o(t)},[t,r]),(0,O.jsx)(P,{disabled:i,onClick:function(){return n()},children:(0,O.jsx)(d.A,{})})}function F(e){var t,n=e.category,a=e.onlyTopRated,s=e.customTitle,d=e.hideTitle,u=e.antonio,p=(0,w.wA)(),h=(0,f.useState)(),m=h[0],_=h[1],A=(0,f.useState)(),N=A[0],S=A[1],P=(0,w.d4)(function(e){return e.recentlyViewed}),F=(0,k.Bd)(["comp.homePage.cardList","comp.askChat"]).t,C=function(){return(0,O.jsxs)("div",{style:{width:"100%",display:"flex",justifyContent:"space-between"},children:[!d&&s&&(0,O.jsx)(l.A,{color:"secondary",className:"home-cards-title",fontFamily:u?"antonio":"jost",children:F(s)}),N&&!d&&(0,O.jsx)(l.A,{color:"secondary",className:"home-cards-title",children:F("".concat(N&&N.alternateName))}),"recently-viewed"==n&&!d&&(0,O.jsx)(l.A,{color:"secondary",className:"home-cards-title",children:F("recently-viewed")}),"rate"==n&&!d&&(0,O.jsx)(l.A,{color:"secondary",className:"home-cards-title",children:F("top-rated-coaches")}),(0,O.jsxs)("div",{style:{marginLeft:"10px",display:"flex",justifyContent:"flex-end"},children:[(0,O.jsx)(T,{})," ",(0,O.jsx)(q,{})]})]})},B=(t=(0,c.A)(x().mark(function e(t,n,a,s,i,c,l){var d,u,h,m,f=arguments;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return f.length>7&&void 0!==f[7]&&f[7],d=null,u=t,"recently-viewed"==t?d=P.filter(function(e){return"number"==typeof e}).join(","):"rate"==t&&(u="rate"),e.prev=4,e.next=7,j.Ay.query({query:(0,g.J1)(r||(r=(0,o.A)(["\n query listCoaches(\n $category: String\n $priceRange: String\n $ratings: String\n $responseTime: String\n $orderBy: String\n $start: Int\n $offset: Int\n $ids: String\n ) {\n coachList(\n category: $category\n priceRange: $priceRange\n ratings: $ratings\n responseTime: $responseTime\n orderBy: $orderBy\n start: $start\n offset: $offset\n ids: $ids\n ) {\n results {\n id\n avatar\n coachAlias\n firstName\n lastName\n coachTitle\n areaFirst {\n name\n category {\n name\n }\n }\n wallet {\n askQuestionFeeCurrency\n askQuestionFee\n }\n rate\n }\n }\n\n tag(alias: $category) {\n alternateName\n name\n }\n }\n "]))),variables:{category:u,priceRange:n,ratings:a,responseTime:s,orderBy:i,start:c,offset:l,ids:d},fetchPolicy:"recently-viewed"===t?"cache-first":"no-cache"});case 7:m=(h=e.sent).data,h.loading||(_(m.coachList.results),S(m.tag)),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(4),p((0,b.ox)({open:!0,message:e.t0.message}));case 16:case"end":return e.stop()}}
1,e,null,[[4,13]])})),function(e,n,r,a,s,i,o){return t.apply(this,arguments)});return(0,f.useEffect)(function(){return B(n,null,null,null,"low-to-high"),function(){}},[]),(0,f.useEffect)(function(){"recently-viewed"==n&&B(n,null,null,null,"low-to-high")},[P]),(0,O.jsxs)(O.Fragment,{children:[!m&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(i.A,{variant:"text",width:150,height:40}),(0,O.jsx)(y.u,{}),(0,O.jsx)(y.u,{}),(0,O.jsx)(y.u,{})]}),a&&(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(v.ScrollMenu,{Header:C,children:m&&m.map(function(e,t){return e.rate>0?(0,O.jsx)(y.N,{itemId:t,data:e},t):(0,O.jsx)(f.Fragment,{},t)})})}),!a&&m&&1==m.length&&(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(v.ScrollMenu,{Header:C,scrollContainerClassName:"center",children:m&&m.map(function(e,t){return(0,O.jsx)(y.N,{itemId:t,data:e},t)})})}),!a&&m&&m.length>1&&(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(v.ScrollMenu,{Header:C,children:m&&m.map(function(e,t){return(0,O.jsx)(y.N,{itemId:t,data:e},t)})})})]})}function C(){(0,_.A)();var e=(0,A.useRouter)(),t=(0,k.Bd)("comp.homePage.cardList").t,n=[{name:t("mental-well-being"),link:"/explore/well-being",bgcolor:"rgba(48, 146, 70, 0.05)"},{name:t("relationship"),link:"/explore/relationship",bgcolor:"rgba(249, 180, 218, 0.15)"},{name:t("career"),link:"/explore/career",bgcolor:"rgba(20, 95, 128, 0.1)"},{name:t("sex"),link:"/explore/sex",bgcolor:"rgba(255, 216, 22, 0.15)"},{name:t("sales"),link:"/explore/sales",bgcolor:"rgba(99, 183, 183, 0.25)"},{name:t("spiritual"),link:"/explore/spiritual",bgcolor:"rgba(99, 183, 183, 0.25)"}];return(0,O.jsxs)(a.A,{sx:{my:2},children:[(0,O.jsx)(l.A,{color:"secondary",className:"home-cards-title",children:t("categories")}),(0,O.jsx)(a.A,{className:"catbutton__container",spacing:"1",children:n.map(function(t,n){return(0,O.jsx)(a.A,{children:(0,O.jsx)(s.A,{size:"large",elevation:"12",className:"catbutton",variant:"contained",sx:{mx:2,background:t.bgcolor},onClick:function(){return e.push(t.link)},children:t.name})},n)})})]})}var B=S()(function(){return n.e(6538).then(n.bind(n,26538)).then(function(e){return e.default})},{loadableGenerated:{webpack:function(){return[26538]}}});function Q(e){var t=(0,f.useState)(!1),n=t[0],r=t[1],s=(0,f.useState)(!1),i=s[0],o=s[1],c=(0,f.useRef)(),l={threshold:.75,root:null,rootMargin:"0px"},d=(0,f.useRef)(null);return(0,f.useEffect)(function(){if(i){var e=d.current;if(n)return void e.disconnect()}},[n,c]),(0,f.useEffect)(function(){return d.current=new IntersectionObserver(function(e){return r((0,p.A)(e,1)[0].isIntersecting)},l),d.current.observe(c.current),o(!0),function(){return d.current.disconnect()}},[]),(0,O.jsx)(O.Fragment,{children:(0,O.jsxs)(a.A,{className:"card-list-container",children:[(0,O.jsx)(F,{category:"recently-viewed"}),(0,O.jsx)(F,{category:"rate",onlyTopRated:!0}),(0,O.jsx)(C,{}),(0,O.jsx)("div",{ref:c,style:{minHeight:"300px"},children:n&&(0,O.jsx)(B,{})})]})})}},94802:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/qna/[aid]",function(){return n(95808)}])},95808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>ed,default:()=>eu});var r,a,s,i=n(14474),o=n(94926),c=n(50030),l=n(22531),d=n(47018),u=n(42969),p=n(44478),h=n(63857),m=n(27925),x=n(6995),f=n(32228),g=n(60180),y=n.n(g),j=n(77328),v=n.n(j);n(48230);var w=n(14232),b=n(5130),_=n(95815),A=n(27630),k=n(31777),N=n(55324);n(43482);var S=n(37876),O=n(95137),P=n(3529),T=n(54587),q=n.n(T),F=n(89099);n(51358),n(97853);var C=n(53051),B=n(77804),Q=n(93846),D=n(68233),E=n(30388);function V(e){var t=e.coach,n=(0,w.useState)(!0),r=n[0],a=n[1],s=(0,k.wA)(),i=(0,E.Bd)("lib.modules").t;return(0,w.useEffect)(function(){return t.coachProfile&&t.coachProfile.user.wallet?a(!1):a(!0),function(){}},[t.coachProfile]),(0,S.jsx)(o.A,{className:"kosbutton",color:"secondary",variant:"contained",onClick:function(){s((0,D.Wh)({photo:t.avatar,id:t.id,firstName:t.firstName,lastName:t.lastName,tags:t.area,price:t.coachProfile.user.wallet,board:D.Ef.PRIVATE})),s((0,N.JC)(!0))},sx:{maxWidth:160,width:"auto",mx:2},disabled:r,children:i("ask-for-guidance")})}var $=n(21398);function L(e){var t=e.contentType,n=e.title,r=e.titleText,a=e.subText,s=e.btnText,i=void 0===s?"Get free access here":s,c=e.routeTo,l=void 0===c?"/explore":c,d=e.left,u=void 0!==d&&d,p=e.shadow,h=(0,w.useState)("Unlock actionable advice from our experts"),m=h[0],x=h[1],f=(0,F.useRouter)();return(0,w.useEffect)(function(){return n.match(/\b(Men|Male|he|sex|partner)\b/i)&&"QA"!=t&&x("Unlock to see what men truly think."),function(){}},[n]),(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{id:"article-content-wall",children:[void 0!==p&&p&&(0,S.jsx)("div",{className:"blur"}),!u&&(0,S.jsxs)("div",{className:"content-wrapper",children:[(0,S.jsx)("div",{id:"article-content-wall-title",children:m}),(0,S.jsx)("br",{}),(0,S.jsx)(o.A,{id:"content-wall-btn","data-tag":"'Get free access here' on article page","aria-label":"Get free access here",variant:"contained",color:"primary",className:"kosbutton",onClick:function(e){e.preventDefault(),f.push("/user/login?redirect=".concat(f.asPath))},children:i})]}),u&&(0,S.jsxs)("div",{className:"content-wrapper gradient content-left",children:[(0,S.jsxs)("div",{children:[(0,S.jsx)("div",{className:"title-text",children:void 0===r?"":r}),(0,S.jsx)("div",{className:"subtitle-text",children:void 0===a?"":a})]}),(0,S.jsx)(o.A,{id:"content-wall-btn","aria-label":i,variant:"contained",color:"primary",onClick:function(){return f.push(l)},className:"kosbutton",children:(0,S.jsx)("span",{className:"none",children:i})})]})]})})}var W=new b.A,R=function(e){var t=e.coach,n=e.answer,r=e.suggestion,a=e.restricted,s=e.t;return(0,S.jsx)(w.Fragment,{children:(0,S.jsxs)("div",{className:"coach__qnaView__section display__qnaView__editor",children:[(0,S.jsxs)("div",{className:"coach__qnaView__bigText",style:{display:"flex",alignItems:"center"},children:[(0,S.jsx)(O.A,{alt:t.firstName+" "+t.lastName,src:t.avatar,sx:{width:"3rem",height:"3rem"}}),":"," "]}),(0,S.jsx)("div",{className:"coach__qnaView__body",children:(0,S.jsx)("div",{className:"coach__qnaView__bodySubject",children:a?(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:n.split("</p>")[0]+"</p>"}}):(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})})}),!a&&(0,S.jsxs)(w.Fragment,{children:[(0,S.jsx)("div",{className:"coach__qnaView__body",children:(0,S.jsx)("div",{className:"coach__suggestion",children:s("some-tips")})}),(0,S.jsx)("div",{className:"coach__qnaView__body display__qnaView__suggestion",children:(0,S.jsx)("div",{className:"coach__qnaView__bodySubject",children:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:r}}
1)})})]})]})})},U=function(e){var t=e.status,n=e.t,r="";switch(t){case -1:case 2:r=n("still-looking-for-coaches");break;case 0:r=n("coach-still-answering")}return(0,S.jsx)(w.Fragment,{children:(0,S.jsx)("div",{className:"coach__qnaView__noAnswer",children:(0,S.jsx)("span",{children:r})})})},z=function(e){var t,n=e.article,r=e.setApproved,a=w.useState(!1),s=(0,m.A)(a,2),i=s[0],c=s[1],l=(0,E.Bd)("comp.articlePage.articleContent").t,d=(t=(0,h.A)(y().mark(function e(t){var a,s;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),(a=new URLSearchParams).append("id",n.id),s=W.get("kossie"),r(!0),e.prev=5,e.next=8,fetch("".concat(C.t,"/qna/record/"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",Authorization:"Token ".concat(s)},body:a});case 8:202===e.sent.status&&c(!0),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(5);case 14:case"end":return e.stop()}},e,null,[[5,12]])})),function(e){return t.apply(this,arguments)});return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{id:"qna_resubmit",children:[(0,S.jsx)("div",{id:"qna_resubmit_text",children:l("Resubmit.saved")}),(0,S.jsx)(o.A,{id:"resubmit-btn","aria-label":"submit",variant:"contained",onClick:d,children:l("Resubmit.submit")})]}),i&&(0,S.jsx)("div",{id:"resubmit_error",children:l("Resubmit.resubmit-failed")})]})};function I(e){var t=e.article,n=e.isPublic,r=e.isAnswer,a=void 0===r||r,s=e.coach,i=void 0!==s&&s,o=e.suggestion,d=e.answer,u=e.status,p=e.restricted;(0,k.d4)(function(e){return e.user}),(0,k.wA)();var h=(0,$.u)(),f=(0,x.A)(h.breakpoints.only("xs")),g=(0,E.Bd)("comp.articlePage.articleContent").t,y=t.image,j=t.Q1,v=t.Q2,b=t.lastUpdate;t.tag,t.bookmarkByUser;var _=y;if(null==y)_="/media/qna/q_a_default.png";else{var A=_.split(C.t)[1];_="".concat("https://api.kossie.com.hk").concat(A)}var N=w.useState(t.approved_question),O=(0,m.A)(N,2),T=O[0],q=O[1],F=Q.KR,D=new Date(Date.parse(b));D.getFullYear();var L=F[D.getMonth()],W=D.getDate();return(0,S.jsxs)(w.Fragment,{children:[!a&&t.approved_question&&U({status:void 0!==u&&u,t:g}),(0,S.jsx)("div",{className:"coach__qnaView__title",children:(0,S.jsx)(l.Ay,{container:!0,spacing:0,children:(0,S.jsx)(l.Ay,{item:!0,lg:10,sm:10,children:v})})}),a&&(0,S.jsxs)("div",{className:"ks__fullArticle__avatar",children:[(0,S.jsxs)(c.A,{display:"flex",alignItems:"center",children:[(0,S.jsx)(B.D,{avatar:i}),!f&&(0,S.jsx)(V,{coach:i})]}),(0,S.jsxs)("div",{className:"display__qnaView__date",children:[W," ",L]})]}),(0,S.jsxs)("div",{className:"coach__qnaView__section",children:[(0,S.jsxs)("div",{className:"coach__qnaView__section",children:[(0,S.jsxs)("div",{className:"coach__qnaView__bigText",children:[(0,S.jsx)(P.A,{fontSize:"30px"}),":"]}),(0,S.jsx)("div",{className:"coach__qnaView__body",children:(0,S.jsx)("div",{className:"coach__qnaView__bodySubject",dangerouslySetInnerHTML:{__html:function(e){if(e)return e.replace(/\n/g,"<br />")}(j)}})})]}),a&&R({coach:i,answer:void 0!==d&&d,suggestion:void 0!==o&&o,restricted:void 0!==p&&p,t:g}),!T&&!(void 0===n||n)&&(0,S.jsx)(z,{article:t,setApproved:q})]})]})}function M(e){var t=e.article,n=e.coach,r=e.answer,a=void 0!==r&&r,s=e.restricted,i=void 0!==s&&s;(0,F.useRouter)();var o=(0,w.useState)(),c=o[0],d=o[1],u=t.image,p=t.Q1,h=t.Q2,m=(t.created_at,t.tag,t.bookmark_by_user,t.answerBy,t.publishedAt),x=(0,w.useState)(u),f=x[0],g=x[1],y=Q.KR,j=new Date(Date.parse(m));j.getFullYear();var v=y[j.getMonth()],b=j.getDate();return(0,w.useEffect)(function(){if(i){var e=a.length/2;d(a.substr(0,e))}else d(a);return function(){d("")}},[a,i]),(0,w.useEffect)(function(){if(null==u)g("/media/home_banner_01.jpg");else{var e=f.split(C.t)[1];g("".concat("https://api.kossie.com.hk").concat(e))}return function(){}},[u]),(0,S.jsxs)(w.Fragment,{children:[(0,S.jsx)("div",{className:"qnaView__banner",children:(0,S.jsx)(q(),{src:f,alt:h,fill:!0,sizes:"100vw",style:{objectFit:"fill"}})}),(0,S.jsx)("div",{className:"coach__qnaView__title",children:(0,S.jsx)(l.Ay,{container:!0,spacing:0,children:(0,S.jsx)(l.Ay,{item:!0,lg:10,sm:10,children:p})})}),(0,S.jsxs)("div",{className:"ks__fullArticle__avatar",children:[(0,S.jsx)(B.v,{avatar:n}),(0,S.jsxs)("div",{className:"display__qnaView__date",children:[b," ",v]})]}),(0,S.jsx)("div",{className:"coach__qnaView__section",children:(0,S.jsx)(function(e){var t=e.content,n=e.article;return(0,S.jsx)(w.Fragment,{children:(0,S.jsx)("div",{className:"coach__qnaView__section display__qnaView__editor",children:(0,S.jsx)("div",{className:"coach__qnaView__body editorial__wrapper",children:(0,S.jsxs)("div",{className:"coach__qnaView__bodySubject editorial__body",children:[i&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:null==t?void 0:t.substr(0,t.length/4)}}),(0,S.jsx)(L,{contentType:n.contentType,title:n.Q1,shadow:!0}
1)]}),!i&&(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})]})})})})},{content:c,article:t})})]})}var H=n(73434),J=n(93706),G=n(47804),K=n(26572),Y=function(e){var t=(0,F.useRouter)(),n=(0,E.Bd)("comp.askChat").t;return(0,S.jsx)(c.A,{children:e.tag.map(function(e){e.id;var r=e.alias,a="/qna/tag/"+r;return(0,S.jsx)(G.A,{variant:"outlined",color:"secondary",onClick:function(){return t.push(a)},label:null!=r&&n(r.replace("-"," ")),sx:{mr:1}},r)})})},X=function(e){var t=e.coach,n=e.user,r=(0,w.useState)(),a=r[0],s=r[1],i=(0,E.Bd)("comp.articlePage.articleBody").t;return(0,w.useEffect)(function(){return s(t.coachProfile),function(){}},[t.coachProfile]),(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)(c.A,{className:"end-hover-bar",display:"flex",alignItems:"center",justifyContent:"space-between",sx:{background:"#E87461",px:2,py:1},children:[(0,S.jsxs)(c.A,{display:"flex",children:[(0,S.jsx)(c.A,{sx:{mr:2},children:t.avatar&&(0,S.jsx)(O.A,{src:t.avatar,objectFit:"contain",alt:"coach picture",sx:{height:80,width:80}})}),(0,S.jsxs)(c.A,{children:[(0,S.jsxs)(d.A,{color:"white",children:[t.firstName," ",t.lastName]}),(0,S.jsxs)(d.A,{color:"white",children:[null==n?void 0:n.currency," ",null==n?void 0:n.symbol," ",(function(e){try{return e()}catch(e){return 0}})(function(){var e;return(null==a||null==(e=a.user)||null==(e=e.wallet)||null==(e=e.askQuestionFee)?void 0:e.value)*(null==n?void 0:n.rate)}).toFixed(2)]}),(0,S.jsxs)(d.A,{color:"white",children:[i("usually-answer-in")," ",(0,H.PT)(t.averageTime)]})]})]}),(0,S.jsx)(c.A,{children:(0,S.jsx)(V,{coach:t})})]})})};function Z(e){var t=e.article,n=e.coach;e.pageProps;var r=(0,J.A)(),a=(0,k.d4)(function(e){return e.user}),s=(0,w.useState)(),i=(s[0],s[1]),o=(0,x.A)(r.breakpoints.up("md")),c=function(){i(window.scrollY)};return(0,w.useEffect)(function(){return window.addEventListener("scroll",c,{passive:!0}),function(){window.removeEventListener("scroll",c)}},[]),(0,S.jsxs)("div",{className:"coach__qnaView display__qnaView",children:[(0,S.jsx)("div",{className:"display__qnaView__tagContainer",children:(0,S.jsx)("div",{className:"display__qnaView__tags",children:t.tag.length>0&&Y(t)})}),"QA"===t.contentType?(0,S.jsx)(I,{article:t,isPublic:!0,bookmark:t.bookmarkByUser,coach:n,suggestion:t.suggestionHtml,answer:t.answerHtml,restricted:!K.A.isLogin()}):(0,S.jsx)(M,{article:t,bookmark:t.bookmarkByUser,coach:n,answer:t.answerHtml,restricted:!K.A.isLogin()}),a&&o&&"QA"==t.contentType&&(0,S.jsx)(X,{coach:n,user:a})]})}n(65422);var ee=n(97607),et=n(70149),en=n(15556),er=n(30274),ea=n(78890);function es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?es(Object(n),!0).forEach(function(t){(0,u.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):es(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eo=(0,A.J1)(r||(r=(0,f.A)(["\n query CoachQuery($coachAlias: String, $tag: [String], $contentType: String) {\n CoachProfile(coachAlias: $coachAlias) {\n results {\n id\n coachAlias\n firstName\n lastName\n avatar\n averageTime\n area {\n id\n name\n category {\n id\n name\n }\n }\n coachProfile {\n introduction\n user {\n id\n wallet {\n askQuestionFee\n askQuestionFeeCurrency\n }\n }\n }\n numberOfPosts\n introduction\n rate\n username\n }\n }\n QnaList(tag: $tag, contentType: $contentType) {\n count\n next\n previous\n results {\n id\n Q1\n alias\n image\n assignment {\n id\n alias\n name\n }\n bookmarkByUser\n answerBy {\n id\n coachAlias\n firstName\n lastName\n }\n keyword\n }\n }\n }
1\n"]))),ec=(0,A.J1)(a||(a=(0,f.A)(["\n query ArticleQuery($alias: String) {\n QnaList(alias: $alias) {\n results {\n id\n alias\n Q1\n Q2\n answer\n answerHtml\n answerPlain\n suggestion\n suggestionHtml\n suggestionPlain\n image\n keyword\n assignment {\n id\n alias\n name\n }\n tag {\n id\n name\n alias\n }\n answerBy {\n id\n coachAlias\n }\n clapByUser\n claps\n bookmarkByUser\n bookmarks\n shares\n contentType\n lastUpdate\n publishedAt\n }\n }\n }\n"]))),el=(0,A.J1)(s||(s=(0,f.A)(["\n query SuggestionQuery(\n $tag: [String]\n $contentType: String\n $start: Int\n $offset: Int\n ) {\n QnaList(\n tag: $tag\n contentType: $contentType\n start: $start\n offset: $offset\n ) {\n count\n next\n previous\n results {\n id\n Q1\n alias\n image\n keyword\n assignment {\n id\n alias\n name\n }\n bookmarkByUser\n answerBy {\n id\n coachAlias\n firstName\n lastName\n }\n }\n }\n }\n"]))),ed=!0;let eu=(0,k.Ng)(function(e){return{user:e.user,headers:e.headers,snackBar:e.snackBar,windowSize:e.windowSize}},{setSnackBar:N.ox,setWindowSize:N.qL})(function(e){var t,n,r=(0,F.useRouter)();(0,k.d4)(function(e){return e.user}),(0,k.wA)();var a=(0,E.Bd)("qna.[aid]").t,s=(0,J.A)(),u=(0,x.A)(s.breakpoints.down("md")),f=w.useState(),g=(0,m.A)(f,2),j=g[0],A=g[1],N=w.useState({firstName:void 0,lastName:void 0,coachAlias:void 0,avatar:void 0,area:[{category:{name:void 0}}],numberOfPosts:0,rate:0,username:void 0}),O=(0,m.A)(N,2),P=O[0],T=O[1],C=w.useState(""),B=(0,m.A)(C,2),Q=B[0],D=B[1],V=w.useState(!1),$=(0,m.A)(V,2),L=$[0],W=$[1],R=w.useState({count:null,next:null,previous:null,results:[]}),U=(0,m.A)(R,2),z=(U[0],U[1]),I=w.useState({start:0,offset:20}),M=(0,m.A)(I,2),H=(M[0],M[1]);w.useEffect(function(){e.article||r.push("/home")},[e.article]);var G=(t=(0,h.A)(y().mark(function e(t){var n,r,a,s,i,o,c,l;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.answerBy,r=t.tag,a=eo,s=[],r.forEach(function(e){return s=[].concat((0,p.A)(s),[e.alias])}),i="ED","ED"===t.contentType&&(i="QA"),o={coachAlias:n.coachAlias,tag:s,contentType:i},e.next=9,_.Ay.query({query:a,variables:o,fetchPolicy:"network-only"});case 9:l=(c=e.sent).data,c.loading||(T(l.CoachProfile.results[0]),z(JSON.parse(JSON.stringify(l.QnaList))));case 13:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),K=(n=(0,h.A)(y().mark(function e(t){var n,r,a,s;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=ec,e.next=3,_.Ay.query({query:n,variables:t,fetchPolicy:"network-only"});case 3:return a=(r=e.sent).data,s=r.loading,a&&(a=JSON.parse(a=JSON.stringify(a))),e.abrupt("return",{data:a,loading:s});case 8:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)});w.useEffect(function(){var t,n=new b.A,a=(t=(0,h.A)(y().mark(function t(r){var a,s,i,o,c;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(a=-1,s={},!e.article){t.next=7;break}s=e.article,a=e.article.assignment.id,t.next=15;break;case 7:return i={alias:r},t.next=10,K(i);case 10:c=(o=t.sent).data,o.loading||(s=c.QnaList.results[0]),a=s.assignment.id;case 15:A(s),G(s),n.set("category",a,ee.F);case 18:case"end":return t.stop()}},t)})),function(e){return t.apply(this,arguments)});return e.article?(a(e.alias),H({start:0,offset:20})):r.push("/home"),function(){}},[e.alias,e.article]),(0,h.A)(y().mark(function e(t){var n,r,a,s;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=el,e.next=3,_.Ay.query({query:n,variables:t,fetchPolicy:"network-only"});case 3:return a=(r=e.sent).data,s=r.loading,e.abrupt("return",{data:a,loading:s});case 7:case"end":return e.stop()}},e)}));var Y=function(){e.setSnackBar({open:!0,message:a("please-login-first")})},es=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=a("added-to-reading-list");t&&(n=a("removed-from-reading-list")),e.setSnackBar({open:!0,message:n})};return(0,S.jsxs)(en.A,{headers:e.headers,isLogin:e.user.isLogin,disableFooter:!0,children:[(0,S.jsx)(v(),{children:function(){var t,n;if(e.article){if("QA"===e.article.contentType)return t=({article:e.article}).article,(0,S.jsxs)(w.Fragment,{children:[(0,S.jsxs)("title",{children:[t.Q2," | Kossie"]}),t.tag.length>0&&t.tag.map(function(e){var t=e.alias;return(0,S.jsx)("meta",{property:"article:tag",content:t},"headers-tag-".concat(t))}),(0,S.jsx)("meta",{property:"og:title",content:t.Q2}),(0,S.jsx)("meta",{property:"og:image",content:t.image}),(0,S.jsx)("meta",{property:"og:image:width",content:"1080"}),(0,S.jsx)("meta",{property:"og:image:height",content:"763"}),(0,S.jsx)("meta",{property:"og:url",content:"".concat("https://www.kossie.com","/qna/").concat(t.alias)}),(0,S.jsx)("meta",{property:"og:description",content:t.Q1}
1),(0,S.jsx)("meta",{property:"og:updated_time",content:t.lastUpdate}),(0,S.jsx)("meta",{property:"og:type",content:"article"}),(0,S.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,S.jsx)("meta",{property:"twitter:title",content:t.Q2}),(0,S.jsx)("meta",{property:"twitter:description",content:t.Q1}),(0,S.jsx)("meta",{property:"twitter:image",content:t.image}),(0,S.jsx)("meta",{property:"keywords",content:t.keyword}),(0,S.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:{"@type":"Question",name:"{{article.Q2}}",acceptedAnswer:{"@type":"Answer",text:"{{article.answer}}"},author:"{{coach}}",dateModified:"{{article.lastUpdate}}",about:"{{article.tag}}"}})}})]});else if("Editorial"===e.article.contentType)return n=({article:e.article}).article,(0,S.jsxs)(w.Fragment,{children:[(0,S.jsxs)("title",{children:[n.Q1," | Kossie"]}),n.tag.length>0&&n.tag.map(function(e,t){var n=e.alias;return(0,S.jsx)("meta",{property:"article:tag",content:n},t)}),(0,S.jsx)("meta",{property:"og:title",content:n.Q1}),(0,S.jsx)("meta",{property:"og:image",content:n.image}),(0,S.jsx)("meta",{property:"og:image:width",content:"1080"}),(0,S.jsx)("meta",{property:"og:image:height",content:"763"}),(0,S.jsx)("meta",{property:"og:url",content:"".concat("https://api.kossie.com.hk","/qna/").concat(n.alias)}),(0,S.jsx)("meta",{property:"og:description",content:n.Q1}),(0,S.jsx)("meta",{property:"og:updated_time",content:n.lastUpdate}),(0,S.jsx)("meta",{property:"og:type",content:"article"}),(0,S.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,S.jsx)("meta",{name:"twitter:title",content:n.Q1}),(0,S.jsx)("meta",{name:"twitter:description",content:n.Q1}),(0,S.jsx)("meta",{name:"twitter:image",content:n.image}),(0,S.jsx)("meta",{name:"keywords",content:n.keyword})]})}}()}),(0,S.jsxs)("main",{className:"ks__fullArticle",children:[(0,S.jsx)(er.G,{data:Q,open:L,setOpen:W}),j&&(0,S.jsx)(Z,{article:j,coach:P,handleBookmark:function(t){if(t.preventDefault(),!e.user.isLogin)return Y(),!1;var n=1;!0==j.bookmarkByUser&&(n=-1),es(j.bookmarkByUser),A(ei(ei({},j),{},{bookmarkByUser:!j.bookmarkByUser,bookmarks:j.bookmarks+n})),(0,et.T)(j.id,e.headers)},handleClap:function(t){if(t.preventDefault(),!e.user.isLogin)return Y(),!1;var n=1;!0==j.clapByUser&&(n=-1),A(ei(ei({},j),{},{clapByUser:!j.clapByUser,claps:j.claps+n})),(0,et.Z)(j.id,e.headers)},handleShare:function(e){D(e),W(!0)},pageProps:e,restricted:!e.user.isLogin}),u?(0,S.jsx)(l.Ay,{container:!0,maxWidth:"800px",sx:{backgroundColor:"#3092460D",p:3},children:(0,S.jsxs)(l.Ay,{item:!0,children:[(0,S.jsx)(d.A,{color:"secondary",fontWeight:700,fontSize:"1.5rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("introducing-kossie-guidance")}),(0,S.jsx)("br",{}),(0,S.jsx)(d.A,{color:"secondary",fontSize:"1.2rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("seek-professional")}),(0,S.jsx)(d.A,{color:"secondary",fontSize:"1rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("start-from",{value:"$ 4.99"})}),(0,S.jsx)("br",{}),(0,S.jsx)(c.A,{position:"relative",width:"300px",height:"300px",children:(0,S.jsx)(q(),{src:"/media/landing/how-it-works/phone-view.png",alt:"phone",fill:!0,sizes:"100vw",style:{objectFit:"contain"}})}),(0,S.jsx)(d.A,{color:"secondary",fontSize:".8rem",textAlign:u?"center":"left",children:(0,S.jsxs)(E.x6,{i18nKey:"you-will-receive-guidance",t:a,children:["You will receive a roughly 250 word guidance in text"," ",(0,S.jsx)("b",{children:"from your own personal coach"})," that will help you feel empowered and live your life with confidence."]})})]})}):(0,S.jsxs)(l.Ay,{container:!0,maxWidth:"800px",sx:{backgroundColor:"#3092460D",p:3},children:[(0,S.jsxs)(l.Ay,{item:!0,md:8,children:[(0,S.jsx)(d.A,{color:"secondary",fontWeight:700,fontSize:"1.5rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("introducing-kossie-guidance")}),(0,S.jsx)("br",{}),(0,S.jsx)(d.A,{color:"secondary",fontSize:"1.2rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("seek-professional")}),(0,S.jsx)(d.A,{color:"secondary",fontSize:"1rem",sx:{fontFamily:"antonio"},textAlign:u?"center":"left",children:a("start-from",{value:"$ 4.99"})}),(0,S.jsx)("br",{}),(0,S.jsx)(d.A,{color:"secondary",fontSize:".8rem",textAlign:u?"center":"left",children:(0,S.jsxs)(E.x6,{i18nKey:"you-will-receive-guidance",t:a,children:["You will receive a roughly 250 word guidance in text"," ",(0,S.jsx)("b",{children:"from your own personal coach"})," that will help you feel empowered and live your life with confidence."]})})]}),(0,S.jsx)(l.Ay,{item:!0,md:4,children:(0,S.jsx)(c.A,{position:"relative",width:"300px",height:"300px",children:(0,S.jsx)(q(),{src:"/media/landing/how-it-works/phone-view.png",alt:"phone",fill:!0,sizes:"100vw",style:{objectFit:"contain"}})})})]}),(0,S.jsx)(c.A,{sx:{px:1.5,py:3},children:(0,S.jsx)(ea.iv,{category:"50-things",customTitle:a("boost-your-confidence"),antonio:!0})}),(0,S.jsx)(c.A,{className:"gradient3",display:"flex",alignItems:"center",flexDirection:"column",maxWidth:800,children:(0,S.jsx)(c.A,{sx:{mx:2},children:(0,S.jsxs)(c.A,{maxWidth:700,sx:{my:"37px"},display:"flex",flexDirection:"column",alignItems:"center",className:"simple-paragraph",children:[(0,S.jsx)(d.A,{color:"secondary",fontWeight:600,className:"simple-paragraph__title",sx:{mb:1},children:a("tell-us-how-we-can-support")}),(0,S.jsx)(d.A,{color:"secondary",textAlign:"center",children:a("we-will-match-with-top-coaches")}),(0,S.jsx)(c.A,{display:"flex",justifyContent:"center",children:(0,S.jsx)(o.A,{id:"get-matched-qna",className:"kosbutton
1none",color:"secondary",onClick:function(){return r.push("/home?open_get_matched=true")},variant:"contained",size:"large",sx:{my:2,px:5},children:a("get-matched")})})]})})}),(0,S.jsx)(i.A,{id:"mobile-bottom-engagement",position:"fixed",elevation:0,children:j&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(c.A,{sx:{my:1}}),"QA"==j.contentType&&(0,S.jsx)(X,{coach:P,user:e.user})]})})]})]})})}},e=>{e.O(0,[888,5577,9029,49,4587,6613,7635,4920,4234,5855,8076,9319,9022,2136,6976,5131,6784,9243,2510,4391,5556,636,6593,8792],()=>e(e.s=94802)),_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.