PageSourceSearch

https://www.berghilfe.ch/build/assets/Gallery-b85dc358.js

js berghilfe.ch collected 2026-10-02 11:51:02 UTC 702 bytes, 1 lines download raw bytes

1const i={moreSelector:"[data-more]",hiddenClass:"-hidden"};class n{constructor(t,e={}){this.$container=t,this.settings={...i,...e}}init(){return typeof this.$container=="string"&&(this.$container=document.querySelector(this.$container)),this.$container===null?this:(this.$container.addEventListener("click",t=>this.onClick(t)),this)}onClick(t){return t.target.closest(this.settings.moreSelector)===null?this:this.onMoreClicked()}onMoreClicked(){[...this.$container.querySelectorAll(`.${this.settings.hiddenClass}`)].forEach(t=>t.classList.remove(this.settings.hiddenClass)),[...this.$container.querySelectorAll(this.settings.moreSelector)].forEach(t=>{t.hidden=!0})}}export{n as Gallery,n 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.