1"use strict";(self.webpackChunkfranceinfo_package=self.webpackChunkfranceinfo_package||[]).push([[8234],{4702:function(){function e(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class t{constructor(t){this.rootEl=t,e(this,"focussableElements",void 0),e(this,"SKIPPED_CLASS","block-skipped"),e(this,"SKIP_BTN","skip-block"),this.focussableElements='\n a:not([disabled]),\n button:not([disabled]),\n input[type=text]:not([disabled]),\n input[type=email]:not([disabled]),\n [tabindex]:not([disabled]):not([tabindex="-1"]),\n .skip-block button',this.init()}init(){this.rootEl.addEventListener("keydown",e=>{const{activeElement:t}=document,{dataset:n}=t.parentElement;if("Enter"===e.code||"Space"===e.code||"NumpadEnter"===e.code){const t=n.toSkip,s=n.position;return e.preventDefault(),document.getElementById(t).classList.add(this.SKIPPED_CLASS,`${this.SKIP_BTN}-pos-${s}`),this.focusNextElement(t,s),!1}return!0}),t.globalKeydownBinded||(t.globalKeydownBinded=!0,document.addEventListener("keydown",e=>{if(this.shiftTabOnPreviousSkippedLink(e)){const t=this.getAllFocusableElements(),n=t.indexOf(document.activeElement)-1,s=t[n].closest(`.${this.SKIPPED_CLASS}`),i=s.classList;let o=null;i.contains(`${this.SKIP_BTN}-pos-in`)&&(o=t[n].closest(`.${this.SKIPPED_CLASS}`).getElementsByClassName(this.SKIP_BTN)[0].children[0],s.classList.remove(this.SKIPPED_CLASS,`${this.SKIP_BTN}-pos-in`)),i.contains(`${this.SKIP_BTN}-pos-out`)&&(o=t[n].closest(`.${this.SKIPPED_CLASS}`).parentElement.getElementsByClassName(this.SKIP_BTN)[0].children[0],s.classList.remove(this.SKIPPED_CLASS,`${this.SKIP_BTN}-pos-out`));const l=t.indexOf(o);t[l].focus(),e.preventDefault()}}))}focusNextElement(e,t){const n="in"===t?1:0,s=this.getAllFocusableElements(),i=this.getAllFocusableElements(e).length,o=s.indexOf(document.activeElement);s[i+o-n+1].focus()}getAllFocusableElements(e){const{focussableElements:t}=this;return Array.prototype.filter.call((e?document.getElementById(e):document).querySelectorAll(t),e=>e.offsetWidth>0||e.offsetHeight>0||e===document.activeElement)}shiftTabOnPreviousSkippedLink(e){const t=this.getAllFocusableElements(),n=t.indexOf(document.activeElement),s=t[n-1],i=void 0!==s?s.closest(`.${this.SKIPPED_CLASS}`):null;return-1!==n&&void 0!==i&&i&&e.shiftKey&&"Tab"===e.key}}e(t,"globalKeydownBinded",!1),new Promise(async e=>{const n=()=>{const e=[];return document.querySelectorAll(".skip-block:not(.skip-block--activated)").forEach(n=>{n.classList.add("skip-block--activated"),e.push(new t(n))}),e};document.addEventListener("EsiBlock::replaceBlockByEsiContent",()=>{n()}),e(n())})}},function(e){e(e.s=4702)}]);
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.