PageSourceSearch

https://www.shop.jungheinrich.ch/assets/current/jhparts/js/yves_de…ajax-form-submitter.99536b17e4e7fc463a53.js

js jungheinrich.ch collected 2026-10-06 12:47:33 UTC 1,457 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackJsonp_yves_default=globalThis.webpackJsonp_yves_default||[]).push([[8090],{95681:(t,e,r)=>{r.r(e),r.d(e,{default:()=>s});var i=r(97337);class s extends i.Z{constructor(...t){super(...t),this.provider=void 0}readyCallback(){}init(){this.provider=document.querySelector(`.${this.providerClassName}`),this.mapEvents()}mapEvents(){for(const t of this.eventName.split(":"))this.parentElement?.addEventListener(t,(t=>this.onEvent(t)))}onEvent(t){const e=t.target.closest(`[${this.triggerAttribute}]`),r=e?.getAttribute(this.triggerAttribute),i=!r||r===t.type;if(!e||e&&!i)return;t.preventDefault();const s=e.closest("form");s&&this.onAjaxSubmit({form:s,trigger:e})}onAjaxSubmit({form:t,trigger:e}){const r=new FormData(t),i=e.getAttribute("formaction")??t.action;let s="";if(t.hasAttribute("data-form-data-url-builder")){const t=new URL(window.location.href),i=new URLSearchParams,o=e.getAttribute("data-form-data-url-builder-skip-field")??"";for(const t of[...r.entries()])t[0]!==o&&(s+=`${t[0]}=${t[1]}&`,i.set(t[0],t[1]));t.search=i.toString(),window.history.replaceState({},"",t.href)}const o=s?`?${s}`:"";this.provider.setAttribute("url",`${i}${o}`),t.method&&this.provider.setAttribute("method",t.method),this.provider.fetch(r)}get triggerAttribute(){return this.getAttribute("trigger-attribute")}get providerClassName(){return this.getAttribute("provider-class-name")}get eventName(){return this.getAttribute("event")}}}}]);

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.