\n `:`\n
\n No preview available\n
\n `}\n \n \n \n `,o.appendChild(t),c.appendChild(o)}))}async function h(){if(s||g>=e)return;s=!0,p&&(p.textContent="Loading...",p.disabled=!0);const t=l.length,a=Math.min(20,r.length-t),i=r.slice(t,t+a);if(console.log("TAG PAGE - Client-side loading:",{alreadyLoaded:t,nextBatchSize:a,attemptingToLoad:i.length,totalAvailableForTag:r.length}),i.length>0){const t=new Map;l.forEach((e=>t.set(e.id,!0)));const a=i.filter((e=>!t.has(e.id)));a.length!==i.length&&console.warn(`Found ${i.length-a.length} duplicate sites that were filtered out`),a.length>0?(b(a),l.push(...a),g=l.length,console.log(`Added ${a.length} sites (now showing ${g}/17)`),m&&(m.textContent=g.toString()),p&&(g>=e?(p.style.display="none",console.log("Reached end of content for this tag")):(p.textContent=`Load more (${g} / 17)`,p.disabled=!1)),n&&o.length{t>=o.length&&e.remove()}))}l=[...o],g=l.length,m&&(m.textContent=g.toString()),p&&(p.textContent=`Load more (${g} / 17)`,go.length&&(i=a,n&&(n.style.display="block"))}}catch(e){console.error("Error restoring state:",e)}}(),p&&p.addEventListener("click",h),n&&n.addEventListener("click",f),i>0&&(window.scrollTo(0,i),i=0),document.querySelectorAll('a[href^="/go/"]').forEach((e=>{e.addEventListener("click",d)})),function(){try{const e=sessionStorage.getItem("previousSiteForTagOrColorPage");if(e){const o=JSON.parse(e),t=document.querySelector('nav a[href="/"][data-astro-prefetch]'),a=document.getElementById("back-to-previous-site-link");if(a){const e=a.parentElement;if(e){const o=document.getElementById("tag-page-back-link-separator");o&&o.parentElement===e&&e.removeChild(o),e.removeChild(a)}}if(t&&o.title&&o.slug){const e=t.parentElement;if(e){const a=document.createElement("a");a.id="back-to-previous-site-link",a.href=`/go/${o.slug}`,a.setAttribute("data-astro-prefetch",""),a.className="text-sm sm:text-base",a.setAttribute("aria-label",`Go back to ${o.title}`);const r=document.createElement("span");r.setAttribute("aria-hidden","true"),r.textContent=" 👉";const l=document.createElement("span");l.className="underline hover:decoration-wavy hover:text-cssline",l.textContent=`Back to ${o.title}`,a.appendChild(l),a.appendChild(r);const s=document.createElement("span");s.id="tag-page-back-link-separator",s.className="mx-2 text-gray-400",s.textContent="|",s.setAttribute("aria-hidden","true"),t.nextSibling?(e.insertBefore(s,t.nextSibling),e.insertBefore(a,s.nextSibling)):(e.appendChild(s),e.appendChild(a)),e.style.display="flex",e.style.alignItems="center",e.style.gap="0.5rem",sessionStorage.removeItem("previousSiteForTagOrColorPage")}}}}catch(e){console.error("Error creating back link for tag page:",e)}}()}m&&(m.textContent=g.toString()),p&&g>=e&&(p.style.display="none"),"complete"===document.readyState||"interactive"===document.readyState?u():document.addEventListener("DOMContentLoaded",u),document.addEventListener("astro:page-load",(()=>{const o=[...t];if(l=o.slice(0,20),g=l.length,c&&(c.innerHTML="",b(l)),m&&(m.textContent=g.toString()),p&&(g>=e?p.style.display="none":(p.style.display="block",p.textContent=`Load more (${g} / 17)`,p.disabled=!1),p.removeEventListener("click",h),p.addEventListener("click",h)),n){JSON.parse(localStorage.getItem(`cssline-tag-state-${a}`)||"{}").siteCount>l.length?n.style.display="block":n.style.display="none",n.removeEventListener("click",f),n.addEventListener("click",f)}document.querySelectorAll('a[href^="/go/"]').forEach((e=>{e.removeEventListener("click",d),e.addEventListener("click",d)})),u()})),window.addEventListener("beforeunload",d)}()