vario=Object.create;varjn=Object.defineProperty;varro=Object.getOwnPropertyDescriptor;varao=Object.getOwnPropertyNames;varso=Object.getPrototypeOf,oo=Object.prototype.hasOwnProperty;varz=(t,e)=>()=>(t&&(e=t(t=0)),e);varV=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),it=(t,e)=>{for(variine)jn(t,i,{get:e[i],enumerable:!0})},uo=(t,e,i,n)=>{if(e&&typeofe=="object"||typeofe=="function")for(letrofao(e))!oo.call(t,r)&&r!==i&&jn(t,r,{get:()=>e[r],enumerable:!(n=ro(e,r))||n.enumerable});returnt};varq=(t,e,i)=>(i=t!=null?io(so(t)):{},uo(e||!t||!t.__esModule?jn(i,"default",{value:t,enumerable:!0}):i,t));var$n=(t,e,i)=>{if(!e.has(t))throwTypeError("Cannot "+i)};varm=(t,e,i)=>($n(t,e,"read from private field"),i?i.call(t):e.get(t)),j=(t,e,i)=>{if(e.has(t))throwTypeError("Cannot add the same private member more than once");einstanceofWeakSet?e.add(t):e.set(t,i)},R=(t,e,i,n)=>($n(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);varEe=(t,e,i)=>($n(t,e,"access private method"),i);varCe=V(Rn=>{"use strict";Rn.parse=lo;Rn.serialize=po;varco=Object.prototype.toString,sn=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;functionlo(t,e){if(typeoft!="string")thrownewTypeError("argument str must be a string");for(vari={},n=e||{},r=n.decode||fo,a=0;a<t.length;){vars=t.indexOf("=",a);if(s===-1)break;varo=t.indexOf(";",a);if(o===-1)o=t.length;elseif(o<s){a=t.lastIndexOf(";",s-1)+1;continue}varu=t.slice(a,s).trim();if(i[u]===void0){varc=t.slice(s+1,o).trim();c.charCodeAt(0)===34&&(c=c.slice(1,-1)),i[u]=Do(c,r)}a=o+1}returni}functionpo(t,e,i){varn=i||{},r=n.encode||mo;if(typeofr!="function")thrownewTypeError("option encode is invalid");if(!sn.test(t))thrownewTypeError("argument name is invalid");vara=r(e);if(a&&!sn.test(a))thrownewTypeError("argument val is invalid");vars=t+"="+a;if(n.maxAge!=null){varo=n.maxAge-0;if(isNaN(o)||!isFinite(o))thrownewTypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(o)}if(n.domain){if(!sn.test(n.domain))thrownewTypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!sn.test(n.path))thrownewTypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){varu=n.expires;if(!ho(u)||isNaN(u.valueOf()))thrownewTypeError("option expires is invalid");s+="; Expires="+u.toUTCString()}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority){varc=typeofn.priority=="string"?n.priority.toLowerCase():n.priority;switch(c){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:thrownewTypeError("option priority is invalid")}}if(n.sameSite){varl=typeofn.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(l){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:thrownewTypeError("option sameSite is invalid")}}returns}functionfo(t){returnt.indexOf("%")!==-1?decodeURIComponent(t):t}functionmo(t){returnencodeURIComponent(t)}functionho(t){returnco.call(t)==="[object Date]"||tinstanceofDate}functionDo(t,e){try{returne(t)}catch{returnt}}});functionI(t,e){leti=newRegExp(`\\x1b\\[${e}m`,"g"),n=`\x1B[${t}m`,r=`\x1B[${e}m`;returnfunction(a){return!go.enabled||a==null?a:n+(~(""+a).indexOf(r)?a.replace(i,r+n):a)+r}}varIn,Pi,Oi,Mi,Li,go,zi,Dt,Ui,Cp,wp,Fp,Ap,_p,kp,Vi,Sp,Tt,Tp,Np,qi,Bp,jp,$p,Rp,Ip,Pp,Op,Mp,Lp,zp,Up,he=z(()=>{Li=!0;typeofprocess<"u"&&({FORCE_COLOR:In,NODE_DISABLE_COLORS:Pi,NO_COLOR:Oi,TERM:Mi}=process.env||{},Li=process.stdout&&process.stdout.isTTY);go={enabled:!Pi&&Oi==null&&Mi!=="dumb"&&(In!=null&&In!=="0"||Li)};zi=I(0,0),Dt=I(1,22),Ui=I(2,22),Cp=I(3,23),wp=I(4,24),Fp=I(7,27),Ap=I(8,28),_p=I(9,29),kp=I(30,39),Vi=I(31,39),Sp=I(32,39),Tt=I(33,39),Tp=I(34,39),Np=I(35,39),qi=I(36,39),Bp=I(37,39),jp=I(90,39),$p=I(90,39),Rp=I(40,49),Ip=I(41,49),Pp=I(42,49),Op=I(43,49),Mp=I(44,49),Lp=I(45,49),zp=I(46,49),Up=I(47,49)});functionxo(t){for(vare=[],i=0;i<t.length;){varn=t[i];if(n==="*"||n==="+"||n==="?"){e.push({t
`).map(s=>s.replace(/\t/g," ")),n=[];for(let s=-2;s<=2;s++)i[e.line+s]&&n.push(e.line+s);let r=0;for(let s of n){let o=`>${s}`;o.length>r&&(r=o.length)}let a="";for(let s of n){let o=s===e.line-1;a+=o?"> ":" ",a+=`${s+1}|${i[s]}
`)}return a}function jo(t){return!(t.length!==3||!t[0]||typeof t[0]!="object")}function Nr(t,e){var i;let n=((i=e?.split("/").pop())==null?void 0:i.replace(".astro",""))??"",r=(...a)=>{if(!jo(a))throw new S({...v.InvalidComponentArgs,message:v.InvalidComponentArgs.message(n)});return t(...a)};return Object.defineProperty(r,"name",{value:n,writable:!1}),r.isAstroComponentFactory=!0,r.moduleId=e,r}function $o(t){let e=Nr(t.factory,t.moduleId);return e.propagation=t.propagation,e}function De(t,e){return typeof t=="function"?Nr(t,e):$o(t)}function Ro(){return(e,i)=>{if(typeof e=="string")throw new S({...v.AstroGlobUsedOutside,message:v.AstroGlobUsedOutside.message(JSON.stringify(e))});let n=[...Object.values(e)];if(n.length===0)throw new S({...v.AstroGlobNoMatch,message:v.AstroGlobNoMatch.message(JSON.stringify(e))});return Promise.all(n.map(r=>r()))}}function Ne(t){return{site:t?new URL(t):void 0,generator:`Astrov${Br}`,glob:Ro()}}function Io(t,e){if(t[e])return t[e];if(e==="delete"&&t.del)return t.del;if(t.all)return t.all}async function or(t,e,i){var n;let{request:r,params:a,locals:s}=e,o=(n=r.method)==null?void 0:n.toLowerCase(),u=Io(t,o);if(!i&&i===!1&&o&&o!=="get"&&console.warn(`
${o}requestsarenotavailablewhenbuildingastaticsite.Updateyourconfigto\`output: 'server'\` or \`output: 'hybrid'\` with an \`export const prerender = false\` to handle ${o} requests.`),!u||typeofu!="function")returnnewResponse(null,{status:404,headers:{"X-Astro-Response":"Not-Found"}});u.length>1&&console.warn(`
Makesuretousethestaticattributesyntax(\`${e}={value}\`) instead of the dynamic spread syntax (\`{...{ "${e}": value }}\`).`),"";if(e==="class:list"){letn=Nt(jr(t),i);returnn===""?"":N(`${e.slice(0,-5)}="${n}"`)}returne==="style"&&!(tinstanceofot)&&typeoft=="object"?N(`${e}="${Nt(Jo(t),i)}"`):e==="className"?N(` class="${Nt(t,i)}"`):t===!0&&(e.startsWith("data-")||qo.test(e))?N(`${e}`):N(`${e}="${Nt(t,i)}"`)}functionJn(t,e=!0){leti="";for(let[n,r]ofObject.entries(t))i+=re(r,n,e);returnN(i)}functionLe(t,{props:e,children:i=""},n=!0){let{lang:r,"data-astro-id":a,"define:vars":s,...o}=e;returns&&(t==="style"&&(deleteo["is:global"],deleteo["is:scoped"]),t==="script"&&(deleteo.hoist,i=Xo(s)+`
It'sstronglysuggestedtousefull${Dt("Response")}objects.`),r)if(typeof u<"u"){if(!(u instanceof Response))throw new S(v.MiddlewareNotAResponse);return u}else{if(a)return a;throw new S(v.MiddlewareNotAResponse)}else{if(typeof u>"u")throw new S(v.MiddlewareNoDataOrNextCalled);if(u instanceof Response)return u;throw new S(v.MiddlewareNotAResponse)}})}function Zu(t){return!(t instanceof Response)&&typeof t=="object"&&typeof t.body=="string"}function ea({request:t,params:e,site:i,props:n,adapterName:r}){let a={cookies:new dn(t),request:t,params:e,site:i?new URL(i):void 0,generator:`Astrov${Br}`,props:n,redirect(s,o){return new Response(null,{status:o||302,headers:{Location:s}})},url:new URL(t.url),get clientAddress(){if(!(Er in t))throw r?new S({...v.ClientAddressNotAvailable,message:v.ClientAddressNotAvailable.message(r)}):new S(v.StaticClientAddressNotAvailable);return Reflect.get(t,Er)}};return Object.defineProperty(a,"locals",{get(){return Reflect.get(t,Cr)},set(s){if(typeof s!="object")throw new S(v.LocalsNotAnObject);Reflect.set(t,Cr,s)}}),a}async function Wu(t,e,i,n,r){var a;let s=ea({request:i.request,params:i.params,props:i.props,site:e.site,adapterName:e.adapterName}),o;if(r&&r.onRequest){let u=r.onRequest;o=await Qr(e.logging,u,s,async()=>await or(t,s,e.ssr))}else o=await or(t,s,e.ssr);return o instanceof Response?(Di(o,s.cookies),{type:"response",response:o}):(e.ssr&&!((a=i.route)!=null&&a.prerender)&&(o.hasOwnProperty("headers")&&Ve(n,"ssr","Setting headers is not supported when returning an object. Please return an instance of Response. See https://docs.astro.build/en/core-concepts/endpoints/#server-endpoints-api-routes for more information."),o.encoding&&Ve(n,"ssr","`encoding` is ignored in SSR. To return a charset other than UTF-8, please return an instance of Response. See https://docs.astro.build/en/core-concepts/endpoints/#server-endpoints-api-routes for more information.")),{type:"simple",body:o.body,encoding:o.encoding,cookies:s.cookies})}function mn(t){return t[0]==="/"?t:"/"+t}function ta(t){return t.endsWith("/")?t.slice(0,t.length-1):t}function Ju(t){return t.startsWith("/")?t.substring(1):t}function Xu(t){return t.replace(/^\/|\/$/g,"")}function Yu(t){return typeof t=="string"||t instanceof String}function Fr(...t){return t.filter(Yu).map((e,i)=>i===0?ta(e):i===t.length-1?Ju(e):Xu(e)).join("/")}function Qu([t,e],i){if(!Ku.includes(typeof e))throw new S({...v.GetStaticPathsInvalidRouteParam,message:v.GetStaticPathsInvalidRouteParam.message(t,e,typeof e),location:{file:i}})}function ec(t,{ssr:e,logging:i,route:n}){if(e&&t.getStaticPaths&&!n.prerender&&Ve(i,"getStaticPaths",`getStaticPaths()in${Dt(n.component)}isignoredwhen"output: server"isset.`),(!e||n.prerender)&&!t.getStaticPaths)throw new S({...v.GetStaticPathsRequired,location:{file:n.component}})}function tc(t,e,i){if(!Array.isArray(t))throw new S({...v.InvalidGetStaticPathsReturn,message:v.InvalidGetStaticPathsReturn.message(typeof t),location:{file:i.component}});t.forEach(n=>{if(n.params===void 0||n.params===null||n.params&&Object.keys(n.params).length===0)throw new S({...v.GetStaticPathsExpectedParams,location:{file:i.component}});if(typeof n.params!="object")throw new S({...v.InvalidGetStaticPathParam,message:v.InvalidGetStaticPathParam.message(typeof n.params),location:{file:i.component}});for(let[r,a]of Object.entries(n.params))typeof a>"u"||typeof a=="string"||typeof a=="number"||Ve(e,"getStaticPaths",`invalidpathparam:${r}.Astring,numberorundefinedvaluewasexpected,butgot\`${JSON.stringify(a)}\`.`),typeofa=="string"&&a===""&&Ve(e,"getStaticPaths",`invalid path param: ${r}. \`undefined\` expected for an optional param, but got empty string.`)})}functionnc(t){returni=>{letn={};returnt.forEach((r,a)=>{r.startsWith("...")?n[r.slice(3)]=i[a+1]?decodeURIComponent(i[a+1]):void0:n[r]=decodeURIComponent(i[a+1])}),n}}functionna(t,e){leti=Object.entries(t).reduce((n,r)=>{Qu(r,e);let[a,s]=r;returnn[a]=s?.toString(),n},{});returnJSON.stringify(i,Object.keys(t).sort())}functionrc(t){returnfunction(){switch(t){c
${n>0?`There ${i?"are":"is"}${n} renderer${i?"s":""} configured in your \`astro.config.mjs\` file,
but${i?"none were":"it was not"}abletoserver-siderender\`${t}\`.`:`No valid renderer was found ${e?`for the \`.${e}\` file extension.`:"for this file extension."}`}`,hint:t=>`Didyoumeantoenablethe${t}integration?
Seehttps://docs.astro.build/en/core-concepts/framework-components/ for more information on how to install and configure integrations.`},NoClientEntrypoint:{title:"No client entrypoint specified in renderer.",code:3008,message:(t,e,i)=>`\`${t}\` component has a \`client:${e}\` directive, but no client entrypoint was provided by \`${i}\`.`,hint:"See https://docs.astro.build/en/reference/integrations-reference/#addrenderer-option for more information on how to configure your renderer."},NoClientOnlyHint:{title:"Missing hint on client:only directive.",code:3009,message:t=>`Unable to render \`${t}\`. When using the \`client:only\` hydration strategy, Astro needs a hint to use the correct renderer.`,hint:t=>`Did you mean to pass \`client:only="${t}"\`? See https://docs.astro.build/en/reference/directives-reference/#clientonly for more information on client:only`},InvalidGetStaticPathParam:{title:"Invalid value returned by a `getStaticPaths` path.",code:3010,message:t=>`Invalid params given to \`getStaticPaths\` path. Expected an \`object\`, got \`${t}\``,hint:"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths."},InvalidGetStaticPathsReturn:{title:"Invalid value returned by getStaticPaths.",code:3011,message:t=>`Invalid type returned by \`getStaticPaths\`. Expected an \`array\`, got \`${t}\``,hint:"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths."},GetStaticPathsRemovedRSSHelper:{title:"getStaticPaths RSS helper is not available anymore.",code:3012,message:"The RSS helper has been removed from `getStaticPaths`. Try the new @astrojs/rss package instead.",hint:"See https://docs.astro.build/en/guides/rss/ for more information."},GetStaticPathsExpectedParams:{title:"Missing params property on `getStaticPaths` route.",code:3013,message:"Missing or empty required `params` property on `getStaticPaths` route.",hint:"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths."},GetStaticPathsInvalidRouteParam:{title:"Invalid value for `getStaticPaths` route parameter.",code:3014,message:(t,e,i)=>`Invalid getStaticPaths route parameter for \`${t}\`. Expected undefined, a string or a number, received \`${i}\` (\`${e}\`)`,hint:"See https://docs.astro.build/en/reference/api-reference/#getstaticpaths for more information on getStaticPaths."},GetStaticPathsRequired:{title:"`getStaticPaths()` function required for dynamic routes.",code:3015,message:"`getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.",hint:'See https://docs.astro.build/en/core-concepts/routing/#dynamic-routes for more information on dynamic routes.\n\nAlternatively, set `output: "server"` in your Astro config file to switch to a non-static server build. This error can also occur if using `export const prerender = true;`.\nSee https://docs.astro.build/en/guides/server-side-rendering/ for more information on non-static rendering.'},ReservedSlotName:{title:"Invalid slot name.",code:3016,message:t=>`Unable to create a slot named \`${t}\`. \`${t}\` is a reserved slot name. Please update the name of this slot.`},NoAdapterInstalled:{title:"Cannot use Server-side Rendering without an adapter.",code:3017,message:"Cannot use `output: 'server'` or `output: 'hybrid'` without an adapter. Please install and configure the appropriate server adapter for your final deployment.",hint:"See https://docs.astro.build/en/guides/server-side-rendering/ for more information."},NoMatchingImport:{title:"No import found for component.",code:3018,message:t=>`Could not render \`${t}\`. No matching import has been found for \`${t}\`.`,hint:"Please make sure the component is properly imported."},InvalidPrerenderExport:{title:"Invalid prerender export.",code:3019,message:(t,e,i)=>{let n=i?"false":"true",r="A `prerender` export has been detected, but its value cannot be statically analyzed.";return t!=="const"&&(r+=`
Expected\`const\` declaration but got \`${t}\`.`),e!=="true"&&(r+=`
Expected\`${n}\` value but got \`${e}\`.`),r},hint:"Mutable values declared at runtime are not supported. Please make sure to use exactly `export const prerender = true`."},InvalidComponentArgs:{title:"Invalid component arguments.",code:3020,message:t=>`Invalid arguments passed to${t?` <${t}>`:""} component.`,hint:"Astro components cannot be rendered directly via function call, such as `Component()` or `{items.map(Component)}`."},PageNumberParamNotFound:{title:"Page number param not found.",code:3021,message:t=>`[paginate()] page number param \`${t}\` not found in your filepath.`,hint:"Rename your file to `[page].astro` or `[...page].astro`."},ImageMissingAlt:{title:"Missing alt property.",code:3022,message:"The alt property is required.",hint:"The `alt` property is important for the purpose of accessibility, without it users using screen readers or other assistive technologies won't be able to understand what your image is supposed to represent. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-alt for more information."},InvalidImageService:{title:"Error while loading image service.",code:3023,message:"There was an error loading the configured image service. Please see the stack trace for more information."},MissingImageDimension:{title:"Missing image dimensions",code:3024,message:(t,e)=>`Missing ${t==="both"?"width and height attributes":`${t} attribute`} for ${e}. When using remote images, both dimensions are always required in order to avoid CLS.`,hint:"If your image is inside your `src` folder, you probably meant to import it instead. See [the Imports guide for more information](https://docs.astro.build/en/guides/imports/#other-assets)."},UnsupportedImageFormat:{title:"Unsupported image format",code:3025,message:(t,e,i)=>`Received unsupported format \`${t}\` from \`${e}\`. Currently only ${i.join(", ")} are supported for optimization.`,hint:"If you do not need optimization, using an `img` tag directly instead of the `Image` component might be what you're looking for."},PrerenderDynamicEndpointPathCollide:{title:"Prerendered dynamic endpoint has path collision.",code:3026,message:t=>`Could not render \`${t}\` with an \`undefined\` param as the generated path will collide during prerendering. Prevent passing \`undefined\` as \`params\` for the endpoint's \`getStaticPaths()\` function, or add an additional extension to the endpoint's filename.`,hint:t=>`Rename \`${t}\` to \`${t.replace(/\.(js|ts)/,e=>".json"+e)}\``},ExpectedImage:{title:"Expected src to be an image.",code:3027,message:t=>`Expected \`src\` property to be either an ESM imported image or a string with the path of a remote image. Received \`${t}\`.`,hint:"This error can often happen because of a wrong path. Make sure the path to your image is correct."},ExpectedImageOptions:{title:"Expected image options.",code:3028,message:t=>`Expected getImage() parameter to be an object. Received \`${t}\`.`},MarkdownImageNotFound:{title:"Image not found.",code:3029,message:(t,e)=>`Could not find requested image \`${t}\`${e?` at \`${e}\`.`:"."}`,hint:"This is often caused by a typo in the image path. Please make sure the file exists, and is spelled correctly."},ResponseSentError:{title:"Unable to set response.",code:3030,message:"The response has already been sent to the browser and cannot be altered."},MiddlewareNoDataOrNextCalled:{title:"The middleware didn't return a response or call `next`.",code:3031,message:"The middleware needs to either return a `Response` object or call the `next` function."},MiddlewareNotAResponse:{title:"The middleware returned something that is not a `Response` object.",code:3032,message:"Any data returned from middleware must be a valid `Response` object."},LocalsNotAnObject:{title:"Value assigned to `locals` is not accepted.",code:3033,message:"`locals` can only be assigned to an object. Other values like numbers, strings, etc. are not accepted.",hint:"If you tried to remove some information from the `locals` object, try to use `delete` or set the property to `undefined`."},LocalImageUsedWrongly:{title:"ESMimported
Seehttps://astro.build/config for more information.`},UnknownCLIError:{title:"Unknown CLI Error.",code:8e3},GenerateContentTypesError:{title:"Failed to generate content types.",code:8001,message:t=>`\`astro sync\` command failed to generate content collection types: ${t}`,hint:"Check your `src/content/config.*` file for typos."},UnknownContentCollectionError:{title:"Unknown Content Collection Error.",code:9e3},InvalidContentEntryFrontmatterError:{title:"Content entry frontmatter does not match schema.",code:9001,message:(t,e,i)=>[`**${String(t)} \u2192 ${String(e)}** frontmatter does not match collection schema.`,...i.errors.map(n=>n.message)].join(`
`),hint:"See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas."},InvalidContentEntrySlugError:{title:"Invalid content entry slug.",code:9002,message:(t,e)=>`${String(t)}\u2192${String(e)}hasaninvalidslug.\`slug\` must be a string.`,hint:"See https://docs.astro.build/en/guides/content-collections/ for more on the `slug` field."},ContentSchemaContainsSlugError:{title:"Content Schema should not contain `slug`.",code:9003,message:t=>`A content collection schema should not contain \`slug\` since it is reserved for slug generation. Remove this from your ${t} collection schema.`,hint:"See https://docs.astro.build/en/guides/content-collections/ for more on the `slug` field."},CollectionDoesNotExistError:{title:"Collection does not exist",code:9004,message:t=>`The collection **${t}** does not exist. Ensure a collection directory with this name exists.`,hint:"See https://docs.astro.build/en/guides/content-collections/ for more on creating collections."},MixedContentDataCollectionError:{title:"Content and data cannot be in same collection.",code:9005,message:t=>`**${t}** contains a mix of content and data entries. All entries must be of the same type.`,hint:"Store data entries in a new collection separate from your content collection."},ContentCollectionTypeMismatchError:{title:"Collection contains entries of a different type.",code:9006,message:(t,e,i)=>`${t} contains ${e} entries, but is configured as a ${i} collection.`},DataCollectionEntryParseError:{title:"Data collection entry failed to parse.",code:9007,message:(t,e)=>`**${t}** failed to parse: ${e}`,hint:"Ensure your data entry is an object with valid JSON (for `.json` entries) or YAML (for `.yaml` entries)."},UnknownError:{title:"Unknown Error.",code:99999}};S=classextendsError{constructor(e,...i){varn;super(...i),this.type="AstroError";let{code:r,name:a,title:s,message:o,stack:u,location:c,hint:l,frame:p}=e;this.errorCode=r,a&&a!=="Error"?this.name=a:this.name=((n=No(this.errorCode))==null?void0:n.name)??"UnknownError",this.title=s,o&&(this.message=o),this.stack=u||this.stack,this.loc=c,this.hint=l,this.frame=p}setErrorCode(e){this.errorCode=e}setLocation(e){this.loc=e}setName(e){this.name=e}setMessage(e){this.message=e}setHint(e){this.hint=e}setFrame(e,i){this.frame=Bo(e,i)}staticis(e){returne.type==="AstroError"}};Br="2.5.6";Bt=sr,cn=classextendsUint8Array{};Object.defineProperty(cn.prototype,Symbol.toStringTag,{get(){return"HTMLBytes"}});ot=classextendsString{get[Symbol.toStringTag](){return"HTMLString"}},N=t=>tinstanceofot?t:typeoft=="string"?newot(t):t;Mo='(()=>{varl;{letc={0:t=>t,1:t=>JSON.parse(t,o),2:t=>newRegExp(t),3:t=>newDate(t),4:t=>newMap(JSON.parse(t,o)),5:t=>newSet(JSON.parse(t,o)),6:t=>BigInt(t),7:t=>newURL(t),8:t=>newUint8Array(JSON.parse(t)),9:t=>newUint16Array(JSON.parse(t)),10:t=>newUint32Array(JSON.parse(t))},o=(t,s)=>{if(t===""||!Array.isArray(s))returns;let[e,n]=s;returneinc?c[e](n):void0};customElements.get("astro-island")||customElements.define("astro-island",(l=classextendsHTMLElement{constructor(){super(...arguments);this.hydrate=()=>{if(!this.hydrator||this.parentElement&&this.parentElement.closest("astro-island[ssr]"))return;lets=this.querySelectorAll("astro-slot"),e={},n=this.querySelectorAll("template[data-astro-template]");for(letrofn){leti=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("data-astro-template")||"default"]=r.innerHTML,r.remove())}for(letrofs){leti=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("name")||"default"]=r.innerHTML)}leta=this.hasAttribute("props")?JSON.parse(this.getAttribute("props"),o):{};this.hydrator(this)(this.Component,a,e,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),window.removeEventListener("astro:hydrate",this.hydrate),window.dispatchEvent(newCustomEvent("astro:hydrate"))}}connectedCallback(){!this.hasAttribute("await-children")||this.firstChild?this.childrenConnectedCallback():newMutationObserver((s,e)=>{e.disconnect(),this.childrenConnectedCallback
Havefun!Ifyougetstuck,rememberto<ahref="https://docs.astro.build/">readthedocs</a> or <a href="https://astro.build/chat">joinusonDiscord</a>toaskquestions.
</a> by <a href="https://twitter.com/Charca">MaxiFerreira</a>.
</p>
`})}`},"/Users/nicola/workspace/nzambello.dev/src/pages/index.astro"),Tc="/Users/nicola/workspace/nzambello.dev/src/pages/index.astro",Nc=""});varma={};it(ma,{page:()=>Bc,renderers:()=>qe});varBd,$d,Bc,ha=z(()=>{"use strict";Gt();je();Bd=q(Ce(),1);he();$d=q(we(),1);Fe();Ae();_e();Bc=()=>Promise.resolve().then(()=>(fa(),da))});varC={};it(C,{BRAND:()=>Ea,DIRTY:()=>yi,EMPTY_PATH:()=>ya,INVALID:()=>E,NEVER:()=>as,OK:()=>G,ParseStatus:()=>H,Schema:()=>w,ZodAny:()=>Ie,ZodArray:()=>ee,ZodBigInt:()=>fe,ZodBoolean:()=>He,ZodBranded:()=>en,ZodCatch:()=>ft,ZodDate:()=>xe,ZodDefault:()=>et,ZodDiscriminatedUnion:()=>pt,ZodEffects:()=>te,ZodEnum:()=>me,ZodError:()=>Q,ZodFirstPartyTypeKind:()=>b,ZodFunction:()=>Re,ZodIntersection:()=>Je,ZodIssueCode:()=>d,ZodLazy:()=>Ye,ZodLiteral:()=>Ke,ZodMap:()=>dt,ZodNaN:()=>mt,ZodNativeEnum:()=>Qe,ZodNever:()=>pe,ZodNull:()=>We,ZodNullable:()=>ye,ZodNumber:()=>de,ZodObject:()=>P,ZodOptional:()=>ce,ZodParsedType:()=>h,ZodPipeline:()=>tt,ZodPromise:()=>Pe,ZodRecord:()=>Xe,ZodSchema:()=>w,ZodSet:()=>ve,ZodString:()=>K,ZodSymbol:()=>ct,ZodTransformer:()=>te,ZodTuple:()=>ae,ZodType:()=>w,ZodUndefined:()=>Ze,ZodUnion:()=>Ge,ZodUnknown:()=>ge,ZodVoid:()=>lt,addIssueToContext:()=>D,any:()=>Na,array:()=>Ra,bigint:()=>Aa,boolean:()=>wi,coerce:()=>rs,custom:()=>bi,date:()=>_a,default:()=>qc,defaultErrorMap:()=>St,discriminatedUnion:()=>Ma,effect:()=>vi,enum:()=>Ga,function:()=>Ha,getErrorMap:()=>Xt,getParsedType:()=>$e,instanceof:()=>wa,intersection:()=>La,isAborted:()=>An,isAsync:()=>Qt,isDirty:()=>_n,isValid:()=>Kt,late:()=>Ca,lazy:()=>Za,literal:()=>Wa,makeIssue:()=>Yt,map:()=>Va,nan:()=>Fa,nativeEnum:()=>Ja,never:()=>ja,null:()=>Ta,nullable:()=>Ka,number:()=>Ci,object:()=>Ia,objectUtil:()=>Fn,oboolean:()=>is,onumber:()=>ns,optional:()=>Ya,ostring:()=>ts,pipeline:()=>es,preprocess:()=>Qa,promise:()=>Xa,quotelessJson:()=>ga,record:()=>Ua,set:()=>qa,setErrorMap:()=>va,strictObject:()=>Pa,string:()=>Ei,symbol:()=>ka,transformer:()=>vi,tuple:()=>za,undefined:()=>Sa,union:()=>Oa,unknown:()=>Ba,util:()=>B,void:()=>$a,z:()=>qc});functionva(t){xa=t}functionXt(){returnxa}functionD(t,e){leti=Yt({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Xt(),St].filter(n=>!!n)});t.common.issues.push(i)}functionF(t){if(!t)return{};let{errorMap:e,invalid_type_error:i,required_error:n,description:r}=t;if(e&&(i||n))thrownewError(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);returne?{errorMap:e,description:r}:{errorMap:(s,o)=>s.code!=="invalid_type"?{message:o.defaultError}:typeofo.data>"u"?{message:n??o.defaultError}:{message:i??o.defaultError},description:r}}functionUc(t,e){return!!((e==="v4"||!e)&&Mc.test(t)||(e==="v6"||!e)&&Lc.test(t))}functionVc(t,e){leti=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,r=i>n?i:n,a=parseInt(t.toFixed(r).replace(".","")),s=parseInt(e.toFixed(r).replace(".",""));returna%s/Math.pow(10,r)}functionkt(t){if(tinstanceofP){lete={};for(letiint.shape){letn=t.shape[i];e[i]=ce.create(kt(n))}returnnewP({...t._def,shape:()=>e})}elsereturntinstanceofee?newee({...t._def,type:kt(t.element)}):tinstanceofce?ce.create(kt(t.unwrap())):tinstanceofye?ye.create(kt(t.unwrap())):tinstanceofae?ae.create(t.items.map(e=>kt(e))):t}functionxi(t,e){leti=$e(t),n=$e(e);if(t===e)return{valid:!0,data:t};if(i===h.object&&n===h.object){letr=B.objectKeys(e),a=B.objectKeys(t).filter(o=>r.indexOf(o)!==-1),s={...t,...e};for(letoofa){letu=xi(t[o],e[o]);if(!u.valid)return{valid:!1};s[o]=u.data}return{valid:!0,data:s}}elseif(i===h.array&&n===h.array){if(t.length!==e.length)return{valid:!1};letr=[];for(leta=0;a<t.length;a++){lets=t[a],o=e[a],u=xi(s,o);if(!u.valid)return{valid:!1};r.push(u.data)}return{valid:!0,data:r}}elsereturni===h.date&&n===h.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}functionba(t,e){returnnewme({values:t,typeName:b.ZodEnum,...F(e)})}varB,Fn,h,$e,d,ga,Q,St,xa,Yt,ya,H,E,yi,G,An,_n,Kt,Qt,y,le,Da,w,jc,$c,Rc,Ic,Pc,Oc,Mc,Lc,zc,K,de,fe,He,xe,ct,Ze,W
`&&t[a]!=="\r";a++)u+=t[a];if(u=u.trim(),u[u.length-1]==="/"&&(u=u.substring(0,u.length-1),a--),!il(u)){let p;return u.trim().length===0?p="Invalid space after '<'.":p="Tag '"+u+"' is an invalid name.",U("InvalidTag",p,ne(t,a))}let c=Kc(t,a);if(c===!1)return U("InvalidAttr","Attributes for '"+u+"' have open quote.",ne(t,a));let l=c.value;if(a=c.index,l[l.length-1]==="/"){let p=a-l.length;l=l.substring(0,l.length-1);let f=ds(l,e);if(f===!0)n=!0;else return U(f.err.code,f.err.msg,ne(t,p+f.err.line))}else if(o)if(c.tagClosed){if(l.trim().length>0)return U("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",ne(t,s));{let p=i.pop();if(u!==p.tagName){let f=ne(t,p.tagStartPos);return U("InvalidTag","Expected closing tag '"+p.tagName+"' (opened in line "+f.line+", col "+f.col+") instead of closing tag '"+u+"'.",ne(t,s))}i.length==0&&(r=!0)}}else return U("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",ne(t,a));else{let p=ds(l,e);if(p!==!0)return U(p.err.code,p.err.msg,ne(t,a-l.length+p.err.line));if(r===!0)return U("InvalidXml","Multiple possible root nodes found.",ne(t,a));e.unpairedTags.indexOf(u)!==-1||i.push({tagName:u,tagStartPos:s}),n=!0}for(a++;a<t.length;a++)if(t[a]==="<")if(t[a+1]==="!"){a++,a=ps(t,a);continue}else if(t[a+1]==="?"){if(a=ls(t,++a),a.err)return a}else break;else if(t[a]==="&"){let p=tl(t,a);if(p==-1)return U("InvalidChar","char '&' is not expected.",ne(t,a));a=p}else if(r===!0&&!cs(t[a]))return U("InvalidXml","Extra text at the end",ne(t,a));t[a]==="<"&&a--}}else{if(cs(t[a]))continue;return U("InvalidChar","char '"+t[a]+"' is not expected.",ne(t,a))}if(n){if(i.length==1)return U("InvalidTag","Unclosed tag '"+i[0].tagName+"'.",ne(t,i[0].tagStartPos));if(i.length>0)return U("InvalidXml","Invalid '"+JSON.stringify(i.map(a=>a.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return U("InvalidXml","Start tag expected.",1);return!0};function cs(t){return t===" "||t===" "||t===`
`||t==="\r"}function ls(t,e){let i=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(i,e-i);if(e>5&&n==="xml")return U("InvalidXml","XML declaration allowed only at the start of the document.",ne(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function ps(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let i=1;for(e+=8;e<t.length;e++)if(t[e]==="<")i++;else if(t[e]===">"&&(i--,i===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}var Xc='"',Yc="'";function Kc(t,e){let i="",n="",r=!1;for(;e<t.length;e++){if(t[e]===Xc||t[e]===Yc)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){r=!0;break}i+=t[e]}return n!==""?!1:{value:i,index:e,tagClosed:r}}var Qc=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function ds(t,e){let i=_i.getAllMatches(t,Qc),n={};for(let r=0;r<i.length;r++){if(i[r][1].length===0)return U("InvalidAttr","Attribute '"+i[r][2]+"' has no space in starting.",tn(i[r]));if(i[r][3]!==void 0&&i[r][4]===void 0)return U("InvalidAttr","Attribute '"+i[r][2]+"' is without value.",tn(i[r]));if(i[r][3]===void 0&&!e.allowBooleanAttributes)return U("InvalidAttr","boolean attribute '"+i[r][2]+"' is not allowed.",tn(i[r]));let a=i[r][2];if(!nl(a))return U("InvalidAttr","Attribute '"+a+"' is an invalid name.",tn(i[r]));if(!n.hasOwnProperty(a))n[a]=1;else return U("InvalidAttr","Attribute '"+a+"'isrepeated.",tn(i[r]))}return!0}function el(t,e){let i=/\d/;for(t[e]==="x"&&(e++,i=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(i))break}return-1}function tl(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,el(t,e);let i=0;for(;e<t.length;e++,i++)if(!(t[e].match(/\w/)&&i<20)){if(t[e]===";")break;return-1}return e}function U(t,e,i){return{err:{code:t,msg:e,line:i.line||i,col:i.col}}}function nl(t){return _i.isName(t)}function il(t){return _i.isName(t)}function ne(t,e){let i=t.substring(0,e).split(/\r?\n/);return{line:i.length,col:i[i.length-1].length+1}}function tn(t){return t.startIndex+t[1].length}});var hs=V(Si=>{var ms={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,i){return t}},rl=function(t){return Object.assign({},ms,t)};Si.buildOptions=rl;Si.defaultOptions=ms});var gs=V((Vd,Ds)=>{"usestrict";var Ti=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,i){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:i})}addChild(e){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,[":@"]:e[":@"]}):this.child.push({[e.tagname]:e.child})}};Ds.exports=Ti});var vs=V((qd,xs)=>{function al(t,e){let i={};if(t[e+3]==="O"&&t[e+4]==="C"&&t[e+5]==="T"&&t[e+6]==="Y"&&t[e+7]==="P"&&t[e+8]==="E"){e=e+9;let n=1,r=!1,a=!1,s="";for(;e<t.length;e++)if(t[e]==="<"&&!a){if(r&&ul(t,e))e+=7,[entityName,val,e]=sl(t,e+1),val.indexOf("&")===-1&&(i[entityName]={regx:RegExp(`&${entityName};`,"g"),val});else if(r&&cl(t,e))e+=8;else if(r&&ll(t,e))e+=8;else if(r&&pl(t,e))e+=9;else if(ol)a=!0;else throw new Error("InvalidDOCTYPE");n++,s=""}else if(t[e]===">"){if(a?t[e-1]==="-"&&t[e-2]==="-"&&(a=!1,n--):n--,n===0)break}else t[e]==="["?r=!0:s+=t[e];if(n!==0)throw new Error("UnclosedD
`);let e=new nn("!xml"),i=e,n="",r="";for(let a=0;a<t.length;a++)if(t[a]==="<")if(t[a+1]==="/"){let o=ht(t,">",a,"Closing Tag is not closed."),u=t.substring(a+2,o).trim();if(this.options.removeNSPrefix){let p=u.indexOf(":");p!==-1&&(u=u.substr(p+1))}this.options.transformTagName&&(u=this.options.transformTagName(u)),i&&(n=this.saveTextToParentTag(n,i,r));let c=r.substring(r.lastIndexOf(".")+1);if(u&&this.options.unpairedTags.indexOf(u)!==-1)throw new Error(`Unpairedtagcannotbeusedasclosingtag:</${u}>`);let l=0;c&&this.options.unpairedTags.indexOf(c)!==-1?(l=r.lastIndexOf(".",r.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=r.lastIndexOf("."),r=r.substring(0,l),i=this.tagsNodeStack.pop(),n="",a=o}else if(t[a+1]==="?"){let o=Bi(t,a,!1,"?>");if(!o)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,i,r),!(this.options.ignoreDeclaration&&o.tagName==="?xml"||this.options.ignorePiTags)){let u=new nn(o.tagName);u.add(this.options.textNodeName,""),o.tagName!==o.tagExp&&o.attrExpPresent&&(u[":@"]=this.buildAttributesMap(o.tagExp,r,o.tagName)),this.addChild(i,u,r)}a=o.closeIndex+1}else if(t.substr(a+1,3)==="!--"){let o=ht(t,"-->",a+4,"Comment is not closed.");if(this.options.commentPropName){let u=t.substring(a+4,o-2);n=this.saveTextToParentTag(n,i,r),i.add(this.options.commentPropName,[{[this.options.textNodeName]:u}])}a=o}else if(t.substr(a+1,2)==="!D"){let o=gl(t,a);this.docTypeEntities=o.entities,a=o.i}else if(t.substr(a+1,2)==="!["){let o=ht(t,"]]>",a,"CDATA is not closed.")-2,u=t.substring(a+9,o);if(n=this.saveTextToParentTag(n,i,r),this.options.cdataPropName)i.add(this.options.cdataPropName,[{[this.options.textNodeName]:u}]);else{let c=this.parseTextData(u,i.tagname,r,!0,!1,!0);c==null&&(c=""),i.add(this.options.textNodeName,c)}a=o+2}else{let o=Bi(t,a,this.options.removeNSPrefix),u=o.tagName,c=o.tagExp,l=o.attrExpPresent,p=o.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),i&&n&&i.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,i,r,!1));let f=i;if(f&&this.options.unpairedTags.indexOf(f.tagname)!==-1&&(i=this.tagsNodeStack.pop(),r=r.substring(0,r.lastIndexOf("."))),u!==e.tagname&&(r+=r?"."+u:u),this.isItStopNode(this.options.stopNodes,r,u)){let x="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)a=o.closeIndex;else if(this.options.unpairedTags.indexOf(u)!==-1)a=o.closeIndex;else{let _=this.readStopNodeData(t,u,p+1);if(!_)throw new Error(`Unexpected end of ${u}`);a=_.i,x=_.tagContent}let g=new nn(u);u!==c&&l&&(g[":@"]=this.buildAttributesMap(c,r,u)),x&&(x=this.parseTextData(x,u,r,!0,l,!0,!0)),r=r.substr(0,r.lastIndexOf(".")),g.add(this.options.textNodeName,x),this.addChild(i,g,r)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){u[u.length-1]==="/"?(u=u.substr(0,u.length-1),c=u):c=c.substr(0,c.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let x=new nn(u);u!==c&&l&&(x[":@"]=this.buildAttributesMap(c,r,u)),this.addChild(i,x,r),r=r.substr(0,r.lastIndexOf("."))}else{let x=new nn(u);this.tagsNodeStack.push(i),u!==c&&l&&(x[":@"]=this.buildAttributesMap(c,r,u)),this.addChild(i,x,r),i=x}n="",a=p}}else n+=t[a];return e.child};function Fl(t,e,i){let n=this.options.updateTag(e.tagname,i,e[":@"]);n===!1||(typeof n=="string"&&(e.tagname=n),t.addChild(e))}var Al=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){let i=this.docTypeEntities[e];t=t.replace(i.regx,i.val)}for(let e in this.lastEntities){let i=this.lastEntities[e];t=t.replace(i.regex,i.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){let i=this.htmlEntities[e];t=t.replace(i.regex,i.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function _l(t,e,i,n){return t&&(n===void 0&&(n=Object.keys(e.child).length===0),t=this.parseTextData(t,e.tagname,i,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function kl(t,e,i){let n="*."+i;for(let r in t){let a=t[r];if(n===a||e===a)return!0}return!1}function Sl(t,e,i=">"){let n,r="";for(leta=e;a<t.length;a++){lets=t[a];if(n
`))}function np(t){return Promise.all(Object.entries(t).map(async([e,i])=>{let{url:n,frontmatter:r}=await i();if(n==null)throw new Error("[RSS] You can only glob entries within 'src/pages/' when passing import.meta.glob() directly. Consider mapping the result to an array of RSSFeedItems. See the RSS docs for usage examples: https://docs.astro.build/en/guides/rss/#2-list-of-rss-feed-objects");let a=zs.safeParse({...r,link:n},{errorMap:Ii});if(a.success)return a.data;let s=new Error([`[RSS]${e}hasinvalidormissingfrontmatter.