PageSourceSearch

https://www.tesa.com/relaunch2020/build/background-stripes.c5f0ed3a.js

js tesa.com collected 2026-10-02 06:21:42 UTC 1,777 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunktesa_2016=globalThis.webpackChunktesa_2016||[]).push([[6753],{7820:(e,t,l)=>{l.r(t),l.d(t,{default:()=>u});var a=l(5166),i=l(7347),s=l.n(i),n=l(7651);const u=Object.assign({name:"BackgroundStripes"},{__name:"BackgroundStripes",props:{withLineClasses:{type:Boolean,default:!1}},emits:["background-stripes:updated"],setup(e,t){var l;let{emit:i}=t;const u=null===(l=(0,a.FN)())||void 0===l?void 0:l.proxy,o=i,r=(0,a.iH)([]),d=(0,a.iH)(!1),h=(0,a.iH)(null),p=(0,a.iH)(null),g=(0,a.iH)(null);function v(){const e=[...u.$el.querySelector(".text").getClientRects()],t=u.$el.getBoundingClientRect();let l=[],a=+Date.now();e.forEach((e,i)=>{l.push({id:a+i,left:e.left-t.left,top:e.top-t.top,width:e.width,height:e.height})}),r.value=l,g.value=!1,d.value=!0,o("background-stripes:updated",u)}return(0,a.bv)(()=>{h.value=()=>{g.value||(p.value=requestAnimationFrame(v),g.value=!0)},window.addEventListener("resize",h.value),v();let e=new(s())("ProximaNova");Promise.all([e.load()]).then(v),(0,n.W2)().then(()=>v())}),(0,a.Jd)(()=>{p.value&&cancelAnimationFrame(p.value),window.removeEventListener("resize",h.value)}),(t,l)=>((0,a.wg)(),(0,a.iD)("span",{class:(0,a.C_)(["background-stripes",{"background-stripes--initialized":d.value,"static-stage__headline--lines-1":e.withLineClasses&&1===r.value.length,"static-stage__headline--lines-2-3":e.withLineClasses&&r.value.length>1&&r.value.length<4,"static-stage__headline--lines-more":e.withLineClasses&&r.value.length>3}])},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(r.value,e=>((0,a.wg)(),(0,a.iD)("span",{key:e.id,class:"stripe",style:(0,a.j5)({left:e.left+"px",top:e.top+"px",width:e.width+"px",height:e.height+"px"})},null,4))),128)),l[0]||(l[0]=(0,a.Uk)()),(0,a.WI)(t.$slots,"default")],2))}})}}]);

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.