1"use strict";(self.webpackChunkuds_styleguide=self.webpackChunkuds_styleguide||[]).push([[7999],{2341:(function(f,h,a){var d=a(9493);const m="article-tags__anchor--selected",e="animate-width";class i{constructor(t){this.element=t,this.init()}init(){this.selectCurrentCategory(),this.element.addEventListener("scroll",()=>this.updateScrollerWidth())}selectCurrentCategory(){const t=new URLSearchParams(window.location.search).get("categoryName")||"";this.element.querySelectorAll(".article-tags__anchor").forEach(n=>{const s=n.getAttribute("href")||"";t===""?s.includes("categoryName=")||n.classList.add(m):s.includes(`categoryName=${encodeURIComponent(t)}`)&&n.classList.add(m)})}updateScrollerWidth(){if(Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600)return;const n=window.innerWidth,s=this.element.scrollLeft,u=this.element.scrollWidth-n;let r,c;s===0?(c="0 -1rem 0 0",r="calc(100% + 1rem)"):s>=u?(c="0 0 0 -1rem",r="calc(100% + 1rem)"):s<u&&(c="0 1rem 0 -1rem",r="calc(100% + 2rem)"),this.element.classList.remove(e),r&&(this.element.style.width=r),c&&(this.element.style.margin=c),window.setTimeout(()=>{this.element.classList.add(e)},0)}}const o=new d.q('[data-cmp-is="article-tags"]',l=>new i(l));o.init(),o.observe()}),9493:(function(f,h,a){a.d(h,{q:function(){return d}});class d{constructor(e,i){this.selector=e,this.createComponent=i}init(e=document){e.querySelectorAll(this.selector).forEach(i=>{this.initElement(i)})}observe(){const e=document.querySelector("body");if(!e)return;new MutationObserver(o=>{o.forEach(l=>{Array.from(l.addedNodes).forEach(t=>{this.initNode(t)})})}).observe(e,{childList:!0,subtree:!0})}initNode(e){if(e instanceof Element){e.matches(this.selector)&&this.initElement(e),this.init(e);return}e instanceof DocumentFragment&&this.init(e)}initElement(e){e.removeAttribute("data-cmp-is"),this.createComponent(e)}}})}]);
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.