PageSourceSearch

https://www.kaldewei.de/typo3conf/ext/lia_package/Resources/Public…/web2case-form.51f83c2e1cb17a16f888.esm.js

js kaldewei.de collected 2026-09-26 07:19:32 UTC 1,638 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklia_package=self.webpackChunklia_package||[]).push([[5534],{72936:(e,t,a)=>{a.r(t),a.d(t,{init:()=>n,initTopicSelect:()=>i});var c=a(80847);function i(e){const t=(0,c.qs)('[data-field="topic"]',e);if(!t)return;const a=e=>{if(!e)return null;const t=e;return"SELECT"===t.tagName?t:(0,c.qs)("select",e)};let i=a(t)||a(document);function n(t){const a=void 0!==t?t:(i?i.value:"")||"";Array.from((0,c.uJ)('[data-depends-on="topic"]',e)).forEach((e=>{const t=(e.getAttribute("data-show-if")||"")===a,i=e.closest('[class*="grid__col-"]')||e.closest(".c-form__group")||e.parentElement||e;t?(i.classList.remove("is-hidden"),i.setAttribute("aria-hidden","false"),Array.from((0,c.uJ)("input,select,textarea",i)).forEach((e=>e.disabled=!1))):(i.classList.add("is-hidden"),i.setAttribute("aria-hidden","true"),Array.from((0,c.uJ)("input,select,textarea",i)).forEach((e=>e.disabled=!0)))}))}i||(i=(0,c.qs)('select[data-field="topic"]')),i?(i.addEventListener("fancyselect:change",(e=>{const t=e;n(t&&t.detail&&t.detail.value?String(t.detail.value):i.value)})),n(i.value)):console.warn("webtocaseTopic: no <select> found for",t)}function n(e){e.forEach((e=>{i(e),function(e){const t=(0,c.qs)('input[data-field="pleasecall"]',e),a=(0,c.qs)('input[data-field="phone"]',e);if(!t||!a)return;const i=a.closest(".c-form__group"),n=null==i?void 0:i.querySelector("label"),r=e=>{if(a&&(a.required=e),n){let t=n.querySelector(".required");e?t||(t=document.createElement("span"),t.className="required",t.textContent="*",n.appendChild(t)):t&&n.removeChild(t)}};r(t.checked),t.addEventListener("change",(()=>r(t.checked)))}(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.