1!function(){"use strict";window.hachetteBlocks||(window.hachetteBlocks=new class{constructor(){this.controller=new AbortController,this.currentVariant=null,this.fetch=null,this.fetching=!1,this.fetchingUrl=null,this.fetchingVariantId=null,this.lastResponse=null,this.events={}}async getData(t,e=null){this.fetching=!0,this.fetchingVariantId=e;const{signal:s}=this.controller,n=await fetch(t,{signal:s});try{n.ok&&200===n.status||(this.lastResponse=null),this.lastResponse=await n.text()}catch(t){this.lastResponse=null}return this.fetching=!1,this.dispatch("fetch_complete",{response:this.lastResponse}),this.lastResponse}addListener(t,e){return"function"!=typeof e?(console.error("The listener callback must be a function, the given type is "+typeof e),!1):"string"!=typeof t?(console.error("The event name must be a string, the given type is "+typeof t),!1):(void 0===this.events[t]&&(this.events[t]={listeners:[]}),this.events[t].listeners.push(e),!1)}removeListener(t,e){return void 0===this.events[t]?(console.error(`This event: ${t} does not exist`),!1):(this.events[t].listeners=this.events[t].listeners.filter(t=>t.toString()!==e.toString()),!1)}dispatch(t,e){return void 0===this.events[t]?(console.error(`This event: ${t} does not exist`),!1):(this.events[t].listeners.forEach(t=>{t(e)}),!1)}abort(){this.controller.abort(),this.fetching=!1,this.fetchingVariantId=null}});const t=document.querySelector("[data-product-title]"),e=t.dataset.section,s=t.dataset.url;window.hachetteBlocks.addListener("fetch_complete",t=>{if(t.response){const e=t.response,s=(new DOMParser).parseFromString(e,"text/html").querySelector("[data-product-title]");s&&document.querySelector("[data-product-title]")&&(document.querySelector("[data-product-title]").innerHTML=s.innerHTML)}});const n=document.getElementsByName("id");n&&n.length&&n[0].addEventListener("change",async t=>{window.hachetteBlocks.fetching&&t.target.value===window.hachetteBlocks.fetchingVariantId||(window.hachetteBlocks.fetching&&window.hachetteBlocks.abort(),await window.hachetteBlocks.getData(`${s}?variant=${t.target.value}§ion_id=${e}`,t.target.value))})}();
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.