1import{i as W}from"./index.D_LyP0-c.js";const y="data-astro-transition-persist",V=["data-astro-transition","data-astro-transition-fallback"],x=new Set;function H(t){const e=t.src?new URL(t.src,location.href).href:t.textContent;return x.has(e)?!0:(x.add(e),!1)}function j(t){for(const e of t.scripts)!e.hasAttribute("data-astro-rerun")&&H(e)&&(e.dataset.astroExec="")}function K(t){const e=document.documentElement,n=[...e.attributes].filter(({name:r})=>(e.removeAttribute(r),V.includes(r)));[...t.documentElement.attributes,...n].forEach(({name:r,value:o})=>e.setAttribute(r,o))}function G(t){for(const e of Array.from(document.head.children)){const n=Q(e,t);n?n.remove():e.remove()}document.head.append(...t.head.children)}function z(t,e){e.replaceWith(t);for(const n of e.querySelectorAll(`[${y}]`)){const r=n.getAttribute(y),o=t.querySelector(`[${y}="${r}"]`);o&&(o.replaceWith(n),o.localName==="astro-island"&&Z(n)&&!tt(n,o)&&(n.setAttribute("ssr",""),n.setAttribute("props",o.getAttribute("props"))))}_(t)}function _(t){t.querySelectorAll("template[shadowrootmode]").forEach(e=>{const n=e.getAttribute("shadowrootmode"),r=e.parentNode;if((n==="closed"||n==="open")&&r instanceof HTMLElement){const o=r.attachShadow({mode:n});o.appendChild(e.content),e.remove(),_(o)}})}const J=()=>{const t=document.activeElement;if(t?.closest(`[${y}]`)){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){const e=t.selectionStart,n=t.selectionEnd;return()=>E({activeElement:t,start:e,end:n})}return()=>E({activeElement:t})}else return()=>E({activeElement:null})},E=({activeElement:t,start:e,end:n})=>{t&&(t.focus(),(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(typeof e=="number"&&(t.selectionStart=e),typeof n=="number"&&(t.selectionEnd=n)))},Q=(t,e)=>{const n=t.getAttribute(y),r=n&&e.head.querySelector(`[${y}="${n}"]`);if(r)return r;if(t.matches("link[rel=stylesheet]")){const o=t.getAttribute("href");return e.head.querySelector(`link[rel=stylesheet][href="${o}"]`)}return null},Z=t=>{const e=t.dataset.astroTransitionPersistProps;return e==null||e==="false"},tt=(t,e)=>t.getAttribute("props")===e.getAttribute("props"),et=t=>{j(t),K(t),G(t);const e=J();z(t.body,document.body),e()},nt="astro:before-preparation",ot="astro:after-preparation",rt="astro:before-swap",it="astro:after-swap",st=t=>document.dispatchEvent(new Event(t));class X extends Event{from;to;direction;navigationType;sourceElement;info;newDocument;signal;constructor(e,n,r,o,s,u,a,c,d,l){super(e,n),this.from=r,this.to=o,this.direction=s,this.navigationType=u,this.sourceElement=a,this.info=c,this.newDocument=d,this.signal=l,Object.defineProperties(this,{from:{enumerable:!0},to:{enumerable:!0,writable:!0},direction:{enumerable:!0,writable:!0},navigationType:{enumerable:!0},sourceElement:{enumerable:!0},info:{enumerable:!0},newDocument:{enumerable:!0,writable:!0},signal:{enumerable:!0}})}}class at extends X{formData;loader;constructor(e,n,r,o,s,u,a,c,d,l){super(nt,{cancelable:!0},e,n,r,o,s,u,a,c),this.formData=d,this.loader=l.bind(this,this),Object.defineProperties(this,{formData:{enumerable:!0},loader:{enumerable:!0,writable:!0}})}}class ct extends X{direction;viewTransition;swap;constructor(e,n){super(rt,void 0,e.from,e.to,e.direction,e.navigationType,e.sourceElement,e.info,e.newDocument,e.signal),this.direction=e.direction,this.viewTransition=n,this.swap=()=>et(this.newDocument),Object.defineProperties(this,{direction:{enumerable:!0},viewTransition:{enumerable:!0},swap:{enumerable:!0,writable:!0}})}}async function lt(t,e,n,r,o,s,u,a,c){const d=new at(t,e,n,r,o,s,window.document,u,a,c);return document.dispatchEvent(d)&&(await d.loader(),d.defaultPrevented||(st(ot),d.navigationType!=="traverse"&&R({scrollX,scrollY}))),d}async function ut(t,e,n){const r=new ct(t,e);return document.dispatchEvent(r),n&&await n(),r.swap(),r}const R=t=>{history.state&&(history.scrollRestoration="manual",history.replaceState({...history.state,...t},""))},L=!!document.startViewTransition,k=()=>!!document.querySelector('[name="astro-view-transitions-enabled"]'),Y=(t,e)=>t.pathname===e.pathname&&t.search===e.search;let m,b,v;const C=t=>document.dispatchEvent(new Event(t)),q=()=>C("astro:page-load"),dt=()=>{let t=document.createElement("div");t.setAttribute("aria-live","assertive"),t.setAttribute("aria-atomic","true"),t.className="astro-route-announcer",document.body.append(t),setTimeout(()=>{let e=document.title||document.querySelector("h1")?.textContent||location.pathname;t.textContent=e},60)},D="data-astro-transition-persist",P="data-astro-transition",S="data-astro-transition-fallback";let I,T=0;history.state?(T=history.state.index,scrollTo({left:history.state.scrollX,top:history.state.scrollY})):k()&&(history.replaceState({index:T,scrollX,scrollY},""),history.scrollRestoration="manual");async function ft(t,e){try{const n=await fetch(t,e),o=(n.headers.get("content-type")??"").split(";",1)[0].trim();return o!=="text/html"&&o!=="application/xhtml+xml"?null:{html:await n.text(),redirected:n.redirected?n.url:void 0,mediaType:o}}catch{return null}}function $(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function mt(){let t=Promise.resolve(),e=!1;for(const n of document.getElementsByTagName("script"))n.dataset.astroExec===void 0&&n.getAttribute("type")==="module"&&(e=n.getAttribute("src")===null);e&&document.body.insertAdjacentHTML("beforeend",'<script type="module" src="data:application/javascript,"/>');for(const n of document.getElementsByTagName("script")){if(n.dataset.astroExec==="")continue;const r=n.getAttribute("type");if(r&&r!=="module"&&r!=="text/javascript")continue;const o=document.createElement("script");o.innerHTML=n.innerHTML;
1for(const s of n.attributes){if(s.name==="src"){const u=new Promise(a=>{o.onload=o.onerror=a});t=t.then(()=>u)}o.setAttribute(s.name,s.value)}o.dataset.astroExec="",n.replaceWith(o)}return t}const B=(t,e,n,r,o)=>{const s=Y(e,t),u=document.title;document.title=r;let a=!1;if(t.href!==location.href&&!o)if(n.history==="replace"){const c=history.state;history.replaceState({...n.state,index:c.index,scrollX:c.scrollX,scrollY:c.scrollY},"",t.href)}else history.pushState({...n.state,index:++T,scrollX:0,scrollY:0},"",t.href);if(document.title=u,v=t,s||(scrollTo({left:0,top:0,behavior:"instant"}),a=!0),o)scrollTo(o.scrollX,o.scrollY);else{if(t.hash){history.scrollRestoration="auto";const c=history.state;location.href=t.href,history.state||(history.replaceState(c,""),s&&window.dispatchEvent(new PopStateEvent("popstate")))}else a||scrollTo({left:0,top:0,behavior:"instant"});history.scrollRestoration="manual"}};function ht(t){const e=[];for(const n of t.querySelectorAll("head link[rel=stylesheet]"))if(!document.querySelector(`[${D}="${n.getAttribute(D)}"], link[rel=stylesheet][href="${n.getAttribute("href")}"]`)){const r=document.createElement("link");r.setAttribute("rel","preload"),r.setAttribute("as","style"),r.setAttribute("href",n.getAttribute("href")),e.push(new Promise(o=>{["load","error"].forEach(s=>r.addEventListener(s,o)),document.head.append(r)}))}return e}async function N(t,e,n,r,o){async function s(d){function l(f){const w=f.effect;return!w||!(w instanceof KeyframeEffect)||!w.target?!1:window.getComputedStyle(w.target,w.pseudoElement).animationIterationCount==="infinite"}const i=document.getAnimations();document.documentElement.setAttribute(S,d);const g=document.getAnimations().filter(f=>!i.includes(f)&&!l(f));return Promise.allSettled(g.map(f=>f.finished))}const u=async()=>{if(o==="animate"&&!n.transitionSkipped&&!t.signal.aborted)try{await s("old")}catch{}},a=document.title,c=await ut(t,n.viewTransition,u);B(c.to,c.from,e,a,r),C(it),o==="animate"&&(!n.transitionSkipped&&!c.signal.aborted?s("new").finally(()=>n.viewTransitionFinished()):n.viewTransitionFinished())}function wt(){return m?.controller.abort(),m={controller:new AbortController}}async function U(t,e,n,r,o){const s=wt();if(!k()||location.origin!==n.origin){s===m&&(m=void 0),location.href=n.href;return}const u=o?"traverse":r.history==="replace"?"replace":"push";if(u!=="traverse"&&R({scrollX,scrollY}),Y(e,n)&&!r.formData&&(t!=="back"&&n.hash||t==="back"&&e.hash)){B(n,e,r,document.title,o),s===m&&(m=void 0);return}
1const a=await lt(e,n,t,u,r.sourceElement,r.info,s.controller.signal,r.formData,c);if(a.defaultPrevented||a.signal.aborted){s===m&&(m=void 0),a.signal.aborted||(location.href=n.href);return}async function c(i){const h=i.to.href,g={signal:i.signal};if(i.formData){g.method="POST";const p=i.sourceElement instanceof HTMLFormElement?i.sourceElement:i.sourceElement instanceof HTMLElement&&"form"in i.sourceElement?i.sourceElement.form:i.sourceElement?.closest("form");g.body=e!==void 0&&Reflect.get(HTMLFormElement.prototype,"attributes",p).getNamedItem("enctype")?.value==="application/x-www-form-urlencoded"?new URLSearchParams(i.formData):i.formData}const f=await ft(h,g);if(f===null){i.preventDefault();return}if(f.redirected){const p=new URL(f.redirected);if(p.origin!==i.to.origin){i.preventDefault();return}i.to=p}if(I??=new DOMParser,i.newDocument=I.parseFromString(f.html,f.mediaType),i.newDocument.querySelectorAll("noscript").forEach(p=>p.remove()),!i.newDocument.querySelector('[name="astro-view-transitions-enabled"]')&&!i.formData){i.preventDefault();return}const w=ht(i.newDocument);w.length&&!i.signal.aborted&&await Promise.all(w)}async function d(){if(b&&b.viewTransition){try{b.viewTransition.skipTransition()}catch{}try{await b.viewTransition.updateCallbackDone}catch{}}return b={transitionSkipped:!1}}const l=await d();if(a.signal.aborted){s===m&&(m=void 0);return}if(document.documentElement.setAttribute(P,a.direction),L)l.viewTransition=document.startViewTransition(async()=>await N(a,r,l,o));else{const i=(async()=>{await Promise.resolve(),await N(a,r,l,o,$())})();l.viewTransition={updateCallbackDone:i,ready:i,finished:new Promise(h=>l.viewTransitionFinished=h),skipTransition:()=>{l.transitionSkipped=!0,document.documentElement.removeAttribute(S)},types:new Set}}l.viewTransition?.updateCallbackDone.finally(async()=>{await mt(),q(),dt()}),l.viewTransition?.finished.finally(()=>{l.viewTransition=void 0,l===b&&(b=void 0),s===m&&(m=void 0),document.documentElement.removeAttribute(P),document.documentElement.removeAttribute(S)});try{await l.viewTransition?.updateCallbackDone}catch(i){const h=i;console.log("[astro]",h.name,h.message,h.stack)}}async function M(t,e){await U("forward",v,new URL(t,location.href),e??{})}function pt(t){if(!k()&&t.state){location.reload();return}if(t.state===null)return;const e=history.state,n=e.index,r=n>T?"forward":"back";T=n,U(r,v,new URL(location.href),{},e)}const O=()=>{history.state&&(scrollX!==history.state.scrollX||scrollY!==history.state.scrollY)&&R({scrollX,scrollY})};{if(L||$()!=="none")if(v=new URL(location.href),addEventListener("popstate",pt),addEventListener("load",q),"onscrollend"in window)addEventListener("scrollend",O);else{let t,e,n,r;const o=()=>{if(r!==history.state?.index){clearInterval(t),t=void 0;return}if(e===scrollY&&n===scrollX){clearInterval(t),t=void 0,O();return}else e=scrollY,n=scrollX};addEventListener("scroll",()=>{t===void 0&&(r=history.state?.index,e=scrollY,n=scrollX,t=window.setInterval(o,50))},{passive:!0})}for(const t of document.getElementsByTagName("script"))H(t),t.dataset.astroExec=""}let A=null;function bt(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function F(t){return t.dataset.astroReload!==void 0}const yt=t=>t.button&&t.button!==0||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey;(L||bt()!=="none")&&(document.addEventListener("click",t=>{let e=t.target;if(A=yt(t)?e:null,t.composed&&(e=t.composedPath()[0]),e instanceof Element&&(e=e.closest("a, area")),!(e instanceof HTMLAnchorElement)&&!(e instanceof SVGAElement)&&!(e instanceof HTMLAreaElement))return;const n=e instanceof HTMLElement?e.target:e.target.baseVal,r=e instanceof HTMLElement?e.href:e.href.baseVal,o=new URL(r,location.href).origin;F(e)||e.hasAttribute("download")||!e.href||n&&n!=="_self"||o!==location.origin||A||t.defaultPrevented||(t.preventDefault(),M(r,{history:e.dataset.astroHistory==="replace"?"replace":"auto",sourceElement:e}))}),document.addEventListener("submit",t=>{let e=t.target;const n=t.submitter,r=n&&n===A;if(A=null,e.tagName!=="FORM"||t.defaultPrevented||F(e)||r)return;
1const o=e,s=new FormData(o,n),u=typeof o.action=="string"?o.action:o.getAttribute("action"),a=typeof o.method=="string"?o.method:o.getAttribute("method");let c=n?.getAttribute("formaction")??u??location.pathname;const d=n?.getAttribute("formmethod")??a??"get";if(d==="dialog"||location.origin!==new URL(c,location.href).origin)return;const l={sourceElement:n??o};if(d==="get"){const i=new URLSearchParams(s),h=new URL(c);h.search=i.toString(),c=h.toString()}else l.formData=s;t.preventDefault(),M(c,l)}),W({prefetchAll:!0}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.