1"use strict";(globalThis.webpackChunkaucoffre_com=globalThis.webpackChunkaucoffre_com||[]).push([[3253],{3253(e,t,n){n.d(t,{default:()=>r});var o=n(4455);function r(){document.querySelectorAll("form.basket-quantity-form").forEach(e=>{const t=e.querySelector(".quantity-group"),n=e.querySelector(".input-quantity-group"),o=n.querySelector('input[name="quantity"]'),r=n.querySelector('button[type="submit"]'),s=e.querySelector('select[name="quantity"]');s&&s.addEventListener("change",r=>{parseInt(s.value)<10?e.submit():(t.classList.add("d-none"),n.classList.remove("d-none"),o.removeAttribute("disabled"),o.value="",o.focus())}),o&&(o.addEventListener("focus",e=>{o.select()}),o.addEventListener("input",e=>{r.classList.remove("d-none")}))});const e=document.getElementById("confirmBasket"),t=document.querySelector(".basket-footer"),n=document.getElementById("safe-loader");e&&t&&n&&e.addEventListener("submit",e=>{t.style.display="none",n.style.display="flex"});const r=document.getElementById("js-see-command");(0,o.o)(r)}},4455(e,t,n){n.d(t,{o:()=>r});var o=n(78);const r=e=>{const t=document.getElementById("commandJsonData");if(!t)return;const r=JSON.parse(t.textContent),s=document.querySelectorAll(".js-price-time-left"),a=document.getElementById("cancelCommandForm"),c=new Worker(new URL(n.p+n.u(6635),n.b),{type:void 0});c.onmessage=t=>{const{timeLeft:n}=t.data;0===n&&(e.setAttribute("disabled","true"),e instanceof HTMLAnchorElement&&(e.onclick=e=>e.preventDefault()),a.submit()),s.forEach(e=>{e.innerText=(0,o.f)(n)})},c.postMessage({start:!0,timeLeft:r.timeLeft})}},78(e,t,n){function o(e){return new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(e)}function r(e){const t=Math.floor(e/60),n=e%60,o=String(t).padStart(2,"0"),r=String(n).padStart(2,"0");return 0===t?`${r}s`:`${o}min ${r}s`}n.d(t,{_:()=>o,f:()=>r})}}]);
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.