PageSourceSearch

https://www.natursidan.se/app/themes/hopp/assets/javascript/chunks/continuous-scroll-controller.2ed0d421.js

js natursidan.se collected 2026-09-24 09:56:57 UTC 1,608 bytes, 1 lines download raw bytes

1var C=Object.defineProperty;var I=(n,a,t)=>a in n?C(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t;var o=(n,a,t)=>I(n,typeof a!="symbol"?a+"":a,t);import{C as N,j as S,k as y,l as b,n as O,p as M}from"../application.3a13dd1a.js";class T extends N{constructor(){super(...arguments);o(this,"observer",null)}connect(){const[,t]=S(this,{dispatchEvent:!1,rootMargin:this.rootMarginValue});this.unobserve=t}appear(){this.unobserve(),this.load()}async load(){const t=this.linkTargets.map(s=>s.href),g=await Promise.all(t.map(s=>y(s))),f=await Promise.all(g.map(async(s,r)=>{var p,d,m,u,h;const E=await s.text(),l=new DOMParser().parseFromString(E,"text/html"),c=l.querySelector("body"),e=l.querySelector(b);return(p=e.dataset).pageType??(p.pageType=c.dataset.pageType),(d=e.dataset).pageId??(d.pageId=c.dataset.pageId),(m=e.dataset).pagePublicationDate??(m.pagePublicationDate=c.dataset.pagePublicationDate),(u=e.dataset).contentItemTitle??(u.contentItemTitle=l.title),(h=e.dataset).contentItemHref??(h.contentItemHref=t[r]),e.dataset.contentItemContext=O,e.dataset.contentItemContinuousScrollPosition=r+1,M(e),e})),i=document.createDocumentFragment();f.forEach(s=>{if(this.hasSeparatorTemplateTarget){const r=this.separatorTemplateTarget.content.cloneNode(!0);r.firstElementChild&&r.firstElementChild.classList.add(this.firstSeparatorClassNameValue),i.appendChild(r)}i.appendChild(s)}),this.element.appendChild(i)}}o(T,"targets",["separatorTemplate","link"]),o(T,"values",{rootMargin:{type:String,default:"50% 0px"},firstSeparatorClassName:{type:String,default:"is-first"}});export{T as default};

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.