1"use strict";(self.webpackChunksocialuwu=self.webpackChunksocialuwu||[]).push([[581],{1186:function(s,l,e){e.d(l,{Z:function(){return h}});var i=e(885),a=e(2791),n=e(4569),c=e.n(n),o=e(3239),t=e(3044),d=e(6871),r=e(6030),u=e(184),h=function(){var s=(0,a.useState)(!0),l=(0,i.Z)(s,2),e=l[0],n=l[1],h=a.useState([]),m=(0,i.Z)(h,2),x=m[0],j=m[1],v=(0,d.s0)(),p=JSON.parse(localStorage.getItem("token")),f=null===p||void 0===p?void 0:p.token;(0,a.useEffect)((function(){c().get("https://socialuwu.herokuapp.com/api/users/whotofollow",{headers:{token:f}}).then((function(s){j(s.data),n(!1)}))}),[c()]);var N=function(s){v("/profile/".concat(s))},g=(0,r.v9)((function(s){return s.user})).authData;return(0,u.jsxs)("div",{className:"leftsidebarfollowdark",children:[(0,u.jsxs)("div",{className:"whotofollowdark",children:[(0,u.jsxs)("div",{className:"upper",children:[(0,u.jsx)("h2",{children:"Who to follow"}),(0,u.jsx)("h3",{children:"View more"})]}),(0,u.jsx)("div",{className:"body",children:e?(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1.5rem"},children:[(0,u.jsx)(o.Z,{}),(0,u.jsx)(o.Z,{}),(0,u.jsx)(o.Z,{})]}):null===x||void 0===x?void 0:x.map((function(s){var l,e,i;return(0,u.jsxs)("div",{className:"idiots",children:[(0,u.jsxs)("div",{className:"idiotinfo",children:[(0,u.jsx)(t.Z,{src:"",alt:"",sx:{width:43,height:43},onClick:function(){N(null===s||void 0===s?void 0:s._id)}}),(0,u.jsx)("p",{children:(null===s||void 0===s||null===(l=s.username)||void 0===l?void 0:l.length)>4?(null===s||void 0===s||null===(e=s.username)||void 0===e?void 0:e.slice(0,5))+"...":null===s||void 0===s?void 0:s.username})]}),(0,u.jsx)("p",{className:"follow",onClick:function(){N(null===s||void 0===s?void 0:s._id)},children:null!==s&&void 0!==s&&null!==(i=s.followers)&&void 0!==i&&i.includes(null===g||void 0===g?void 0:g._id)?"Unfollow":"Follow"})]})}))})]}),(0,u.jsxs)("div",{className:"topicsfollowdark",children:[(0,u.jsxs)("div",{className:"upper",children:[(0,u.jsx)("h2",{children:"Topics to follow"}),(0,u.jsx)("h3",{children:"More topics"})]}),(0,u.jsxs)("div",{className:"tags-wrapper",children:[(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Typescript"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Jaba"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Brainfck"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Javscript"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Shit"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"VirginScript"})})]})]})]})}},7852:function(s,l,e){e.d(l,{Z:function(){return h}});var i=e(885),a=e(2791),n=e(4569),c=e.n(n),o=e(3239),t=e(3044),d=e(6871),r=e(6030),u=e(184),h=function(){var s=a.useState([]),l=(0,i.Z)(s,2),e=l[0],n=l[1],h=(0,d.s0)(),m=JSON.parse(localStorage.getItem("token")),x=null===m||void 0===m?void 0:m.token,j=(0,a.useState)(!0),v=(0,i.Z)(j,2),p=v[0],f=v[1];console.log(p),(0,a.useEffect)((function(){c().get("https://socialuwu.herokuapp.com/api/users/whotofollow",{headers:{token:x}}).then((function(s){n(s.data),f(!1)}))}),[c()]);var N=function(s){h("/profile/".concat(s))},g=(0,r.v9)((function(s){return s.user})).authData;return(0,u.jsxs)("div",{className:"leftsidebarfollow",children:[(0,u.jsxs)("div",{className:"whotofollow",children:[(0,u.jsxs)("div",{className:"upper",children:[(0,u.jsx)("h2",{children:"Who to follow"}),(0,u.jsx)("h3",{children:"View more"})]}),(0,u.jsx)("div",{className:"body",children:p?(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1.5rem"},children:[(0,u.jsx)(o.Z,{}),(0,u.jsx)(o.Z,{}),(0,u.jsx)(o.Z,{})]}):null===e||void 0===e?void 0:e.map((function(s){var l,e,i;return(0,u.jsxs)("div",{className:"idiots",children:[(0,u.jsxs)("div",{className:"idiotinfo",children:[(0,u.jsx)(t.Z,{src:"",alt:"",sx:{width:43,height:43},onClick:function(){N(null===s||void 0===s?void 0:s._id)}}),(0,u.jsx)("p",{children:(null===s||void 0===s||null===(l=s.username)||void 0===l?void 0:l.length)>4?(null===s||void 0===s||null===(e=s.username)||void 0===e?void 0:e.slice(0,5))+"...":null===s||void 0===s?void 0:s.username})]}),(0,u.jsx)("p",{className:"follow",onClick:function(){N(null===s||void 0===s?void 0:s._id)},children:null!==s&&void 0!==s&&null!==(i=s.followers)&&void 0!==i&&i.includes(null===g||void 0===g?void 0:g._id)?"Unfollow":"Follow"})]})}))})]}),(0,u.jsxs)("div",{className:"topicsfollow",children:[(0,u.jsxs)("div",{className:"upper",children:[(0,u.jsx)("h2",{children:"Topics to follow"}),(0,u.jsx)("h3",{children:"More topics"})]}),(0,u.jsxs)("div",{className:"tags-wrapper",children:[(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Typescript"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Jaba"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Brainfck"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Javscript"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"Shit"})}),(0,u.jsx)("span",{className:"tag",children:(0,u.jsx)("small",{children:"VirginScript"})})]})]})]})}},1605:function(s,l,e){e.r(l),e.d(l,{default:function(){return N}});var i=e(885),a=e(2791),n=e(3107),c=e(7852),o=e(5313),t=e(184),d=function(){return(0,t.jsx)("div",{className:"bookmarks",children:(0,t.jsxs)("div",{className:"feed",children:[(0,t.jsxs)("div",{className:"header",children:[(0,t.jsxs)("div",{className:"user",children:[(0,t.jsx)("div",{className:"pfpboi",children:(0,t.jsx)("img",{alt:"",src:"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.fetchfind.com%2Fblog%2Fwp-content%2Fuploads%2F2017%2F08%2Fcat-2734999_1920-5-common-cat-sounds.jpg&f=1&nofb=1"})}),(0,t.jsxs)("div",{className:"userinfo",children:[(0,t.jsx)("h3",{children:"Idiot"}),(0,t.jsx)("small",{children:"69 minutes ago"})]})]}),(0,t.jsx)("span",{className:"edit",children:(0,t.jsx)("i",{className:"uil uil-ellipsis-v"})})]}),(0,t.jsx)("div",{className:"image",children:(0,t.jsx)("img",{alt:"",src:"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.fetchfind.com%2Fblog%2Fwp-content%2Fuploads%2F2017%2F08%2Fcat-2734999_1920-5-common-cat-sounds.jpg&f=1&nofb=1"})}),(0,t.jsxs)("div",{className:"buttons",children:[(0,t.jsxs)("div",{className:"rightbuttons",children:[(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-heart"})}),(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-comment"})}),(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-share-alt"})})]}),(0,t.jsx)("div",{className:"leftbuttons",children:(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uis uis-bookmark"})})})]}),(0,t.jsx)("div",{className:"caption",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("b",{children:"Idiot"})," Suck my nuts :)"]}
1)}),(0,t.jsx)("p",{className:"viewcomments",children:"View all comments"})]})})},r=e(693),u=e(1186),h=e(5716),m=function(){return(0,t.jsx)("div",{className:"bookmarks",children:(0,t.jsxs)("div",{className:"feeddark",children:[(0,t.jsxs)("div",{className:"header",children:[(0,t.jsxs)("div",{className:"user",children:[(0,t.jsx)("div",{className:"pfpboi",children:(0,t.jsx)("img",{alt:"",src:"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.fetchfind.com%2Fblog%2Fwp-content%2Fuploads%2F2017%2F08%2Fcat-2734999_1920-5-common-cat-sounds.jpg&f=1&nofb=1"})}),(0,t.jsxs)("div",{className:"userinfo",children:[(0,t.jsx)("h3",{children:"Idiot"}),(0,t.jsx)("small",{children:"69 minutes ago"})]})]}),(0,t.jsx)("span",{className:"edit",children:(0,t.jsx)("i",{className:"uil uil-ellipsis-v"})})]}),(0,t.jsx)("div",{className:"image",children:(0,t.jsx)("img",{alt:"",src:"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.fetchfind.com%2Fblog%2Fwp-content%2Fuploads%2F2017%2F08%2Fcat-2734999_1920-5-common-cat-sounds.jpg&f=1&nofb=1"})}),(0,t.jsxs)("div",{className:"buttons",children:[(0,t.jsxs)("div",{className:"rightbuttons",children:[(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-heart"})}),(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-comment"})}),(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uil uil-share-alt"})})]}),(0,t.jsx)("div",{className:"leftbuttons",children:(0,t.jsx)("span",{children:(0,t.jsx)("i",{className:"uis uis-bookmark"})})})]}),(0,t.jsx)("div",{className:"caption",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("b",{children:"Idiot"})," Suck my nuts :)"]}
1)}),(0,t.jsx)("p",{className:"viewcomments",children:"View all comments"})]})})},x=e(456),j=e(6871),v=e(6030),p=e(7376),f=e(6960),N=function(){var s=(0,j.s0)(),l=(0,v.I0)(),e=(0,a.useState)(""),N=(0,i.Z)(e,2),g=N[0],w=N[1];return(0,a.useEffect)((function(){var s=localStorage.getItem("theme");s?w(s):(localStorage.setItem("theme","light"),w("light"))}),[]),(0,a.useEffect)((function(){document.title="SocialUwU - BookMarks"}),[]),(0,a.useEffect)((function(){document.body.style.backgroundColor="dark"===g?"#272729":"#dae0e6"}),[g]),(0,a.useEffect)((function(){var e=[];try{e=JSON.parse(localStorage.getItem("token"))}catch(o){localStorage.removeItem("token"),window.location.href="/auth"}if(e){var i,a,n=null===(i=e)||void 0===i?void 0:i.token,c=(0,x.Z)(n);l((0,p.RB)(null===c||void 0===c||null===(a=c.user)||void 0===a?void 0:a._id,s))}else s("/auth")}),[s,l]),(0,a.useEffect)((function(){f.Am.info("This feature is not available yet",{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"dark"})}),[]),(0,t.jsxs)("div",{children:["dark"===g?(0,t.jsx)(r.Z,{}):(0,t.jsx)(n.Z,{}),(0,t.jsx)("main",{children:(0,t.jsxs)("div",{className:"container",children:["dark"===g?(0,t.jsx)(h.Z,{}):(0,t.jsx)(o.Z,{}),"dark"===g?(0,t.jsx)(m,{}):(0,t.jsx)(d,{}),"dark"===g?(0,t.jsx)(u.Z,{}):(0,t.jsx)(c.Z,{})]})})]})}}}]); 2//# sourceMappingURL=581.48c0b8ec.chunk.js.map
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.