PageSourceSearch

https://teufel.de/assets/13e4bd8e51966ac695ff23aa3e59fb6ec2fd99ac/default/js/yves_default.shop-modal.js

js teufel.de collected 2026-09-24 09:42:41 UTC 1,607 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklautsprecher_teufel=self.webpackChunklautsprecher_teufel||[]).push([[6711],{58160:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var i=s(57142);class n extends i.A{constructor(){super(...arguments),this.boundOnKeyDown=this.onKeyDown.bind(this),this.boundOnDocumentClick=this.onDocumentClick.bind(this),this.isInitialized=!1}readyCallback(){}connectedCallback(){this.isInitialized||(this.isInitialized=!0,this.id||console.warn(this.name+': missing "id" attribute — this modal cannot be opened via [data-modal-target] triggers.'),this.dialog=this.querySelector("."+this.name+"__dialog"),this.closeTriggers=Array.from(this.querySelectorAll("[data-modal-close]")),this.mapEvents())}mapEvents(){this.closeTriggers.forEach(e=>{e.addEventListener("click",()=>this.close())}),document.addEventListener("click",this.boundOnDocumentClick)}onDocumentClick(e){this.id&&(e.target.closest('[data-modal-target="'+this.id+'"]')&&(e.preventDefault(),this.open()))}open(){this.isOpen||(document.body.appendChild(this),this.lastFocusedElement=document.activeElement,this.classList.add(this.name+"--open"),document.documentElement.classList.add("has-shop-modal-open"),document.addEventListener("keydown",this.boundOnKeyDown),this.dialog.focus())}close(){var e;this.isOpen&&(this.classList.remove(this.name+"--open"),document.documentElement.classList.remove("has-shop-modal-open"),document.removeEventListener("keydown",this.boundOnKeyDown),null==(e=this.lastFocusedElement)||e.focus())}onKeyDown(e){"Escape"===e.key&&this.close()}get isOpen(){return this.classList.contains(this.name+"--open")}}}}]);

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.