PageSourceSearch

https://www.wohlen.ch/compiled/index/js/tableOfContents-cms.c13215e0ed287d06c845.js

js wohlen.ch collected 2026-10-02 10:02:42 UTC 2,676 bytes, 1 lines download raw bytes

1(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[8569],{18999:(t,a,e)=>{var i,s=e(19755);e.e(3433).then(function(t){i=e(95470),s('*[data-webpack-module="tableOfContents"]').each((function(){let t=s(this).data("heading-tag")?function(t){let a=["h1","h2","h3","h4","h5","h6"];return t.filter((function(t){return a.includes(t.toLowerCase())}))}(s(this).data("heading-tag").split(",")):["h2"];var a=s(this).data("ignore-heading-class")||"sr-only",e=s(this).data("body-class")||"main-content",l=s(this).data("output-id")||"icms-toc-container",c=s(this).data("keep-in-view");c=0!==c&&"false"!==c&&!1!==c;var o=s("body[data-header-selector]").data("header-selector")||"",r=s("body[data-footer-selector]").data("footer-selector")||"",n=s(this).data("list-wrapper-tag"),h=s(this).data("list-wrapper-aria-label")||"",d=s(this).data("list-wrapper-class")||"icms-toc-list-wrapper",f=s(this).data("toc-title-tag")||"",m=s(this).data("toc-title-class")||"icms-toc-title",u=s(this).data("toc-title-text")||"",p=s(this).data("list-class")||"icms-toc-list",g=s(this).data("item-class")||"icms-toc-item",v=s(this).data("item-link-class")||"icms-toc-link",b=s(this).data("header-margin")||0,w=s(this).data("footer-margin")||0,k=s(this).data("changing-top-element-selector")||"",x="",C=0,y=s(document.createElement("div"));for(s("."+e).find(t.join(",")).each((function(){var e=s(this).attr("class")||"";if(s(this).is(":visible")&&""!==s(this).text().trim()&&(""===a||-1===e.indexOf(a))&&!s(this).closest(".icms-accordion-container .card-body").length){s(this).attr("id")||s(this).attr("id",s(this).text().trim().replace(/ /g,"-").replace(/!|"|#|$|%|&|'|\(|\)|\*|\+|,|\.|:|;|<|=|>|\?|@|[|]|^|`|{|\||}|~|\/|\\/g,""));for(var i=s(this).attr("id"),l=y.text(s(this).text().trim()).html(),c=this.tagName.toLowerCase(),o=t.indexOf(c);C>o;)x+="</li></ul>",C--;for(;C<o;)x+='<ul class="'+p+" icms-toc-level-"+(C+1)+'">',C++;x+='<li class="'+g+'"><a class="'+v+'" href="#'+i+'">'+l+"</a>"}}));C>0;)x+="</li></ul>",C--;""!==x&&(x='<ul class="'+p+' icms-toc-level-0">'+x+"</ul>",n&&(x="<"+n+' class="'+d+'" aria-label="'+h+'">'+x+"</"+n+">"),""!==f&&""!==u&&""!==x&&(x="<"+f+' class="'+m+'">'+u+"</"+f+">"+x));var O=s("#"+l);if(""!==x){if(O.html(x),O.on("click",'a[href^="#"]',(function(t){t.preventDefault();var a=s.attr(this,"href"),e=s(a);if(e.length){e.is("[tabindex]")||e.attr("tabindex","-1");var i=o?s(o).outerHeight(!0):0;s("html, body").animate({scrollTop:e.offset().top-i-b},500,(function(){e.focus()}))}})),c){var H=O.offset().top,L=s(k).outerHeight(!0);s(window).scroll((function(){i(o,r,O,H,b,w,k,L)}))}}else O.remove(),s(".sidebar-toc-toggler").remove()}))}.bind(null,e)).catch(e.oe)}}]);

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.