PageSourceSearch

https://www.ottonova.de/assets/dist/form-input.min.Bo4ZSXbK.js

js ottonova.de collected 2026-10-03 22:19:38 UTC 1,612 bytes, 2 lines download raw bytes

1function s(n,i={}){const t=n.querySelector(".otto-field-wrapper");if(!t)return;const e=t.querySelector(".otto-field"),o=i[e.name]||e.value;if(e.addEventListener("update",()=>{n.classList.toggle("disabled",e.disabled),n.classList.toggle("empty",!e.value)}),e.addEventListener("input",()=>{n.classList.toggle("empty",!e.value)}),e.addEventListener("bouncerShowError",()=>{n.classList.add("error")}),e.addEventListener("bouncerRemoveError",()=>{n.classList.remove("error")}),e.value=o,e.dispatchEvent(new Event("update")),t.addEventListener("click",r=>{r.target!==e&&e.focus()}),e.name==="date_of_birth"&&!e.imask){const r=a=>window.initMask(a);window.initMask?r(e):window.addEventListener("initIMask",()=>{r(e)})}return{set value(r){r!==e.value&&(e.value=r,e.dispatchEvent(new Event("update")))},get value(){return e.value},resetOptions:()=>{e.querySelectorAll("option").forEach((r,a)=>{a===0?r.selected=!0:r.remove()})},input:e,type:e.type,name:e.name}}function l(n,i={}){const t=Array.from(n.querySelectorAll('input[type="radio"]'));if(!t.length)return;const e=t[0].name,o={set value(a){const c=t.find(u=>u.value===a);c&&(c.checked=!0)},get value(){var a;return((a=t.find(c=>c.checked===!0))==null?void 0:a.value)||""},type:"radio",name:e},r=i[e];return r&&(o.value=r),t.forEach(a=>a.controller=o),o}function d(n,i={}){const t=n.querySelector('input[type="checkbox"]');if(!t)return;const e=i[t.name]==="on";return t.checked=e,{set value(o){t.checked=o==="on"},get value(){return t.checked?"on":"off"},type:"checkbox",name:t.name}}export{d as c,l as r,s as t};
2//# sourceMappingURL=form-input.min.Bo4ZSXbK.js.map

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.