PageSourceSearch

https://matehand.com/_next/static/chunks/pages/health/profile-566377a94ea256203ef5.js

js matehand.com collected 2026-10-02 15:57:19 UTC 16,482 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[37],{"1wgr":function(e,t,o){"use strict";var n;o.d(t,"a",(function(){return n})),function(e){e[e.postDetailComment=1]="postDetailComment",e[e.postFlow=2]="postFlow",e[e.postFlowWithoutRooms=3]="postFlowWithoutRooms",e[e.explore=4]="explore",e[e.singleExplore=5]="singleExplore",e[e.rooms=6]="rooms",e[e.singleRooms=7]="singleRooms",e[e.profilePosts=8]="profilePosts",e[e.profileComments=9]="profileComments"}(n||(n={}))},"EF/+":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return y}));var n=o("nKUr"),l=o("Nhdc"),i=o("zc35"),a=o("fCx4"),s=o("DF2I"),r=o("mDcw"),c=o("PIHY"),u=o("sWIT"),d=o("OSB9"),v=o("ym/j"),m=o("9I3m"),p=o("q1tI"),b=o("/MKj"),f=o("1wgr"),j=o("Hsf6"),g=o("HQvM"),O=o("eDVJ"),x=o("yyLu"),h=o("p1to"),S=o("lQ4g");function y(){var e,t=Object(b.b)(),o=Object(b.c)((function(e){return e.postReducer})),y=o.postsRedux,w=o.postColor,_=o.updatedPostId,N=o.postDetailComments,E=Object(b.c)((function(e){return e.userReducer})).myAccount,C=Object(p.useState)(j.a.PostsSection),P=C[0],k=C[1],D=Object(p.useState)(null),I=D[0],T=D[1],L="tr",R={dataExtension:"posts",apolloQueryName:v.B,apolloVariables:{limit:20,offset:0,_eq:null===E||void 0===E?void 0:E.id},getTotalLenSubs:{name:m.m,dataExtension:"posts_aggregate",variables:{_eq:null===E||void 0===E?void 0:E.id}},initialData:null,type:f.a.profilePosts,initialApollo:-1};if(p.useEffect((function(){null!==E&&void 0!==E&&E.id&&(t(Object(d.r)([])),Object(S.a)(P,R,null===E||void 0===E?void 0:E.id,(function(e){T(e)})))}),[P,E]),L="tr"===localStorage.getItem("locale")?"tr":"en",0===E.length)return Object(n.jsx)(u.a,{});var A=function(){return Object(n.jsxs)("div",{className:"sticky top-0 flex flex-row pt-8 pb-8  justify-around text-primary-black bg-primary-bggray ",children:[Object(n.jsx)("button",{className:"profileSection",onClick:function(){k(j.a.PostsSection),t(Object(d.o)([]))},children:P===j.a.PostsSection?Object(n.jsx)("label",{className:"font-aller  text-xs md:text-1375",children:Object(h.a)("menupost","leftcomponent")}):Object(n.jsx)("label",{className:"font-allerregular text-xs md:text-lg",children:Object(h.a)("menupost","leftcomponent")})}),Object(n.jsx)("button",{className:"profileSection",onClick:function(){k(j.a.CommentsSection)},children:P===j.a.CommentsSection?Object(n.jsx)("label",{className:"font-aller text-xs md:text-1375",children:Object(h.a)("menucomment","leftcomponent")}):Object(n.jsx)("label",{className:"font-allerregular text-xs md:text-lg",children:Object(h.a)("menucomment","leftcomponent")})}),Object(n.jsx)("button",{className:"profileSection",onClick:function(){k(j.a.LikesSection),t(Object(d.o)([]))},children:P===j.a.LikesSection?Object(n.jsx)("label",{className:"font-aller text-xs md:text-1375",children:Object(h.a)("menuliked","leftcomponent")}):Object(n.jsx)("label",{className:"font-allerregular  text-xs md:text-lg",children:Object(h.a)("menuliked","leftcomponent")})}),Object(n.jsx)("button",{className:"profileSection",onClick:function(){k(j.a.SharesSection),t(Object(d.o)([]))},children:P===j.a.SharesSection?Object(n.jsx)("label",{className:"font-aller text-xs md:text-1375",children:Object(h.a)("menushared","leftcomponent")}):Object(n.jsx)("label",{className:"font-allerregular text-xs md:text-lg",children:Object(h.a)("menushared","leftcomponent")})})]})};return Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(c.a,{isNoIndex:!0,url:"".concat(O.b,"/health/profile"),openGraphType:"website",schemaType:"article",title:"",description:"",image:"/icons/logo.png",keywords:"Matehand, Sa\u011fl\u0131k Sosyal Medyas\u0131, Sa\u011fl\u0131k Problemleri, Doktor Bul, Sa\u011fl\u0131k Odas\u0131, Hastal\u0131k Arkada\u015f\u0131, Health network, Health problems, Health rooms, Health Social Media"}),Object(n.jsx)(l.k,{filtersSideStatus:!1,rightstyle:"hidden lg:flex lg:h-screen ",leftstyle:"hidden sm:flex lg:h-screen",leftroomstyle:"hidden lg:flex ",children:Object(n.jsx)(a.a,{dataExtension:(null===I||void 0===I?void 0:I.dataExtension)||R.dataExtension,apolloQueryName:(null===I||void 0===I?void 0:I.apolloQueryName)||R.apolloQueryName,apolloVariables:(null===I||void 0===I?void 0:I.apolloVariables)||R.apolloVariables,getTotalLenSubs:(null===I||void 0===I?void 0:I.getTotalLenSubs)||R.getTotalLenSubs,initialData:(null===I||void 0===I?void 0:I.initialData)||R.initialData,type:(null===I||void 0===I?void 0:I.type)||R.type,initialApollo:(null===I||void 0===I?void 0:I.initialApollo)||R.initialApollo,newItem:Object(n.jsxs)("div",{className:"flex flex-col w-full",children:[Object(n.jsx)(r.a,{urlUsername:null===E||void 0===E?void 0:E.username}),Object(n.jsx)(A,{})]}),children:null===(e=P!==j.a.CommentsSection?y:N)||void 0===e?void 0:e.map((function(e,t){var o,a,r,c,u,d,v,m,b,f,O,h,S,y,N,E,C,k,D,I,T,R,A,V,q,F,H,Q,M,B,z,J,K,U,W,X,Y,G,Z,$;return Object(n.jsx)(p.Fragment,{children:"loading"===e.data?Object(n.jsx)(s.a,{count:1}):e.source_post_id?Object(n.jsx)(i.a,{postUser:{name:null===e||void 0===e||null===(o=e.user)||void 0===o?void 0:o.name,username:null===e||void 0===e||null===(a=e.user)||void 0===a?void 0:a.username,surname:null===e||void 0===e||null===(r=e.user)||void 0===r?void 0:r.surname,id:null===e||void 0===e||null===(c=e.user)||void 0===c?void 0:c.id,profileImage:null===e||void 0===e||null===(u=e.user)||void 0===u||null===(d=u.images)||void 0===d?void 0:d.path,badge:null===e||void 0===e||null===(v=e.user)||void 0===v?void 0:v.badge},post:{roomName:"tr"===L?null===e||void 0===e||null===(m=e.room)||void 0===m||null===(b=m.name)||void 0===b?void 0:b.tr:null===e||void 0===e||null===(f=e.room)||void 0===f||null===(O=f.name)||void 0===O?void 0:O.en,postDate:Object(g.a)(null===e||void 0===e?void 0:e.created_at).toString(),content:null===e||void 0===e?void 0:e.content,color_id:null===e||void 0===e?void 0:e.color_id,roomId:null===e||void 0===e||null===(h=e.room)||void 0===h?void 0:h.id,numberOfComment:null===e||void 0===e||null===(S=e.comments_aggregate)||void 0===S||null===(y=S.aggregate)||void 0===y?void 0:y.count,postId:null===e||void 0===e?void 0:e.id,postMedia:null===e||void 0===e?void 0:e.media,postShareCount:null===e||void 0===e||null===(N=e.post_share_count)||void 0===N?void 0:N.count},sharedPostId:null===e||void 0===e?void 0:e.source_post_id,editable:e.id===_&&e,child:(null===e||void 0===e?void 0:e.child_post)||(null===e||void 0===e?void 0:e.child_comment)}):Object(n.jsx)(l.F,{user:{name:null===e||void 0===e||null===(E=e.user)||void 0===E?void 0:E.name,userName:null===e||void 0===e||null===(C=e.user)||void 0===C?void 0:C.username,surname:null===e||void 0===e||null===(k=e.user)||void 0===k?void 0:k.surname,id:null===e||void 0===e||null===(D=e.user)||void 0===D?void 0:D.id,profileImage:null===e||void 0===e||null===(I=e.user)||void 0===I||null===(T=I.images)||void 0===T?void 0:T.path,badge:null===e||void 0===e||null===(R=e.user)||void 0===R?void 0:R.badge},sub:"".concat(null===e||void 0===e||null===(A=e.user)||void 0===A?void 0:A.id),post:{roomName:P!==j.a.CommentsSection?"tr"===L?null===e||void 0===e||null===(V=e.room)||void 0===V||null===(q=V.name)||void 0===q?void 0:q.tr:null===e||void 0===e||null===(F=e.room)||void 0===F||null===(H=F.name)||void 0===H?void 0:H.en:"tr"===L?null===e||void 0===e||null===(Q=e.parent_post)||void 0===Q||null===(M=Q.room)||void 0===M||null===(B=M.name)||void 0===B?void 0:B.tr:null===e||void 0===e||null===(z=e.parent_post)||void 0===z||null===(J=z.room)||void 0===J||null===(K=J.name)||void 0===K?void 0:K.en,postDate:Object(g.a)(null===e||void 0===e?void 0:e.created_at).toString(),postId:null===e||void 0===e?void 0:e.id,post_language:null===e||void 0===e?void 0:e.post_language,postContent:null===e||void 0===e?void 0:e.content,color_id:null===e||void 0===e?void 0:e.color_id,roomId:P===j.a.CommentsSection?null===e||void 0===e||null===(U=e.parent_post)||void 0===U||null===(W=U.room)||void 0===W?void 0:W.id:null===e||void 0===e||null===(X=e.room)||void 0===X?void 0:X.id,postMedia:null===e||void 0===e?void 0:e.media,postShareCount:null===e||void 0===e||null===(Y=e.post_share_count)||void 0===Y?void 0:Y.count,numberOfComment:null===e||void 0===e||null===(G=e.comments_aggregate)||void 0===G||null===(Z=G.aggregate)||void 0===Z?void 0:Z.count,parentPostId:null===e||void 0===e||null===($=e.parent_post)||void 0===$?void 0:$.id},postContainerStyle:Object(x.a)(null===e||void 0===e?void 0:e.color_id,w),type:P===j.a.CommentsSection?"comment":"post",noComment:P===j.a.CommentsSection})},"".concat(e.id,"-").concat(t,"-profile"))}))})})]})}y.requireAuth=!0},cssR:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/health/profile",function(){return o("EF/+")}])},eDVJ:function(e,t,o){"use strict";(function(e){o.d(t,"c",(function(){return n})),o.d(t,"b",(function(){return l})),o.d(t,"a",(function(){return i}));var n=!1;var l=n?"http://localhost:3000/":"https://matehand.com/",i=n?"localhost":"matehand.com"}).call(this,o("8oxB"))},fCx4:function(e,t,o){"use strict";var n=o("nKUr"),l=o("cpVT"),i=o("dhJC"),a=o("z7pX"),s=o("q1tI"),r=o("/MKj"),c=o("20a2"),u=o("Nhdc"),d=o("+TN3"),v=o("si5h"),m=o("1wgr"),p=o("OSB9"),b=o("p1to"),f=o("DF2I"),j=o("i5Tb"),g=o("xvhg"),O=o("iT63");function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}t.a=function(e){var t=e.children,o=e.dataExtension,l=e.apolloVariables,x=e.apolloQueryName,S=e.getTotalLenSubs,y=e.initialData,w=e.newPostVisiblity,_=void 0!==w&&w,N=e.type,E=e.initialApollo,C=e.seeNewPostVisiblity,P=void 0!==C&&C,k=e.newItem,D=e.totalList,I=Object(s.useState)(!1),T=I[0],L=I[1],R=Object(s.useState)(0),A=R[0],V=R[1],q=Object(s.useState)(-1),F=q[0],H=q[1],Q=Object(s.useState)(-1),M=Q[0],B=Q[1],z=Object(s.useState)(0),J=z[0],K=z[1],U=Object(s.useState)(-1),W=U[0],X=U[1],Y=Object(s.useState)("concat"),G=Y[0],Z=Y[1],$=Object(s.useState)(""),ee=$[0],te=$[1],oe=Object(s.useState)(!0),ne=oe[0],le=oe[1],ie=Object(s.useState)(""),ae=ie[0],se=ie[1],re=Object(r.b)(),ce=Object(r.c)((function(e){return e.postReducer})),ue=ce.postDetailComments,de=ce.postsRedux,ve=ce.exploreSinglePosts,me=ce.imageLoadingStatus,pe=Object(r.c)((function(e){return e.userReducer})),be=pe.myFollowing,fe=pe.myFollowingRooms,je=Object(c.useRouter)(),ge=Object(s.useRef)(),Oe=Object(s.useRef)(),xe=function(){return L(!0)},he=function(){return L(!1)},Se=function(e){var t=Object(s.useState)(!1),o=t[0],n=t[1];return Object(s.useEffect)((function(){var t=new IntersectionObserver((function(e){var t=Object(g.a)(e,1)[0];return n(t.isIntersecting)}));return t.observe(e.current),function(){t.disconnect()}}),[]),o}(Oe);Object(s.useEffect)((function(){D&&H(D),te("disable"),X(l),B(-1),xe(),V(0),y&&-1!==E&&(ye(y),V((function(e){return e+20})),he())}),[l,je,D]);var ye=function(e){var t,o;switch(N){case m.a.postFlow:case m.a.singleRooms:case m.a.explore:case m.a.profilePosts:t=p.r,o=de;break;case m.a.singleExplore:t=p.b,o=ve;break;case m.a.profileComments:t=p.o,o=ue}re(t("concat"===G?[].concat(Object(a.a)(o),Object(a.a)(e)):[].concat(Object(a.a)(e),Object(a.a)(o))))},we=Object(d.a)(x,{variables:W,fetchPolicy:"no-cache",skip:-1===W,onCompleted:function(e){V((function(e){return e+20})),ye(null===e||void 0===e?void 0:e[o]),he()}});Object(v.a)(null===S||void 0===S?void 0:S.name,{variables:null===S||void 0===S?void 0:S.variables,fetchPolicy:"no-cache",onSubscriptionData:function(e){var t,o,n,l=e.subscriptionData,i=null===l||void 0===l||null===(t=l.data)||void 0===t||null===(o=t[null===S||void 0===S?void 0:S.dataExtension])||void 0===o||null===(n=o.aggregate)||void 0===n?void 0:n.count;H(i),-1===M?B(i):-1!=M&&i>M?(B((function(e){return e+1})),K((function(e){return e+1}))):B((function(e){return e-1}))}}),Object(s.useEffect)((function(){if(Se&&A<=F)if(se(""),xe(),Z("concat"),-1===W)X(E);else{W.offset;var e=Object(i.a)(W,["offset"]);X(h(h({},e),{},{offset:A}))}}),[Se]);Object(s.useEffect)((function(){var e=function(){le(!1)};if("complete"!==document.readyState)return window.addEventListener("load",e),function(){return document.removeEventListener("load",e)};e()}),[ne]),Object(s.useMemo)((function(){F>0&&0===(null===be||void 0===be?void 0:be.length)&&0===(null===fe||void 0===fe?void 0:fe.length)&&0===(null===ve||void 0===ve?void 0:ve.length)&&0===(null===de||void 0===de?void 0:de.length)?se(Object(b.a)("noFollowingAnything","post")):A>=F&&!T&&F>0?se(Object(b.a)("thatIsAll","post")):!T&&F<=0&&se(Object(b.a)("postDoesNotExist","post"))}),[be,fe,ve,de,F]);return Object(n.jsxs)("div",{className:"overflow-y-auto flex flex-col items-center",ref:ge,onScroll:function(e){return function(e){var t=e.currentTarget,o=t.scrollTop;t.clientHeight,t.scrollHeight,t.offsetWidth,te(o>10?"visable":"disable"),re(o>200?Object(O.a)("banner active"):Object(O.a)("banner"))}(e)},children:[_&&Object(n.jsx)(u.B,{title:Object(b.a)("createNewPost","post"),className:"flex min-w-min  items-center justify-center shadow-md  rounded-xl bg-primary-white w-full min-w-min flex-col"}),k,0===(null===ve||void 0===ve?void 0:ve.length)&&0===(null===de||void 0===de?void 0:de.length)&&T&&Object(n.jsx)(f.a,{count:5}),"push"===G&&T&&A<=F&&Object(n.jsx)(f.a,{count:1}),!me&&J>0&&P&&Object(n.jsx)("button",{className:"flex justify-center p-1",onClick:function(){!function(){K(0),xe(),W.offset;var e=Object(i.a)(W,["offset"]);X(h(h({},e),{},{offset:0,limit:J})),we.refetch(h(h({},e),{},{offset:0,limit:J})),Z("push")}()},children:"Yeni postlar\u0131 g\xf6r..."}),t,"concat"===G&&T&&A<=F&&Object(n.jsx)(f.a,{count:1}),Object(n.jsx)("p",{ref:Oe,className:"mb-2"}),(null===ae||void 0===ae?void 0:ae.length)>0&&!T&&!ne&&Object(n.jsx)("p",{className:"m-4 font-allerregular text-md text-secondary-cyan",children:ae}),!ne&&F>0&&Object(n.jsx)("div",{id:"scrollToTop",onClick:function(){ge.current.scrollTo({top:0,behavior:"smooth"}),te("disable")},className:"".concat(ee),children:Object(n.jsx)(j.a,{size:"26"})})]})}},i5Tb:function(e,t,o){"use strict";var n=o("qIsH"),l=o.n(n),i=o("17x9"),a=o.n(i);const s=e=>{const{color:t,size:o,...n}=e;return l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:t,...n},l.a.createElement("path",{d:"M17.71,11.29l-5-5a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-5,5a1,1,0,0,0,1.42,1.42L11,9.41V17a1,1,0,0,0,2,0V9.41l3.29,3.3a1,1,0,0,0,1.42,0A1,1,0,0,0,17.71,
111.29Z"}))};s.propTypes={color:a.a.string,size:a.a.oneOfType([a.a.string,a.a.number])},s.defaultProps={color:"currentColor",size:"24"},t.a=s},lQ4g:function(e,t,o){"use strict";o.d(t,"a",(function(){return s}));var n=o("ym/j"),l=o("9I3m"),i=o("1wgr"),a=o("Hsf6"),s=function(e,t,o,s){switch(e){case a.a.PostsSection:s({dataExtension:"posts",apolloQueryName:n.B,apolloVariables:{limit:20,offset:0,_eq:o},getTotalLenSubs:{name:l.m,dataExtension:"posts_aggregate",variables:{_eq:o}},initialData:null,type:i.a.profilePosts,initialApollo:-1});break;case a.a.CommentsSection:s({dataExtension:"comments",apolloQueryName:n.j,apolloVariables:{limit:20,offset:0,_eq:o},getTotalLenSubs:{name:l.k,dataExtension:"comments_aggregate",variables:{_eq:o}},initialData:null,type:i.a.profileComments,initialApollo:-1});break;case a.a.LikesSection:s({dataExtension:"posts",apolloQueryName:n.y,apolloVariables:{limit:20,offset:0,_eq:o},getTotalLenSubs:{name:l.l,dataExtension:"posts_aggregate",variables:{_eq:o}},initialData:null,type:i.a.profilePosts,initialApollo:-1});break;case a.a.SharesSection:s({dataExtension:"posts",apolloQueryName:n.I,apolloVariables:{limit:20,offset:0,_eq:o},getTotalLenSubs:{name:l.n,dataExtension:"posts_aggregate",variables:{_eq:o}},initialData:null,type:i.a.profilePosts,initialApollo:-1})}}},sWIT:function(e,t,o){"use strict";var n=o("nKUr"),l=(o("q1tI"),o("Aiso")),i=o.n(l);t.a=function(e){return Object(n.jsx)("div",{className:"flex flex-row justify-center  w-screen h-screen",children:Object(n.jsx)("div",{className:"self-center w-300px h-300px   spinner ",children:Object(n.jsx)(i.a,{src:"/icons/spinner.svg",width:"280px",height:"280px"})})})}}},[["cssR",0,1,5,12,2,3,4,6,7,9,8,10,11]]]);

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.