1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7504],{80143:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return j}});var r=a(85893),o=a(87757),n=a.n(o),s=a(15861),i=a(67294),c=a(89381),l=a(9008),u=a(69585),f=a(27518),p=a(41120),m=a(43832),x=a(33901),d=a(8286),g=a(282),h=a(32553),b=a(74839),w=a(85611),v=(0,p.Z)({btnItemRight:{color:"#848CA5",backgroundColor:"#0000000d",float:"right",fontSize:"12px",position:"relative"},btnSaveChanges:{color:"#12273F",backgroundColor:"transprent",float:"right",fontSize:"14px",position:"relative",border:"1px solid #12273F"},image:{marginTop:"15px",width:"100px",height:"100px"},formControlText:{minWidth:"100%",marginTop:"25px",marginBottom:"10px"},submitButton:{float:"right",fontSize:"12px",position:"relative",backgroundColor:"#d73088",color:"white",width:"80px",marginTop:"15px",marginBottom:"10px"},btnNext:{backgroundColor:"#12273F",color:"#fff",margin:"30px 0 12px 0","&:hover":{backgroundColor:"#12273fe6",color:"#fff"}},label:{fontSize:"12px"},p:{fontSize:"26px",color:"#ec9a3d"}}),j=!0;t.default=function(e){var t=e.teacher,a=e.isLoggedIn,o=e.userIp,p=new u.Z,j=(0,w.e1)().addToast,k=v(),C=p.get("facebookUser"),N=(0,i.useState)(!!C),_=N[0],S=N[1],T=(0,i.useState)(null),Z=T[0],y=T[1],I=(0,i.useState)(null),z=I[0],R=I[1];if(C)var E=C.profilePic.data.url;var F=function(){var e=(0,s.Z)(n().mark((function e(){return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.Z.FbReview(C.subId,C.fname,C.lname,Z,t.userId,z,E);case 2:201==e.sent?(j("Review submitted..",{appearance:"success",autoDismiss:!0,autoDismissTimeout:3e3}),p.remove("facebookUser",{path:"/"})):(j("Something went wrong",{appearance:"error",autoDismiss:!0,autoDismissTimeout:4e3}),p.remove("facebookUser",{path:"/"}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(f.Z,{title:"Write a Review",isOpen:_,onClose:function(){S(!1)},type:"form",children:(0,r.jsxs)(m.Z,{children:[(0,r.jsxs)(h.JX,{children:[(0,r.jsx)(x.Z,{className:k.image,src:C.profilePic.data.url}),(0,r.jsxs)("p",{className:k.p,children:[(0,r.jsx)("a",{className:1==z||2==z||3==z||4==z||5==z?"fas fa-star":"far fa-star",onClick:function(){R(1)}})," ",(0,r.jsx)("a",{className:2==z||3==z||4==z||5==z?"fas fa-star":"far fa-star",onClick:function(){R(2)}})," ",(0,r.jsx)("a",{className:3==z||4==z||5==z?"fas fa-star":"far fa-star",onClick:function(){R(3)}})," ",(0,r.jsx)("a",{className:4==z||5==z?"fas fa-star":"far fa-star",onClick:function(){R(4)}})," ",(0,r.jsx)("a",{className:5==z?"fas fa-star":"far fa-star",onClick:function(){R(5)}})]})]}),(0,r.jsxs)(h.JX,{children:[(0,r.jsx)(d.Z,{error:""===Z,helperText:""===Z?"Required*":" ",id:"outlined-basic",placeholder:"Write a Review",variant:"outlined",className:k.formControlText,multiline:!0,rows:5,rowsMax:20,onChange:function(e){return y(e.target.value)}}),(0,r.jsx)(g.Z,{className:k.submitButton,onClick:F,color:"primary",align:"right",children:"Submit"})]})]})}),(0,r.jsxs)(l.default,{children:[(0,r.jsx)("meta",{property:"og:url",content:"https://muzigal.com/music-teacher/".concat(t.slug)}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:title",content:"Muzigal | Learn Music online with ".concat(t.fname," ").concat(t.lname)}),(0,r.jsx)("meta",{property:"og:description",content:t.shareText}),(0,r.jsx)("meta",{property:"og:image",content:"".concat(t.profileImage)})]}),(0,r.jsx)(c.Z,{isLoggedIn:a,teacher:t,userIp:o})]})}},28256:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile-preview/[slug]",function(){return a(80143)}])}},function(e){e.O(0,[1216,1144,1033,2199,8286,6066,1484,8531,1876,2944,66,4381,9774,2888,179],(function(){return t=28256,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.