import{i as x,_ as w}from"./CfKitPH0.js";import{_ as k,o as i,c as n,a as e,d as g,b as v,u,e as p,w as S,v as $,r as f,f as q,g as B,h as C,i as c,j as N,t as _,k as t,F as j}from"./BnLLBnTr.js";import{_ as E}from"./Dyj3am3n.js";const I=""+new URL("me.B1cteK45.jpg",import.meta.url).href,M={},T={class:"relative"};function P(m,r){return i(),n("div",T,[...r[0]||(r[0]=[e("div",{class:"flex items-center h-80 w-80"},[e("img",{src:I,alt:"Me with an Eevee hat holding an umbrella",class:"max-h-full max-w-full rounded-md"})],-1)])])}const V=k(M,[["render",P]]),z={class:"h-full w-fit"},D={key:0,class:"flex h-full w-full items-center justify-center"},L={id:"gr_grid_widget_1673812364",class:"h-full"},R=g({__name:"Goodreads",setup(m){const r=f(!0);return v(()=>{var l;document.querySelector("#script-goodreads")&&((l=document.querySelector("#script-goodreads"))==null||l.remove());let o=document.createElement("script");o.src="https://www.goodreads.com/review/grid_widget/158866642?cover_size=medium&hide_link=true&hide_title=true&num_books=20&order=d&shelf=currently-reading&sort=date_updated&widget_id=1673812364",o.id="script-goodreads",o.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(o);let a=new MutationObserver(function(s){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(d=>d.src=d.src.replace("_SX98_","_SY475_")),a.disconnect(),r.value=!1});a.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(o,a)=>(i(),n("div",z,[u(r)?(i(),n("div",D,[...a[0]||(a[0]=[e("span",{class:"animate-ping absolute inline-flex h-5 w-5 rounded-full bg-slate-800 dark:bg-slate-200 opacity-75"},null,-1)])])):p("",!0),S(e("div",L,null,512),[[$,!u(r)]])]))}}),U={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},X={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},A={class:"text-5xl font-bold mb-5"},F={key:0},G={key:1},O={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},H={class:"mt-5"},K={class:"text-center text-xl"},Y={class:"flex justify-center h-48"},Z=g({__name:"about",setup(m){const{t:r,locale:o}=q(),a=f(o.value);return B({title:r("title_about")}),v(()=>{x()}),C(o,()=>{a.value=o.value}),(l,s)=>{const d=w,h=V,b=R,y=E;return i(),n(j,null,[c(d),c(y,null,{default:N(()=>[e("main",null,[e("div",U,[e("div",X,[e("h1",A,_(l.$t("about me")),1),u(a)==="it"?(i(),n("div",F,[...s[0]||(s[0]=[e("p",null,[t(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),t(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),t(" (cognome) o Riccardo. Studio artificial intelligence all'Università di Bologna e al momento i miei interessi sono orientati verso l'ambito NLP. ")],-1),e("p",null,[t(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),t(", giocare a giochi strategici e spendere decisamente troppo tempo sul mio home server. ")],-1),e("p",null," Dovrei probabilmente scrivere qualcos'altro, ma sono terribile a scrivere biografie, quindi tieni una ciambella 🍩. ",-1)])])):p("",!0),u(a)==="en"?(i(),n("div",G,[...s[1]||(s[1]=[e("p",null,[t(" My name is "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),t(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),t(" (surname) or Riccardo. I am an artificial intelligence student at the University of Bologna and currently my interests are focused on natural language processing. ")],-1),e("p",null,[t(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),t(", playing strategic games and spending way too much time on my home server. ")],-1),e("p",null," I should probably write some more about me, but I'm terrible at writing biographies, so here's a donut 🍩. ",-1)])])):p("",!0)]),e("div",O,[c(h)])]),e("div",H,[e("p",K,_(l.$t("reading")),1),e("div",Y,[c(b)])])])]),_:1}),s[2]||(s[2]=e("div",{"data-popover":"",id:"popover-name",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 天成 ")],-1)),s[3]||(s[3]=e("div",{"data-popover":"",id:"popover-surname",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[e("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 夏 ")],-1))],64)}}});export{Z as default};
