PageSourceSearch

https://tealfeed.com/_next/static/chunks/1847-36208c981808e4e0.js

js tealfeed.com collected 2026-09-24 08:42:15 UTC 24,577 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1847],{18069:function(e,t,r){r.d(t,{Z:function(){return Ne}});var n=r(70302),a=r(12386),l=r(59499),i=r(50029),o=r(16835),s=r(87794),c=r.n(s),d=r(67294),u=r(25675),v=r.n(u),p=r(41664),h=r.n(p),f=r(11163),m=r(85945),x=r(26606),g=r(10896),b=r(85893);var y,j,w=function(e){var t=e.connectStatus,r=e.newsletterCount,n=e.articleCount,a=(0,f.useRouter)(),l=a.pathname,i=a.asPath,o=(0,d.useState)(!1),s=o[0],c=o[1],u=(0,d.useState)(!1),v=u[0],p=u[1],h=(0,d.useState)(!1),m=h[0],y=h[1];return(0,d.useEffect)((function(){l.includes("connect")?p(!0):l.includes("newsletter")?y(!0):l.includes("followers")||l.includes("following")||l.includes("subscribers")?(c(!1),p(!1),y(!1)):c(!0)}),[l]),(0,b.jsx)("div",{className:"mx-auto mt-4 flex md:px-10 ",children:(0,b.jsxs)("div",{className:"mx-auto",children:[(0,b.jsx)(g.Z,{condition:n>0,children:(0,b.jsxs)(x.Z,{variant:"empty",className:"".concat(s?"border-b-2 border-borderColor-skin-brand  text-base font-semibold text-textColor-skin-brand":" text-base text-textColor-skin-primary"," px-2 pb-2 lg:px-3"),onClick:function(){return a.push("/".concat(i.split("/")[1].trim()))},children:["My Blogs (",(0,b.jsx)("span",{children:n}),")"]})}),(0,b.jsx)(g.Z,{condition:r>0,children:(0,b.jsx)(x.Z,{variant:"empty",className:"".concat(m?"border-b-2 border-borderColor-skin-brand text-base font-semibold text-textColor-skin-brand":" text-base text-textColor-skin-primary"," ml-4 px-2 pb-2 lg:px-3"),onClick:function(){return a.push("/".concat(i.split("/")[1].trim(),"/newsletter"))},children:"Subscription"})}),(0,b.jsx)(g.Z,{condition:"completed"===t,children:(0,b.jsx)(x.Z,{variant:"empty",className:"".concat(v?"border-b-2 border-borderColor-skin-brand text-base font-semibold text-textColor-skin-brand":" text-base text-textColor-skin-primary"," ml-4 px-2 pb-2 lg:px-3"),onClick:function(){return a.push("/".concat(i.split("/")[1].trim(),"/connect"))},children:"Connect"})})]})})},k=r(48395);function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var C,N,M=function(e){return d.createElement("svg",O({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),y||(y=d.createElement("path",{d:"M10 11.667a3.889 3.889 0 100-7.778 3.889 3.889 0 000 7.778z",stroke:"teal",strokeLinecap:"round",strokeLinejoin:"round"})),j||(j=d.createElement("path",{d:"M7.894 11.05l-.672 5.06L10 14.445l2.778 1.667-.673-5.067",stroke:"teal",strokeLinecap:"round",strokeLinejoin:"round"})))};function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}var E,_=function(e){return d.createElement("svg",z({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),C||(C=d.createElement("g",{clipPath:"url(#youtube_svg__clip0_2340_58387)"},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.399 4.504a2.686 2.686 0 011.91 1.882c.658 2.618.615 7.568.013 10.228a2.686 2.686 0 01-1.91 1.881c-2.628.641-14.403.562-16.88 0a2.686 2.686 0 01-1.91-1.881C1.003 14.118 1.045 8.84 1.61 6.4a2.686 2.686 0 011.91-1.882c3.514-.723 15.629-.49 16.88-.014zM9.883 8.31l5.645 3.191-5.645 3.19V8.31z",fill:"var(--text-primary)"}))),N||(N=d.createElement("defs",null,d.createElement("clipPath",{id:"youtube_svg__clip0_2340_58387"},d.createElement("path",{fill:"#fff",transform:"translate(1 4)",d:"M0 0h22v15H0z"})))))};function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},S.apply(this,arguments)}var L,I=function(e){return d.createElement("svg",S({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),E||(E=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.01 1C5.92 1 1 6.042 1 12.279c0 4.986 3.153 9.206 7.528 10.7.547.112.747-.243.747-.542 0-.261-.018-1.157-.018-2.091-3.063.672-3.7-1.345-3.7-1.345-.492-1.307-1.222-1.643-1.222-1.643-1.002-.69.073-.69.073-.69 1.112.074 1.696 1.157 1.696 1.157.984 1.718 2.57 1.232 3.207.934.092-.729.383-1.233.693-1.513-2.442-.261-5.012-1.232-5.012-5.565 0-1.232.437-2.24 1.13-3.025-.11-.28-.492-1.438.11-2.988 0 0 .929-.298 3.025 1.158a10.42 10.42 0 012.752-.373c.93 0 1.877.13 2.752.373 2.096-1.456 3.026-1.158 3.026-1.158.602 1.55.219 2.708.11 2.988.71.784 1.13 1.793 1.13 3.025 0 4.333-2.57 5.285-5.031 5.56
15.4.355.747 1.027.747 2.091 0 1.513-.018 2.727-.018 3.1 0 .299.2.654.747.542C19.847 21.485 23 17.265 23 12.279 23.018 6.042 18.079 1 12.01 1z",fill:"var(--text-primary)"})))};function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(this,arguments)}var D,Z=function(e){return d.createElement("svg",P({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),L||(L=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2.576C1 1.706 1.728 1 2.626 1h18.748C22.272 1 23 1.706 23 2.576v18.848c0 .87-.728 1.576-1.626 1.576H2.626C1.728 23 1 22.294 1 21.424V2.576zm6.669 16.84V9.482H4.346v9.934h3.323zM6.007 8.126c1.159 0 1.88-.763 1.88-1.716-.021-.975-.72-1.717-1.858-1.717-1.136 0-1.88.742-1.88 1.717 0 .953.721 1.716 1.837 1.716h.021zm6.824 11.29H9.508s.044-9.002 0-9.934h3.323v1.407c.441-.677 1.232-1.64 2.994-1.64 2.187 0 3.826 1.42 3.826 4.471v5.696h-3.323v-5.314c0-1.336-.48-2.247-1.683-2.247-.918 0-1.465.615-1.705 1.208-.088.212-.11.509-.11.806v5.547zm0-8.527v.034h-.022l.022-.034z",fill:"var(--text-primary)"})))};function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}var U,A=function(e){return d.createElement("svg",Q({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),D||(D=d.createElement("path",{d:"M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5 0-.279-.028-.556-.08-.83A7.72 7.72 0 0023 3z",fill:"var(--text-primary)",stroke:"var(--text-primary)",strokeLinecap:"round",strokeLinejoin:"round"})))};function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(this,arguments)}var H,R=function(e){return d.createElement("svg",F({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),U||(U=d.createElement("path",{d:"M8.625 11.25H6V9h2.625a1.125 1.125 0 010 2.25zM9 12.75H6v3h3a1.5 1.5 0 100-3zm7.5-1.5a2.25 2.25 0 00-2.12 1.5h4.24a2.25 2.25 0 00-2.12-1.5zm6-6v13.5a1.5 1.5 0 01-1.5 1.5H3a1.5 1.5 0 01-1.5-1.5V5.25A1.5 1.5 0 013 3.75h18a1.5 1.5 0 011.5 1.5zm-9 3a.75.75 0 00.75.75h4.5a.75.75 0 100-1.5h-4.5a.75.75 0 00-.75.75zm-1.5 6a3 3 0 00-1.325-2.487A2.625 2.625 0 008.625 7.5H5.25a.75.75 0 00-.75.75v8.25a.75.75 0 00.75.75H9a3 3 0 003-3zm8.25-.75a3.75 3.75 0 10-1.27 2.813.75.75 0 00-.992-1.125 2.25 2.25 0 01-3.609-.938H19.5a.75.75 0 00.75-.75z",fill:"var(--text-primary)"})))};function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(this,arguments)}var K,T=function(e){return d.createElement("svg",W({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),H||(H=d.createElement("path",{d:"M8.744 3.456a.375.375 0 01.077-.674 9.744 9.744 0 018.312.932.375.375 0 01.094.55 14.373 14.373 0 01-3.928 3.47 15.884 15.884 0 00-4.555-4.278zm3.217 4.982A14.344 14.344 0 006.71 4.04a.37.37 0 00-.375.03A9.788 9.788 0 002.74 8.947a.375.375 0 00.281.483C4.001 9.64 5 9.748 6 9.75a14.156 14.156 0 005.96-1.312zm9.73 2.502a9.732 9.732 0 00-2.736-5.765.375.375 0 00-.562.032 15.86 15.86 0 01-4.284 3.787c.514.891.94 1.83 1.27 2.803a15.717 15.717 0 015.902-.447.375.375 0 00.41-.407v-.003zm-5.897 2.297a15.719 15.719 0 01.032 7.06.376.376 0 00.533.422 9.773 9.773 0 005.304-7.43.376.376 0 00-.327-.42 14.292 14.292 0 00-5.542.374v-.006zm-1.841-.98a14.23 14.23 0 00-1.162-2.551A15.657 15.657 0 016 11.25c-1.099 0-2.195-.115-3.27-.342a.376.376 0 00-.451.334 9.724 9.724 0 003.064 7.875.375.375 0 00.576-.087 15.844 15.844 0 018.034-6.77v-.003zm-6.857 7.735a.375.375 0 00.142.514 9.739 9.739 0 006.455 1.096.369.369 0 00.287-.248c.483-1.454.73-2.976.731-4.508 0-1.056-.117-2.108-.35-3.137a14.338 14.338 0 00-7.265 6.283z",fill:"var(--text-primary)"})))};function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V.apply(this,arguments)}var B,G=function(e){return d.createElement("svg",V({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=d.createElement("path",{d:"M16.5 2.25h-9A5.256 5.256 0 002.25 7.5v9a5.256 5.256 0 005.25 5.25h9a5.256 5.256 0 005.25-5.25v-9a5.256 5.256 0 00-5.25-5.25zM12 16.5a4.5 4.5 0 110-9 4.5 4.5 0 010 9zm5.625-9a1.125 1.125 0 110-2.25 1.125 1.125 0 010 2.25zM15 12a3 3 0 11-5.999 0A3 3 0 0115 12z",fill:"var(--text-primary)"})))};function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}var J,X=function(e){return d.createElement("svg",q({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),B||(B=d.createElement("path",{d:"M21.75 12.066c-.036 5.296-4.356 9.63-9.651 9.683a9.767 9.767 0 01-2.432-.281.374.374 0 01-.273-.456l.81-3.239c.79.396 1.662.602 2.54
16.602 3.468 0 6.253-3.136 5.982-6.877A6.75 6.75 0 105.74 14.53a.75.75 0 001.009.402.768.768 0 00.375-.983 5.25 5.25 0 1110.111-2.337c.201 2.862-1.887 5.262-4.486 5.262-.765 0-1.515-.21-2.17-.604l1.397-5.59a.75.75 0 00-1.455-.363L8.004 20.392a.375.375 0 01-.535.242 9.75 9.75 0 01-5.22-8.739c.057-5.284 4.376-9.596 9.657-9.645a9.75 9.75 0 019.844 9.816z",fill:"var(--text-primary)"})))};function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}var $,ee=function(e){return d.createElement("svg",Y({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.125 22.84v-7.369H7.077v-3.47h3.048V9.358c0-3.008 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.926-1.956 1.875V12h3.328l-.531 3.47h-2.796v7.37C19.056 21.95 23 17.436 23 12c0-6.075-4.925-11-11-11S1 5.925 1 12c0 5.436 3.943 9.95 9.125 10.84z",fill:"var(--text-primary)"})))};function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},te.apply(this,arguments)}var re,ne,ae=function(e){return d.createElement("svg",te({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$||($=d.createElement("path",{d:"M16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 01-4.33 3.56zM14.34 14H9.66c-.1-.66-.16-1.32-.16-2 0-.68.06-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zM12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96zM8 8H5.08A7.923 7.923 0 019.4 4.44C8.8 5.55 8.35 6.75 8 8zm-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8.008 8.008 0 015.08 16zm-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97zM18.92 8h-2.95a15.65 15.65 0 00-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56zM12 2C6.47 2 2 6.5 2 12A10 10 0 1012 2z",fill:"var(--text-primary)"})))};function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},le.apply(this,arguments)}var ie,oe=function(e){return d.createElement("svg",le({width:17,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),re||(re=d.createElement("path",{d:"M8.5 8.5a2 2 0 100-4 2 2 0 000 4z",stroke:"var(--text-secondary)",strokeLinecap:"round",strokeLinejoin:"round"})),ne||(ne=d.createElement("path",{d:"M13.5 6.5c0 4.5-5 8-5 8s-5-3.5-5-8a5 5 0 1110 0z",stroke:"var(--text-secondary)",strokeLinecap:"round",strokeLinejoin:"round"})))};function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}var ce=function(e){return d.createElement("svg",se({width:17,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ie||(ie=d.createElement("path",{d:"M6.382 10.119l4.237-4.244M9.562 11.181L7.794 12.95A3.001 3.001 0 013.55 8.706l1.769-1.768M11.681 9.063l1.769-1.768A3 3 0 109.206 3.05L7.438 4.82",stroke:"var(--brandColor)",strokeLinecap:"round",strokeLinejoin:"round"})))},de=r(4987),ue=r(51222),ve=r(76413),pe=r(77566),he=(r(8659),r(12225)),fe=r(90094),me=r(43275),xe=r(86646),ge=r(92836);function be(e){var t=e.split("://");return t.length>1?"http"===t[0].toLowerCase()?"http://".concat(t[1]):"https://".concat(t[1]):"http"===t[0].toLowerCase()?"http://".concat(t[0]):"https://".concat(t[0])}var ye=r(30505),je=r(34572),we=r(61317),ke=r(35156);function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Oe(Object(r),!0).forEach((function(t){(0,l.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ne=function(e){var t=e.userName,r=e.userDetails,l=e.posts,s=e.followingCount,u=e.followersCount,p=e.newsletterCount,x=(0,m.NL)(),y=((0,fe.A)(),(0,f.useRouter)()),j=(0,k.Z)(),O=j.isMobile,C=(j.isTablet,(0,je.E)()),N=C.loggedInUser,z=C.authVerified,E=(0,we.Z)("authPayload",null),S=((0,o.Z)(E,2)[1],(0,we.Z)("authAction",null)),L=((0,o.Z)(S,2)[1],(0,he.mx)()),P=(L.setSelectedUser,L.setSelectedLocalUser,(0,d.useState)(!1)),D=P[0],Q=P[1],U=(0,d.useState)(!1),F=U[0],H=U[1],W=((0,pe.p)().openInfoToast,(0,de.Tt)({userId:null===r||void 0===r?void 0:r._id,customConfig:{enabled:z}}).data),K=void 0===W?{}:W,V=(0,de.ti)({userId:null===r||void 0===r?void 0:r._id,customConfig:{onMutate:function(){var e=(0,i.Z)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x.cancelQueries(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}));case 2:return t=x.getQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id})),x.setQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}),(function(e){return Ce(Ce({},e),{},{isFollowed:!0})})),e.abrupt("return",{previousMetaData:t});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onError:function(e,t,n){x.setQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}),n.previousMetaData)},onSuccess:function(){(0,ue.Lu)(t),ve.B({category:"Follow",action:"Follow User",value:t,label:"Follow Action: Follow User "})},onSettled:function(){x.invalidateQueries(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}))}}}),B=(V.mutate,(0,de.kd)({userId:null===r||void 0===r?void 0:r._id,customConfig:{onSuccess:function(){x.invalidateQueries(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id})),x.invalidateQueries(["following-list"]),x.invalidateQueries(de.SW.getUserQueryKey[r.userName])}}}).mutate,(0,de.E_)({userId:null===r||void 0===r?void 0:r._id,customConfig:{onMutate:function(){var e=(0,i.Z)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x.cancelQueries(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}));case 2:return t=x.getQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id})),x.setQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}),(function(e){return Ce(Ce({},e),{},{isFollowed:!1})})),e.abrupt("return",{previousMetaData:t});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onError:function(e,t,n){x.setQueryData(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}),n.previousMetaData)},onSuccess:function(){(0,ue.gv)(t),ve.B({category:"UnFollow",action:"UnFollow User",value:t,label:"UnFollow Action: UnFollow User "})},onSettled:function(){x.invalidateQueries(de.SW.getUserMetaDataQueryKey({userId:null===r||void 0===r?void 0:r._id}))}}}));B.mutate;null!==K&&void 0!==K&&K.isFollower,z&&(null===N||void 0===N||N.id,r._id);return a.default,a.default.Item,a.default.Item,"Followers (".concat(u,")"),a.default.Item,"Following (".concat(s,")"),a.default,a.default.Item,a.default.Item,"Followers (".concat(u,")"),a.default.Item,"Following (".concat(s,")"),(null===K||void 0===K?void 0:K.isFollower)&&a.default.Item,z&&(null===N||void 0===N?void 0:N.id)!==(null===r||void 0===r?void 0:r._id)&&a.default.Item,z&&(null===N||void 0===N?void 0:N.id)!==(null===r||void 0===r?void 0:r._id)&&a.default.Item,(0,b.jsx)("div",{className:"w-full",children:(0,b.jsxs)(n.Z,{className:"relative w-full border-borderColor-skin-primary bg-backgroundColor-skin-secondary shadow-sm",style:{borderRadius:O?"0px":"8px",marginLeft:0,marginRight:0},bodyStyle:{padding:"0px"},children:[(0,b.jsx)("div",{className:"userCard-bg-gradient absolute -top-12 left-4 h-24 w-24 rounded-full md:-top-20 md:left-[
1calc(50%-5rem)] md:h-40 md:w-40",children:(0,b.jsx)(v(),{src:(0,ke.nL)(null===r||void 0===r?void 0:r.avatar),alt:"career-background",layout:"fill",objectFit:"cover",className:"scale-95 rounded-full"})}),(0,b.jsx)("div",{className:" absolute -top-10 right-0 mr-2 mt-2 h-6 w-2/6 md:top-0 md:mr-2 md:h-10 lg:mr-3 lg:w-1/5 ",children:(0,b.jsx)("div",{className:"flex justify-end gap-4 pt-0.5",children:(null===r||void 0===r?void 0:r.socialLinks)&&(0,b.jsx)(b.Fragment,{children:null===r||void 0===r?void 0:r.socialLinks.map((function(e){if(""===e.url||null===e.url)return null;var t=null;switch(e.domainName){case"youtube":t=(0,b.jsx)(_,{});break;case"github":t=(0,b.jsx)(I,{});break;case"linkedin":t=(0,b.jsx)(Z,{});break;case"twitter":t=(0,b.jsx)(A,{});break;case"facebook":t=(0,b.jsx)(ee,{});break;case"instagram":t=(0,b.jsx)(G,{});break;case"behance":t=(0,b.jsx)(R,{});break;case"dribbble":t=(0,b.jsx)(T,{});break;case"pinterest":t=(0,b.jsx)(X,{});break;default:t=(0,b.jsx)(ae,{})}var r=e.url;return r.includes("http")||(r="http://".concat(r)),(0,b.jsx)(h(),{href:"".concat(r),passHref:!0,children:(0,b.jsx)("a",{target:"_blank",className:"cursor-pointer",rel:"noopener noreferrer",children:t})})}))})})}),(0,b.jsx)(g.Z,{condition:"TCP"===(null===r||void 0===r?void 0:r.creatorType),children:(0,b.jsx)("div",{className:"absolute right-0 mr-2 mt-2 flex h-7 md:left-0 md:ml-2 md:mt-5 md:h-10 lg:ml-4",children:(0,b.jsxs)("div",{className:"flex h-7 cursor-pointer items-center rounded-lg bg-brandColor-skin-light px-2",onClick:function(){return y.push("/join-creators-program")},children:[(0,b.jsx)(M,{}),(0,b.jsx)("p",{className:"text-md h-7 rounded-lg px-2 pt-0.5 text-brandColor-skin-teal",children:"Tealfeed Creators\u2019 Program"})]})})}),(0,b.jsx)("div",{}),(0,b.jsxs)("div",{className:"px-4 pt-12 lg:pt-24 lg:text-center",children:[(0,b.jsx)("p",{className:"py-1 text-base font-semibold text-textColor-skin-primary md:pt-0 lg:text-2xl",children:null===r||void 0===r?void 0:r.fullName}),(0,b.jsx)("p",{className:"pb-1 text-textColor-skin-secondary lg:text-base",children:"@".concat(null===r||void 0===r?void 0:r.userName)}),(0,b.jsx)("p",{className:"pb-1 font-medium  text-textColor-skin-primary lg:text-lg",children:null===r||void 0===r?void 0:r.headline}),(null===r||void 0===r?void 0:r.about)&&(0,b.jsx)(ye.Z,{text:null===r||void 0===r?void 0:r.about,Rows:2}),(0,b.jsxs)("div",{className:"flex w-full flex-col gap-2 md:flex-row md:items-center md:justify-center",children:[(0,b.jsx)("div",{children:function(){var e,t,n,a,l,i,o,s,c,d;return null!==r&&void 0!==r&&null!==(e=r.address)&&void 0!==e&&e.city&&null!==r&&void 0!==r&&null!==(t=r.address)&&void 0!==t&&t.country?(0,b.jsxs)("div",{className:"flex items-center gap-2 lg:justify-end ",children:[(0,b.jsx)(oe,{}),(0,b.jsxs)("p",{className:"text-textColor-skin-primary",children:[null===r||void 0===r||null===(o=r.address)||void 0===o?void 0:o.city,", ",null===r||void 0===r||null===(s=r.address)||void 0===s?void 0:s.country]})]}):null===r||void 0===r||null===(n=r.address)||void 0===n||!n.city||null!==r&&void 0!==r&&null!==(a=r.address)&&void 0!==a&&a.country?null!==r&&void 0!==r&&null!==(l=r.address)&&void 0!==l&&l.city||null===r||void 0===r||null===(i=r.address)||void 0===i||!i.country?null:(0,b.jsxs)("div",{className:"flex items-center gap-2 lg:justify-end ",children:[(0,b.jsx)(oe,{}),(0,b.jsx)("p",{className:"text-textColor-skin-primary",children:null===r||void 0===r||null===(d=r.address)||void 0===d?void 0:d.country})]}):(0,b.jsxs)("div",{className:"flex items-center gap-2 lg:justify-end ",children:[(0,b.jsx)(oe,{}),(0,b.jsx)("p",{className:"text-textColor-skin-primary",children:null===r||void 0===r||null===(c=r.address)||void 0===c?void 0:c.city})]})}()}),(null===r||void 0===r?void 0:r.portfolioLink)&&(0,b.jsx)("div",{style:{overflowWrap:"break-word"},children:r.portfolioLink.split("tealfeed.com").length>1?(0,b.jsx)("a",{href:be(r.portfolioLink),rel:"noopener",className:"line-clamp-1 pb-1 text-left text-textColor-skin-brand",children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(ce,{}),(0,b.jsx)("p",{className:"line-clamp-1 max-w-[36ch]",children:r.portfolioLink})]})}):(0,b.jsx)("a",{href:be(r.portfolioLink),target:"_blank",rel:"noopener nofollow noreferrer",className:"line-clamp-1 pb-1 text-left text-textColor-skin-brand ",children:(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsx)(ce,{}),(0,b.jsx)("p",{className:"line-clamp-1 max-w-[36ch]",children:r.portfolioLink})]})})})]})]}),(0,b.jsx)(w,{connectStatus:null===r||void 0===r?void 0:r.connectStatus,newsletterCount:p,articleCount:l}),(0,b.jsx)(g.Z,{condition:F,children:(0,b.jsx)(me.Z,{refType:"User",refId:r._id,open:F,setOpen:H,userId:r._id.toString()})}),(0,b.jsx)(g.Z,{condition:!z&&D,children:(0,b.jsx)(xe.Z,{isModalOpen:D,setIsModalOpen:Q,redirectUrl:y.asPath.toString(),authType:ge.Gr.default,authFeature:ge.E6.default,authAction:ge.g4.default})})]})})}},77236:function(e,t,r){var n=r(3513),a=(r(67294),r(66986)),l=r(89275),i=r(75914),o=r(85893);t.Z=function(e){var t=e.children,r=e.device,s=e.text;return"mobile"===r?(0,o.jsxs)("div",{className:"relative flex h-full flex-col",children:[(0,o.jsxs)("main",{className:"flex-1 bg-backgroundColor-skin-primary",children:[(0,o.jsx)(n.Z,{offsetTop:0,className:"sticky top-0 z-[500]",children:(0,o.jsx)(l.Z,{text:s})}),(0,o.jsx)("div",{className:"userCard-bg-gradient h-[72px]"}),(0,o.jsx)("div",{className:"relative m-auto w-full ",children:t})]}),(0,o.jsx)("div",{className:"sticky bottom-0 z-[500]",children:(0,o.jsx)(i.Z,{})})]}):(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)("header",{className:"fixed top-0 z-[500] w-full text-center",children:(0,o.jsx)(a.default,{hideHamburger:!0})}),(0,o.jsxs)("main",{className:"w-full",children:[(0,o.jsx)("div",{className:"userCard-bg-gradient h-[228px] w-full"}),(0,o.jsx)("div",{className:" relative -top-9 m-auto w-full  md:-top-20 lg:w-container",children: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.