PageSourceSearch

https://www.shop.jungheinrich.ch/assets/current/jhparts/js/yves_de…ipment-type-toggler.f83cb6b33cee4652dac3.js

js jungheinrich.ch collected 2026-10-06 12:47:41 UTC 2,046 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackJsonp_yves_default=globalThis.webpackJsonp_yves_default||[]).push([[9623],{8852:(e,t,i)=>{i.r(t),i.d(t,{default:()=>a});var s=i(97337);class a extends s.Z{constructor(...e){super(...e),this.triggers=void 0,this.defaultShipmentTypeTargets=void 0,this.servicePointTarget=void 0,this.billingSameAsShippingContainer=void 0,this.billingSameAsShippingInput=void 0}readyCallback(){}init(){this.triggers=Array.from(this.getElementsByClassName(`${this.jsName}__trigger`)),this.defaultShipmentTypeTargets=Array.from(document.getElementsByClassName(this.targetsClassName)),this.servicePointTarget=this.getElementsByClassName(`${this.jsName}__service-point`)[0],this.billingSameAsShippingContainer=document.getElementsByClassName(this.billingSameAsShippingContainerClassName)[0],this.billingSameAsShippingInput=this.billingSameAsShippingContainer?.getElementsByTagName("input")[0],this.mapEvents()}mapEvents(){this.triggers.forEach((e=>e.addEventListener("change",(e=>this.onTrigerChange(e.target)))))}onTrigerChange(e){const t=e.value===this.defaultShipmentType;this.toggleContentVisibility(t),this.billingSameAsShippingContainer&&this.toggleBillingSameAsShipping(t)}toggleContentVisibility(e){this.defaultShipmentTypeTargets.forEach((t=>t.classList.toggle(this.toggleClassName,!e))),this.servicePointTarget.classList.toggle(this.toggleClassName,e)}toggleBillingSameAsShipping(e){e?this.billingSameAsShippingContainer.classList.remove(this.toggleClassName):(this.billingSameAsShippingContainer.classList.add(this.toggleClassName),this.billingSameAsShippingInput&&(this.billingSameAsShippingInput.checked=!1,this.billingSameAsShippingInput.dispatchEvent(new Event("change"))))}get defaultShipmentType(){return this.getAttribute("default-shipment-type")}get targetsClassName(){return this.getAttribute("delivery-targets-class-name")}get toggleClassName(){return this.getAttribute("toggle-class-name")}get billingSameAsShippingContainerClassName(){return this.getAttribute("billing-same-as-shipping-container-class-name")}}}}]);

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.