From 5fcd2dcfe28395810970c2ac524259e7ca5bca54 Mon Sep 17 00:00:00 2001 From: "Pablo E. L. Targino" Date: Sat, 2 Mar 2024 11:25:09 -0300 Subject: [PATCH] Text fixes and changed light background temporaly --- 200.html | 30 +++++++++---------- 404.html | 30 +++++++++---------- _nuxt/ContentDoc.49b49a30.js | 1 + _nuxt/ContentList.4ca3fc71.js | 1 + _nuxt/ContentNavigation.e40dfa19.js | 1 + _nuxt/ContentQuery.b451cd08.js | 1 + _nuxt/ContentRenderer.70b94723.js | 1 + _nuxt/ContentRendererMarkdown.505461da.js | 1 + _nuxt/ContentRendererMarkdown.vue.ac44211b.js | 1 + _nuxt/Icon.241d7e64.js | 1 + _nuxt/IconCSS.9db64ea4.js | 1 + _nuxt/ProseA.33f5dd64.js | 1 + _nuxt/ProseBlockquote.6058647e.js | 1 + _nuxt/ProseCodeInline.0c25bb5f.js | 1 + _nuxt/ProseEm.130fe4d1.js | 1 + _nuxt/ProseH1.20fd64d4.js | 1 + _nuxt/ProseH2.c841546c.js | 1 + _nuxt/ProseH3.37f651bd.js | 1 + _nuxt/ProseH4.bd72d236.js | 1 + _nuxt/ProseH5.f4f32949.js | 1 + _nuxt/ProseH6.50e10a18.js | 1 + _nuxt/ProseHr.89189b7e.js | 1 + _nuxt/ProseImg.91bac4f5.js | 1 + _nuxt/ProseLi.5da4d240.js | 1 + _nuxt/ProseOl.4fec9392.js | 1 + _nuxt/ProseP.ab00b995.js | 1 + _nuxt/ProseStrong.8610d004.js | 1 + _nuxt/ProseTable.502190f4.js | 1 + _nuxt/ProseTbody.9df31f6e.js | 1 + _nuxt/ProseTd.86910897.js | 1 + _nuxt/ProseTh.b8d62c8c.js | 1 + _nuxt/ProseThead.b07ec9b2.js | 1 + _nuxt/ProseTr.3f777600.js | 1 + _nuxt/ProseUl.13184a59.js | 1 + _nuxt/acidentes.cd4f4f82.js | 1 + _nuxt/builds/latest.json | 2 +- .../d8787c7a-db18-48c6-a9f5-7d08cea4d7e3.json | 1 + _nuxt/client-db.ccc17b92.js | 1 + _nuxt/entry.0b593fc5.js | 29 ++++++++++++++++++ _nuxt/error-404.b85e710d.js | 1 + _nuxt/error-500.de61a1fd.js | 1 + _nuxt/i18n.config.018d495b.js | 9 ++++++ _nuxt/index.46187f31.css | 1 + _nuxt/index.6c66b8af.js | 1 + _nuxt/index.c1a03e99.js | 2 ++ _nuxt/index.e590972e.js | 1 + _nuxt/nuxt-icon.b4d9ff56.js | 1 + _nuxt/nuxt-link.3d9cb505.js | 1 + _nuxt/playmytime.6cf34277.js | 1 + _nuxt/preview.cf1a2dd4.js | 1 + _nuxt/query.a51a821d.js | 3 ++ _nuxt/simuladocnh.dcd495b6.js | 1 + _nuxt/vue.f36acd1f.b36361a4.js | 1 + api/_content/cache.1709389199345.json | 1 + index.html | 30 +++++++++---------- 55 files changed, 136 insertions(+), 46 deletions(-) create mode 100644 _nuxt/ContentDoc.49b49a30.js create mode 100644 _nuxt/ContentList.4ca3fc71.js create mode 100644 _nuxt/ContentNavigation.e40dfa19.js create mode 100644 _nuxt/ContentQuery.b451cd08.js create mode 100644 _nuxt/ContentRenderer.70b94723.js create mode 100644 _nuxt/ContentRendererMarkdown.505461da.js create mode 100644 _nuxt/ContentRendererMarkdown.vue.ac44211b.js create mode 100644 _nuxt/Icon.241d7e64.js create mode 100644 _nuxt/IconCSS.9db64ea4.js create mode 100644 _nuxt/ProseA.33f5dd64.js create mode 100644 _nuxt/ProseBlockquote.6058647e.js create mode 100644 _nuxt/ProseCodeInline.0c25bb5f.js create mode 100644 _nuxt/ProseEm.130fe4d1.js create mode 100644 _nuxt/ProseH1.20fd64d4.js create mode 100644 _nuxt/ProseH2.c841546c.js create mode 100644 _nuxt/ProseH3.37f651bd.js create mode 100644 _nuxt/ProseH4.bd72d236.js create mode 100644 _nuxt/ProseH5.f4f32949.js create mode 100644 _nuxt/ProseH6.50e10a18.js create mode 100644 _nuxt/ProseHr.89189b7e.js create mode 100644 _nuxt/ProseImg.91bac4f5.js create mode 100644 _nuxt/ProseLi.5da4d240.js create mode 100644 _nuxt/ProseOl.4fec9392.js create mode 100644 _nuxt/ProseP.ab00b995.js create mode 100644 _nuxt/ProseStrong.8610d004.js create mode 100644 _nuxt/ProseTable.502190f4.js create mode 100644 _nuxt/ProseTbody.9df31f6e.js create mode 100644 _nuxt/ProseTd.86910897.js create mode 100644 _nuxt/ProseTh.b8d62c8c.js create mode 100644 _nuxt/ProseThead.b07ec9b2.js create mode 100644 _nuxt/ProseTr.3f777600.js create mode 100644 _nuxt/ProseUl.13184a59.js create mode 100644 _nuxt/acidentes.cd4f4f82.js create mode 100644 _nuxt/builds/meta/d8787c7a-db18-48c6-a9f5-7d08cea4d7e3.json create mode 100644 _nuxt/client-db.ccc17b92.js create mode 100644 _nuxt/entry.0b593fc5.js create mode 100644 _nuxt/error-404.b85e710d.js create mode 100644 _nuxt/error-500.de61a1fd.js create mode 100644 _nuxt/i18n.config.018d495b.js create mode 100644 _nuxt/index.46187f31.css create mode 100644 _nuxt/index.6c66b8af.js create mode 100644 _nuxt/index.c1a03e99.js create mode 100644 _nuxt/index.e590972e.js create mode 100644 _nuxt/nuxt-icon.b4d9ff56.js create mode 100644 _nuxt/nuxt-link.3d9cb505.js create mode 100644 _nuxt/playmytime.6cf34277.js create mode 100644 _nuxt/preview.cf1a2dd4.js create mode 100644 _nuxt/query.a51a821d.js create mode 100644 _nuxt/simuladocnh.dcd495b6.js create mode 100644 _nuxt/vue.f36acd1f.b36361a4.js create mode 100644 api/_content/cache.1709389199345.json diff --git a/200.html b/200.html index aa84b9a..b10cdbe 100644 --- a/200.html +++ b/200.html @@ -4,27 +4,27 @@ - + - + - - + + - - + + - - - + + + - - - + + + - -
- + \ No newline at end of file diff --git a/404.html b/404.html index aa84b9a..b10cdbe 100644 --- a/404.html +++ b/404.html @@ -4,27 +4,27 @@ - + - + - - + + - - + + - - - + + + - - - + + + - -
- + \ No newline at end of file diff --git a/_nuxt/ContentDoc.49b49a30.js b/_nuxt/ContentDoc.49b49a30.js new file mode 100644 index 0000000..ae35e87 --- /dev/null +++ b/_nuxt/ContentDoc.49b49a30.js @@ -0,0 +1 @@ +import{e as y,b as g,w as v}from"./entry.0b593fc5.js";import{u as D}from"./vue.f36acd1f.b36361a4.js";import{u as d,w as H,n as b,d as S,a5 as _,f as u}from"./swiper-vue.7361a076.js";import q from"./ContentRenderer.70b94723.js";import x from"./ContentQuery.b451cd08.js";import"./ContentRendererMarkdown.vue.ac44211b.js";import"./index.b0fe9fac.js";import"./preview.cf1a2dd4.js";import"./query.a51a821d.js";const a=(p,s=y())=>{const e=d(p),f=g();H(()=>d(p),(n=e)=>{if(!s.path||!n)return;const t=Object.assign({},(n==null?void 0:n.head)||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const r=t.title||(n==null?void 0:n.title);r&&(t.title=r),f.public.content.host;const c=(t==null?void 0:t.description)||(n==null?void 0:n.description);c&&t.meta.filter(l=>l.name==="description").length===0&&t.meta.push({name:"description",content:c}),t!=null&&t.image||(n==null||n.image),b(()=>D(t))},{immediate:!0})},$=S({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(p){const{contentHead:s}=g().public.content,e=_(),{tag:f,excerpt:m,path:n,query:t,head:r}=p,c=r===void 0?s:r,l={...t||{},path:n||(t==null?void 0:t.path)||v(y().path),find:"one"},w=(o,i)=>u("pre",null,JSON.stringify({message:"You should use slots with ",slot:o,data:i},null,2));return u(x,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:C})=>{var h;return c&&a(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:C,excerpt:m,...this.$attrs})}:({data:o})=>(c&&a(o),u(q,{value:o,excerpt:m,tag:f,...this.$attrs},{empty:i=>e!=null&&e.empty?e.empty(i):w("default",o)})),empty:o=>{var i;return((i=e==null?void 0:e.empty)==null?void 0:i.call(e,o))||u("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":o=>{var i;return((i=e==null?void 0:e["not-found"])==null?void 0:i.call(e,o))||u("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),P=$;export{P as default}; diff --git a/_nuxt/ContentList.4ca3fc71.js b/_nuxt/ContentList.4ca3fc71.js new file mode 100644 index 0000000..410146a --- /dev/null +++ b/_nuxt/ContentList.4ca3fc71.js @@ -0,0 +1 @@ +import n from"./ContentQuery.b451cd08.js";import{d as c,a5 as l,f}from"./swiper-vue.7361a076.js";import"./query.a51a821d.js";import"./entry.0b593fc5.js";import"./preview.cf1a2dd4.js";const u=(r,t)=>f("pre",null,JSON.stringify({message:"You should use slots with ",slot:r,data:t},null,2)),h=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(r){const t=l(),{path:p,query:a}=r,m={...a||{},path:p||(a==null?void 0:a.path)||"/"};return f(n,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:d})=>t.default({list:e,refresh:o,isPartial:d,...this.$attrs}):e=>u("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):u("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):u("not-found",e==null?void 0:e.data)}})}}),S=h;export{S as default}; diff --git a/_nuxt/ContentNavigation.e40dfa19.js b/_nuxt/ContentNavigation.e40dfa19.js new file mode 100644 index 0000000..7241962 --- /dev/null +++ b/_nuxt/ContentNavigation.e40dfa19.js @@ -0,0 +1 @@ +import{q as f,w as m,h as p,e as v,s as g,j as d,a as l,u as h}from"./query.a51a821d.js";import{b as _,a as y,u as C}from"./entry.0b593fc5.js";import{u as w}from"./preview.cf1a2dd4.js";import{_ as P}from"./nuxt-link.3d9cb505.js";import{d as $,aa as N,c as j,a5 as T,f as r}from"./swiper-vue.7361a076.js";const D=async e=>{const{content:t}=_().public;typeof(e==null?void 0:e.params)!="function"&&(e=f(e));const a=e.params(),s=t.experimental.stripQueryParameters?m(`/navigation/${`${p(a)}.${t.integrity}`}/${v(a)}.json`):m(`/navigation/${p(a)}.${t.integrity}.json`);if(g())return(await y(()=>import("./client-db.ccc17b92.js"),["./client-db.ccc17b92.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./query.a51a821d.js","./preview.cf1a2dd4.js","./index.b0fe9fac.js"],import.meta.url).then(o=>o.generateNavigation))(a);const n=await $fetch(s,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:d(a),previewToken:w().getPreviewToken()}});if(typeof n=="string"&&n.startsWith(""))throw new Error("Not found");return n},E=$({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(e){const{query:t}=N(e),a=j(()=>{var n;return typeof((n=t.value)==null?void 0:n.params)=="function"?t.value.params():t.value});if(!a.value&&C("dd-navigation").value){const{navigation:n}=l();return{navigation:n}}const{data:s}=await h(`content-navigation-${p(a.value)}`,()=>D(a.value));return{navigation:s}},render(e){const t=T(),{navigation:a}=e,s=o=>r(P,{to:o._path},()=>o.title),n=(o,u)=>r("ul",u?{"data-level":u}:null,o.map(i=>i.children?r("li",null,[s(i),n(i.children,u+1)]):r("li",null,s(i)))),c=o=>n(o,0);return t!=null&&t.default?t.default({navigation:a,...this.$attrs}):c(a)}}),R=E;export{R as default}; diff --git a/_nuxt/ContentQuery.b451cd08.js b/_nuxt/ContentQuery.b451cd08.js new file mode 100644 index 0000000..8ecb39a --- /dev/null +++ b/_nuxt/ContentQuery.b451cd08.js @@ -0,0 +1 @@ +import{u as g,h as b,q as m}from"./query.a51a821d.js";import{b as C}from"./entry.0b593fc5.js";import{d as S,aa as _,c as k,w as A,a5 as N,f as O}from"./swiper-vue.7361a076.js";import"./preview.cf1a2dd4.js";const Q=S({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:o,where:u,sort:f,limit:l,skip:d,locale:s,find:p}=_(a),y=k(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),h=!C().public.content.experimental.advanceQuery;A(()=>a,()=>n(),{deep:!0});const i=e=>h?e!=null&&e.surround?e.surround:e!=null&&e._id||Array.isArray(e)?e:e==null?void 0:e.result:e.result,{data:v,refresh:n}=await g(`content-query-${b(a)}`,()=>{let e;return t.value?e=m(t.value):e=m(),r.value&&(e=e.only(r.value)),o.value&&(e=e.without(o.value)),u.value&&(e=e.where(u.value)),f.value&&(e=e.sort(f.value)),l.value&&(e=e.limit(l.value)),d.value&&(e=e.skip(d.value)),s.value&&(e=e.where({_locale:s.value})),p.value==="one"?e.findOne().then(i):p.value==="surround"?t.value?h?e.findSurround(t.value):e.withSurround(t.value).findOne().then(i):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find().then(i)):e.find().then(i)});return{isPartial:y,data:v,refresh:n}},render(a){var c;const t=N(),{data:r,refresh:o,isPartial:u,path:f,only:l,without:d,where:s,sort:p,limit:y,skip:h,locale:i,find:v}=a,n={path:f,only:l,without:d,where:s,sort:p,limit:y,skip:h,locale:i,find:v};if(n.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:n,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((c=r==null?void 0:r.body)!=null&&c.children.length))return t.empty({props:n,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:n,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:o,isPartial:u,props:n,...this.$attrs}):((w,q)=>O("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),P=Q;export{P as default}; diff --git a/_nuxt/ContentRenderer.70b94723.js b/_nuxt/ContentRenderer.70b94723.js new file mode 100644 index 0000000..fd4326d --- /dev/null +++ b/_nuxt/ContentRenderer.70b94723.js @@ -0,0 +1 @@ +import{_ as c}from"./ContentRendererMarkdown.vue.ac44211b.js";import{d as l,w as s,a5 as d,f as o}from"./swiper-vue.7361a076.js";import"./entry.0b593fc5.js";import"./index.b0fe9fac.js";import"./preview.cf1a2dd4.js";const _=l({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,a,i;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(a=t==null?void 0:t.value)==null?void 0:a._path}.${(i=t==null?void 0:t.value)==null?void 0:i._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var u,f;const n=d(),{value:e,excerpt:a,tag:i}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((u=r==null?void 0:r.children)!=null&&u.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:i,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:i,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((f=r==null?void 0:r.children)!=null&&f.length)?o(c,{value:e,excerpt:a,tag:i,...this.$attrs}):o("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:i},null,2))}});export{_ as default}; diff --git a/_nuxt/ContentRendererMarkdown.505461da.js b/_nuxt/ContentRendererMarkdown.505461da.js new file mode 100644 index 0000000..03be1a9 --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.505461da.js @@ -0,0 +1 @@ +import{_ as o}from"./ContentRendererMarkdown.vue.ac44211b.js";import"./entry.0b593fc5.js";import"./swiper-vue.7361a076.js";import"./index.b0fe9fac.js";import"./preview.cf1a2dd4.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.ac44211b.js b/_nuxt/ContentRendererMarkdown.vue.ac44211b.js new file mode 100644 index 0000000..531049e --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.vue.ac44211b.js @@ -0,0 +1 @@ +import{b as J,e as G,n as Q}from"./entry.0b593fc5.js";import{p as z,k as nn}from"./index.b0fe9fac.js";import{d as I,ac as ln,c as x,f as E,ad as en,T as w,B as on,D as tn,u as rn}from"./swiper-vue.7361a076.js";import{u as an}from"./preview.cf1a2dd4.js";class S{constructor(l,o,t){this.property=l,this.normal=o,t&&(this.space=t)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function j(n,l){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&dn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(U,fn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!U.test(a)){let i=a.replace(gn,mn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}r=R}return new r(t,l)}function mn(n){return"-"+n.toLowerCase()}function fn(n){return n.charAt(1).toUpperCase()}const yn=j([H,F,q,W,cn],"html");j([H,F,q,W,pn],"svg");const T=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],M="default",K=/^@|^v-on:/,X=/^:|^v-bind:/,Y=/^v-model/,vn=["select","textarea","input"],bn=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),kn=I({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var r,a;const{mdc:l}=J().public,o={...l.components.prose&&n.prose!==!1?bn:{},...l.components.map,...ln(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=x(()=>{var s;const i=(((s=n.body)==null?void 0:s.children)||[]).map(c=>c.tag||c.type).filter(c=>!T.includes(c));return Array.from(new Set(i)).sort().join(".")});return await Tn(n.body,{tags:o}),{tags:o,contentKey:t}},render(n){var h,y,d;const{tags:l,tag:o,body:t,data:r,contentKey:a}=n;if(!t)return null;const i={...r,tags:l},s=o!==!1?A(o||((h=i.component)==null?void 0:h.name)||i.component||"div"):void 0,c=$(t,E,i,i);return s?E(s,{...(y=i.component)==null?void 0:y.props,...this.$attrs,key:a},c):(d=c.default)==null?void 0:d.call(c)}});function Cn(n,l,o,t={}){if(n.type==="text")return l(w,n.value);const r=n.tag,a=Z(n,o.tags);if(n.tag==="binding")return Sn(n,l,o,t);const i=A(a);typeof i=="object"&&(i.tag=r);const s=xn(n,o);return l(i,s,$(n,l,o,{...t,...s}))}function Sn(n,l,o,t={}){var h,y;const r={...t,$route:()=>G(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((h=n.props)==null?void 0:h.value.trim().split(a).filter(Boolean)).reduce((d,b)=>b in d?typeof d[b]=="function"?d[b]():d[b]:{},r),c=(y=n.props)==null?void 0:y.defaultValue;return l(w,s??c??"")}function $(n,l,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!Mn(c))return s[M].push(c),s;const h=Ln(c);return s[h]=s[h]||[],c.type==="element"&&s[h].push(...c.children||[]),s},{[M]:[]});return Object.entries(a).reduce((s,[c,h])=>(h.length&&(s[c]=()=>{const y=h.map(d=>Cn(d,l,o,t));return Rn(y)}),s),{})}function xn(n,l){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=t[a];if(Y.test(a)&&!vn.includes(o))return wn(a,i,r,l);if(a==="v-bind")return Pn(a,i,r,l);if(K.test(a))return On(a,i,r,l);if(X.test(a))return Dn(a,i,r,l);const{attribute:s}=hn(yn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function wn(n,l,o,t){const r=d=>+d,a=d=>d.trim(),i=d=>d,s=n.replace(Y,"").split(".").filter(d=>d).reduce((d,b)=>(d[b]=!0,d),{}),c="value",h=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=P(l,t),o.on=o.on||{},o.on[h]=d=>t[l]=y(d),o}function Pn(n,l,o,t){const r=P(l,t);return o=Object.assign(o,r),o}function On(n,l,o,t){return n=n.replace(K,""),o.on=o.on||{},o.on[n]=()=>P(l,t),o}function Dn(n,l,o,t){return n=n.replace(X,""),o[n]=P(l,t),o}const A=n=>{if(!T.includes(n)&&!(n!=null&&n.render)){const l=en(z(n),!1);if(typeof l=="object")return l}return n};function P(n,l){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,l);return typeof o>"u"?Q(n):o}function Ln(n){let l="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){l=o.split(/[:#]/,2)[1];break}return l||M}function Mn(n){return n.tag==="template"}function Rn(n){const l=[];for(const o of n){const t=l[l.length-1];o.type===w&&(t==null?void 0:t.type)===w?t.children=t.children+o.children:l.push(o)}return l}async function Tn(n,l){if(!n)return;const o=Array.from(new Set(t(n,l)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender||r!=null&&r.__ssrInlineRender)return;const a=A(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=Z(r,a.tags),c=[];r.type!=="root"&&!T.includes(s)&&c.push(s);for(const h of r.children||[])c.push(...t(h,a));return c}}function Z(n,l){var t;const o=n.tag;return!o||typeof((t=n.props)==null?void 0:t.__ignoreMap)<"u"?o:l[o]||l[z(o)]||l[nn(n.tag)]||o}const zn=I({__name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})}},setup(n){const l=n,o=an().isEnabled(),t=x(()=>{let i=l.value.body||l.value;return l.excerpt&&l.value.excerpt&&(i=l.value.excerpt),i}),r=x(()=>{const{body:i,excerpt:s,...c}=l.value;return{...c,...l.data}}),a=x(()=>({...l.components,...r.value._components||{}}));return(i,s)=>{const c=kn;return on(),tn(c,{body:t.value,data:r.value,tag:n.tag,components:a.value,"data-content-id":rn(o)?n.value._id:void 0},null,8,["body","data","tag","components","data-content-id"])}}});export{zn as _}; diff --git a/_nuxt/Icon.241d7e64.js b/_nuxt/Icon.241d7e64.js new file mode 100644 index 0000000..58a9844 --- /dev/null +++ b/_nuxt/Icon.241d7e64.js @@ -0,0 +1 @@ +import{B as Qe,u as Ke,g as Ge,_ as Je}from"./entry.0b593fc5.js";import{d as Oe,f as ce,w as le,a as We,c as S,V as Xe,B as _,C as ae,_ as M,ae as ue,D as fe,u as Ye,J as Ze,U as et,P as tt,O as nt}from"./swiper-vue.7361a076.js";import{r as ot}from"./index.b8fe2cb5.js";const Ae=Object.freeze({left:0,top:0,width:16,height:16}),Pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Z=Object.freeze({...Ae,...Pe});Object.freeze({...Z,body:"",hidden:!1});({...Ae});const Fe=Object.freeze({width:null,height:null}),Ee=Object.freeze({...Fe,...Pe});function rt(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Fe?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const st=/[\s,]+/;function it(e,t){t.split(st).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ct(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const lt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,at=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function de(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(lt);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=at.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const ut=e=>e==="unset"||e==="undefined"||e==="none";function ft(e,t){const n={...Z,...e},r={...Ee,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const p=[],u=b.hFlip,w=b.vFlip;let y=b.rotate;u?w?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):w&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}y%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(s=''+s+"")});const i=r.width,c=r.height,l=o.width,a=o.height;let f,d;i===null?(d=c===null?"1em":c==="auto"?a:c,f=de(d,l/a)):(f=i==="auto"?l:i,d=c===null?de(f,a/l):c==="auto"?a:c);const h={},m=(b,p)=>{ut(p)||(h[b]=p.toString())};return m("width",f),m("height",d),h.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+a.toString(),{attributes:h,body:s}}const dt=/\sid="(\S+)"/g,pt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ht=0;function gt(e,t=pt){const n=[];let r;for(;r=dt.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(ht++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function mt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function yt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vt(e){return"data:image/svg+xml,"+yt(e)}function bt(e){return'url("'+vt(e)+'")'}const pe={...Ee,inline:!1},wt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xt={display:"inline-block"},H={backgroundColor:"currentColor"},_e={backgroundColor:"transparent"},he={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ge={webkitMask:H,mask:H,background:_e};for(const e in ge){const t=ge[e];for(const n in he)t[e+n]=he[n]}const L={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";L[e+"-flip"]=t,L[e.slice(0,1)+"-flip"]=t,L[e+"Flip"]=t});function me(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const It=(e,t)=>{const n=rt(pe,t),r={...wt},o=t.mode||"svg",s={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const u=t[p];if(u!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=u===!0||u==="true"||u===1;break;case"flip":typeof u=="string"&&it(n,u);break;case"color":s.color=u;break;case"rotate":typeof u=="string"?n[p]=ct(u):typeof u=="number"&&(n[p]=u);break;case"ariaHidden":case"aria-hidden":u!==!0&&u!=="true"&&delete r["aria-hidden"];break;default:{const w=L[p];w?(u===!0||u==="true"||u===1)&&(n[w]=!0):pe[p]===void 0&&(r[p]=u)}}}const l=ft(e,n),a=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...c},Object.assign(r,a);let p=0,u=t.id;return typeof u=="string"&&(u=u.replace(/-/g,"_")),r.innerHTML=gt(l.body,u?()=>u+"ID"+p++:"iconifyVue"),ce("svg",r)}const{body:f,width:d,height:h}=e,m=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),b=mt(f,{...a,width:d+"",height:h+""});return r.style={...s,"--svg":bt(b),width:me(a.width),height:me(a.height),...xt,...m?H:_e,...c},ce("span",r)},St=Object.create(null),Ct=Oe({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?St[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:It({...Z,...n},e)}}),O=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),l=o.pop(),a={provider:o.length>0?o[0]:r,prefix:l,name:c};return t&&!N(a)?null:a}const s=o[0],i=s.split("-");if(i.length>1){const c={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((e.provider===""||e.provider.match(O))&&(t&&e.prefix===""||e.prefix.match(O))&&e.name.match(O)):!1,Me=Object.freeze({left:0,top:0,width:16,height:16}),D=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ee=Object.freeze({...Me,...D}),Q=Object.freeze({...ee,body:"",hidden:!1});function kt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ye(e,t){const n=kt(e,t);for(const r in Q)r in D?r in e&&!(r in n)&&(n[r]=D[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function jt(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=r[i]&&r[i].parent,l=c&&s(c);l&&(o[i]=[c].concat(l))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Tt(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(c){s=ye(r[c]||o[c],s)}return i(t),n.forEach(i),ye(e,s)}function ze(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=jt(e);for(const o in r){const s=r[o];s&&(t(o,Tt(e,o,s)),n.push(o))}return n}const Ot={provider:"",aliases:{},not_found:{},...Me};function U(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Le(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!U(e,Ot))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(O)||typeof s.body!="string"||!U(s,Q))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(O)||typeof i!="string"||!n[i]&&!r[i]||!U(s,Q))return null}return t}const ve=Object.create(null);function At(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function C(e,t){const n=ve[e]||(ve[e]=Object.create(null));return n[t]||(n[t]=At(e,t))}function te(e,t){return Le(t)?ze(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Pt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let A=!1;function Ne(e){return typeof e=="boolean"&&(A=e),A}function Ft(e){const t=typeof e=="string"?R(e,!0,A):e;if(t){const n=C(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Et(e,t){const n=R(e,!0,A);if(!n)return!1;const r=C(n.provider,n.prefix);return Pt(r,n.name,t)}function _t(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),A&&!t&&!e.prefix){let o=!1;return Le(e)&&(e.prefix="",ze(e,(s,i)=>{i&&Et(s,i)&&(o=!0)})),o}const n=e.prefix;if(!N({provider:t,prefix:n,name:"a"}))return!1;const r=C(t,n);return!!te(r,e)}const Mt=Object.freeze({width:null,height:null}),zt=Object.freeze({...Mt,...D});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const K=Object.create(null);function Lt(e,t){K[e]=t}function G(e){return K[e]||K[""]}function ne(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const oe=Object.create(null),T=["https://api.simplesvg.com","https://api.unisvg.com"],$=[];for(;T.length>0;)T.length===1||Math.random()>.5?$.push(T.shift()):$.push(T.pop());oe[""]=ne({resources:["https://api.iconify.design"].concat($)});function J(e,t){const n=ne(t);return n===null?!1:(oe[e]=n,!0)}function re(e){return oe[e]}const Nt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let be=Nt();function $t(e,t){const n=re(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Dt(e){return e===404}const Rt=(e,t,n)=>{const r=[],o=$t(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((l,a)=>{c+=l.length+1,c>=o&&a>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=l.length),i.icons.push(l)}),r.push(i),r};function Bt(e){if(typeof e=="string"){const t=re(e);if(t)return t.path}return"/"}const Ut=(e,t,n)=>{if(!be){n("abort",424);return}let r=Bt(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),l=new URLSearchParams({icons:c});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;be(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Dt(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},Vt={prepare:Rt,send:Ut};function qt(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,c=o.name,l=n[s]||(n[s]=Object.create(null)),a=l[i]||(l[i]=C(s,i));let f;c in a.icons?f=t.loaded:i===""||a.missing.has(c)?f=t.missing:f=t.pending;const d={provider:s,prefix:i,name:c};f.push(d)}),t}function $e(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Ht(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const a=l.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:r,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||$e([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Qt=0;function Kt(e,t,n){const r=Qt++,o=$e.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function Gt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?R(o,t,n):o;s&&r.push(s)}),r}var Jt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Wt(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let g=e.resources.slice(0);for(i=[];g.length>1;){const x=Math.floor(Math.random()*g.length);i.push(g[x]),g=g.slice(0,x).concat(g.slice(x+1))}i=i.concat(g)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let l="pending",a=0,f,d=null,h=[],m=[];typeof r=="function"&&m.push(r);function b(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),b(),h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function u(g,x){x&&(m=[]),typeof g=="function"&&m.push(g)}function w(){return{startTime:c,payload:t,status:l,queriesSent:a,queriesPending:h.length,subscribe:u,abort:p}}function y(){l="failed",m.forEach(g=>{g(void 0,f)})}function v(){h.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),h=[]}function F(g,x,j){const E=x!=="success";switch(h=h.filter(I=>I!==g),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){f=j,y();return}if(E){f=j,h.length||(i.length?k():y());return}if(b(),v(),!e.random){const I=e.resources.indexOf(g.resource);I!==-1&&I!==e.index&&(e.index=I)}l="completed",m.forEach(I=>{I(j)})}function k(){if(l!=="pending")return;b();const g=i.shift();if(g===void 0){if(h.length){d=setTimeout(()=>{b(),l==="pending"&&(v(),y())},e.timeout);return}y();return}const x={status:"pending",resource:g,callback:(j,E)=>{F(x,j,E)}};h.push(x),a++,d=setTimeout(k,e.rotate),n(g,t,x.callback)}return setTimeout(k),w}function De(e){const t={...Jt,...e};let n=[];function r(){n=n.filter(c=>c().status==="pending")}function o(c,l,a){const f=Wt(t,c,l,(d,h)=>{r(),a&&a(d,h)});return n.push(f),f}function s(c){return n.find(l=>c(l))||null}return{query:o,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:r}}function we(){}const V=Object.create(null);function Xt(e){if(!V[e]){const t=re(e);if(!t)return;const n=De(t),r={config:t,redundancy:n};V[e]=r}return V[e]}function Yt(e,t,n){let r,o;if(typeof e=="string"){const s=G(e);if(!s)return n(void 0,424),we;o=s.send;const i=Xt(e);i&&(r=i.redundancy)}else{const s=ne(e);if(s){r=De(s);const i=e.resources?e.resources[0]:"",c=G(i);c&&(o=c.send)}}return!r||!o?(n(void 0,424),we):r.query(t,o,n)().abort}const xe="iconify2",P="iconify",Re=P+"-count",Ie=P+"-version",Be=36e5,Zt=168;function W(e,t){try{return e.getItem(t)}catch{}}function se(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Se(e,t){try{e.removeItem(t)}catch{}}function X(e,t){return se(e,Re,t.toString())}function Y(e){return parseInt(W(e,Re))||0}const B={local:!0,session:!0},Ue={local:new Set,session:new Set};let ie=!1;function en(e){ie=e}let z=typeof window>"u"?{}:window;function Ve(e){const t=e+"Storage";try{if(z&&z[t]&&typeof z[t].length=="number")return z[t]}catch{}B[e]=!1}function qe(e,t){const n=Ve(e);if(!n)return;const r=W(n,Ie);if(r!==xe){if(r){const c=Y(n);for(let l=0;l{const l=P+c.toString(),a=W(n,l);if(typeof a=="string"){try{const f=JSON.parse(a);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,c))return!0}catch{}Se(n,l)}};let i=Y(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,X(n,i)):Ue[e].add(c))}function He(){if(!ie){en(!0);for(const e in B)qe(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=C(r,o);if(!te(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function tn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in B)qe(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function nn(e,t){ie||He();function n(r){let o;if(!B[r]||!(o=Ve(r)))return;const s=Ue[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Y(o),!X(o,i+1))return;const c={cached:Math.floor(Date.now()/Be),provider:e.provider,data:t};return se(o,P+i.toString(),JSON.stringify(c))}t.lastModified&&!tn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ce(){}function on(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Ht(e)}))}function rn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=G(n)))return;s.prepare(n,r,o).forEach(c=>{Yt(n,c,l=>{if(typeof l!="object")c.icons.forEach(a=>{e.missing.add(a)});else try{const a=te(e,l);if(!a.length)return;const f=e.pendingIcons;f&&a.forEach(d=>{f.delete(d)}),nn(e,l)}catch(a){console.error(a)}on(e)})})}))}const sn=(e,t)=>{const n=Gt(e,!0,Ne()),r=qt(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ce)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,c;return r.pending.forEach(l=>{const{provider:a,prefix:f}=l;if(f===c&&a===i)return;i=a,c=f,s.push(C(a,f));const d=o[a]||(o[a]=Object.create(null));d[f]||(d[f]=[])}),r.pending.forEach(l=>{const{provider:a,prefix:f,name:d}=l,h=C(a,f),m=h.pendingIcons||(h.pendingIcons=new Set);m.has(d)||(m.add(d),o[a][f].push(d))}),s.forEach(l=>{const{provider:a,prefix:f}=l;o[a][f].length&&rn(l,o[a][f])}),t?Kt(t,r,s):Ce},cn=e=>new Promise((t,n)=>{const r=typeof e=="string"?R(e,!0):e;if(!r){n(e);return}sn([r||e],o=>{if(o.length&&r){const s=Ft(r);if(s){t({...ee,...s});return}}n(e)})});({...zt});const ke={backgroundColor:"currentColor"},ln={backgroundColor:"transparent"},je={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Te={webkitMask:ke,mask:ke,background:ln};for(const e in Te){const t=Te[e];for(const n in je)t[e+n]=je[n]}const q={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";q[e+"-flip"]=t,q[e.slice(0,1)+"-flip"]=t,q[e+"Flip"]=t});Ne(!0);Lt("",Vt);if(typeof document<"u"&&typeof window<"u"){He();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!_t(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;J(n,o)||console.error(r)}catch{console.error(r)}}}}({...ee});const an=Oe({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ge(),o=Qe(),s=e;le(()=>{var u;return(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions},()=>{var u,w,y,v,F,k;if((w=(u=o.nuxtIcon)==null?void 0:u.iconifyApiOptions)!=null&&w.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((v=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&v.publicApiFallback){J("custom",{resources:[(F=o.nuxtIcon)==null?void 0:F.iconifyApiOptions.url],index:0});return}J("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const i=Ke("icons",()=>({})),c=We(!1),l=S(()=>{var u,w;return(w=(u=o.nuxtIcon)==null?void 0:u.aliases)!=null&&w[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),a=S(()=>ot(l.value)),f=S(()=>[a.value.provider,a.value.prefix,a.value.name].filter(Boolean).join(":")),d=S(()=>{var u;return(u=i.value)==null?void 0:u[f.value]}),h=S(()=>r.vueApp.component(l.value)),m=S(()=>{var w,y,v;if(!s.size&&typeof((w=o.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const u=s.size||((v=o.nuxtIcon)==null?void 0:v.size)||"1em";return String(Number(u))===u?`${u}px`:u}),b=S(()=>{var u;return((u=o==null?void 0:o.nuxtIcon)==null?void 0:u.class)??"icon"});async function p(){var u;h.value||(u=i.value)!=null&&u[f.value]||(c.value=!0,i.value[f.value]=await cn(a.value).catch(()=>{}),c.value=!1)}return le(l,p),!h.value&&([t,n]=Xe(()=>p()),t=await t,n()),(u,w)=>c.value?(_(),ae("span",{key:0,class:M(b.value),style:ue({width:m.value,height:m.value})},null,6)):d.value?(_(),fe(Ye(Ct),{key:1,icon:d.value,class:M(b.value),width:m.value,height:m.value},null,8,["icon","class","width","height"])):h.value?(_(),fe(Ze(h.value),{key:2,class:M(b.value),width:m.value,height:m.value},null,8,["class","width","height"])):(_(),ae("span",{key:3,class:M(b.value),style:ue({fontSize:m.value,lineHeight:m.value,width:m.value,height:m.value})},[et(u.$slots,"default",{},()=>[tt(nt(e.name),1)],!0)],6))}});const pn=Je(an,[["__scopeId","data-v-bd832875"]]);export{pn as default}; diff --git a/_nuxt/IconCSS.9db64ea4.js b/_nuxt/IconCSS.9db64ea4.js new file mode 100644 index 0000000..734519d --- /dev/null +++ b/_nuxt/IconCSS.9db64ea4.js @@ -0,0 +1 @@ +import{B as m,_ as f}from"./entry.0b593fc5.js";import{d as _,af as d,c as r,B as I,C as v,ae as x}from"./swiper-vue.7361a076.js";import{r as S}from"./index.b8fe2cb5.js";const y=_({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){d(e=>({efdb04fa:p.value}));const t=m(),o=u,l=r(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[o.name]?t.nuxtIcon.aliases[o.name]:o.name}),c=r(()=>S(l.value)),p=r(()=>{var s,a;const e=(a=(s=t.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${c.value.prefix}/${c.value.name}.svg')`}),i=r(()=>{var n,s,a;if(!o.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((s=t.nuxtIcon)!=null&&s.size))return;const e=o.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(I(),v("span",{style:x({width:i.value,height:i.value})},null,4))}});const U=f(y,[["__scopeId","data-v-41e8d397"]]);export{U as default}; diff --git a/_nuxt/ProseA.33f5dd64.js b/_nuxt/ProseA.33f5dd64.js new file mode 100644 index 0000000..e420bd1 --- /dev/null +++ b/_nuxt/ProseA.33f5dd64.js @@ -0,0 +1 @@ +import{_ as a}from"./nuxt-link.3d9cb505.js";import{d as o,B as n,D as s,I as f,U as i}from"./swiper-vue.7361a076.js";import"./entry.0b593fc5.js";const d=o({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(t){return(e,p)=>{const r=a;return n(),s(r,{href:t.href,target:t.target},{default:f(()=>[i(e.$slots,"default")]),_:3},8,["href","target"])}}});export{d as default}; diff --git a/_nuxt/ProseBlockquote.6058647e.js b/_nuxt/ProseBlockquote.6058647e.js new file mode 100644 index 0000000..079d84f --- /dev/null +++ b/_nuxt/ProseBlockquote.6058647e.js @@ -0,0 +1 @@ +import{_ as o}from"./entry.0b593fc5.js";import{B as r,C as t,U as c}from"./swiper-vue.7361a076.js";const s={};function n(e,l){return r(),t("blockquote",null,[c(e.$slots,"default")])}const _=o(s,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseCodeInline.0c25bb5f.js b/_nuxt/ProseCodeInline.0c25bb5f.js new file mode 100644 index 0000000..f28b64e --- /dev/null +++ b/_nuxt/ProseCodeInline.0c25bb5f.js @@ -0,0 +1 @@ +import{_ as o}from"./entry.0b593fc5.js";import{B as r,C as n,U as t}from"./swiper-vue.7361a076.js";const s={};function c(e,a){return r(),n("code",null,[t(e.$slots,"default")])}const _=o(s,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseEm.130fe4d1.js b/_nuxt/ProseEm.130fe4d1.js new file mode 100644 index 0000000..f0acaf1 --- /dev/null +++ b/_nuxt/ProseEm.130fe4d1.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("em",null,[s(e.$slots,"default")])}const m=r(n,[["render",c]]);export{m as default}; diff --git a/_nuxt/ProseH1.20fd64d4.js b/_nuxt/ProseH1.20fd64d4.js new file mode 100644 index 0000000..c1c380f --- /dev/null +++ b/_nuxt/ProseH1.20fd64d4.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],k=c({__name:"ProseH1",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h1)});return(e,l)=>(s(),t("h1",{id:e.id},[u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{k as default}; diff --git a/_nuxt/ProseH2.c841546c.js b/_nuxt/ProseH2.c841546c.js new file mode 100644 index 0000000..386154f --- /dev/null +++ b/_nuxt/ProseH2.c841546c.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],_=c({__name:"ProseH2",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h2)});return(e,l)=>(s(),t("h2",{id:e.id},[e.id&&u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH3.37f651bd.js b/_nuxt/ProseH3.37f651bd.js new file mode 100644 index 0000000..fe38ec1 --- /dev/null +++ b/_nuxt/ProseH3.37f651bd.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],_=c({__name:"ProseH3",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h3)});return(e,l)=>(s(),t("h3",{id:e.id},[e.id&&u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH4.bd72d236.js b/_nuxt/ProseH4.bd72d236.js new file mode 100644 index 0000000..f20e576 --- /dev/null +++ b/_nuxt/ProseH4.bd72d236.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],_=c({__name:"ProseH4",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h4)});return(e,l)=>(s(),t("h4",{id:e.id},[e.id&&u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH5.f4f32949.js b/_nuxt/ProseH5.f4f32949.js new file mode 100644 index 0000000..2641c08 --- /dev/null +++ b/_nuxt/ProseH5.f4f32949.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],_=c({__name:"ProseH5",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h5)});return(e,l)=>(s(),t("h5",{id:e.id},[e.id&&u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseH6.50e10a18.js b/_nuxt/ProseH6.50e10a18.js new file mode 100644 index 0000000..a06790b --- /dev/null +++ b/_nuxt/ProseH6.50e10a18.js @@ -0,0 +1 @@ +import{b as i}from"./entry.0b593fc5.js";import{d as c,c as p,B as s,C as t,u,U as n}from"./swiper-vue.7361a076.js";const f=["id"],m=["href"],_=c({__name:"ProseH6",props:{id:{}},setup(r){const a=r,{headings:o}=i().public.mdc,d=p(()=>{var e;return a.id&&((e=o==null?void 0:o.anchorLinks)==null?void 0:e.h6)});return(e,l)=>(s(),t("h6",{id:e.id},[e.id&&u(d)?(s(),t("a",{key:0,href:`#${e.id}`},[n(e.$slots,"default")],8,m)):n(e.$slots,"default",{key:1})],8,f))}});export{_ as default}; diff --git a/_nuxt/ProseHr.89189b7e.js b/_nuxt/ProseHr.89189b7e.js new file mode 100644 index 0000000..8f398ae --- /dev/null +++ b/_nuxt/ProseHr.89189b7e.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as e,C as o}from"./swiper-vue.7361a076.js";const c={};function t(n,s){return e(),o("hr")}const f=r(c,[["render",t]]);export{f as default}; diff --git a/_nuxt/ProseImg.91bac4f5.js b/_nuxt/ProseImg.91bac4f5.js new file mode 100644 index 0000000..5400fbd --- /dev/null +++ b/_nuxt/ProseImg.91bac4f5.js @@ -0,0 +1 @@ +import{k as a,w as n,b as c,l as h}from"./entry.0b593fc5.js";import{d as o,c as l,B as u,C as d,u as f}from"./swiper-vue.7361a076.js";const m=["src","alt","width","height"],w=o({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(e){const t=e,i=l(()=>{var r;if((r=t.src)!=null&&r.startsWith("/")&&!t.src.startsWith("//")){const s=a(n(c().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return h(s,t.src)}return t.src});return(r,s)=>(u(),d("img",{src:f(i),alt:e.alt,width:e.width,height:e.height},null,8,m))}});export{w as default}; diff --git a/_nuxt/ProseLi.5da4d240.js b/_nuxt/ProseLi.5da4d240.js new file mode 100644 index 0000000..5ace2ba --- /dev/null +++ b/_nuxt/ProseLi.5da4d240.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("li",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseOl.4fec9392.js b/_nuxt/ProseOl.4fec9392.js new file mode 100644 index 0000000..a148019 --- /dev/null +++ b/_nuxt/ProseOl.4fec9392.js @@ -0,0 +1 @@ +import{_ as o}from"./entry.0b593fc5.js";import{B as r,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,l){return r(),t("ol",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseP.ab00b995.js b/_nuxt/ProseP.ab00b995.js new file mode 100644 index 0000000..24034f1 --- /dev/null +++ b/_nuxt/ProseP.ab00b995.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("p",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseStrong.8610d004.js b/_nuxt/ProseStrong.8610d004.js new file mode 100644 index 0000000..0bd8eeb --- /dev/null +++ b/_nuxt/ProseStrong.8610d004.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as n}from"./swiper-vue.7361a076.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const _=r(s,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTable.502190f4.js b/_nuxt/ProseTable.502190f4.js new file mode 100644 index 0000000..7f72a8c --- /dev/null +++ b/_nuxt/ProseTable.502190f4.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const a={};function n(e,c){return o(),t("table",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseTbody.9df31f6e.js b/_nuxt/ProseTbody.9df31f6e.js new file mode 100644 index 0000000..3c5b0ac --- /dev/null +++ b/_nuxt/ProseTbody.9df31f6e.js @@ -0,0 +1 @@ +import{_ as o}from"./entry.0b593fc5.js";import{B as r,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const _=o(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTd.86910897.js b/_nuxt/ProseTd.86910897.js new file mode 100644 index 0000000..74f888e --- /dev/null +++ b/_nuxt/ProseTd.86910897.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("td",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseTh.b8d62c8c.js b/_nuxt/ProseTh.b8d62c8c.js new file mode 100644 index 0000000..3380b81 --- /dev/null +++ b/_nuxt/ProseTh.b8d62c8c.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("th",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseThead.b07ec9b2.js b/_nuxt/ProseThead.b07ec9b2.js new file mode 100644 index 0000000..6b30c0a --- /dev/null +++ b/_nuxt/ProseThead.b07ec9b2.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const a={};function n(e,c){return o(),t("thead",null,[s(e.$slots,"default")])}const _=r(a,[["render",n]]);export{_ as default}; diff --git a/_nuxt/ProseTr.3f777600.js b/_nuxt/ProseTr.3f777600.js new file mode 100644 index 0000000..d7da157 --- /dev/null +++ b/_nuxt/ProseTr.3f777600.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,a){return o(),t("tr",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/ProseUl.13184a59.js b/_nuxt/ProseUl.13184a59.js new file mode 100644 index 0000000..01fd8da --- /dev/null +++ b/_nuxt/ProseUl.13184a59.js @@ -0,0 +1 @@ +import{_ as r}from"./entry.0b593fc5.js";import{B as o,C as t,U as s}from"./swiper-vue.7361a076.js";const n={};function c(e,l){return o(),t("ul",null,[s(e.$slots,"default")])}const _=r(n,[["render",c]]);export{_ as default}; diff --git a/_nuxt/acidentes.cd4f4f82.js b/_nuxt/acidentes.cd4f4f82.js new file mode 100644 index 0000000..aee271f --- /dev/null +++ b/_nuxt/acidentes.cd4f4f82.js @@ -0,0 +1 @@ +import{N as e}from"./nuxt-icon.b4d9ff56.js";import{f as t,B as o,C as s,N as n}from"./swiper-vue.7361a076.js";import"./entry.0b593fc5.js";const a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},c=n("path",{d:"M15.966 4.627 2.484 27.977h26.963Zm0 2.109 11.655 20.186H4.311Zm15.577 22.188H.527L16.035 2.063Zm-15.606-15.41a4 4 0 0 0-4 4.002 4 4 0 0 0 .066.686c.145 1.54 3.144 7.136 3.934 7.136s3.79-5.596 3.934-7.136a4 4 0 0 0 .067-.686 4 4 0 0 0-4-4.001m-.086 2.403a1.707 1.707 0 0 1 1.708 1.708 1.707 1.707 0 0 1-1.708 1.706 1.707 1.707 0 0 1-1.708-1.706 1.707 1.707 0 0 1 1.708-1.708"},null,-1),r=[c];function m(i,d){return o(),s("svg",a,[...r])}const p={render(){return t(e,{icon:{render:m},name:"acidentes"})}};export{p as default,m as render}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index bcf2056..602b3e9 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"2af189cb-7983-4a40-bdd8-2cfedefdb092","timestamp":1706990584892} \ No newline at end of file +{"id":"d8787c7a-db18-48c6-a9f5-7d08cea4d7e3","timestamp":1709389200686} \ No newline at end of file diff --git a/_nuxt/builds/meta/d8787c7a-db18-48c6-a9f5-7d08cea4d7e3.json b/_nuxt/builds/meta/d8787c7a-db18-48c6-a9f5-7d08cea4d7e3.json new file mode 100644 index 0000000..a9b551d --- /dev/null +++ b/_nuxt/builds/meta/d8787c7a-db18-48c6-a9f5-7d08cea4d7e3.json @@ -0,0 +1 @@ +{"id":"d8787c7a-db18-48c6-a9f5-7d08cea4d7e3","timestamp":1709389200686,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/client-db.ccc17b92.js b/_nuxt/client-db.ccc17b92.js new file mode 100644 index 0000000..df32798 --- /dev/null +++ b/_nuxt/client-db.ccc17b92.js @@ -0,0 +1 @@ +import{n as _,l as T,b as M,j as W,g as B}from"./entry.0b593fc5.js";import{g as b,b as j,c as E,o as k,d as J,f as $,i as P,k as x,l as H}from"./query.a51a821d.js";import{p as q}from"./index.b0fe9fac.js";import{u as U}from"./preview.cf1a2dd4.js";import"./swiper-vue.7361a076.js";const G="memory",Z=()=>{const r=new Map;return{name:G,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function F(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function p(r,...t){try{return F(r(...t))}catch(n){return Promise.reject(n)}}function V(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function Q(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function K(r){if(V(r))return String(r);if(Q(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return K(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function z(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const C="base64:";function X(r){if(typeof r=="string")return r;z();const t=Buffer.from(r).toString("base64");return C+t}function ee(r){return typeof r!="string"||!r.startsWith(C)?r:(z(),Buffer.from(r.slice(C.length),"base64"))}const te=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function re(r,t){if(t=A(t),!t)return r;const n={...r};for(const a of te)n[a]=(l="",...c)=>r[a](t+l,...c);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(c=>c.map(o=>o.slice(t.length))),n}function d(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ne(...r){return d(r.join(":"))}function A(r){return r=d(r),r?r+":":""}const ie="memory",ae=()=>{const r=new Map;return{name:ie,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function se(r={}){const t={mounts:{"":r.driver||ae()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(s=>s.startsWith(e)||i&&e.startsWith(s)).map(s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]})),l=(e,i)=>{if(t.watching){i=d(i);for(const s of t.watchListeners)s(e,i)}},c=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await D(t.mounts[e],l,e)}},o=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h=(e,i,s)=>{const u=new Map,f=m=>{let y=u.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},u.set(m.base,y)),y};for(const m of e){const y=typeof m=="string",v=d(y?m:m.key),w=y?void 0:m.value,I=y||!m.options?i:{...i,...m.options},O=n(v);f(O).items.push({key:v,value:w,relativeKey:O.relativeKey,options:I})}return Promise.all([...u.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(u=>({key:u.relativeKey,options:u.options})),i).then(u=>u.map(f=>({key:ne(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(u=>p(s.driver.getItem,u.relativeKey,u.options).then(f=>({key:u.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return u.getItemRaw?p(u.getItemRaw,s,i):p(u.getItem,s,i).then(f=>ee(f))},async setItem(e,i,s={}){if(i===void 0)return g.removeItem(e);e=d(e);const{relativeKey:u,driver:f}=n(e);f.setItem&&(await p(f.setItem,u,K(i),s),f.watch||l("update",e))},async setItems(e,i){await h(e,i,async s=>{s.driver.setItems&&await p(s.driver.setItems,s.items.map(u=>({key:u.relativeKey,value:K(u.value),options:u.options})),i),s.driver.setItem&&await Promise.all(s.items.map(u=>p(s.driver.setItem,u.relativeKey,K(u.value),u.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:u,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,u,i,s);else if(f.setItem)await p(f.setItem,u,X(i),s);else return;f.watch||l("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMeta:i}),e=d(e);const{relativeKey:s,driver:u}=n(e);u.removeItem&&(await p(u.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(u.removeItem,s+"$",i),u.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:u}=n(e),f=Object.create(null);if(u.getMeta&&Object.assign(f,await p(u.getMeta,s,i)),!i.nativeOnly){const m=await p(u.getItem,s+"$",i).then(y=>_(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(e,i,s={}){return this.setItem(e+"$",i,s)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=A(e);const s=a(e,!0);let u=[];const f=[];for(const m of s){const v=(await p(m.driver.getKeys,m.relativeBase,i)).map(w=>m.mountpoint+d(w)).filter(w=>!u.some(I=>w.startsWith(I)));f.push(...v),u=[m.mountpoint,...u.filter(w=>!w.startsWith(m.mountpoint))]}return e?f.filter(m=>m.startsWith(e)&&!m.endsWith("$")):f.filter(m=>!m.endsWith("$"))},async clear(e,i={}){e=A(e),await Promise.all(a(e,!1).map(async s=>{if(s.driver.clear)return p(s.driver.clear,s.relativeBase,i);if(s.driver.removeItem){const u=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(u.map(f=>s.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>L(e)))},async watch(e){return await c(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await o()}},async unwatch(){t.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((s,u)=>u.length-s.length)),t.mounts[e]=i,t.watching&&Promise.resolve(D(i,l,e)).then(s=>{t.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await L(t.mounts[e]),t.mountpoints=t.mountpoints.filter(s=>s!==e),delete t.mounts[e])},getMount(e=""){e=d(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=d(e),a(e,i.parents).map(u=>({driver:u.driver,base:u.mountpoint}))}};return g}function D(r,t,n){return r.watch?r.watch((a,l)=>t(a,n+l)):()=>{}}async function L(r){typeof r.dispose=="function"&&await p(r.dispose)}function oe(r={}){const t=ue(n,r.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?t.$eq(a,l):Object.keys(l||{}).every(c=>{const o=l[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,o):!1}return n(b(a,c),o)})}return n}function ue(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>(j(a,"$and requires an array as condition"),a.every(l=>r(n,l))),$or:(n,a)=>(j(a,"$or requires an array as condition"),a.some(l=>r(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?r(n,{$contains:l}):r(n,l)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),E(a).every(l=>n.includes(l))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),E(a).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,a)=>(j(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(l=>n.includes(l))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const l=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=l?new RegExp(l[1],l[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function ce(r){const t=oe(),n=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>t(u,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((u,f)=>c[i-h+f+ +(f>=h)]||null)},a=[(c,o)=>{const h=c.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>J(c.result,h)),function(o,h,g){var e;if(h.surround){let i=n(((e=o.result)==null?void 0:e.length)===1?g:o.result,h.surround);i=$(P(h.without))(i),i=$(x(h.only))(i),o.surround=i}return o}],l=[(c,o)=>{if(o.skip)return{...c,result:c.result.slice(o.skip),skip:o.skip}},(c,o)=>{if(o.limit)return{...c,result:c.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const u=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(f=>f._path))==null?void 0:s._path);if(typeof u=="string"){const f=g.find(m=>m._path===T(u,"_dir"));f&&(o.dirConfig={_path:f._path,...P(["_"])(f)})}}return o},(c,o)=>({...c,result:$(P(o.without))(c.result)}),(c,o)=>({...c,result:$(x(o.only))(c.result)})];return async c=>{const o=await r(),h=c.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,u)=>u(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,u)=>u(s,h,o)||s,e);return h.first?{...k(["skip","limit","total"])(i),result:i.result[0]}:i}}function N(r){const t=ce(r);return async n=>{var c;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(c=l.dirConfig)==null?void 0:c._path,...l.result,_dir:l.dirConfig}),l==null?void 0:l.result)}}var le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fe={exports:{}};(function(r,t){(function(n,a,l){r.exports=l(),r.exports.default=l()})("slugify",le,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(c,o){if(typeof c!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var h=a[o.locale]||{},g=o.replacement===void 0?"-":o.replacement,e=o.trim===void 0?!0:o.trim,i=c.normalize().split("").reduce(function(s,u){var f=h[u];return f===void 0&&(f=n[u]),f===void 0&&(f=u),f===g&&(f=" "),s+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),e&&(i=i.trim()),i=i.replace(/\s+/g,g),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(c){Object.assign(n,c)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(q).join(" ");function he(r,t){const{navigation:n}=M().public.content,a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=r.sort((c,o)=>c._path.localeCompare(o._path)).reduce((c,o)=>{const h=o._path.substring(1).split("/"),g=o._id.split(":").slice(1),e=!!g[g.length-1].match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...a(f),...f._draft?{_draft:!0}:{}}),s=i(o);if(e){const f=t[s._path];if(typeof(f==null?void 0:f.navigation)<"u"&&!(f!=null&&f.navigation))return c;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(c.push(s),c):(h.slice(0,-1).reduce((f,m,y)=>{const v="/"+h.slice(0,y+1).join("/"),w=t[v];if(typeof(w==null?void 0:w.navigation)<"u"&&!w.navigation)return[];let I=f.find(O=>O._path===v);return I||(I={title:me(m),_path:v,_file:o._file,children:[],...a(w)},f.push(I)),I.children},c).push(s),c)},[]);return Y(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function Y(r){var n;const t=r.sort((a,l)=>ge.compare(a._file,l._file));for(const a of t)(n=a.children)!=null&&n.length?Y(a.children):delete a.children,delete a._file;return r}function pe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function de(r){return Object.prototype.toString.call(r)==="[object Object]"}const ye=r=>W(r,M().public.content.api.baseURL),we=re(se({driver:Z()}),"@content");function ve(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=U().getPreviewToken();if(a){const c=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(c.ignoreSources)){const g=c.ignoreSources.map(e=>`cache:${e.trim()}:`);for(const e of n)g.some(i=>e.startsWith(i))&&n.delete(e)}const o=await r.getKeys(`${a}:`),h=await Promise.all(o.map(g=>r.getItem(g)));for(const g of h)n.delete(`cache:${g._id}`),g.__deleted||n.add(`${a}:${g._id}`)}return await Promise.all(Array.from(n).map(c=>r.getItem(c)))}return{storage:r,fetch:N(t),query:n=>H(N(t),{initialParams:n,legacy:!0})}}let R=null,S=null;async function Ie(){return S?await S:R||(S=Ae(),R=await S),R}async function Ae(){const r=B(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:c}=await $fetch(ye(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function Ke(r){const t=await Ie();if(!U().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((c,o)=>{var g;((g=o.title)==null?void 0:g.toLowerCase())==="dir"&&(o.title=void 0);const h=o._path.split("/").slice(0,-1).join("/")||"/";return c[h]={...o,...o.body},c},{});return he(n,l)}export{we as contentStorage,ve as createDB,Ke as generateNavigation,Ie as useContentDatabase}; diff --git a/_nuxt/entry.0b593fc5.js b/_nuxt/entry.0b593fc5.js new file mode 100644 index 0000000..b606189 --- /dev/null +++ b/_nuxt/entry.0b593fc5.js @@ -0,0 +1,29 @@ +import{e as Ao,r as it,h as Is,g as wn,n as Ot,v as gi,u as Q,i as ve,t as As,s as Vt,a as _e,b as Tn,d as lt,c as ee,f as Ie,p as Ft,w as qe,j as _i,k as U,o as yi,l as Ei,F as Ds,m as Nt,q as Ms,T as Li,x as xs,y as $s,z as vi,K as bi,S as Fs,A as wi,B as at,C as Ti,D as gt,E as Pi,G as Ri,H as Ci,I as ki,J as Si,L as Oi,M as Ni}from"./swiper-vue.7361a076.js";const Ii=/#/g,Ai=/&/g,Di=/=/g,Do=/\+/g,Mi=/%5e/gi,xi=/%60/gi,$i=/%7c/gi,Fi=/%20/gi;function Ui(e){return encodeURI(""+e).replace($i,"|")}function Qn(e){return Ui(typeof e=="string"?e:JSON.stringify(e)).replace(Do,"%2B").replace(Fi,"+").replace(Ii,"%23").replace(Ai,"%26").replace(xi,"`").replace(Mi,"^")}function Hn(e){return Qn(e).replace(Di,"%3D")}function pn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Hi(e){return pn(e.replace(Do," "))}function ji(e){return pn(e.replace(Do," "))}function Vi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Hi(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=ji(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}function Bi(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Hn(e)}=${Qn(n)}`).join("&"):`${Hn(e)}=${Qn(t)}`:Hn(e)}function Wi(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Bi(t,e[t])).filter(Boolean).join("&")}const Ki=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Gi=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xi=/^([/\\]\s*){2,}[^/\\]/;function ut(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Ki.test(e):Gi.test(e)||(t.acceptRelative?Xi.test(e):!1)}const Yi=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function qi(e){return!!e&&Yi.test(e)}const zi=/\/$|\/\?|\/#/;function Jn(e="",t){return t?zi.test(e):e.endsWith("/")}function Us(e="",t){if(!t)return(Jn(e)?e.slice(0,-1):e)||"/";if(!Jn(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[s,...a]=n.split("?");return(s.slice(0,-1)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function Zn(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Jn(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[s,...a]=n.split("?");return s+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function Qi(e=""){return e.startsWith("/")}function rr(e=""){return Qi(e)?e:"/"+e}function Ji(e,t){if(js(t)||ut(e))return e;const n=Us(t);return e.startsWith(n)?e:It(n,e)}function sr(e,t){if(js(t))return e;const n=Us(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Hs(e,t){const n=Pn(e),o={...Vi(n.search),...t};return n.search=Wi(o),tc(n)}function js(e){return!e||e==="/"}function Zi(e){return e&&e!=="/"}const ec=/^\.?\//;function It(e,...t){let n=e||"";for(const o of t.filter(r=>Zi(r)))if(n){const r=o.replace(ec,"");n=Zn(n)+r}else n=o;return n}function eo(e,t,n={}){return n.trailingSlash||(e=Zn(e),t=Zn(t)),n.leadingSlash||(e=rr(e),t=rr(t)),n.encoding||(e=pn(e),t=pn(t)),e===t}function Pn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!ut(e,{acceptRelative:!0}))return t?Pn(t+e):ar(e);const[,o="",r,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",i=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:l}=ar(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:c,search:u,hash:l}}function ar(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function tc(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+r+s+t+n+o}const nc=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},hn=nc().app,oc=()=>hn.baseURL,rc=()=>hn.buildAssetsDir,Mo=(...e)=>It(Vs(),rc(),...e),Vs=(...e)=>{const t=hn.cdnURL||hn.baseURL;return e.length?It(t,...e):t};globalThis.__buildAssetsURL=Mo,globalThis.__publicAssetsURL=Vs;const sc=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ac=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ic=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function cc(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){lc(e);return}return t}function lc(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Bt(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!ic.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(sc.test(e)||ac.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,cc)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}class uc extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function fc(e){var c,u,l,f,d;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${r}: ${s}${t?` ${t}`:""}`,i=new uc(a,e.error?{cause:e.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(i,g,{get(){return e[g]}});for(const[g,E]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(i,g,{get(){return e.response&&e.response[E]}});return i}const dc=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ir(e="GET"){return dc.has(e.toUpperCase())}function pc(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const hc=new Set(["image/svg","application/xml","application/xhtml","application/html"]),mc=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gc(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return mc.test(t)?"json":hc.has(t)||t.startsWith("text/")?"text":"blob"}function _c(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[r,s]of new n((e==null?void 0:e.headers)||{}))o.headers.set(r,s)}return o}const yc=new Set([408,409,425,429,500,502,503,504]),Ec=new Set([101,204,205,304]);function Bs(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(i){const c=i.error&&i.error.name==="AbortError"&&!i.options.timeout||!1;if(i.options.retry!==!1&&!c){let l;typeof i.options.retry=="number"?l=i.options.retry:l=ir(i.options.method)?0:1;const f=i.response&&i.response.status||500;if(l>0&&(Array.isArray(i.options.retryStatusCodes)?i.options.retryStatusCodes.includes(f):yc.has(f))){const d=i.options.retryDelay||0;return d>0&&await new Promise(g=>setTimeout(g,d)),s(i.request,{...i.options,retry:l-1,timeout:i.options.timeout})}}const u=fc(i);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){var d;const l={request:c,options:_c(u,e.defaults,n),response:void 0,error:void 0};if(l.options.method=(d=l.options.method)==null?void 0:d.toUpperCase(),l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Ji(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=Hs(l.request,{...l.options.params,...l.options.query}))),l.options.body&&ir(l.options.method)&&(pc(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"))),!l.options.signal&&l.options.timeout){const g=new o;setTimeout(()=>g.abort(),l.options.timeout),l.options.signal=g.signal}try{l.response=await t(l.request,l.options)}catch(g){return l.error=g,l.options.onRequestError&&await l.options.onRequestError(l),await r(l)}if(l.response.body&&!Ec.has(l.response.status)&&l.options.method!=="HEAD"){const g=(l.options.parseResponse?"json":l.options.responseType)||gc(l.response.headers.get("content-type")||"");switch(g){case"json":{const E=await l.response.text(),L=l.options.parseResponse||Bt;l.response._data=L(E);break}case"stream":{l.response._data=l.response.body;break}default:l.response._data=await l.response[g]()}}return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await r(l)):l.response},a=async function(c,u){return(await s(c,u))._data};return a.raw=s,a.native=(...i)=>t(...i),a.create=(i={})=>Bs({...e,defaults:{...e.defaults,...i}}),a}const xo=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Lc=xo.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),vc=xo.Headers,bc=xo.AbortController,wc=Bs({fetch:Lc,Headers:vc,AbortController:bc}),Tc=wc;globalThis.$fetch||(globalThis.$fetch=Tc.create({baseURL:oc()}));function to(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?to(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const Pc={run:e=>e()},Rc=()=>Pc,Ws=typeof console.createTask<"u"?console.createTask:Rc;function Cc(e,t){const n=t.shift(),o=Ws(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function kc(e,t){const n=t.shift(),o=Ws(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function jn(e,t){for(const n of[...e])n(t)}class Sc{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let a=s.message;a||(a=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=to(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=to(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Cc,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(kc,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&jn(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&jn(this._after,r)}):(this._after&&r&&jn(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Ks(){return new Sc}function Oc(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let r;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?r=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(r&&t===void 0){const a=r.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=s();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>s(),set:(a,i)=>{i||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,i)=>{o(a),t=a;try{return r?r.run(a,i):i()}finally{n||(t=void 0)}},async callAsync(a,i){t=a;const c=()=>{t=a},u=()=>t===a?c:void 0;no.add(u);try{const l=r?r.run(a,i):i();return n||(t=void 0),await l}finally{no.delete(u)}}}}function Nc(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=Oc({...e,...o})),t[n],t[n]}}}const mn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},cr="__unctx__",Ic=mn[cr]||(mn[cr]=Nc()),Ac=(e,t={})=>Ic.get(e,t),lr="__unctx_async_handlers__",no=mn[lr]||(mn[lr]=new Set);function Xe(e){const t=[];for(const r of no){const s=r();s&&t.push(s)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const Gs=Ac("nuxt-app",{asyncContext:!1}),Dc="__nuxt_plugin";function Mc(e){let t=0;const n={_scope:Ao(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:it({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>n._scope.run(()=>Fc(n,r)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Ks(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,s)=>{const a="$"+r;nn(n,a,s),nn(n.vueApp.config.globalProperties,a,s)},nn(n.vueApp,"$nuxt",n),nn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||te;const r=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",r)}const o=it(n.payload.config);return n.provide("config",o),n}async function xc(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function $c(e,t){const n=[],o=[];for(const r of t){const s=xc(e,r);r.parallel?n.push(s.catch(a=>o.push(a))):await s}if(await Promise.all(n),o.length)throw o[0]}/*! @__NO_SIDE_EFFECTS__ */function we(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Dc]:!0}))}function Fc(e,t,n){const o=()=>n?t(...n):t();return Gs.set(e),e.vueApp.runWithContext(o)}/*! @__NO_SIDE_EFFECTS__ */function te(){var t;let e;if(Is()&&(e=(t=wn())==null?void 0:t.appContext.app.$nuxt),e=e||Gs.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function $o(){return te().$config}function nn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Uc="modulepreload",Hc=function(e,t){return e[0]==="."?new URL(e,t).href:e},ur={},jc=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Hc(s,o),s in ur)return;ur[s]=!0;const a=s.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(!!o)for(let l=r.length-1;l>=0;l--){const f=r[l];if(f.href===s&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${i}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":Uc,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((l,f)=>{u.addEventListener("load",l),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})},F=(...e)=>jc(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Vc=-1,Bc=-2,Wc=-3,Kc=-4,Gc=-5,Xc=-6;function Yc(e,t){return qc(JSON.parse(e),t)}function qc(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(s,a=!1){if(s===Vc)return;if(s===Wc)return NaN;if(s===Kc)return 1/0;if(s===Gc)return-1/0;if(s===Xc)return-0;if(a)throw new Error("Invalid input");if(s in o)return o[s];const i=n[s];if(!i||typeof i!="object")o[s]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],u=t==null?void 0:t[c];if(u)return o[s]=u(r(i[1]));switch(c){case"Date":o[s]=new Date(i[1]);break;case"Set":const l=new Set;o[s]=l;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function fr(e){return e._h||Fo(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Ys(e,t){const{props:n,tag:o}=e;if(Zc.includes(o))return o;if(o==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];o==="meta"&&r.push("name","property","http-equiv");for(const s of r)if(typeof n[s]<"u"){const a=String(n[s]);return t&&!t(a)?!1:`${o}:${s}:${a}`}return!1}function dr(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function tl(e,t,n){const o={tag:e,props:await qs(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Xs.forEach(r=>{const s=typeof o.props[r]<"u"?o.props[r]:n[r];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(r)||Qc.includes(o.tag))&&(o[r==="children"?"innerHTML":r]=s),delete o.props[r])}),o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function nl(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function qs(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=nl(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Xs.includes(n)){const o=String(e[n]),r=n.startsWith("data-");o==="true"||o===""?e[n]=r?"true":!0:e[n]||(r&&o==="false"?e[n]="false":delete e[n])}}return e}const ol=10;async function rl(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,o])=>typeof o<"u"&&Jc.includes(n)).forEach(([n,o])=>{const r=zc(o);t.push(...r.map(s=>tl(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,o)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[u]||void 0,t):i=t[a],typeof i<"u"?(i||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const i=o(a.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,u)=>`${i}${u}`).trim())}),e.includes(Be)&&(e.endsWith(Be)&&(e=e.slice(0,-Be.length).trim()),e.startsWith(Be)&&(e=e.slice(Be.length).trim()),e=e.replace(new RegExp(`\\${Be}\\s*\\${Be}`,"g"),Be),e=un(e,{separator:n},n)),e}async function al(e){const t={tag:e.tagName.toLowerCase(),props:await qs(e.getAttributeNames().reduce((n,o)=>({...n,[o]:e.getAttribute(o)}),{})),innerHTML:e.innerHTML};return t._d=Ys(t),t}async function Qs(e,t={}){var l;const n=t.document||e.resolvedOptions.document;if(!n)return;const o={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=(await e.resolveTags()).map(f=>({tag:f,id:ln.includes(f.tag)?fr(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(l=n==null?void 0:n[f])==null?void 0:l.children;for(const g of[...d].filter(E=>ln.includes(E.tagName.toLowerCase())))s.elMap[g.getAttribute("data-hid")||fr(await al(g))]=g}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function a(f,d,g){const E=`${f}:${d}`;s.sideEffects[E]=g,delete s.pendingSideEffects[E]}function i({id:f,$el:d,tag:g}){const E=g.tag.endsWith("Attrs");s.elMap[f]=d,E||(["textContent","innerHTML"].forEach(L=>{g[L]&&g[L]!==d[L]&&(d[L]=g[L])}),a(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(g.props).forEach(([L,b])=>{const p=`attr:${L}`;if(L==="class")for(const _ of(b||"").split(" ").filter(Boolean))E&&a(f,`${p}:${_}`,()=>d.classList.remove(_)),!d.classList.contains(_)&&d.classList.add(_);else d.getAttribute(L)!==b&&d.setAttribute(L,b===!0?"":String(b)),E&&a(f,p,()=>d.removeAttribute(L))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:d,shouldRender:g,id:E}=f;if(g){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[E],f.$el?i(f):ln.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),i(f),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function il(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(o=>n(async()=>{await Qs(e,t),delete e._domUpdatePromise,o()}))}function cl(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){il(s,e)}}}}}const ll=["templateParams","htmlAttrs","bodyAttrs"],ul={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(o=>{e.props[o]&&(e.key=e.props[o],delete e.props[o])});const n=Ys(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(o=>{const r=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,s=t[r];if(s){let i=o==null?void 0:o.tagDuplicateStrategy;if(!i&&ll.includes(o.tag)&&(i="merge"),i==="merge"){const c=s.props;["class","style"].forEach(u=>{o.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),o.props[u]=`${c[u]} ${o.props[u]}`)}),t[r].props={...c,...o.props};return}else if(o._e===s._e){s._duped=s._duped||[],o._d=`${s._d}:${s._duped.length+1}`,s._duped.push(o);return}else if(gn(o)>gn(s))return}const a=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(ln.includes(o.tag)&&a===0){delete t[r];return}t[r]=o});const n=[];Object.values(t).forEach(o=>{const r=o._duped;delete o._duped,n.push(o),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},fl={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},dl=["script","link","bodyAttrs"];function pl(e){const t={},n={};return Object.entries(e.props).forEach(([o,r])=>{o.startsWith("on")&&typeof r=="function"?(zs.includes(o)&&(t[o]=`this.dataset.${o} = true`),n[o]=r):t[o]=r}),{props:t,eventHandlers:n}}const hl=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(dl.includes(n.tag)){const{props:o,eventHandlers:r}=pl(n);n.props=o,Object.keys(r).length&&((n.props.src||n.props.href)&&(n.key=n.key||Fo(n.props.src||n.props.href)),n._eventHandlers=r)}},"dom:renderTag":function(t,n,o){if(!t.tag._eventHandlers)return;const r=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([s,a])=>{const i=`${t.tag._d||t.tag._p}:${s}`,c=s.slice(2).toLowerCase(),u=`data-h-${c}`;if(o(t.id,i,()=>{}),t.$el.hasAttribute(u))return;t.$el.setAttribute(u,"");let l;const f=d=>{a(d),l==null||l.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):zs.includes(s)&&typeof MutationObserver<"u"?(l=new MutationObserver(d=>{d.some(E=>E.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),l==null||l.disconnect())}),l.observe(t.$el,{attributes:!0})):r.addEventListener(c,f),o(t.id,i,()=>{l==null||l.disconnect(),r.removeEventListener(c,f),t.$el.removeAttribute(u)})})}}}),ml=["link","style","script","noscript"],gl={hooks:{"tag:normalise":({tag:e})=>{e.key&&ml.includes(e.tag)&&(e.props["data-hid"]=e._h=Fo(e.key))}}},_l={hooks:{"tags:resolve":e=>{const t=n=>{var o;return(o=e.tags.find(r=>r._d===n))==null?void 0:o._p};for(const{prefix:n,offset:o}of sl)for(const r of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(r.tagPriority.replace(n,""));typeof s<"u"&&(r._p=s+o)}e.tags.sort((n,o)=>n._p-o._p).sort((n,o)=>gn(n)-gn(o))}}},yl={meta:"content",link:"href",htmlAttrs:"lang"},El=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t,o=(i=n.find(c=>c.tag==="title"))==null?void 0:i.textContent,r=n.findIndex(c=>c.tag==="templateParams"),s=r!==-1?n[r].props:{},a=s.separator||"|";delete s.separator,s.pageTitle=un(s.pageTitle||o||"",s,a);for(const c of n.filter(u=>u.processTemplateParams!==!1)){const u=yl[c.tag];u&&typeof c.props[u]=="string"?c.props[u]=un(c.props[u],s,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(l=>{typeof c[l]=="string"&&(c[l]=un(c[l],s,a))})}e._templateParams=s,e._separator=a,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),Ll={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const o=t.findIndex(r=>r.tag==="title");if(o!==-1&&n!==-1){const r=dr(t[n].textContent,t[o].textContent);r!==null?t[o].textContent=r||t[o].textContent:delete t[o]}else if(n!==-1){const r=dr(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},vl={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{i.dirty=!0,t.callHook("entries:updated",i)};let r=0,s=[];const a=[],i={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(c){const u=typeof c=="function"?c(i):c;(!u.key||!a.some(l=>l.key===u.key))&&(a.push(u),mr(u.mode,n)&&t.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:r++,input:c,...u};return mr(l.mode,n)&&(s.push(l),o()),{dispose(){s=s.filter(f=>f._i!==l._i),t.callHook("entries:updated",i),o()},patch(f){s=s.map(d=>(d._i===l._i&&(d.input=l.input=f),d)),o()}}},async resolveTags(){const c={tags:[],entries:[...s]};await t.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await rl(u)){const d={tag:f,entry:u,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[ul,fl,hl,gl,_l,El,Ll,vl,...(e==null?void 0:e.plugins)||[]].forEach(c=>i.use(c)),i.hooks.callHook("init",i),i}function Tl(){return Js}const Pl=gi.startsWith("3");function Rl(e){return typeof e=="function"?e():Q(e)}function oo(e,t=""){if(e instanceof Promise)return e;const n=Rl(e);return!e||!n?n:Array.isArray(n)?n.map(o=>oo(o,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([o,r])=>o==="titleTemplate"||o.startsWith("on")?[o,Q(r)]:[o,oo(r,o)])):n}const Cl={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=oo(t.input)}}},Zs="usehead";function kl(e){return{install(n){Pl&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Zs,e))}}.install}function Sl(e={}){e.domDelayFn=e.domDelayFn||(n=>Ot(()=>setTimeout(()=>n(),0)));const t=bl(e);return t.use(Cl),t.install=kl(t),t}const ro=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},so="__unhead_injection_handler__";function Ol(e){ro[so]=e}function ug(){if(so in ro)return ro[so]();const e=ve(Zs);return e||Tl()}const on=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Nl(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=(t||{}).decode||Dl;let s=0;for(;sta(t,e)}}function ea(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,ea(r)])):new Map(Object.entries(e[n]));return t}function $l(e){return xl(ea(e))}function ta(e,t){const n=[];for(const[r,s]of _r(t.wildcard))e.startsWith(r)&&n.push(s);for(const[r,s]of _r(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");n.push(...ta(a,s))}const o=t.static.get(e);return o&&n.push(o),n.filter(Boolean)}function _r(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ao(e,t,n=".",o){if(!Vn(t))return ao(e,{},n,o);const r=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(o&&o(r,s,a,n)||(Array.isArray(a)&&Array.isArray(r[s])?r[s]=[...a,...r[s]]:Vn(a)&&Vn(r[s])?r[s]=ao(a,r[s],(n?`${n}.`:"")+s.toString(),o):r[s]=a))}return r}function Vn(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function na(e){return(...t)=>t.reduce((n,o)=>ao(n,o,"",e),{})}const oa=na(),Fl=na((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Ul(e,t){try{return t in e}catch{return!1}}var Hl=Object.defineProperty,jl=(e,t,n)=>t in e?Hl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,st=(e,t,n)=>(jl(e,typeof t!="symbol"?t+"":t,n),n);class io extends Error{constructor(t,n={}){super(t,n),st(this,"statusCode",500),st(this,"fatal",!1),st(this,"unhandled",!1),st(this,"statusMessage"),st(this,"data"),st(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:lo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ra(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}st(io,"__h3_error__",!0);function co(e){if(typeof e=="string")return new io(e);if(Vl(e))return e;const t=new io(e.message??e.statusMessage??"",{cause:e.cause||e});if(Ul(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=lo(e.statusCode,t.statusCode):e.status&&(t.statusCode=lo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ra(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Vl(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Bl=/[^\u0009\u0020-\u007E]/g;function ra(e=""){return e.replace(Bl,"")}function lo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Wl=Symbol("layout-meta"),Rn=Symbol("route"),Cn=()=>As(te().payload,"error"),Et=e=>{const t=Uo(e);try{const n=te(),o=Cn();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},Kl=async(e={})=>{const t=te(),n=Cn();t.callHook("app:error:cleared",e),e.redirect&&await je().replace(e.redirect),n.value=null},Gl=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Uo=e=>{const t=co(e);return t.__nuxt_error=!0,t},je=()=>{var e;return(e=te())==null?void 0:e.$router},Ho=()=>Is()?ve(Rn,te()._route):te()._route;/*! @__NO_SIDE_EFFECTS__ */const Xl=(e,t,n={})=>{const o=te(),r=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}r?o._middleware.global.push(s):o._middleware.named[e]=s},Yl=()=>{try{if(te()._processingMiddleware)return!0}catch{return!0}return!1},ql=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Hs(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:i="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([l,f])=>f!==void 0).map(([l,f])=>`${l.toLowerCase()}=${f}`).join(", ");open(n,i,u)}return Promise.resolve()}const o=(t==null?void 0:t.external)||ut(n,{acceptRelative:!0});if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const i=Pn(n).protocol;if(i&&qi(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=Yl();if(!o&&r)return e;const s=je(),a=te();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},zl={nuxt:{buildId:"d8787c7a-db18-48c6-a9f5-7d08cea4d7e3"}},Ql=Fl(zl);function Jl(){const e=te();return e._appConfig||(e._appConfig=it(Ql)),e._appConfig}const uo=!1,Zl=!1,fg={componentName:"NuxtLink"},dg={deep:!0},eu="#__nuxt";let fn,sa;function tu(){var t;const e=(t=Jl().nuxt)==null?void 0:t.buildId;return fn=$fetch(Mo(`builds/meta/${e}.json`)),fn.then(n=>{sa=$l(n.matcher)}),fn}function kn(){return fn||tu()}async function aa(e){return await kn(),oa({},...sa.matchAll(e).reverse())}function yr(e,t={}){const n=nu(e,t),o=te(),r=o._payloadCache=o._payloadCache||{};return n in r||(r[n]=ou(e).then(s=>s?ia(n).then(a=>a||(delete r[n],null)):(r[n]=null,null))),r[n]}const Er="json";function nu(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||ut(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=t.hash||(t.fresh?Date.now():"");return It($o().app.baseURL,n.pathname,o?`_payload.${o}.${Er}`:`_payload.${Er}`)}async function ia(e){const t=fetch(e).then(n=>n.text().then(ca));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function ou(e=Ho().path){if((await kn()).prerendered.includes(e))return!0;const n=await aa(e);return!!n.prerender&&!n.redirect}let rn=null;async function ru(){if(rn)return rn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=ca(e.textContent||""),n=e.dataset.src?await ia(e.dataset.src):void 0;return rn={...t,...n,...window.__NUXT__},rn}function ca(e){return Yc(e,te()._payloadRevivers)}function su(e,t){te()._payloadRevivers[e]=t}const Lr={NuxtError:e=>Uo(e),EmptyShallowRef:e=>Vt(e==="_"?void 0:e==="0n"?BigInt(0):Bt(e)),EmptyRef:e=>_e(e==="_"?void 0:e==="0n"?BigInt(0):Bt(e)),ShallowRef:e=>Vt(e),ShallowReactive:e=>Tn(e),Ref:e=>_e(e),Reactive:e=>it(e)},au=we({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in Lr)su(o,Lr[o]);Object.assign(e.payload,([t,n]=Xe(()=>e.runWithContext(ru)),t=await t,n(),t)),window.__NUXT__=e.payload}}),iu=[],cu=we({name:"nuxt:head",enforce:"pre",setup(e){const t=Sl({plugins:iu});Ol(()=>te().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Qs(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const _t=typeof window<"u";function lu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const G=Object.assign;function Bn(e,t){const n={};for(const o in t){const r=t[o];n[o]=Te(r)?r.map(e):e(r)}return n}const Ut=()=>{},Te=Array.isArray,uu=/\/$/,fu=e=>e.replace(uu,"");function Wn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("#");let c=t.indexOf("?");return i=0&&(c=-1),c>-1&&(o=t.slice(0,c),s=t.slice(c+1,i>-1?i:t.length),r=e(s)),i>-1&&(o=o||t.slice(0,i),a=t.slice(i,t.length)),o=mu(o??t,n),{fullPath:o+(s&&"?")+s+a,path:o,query:r,hash:a}}function du(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pu(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&vt(t.matched[o],n.matched[r])&&la(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function la(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hu(e[n],t[n]))return!1;return!0}function hu(e,t){return Te(e)?br(e,t):Te(t)?br(t,e):e===t}function br(e,t){return Te(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function mu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Ht;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ht||(Ht={}));function gu(e){if(!e)if(_t){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fu(e)}const _u=/^[^#]+#/;function yu(e,t){return e.replace(_u,"#")+t}function Eu(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Sn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Lu(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Eu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function wr(e,t){return(history.state?history.state.position-t:-1)+e}const fo=new Map;function vu(e,t){fo.set(e,t)}function bu(e){const t=fo.get(e);return fo.delete(e),t}let wu=()=>location.protocol+"//"+location.host;function ua(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let i=r.includes(e.slice(s))?e.slice(s).length:1,c=r.slice(i);return c[0]!=="/"&&(c="/"+c),vr(c,"")}return vr(n,e)+o+r}function Tu(e,t,n,o){let r=[],s=[],a=null;const i=({state:d})=>{const g=ua(e,location),E=n.value,L=t.value;let b=0;if(d){if(n.value=g,t.value=d,a&&a===E){a=null;return}b=L?d.position-L.position:0}else o(g);r.forEach(p=>{p(n.value,E,{delta:b,type:Wt.pop,direction:b?b>0?Ht.forward:Ht.back:Ht.unknown})})};function c(){a=n.value}function u(d){r.push(d);const g=()=>{const E=r.indexOf(d);E>-1&&r.splice(E,1)};return s.push(g),g}function l(){const{history:d}=window;d.state&&d.replaceState(G({},d.state,{scroll:Sn()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Tr(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Sn():null}}function Pu(e){const{history:t,location:n}=window,o={value:ua(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:wu()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),r.value=u}catch(g){console.error(g),n[l?"replace":"assign"](d)}}function a(c,u){const l=G({},t.state,Tr(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});s(c,l,!0),o.value=c}function i(c,u){const l=G({},r.value,t.state,{forward:c,scroll:Sn()});s(l.current,l,!0);const f=G({},Tr(o.value,c,null),{position:l.position+1},u);s(c,f,!1),o.value=c}return{location:o,state:r,push:i,replace:a}}function fa(e){e=gu(e);const t=Pu(e),n=Tu(e,t.state,t.location,t.replace);function o(s,a=!0){a||n.pauseListeners(),history.go(s)}const r=G({location:"",base:e,go:o,createHref:yu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Ru(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),fa(e)}function Cu(e){return typeof e=="string"||e&&typeof e=="object"}function da(e){return typeof e=="string"||typeof e=="symbol"}const Se={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},pa=Symbol("");var Pr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pr||(Pr={}));function bt(e,t){return G(new Error,{type:e,[pa]:!0},t)}function xe(e,t){return e instanceof Error&&pa in e&&(t==null||!!(e.type&t))}const Rr="[^/]+?",ku={sensitive:!1,strict:!1,start:!0,end:!0},Su=/[.+*?^${}()[\]/\\]/g;function Ou(e,t){const n=G({},ku,t),o=[];let r=n.start?"^":"";const s=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Iu(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Au={type:0,value:""},Du=/[a-zA-Z0-9_]/;function Mu(e){if(!e)return[[]];if(e==="/")return[[Au]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,o=n;const r=[];let s;function a(){s&&r.push(s),s=[]}let i=0,c,u="",l="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;i{a(_)}:Ut}function a(l){if(da(l)){const f=o.get(l);f&&(o.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&o.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function i(){return n}function c(l){let f=0;for(;f=0&&(l.record.path!==n[f].record.path||!ha(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Sr(l)&&o.set(l.record.name,l)}function u(l,f){let d,g={},E,L;if("name"in l&&l.name){if(d=o.get(l.name),!d)throw bt(1,{location:l});L=d.record.name,g=G(kr(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),l.params&&kr(l.params,d.keys.map(_=>_.name))),E=d.stringify(g)}else if("path"in l)E=l.path,d=n.find(_=>_.re.test(E)),d&&(g=d.parse(E),L=d.record.name);else{if(d=f.name?o.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw bt(1,{location:l,currentLocation:f});L=d.record.name,g=G({},f.params,l.params),E=d.stringify(g)}const b=[];let p=d;for(;p;)b.unshift(p.record),p=p.parent;return{name:L,path:E,params:g,matched:b,meta:Hu(b)}}return e.forEach(l=>s(l)),{addRoute:s,resolve:u,removeRoute:a,getRoutes:i,getRecordMatcher:r}}function kr(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Fu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Uu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Uu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Sr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hu(e){return e.reduce((t,n)=>G(t,n.meta),{})}function Or(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ha(e,t){return t.children.some(n=>n===e||ha(e,n))}const ma=/#/g,ju=/&/g,Vu=/\//g,Bu=/=/g,Wu=/\?/g,ga=/\+/g,Ku=/%5B/g,Gu=/%5D/g,_a=/%5E/g,Xu=/%60/g,ya=/%7B/g,Yu=/%7C/g,Ea=/%7D/g,qu=/%20/g;function jo(e){return encodeURI(""+e).replace(Yu,"|").replace(Ku,"[").replace(Gu,"]")}function zu(e){return jo(e).replace(ya,"{").replace(Ea,"}").replace(_a,"^")}function po(e){return jo(e).replace(ga,"%2B").replace(qu,"+").replace(ma,"%23").replace(ju,"%26").replace(Xu,"`").replace(ya,"{").replace(Ea,"}").replace(_a,"^")}function Qu(e){return po(e).replace(Bu,"%3D")}function Ju(e){return jo(e).replace(ma,"%23").replace(Wu,"%3F")}function Zu(e){return e==null?"":Ju(e).replace(Vu,"%2F")}function _n(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ef(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&po(s)):[o&&po(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function tf(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Te(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const nf=Symbol(""),Ir=Symbol(""),On=Symbol(""),Vo=Symbol(""),ho=Symbol("");function Mt(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ge(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,i)=>{const c=f=>{f===!1?i(bt(4,{from:n,to:t})):f instanceof Error?i(f):Cu(f)?i(bt(2,{from:t,to:f})):(s&&o.enterCallbacks[r]===s&&typeof f=="function"&&s.push(f),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>i(f))})}function Kn(e,t,n,o){const r=[];for(const s of e)for(const a in s.components){let i=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(of(i)){const u=(i.__vccOpts||i)[t];u&&r.push(Ge(u,n,o,s,a))}else{let c=i();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const l=lu(u)?u.default:u;s.components[a]=l;const d=(l.__vccOpts||l)[t];return d&&Ge(d,n,o,s,a)()}))}}return r}function of(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ar(e){const t=ve(On),n=ve(Vo),o=ee(()=>t.resolve(Q(e.to))),r=ee(()=>{const{matched:c}=o.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(vt.bind(null,l));if(d>-1)return d;const g=Dr(c[u-2]);return u>1&&Dr(l)===g&&f[f.length-1].path!==g?f.findIndex(vt.bind(null,c[u-2])):d}),s=ee(()=>r.value>-1&&cf(n.params,o.value.params)),a=ee(()=>r.value>-1&&r.value===n.matched.length-1&&la(n.params,o.value.params));function i(c={}){return af(c)?t[Q(e.replace)?"replace":"push"](Q(e.to)).catch(Ut):Promise.resolve()}return{route:o,href:ee(()=>o.value.href),isActive:s,isExactActive:a,navigate:i}}const rf=lt({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:Ar,setup(e,{slots:t}){const n=it(Ar(e)),{options:o}=ve(On),r=ee(()=>({[Mr(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Mr(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ie("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),sf=rf;function af(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 cf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Te(r)||r.length!==o.length||o.some((s,a)=>s!==r[a]))return!1}return!0}function Dr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Mr=(e,t,n)=>e??t??n,lf=lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=ve(ho),r=ee(()=>e.route||o.value),s=ve(Ir,0),a=ee(()=>{let u=Q(s);const{matched:l}=r.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),i=ee(()=>r.value.matched[a.value]);Ft(Ir,ee(()=>a.value+1)),Ft(nf,i),Ft(ho,r);const c=_e();return qe(()=>[c.value,i.value,e.name],([u,l,f],[d,g,E])=>{l&&(l.instances[f]=u,g&&g!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=g.leaveGuards),l.updateGuards.size||(l.updateGuards=g.updateGuards))),u&&l&&(!g||!vt(l,g)||!d)&&(l.enterCallbacks[f]||[]).forEach(L=>L(u))},{flush:"post"}),()=>{const u=r.value,l=e.name,f=i.value,d=f&&f.components[l];if(!d)return xr(n.default,{Component:d,route:u});const g=f.props[l],E=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Ie(d,G({},E,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return xr(n.default,{Component:b,route:u})||b}}});function xr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const La=lf;function uf(e){const t=$u(e.routes,e),n=e.parseQuery||ef,o=e.stringifyQuery||Nr,r=e.history,s=Mt(),a=Mt(),i=Mt(),c=Vt(Se);let u=Se;_t&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Bn.bind(null,T=>""+T),f=Bn.bind(null,Zu),d=Bn.bind(null,_n);function g(T,A){let N,$;return da(T)?(N=t.getRecordMatcher(T),$=A):$=T,t.addRoute($,N)}function E(T){const A=t.getRecordMatcher(T);A&&t.removeRoute(A)}function L(){return t.getRoutes().map(T=>T.record)}function b(T){return!!t.getRecordMatcher(T)}function p(T,A){if(A=G({},A||c.value),typeof T=="string"){const m=Wn(n,T,A.path),v=t.resolve({path:m.path},A),I=r.createHref(m.fullPath);return G(m,v,{params:d(v.params),hash:_n(m.hash),redirectedFrom:void 0,href:I})}let N;if("path"in T)N=G({},T,{path:Wn(n,T.path,A.path).path});else{const m=G({},T.params);for(const v in m)m[v]==null&&delete m[v];N=G({},T,{params:f(m)}),A.params=f(A.params)}const $=t.resolve(N,A),V=T.hash||"";$.params=l(d($.params));const J=du(o,G({},T,{hash:zu(V),path:$.path})),h=r.createHref(J);return G({fullPath:J,hash:V,query:o===Nr?tf(T.query):T.query||{}},$,{redirectedFrom:void 0,href:h})}function _(T){return typeof T=="string"?Wn(n,T,c.value.path):G({},T)}function R(T,A){if(u!==T)return bt(8,{from:A,to:T})}function y(T){return C(T)}function P(T){return y(G(_(T),{replace:!0}))}function S(T){const A=T.matched[T.matched.length-1];if(A&&A.redirect){const{redirect:N}=A;let $=typeof N=="function"?N(T):N;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=_($):{path:$},$.params={}),G({query:T.query,hash:T.hash,params:"path"in $?{}:T.params},$)}}function C(T,A){const N=u=p(T),$=c.value,V=T.state,J=T.force,h=T.replace===!0,m=S(N);if(m)return C(G(_(m),{state:typeof m=="object"?G({},V,m.state):V,force:J,replace:h}),A||N);const v=N;v.redirectedFrom=A;let I;return!J&&pu(o,$,N)&&(I=bt(16,{to:v,from:$}),ht($,$,!0,!1)),(I?Promise.resolve(I):ae(v,$)).catch(M=>xe(M)?xe(M,2)?M:Ve(M):Ae(M,v,$)).then(M=>{if(M){if(xe(M,2))return C(G({replace:h},_(M.to),{state:typeof M.to=="object"?G({},V,M.to.state):V,force:J}),A||v)}else M=k(v,$,!0,h,V);return fe(v,$,M),M})}function j(T,A){const N=R(T,A);return N?Promise.reject(N):Promise.resolve()}function X(T){const A=De.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(T):T()}function ae(T,A){let N;const[$,V,J]=ff(T,A);N=Kn($.reverse(),"beforeRouteLeave",T,A);for(const m of $)m.leaveGuards.forEach(v=>{N.push(Ge(v,T,A))});const h=j.bind(null,T,A);return N.push(h),Re(N).then(()=>{N=[];for(const m of s.list())N.push(Ge(m,T,A));return N.push(h),Re(N)}).then(()=>{N=Kn(V,"beforeRouteUpdate",T,A);for(const m of V)m.updateGuards.forEach(v=>{N.push(Ge(v,T,A))});return N.push(h),Re(N)}).then(()=>{N=[];for(const m of J)if(m.beforeEnter)if(Te(m.beforeEnter))for(const v of m.beforeEnter)N.push(Ge(v,T,A));else N.push(Ge(m.beforeEnter,T,A));return N.push(h),Re(N)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),N=Kn(J,"beforeRouteEnter",T,A),N.push(h),Re(N))).then(()=>{N=[];for(const m of a.list())N.push(Ge(m,T,A));return N.push(h),Re(N)}).catch(m=>xe(m,8)?m:Promise.reject(m))}function fe(T,A,N){i.list().forEach($=>X(()=>$(T,A,N)))}function k(T,A,N,$,V){const J=R(T,A);if(J)return J;const h=A===Se,m=_t?history.state:{};N&&($||h?r.replace(T.fullPath,G({scroll:h&&m&&m.scroll},V)):r.push(T.fullPath,V)),c.value=T,ht(T,A,N,h),Ve()}let x;function Y(){x||(x=r.listen((T,A,N)=>{if(!Dt.listening)return;const $=p(T),V=S($);if(V){C(G(V,{replace:!0}),$).catch(Ut);return}u=$;const J=c.value;_t&&vu(wr(J.fullPath,N.delta),Sn()),ae($,J).catch(h=>xe(h,12)?h:xe(h,2)?(C(h.to,$).then(m=>{xe(m,20)&&!N.delta&&N.type===Wt.pop&&r.go(-1,!1)}).catch(Ut),Promise.reject()):(N.delta&&r.go(-N.delta,!1),Ae(h,$,J))).then(h=>{h=h||k($,J,!1),h&&(N.delta&&!xe(h,8)?r.go(-N.delta,!1):N.type===Wt.pop&&xe(h,20)&&r.go(-1,!1)),fe($,J,h)}).catch(Ut)}))}let se=Mt(),oe=Mt(),Ee;function Ae(T,A,N){Ve(T);const $=oe.list();return $.length?$.forEach(V=>V(T,A,N)):console.error(T),Promise.reject(T)}function pe(){return Ee&&c.value!==Se?Promise.resolve():new Promise((T,A)=>{se.add([T,A])})}function Ve(T){return Ee||(Ee=!T,Y(),se.list().forEach(([A,N])=>T?N(T):A()),se.reset()),T}function ht(T,A,N,$){const{scrollBehavior:V}=e;if(!_t||!V)return Promise.resolve();const J=!N&&bu(wr(T.fullPath,0))||($||!N)&&history.state&&history.state.scroll||null;return Ot().then(()=>V(T,A,J)).then(h=>h&&Lu(h)).catch(h=>Ae(h,T,A))}const Ze=T=>r.go(T);let et;const De=new Set,Dt={currentRoute:c,listening:!0,addRoute:g,removeRoute:E,hasRoute:b,getRoutes:L,resolve:p,options:e,push:y,replace:P,go:Ze,back:()=>Ze(-1),forward:()=>Ze(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:oe.add,isReady:pe,install(T){const A=this;T.component("RouterLink",sf),T.component("RouterView",La),T.config.globalProperties.$router=A,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(c)}),_t&&!et&&c.value===Se&&(et=!0,y(r.location).catch(V=>{}));const N={};for(const V in Se)Object.defineProperty(N,V,{get:()=>c.value[V],enumerable:!0});T.provide(On,A),T.provide(Vo,Tn(N)),T.provide(ho,c);const $=T.unmount;De.add(T),T.unmount=function(){De.delete(T),De.size<1&&(u=Se,x&&x(),x=null,c.value=Se,et=!1,Ee=!1),$()}}};function Re(T){return T.reduce((A,N)=>A.then(()=>X(N)),Promise.resolve())}return Dt}function ff(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;avt(u,i))?o.push(i):n.push(i));const c=e.matched[a];c&&(t.matched.find(u=>vt(u,c))||r.push(c))}return[n,o,r]}function df(){return ve(On)}function pf(){return ve(Vo)}const $r=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>F(()=>import("./index.c1a03e99.js").then(e=>e.a2),["./index.c1a03e99.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./Icon.241d7e64.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.70b94723.js","./ContentRendererMarkdown.vue.ac44211b.js","./index.b0fe9fac.js","./preview.cf1a2dd4.js","./query.a51a821d.js","./index.46187f31.css"],import.meta.url).then(e=>e.default||e)}],hf=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?Ie(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Fr(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function mf(e,t){return e===t?!1:Fr(e)!==Fr(t)?!0:!e.matched.every((o,r)=>{var s,a;return o.components&&o.components.default===((a=(s=t.matched[r])==null?void 0:s.components)==null?void 0:a.default)})}const gf={scrollBehavior(e,t,n){var u;const o=te(),r=((u=je().options)==null?void 0:u.scrollBehaviorType)??"auto";let s=n||void 0;const a=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&a!==!1&&mf(e,t)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Ur(e.hash),behavior:r}}const i=l=>!!(l.meta.pageTransition??uo),c=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(l=>{o.hooks.hookOnce(c,async()=>{await Ot(),e.hash&&(s={el:e.hash,top:Ur(e.hash),behavior:r}),l(s)})})}};function Ur(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const _f={hashMode:!1,scrollBehaviorType:"auto"},he={..._f,...gf},yf=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const o=te(),r=je();if(([t,n]=Xe(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=Uo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),i=r.beforeResolve(u=>{if(i(),u===e){const l=r.afterEach(async()=>{l(),await o.runWithContext(()=>Et(a)),window.history.pushState({},"",e.fullPath)});return!1}})},Ef=async e=>{let t,n;const o=([t,n]=Xe(()=>aa(e.path)),t=await t,n(),t);if(o.redirect)return o.redirect},Lf=[yf,Ef],jt={};function vf(e,t,n){const{pathname:o,search:r,hash:s}=t,a=e.indexOf("#");if(a>-1){const u=s.includes(e.slice(a))?e.slice(a).length:1;let l=s.slice(u);return l[0]!=="/"&&(l="/"+l),sr(l,"")}const i=sr(o,e),c=!n||eo(i,n,{trailingSlash:!0})?i:n;return c+(c.includes("?")?"":r)+s}const bf=we({name:"nuxt:router",enforce:"pre",async setup(e){var L,b;let t,n,o=$o().app.baseURL;he.hashMode&&!o.includes("#")&&(o+="#");const r=((L=he.history)==null?void 0:L.call(he,o))??(he.hashMode?Ru(o):fa(o)),s=((b=he.routes)==null?void 0:b.call(he,$r))??$r;let a;const i=vf(o,window.location,e.payload.path),c=uf({...he,scrollBehavior:(p,_,R)=>{var y;if(_===Se){a=R;return}return c.options.scrollBehavior=he.scrollBehavior,(y=he.scrollBehavior)==null?void 0:y.call(he,p,Se,a||R)},history:r,routes:s});e.vueApp.use(c);const u=Vt(c.currentRoute.value);c.afterEach((p,_)=>{u.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=Vt(c.resolve(i)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((p,_)=>{var R,y,P,S;((y=(R=p.matched[0])==null?void 0:R.components)==null?void 0:y.default)===((S=(P=_.matched[0])==null?void 0:P.components)==null?void 0:S.default)&&f()});const d={};for(const p in l.value)Object.defineProperty(d,p,{get:()=>l.value[p]});e._route=Tn(d),e._middleware=e._middleware||{global:[],named:{}};const g=Cn();try{[t,n]=Xe(()=>c.isReady()),await t,n()}catch(p){[t,n]=Xe(()=>e.runWithContext(()=>Et(p))),await t,n()}const E=e.payload.state._layout;return c.beforeEach(async(p,_)=>{var R;p.meta=it(p.meta),e.isHydrating&&E&&!_i(p.meta.layout)&&(p.meta.layout=E),e._processingMiddleware=!0;{const y=new Set([...Lf,...e._middleware.global]);for(const P of p.matched){const S=P.meta.middleware;if(S)if(Array.isArray(S))for(const C of S)y.add(C);else y.add(S)}for(const P of y){const S=typeof P=="string"?e._middleware.named[P]||await((R=jt[P])==null?void 0:R.call(jt).then(j=>j.default||j)):P;if(!S)throw new Error(`Unknown route middleware: '${P}'.`);const C=await e.runWithContext(()=>S(p,_));if(!e.payload.serverRendered&&e.isHydrating&&(C===!1||C instanceof Error)){const j=C||co({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await e.runWithContext(()=>Et(j)),!1}if(C!==!0&&(C||C===!1))return C}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(p,_,R)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Kl),p.matched.length===0&&await e.runWithContext(()=>Et(co({statusCode:404,fatal:!1,statusMessage:`Page not found: ${p.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(i),name:void 0,force:!0}),c.options.scrollBehavior=he.scrollBehavior}catch(p){await e.runWithContext(()=>Et(p))}}),{provide:{router:c}}}}),Hr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),pg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),va=e=>{const t=te();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Hr(e)}):Hr(e)},wf=we({name:"nuxt:payload",setup(e){je().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await yr(t.path);o&&Object.assign(e.static.data,o.data)}),va(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Pn(n).protocol||await yr(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(kn,1e3)})}}),Tf=U(()=>F(()=>import("./ContentDoc.49b49a30.js"),["./ContentDoc.49b49a30.js","./vue.f36acd1f.b36361a4.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./ContentRenderer.70b94723.js","./ContentRendererMarkdown.vue.ac44211b.js","./index.b0fe9fac.js","./preview.cf1a2dd4.js","./ContentQuery.b451cd08.js","./query.a51a821d.js"],import.meta.url).then(e=>e.default)),Pf=U(()=>F(()=>import("./ContentList.4ca3fc71.js"),["./ContentList.4ca3fc71.js","./ContentQuery.b451cd08.js","./query.a51a821d.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./preview.cf1a2dd4.js"],import.meta.url).then(e=>e.default)),Rf=U(()=>F(()=>import("./ContentNavigation.e40dfa19.js"),["./ContentNavigation.e40dfa19.js","./query.a51a821d.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./preview.cf1a2dd4.js","./nuxt-link.3d9cb505.js"],import.meta.url).then(e=>e.default)),Cf=U(()=>F(()=>import("./ContentQuery.b451cd08.js"),["./ContentQuery.b451cd08.js","./query.a51a821d.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./preview.cf1a2dd4.js"],import.meta.url).then(e=>e.default)),kf=U(()=>F(()=>import("./ContentRenderer.70b94723.js"),["./ContentRenderer.70b94723.js","./ContentRendererMarkdown.vue.ac44211b.js","./index.b0fe9fac.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./preview.cf1a2dd4.js"],import.meta.url).then(e=>e.default)),Sf=U(()=>F(()=>import("./ContentRendererMarkdown.505461da.js"),["./ContentRendererMarkdown.505461da.js","./ContentRendererMarkdown.vue.ac44211b.js","./index.b0fe9fac.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./preview.cf1a2dd4.js"],import.meta.url).then(e=>e.default)),Of=U(()=>F(()=>import("./ContentSlot.9f3c3cef.js"),["./ContentSlot.9f3c3cef.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Nf=U(()=>F(()=>import("./DocumentDrivenEmpty.290a3e5f.js"),["./DocumentDrivenEmpty.290a3e5f.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),If=U(()=>F(()=>import("./DocumentDrivenNotFound.82e1b177.js"),["./DocumentDrivenNotFound.82e1b177.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Af=U(()=>F(()=>import("./Markdown.b2be075c.js"),["./Markdown.b2be075c.js","./ContentSlot.9f3c3cef.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Df=U(()=>F(()=>import("./ProseCode.57541367.js"),["./ProseCode.57541367.js","./ProseCode.vue.4961c4c0.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),Mf=U(()=>F(()=>import("./ProseCodeInline.0c25bb5f.js"),["./ProseCodeInline.0c25bb5f.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),xf=U(()=>F(()=>import("./ProsePre.289de050.js"),["./ProsePre.289de050.js","./ProseCode.vue.4961c4c0.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),$f=U(()=>F(()=>import("./ProseA.33f5dd64.js"),["./ProseA.33f5dd64.js","./nuxt-link.3d9cb505.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Ff=U(()=>F(()=>import("./ProseBlockquote.6058647e.js"),["./ProseBlockquote.6058647e.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Uf=U(()=>F(()=>import("./ProseEm.130fe4d1.js"),["./ProseEm.130fe4d1.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Hf=U(()=>F(()=>import("./ProseH1.20fd64d4.js"),["./ProseH1.20fd64d4.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),jf=U(()=>F(()=>import("./ProseH2.c841546c.js"),["./ProseH2.c841546c.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Vf=U(()=>F(()=>import("./ProseH3.37f651bd.js"),["./ProseH3.37f651bd.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Bf=U(()=>F(()=>import("./ProseH4.bd72d236.js"),["./ProseH4.bd72d236.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Wf=U(()=>F(()=>import("./ProseH5.f4f32949.js"),["./ProseH5.f4f32949.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Kf=U(()=>F(()=>import("./ProseH6.50e10a18.js"),["./ProseH6.50e10a18.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Gf=U(()=>F(()=>import("./ProseHr.89189b7e.js"),["./ProseHr.89189b7e.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Xf=U(()=>F(()=>import("./ProseImg.91bac4f5.js"),["./ProseImg.91bac4f5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Yf=U(()=>F(()=>import("./ProseLi.5da4d240.js"),["./ProseLi.5da4d240.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),qf=U(()=>F(()=>import("./ProseOl.4fec9392.js"),["./ProseOl.4fec9392.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),zf=U(()=>F(()=>import("./ProseP.ab00b995.js"),["./ProseP.ab00b995.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Qf=U(()=>F(()=>import("./ProseScript.7a29763b.js"),["./ProseScript.7a29763b.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Jf=U(()=>F(()=>import("./ProseStrong.8610d004.js"),["./ProseStrong.8610d004.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),Zf=U(()=>F(()=>import("./ProseTable.502190f4.js"),["./ProseTable.502190f4.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ed=U(()=>F(()=>import("./ProseTbody.9df31f6e.js"),["./ProseTbody.9df31f6e.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),td=U(()=>F(()=>import("./ProseTd.86910897.js"),["./ProseTd.86910897.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),nd=U(()=>F(()=>import("./ProseTh.b8d62c8c.js"),["./ProseTh.b8d62c8c.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),od=U(()=>F(()=>import("./ProseThead.b07ec9b2.js"),["./ProseThead.b07ec9b2.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),rd=U(()=>F(()=>import("./ProseTr.3f777600.js"),["./ProseTr.3f777600.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),sd=U(()=>F(()=>import("./ProseUl.13184a59.js"),["./ProseUl.13184a59.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css"],import.meta.url).then(e=>e.default)),ad=U(()=>F(()=>import("./Icon.241d7e64.js"),["./Icon.241d7e64.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./Icon.cf693866.css"],import.meta.url).then(e=>e.default)),id=U(()=>F(()=>import("./IconCSS.9db64ea4.js"),["./IconCSS.9db64ea4.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./index.b8fe2cb5.js","./IconCSS.3544dd2a.css"],import.meta.url).then(e=>e.default)),cd=[["ContentDoc",Tf],["ContentList",Pf],["ContentNavigation",Rf],["ContentQuery",Cf],["ContentRenderer",kf],["ContentRendererMarkdown",Sf],["MDCSlot",Of],["DocumentDrivenEmpty",Nf],["DocumentDrivenNotFound",If],["Markdown",Af],["ProseCode",Df],["ProseCodeInline",Mf],["ProsePre",xf],["ProseA",$f],["ProseBlockquote",Ff],["ProseEm",Uf],["ProseH1",Hf],["ProseH2",jf],["ProseH3",Vf],["ProseH4",Bf],["ProseH5",Wf],["ProseH6",Kf],["ProseHr",Gf],["ProseImg",Xf],["ProseLi",Yf],["ProseOl",qf],["ProseP",zf],["ProseScript",Qf],["ProseStrong",Jf],["ProseTable",Zf],["ProseTbody",ed],["ProseTd",td],["ProseTh",nd],["ProseThead",od],["ProseTr",rd],["ProseUl",sd],["Icon",ad],["IconCSS",id]],ld=we({name:"nuxt:global-components",setup(e){for(const[t,n]of cd)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),sn={},ud=we({name:"nuxt:prefetch",setup(e){const t=je();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof sn[o]=="function"&&await sn[o]()})}),e.hooks.hook("link:prefetch",n=>{var a,i,c,u;if(ut(n))return;const o=t.resolve(n);if(!o)return;const r=(a=o==null?void 0:o.meta)==null?void 0:a.layout;let s=Array.isArray((i=o==null?void 0:o.meta)==null?void 0:i.middleware)?(c=o==null?void 0:o.meta)==null?void 0:c.middleware:[(u=o==null?void 0:o.meta)==null?void 0:u.middleware];s=s.filter(l=>typeof l=="string");for(const l of s)typeof jt[l]=="function"&&jt[l]();r&&typeof sn[r]=="function"&&sn[r]()})}}),fd=we(()=>{});/*! + * shared v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const mo=typeof window<"u",Qe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),dd=(e,t,n)=>pd({l:e,k:t,s:n}),pd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),le=e=>typeof e=="number"&&isFinite(e),hd=e=>wa(e)==="[object Date]",yn=e=>wa(e)==="[object RegExp]",Nn=e=>H(e)&&Object.keys(e).length===0,ue=Object.assign;let jr;const Bo=()=>jr||(jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const md=Object.prototype.hasOwnProperty;function Kt(e,t){return md.call(e,t)}const re=Array.isArray,z=e=>typeof e=="function",D=e=>typeof e=="string",Z=e=>typeof e=="boolean",B=e=>e!==null&&typeof e=="object",gd=e=>B(e)&&z(e.then)&&z(e.catch),ba=Object.prototype.toString,wa=e=>ba.call(e),H=e=>{if(!B(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_d=e=>e==null?"":re(e)||H(e)&&e.toString===ba?JSON.stringify(e,null,2):String(e);function Wo(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function Ko(e){let t=e;return()=>++t}function yd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const an=e=>!B(e)||re(e);function Ye(e,t){if(an(e)||an(t))throw new Error("Invalid value");for(const n in e)Kt(e,n)&&(an(e[n])||an(t[n])?t[n]=e[n]:Ye(e[n],t[n]))}/*! + * message-compiler v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function Ed(e,t,n){return{line:e,column:t,offset:n}}function go(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const K={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function In(e,t,n={}){const{domain:o,messages:r,args:s}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=o,i}function Ld(e){throw e}const $e=" ",vd="\r",de=` +`,bd=String.fromCharCode(8232),wd=String.fromCharCode(8233);function Td(e){const t=e;let n=0,o=1,r=1,s=0;const a=C=>t[C]===vd&&t[C+1]===de,i=C=>t[C]===de,c=C=>t[C]===wd,u=C=>t[C]===bd,l=C=>a(C)||i(C)||c(C)||u(C),f=()=>n,d=()=>o,g=()=>r,E=()=>s,L=C=>a(C)||c(C)||u(C)?de:t[C],b=()=>L(n),p=()=>L(n+s);function _(){return s=0,l(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function R(){return a(n+s)&&s++,s++,t[n+s]}function y(){n=0,o=1,r=1,s=0}function P(C=0){s=C}function S(){const C=n+s;for(;C!==n;)_();s=0}return{index:f,line:d,column:g,peekOffset:E,charAt:L,currentChar:b,currentPeek:p,next:_,peek:R,reset:y,resetPeek:P,skipToPeek:S}}const We=void 0,Pd=".",Br="'",Rd="tokenizer";function Cd(e,t={}){const n=t.location!==!1,o=Td(e),r=()=>o.index(),s=()=>Ed(o.line(),o.column(),o.index()),a=s(),i=r(),c={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function f(h,m,v,...I){const M=u();if(m.column+=v,m.offset+=v,l){const W=n?go(M.startLoc,m):null,Ce=In(h,W,{domain:Rd,args:I});l(Ce)}}function d(h,m,v){h.endLoc=s(),h.currentType=m;const I={type:m};return n&&(I.loc=go(h.startLoc,h.endLoc)),v!=null&&(I.value=v),I}const g=h=>d(h,14);function E(h,m){return h.currentChar()===m?(h.next(),m):(f(K.EXPECTED_TOKEN,s(),0,m),"")}function L(h){let m="";for(;h.currentPeek()===$e||h.currentPeek()===de;)m+=h.currentPeek(),h.peek();return m}function b(h){const m=L(h);return h.skipToPeek(),m}function p(h){if(h===We)return!1;const m=h.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function _(h){if(h===We)return!1;const m=h.charCodeAt(0);return m>=48&&m<=57}function R(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function y(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()==="-"?h.peek():h.currentPeek(),M=_(I);return h.resetPeek(),M}function P(h,m){const{currentType:v}=m;if(v!==2)return!1;L(h);const I=h.currentPeek()===Br;return h.resetPeek(),I}function S(h,m){const{currentType:v}=m;if(v!==8)return!1;L(h);const I=h.currentPeek()===".";return h.resetPeek(),I}function C(h,m){const{currentType:v}=m;if(v!==9)return!1;L(h);const I=p(h.currentPeek());return h.resetPeek(),I}function j(h,m){const{currentType:v}=m;if(!(v===8||v===12))return!1;L(h);const I=h.currentPeek()===":";return h.resetPeek(),I}function X(h,m){const{currentType:v}=m;if(v!==10)return!1;const I=()=>{const W=h.currentPeek();return W==="{"?p(h.peek()):W==="@"||W==="%"||W==="|"||W===":"||W==="."||W===$e||!W?!1:W===de?(h.peek(),I()):p(W)},M=I();return h.resetPeek(),M}function ae(h){L(h);const m=h.currentPeek()==="|";return h.resetPeek(),m}function fe(h){const m=L(h),v=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:v,hasSpace:m.length>0}}function k(h,m=!0){const v=(M=!1,W="",Ce=!1)=>{const Me=h.currentPeek();return Me==="{"?W==="%"?!1:M:Me==="@"||!Me?W==="%"?!0:M:Me==="%"?(h.peek(),v(M,"%",!0)):Me==="|"?W==="%"||Ce?!0:!(W===$e||W===de):Me===$e?(h.peek(),v(!0,$e,Ce)):Me===de?(h.peek(),v(!0,de,Ce)):!0},I=v();return m&&h.resetPeek(),I}function x(h,m){const v=h.currentChar();return v===We?We:m(v)?(h.next(),v):null}function Y(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36})}function se(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57})}function oe(h){return x(h,v=>{const I=v.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102})}function Ee(h){let m="",v="";for(;m=se(h);)v+=m;return v}function Ae(h){b(h);const m=h.currentChar();return m!=="%"&&f(K.EXPECTED_TOKEN,s(),0,m),h.next(),"%"}function pe(h){let m="";for(;;){const v=h.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(k(h))m+=v,h.next();else break;else if(v===$e||v===de)if(k(h))m+=v,h.next();else{if(ae(h))break;m+=v,h.next()}else m+=v,h.next()}return m}function Ve(h){b(h);let m="",v="";for(;m=Y(h);)v+=m;return h.currentChar()===We&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v}function ht(h){b(h);let m="";return h.currentChar()==="-"?(h.next(),m+=`-${Ee(h)}`):m+=Ee(h),h.currentChar()===We&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),m}function Ze(h){b(h),E(h,"'");let m="",v="";const I=W=>W!==Br&&W!==de;for(;m=x(h,I);)m==="\\"?v+=et(h):v+=m;const M=h.currentChar();return M===de||M===We?(f(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),M===de&&(h.next(),E(h,"'")),v):(E(h,"'"),v)}function et(h){const m=h.currentChar();switch(m){case"\\":case"'":return h.next(),`\\${m}`;case"u":return De(h,m,4);case"U":return De(h,m,6);default:return f(K.UNKNOWN_ESCAPE_SEQUENCE,s(),0,m),""}}function De(h,m,v){E(h,m);let I="";for(let M=0;MM!=="{"&&M!=="}"&&M!==$e&&M!==de;for(;m=x(h,I);)v+=m;return v}function Re(h){let m="",v="";for(;m=Y(h);)v+=m;return v}function T(h){const m=(v=!1,I)=>{const M=h.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===$e?I:M===de||M===Pd?(I+=M,h.next(),m(v,I)):(I+=M,h.next(),m(!0,I))};return m(!1,"")}function A(h){b(h);const m=E(h,"|");return b(h),m}function N(h,m){let v=null;switch(h.currentChar()){case"{":return m.braceNest>=1&&f(K.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),h.next(),v=d(m,2,"{"),b(h),m.braceNest++,v;case"}":return m.braceNest>0&&m.currentType===2&&f(K.EMPTY_PLACEHOLDER,s(),0),h.next(),v=d(m,3,"}"),m.braceNest--,m.braceNest>0&&b(h),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),v;case"@":return m.braceNest>0&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v=$(h,m)||g(m),m.braceNest=0,v;default:let M=!0,W=!0,Ce=!0;if(ae(h))return m.braceNest>0&&f(K.UNTERMINATED_CLOSING_BRACE,s(),0),v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(K.UNTERMINATED_CLOSING_BRACE,s(),0),m.braceNest=0,V(h,m);if(M=R(h,m))return v=d(m,5,Ve(h)),b(h),v;if(W=y(h,m))return v=d(m,6,ht(h)),b(h),v;if(Ce=P(h,m))return v=d(m,7,Ze(h)),b(h),v;if(!M&&!W&&!Ce)return v=d(m,13,Dt(h)),f(K.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,v.value),b(h),v;break}return v}function $(h,m){const{currentType:v}=m;let I=null;const M=h.currentChar();switch((v===8||v===9||v===12||v===10)&&(M===de||M===$e)&&f(K.INVALID_LINKED_FORMAT,s(),0),M){case"@":return h.next(),I=d(m,8,"@"),m.inLinked=!0,I;case".":return b(h),h.next(),d(m,9,".");case":":return b(h),h.next(),d(m,10,":");default:return ae(h)?(I=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,I):S(h,m)||j(h,m)?(b(h),$(h,m)):C(h,m)?(b(h),d(m,12,Re(h))):X(h,m)?(b(h),M==="{"?N(h,m)||I:d(m,11,T(h))):(v===8&&f(K.INVALID_LINKED_FORMAT,s(),0),m.braceNest=0,m.inLinked=!1,V(h,m))}}function V(h,m){let v={type:14};if(m.braceNest>0)return N(h,m)||g(m);if(m.inLinked)return $(h,m)||g(m);switch(h.currentChar()){case"{":return N(h,m)||g(m);case"}":return f(K.UNBALANCED_CLOSING_BRACE,s(),0),h.next(),d(m,3,"}");case"@":return $(h,m)||g(m);default:if(ae(h))return v=d(m,1,A(h)),m.braceNest=0,m.inLinked=!1,v;const{isModulo:M,hasSpace:W}=fe(h);if(M)return W?d(m,0,pe(h)):d(m,4,Ae(h));if(k(h))return d(m,0,pe(h));break}return v}function J(){const{currentType:h,offset:m,startLoc:v,endLoc:I}=c;return c.lastType=h,c.lastOffset=m,c.lastStartLoc=v,c.lastEndLoc=I,c.offset=r(),c.startLoc=s(),o.currentChar()===We?d(c,14):V(o,c)}return{nextToken:J,currentOffset:r,currentPosition:s,context:u}}const kd="parser",Sd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Od(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function Nd(e={}){const t=e.location!==!1,{onError:n}=e;function o(p,_,R,y,...P){const S=p.currentPosition();if(S.offset+=y,S.column+=y,n){const C=t?go(R,S):null,j=In(_,C,{domain:kd,args:P});n(j)}}function r(p,_,R){const y={type:p};return t&&(y.start=_,y.end=_,y.loc={start:R,end:R}),y}function s(p,_,R,y){y&&(p.type=y),t&&(p.end=_,p.loc&&(p.loc.end=R))}function a(p,_){const R=p.context(),y=r(3,R.offset,R.startLoc);return y.value=_,s(y,p.currentOffset(),p.currentPosition()),y}function i(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(5,y,P);return S.index=parseInt(_,10),p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function c(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(4,y,P);return S.key=_,p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function u(p,_){const R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(9,y,P);return S.value=_.replace(Sd,Od),p.nextToken(),s(S,p.currentOffset(),p.currentPosition()),S}function l(p){const _=p.nextToken(),R=p.context(),{lastOffset:y,lastStartLoc:P}=R,S=r(8,y,P);return _.type!==12?(o(p,K.UNEXPECTED_EMPTY_LINKED_MODIFIER,R.lastStartLoc,0),S.value="",s(S,y,P),{nextConsumeToken:_,node:S}):(_.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,ke(_)),S.value=_.value||"",s(S,p.currentOffset(),p.currentPosition()),{node:S})}function f(p,_){const R=p.context(),y=r(7,R.offset,R.startLoc);return y.value=_,s(y,p.currentOffset(),p.currentPosition()),y}function d(p){const _=p.context(),R=r(6,_.offset,_.startLoc);let y=p.nextToken();if(y.type===9){const P=l(p);R.modifier=P.node,y=P.nextConsumeToken||p.nextToken()}switch(y.type!==10&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),y=p.nextToken(),y.type===2&&(y=p.nextToken()),y.type){case 11:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=f(p,y.value||"");break;case 5:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=c(p,y.value||"");break;case 6:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=i(p,y.value||"");break;case 7:y.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(y)),R.key=u(p,y.value||"");break;default:o(p,K.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const P=p.context(),S=r(7,P.offset,P.startLoc);return S.value="",s(S,P.offset,P.startLoc),R.key=S,s(R,P.offset,P.startLoc),{nextConsumeToken:y,node:R}}return s(R,p.currentOffset(),p.currentPosition()),{node:R}}function g(p){const _=p.context(),R=_.currentType===1?p.currentOffset():_.offset,y=_.currentType===1?_.endLoc:_.startLoc,P=r(2,R,y);P.items=[];let S=null;do{const X=S||p.nextToken();switch(S=null,X.type){case 0:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(a(p,X.value||""));break;case 6:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(i(p,X.value||""));break;case 5:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(c(p,X.value||""));break;case 7:X.value==null&&o(p,K.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ke(X)),P.items.push(u(p,X.value||""));break;case 8:const ae=d(p);P.items.push(ae.node),S=ae.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const C=_.currentType===1?_.lastOffset:p.currentOffset(),j=_.currentType===1?_.lastEndLoc:p.currentPosition();return s(P,C,j),P}function E(p,_,R,y){const P=p.context();let S=y.items.length===0;const C=r(1,_,R);C.cases=[],C.cases.push(y);do{const j=g(p);S||(S=j.items.length===0),C.cases.push(j)}while(P.currentType!==14);return S&&o(p,K.MUST_HAVE_MESSAGES_IN_PLURAL,R,0),s(C,p.currentOffset(),p.currentPosition()),C}function L(p){const _=p.context(),{offset:R,startLoc:y}=_,P=g(p);return _.currentType===14?P:E(p,R,y,P)}function b(p){const _=Cd(p,ue({},e)),R=_.context(),y=r(0,R.offset,R.startLoc);return t&&y.loc&&(y.loc.source=p),y.body=L(_),e.onCacheKey&&(y.cacheKey=e.onCacheKey(p)),R.currentType!==14&&o(_,K.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,p[R.offset]||""),s(y,_.currentOffset(),_.currentPosition()),y}return{parse:b}}function ke(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Id(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Wr(e,t){for(let n=0;nKr(n)),e}function Kr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function u(b,p){i.code+=b}function l(b,p=!0){const _=p?r:"";u(s?_+" ".repeat(b):_)}function f(b=!0){const p=++i.indentLevel;b&&l(p)}function d(b=!0){const p=--i.indentLevel;b&&l(p)}function g(){l(i.indentLevel)}return{context:c,push:u,indent:f,deindent:d,newline:g,helper:b=>`_${b}`,needIndent:()=>i.needIndent}}function xd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wt(e,t.key),t.modifier?(e.push(", "),wt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $d(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let s=0;s{const n=D(t.mode)?t.mode:"normal",o=D(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],c=Md(e,{mode:n,filename:o,sourceMap:r,breakLineCode:s,needIndent:a});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),i.length>0&&(c.push(`const { ${Wo(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),c.newline()),c.push("return "),wt(c,e),c.deindent(a),c.push("}"),delete e.helpers;const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function jd(e,t={}){const n=ue({},t),o=!!n.jit,r=!!n.minify,s=n.optimize==null?!0:n.optimize,i=Nd(n).parse(e);return o?(s&&Dd(i),r&&yt(i),{ast:i,code:""}):(Ad(i,n),Hd(i,n))}/*! + * core-base v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function Vd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Bo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Je=[];Je[0]={w:[0],i:[3,0],"[":[4],o:[7]};Je[1]={w:[1],".":[2],"[":[4],o:[7]};Je[2]={w:[2],i:[3,0],0:[3,0]};Je[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Je[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Je[5]={"'":[4,0],o:8,l:[5,0]};Je[6]={'"':[4,0],o:8,l:[6,0]};const Bd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Wd(e){return Bd.test(e)}function Kd(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Gd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Xd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Wd(t)?Kd(t):"*"+t}function Yd(e){const t=[];let n=-1,o=0,r=0,s,a,i,c,u,l,f;const d=[];d[0]=()=>{a===void 0?a=i:a+=i},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,o=4,d[0]();else{if(r=0,a===void 0||(a=Xd(a),a===!1))return!1;d[1]()}};function g(){const E=e[n+1];if(o===5&&E==="'"||o===6&&E==='"')return n++,i="\\"+E,d[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(c=Gd(s),f=Je[o],u=f[c]||f.l||8,u===8||(o=u[0],u[1]!==void 0&&(l=d[u[1]],l&&(i=s,l()===!1))))return;if(o===7)return t}}const Gr=new Map;function qd(e,t){return B(e)?e[t]:null}function zd(e,t){if(!B(e))return null;let n=Gr.get(t);if(n||(n=Yd(t),n&&Gr.set(t,n)),!n)return null;const o=n.length;let r=e,s=0;for(;se,Jd=e=>"",Zd="text",ep=e=>e.length===0?"":Wo(e),tp=_d;function Xr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function np(e){const t=le(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(le(e.named.count)||le(e.named.n))?le(e.named.count)?e.named.count:le(e.named.n)?e.named.n:t:t}function op(e,t){t.count||(t.count=e),t.n||(t.n=e)}function rp(e={}){const t=e.locale,n=np(e),o=B(e.pluralRules)&&D(t)&&z(e.pluralRules[t])?e.pluralRules[t]:Xr,r=B(e.pluralRules)&&D(t)&&z(e.pluralRules[t])?Xr:void 0,s=p=>p[o(n,p.length,r)],a=e.list||[],i=p=>a[p],c=e.named||{};le(e.pluralIndex)&&op(n,c);const u=p=>c[p];function l(p){const _=z(e.messages)?e.messages(p):B(e.messages)?e.messages[p]:!1;return _||(e.parent?e.parent.message(p):Jd)}const f=p=>e.modifiers?e.modifiers[p]:Qd,d=H(e.processor)&&z(e.processor.normalize)?e.processor.normalize:ep,g=H(e.processor)&&z(e.processor.interpolate)?e.processor.interpolate:tp,E=H(e.processor)&&D(e.processor.type)?e.processor.type:Zd,b={list:i,named:u,plural:s,linked:(p,..._)=>{const[R,y]=_;let P="text",S="";_.length===1?B(R)?(S=R.modifier||S,P=R.type||P):D(R)&&(S=R||S):_.length===2&&(D(R)&&(S=R||S),D(y)&&(P=y||P));const C=l(p)(b),j=P==="vnode"&&re(C)&&S?C[0]:C;return S?f(S)(j,P):j},message:l,type:E,interpolate:g,normalize:d,values:ue({},a,c)};return b}let Gt=null;function sp(e){Gt=e}function ap(e,t,n){Gt&&Gt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ip=cp("function:translate");function cp(e){return t=>Gt&&Gt.emit(e,t)}const lp={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ta=K.__EXTEND_POINT__,nt=Ko(Ta),Ne={INVALID_ARGUMENT:Ta,INVALID_DATE_ARGUMENT:nt(),INVALID_ISO_DATE_ARGUMENT:nt(),NOT_SUPPORT_NON_STRING_MESSAGE:nt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:nt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:nt(),NOT_SUPPORT_LOCALE_TYPE:nt(),__EXTEND_POINT__:nt()};function Ue(e){return In(e,null,void 0)}function Xo(e,t){return t.locale!=null?Yr(t.locale):Yr(e.locale)}let Gn;function Yr(e){if(D(e))return e;if(z(e)){if(e.resolvedOnce&&Gn!=null)return Gn;if(e.constructor.name==="Function"){const t=e();if(gd(t))throw Ue(Ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Gn=t}else throw Ue(Ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ue(Ne.NOT_SUPPORT_LOCALE_TYPE)}function up(e,t,n){return[...new Set([n,...re(t)?t:B(t)?Object.keys(t):D(t)?[t]:[n]])]}function Pa(e,t,n){const o=D(n)?n:En,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(o);if(!s){s=[];let a=[n];for(;re(a);)a=qr(s,a,t);const i=re(t)||!H(t)?t:t.default?t.default:null;a=D(i)?[i]:i,re(a)&&qr(s,a,!1),r.__localeChainCache.set(o,s)}return s}function qr(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function hp(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&B(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&B(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?Qr(e):t==="vnode"&&B(e)&&"__v_isVNode"in e?Qr(e.children):e}}let Ra;function mp(e){Ra=e}let Ca;function gp(e){Ca=e}let ka;function _p(e){ka=e}let Sa=null;const yp=e=>{Sa=e},Ep=()=>Sa;let Oa=null;const Jr=e=>{Oa=e},Lp=()=>Oa;let Zr=0;function vp(e={}){const t=z(e.onWarn)?e.onWarn:yd,n=D(e.version)?e.version:pp,o=D(e.locale)||z(e.locale)?e.locale:En,r=z(o)?En:o,s=re(e.fallbackLocale)||H(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=H(e.messages)?e.messages:{[r]:{}},i=H(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},c=H(e.numberFormats)?e.numberFormats:{[r]:{}},u=ue({},e.modifiers||{},hp()),l=e.pluralRules||{},f=z(e.missing)?e.missing:null,d=Z(e.missingWarn)||yn(e.missingWarn)?e.missingWarn:!0,g=Z(e.fallbackWarn)||yn(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,L=!!e.unresolving,b=z(e.postTranslation)?e.postTranslation:null,p=H(e.processor)?e.processor:null,_=Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,R=!!e.escapeParameter,y=z(e.messageCompiler)?e.messageCompiler:Ra,P=z(e.messageResolver)?e.messageResolver:Ca||qd,S=z(e.localeFallbacker)?e.localeFallbacker:ka||up,C=B(e.fallbackContext)?e.fallbackContext:void 0,j=e,X=B(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,ae=B(j.__numberFormatters)?j.__numberFormatters:new Map,fe=B(j.__meta)?j.__meta:{};Zr++;const k={version:n,cid:Zr,locale:o,fallbackLocale:s,messages:a,modifiers:u,pluralRules:l,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:E,unresolving:L,postTranslation:b,processor:p,warnHtmlMessage:_,escapeParameter:R,messageCompiler:y,messageResolver:P,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:fe};return k.datetimeFormats=i,k.numberFormats=c,k.__datetimeFormatters=X,k.__numberFormatters=ae,__INTLIFY_PROD_DEVTOOLS__&&ap(k,n,fe),k}function Yo(e,t,n,o,r){const{missing:s,onWarn:a}=e;if(s!==null){const i=s(e,n,t,r);return D(i)?i:t}else return t}function xt(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Xn(e){return n=>bp(n,e)}function bp(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((s,a)=>[...s,es(e,a)],[]))}else return es(e,n)}function es(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,s)=>[...r,_o(e,s)],[]);return e.normalize(o)}}function _o(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const s=t;return e.interpolate(e.named(s.k||s.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const i=t,c=i.m||i.modifier;return e.linked(_o(e,i.k||i.key),c?_o(e,c):void 0,e.type);case 7:const u=t;return u.v||u.value;case 8:const l=t;return l.v||l.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const wp=e=>e;let cn=Object.create(null);const Tt=e=>B(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Tp(e,t={}){let n=!1;const o=t.onError||Ld;return t.onError=r=>{n=!0,o(r)},{...jd(e,t),detectError:n}}function Pp(e,t){if(D(e)){Z(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||wp)(e),r=cn[o];if(r)return r;const{ast:s,detectError:a}=Tp(e,{...t,location:!1,jit:!0}),i=Xn(s);return a?i:cn[o]=i}else{const n=e.cacheKey;if(n){const o=cn[n];return o||(cn[n]=Xn(e))}else return Xn(e)}}const ts=()=>"",Le=e=>z(e);function ns(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:s,fallbackLocale:a,messages:i}=e,[c,u]=yo(...t),l=Z(u.missingWarn)?u.missingWarn:e.missingWarn,f=Z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Z(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,E=D(u.default)||Z(u.default)?Z(u.default)?s?c:()=>c:u.default:n?s?c:()=>c:"",L=n||E!=="",b=Xo(e,u);d&&Rp(u);let[p,_,R]=g?[c,b,i[b]||{}]:Na(e,c,b,a,f,l),y=p,P=c;if(!g&&!(D(y)||Tt(y)||Le(y))&&L&&(y=E,P=y),!g&&(!(D(y)||Tt(y)||Le(y))||!D(_)))return r?An:c;let S=!1;const C=()=>{S=!0},j=Le(y)?y:Ia(e,c,_,y,P,C);if(S)return y;const X=Sp(e,_,R,u),ae=rp(X),fe=Cp(e,j,ae),k=o?o(fe,c):fe;if(__INTLIFY_PROD_DEVTOOLS__){const x={timestamp:Date.now(),key:D(c)?c:Le(y)?y.key:"",locale:_||(Le(y)?y.locale:""),format:D(y)?y:Le(y)?y.source:"",message:k};x.meta=ue({},e.__meta,Ep()||{}),ip(x)}return k}function Rp(e){re(e.list)?e.list=e.list.map(t=>D(t)?Vr(t):t):B(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=Vr(e.named[t]))})}function Na(e,t,n,o,r,s){const{messages:a,onWarn:i,messageResolver:c,localeFallbacker:u}=e,l=u(e,o,n);let f={},d,g=null;const E="translate";for(let L=0;Lo;return u.locale=n,u.key=t,u}const c=a(o,kp(e,n,r,o,i,s));return c.locale=n,c.key=t,c.source=o,c}function Cp(e,t,n){return t(n)}function yo(...e){const[t,n,o]=e,r={};if(!D(t)&&!le(t)&&!Le(t)&&!Tt(t))throw Ue(Ne.INVALID_ARGUMENT);const s=le(t)?String(t):(Le(t),t);return le(n)?r.plural=n:D(n)?r.default=n:H(n)&&!Nn(n)?r.named=n:re(n)&&(r.list=n),le(o)?r.plural=o:D(o)?r.default=o:H(o)&&ue(r,o),[s,r]}function kp(e,t,n,o,r,s){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw s&&s(a),a},onCacheKey:a=>dd(t,n,a)}}function Sp(e,t,n,o){const{modifiers:r,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:c,missingWarn:u,fallbackContext:l}=e,d={locale:t,modifiers:r,pluralRules:s,messages:g=>{let E=a(n,g);if(E==null&&l){const[,,L]=Na(l,g,t,i,c,u);E=a(L,g)}if(D(E)||Tt(E)){let L=!1;const p=Ia(e,g,t,E,g,()=>{L=!0});return L?ts:p}else return Le(E)?E:ts}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),le(o.plural)&&(d.pluralIndex=o.plural),d}function os(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[c,u,l,f]=Eo(...t),d=Z(l.missingWarn)?l.missingWarn:e.missingWarn;Z(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,E=Xo(e,l),L=a(e,r,E);if(!D(c)||c==="")return new Intl.DateTimeFormat(E,f).format(u);let b={},p,_=null;const R="datetime format";for(let S=0;S{Aa.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:H(o)&&(a=o),H(r)&&(a=r),[s.key||"",i,s,a]}function rs(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function ss(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e,[c,u,l,f]=Lo(...t),d=Z(l.missingWarn)?l.missingWarn:e.missingWarn;Z(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const g=!!l.part,E=Xo(e,l),L=a(e,r,E);if(!D(c)||c==="")return new Intl.NumberFormat(E,f).format(u);let b={},p,_=null;const R="number format";for(let S=0;S{Da.includes(c)?a[c]=n[c]:s[c]=n[c]}),D(o)?s.locale=o:H(o)&&(a=o),H(r)&&(a=r),[s.key||"",i,s,a]}function as(e,t,n){const o=e;for(const r in n){const s=`${t}__${r}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}Vd();/*! + * vue-i18n v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const Op="9.8.0";function Np(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Bo().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ma=lp.__EXTEND_POINT__,Ke=Ko(Ma);Ke(),Ke(),Ke(),Ke(),Ke(),Ke(),Ke(),Ke();const xa=Ne.__EXTEND_POINT__,me=Ko(xa),be={UNEXPECTED_RETURN_TYPE:xa,INVALID_ARGUMENT:me(),MUST_BE_CALL_SETUP_TOP:me(),NOT_INSTALLED:me(),NOT_AVAILABLE_IN_LEGACY_MODE:me(),REQUIRED_VALUE:me(),INVALID_VALUE:me(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:me(),NOT_INSTALLED_WITH_PROVIDE:me(),UNEXPECTED_ERROR:me(),NOT_COMPATIBLE_LEGACY_VUE_I18N:me(),BRIDGE_SUPPORT_VUE_2_ONLY:me(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:me(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:me(),__EXTEND_POINT__:me()};function Pe(e,...t){return In(e,null,void 0)}const vo=Qe("__translateVNode"),bo=Qe("__datetimeParts"),wo=Qe("__numberParts"),Ip=Qe("__setPluralRules"),Ap=Qe("__injectWithOption"),To=Qe("__dispose");function Xt(e){if(!B(e))return e;for(const t in e)if(Kt(e,t))if(!t.includes("."))B(e[t])&&Xt(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,s=!1;for(let a=0;a{if("locale"in i&&"resource"in i){const{locale:c,resource:u}=i;c?(a[c]=a[c]||{},Ye(u,a[c])):Ye(u,a)}else D(i)&&Ye(JSON.parse(i),a)}),r==null&&s)for(const i in a)Kt(a,i)&&Xt(a[i]);return a}function Fa(e){return e.type}function Dp(e,t,n){let o=B(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=$a(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(B(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(B(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function is(e){return Ms(Li,null,e,0)}const cs="__INTLIFY_META__",ls=()=>[],Mp=()=>!1;let us=0;function fs(e){return(t,n,o,r)=>e(n,o,wn()||void 0,r)}const xp=()=>{const e=wn();let t=null;return e&&(t=Fa(e)[cs])?{[cs]:t}:null};function Ua(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,s=e.flatJson;let a=Z(e.inheritLocale)?e.inheritLocale:!0;const i=_e(n&&a?n.locale.value:D(e.locale)?e.locale:En),c=_e(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||re(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),u=_e($a(i.value,e)),l=_e(H(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=_e(H(e.numberFormats)?e.numberFormats:{[i.value]:{}});let d=n?n.missingWarn:Z(e.missingWarn)||yn(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Z(e.fallbackWarn)||yn(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:Z(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,b=z(e.missing)?e.missing:null,p=z(e.missing)?fs(e.missing):null,_=z(e.postTranslation)?e.postTranslation:null,R=n?n.warnHtmlMessage:Z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const P=n?n.modifiers:H(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,C;C=(()=>{r&&Jr(null);const w={version:Op,locale:i.value,fallbackLocale:c.value,messages:u.value,modifiers:P,pluralRules:S,missing:p===null?void 0:p,missingWarn:d,fallbackWarn:g,fallbackFormat:L,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:R,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};w.datetimeFormats=l.value,w.numberFormats=f.value,w.__datetimeFormatters=H(C)?C.__datetimeFormatters:void 0,w.__numberFormatters=H(C)?C.__numberFormatters:void 0;const O=vp(w);return r&&Jr(O),O})(),xt(C,i.value,c.value);function X(){return[i.value,c.value,u.value,l.value,f.value]}const ae=ee({get:()=>i.value,set:w=>{i.value=w,C.locale=i.value}}),fe=ee({get:()=>c.value,set:w=>{c.value=w,C.fallbackLocale=c.value,xt(C,i.value,w)}}),k=ee(()=>u.value),x=ee(()=>l.value),Y=ee(()=>f.value);function se(){return z(_)?_:null}function oe(w){_=w,C.postTranslation=w}function Ee(){return b}function Ae(w){w!==null&&(p=fs(w)),b=w,C.missing=p}const pe=(w,O,q,ne,tt,tn)=>{X();let mt;try{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=n?Lp():void 0),mt=w(C)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(C.fallbackContext=void 0)}if(q!=="translate exists"&&le(mt)&&mt===An||q==="translate exists"&&!mt){const[mi,cg]=O();return n&&E?ne(n):tt(mi)}else{if(tn(mt))return mt;throw Pe(be.UNEXPECTED_RETURN_TYPE)}};function Ve(...w){return pe(O=>Reflect.apply(ns,null,[O,...w]),()=>yo(...w),"translate",O=>Reflect.apply(O.t,O,[...w]),O=>O,O=>D(O))}function ht(...w){const[O,q,ne]=w;if(ne&&!B(ne))throw Pe(be.INVALID_ARGUMENT);return Ve(O,q,ue({resolvedMessage:!0},ne||{}))}function Ze(...w){return pe(O=>Reflect.apply(os,null,[O,...w]),()=>Eo(...w),"datetime format",O=>Reflect.apply(O.d,O,[...w]),()=>zr,O=>D(O))}function et(...w){return pe(O=>Reflect.apply(ss,null,[O,...w]),()=>Lo(...w),"number format",O=>Reflect.apply(O.n,O,[...w]),()=>zr,O=>D(O))}function De(w){return w.map(O=>D(O)||le(O)||Z(O)?is(String(O)):O)}const Re={normalize:De,interpolate:w=>w,type:"vnode"};function T(...w){return pe(O=>{let q;const ne=O;try{ne.processor=Re,q=Reflect.apply(ns,null,[ne,...w])}finally{ne.processor=null}return q},()=>yo(...w),"translate",O=>O[vo](...w),O=>[is(O)],O=>re(O))}function A(...w){return pe(O=>Reflect.apply(ss,null,[O,...w]),()=>Lo(...w),"number format",O=>O[wo](...w),ls,O=>D(O)||re(O))}function N(...w){return pe(O=>Reflect.apply(os,null,[O,...w]),()=>Eo(...w),"datetime format",O=>O[bo](...w),ls,O=>D(O)||re(O))}function $(w){S=w,C.pluralRules=S}function V(w,O){return pe(()=>{if(!w)return!1;const q=D(O)?O:i.value,ne=m(q),tt=C.messageResolver(ne,w);return Tt(tt)||Le(tt)||D(tt)},()=>[w],"translate exists",q=>Reflect.apply(q.te,q,[w,O]),Mp,q=>Z(q))}function J(w){let O=null;const q=Pa(C,c.value,i.value);for(let ne=0;ne{a&&(i.value=w,C.locale=w,xt(C,i.value,c.value))}),qe(n.fallbackLocale,w=>{a&&(c.value=w,C.fallbackLocale=w,xt(C,i.value,c.value))}));const ie={id:us,locale:ae,fallbackLocale:fe,get inheritLocale(){return a},set inheritLocale(w){a=w,w&&n&&(i.value=n.locale.value,c.value=n.fallbackLocale.value,xt(C,i.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:k,get modifiers(){return P},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(w){d=w,C.missingWarn=d},get fallbackWarn(){return g},set fallbackWarn(w){g=w,C.fallbackWarn=g},get fallbackRoot(){return E},set fallbackRoot(w){E=w},get fallbackFormat(){return L},set fallbackFormat(w){L=w,C.fallbackFormat=L},get warnHtmlMessage(){return R},set warnHtmlMessage(w){R=w,C.warnHtmlMessage=w},get escapeParameter(){return y},set escapeParameter(w){y=w,C.escapeParameter=w},t:Ve,getLocaleMessage:m,setLocaleMessage:v,mergeLocaleMessage:I,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:Ee,setMissingHandler:Ae,[Ip]:$};return ie.datetimeFormats=x,ie.numberFormats=Y,ie.rt=ht,ie.te=V,ie.tm=h,ie.d=Ze,ie.n=et,ie.getDateTimeFormat=M,ie.setDateTimeFormat=W,ie.mergeDateTimeFormat=Ce,ie.getNumberFormat=Me,ie.setNumberFormat=pi,ie.mergeNumberFormat=hi,ie[Ap]=o,ie[vo]=T,ie[bo]=N,ie[wo]=A,ie}const qo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function $p({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===Ds?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function Ha(e){return Ds}const Fp=lt({name:"i18n-t",props:ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>le(e)||!isNaN(e)}},qo),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Dn({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=D(e.plural)?+e.plural:e.plural);const i=$p(t,s),c=r[vo](e.keypath,i,a),u=ue({},o),l=D(e.tag)||B(e.tag)?e.tag:Ha();return Ie(l,u,c)}}}),ds=Fp;function Up(e){return re(e)&&!D(e[0])}function ja(e,t,n,o){const{slots:r,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),D(e.format)?a.key=e.format:B(e.format)&&(D(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((d,g)=>n.includes(g)?ue({},d,{[g]:e.format[g]}):d,{}));const c=o(e.value,a,i);let u=[a.key];re(c)?u=c.map((d,g)=>{const E=r[d.type],L=E?E({[d.type]:d.value,index:g,parts:c}):[d.value];return Up(L)&&(L[0].key=`${d.type}-${g}`),L}):D(c)&&(u=[c]);const l=ue({},s),f=D(e.tag)||B(e.tag)?e.tag:Ha();return Ie(f,l,u)}}const Hp=lt({name:"i18n-n",props:ue({value:{type:Number,required:!0},format:{type:[String,Object]}},qo),setup(e,t){const n=e.i18n||Dn({useScope:"parent",__useComponent:!0});return ja(e,t,Da,(...o)=>n[wo](...o))}}),ps=Hp,jp=lt({name:"i18n-d",props:ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},qo),setup(e,t){const n=e.i18n||Dn({useScope:"parent",__useComponent:!0});return ja(e,t,Aa,(...o)=>n[bo](...o))}}),hs=jp;function Vp(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Bp(e){const t=a=>{const{instance:i,modifiers:c,value:u}=a;if(!i||!i.$)throw Pe(be.UNEXPECTED_ERROR);const l=Vp(e,i.$),f=ms(u);return[Reflect.apply(l.t,l,[...gs(f)]),l]};return{created:(a,i)=>{const[c,u]=t(i);mo&&e.global===u&&(a.__i18nWatcher=qe(u.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=u,a.textContent=c},unmounted:a=>{mo&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const c=a.__composer,u=ms(i);a.textContent=Reflect.apply(c.t,c,[...gs(u)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function ms(e){if(D(e))return{path:e};if(H(e)){if(!("path"in e))throw Pe(be.REQUIRED_VALUE,"path");return e}else throw Pe(be.INVALID_VALUE)}function gs(e){const{path:t,locale:n,args:o,choice:r,plural:s}=e,a={},i=o||{};return D(n)&&(a.locale=n),le(r)&&(a.plural=r),le(s)&&(a.plural=s),[t,i,a]}function Wp(e,t,...n){const o=H(n[0])?n[0]:{},r=!!o.useI18nComponentName;(Z(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":ds.name,"I18nT"].forEach(a=>e.component(a,ds)),[ps.name,"I18nN"].forEach(a=>e.component(a,ps)),[hs.name,"I18nD"].forEach(a=>e.component(a,hs))),e.directive("t",Bp(t))}const Kp=Qe("global-vue-i18n");function Gp(e={},t){const n=Z(e.globalInjection)?e.globalInjection:!0,o=!0,r=new Map,[s,a]=Xp(e),i=Qe("");function c(f){return r.get(f)||null}function u(f,d){r.set(f,d)}function l(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return o},async install(d,...g){if(d.__VUE_I18N_SYMBOL__=i,d.provide(d.__VUE_I18N_SYMBOL__,f),H(g[0])){const b=g[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let E=null;n&&(E=th(d,f.global)),Wp(d,f,...g);const L=d.unmount;d.unmount=()=>{E&&E(),f.dispose(),L()}},get global(){return a},dispose(){s.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:l};return f}}function Dn(e={}){const t=wn();if(t==null)throw Pe(be.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(be.NOT_INSTALLED);const n=Yp(t),o=zp(n),r=Fa(t),s=qp(e,r);if(s==="global")return Dp(o,e,r),o;if(s==="parent"){let c=Qp(n,t,e.__useComponent);return c==null&&(c=o),c}const a=n;let i=a.__getInstance(t);if(i==null){const c=ue({},e);"__i18n"in r&&(c.__i18n=r.__i18n),o&&(c.__root=o),i=Ua(c),a.__composerExtend&&(i[To]=a.__composerExtend(i)),Zp(a,t,i),a.__setInstance(t,i)}return i}function Xp(e,t,n){const o=Ao();{const r=o.run(()=>Ua(e));if(r==null)throw Pe(be.UNEXPECTED_ERROR);return[o,r]}}function Yp(e){{const t=ve(e.isCE?Kp:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Pe(e.isCE?be.NOT_INSTALLED_WITH_PROVIDE:be.UNEXPECTED_ERROR);return t}}function qp(e,t){return Nn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function zp(e){return e.mode==="composition"?e.global:e.global.__composer}function Qp(e,t,n=!1){let o=null;const r=t.root;let s=Jp(t,n);for(;s!=null;){const a=e;if(e.mode==="composition"&&(o=a.__getInstance(s)),o!=null||r===s)break;s=s.parent}return o}function Jp(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Zp(e,t,n){yi(()=>{},t),Ei(()=>{const o=n;e.__deleteInstance(t);const r=o[To];r&&(r(),delete o[To])},t)}const eh=["locale","fallbackLocale","availableLocales"],_s=["t","rt","d","n","tm","te"];function th(e,t){const n=Object.create(null);return eh.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Pe(be.UNEXPECTED_ERROR);const a=Nt(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,_s.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Pe(be.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,_s.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}Np();mp(Pp);gp(zd);_p(Pa);if(__INTLIFY_PROD_DEVTOOLS__){const e=Bo();e.__INTLIFY__=!0,sp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const nh=!0,Va={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},oh="",rh=Va.PREFIX_EXCEPT_DEFAULT,sh=!1,ah="___",ih="default",ch="ltr",lh="",Ba="";/*! + * shared v9.4.1 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const uh=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Mn=Object.assign,fh=Array.isArray,Po=e=>typeof e=="function",Pt=e=>typeof e=="string",dh=e=>typeof e=="symbol",zo=e=>e!==null&&typeof e=="object",Wa=/\+/g;function Ka(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ph(e){return Ka(e.replace(Wa," "))}function hh(e){return Ka(e.replace(Wa," "))}function mh(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=ph(o[1]);if(r==="__proto__"||r==="constructor")continue;const s=hh(o[2]||"");t[r]===void 0?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]}return t}const gh=/\/$|\/\?/;function Ro(e="",t=!1){return t?gh.test(e):e.endsWith("/")}function _h(e="",t=!1){if(!t)return(Ro(e)?e.slice(0,-1):e)||"/";if(!Ro(e,!0))return e||"/";const[n,...o]=e.split("?");return(n.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function yh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ro(e,!0))return e||"/";const[n,...o]=e.split("?");return n+"/"+(o.length>0?`?${o.join("?")}`:"")}function Eh(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}const Lh=typeof window<"u";function Ga(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function vh(e){e=e||[];const t=[];for(const n of e)Pt(n)?t.push({code:n}):t.push(n);return t}function ft(e){return e!=null&&"global"in e&&"mode"in e}function At(e){return e!=null&&!("__composer"in e)&&Nt(e.locale)}function dt(e){return e!=null&&"__composer"in e}function Jt(e){return e!=null&&!("__composer"in e)&&!Nt(e.locale)}function xn(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function Yt(e){return ft(e)?At(e.global)?e.global:e.global.__composer:dt(e)?e.__composer:e}function $n(e){const t=ft(e)?e.global:e;return At(t)?t.locale.value:(Jt(t)||dt(t)||xn(t),t.locale)}function bh(e){const t=ft(e)?e.global:e;return At(t)?t.locales.value:(Jt(t)||dt(t)||xn(t),t.locales)}function wh(e){const t=ft(e)?e.global:e;return At(t)?t.localeCodes.value:(Jt(t)||dt(t)||xn(t),t.localeCodes)}function Xa(e,t){const n=ft(e)?e.global:e;if(At(n))n.locale.value=t;else if(Jt(n)||dt(n)||xn(n))n.locale=t;else throw new Error("TODO:")}function Ya(e){return Pt(e)?e:dh(e)?e.toString():"(null)"}function ys(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:r,defaultLocaleRouteNameSuffix:s}){let a=Ya(e)+(o==="no_prefix"?"":r+t);return t===n&&o==="prefix_and_default"&&(a+=r+s),a}function Es(e,t){return Po(e)?e(t):e}function Th(e,t){const n=[];for(const[o,r]of t.entries()){const s=e.find(a=>a.iso.toLowerCase()===r.toLowerCase());if(s){n.push({code:s.code,score:1-o/t.length});break}}for(const[o,r]of t.entries()){const s=r.split("-")[0].toLowerCase(),a=e.find(i=>i.iso.split("-")[0].toLowerCase()===s);if(a){n.push({code:a.code,score:.999-o/t.length});break}}return n}const Ph=Th;function Rh(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const Ch=Rh;function kh(e,t,{matcher:n=Ph,comparer:o=Ch}={}){const r=[];for(const a of e){const{code:i}=a,c=a.iso||i;r.push({code:i,iso:c})}const s=n(r,t);return s.length>1&&s.sort(o),s.length?s[0].code:""}function ot(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function Sh(e,{locales:t=[],localeCodes:n=[],baseUrl:o=lh,hooks:r={},context:s={}}={}){const a=Ao(),i=e.install;return e.install=(c,...u)=>{const l=Ih(u[0])?Mn({},u[0]):{inject:!0};l.inject==null&&(l.inject=!0);const f=l.__composerExtend;if(l.__composerExtend=L=>{const b=Yt(e);L.locales=ee(()=>b.locales.value),L.localeCodes=ee(()=>b.localeCodes.value),L.baseUrl=ee(()=>b.baseUrl.value);let p;return Po(f)&&(p=Reflect.apply(f,l,[L])),()=>{p&&p()}},e.mode==="legacy"){const L=l.__vueI18nExtend;l.__vueI18nExtend=b=>{Ls(b,r.onExtendVueI18n);let p;return Po(L)&&(p=Reflect.apply(L,l,[b])),()=>{p&&p()}}}u[0]=l,Reflect.apply(i,e,[c,...u]);const d=Yt(e);a.run(()=>{Oh(d,{locales:t,localeCodes:n,baseUrl:o,hooks:r,context:s}),e.mode==="legacy"&&dt(e.global)&&Ls(e.global,r.onExtendVueI18n)});const g=c,E=e.mode==="composition"?g.config.globalProperties.$i18n:null;if(E&&Nh(E,d,r.onExtendExportedGlobal),l.inject&&c.mixin({methods:{resolveRoute:ot(Fn),localePath:ot(Qo),localeRoute:ot(Jo),localeLocation:ot(Vh),switchLocalePath:ot(qt),getRouteBaseName:ot(Rt),localeHead:ot(Ja)}}),g.unmount){const L=g.unmount;g.unmount=()=>{a.stop(),L()}}},a}function Oh(e,t){const{locales:n,localeCodes:o,baseUrl:r,context:s}=t,a=_e(n),i=_e(o),c=_e("");e.locales=ee(()=>a.value),e.localeCodes=ee(()=>i.value),e.baseUrl=ee(()=>c.value),Lh?qe(e.locale,()=>{c.value=Es(r,s)},{immediate:!0}):c.value=Es(r,s),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function qa(e,t,n){const o=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&o.push(n(e));for(const r of o)for(const[s,a]of Object.entries(r))Object.defineProperty(t,s,a)}function Nh(e,t,n){qa(t,e,n)}function Ls(e,t){const n=Yt(e);qa(n,e,t)}function Ih(e){return zo(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const Co=uh("vue-i18n-routing-gor");function Ah(e,t){e[Co]?Ga("already registered global options"):e[Co]=t}function Dh(e){return e[Co]??{}}function ko(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function Mh(e,t,n){const o=`(${e.join("|")})`,r=`(?:${t}${n})?`,s=new RegExp(`${t}${o}${r}$`,"i"),a=ko(e);return c=>{if(zo(c)){if(c.name){const l=(Pt(c.name)?c.name:c.name.toString()).match(s);if(l&&l.length>1)return l[1]}else if(c.path){const u=c.path.match(a);if(u&&u.length>1)return u[1]}}else if(Pt(c)){const u=c.match(a);if(u&&u.length>1)return u[1]}return""}}function Zt(e,t,{defaultLocale:n=oh,defaultDirection:o=ch,defaultLocaleRouteNameSuffix:r=ih,routesNameSeparator:s=ah,strategy:a=rh,trailingSlash:i=sh,localeCodes:c=[],prefixable:u=za,switchLocalePathIntercepter:l=Qa,dynamicRouteParamsKey:f=Ba}={}){const d=Dh(e);return{defaultLocale:t.defaultLocale||d.defaultLocale||n,defaultDirection:t.defaultDirection||d.defaultDirection||o,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||d.defaultLocaleRouteNameSuffix||r,routesNameSeparator:t.routesNameSeparator||d.routesNameSeparator||s,strategy:t.strategy||d.strategy||a,trailingSlash:t.trailingSlash||d.trailingSlash||i,localeCodes:t.localeCodes||d.localeCodes||c,prefixable:t.prefixable||d.prefixable||u,switchLocalePathIntercepter:t.switchLocalePathIntercepter||d.switchLocalePathIntercepter||l,dynamicRouteParamsKey:t.dynamicRouteParamsKey||d.dynamicRouteParamsKey||f,dynamicParamsInterceptor:d.dynamicParamsInterceptor||void 0}}function xh(e,t){return[e.slice(0,t),e.slice(t)]}function $h(e){const{fullPath:t,query:n,hash:o,name:r,path:s,params:a,meta:i,redirectedFrom:c,matched:u}=e;return{fullPath:t,params:a,query:n,hash:o,name:r,path:s,meta:i,matched:u,redirectedFrom:c}}function Fh(e){return nh}function Uh(e,t,n,o){var r,s;if(n!=="prefix")return e.resolve(t);const[a,i]=xh(t.path,1),c=`${a}${o}${i===""?i:`/${i}`}`,u=(s=(r=e.options)==null?void 0:r.routes)==null?void 0:s.find(f=>f.path===c);if(u==null)return t;const l=Mn({},t,u);return l.path=c,e.resolve(l)}const Hh=new Set(["prefix_and_default","prefix_except_default"]);function jh(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&Hh.has(o))&&o!=="no_prefix"}const za=jh;function Rt(e){const t=this.router,{routesNameSeparator:n}=Zt(t,this),o=e!=null?Nt(e)?Q(e):e:this.route;return o==null||!o.name?void 0:Ya(o.name).split(n)[0]}function Qo(e,t){var n;const o=Fn.call(this,e,t);return o==null?"":((n=o.redirectedFrom)==null?void 0:n.fullPath)||o.fullPath}function Jo(e,t){const n=Fn.call(this,e,t);return n??void 0}function Vh(e,t){const n=Fn.call(this,e,t);return n??void 0}function Fn(e,t){const n=this.router,o=this.i18n,r=t||$n(o),{routesNameSeparator:s,defaultLocale:a,defaultLocaleRouteNameSuffix:i,strategy:c,trailingSlash:u,prefixable:l}=Zt(n,this);let f;if(Pt(e))if(e[0]==="/"){const{pathname:E,search:L,hash:b}=Eh(e),p=mh(L);f={path:E,query:p,hash:b}}else f={name:e};else f=e;let d=Mn({},f);if((E=>"path"in E&&!!E.path&&!("name"in E))(d)){let E=null;try{E=Uh(n,d,c,r)}catch{}const L=E,b=Rt.call(this,L);Pt(b)?(d={name:ys(b,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i}),params:L.params,query:L.query,hash:L.hash},d.state=L.state):(l({currentLocale:r,defaultLocale:a,strategy:c})&&(d.path=`/${r}${d.path}`),d.path=u?yh(d.path,!0):_h(d.path,!0))}else!d.name&&!("path"in d)&&(d.name=Rt.call(this,this.route)),d.name=ys(d.name,r,{defaultLocale:a,strategy:c,routesNameSeparator:s,defaultLocaleRouteNameSuffix:i});try{const E=n.resolve(d);return(Fh(E)?E.name:E.route.name)?E:n.resolve(e)}catch(E){if(typeof E=="object"&&"type"in E&&E.type===1)return null}}const Qa=e=>e;function Bh(e,t){const n={};if(t===Ba)return n;const o=e.meta;return Nt(o)?o.value[t]||n:o[t]||n}function qt(e){var t,n;const o=this.route,r=Rt.call(this,o);if(!r)return"";const{switchLocalePathIntercepter:s,dynamicRouteParamsKey:a,dynamicParamsInterceptor:i}=Zt(this.router,this),u=$h(o),l=(n=(t=i==null?void 0:i())==null?void 0:t.value)==null?void 0:n[e],f=Bh(o,a)[e]||{},d=l??f??{},g={name:r,params:{...u.params,...d}},E=Mn({},u,g);let L=Qo.call(this,E,e);return L=s(L,e),L}function Ja({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const o=this.router,r=this.i18n,{defaultDirection:s}=Zt(o,this),a={htmlAttrs:{},link:[],meta:[]};if(r.locales==null||r.baseUrl==null)return a;const i=$n(r),c=bh(r),u=vh(c).find(d=>d.code===i)||{code:i},l=u.iso,f=u.dir||s;return e&&(a.htmlAttrs.dir=f),t&&i&&r.locales&&(l&&(a.htmlAttrs.lang=l),Wh.call(this,c,Q(r.baseUrl),a.link,n),Kh.call(this,Q(r.baseUrl),a.link,a.meta,n,t),Gh(u,l,a.meta,n),Xh(c,l,a.meta,n)),a}function Wh(e,t,n,o){const r=this.router,{defaultLocale:s,strategy:a}=Zt(r,this);if(a===Va.NO_PREFIX)return;const i=new Map;for(const c of e){const u=c.iso;if(!u){Ga("Locale ISO code is required to generate alternate link");continue}const[l,f]=u.split("-");l&&f&&(c.isCatchallLocale||!i.has(l))&&i.set(l,c),i.set(u,c)}for(const[c,u]of i.entries()){const l=qt.call(this,u.code);l&&n.push({[o]:`i18n-alt-${c}`,rel:"alternate",href:So(l,t),hreflang:c})}if(s){const c=qt.call(this,s);c&&n.push({[o]:"i18n-xd",rel:"alternate",href:So(c,t),hreflang:"x-default"})}}function Kh(e,t,n,o,r){const s=this.route,a=Jo.call(this,{...s,name:Rt.call(this,s)});if(a){let i=So(a.path,e);const c=zo(r)&&r.canonicalQueries||[];if(c.length){const u=a.query,l=new URLSearchParams;for(const d of c)if(d in u){const g=u[d];fh(g)?g.forEach(E=>l.append(d,E||"")):l.append(d,g||"")}const f=l.toString();f&&(i=`${i}?${f}`)}t.push({[o]:"i18n-can",rel:"canonical",href:i}),n.push({[o]:"i18n-og-url",property:"og:url",content:i})}}function Gh(e,t,n,o){e&&t&&n.push({[o]:"i18n-og",property:"og:locale",content:Za(t)})}function Xh(e,t,n,o){const r=e.filter(s=>{const a=s.iso;return a&&a!==t});if(r.length){const s=r.map(a=>({[o]:`i18n-og-alt-${a.iso}`,property:"og:locale:alternate",content:Za(a.iso)}));n.push(...s)}}function Za(e){return(e||"").replace(/-/g,"_")}function So(e,t){return e.match(/^https?:\/\//)?e:t+e}function Yh(e,t){const{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u}=e;return function(...l){return Reflect.apply(t,{router:n,route:o,i18n:r,defaultLocale:s,strategy:a,defaultLocaleRouteNameSuffix:i,trailingSlash:c,routesNameSeparator:u},l)}}function qh({router:e=df(),route:t=pf(),i18n:n=Dn(),defaultLocale:o=void 0,defaultLocaleRouteNameSuffix:r=void 0,routesNameSeparator:s=void 0,strategy:a=void 0,trailingSlash:i=void 0}={}){return Yh({router:e,route:t,i18n:n,defaultLocale:o,defaultLocaleRouteNameSuffix:r,routesNameSeparator:s,strategy:a,trailingSlash:i},qt)}const rt=[],Yn={},zh=[()=>F(()=>import("./i18n.config.018d495b.js"),[],import.meta.url)],ce={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"./i18n.config.ts",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1,i18nModules:[]},ye={experimental:{localeDetector:""},bundle:{compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1},compilation:{jit:!0,strictMessage:!0,escapeHtml:!1},customBlocks:{defaultSFCLang:"json",globalSFCScope:!1},vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:{},skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1},dn={__normalizedLocales:[]},ei="@nuxtjs/i18n",Qh=!1;async function Jh(e,t){const n={messages:{}};for(const o of e){const{default:r}=await o(),s=typeof r=="function"?await t.runWithContext(async()=>await r()):r;Ye(s,n)}return n}function ti(e,t){let n=[];if(re(e))n=e;else if(B(e)){const o=[...t,"default"];for(const r of o)e[r]&&(n=[...n,...e[r].filter(Boolean)])}else D(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function Zh(e,t,n){const{defaultLocale:o,initialLocale:r,localeCodes:s,fallbackLocale:a,lazy:i,cacheMessages:c}=n,u=(f,d)=>{const g=e[f]||{};Ye(d,g),e[f]=g};if(i&&a){const f=ti(a,[o,r]);await Promise.all(f.map(d=>Ln({locale:d,setter:u,localeMessages:t},c)))}const l=i?[...new Set().add(o).add(r)]:s;return await Promise.all(l.map(f=>Ln({locale:f,setter:u,localeMessages:t},c))),e}async function em(e,{key:t,load:n},o){let r=null;try{const s=await n().then(a=>a.default||a);z(s)?r=await s(e):(r=s,r!=null&&o&&o.set(t,r))}catch(s){console.error("Failed locale loading: "+s.message)}return r}async function Ln({locale:e,localeMessages:t,setter:n},o){const r=t[e];if(r==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const a of r){let i=null;o&&o.has(a.key)&&a.cache?i=o.get(a.key):i=await em(e,a,o),i!=null&&Ye(i,s)}n(e,s)}const tm="$s";function ni(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const r=tm+n,s=te(),a=As(s.payload.state,r);if(a.value===void 0&&o){const i=o();if(Nt(i))return s.payload.state[r]=i,i;a.value=i}return a}const nm={path:"/",watch:!0,decode:e=>Bt(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function oi(e,t){var c;const n={...nm,...t},o=om(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const s=r!==void 0&&r<=0,a=s?void 0:o[e]??((c=n.default)==null?void 0:c.call(n)),i=r&&!s?am(a,r):_e(a);{const u=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),l=()=>{sm(e,i.value,n),u==null||u.postMessage(n.encode(i.value))};let f=!1;xs()&&$s(()=>{f=!0,l(),u==null||u.close()}),u&&(u.onmessage=d=>{f=!0,i.value=n.decode(d.data),Ot(()=>{f=!1})}),n.watch?qe(i,()=>{f||l()},{deep:n.watch!=="shallow"}):l()}return i}function om(e={}){return Nl(document.cookie,e)}function rm(e,t,n={}){return t==null?gr(e,t,{...n,maxAge:-1}):gr(e,t,n)}function sm(e,t,n={}){document.cookie=rm(e,t,n)}const vs=2147483647;function am(e,t){let n,o=0;return xs()&&$s(()=>{clearTimeout(n)}),vi((r,s)=>{function a(){clearTimeout(n);const i=t-o,c=i{if(o+=c,on})}function um(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function ri(e,t){let n;return navigator.languages&&(n=kh(e.__normalizedLocales,navigator.languages)),n}function Zo(e,{useCookie:t=ye.detectBrowserLanguage.useCookie,cookieKey:n=ye.detectBrowserLanguage.cookieKey,localeCodes:o=[]}={}){if(!t)return;const s=oi(n).value??void 0;if(s&&o.includes(s))return s}function fm(e,t,{useCookie:n=ye.detectBrowserLanguage.useCookie,cookieKey:o=ye.detectBrowserLanguage.cookieKey,cookieDomain:r=ye.detectBrowserLanguage.cookieDomain,cookieSecure:s=ye.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:a=ye.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const i=new Date,c={expires:new Date(i.setDate(i.getDate()+365)),path:"/",sameSite:a?"none":"lax",secure:a||s};r&&(c.domain=r);const u=oi(o,c);u.value=e}const si={locale:"",stat:!1,reason:"unknown",from:"unknown"};function ai(e,t,n,o,r,s,a=[],i=""){const{strategy:c}=n,{ssg:u,callType:l,firstAccess:f}=s;if(c==="no_prefix"&&u==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!f)return{locale:c==="no_prefix"?i:"",stat:!1,reason:"first_access_only"};const{redirectOn:d,alwaysRedirect:g,useCookie:E,fallbackLocale:L}=n.detectBrowserLanguage,b=D(e)?e:e.path;if(c!=="no_prefix"){if(d==="root"){if(b!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(d==="no prefix"&&!g&&b.match(ko(a)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let p="unknown",_,R;E&&(R=_=Zo(t,{...n.detectBrowserLanguage,localeCodes:a}),p="cookie"),R||(R=ri(o),p="navigator_or_header");const y=R||L;!R&&L&&(p="fallback");const P=i||r.locale;if(y&&(!E||g||!_)){if(c==="no_prefix")return{locale:y,stat:!0,from:p};if(l==="setup"&&y!==P)return{locale:y,stat:!0,from:p};if(g){const S=b==="/",C=d==="all",j=d==="no prefix"&&!b.match(ko(a));if(S||C||j)return{locale:y,stat:!0,from:p}}}return u==="ssg_setup"&&y?{locale:y,stat:!0,from:p}:(p==="navigator_or_header"||p==="cookie")&&y?{locale:y,stat:!0,from:p}:{locale:"",stat:!1,reason:"not_found_match"}}function dm(){let e;return e=window.location.host,e}function pm(e){let t=dm()||"";if(t){const n=e.find(o=>{if(o&&o.domain){let r=o.domain;return ut(o.domain)&&(r=o.domain.replace(/(http|https):\/\//,"")),r===t}return!1});if(n)return n.code;t=""}return t}function ii(e,t,n){var a,i;const o=n==null?void 0:n.$config.public.i18n,r=t.find(c=>c.code===e),s=((i=(a=o==null?void 0:o.locales)==null?void 0:a[e])==null?void 0:i.domain)??(r==null?void 0:r.domain);if(s){if(ut(s,{strict:!0}))return s;let c;return c=new URL(window.location.origin).protocol,c+"//"+s}console.warn(im("Could not find domain name for locale "+e))}function hm(e,t){return en(e,"setLocale",t)}function mm(e,t){return en(e,"setLocaleCookie",t)}function gm(e,t,n){return en(e,"mergeLocaleMessage",t,n)}function _m(e,t,n,o,r){return en(e,"onBeforeLanguageSwitch",t,n,o,r)}function ym(e,t,n){return en(e,"onLanguageSwitched",t,n)}async function ws(e,t,n,o,{useCookie:r=ye.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:s=ye.skipSettingLocaleOnNavigate,differentDomains:a=ye.differentDomains,initial:i=!1,cacheMessages:c=void 0,lazy:u=!1}={}){let l=!1;const f=$n(o);if(!e)return[l,f];if(!i&&a)return[l,f];if(f===e)return[l,f];const d=await _m(o,f,e,i,t),g=wh(o);if(d&&g&&g.includes(d)){if(d===f)return[l,f];e=d}const E=lm(o,"fallbackLocale");if(u){const L=(b,p)=>gm(o,b,p);if(E){const b=ti(E,[e]);await Promise.all(b.map(p=>Ln({locale:p,setter:L,localeMessages:n},c)))}await Ln({locale:e,setter:L,localeMessages:n},c)}return s?[l,f]:(r&&mm(o,e),Xa(o,e),await ym(o,f,e),l=!0,[l,f])}function Ts(e,t,n,o,r,s,a,i,c=[]){const{strategy:u,defaultLocale:l,differentDomains:f}=o,d=z(s)?s():s,{locale:g,stat:E,reason:L,from:b}=o.detectBrowserLanguage?ai(e,t,o,dn,r,a,c,d):si;if(L==="detect_ignore_on_ssg")return d;if((b==="navigator_or_header"||b==="cookie"||b==="fallback")&&g)return g;let p=g;return p||(f?p=pm(i):u!=="no_prefix"?p=n(e):o.detectBrowserLanguage||(p=d)),!p&&o.detectBrowserLanguage&&o.detectBrowserLanguage.useCookie&&(p=Zo(t,{...o.detectBrowserLanguage,localeCodes:c})||""),p||(p=l||""),p}function Ps({route:e,context:t,targetLocale:n,routeLocaleGetter:o,nuxtI18nOptions:r,calledWithRouting:s=!1}){const{strategy:a,differentDomains:i}=r;let c="";const{fullPath:u}=e.to;if(!i&&(s||a!=="no_prefix")&&o(e.to)!==n){const l=t.$switchLocalePath(n)||t.$localePath(u,n);D(l)&&l&&!eo(l,u)&&!l.startsWith("//")&&(c=e.from&&e.from.fullPath===l?"":l)}if((i||!0)&&o(e.to)!==n){const f=qh({i18n:Yt(t.$i18n),route:e.to,router:t.$router})(n);D(f)&&f&&!eo(f,u)&&!f.startsWith("//")&&(c=f)}return c}function Em(e){return B(e)&&"path"in e&&"statusCode"in e}const Lm=()=>ni(ei+":redirect",()=>"");function Rs(e,t){return ql(e,{redirectCode:t})}async function Cs(e,{status:t=302,rootRedirect:n=ye.rootRedirect,differentDomains:o=ye.differentDomains,skipSettingLocaleOnNavigate:r=ye.skipSettingLocaleOnNavigate,enableNavigate:s=!1}={}){const{i18n:a,locale:i,route:c}=e;let{redirectPath:u}=e;if(c.path==="/"&&n)return D(n)?u="/"+n:Em(n)&&(u="/"+n.path,t=n.statusCode),Rs(u,t);if(!(r&&(a.__pendingLocale=i,a.__pendingLocalePromise=new Promise(l=>{a.__resolvePendingLocalePromise=l}),!s))){if(o){const l=Lm();l.value&&l.value!==u&&(l.value="",window.location.assign(u))}else if(u)return Rs(u,t)}}function vm(e,t){bs(e,"$i18n",t.global);for(const n of[["getRouteBaseName",Rt],["localePath",Qo],["localeRoute",Jo],["switchLocalePath",qt],["localeHead",Ja]])bs(e,"$"+n[0],um(e,n[1]))}function bm(e){return t=>za(t)&&!e}function wm(e,t,n){return(o,r)=>{if(e){const s=ii(r,t,n);return s?It(s,o):o}else return Qa(o)}}function Tm(e,t){return n=>{var c,u;if(z(e))return e(n);const{differentDomains:o,localeCodeLoader:r,normalizedLocales:s}=t,a=z(r)?r():r;if(o&&a){const l=ii(a,s,t.nuxt);if(l)return l}const i=(u=(c=n.$config)==null?void 0:c.public)==null?void 0:u.i18n;return i!=null&&i.baseUrl?i.baseUrl:e}}const qn=new Map,Pm=we({name:"i18n:plugin",parallel:Qh,async setup(e){let t,n;const o=je(),r=Ho(),{vueApp:s}=e,a=e,i=([t,n]=Xe(()=>Jh(zh,a)),t=await t,n(),t),c=ce.detectBrowserLanguage&&ce.detectBrowserLanguage.useCookie,{__normalizedLocales:u}=dn,{defaultLocale:l,differentDomains:f,skipSettingLocaleOnNavigate:d,lazy:g,routesNameSeparator:E,defaultLocaleRouteNameSuffix:L,strategy:b,rootRedirect:p}=ce;ce.baseUrl=Tm(ce.baseUrl,{differentDomains:f,nuxt:a,localeCodeLoader:l,normalizedLocales:u});const _=Mh(rt,E,L);i.messages=i.messages||{},i.fallbackLocale=i.fallbackLocale??!1,Ah(o,{...ce,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:wm(f,u,a),prefixable:bm(f)});const R=k=>k||i.locale||"en-US";let y=Ts(r,e.ssrContext,_,ce,i,R(l),{ssg:b==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0},u,rt);i.messages=([t,n]=Xe(()=>Zh(i.messages,Yn,{...ce,initialLocale:y,fallbackLocale:i.fallbackLocale,localeCodes:rt,cacheMessages:qn})),t=await t,n(),t),y=R(y);const P=Gp({...i,locale:y});let S=!0;const C=k=>y!==k&&S;let j=!0;const X=()=>j;X()&&b==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:k,stat:x,reason:Y,from:se}=ce.detectBrowserLanguage?ai(r,a,ce,dn,i,{ssg:"ssg_setup",callType:"setup",firstAccess:!0},rt,y):si;hm(P,k),j=!1}),Sh(P,{locales:ce.locales,localeCodes:rt,baseUrl:ce.baseUrl,context:a,hooks:{onExtendComposer(k){k.strategy=b,k.localeProperties=ee(()=>u.find(x=>x.code===k.locale.value)||{code:k.locale.value}),k.setLocale=async x=>{const Y=C(x),[se]=await ws(x,a,Yn,P,{useCookie:c,differentDomains:f,initial:Y,cacheMessages:qn,skipSettingLocaleOnNavigate:d,lazy:g});se&&Y&&(S=!1);const oe=Ps({route:{to:r},context:a,targetLocale:x,routeLocaleGetter:_,nuxtI18nOptions:ce});await Cs({i18n:P,redirectPath:oe,locale:x,route:r},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p,enableNavigate:!0})},k.differentDomains=f,k.defaultLocale=l,k.getBrowserLocale=()=>ri(dn,e.ssrContext),k.getLocaleCookie=()=>Zo(e.ssrContext,{...ce.detectBrowserLanguage,localeCodes:rt}),k.setLocaleCookie=x=>fm(x,e.ssrContext,ce.detectBrowserLanguage||void 0),k.onBeforeLanguageSwitch=(x,Y,se,oe)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:x,newLocale:Y,initialSetup:se,context:oe}),k.onLanguageSwitched=(x,Y)=>e.callHook("i18n:localeSwitched",{oldLocale:x,newLocale:Y}),k.finalizePendingLocaleChange=async()=>{P.__pendingLocale&&(Xa(P,P.__pendingLocale),P.__resolvePendingLocalePromise&&await P.__resolvePendingLocalePromise(),P.__pendingLocale=void 0)},k.waitForPendingLocaleChange=async()=>{P.__pendingLocale&&P.__pendingLocalePromise&&await P.__pendingLocalePromise}},onExtendExportedGlobal(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async x=>Reflect.apply(k.setLocale,k,[x])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return x=>Reflect.apply(k.setLocaleCookie,k,[x])}},onBeforeLanguageSwitch:{get(){return(x,Y,se,oe)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[x,Y,se,oe])}},onLanguageSwitched:{get(){return(x,Y)=>Reflect.apply(k.onLanguageSwitched,k,[x,Y])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}},onExtendVueI18n(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async x=>Reflect.apply(k.setLocale,k,[x])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return x=>Reflect.apply(k.setLocaleCookie,k,[x])}},onBeforeLanguageSwitch:{get(){return(x,Y,se,oe)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[x,Y,se,oe])}},onLanguageSwitched:{get(){return(x,Y)=>Reflect.apply(k.onLanguageSwitched,k,[x,Y])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}}}});const ae={__composerExtend:k=>{const x=Yt(P);return k.strategy=x.strategy,k.localeProperties=ee(()=>x.localeProperties.value),k.setLocale=x.setLocale,k.differentDomains=x.differentDomains,k.getBrowserLocale=x.getBrowserLocale,k.getLocaleCookie=x.getLocaleCookie,k.setLocaleCookie=x.setLocaleCookie,k.onBeforeLanguageSwitch=x.onBeforeLanguageSwitch,k.onLanguageSwitched=x.onLanguageSwitched,k.finalizePendingLocaleChange=x.finalizePendingLocaleChange,k.waitForPendingLocaleChange=x.waitForPendingLocaleChange,()=>{}}};s.use(P,ae),vm(a,P);let fe=0;Xl("locale-changing",async(k,x)=>{let Y,se;const oe=Ts(k,e.ssrContext,_,ce,i,()=>$n(P)||R(l),{ssg:X()&&b==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:fe===0},u,rt),Ee=C(oe),[Ae]=([Y,se]=Xe(()=>ws(oe,a,Yn,P,{useCookie:c,differentDomains:f,initial:Ee,cacheMessages:qn,skipSettingLocaleOnNavigate:d,lazy:g})),Y=await Y,se(),Y);Ae&&Ee&&(S=!1);const pe=Ps({route:{to:k,from:x},context:a,targetLocale:oe,routeLocaleGetter:ce.strategy==="no_prefix"?()=>oe:_,nuxtI18nOptions:ce,calledWithRouting:!0});return fe++,Cs({i18n:P,redirectPath:pe,locale:oe,route:k},{differentDomains:f,skipSettingLocaleOnNavigate:d,rootRedirect:p})},{global:!0})}}),Rm="__NUXT_COLOR_MODE__",hg="ColorScheme",Cm="nuxt-color-mode",Fe=window[Rm]||{},km=we(e=>{const t=ni("color-mode",()=>it({preference:Fe.preference,value:Fe.value,unknown:!1,forced:!1})).value;je().afterEach(r=>{const s=r.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Fe.getColorScheme():t.preference)});let n;function o(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Fe.getColorScheme())}))}qe(()=>t.preference,r=>{var s;t.forced||(r==="system"?(t.value=Fe.getColorScheme(),o()):t.value=r,(s=window.localStorage)==null||s.setItem(Cm,r))},{immediate:!0}),qe(()=>t.value,(r,s)=>{Fe.removeColorScheme(s),Fe.addColorScheme(r)}),t.preference==="system"&&o(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Fe.preference,t.value=Fe.value,t.unknown=!1)}),e.provide("colorMode",t)});function Sm(e={}){const t=e.path||window.location.pathname;let n={};try{n=Bt(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){const t=xm(e);t&&t.forEach(n=>$m(n))},Im=e=>{e.forEach(t=>{t.target===ze&&Dm(),ge.has(t.target)&&pt(t.target)})};function Am(e){const t=Oo.get(e);t==null||t.disconnect();let n=ge.get(e),o=0;const r=5;n||(n=St(e),ge.set(e,n));const{offsetWidth:s,offsetHeight:a}=ze,c=[n.top-r,s-(n.left+r+n.width),a-(n.top+r+n.height),n.left-r].map(l=>`${-1*Math.floor(l)}px`).join(" "),u=new IntersectionObserver(()=>{++o>1&&pt(e)},{root:ze,threshold:1,rootMargin:c});u.observe(e),Oo.set(e,u)}function pt(e){clearTimeout(vn.get(e));const t=Un(e),n=Qt(t)?500:t.duration;vn.set(e,setTimeout(async()=>{const o=ct.get(e);try{await(o==null?void 0:o.finished),ge.set(e,St(e)),Am(e)}catch{}},n))}function Dm(){clearTimeout(vn.get(ze)),vn.set(ze,setTimeout(()=>{ci.forEach(e=>di(e,t=>li(()=>pt(t))))},100))}function Mm(e){setTimeout(()=>{Om.set(e,setInterval(()=>li(pt.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function li(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let No,Lt;typeof window<"u"&&(ze=document.documentElement,No=new MutationObserver(Nm),Lt=new ResizeObserver(Im),window.addEventListener("scroll",()=>{tr=window.scrollY,er=window.scrollX}),Lt.observe(ze));function xm(e){return e.reduce((o,r)=>[...o,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(o=>o.nodeName==="#comment")?!1:e.reduce((o,r)=>{if(o===!1)return!1;if(r.target instanceof Element){if(zn(r.target),!o.has(r.target)){o.add(r.target);for(let s=0;sn(e,kt.has(e)));for(let n=0;nr(o,kt.has(o)))}}function or(e){return Array.isArray(e)?e:[e]}function Qt(e){return typeof e=="function"}function Um(e){const t=ge.get(e),n=St(e);if(!nr(e))return ge.set(e,n);let o;if(!t)return;const r=Un(e);if(typeof r!="function"){const s=t.left-n.left,a=t.top-n.top,[i,c,u,l]=ui(e,t,n),f={transform:`translate(${s}px, ${a}px)`},d={transform:"translate(0, 0)"};i!==c&&(f.width=`${i}px`,d.width=`${c}px`),u!==l&&(f.height=`${u}px`,d.height=`${l}px`),o=e.animate([f,d],{duration:r.duration,easing:r.easing})}else{const[s]=or(r(e,"remain",t,n));o=new Animation(s),o.play()}ct.set(e,o),ge.set(e,n),o.addEventListener("finish",pt.bind(null,e))}function ks(e){bn in e&&delete e[bn];const t=St(e);ge.set(e,t);const n=Un(e);if(!nr(e))return;let o;if(typeof n!="function")o=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:n.duration*1.5,easing:"ease-in"});else{const[r]=or(n(e,"add",t));o=new Animation(r),o.play()}ct.set(e,o),o.addEventListener("finish",pt.bind(null,e))}function Ss(e,t){var n;e.remove(),ge.delete(e),Ct.delete(e),ct.delete(e),(n=Oo.get(e))===null||n===void 0||n.disconnect(),setTimeout(()=>{if(zt in e&&delete e[zt],Object.defineProperty(e,bn,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(const o in t)e.style[o]=""},0)}function Hm(e){var t;if(!Ct.has(e)||!ge.has(e))return;const[n,o]=Ct.get(e);Object.defineProperty(e,zt,{value:!0,configurable:!0});const r=window.scrollX,s=window.scrollY;if(o&&o.parentNode&&o.parentNode instanceof Element?o.parentNode.insertBefore(e,o):n&&n.parentNode?n.parentNode.appendChild(e):(t=fi(e))===null||t===void 0||t.appendChild(e),!nr(e))return Ss(e);const[a,i,c,u]=Vm(e),l=Un(e),f=ge.get(e);(r!==er||s!==tr)&&jm(e,r,s,l);let d,g={position:"absolute",top:`${a}px`,left:`${i}px`,width:`${c}px`,height:`${u}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!Qt(l))Object.assign(e.style,g),d=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:l.duration,easing:"ease-out"});else{const[E,L]=or(l(e,"remove",f));(L==null?void 0:L.styleReset)!==!1&&(g=(L==null?void 0:L.styleReset)||g,Object.assign(e.style,g)),d=new Animation(E),d.play()}ct.set(e,d),d.addEventListener("finish",Ss.bind(null,e,g))}function jm(e,t,n,o){const r=er-t,s=tr-n,a=document.documentElement.style.scrollBehavior;if(getComputedStyle(ze).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+r,window.scrollY+s),!e.parentElement)return;const c=e.parentElement;let u=c.clientHeight,l=c.clientWidth;const f=performance.now();function d(){requestAnimationFrame(()=>{if(!Qt(o)){const g=u-c.clientHeight,E=l-c.clientWidth;f+o.duration>performance.now()?(window.scrollTo({left:window.scrollX-E,top:window.scrollY-g}),u=c.clientHeight,l=c.clientWidth,d()):document.documentElement.style.scrollBehavior=a}})}d()}function Vm(e){const t=ge.get(e),[n,,o]=ui(e,t,St(e));let r=e.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const s=getComputedStyle(r),a=ge.get(r)||St(r),i=Math.round(t.top-a.top)-Oe(s.borderTopWidth),c=Math.round(t.left-a.left)-Oe(s.borderLeftWidth);return[i,c,n,o]}function Bm(e,t={}){return No&&Lt&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!Qt(t)&&!t.disrespectUserMotionPreference||($t.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),di(e,pt,Mm,r=>Lt==null?void 0:Lt.observe(r)),Qt(t)?kt.set(e,t):kt.set(e,{duration:250,easing:"ease-in-out",...t}),No.observe(e,{childList:!0}),ci.add(e))),Object.freeze({parent:e,enable:()=>{$t.add(e)},disable:()=>{$t.delete(e)},isEnabled:()=>$t.has(e)})}const Wm={mounted:(e,t)=>{Bm(e,t.value||{})},getSSRProps:()=>({})},Km=Wm,Gm=we(e=>{e.vueApp.directive("auto-animate",Km)}),Xm=we({name:"nuxt:chunk-reload",setup(e){const t=je(),n=$o(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:s})=>{o.add(s)});function r(s){const i="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:It(n.app.baseURL,s.fullPath);Sm({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((s,a)=>{o.has(s)&&r(a)})}}),Ym=we(e=>{let t;async function n(){const o=await kn();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const r=await $fetch(Mo("builds/latest.json"));r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}va(()=>{t=setTimeout(n,1e3*60*60)})}),qm=[au,cu,bf,wf,ld,ud,fd,Pm,km,Gm,Xm,Ym],zm=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),Io=(e,t)=>{const n=e.route.matched.find(r=>{var s;return((s=r.components)==null?void 0:s.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&zm(e.route,n));return typeof o=="function"?o(e.route):o},Qm=(e,t)=>({default:()=>e?Ie(bi,e===!0?{}:e,t):t}),Jm=lt({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,o={};for(const r in e.route)Object.defineProperty(o,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Ft(Rn,Tn(o)),()=>Ie(e.vnode,{ref:e.vnodeRef})}}),Zm=lt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const o=te(),r=_e(),s=ve(Rn,null);n({pageRef:r});const a=ve(Wl,null);let i;const c=o.deferHydration();return()=>Ie(La,{name:e.name,route:e.route,...t},{default:u=>{const l=ng(s,u.route,u.Component),f=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(i&&!f)return i;c();return}if(i&&a&&!a.isCurrent(u.route))return i;if(l&&s&&(!a||a!=null&&a.isCurrent(s)))return f?i:null;const d=Io(u,e.pageKey),g=!!(e.transition??u.route.meta.pageTransition??uo),E=g&&tg([e.transition,u.route.meta.pageTransition,uo,{onAfterLeave:()=>{o.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),L=e.keepalive??u.route.meta.keepalive??Zl;return i=hf(wi,g&&E,Qm(L,Ie(Fs,{suspensible:!0,onPending:()=>o.callHook("page:start",u.Component),onResolve:()=>{Ot(()=>o.callHook("page:finish",u.Component).finally(c))}},{default:()=>{const b=Ie(Jm,{key:d||void 0,vnode:u.Component,route:u.route,renderKey:d||void 0,trackRootNodes:g,vnodeRef:r});return L&&(b.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),b}}))).default(),i}})}});function eg(e){return Array.isArray(e)?e:e?[e]:[]}function tg(e){const t=e.map(n=>({...n,onAfterLeave:eg(n.onAfterLeave)}));return oa(...t)}function ng(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>{var s;return((s=r.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((r,s)=>{var a,i,c;return((a=r.components)==null?void 0:a.default)!==((c=(i=e.matched[s])==null?void 0:i.components)==null?void 0:c.default)})||n&&Io({route:t,Component:n})!==Io({route:e,Component:n})}const og=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},rg={};function sg(e,t){const n=Zm;return at(),Ti("div",null,[Ms(n)])}const ag=og(rg,[["render",sg]]),ig={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(` +`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`${f.text}`).join(` +`);const o=Number(n.statusCode||500),r=o===404,s=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),i=void 0,c=U(()=>F(()=>import("./error-404.b85e710d.js"),["./error-404.b85e710d.js","./nuxt-link.3d9cb505.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./vue.f36acd1f.b36361a4.js","./error-404.95c28eb4.css"],import.meta.url).then(f=>f.default||f)),u=U(()=>F(()=>import("./error-500.de61a1fd.js"),["./error-500.de61a1fd.js","./vue.f36acd1f.b36361a4.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./error-500.e798523c.css"],import.meta.url).then(f=>f.default||f)),l=r?c:u;return(f,d)=>(at(),gt(Q(l),Pi(Ri({statusCode:Q(o),statusMessage:Q(s),description:Q(a),stack:Q(i)})),null,16))}},Os={__name:"nuxt-root",setup(e){const t=()=>null,n=te(),o=n.deferHydration(),r=!1;Ft(Rn,Ho()),n.hooks.callHookWith(i=>i.map(c=>c()),"vue:setup");const s=Cn();Ci((i,c,u)=>{if(n.hooks.callHook("vue:error",i,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),Gl(i)&&(i.fatal||i.unhandled))return n.runWithContext(()=>Et(i)),!1});const a=!1;return(i,c)=>(at(),gt(Fs,{onResolve:Q(o)},{default:ki(()=>[Q(s)?(at(),gt(Q(ig),{key:0,error:Q(s)},null,8,["error"])):Q(a)?(at(),gt(Q(t),{key:1,context:Q(a)},null,8,["context"])):Q(r)?(at(),gt(Si(Q(r)),{key:2})):(at(),gt(Q(ag),{key:3}))]),_:1},8,["onResolve"]))}};let Ns;{let e;Ns=async function(){var a,i;if(e)return e;const o=!!((a=window.__NUXT__)!=null&&a.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?Oi(Os):Ni(Os),r=Mc({vueApp:o});async function s(c){await r.callHook("app:error",c),r.payload.error=r.payload.error||c}o.config.errorHandler=s;try{await $c(r,qm)}catch(c){s(c)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(eu),await r.hooks.callHook("app:mounted",o),await Ot()}catch(c){s(c)}return o.config.errorHandler===s&&(o.config.errorHandler=void 0),o},e=Ns().catch(t=>{console.error("Error while mounting app:",t)})}export{ql as A,Jl as B,og as _,F as a,$o as b,hg as c,Dn as d,Ho as e,dg as f,te as g,Uo as h,ug as i,Ji as j,rr as k,It as l,Us as m,Bt as n,oi as o,je as p,ut as q,oo as r,va as s,Hr as t,ni as u,pg as v,Zn as w,Pn as x,Vi as y,fg as z}; diff --git a/_nuxt/error-404.b85e710d.js b/_nuxt/error-404.b85e710d.js new file mode 100644 index 0000000..c4800c8 --- /dev/null +++ b/_nuxt/error-404.b85e710d.js @@ -0,0 +1 @@ +import{_ as r}from"./nuxt-link.3d9cb505.js";import{u as n}from"./vue.f36acd1f.b36361a4.js";import{_ as a}from"./entry.0b593fc5.js";import{B as d,C as c,N as e,O as s,q as l,I as p,P as m,Q as f,R as x}from"./swiper-vue.7361a076.js";const h=t=>(f("data-v-ccd3db62"),t=t(),x(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=h(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),_={class:"max-w-520px text-center z-20"},b=["textContent"],y=["textContent"],w={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,N)=>{const i=r;return d(),c("div",u,[g,e("div",_,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,b),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,y),e("div",w,[l(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:p(()=>[m(s(t.backHome),1)]),_:1})])])])}}},j=a(S,[["__scopeId","data-v-ccd3db62"]]);export{j as default}; diff --git a/_nuxt/error-500.de61a1fd.js b/_nuxt/error-500.de61a1fd.js new file mode 100644 index 0000000..e638e45 --- /dev/null +++ b/_nuxt/error-500.de61a1fd.js @@ -0,0 +1 @@ +import{u as i}from"./vue.f36acd1f.b36361a4.js";import{_ as r}from"./entry.0b593fc5.js";import{B as a,C as n,N as e,O as s,Q as l,R as d}from"./swiper-vue.7361a076.js";const c=t=>(l("data-v-df79c84d"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},m=["textContent"],g=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return i({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(u,b)=>(a(),n("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,m),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},S=r(x,[["__scopeId","data-v-df79c84d"]]);export{S as default}; diff --git a/_nuxt/i18n.config.018d495b.js b/_nuxt/i18n.config.018d495b.js new file mode 100644 index 0000000..498900a --- /dev/null +++ b/_nuxt/i18n.config.018d495b.js @@ -0,0 +1,9 @@ +const e=()=>({legacy:!1,locale:"pt",messages:{pt:{intro:`Olá, tudo bem? +Meu nome é Pablo, e +eu sou dev de software`,contact:"Entre em contato",more:"Deslize e saiba mais",about_title:"Sobre",about_text:"Programar é minha paixão. Sempre curti mergulhar nesse universo e aprender os conceitos e as ferramentas, para fazer com que pequenas ideias se tornem grandes fontes de aprendizado ou bons produtos.",skills_title:"Habilidades",roles_title:"Funções preferidas",roles_text:` Desenvolvedor web + Desenvolvedor de software + `,access_live:"ver app",more_at:"Mais em meu",old_gh_text:"Você também pode checar minha página antiga do github (mais desorganizada)"},en:{intro:`Hey there! +I'm Pablo, and +I develop software`,contact:"Call me",more:"Swipe for more",about_title:"About",about_text:"I do it by love. I enjoy diving into this world; learn concepts and find out tools; making small ideas be either big sources of knowledge or nice products.",skills_title:"Skills",roles_title:"Prefered roles",roles_text:` Web developer + Software developer + `,access_live:"view app",more_at:"More at my",old_gh_text:"You can also check my old (messy) github page"}}});export{e as default}; diff --git a/_nuxt/index.46187f31.css b/_nuxt/index.46187f31.css new file mode 100644 index 0000000..96a978d --- /dev/null +++ b/_nuxt/index.46187f31.css @@ -0,0 +1 @@ +.v-enter-active,.v-leave-active{transition:opacity 2s ease-in-out}.v-enter-from,.v-leave-to{opacity:0}.topbar[data-v-ca1cc8a0]{align-items:center;display:flex;gap:.5rem;margin-right:1rem;padding-top:1rem;position:fixed;right:0;z-index:10}.switch[data-v-ca1cc8a0]{border-radius:9999px;cursor:pointer;opacity:.6;padding:.5rem;z-index:40}.switch[data-v-ca1cc8a0]:hover{--tw-bg-opacity:1;background-color:#c7d2fe;background-color:rgb(199 210 254/var(--tw-bg-opacity));opacity:1}:is(.dark .switch[data-v-ca1cc8a0]):hover{--tw-bg-opacity:1;background-color:#083344;background-color:rgb(8 51 68/var(--tw-bg-opacity))}.tabspace[data-v-3f889e56]{display:none}@media (min-width:768px){.tabspace[data-v-3f889e56]{display:inline}}.intro[data-v-3f889e56]{font-size:1.5rem;font-weight:700;line-height:2rem;margin-top:5rem;white-space:nowrap;width:-moz-fit-content;width:fit-content}@media (min-width:640px){.intro[data-v-3f889e56]{font-size:2.25rem;line-height:2.5rem}}.intro .line[data-v-3f889e56]{display:flex}.intro .line .letter[data-v-3f889e56]{visibility:hidden}.intro-info[data-v-0ef26f74]{-moz-column-gap:1rem;column-gap:1rem;display:flex;flex-direction:column;font-size:1.125rem;line-height:1.75rem;margin-top:6rem;row-gap:3rem;width:100%}@media (min-width:640px){.intro-info[data-v-0ef26f74]{flex-direction:row;font-size:1.25rem;justify-content:space-between;line-height:1.75rem}}.info-item[data-v-0ef26f74]{align-items:center;display:flex;gap:.5rem}.info-item.contact[data-v-0ef26f74]{order:2}@media (min-width:640px){.info-item.contact[data-v-0ef26f74]{order:1}}.info-item.more[data-v-0ef26f74]{order:1}@media (min-width:640px){.info-item.more[data-v-0ef26f74]{order:2}}.about[data-v-7030895c]{display:flex;flex-wrap:wrap;row-gap:1rem}.subsection[data-v-7030895c]{gap:.5rem}.division[data-v-7030895c],.subsection[data-v-7030895c]{display:flex;flex-direction:column}.division[data-v-7030895c]{flex-basis:100%;gap:1rem;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px){.division[data-v-7030895c]{flex-basis:50%}}.v-enter-active[data-v-7030895c],.v-leave-active[data-v-7030895c]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-7030895c],.v-leave-to[data-v-7030895c]{opacity:0}.title{--tw-border-opacity:1;border-bottom-left-radius:.125rem;border-color:#0e7490;border-color:rgb(14 116 144/var(--tw-border-opacity));border-left-width:4px;border-top-left-radius:.125rem;display:inline-block;font-size:1.125rem;font-weight:600;line-height:1.75rem;padding-left:.5rem;padding-right:.5rem}img{margin-left:auto;margin-right:auto}.project-container{--tw-bg-opacity:.3;background-color:#ffffff4d;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;padding:.5rem}:is(.dark .project-container){--tw-bg-opacity:.6;background-color:#0009;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.project:focus{border-style:none;outline:2px solid transparent;outline-offset:2px}.project-header{align-items:flex-start;gap:1rem;justify-content:space-between;padding-right:.5rem}.project-external,.project-header{display:flex;flex-direction:row}.project-external{gap:.5rem;padding-top:.5rem}.project-external .homepage{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:#6ee7b7;background-color:rgb(110 231 183/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#047857;color:rgb(4 120 87/var(--tw-text-opacity));cursor:pointer;padding:.75rem}.project-external .homepage:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#10b981;background-color:rgb(16 185 129/var(--tw-bg-opacity));color:#ecfdf5;color:rgb(236 253 245/var(--tw-text-opacity))}:is(.dark .project-external .homepage){--tw-bg-opacity:.8;--tw-text-opacity:1;background-color:#164e63cc;background-color:rgb(22 78 99/var(--tw-bg-opacity));color:#a5f3fc;color:rgb(165 243 252/var(--tw-text-opacity))}:is(.dark .project-external .homepage:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#0891b2;background-color:rgb(8 145 178/var(--tw-bg-opacity));color:#cffafe;color:rgb(207 250 254/var(--tw-text-opacity))}.project-external .video{cursor:pointer;opacity:.6;width:3rem}.project-external .video:hover{opacity:1}.project-external .video svg{height:100%;width:100%}.project-external span{white-space:nowrap}svg[data-v-5a1f7b1f]{height:100%;width:100%}.projects-nav[data-v-3d5ad874]{gap:1rem}.project-item[data-v-3d5ad874],.projects-nav[data-v-3d5ad874]{display:flex}.project-item[data-v-3d5ad874]{--tw-bg-opacity:.7;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);--tw-shadow-color:#042f2e;--tw-shadow:var(--tw-shadow-colored);align-items:center;background-color:#0f766eb3;background-color:rgb(15 118 110/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #042f2e;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:#f0fdfa;color:rgb(240 253 250/var(--tw-text-opacity));cursor:pointer;height:4rem;justify-content:center;padding:1rem;width:4rem}.project-item[data-v-3d5ad874]:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#14b8a6;background-color:rgb(20 184 166/var(--tw-bg-opacity));color:#fff;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]){--tw-bg-opacity:.2;--tw-text-opacity:1;--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored);background-color:#312e8133;background-color:rgb(49 46 129/var(--tw-bg-opacity));color:#155e75;color:rgb(21 94 117/var(--tw-text-opacity))}:is(.dark .project-item[data-v-3d5ad874]:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#3730a3;background-color:rgb(55 48 163/var(--tw-bg-opacity));color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.project-item.active[data-v-3d5ad874]{--tw-bg-opacity:1}:is(.dark .project-item.active[data-v-3d5ad874]){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.projects-container[data-v-a31d9570]{display:flex;flex-direction:column;gap:1rem;height:100%}.project-swiper-container[data-v-a31d9570]{height:75%}.project-slide-content[data-v-a31d9570],.project-swiper[data-v-a31d9570]{height:100%}.v-enter-active[data-v-a31d9570],.v-leave-active[data-v-a31d9570]{transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-enter-from[data-v-a31d9570],.v-leave-to[data-v-a31d9570]{opacity:0}.swiper[data-v-8524a0d8],.swiper-container[data-v-8524a0d8]{height:100%;outline-color:#f0fdfa}.slide-content[data-v-8524a0d8]{--tw-bg-opacity:.2;padding:6rem 2rem 1rem}@media (min-width:640px){.slide-content[data-v-8524a0d8]{padding-left:5rem;padding-right:5rem}}@media (min-width:768px){.slide-content[data-v-8524a0d8]{padding-left:7rem;padding-right:7rem;padding-top:9rem}}@media (min-width:1024px){.slide-content[data-v-8524a0d8]{padding-left:9rem;padding-right:9rem}}@media (min-width:1280px){.slide-content[data-v-8524a0d8]{padding-left:11rem;padding-right:11rem}}@media (min-width:1536px){.slide-content[data-v-8524a0d8]{padding-left:13rem;padding-right:13rem}}.main{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#eef2ff;background-color:rgb(238 242 255/var(--tw-bg-opacity));color:#0d9488;color:rgb(13 148 136/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;height:100svh;overflow-y:clip;transition-duration:1s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100vw}:is(.dark .main){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:#030426;background-color:rgb(3 4 38/var(--tw-bg-opacity));color:#06b6d4;color:rgb(6 182 212/var(--tw-text-opacity))}.intro,.main h1,.title,h2,h3{--tw-text-opacity:1;color:#0f766e;color:rgb(15 118 110/var(--tw-text-opacity))}:is(.dark .intro),:is(.dark .main h1),:is(.dark .title),:is(.dark h2),:is(.dark h3){--tw-text-opacity:1;color:#22d3ee;color:rgb(34 211 238/var(--tw-text-opacity))}.main a{font-weight:500;text-decoration-line:underline} diff --git a/_nuxt/index.6c66b8af.js b/_nuxt/index.6c66b8af.js new file mode 100644 index 0000000..722c9c4 --- /dev/null +++ b/_nuxt/index.6c66b8af.js @@ -0,0 +1 @@ +import{V as R,i as S,O as z,s as f,c as B,a as w,b as j,g as F,d as b,e as u,r as G,f as J,h as K,j as V,k as D,l as _,m as O,n as E,o as x,p as W,q as Q,t as C,A as X,u as I,v as Y,w as Z,x as $,y as N}from"./index.c1a03e99.js";import{E as ii,l as ti}from"./index.e590972e.js";import"./entry.0b593fc5.js";import"./swiper-vue.7361a076.js";import"./Icon.241d7e64.js";import"./index.b8fe2cb5.js";import"./ContentRenderer.70b94723.js";import"./ContentRendererMarkdown.vue.ac44211b.js";import"./index.b0fe9fac.js";import"./preview.cf1a2dd4.js";import"./query.a51a821d.js";class ei{constructor(){this.radius=0,this.mass=0}load(i){i&&(i.mass!==void 0&&(this.mass=i.mass),i.radius!==void 0&&(this.radius=i.radius))}}class si extends R{constructor(){super(),this.density=5,this.value=50,this.limit=new ei}load(i){i&&(super.load(i),i.density!==void 0&&(this.density=i.density),S(i.limit)?this.limit.radius=i.limit:this.limit.load(i.limit))}}class M{constructor(){this.color=new z,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new si}load(i){i!==void 0&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.draggable!==void 0&&(this.draggable=i.draggable),this.name=i.name,i.opacity!==void 0&&(this.opacity=i.opacity),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.size!==void 0&&this.size.load(i.size),i.destroy!==void 0&&(this.destroy=i.destroy),i.orbits!==void 0&&(this.orbits=i.orbits))}}class ni{constructor(i,t,e,n){var a;this.absorbers=i,this.container=t,this._calcPosition=()=>{const o=B({size:this.container.canvas.size,position:this.options.position});return w.create(o.x,o.y)},this._updateParticlePosition=(o,h)=>{if(o.destroyed)return;const l=this.container,c=l.canvas.size;if(o.needsNewPosition){const d=j({size:c});o.position.setTo(d),o.velocity.setTo(o.initialVelocity),o.absorberOrbit=void 0,o.needsNewPosition=!1}if(this.options.orbits){if(o.absorberOrbit===void 0&&(o.absorberOrbit=w.create(0,0),o.absorberOrbit.length=F(o.getPosition(),this.position),o.absorberOrbit.angle=b()*Math.PI*2),o.absorberOrbit.length<=this.size&&!this.options.destroy){const g=Math.min(c.width,c.height);o.absorberOrbit.length=g*(1+(b()*.2-.1))}o.absorberOrbitDirection===void 0&&(o.absorberOrbitDirection=o.velocity.x>=0?"clockwise":"counter-clockwise");const d=o.absorberOrbit.length,p=o.absorberOrbit.angle,m=o.absorberOrbitDirection;o.velocity.setTo(w.origin);const y={x:m==="clockwise"?Math.cos:Math.sin,y:m==="clockwise"?Math.sin:Math.cos};o.position.x=this.position.x+d*y.x(p),o.position.y=this.position.y+d*y.y(p),o.absorberOrbit.length-=h.length,o.absorberOrbit.angle+=(o.retina.moveSpeed??0)*l.retina.pixelRatio/100*l.retina.reduceFactor}else{const d=w.origin;d.length=h.length,d.angle=h.angle,o.velocity.addTo(d)}},this.initialPosition=n?w.create(n.x,n.y):void 0,e instanceof M?this.options=e:(this.options=new M,this.options.load(e)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=u(this.options.size.value)*t.retina.pixelRatio,this.mass=this.size*this.options.size.density*t.retina.reduceFactor;const r=this.options.size.limit;this.limit={radius:r.radius*t.retina.pixelRatio*t.retina.reduceFactor,mass:r.mass},this.color=G(this.options.color)??{b:0,g:0,r:0},this.position=((a=this.initialPosition)==null?void 0:a.copy())??this._calcPosition()}attract(i){const t=this.container,e=this.options;if(e.draggable){const l=t.interactivity.mouse;l.clicking&&l.downPosition?F(this.position,l.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&l.position&&(this.position.x=l.position.x,this.position.y=l.position.y)}const n=i.getPosition(),{dx:r,dy:a,distance:o}=J(this.position,n),h=w.create(r,a);if(h.length=this.mass/Math.pow(o,2)*t.retina.reduceFactor,oi.getRadius()&&ot===void 0||S(t)?this.array[t||0]:this.array.find(e=>e.name===t),i.addAbsorber=(t,e)=>this.addAbsorber(t,e)}addAbsorber(i,t){const e=new ni(this,this.container,i,t);return this.array.push(e),e}draw(i){for(const t of this.array)t.draw(i)}handleClickMode(i){const t=this.absorbers,e=this.interactivityAbsorbers;if(i==="absorber"){const n=D(e),r=n??D(t),a=this.container.interactivity.mouse.clickPosition;this.addAbsorber(r,a)}}async init(){this.absorbers=this.container.actualOptions.absorbers,this.interactivityAbsorbers=this.container.actualOptions.interactivity.modes.absorbers,_(this.absorbers,i=>{this.addAbsorber(i)})}particleUpdate(i){for(const t of this.array)if(t.attract(i),i.destroyed)break}removeAbsorber(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}}class ri{constructor(){this.id="absorbers"}getPlugin(i){return new oi(i)}loadOptions(i,t){var e,n;!this.needsPlugin(i)&&!this.needsPlugin(t)||(t!=null&&t.absorbers&&(i.absorbers=_(t.absorbers,r=>{const a=new M;return a.load(r),a})),i.interactivity.modes.absorbers=_((n=(e=t==null?void 0:t.interactivity)==null?void 0:e.modes)==null?void 0:n.absorbers,r=>{const a=new M;return a.load(r),a}))}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.absorbers;return O(t)?!!t.length:t?!0:!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode&&E("absorber",i.interactivity.events.onClick.mode))}}async function ai(s,i=!0){await s.addPlugin(new ri,i)}class li{load(i){i&&(i.bottom!==void 0&&(this.bottom=f(i.bottom)),i.left!==void 0&&(this.left=f(i.left)),i.right!==void 0&&(this.right=f(i.right)),i.top!==void 0&&(this.top=f(i.top)))}}class hi extends R{constructor(){super(),this.value=3}}class di extends R{constructor(){super(),this.value={min:4,max:9}}}class ci{constructor(){this.count=1,this.factor=new hi,this.rate=new di,this.sizeOffset=!0}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.count!==void 0&&(this.count=i.count),this.factor.load(i.factor),this.rate.load(i.rate),this.particles=_(i.particles,t=>x({},t)),i.sizeOffset!==void 0&&(this.sizeOffset=i.sizeOffset),i.colorOffset&&(this.colorOffset=this.colorOffset??{},i.colorOffset.h!==void 0&&(this.colorOffset.h=i.colorOffset.h),i.colorOffset.s!==void 0&&(this.colorOffset.s=i.colorOffset.s),i.colorOffset.l!==void 0&&(this.colorOffset.l=i.colorOffset.l)))}}class ui{constructor(){this.bounds=new li,this.mode="none",this.split=new ci}load(i){i&&(i.mode&&(this.mode=i.mode),i.bounds&&this.bounds.load(i.bounds),this.split.load(i.split))}}function fi(s,i,t,e){const n=t.options.destroy;if(!n)return;const r=n.split,a=Q(s,i,t.options),o=W(r.factor),h=t.getFillColor();r.color?a.color.load(r.color):r.colorOffset&&h?a.color.load({value:{hsl:{h:h.h+u(r.colorOffset.h??0),s:h.s+u(r.colorOffset.s??0),l:h.l+u(r.colorOffset.l??0)}}}):a.color.load({value:{hsl:t.getFillColor()}}),a.move.load({center:{x:t.position.x,y:t.position.y,mode:"precise"}}),S(a.size.value)?a.size.value/=o:(a.size.value.min/=o,a.size.value.max/=o),a.load(e);const l=r.sizeOffset?f(-t.size.value,t.size.value):0,c={x:t.position.x+C(l),y:t.position.y+C(l)};return i.particles.addParticle(c,a,t.group,d=>d.size.value<.5?!1:(d.velocity.length=C(f(t.velocity.length,d.velocity.length)),d.splitCount=(t.splitCount??0)+1,d.unbreakable=!0,setTimeout(()=>{d.unbreakable=!1},500),!0))}function pi(s,i,t){const e=t.options.destroy;if(!e)return;const n=e.split;if(n.count>=0&&(t.splitCount===void 0||t.splitCount++>n.count))return;const r=W(n.rate),a=D(n.particles);for(let o=0;o=e.bottom||e.left!==void 0&&t.x<=e.left||e.right!==void 0&&t.x>=e.right||e.top!==void 0&&t.y<=e.top)&&i.destroy()}}async function yi(s,i=!0){await s.addParticleUpdater("destroy",t=>new mi(s,t),i)}class bi{randomPosition(i,t,e){const n=(d,p)=>{const m=b()/4,y=Math.atan(p/d*Math.tan(2*Math.PI*m)),g=b();return g<.25?y:g<.5?Math.PI-y:g<.75?Math.PI+y:-y},r=(d,p,m)=>d*p/Math.sqrt((p*Math.cos(m))**2+(d*Math.sin(m))**2),[a,o]=[t.width/2,t.height/2],h=n(a,o),l=r(a,o,h),c=e?l*Math.sqrt(b()):l;return{x:i.x+c*Math.cos(h),y:i.y+c*Math.sin(h)}}}class gi{constructor(){this.wait=!1}load(i){i&&(i.count!==void 0&&(this.count=i.count),i.delay!==void 0&&(this.delay=f(i.delay)),i.duration!==void 0&&(this.duration=f(i.duration)),i.wait!==void 0&&(this.wait=i.wait))}}class wi{constructor(){this.quantity=1,this.delay=.1}load(i){i!==void 0&&(i.quantity!==void 0&&(this.quantity=f(i.quantity)),i.delay!==void 0&&(this.delay=f(i.delay)))}}class H{constructor(){this.mode="percent",this.height=0,this.width=0}load(i){i!==void 0&&(i.mode!==void 0&&(this.mode=i.mode),i.height!==void 0&&(this.height=i.height),i.width!==void 0&&(this.width=i.width))}}class v{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new gi,this.rate=new wi,this.shape="square",this.startCount=0}load(i){i&&(i.autoPlay!==void 0&&(this.autoPlay=i.autoPlay),i.size!==void 0&&(this.size||(this.size=new H),this.size.load(i.size)),i.direction!==void 0&&(this.direction=i.direction),this.domId=i.domId,i.fill!==void 0&&(this.fill=i.fill),this.life.load(i.life),this.name=i.name,this.particles=_(i.particles,t=>x({},t)),this.rate.load(i.rate),i.shape!==void 0&&(this.shape=i.shape),i.position!==void 0&&(this.position={},i.position.x!==void 0&&(this.position.x=f(i.position.x)),i.position.y!==void 0&&(this.position.y=f(i.position.y))),i.spawnColor!==void 0&&(this.spawnColor===void 0&&(this.spawnColor=new X),this.spawnColor.load(i.spawnColor)),i.startCount!==void 0&&(this.startCount=i.startCount))}}class vi{constructor(i,t,e,n,r){var o,h;this.emitters=t,this.container=e,this._calcPosition=()=>B({size:this.container.canvas.size,position:this.options.position}),this._destroy=()=>{this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})},this._emit=()=>{if(this._paused)return;const l=u(this.options.rate.quantity);this._emitParticles(l)},this._emitParticles=l=>{var m,y;const c=this.getPosition(),d=this.getSize(),p=D(this._particlesOptions);for(let g=0;g{var c;if(this._paused)return;const l=((c=this.options.life)==null?void 0:c.duration)!==void 0?u(this.options.life.duration):void 0;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&l!==void 0&&l>0&&(this._duration=l*1e3)},this._setColorAnimation=(l,c,d)=>{const p=this.container;if(!l.enable)return c;const m=C(l.offset),y=u(this.options.rate.delay),g=1e3*y/p.retina.reduceFactor,P=u(l.speed??0);return(c+P*p.fpsLimit/g+m*3.6)%d},this._engine=i,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=r,n instanceof v?this.options=n:(this.options=new v,this.options.load(n)),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor,this.position=this._initialPosition??this._calcPosition(),this.name=this.options.name,this._shape=(o=this._engine.emitterShapeManager)==null?void 0:o.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let a=x({},this.options.particles);a??(a={}),a.move??(a.move={}),(h=a.move).direction??(h.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=I(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=a,this.size=this.options.size??(()=>{const l=new H;return l.load({height:0,mode:"percent",width:0}),l})(),this._lifeCount=this.options.life.count??-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:e,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const i=this.container,t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{x:(e.x+e.width/2)*i.retina.pixelRatio,y:(e.y+e.height/2)*i.retina.pixelRatio}}}return this.position}getSize(){const i=this.container;if(this.options.domId){const t=document.getElementById(this.options.domId);if(t){const e=t.getBoundingClientRect();return{width:e.width*i.retina.pixelRatio,height:e.height*i.retina.pixelRatio}}}return Y(this.size,i.canvas.size)}pause(){this._paused||delete this._emitDelay}play(){if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(this._spawnDelay??0))){if(this._emitDelay===void 0){const i=u(this.options.rate.delay);this._emitDelay=1e3*i/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this._prepareToDie()}}resize(){const i=this._initialPosition;this.position=i&&V(i,this.container.canvas.size,w.origin)?i:this._calcPosition()}update(i){this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=this._spawnDelay??0,this._currentEmitDelay=this._emitDelay??0),this._startParticlesAdded||(this._startParticlesAdded=!0,this._emitParticles(this.options.startCount)),this._duration!==void 0&&(this._currentDuration+=i.value,this._currentDuration>=this._duration&&(this.pause(),this._spawnDelay!==void 0&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this._calcPosition(),this._spawnDelay=u(this.options.life.delay??0)*1e3/this.container.retina.reduceFactor):this._destroy(),this._currentDuration-=this._duration,delete this._duration)),this._spawnDelay!==void 0&&(this._currentSpawnDelay+=i.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),this._emitDelay!==void 0&&(this._currentEmitDelay+=i.value,this._currentEmitDelay>=this._emitDelay&&(this._emit(),this._currentEmitDelay-=this._emitDelay)))}}class _i{constructor(i,t){this.container=t,this._engine=i,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},t.getEmitter=e=>e===void 0||S(e)?this.array[e||0]:this.array.find(n=>n.name===e),t.addEmitter=(e,n)=>this.addEmitter(e,n),t.removeEmitter=e=>{const n=t.getEmitter(e);n&&this.removeEmitter(n)},t.playEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPlay()},t.pauseEmitter=e=>{const n=t.getEmitter(e);n&&n.externalPause()}}addEmitter(i,t){const e=new v;e.load(i);const n=new vi(this._engine,this,this.container,e,t);return this.array.push(n),n}handleClickMode(i){const t=this.emitters,e=this.interactivityEmitters;if(i!=="emitter")return;let n;if(e&&O(e.value))if(e.value.length>0&&e.random.enable){n=[];const o=[];for(let h=0;h{this.addEmitter(o,a)})}async init(){if(this.emitters=this.container.actualOptions.emitters,this.interactivityEmitters=this.container.actualOptions.interactivity.modes.emitters,!!this.emitters)if(O(this.emitters))for(const i of this.emitters)this.addEmitter(i);else this.addEmitter(this.emitters)}pause(){for(const i of this.array)i.pause()}play(){for(const i of this.array)i.play()}removeEmitter(i){const t=this.array.indexOf(i);t>=0&&this.array.splice(t,1)}resize(){for(const i of this.array)i.resize()}stop(){this.array=[]}update(i){for(const t of this.array)t.update(i)}}const A=new Map;class Pi{constructor(i){this._engine=i}addShape(i,t){this.getShape(i)||A.set(i,t)}getShape(i){return A.get(i)}getSupportedShapes(){return A.keys()}}function T(s,i){return s+i*(b()-.5)}class Oi{randomPosition(i,t,e){if(e)return{x:T(i.x,t.width),y:T(i.y,t.height)};{const n=t.width/2,r=t.height/2,a=Math.floor(b()*4),o=(b()-.5)*2;switch(a){case 0:return{x:i.x+o*n,y:i.y-r};case 1:return{x:i.x-n,y:i.y+o*r};case 2:return{x:i.x+o*n,y:i.y+r};case 3:default:return{x:i.x+n,y:i.y+o*r}}}}}class zi{constructor(i){this._engine=i,this.id="emitters"}getPlugin(i){return new _i(this._engine,i)}loadOptions(i,t){var n,r;if(!this.needsPlugin(i)&&!this.needsPlugin(t))return;t!=null&&t.emitters&&(i.emitters=_(t.emitters,a=>{const o=new v;return o.load(a),o}));const e=(r=(n=t==null?void 0:t.interactivity)==null?void 0:n.modes)==null?void 0:r.emitters;if(e)if(O(e))i.interactivity.modes.emitters={random:{count:1,enable:!0},value:e.map(a=>{const o=new v;return o.load(a),o})};else{const a=e;if(a.value!==void 0)if(O(a.value))i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:a.value.map(o=>{const h=new v;return h.load(o),h})};else{const o=new v;o.load(a.value),i.interactivity.modes.emitters={random:{count:a.random.count??1,enable:a.random.enable??!1},value:o}}else(i.interactivity.modes.emitters={random:{count:1,enable:!1},value:new v}).value.load(e)}}needsPlugin(i){var e,n,r;if(!i)return!1;const t=i.emitters;return O(t)&&!!t.length||t!==void 0||!!((r=(n=(e=i.interactivity)==null?void 0:e.events)==null?void 0:n.onClick)!=null&&r.mode)&&E("emitter",i.interactivity.events.onClick.mode)}}async function xi(s,i=!0){s.emitterShapeManager||(s.emitterShapeManager=new Pi(s)),s.addEmitterShape||(s.addEmitterShape=(e,n)=>{var r;(r=s.emitterShapeManager)==null||r.addShape(e,n)});const t=new zi(s);await s.addPlugin(t,i),s.addEmitterShape("circle",new bi),s.addEmitterShape("square",new Oi)}class Si{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(i){i&&(i.delay!==void 0&&(this.delay=i.delay),i.quantity!==void 0&&(this.quantity=i.quantity),i.particles!==void 0&&(this.particles=x({},i.particles)),i.pauseOnStop!==void 0&&(this.pauseOnStop=i.pauseOnStop))}}class ki extends ii{constructor(i){super(i),this._delay=0}clear(){}init(){}async interact(i){var l,c,d,p;const t=this.container,{interactivity:e}=t;if(!t.retina.reduceFactor)return;const n=t.actualOptions,r=n.interactivity.modes.trail;if(!r)return;const a=r.delay*1e3/this.container.retina.reduceFactor;if(this._delaynew ki(t),i)}function Di(s){const i=s.options.roll;if(!(i!=null&&i.enable)){s.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0};return}if(s.roll={enable:i.enable,horizontal:i.mode==="horizontal"||i.mode==="both",vertical:i.mode==="vertical"||i.mode==="both",angle:b()*Math.PI*2,speed:u(i.speed)/360},i.backColor)s.backColor=I(i.backColor);else if(i.darken.enable&&i.enlighten.enable){const t=b()>=.5?"darken":"enlighten";s.roll.alter={type:t,value:u(t==="darken"?i.darken.value:i.enlighten.value)}}else i.darken.enable?s.roll.alter={type:"darken",value:u(i.darken.value)}:i.enlighten.enable&&(s.roll.alter={type:"enlighten",value:u(i.enlighten.value)})}function Ei(s,i){const t=s.options.roll,e=s.roll;if(!e||!(t!=null&&t.enable))return;const n=e.speed*i.factor,r=2*Math.PI;e.angle+=n,e.angle>r&&(e.angle-=r)}class q{constructor(){this.enable=!1,this.value=0}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.value!==void 0&&(this.value=f(i.value)))}}class Mi{constructor(){this.darken=new q,this.enable=!1,this.enlighten=new q,this.mode="vertical",this.speed=25}load(i){i&&(i.backColor!==void 0&&(this.backColor=z.create(this.backColor,i.backColor)),this.darken.load(i.darken),i.enable!==void 0&&(this.enable=i.enable),this.enlighten.load(i.enlighten),i.mode!==void 0&&(this.mode=i.mode),i.speed!==void 0&&(this.speed=f(i.speed)))}}class Ri{getTransformValues(i){var r;const t=((r=i.roll)==null?void 0:r.enable)&&i.roll,e=t&&t.horizontal,n=t&&t.vertical;return{a:e?Math.cos(t.angle):void 0,d:n?Math.sin(t.angle):void 0}}init(i){Di(i)}isEnabled(i){const t=i.options.roll;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.roll||(i.roll=new Mi);for(const e of t)i.roll.load(e==null?void 0:e.roll)}update(i,t){this.isEnabled(i)&&Ei(i,t)}}async function Ai(s,i=!0){await s.addParticleUpdater("roll",()=>new Ri,i)}class Ii{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(i){i&&(i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0&&(this.speed=f(i.speed)),i.decay!==void 0&&(this.decay=f(i.decay)),i.sync!==void 0&&(this.sync=i.sync))}}class Fi extends R{constructor(){super(),this.animation=new Ii,this.direction="clockwise",this.enable=!1,this.value=0}load(i){super.load(i),i&&(this.animation.load(i.animation),i.direction!==void 0&&(this.direction=i.direction),i.enable!==void 0&&(this.enable=i.enable))}}function Ti(s,i){if(!s.tilt||!s.options.tilt)return;const t=s.options.tilt,e=t.animation,n=(s.tilt.velocity??0)*i.factor,r=2*Math.PI,a=s.tilt.decay??1;if(e.enable){switch(s.tilt.status){case"increasing":s.tilt.value+=n,s.tilt.value>r&&(s.tilt.value-=r);break;case"decreasing":default:s.tilt.value-=n,s.tilt.value<0&&(s.tilt.value+=r);break}s.tilt.velocity&&a!==1&&(s.tilt.velocity*=a)}}class qi{constructor(i){this.container=i}getTransformValues(i){var e;const t=((e=i.tilt)==null?void 0:e.enable)&&i.tilt;return{b:t?Math.cos(t.value)*t.cosDirection:void 0,c:t?Math.sin(t.value)*t.sinDirection:void 0}}init(i){var r;const t=i.options.tilt;if(!t)return;i.tilt={enable:t.enable,value:u(t.value)*Math.PI/180,sinDirection:b()>=.5?1:-1,cosDirection:b()>=.5?1:-1};let e=t.direction;switch(e==="random"&&(e=Math.floor(b()*2)>0?"counter-clockwise":"clockwise"),e){case"counter-clockwise":case"counterClockwise":i.tilt.status="decreasing";break;case"clockwise":i.tilt.status="increasing";break}const n=(r=i.options.tilt)==null?void 0:r.animation;n!=null&&n.enable&&(i.tilt.decay=1-u(n.decay),i.tilt.velocity=u(n.speed)/360*this.container.retina.reduceFactor,n.sync||(i.tilt.velocity*=b()))}isEnabled(i){var e;const t=(e=i.options.tilt)==null?void 0:e.animation;return!i.destroyed&&!i.spawning&&!!(t!=null&&t.enable)}loadOptions(i,...t){i.tilt||(i.tilt=new Fi);for(const e of t)i.tilt.load(e==null?void 0:e.tilt)}update(i,t){this.isEnabled(i)&&Ti(i,t)}}async function Ui(s,i=!0){await s.addParticleUpdater("tilt",t=>new qi(t),i)}class U{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(i){i&&(i.color!==void 0&&(this.color=z.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=f(i.opacity)))}}class Bi{constructor(){this.lines=new U,this.particles=new U}load(i){i&&(this.lines.load(i.lines),this.particles.load(i.particles))}}class Vi{getColorStyles(i,t,e,n){const r=i.options,a=r.twinkle;if(!a)return{};const o=a.particles,h=o.enable&&b()new Vi,i)}class Hi{constructor(){this.angle=50,this.move=10}load(i){i&&(i.angle!==void 0&&(this.angle=f(i.angle)),i.move!==void 0&&(this.move=f(i.move)))}}class Li{constructor(){this.distance=5,this.enable=!1,this.speed=new Hi}load(i){if(i&&(i.distance!==void 0&&(this.distance=f(i.distance)),i.enable!==void 0&&(this.enable=i.enable),i.speed!==void 0))if(S(i.speed))this.speed.load({angle:i.speed});else{const t=i.speed;t.min!==void 0?this.speed.load({angle:t}):this.speed.load(i.speed)}}}function ji(s,i){const{wobble:t}=s.options,{wobble:e}=s;if(!(t!=null&&t.enable)||!e)return;const n=e.angleSpeed*i.factor,r=e.moveSpeed*i.factor,a=r*((s.retina.wobbleDistance??0)*i.factor)/(1e3/60),o=2*Math.PI,{position:h}=s;e.angle+=n,e.angle>o&&(e.angle-=o),h.x+=a*Math.cos(e.angle),h.y+=a*Math.abs(Math.sin(e.angle))}class Gi{constructor(i){this.container=i}init(i){const t=i.options.wobble;t!=null&&t.enable?i.wobble={angle:b()*Math.PI*2,angleSpeed:u(t.speed.angle)/360,moveSpeed:u(t.speed.move)/10}:i.wobble={angle:0,angleSpeed:0,moveSpeed:0},i.retina.wobbleDistance=u((t==null?void 0:t.distance)??0)*this.container.retina.pixelRatio}isEnabled(i){var t;return!i.destroyed&&!i.spawning&&!!((t=i.options.wobble)!=null&&t.enable)}loadOptions(i,...t){i.wobble||(i.wobble=new Li);for(const e of t)i.wobble.load(e==null?void 0:e.wobble)}update(i,t){this.isEnabled(i)&&ji(i,t)}}async function Ji(s,i=!0){await s.addParticleUpdater("wobble",t=>new Gi(t),i)}async function nt(s,i=!0){await yi(s,!1),await Ai(s,!1),await Ui(s,!1),await Wi(s,!1),await Ji(s,!1),await Ci(s,!1),await ai(s,!1),await xi(s,!1),await ti(s,i)}export{nt as loadFull}; diff --git a/_nuxt/index.c1a03e99.js b/_nuxt/index.c1a03e99.js new file mode 100644 index 0000000..0a1df5f --- /dev/null +++ b/_nuxt/index.c1a03e99.js @@ -0,0 +1,2 @@ +import{a as te,u as ft,b as At,_ as j,c as Lt,d as fe}from"./entry.0b593fc5.js";import{d as A,a as W,o as de,l as Ft,B as m,C as b,D as B,I as H,U as $t,V as We,w as dt,q as k,u as p,W as q,A as qe,N as v,F as ie,X as se,O,Y as Bt,Z as Ce,P as Y,Q as jt,R as Ht,k as Ut,c as Vt,_ as Wt,$ as qt,a0 as pt,a1 as mt,a2 as Gt,a3 as Nt,a4 as Yt,J as Xt}from"./swiper-vue.7361a076.js";import pe from"./Icon.241d7e64.js";import Zt from"./ContentRenderer.70b94723.js";import{u as yt,q as gt}from"./query.a51a821d.js";const ae="generated",Qt="pointerdown",Kt="pointerup",Qe="pointerleave",Jt="pointerout",Ke="pointermove",ei="touchstart",Je="touchend",ti="touchmove",ii="touchcancel",si="resize",ni="visibilitychange",Z="tsParticles - Error";class R{constructor(e,t,s){if(this._updateFromAngle=(n,o)=>{this.x=Math.cos(n)*o,this.y=Math.sin(n)*o},!$(e)&&e){this.x=e.x,this.y=e.y;const n=e;this.z=n.z?n.z:0}else if(e!==void 0&&t!==void 0)this.x=e,this.y=t,this.z=s??0;else throw new Error(`${Z} Vector3d not initialized correctly`)}static get origin(){return R.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this._updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this._updateFromAngle(this.angle,e)}static clone(e){return R.create(e.x,e.y,e.z)}static create(e,t,s){return new R(e,t,s)}add(e){return R.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return R.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return R.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return R.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}normalize(){const e=this.length;e!=0&&this.multTo(1/e)}rotate(e){return R.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y;const t=e;this.z=t.z?t.z:0}sub(e){return R.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}}class I extends R{constructor(e,t){super(e,t,0)}static get origin(){return I.create(0,0)}static clone(e){return I.create(e.x,e.y)}static create(e,t){return new I(e,t)}}let oi=Math.random;const Ue=new Map;function Go(i,e){Ue.get(i)||Ue.set(i,e)}function No(i){return Ue.get(i)||(e=>e)}function S(){return ne(oi(),0,1-1e-16)}function ne(i,e,t){return Math.min(Math.max(i,e),t)}function Te(i,e,t,s){return Math.floor((i*t+e*s)/(t+s))}function L(i){const e=xe(i);let t=Ge(i);return e===t&&(t=0),S()*(e-t)+t}function _(i){return $(i)?i:L(i)}function Ge(i){return $(i)?i:i.min}function xe(i){return $(i)?i:i.max}function z(i,e){if(i===e||e===void 0&&$(i))return i;const t=Ge(i),s=xe(i);return e!==void 0?{min:Math.min(t,e),max:Math.max(s,e)}:z(t,s)}function Q(i){const e=i.random,{enable:t,minimumValue:s}=G(e)?{enable:e,minimumValue:0}:e;return _(t?z(i.value,s):i.value)}function X(i,e){const t=i.x-e.x,s=i.y-e.y;return{dx:t,dy:s,distance:Math.sqrt(t**2+s**2)}}function ze(i,e){return X(i,e).distance}function ri(i,e,t){if($(i))return i*Math.PI/180;switch(i){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(t.y-e.y,t.x-e.x);case"outside":return Math.atan2(e.y-t.y,e.x-t.x);default:return S()*Math.PI*2}}function ai(i){const e=I.origin;return e.length=1,e.angle=i,e}function et(i,e,t,s){return I.create(i.x*(t-s)/(t+s)+e.x*2*s/(t+s),i.y)}function ci(i){var e,t;return{x:(((e=i.position)==null?void 0:e.x)??S()*100)*i.size.width/100,y:(((t=i.position)==null?void 0:t.y)??S()*100)*i.size.height/100}}function Yo(i){var t,s;const e={x:((t=i.position)==null?void 0:t.x)!==void 0?_(i.position.x):void 0,y:((s=i.position)==null?void 0:s.y)!==void 0?_(i.position.y):void 0};return ci({size:i.size,position:e})}function li(i){var e,t;return{x:((e=i.position)==null?void 0:e.x)??S()*i.size.width,y:((t=i.position)==null?void 0:t.y)??S()*i.size.height}}function _t(i){return i?i.endsWith("%")?parseFloat(i)/100:parseFloat(i):1}const hi={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function he(){return hi}function tt(i){const e={bounced:!1},{pSide:t,pOtherSide:s,rectSide:n,rectOtherSide:o,velocity:r,factor:a}=i;return s.mino.max||s.maxo.max||(t.max>=n.min&&t.max<=(n.max+n.min)/2&&r>0||t.min<=n.max&&t.min>(n.max+n.min)/2&&r<0)&&(e.velocity=r*-a,e.bounced=!0),e}function ui(i,e){const t=U(e,s=>i.matches(s));return D(t)?t.some(s=>s):t}function Me(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function fi(){return!Me()&&typeof matchMedia<"u"}function vt(i){if(fi())return matchMedia(i)}function di(i){if(!(Me()||typeof MutationObserver>"u"))return new MutationObserver(i)}function Ne(i,e){return i===e||D(e)&&e.indexOf(i)>-1}async function Xo(i,e){try{await document.fonts.load(`${e??"400"} 36px '${i??"Verdana"}'`)}catch{}}function pi(i){return Math.floor(S()*i.length)}function Ye(i,e,t=!0){return i[e!==void 0&&t?e%i.length:pi(i)]}function Xe(i,e,t,s,n){return mi(Pe(i,s??0),e,t,n)}function mi(i,e,t,s){let n=!0;return(!s||s==="bottom")&&(n=i.topt.x),n&&(!s||s==="right")&&(n=i.leftt.y),n}function Pe(i,e){return{bottom:i.y+e,left:i.x-e,right:i.x+e,top:i.y-e}}function T(i,...e){for(const t of e){if(t==null)continue;if(!ee(t)){i=t;continue}const s=Array.isArray(t);s&&(ee(i)||!i||!Array.isArray(i))?i=[]:!s&&(ee(i)||!i||Array.isArray(i))&&(i={});for(const n in t){if(n==="__proto__")continue;const o=t,r=o[n],a=i;a[n]=ee(r)&&Array.isArray(r)?r.map(c=>T(a[n],c)):T(a[n],r)}}return i}function Zo(i,e){return!!bt(e,t=>t.enable&&Ne(i,t.mode))}function Qo(i,e,t){U(e,s=>{const n=s.mode;s.enable&&Ne(i,n)&&yi(s,t)})}function yi(i,e){const t=i.selectors;U(t,s=>{e(s,i)})}function Ko(i,e){if(!(!e||!i))return bt(i,t=>ui(e,t.selectors))}function Jo(i){return{position:i.getPosition(),radius:i.getRadius(),mass:i.getMass(),velocity:i.velocity,factor:I.create(Q(i.options.bounce.horizontal),Q(i.options.bounce.vertical))}}function er(i,e){const{x:t,y:s}=i.velocity.sub(e.velocity),[n,o]=[i.position,e.position],{dx:r,dy:a}=X(o,n);if(t*r+s*a<0)return;const c=-Math.atan2(a,r),l=i.mass,h=e.mass,f=i.velocity.rotate(c),u=e.velocity.rotate(c),d=et(f,u,l,h),g=et(u,f,l,h),y=d.rotate(-c),w=g.rotate(-c);i.velocity.x=y.x*i.factor.x,i.velocity.y=y.y*i.factor.y,e.velocity.x=w.x*e.factor.x,e.velocity.y=w.y*e.factor.y}function tr(i,e){const t=i.getPosition(),s=i.getRadius(),n=Pe(t,s),o=tt({pSide:{min:n.left,max:n.right},pOtherSide:{min:n.top,max:n.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:i.velocity.x,factor:Q(i.options.bounce.horizontal)});o.bounced&&(o.velocity!==void 0&&(i.velocity.x=o.velocity),o.position!==void 0&&(i.position.x=o.position));const r=tt({pSide:{min:n.top,max:n.bottom},pOtherSide:{min:n.left,max:n.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:i.velocity.y,factor:Q(i.options.bounce.vertical)});r.bounced&&(r.velocity!==void 0&&(i.velocity.y=r.velocity),r.position!==void 0&&(i.position.y=r.position))}function U(i,e){return D(i)?i.map((t,s)=>e(t,s)):e(i,0)}function ce(i,e,t){return D(i)?Ye(i,e,t):i}function bt(i,e){return D(i)?i.find((t,s)=>e(t,s)):e(i,0)?i:void 0}function wt(i,e){const t=i.value,s=i.animation,n={delayTime:_(s.delay)*1e3,enable:s.enable,value:_(i.value)*e,max:xe(t)*e,min:Ge(t)*e,loops:0,maxLoops:_(s.count),time:0};if(s.enable){switch(n.decay=1-_(s.decay),s.mode){case"increase":n.status="increasing";break;case"decrease":n.status="decreasing";break;case"random":n.status=S()>=.5?"increasing":"decreasing";break}const o=s.mode==="auto";switch(s.startValue){case"min":n.value=n.min,o&&(n.status="increasing");break;case"max":n.value=n.max,o&&(n.status="decreasing");break;case"random":default:n.value=L(n),o&&(n.status=S()>=.5?"increasing":"decreasing");break}}return n.initialValue=n.value,n}function xt(i,e){if(!(i.mode==="percent")){const{mode:n,...o}=i;return o}return"x"in i?{x:i.x/100*e.width,y:i.y/100*e.height}:{width:i.width/100*e.width,height:i.height/100*e.height}}function zt(i,e){return xt(i,e)}function ir(i,e){return xt(i,e)}function G(i){return typeof i=="boolean"}function F(i){return typeof i=="string"}function $(i){return typeof i=="number"}function Mt(i){return typeof i=="function"}function ee(i){return typeof i=="object"&&i!==null}function D(i){return Array.isArray(i)}const be="random",_e="mid",ke=new Map;function it(i){ke.set(i.key,i)}function Oe(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*6*t:t<1/2?e:t<2/3?i+(e-i)*(2/3-t)*6:i}function gi(i){for(const[,o]of ke)if(i.startsWith(o.stringPrefix))return o.parseString(i);const e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,t=i.replace(e,(o,r,a,c,l)=>r+r+a+a+c+c+(l!==void 0?l+l:"")),s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,n=s.exec(t);return n?{a:n[4]!==void 0?parseInt(n[4],16)/255:1,b:parseInt(n[3],16),g:parseInt(n[2],16),r:parseInt(n[1],16)}:void 0}function N(i,e,t=!0){if(!i)return;const s=F(i)?{value:i}:i;if(F(s.value))return Pt(s.value,e,t);if(D(s.value))return N({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleRangeColor(s);if(o)return o}}function Pt(i,e,t=!0){if(!i)return;const s=F(i)?{value:i}:i;if(F(s.value))return s.value===be?kt():vi(s.value);if(D(s.value))return Pt({value:Ye(s.value,e,t)});for(const[,n]of ke){const o=n.handleColor(s);if(o)return o}}function Ve(i,e,t=!0){const s=N(i,e,t);return s?_i(s):void 0}function _i(i){const e=i.r/255,t=i.g/255,s=i.b/255,n=Math.max(e,t,s),o=Math.min(e,t,s),r={h:0,l:(n+o)/2,s:0};return n!==o&&(r.s=r.l<.5?(n-o)/(n+o):(n-o)/(2-n-o),r.h=e===n?(t-s)/(n-o):r.h=t===n?2+(s-e)/(n-o):4+(e-t)/(n-o)),r.l*=100,r.s*=100,r.h*=60,r.h<0&&(r.h+=360),r.h>=360&&(r.h-=360),r}function vi(i){return gi(i)}function oe(i){const e={b:0,g:0,r:0},t={h:i.h/360,l:i.l/100,s:i.s/100};if(!t.s)e.r=e.g=e.b=t.l;else{const s=t.l<.5?t.l*(1+t.s):t.l+t.s-t.l*t.s,n=2*t.l-s;e.r=Oe(n,s,t.h+1/3),e.g=Oe(n,s,t.h),e.b=Oe(n,s,t.h-1/3)}return e.r=Math.floor(e.r*255),e.g=Math.floor(e.g*255),e.b=Math.floor(e.b*255),e}function bi(i){const e=oe(i);return{a:i.a,b:e.b,g:e.g,r:e.r}}function kt(i){const e=i??0;return{b:Math.floor(L(z(e,256))),g:Math.floor(L(z(e,256))),r:Math.floor(L(z(e,256)))}}function ve(i,e){return`rgba(${i.r}, ${i.g}, ${i.b}, ${e??1})`}function st(i,e){return`hsla(${i.h}, ${i.s}%, ${i.l}%, ${e??1})`}function wi(i,e,t,s){let n=i,o=e;return n.r===void 0&&(n=oe(i)),o.r===void 0&&(o=oe(e)),{b:Te(n.b,o.b,t,s),g:Te(n.g,o.g,t,s),r:Te(n.r,o.r,t,s)}}function sr(i,e,t){if(t===be)return kt();if(t===_e){const s=i.getFillColor()??i.getStrokeColor(),n=(e==null?void 0:e.getFillColor())??(e==null?void 0:e.getStrokeColor());if(s&&n&&e)return wi(s,n,i.getRadius(),e.getRadius());{const o=s??n;if(o)return oe(o)}}else return t}function nr(i,e,t){const s=F(i)?i:i.value;return s===be?t?N({value:s}):e?be:_e:s===_e?_e:N({value:s})}function nt(i){return i!==void 0?{h:i.h.value,s:i.s.value,l:i.l.value}:void 0}function xi(i,e,t){const s={h:{enable:!1,value:i.h},s:{enable:!1,value:i.s},l:{enable:!1,value:i.l}};return e&&(Re(s.h,e.h,t),Re(s.s,e.s,t),Re(s.l,e.l,t)),s}function Re(i,e,t){i.enable=e.enable,i.enable?(i.velocity=_(e.speed)/100*t,i.decay=1-_(e.decay),i.status="increasing",i.loops=0,i.maxLoops=_(e.count),i.time=0,i.delayTime=_(e.delay)*1e3,e.sync||(i.velocity*=S(),i.value*=S()),i.initialValue=i.value):i.velocity=0}function or(i,e,t){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.closePath()}function rr(i,e,t,s){i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.lineTo(s.x,s.y),i.closePath()}function zi(i,e,t){i.fillStyle=t??"rgba(0,0,0,0)",i.fillRect(0,0,e.width,e.height)}function Mi(i,e,t,s){t&&(i.globalAlpha=s,i.drawImage(t,0,0,e.width,e.height),i.globalAlpha=1)}function Ie(i,e){i.clearRect(0,0,e.width,e.height)}function Pi(i){const{container:e,context:t,particle:s,delta:n,colorStyles:o,backgroundMask:r,composite:a,radius:c,opacity:l,shadow:h,transform:f}=i,u=s.getPosition(),d=s.rotation+(s.pathRotation?s.velocity.angle:0),g={sin:Math.sin(d),cos:Math.cos(d)},y={a:g.cos*(f.a??1),b:g.sin*(f.b??1),c:-g.sin*(f.c??1),d:g.cos*(f.d??1)};t.setTransform(y.a,y.b,y.c,y.d,u.x,u.y),t.beginPath(),r&&(t.globalCompositeOperation=a);const w=s.shadowColor;h.enable&&w&&(t.shadowBlur=h.blur,t.shadowColor=ve(w),t.shadowOffsetX=h.offset.x,t.shadowOffsetY=h.offset.y),o.fill&&(t.fillStyle=o.fill);const x=s.strokeWidth??0;t.lineWidth=x,o.stroke&&(t.strokeStyle=o.stroke),ki(e,t,s,c,l,n),x>0&&t.stroke(),s.close&&t.closePath(),s.fill&&t.fill(),Si(e,t,s,c,l,n),t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0)}function ki(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);r&&r.draw(e,t,s,n,o,i.retina.pixelRatio)}function Si(i,e,t,s,n,o){if(!t.shape)return;const r=i.drawers.get(t.shape);!r||!r.afterEffect||r.afterEffect(e,t,s,n,o,i.retina.pixelRatio)}function Ci(i,e,t){e.draw&&e.draw(i,t)}function Ti(i,e,t,s){e.drawParticle&&e.drawParticle(i,t,s)}function Oi(i,e,t){return{h:i.h,s:i.s,l:i.l+(e==="darken"?-1:1)*t}}function Ri(i,e,t){const s=e[t];s!==void 0&&(i[t]=(i[t]??1)*s)}class Ii{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{for(const s of this._postDrawUpdaters)s.afterDraw&&s.afterDraw(t)},this._applyPreDrawUpdaters=(t,s,n,o,r,a)=>{for(const c of this._preDrawUpdaters){if(c.getColorStyles){const{fill:l,stroke:h}=c.getColorStyles(s,t,n,o);l&&(r.fill=l),h&&(r.stroke=h)}if(c.getTransformValues){const l=c.getTransformValues(s);for(const h in l)Ri(a,l,h)}c.beforeDraw&&c.beforeDraw(s)}},this._applyResizePlugins=()=>{for(const t of this._resizePlugins)t.resize&&t.resize()},this._getPluginParticleColors=t=>{let s,n;for(const o of this._colorPlugins)if(!s&&o.particleFillColor&&(s=Ve(o.particleFillColor(t))),!n&&o.particleStrokeColor&&(n=Ve(o.particleStrokeColor(t))),s&&n)break;return[s,n]},this._initCover=()=>{const t=this.container.actualOptions,s=t.backgroundMask.cover,n=s.color,o=N(n);if(o){const r={...o,a:s.opacity};this._coverColorStyle=ve(r,r.a)}},this._initStyle=()=>{const t=this.element,s=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=T({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const n in s.style){if(!n||!s.style)continue;const o=s.style[n];o&&t.style.setProperty(n,o,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,s=t.particles.move.trail,n=s.fill;if(s.enable)if(n.color){const o=N(n.color);if(!o)return;const r=t.particles.move.trail;this._trailFill={color:{...o},opacity:1/r.length}}else await new Promise((o,r)=>{if(!n.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:1/s.length},o()}),a.addEventListener("error",c=>{r(c.error)}),a.src=n.image})},this._paintBase=t=>{this.draw(s=>zi(s,this.size,t))},this._paintImage=(t,s)=>{this.draw(n=>Mi(n,this.size,t,s))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(s=>s.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(s=>s.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,s=this._originalStyle;if(!(t&&s))return;const n=t.style;n.position=s.position,n.zIndex=s.zIndex,n.top=s.top,n.left=s.left,n.width=s.width,n.height=s.height},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;const s="important",n=t.style;n.setProperty("position","fixed",s),n.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),s),n.setProperty("top","0",s),n.setProperty("left","0",s),n.setProperty("width","100%",s),n.setProperty("height","100%",s)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,s=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&s?s.color?this._paintBase(ve(s.color,s.opacity)):s.image&&this._paintImage(s.image,s.opacity):this.draw(n=>{Ie(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e&&e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const s=e.getRadius();if(s<=0)return;const n=e.getFillColor(),o=e.getStrokeColor()??n;let[r,a]=this._getPluginParticleColors(e);r||(r=n),a||(a=o),!(!r&&!a)&&this.draw(c=>{var P;const l=this.container,h=l.actualOptions,f=e.options.zIndex,u=(1-e.zIndexFactor)**f.opacityRate,d=e.bubble.opacity??((P=e.opacity)==null?void 0:P.value)??1,g=e.strokeOpacity??d,y=d*u,w=g*u,x={},C={fill:r?st(r,y):void 0};C.stroke=a?st(a,w):C.fill,this._applyPreDrawUpdaters(c,e,s,y,C,x),Pi({container:l,context:c,particle:e,delta:t,colorStyles:C,backgroundMask:h.backgroundMask.enable,composite:h.backgroundMask.composite,radius:s*(1-e.zIndexFactor)**f.sizeRate,opacity:y,shadow:e.options.shadow,transform:x}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,s){this.draw(n=>Ti(n,e,t,s))}drawPlugin(e,t){this.draw(s=>Ci(s,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=di(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),this._initCover();try{await this._initTrail()}catch(e){he().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,s=this.element;if(!s)return;const n=s.style;if(n){if(t.color){const o=N(t.color);n.backgroundColor=o?ve(o,t.opacity):""}else n.backgroundColor="";n.backgroundImage=t.image||"",n.backgroundPosition=t.position||"",n.backgroundRepeat=t.repeat||"",n.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&ae in e.dataset?e.dataset[ae]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=T({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(Ie(t,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,s=e.canvas.size,n={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(n.height===s.height&&n.width===s.width&&n.height===this.element.height&&n.width===this.element.width)return!1;const o={...s};return this.element.width=s.width=this.element.offsetWidth*t,this.element.height=s.height=this.element.offsetHeight*t,this.container.started&&(this.resizeFactor={width:s.width/o.width,height:s.height/o.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>Ie(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}function E(i,e,t,s,n){if(s){let o={passive:!0};G(n)?o.capture=n:n!==void 0&&(o=n),i.addEventListener(e,t,o)}else{const o=n;i.removeEventListener(e,t,o)}}class Ei{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const s=this.container,n=s.actualOptions;if(this._canPush){const o=s.interactivity.mouse,r=o.position;if(!r)return;o.clickPosition={...r},o.clickTime=new Date().getTime();const a=n.interactivity.events.onClick;U(a.mode,c=>this.container.handleClickMode(c))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const s=t,n=this.container,o=n.options,r=o.defaultThemes,a=s.matches?r.dark:r.light,c=o.themes.find(l=>l.name===a);c&&c.default.auto&&n.loadTheme(a)},this._handleVisibilityChange=()=>{const t=this.container,s=t.actualOptions;this._mouseTouchFinish(),s.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw(!0)))},this._handleWindowResize=async()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout),this._resizeTimeout=setTimeout(async()=>{const t=this.container.canvas;t&&await t.windowResize()},this.container.actualOptions.interactivity.events.resize.delay*1e3)},this._manageInteractivityListeners=(t,s)=>{const n=this._handlers,o=this.container,r=o.actualOptions,a=o.interactivity.element;if(!a)return;const c=a,l=o.canvas.element;l&&(l.style.pointerEvents=c===l?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(E(a,Ke,n.mouseMove,s),E(a,ei,n.touchStart,s),E(a,ti,n.touchMove,s),r.interactivity.events.onClick.enable?(E(a,Je,n.touchEndClick,s),E(a,Kt,n.mouseUp,s),E(a,Qt,n.mouseDown,s)):E(a,Je,n.touchEnd,s),E(a,t,n.mouseLeave,s),E(a,ii,n.touchCancel,s))},this._manageListeners=t=>{const s=this._handlers,n=this.container,o=n.actualOptions,r=o.interactivity.detectsOn,a=n.canvas.element;let c=Qe;r==="window"?(n.interactivity.element=window,c=Jt):r==="parent"&&a?n.interactivity.element=a.parentElement??a.parentNode:n.interactivity.element=a,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(c,t),document&&E(document,ni,s.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const s=this._handlers,n=vt("(prefers-color-scheme: dark)");if(n){if(n.addEventListener!==void 0){E(n,"change",s.themeChange,t);return}n.addListener!==void 0&&(t?n.addListener(s.oldThemeChange):n.removeListener(s.oldThemeChange))}},this._manageResize=t=>{const s=this._handlers,n=this.container;if(!n.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){E(window,si,s.resize,t);return}const r=n.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(async a=>{a.find(l=>l.target===r)&&await this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:s}=t;s.clicking=!0,s.downPosition=s.position},this._mouseTouchClick=t=>{const s=this.container,n=s.actualOptions,{mouse:o}=s.interactivity;o.inside=!0;let r=!1;const a=o.position;if(!(!a||!n.interactivity.events.onClick.enable)){for(const[,c]of s.plugins)if(c.clickPositionValid&&(r=c.clickPositionValid(a),r))break;r||this._doMouseTouchClick(t),o.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const s=t.mouse;delete s.position,delete s.clickPosition,delete s.downPosition,t.status=Qe,s.inside=!1,s.clicking=!1},this._mouseTouchMove=t=>{const s=this.container,n=s.actualOptions,o=s.interactivity,r=s.canvas.element;if(!o||!o.element)return;o.mouse.inside=!0;let a;if(t.type.startsWith("pointer")){this._canPush=!0;const l=t;if(o.element===window){if(r){const h=r.getBoundingClientRect();a={x:l.clientX-h.left,y:l.clientY-h.top}}}else if(n.interactivity.detectsOn==="parent"){const h=l.target,f=l.currentTarget;if(h&&f&&r){const u=h.getBoundingClientRect(),d=f.getBoundingClientRect(),g=r.getBoundingClientRect();a={x:l.offsetX+2*u.left-(d.left+g.left),y:l.offsetY+2*u.top-(d.top+g.top)}}else a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY}}else l.target===r&&(a={x:l.offsetX??l.clientX,y:l.offsetY??l.clientY})}else if(this._canPush=t.type!=="touchmove",r){const l=t,h=l.touches[l.touches.length-1],f=r.getBoundingClientRect();a={x:h.clientX-(f.left??0),y:h.clientY-(f.top??0)}}const c=s.retina.pixelRatio;a&&(a.x*=c,a.y*=c),o.mouse.position=a,o.status=Ke},this._touchEnd=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.delete(o.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const s=t,n=Array.from(s.changedTouches);for(const o of n)this._touches.set(o.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class V{constructor(){this.value=""}static create(e,t){const s=new V;return s.load(e),t!==void 0&&(F(t)||D(t)?s.load({value:t}):s.load(t)),s}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}class Di{constructor(){this.color=new V,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=V.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Ai{constructor(){this.color=new V,this.color.value="#fff",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=V.create(this.color,e.color)),e.opacity!==void 0&&(this.opacity=e.opacity))}}class Li{constructor(){this.composite="destination-out",this.cover=new Ai,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const t=e.cover,s=F(e.cover)?{color:e.cover}:e.cover;this.cover.load(t.color!==void 0?t:{color:s})}e.enable!==void 0&&(this.enable=e.enable)}}}class Fi{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class $i{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class ot{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return U(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=U(e,t=>`#${t}`)}load(e){if(!e)return;const t=e.ids??e.elementId??e.el;t!==void 0&&(this.ids=t),e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type)}}class Bi{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class ji{constructor(){this.enable=!1,this.mode=[],this.parallax=new Bi}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class Hi{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class Ui{constructor(){this.onClick=new $i,this.onDiv=new ot,this.onHover=new ji,this.resize=new Hi}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){if(!e)return;this.onClick.load(e.onClick??e.onclick);const t=e.onDiv??e.ondiv;t!==void 0&&(this.onDiv=U(t,s=>{const n=new ot;return n.load(s),n})),this.onHover.load(e.onHover??e.onhover),G(e.resize)?this.resize.enable=e.resize:this.resize.load(e.resize)}}class Vi{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.plugins.interactors.get(this._container);if(t)for(const s of t)s.loadModeOptions&&s.loadModeOptions(this,e)}}class St{constructor(e,t){this.detectsOn="window",this.events=new Ui,this.modes=new Vi(e,t)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){if(!e)return;const t=e.detectsOn??e.detect_on;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}class Wi{load(e){e&&(e.position&&(this.position={x:e.position.x??50,y:e.position.y??50,mode:e.position.mode??"percent"}),e.options&&(this.options=T({},e.options)))}}class qi{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=T({},e.options)))}}class Gi{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Ni{constructor(){this.name="",this.default=new Gi}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=T({},e.options)))}}class Ee{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.delay=0,this.decay=0,this.sync=!0}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(this.offset=z(e.offset)),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Yi{constructor(){this.h=new Ee,this.s=new Ee,this.l=new Ee}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class ue extends V{constructor(){super(),this.animation=new Yi}static create(e,t){const s=new ue;return s.load(e),t!==void 0&&(F(t)||D(t)?s.load({value:t}):s.load(t)),s}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&(t.enable!==void 0?this.animation.h.load(t):this.animation.load(e.animation))}}class Xi{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Zi{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class Qi{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=z(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=z(e.speed)),e.decay!==void 0&&(this.decay=z(e.decay)),e.delay!==void 0&&(this.delay=z(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class Ct extends Qi{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue),e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class Ki{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.minimumValue!==void 0&&(this.minimumValue=e.minimumValue))}}class me{constructor(){this.random=new Ki,this.value=0}load(e){e&&(G(e.random)?this.random.enable=e.random:this.random.load(e.random),e.value!==void 0&&(this.value=z(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class rt extends me{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class Tt{constructor(){this.horizontal=new rt,this.vertical=new rt}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class Ji{constructor(){this.absorb=new Xi,this.bounce=new Tt,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Zi}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class es{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=z(e.offset)),e.value!==void 0&&(this.value=z(e.value)))}}class ts{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var n,o;if(!e)return;e.distance!==void 0&&(this.distance=z(e.distance)),e.enable!==void 0&&(this.enable=e.enable);const t=((n=e.rotate)==null?void 0:n.x)??e.rotateX;t!==void 0&&(this.rotate.x=t);const s=((o=e.rotate)==null?void 0:o.y)??e.rotateY;s!==void 0&&(this.rotate.y=s)}}class is{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class ss{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=z(e.maxSpeed)))}}class ns{constructor(){this.clamp=!0,this.delay=new me,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=T(this.options,e.options)))}}class os{load(e){e&&(e.color!==void 0&&(this.color=V.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class rs{constructor(){this.enable=!1,this.length=10,this.fill=new os}get fillColor(){return this.fill.color}set fillColor(e){this.fill.load({color:e})}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),(e.fill!==void 0||e.fillColor!==void 0)&&this.fill.load(e.fill||{color:e.fillColor}),e.length!==void 0&&(this.length=e.length))}}class as{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class cs{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=z(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=T({},e.position)))}}class ls{constructor(){this.angle=new es,this.attract=new ts,this.center=new is,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new ss,this.path=new ns,this.outModes=new as,this.random=!1,this.size=!1,this.speed=2,this.spin=new cs,this.straight=!1,this.trail=new rs,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){if(!e)return;this.angle.load($(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=z(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=$(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=z(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes??e.outMode??e.out_mode;t!==void 0&&(ee(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path??e.noise),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=z(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class hs extends Ct{constructor(){super(),this.destroy="none",this.speed=2}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.opacity_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.opacity_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class us extends me{constructor(){super(),this.animation=new hs,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(!e)return;super.load(e);const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class fs{constructor(){this.enable=!1,this.width=1920,this.height=1080}get area(){return this.width}set area(e){this.width=e}get factor(){return this.height}set factor(e){this.height=e}get value_area(){return this.area}set value_area(e){this.area=e}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width??e.area??e.value_area;t!==void 0&&(this.width=t);const s=e.height??e.factor;s!==void 0&&(this.height=s)}}class ds{constructor(){this.density=new fs,this.limit=0,this.value=0}get max(){return this.limit}set max(e){this.limit=e}load(e){if(!e)return;this.density.load(e.density);const t=e.limit??e.max;t!==void 0&&(this.limit=t),e.value!==void 0&&(this.value=e.value)}}class ps{constructor(){this.blur=0,this.color=new V,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=V.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}const De="character",Ae="char",Le="image",Fe="images",$e="polygon",Be="star";class ms{constructor(){this.loadShape=(e,t,s,n)=>{if(!e)return;const o=D(e),r=o?[]:{},a=o!==D(this.options[t]),c=o!==D(this.options[s]);a&&(this.options[t]=r),c&&n&&(this.options[s]=r),this.options[t]=T(this.options[t]??r,e),(!this.options[s]||n)&&(this.options[s]=T(this.options[s]??r,e))},this.close=!0,this.fill=!0,this.options={},this.type="circle"}get character(){return this.options[De]??this.options[Ae]}set character(e){this.options[Ae]=this.options[De]=e}get custom(){return this.options}set custom(e){this.options=e}get image(){return this.options[Le]??this.options[Fe]}set image(e){this.options[Fe]=this.options[Le]=e}get images(){return this.image}set images(e){this.image=e}get polygon(){return this.options[$e]??this.options[Be]}set polygon(e){this.options[Be]=this.options[$e]=e}get stroke(){return[]}set stroke(e){}load(e){if(!e)return;const t=e.options??e.custom;if(t!==void 0)for(const s in t){const n=t[s];n&&(this.options[s]=T(this.options[s]??{},n))}this.loadShape(e.character,De,Ae,!0),this.loadShape(e.polygon,$e,Be,!1),this.loadShape(e.image??e.images,Le,Fe,!0),e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class ys extends Ct{constructor(){super(),this.destroy="none",this.speed=5}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){(e==null?void 0:e.size_min)!==void 0&&e.minimumValue===void 0&&(e.minimumValue=e.size_min),super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class gs extends me{constructor(){super(),this.animation=new ys,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){if(super.load(e),!e)return;const t=e.animation??e.anim;t!==void 0&&(this.animation.load(t),this.value=z(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class at{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=ue.create(this.color,e.color)),e.width!==void 0&&(this.width=z(e.width)),e.opacity!==void 0&&(this.opacity=z(e.opacity)))}}class _s extends me{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class vs{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Tt,this.collisions=new Ji,this.color=new ue,this.color.value="#fff",this.groups={},this.move=new ls,this.number=new ds,this.opacity=new us,this.reduceDuplicates=!1,this.shadow=new ps,this.shape=new ms,this.size=new gs,this.stroke=new at,this.zIndex=new _s}load(e){var n,o,r;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(ue.create(this.color,e.color)),e.groups!==void 0)for(const a in e.groups){const c=e.groups[a];c!==void 0&&(this.groups[a]=T(this.groups[a]??{},c))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);const t=((n=e.move)==null?void 0:n.collisions)??((o=e.move)==null?void 0:o.bounce);t!==void 0&&(this.collisions.enable=t),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=T({},e.interactivity));const s=e.stroke??((r=e.shape)==null?void 0:r.stroke);if(s&&(this.stroke=U(s,a=>{const c=new at;return c.load(a),c})),this._container){const a=this._engine.plugins.updaters.get(this._container);if(a)for(const l of a)l.loadOptions&&l.loadOptions(this,e);const c=this._engine.plugins.interactors.get(this._container);if(c)for(const l of c)l.loadParticlesOptions&&l.loadParticlesOptions(this,e)}}}function Ot(i,...e){for(const t of e)i.load(t)}function Rt(i,e,...t){const s=new vs(i,e);return Ot(s,...t),s}class bs{constructor(e,t){this._findDefaultTheme=s=>this.themes.find(n=>n.default.value&&n.default.mode===s)??this.themes.find(n=>n.default.value&&n.default.mode==="any"),this._importPreset=s=>{this.load(this._engine.plugins.getPreset(s))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new Di,this.backgroundMask=new Li,this.defaultThemes={},this.delay=0,this.fullScreen=new Fi,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new St(e,t),this.manualParticles=[],this.particles=Rt(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var r,a;if(!e)return;e.preset!==void 0&&U(e.preset,c=>this._importPreset(c)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.delay!==void 0&&(this.delay=z(e.delay));const t=e.detectRetina??e.retina_detect;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=z(e.duration));const s=e.fpsLimit??e.fps_limit;s!==void 0&&(this.fpsLimit=s),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const n=e.fullScreen??e.backgroundMode;G(n)?this.fullScreen.enable=n:this.fullScreen.load(n),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(c=>{const l=new Wi;return l.load(c),l})),this.particles.load(e.particles),this.style=T(this.style,e.style),this._engine.plugins.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const o=this._engine.plugins.interactors.get(this._container);if(o)for(const c of o)c.loadOptions&&c.loadOptions(this,e);if(e.responsive!==void 0)for(const c of e.responsive){const l=new qi;l.load(c),this.responsive.push(l)}if(this.responsive.sort((c,l)=>c.maxWidth-l.maxWidth),e.themes!==void 0)for(const c of e.themes){const l=this.themes.find(h=>h.name===c.name);if(l)l.load(c);else{const h=new Ni;h.load(c),this.themes.push(h)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(a=this._findDefaultTheme("light"))==null?void 0:a.name}setResponsive(e,t,s){this.load(s);const n=this.responsive.find(o=>o.mode==="screen"&&screen?o.maxWidth>screen.availWidth:o.maxWidth*t>e);return this.load(n==null?void 0:n.options),n==null?void 0:n.maxWidth}setTheme(e){if(e){const t=this.themes.find(s=>s.name===e);t&&this.load(t.options)}else{const t=vt("(prefers-color-scheme: dark)"),s=t&&t.matches,n=this._findDefaultTheme(s?"dark":"light");n&&this.load(n.options)}}}class ws{constructor(e,t){this.container=t,this._engine=e,this._interactors=e.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&await t.interact(e)}handleClickMode(e){for(const t of this._externalInteractors)t.handleClickMode&&t.handleClickMode(e)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}async particlesInteract(e,t){for(const s of this._externalInteractors)s.clear(e,t);for(const s of this._particleInteractors)s.isEnabled(e)&&await s.interact(e,t)}async reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ct=i=>{if(!Ne(i.outMode,i.checkModes))return;const e=i.radius*2;i.coord>i.maxCoord-e?i.setCb(-i.radius):i.coord{for(const[,C]of a.plugins){const P=C.particlePosition!==void 0?C.particlePosition(c,this):void 0;if(P)return R.create(P.x,P.y,l)}const f=a.canvas.size,u=li({size:f,position:c}),d=R.create(u.x,u.y,l),g=this.getRadius(),y=this.options.move.outModes,w=C=>{ct({outMode:C,checkModes:["bounce","bounce-horizontal"],coord:d.x,maxCoord:a.canvas.size.width,setCb:P=>d.x+=P,radius:g})},x=C=>{ct({outMode:C,checkModes:["bounce","bounce-vertical"],coord:d.y,maxCoord:a.canvas.size.height,setCb:P=>d.y+=P,radius:g})};return w(y.left??y.default),w(y.right??y.default),x(y.top??y.default),x(y.bottom??y.default),this._checkOverlap(d,h)?this._calcPosition(a,void 0,l,h+1):d},this._calculateVelocity=()=>{const a=ai(this.direction),c=a.copy(),l=this.options.move;if(l.direction==="inside"||l.direction==="outside")return c;const h=Math.PI/180*_(l.angle.value),f=Math.PI/180*_(l.angle.offset),u={left:f-h/2,right:f+h/2};return l.straight||(c.angle+=L(z(u.left,u.right))),l.random&&typeof l.speed=="number"&&(c.length*=S()),c},this._checkOverlap=(a,c=0)=>{const l=this.options.collisions,h=this.getRadius();if(!l.enable)return!1;const f=l.overlap;if(f.enable)return!1;const u=f.retries;if(u>=0&&c>u)throw new Error(`${Z} particle is overlapping and can't be placed`);return!!this.container.particles.find(d=>ze(a,d.position){if(!a||!this.roll||!this.backColor&&!this.roll.alter)return a;const c=this.roll.horizontal&&this.roll.vertical?2:1,l=this.roll.horizontal?Math.PI/2:0;return Math.floor(((this.roll.angle??0)+l)/(Math.PI/c))%2?this.backColor?this.backColor:this.roll.alter?Oi(a,this.roll.alter.type,this.roll.alter.value):a:a},this._initPosition=a=>{const c=this.container,l=_(this.options.zIndex.value);this.position=this._calcPosition(c,a,ne(l,0,c.zLayers)),this.initialPosition=this.position.copy();const h=c.canvas.size;switch(this.moveCenter={...zt(this.options.move.center,h),radius:this.options.move.center.radius??0,mode:this.options.move.center.mode??"percent"},this.direction=ri(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=I.origin},this._loadShapeData=(a,c)=>{const l=a.options[this.shape];if(l)return T({close:a.close,fill:a.fill},ce(l,this.id,c))},this._engine=e,this.init(t,n,o,r)}destroy(e){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,s=this.pathGenerator;for(const[,n]of t.plugins)n.particleDestroyed&&n.particleDestroyed(this,e);for(const n of t.particles.updaters)n.particleDestroyed&&n.particleDestroyed(this,e);s&&s.reset(this)}draw(e){const t=this.container;for(const[,s]of t.plugins)t.canvas.drawParticlePlugin(s,this,e);t.canvas.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??nt(this.color))}getMass(){return this.getRadius()**2*Math.PI/2}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??nt(this.strokeColor))}init(e,t,s,n){const o=this.container,r=this._engine;this.id=e,this.group=n,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const a=o.retina.pixelRatio,c=o.actualOptions,l=Rt(this._engine,o,c.particles),h=l.shape.type,{reduceDuplicates:f}=l;this.shape=ce(h,this.id,f);const u=l.shape;if(s&&s.shape&&s.shape.type){const P=s.shape.type,ye=ce(P,this.id,f);ye&&(this.shape=ye,u.load(s.shape))}this.shapeData=this._loadShapeData(u,f),l.load(s);const d=this.shapeData;d&&l.load(d.particles);const g=new St(r,o);g.load(o.actualOptions.interactivity),g.load(l.interactivity),this.interactivity=g,this.fill=(d==null?void 0:d.fill)??l.shape.fill,this.close=(d==null?void 0:d.close)??l.shape.close,this.options=l;const y=this.options.move.path;this.pathDelay=Q(y.delay)*1e3,y.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(y.generator),this.pathGenerator&&o.addPath(y.generator,this.pathGenerator)&&this.pathGenerator.init(o)),o.retina.initParticle(this),this.size=wt(this.options.size,a),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-_(this.options.move.decay);const w=o.particles;w.needsSort=w.needsSort||w.lastZIndex=-e&&s.y>=-e&&s.y<=t.height+e&&s.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const e of this.container.particles.updaters)e.reset&&e.reset(this)}}class zs{constructor(e,t){this.position=e,this.particle=t}}class It{constructor(e,t){this.position={x:e,y:t}}}class re extends It{constructor(e,t,s,n){super(e,t),this.size={height:n,width:s}}contains(e){const t=this.size.width,s=this.size.height,n=this.position;return e.x>=n.x&&e.x<=n.x+t&&e.y>=n.y&&e.y<=n.y+s}intersects(e){e instanceof Se&&e.intersects(this);const t=this.size.width,s=this.size.height,n=this.position,o=e.position,r=e instanceof re?e.size:{width:0,height:0},a=r.width,c=r.height;return o.xn.x&&o.yn.y}}class Se extends It{constructor(e,t,s){super(e,t),this.radius=s}contains(e){return ze(e,this.position)<=this.radius}intersects(e){const t=this.position,s=e.position,n={x:Math.abs(s.x-t.x),y:Math.abs(s.y-t.y)},o=this.radius;if(e instanceof Se){const r=o+e.radius,a=Math.sqrt(n.x**2+n.y**2);return r>a}else if(e instanceof re){const{width:r,height:a}=e.size;return Math.pow(n.x-r,2)+Math.pow(n.y-a,2)<=o**2||n.x<=o+r&&n.y<=o+a||n.x<=r||n.y<=a}return!1}}class we{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:s,y:n}=this.rectangle.position,{width:o,height:r}=this.rectangle.size,{capacity:a}=this;for(let c=0;c<4;c++)this._subs.push(new we(new re(s+o/2*(c%2),n+r/2*(Math.round(c/2)-c%2),o/2,r/2),a));this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(e){return this.rectangle.contains(e.position)?this._points.lengtht.insert(e))):!1}query(e,t,s){const n=s||[];if(!e.intersects(this.rectangle))return[];for(const o of this._points)!e.contains(o.position)&&ze(e.position,o.position)>o.particle.getRadius()&&(!t||t(o.particle))||n.push(o.particle);if(this._divided)for(const o of this._subs)o.query(e,t,n);return n}queryCircle(e,t,s){return this.query(new Se(e.x,e.y,t),s)}queryRectangle(e,t,s){return this.query(new re(e.x,e.y,t.width,t.height),s)}}const lt=4,ht=i=>new re(-i.width/4,-i.height/4,i.width*3/2,i.height*3/2);class Ms{constructor(e,t){this._applyDensity=(n,o,r)=>{var d;if(!((d=n.number.density)!=null&&d.enable))return;const a=n.number,c=this._initDensityFactor(a.density),l=a.value,h=a.limit>0?a.limit:l,f=Math.min(l,h)*c+o,u=Math.min(this.count,this.filter(g=>g.group===r).length);this.limit=a.limit*c,uf&&this.removeQuantity(u-f,r)},this._initDensityFactor=n=>{const o=this._container;if(!o.canvas.element||!n.enable)return 1;const r=o.canvas.element,a=o.retina.pixelRatio;return r.width*r.height/(n.factor*a**2*n.area)},this._pushParticle=(n,o,r,a)=>{try{let c=this.pool.pop();c?c.init(this._nextId,n,o,r):c=new xs(this._engine,this._nextId,this._container,n,o,r);let l=!0;return a&&(l=a(c)),l?(this._array.push(c),this._zArray.push(c),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:c}}),c):void 0}catch(c){he().warning(`${Z} adding particle: ${c}`);return}},this._removeParticle=(n,o,r)=>{const a=this._array[n];if(!a||a.group!==o)return!1;a.destroy(r);const c=this._zArray.indexOf(a);return this._array.splice(n,1),this._zArray.splice(c,1),this.pool.push(a),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:a}}),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this._interactionManager=new ws(e,t);const s=t.canvas.size;this.quadTree=new we(ht(s),lt),this.movers=this._engine.plugins.getMovers(t,!0),this.updaters=this._engine.plugins.getUpdaters(t,!0)}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const s of t.manualParticles)this.addParticle(s.position?zt(s.position,e.canvas.size):void 0,s.options)}addParticle(e,t,s,n){const o=this._container,r=o.actualOptions,a=r.particles.number.limit;if(a>0){const c=this.count+1-a;c>0&&this.removeQuantity(c)}return this._pushParticle(e,t,s,n)}clear(){this._array=[],this._zArray=[]}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}async draw(e){const t=this._container;t.canvas.clear(),await this.update(e);for(const[,s]of t.plugins)t.canvas.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}handleClickMode(e){this._interactionManager.handleClickMode(e)}init(){var n;const e=this._container,t=e.actualOptions;this.lastZIndex=0,this.needsSort=!1;let s=!1;this.updaters=this._engine.plugins.getUpdaters(e,!0),this._interactionManager.init();for(const[,o]of e.plugins)if(o.particlesInitialization!==void 0&&(s=o.particlesInitialization()),s)break;this._interactionManager.init();for(const[,o]of e.pathGenerators)o.init(e);if(this.addManualParticles(),!s){for(const o in t.particles.groups){const r=t.particles.groups[o];for(let a=this.count,c=0;c<((n=r.number)==null?void 0:n.value)&&athis.count)return;let o=0;for(let r=e;o!s.has(o);this._array=this.filter(n),this._zArray=this._zArray.filter(n),this.pool.push(...s)}await this._interactionManager.externalInteract(e);for(const n of this._array){for(const o of this.updaters)o.update(n,e);!n.destroyed&&!n.spawning&&await this._interactionManager.particlesInteract(n,e)}if(delete t.canvas.resizeFactor,this.needsSort){const n=this._zArray;n.sort((o,r)=>r.position.z-o.position.z||o.id-r.id),this.lastZIndex=n[n.length-1].position.z,this.needsSort=!1}}}class Ps{constructor(e){this.container=e,this.pixelRatio=1,this.reduceFactor=1}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||Me()?1:window.devicePixelRatio,this.reduceFactor=1;const s=this.pixelRatio;if(e.canvas.element){const r=e.canvas.element;e.canvas.size.width=r.offsetWidth*s,e.canvas.size.height=r.offsetHeight*s}const n=t.particles,o=n.move;this.attractDistance=_(o.attract.distance)*s,this.maxSpeed=_(o.gravity.maxSpeed)*s,this.sizeAnimationSpeed=_(n.size.animation.speed)*s}initParticle(e){const t=e.options,s=this.pixelRatio,n=t.move,o=n.distance,r=e.retina;r.attractDistance=_(n.attract.distance)*s,r.moveDrift=_(n.drift)*s,r.moveSpeed=_(n.speed)*s,r.sizeAnimationSpeed=_(t.size.animation.speed)*s;const a=r.maxDistance;a.horizontal=o.horizontal!==void 0?o.horizontal*s:void 0,a.vertical=o.vertical!==void 0?o.vertical*s:void 0,r.maxSpeed=_(n.gravity.maxSpeed)*s}}function M(i){return i&&!i.destroyed}function ks(i,e=60,t=!1){return{value:i,factor:t?60/e:60*i/1e3}}function J(i,e,...t){const s=new bs(i,e);return Ot(s,...t),s}const Ss="default",ut={generate:i=>i.velocity,init:()=>{},update:()=>{},reset:()=>{}};class Cs{constructor(e,t,s){this.id=t,this._intersectionManager=n=>{if(!(!M(this)||!this.actualOptions.pauseOnOutsideViewport))for(const o of n)o.target===this.interactivity.element&&(o.isIntersecting?this.play:this.pause)()},this._nextFrame=async n=>{try{if(!this.smooth&&this.lastFrameTime!==void 0&&n1e3){this.draw(!1);return}if(await this.particles.draw(o),!this.alive()){this.destroy();return}this.getAnimationStatus()&&this.draw(!1)}catch(o){he().error(`${Z} in animation loop`,o)}},this._engine=e,this.fpsLimit=120,this.smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=s,this._initialSourceOptions=s,this.retina=new Ps(this),this.canvas=new Ii(this),this.particles=new Ms(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this),this._eventListeners=new Ei(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(n=>this._intersectionManager(n))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!M(this))return;const t=this.interactivity.element;if(!t)return;const s=(f,u,d)=>{if(!M(this))return;const g=this.retina.pixelRatio,y={x:u.x*g,y:u.y*g},w=this.particles.quadTree.queryCircle(y,d*g);e(f,w)},n=f=>{if(!M(this))return;const u=f,d={x:u.offsetX||u.clientX,y:u.offsetY||u.clientY};s(f,d,1)},o=()=>{M(this)&&(l=!0,h=!1)},r=()=>{M(this)&&(h=!0)},a=f=>{if(M(this)){if(l&&!h){const u=f;let d=u.touches[u.touches.length-1];if(!d&&(d=u.changedTouches[u.changedTouches.length-1],!d))return;const g=this.canvas.element,y=g?g.getBoundingClientRect():void 0,w={x:d.clientX-(y?y.left:0),y:d.clientY-(y?y.top:0)};s(f,w,Math.max(d.radiusX,d.radiusY))}l=!1,h=!1}},c=()=>{M(this)&&(l=!1,h=!1)};let l=!1,h=!1;t.addEventListener("click",n),t.addEventListener("touchstart",o),t.addEventListener("touchmove",r),t.addEventListener("touchend",a),t.addEventListener("touchcancel",c)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,s=!1){return!M(this)||!s&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t??ut),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){if(!M(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,s]of this.drawers)s.destroy&&s.destroy(this);for(const s of this.drawers.keys())this.drawers.delete(s);this._engine.plugins.destroy(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(s=>s===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!M(this))return;let t=e;this._drawAnimationFrame=requestAnimationFrame(async s=>{t&&(this.lastFrameTime=void 0,t=!1),await this._nextFrame(s)})}async export(e,t={}){for(const[,s]of this.plugins){if(!s.export)continue;const n=await s.export(e,t);if(n.supported)return n.blob}he().error(`${Z} - Export plugin with type ${e} not found`)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&M(this)}handleClickMode(e){if(M(this)){this.particles.handleClickMode(e);for(const[,t]of this.plugins)t.handleClickMode&&t.handleClickMode(e)}}async init(){if(!M(this))return;const e=this._engine.plugins.getSupportedShapes();for(const s of e){const n=this._engine.plugins.getShapeDrawer(s);n&&this.drawers.set(s,n)}this._options=J(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=J(this._engine,this,this._options);const t=this._engine.plugins.getAvailablePlugins(this);for(const[s,n]of t)this.plugins.set(s,n);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=_(this.actualOptions.duration)*1e3,this._delay=_(this.actualOptions.delay)*1e3,this._lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;for(const[,s]of this.drawers)s.init&&await s.init(this);for(const[,s]of this.plugins)s.init&&await s.init();this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity();for(const[,s]of this.plugins)s.particlesSetup&&s.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){M(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(M(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!M(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,s]of this.plugins)s.play&&s.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t||!1)}async refresh(){if(M(this))return this.stop(),this.start()}async reset(){if(M(this))return this._initialSourceOptions=void 0,this._options=J(this._engine,this),this.actualOptions=J(this._engine,this,this._options),this.refresh()}setNoise(e,t,s){M(this)&&this.setPath(e,t,s)}setPath(e,t,s){if(!e||!M(this))return;const n={...ut};if(Mt(e))n.generate=e,t&&(n.init=t),s&&(n.update=s);else{const o=n;n.generate=e.generate||o.generate,n.init=e.init||o.init,n.update=e.update||o.update}this.addPath(Ss,n,!0)}async start(){!M(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{this._delayTimeout=setTimeout(async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,t]of this.plugins)t.start&&await t.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()},this._delay)}))}stop(){if(!(!M(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,e]of this.plugins)e.stop&&e.stop();for(const e of this.plugins.keys())this.plugins.delete(e);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth===e?!1:(this.responsiveMaxWidth=e,!0)}}class Ts{constructor(){this._listeners=new Map}addEventListener(e,t){this.removeEventListener(e,t);let s=this._listeners.get(e);s||(s=[],this._listeners.set(e,s)),s.push(t)}dispatchEvent(e,t){const s=this._listeners.get(e);s&&s.forEach(n=>n(t))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){const s=this._listeners.get(e);if(!s)return;const n=s.length,o=s.indexOf(t);o<0||(n===1?this._listeners.delete(e):s.splice(o,1))}}function je(i,e,t,s=!1){let n=e.get(i);return(!n||s)&&(n=[...t.values()].map(o=>o(i)),e.set(i,n)),n}class Os{constructor(e){this._engine=e,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,t){this._initializers.interactors.set(e,t)}addParticleMover(e,t){this._initializers.movers.set(e,t)}addParticleUpdater(e,t){this._initializers.updaters.set(e,t)}addPathGenerator(e,t){!this.getPathGenerator(e)&&this.pathGenerators.set(e,t)}addPlugin(e){!this.getPlugin(e.id)&&this.plugins.push(e)}addPreset(e,t,s=!1){(s||!this.getPreset(e))&&this.presets.set(e,t)}addShapeDrawer(e,t){U(e,s=>{!this.getShapeDrawer(s)&&this.drawers.set(s,t)})}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){const t=new Map;for(const s of this.plugins)s.needsPlugin(e.actualOptions)&&t.set(s.id,s.getPlugin(e));return t}getInteractors(e,t=!1){return je(e,this.interactors,this._initializers.interactors,t)}getMovers(e,t=!1){return je(e,this.movers,this._initializers.movers,t)}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,t=!1){return je(e,this.updaters,this._initializers.updaters,t)}loadOptions(e,t){for(const s of this.plugins)s.loadOptions(e,t)}loadParticlesOptions(e,t,...s){const n=this.updaters.get(e);if(n)for(const o of n)o.loadOptions&&o.loadOptions(t,...s)}}async function Rs(i){const e=ce(i.url,i.index);if(!e)return i.fallback;const t=await fetch(e);return t.ok?t.json():(he().error(`${Z} ${t.status} while retrieving config file`),i.fallback)}function Is(i){return!i.id&&!i.element&&!i.url&&!i.options}function Es(i){return!Is(i)}class Ds{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new Ts,this._initialized=!1,this.plugins=new Os(this)}get configs(){const e={};for(const[t,s]of this._configs)e[t]=s;return e}get version(){return"2.12.0"}addConfig(e,t){F(e)?t&&(t.name=e,this._configs.set(e,t)):this._configs.set(e.name??"default",e)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}async addInteractor(e,t,s=!0){this.plugins.addInteractor(e,t),await this.refresh(s)}async addMover(e,t,s=!0){this.plugins.addParticleMover(e,t),await this.refresh(s)}async addParticleUpdater(e,t,s=!0){this.plugins.addParticleUpdater(e,t),await this.refresh(s)}async addPathGenerator(e,t,s=!0){this.plugins.addPathGenerator(e,t),await this.refresh(s)}async addPlugin(e,t=!0){this.plugins.addPlugin(e),await this.refresh(t)}async addPreset(e,t,s=!1,n=!0){this.plugins.addPreset(e,t,s),await this.refresh(n)}async addShape(e,t,s,n,o,r=!0){let a,c=r,l,h,f;G(s)?(c=s,l=void 0):l=s,G(n)?(c=n,h=void 0):h=n,G(o)?(c=o,f=void 0):f=o,Mt(t)?a={afterEffect:h,destroy:f,draw:t,init:l}:a=t,this.plugins.addShapeDrawer(e,a),await this.refresh(c)}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}dom(){return this._domArray}domItem(e){const t=this.dom(),s=t[e];if(!s||s.destroyed){t.splice(e,1);return}return s}init(){this._initialized||(this._initialized=!0)}async load(e,t){return this.loadFromArray(e,t)}async loadFromArray(e,t,s){let n;return Es(e)?n=e:(n={},F(e)?n.id=e:n.options=e,$(t)?n.index=t:n.options=t??n.options,n.index=s??n.index),this._loadParams(n)}async loadJSON(e,t,s){let n,o;return $(t)||t===void 0?n=e:(o=e,n=t),this._loadParams({id:o,url:n,index:s})}async refresh(e=!0){e&&this.dom().forEach(t=>t.refresh())}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async set(e,t,s,n){const o={index:n};return F(e)?o.id=e:o.element=e,t instanceof HTMLElement?o.element=t:o.options=t,$(s)?o.index=s:o.options=s??o.options,this._loadParams(o)}async setJSON(e,t,s,n){const o={};return e instanceof HTMLElement?(o.element=e,o.url=t,o.index=s):(o.id=e,o.element=t,o.url=s,o.index=n),this._loadParams(o)}setOnClickHandler(e){const t=this.dom();if(!t.length)throw new Error(`${Z} can only set click handlers after calling tsParticles.load()`);for(const s of t)s.addClickHandler(e)}async _loadParams(e){const t=e.id??`tsparticles${Math.floor(S()*1e4)}`,{index:s,url:n}=e,o=n?await Rs({fallback:e.options,url:n,index:s}):e.options;let r=e.element??document.getElementById(t);r||(r=document.createElement("div"),r.id=t,document.body.append(r));const a=ce(o,s),c=this.dom(),l=c.findIndex(u=>u.id===t);if(l>=0){const u=this.domItem(l);u&&!u.destroyed&&(u.destroy(),c.splice(l,1))}let h;if(r.tagName.toLowerCase()==="canvas")h=r,h.dataset[ae]="false";else{const u=r.getElementsByTagName("canvas");u.length?(h=u[0],h.dataset[ae]="false"):(h=document.createElement("canvas"),h.dataset[ae]="true",r.appendChild(h))}h.style.width||(h.style.width="100%"),h.style.height||(h.style.height="100%");const f=new Cs(this,t,a);return l>=0?c.splice(l,0,f):c.push(f),f.canvas.loadCanvas(h),await f.start(),f}}class As{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.s!==void 0&&s.l!==void 0)return oe(s)}handleRangeColor(e){const t=e.value,s=t.hsl??e.value;if(s.h!==void 0&&s.l!==void 0)return oe({h:_(s.h),l:_(s.l),s:_(s.s)})}parseString(e){if(!e.startsWith("hsl"))return;const t=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?bi({a:s.length>4?_t(s[5]):1,h:parseInt(s[1],10),l:parseInt(s[3],10),s:parseInt(s[2],10)}):void 0}}class Ls{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return s}handleRangeColor(e){const t=e.value,s=t.rgb??e.value;if(s.r!==void 0)return{r:_(s.r),g:_(s.g),b:_(s.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;const t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,s=t.exec(e);return s?{a:s.length>4?_t(s[5]):1,b:parseInt(s[3],10),g:parseInt(s[2],10),r:parseInt(s[1],10)}:void 0}}function Fs(){const i=new Ls,e=new As;it(i),it(e);const t=new Ds;return t.init(),t}const le=Fs();Me()||(window.tsParticles=le);const $s=async i=>{const{loadFull:e}=await te(()=>import("./index.6c66b8af.js"),["./index.6c66b8af.js","./index.e590972e.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./Icon.241d7e64.js","./index.b8fe2cb5.js","./Icon.cf693866.css","./ContentRenderer.70b94723.js","./ContentRendererMarkdown.vue.ac44211b.js","./index.b0fe9fac.js","./preview.cf1a2dd4.js","./query.a51a821d.js"],import.meta.url);await e(i)},Bs=async i=>{const{loadSlim:e}=await te(()=>import("./index.e590972e.js").then(t=>t.i),[],import.meta.url);await e(i)},js=async i=>{const{loadBasic:e}=await te(()=>Promise.resolve().then(()=>zn),void 0,import.meta.url);await e(i)},Hs=async(i,e)=>{const s=new Map([["basic",js],["slim",Bs],["full",$s]]).get(e);s&&await s(i)},Us=["id"],Vs=A({__name:"NuxtParticles",props:{id:{},options:{},url:{}},emits:["load"],setup(i,{emit:e}){const t=ft("__nuxt_particles_loaded",()=>!1),s=W(void 0),{mode:n,lazy:o}=At().public.particles,r=i,a=e;return de(async()=>{o&&n!=="custom"&&!t.value&&(le.init(),await Hs(le,n),t.value=!0);const c=await le.load({id:r.id,options:r.options,url:r.url});c&&(a("load",c),s.value=c)}),Ft(()=>{s.value&&s.value.destroy()}),(c,l)=>(m(),b("div",{id:c.id},null,8,Us))}}),Ws=A({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(i,{slots:e,attrs:t}){const s=W(!1);return de(()=>{s.value=!0}),n=>{var c;if(s.value)return(c=e.default)==null?void 0:c.call(e);const o=e.fallback||e.placeholder;if(o)return o();const r=n.fallback||n.placeholder||"",a=n.fallbackTag||n.placeholderTag||"span";return b(a,t,r)}}}),qs={name:Lt,props:{placeholder:String,tag:{type:String,default:"span"}}};function Gs(i,e,t,s,n,o){const r=Ws;return m(),B(r,{placeholder:t.placeholder,"placeholder-tag":t.tag},{default:H(()=>[$t(i.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Et=j(qs,[["render",Gs]]),Ze=()=>ft("color-mode").value;function Ns(i){const e=i.initialPosition,{dx:t,dy:s}=X(e,i.position),n=Math.abs(t),o=Math.abs(s),{maxDistance:r}=i.retina,a=r.horizontal,c=r.vertical;if(!(!a&&!c)){if((a&&n>=a||c&&o>=c)&&!i.misplaced)i.misplaced=!!a&&n>a||!!c&&o>c,a&&(i.velocity.x=i.velocity.y/2-i.velocity.x),c&&(i.velocity.y=i.velocity.x/2-i.velocity.y);else if((!a||ne.x&&h.x>0)&&(h.x*=-S()),c&&(l.ye.y&&h.y>0)&&(h.y*=-S())}}}function Ys(i,e,t,s,n,o){Zs(i,o);const r=i.gravity,a=r!=null&&r.enable&&r.inverse?-1:1;n&&t&&(i.velocity.x+=n*o.factor/(60*t)),r!=null&&r.enable&&t&&(i.velocity.y+=a*(r.acceleration*o.factor)/(60*t));const c=i.moveDecay;i.velocity.multTo(c);const l=i.velocity.mult(t);r!=null&&r.enable&&s>0&&(!r.inverse&&l.y>=0&&l.y>=s||r.inverse&&l.y<=0&&l.y<=-s)&&(l.y=a*s,t&&(i.velocity.y=l.y/t));const h=i.options.zIndex,f=(1-i.zIndexFactor)**h.velocityRate;l.multTo(f);const{position:u}=i;u.addTo(l),e.vibrate&&(u.x+=Math.sin(u.x*Math.cos(u.y)),u.y+=Math.cos(u.y*Math.sin(u.x)))}function Xs(i,e){const t=i.container;if(!i.spin)return;const s={x:i.spin.direction==="clockwise"?Math.cos:Math.sin,y:i.spin.direction==="clockwise"?Math.sin:Math.cos};i.position.x=i.spin.center.x+i.spin.radius*s.x(i.spin.angle),i.position.y=i.spin.center.y+i.spin.radius*s.y(i.spin.angle),i.spin.radius+=i.spin.acceleration;const n=Math.max(t.canvas.size.width,t.canvas.size.height);i.spin.radius>n/2?(i.spin.radius=n/2,i.spin.acceleration*=-1):i.spin.radius<0&&(i.spin.radius=0,i.spin.acceleration*=-1),i.spin.angle+=e/100*(1-i.spin.radius/n)}function Zs(i,e){var r;const t=i.options,s=t.move.path;if(!s.enable)return;if(i.lastPathTime<=i.pathDelay){i.lastPathTime+=e.value;return}const o=(r=i.pathGenerator)==null?void 0:r.generate(i,e);o&&i.velocity.addTo(o),s.clamp&&(i.velocity.x=ne(i.velocity.x,-1,1),i.velocity.y=ne(i.velocity.y,-1,1)),i.lastPathTime-=i.pathDelay}function Qs(i){return i.slow.inRange?i.slow.factor:1}const Ks=2;class Js{constructor(){this._initSpin=e=>{const t=e.container,s=e.options,n=s.move.spin;if(!n.enable)return;const o=n.position??{x:50,y:50},r={x:o.x/100*t.canvas.size.width,y:o.y/100*t.canvas.size.height},a=e.getPosition(),c=ze(a,r),l=_(n.acceleration);e.retina.spinAcceleration=l*t.retina.pixelRatio,e.spin={center:r,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}init(e){const t=e.options,s=t.move.gravity;e.gravity={enable:s.enable,acceleration:_(s.acceleration),inverse:s.inverse},this._initSpin(e)}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,t){var g,y;const s=e.options,n=s.move;if(!n.enable)return;const o=e.container,r=o.retina.pixelRatio,a=Qs(e),c=((g=e.retina).moveSpeed??(g.moveSpeed=_(n.speed)*r))*o.retina.reduceFactor,l=(y=e.retina).moveDrift??(y.moveDrift=_(e.options.move.drift)*r),h=xe(s.size.value)*r,f=n.size?e.getRadius()/h:1,u=c*f*a*(t.factor||1)/Ks,d=e.retina.maxSpeed??o.retina.maxSpeed;n.spin.enable?Xs(e,u):Ys(e,n,u,d,l,t),Ns(e)}}async function en(i,e=!0){await i.addMover("base",()=>new Js,e)}class tn{draw(e,t,s){t.circleRange||(t.circleRange={min:0,max:Math.PI*2});const n=t.circleRange;e.arc(0,0,s,n.min,n.max,!1)}getSidesCount(){return 12}particleInit(e,t){const s=t.shapeData,n=(s==null?void 0:s.angle)??{max:360,min:0};t.circleRange=ee(n)?{min:n.min*Math.PI/180,max:n.max*Math.PI/180}:{min:0,max:n*Math.PI/180}}}async function sn(i,e=!0){await i.addShape("circle",new tn,e)}function He(i,e,t,s,n){if(!e||!t.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=L(t.offset),r=(e.velocity??0)*i.factor+o*3.6,a=e.decay??1;!n||e.status==="increasing"?(e.value+=r,e.value>s&&(e.loops||(e.loops=0),e.loops++,n&&(e.status="decreasing",e.value-=e.value%s))):(e.value-=r,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&a!==1&&(e.velocity*=a),e.value>s&&(e.value%=s)}function nn(i,e){const{h:t,s,l:n}=i.options.color.animation,{color:o}=i;if(!o)return;const{h:r,s:a,l:c}=o;r&&He(e,r,t,360,!1),a&&He(e,a,s,100,!0),c&&He(e,c,n,100,!0)}class on{constructor(e){this.container=e}init(e){const t=Ve(e.options.color,e.id,e.options.reduceDuplicates);t&&(e.color=xi(t,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){const{h:t,s,l:n}=e.options.color.animation,{color:o}=e;return!e.destroyed&&!e.spawning&&((o==null?void 0:o.h.value)!==void 0&&t.enable||(o==null?void 0:o.s.value)!==void 0&&s.enable||(o==null?void 0:o.l.value)!==void 0&&n.enable)}update(e,t){nn(e,t)}}async function rn(i,e=!0){await i.addParticleUpdater("color",t=>new on(t),e)}function an(i,e,t,s){switch(i.options.opacity.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function cn(i,e){const t=i.opacity;if(i.destroyed||!(t!=null&&t.enable)||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=t.min,n=t.max,o=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=n?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=(t.velocity??0)*e.factor;break;case"decreasing":t.value<=s?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=(t.velocity??0)*e.factor;break}t.velocity&&t.decay!==1&&(t.velocity*=o),an(i,t.value,s,n),i.destroyed||(t.value=ne(t.value,s,n))}}class ln{constructor(e){this.container=e}init(e){const t=e.options.opacity;e.opacity=wt(t,1);const s=t.animation;s.enable&&(e.opacity.velocity=_(s.speed)/100*this.container.retina.reduceFactor,s.sync||(e.opacity.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((e.opacity.maxLoops??0)<=0||(e.opacity.maxLoops??0)>0&&(e.opacity.loops??0)<(e.opacity.maxLoops??0))}reset(e){e.opacity&&(e.opacity.time=0,e.opacity.loops=0)}update(e,t){this.isEnabled(e)&&cn(e,t)}}async function hn(i,e=!0){await i.addParticleUpdater("opacity",t=>new ln(t),e)}function un(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-horizontal"&&i.outMode!=="bounceHorizontal"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.right<0&&i.direction==="left"?i.particle.position.x=i.size+i.offset.x:i.bounds.left>i.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const e=i.particle.velocity.x;let t=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&e>0||i.direction==="left"&&i.bounds.left<=0&&e<0){const n=Q(i.particle.options.bounce.horizontal);i.particle.velocity.x*=-n,t=!0}if(!t)return;const s=i.offset.x+i.size;i.bounds.right>=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-s:i.bounds.left<=0&&i.direction==="left"&&(i.particle.position.x=s),i.outMode==="split"&&i.particle.destroy()}function fn(i){if(i.outMode!=="bounce"&&i.outMode!=="bounce-vertical"&&i.outMode!=="bounceVertical"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottom<0&&i.direction==="top"?i.particle.position.y=i.size+i.offset.y:i.bounds.top>i.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const e=i.particle.velocity.y;let t=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&e>0||i.direction==="top"&&i.bounds.top<=0&&e<0){const n=Q(i.particle.options.bounce.vertical);i.particle.velocity.y*=-n,t=!0}if(!t)return;const s=i.offset.y+i.size;i.bounds.bottom>=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-s:i.bounds.top<=0&&i.direction==="top"&&(i.particle.position.y=s),i.outMode==="split"&&i.particle.destroy()}class dn{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;let r=!1;for(const[,u]of o.plugins)if(u.particleBounce!==void 0&&(r=u.particleBounce(e,s,t)),r)break;if(r)return;const a=e.getPosition(),c=e.offset,l=e.getRadius(),h=Pe(a,l),f=o.canvas.size;un({particle:e,outMode:n,direction:t,bounds:h,canvasSize:f,offset:c,size:l}),fn({particle:e,outMode:n,direction:t,bounds:h,canvasSize:f,offset:c,size:l})}}class pn{constructor(e){this.container=e,this.modes=["destroy"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"normal":case"outside":if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;break;case"inside":{const{dx:r,dy:a}=X(e.position,e.moveCenter),{x:c,y:l}=e.velocity;if(c<0&&r>e.moveCenter.radius||l<0&&a>e.moveCenter.radius||c>=0&&r<-e.moveCenter.radius||l>=0&&a<-e.moveCenter.radius)return;break}}o.particles.remove(e,void 0,!0)}}class mn{constructor(e){this.container=e,this.modes=["none"]}update(e,t,s,n){if(!this.modes.includes(n)||e.options.move.distance.horizontal&&(t==="left"||t==="right")||e.options.move.distance.vertical&&(t==="top"||t==="bottom"))return;const o=e.options.move.gravity,r=this.container,a=r.canvas.size,c=e.getRadius();if(o.enable){const l=e.position;(!o.inverse&&l.y>a.height+c&&t==="bottom"||o.inverse&&l.y<-c&&t==="top")&&r.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=a.height+c||e.velocity.y<0&&e.position.y>=-c||e.velocity.x>0&&e.position.x<=a.width+c||e.velocity.x<0&&e.position.x>=-c)return;Xe(e.position,r.canvas.size,I.origin,c,t)||r.particles.remove(e)}}}class yn{constructor(e){this.container=e,this.modes=["out"]}update(e,t,s,n){if(!this.modes.includes(n))return;const o=this.container;switch(e.outType){case"inside":{const{x:r,y:a}=e.velocity,c=I.origin;c.length=e.moveCenter.radius,c.angle=e.velocity.angle+Math.PI,c.addTo(I.create(e.moveCenter));const{dx:l,dy:h}=X(e.position,c);if(r<=0&&l>=0||a<=0&&h>=0||r>=0&&l<=0||a>=0&&h<=0)return;e.position.x=Math.floor(L({min:0,max:o.canvas.size.width})),e.position.y=Math.floor(L({min:0,max:o.canvas.size.height}));const{dx:f,dy:u}=X(e.position,e.moveCenter);e.direction=Math.atan2(-u,-f),e.velocity.angle=e.direction;break}default:{if(Xe(e.position,o.canvas.size,I.origin,e.getRadius(),t))return;switch(e.outType){case"outside":{e.position.x=Math.floor(L({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor(L({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;const{dx:r,dy:a}=X(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(a,r),e.velocity.angle=e.direction);break}case"normal":{const r=e.options.move.warp,a=o.canvas.size,c={bottom:a.height+e.getRadius()+e.offset.y,left:-e.getRadius()-e.offset.x,right:a.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},l=e.getRadius(),h=Pe(e.position,l);t==="right"&&h.left>a.width+e.offset.x?(e.position.x=c.left,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)):t==="left"&&h.right<-e.offset.x&&(e.position.x=c.right,e.initialPosition.x=e.position.x,r||(e.position.y=S()*a.height,e.initialPosition.y=e.position.y)),t==="bottom"&&h.top>a.height+e.offset.y?(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.top,e.initialPosition.y=e.position.y):t==="top"&&h.bottom<-e.offset.y&&(r||(e.position.x=S()*a.width,e.initialPosition.x=e.position.x),e.position.y=c.bottom,e.initialPosition.y=e.position.y);break}}break}}}}class gn{constructor(e){this.container=e,this._updateOutMode=(t,s,n,o)=>{for(const r of this.updaters)r.update(t,o,s,n)},this.updaters=[new dn(e),new pn(e),new yn(e),new mn(e)]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,t){const s=e.options.move.outModes;this._updateOutMode(e,t,s.bottom??s.default,"bottom"),this._updateOutMode(e,t,s.left??s.default,"left"),this._updateOutMode(e,t,s.right??s.default,"right"),this._updateOutMode(e,t,s.top??s.default,"top")}}async function _n(i,e=!0){await i.addParticleUpdater("outModes",t=>new gn(t),e)}function vn(i,e,t,s){switch(i.options.size.animation.destroy){case"max":e>=s&&i.destroy();break;case"min":e<=t&&i.destroy();break}}function bn(i,e){const t=i.size;if(i.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const s=(t.velocity??0)*e.factor,n=t.min,o=t.max,r=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=e.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=o?(t.status="decreasing",t.loops||(t.loops=0),t.loops++):t.value+=s;break;case"decreasing":t.value<=n?(t.status="increasing",t.loops||(t.loops=0),t.loops++):t.value-=s}t.velocity&&r!==1&&(t.velocity*=r),vn(i,t.value,n,o),i.destroyed||(t.value=ne(t.value,n,o))}}class wn{init(e){const t=e.container,s=e.options.size,n=s.animation;n.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??t.retina.sizeAnimationSpeed)/100*t.retina.reduceFactor,n.sync||(e.size.velocity*=S()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??0)<=0||(e.size.maxLoops??0)>0&&(e.size.loops??0)<(e.size.maxLoops??0))}reset(e){e.size.loops=0}update(e,t){this.isEnabled(e)&&bn(e,t)}}async function xn(i,e=!0){await i.addParticleUpdater("size",()=>new wn,e)}async function Dt(i,e=!0){await en(i,!1),await sn(i,!1),await rn(i,!1),await hn(i,!1),await _n(i,!1),await xn(i,!1),await i.refresh(e)}const zn=Object.freeze(Object.defineProperty({__proto__:null,loadBasic:Dt},Symbol.toStringTag,{value:"Module"})),Mn={background:{color:"#000"},particles:{number:{value:100},move:{direction:"none",enable:!0,outModes:{default:"out"},random:!0,speed:.1,straight:!1},opacity:{animation:{enable:!0,speed:1,sync:!1},value:{min:0,max:1}},size:{value:{min:1,max:3}}}};async function Pn(i,e=!0){await Dt(i,!1),await i.addPreset("stars",Mn,e)}const kn={key:0},Sn={key:0},Cn={key:1},Tn=A({__name:"animated-background",async setup(i){let e,t;const s=Ze();[e,t]=We(()=>Pn(le)),await e,t();const n=W(!1);dt(s,()=>{n.value=!1,setTimeout(()=>n.value=!0,1e3)}),de(()=>{n.value=!0});const o={fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,particles:{opacity:{value:.1},color:{value:"#fff"},links:{color:"#fff",enable:!0,opacity:.1},move:{enable:!0},number:{value:20}}},r={preset:"stars",fullScreen:{enable:!0,zIndex:0},backgroundMode:!0,background:{opacity:0},particles:{number:{value:50}}};return(a,c)=>{const l=Vs,h=Et;return m(),B(h,null,{default:H(()=>[k(qe,null,{default:H(()=>[p(n)?(m(),b("div",kn,[p(s).value==="dark"?(m(),b("div",Sn,[k(l,{id:"connections",options:o}),k(l,{id:"stars",options:r})])):(m(),b("div",Cn,[k(l,{id:"connections",options:o}),k(l,{id:"stars",options:r})]))])):q("",!0)]),_:1})]),_:1})}}});const On={class:"topbar"},Rn={class:"switch"},In={class:"switch"},ge="2.5rem",En=A({__name:"top-bar",setup(i){const{locale:e}=fe(),t=Ze();return(s,n)=>{const o=pe,r=Et;return m(),b("div",On,[v("div",Rn,[v("div",null,[p(e)==="pt"?(m(),B(o,{key:0,name:"circle-flags:br",size:ge,onClick:n[0]||(n[0]=a=>e.value="en")})):q("",!0)]),v("div",null,[p(e)==="en"?(m(),B(o,{key:0,name:"circle-flags:us",size:ge,onClick:n[1]||(n[1]=a=>e.value="pt")})):q("",!0)])]),k(r,{placeholder:"...",tag:"span"},{default:H(()=>[v("div",In,[p(t).value==="dark"?(m(),b("div",{key:0,onClick:n[2]||(n[2]=a=>p(t).preference="light")},[k(o,{name:"material-symbols:dark-mode-rounded",size:ge})])):(m(),b("div",{key:1,onClick:n[3]||(n[3]=a=>p(t).preference="dark")},[k(o,{name:"material-symbols:light-mode-rounded",size:ge})]))])]),_:1})])}}});const Dn=j(En,[["__scopeId","data-v-ca1cc8a0"]]),An={class:"intro"},Ln=A({__name:"intro-text",props:{text:{}},emits:["ended","started"],setup(i,{emit:e}){const t=e,s=i,n=Ze(),o=W(),r=s.text.split(` +`),a=W(0),c=async()=>{o.value!=null&&(a.value=0,await o.value.reduce(async(u,d)=>{await u,await f(d),a.value+=1},Promise.resolve()),t("ended"))},l=()=>{o.value!=null&&o.value.slice(0,a.value+1).forEach(u=>{h(u)})},h=async u=>{const d=Array.from(u.children),g=n.preference==="dark"?"brightness":"opacity",y=300,w=[{filter:`${g}(40%)`}],x=d.map(C=>C.animate(w,{duration:y,iterations:1,fill:"forwards"}).finished);await Promise.all(x)},f=async u=>{const d=Array.from(u.children),g=1500,y=100,w=n.preference==="dark"?"brightness":"opacity",x=[{transform:"translateY(0)",visibility:"visible",filter:`${w}(100%)`},{transform:"translateY(-2em)",offset:.1},{transform:"translateY(0)",offset:.2},{filter:`${w}(100%)`,offset:.85},{visibility:"visible",filter:`${w}(40%)`,offset:1}],C=d.map((P,ye)=>P.animate(x,{duration:g,iterations:1,fill:"forwards",delay:ye*y}).finished);await Promise.all(C)};return de(()=>{setTimeout(c,1e3)}),dt(n,()=>{l()}),(u,d)=>(m(),b("div",An,[(m(!0),b(ie,null,se(p(r),(g,y)=>(m(),b("div",{ref_for:!0,ref_key:"introLines",ref:o,key:g,class:"line"},[(m(!0),b(ie,null,se(Array(y),(w,x)=>(m(),b("span",{key:x,class:"tabspace"}," "))),128)),(m(!0),b(ie,null,se(g,(w,x)=>(m(),b("span",{key:x,class:"letter"},O(w==" "?" ":w),1))),128))]))),128))]))}});const Fn=j(Ln,[["__scopeId","data-v-3f889e56"]]),$n={key:0,class:"w-full"},Bn={class:"intro-info"},jn={href:"https://linktr.ee/pabloelt",class:"info-item contact"},Hn={class:"info-item more"},Un=A({__name:"intro",setup(i){const{t:e,locale:t}=fe(),s=W(!1);return(n,o)=>{const r=Fn,a=pe,c=Bt("auto-animate");return Ce((m(),b("div",{key:p(t),class:"flex flex-col items-center"},[k(r,{text:p(e)("intro"),onEnded:o[0]||(o[0]=l=>s.value=!0)},null,8,["text"]),p(s)?(m(),b("div",$n,[v("div",Bn,[Ce((m(),b("a",jn,[k(a,{name:"logos:telegram"}),v("span",null,O(p(e)("contact")),1)])),[[c]]),Ce((m(),b("div",Hn,[v("span",null,O(p(e)("more")),1),k(a,{name:"mingcute:arrows-right-line",size:"32"})])),[[c]])])])):q("",!0)])),[[c]])}}});const Vn=j(Un,[["__scopeId","data-v-0ef26f74"]]),K=i=>(jt("data-v-7030895c"),i=i(),Ht(),i),Wn={class:"division"},qn={class:"subsection"},Gn={class:"title"},Nn=K(()=>v("br",null,null,-1)),Yn=K(()=>v("br",null,null,-1)),Xn=K(()=>v("br",null,null,-1)),Zn=K(()=>v("br",null,null,-1)),Qn=K(()=>v("a",{href:"http://github.com/pabloeltdev"},"Github",-1)),Kn=K(()=>v("br",null,null,-1)),Jn=K(()=>v("a",{href:"http://github.com/pabloufrn"},"link",-1)),eo={class:"subsection"},to={class:"title"},io={class:"whitespace-pre-line"},so={class:"division"},no={class:"subsection"},oo={class:"title flex"},ro={class:"flex items-center gap-2"},ao=A({__name:"about",setup(i){const{t:e,locale:t}=fe();return(s,n)=>{const o=pe;return m(),B(qe,{mode:"out-in"},{default:H(()=>[(m(),b("div",{key:p(t),class:"about"},[v("div",Wn,[v("div",qn,[v("span",Gn,O(p(e)("skills_title")),1),v("span",null,[Y(" 🚀 Web front (vuejs, nuxt, tailwindcss) "),Nn,Y(" 📊 Data science (pandas, plotly, dash) "),Yn,Y(" 🤖 Chat bots (python-telegram-bot) "),Xn,Y(" 📔 Main languages (typescript, python) "),Zn,Y(" 😀 "+O(p(e)("more_at"))+" ",1),Qn,Y(". "),Kn,Y(" ➕ "+O(p(e)("old_gh_text"))+": ",1),Jn])]),v("div",eo,[v("span",to,O(p(e)("roles_title")),1),v("span",io,O(p(e)("roles_text")),1)])]),v("div",so,[v("div",no,[v("span",oo,O(p(e)("about_title")),1),v("span",null,O(p(e)("about_text")),1)]),v("div",ro,[v("span",null,O(p(e)("more")),1),k(o,{name:"mingcute:arrows-right-line",size:"32"})])])]))]),_:1})}}});const co=j(ao,[["__scopeId","data-v-7030895c"]]),lo={class:"project-container"},ho={key:0},uo={class:"project-header"},fo={class:"project-info"},po={class:"title"},mo=v("br",null,null,-1),yo={class:"description"},go={class:"project-external"},_o=v("br",null,null,-1),vo=A({__name:"portfolio-project",props:{path:{}},async setup(i){let e,t;const s=i,n=W(null),{t:o}=fe(),{data:r}=([e,t]=We(()=>yt(s.path,()=>gt(s.path).findOne(),"$a1E6u7yuYP")),e=await e,t(),e),a=c=>{window.open(c,"_blank")};return de(()=>{var c;(c=n.value)==null||c.focus()}),(c,l)=>{const h=pe,f=Zt;return m(),b("div",lo,[p(r)==null?(m(),b("div",ho," Project not found ")):(m(),b("div",{key:1,ref_key:"projectDiv",ref:n,class:"project",tabindex:"0"},[v("div",uo,[v("div",fo,[v("span",po,O(p(r).title),1),mo,v("span",yo,O(p(r).description),1)]),v("div",go,[p(r).homepage?(m(),b("div",{key:0,class:"homepage",onClick:l[0]||(l[0]=u=>a(p(r).homepage))},[v("span",null,O(p(o)("access_live")),1)])):q("",!0),p(r).video?(m(),b("div",{key:1,class:"video",onClick:l[1]||(l[1]=u=>a(p(r).video))},[k(h,{name:"mdi:youtube"})])):q("",!0)])]),_o,k(f,{value:p(r)},null,8,["value"])],512))])}}});const bo={};function wo(i,e){const t=pe;return m(),B(t,{class:"project-icon",name:"material-symbols:description"})}const xo=j(bo,[["render",wo]]),zo=(i,e)=>{const t=i[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((s,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Mo=A({__name:"project-icon",props:{name:{}},setup(i){const e=i,t=Ut(async()=>{try{return await zo(Object.assign({"../assets/projects/acidentes.svg":()=>te(()=>import("./acidentes.cd4f4f82.js"),["./acidentes.cd4f4f82.js","./nuxt-icon.b4d9ff56.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/playmytime.svg":()=>te(()=>import("./playmytime.6cf34277.js"),["./playmytime.6cf34277.js","./nuxt-icon.b4d9ff56.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./nuxt-icon.ee9202a9.css"],import.meta.url),"../assets/projects/simuladocnh.svg":()=>te(()=>import("./simuladocnh.dcd495b6.js"),["./simuladocnh.dcd495b6.js","./nuxt-icon.b4d9ff56.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./nuxt-icon.ee9202a9.css"],import.meta.url)}),`../assets/projects/${e.name}.svg`)}catch{return xo}});return(s,n)=>(m(),B(p(t)))}});const Po=j(Mo,[["__scopeId","data-v-5a1f7b1f"]]),ko={class:"projects-nav"},So=["onClick"],Co=A({__name:"projects-nav",props:{projects:{},activeProject:{}},emits:["select"],setup(i,{emit:e}){const t=i,s=e,n=Vt(()=>t.projects.map(a=>r(a))),o=a=>{s("select",a)},r=a=>{var c;return(c=a._path)==null?void 0:c.split("/").at(-1)};return(a,c)=>{const l=Po;return m(),b("div",ko,[(m(!0),b(ie,null,se(p(n),(h,f)=>(m(),b("div",{key:f,class:Wt(["project-item",{active:a.activeProject===f}]),onClick:u=>o(f)},[k(l,{class:"project-icon",name:h},null,8,["name"])],10,So))),128))])}}});const To=j(Co,[["__scopeId","data-v-3d5ad874"]]),Oo={class:"projects-container"},Ro={key:0,class:"project-swiper-container"},Io=A({__name:"projects",async setup(i){let e,t;const{locale:s}=fe(),{data:n}=([e,t]=We(()=>yt("projects",()=>gt(`/projects/${s.value.slice(0,2)}`).only(["_path"]).find(),{watch:[s]})),e=await e,t(),e);let o=null;const r=W(0),a=l=>{o==null||o.slideTo(l)},c=l=>{o=l,o.on("activeIndexChange",h=>{r.value=h.activeIndex})};return(l,h)=>{var y,w;const f=vo,u=pt,d=mt,g=To;return m(),b("div",Oo,[p(n)!=null&&((y=p(n))==null?void 0:y.length)>0?(m(),b("div",Ro,[k(d,{class:"project-swiper",style:{overflow:"hidden scroll"},effect:"flip",modules:["SwiperEffectFlip"in l?l.SwiperEffectFlip:p(qt)],"slides-per-view":1,nested:!0,"allow-touch-move":!0,onSwiper:c},{default:H(()=>[(m(!0),b(ie,null,se(p(n),(x,C)=>(m(),B(u,{key:C},{default:H(()=>[k(qe,{mode:"out-in"},{default:H(()=>[(m(),b("div",{key:p(s),class:"project-slide-content"},[k(f,{path:x._path},null,8,["path"])]))]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modules"])])):q("",!0),p(n)&&((w=p(n))==null?void 0:w.length)>0?(m(),B(g,{key:1,"active-project":p(r),projects:p(n),onSelect:a},null,8,["active-project","projects"])):q("",!0)])}}});const Eo=j(Io,[["__scopeId","data-v-a31d9570"]]),Do={class:"swiper-container"},Ao=A({__name:"sections-container",setup(i){const e=[{name:"intro",component:Vn},{name:"about",component:co},{name:"projects",component:Eo}],t=W(!0);return setTimeout(()=>t.value=!0,1e3),(s,n)=>{const o=pt,r=mt;return m(),b("div",Do,[p(t)?(m(),B(r,{key:0,class:"swiper",modules:["SwiperMousewheel"in s?s.SwiperMousewheel:p(Gt),"SwiperVirtual"in s?s.SwiperVirtual:p(Nt),"SwiperKeyboard"in s?s.SwiperKeyboard:p(Yt)],"slides-per-view":1,"grab-cursor":!0,keyboard:{enabled:!0,pageUpDown:!1},virtual:{enabled:!0,addSlidesAfter:-1,addSlidesBefore:-1,cache:!0}},{default:H(()=>[(m(),b(ie,null,se(e,(a,c)=>k(o,{key:c,"virtual-index":c},{default:H(()=>[(m(),B(Xt(a.component),{class:"slide-content"}))]),_:2},1032,["virtual-index"])),64))]),_:1},8,["modules"])):q("",!0)])}}});const Lo=j(Ao,[["__scopeId","data-v-8524a0d8"]]);const Fo={},$o={class:"main"};function Bo(i,e){const t=Tn,s=Dn,n=Lo;return m(),b("div",null,[v("div",$o,[k(t),k(s),k(n)])])}const jo=j(Fo,[["render",Bo]]),ar=Object.freeze(Object.defineProperty({__proto__:null,default:jo},Symbol.toStringTag,{value:"Module"}));export{xi as $,ue as A,Go as B,Se as C,ne as D,No as E,Ke as F,er as G,Jo as H,tr as I,Pe as J,Qo as K,Zo as L,xe as M,Qe as N,V as O,_i as P,wi as Q,re as R,Ko as S,or as T,nr as U,me as V,sr as W,he as X,Z as Y,Me as Z,rr as _,I as a,Xo as a0,Dt as a1,ar as a2,ci as b,Yo as c,S as d,_ as e,X as f,ze as g,ve as h,$ as i,Xe as j,ce as k,U as l,D as m,Ne as n,T as o,Q as p,Rt as q,N as r,z as s,L as t,Ve as u,ir as v,pi as w,Ye as x,st as y,le as z}; diff --git a/_nuxt/index.e590972e.js b/_nuxt/index.e590972e.js new file mode 100644 index 0000000..b5e99ad --- /dev/null +++ b/_nuxt/index.e590972e.js @@ -0,0 +1 @@ +import{z as Ie,B as X,C as M,f as T,D as z,E as pe,a as F,F as j,n as x,G as be,H as V,R as A,I as Pe,J as Te,K as se,L as oe,m as Se,l as S,O as _,g as P,M as U,N as Ee,k as G,u as ge,P as _e,Q as ye,S as we,T as L,y as ee,h as H,U as me,W as te,s as E,e as k,x as qe,X as ve,Y as W,V as ae,d as B,t as ie,Z as ce,r as ne,_ as Be,$ as Le,a0 as ze,a1 as Fe}from"./index.c1a03e99.js";class O{constructor(e){this.container=e,this.type="external"}}class re{constructor(e){this.container=e,this.type="particles"}}class J{static init(e){var o;const t=new J,i=e.selector;if(!i)throw new Error("No selector provided");const s=document.querySelector(i);if(!s)throw new Error("No element found for selector");return Ie.set(i.replace(".","").replace("!",""),s,{fullScreen:{enable:!1},particles:{color:{value:e.color??"!000000"},links:{color:"random",distance:e.minDistance??120,enable:e.connectParticles??!1},move:{enable:!0,speed:e.speed??.5},number:{value:e.maxParticles??100},size:{value:{min:1,max:e.sizeVariations??3}}},responsive:(o=e.responsive)==null?void 0:o.map(a=>{var r,c,l,d,u;return{maxWidth:a.breakpoint,options:{particles:{color:{value:(r=a.options)==null?void 0:r.color},links:{distance:(c=a.options)==null?void 0:c.minDistance,enable:(l=a.options)==null?void 0:l.connectParticles},number:{value:e.maxParticles},move:{enable:!0,speed:(d=a.options)==null?void 0:d.speed},size:{value:(u=a.options)==null?void 0:u.sizeVariations}}}}})}).then(a=>{t._container=a}),t}destroy(){const e=this._container;e&&e.destroy()}pauseAnimation(){const e=this._container;e&&e.pause()}resumeAnimation(){const e=this._container;e&&e.play()}}const Ae=n=>{const e=(i,s)=>n.load(i,s);e.load=(i,s,o)=>{n.loadJSON(i,s).then(a=>{a&&o(a)}).catch(()=>{o(void 0)})},e.setOnClickHandler=i=>{n.setOnClickHandler(i)};const t=n.dom();return{particlesJS:e,pJSDom:t}},He=n=>{const{particlesJS:e,pJSDom:t}=Ae(n);return window.particlesJS=e,window.pJSDom=t,window.Particles=J,{particlesJS:e,pJSDom:t,Particles:J}};async function We(){X("ease-in-quad",n=>n**2),X("ease-out-quad",n=>1-(1-n)**2),X("ease-in-out-quad",n=>n<.5?2*n**2:1-(-2*n+2)**2/2)}class je{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}let Ue=class extends O{constructor(e,t){super(t),this._clickAttract=()=>{const i=this.container;i.attract||(i.attract={particles:[]});const{attract:s}=i;if(s.finish||(s.count||(s.count=0),s.count++,s.count===i.particles.count&&(s.finish=!0)),s.clicking){const o=i.interactivity.mouse.clickPosition,a=i.retina.attractModeDistance;if(!a||a<0||!o)return;this._processAttract(o,a,new M(o.x,o.y,a))}else s.clicking===!1&&(s.particles=[])},this._hoverAttract=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.attractModeDistance;!o||o<0||!s||this._processAttract(s,o,new M(s.x,s.y,o))},this._processAttract=(i,s,o)=>{const a=this.container,r=a.actualOptions.interactivity.modes.attract;if(!r)return;const c=a.particles.quadTree.query(o,l=>this.isEnabled(l));for(const l of c){const{dx:d,dy:u,distance:f}=T(l.position,i),h=r.speed*r.factor,y=z(pe(r.easing)(1-f/s)*h,0,r.maxSpeed),b=F.create(f===0?h:d/f*y,f===0?h:u/f*y);l.position.subFrom(b)}},this._engine=e,t.attract||(t.attract={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.attract;if(!(!o||i!=="attract")){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const a of t.attract.particles)this.isEnabled(a)&&a.velocity.setTo(a.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},o.duration*1e3)}}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.attract;t&&(e.retina.attractModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover.enable,a=s.onHover.mode,r=s.onClick.enable,c=s.onClick.mode;i&&o&&x("attract",a)?this._hoverAttract():r&&x("attract",c)&&this._clickAttract()}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events;if((!s.position||!o.onHover.enable)&&(!s.clickPosition||!o.onClick.enable))return!1;const a=o.onHover.mode,r=o.onClick.mode;return x("attract",a)||x("attract",r)}loadModeOptions(e,...t){e.attract||(e.attract=new je);for(const i of t)e.attract.load(i==null?void 0:i.attract)}reset(){}};async function $e(n,e=!0){await n.addInteractor("externalAttract",t=>new Ue(n,t),e)}class Ge{constructor(){this.distance=200}load(e){e&&e.distance!==void 0&&(this.distance=e.distance)}}class Je extends O{constructor(e){super(e),this._processBounce=(t,i,s)=>{const o=this.container.particles.quadTree.query(s,a=>this.isEnabled(a));for(const a of o)s instanceof M?be(V(a),{position:t,radius:i,mass:i**2*Math.PI/2,velocity:F.origin,factor:F.origin}):s instanceof A&&Pe(a,Te(t,i))},this._processMouseBounce=()=>{const t=this.container,i=t.retina.pixelRatio,s=10*i,o=t.interactivity.mouse.position,a=t.retina.bounceModeDistance;!a||a<0||!o||this._processBounce(o,a,new M(o.x,o.y,a+s))},this._singleSelectorBounce=(t,i)=>{const s=this.container,o=document.querySelectorAll(t);o.length&&o.forEach(a=>{const r=a,c=s.retina.pixelRatio,l={x:(r.offsetLeft+r.offsetWidth/2)*c,y:(r.offsetTop+r.offsetHeight/2)*c},d=r.offsetWidth/2*c,u=10*c,f=i.type==="circle"?new M(l.x,l.y,d+u):new A(r.offsetLeft*c-u,r.offsetTop*c-u,r.offsetWidth*c+u*2,r.offsetHeight*c+u*2);this._processBounce(l,d,f)})}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bounce;t&&(e.retina.bounceModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=t.interactivity.events,s=e.interactivity.status===j,o=i.onHover.enable,a=i.onHover.mode,r=i.onDiv;s&&o&&x("bounce",a)?this._processMouseBounce():se("bounce",r,(c,l)=>this._singleSelectorBounce(c,l))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv;return s.position&&o.onHover.enable&&x("bounce",o.onHover.mode)||oe("bounce",a)}loadModeOptions(e,...t){e.bounce||(e.bounce=new Ge);for(const i of t)e.bounce.load(i==null?void 0:i.bounce)}reset(){}}async function Ne(n,e=!0){await n.addInteractor("externalBounce",t=>new Je(t),e)}class xe{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const t=Se(this.color)?void 0:this.color;this.color=S(e.color,i=>_.create(t,i))}e.size!==void 0&&(this.size=e.size)}}}class Qe extends xe{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class Ke extends xe{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new Qe;return i.load(t),i}))}}function le(n,e,t,i){if(e>=t){const s=n+(e-t)*i;return z(s,n,e)}else if(e{var l;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.clickPosition,o=i.interactivity.modes.bubble;if(!o||!s)return;t.bubble||(t.bubble={});const a=t.retina.bubbleModeDistance;if(!a||a<0)return;const r=t.particles.quadTree.queryCircle(s,a,d=>this.isEnabled(d)),{bubble:c}=t;for(const d of r){if(!c.clicking)continue;d.bubble.inRange=!c.durationEnd;const u=d.getPosition(),f=P(u,s),h=(new Date().getTime()-(t.interactivity.mouse.clickTime||0))/1e3;h>o.duration&&(c.durationEnd=!0),h>o.duration*2&&(c.clicking=!1,c.durationEnd=!1);const y={bubbleObj:{optValue:t.retina.bubbleModeSize,value:d.bubble.radius},particlesObj:{optValue:U(d.options.size.value)*t.retina.pixelRatio,value:d.size.value},type:"size"};this._process(d,f,h,y);const b={bubbleObj:{optValue:o.opacity,value:d.bubble.opacity},particlesObj:{optValue:U(d.options.opacity.value),value:((l=d.opacity)==null?void 0:l.value)??1},type:"opacity"};this._process(d,f,h,b),!c.durationEnd&&f<=a?this._hoverBubbleColor(d,f):delete d.bubble.color}},this._hoverBubble=()=>{const t=this.container,i=t.interactivity.mouse.position,s=t.retina.bubbleModeDistance;if(!s||s<0||i===void 0)return;const o=t.particles.quadTree.queryCircle(i,s,a=>this.isEnabled(a));for(const a of o){a.bubble.inRange=!0;const r=a.getPosition(),c=P(r,i),l=1-c/s;c<=s?l>=0&&t.interactivity.status===j&&(this._hoverBubbleSize(a,l),this._hoverBubbleOpacity(a,l),this._hoverBubbleColor(a,l)):this.reset(a),t.interactivity.status===Ee&&this.reset(a)}},this._hoverBubbleColor=(t,i,s)=>{const o=this.container.actualOptions,a=s??o.interactivity.modes.bubble;if(a){if(!t.bubble.finalColor){const r=a.color;if(!r)return;const c=G(r);t.bubble.finalColor=ge(c)}if(t.bubble.finalColor)if(a.mix){t.bubble.color=void 0;const r=t.getFillColor();t.bubble.color=r?_e(ye(r,t.bubble.finalColor,1-i,i)):t.bubble.finalColor}else t.bubble.color=t.bubble.finalColor}},this._hoverBubbleOpacity=(t,i,s)=>{var u,f;const o=this.container,a=o.actualOptions,r=(s==null?void 0:s.opacity)??((u=a.interactivity.modes.bubble)==null?void 0:u.opacity);if(!r)return;const c=t.options.opacity.value,l=((f=t.opacity)==null?void 0:f.value)??1,d=le(l,r,U(c),i);d!==void 0&&(t.bubble.opacity=d)},this._hoverBubbleSize=(t,i,s)=>{const o=this.container,a=s!=null&&s.size?s.size*o.retina.pixelRatio:o.retina.bubbleModeSize;if(a===void 0)return;const r=U(t.options.size.value)*o.retina.pixelRatio,c=t.size.value,l=le(c,a,r,i);l!==void 0&&(t.bubble.radius=l)},this._process=(t,i,s,o)=>{const a=this.container,r=o.bubbleObj.optValue,c=a.actualOptions,l=c.interactivity.modes.bubble;if(!l||r===void 0)return;const d=l.duration,u=a.retina.bubbleModeDistance,f=o.particlesObj.optValue,h=o.bubbleObj.value,y=o.particlesObj.value||0,b=o.type;if(!(!u||u<0||r===f))if(a.bubble||(a.bubble={}),a.bubble.durationEnd)h&&(b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity);else if(i<=u){if((h??y)!==r){const g=y-s*(y-r)/d;b==="size"&&(t.bubble.radius=g),b==="opacity"&&(t.bubble.opacity=g)}}else b==="size"&&delete t.bubble.radius,b==="opacity"&&delete t.bubble.opacity},this._singleSelectorHover=(t,i,s)=>{const o=this.container,a=document.querySelectorAll(i),r=o.actualOptions.interactivity.modes.bubble;!r||!a.length||a.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=o.particles.quadTree.query(h,b=>this.isEnabled(b));for(const b of y){if(!h.contains(b.getPosition()))continue;b.bubble.inRange=!0;const m=r.divs,g=we(m,l);(!b.bubble.div||b.bubble.div!==l)&&(this.clear(b,t,!0),b.bubble.div=l),this._hoverBubbleSize(b,1,g),this._hoverBubbleOpacity(b,1,g),this._hoverBubbleColor(b,1,g)}})},e.bubble||(e.bubble={}),this.handleClickMode=t=>{t==="bubble"&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,t,i){e.bubble.inRange&&!i||(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.bubble;t&&(e.retina.bubbleModeDistance=t.distance*e.retina.pixelRatio,t.size!==void 0&&(e.retina.bubbleModeSize=t.size*e.retina.pixelRatio))}async interact(e){const t=this.container.actualOptions,i=t.interactivity.events,s=i.onHover,o=i.onClick,a=s.enable,r=s.mode,c=o.enable,l=o.mode,d=i.onDiv;a&&x("bubble",r)?this._hoverBubble():c&&x("bubble",l)?this._clickBubble():se("bubble",d,(u,f)=>this._singleSelectorHover(e,u,f))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,{onClick:a,onDiv:r,onHover:c}=o,l=oe("bubble",r);return l||c.enable&&s.position||a.enable&&s.clickPosition?x("bubble",c.mode)||x("bubble",a.mode)||l:!1}loadModeOptions(e,...t){e.bubble||(e.bubble=new Ke);for(const i of t)e.bubble.load(i==null?void 0:i.bubble)}reset(e){e.bubble.inRange=!1}}async function Ye(n,e=!0){await n.addInteractor("externalBubble",t=>new Xe(t),e)}class Ze{constructor(){this.opacity=.5}load(e){e&&e.opacity!==void 0&&(this.opacity=e.opacity)}}class Ve{constructor(){this.distance=80,this.links=new Ze,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked),e.radius!==void 0&&(this.radius=e.radius))}}function et(n,e,t,i){const s=Math.floor(t.getRadius()/e.getRadius()),o=e.getFillColor(),a=t.getFillColor();if(!o||!a)return;const r=e.getPosition(),c=t.getPosition(),l=ye(o,a,e.getRadius(),t.getRadius()),d=n.createLinearGradient(r.x,r.y,c.x,c.y);return d.addColorStop(0,ee(o,i)),d.addColorStop(s>1?1:s,H(l,i)),d.addColorStop(1,ee(a,i)),d}function tt(n,e,t,i,s){L(n,i,s),n.lineWidth=e,n.strokeStyle=t,n.stroke()}function it(n,e,t,i){const s=n.actualOptions,o=s.interactivity.modes.connect;if(o)return et(e,t,i,o.links.opacity)}function nt(n,e,t){n.canvas.draw(i=>{const s=it(n,i,e,t);if(!s)return;const o=e.getPosition(),a=t.getPosition();tt(i,e.retina.linksWidth??0,s,o,a)})}class st extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.connect;t&&(e.retina.connectModeDistance=t.distance*e.retina.pixelRatio,e.retina.connectModeRadius=t.radius*e.retina.pixelRatio)}async interact(){const e=this.container;if(e.actualOptions.interactivity.events.onHover.enable&&e.interactivity.status==="pointermove"){const i=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const s=Math.abs(e.retina.connectModeRadius),o=e.particles.quadTree.queryCircle(i,s,r=>this.isEnabled(r));let a=0;for(const r of o){const c=r.getPosition();for(const l of o.slice(a+1)){const d=l.getPosition(),u=Math.abs(e.retina.connectModeDistance),f=Math.abs(c.x-d.x),h=Math.abs(c.y-d.y);fnew st(t),e)}class at{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(e.blink!==void 0&&(this.blink=e.blink),e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.consent!==void 0&&(this.consent=e.consent),e.opacity!==void 0&&(this.opacity=e.opacity))}}class rt{constructor(){this.distance=100,this.links=new at}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),this.links.load(e.links??e.lineLinked??e.line_linked))}}function ct(n,e,t,i,s,o){L(n,t,i),n.strokeStyle=H(s,o),n.lineWidth=e,n.stroke()}function lt(n,e,t,i,s){n.canvas.draw(o=>{const a=e.getPosition();ct(o,e.retina.linksWidth??0,a,s,t,i)})}class ut extends O{constructor(e){super(e)}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.grab;t&&(e.retina.grabModeDistance=t.distance*e.retina.pixelRatio)}async interact(){var r;const e=this.container,t=e.actualOptions,i=t.interactivity;if(!i.modes.grab||!i.events.onHover.enable||e.interactivity.status!==j)return;const s=e.interactivity.mouse.position;if(!s)return;const o=e.retina.grabModeDistance;if(!o||o<0)return;const a=e.particles.quadTree.queryCircle(s,o,c=>this.isEnabled(c));for(const c of a){const l=c.getPosition(),d=P(l,s);if(d>o)continue;const u=i.modes.grab.links,f=u.opacity,h=f-d*f/o;if(h<=0)continue;const y=u.color??((r=c.options.links)==null?void 0:r.color);if(!e.particles.grabLineColor&&y){const m=i.modes.grab.links;e.particles.grabLineColor=me(y,m.blink,m.consent)}const b=te(c,void 0,e.particles.grabLineColor);b&<(e,c,b,h,s)}}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("grab",s.onHover.mode)}loadModeOptions(e,...t){e.grab||(e.grab=new rt);for(const i of t)e.grab.load(i==null?void 0:i.grab)}reset(){}}async function dt(n,e=!0){await n.addInteractor("externalGrab",t=>new ut(t),e)}class ft extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="pause")return;const i=this.container;i.getAnimationStatus()?i.pause():i.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}async function ht(n,e=!0){await n.addInteractor("externalPause",t=>new ft(t),e)}class pt{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;e.default!==void 0&&(this.default=e.default),e.groups!==void 0&&(this.groups=e.groups.map(i=>i)),this.groups.length||(this.default=!0);const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class bt extends O{constructor(e){super(e),this.handleClickMode=t=>{if(t!=="push")return;const i=this.container,s=i.actualOptions,o=s.interactivity.modes.push;if(!o)return;const a=k(o.quantity);if(a<=0)return;const r=qe([void 0,...o.groups]),c=r!==void 0?i.actualOptions.particles.groups[r]:void 0;i.particles.push(a,i.interactivity.mouse,c,r)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.push||(e.push=new pt);for(const i of t)e.push.load(i==null?void 0:i.push)}reset(){}}async function gt(n,e=!0){await n.addInteractor("externalPush",t=>new bt(t),e)}class yt{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=E(e)}load(e){if(!e)return;const t=e.quantity??e.particles_nb;t!==void 0&&(this.quantity=E(t))}}class wt extends O{constructor(e){super(e),this.handleClickMode=t=>{const i=this.container,s=i.actualOptions;if(!s.interactivity.modes.remove||t!=="remove")return;const o=k(s.interactivity.modes.remove.quantity);i.particles.removeQuantity(o)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){e.remove||(e.remove=new yt);for(const i of t)e.remove.load(i==null?void 0:i.remove)}reset(){}}async function mt(n,e=!0){await n.addInteractor("externalRemove",t=>new wt(t),e)}class ke{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class vt extends ke{constructor(){super(),this.selectors=[]}get ids(){return S(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=S(e,t=>`#${t}`)}load(e){super.load(e),e&&(e.ids!==void 0&&(this.ids=e.ids),e.selectors!==void 0&&(this.selectors=e.selectors))}}class xt extends ke{load(e){super.load(e),e&&(this.divs=S(e.divs,t=>{const i=new vt;return i.load(t),i}))}}class kt extends O{constructor(e,t){super(t),this._clickRepulse=()=>{const i=this.container,s=i.actualOptions.interactivity.modes.repulse;if(!s)return;const o=i.repulse||{particles:[]};if(o.finish||(o.count||(o.count=0),o.count++,o.count===i.particles.count&&(o.finish=!0)),o.clicking){const a=i.retina.repulseModeDistance;if(!a||a<0)return;const r=Math.pow(a/6,3),c=i.interactivity.mouse.clickPosition;if(c===void 0)return;const l=new M(c.x,c.y,r),d=i.particles.quadTree.query(l,u=>this.isEnabled(u));for(const u of d){const{dx:f,dy:h,distance:y}=T(c,u.position),b=y**2,m=s.speed,g=-r*m/b;if(b<=r){o.particles.push(u);const w=F.create(f,h);w.length=g,u.velocity.setTo(w)}}}else if(o.clicking===!1){for(const a of o.particles)a.velocity.setTo(a.initialVelocity);o.particles=[]}},this._hoverRepulse=()=>{const i=this.container,s=i.interactivity.mouse.position,o=i.retina.repulseModeDistance;!o||o<0||!s||this._processRepulse(s,o,new M(s.x,s.y,o))},this._processRepulse=(i,s,o,a)=>{const r=this.container,c=r.particles.quadTree.query(o,d=>this.isEnabled(d)),l=r.actualOptions.interactivity.modes.repulse;if(l)for(const d of c){const{dx:u,dy:f,distance:h}=T(d.position,i),y=((a==null?void 0:a.speed)??l.speed)*l.factor,b=z(pe(l.easing)(1-h/s)*y,0,l.maxSpeed),m=F.create(h===0?y:u/h*b,h===0?y:f/h*b);d.position.addTo(m)}},this._singleSelectorRepulse=(i,s)=>{const o=this.container,a=o.actualOptions.interactivity.modes.repulse;if(!a)return;const r=document.querySelectorAll(i);r.length&&r.forEach(c=>{const l=c,d=o.retina.pixelRatio,u={x:(l.offsetLeft+l.offsetWidth/2)*d,y:(l.offsetTop+l.offsetHeight/2)*d},f=l.offsetWidth/2*d,h=s.type==="circle"?new M(u.x,u.y,f):new A(l.offsetLeft*d,l.offsetTop*d,l.offsetWidth*d,l.offsetHeight*d),y=a.divs,b=we(y,l);this._processRepulse(u,f,h,b)})},this._engine=e,t.repulse||(t.repulse={particles:[]}),this.handleClickMode=i=>{const s=this.container.actualOptions,o=s.interactivity.modes.repulse;if(!o||i!=="repulse")return;t.repulse||(t.repulse={particles:[]});const a=t.repulse;a.clicking=!0,a.count=0;for(const r of t.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);a.particles=[],a.finish=!1,setTimeout(()=>{t.destroyed||(a.clicking=!1)},o.duration*1e3)}}clear(){}init(){const e=this.container,t=e.actualOptions.interactivity.modes.repulse;t&&(e.retina.repulseModeDistance=t.distance*e.retina.pixelRatio)}async interact(){const e=this.container,t=e.actualOptions,i=e.interactivity.status===j,s=t.interactivity.events,o=s.onHover,a=o.enable,r=o.mode,c=s.onClick,l=c.enable,d=c.mode,u=s.onDiv;i&&a&&x("repulse",r)?this._hoverRepulse():l&&x("repulse",d)?this._clickRepulse():se("repulse",u,(f,h)=>this._singleSelectorRepulse(f,h))}isEnabled(e){const t=this.container,i=t.actualOptions,s=t.interactivity.mouse,o=((e==null?void 0:e.interactivity)??i.interactivity).events,a=o.onDiv,r=o.onHover,c=o.onClick,l=oe("repulse",a);if(!(l||r.enable&&s.position||c.enable&&s.clickPosition))return!1;const d=r.mode,u=c.mode;return x("repulse",d)||x("repulse",u)||l}loadModeOptions(e,...t){e.repulse||(e.repulse=new xt);for(const i of t)e.repulse.load(i==null?void 0:i.repulse)}reset(){}}async function Ct(n,e=!0){await n.addInteractor("externalRepulse",t=>new kt(n,t),e)}class Dt{constructor(){this.factor=3,this.radius=200}load(e){e&&(e.factor!==void 0&&(this.factor=e.factor),e.radius!==void 0&&(this.radius=e.radius))}}class Mt extends O{constructor(e){super(e)}clear(e,t,i){e.slow.inRange&&!i||(e.slow.factor=1)}init(){const e=this.container,t=e.actualOptions.interactivity.modes.slow;t&&(e.retina.slowModeRadius=t.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){const t=this.container,i=t.interactivity.mouse,s=((e==null?void 0:e.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&x("slow",s.onHover.mode)}loadModeOptions(e,...t){e.slow||(e.slow=new Dt);for(const i of t)e.slow.load(i==null?void 0:i.slow)}reset(e){e.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,o=t.retina.slowModeRadius,a=i.interactivity.modes.slow;if(!a||!o||o<0||!s)return;const r=e.getPosition(),c=P(s,r),l=c/o,d=a.factor,{slow:u}=e;c>o||(u.inRange=!0,u.factor=l/d)}}async function Rt(n,e=!0){await n.addInteractor("externalSlow",t=>new Mt(t),e)}const Y=[0,4,2,1],ue=[8,8,4,2];class Ot{constructor(e){this.pos=0,this.data=new Uint8ClampedArray(e)}getString(e){const t=this.data.slice(this.pos,this.pos+e);return this.pos+=t.length,t.reduce((i,s)=>i+String.fromCharCode(s),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let e="",t=0;do{t=this.data[this.pos++];for(let i=t;--i>=0;e+=String.fromCharCode(this.data[this.pos++]));}while(t!==0);return e}readSubBlocksBin(){let e=0,t=0;for(let s=0;(e=this.data[this.pos+s])!==0;s+=e+1)t+=e;const i=new Uint8Array(t);for(let s=0;(e=this.data[this.pos++])!==0;)for(let o=e;--o>=0;i[s++]=this.data[this.pos++]);return i}skipSubBlocks(){for(;this.data[this.pos]!==0;this.pos+=this.data[this.pos]+1);this.pos++}}function Ce(n,e){const t=[];for(let i=0;i>>5,s.disposalMethod=(o&28)>>>2,s.userInputDelayFlag=(o&2)===2;const a=(o&1)===1;s.delayTime=n.nextTwoBytes()*10;const r=n.nextByte();a&&i(r),n.pos++;break}case 255:{n.pos++;const s={identifier:n.getString(8),authenticationCode:n.getString(3),data:n.readSubBlocksBin()};e.applicationExtensions.push(s);break}case 254:{e.comments.push([t(!1),n.readSubBlocks()]);break}case 1:{if(e.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");n.pos++,e.frames[t(!1)].plainTextData={left:n.nextTwoBytes(),top:n.nextTwoBytes(),width:n.nextTwoBytes(),height:n.nextTwoBytes(),charSize:{width:n.nextTwoBytes(),height:n.nextTwoBytes()},foregroundColor:n.nextByte(),backgroundColor:n.nextByte(),text:n.readSubBlocks()};break}default:n.skipSubBlocks();break}}async function Pt(n,e,t,i,s,o){const a=e.frames[i(!0)];a.left=n.nextTwoBytes(),a.top=n.nextTwoBytes(),a.width=n.nextTwoBytes(),a.height=n.nextTwoBytes();const r=n.nextByte(),c=(r&128)===128,l=(r&64)===64;a.sortFlag=(r&32)===32,a.reserved=(r&24)>>>3;const d=1<<(r&7)+1;c&&(a.localColorTable=Ce(n,d));const u=g=>{const{r:w,g:v,b:p}=(c?a.localColorTable:e.globalColorTable)[g];return{r:w,g:v,b:p,a:g===s(null)?t?~~((w+v+p)/3):0:255}},f=(()=>{try{return new ImageData(a.width,a.height,{colorSpace:"srgb"})}catch(g){if(g instanceof DOMException&&g.name==="IndexSizeError")return null;throw g}})();if(f==null)throw new EvalError("GIF frame size is to large");const h=n.nextByte(),y=n.readSubBlocksBin(),b=1<{const v=g>>>3,p=g&7;return(y[v]+(y[v+1]<<8)+(y[v+2]<<16)&(1<>>p};if(l){for(let g=0,w=h+1,v=0,p=[[0]],D=0;D<4;D++){if(Y[D]=p.length?p.push(p[q].concat(p[q][0])):q!==b&&p.push(p[q].concat(p[g][0]));for(let R=0;R=a.height))break}o==null||o(n.pos/(n.data.length-1),i(!1)+1,f,{x:a.left,y:a.top},{width:e.width,height:e.height})}a.image=f,a.bitmap=await createImageBitmap(f)}else{for(let g=0,w=h+1,v=0,p=[[0]],D=-4;;){const I=g;if(g=m(v,w),v+=w,g===b){w=h+1,p.length=b+2;for(let C=0;C=p.length?p.push(p[I].concat(p[I][0])):I!==b&&p.push(p[I].concat(p[g][0]));for(let C=0;C=1<>>4,o.sortFlag=(r&8)===8;const l=1<<(r&7)+1,d=a.nextByte();o.pixelAspectRatio=a.nextByte(),o.pixelAspectRatio!==0&&(o.pixelAspectRatio=(o.pixelAspectRatio+15)/64),c&&(o.globalColorTable=Ce(a,l));const u=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(p){if(p instanceof DOMException&&p.name==="IndexSizeError")return null;throw p}})();if(u==null)throw new Error("GIF frame size is to large");const{r:f,g:h,b:y}=o.globalColorTable[d];u.data.set(c?[f,h,y,255]:[0,0,0,0]);for(let p=4;p(p&&(m=!0),b),v=p=>(p!=null&&(g=p),g);try{do m&&(o.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),b++,g=-1,m=!1);while(!await Tt(a,o,t,w,v,e));o.frames.length--;for(const p of o.frames){if(p.userInputDelayFlag&&p.delayTime===0){o.totalTime=1/0;break}o.totalTime+=p.delayTime}return o}catch(p){throw p instanceof EvalError?new Error(`error while parsing frame ${b} "${p.message}"`):p}}const _t=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function qt(n,e,t){const{svgData:i}=n;if(!i)return"";const s=ee(e,t);if(i.includes("fill"))return i.replace(_t,()=>s);const o=i.indexOf(">");return`${i.substring(0,o)} fill="${s}"${i.substring(o)}`}async function N(n){return new Promise(e=>{n.loading=!0;const t=new Image;n.element=t,t.addEventListener("load",()=>{n.loading=!1,e()}),t.addEventListener("error",()=>{n.element=void 0,n.error=!0,n.loading=!1,ve().error(`${W} loading image: ${n.source}`),e()}),t.src=n.source})}async function Bt(n){if(n.type!=="gif"){await N(n);return}n.loading=!0;try{n.gifData=await Et(n.source),n.gifLoopCount=St(n.gifData)??0,n.gifLoopCount===0&&(n.gifLoopCount=1/0)}catch{n.error=!0}n.loading=!1}async function Lt(n){if(n.type!=="svg"){await N(n);return}n.loading=!0;const e=await fetch(n.source);e.ok?n.svgData=await e.text():(ve().error(`${W} Image not found`),n.error=!0),n.loading=!1}function zt(n,e,t,i){var a;const s=qt(n,t,((a=i.opacity)==null?void 0:a.value)??1),o={color:t,gif:e.gif,data:{...n,svgData:s},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor??e.replace_color,source:e.src};return new Promise(r=>{const c=new Blob([s],{type:"image/svg+xml"}),l=URL||window.URL||window.webkitURL||window,d=l.createObjectURL(c),u=new Image;u.addEventListener("load",()=>{o.loaded=!0,o.element=u,r(o),l.revokeObjectURL(d)}),u.addEventListener("error",async()=>{l.revokeObjectURL(d);const f={...n,error:!1,loading:!0};await N(f),o.loaded=!0,o.element=f.element,r(o)}),u.src=d})}class Ft{constructor(e){this.loadImageShape=async t=>{if(!this._engine.loadImage)throw new Error(`${W} image shape not initialized`);await this._engine.loadImage({gif:t.gif,name:t.name,replaceColor:t.replaceColor??t.replace_color??!1,src:t.src})},this._engine=e}addImage(e){this._engine.images||(this._engine.images=[]),this._engine.images.push(e)}draw(e,t,i,s,o){const a=t.image,r=a==null?void 0:a.element;if(a){if(e.globalAlpha=s,a.gif&&a.gifData){const c=new OffscreenCanvas(a.gifData.width,a.gifData.height),l=c.getContext("2d");if(!l)throw new Error("could not create offscreen canvas context");l.imageSmoothingQuality="low",l.imageSmoothingEnabled=!1,l.clearRect(0,0,c.width,c.height),t.gifLoopCount===void 0&&(t.gifLoopCount=a.gifLoopCount??0);let d=t.gifFrame??0;const u={x:-a.gifData.width*.5,y:-a.gifData.height*.5},f=a.gifData.frames[d];if(t.gifTime===void 0&&(t.gifTime=0),!f.bitmap)return;switch(e.scale(i/a.gifData.width,i/a.gifData.height),f.disposalMethod){case 4:case 5:case 6:case 7:case 0:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height);break;case 1:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y);break;case 2:l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),a.gifData.globalColorTable.length===0?l.putImageData(a.gifData.frames[0].image,u.x+f.left,u.y+f.top):l.putImageData(a.gifData.backgroundImage,u.x,u.y);break;case 3:{const h=l.getImageData(0,0,c.width,c.height);l.drawImage(f.bitmap,f.left,f.top),e.drawImage(c,u.x,u.y),l.clearRect(0,0,c.width,c.height),l.putImageData(h,0,0)}break}if(t.gifTime+=o.value,t.gifTime>f.delayTime){if(t.gifTime-=f.delayTime,++d>=a.gifData.frames.length){if(--t.gifLoopCount<=0)return;d=0,l.clearRect(0,0,c.width,c.height)}t.gifFrame=d}e.scale(a.gifData.width/i,a.gifData.height/i)}else if(r){const c=a.ratio,l={x:-i,y:-i};e.drawImage(r,l.x,l.y,i*2,i*2/c)}e.globalAlpha=1}}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if(!(!t.preload||!this._engine.loadImage))for(const i of t.preload)await this._engine.loadImage(i)}loadShape(e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=e.shapeData;this._engine.images.find(s=>s.name===t.name||s.source===t.src)||this.loadImageShape(t).then(()=>{this.loadShape(e)})}particleInit(e,t){if(t.shape!=="image"&&t.shape!=="images")return;this._engine.images||(this._engine.images=[]);const i=this._engine.images,s=t.shapeData,o=t.getFillColor(),a=i.find(c=>c.name===s.name||c.source===s.src);if(!a)return;const r=s.replaceColor??s.replace_color??a.replaceColor;if(a.loading){setTimeout(()=>{this.particleInit(e,t)});return}(async()=>{let c;a.svgData&&o?c=await zt(a,s,o,t):c={color:o,data:a,element:a.element,gif:a.gif,gifData:a.gifData,gifLoopCount:a.gifLoopCount,loaded:!0,ratio:s.width&&s.height?s.width/s.height:a.ratio??1,replaceColor:r,source:s.src},c.ratio||(c.ratio=1);const l=s.fill??t.fill,d=s.close??t.close,u={image:c,fill:l,close:d};t.image=u.image,t.fill=u.fill,t.close=u.close})()}}class At{constructor(){this.src="",this.gif=!1}load(e){e&&(e.gif!==void 0&&(this.gif=e.gif),e.height!==void 0&&(this.height=e.height),e.name!==void 0&&(this.name=e.name),e.replaceColor!==void 0&&(this.replaceColor=e.replaceColor),e.src!==void 0&&(this.src=e.src),e.width!==void 0&&(this.width=e.width))}}class Ht{constructor(e){this.id="imagePreloader",this._engine=e}getPlugin(){return{}}loadOptions(e,t){if(!t||!t.preload)return;e.preload||(e.preload=[]);const i=e.preload;for(const s of t.preload){const o=i.find(a=>a.name===s.name||a.src===s.src);if(o)o.load(s);else{const a=new At;a.load(s),i.push(a)}}}needsPlugin(){return!0}}function Wt(n){n.loadImage||(n.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${W} no image source provided`);if(n.images||(n.images=[]),!n.images.find(t=>t.name===e.name||t.source===e.src))try{const t={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-3),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};n.images.push(t),await(e.gif?Bt:e.replaceColor?Lt:N)(t)}catch{throw new Error(`${W} ${e.name??e.src} not found`)}})}async function jt(n,e=!0){Wt(n);const t=new Ht(n);await n.addPlugin(t,e),await n.addShape(["image","images"],new Ft(n),e)}class Ut extends ae{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class $t extends ae{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class Gt{constructor(){this.count=0,this.delay=new Ut,this.duration=new $t}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class Jt{constructor(e){this.container=e}init(e){const t=this.container,i=e.options,s=i.life;s&&(e.life={delay:t.retina.reduceFactor?k(s.delay.value)*(s.delay.sync?1:B())/t.retina.reduceFactor*1e3:0,delayTime:0,duration:t.retina.reduceFactor?k(s.duration.value)*(s.duration.sync?1:B())/t.retina.reduceFactor*1e3:0,time:0,count:s.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...t){e.life||(e.life=new Gt);for(const i of t)e.life.load(i==null?void 0:i.life)}update(e,t){if(!this.isEnabled(e)||!e.life)return;const i=e.life;let s=!1;if(e.spawning)if(i.delayTime+=t.value,i.delayTime>=e.life.delay)s=!0,e.spawning=!1,i.delayTime=0,i.time=0;else return;if(i.duration===-1||e.spawning||(s?i.time=0:i.time+=t.value,i.time0&&e.life.count--,e.life.count===0){e.destroy();return}const o=this.container.canvas.size,a=E(0,o.width),r=E(0,o.width);e.position.x=ie(a),e.position.y=ie(r),e.spawning=!0,i.delayTime=0,i.time=0,e.reset();const c=e.options.life;c&&(i.delay=k(c.delay.value)*1e3,i.duration=k(c.duration.value)*1e3)}}async function Nt(n,e=!0){await n.addParticleUpdater("life",t=>new Jt(t),e)}class Qt{draw(e,t,i){const s=t.shapeData;e.moveTo(-i/2,0),e.lineTo(i/2,0),e.lineCap=(s==null?void 0:s.cap)??"butt"}getSidesCount(){return 1}}async function Kt(n,e=!0){await n.addShape("line",new Qt,e)}class Xt{init(){}isEnabled(e){return!ce()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){const t=e.container,i=t.actualOptions,s=i.interactivity.events.onHover.parallax;if(ce()||!s.enable)return;const o=s.force,a=t.interactivity.mouse.position;if(!a)return;const r=t.canvas.size,c={x:r.width/2,y:r.height/2},l=s.smooth,d=e.getRadius()/o,u={x:(a.x-c.x)*d,y:(a.y-c.y)*d},{offset:f}=e;f.x+=(u.x-f.x)/l,f.y+=(u.y-f.y)/l}}async function Yt(n,e=!0){await n.addMover("parallax",()=>new Xt,e)}class Zt extends re{constructor(e){super(e)}clear(){}init(){}async interact(e){const t=this.container,i=e.retina.attractDistance??t.retina.attractDistance,s=e.getPosition(),o=t.particles.quadTree.queryCircle(s,i);for(const a of o){if(e===a||!a.options.move.attract.enable||a.destroyed||a.spawning)continue;const r=a.getPosition(),{dx:c,dy:l}=T(s,r),d=e.options.move.attract.rotate,u=c/(d.x*1e3),f=l/(d.y*1e3),h=a.size.value/e.size.value,y=1/h;e.velocity.x-=u*h,e.velocity.y-=f*h,a.velocity.x+=u*y,a.velocity.y+=f*y}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function Vt(n,e=!0){await n.addInteractor("particlesAttract",t=>new Zt(t),e)}function de(n,e,t,i,s,o){const a=z(n.options.collisions.absorb.speed*s.factor/10,0,i);n.size.value+=a/2,t.size.value-=a,i<=o&&(t.size.value=0,t.destroy())}function ei(n,e,t,i){const s=n.getRadius(),o=e.getRadius();s===void 0&&o!==void 0?n.destroy():s!==void 0&&o===void 0?e.destroy():s!==void 0&&o!==void 0&&(s>=o?de(n,s,e,o,t,i):de(e,o,n,s,t,i))}const fe=n=>{n.collisionMaxSpeed===void 0&&(n.collisionMaxSpeed=k(n.options.collisions.maxSpeed)),n.velocity.length>n.collisionMaxSpeed&&(n.velocity.length=n.collisionMaxSpeed)};function De(n,e){be(V(n),V(e)),fe(n),fe(e)}function ti(n,e){!n.unbreakable&&!e.unbreakable&&De(n,e),n.getRadius()===void 0&&e.getRadius()!==void 0?n.destroy():n.getRadius()!==void 0&&e.getRadius()===void 0?e.destroy():n.getRadius()!==void 0&&e.getRadius()!==void 0&&(n.getRadius()>=e.getRadius()?e:n).destroy()}function ii(n,e,t,i){switch(n.options.collisions.mode){case"absorb":{ei(n,e,t,i);break}case"bounce":{De(n,e);break}case"destroy":{ti(n,e);break}}}class ni extends re{constructor(e){super(e)}clear(){}init(){}async interact(e,t){if(e.destroyed||e.spawning)return;const i=this.container,s=e.getPosition(),o=e.getRadius(),a=i.particles.quadTree.queryCircle(s,o*2);for(const r of a){if(e===r||!r.options.collisions.enable||e.options.collisions.mode!==r.options.collisions.mode||r.destroyed||r.spawning)continue;const c=r.getPosition(),l=r.getRadius();if(Math.abs(Math.round(s.z)-Math.round(c.z))>o+l)continue;const d=P(s,c),u=o+l;d>u||ii(e,r,t,i.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function si(n,e=!0){await n.addInteractor("particlesCollisions",t=>new ni(t),e)}class oi extends M{constructor(e,t,i,s){super(e,t,i),this.canvasSize=s,this.canvasSize={...s}}contains(e){const{width:t,height:i}=this.canvasSize,{x:s,y:o}=e;return super.contains(e)||super.contains({x:s-t,y:o})||super.contains({x:s-t,y:o-i})||super.contains({x:s,y:o-i})}intersects(e){if(super.intersects(e))return!0;const t=e,i=e,s={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new M(s.x,s.y,i.radius*2);return super.intersects(o)}else if(t.size!==void 0){const o=new A(s.x,s.y,t.size.width*2,t.size.height*2);return super.intersects(o)}return!1}}class ai{constructor(){this.blur=5,this.color=new _,this.color.value="#000",this.enable=!1}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=_.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable))}}class ri{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(e.color!==void 0&&(this.color=_.create(this.color,e.color)),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity))}}class ci{constructor(){this.blink=!1,this.color=new _,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new ai,this.triangles=new ri,this.width=1,this.warp=!1}load(e){e&&(e.id!==void 0&&(this.id=e.id),e.blink!==void 0&&(this.blink=e.blink),this.color=_.create(this.color,e.color),e.consent!==void 0&&(this.consent=e.consent),e.distance!==void 0&&(this.distance=e.distance),e.enable!==void 0&&(this.enable=e.enable),e.frequency!==void 0&&(this.frequency=e.frequency),e.opacity!==void 0&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),e.width!==void 0&&(this.width=e.width),e.warp!==void 0&&(this.warp=e.warp))}}function li(n,e,t,i,s){const{dx:o,dy:a,distance:r}=T(n,e);if(!s||r<=t)return r;const c={x:Math.abs(o),y:Math.abs(a)},l={x:Math.min(c.x,i.width-c.x),y:Math.min(c.y,i.height-c.y)};return Math.sqrt(l.x**2+l.y**2)}class ui extends re{constructor(e){super(e),this._setColor=t=>{if(!t.options.links)return;const i=this.linkContainer,s=t.options.links;let o=s.id===void 0?i.particles.linksColor:i.particles.linksColors.get(s.id);if(o)return;const a=s.color;o=me(a,s.blink,s.consent),s.id===void 0?i.particles.linksColor=o:i.particles.linksColors.set(s.id,o)},this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}async interact(e){if(!e.options.links)return;e.links=[];const t=e.getPosition(),i=this.container,s=i.canvas.size;if(t.x<0||t.y<0||t.x>s.width||t.y>s.height)return;const o=e.options.links,a=o.opacity,r=e.retina.linksDistance??0,c=o.warp,l=c?new oi(t.x,t.y,r,s):new M(t.x,t.y,r),d=i.particles.quadTree.query(l);for(const u of d){const f=u.options.links;if(e===u||!(f!=null&&f.enable)||o.id!==f.id||u.spawning||u.destroyed||!u.links||e.links.some(m=>m.destination===u)||u.links.some(m=>m.destination===e))continue;const h=u.getPosition();if(h.x<0||h.y<0||h.x>s.width||h.y>s.height)continue;const y=li(t,h,r,s,c&&f.warp);if(y>r)continue;const b=(1-y/r)*a;this._setColor(e),e.links.push({destination:u,opacity:b})}}isEnabled(e){var t;return!!((t=e.options.links)!=null&&t.enable)}loadParticlesOptions(e,...t){e.links||(e.links=new ci);for(const i of t)e.links.load((i==null?void 0:i.links)??(i==null?void 0:i.lineLinked)??(i==null?void 0:i.line_linked))}reset(){}}async function di(n,e=!0){await n.addInteractor("particlesLinks",t=>new ui(t),e)}function fi(n){let e=!1;const{begin:t,end:i,maxDistance:s,context:o,canvasSize:a,width:r,backgroundMask:c,colorLine:l,opacity:d,links:u}=n;if(P(t,i)<=s)L(o,t,i),e=!0;else if(u.warp){let h,y;const b={x:i.x-a.width,y:i.y},m=T(t,b);if(m.distance<=s){const g=t.y-m.dy/m.dx*t.x;h={x:0,y:g},y={x:a.width,y:g}}else{const g={x:i.x,y:i.y-a.height},w=T(t,g);if(w.distance<=s){const p=-(t.y-w.dy/w.dx*t.x)/(w.dy/w.dx);h={x:p,y:0},y={x:p,y:a.height}}else{const v={x:i.x-a.width,y:i.y-a.height},p=T(t,v);if(p.distance<=s){const D=t.y-p.dy/p.dx*t.x;h={x:-D/(p.dy/p.dx),y:D},y={x:h.x+a.width,y:h.y+a.height}}}}h&&y&&(L(o,t,h),L(o,i,y),e=!0)}if(!e)return;o.lineWidth=r,c.enable&&(o.globalCompositeOperation=c.composite),o.strokeStyle=H(l,d);const{shadow:f}=u;if(f.enable){const h=ne(f.color);h&&(o.shadowBlur=f.blur,o.shadowColor=H(h))}o.stroke()}function hi(n){const{context:e,pos1:t,pos2:i,pos3:s,backgroundMask:o,colorTriangle:a,opacityTriangle:r}=n;Be(e,t,i,s),o.enable&&(e.globalCompositeOperation=o.composite),e.fillStyle=H(a,r),e.fill()}function pi(n){return n.sort((e,t)=>e-t),n.join("_")}function he(n,e){const t=pi(n.map(s=>s.id));let i=e.get(t);return i===void 0&&(i=B(),e.set(t,i)),i}class bi{constructor(e){this.container=e,this._drawLinkLine=(t,i)=>{const s=t.options.links;if(!(s!=null&&s.enable))return;const o=this.container,a=o.actualOptions,r=i.destination,c=t.getPosition(),l=r.getPosition();let d=i.opacity;o.canvas.draw(u=>{var g;let f;const h=(g=t.options.twinkle)==null?void 0:g.lines;if(h!=null&&h.enable){const w=h.frequency,v=ne(h.color);B(){const o=t.options.links;if(!(o!=null&&o.enable))return;const a=o.triangles;if(!a.enable)return;const r=this.container,c=r.actualOptions,l=i.destination,d=s.destination,u=a.opacity??(i.opacity+s.opacity)/2;u<=0||r.canvas.draw(f=>{const h=t.getPosition(),y=l.getPosition(),b=d.getPosition(),m=t.retina.linksDistance??0;if(P(h,y)>m||P(b,y)>m||P(b,h)>m)return;let g=ne(a.color);if(!g){const w=o.id!==void 0?r.particles.linksColors.get(o.id):r.particles.linksColor;g=te(t,l,w)}g&&hi({context:f,pos1:h,pos2:y,pos3:b,backgroundMask:c.backgroundMask,colorTriangle:g,opacityTriangle:u})})},this._drawTriangles=(t,i,s,o)=>{var c,l,d;const a=s.destination;if(!((c=t.links)!=null&&c.triangles.enable&&((l=a.options.links)!=null&&l.triangles.enable)))return;const r=(d=a.links)==null?void 0:d.filter(u=>{const f=this._getLinkFrequency(a,u.destination);return a.options.links&&f<=a.options.links.frequency&&o.findIndex(h=>h.destination===u.destination)>=0});if(r!=null&&r.length)for(const u of r){const f=u.destination;this._getTriangleFrequency(i,a,f)>t.links.triangles.frequency||this._drawLinkTriangle(i,s,u)}},this._getLinkFrequency=(t,i)=>he([t,i],this._freqs.links),this._getTriangleFrequency=(t,i,s)=>he([t,i,s],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(e,t){const{links:i,options:s}=t;if(!i||i.length<=0)return;const o=i.filter(a=>s.links&&this._getLinkFrequency(t,a.destination)<=s.links.frequency);for(const a of o)this._drawTriangles(s,t,a,o),a.opacity>0&&(t.retina.linksWidth??0)>0&&this._drawLinkLine(t,a)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map}particleCreated(e){if(e.links=[],!e.options.links)return;const t=this.container.retina.pixelRatio,{retina:i}=e,{distance:s,width:o}=e.options.links;i.linksDistance=s*t,i.linksWidth=o*t}particleDestroyed(e){e.links=[]}}class gi{constructor(){this.id="links"}getPlugin(e){return new bi(e)}loadOptions(){}needsPlugin(){return!0}}async function yi(n,e=!0){const t=new gi;await n.addPlugin(t,e)}async function wi(n,e=!0){await di(n,e),await yi(n,e)}class Me{draw(e,t,i){const s=this.getCenter(t,i),o=this.getSidesData(t,i),a=o.count.numerator*o.count.denominator,r=o.count.numerator/o.count.denominator,c=180*(r-2)/r,l=Math.PI-Math.PI*c/180;if(e){e.beginPath(),e.translate(s.x,s.y),e.moveTo(0,0);for(let d=0;da&&(t.value-=a);break;case"decreasing":default:t.value-=o,t.value<0&&(t.value+=a);break}t.velocity&&r!==1&&(t.velocity*=r)}}class Oi{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:k(t.value)*Math.PI/180},e.pathRotation=t.path;let i=t.direction;switch(i==="random"&&(i=Math.floor(B()*2)>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const s=t.animation;s.enable&&(e.rotate.decay=1-k(s.decay),e.rotate.velocity=k(s.speed)/360*this.container.retina.reduceFactor,s.sync||(e.rotate.velocity*=B())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new Mi);for(const i of t)e.rotate.load(i==null?void 0:i.rotate)}update(e,t){var i;this.isEnabled(e)&&(Ri(e,t),e.rotation=((i=e.rotate)==null?void 0:i.value)??0)}}async function Ii(n,e=!0){await n.addParticleUpdater("rotate",t=>new Oi(t),e)}const Pi=Math.sqrt(2);class Ti{draw(e,t,i){const s=i/Pi,o=s*2;e.rect(-s,-s,o,o)}getSidesCount(){return 4}}async function Si(n,e=!0){await n.addShape(["edge","square"],new Ti,e)}class Ei{draw(e,t,i){const s=t.sides,o=t.starInset??2;e.moveTo(0,0-i);for(let a=0;a0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const o=ie(t.offset),a=(e.velocity??0)*n.factor+o*3.6,r=e.decay??1;!s||e.status==="increasing"?(e.value+=a,e.value>i&&(e.loops||(e.loops=0),e.loops++,s&&(e.status="decreasing",e.value-=e.value%i))):(e.value-=a,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing",e.value+=e.value)),e.velocity&&r!==1&&(e.velocity*=r),e.value>i&&(e.value%=i)}function qi(n,e){if(!n.strokeColor||!n.strokeAnimation)return;const{h:t,s:i,l:s}=n.strokeColor,{h:o,s:a,l:r}=n.strokeAnimation;t&&Z(e,t,o,360,!1),i&&Z(e,i,a,100,!0),s&&Z(e,s,r,100,!0)}class Bi{constructor(e){this.container=e}init(e){var a;const t=this.container,i=e.options,s=G(i.stroke,e.id,i.reduceDuplicates);e.strokeWidth=k(s.width)*t.retina.pixelRatio,e.strokeOpacity=k(s.opacity??1),e.strokeAnimation=(a=s.color)==null?void 0:a.animation;const o=ge(s.color)??e.getFillColor();o&&(e.strokeColor=Le(o,e.strokeAnimation,t.retina.reduceFactor))}isEnabled(e){const t=e.strokeAnimation,{strokeColor:i}=e;return!e.destroyed&&!e.spawning&&!!t&&((i==null?void 0:i.h.value)!==void 0&&i.h.enable||(i==null?void 0:i.s.value)!==void 0&&i.s.enable||(i==null?void 0:i.l.value)!==void 0&&i.l.enable)}update(e,t){this.isEnabled(e)&&qi(e,t)}}async function Li(n,e=!0){await n.addParticleUpdater("strokeColor",t=>new Bi(t),e)}const $=["text","character","char"];class zi{draw(e,t,i,s){const o=t.shapeData;if(o===void 0)return;const a=o.value;if(a===void 0)return;t.text===void 0&&(t.text=G(a,t.randomIndexData));const r=t.text,c=o.style??"",l=o.weight??"400",d=Math.round(i)*2,u=o.font??"Verdana",f=t.fill,h=r.length*i/2;e.font=`${c} ${l} ${d}px "${u}"`;const y={x:-h,y:i/2};e.globalAlpha=s,f?e.fillText(r,y.x,y.y):e.strokeText(r,y.x,y.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){const t=e.actualOptions;if($.find(i=>x(i,t.particles.shape.type))){const i=$.map(o=>t.particles.shape.options[o]).find(o=>!!o),s=[];S(i,o=>{s.push(ze(o.font,o.weight))}),await Promise.all(s)}}particleInit(e,t){if(!t.shape||!$.includes(t.shape))return;const i=t.shapeData;if(i===void 0)return;const s=i.value;s!==void 0&&(t.text=G(s,t.randomIndexData))}}async function Fi(n,e=!0){await n.addShape($,new zi,e)}async function Ai(n,e=!0){He(n),await Yt(n,!1),await $e(n,!1),await Ne(n,!1),await Ye(n,!1),await ot(n,!1),await dt(n,!1),await ht(n,!1),await gt(n,!1),await mt(n,!1),await Ct(n,!1),await Rt(n,!1),await Vt(n,!1),await si(n,!1),await wi(n,!1),await We(),await jt(n,!1),await Kt(n,!1),await Ci(n,!1),await Si(n,!1),await _i(n,!1),await Fi(n,!1),await Nt(n,!1),await Ii(n,!1),await Li(n,!1),await Fe(n,e)}const ji=Object.freeze(Object.defineProperty({__proto__:null,loadSlim:Ai},Symbol.toStringTag,{value:"Module"}));export{O as E,ji as i,Ai as l}; diff --git a/_nuxt/nuxt-icon.b4d9ff56.js b/_nuxt/nuxt-icon.b4d9ff56.js new file mode 100644 index 0000000..453e03f --- /dev/null +++ b/_nuxt/nuxt-icon.b4d9ff56.js @@ -0,0 +1 @@ +import{_ as n}from"./entry.0b593fc5.js";import{B as t,D as o,_ as l,J as r}from"./swiper-vue.7361a076.js";const a={props:{filled:{type:Boolean,required:!1,default:!1},fontControlled:{type:Boolean,required:!1,default:!0},icon:{type:Object,required:!0},name:{type:String,required:!1}}};function s(c,i,e,u,f,_){return t(),o(r(e.icon),{class:l({"nuxt-icon":e.fontControlled,"nuxt-icon--fill":!e.filled})},null,8,["class"])}const m=n(a,[["render",s]]);export{m as N}; diff --git a/_nuxt/nuxt-link.3d9cb505.js b/_nuxt/nuxt-link.3d9cb505.js new file mode 100644 index 0000000..81341c9 --- /dev/null +++ b/_nuxt/nuxt-link.3d9cb505.js @@ -0,0 +1 @@ +import{p as _,q,s as A,t as k,v as L,l as T,x as w,y as B,z as E,w as N,m as U,b as I,g as P,A as j}from"./entry.0b593fc5.js";import{d as O,c as b,a as x,o as V,a7 as z,f as C,ad as D}from"./swiper-vue.7361a076.js";async function R(a,n=_()){const{path:u,matched:e}=n.resolve(a);if(!e.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(u)))return;const l=n._preloadPromises=n._preloadPromises||[];if(l.length>4)return Promise.all(l).then(()=>R(a,n));n._routePreloaded.add(u);const i=e.map(s=>{var t;return(t=s.components)==null?void 0:t.default}).filter(s=>typeof s=="function");for(const s of i){const t=Promise.resolve(s()).catch(()=>{}).finally(()=>l.splice(l.indexOf(t)));l.push(t)}await Promise.all(l)}const F=(...a)=>a.find(n=>n!==void 0),M="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function $(a){const n=a.componentName||"NuxtLink",u=(e,l)=>{if(!e||a.trailingSlash!=="append"&&a.trailingSlash!=="remove")return e;const i=a.trailingSlash==="append"?N:U;if(typeof e=="string")return i(e,!0);const s="path"in e?e.path:l(e).path;return{...e,name:void 0,path:i(s,!0)}};return O({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(e,{slots:l}){const i=_(),s=I(),t=b(()=>{const r=e.to||e.href||"";return u(r,i.resolve)}),d=b(()=>typeof t.value=="string"&&q(t.value,{acceptRelative:!0})),v=b(()=>e.external||e.target&&e.target!=="_self"?!0:typeof t.value=="object"?!1:t.value===""||d.value),y=x(!1),h=x(null),S=r=>{var f;h.value=e.custom?(f=r==null?void 0:r.$el)==null?void 0:f.nextElementSibling:r==null?void 0:r.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!Q()){const f=P();let m,o=null;V(()=>{const p=H();A(()=>{m=k(()=>{var g;(g=h==null?void 0:h.value)!=null&&g.tagName&&(o=p.observe(h.value,async()=>{o==null||o(),o=null;const c=typeof t.value=="string"?t.value:i.resolve(t.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",c).catch(()=>{}),!v.value&&R(t.value,i).catch(()=>{})]),y.value=!0}))})})}),z(()=>{m&&L(m),o==null||o(),o=null})}return()=>{var p,g;if(!v.value){const c={ref:S,to:t.value,activeClass:e.activeClass||a.activeClass,exactActiveClass:e.exactActiveClass||a.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y.value&&(c.class=e.prefetchedClass||a.prefetchedClass),c.rel=e.rel),C(D("RouterLink"),c,l.default)}const r=typeof t.value=="object"?((p=i.resolve(t.value))==null?void 0:p.href)??null:t.value&&!e.external&&!d.value?u(T(s.app.baseURL,t.value),i.resolve):t.value||null,f=e.target||null,m=e.noRel?null:F(e.rel,a.externalRelAttribute,r?M:"")||null,o=()=>j(r,{replace:e.replace});return e.custom?l.default?l.default({href:r,navigate:o,get route(){if(!r)return;const c=w(r);return{path:c.pathname,fullPath:c.pathname,get query(){return B(c.search)},hash:c.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:r}},rel:m,target:f,isExternal:v.value,isActive:!1,isExactActive:!1}):null:C("a",{ref:h,href:r,rel:m,target:f},(g=l.default)==null?void 0:g.call(l))}}})}const J=$(E);function H(){const a=P();if(a._observer)return a._observer;let n=null;const u=new Map,e=(i,s)=>(n||(n=new IntersectionObserver(t=>{for(const d of t){const v=u.get(d.target);(d.isIntersecting||d.intersectionRatio>0)&&v&&v()}})),u.set(i,s),n.observe(i),()=>{u.delete(i),n.unobserve(i),u.size===0&&(n.disconnect(),n=null)});return a._observer={observe:e}}function Q(){const a=navigator.connection;return!!(a&&(a.saveData||/2g/.test(a.effectiveType)))}export{J as _}; diff --git a/_nuxt/playmytime.6cf34277.js b/_nuxt/playmytime.6cf34277.js new file mode 100644 index 0000000..50c71c1 --- /dev/null +++ b/_nuxt/playmytime.6cf34277.js @@ -0,0 +1 @@ +import{N as e}from"./nuxt-icon.b4d9ff56.js";import{f as t,B as c,C as o,N as a}from"./swiper-vue.7361a076.js";import"./entry.0b593fc5.js";const n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 800 800"},r=a("path",{d:"M400.732 61.762c-159.938.409-299.405 106.86-343.14 259.1-13.015 9.073-21.52 24.13-21.52 41.267v112.433c0 27.866 22.434 50.3 50.3 50.3h5.917c4.96 0 9.745-.723 14.266-2.05 39.12 124.845 155.699 215.43 293.445 215.43 137.746 0 254.325-90.585 293.445-215.43a50.596 50.596 0 0 0 14.266 2.05h5.918c27.865 0 50.299-22.434 50.299-50.3V362.13c0-15.79-7.213-29.823-18.526-39.031C702.32 169.37 561.806 61.805 400.775 61.762a14.086 14.086 0 0 0-.04 0zm.036 28.162c141.821.038 266.08 90.32 311.574 221.906h-4.631c-7.942 0-15.44 1.827-22.106 5.078C640.344 203.485 529.571 123.297 400 123.297c-129.571 0-240.344 80.188-285.605 193.611-6.666-3.25-14.164-5.078-22.106-5.078h-2.303c45.401-131.316 169.26-221.528 310.782-221.906m-95.766 182.922 246.72 143.004H422.909a31.819 31.819 0 0 0-28.013-16.899 31.819 31.819 0 0 0-28.016 16.899h-61.877zm0 173.138h62.039a31.819 31.819 0 0 0 27.854 16.604 31.819 31.819 0 0 0 27.853-16.604h128.465l-246.211 142.71z"},null,-1),s=[r];function m(h,i){return c(),o("svg",n,[...s])}const _={render(){return t(e,{icon:{render:m},name:"playmytime"})}};export{_ as default,m as render}; diff --git a/_nuxt/preview.cf1a2dd4.js b/_nuxt/preview.cf1a2dd4.js new file mode 100644 index 0000000..828148f --- /dev/null +++ b/_nuxt/preview.cf1a2dd4.js @@ -0,0 +1 @@ +import{o as r,e as o}from"./entry.0b593fc5.js";const v=()=>({isEnabled:()=>{const e=o().query;return Object.prototype.hasOwnProperty.call(e,"preview")&&!e.preview?!1:!!(e.preview||r("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>r("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:e=>{r("previewToken").value=e,o().query.preview=e||"",e?sessionStorage.setItem("previewToken",e):sessionStorage.removeItem("previewToken"),window.location.reload()}});export{v as u}; diff --git a/_nuxt/query.a51a821d.js b/_nuxt/query.a51a821d.js new file mode 100644 index 0000000..80c5f61 --- /dev/null +++ b/_nuxt/query.a51a821d.js @@ -0,0 +1,3 @@ +import{f as H,g as K,h as N,j as I,b as S,k as q,l as W,m as Q,a as J}from"./entry.0b593fc5.js";import{a as v,s as V,t as G,ab as X,l as P,w as Y,u as Z,g as tt}from"./swiper-vue.7361a076.js";import{u as $}from"./preview.cf1a2dd4.js";const k=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function et(s,n){n?n={...k,...n}:n=k;const r=j(n);return r.dispatch(s),r.toString()}const rt=Object.freeze(["prototype","__proto__","constructor"]);function j(s){let n="",r=new Map;const e=t=>{n+=t};return{toString(){return n},getContext(){return r},dispatch(t){return s.replacer&&(t=s.replacer(t)),this[t===null?"null":typeof t](t)},object(t){if(t&&typeof t.toJSON=="function")return this.object(t.toJSON());const a=Object.prototype.toString.call(t);let i="";const u=a.length;u<10?i="unknown:["+a+"]":i=a.slice(8,u-1),i=i.toLowerCase();let o=null;if((o=r.get(t))===void 0)r.set(t,r.size);else return this.dispatch("[CIRCULAR:"+o+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(t))return e("buffer:"),e(t.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](t):s.ignoreUnknown||this.unkown(t,i);else{let c=Object.keys(t);s.unorderedObjects&&(c=c.sort());let h=[];s.respectType!==!1&&!O(t)&&(h=rt),s.excludeKeys&&(c=c.filter(l=>!s.excludeKeys(l)),h=h.filter(l=>!s.excludeKeys(l))),e("object:"+(c.length+h.length)+":");const p=l=>{this.dispatch(l),e(":"),s.excludeValues||this.dispatch(t[l]),e(",")};for(const l of c)p(l);for(const l of h)p(l)}},array(t,a){if(a=a===void 0?s.unorderedArrays!==!1:a,e("array:"+t.length+":"),!a||t.length<=1){for(const o of t)this.dispatch(o);return}const i=new Map,u=t.map(o=>{const c=j(s);c.dispatch(o);for(const[h,p]of c.getContext())i.set(h,p);return c.toString()});return r=i,u.sort(),this.array(u,!1)},date(t){return e("date:"+t.toJSON())},symbol(t){return e("symbol:"+t.toString())},unkown(t,a){if(e(a),!!t&&(e(":"),t&&typeof t.entries=="function"))return this.array(Array.from(t.entries()),!0)},error(t){return e("error:"+t.toString())},boolean(t){return e("bool:"+t)},string(t){e("string:"+t.length+":"),e(t)},function(t){e("fn:"),O(t)?this.dispatch("[native]"):this.dispatch(t.toString()),s.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(t.name)),s.respectFunctionProperties&&this.object(t)},number(t){return e("number:"+t)},xml(t){return e("xml:"+t.toString())},null(){return e("Null")},undefined(){return e("Undefined")},regexp(t){return e("regex:"+t.toString())},uint8array(t){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},uint8clampedarray(t){return e("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},int8array(t){return e("int8array:"),this.dispatch(Array.prototype.slice.call(t))},uint16array(t){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},int16array(t){return e("int16array:"),this.dispatch(Array.prototype.slice.call(t))},uint32array(t){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},int32array(t){return e("int32array:"),this.dispatch(Array.prototype.slice.call(t))},float32array(t){return e("float32array:"),this.dispatch(Array.prototype.slice.call(t))},float64array(t){return e("float64array:"),this.dispatch(Array.prototype.slice.call(t))},arraybuffer(t){return e("arraybuffer:"),this.dispatch(new Uint8Array(t))},url(t){return e("url:"+t.toString())},map(t){e("map:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},set(t){e("set:");const a=[...t];return this.array(a,s.unorderedSets!==!1)},file(t){return e("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},blob(){if(s.ignoreUnknown)return e("[blob]");throw new Error(`Hashing Blob objects is currently not supported +Use "options.replacer" or "options.ignoreUnknown" +`)},domwindow(){return e("domwindow")},bigint(t){return e("bigint:"+t.toString())},process(){return e("process")},timer(){return e("timer")},pipe(){return e("pipe")},tcp(){return e("tcp")},udp(){return e("udp")},tty(){return e("tty")},statwatcher(){return e("statwatcher")},securecontext(){return e("securecontext")},connection(){return e("connection")},zlib(){return e("zlib")},context(){return e("context")},nodescript(){return e("nodescript")},httpparser(){return e("httpparser")},dataview(){return e("dataview")},signal(){return e("signal")},fsevent(){return e("fsevent")},tlswrap(){return e("tlswrap")}}}const L="[native code] }",nt=L.length;function O(s){return typeof s!="function"?!1:Function.prototype.toString.call(s).slice(-nt)===L}class w{constructor(n,r){n=this.words=n||[],this.sigBytes=r===void 0?n.length*4:r}toString(n){return(n||st).stringify(this)}concat(n){if(this.clamp(),this.sigBytes%4)for(let r=0;r>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=e<<24-(this.sigBytes+r)%4*8}else for(let r=0;r>>2]=n.words[r>>>2];return this.sigBytes+=n.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new w([...this.words])}}const st={stringify(s){const n=[];for(let r=0;r>>2]>>>24-r%4*8&255;n.push((e>>>4).toString(16),(e&15).toString(16))}return n.join("")}},it={stringify(s){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=[];for(let e=0;e>>2]>>>24-e%4*8&255,a=s.words[e+1>>>2]>>>24-(e+1)%4*8&255,i=s.words[e+2>>>2]>>>24-(e+2)%4*8&255,u=t<<16|a<<8|i;for(let o=0;o<4&&e*8+o*6>>6*(3-o)&63))}return r.join("")}},at={parse(s){const n=s.length,r=[];for(let e=0;e>>2]|=(s.charCodeAt(e)&255)<<24-e%4*8;return new w(r,n)}},ot={parse(s){return at.parse(unescape(encodeURIComponent(s)))}};class ct{constructor(){this._data=new w,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new w,this._nDataBytes=0}_append(n){typeof n=="string"&&(n=ot.parse(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_doProcessBlock(n,r){}_process(n){let r,e=this._data.sigBytes/(this.blockSize*4);n?e=Math.ceil(e):e=Math.max((e|0)-this._minBufferSize,0);const t=e*this.blockSize,a=Math.min(t*4,this._data.sigBytes);if(t){for(let i=0;i>>7)^(b<<14|b>>>18)^b>>>3,B=_[l-2],U=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;_[l]=M+_[l-7]+U+_[l-16]}const x=o&c^~o&h,d=t&a^t&i^a&i,m=(t<<30|t>>>2)^(t<<19|t>>>13)^(t<<10|t>>>22),f=(o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25),y=p+f+x+lt[l]+_[l],D=m+d;p=h,h=c,c=o,o=u+y|0,u=i,i=a,a=t,t=y+D|0}e[0]=e[0]+t|0,e[1]=e[1]+a|0,e[2]=e[2]+i|0,e[3]=e[3]+u|0,e[4]=e[4]+o|0,e[5]=e[5]+c|0,e[6]=e[6]+h|0,e[7]=e[7]+p|0}finalize(n){super.finalize(n);const r=this._nDataBytes*8,e=this._data.sigBytes*8;return this._data.words[e>>>5]|=128<<24-e%32,this._data.words[(e+64>>>9<<4)+14]=Math.floor(r/4294967296),this._data.words[(e+64>>>9<<4)+15]=r,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function ht(s){return new ft().finalize(s).toString(it)}function z(s,n={}){const r=typeof s=="string"?s:et(s,n);return ht(r).slice(0,10)}function St(...s){var x;const n=typeof s[s.length-1]=="string"?s.pop():void 0;typeof s[0]!="string"&&s.unshift(n);let[r,e,t={}]=s;if(typeof r!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof e!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const a=K(),i=()=>null,u=()=>a.isHydrating?a.payload.data[r]:a.static.data[r];t.server=t.server??!0,t.default=t.default??i,t.getCachedData=t.getCachedData??u,t.lazy=t.lazy??!1,t.immediate=t.immediate??!0,t.deep=t.deep??H.deep;const o=()=>![null,void 0].includes(t.getCachedData(r));if(!a._asyncData[r]||!t.immediate){(x=a.payload._errors)[r]??(x[r]=null);const d=t.deep?v:V;a._asyncData[r]={data:d(t.getCachedData(r)??t.default()),pending:v(!o()),error:G(a.payload._errors,r),status:v("idle")}}const c={...a._asyncData[r]};c.refresh=c.execute=(d={})=>{if(a._asyncDataPromises[r]){if(d.dedupe===!1)return a._asyncDataPromises[r];a._asyncDataPromises[r].cancelled=!0}if((d._initial||a.isHydrating&&d._initial!==!1)&&o())return Promise.resolve(t.getCachedData(r));c.pending.value=!0,c.status.value="pending";const m=new Promise((f,y)=>{try{f(e(a))}catch(D){y(D)}}).then(f=>{if(m.cancelled)return a._asyncDataPromises[r];let y=f;t.transform&&(y=t.transform(f)),t.pick&&(y=dt(y,t.pick)),a.payload.data[r]=y,c.data.value=y,c.error.value=null,c.status.value="success"}).catch(f=>{if(m.cancelled)return a._asyncDataPromises[r];c.error.value=N(f),c.data.value=Z(t.default()),c.status.value="error"}).finally(()=>{m.cancelled||(c.pending.value=!1,delete a._asyncDataPromises[r])});return a._asyncDataPromises[r]=m,a._asyncDataPromises[r]};const h=()=>c.refresh({_initial:!0}),p=t.server!==!1&&a.payload.serverRendered;{const d=tt();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const f=d._nuxtOnBeforeMountCbs;d&&(X(()=>{f.forEach(y=>{y()}),f.splice(0,f.length)}),P(()=>f.splice(0,f.length)))}p&&a.isHydrating&&(c.error.value||o())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):d&&(a.payload.serverRendered&&a.isHydrating||t.lazy)&&t.immediate?d._nuxtOnBeforeMountCbs.push(h):t.immediate&&h(),t.watch&&Y(t.watch,()=>c.refresh());const m=a.hook("app:data:refresh",async f=>{(!f||f.includes(r))&&await c.refresh()});d&&P(m)}const l=Promise.resolve(a._asyncDataPromises[r]).then(()=>c);return Object.assign(l,c),l}function dt(s,n){const r={};for(const e of n)r[e]=s[e];return r}const E=(s,n)=>n.split(".").reduce((r,e)=>r&&r[e],s),C=(s,n)=>Object.keys(s).filter(n).reduce((r,e)=>Object.assign(r,{[e]:s[e]}),{}),Dt=s=>n=>s&&s.length?C(n,r=>!s.includes(r)):n,vt=s=>n=>Array.isArray(n)?n.map(r=>s(r)):s(n),F=s=>{const n=[],r=[];for(const e of s)["$","_"].includes(e)?n.push(e):r.push(e);return{prefixes:n,properties:r}},Ct=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>!e.includes(t)&&!r.includes(t[0]))},Pt=(s=[])=>n=>{if(s.length===0||!n)return n;const{prefixes:r,properties:e}=F(s);return C(n,t=>e.includes(t)||r.includes(t[0]))},kt=(s,n)=>{const r=new Intl.Collator(n.$locale,{numeric:n.$numeric,caseFirst:n.$caseFirst,sensitivity:n.$sensitivity}),e=Object.keys(n).filter(t=>!t.startsWith("$"));for(const t of e)s=s.sort((a,i)=>{const u=[E(a,t),E(i,t)].map(o=>{if(o!==null)return o instanceof Date?o.toISOString():o});return n[t]===-1&&u.reverse(),r.compare(u[0],u[1])});return s},Ot=(s,n="Expected an array")=>{if(!Array.isArray(s))throw new TypeError(n)},g=s=>Array.isArray(s)?s:[void 0,null].includes(s)?[]:[s],pt=["sort","where","only","without"];function yt(s,n={}){const r={};for(const i of Object.keys(n.initialParams||{}))r[i]=pt.includes(i)?g(n.initialParams[i]):n.initialParams[i];const e=(i,u=o=>o)=>(...o)=>(r[i]=u(...o),a),t=i=>{var u;return n.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(u=i.dirConfig)==null?void 0:u._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},a={params:()=>({...r,...r.where?{where:[...g(r.where)]}:{},...r.sort?{sort:[...g(r.sort)]}:{}}),only:e("only",g),without:e("without",g),where:e("where",i=>[...g(r.where),...g(i)]),sort:e("sort",i=>[...g(r.sort),...g(i)]),limit:e("limit",i=>parseInt(String(i),10)),skip:e("skip",i=>parseInt(String(i),10)),find:()=>s(a).then(t),findOne:()=>s(e("first")(!0)).then(t),count:()=>s(e("count")(!0)).then(t),locale:i=>a.where({_locale:i}),withSurround:e("surround",(i,u)=>({query:i,...u})),withDirConfig:()=>e("dirConfig")(!0)};return n.legacy&&(a.findSurround=(i,u)=>a.withSurround(i,u).find().then(t)),a}function T(s){return JSON.stringify(s,gt)}function gt(s,n){return n instanceof RegExp?`--REGEX ${n.toString()}`:n}const mt=s=>{let n=T(s);return n=typeof Buffer<"u"?Buffer.from(n).toString("base64"):btoa(n),n=n.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(n.match(/.{1,100}/g)||[]).join("/")},R=s=>I(s,S().public.content.api.baseURL),At=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxt.com/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},wt=()=>{const{experimental:s}=S().public.content;return s.clientDB?!0:$().isEnabled()},_t=()=>async s=>{const{content:n}=S().public,r=s.params(),e=n.experimental.stripQueryParameters?R(`/query/${`${z(r)}.${n.integrity}`}/${mt(r)}.json`):R(`/query/${z(r)}.${n.integrity}.json`);if(wt())return(await J(()=>import("./client-db.ccc17b92.js"),["./client-db.ccc17b92.js","./entry.0b593fc5.js","./swiper-vue.7361a076.js","./swiper-vue.d33d3671.css","./entry.88afc5dc.css","./index.b0fe9fac.js","./preview.cf1a2dd4.js"],import.meta.url).then(i=>i.useContentDatabase())).fetch(s);const t=await $fetch(e,{method:"GET",responseType:"json",params:n.experimental.stripQueryParameters?void 0:{_params:T(r),previewToken:$().getPreviewToken()}});if(typeof t=="string"&&t.startsWith(""))throw new Error("Not found");return t};function zt(s,...n){const{content:r}=S().public,e=yt(_t(),{initialParams:typeof s!="string"?s:{},legacy:!0});let t;typeof s=="string"&&(t=q(W(s,...n)));const a=e.params;return e.params=()=>{var u,o,c;const i=a();return t&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Q(t)}):i.where.push({_path:new RegExp(`^${t.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(u=i.sort)!=null&&u.length||(i.sort=[{_file:1,$numeric:!0}]),r.locales.length&&((c=(o=i.where)==null?void 0:o.find(p=>p._locale))!=null&&c._locale||(i.where=i.where||[],i.where.push({_locale:r.defaultLocale}))),i},e}export{At as a,Ot as b,g as c,kt as d,mt as e,vt as f,E as g,z as h,Ct as i,T as j,Pt as k,yt as l,Dt as o,zt as q,wt as s,St as u,R as w}; diff --git a/_nuxt/simuladocnh.dcd495b6.js b/_nuxt/simuladocnh.dcd495b6.js new file mode 100644 index 0000000..e89b1ce --- /dev/null +++ b/_nuxt/simuladocnh.dcd495b6.js @@ -0,0 +1 @@ +import{N as o}from"./nuxt-icon.b4d9ff56.js";import{f as e,B as c,C as n,N as t}from"./swiper-vue.7361a076.js";import"./entry.0b593fc5.js";const s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},a=t("path",{d:"m29.637 10.335-8-7.984-11.302.012-7.984 8 .012 11.302 8 7.984 11.302-.012 7.984-8zm-1.853.77.01 9.766-6.899 6.913-9.766.01-6.913-6.898-.01-9.767 6.898-6.913 9.766-.01z"},null,-1),l=t("path",{d:"M26.502 11.637 20.34 5.49l-8.704.01-6.148 6.16.01 8.704 6.16 6.148 8.704-.01 6.148-6.16zm-1.428.593.008 7.52-5.312 5.325-7.52.007-5.325-5.312-.007-7.52 5.312-5.325 7.52-.007z"},null,-1),r=t("path",{d:"M28.01 3.633C21.829 6.657 17.973 11.6 15.217 18.05c-.14-.223-.304-.424-.383-.578l-.006-.01c-.693-1.394-1.92-3.422-3.092-4.81a1.5 1.5 0 0 0-2.113-.178 1.5 1.5 0 0 0-.18 2.113c.878 1.04 2.142 3.09 2.703 4.22l.004.006.002.006c.29.57.761 1.434 1.471 2.176.355.371.75.833 1.668.916a2.082 2.082 0 0 0 1.41-.441c.37-.308.561-.665.694-1.01l.003-.006c2.621-6.72 6.04-11.247 11.93-14.129a1.5 1.5 0 0 0 .69-2.006 1.5 1.5 0 0 0-2.008-.687"},null,-1),d=[a,l,r];function h(i,m){return c(),n("svg",s,[...d])}const f={render(){return e(o,{icon:{render:h},name:"simuladocnh"})}};export{f as default,h as render}; diff --git a/_nuxt/vue.f36acd1f.b36361a4.js b/_nuxt/vue.f36acd1f.b36361a4.js new file mode 100644 index 0000000..13636d6 --- /dev/null +++ b/_nuxt/vue.f36acd1f.b36361a4.js @@ -0,0 +1 @@ +import{i as o,r as f}from"./entry.0b593fc5.js";import{a as u,a6 as d,w as v,a7 as i,a8 as l,a9 as h,g as m}from"./swiper-vue.7361a076.js";function U(t,a={}){const e=a.head||o();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});d(()=>{n.value=s.value?{}:f(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(i(()=>{r.dispose()}),l(()=>{s.value=!0}),h(()=>{s.value=!1})),r}export{U as u}; diff --git a/api/_content/cache.1709389199345.json b/api/_content/cache.1709389199345.json new file mode 100644 index 0000000..ae13ae9 --- /dev/null +++ b/api/_content/cache.1709389199345.json @@ -0,0 +1 @@ +{"generatedAt":1709389254540,"generateTime":1245,"contents":[{"_path":"/projects/en/acidentes","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Accidents Dashboard","description":"A dashboard that displays accidents on federal highways","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A panel where you can view geolocated data on traffic accidents recorded by\nPolícia Rodoviária Federal - a national highway patrol from Brazil.\nIt allows a general overview of accidents by time of the the day at different\nlocations."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The app was coded in Python, using the "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":" framework.\nIt was based on a template from the "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"gallery"}]},{"type":"text","value":" of Dash."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Check out the running application at: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-rodovias-federais.herokuapp.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-rodovias-federais.herokuapp.com"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"check-also"},"children":[{"type":"text","value":"Check also"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This was one of the first projects where I had to understand code written by someone else in\norder to adapt the application to my needs.\nAlthough it wasn't a major challenge due to its small scale,\nit was definitely a valuable experience."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"check-also","depth":2,"text":"Check also"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:acidentes.md","_source":"content","_file":"projects/en/acidentes.md","_extension":"md"},{"_path":"/projects/en/playmytime","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"A web player for m3u/m3u8 playlists that works entirely offline using locally stored files","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I built the application using "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" and utilized the\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Access API"}]},{"type":"text","value":" to access local files.\nThe application can be installed on a computer as a PWA; however, currently, it does not work on mobile devices\ndue to limitations in accessing the local filesystem (see:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"As the application operates entirely offline, data storage was implemented through "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":", a native browser feature."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visit "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The application did not pose many significant challenges, but issues arose with some packages, particularly those related to Nuxt 3, as it is relatively new (at the moment that I worked in this project) and, therefore, may have bugs even in official packages. Additionally, it is not fully compatible with all packages developed for Vue.js and even Nuxt 2. These packages were eventually replaced with less popular alternatives."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The incompatibility with mobile devices is a future challenge and will likely be addressed through a native app that incorporates the web application and communicates with it using HTTP requests."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:playmytime.md","_source":"content","_file":"projects/en/playmytime.md","_extension":"md"},{"_path":"/projects/en/simuladocnh","_dir":"en","_draft":false,"_partial":false,"_locale":"","title":"Driver's license exam simulator","description":"A bot designed for those preparing for the theoretical test of the driver's license application process.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"what-is-it"},"children":[{"type":"text","value":"What is it"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"An interactive quiz that operates within the Telegram chat, helping you practice technical knowledge about traffic laws in Brazil."}]},{"type":"element","tag":"h2","props":{"id":"how-it-was-done"},"children":[{"type":"text","value":"How it was done"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I used the "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"Telegram Bot API"}]},{"type":"text","value":" to create "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". Communication with the API was achieved through the "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To obtain the questions, I had to scrape data from a PDF document to extract the text of the questions and the correct answers. This was done using the "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":" library. The images of the signs displayed in some questions were taken from a website through HTTP requests, with some manual adjustments."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The refined data was stored in a "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":" database, and access to this data is facilitated by the "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":" library."}]},{"type":"element","tag":"h2","props":{"id":"see-it-in-action"},"children":[{"type":"text","value":"See it in action"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Go to Telegram and chat with @SimuladoCNHBot, or visit the address "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"challenges"},"children":[{"type":"text","value":"Challenges"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The main challenge of this project was extracting and refining data from the PDF to obtain the questions. Additionally, everything was done with libraries I had never used before, making it a significant learning experience."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Other minor challenges also surfaced; here are some of them:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"How to handle questions with illustrations? Well, this wasn't simple since the drawings in the PDF are not images but rather lines, circles, curves, and squares. Moreover, underlining is also a line and can be mistaken for part of a drawing. To address these difficulties, I decided to do the following:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with signs in the statement: use the text reference and search for it on a website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"For questions with drawings: Identify through observation, take a screenshot, and modify directly in the database. This worked well since there are only a few such questions (only 4).\nThe obtained images are sent before the questions in the form of a photo message."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Telegram supports only up to 100 characters in each quiz option: To solve this, it was necessary to send the alternatives and the statement in advance in two messages, just like the images. In the quiz form, the statement becomes \"Answer:\" and the alternatives turn into the letters of the options."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"what-is-it","depth":2,"text":"What is it"},{"id":"how-it-was-done","depth":2,"text":"How it was done"},{"id":"see-it-in-action","depth":2,"text":"See it in action"},{"id":"challenges","depth":2,"text":"Challenges"}]}},"_type":"markdown","_id":"content:projects:en:simuladocnh.md","_source":"content","_file":"projects/en/simuladocnh.md","_extension":"md"},{"_path":"/projects/pt/acidentes","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Acidentes Dashboard","description":"Uma dashboard que mostra os acidentes em rodovias federais","homepage":"https://acidentes-dashboard.onrender.com/","video":"https://youtu.be/LjGphdjJCeI","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"acidentes","src":"/projects/acidentes.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um paínel no qual é possível ver dados geolocalizados sobre acidentes de\ntrânsito registrados pela Polícia Rodoviária Federal. Nele é possível\nvisualizar, de forma geral, em que horário do dia ocorrem os acidentes\nem cada local."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse é um projeto feito em Python, com ajuda do framework "},{"type":"element","tag":"a","props":{"href":"https://plotly.com/dash/","rel":["nofollow"]},"children":[{"type":"text","value":"Dash"}]},{"type":"text","value":". Ele foi baseado em um template da "},{"type":"element","tag":"a","props":{"href":"https://dash.gallery/Portal/","rel":["nofollow"]},"children":[{"type":"text","value":"galeria"}]},{"type":"text","value":" do Dash."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Confira como ficou em: "},{"type":"element","tag":"a","props":{"href":"https://acidentes-rodovias-federais.herokuapp.com","rel":["nofollow"]},"children":[{"type":"text","value":"https://acidentes-rodovias-federais.herokuapp.com"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"veja-também"},"children":[{"type":"text","value":"Veja também"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloelt.medium.com/um-mapa-dos-acidentes-em-brs-49ad8620af45"}]}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Esse foi um dos primeiros projetos em que eu tive que entender um código\nfeito por outra pessoa, afim de adaptar a aplicação às minhas necessidades,\napesar de não ter sido um grande desafio, por ser uma aplicação pequena, com\ncerteza foi uma boa experiência."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"veja-também","depth":2,"text":"Veja também"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:acidentes.md","_source":"content","_file":"projects/pt/acidentes.md","_extension":"md"},{"_path":"/projects/pt/playmytime","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Play My Time","description":"Um web player de playlists m3u/m3u que funciona inteiramente offline usando arquivos armazenadas no computador","homepage":"https://pabloeltdev.github.io/playmytime/","video":"https://youtu.be/NeqFuPOoMyY","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"playmytime","src":"/projects/playmytime.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu fiz a aplicação em "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt"}]},{"type":"text","value":" e usei o\n"},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API","rel":["nofollow"]},"children":[{"type":"text","value":"File System Acess API"}]},{"type":"text","value":" para acessar arquivos locais. A aplicação pode ser instalada no computador por ser\numa PWA, no entanto, atualmente, a aplicação não funciona em dispositimos móveis\npor causa das limitações de acesso ao sistema de arquivos local (veja:\n"},{"type":"element","tag":"a","props":{"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535","rel":["nofollow"]},"children":[{"type":"text","value":"https://bugs.chromium.org/p/chromium/issues/detail?id=1011535"}]},{"type":"text","value":")."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Como a aplicação funciona inteiramente offline, o armazenamento de dados foi feito\natravés do "},{"type":"element","tag":"a","props":{"href":"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API","rel":["nofollow"]},"children":[{"type":"text","value":"IndexedDB"}]},{"type":"text","value":",\num recurso nativo dos navegadores."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Visite "},{"type":"element","tag":"a","props":{"href":"https://pabloeltdev.github.io/playmytime","rel":["nofollow"]},"children":[{"type":"text","value":"https://pabloeltdev.github.io/playmytime"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A aplicação não ofereceu muitos desafios relevantes, mas surgiram problemas com\nalguns pacotes, principalmente os relacionados com o Nuxt 3, já que ele é muito\nrecente (no momento em que fiz esse projeto) e, portanto, apresenta bugs até em pacotes oficiais, além de não se\ncompatível com todas os pacotes feitos para Vue.js e até mesmo do Nuxt 2. Esses\npacotes acabaram sendo substítuidos por outros menos populares."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A incompatibilidade com dispositivos móveis é um desafio futuro, e provavelmente\nvai ser resolvido através de um App nativo que irá incoporar a aplicação web e\nse comunicar com ela usando requisições HTTP."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:playmytime.md","_source":"content","_file":"projects/pt/playmytime.md","_extension":"md"},{"_path":"/projects/pt/simuladocnh","_dir":"pt","_draft":false,"_partial":false,"_locale":"","title":"Simulado CNH","description":"Um bot feito para quem está se preparando para a prova teórica do processo de habitação.","homepage":"https://t.me/SimuladoCNHBot","video":"https://youtu.be/31wu1YpUIPs","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"img","props":{"alt":"simuladocnh","src":"/projects/simuladocnh.png"},"children":[]}]},{"type":"element","tag":"h2","props":{"id":"o-que-é"},"children":[{"type":"text","value":"O que é"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Um quiz interativo que funciona dentro do chat do Telegram, que te ajuda\na praticar o conhecimento técnicos sobre legislação de trânsito."}]},{"type":"element","tag":"h2","props":{"id":"como-foi-feito"},"children":[{"type":"text","value":"Como foi feito"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Eu utilizei a "},{"type":"element","tag":"a","props":{"href":"https://core.telegram.org/bots","rel":["nofollow"]},"children":[{"type":"text","value":"API de bots"}]},{"type":"text","value":" do Telegram para criar o "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"@SimuladoCNHBot"}]},{"type":"text","value":". A comunicação com a API foi feita por meio da biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/python-telegram-bot/python-telegram-bot","rel":["nofollow"]},"children":[{"type":"text","value":"python-telegram-bot (PTB)"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Para obter as questões, eu precisei fazer uma raspagem de dados em um documento PDF para conseguir extrair o texto das questões e as alternativas corretas. Isso foi feito com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/jsvine/pdfplumber","rel":["nofollow"]},"children":[{"type":"text","value":"pdfplumber"}]},{"type":"text","value":". As imagens das placas, exibidas em algumas questões, foram tiradas de um site por meio de requisições HTTP, porém alguns ajustes manuais foram feitos."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Os dados refinados foram colocados em banco de dados "},{"type":"element","tag":"a","props":{"href":"https://www.mongodb.com","rel":["nofollow"]},"children":[{"type":"text","value":"MongoDB"}]},{"type":"text","value":". O acesso a esses dados é feio com a biblioteca "},{"type":"element","tag":"a","props":{"href":"https://github.com/mongodb/mongo-python-driver","rel":["nofollow"]},"children":[{"type":"text","value":"PyMongo"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"veja-em-funcionamento"},"children":[{"type":"text","value":"Veja em funcionamento"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Vá até o telegram e fale com o @SimuladoCNHBot, ou visite o endereço "},{"type":"element","tag":"a","props":{"href":"https://t.me/SimuladoCNHBot","rel":["nofollow"]},"children":[{"type":"text","value":"https://t.me/SimuladoCNHBot"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"desafios"},"children":[{"type":"text","value":"Desafios"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"O maior desafio desse projeto foi extrair e refinar os dados do PDF para obter as questões. Além disso, tudo foi feito com bibliotecas que eu nunca tinha utilizado antes, portanto foi um grande aprendizado."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Outros pequenos desafios também apareceram, esses são alguns deles:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Como lidar com as perguntas que possuem ilustrações? Bom, essa questão não é simple, visto que os desenhos presentes no pdf não são imagens, e sim linhas, círculos, curvas e quadrados. E, para piorar, o sublinhado também é uma linha, e portanto pode ser confundido como parte de algum desenho."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nCom essas dificuldades eu resolvi fazer o seguinte:"},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com placas no enunciado: usar a referência de texto e busca-la em um website."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Para as questões com desenho: Identificar por observação, tirar uma print-screen e modificar diretamento no banco. Isso funcionou bem, pois são poucas questões (somente 4)."},{"type":"element","tag":"br","props":{},"children":[]},{"type":"text","value":"\nAs imagens obtidas são enviadas antes da questões por meio de uma mensagem de foto."}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"O telegram só suporta até 100 caracteres em cada opção do quiz: para resolver isso foi preciso enviar as alternativas e o enunciado antecipadamente em duas mensagens, assim como as imagens. No formulário o enunciado se transforma em \"Responda: \" e as alternativas se transformam nas letras das opções."}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"o-que-é","depth":2,"text":"O que é"},{"id":"como-foi-feito","depth":2,"text":"Como foi feito"},{"id":"veja-em-funcionamento","depth":2,"text":"Veja em funcionamento"},{"id":"desafios","depth":2,"text":"Desafios"}]}},"_type":"markdown","_id":"content:projects:pt:simuladocnh.md","_source":"content","_file":"projects/pt/simuladocnh.md","_extension":"md"}],"navigation":[{"title":"Projects","_path":"/projects","children":[{"title":"En","_path":"/projects/en","children":[{"title":"Accidents Dashboard","_path":"/projects/en/acidentes"},{"title":"Play My Time","_path":"/projects/en/playmytime"},{"title":"Driver's license exam simulator","_path":"/projects/en/simuladocnh"}]},{"title":"Pt","_path":"/projects/pt","children":[{"title":"Acidentes Dashboard","_path":"/projects/pt/acidentes"},{"title":"Play My Time","_path":"/projects/pt/playmytime"},{"title":"Simulado CNH","_path":"/projects/pt/simuladocnh"}]}]}]} \ No newline at end of file diff --git a/index.html b/index.html index aa84b9a..b10cdbe 100644 --- a/index.html +++ b/index.html @@ -4,27 +4,27 @@ - + - + - - + + - - + + - - - + + + - - - + + + - -
- + \ No newline at end of file