PageSourceSearch

https://www.walibi.nl/etc.clientlibs/cda/clientlibs/clientlib-shar…/chunk-4970-0313180e5396206af74c.js

js walibi.nl collected 2026-10-01 11:48:12 UTC 1,584 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[4970],{4970:function(e,t,r){r.r(t);var a=r(3434),n=r(8233),c=r(785),o=r(9862);const u=".cmp-message--error";t.default=e=>{let t=0;const r=(0,o.Xg)(e,".cmp-form-calculator-box__result","missing result box in calculator box"),i=(0,o.qS)(e,".cmp-form-calculator-box__total"),s=r.innerHTML,l=(0,o.bO)(e,".cmp-form-calculator-box__field").map((t=>{const r=(0,o.qS)(t,"input","missing input in calculator box field"),{price:a,freeFactor:c,freeRef:i}=t.dataset;return(0,n.cW)(a),["keyup","change"].forEach((a=>r.addEventListener(a,(()=>{const{otherValueOneOf:a}=r.dataset;if(a){const t=(0,o.Xg)(e,`[name=${a}] + ${u}`);t?.remove()}const n=(0,o.Xg)(t,u);n?.remove()})))),{input:r,name:r.name,price:Number(a),freeFactor:c?Number(c):void 0,freeRef:i}})),{addEventListener:m,triggerEvent:f}=(0,c.Z)(),p=()=>{const e=new Map;l.forEach((({input:t})=>{const r=Number(t.value);e.set(t.name,r)}));const a=l.reduce(((t,{name:r,price:a,freeFactor:c,freeRef:o,input:u})=>(()=>{const t=u.disabled||u.inert?0:e.get(r);if((0,n.cW)(t),!o)return t;(0,n.cW)(c);const a=e.get(o);(0,n.cW)(a);return Math.max(0,t-Math.floor(a/c))})()*a+t),0).toFixed(2);r.innerText=s.replaceAll("{total}",a.replace(".",",")),t=Number(a),f("change")(Number(a)),i&&(i.value=a)},b=new MutationObserver(p);l.forEach((e=>b.observe(e.input,{attributes:!0}))),l.forEach((({input:e})=>["keyup","change"].forEach((t=>e.addEventListener(t,p))))),p(),(0,a.Qz)("form-calculator-box",e,{addEventListener:m,getValue:()=>t,updateTotal:p})}}}]);

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.