PageSourceSearch

https://reservation.thermes-brideslesbains.fr/build/front/ProductOptions.b49d0055.js

js thermes-brideslesbains.fr collected 2026-10-04 21:48:03 UTC 2,012 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkuam_lesthermes_webshop=self.webpackChunkuam_lesthermes_webshop||[]).push([[582],{4849:(e,t,n)=>{n(4185),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(1629),n(6099),n(8992),n(3949),n(3500);t.default=function(e,t){var n={container:e,optionCards:e.querySelectorAll(".o_optionCard"),optionInputs:e.querySelectorAll('input[type="radio"]'),noOptionInput:e.querySelector('input[type="radio"][value=""]')},i=null,l=function(e){i=e,function(e){if(0!==n.optionInputs.length)if(e){var t=n.container.querySelector('input[type="radio"][value="'.concat(e,'"]'));t&&(t.checked=!0,t.dispatchEvent(new Event("change",{bubbles:!0})))}else n.noOptionInput?(n.noOptionInput.checked=!0,n.noOptionInput.dispatchEvent(new Event("change",{bubbles:!0}))):n.optionInputs.forEach((function(e){e.checked=!1,e.dispatchEvent(new Event("change",{bubbles:!0}))}))}(e),n.optionCards.forEach((function(e){var t=e.dataset.optionId,n=e.querySelector(".add-option"),l=e.querySelector(".remove-option");if("true"!==e.dataset.available)return e.classList.add("disabled"),null==n||n.classList.add("disabled"),null==n||n.setAttribute("disabled","true"),void(null==l||l.classList.add("hide"));e.classList.remove("selected","disabled"),null==n||n.classList.remove("hide","disabled"),null==n||n.removeAttribute("disabled"),null==l||l.classList.add("hide"),i&&(t===i?(e.classList.add("selected"),null==n||n.classList.add("hide"),null==l||l.classList.remove("hide")):(e.classList.add("disabled"),null==n||n.classList.add("disabled"),null==n||n.setAttribute("disabled","true")))})),t(e)};return{init:function(){n.container.querySelectorAll(".add-option").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget;l(t.dataset.optionId||null)}))})),n.container.querySelectorAll(".remove-option").forEach((function(e){e.addEventListener("click",(function(){l(null)}))}))},hasOptions:function(){return n.optionCards.length>0},setOption:l,getSelectedOptionId:function(){return i}}}}}]);

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.