PageSourceSearch

https://itspigeon.xin/_astro/HomeSider.astro_astro_type_script_index_0_lang.BXk_FqDU.js

js itspigeon.xin collected 2026-09-25 22:38:11 UTC 1,573 bytes, 1 lines download raw bytes

1import{n as e,r as t,t as n}from"./app.Cj3D_ldy.js";var r=class extends HTMLElement{infoContent=null;directoryContent=null;seriesContent=null;pageType=null;defaultType=null;unsubscribe=null;animationFrame=null;connectedCallback(){this.infoContent=this.querySelector(`[slot="info"]`),this.directoryContent=this.querySelector(`[slot="directory"]`),this.seriesContent=this.querySelector(`[slot="series"]`),this.pageType=this.getAttribute(`data-type`),this.defaultType=this.getAttribute(`data-default-type`),this.initContent()}initContent(){if(this.pageType===t.HOME)this.showContent(e.INFO,!0);else{let t=this.defaultType||e.INFO;n.set(t),this.showContent(t,!0),this.unsubscribe?.(),this.unsubscribe=n.listen(e=>{this.showContent(e,!1)})}}showContent(t,n=!1){let r=[this.infoContent,this.directoryContent,this.seriesContent],i=null;if(i=t===e.DIRECTORY?this.directoryContent:t===e.SERIES?this.seriesContent:this.infoContent,n){r.forEach(e=>{e?.classList.add(`hidden`)}),i?.classList.remove(`hidden`);return}i&&!i.classList.contains(`hidden`)||(this.animationFrame!==null&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=null),r.forEach(e=>{e?.classList.toggle(`hidden`,e!==i),e?.classList.remove(`entering`)}),i&&(this.animationFrame=requestAnimationFrame(()=>{i.classList.add(`entering`),this.animationFrame=null})))}disconnectedCallback(){this.unsubscribe?.(),this.unsubscribe=null,this.animationFrame!==null&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=null)}};customElements.get(`sider-content`)||customElements.define(`sider-content`,r);

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.