PageSourceSearch

https://www.tesa.com/relaunch2020/build/contact-teaser.f6461f1b.js

js tesa.com collected 2026-10-02 06:21:53 UTC 4,110 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunktesa_2016=globalThis.webpackChunktesa_2016||[]).push([[7327],{7417:(e,t,n)=>{n.d(t,{_:()=>a,h:()=>o});const a="tesaFormStepperContext";function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Set;return{notifyStepsLoaded(t){"function"==typeof e.onStepsLoaded&&e.onStepsLoaded(t)},notifyStepChanged(t){"function"==typeof e.onStepChanged&&e.onStepChanged(t)},requestStep(e){t.forEach(t=>t(e))},registerStepRequestHandler:e=>"function"!=typeof e?()=>{}:(t.add(e),()=>{t.delete(e)})}}},5931:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(5166),o=n(9043);const i=Object.assign({name:"contactTeaser"},{__name:"ContactTeaser",props:{isPortrait:{type:Boolean,default:!1},text:{type:String,default:""}},setup(e){var t;const n=null===(t=(0,a.FN)())||void 0===t?void 0:t.proxy,i=e,l=(0,a.iH)("mobile"),r=(0,a.iH)(null),s=(0,a.iH)(null),u=(0,a.iH)(!1),d=(0,a.iH)(null),c=(0,a.iH)(null),v=(0,a.Fl)(()=>"mobile"===l.value||null===d.value?"auto":`${Math.max(0,d.value-function(){if("tablet"===l.value)return i.isPortrait?m(160):m(280);return i.isPortrait?m(180):m(120)}()+m(30))}px`),p=(0,a.Fl)(()=>({"--contact-teaser-panel-min-height":v.value}));function m(e){return parseFloat(getComputedStyle(document.documentElement).fontSize)*e/16}function w(){r.value&&window.cancelAnimationFrame(r.value),r.value=window.requestAnimationFrame(()=>{h()})}function h(){l.value=function(){if(window.innerWidth>=o.zW.md)return"desktop";if(window.innerWidth>=o.zW.sm)return"tablet";return"mobile"}(),d.value=s.value?s.value.clientHeight:null}return(0,a.bv)(()=>{s.value=n.$el.querySelector(".contact-teaser__image-wrapper"),h(),window.ResizeObserver&&s.value&&(c.value=new ResizeObserver(w),c.value.observe(s.value)),window.addEventListener("resize",w,{passive:!0}),u.value=!0,n.$el.dataset.contactTeaserEnhanced="true"}),(0,a.Jd)(()=>{c.value&&(c.value.disconnect(),c.value=null),r.value&&(window.cancelAnimationFrame(r.value),r.value=null),window.removeEventListener("resize",w)}),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,a.C_)(["contact-teaser__enhancer",{"contact-teaser__enhancer--loaded":u.value,"contact-teaser__enhancer--portrait":e.isPortrait}]),style:(0,a.j5)(p.value),"data-contact-teaser-enhancer":""},[(0,a.WI)(t.$slots,"default")],6))}})},8358:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var a=n(5166),o=n(1223),i=n(7651),l=n(2612),r=n(7417),s=n(1919);const u=Object.assign({name:"ConversionStage"},{__name:"ConversionStage",props:{successMessageVisible:{type:Boolean,default:!1},receiveStepEvents:{type:Boolean,default:!0},portrait:{type:Boolean,default:!1},formProgressType:{type:String,default:"stepped"},mediumCrop:{type:Boolean,default:!1},withMedium:{type:Boolean,default:!1},withMobileMedium:{type:Boolean,default:!1}},setup(e){var t;const n=null===(t=(0,a.FN)())||void 0===t?void 0:t.proxy,u=e,d=(0,l.k)(),{headerHeight:c}=(0,o.Jk)(d),v=(0,a.iH)(u.successMessageVisible),p=(0,a.iH)(!1),m=(0,a.iH)(!1),w=(0,a.iH)((0,r.h)({onStepChanged:()=>function(){if(!u.receiveStepEvents||"stepped"!==u.formProgressType)return;g()}()})),h=(0,a.iH)(null);function f(){const e=n.$el.clientHeight<window.innerHeight-c.value;m.value=!e}function g(){const e=n.$el.querySelector(".js-scroll-to-target").getBoundingClientRect();if(e.top>c.value)return;const t=e.y+window.scrollY;window.scrollTo({top:t-c.value-0,left:0,behavior:"smooth"})}return(0,a.bv)(()=>{u.withMedium&&(h.value=(0,i.Ds)(()=>{f()},1e3),window.addEventListener("resize",h.value),h.value())}),(0,a.Jd)(()=>{u.withMedium&&window.removeEventListener("resize",h.value)}),(0,a.JJ)("formProgressType",u.formProgressType),(0,a.JJ)(r._,w.value),(0,a.JJ)(s.h0,(0,s.ey)({[s.ib]:()=>(v.value=!0,void g()),[s.je]:()=>(p.value=!0,void g()),[s.y7]:()=>{u.withMedium&&f()}})),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,a.C_)(["conversion-stage with-bg--blue",{"conversion-stage--medium-crop":e.mediumCrop,"conversion-stage--with-medium":e.withMedium,"conversion-stage--with-mobile-medium":e.withMobileMedium}])},[(0,a.WI)(t.$slots,"default",{showSuccessMessage:v.value,showGenericSubmitError:p.value})],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.