PageSourceSearch

https://www.kitzsteinhorn.at/build/957.4ca46f0c.js

js kitzsteinhorn.at collected 2026-10-02 07:04:36 UTC 2,500 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[957],{17957:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var a=n(60151);function d(e){var t=document.getElementById("voucher"),n=document.getElementById("js-redeem-voucher"),d=null==n?void 0:n.querySelector(".description"),r=document.getElementById("js-remove-voucher"),o=document.getElementById("go-to-checkout"),i=function(){t.value?(n.disabled=!1,d.classList.add("visible")):(n.disabled=!0,d.classList.remove("visible"))};e.forEach((function(e){e.querySelector('button[data-type="amount"]').addEventListener("click",(function(t){var n=e.querySelector(".select-wrapper"),d=n.querySelector("select");t.target.remove(),n.removeAttribute("hidden"),d.addEventListener("change",(function(){var t=new FormData;(0,a.Rx)(),t.append("id",e.dataset.id),t.append("date",e.dataset.date),t.append("old-amount",e.dataset.count),t.append("new-amount",d.value),(0,a.XL)("/api/starjack/change-amount",t)}))})),e.querySelector('button[data-type="remove"]').addEventListener("click",(function(){var t=new FormData;(0,a.Rx)(),t.append("id",e.dataset.id),t.append("date",e.dataset.date),(0,a.XL)("/api/starjack/remove-from-cart",t)}))})),null==t||t.addEventListener("input",(function(){i()})),null==t||t.addEventListener("keyup",(function(e){"Enter"===e.key&&n.click()})),null==n||n.addEventListener("click",(function(){var e=new FormData;(0,a.Rx)(),e.append("code",t.value),(0,a.XL)("/api/starjack/redeem-voucher",e)})),null==r||r.addEventListener("click",(function(){var e=new FormData;(0,a.Rx)(),e.append("id",r.dataset.id),(0,a.XL)("/api/starjack/remove-voucher",e)})),0===e.length&&o.addEventListener("click",(function(e){e.preventDefault()})),t&&i()}},60151:(e,t,n)=>{function a(e,t,n){fetch(e,{method:"POST",cache:"no-store",body:t}).then((function(e){e.ok?e.text().then((function(e){n?n(e):location.href=e.toString()})):e.text().then((function(e){!function(e){var t,n,a=5e3;null===(t=document.getElementById("sj-mask"))||void 0===t||t.remove(),n="unknown_error"!==e&&translations.hasOwnProperty(e)?translations[e]:translations.unknown_error+": "+e;document.body.insertAdjacentHTML("beforeend",'<div id="error-alert"><div class="alert alert-danger">'+n+"</div></div>"),setTimeout((function(){document.getElementById("error-alert").remove()}),a)}(e.toString())}))}))}function d(){document.body.insertAdjacentHTML("beforeend",'<div id="sj-mask"><div class="throbber"><div></div><div></div><div></div><div></div></div></div>')}n.d(t,{Rx:()=>d,XL:()=>a})}}]);

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.