From b362e0c789757e53d93e2a6390b0c74d4d2dea81 Mon Sep 17 00:00:00 2001 From: NotXia Date: Thu, 13 Feb 2025 09:17:14 +0000 Subject: [PATCH] deploy: c93b2bf550d4251698b10f4c6fdeae5ce64d14a5 --- 200.html | 6 +++--- 404.html | 6 +++--- _nuxt/{DBCPNgIL.js => 6vnILmU8.js} | 2 +- _nuxt/{Co-MrWSY.js => BuH_oIQu.js} | 2 +- _nuxt/{D-enJaqO.js => CHpV0Dqx.js} | 4 ++-- _nuxt/{BnDw_f-Q.js => DDUmP6XJ.js} | 2 +- _nuxt/{fBYCcsMU.js => DkGYsMjR.js} | 2 +- _nuxt/{Dv00Lm8u.js => FQnwIZqf.js} | 2 +- _nuxt/{Bi1G_C1U.js => SvRDAMCp.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../meta/8db3d723-53f1-4a58-bc38-ec3c34a5155a.json | 1 - .../meta/f77a421c-417d-4e8e-9dcd-d658d6fd3d3b.json | 1 + _nuxt/{BKRLoE-o.js => q9MUFlbg.js} | 2 +- _payload.json | 2 +- about/_payload.json | 2 +- about/index.html | 10 +++++----- contacts/_payload.json | 2 +- contacts/index.html | 10 +++++----- en/_payload.json | 2 +- en/about/_payload.json | 2 +- en/about/index.html | 10 +++++----- en/contacts/_payload.json | 2 +- en/contacts/index.html | 10 +++++----- en/index.html | 10 +++++----- en/projects/_payload.json | 2 +- en/projects/index.html | 10 +++++----- en/resume/_payload.json | 2 +- en/resume/index.html | 10 +++++----- index.html | 10 +++++----- it/_payload.json | 2 +- it/about/_payload.json | 2 +- it/about/index.html | 10 +++++----- it/contacts/_payload.json | 2 +- it/contacts/index.html | 10 +++++----- it/index.html | 10 +++++----- it/projects/_payload.json | 2 +- it/projects/index.html | 10 +++++----- it/resume/_payload.json | 2 +- it/resume/index.html | 10 +++++----- projects/_payload.json | 2 +- projects/index.html | 10 +++++----- resume/_payload.json | 2 +- resume/index.html | 10 +++++----- 43 files changed, 107 insertions(+), 107 deletions(-) rename _nuxt/{DBCPNgIL.js => 6vnILmU8.js} (74%) rename _nuxt/{Co-MrWSY.js => BuH_oIQu.js} (98%) rename _nuxt/{D-enJaqO.js => CHpV0Dqx.js} (99%) rename _nuxt/{BnDw_f-Q.js => DDUmP6XJ.js} (99%) rename _nuxt/{fBYCcsMU.js => DkGYsMjR.js} (99%) rename _nuxt/{Dv00Lm8u.js => FQnwIZqf.js} (89%) rename _nuxt/{Bi1G_C1U.js => SvRDAMCp.js} (99%) delete mode 100644 _nuxt/builds/meta/8db3d723-53f1-4a58-bc38-ec3c34a5155a.json create mode 100644 _nuxt/builds/meta/f77a421c-417d-4e8e-9dcd-d658d6fd3d3b.json rename _nuxt/{BKRLoE-o.js => q9MUFlbg.js} (94%) diff --git a/200.html b/200.html index ef637f8..8a87e77 100644 --- a/200.html +++ b/200.html @@ -1,11 +1,11 @@ - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/404.html b/404.html index 0720764..c407034 100644 --- a/404.html +++ b/404.html @@ -1,11 +1,11 @@ - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/_nuxt/DBCPNgIL.js b/_nuxt/6vnILmU8.js similarity index 74% rename from _nuxt/DBCPNgIL.js rename to _nuxt/6vnILmU8.js index 68d9dae..c866b25 100644 --- a/_nuxt/DBCPNgIL.js +++ b/_nuxt/6vnILmU8.js @@ -1 +1 @@ -import{_ as s,c as t,e as c,f as o,s as n}from"./D-enJaqO.js";const _={},r={class:"flex flex-1 items-center py-0"},a={class:"w-full"};function l(e,f){return c(),t("div",r,[o("div",a,[n(e.$slots,"default")])])}const i=s(_,[["render",l]]);export{i as _}; +import{_ as s,c as t,e as c,f as o,s as n}from"./CHpV0Dqx.js";const _={},r={class:"flex flex-1 items-center py-0"},a={class:"w-full"};function l(e,f){return c(),t("div",r,[o("div",a,[n(e.$slots,"default")])])}const i=s(_,[["render",l]]);export{i as _}; diff --git a/_nuxt/Co-MrWSY.js b/_nuxt/BuH_oIQu.js similarity index 98% rename from _nuxt/Co-MrWSY.js rename to _nuxt/BuH_oIQu.js index 16ccbaa..744d466 100644 --- a/_nuxt/Co-MrWSY.js +++ b/_nuxt/BuH_oIQu.js @@ -1 +1 @@ -import{i as P,_ as B}from"./fBYCcsMU.js";import{d as y,u as N,r as b,g as C,o as S,a as D,b as L,c,e as d,f as e,h as w,w as p,v as h,i as n,t as k,j as I,k as M,l as T,m as x,n as j,p as s,F as R}from"./D-enJaqO.js";import{_ as U}from"./DBCPNgIL.js";const E=""+new URL("picture-dark.lZoHd34_.png",import.meta.url).href,F=""+new URL("picture-light.Cu7IiVnU.png",import.meta.url).href,A=""+new URL("picture-bright.BMg2juJv.png",import.meta.url).href,V=""+new URL("picture-nolight.BjyWP7L-.png",import.meta.url).href,z={class:"relative"},J={class:"flex items-center h-60 w-60"},O={src:E,alt:"",class:"max-h-full max-w-full"},X={src:F,alt:"",class:"max-h-full max-w-full"},Y={src:A,alt:"",class:"max-h-full max-w-full"},G={src:V,alt:"",class:"max-h-full max-w-full"},H={key:0,class:"absolute bottom-0 left-0 w-full"},W={class:"w-fit mx-auto px-2 pt-1 mb-1 bg-gray-200 dark:bg-gray-700"},Z=y({__name:"ProfilePicture",setup($){const{t:l}=N(),i=b(C()),o=b("");return S(()=>{var f;let a=(f=document.querySelector("html"))!=null&&f.classList.contains("dark")?"dark1":"light1",t={dark1:{image:"dark",message:"",expect:"dark",next:"bright"},bright:{image:"bright",message:"that's bright",expect:"light",next:"dark2"},dark2:{image:"dark",message:"better",expect:"dark",next:"light_final"},light1:{image:"light",message:"",expect:"light",next:"nolights"},nolights:{image:"no light",message:"where lights",expect:"dark",next:"light2"},light2:{image:"light",message:"here lights",expect:"light",next:"dark_final"},dark_final:{image:"dark",message:"",expect:"dark",next:"light_final"},light_final:{image:"light",message:"",expect:"light",next:"dark_final"}};function r(){var m,v,g;i.value=(m=t[a])==null?void 0:m.image,o.value=((v=t[a])==null?void 0:v.message)!==""?l((g=t[a])==null?void 0:g.message):""}function u(){var m;a=(m=t[a])==null?void 0:m.next}r();let _=new MutationObserver(function(m){var g,q;if(!((g=D().name)!=null&&g.toString().startsWith("about"))){_.disconnect();return}const v=(q=document.querySelector("html"))==null?void 0:q.classList.contains("dark");t[t[a].next].expect===(v?"dark":"light")&&(u(),r(),a==="bright"?L("picture-bright"):a==="nolights"&&L("picture-nolights"))});_.observe(document.querySelector("html"),{attributes:!0,attributeFilter:["class"]})}),(a,t)=>(d(),c("div",z,[e("div",J,[p(e("img",O,null,512),[[h,n(i)==="dark"]]),p(e("img",X,null,512),[[h,n(i)==="light"]]),p(e("img",Y,null,512),[[h,n(i)==="bright"]]),p(e("img",G,null,512),[[h,n(i)==="no light"]])]),n(o)?(d(),c("div",H,[e("p",W,k(n(o)),1)])):w("",!0)]))}}),K={class:"h-full w-fit"},Q={key:0,class:"flex h-full w-full items-center justify-center"},ee={id:"gr_grid_widget_1673812364",class:"h-full"},te=y({__name:"Goodreads",setup($){const l=b(!0);return S(()=>{var a;document.querySelector("#script-goodreads")&&((a=document.querySelector("#script-goodreads"))==null||a.remove());let i=document.createElement("script");i.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",i.id="script-goodreads",i.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(i);let o=new MutationObserver(function(t){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(r=>r.src=r.src.replace("_SX98_","_SY475_")),o.disconnect(),l.value=!1});o.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(i,o)=>(d(),c("div",K,[n(l)?(d(),c("div",Q,o[0]||(o[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)]))):w("",!0),p(e("div",ee,null,512),[[h,!n(l)]])]))}}),ae={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},se={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},ie={class:"text-5xl font-bold mb-5"},oe={key:0},re={key:1},ne={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},le={class:"mt-5"},ce={class:"text-center text-xl"},de={class:"flex justify-center h-48"},pe=y({__name:"about",setup($){const{t:l,locale:i}=N(),o=b(i.value);return I({title:l("title_about")}),M(()=>{const a=new Date,t=new Date(2001,8,29),r=a.getMonth()-t.getMonth();let u=a.getFullYear()-t.getFullYear();return(r<0||r===0&&a.getDate(){P()}),T(i,()=>{o.value=i.value}),(a,t)=>{const r=B,u=Z,_=te,f=U;return d(),c(R,null,[x(r),x(f,null,{default:j(()=>[e("main",null,[e("div",ae,[e("div",se,[e("h1",ie,k(a.$t("about me")),1),n(o)==="it"?(d(),c("div",oe,t[0]||(t[0]=[e("p",null,[s(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),s(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),s(" (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,[s(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),s(" e giocare a giochi strategici. ")],-1),e("p",null,[s(" Secondo "),e("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),s(" sono un "),e("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architetto (INTJ)"),s(". Devo dire che la descrizione è decisamente accurata. ")],-1)]))):w("",!0),n(o)==="en"?(d(),c("div",re,t[1]||(t[1]=[e("p",null,[s(" 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"),s(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),s(" (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,[s(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),s(" and playing strategic games. ")],-1),e("p",null,[s(" According to "),e("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),s(", I'm an "),e("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architect (INTJ)"),s(". I must admit that the description is quite accurate. ")],-1)]))):w("",!0)]),e("div",ne,[x(u)])]),e("div",le,[e("p",ce,k(a.$t("reading")),1),e("div",de,[x(_)])])])]),_:1}),t[2]||(t[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)),t[3]||(t[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{pe as default}; +import{i as P,_ as B}from"./DkGYsMjR.js";import{d as y,u as N,r as b,g as C,o as S,a as D,b as L,c,e as d,f as e,h as w,w as p,v as h,i as n,t as k,j as I,k as M,l as T,m as x,n as j,p as s,F as R}from"./CHpV0Dqx.js";import{_ as U}from"./6vnILmU8.js";const E=""+new URL("picture-dark.lZoHd34_.png",import.meta.url).href,F=""+new URL("picture-light.Cu7IiVnU.png",import.meta.url).href,A=""+new URL("picture-bright.BMg2juJv.png",import.meta.url).href,V=""+new URL("picture-nolight.BjyWP7L-.png",import.meta.url).href,z={class:"relative"},J={class:"flex items-center h-60 w-60"},O={src:E,alt:"",class:"max-h-full max-w-full"},X={src:F,alt:"",class:"max-h-full max-w-full"},Y={src:A,alt:"",class:"max-h-full max-w-full"},G={src:V,alt:"",class:"max-h-full max-w-full"},H={key:0,class:"absolute bottom-0 left-0 w-full"},W={class:"w-fit mx-auto px-2 pt-1 mb-1 bg-gray-200 dark:bg-gray-700"},Z=y({__name:"ProfilePicture",setup($){const{t:l}=N(),i=b(C()),o=b("");return S(()=>{var f;let a=(f=document.querySelector("html"))!=null&&f.classList.contains("dark")?"dark1":"light1",t={dark1:{image:"dark",message:"",expect:"dark",next:"bright"},bright:{image:"bright",message:"that's bright",expect:"light",next:"dark2"},dark2:{image:"dark",message:"better",expect:"dark",next:"light_final"},light1:{image:"light",message:"",expect:"light",next:"nolights"},nolights:{image:"no light",message:"where lights",expect:"dark",next:"light2"},light2:{image:"light",message:"here lights",expect:"light",next:"dark_final"},dark_final:{image:"dark",message:"",expect:"dark",next:"light_final"},light_final:{image:"light",message:"",expect:"light",next:"dark_final"}};function r(){var m,v,g;i.value=(m=t[a])==null?void 0:m.image,o.value=((v=t[a])==null?void 0:v.message)!==""?l((g=t[a])==null?void 0:g.message):""}function u(){var m;a=(m=t[a])==null?void 0:m.next}r();let _=new MutationObserver(function(m){var g,q;if(!((g=D().name)!=null&&g.toString().startsWith("about"))){_.disconnect();return}const v=(q=document.querySelector("html"))==null?void 0:q.classList.contains("dark");t[t[a].next].expect===(v?"dark":"light")&&(u(),r(),a==="bright"?L("picture-bright"):a==="nolights"&&L("picture-nolights"))});_.observe(document.querySelector("html"),{attributes:!0,attributeFilter:["class"]})}),(a,t)=>(d(),c("div",z,[e("div",J,[p(e("img",O,null,512),[[h,n(i)==="dark"]]),p(e("img",X,null,512),[[h,n(i)==="light"]]),p(e("img",Y,null,512),[[h,n(i)==="bright"]]),p(e("img",G,null,512),[[h,n(i)==="no light"]])]),n(o)?(d(),c("div",H,[e("p",W,k(n(o)),1)])):w("",!0)]))}}),K={class:"h-full w-fit"},Q={key:0,class:"flex h-full w-full items-center justify-center"},ee={id:"gr_grid_widget_1673812364",class:"h-full"},te=y({__name:"Goodreads",setup($){const l=b(!0);return S(()=>{var a;document.querySelector("#script-goodreads")&&((a=document.querySelector("#script-goodreads"))==null||a.remove());let i=document.createElement("script");i.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",i.id="script-goodreads",i.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(i);let o=new MutationObserver(function(t){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(r=>r.src=r.src.replace("_SX98_","_SY475_")),o.disconnect(),l.value=!1});o.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(i,o)=>(d(),c("div",K,[n(l)?(d(),c("div",Q,o[0]||(o[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)]))):w("",!0),p(e("div",ee,null,512),[[h,!n(l)]])]))}}),ae={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},se={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},ie={class:"text-5xl font-bold mb-5"},oe={key:0},re={key:1},ne={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},le={class:"mt-5"},ce={class:"text-center text-xl"},de={class:"flex justify-center h-48"},pe=y({__name:"about",setup($){const{t:l,locale:i}=N(),o=b(i.value);return I({title:l("title_about")}),M(()=>{const a=new Date,t=new Date(2001,8,29),r=a.getMonth()-t.getMonth();let u=a.getFullYear()-t.getFullYear();return(r<0||r===0&&a.getDate(){P()}),T(i,()=>{o.value=i.value}),(a,t)=>{const r=B,u=Z,_=te,f=U;return d(),c(R,null,[x(r),x(f,null,{default:j(()=>[e("main",null,[e("div",ae,[e("div",se,[e("h1",ie,k(a.$t("about me")),1),n(o)==="it"?(d(),c("div",oe,t[0]||(t[0]=[e("p",null,[s(" Mi chiamo "),e("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Tian Cheng"),s(", spesso conosciuto come "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),s(" (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,[s(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),e("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),s(" e giocare a giochi strategici. ")],-1),e("p",null,[s(" Secondo "),e("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),s(" sono un "),e("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architetto (INTJ)"),s(". Devo dire che la descrizione è decisamente accurata. ")],-1)]))):w("",!0),n(o)==="en"?(d(),c("div",re,t[1]||(t[1]=[e("p",null,[s(" 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"),s(", frequently known as "),e("span",{"data-popover-target":"popover-surname",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia"),s(" (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,[s(" Aside from pressing keys on a keyboard, I like reading, cooking "),e("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),s(" and playing strategic games. ")],-1),e("p",null,[s(" According to "),e("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),s(", I'm an "),e("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architect (INTJ)"),s(". I must admit that the description is quite accurate. ")],-1)]))):w("",!0)]),e("div",ne,[x(u)])]),e("div",le,[e("p",ce,k(a.$t("reading")),1),e("div",de,[x(_)])])])]),_:1}),t[2]||(t[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)),t[3]||(t[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{pe as default}; diff --git a/_nuxt/D-enJaqO.js b/_nuxt/CHpV0Dqx.js similarity index 99% rename from _nuxt/D-enJaqO.js rename to _nuxt/CHpV0Dqx.js index fcf26bb..23c9acf 100644 --- a/_nuxt/D-enJaqO.js +++ b/_nuxt/CHpV0Dqx.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Co-MrWSY.js","./fBYCcsMU.js","./DBCPNgIL.js","./about.DQ3KPf58.css","./BKRLoE-o.js","./Dv00Lm8u.js","./BnDw_f-Q.js","./Bi1G_C1U.js","./resume.DhfHDJ1m.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BuH_oIQu.js","./DkGYsMjR.js","./6vnILmU8.js","./about.DQ3KPf58.css","./q9MUFlbg.js","./FQnwIZqf.js","./DDUmP6XJ.js","./SvRDAMCp.js","./resume.DhfHDJ1m.css"])))=>i.map(i=>d[i]); var Jd=Object.defineProperty;var Qd=(e,t,n)=>t in e?Jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var nn=(e,t,n)=>Qd(e,typeof t!="symbol"?t+"":t,n);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -22,7 +22,7 @@ Use "options.replacer" or "options.ignoreUnknown" * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Yn=typeof document<"u";function Gf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function cy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Gf(e.default)}const we=Object.assign;function $o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Tr=()=>{},Mt=Array.isArray,Yf=/#/g,uy=/&/g,fy=/\//g,dy=/=/g,hy=/\?/g,Xf=/\+/g,py=/%5B/g,gy=/%5D/g,qf=/%5E/g,my=/%60/g,Jf=/%7B/g,vy=/%7C/g,Qf=/%7D/g,yy=/%20/g;function ia(e){return encodeURI(""+e).replace(vy,"|").replace(py,"[").replace(gy,"]")}function _y(e){return ia(e).replace(Jf,"{").replace(Qf,"}").replace(qf,"^")}function bi(e){return ia(e).replace(Xf,"%2B").replace(yy,"+").replace(Yf,"%23").replace(uy,"%26").replace(my,"`").replace(Jf,"{").replace(Qf,"}").replace(qf,"^")}function xy(e){return bi(e).replace(dy,"%3D")}function Sy(e){return ia(e).replace(Yf,"%23").replace(hy,"%3F")}function wy(e){return e==null?"":Sy(e).replace(fy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ey=/\/$/,by=e=>e.replace(Ey,"");function Ho(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Ly(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Cy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ty(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&sr(t.matched[s],n.matched[o])&&zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Py(e[n],t[n]))return!1;return!0}function Py(e,t){return Mt(e)?Ll(e,t):Mt(t)?Ll(t,e):e===t}function Ll(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ly(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Pr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Pr||(Pr={}));function Ry(e){if(!e)if(Yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),by(e)}const ky=/^[^#]+#/;function Ay(e,t){return e.replace(ky,"#")+t}function Iy(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const lo=()=>({left:window.scrollX,top:window.scrollY});function Oy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Iy(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function My(e,t){Ci.set(e,t)}function Ny(e){const t=Ci.get(e);return Ci.delete(e),t}let Dy=()=>location.protocol+"//"+location.host;function Zf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Pl(l,"")}return Pl(n,e)+s+o}function Fy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Zf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Pr.forward:Pr.back:Pr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:lo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function kl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?lo():null}}function $y(e){const{history:t,location:n}=window,s={value:Zf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Dy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,kl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=we({},o.value,t.state,{forward:l,scroll:lo()});r(u.current,u,!0);const h=we({},kl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Hy(e){e=Ry(e);const t=$y(e),n=Fy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=we({location:"",base:e,go:s,createHref:Ay.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Uy(e){return typeof e=="string"||e&&typeof e=="object"}function ed(e){return typeof e=="string"||typeof e=="symbol"}const td=Symbol("");var Al;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Al||(Al={}));function or(e,t){return we(new Error,{type:e,[td]:!0},t)}function Wt(e,t){return e instanceof Error&&td in e&&(t==null||!!(e.type&t))}const Il="[^/]+?",By={sensitive:!1,strict:!1,start:!0,end:!0},Vy=/[.+*?^${}()[\]/\\]/g;function jy(e,t){const n=we({},By,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function nd(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Ky={type:0,value:""},Gy=/[a-zA-Z0-9_]/;function Yy(e){if(!e)return[[]];if(e==="/")return[[Ky]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a{i(y)}:Tr}function i(h){if(ed(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=zy(h,n);n.splice(d,0,h),h.record.name&&!Dl(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw or(1,{location:h});v=c.record.name,p=we(Ml(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Ml(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw or(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const S=[];let w=c;for(;w;)S.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:S,meta:Qy(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ml(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Nl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Jy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Jy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Dl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qy(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Fl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zy(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;nd(e,t[r])<0?s=r:n=r+1}const o=Zy(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function Zy(e){let t=e;for(;t=t.parent;)if(rd(t)&&nd(e,t)===0)return t}function rd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function e0(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&bi(r)):[s&&bi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function t0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const n0=Symbol(""),Hl=Symbol(""),aa=Symbol(""),la=Symbol(""),Ti=Symbol("");function gr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function un(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(or(4,{from:n,to:t})):d instanceof Error?l(d):Uy(d)?l(or(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Uo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Gf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(un(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=cy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&un(c,n,s,i,a,o)()}))}}return r}function Ul(e){const t=nt(aa),n=nt(la),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(sr.bind(null,u));if(d>-1)return d;const c=Bl(l[f-2]);return f>1&&Bl(u)===c&&h[h.length-1].path!==c?h.findIndex(sr.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&a0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&zf(n.params,s.value.params));function a(l={}){if(i0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Tr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function r0(e){return e.length===1?e[0]:e}const s0=Ze({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ul,setup(e,{slots:t}){const n=_n(Ul(e)),{options:s}=nt(aa),o=me(()=>({[Vl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Vl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&r0(t.default(n));return e.custom?r:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),o0=s0;function i0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function a0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Mt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vl=(e,t,n)=>e??t??n,l0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(Ti),o=me(()=>e.route||s.value),r=nt(Hl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);pn(Hl,me(()=>i.value+1)),pn(n0,a),pn(Ti,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!sr(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return jl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Xe(d,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return jl(n.default,{Component:v,route:f})||v}}});function jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sd=l0;function c0(e){const t=qy(e.routes,e),n=e.parseQuery||e0,s=e.stringifyQuery||$l,o=e.history,r=gr(),i=gr(),a=gr(),l=tr(Pt);let f=Pt;Yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$o.bind(null,V=>""+V),h=$o.bind(null,wy),d=$o.bind(null,Hr);function c(V,J){let z,ee;return ed(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function S(V,J){if(J=we({},J||l.value),typeof V=="string"){const I=Ho(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:Ho(n,V.path,J.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(d(ee.params));const xe=Cy(s,we({},V,{hash:_y(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===$l?t0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Ho(n,V,l.value.path):we({},V)}function y(V,J){if(f!==V)return or(8,{from:J,to:V})}function _(V){return E(V)}function m(V){return _(we(w(V),{replace:!0}))}function x(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,J){const z=f=S(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&Ty(s,ee,z)&&(W=or(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Wt(B)?Wt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Wt(B,2))return E(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),J||D)}else B=C(D,ee,!0,A,he);return P(D,ee,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function T(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[ee,he,xe]=u0(V,J);z=Uo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(un(D,V,J))});const A=b.bind(null,V,J);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(un(I,V,J));return z.push(A),de(z)}).then(()=>{z=Uo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(un(D,V,J))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Mt(I.beforeEnter))for(const D of I.beforeEnter)z.push(un(D,V,J));else z.push(un(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Uo(xe,"beforeRouteEnter",V,J,T),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(un(I,V,J));return z.push(A),de(z)}).catch(I=>Wt(I,8)?I:Promise.reject(I))}function P(V,J,z){a.list().forEach(ee=>T(()=>ee(V,J,z)))}function C(V,J,z,ee,he){const xe=y(V,J);if(xe)return xe;const A=J===Pt,I=Yn?history.state:{};z&&(ee||A?o.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):o.push(V.fullPath,he)),l.value=V,ue(V,J,z,A),fe()}let O;function $(){O||(O=o.listen((V,J,z)=>{if(!Be.listening)return;const ee=S(V),he=x(ee);if(he){E(we(he,{replace:!0,force:!0}),ee).catch(Tr);return}f=ee;const xe=l.value;Yn&&My(Rl(xe.fullPath,z.delta),lo()),L(ee,xe).catch(A=>Wt(A,12)?A:Wt(A,2)?(E(we(w(A.to),{force:!0}),ee).then(I=>{Wt(I,20)&&!z.delta&&z.type===Ur.pop&&o.go(-1,!1)}).catch(Tr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Wt(A,8)?o.go(-z.delta,!1):z.type===Ur.pop&&Wt(A,20)&&o.go(-1,!1)),P(ee,xe,A)}).catch(Tr)}))}let F=gr(),U=gr(),j;function Y(V,J,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Pt?Promise.resolve():new Promise((V,J)=>{F.add([V,J])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([J,z])=>V?z(V):J()),F.reset()),V}function ue(V,J,z,ee){const{scrollBehavior:he}=e;if(!Yn||!he)return Promise.resolve();const xe=!z&&Ny(Rl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return xn().then(()=>he(V,J,xe)).then(A=>A&&Oy(A)).catch(A=>Y(A,V,J))}const ne=V=>o.go(V);let Te;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:S,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const J=this;V.component("RouterLink",o0),V.component("RouterView",sd),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Yn&&!Te&&l.value===Pt&&(Te=!0,_(o.location).catch(he=>{}));const z={};for(const he in Pt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(aa,J),V.provide(la,Qt(z)),V.provide(Ti,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Pt,O&&O(),O=null,l.value=Pt,Te=!1,j=!1),ee()}}};function de(V){return V.reduce((J,z)=>J.then(()=>T(z)),Promise.resolve())}return Be}function u0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;isr(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>sr(f,l))||o.push(l))}return[n,s,o]}function f0(e){return nt(la)}const d0=/(:\w+)\([^)]+\)/g,h0=/(:\w+)[?+*]/g,p0=/:\w+/g,g0=(e,t)=>t.path.replace(d0,"$1").replace(h0,"$1").replace(p0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Pi=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&g0(e.route,n));return typeof s=="function"?s(e.route):s},m0=(e,t)=>({default:()=>e?Xe(Zh,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const Bo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./Co-MrWSY.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./Co-MrWSY.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./Co-MrWSY.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./BKRLoE-o.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./BKRLoE-o.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./BKRLoE-o.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./Dv00Lm8u.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./Dv00Lm8u.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./Dv00Lm8u.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./BnDw_f-Q.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./BnDw_f-Q.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./BnDw_f-Q.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./Bi1G_C1U.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./Bi1G_C1U.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./Bi1G_C1U.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],od=(e,t)=>({default:()=>{var n;return e?Xe(tg,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),v0=/(:\w+)\([^)]+\)/g,y0=/(:\w+)[?+*]/g,_0=/:\w+/g;function Wl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(v0,"$1").replace(y0,"$1").replace(_0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function x0(e,t){return e===t||t===Pt?!1:Wl(e)!==Wl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const S0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&x0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Kl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??pi),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Kl(e.hash),behavior:o}),u(r)})})}};function Kl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const w0={hashMode:!1,scrollBehaviorType:"auto"},_t={...w0,...S0},E0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=io({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>qn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},b0=async e=>{let t,n;const s=([t,n]=kt(()=>oa({path:e.path})),t=await t,n(),t);if(s.redirect)return Ct(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},C0=[E0,b0],Lr={};function T0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),al(u,"")}const a=al(s,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const P0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=gt().app.baseURL;const o=((v=_t.history)==null?void 0:v.call(_t,s))??Hy(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Bo)),t=await t,n(),t??Bo):Bo;let i;const a=c0({..._t,scrollBehavior:(S,w,y)=>{if(w===Pt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(S,Pt,i||y)}},history:o,routes:r});_t.routes&&_t.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=tr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=T0(s,window.location,e.payload.path),u=tr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,w)=>{var y,_,m,x;((_=(y=S.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S],enumerable:!0});e._route=Qt(d),e._middleware=e._middleware||{global:[],named:{}};const c=oo();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(nv),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(S){[t,n]=kt(()=>e.runWithContext(()=>qn(S))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(S,w)=>{var y;await e.callHook("page:loading:start"),S.meta=_n(S.meta),e.isHydrating&&g&&!mn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...C0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa({path:S.path}));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Lr[m])==null?void 0:y.call(Lr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(S,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const b=E||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>qn(b)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(S,w)=>{S.matched.length===0&&await e.runWithContext(()=>qn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(S){await e.runWithContext(()=>qn(S))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),L0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),co=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},R0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Tl(t.path);s&&Object.assign(e.static.data,s.data)}),co(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Tl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ao,1e3)})}}),k0=Dt(()=>{const e=ze();co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),A0=Dt(e=>{let t;async function n(){const s=await ao();t&&clearTimeout(t),t=setTimeout(n,fl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}co(()=>{t=setTimeout(n,fl)})});function I0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Un(n.app.baseURL,r.fullPath);I0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),M0=Dt({name:"nuxt:global-components"}),fn={},N0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof fn[s]=="function"&&await fn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ca(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Lr[i]=="function"&&Lr[i]();o&&typeof fn[o]=="function"&&fn[o]()})}});/*! + */const Yn=typeof document<"u";function Gf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function cy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Gf(e.default)}const we=Object.assign;function $o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Tr=()=>{},Mt=Array.isArray,Yf=/#/g,uy=/&/g,fy=/\//g,dy=/=/g,hy=/\?/g,Xf=/\+/g,py=/%5B/g,gy=/%5D/g,qf=/%5E/g,my=/%60/g,Jf=/%7B/g,vy=/%7C/g,Qf=/%7D/g,yy=/%20/g;function ia(e){return encodeURI(""+e).replace(vy,"|").replace(py,"[").replace(gy,"]")}function _y(e){return ia(e).replace(Jf,"{").replace(Qf,"}").replace(qf,"^")}function bi(e){return ia(e).replace(Xf,"%2B").replace(yy,"+").replace(Yf,"%23").replace(uy,"%26").replace(my,"`").replace(Jf,"{").replace(Qf,"}").replace(qf,"^")}function xy(e){return bi(e).replace(dy,"%3D")}function Sy(e){return ia(e).replace(Yf,"%23").replace(hy,"%3F")}function wy(e){return e==null?"":Sy(e).replace(fy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ey=/\/$/,by=e=>e.replace(Ey,"");function Ho(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Ly(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Cy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ty(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&sr(t.matched[s],n.matched[o])&&zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Py(e[n],t[n]))return!1;return!0}function Py(e,t){return Mt(e)?Ll(e,t):Mt(t)?Ll(t,e):e===t}function Ll(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ly(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Pr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Pr||(Pr={}));function Ry(e){if(!e)if(Yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),by(e)}const ky=/^[^#]+#/;function Ay(e,t){return e.replace(ky,"#")+t}function Iy(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const lo=()=>({left:window.scrollX,top:window.scrollY});function Oy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Iy(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function My(e,t){Ci.set(e,t)}function Ny(e){const t=Ci.get(e);return Ci.delete(e),t}let Dy=()=>location.protocol+"//"+location.host;function Zf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Pl(l,"")}return Pl(n,e)+s+o}function Fy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Zf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Pr.forward:Pr.back:Pr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:lo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function kl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?lo():null}}function $y(e){const{history:t,location:n}=window,s={value:Zf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Dy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,kl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=we({},o.value,t.state,{forward:l,scroll:lo()});r(u.current,u,!0);const h=we({},kl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Hy(e){e=Ry(e);const t=$y(e),n=Fy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=we({location:"",base:e,go:s,createHref:Ay.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Uy(e){return typeof e=="string"||e&&typeof e=="object"}function ed(e){return typeof e=="string"||typeof e=="symbol"}const td=Symbol("");var Al;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Al||(Al={}));function or(e,t){return we(new Error,{type:e,[td]:!0},t)}function Wt(e,t){return e instanceof Error&&td in e&&(t==null||!!(e.type&t))}const Il="[^/]+?",By={sensitive:!1,strict:!1,start:!0,end:!0},Vy=/[.+*?^${}()[\]/\\]/g;function jy(e,t){const n=we({},By,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function nd(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Ky={type:0,value:""},Gy=/[a-zA-Z0-9_]/;function Yy(e){if(!e)return[[]];if(e==="/")return[[Ky]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a{i(y)}:Tr}function i(h){if(ed(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=zy(h,n);n.splice(d,0,h),h.record.name&&!Dl(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw or(1,{location:h});v=c.record.name,p=we(Ml(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Ml(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw or(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const S=[];let w=c;for(;w;)S.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:S,meta:Qy(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ml(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Nl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Jy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Jy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Dl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qy(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Fl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zy(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;nd(e,t[r])<0?s=r:n=r+1}const o=Zy(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function Zy(e){let t=e;for(;t=t.parent;)if(rd(t)&&nd(e,t)===0)return t}function rd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function e0(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&bi(r)):[s&&bi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function t0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const n0=Symbol(""),Hl=Symbol(""),aa=Symbol(""),la=Symbol(""),Ti=Symbol("");function gr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function un(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(or(4,{from:n,to:t})):d instanceof Error?l(d):Uy(d)?l(or(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Uo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Gf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(un(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=cy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&un(c,n,s,i,a,o)()}))}}return r}function Ul(e){const t=nt(aa),n=nt(la),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(sr.bind(null,u));if(d>-1)return d;const c=Bl(l[f-2]);return f>1&&Bl(u)===c&&h[h.length-1].path!==c?h.findIndex(sr.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&a0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&zf(n.params,s.value.params));function a(l={}){if(i0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Tr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function r0(e){return e.length===1?e[0]:e}const s0=Ze({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ul,setup(e,{slots:t}){const n=_n(Ul(e)),{options:s}=nt(aa),o=me(()=>({[Vl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Vl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&r0(t.default(n));return e.custom?r:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),o0=s0;function i0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function a0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Mt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vl=(e,t,n)=>e??t??n,l0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(Ti),o=me(()=>e.route||s.value),r=nt(Hl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);pn(Hl,me(()=>i.value+1)),pn(n0,a),pn(Ti,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!sr(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return jl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Xe(d,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return jl(n.default,{Component:v,route:f})||v}}});function jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sd=l0;function c0(e){const t=qy(e.routes,e),n=e.parseQuery||e0,s=e.stringifyQuery||$l,o=e.history,r=gr(),i=gr(),a=gr(),l=tr(Pt);let f=Pt;Yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$o.bind(null,V=>""+V),h=$o.bind(null,wy),d=$o.bind(null,Hr);function c(V,J){let z,ee;return ed(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function S(V,J){if(J=we({},J||l.value),typeof V=="string"){const I=Ho(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:Ho(n,V.path,J.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(d(ee.params));const xe=Cy(s,we({},V,{hash:_y(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===$l?t0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Ho(n,V,l.value.path):we({},V)}function y(V,J){if(f!==V)return or(8,{from:J,to:V})}function _(V){return E(V)}function m(V){return _(we(w(V),{replace:!0}))}function x(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,J){const z=f=S(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&Ty(s,ee,z)&&(W=or(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Wt(B)?Wt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Wt(B,2))return E(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),J||D)}else B=C(D,ee,!0,A,he);return P(D,ee,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function T(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[ee,he,xe]=u0(V,J);z=Uo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(un(D,V,J))});const A=b.bind(null,V,J);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(un(I,V,J));return z.push(A),de(z)}).then(()=>{z=Uo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(un(D,V,J))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Mt(I.beforeEnter))for(const D of I.beforeEnter)z.push(un(D,V,J));else z.push(un(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Uo(xe,"beforeRouteEnter",V,J,T),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(un(I,V,J));return z.push(A),de(z)}).catch(I=>Wt(I,8)?I:Promise.reject(I))}function P(V,J,z){a.list().forEach(ee=>T(()=>ee(V,J,z)))}function C(V,J,z,ee,he){const xe=y(V,J);if(xe)return xe;const A=J===Pt,I=Yn?history.state:{};z&&(ee||A?o.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):o.push(V.fullPath,he)),l.value=V,ue(V,J,z,A),fe()}let O;function $(){O||(O=o.listen((V,J,z)=>{if(!Be.listening)return;const ee=S(V),he=x(ee);if(he){E(we(he,{replace:!0,force:!0}),ee).catch(Tr);return}f=ee;const xe=l.value;Yn&&My(Rl(xe.fullPath,z.delta),lo()),L(ee,xe).catch(A=>Wt(A,12)?A:Wt(A,2)?(E(we(w(A.to),{force:!0}),ee).then(I=>{Wt(I,20)&&!z.delta&&z.type===Ur.pop&&o.go(-1,!1)}).catch(Tr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Wt(A,8)?o.go(-z.delta,!1):z.type===Ur.pop&&Wt(A,20)&&o.go(-1,!1)),P(ee,xe,A)}).catch(Tr)}))}let F=gr(),U=gr(),j;function Y(V,J,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Pt?Promise.resolve():new Promise((V,J)=>{F.add([V,J])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([J,z])=>V?z(V):J()),F.reset()),V}function ue(V,J,z,ee){const{scrollBehavior:he}=e;if(!Yn||!he)return Promise.resolve();const xe=!z&&Ny(Rl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return xn().then(()=>he(V,J,xe)).then(A=>A&&Oy(A)).catch(A=>Y(A,V,J))}const ne=V=>o.go(V);let Te;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:S,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const J=this;V.component("RouterLink",o0),V.component("RouterView",sd),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Yn&&!Te&&l.value===Pt&&(Te=!0,_(o.location).catch(he=>{}));const z={};for(const he in Pt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(aa,J),V.provide(la,Qt(z)),V.provide(Ti,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Pt,O&&O(),O=null,l.value=Pt,Te=!1,j=!1),ee()}}};function de(V){return V.reduce((J,z)=>J.then(()=>T(z)),Promise.resolve())}return Be}function u0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;isr(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>sr(f,l))||o.push(l))}return[n,s,o]}function f0(e){return nt(la)}const d0=/(:\w+)\([^)]+\)/g,h0=/(:\w+)[?+*]/g,p0=/:\w+/g,g0=(e,t)=>t.path.replace(d0,"$1").replace(h0,"$1").replace(p0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Pi=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&g0(e.route,n));return typeof s=="function"?s(e.route):s},m0=(e,t)=>({default:()=>e?Xe(Zh,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const Bo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./BuH_oIQu.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./BuH_oIQu.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./BuH_oIQu.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./q9MUFlbg.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./q9MUFlbg.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./q9MUFlbg.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./FQnwIZqf.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./FQnwIZqf.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./FQnwIZqf.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./DDUmP6XJ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./DDUmP6XJ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./DDUmP6XJ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./SvRDAMCp.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./SvRDAMCp.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./SvRDAMCp.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],od=(e,t)=>({default:()=>{var n;return e?Xe(tg,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),v0=/(:\w+)\([^)]+\)/g,y0=/(:\w+)[?+*]/g,_0=/:\w+/g;function Wl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(v0,"$1").replace(y0,"$1").replace(_0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function x0(e,t){return e===t||t===Pt?!1:Wl(e)!==Wl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const S0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&x0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Kl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??pi),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Kl(e.hash),behavior:o}),u(r)})})}};function Kl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const w0={hashMode:!1,scrollBehaviorType:"auto"},_t={...w0,...S0},E0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=io({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>qn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},b0=async e=>{let t,n;const s=([t,n]=kt(()=>oa({path:e.path})),t=await t,n(),t);if(s.redirect)return Ct(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},C0=[E0,b0],Lr={};function T0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),al(u,"")}const a=al(s,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const P0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=gt().app.baseURL;const o=((v=_t.history)==null?void 0:v.call(_t,s))??Hy(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Bo)),t=await t,n(),t??Bo):Bo;let i;const a=c0({..._t,scrollBehavior:(S,w,y)=>{if(w===Pt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(S,Pt,i||y)}},history:o,routes:r});_t.routes&&_t.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=tr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=T0(s,window.location,e.payload.path),u=tr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,w)=>{var y,_,m,x;((_=(y=S.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S],enumerable:!0});e._route=Qt(d),e._middleware=e._middleware||{global:[],named:{}};const c=oo();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(nv),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(S){[t,n]=kt(()=>e.runWithContext(()=>qn(S))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(S,w)=>{var y;await e.callHook("page:loading:start"),S.meta=_n(S.meta),e.isHydrating&&g&&!mn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...C0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa({path:S.path}));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Lr[m])==null?void 0:y.call(Lr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(S,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const b=E||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>qn(b)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(S,w)=>{S.matched.length===0&&await e.runWithContext(()=>qn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(S){await e.runWithContext(()=>qn(S))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),L0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),co=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},R0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Tl(t.path);s&&Object.assign(e.static.data,s.data)}),co(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Tl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ao,1e3)})}}),k0=Dt(()=>{const e=ze();co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),A0=Dt(e=>{let t;async function n(){const s=await ao();t&&clearTimeout(t),t=setTimeout(n,fl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}co(()=>{t=setTimeout(n,fl)})});function I0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Un(n.app.baseURL,r.fullPath);I0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),M0=Dt({name:"nuxt:global-components"}),fn={},N0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof fn[s]=="function"&&await fn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ca(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Lr[i]=="function"&&Lr[i]();o&&typeof fn[o]=="function"&&fn[o]()})}});/*! * shared v9.14.2 * (c) 2024 kazuya kawaguchi * Released under the MIT License. diff --git a/_nuxt/BnDw_f-Q.js b/_nuxt/DDUmP6XJ.js similarity index 99% rename from _nuxt/BnDw_f-Q.js rename to _nuxt/DDUmP6XJ.js index 123f018..f1ea068 100644 --- a/_nuxt/BnDw_f-Q.js +++ b/_nuxt/DDUmP6XJ.js @@ -1 +1 @@ -import{_ as M,a as G}from"./fBYCcsMU.js";import{d as c,c as m,e as a,f as e,h as g,t as s,F as w,x as T,s as U,y as V,r as b,o as B,z as p,n as u,i as l,_ as $,p as v,u as D,j as A,m as r,A as W}from"./D-enJaqO.js";const Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20195.811%20195.811'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20d='M50.881,32.67c9.145,0,16.557-7.313,16.557-16.336C67.438,7.313,60.026,0,50.881,0C41.74,0,34.328,7.313,34.328,16.334%20C34.328,25.356,41.741,32.67,50.881,32.67z'/%3e%3cpath%20d='M99.076,97.672c-2.475,3.492-1.666,8.316,1.826,10.792l8.072,5.726c3.49,2.477,8.317,1.651,10.795-1.84l0.168-0.235%20l4.439,2.766l0.876,2.91c0.169,0.562,0.555,1.033,1.07,1.312c0.517,0.277,1.123,0.338,1.686,0.168l0.459-0.138%20c0.562-0.17,1.168-0.108,1.685,0.169c0.518,0.277,0.902,0.749,1.071,1.311l0.139,0.461c0.169,0.562,0.555,1.031,1.071,1.311%20c0.517,0.277,1.122,0.338,1.684,0.169l0.351-0.104c1.169-0.354,2.401,0.31,2.755,1.479l0.104,0.348%20c0.354,1.17,1.585,1.832,2.755,1.479l0.461-0.139c0.562-0.169,1.168-0.108,1.685,0.17c0.517,0.276,0.902,0.749,1.071,1.311%20l0.137,0.457c0.169,0.562,0.555,1.033,1.071,1.312c0.517,0.277,1.123,0.339,1.685,0.17l0.348-0.105%20c0.562-0.169,1.168-0.107,1.686,0.17c0.517,0.277,0.902,0.75,1.071,1.312l0.104,0.347c0.353,1.169,1.585,1.832,2.754,1.48%20l0.462-0.139c1.169-0.353,2.401,0.311,2.754,1.479l0.14,0.46c0.353,1.169,1.585,1.831,2.754,1.479l0.351-0.105%20c1.169-0.352,2.402,0.312,2.755,1.48l0.104,0.346c0.352,1.171,1.584,1.832,2.754,1.48l0.463-0.139%20c1.17-0.352,2.402,0.311,2.754,1.48l0.129,0.428c0.171,0.566,0.562,1.041,1.085,1.317c0.522,0.277,1.136,0.332,1.699,0.154%20l1.125-0.354c1.133-0.357,2.121-1.067,2.823-2.025l4.96-6.776c0.843-1.151,1.188-2.593,0.96-4.001%20c-0.229-1.408-1.014-2.666-2.177-3.492l-44.889-31.834l-14.166-10.049c-3.604-2.556-8.598-1.707-11.153,1.896L88.012,71.037%20L75.84,38.822c-0.975-2.582-3.555-3.808-6.191-3.808c-9.607,0-28.279,0-37.904,0c-2.328,0-4.66,0.896-5.846,3.065L8.701,69.593%20c-0.75,1.373-0.924,2.997-0.482,4.499l8.328,28.364c0.756,2.571,3.107,4.242,5.658,4.242c0.551,0,1.111-0.076,1.666-0.239%20c3.129-0.92,4.92-4.198,4-7.325l-7.648-26.015l10.834-19.864v133.304c0,4.89,3.975,8.854,8.865,8.854%20c4.889,0,8.865-3.964,8.865-8.854v-66.91h4.162v66.91c0,4.89,4.014,8.854,8.902,8.854c4.888,0,8.9-3.964,8.9-8.854V58.596%20l6.881,18.279c0.412,1.084,1.113,2.023,2.055,2.7l21.325,15.368L99.076,97.672z%20M130.864,118.048l-0.045,0.015l-0.014-0.047%20L130.864,118.048z%20M111.739,88.333c1.048-1.477,3.094-1.824,4.569-0.777l9.985,7.082L115.752,109.5%20c-0.898,1.268-2.662,1.571-3.931,0.672l-8.072-5.725c-1.266-0.899-1.555-2.658-0.653-3.926l2.018-2.849%20c0.695,0.273,1.424,0.407,2.15,0.407c1.83,0,3.635-0.852,4.789-2.452C113.68,93.371,113.479,90.353,111.739,88.333L111.739,88.333%20z'/%3e%3c!--%20%3cpath%20d='M170.963,168.102c0-3.846-3.117-6.963-6.964-6.963H93.723c-3.846,0-6.963,3.117-6.963,6.963%20c-2.735,0-4.953,2.219-4.953,4.953v17.803c0,2.735,2.218,4.953,4.953,4.953h23.762c2.735,0,4.953-2.218,4.953-4.953v-22.756h38.69%20v22.756c0,2.735,2.219,4.953,4.953,4.953h23.761c2.734,0,4.952-2.218,4.952-4.953v-15.793c0-3.846-3.116-6.963-6.963-6.963%20H170.963z'/%3e%20--%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F={class:"w-100 p-5 h-full"},H={class:"border border-gray-500 dark:border-gray-300 rounded-md p-3 w-full h-full flex items-center justify-center"},I={class:"w-full relative"},O={key:0,class:"sm:absolute sm:float-left flex items-center justify-center"},q={class:"text-2xl font-semibold text-center text-gray-900 dark:text-white"},K={key:1,class:"text font-semibold text-center text-gray-700 dark:text-gray-300"},E={class:"text-center mb-2"},J=["href"],Q={class:"w-full text-lg whitespace-pre-wrap mb-2 text-gray-500 dark:text-gray-400"},Y=["src"],_=c({__name:"ProjectCard",props:{title:String,subtitle:{type:String,required:!1},links:Object,image:String,image_classes:{type:String,required:!1,default:""},wip:{type:Boolean,required:!1}},setup(i){const t=i;return(o,n)=>(a(),m("div",F,[e("div",H,[e("div",I,[i.wip?(a(),m("div",O,n[0]||(n[0]=[e("img",{src:Z,class:"h-6 sm:h-8 dark:invert"},null,-1),e("span",{class:"sm:text-lg font-bold ml-2"},"WIP",-1)]))):g("",!0),e("h3",q,s(t.title),1),t.subtitle?(a(),m("h4",K,s(t.subtitle),1)):g("",!0),e("div",E,[(a(!0),m(w,null,T(t.links,d=>(a(),m("a",{href:d.url,class:"font-mono inline-block hover:underline mx-2"},s(d.label),9,J))),256))]),e("p",Q,[U(o.$slots,"default")]),t.image?(a(),m("img",{key:2,src:t.image,alt:"",class:V(`max-w-full max-h-96 mx-auto ${i.image_classes}`)},null,10,Y)):g("",!0)])])]))}}),tt={key:0,class:"text-center"},et={class:"w-full h-72 relative"},st={key:0,role:"status",class:"absolute top-0 left-0 w-full h-full flex justify-center items-center"},nt={key:1,class:"flex justify-center items-center w-full h-full"},ot=c({__name:"NotXiaGithubio",setup(i){const t=b(!1),o=b(!1);return B(()=>{try{window.frameElement&&(o.value=!0)}catch{o.value=!1}}),(n,d)=>{const h=_;return a(),p(h,{wip:"",title:"notxia.github.io",links:[{label:"Repository",url:"https://github.com/NotXia/notxia.github.io"}]},{default:u(()=>[l(o)?g("",!0):(a(),m("p",tt,s(n.$t("notxia.github.io.description")),1)),e("div",et,[!l(t)&&!l(o)?(a(),m("div",st,d[1]||(d[1]=[e("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin text-gray-200 fill-gray-600 dark:text-gray-600 dark:fill-gray-300",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)]))):g("",!0),l(o)?(a(),m("div",nt,[e("p",null,s(n.$t("no recursion")),1)])):g("",!0),l(o)?g("",!0):(a(),m("iframe",{key:2,src:"/",frameborder:"0",width:"100%",height:"100%",onLoad:d[0]||(d[0]=f=>t.value=!0)},null,32))])]),_:1})}}}),at=""+new URL("neural_network.CdFaPZL8.png",import.meta.url).href,it=c({__name:"NNFromScratch",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("nn_scratch.title"),image:l(at),image_classes:"dark:invert",links:[{label:"Repository",url:"https://github.com/NotXia/nn-from-scratch"}]},{default:u(()=>[e("p",null,s(t.$t("nn_scratch.description")),1)]),_:1},8,["title","image"])}}}),lt=""+new URL("tablut.bP_9NtuD.png",import.meta.url).href,rt={class:"text-center"},ct=c({__name:"TablutPlayer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tablut",image:l(lt),links:[{label:"Repository",url:"https://github.com/NotXia/tablut-player"}]},{default:u(()=>[e("p",rt,s(t.$t("unibo_23-24")),1),e("p",null,s(t.$t("tablut.description")),1)]),_:1},8,["image"])}}}),pt=""+new URL("bsc-thesis.GNZkyr7A.png",import.meta.url).href,ut={class:"text-center"},_t=c({__name:"BScThesis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("bsc_thesis.title"),subtitle:t.$t("bsc_thesis.thesis_title"),image:l(pt),links:[{label:"Repository1",url:"https://github.com/NotXia/biomed-ext-summ"},{label:"Repository2",url:"https://github.com/NotXia/pubmed-summ"},{label:t.$t("thesis"),url:"https://amslaurea.unibo.it/id/eprint/29686"}]},{default:u(()=>[e("p",ut,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("bsc_thesis.description")),1)]),_:1},8,["title","subtitle","image","links"])}}}),mt=""+new URL("wavemap.BQwukfR1.jpg",import.meta.url).href,dt={class:"text-center"},gt=c({__name:"WaveMap",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"WaveMap",image:l(mt),image_classes:"!max-h-[32rem]",links:[{label:"Repository",url:"https://github.com/NotXia/wave-map"}]},{default:u(()=>[e("p",dt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("wavemap.description")),1)]),_:1},8,["image"])}}}),ht={},ft={class:"text-center"};function bt(i,t){const o=_;return a(),p(o,{title:"Wirefilter",links:[{label:"Repository",url:"https://github.com/NotXia/vdeplug_wirefilter"},{label:"VirtualSquare",url:"http://wiki.virtualsquare.org/#!index.md"}]},{default:u(()=>[e("p",ft,s(i.$t("unibo_22-23")),1),e("p",null,s(i.$t("wirefilter.description")),1)]),_:1})}const wt=$(ht,[["render",bt]]),$t=""+new URL("tweet-analysis.Bfz4MjkO.png",import.meta.url).href,vt={class:"text-center"},yt=c({__name:"TweetAnalysis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tweet Analysis",image:l($t),links:[{label:"Repository",url:"https://github.com/NotXia/tweet-analysis"}]},{default:u(()=>[e("p",vt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("tweet_analysis.description")),1)]),_:1},8,["image"])}}}),xt=""+new URL("animal-house.DdPUBA-Y.png",import.meta.url).href,Ct={class:"text-center"},kt={class:"list-inside list-['-_']"},Nt=c({__name:"AnimalHouse",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Animal House",image:l(xt),links:[{label:"Repository",url:"https://github.com/NotXia/animal-house"}]},{default:u(()=>[e("p",Ct,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("animalhouse.description")),1),e("ul",kt,[e("li",null,s(t.$t("animalhouse.description.game")),1),e("li",null,s(t.$t("animalhouse.description.frontoffice")),1),e("li",null,s(t.$t("animalhouse.description.backoffice")),1)])]),_:1},8,["image"])}}}),Pt={},jt={class:"text-center"};function Rt(i,t){const o=_;return a(),p(o,{title:"PandOS+",links:[{label:"Repository",url:"https://github.com/NotXia/pandos-plus"}]},{default:u(()=>[e("p",jt,s(i.$t("unibo_21-22")),1),e("p",null,s(i.$t("pandos+.description")),1)]),_:1})}const zt=$(Pt,[["render",Rt]]),Lt=""+new URL("imaging.jNKQ-3TQ.png",import.meta.url).href,St={class:"text-center"},Xt=c({__name:"Imaging",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Image deblur",image:l(Lt),links:[{label:"Repository",url:"https://github.com/NotXia/imaging"}]},{default:u(()=>[e("p",St,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("imaging.description")),1)]),_:1},8,["image"])}}}),Mt=""+new URL("mnkgame.lN9puZjX.png",import.meta.url).href,Gt={class:"text-center"},Tt=c({__name:"MNKGame",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"MNK Game",image:l(Mt),links:[{label:"Repository",url:"https://github.com/NotXia/MNKGame"}]},{default:u(()=>[e("p",Gt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("mnk.description")),1)]),_:1},8,["image"])}}}),Ut=""+new URL("platform.CAZcDWzw.png",import.meta.url).href,Vt={class:"text-center"},Bt=c({__name:"Platform",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Platform game",image:l(Ut),links:[{label:"Repository",url:"https://github.com/NotXia/platform-game"}]},{default:u(()=>[e("p",Vt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("platform.description")),1)]),_:1},8,["image"])}}}),Dt=""+new URL("pathfinding-visualizer.BJG7xP34.png",import.meta.url).href,At=c({__name:"PathfindingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Pathfinding visualizer",image:l(Dt),links:[{label:"Repository",url:"https://github.com/NotXia/pathfinding-visualizer"},{label:"Demo",url:"https://notxia.github.io/pathfinding-visualizer/"}]},{default:u(()=>[v(s(t.$t("pathfinding_visualizer.description")),1)]),_:1},8,["image"])}}}),Wt=""+new URL("sorting-visualizer.CYJ9JT4e.png",import.meta.url).href,Zt=c({__name:"SortingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Sorting visualizer",image:l(Wt),links:[{label:"Repository",url:"https://github.com/NotXia/sorting-visualizer"},{label:"Demo",url:"https://notxia.github.io/sorting-visualizer/"}]},{default:u(()=>[v(s(t.$t("sort_visualizer.description")),1)]),_:1},8,["image"])}}}),Ft=""+new URL("huggingface.DAS6hTOG.svg",import.meta.url).href,Ht={class:"text-5xl font-bold text-center mb-5"},It={class:"grid grid-flow-row-dense grid-cols-12 m-auto justify-center [&>*]:px-5 [&>*]:py-5"},Kt=c({__name:"projects",setup(i){const{t}=D();return A({title:t("title_projects")}),(o,n)=>{const d=M,h=ot,f=it,y=ct,x=_t,C=gt,k=wt,N=yt,P=Nt,j=zt,R=Xt,z=Tt,L=Bt,S=At,X=Zt;return a(),m(w,null,[r(d),e("main",null,[e("h1",Ht,s(o.$t("projects")),1),n[0]||(n[0]=W('',1)),e("div",It,[r(h,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(f,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(y,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(x,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(C,{class:"lg:col-span-4 lg:row-span-2 col-span-12"}),r(k,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(N,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(P,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(j,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(R,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(z,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(L,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(S,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(X,{class:"lg:col-span-6 row-span-1 col-span-12"})])])],64)}}});export{Kt as default}; +import{_ as M,a as G}from"./DkGYsMjR.js";import{d as c,c as m,e as a,f as e,h as g,t as s,F as w,x as T,s as U,y as V,r as b,o as B,z as p,n as u,i as l,_ as $,p as v,u as D,j as A,m as r,A as W}from"./CHpV0Dqx.js";const Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20195.811%20195.811'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20d='M50.881,32.67c9.145,0,16.557-7.313,16.557-16.336C67.438,7.313,60.026,0,50.881,0C41.74,0,34.328,7.313,34.328,16.334%20C34.328,25.356,41.741,32.67,50.881,32.67z'/%3e%3cpath%20d='M99.076,97.672c-2.475,3.492-1.666,8.316,1.826,10.792l8.072,5.726c3.49,2.477,8.317,1.651,10.795-1.84l0.168-0.235%20l4.439,2.766l0.876,2.91c0.169,0.562,0.555,1.033,1.07,1.312c0.517,0.277,1.123,0.338,1.686,0.168l0.459-0.138%20c0.562-0.17,1.168-0.108,1.685,0.169c0.518,0.277,0.902,0.749,1.071,1.311l0.139,0.461c0.169,0.562,0.555,1.031,1.071,1.311%20c0.517,0.277,1.122,0.338,1.684,0.169l0.351-0.104c1.169-0.354,2.401,0.31,2.755,1.479l0.104,0.348%20c0.354,1.17,1.585,1.832,2.755,1.479l0.461-0.139c0.562-0.169,1.168-0.108,1.685,0.17c0.517,0.276,0.902,0.749,1.071,1.311%20l0.137,0.457c0.169,0.562,0.555,1.033,1.071,1.312c0.517,0.277,1.123,0.339,1.685,0.17l0.348-0.105%20c0.562-0.169,1.168-0.107,1.686,0.17c0.517,0.277,0.902,0.75,1.071,1.312l0.104,0.347c0.353,1.169,1.585,1.832,2.754,1.48%20l0.462-0.139c1.169-0.353,2.401,0.311,2.754,1.479l0.14,0.46c0.353,1.169,1.585,1.831,2.754,1.479l0.351-0.105%20c1.169-0.352,2.402,0.312,2.755,1.48l0.104,0.346c0.352,1.171,1.584,1.832,2.754,1.48l0.463-0.139%20c1.17-0.352,2.402,0.311,2.754,1.48l0.129,0.428c0.171,0.566,0.562,1.041,1.085,1.317c0.522,0.277,1.136,0.332,1.699,0.154%20l1.125-0.354c1.133-0.357,2.121-1.067,2.823-2.025l4.96-6.776c0.843-1.151,1.188-2.593,0.96-4.001%20c-0.229-1.408-1.014-2.666-2.177-3.492l-44.889-31.834l-14.166-10.049c-3.604-2.556-8.598-1.707-11.153,1.896L88.012,71.037%20L75.84,38.822c-0.975-2.582-3.555-3.808-6.191-3.808c-9.607,0-28.279,0-37.904,0c-2.328,0-4.66,0.896-5.846,3.065L8.701,69.593%20c-0.75,1.373-0.924,2.997-0.482,4.499l8.328,28.364c0.756,2.571,3.107,4.242,5.658,4.242c0.551,0,1.111-0.076,1.666-0.239%20c3.129-0.92,4.92-4.198,4-7.325l-7.648-26.015l10.834-19.864v133.304c0,4.89,3.975,8.854,8.865,8.854%20c4.889,0,8.865-3.964,8.865-8.854v-66.91h4.162v66.91c0,4.89,4.014,8.854,8.902,8.854c4.888,0,8.9-3.964,8.9-8.854V58.596%20l6.881,18.279c0.412,1.084,1.113,2.023,2.055,2.7l21.325,15.368L99.076,97.672z%20M130.864,118.048l-0.045,0.015l-0.014-0.047%20L130.864,118.048z%20M111.739,88.333c1.048-1.477,3.094-1.824,4.569-0.777l9.985,7.082L115.752,109.5%20c-0.898,1.268-2.662,1.571-3.931,0.672l-8.072-5.725c-1.266-0.899-1.555-2.658-0.653-3.926l2.018-2.849%20c0.695,0.273,1.424,0.407,2.15,0.407c1.83,0,3.635-0.852,4.789-2.452C113.68,93.371,113.479,90.353,111.739,88.333L111.739,88.333%20z'/%3e%3c!--%20%3cpath%20d='M170.963,168.102c0-3.846-3.117-6.963-6.964-6.963H93.723c-3.846,0-6.963,3.117-6.963,6.963%20c-2.735,0-4.953,2.219-4.953,4.953v17.803c0,2.735,2.218,4.953,4.953,4.953h23.762c2.735,0,4.953-2.218,4.953-4.953v-22.756h38.69%20v22.756c0,2.735,2.219,4.953,4.953,4.953h23.761c2.734,0,4.952-2.218,4.952-4.953v-15.793c0-3.846-3.116-6.963-6.963-6.963%20H170.963z'/%3e%20--%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F={class:"w-100 p-5 h-full"},H={class:"border border-gray-500 dark:border-gray-300 rounded-md p-3 w-full h-full flex items-center justify-center"},I={class:"w-full relative"},O={key:0,class:"sm:absolute sm:float-left flex items-center justify-center"},q={class:"text-2xl font-semibold text-center text-gray-900 dark:text-white"},K={key:1,class:"text font-semibold text-center text-gray-700 dark:text-gray-300"},E={class:"text-center mb-2"},J=["href"],Q={class:"w-full text-lg whitespace-pre-wrap mb-2 text-gray-500 dark:text-gray-400"},Y=["src"],_=c({__name:"ProjectCard",props:{title:String,subtitle:{type:String,required:!1},links:Object,image:String,image_classes:{type:String,required:!1,default:""},wip:{type:Boolean,required:!1}},setup(i){const t=i;return(o,n)=>(a(),m("div",F,[e("div",H,[e("div",I,[i.wip?(a(),m("div",O,n[0]||(n[0]=[e("img",{src:Z,class:"h-6 sm:h-8 dark:invert"},null,-1),e("span",{class:"sm:text-lg font-bold ml-2"},"WIP",-1)]))):g("",!0),e("h3",q,s(t.title),1),t.subtitle?(a(),m("h4",K,s(t.subtitle),1)):g("",!0),e("div",E,[(a(!0),m(w,null,T(t.links,d=>(a(),m("a",{href:d.url,class:"font-mono inline-block hover:underline mx-2"},s(d.label),9,J))),256))]),e("p",Q,[U(o.$slots,"default")]),t.image?(a(),m("img",{key:2,src:t.image,alt:"",class:V(`max-w-full max-h-96 mx-auto ${i.image_classes}`)},null,10,Y)):g("",!0)])])]))}}),tt={key:0,class:"text-center"},et={class:"w-full h-72 relative"},st={key:0,role:"status",class:"absolute top-0 left-0 w-full h-full flex justify-center items-center"},nt={key:1,class:"flex justify-center items-center w-full h-full"},ot=c({__name:"NotXiaGithubio",setup(i){const t=b(!1),o=b(!1);return B(()=>{try{window.frameElement&&(o.value=!0)}catch{o.value=!1}}),(n,d)=>{const h=_;return a(),p(h,{wip:"",title:"notxia.github.io",links:[{label:"Repository",url:"https://github.com/NotXia/notxia.github.io"}]},{default:u(()=>[l(o)?g("",!0):(a(),m("p",tt,s(n.$t("notxia.github.io.description")),1)),e("div",et,[!l(t)&&!l(o)?(a(),m("div",st,d[1]||(d[1]=[e("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin text-gray-200 fill-gray-600 dark:text-gray-600 dark:fill-gray-300",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)]))):g("",!0),l(o)?(a(),m("div",nt,[e("p",null,s(n.$t("no recursion")),1)])):g("",!0),l(o)?g("",!0):(a(),m("iframe",{key:2,src:"/",frameborder:"0",width:"100%",height:"100%",onLoad:d[0]||(d[0]=f=>t.value=!0)},null,32))])]),_:1})}}}),at=""+new URL("neural_network.CdFaPZL8.png",import.meta.url).href,it=c({__name:"NNFromScratch",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("nn_scratch.title"),image:l(at),image_classes:"dark:invert",links:[{label:"Repository",url:"https://github.com/NotXia/nn-from-scratch"}]},{default:u(()=>[e("p",null,s(t.$t("nn_scratch.description")),1)]),_:1},8,["title","image"])}}}),lt=""+new URL("tablut.bP_9NtuD.png",import.meta.url).href,rt={class:"text-center"},ct=c({__name:"TablutPlayer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tablut",image:l(lt),links:[{label:"Repository",url:"https://github.com/NotXia/tablut-player"}]},{default:u(()=>[e("p",rt,s(t.$t("unibo_23-24")),1),e("p",null,s(t.$t("tablut.description")),1)]),_:1},8,["image"])}}}),pt=""+new URL("bsc-thesis.GNZkyr7A.png",import.meta.url).href,ut={class:"text-center"},_t=c({__name:"BScThesis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:t.$t("bsc_thesis.title"),subtitle:t.$t("bsc_thesis.thesis_title"),image:l(pt),links:[{label:"Repository1",url:"https://github.com/NotXia/biomed-ext-summ"},{label:"Repository2",url:"https://github.com/NotXia/pubmed-summ"},{label:t.$t("thesis"),url:"https://amslaurea.unibo.it/id/eprint/29686"}]},{default:u(()=>[e("p",ut,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("bsc_thesis.description")),1)]),_:1},8,["title","subtitle","image","links"])}}}),mt=""+new URL("wavemap.BQwukfR1.jpg",import.meta.url).href,dt={class:"text-center"},gt=c({__name:"WaveMap",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"WaveMap",image:l(mt),image_classes:"!max-h-[32rem]",links:[{label:"Repository",url:"https://github.com/NotXia/wave-map"}]},{default:u(()=>[e("p",dt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("wavemap.description")),1)]),_:1},8,["image"])}}}),ht={},ft={class:"text-center"};function bt(i,t){const o=_;return a(),p(o,{title:"Wirefilter",links:[{label:"Repository",url:"https://github.com/NotXia/vdeplug_wirefilter"},{label:"VirtualSquare",url:"http://wiki.virtualsquare.org/#!index.md"}]},{default:u(()=>[e("p",ft,s(i.$t("unibo_22-23")),1),e("p",null,s(i.$t("wirefilter.description")),1)]),_:1})}const wt=$(ht,[["render",bt]]),$t=""+new URL("tweet-analysis.Bfz4MjkO.png",import.meta.url).href,vt={class:"text-center"},yt=c({__name:"TweetAnalysis",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Tweet Analysis",image:l($t),links:[{label:"Repository",url:"https://github.com/NotXia/tweet-analysis"}]},{default:u(()=>[e("p",vt,s(t.$t("unibo_22-23")),1),e("p",null,s(t.$t("tweet_analysis.description")),1)]),_:1},8,["image"])}}}),xt=""+new URL("animal-house.DdPUBA-Y.png",import.meta.url).href,Ct={class:"text-center"},kt={class:"list-inside list-['-_']"},Nt=c({__name:"AnimalHouse",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Animal House",image:l(xt),links:[{label:"Repository",url:"https://github.com/NotXia/animal-house"}]},{default:u(()=>[e("p",Ct,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("animalhouse.description")),1),e("ul",kt,[e("li",null,s(t.$t("animalhouse.description.game")),1),e("li",null,s(t.$t("animalhouse.description.frontoffice")),1),e("li",null,s(t.$t("animalhouse.description.backoffice")),1)])]),_:1},8,["image"])}}}),Pt={},jt={class:"text-center"};function Rt(i,t){const o=_;return a(),p(o,{title:"PandOS+",links:[{label:"Repository",url:"https://github.com/NotXia/pandos-plus"}]},{default:u(()=>[e("p",jt,s(i.$t("unibo_21-22")),1),e("p",null,s(i.$t("pandos+.description")),1)]),_:1})}const zt=$(Pt,[["render",Rt]]),Lt=""+new URL("imaging.jNKQ-3TQ.png",import.meta.url).href,St={class:"text-center"},Xt=c({__name:"Imaging",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Image deblur",image:l(Lt),links:[{label:"Repository",url:"https://github.com/NotXia/imaging"}]},{default:u(()=>[e("p",St,s(t.$t("unibo_21-22")),1),e("p",null,s(t.$t("imaging.description")),1)]),_:1},8,["image"])}}}),Mt=""+new URL("mnkgame.lN9puZjX.png",import.meta.url).href,Gt={class:"text-center"},Tt=c({__name:"MNKGame",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"MNK Game",image:l(Mt),links:[{label:"Repository",url:"https://github.com/NotXia/MNKGame"}]},{default:u(()=>[e("p",Gt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("mnk.description")),1)]),_:1},8,["image"])}}}),Ut=""+new URL("platform.CAZcDWzw.png",import.meta.url).href,Vt={class:"text-center"},Bt=c({__name:"Platform",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Platform game",image:l(Ut),links:[{label:"Repository",url:"https://github.com/NotXia/platform-game"}]},{default:u(()=>[e("p",Vt,s(t.$t("unibo_20-21")),1),e("p",null,s(t.$t("platform.description")),1)]),_:1},8,["image"])}}}),Dt=""+new URL("pathfinding-visualizer.BJG7xP34.png",import.meta.url).href,At=c({__name:"PathfindingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Pathfinding visualizer",image:l(Dt),links:[{label:"Repository",url:"https://github.com/NotXia/pathfinding-visualizer"},{label:"Demo",url:"https://notxia.github.io/pathfinding-visualizer/"}]},{default:u(()=>[v(s(t.$t("pathfinding_visualizer.description")),1)]),_:1},8,["image"])}}}),Wt=""+new URL("sorting-visualizer.CYJ9JT4e.png",import.meta.url).href,Zt=c({__name:"SortingVisualizer",setup(i){return(t,o)=>{const n=_;return a(),p(n,{title:"Sorting visualizer",image:l(Wt),links:[{label:"Repository",url:"https://github.com/NotXia/sorting-visualizer"},{label:"Demo",url:"https://notxia.github.io/sorting-visualizer/"}]},{default:u(()=>[v(s(t.$t("sort_visualizer.description")),1)]),_:1},8,["image"])}}}),Ft=""+new URL("huggingface.DAS6hTOG.svg",import.meta.url).href,Ht={class:"text-5xl font-bold text-center mb-5"},It={class:"grid grid-flow-row-dense grid-cols-12 m-auto justify-center [&>*]:px-5 [&>*]:py-5"},Kt=c({__name:"projects",setup(i){const{t}=D();return A({title:t("title_projects")}),(o,n)=>{const d=M,h=ot,f=it,y=ct,x=_t,C=gt,k=wt,N=yt,P=Nt,j=zt,R=Xt,z=Tt,L=Bt,S=At,X=Zt;return a(),m(w,null,[r(d),e("main",null,[e("h1",Ht,s(o.$t("projects")),1),n[0]||(n[0]=W('',1)),e("div",It,[r(h,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(f,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(y,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(x,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(C,{class:"lg:col-span-4 lg:row-span-2 col-span-12"}),r(k,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(N,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(P,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(j,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(R,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(z,{class:"lg:col-span-4 row-span-1 col-span-12"}),r(L,{class:"lg:col-span-8 row-span-1 col-span-12"}),r(S,{class:"lg:col-span-6 row-span-1 col-span-12"}),r(X,{class:"lg:col-span-6 row-span-1 col-span-12"})])])],64)}}});export{Kt as default}; diff --git a/_nuxt/fBYCcsMU.js b/_nuxt/DkGYsMjR.js similarity index 99% rename from _nuxt/fBYCcsMU.js rename to _nuxt/DkGYsMjR.js index 22a6540..b721a08 100644 --- a/_nuxt/fBYCcsMU.js +++ b/_nuxt/DkGYsMjR.js @@ -1,2 +1,2 @@ -import{d as Xt,r as Xe,o as re,g as Se,c as Y,e as G,f as k,h as Ie,C as wi,D as Ei,E as xi,F as ki,x as Li,m as V,n as Ue,t as oe,i as Ye,G as Ge,H as Ai,I as Oi,y as Ci,p as Ti}from"./D-enJaqO.js";const Pi="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20none;%20stroke-width:%200;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%20%3e%3cpath%20d='M%2087.823%2060.7%20c%20-0.463%20-0.423%20-1.142%20-0.506%20-1.695%20-0.214%20c%20-15.834%208.398%20-35.266%202.812%20-44.232%20-12.718%20c%20-8.966%20-15.53%20-4.09%20-35.149%2011.101%20-44.665%20c%200.531%20-0.332%200.796%20-0.963%200.661%20-1.574%20c%20-0.134%20-0.612%20-0.638%20-1.074%20-1.259%20-1.153%20c%20-9.843%20-1.265%20-19.59%200.692%20-28.193%205.66%20C%2013.8%2012.041%206.356%2021.743%203.246%2033.35%20S%201.732%2057.08%207.741%2067.487%20c%206.008%2010.407%2015.709%2017.851%2027.316%2020.961%20C%2038.933%2089.486%2042.866%2090%2046.774%2090%20c%207.795%200%2015.489%20-2.044%2022.42%20-6.046%20c%208.601%20-4.966%2015.171%20-12.43%2018.997%20-21.586%20C%2088.433%2061.79%2088.285%2061.123%2087.823%2060.7%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3c/g%3e%3c/svg%3e",Di=""+new URL("sun.esC0lg23.svg",import.meta.url).href,Si={class:"w-5 h-5 flex items-center justify-center"},Ii={key:0},ji={key:1},Bi=Xt({__name:"ThemeSwitch",setup(i){const t=Xe("");re(()=>{t.value=Se()});function e(){wi(),t.value=Se(),Ei(t.value)}return(n,r)=>(G(),Y("button",{class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700",onClick:e},[k("div",Si,[t.value==="light"?(G(),Y("div",Ii,r[0]||(r[0]=[k("img",{src:Pi,alt:"Dark theme",class:"h-full w-full"},null,-1)]))):Ie("",!0),t.value==="dark"?(G(),Y("div",ji,r[1]||(r[1]=[k("img",{src:Di,alt:"Light theme",class:"invert h-full w-full"},null,-1)]))):Ie("",!0)])]))}}),Hi="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20466.337%20466.337'%20xml:space='preserve'%3e%3cg%3e%3cpath%20d='M233.168,0C104.604,0,0,104.604,0,233.168c0,128.565,104.604,233.169,233.168,233.169%20c128.565,0,233.169-104.604,233.169-233.169C466.337,104.604,361.733,0,233.168,0z%20M223.984,441.874%20c-22.321,0-46.405-41.384-59.045-107.815h118.067C270.371,400.49,246.316,441.874,223.984,441.874z%20M161.114,310.144%20c-2.738-19.991-4.437-41.781-4.881-65.018H291.74c-0.443,23.237-2.148,45.027-4.869,65.018H161.114z%20M24.521,245.126h107.704%20c0.443,21.883,2.09,43.859,4.887,65.018H38.768C30.693,289.826,25.818,267.966,24.521,245.126z%20M223.984,24.464%20c21.982,0,45.687,40.14,58.484,104.877h-116.97C178.286,64.604,201.996,24.464,223.984,24.464z%20M286.463,153.245%20c2.978,20.785,4.811,43.596,5.277,67.966H156.222c0.467-24.37,2.295-47.169,5.272-67.966H286.463z%20M132.226,221.211H24.521%20c1.354-23.926,6.568-46.836,15.332-67.966h97.656C134.462,175.32,132.681,198.312,132.226,221.211z%20M315.749,245.126h126.065%20c-1.296,22.84-6.188,44.7-14.246,65.018H310.855C313.646,288.985,315.305,267.009,315.749,245.126z%20M315.749,221.211%20c-0.468-22.898-2.254-45.891-5.29-67.966h116.023c8.77,21.13,13.978,44.04,15.332,67.966H315.749z%20M414.596,129.33H306.617%20c-7.894-42.067-20.727-78.844-38.195-102.222C330.952,37.799,384.06,76.205,414.596,129.33z%20M176.073,32.036%20c-15.7,23.459-27.348,58.1-34.699,97.305H51.741C78.657,82.505,123.064,47.1,176.073,32.036z%20M49.96,334.058h90.895%20c7.311,40.403,19.133,76.205,35.219,100.26C121.944,418.904,76.672,382.378,49.96,334.058z%20M268.41,439.222%20c17.865-23.938,30.874-61.889,38.697-105.164h109.274C386.15,388.743,332.12,428.339,268.41,439.222z'/%3e%3c/g%3e%3c/svg%3e";var Mi=function(){function i(t,e){e===void 0&&(e=[]),this._eventType=t,this._eventFunctions=e}return i.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(e){typeof window<"u"&&window.addEventListener(t._eventType,e)})},i}(),Ht=function(){return Ht=Object.assign||function(i){for(var t,e=1,n=arguments.length;e"u")return!1;var t=I(i).ShadowRoot;return i instanceof t||i instanceof ShadowRoot}function Ki(i){var t=i.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!j(o)||!R(o)||(Object.assign(o.style,n),Object.keys(r).forEach(function(s){var a=r[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Ji(i){var t=i.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(n){var r=t.elements[n],o=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]),a=s.reduce(function(l,d){return l[d]="",l},{});!j(r)||!R(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(l){r.removeAttribute(l)}))})}}const Qi={name:"applyStyles",enabled:!0,phase:"write",fn:Ki,effect:Ji,requires:["computeStyles"]};function q(i){return i.split("-")[0]}var rt=Math.max,Rt=Math.min,ct=Math.round;function te(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ii(){return!/^((?!chrome|android).)*safari/i.test(te())}function dt(i,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var n=i.getBoundingClientRect(),r=1,o=1;t&&j(i)&&(r=i.offsetWidth>0&&ct(n.width)/i.offsetWidth||1,o=i.offsetHeight>0&&ct(n.height)/i.offsetHeight||1);var s=ot(i)?I(i):window,a=s.visualViewport,l=!ii()&&e,d=(n.left+(l&&a?a.offsetLeft:0))/r,c=(n.top+(l&&a?a.offsetTop:0))/o,v=n.width/r,_=n.height/o;return{width:v,height:_,top:c,right:d+v,bottom:c+_,left:d,x:d,y:c}}function ue(i){var t=dt(i),e=i.offsetWidth,n=i.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:i.offsetLeft,y:i.offsetTop,width:e,height:n}}function ni(i,t){var e=t.getRootNode&&t.getRootNode();if(i.contains(t))return!0;if(e&&de(e)){var n=t;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function $(i){return I(i).getComputedStyle(i)}function Zi(i){return["table","td","th"].indexOf(R(i))>=0}function K(i){return((ot(i)?i.ownerDocument:i.document)||window.document).documentElement}function Yt(i){return R(i)==="html"?i:i.assignedSlot||i.parentNode||(de(i)?i.host:null)||K(i)}function Me(i){return!j(i)||$(i).position==="fixed"?null:i.offsetParent}function tn(i){var t=/firefox/i.test(te()),e=/Trident/i.test(te());if(e&&j(i)){var n=$(i);if(n.position==="fixed")return null}var r=Yt(i);for(de(r)&&(r=r.host);j(r)&&["html","body"].indexOf(R(r))<0;){var o=$(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function Et(i){for(var t=I(i),e=Me(i);e&&Zi(e)&&$(e).position==="static";)e=Me(e);return e&&(R(e)==="html"||R(e)==="body"&&$(e).position==="static")?t:e||tn(i)||t}function fe(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function gt(i,t,e){return rt(i,Rt(t,e))}function en(i,t,e){var n=gt(i,t,e);return n>e?e:n}function ri(){return{top:0,right:0,bottom:0,left:0}}function oi(i){return Object.assign({},ri(),i)}function si(i,t){return t.reduce(function(e,n){return e[n]=i,e},{})}var nn=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,oi(typeof t!="number"?t:si(t,wt))};function rn(i){var t,e=i.state,n=i.name,r=i.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=q(e.placement),l=fe(a),d=[D,H].indexOf(a)>=0,c=d?"height":"width";if(!(!o||!s)){var v=nn(r.padding,e),_=ue(o),u=l==="y"?P:D,b=l==="y"?B:H,h=e.rects.reference[c]+e.rects.reference[l]-s[l]-e.rects.popper[c],p=s[l]-e.rects.reference[l],y=Et(o),E=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-p/2,f=v[u],g=E-_[c]-v[b],m=E/2-_[c]/2+x,w=gt(f,m,g),O=l;e.modifiersData[n]=(t={},t[O]=w,t.centerOffset=w-m,t)}}function on(i){var t=i.state,e=i.options,n=e.element,r=n===void 0?"[data-popper-arrow]":n;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||ni(t.elements.popper,r)&&(t.elements.arrow=r))}const sn={name:"arrow",enabled:!0,phase:"main",fn:rn,effect:on,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(i){return i.split("-")[1]}var an={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ln(i,t){var e=i.x,n=i.y,r=t.devicePixelRatio||1;return{x:ct(e*r)/r||0,y:ct(n*r)/r||0}}function ze(i){var t,e=i.popper,n=i.popperRect,r=i.placement,o=i.variation,s=i.offsets,a=i.position,l=i.gpuAcceleration,d=i.adaptive,c=i.roundOffsets,v=i.isFixed,_=s.x,u=_===void 0?0:_,b=s.y,h=b===void 0?0:b,p=typeof c=="function"?c({x:u,y:h}):{x:u,y:h};u=p.x,h=p.y;var y=s.hasOwnProperty("x"),E=s.hasOwnProperty("y"),x=D,f=P,g=window;if(d){var m=Et(e),w="clientHeight",O="clientWidth";if(m===I(e)&&(m=K(e),$(m).position!=="static"&&a==="absolute"&&(w="scrollHeight",O="scrollWidth")),m=m,r===P||(r===D||r===H)&&o===yt){f=B;var A=v&&m===g&&g.visualViewport?g.visualViewport.height:m[w];h-=A-n.height,h*=l?1:-1}if(r===D||(r===P||r===B)&&o===yt){x=H;var L=v&&m===g&&g.visualViewport?g.visualViewport.width:m[O];u-=L-n.width,u*=l?1:-1}}var C=Object.assign({position:a},d&&an),M=c===!0?ln({x:u,y:h},I(e)):{x:u,y:h};if(u=M.x,h=M.y,l){var T;return Object.assign({},C,(T={},T[f]=E?"0":"",T[x]=y?"0":"",T.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",T))}return Object.assign({},C,(t={},t[f]=E?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function cn(i){var t=i.state,e=i.options,n=e.gpuAcceleration,r=n===void 0?!0:n,o=e.adaptive,s=o===void 0?!0:o,a=e.roundOffsets,l=a===void 0?!0:a,d={placement:q(t.placement),variation:ut(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cn,data:{}};var Ct={passive:!0};function un(i){var t=i.state,e=i.instance,n=i.options,r=n.scroll,o=r===void 0?!0:r,s=n.resize,a=s===void 0?!0:s,l=I(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(c){c.addEventListener("scroll",e.update,Ct)}),a&&l.addEventListener("resize",e.update,Ct),function(){o&&d.forEach(function(c){c.removeEventListener("scroll",e.update,Ct)}),a&&l.removeEventListener("resize",e.update,Ct)}}const fn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:un,data:{}};var pn={left:"right",right:"left",bottom:"top",top:"bottom"};function Bt(i){return i.replace(/left|right|bottom|top/g,function(t){return pn[t]})}var hn={start:"end",end:"start"};function qe(i){return i.replace(/start|end/g,function(t){return hn[t]})}function pe(i){var t=I(i),e=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:e,scrollTop:n}}function he(i){return dt(K(i)).left+pe(i).scrollLeft}function vn(i,t){var e=I(i),n=K(i),r=e.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var d=ii();(d||!d&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+he(i),y:l}}function gn(i){var t,e=K(i),n=pe(i),r=(t=i.ownerDocument)==null?void 0:t.body,o=rt(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=rt(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+he(i),l=-n.scrollTop;return $(r||e).direction==="rtl"&&(a+=rt(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function ve(i){var t=$(i),e=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+r+n)}function ai(i){return["html","body","#document"].indexOf(R(i))>=0?i.ownerDocument.body:j(i)&&ve(i)?i:ai(Yt(i))}function mt(i,t){var e;t===void 0&&(t=[]);var n=ai(i),r=n===((e=i.ownerDocument)==null?void 0:e.body),o=I(n),s=r?[o].concat(o.visualViewport||[],ve(n)?n:[]):n,a=t.concat(s);return r?a:a.concat(mt(Yt(s)))}function ee(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function mn(i,t){var e=dt(i,!1,t==="fixed");return e.top=e.top+i.clientTop,e.left=e.left+i.clientLeft,e.bottom=e.top+i.clientHeight,e.right=e.left+i.clientWidth,e.width=i.clientWidth,e.height=i.clientHeight,e.x=e.left,e.y=e.top,e}function Re(i,t,e){return t===ti?ee(vn(i,e)):ot(t)?mn(t,e):ee(gn(K(i)))}function _n(i){var t=mt(Yt(i)),e=["absolute","fixed"].indexOf($(i).position)>=0,n=e&&j(i)?Et(i):i;return ot(n)?t.filter(function(r){return ot(r)&&ni(r,n)&&R(r)!=="body"}):[]}function yn(i,t,e,n){var r=t==="clippingParents"?_n(i):[].concat(t),o=[].concat(r,[e]),s=o[0],a=o.reduce(function(l,d){var c=Re(i,d,n);return l.top=rt(c.top,l.top),l.right=Rt(c.right,l.right),l.bottom=Rt(c.bottom,l.bottom),l.left=rt(c.left,l.left),l},Re(i,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function li(i){var t=i.reference,e=i.element,n=i.placement,r=n?q(n):null,o=n?ut(n):null,s=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(r){case P:l={x:s,y:t.y-e.height};break;case B:l={x:s,y:t.y+t.height};break;case H:l={x:t.x+t.width,y:a};break;case D:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var d=r?fe(r):null;if(d!=null){var c=d==="y"?"height":"width";switch(o){case lt:l[d]=l[d]-(t[c]/2-e[c]/2);break;case yt:l[d]=l[d]+(t[c]/2-e[c]/2);break}}return l}function bt(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=n===void 0?i.placement:n,o=e.strategy,s=o===void 0?i.strategy:o,a=e.boundary,l=a===void 0?zi:a,d=e.rootBoundary,c=d===void 0?ti:d,v=e.elementContext,_=v===void 0?ht:v,u=e.altBoundary,b=u===void 0?!1:u,h=e.padding,p=h===void 0?0:h,y=oi(typeof p!="number"?p:si(p,wt)),E=_===ht?qi:ht,x=i.rects.popper,f=i.elements[b?E:_],g=yn(ot(f)?f:f.contextElement||K(i.elements.popper),l,c,s),m=dt(i.elements.reference),w=li({reference:m,element:x,placement:r}),O=ee(Object.assign({},x,w)),A=_===ht?O:m,L={top:g.top-A.top+y.top,bottom:A.bottom-g.bottom+y.bottom,left:g.left-A.left+y.left,right:A.right-g.right+y.right},C=i.modifiersData.offset;if(_===ht&&C){var M=C[r];Object.keys(L).forEach(function(T){var J=[H,B].indexOf(T)>=0?1:-1,Q=[P,B].indexOf(T)>=0?"y":"x";L[T]+=M[Q]*J})}return L}function bn(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=e.boundary,o=e.rootBoundary,s=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,d=l===void 0?ei:l,c=ut(n),v=c?a?He:He.filter(function(b){return ut(b)===c}):wt,_=v.filter(function(b){return d.indexOf(b)>=0});_.length===0&&(_=v);var u=_.reduce(function(b,h){return b[h]=bt(i,{placement:h,boundary:r,rootBoundary:o,padding:s})[q(h)],b},{});return Object.keys(u).sort(function(b,h){return u[b]-u[h]})}function wn(i){if(q(i)===ce)return[];var t=Bt(i);return[qe(i),t,qe(t)]}function En(i){var t=i.state,e=i.options,n=i.name;if(!t.modifiersData[n]._skip){for(var r=e.mainAxis,o=r===void 0?!0:r,s=e.altAxis,a=s===void 0?!0:s,l=e.fallbackPlacements,d=e.padding,c=e.boundary,v=e.rootBoundary,_=e.altBoundary,u=e.flipVariations,b=u===void 0?!0:u,h=e.allowedAutoPlacements,p=t.options.placement,y=q(p),E=y===p,x=l||(E||!b?[Bt(p)]:wn(p)),f=[p].concat(x).reduce(function(st,N){return st.concat(q(N)===ce?bn(t,{placement:N,boundary:c,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:h}):N)},[]),g=t.rects.reference,m=t.rects.popper,w=new Map,O=!0,A=f[0],L=0;L=0,Q=J?"width":"height",S=bt(t,{placement:C,boundary:c,rootBoundary:v,altBoundary:_,padding:d}),z=J?T?H:D:T?B:P;g[Q]>m[Q]&&(z=Bt(z));var xt=Bt(z),Z=[];if(o&&Z.push(S[M]<=0),a&&Z.push(S[z]<=0,S[xt]<=0),Z.every(function(st){return st})){A=C,O=!1;break}w.set(C,Z)}if(O)for(var kt=b?3:1,Kt=function(N){var pt=f.find(function(At){var tt=w.get(At);if(tt)return tt.slice(0,N).every(function(Jt){return Jt})});if(pt)return A=pt,"break"},ft=kt;ft>0;ft--){var Lt=Kt(ft);if(Lt==="break")break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}const xn={name:"flip",enabled:!0,phase:"main",fn:En,requiresIfExists:["offset"],data:{_skip:!1}};function Ve(i,t,e){return e===void 0&&(e={x:0,y:0}),{top:i.top-t.height-e.y,right:i.right-t.width+e.x,bottom:i.bottom-t.height+e.y,left:i.left-t.width-e.x}}function $e(i){return[P,H,B,D].some(function(t){return i[t]>=0})}function kn(i){var t=i.state,e=i.name,n=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=bt(t,{elementContext:"reference"}),a=bt(t,{altBoundary:!0}),l=Ve(s,n),d=Ve(a,r,o),c=$e(l),v=$e(d);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}const Ln={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:kn};function An(i,t,e){var n=q(i),r=[D,P].indexOf(n)>=0?-1:1,o=typeof e=="function"?e(Object.assign({},t,{placement:i})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[D,H].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}function On(i){var t=i.state,e=i.options,n=i.name,r=e.offset,o=r===void 0?[0,0]:r,s=ei.reduce(function(c,v){return c[v]=An(v,t.rects,o),c},{}),a=s[t.placement],l=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=s}const Cn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:On};function Tn(i){var t=i.state,e=i.name;t.modifiersData[e]=li({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Pn={name:"popperOffsets",enabled:!0,phase:"read",fn:Tn,data:{}};function Dn(i){return i==="x"?"y":"x"}function Sn(i){var t=i.state,e=i.options,n=i.name,r=e.mainAxis,o=r===void 0?!0:r,s=e.altAxis,a=s===void 0?!1:s,l=e.boundary,d=e.rootBoundary,c=e.altBoundary,v=e.padding,_=e.tether,u=_===void 0?!0:_,b=e.tetherOffset,h=b===void 0?0:b,p=bt(t,{boundary:l,rootBoundary:d,padding:v,altBoundary:c}),y=q(t.placement),E=ut(t.placement),x=!E,f=fe(y),g=Dn(f),m=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,A=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,L=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(m){if(o){var T,J=f==="y"?P:D,Q=f==="y"?B:H,S=f==="y"?"height":"width",z=m[f],xt=z+p[J],Z=z-p[Q],kt=u?-O[S]/2:0,Kt=E===lt?w[S]:O[S],ft=E===lt?-O[S]:-w[S],Lt=t.elements.arrow,st=u&&Lt?ue(Lt):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ri(),pt=N[J],At=N[Q],tt=gt(0,w[S],st[S]),Jt=x?w[S]/2-kt-tt-pt-L.mainAxis:Kt-tt-pt-L.mainAxis,vi=x?-w[S]/2+kt+tt+At+L.mainAxis:ft+tt+At+L.mainAxis,Qt=t.elements.arrow&&Et(t.elements.arrow),gi=Qt?f==="y"?Qt.clientTop||0:Qt.clientLeft||0:0,xe=(T=C==null?void 0:C[f])!=null?T:0,mi=z+Jt-xe-gi,_i=z+vi-xe,ke=gt(u?Rt(xt,mi):xt,z,u?rt(Z,_i):Z);m[f]=ke,M[f]=ke-z}if(a){var Le,yi=f==="x"?P:D,bi=f==="x"?B:H,et=m[g],Ot=g==="y"?"height":"width",Ae=et+p[yi],Oe=et-p[bi],Zt=[P,D].indexOf(y)!==-1,Ce=(Le=C==null?void 0:C[g])!=null?Le:0,Te=Zt?Ae:et-w[Ot]-O[Ot]-Ce+L.altAxis,Pe=Zt?et+w[Ot]+O[Ot]-Ce-L.altAxis:Oe,De=u&&Zt?en(Te,et,Pe):gt(u?Te:Ae,et,u?Pe:Oe);m[g]=De,M[g]=De-et}t.modifiersData[n]=M}}const In={name:"preventOverflow",enabled:!0,phase:"main",fn:Sn,requiresIfExists:["offset"]};function jn(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function Bn(i){return i===I(i)||!j(i)?pe(i):jn(i)}function Hn(i){var t=i.getBoundingClientRect(),e=ct(t.width)/i.offsetWidth||1,n=ct(t.height)/i.offsetHeight||1;return e!==1||n!==1}function Mn(i,t,e){e===void 0&&(e=!1);var n=j(t),r=j(t)&&Hn(t),o=K(t),s=dt(i,r,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!e)&&((R(t)!=="body"||ve(o))&&(a=Bn(t)),j(t)?(l=dt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=he(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function zn(i){var t=new Map,e=new Set,n=[];i.forEach(function(o){t.set(o.name,o)});function r(o){e.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&r(l)}}),n.push(o)}return i.forEach(function(o){e.has(o.name)||r(o)}),n}function qn(i){var t=zn(i);return Gi.reduce(function(e,n){return e.concat(t.filter(function(r){return r.phase===n}))},[])}function Rn(i){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(i())})})),t}}function Vn(i){var t=i.reduce(function(e,n){var r=e[n.name];return e[n.name]=r?Object.assign({},r,n,{options:Object.assign({},r.options,n.options),data:Object.assign({},r.data,n.data)}):n,e},{});return Object.keys(t).map(function(e){return t[e]})}var Ne={placement:"bottom",modifiers:[],strategy:"absolute"};function We(){for(var i=arguments.length,t=new Array(i),e=0;e