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