PageSourceSearch

https://le-recensement-et-moi.fr/cest-sur/

html le-recensement-et-moi.fr collected 2026-10-02 06:37:10 UTC 142,343 bytes, 765 lines download raw bytes

1
2
3
4<!doctype html>
5<html lang="fr-FR" data-fr-scheme="system">
6<head>
7  <meta charset="UTF-8" />
8  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9  <title>
10    C&#39;est Sûr – Le recensement de la population 2026 | INSEE
11  </title>
12  <link
13    rel="icon"
14    type="image/png"
15    href="/maison_RP_accueil_32_32.png"
16    sizes="32x32"
17  />
18  <link
19    rel="stylesheet"
20    href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0"
21  />
22    
23  <link rel="stylesheet" href="/scss/main.min.b3f6e067636c662a6011a3cc9b31077f4287fbf2349bdc4e31e3c6d29c5b2ff4.css">
24     
25  
vendor: 729 bytes, lines 25-27
25<script type="text/javascript" defer>
26    /*! DSFR v1.15.0 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
27const e=new class{constructor(){this.modules={}}create(e){const t=new e;this.modules[t.type]=t}getModule(e){return this.modules[e]}add(e,t){this.modules[e].add(t)}remove(e,t){this.modules[e].remove(t)}get isActive(){return this._isActive}set isActive(e){if(e===this._isActive)return;this._isActive=e;const t=Object.keys(this.modules).map(e=>this.modules[e]);if(e)for(const e of t)e.activate();else for(const e of t)e.deactivate()}get isLegacy(){return this._isLegacy}set isLegacy(e){e!==this._isLegacy&&(this._isLegacy=e)}},t="fr",s="dsfr",i="@gouvfr",n="1.15.0
vendor: 114,175 bytes, lines 27-28
27";class r{constructor(e,t,s,i){switch(this.level=e,this.light=t,this.dark=s,i){case"warn":this.logger=console.warn;break;case"error":this.logger=console.error;break;default:this.logger=console.log}}log(...e){const t=new a(s);for(const s of e)t.add(s);this.print(t)}print(e){e.setColor(this.color),this.logger.apply(console,e.getMessage())}get color(){return window.matchMedia("(prefers-color-scheme: dark)").matches?this.dark:this.light}}class a{constructor(e){this.inputs=["%c"],this.styles=["font-family:Marianne","line-height: 1.5"],this.objects=[],e&&this.add(`${e} :`)}add(e){switch(typeof e){case"object":case"function":this.inputs.push("%o "),this.objects.push(e);break;default:this.inputs.push(`${e} `)}}setColor(e){this.styles.push(`color:${e}`)}getMessage(){return[this.inputs.join(""),this.styles.join(";"),...this.objects]}}const o={log:new r(0,"#616161","#989898"),debug:new r(1,"#000091","#8B8BFF"),info:new r(2,"#007c3b","#00ed70"),warn:new r(3,"#ba4500","#fa5c00","warn"),error:new r(4,"#D80600","#FF4641","error")};const h=new class{constructor(){this.level=2;for(const e in o){const t=o[e];this[e]=(...e)=>{this.level<=t.level&&t.log.apply(t,e)},this[e].print=t.print.bind(t)}}state(){const t=new a;t.add(e),this.log.print(t)}tree(){const t=e.getModule("stage");if(!t)return;const s=new a;this._branch(t.root,0,s),this.log.print(s)}_branch(e,t,s){let i="";if(t>0){let e="";for(let s=0;s<t;s++)e+="    ";i+=e+"└─ "}i+=`[${e.id}] ${e.html}`,s.add(i),s.add({"@":e}),s.add("\n");for(const n of e.children)i+=this._branch(n,t+1,s)}},c=e=>{"loading"!==document.readyState?window.requestAnimationFrame(e):document.addEventListener("DOMContentLoaded",e)},l={AUTO:"auto",MANUAL:"manual",RUNTIME:"runtime",LOADED:"loaded",VUE:"vue",ANGULAR:"angular",REACT:"react"},d=(e,t,s=null,i=!0,n=!1)=>{const r={bubbles:!0===i,cancelable:!0===n};s&&(r.detail=s);const a=new CustomEvent(t,r);e.dispatchEvent(a)},u=(e,t=null,s=!1,i=!1)=>d(document.documentElement,e,t,s,i),g=e=>`${t}-${e}`;g.selector=(e,t)=>(void 0===t&&(t="."),`${t}${g(e)}`),(g.attr=e=>`data-${g(e)}`).selector=(e,t)=>{let s=g.attr(e);return void 0!==t&&(s+=`="${t}"`),`[${s}]`},g.event=e=>`${s}.${e}`,g.emission=(e,t)=>`emission:${e}.${t}`;const m={READY:g.event("ready"),START:g.event("start"),STOP:g.event("stop"),RENDER:g.event("render"),RESIZE:g.event("resize"),BREAKPOINT:g.event("breakpoint"),SCROLL_LOCK:g.event("scroll-lock"),SCROLL_UNLOCK:g.event("scroll-unlock")};const p=new class{constructor(){this._mode=l.AUTO,this.isStarted=!1,this.starting=this.start.bind(this),this.preventManipulation=!1}configure(e={},t,s){this.startCallback=t;const i=e.production&&(!s||"false"!==s.production);switch(!0){case s&&!isNaN(s.level):h.level=Number(s.level);break;case s&&s.verbose&&("true"===s.verbose||1===s.verbose):h.level=0;break;case i:h.level=999;break;case e.verbose:h.level=0}h.info(`version ${n}`),u(m.READY),this.mode=e.mode||l.AUTO}set mode(e){switch(e){case l.AUTO:this.preventManipulation=!1,t=this.starting,c(t);break;case l.LOADED:this.preventManipulation=!1,c(this.starting);break;case l.RUNTIME:this.preventManipulation=!1,this.start();break;case l.MANUAL:this.preventManipulation=!1;break;case l.VUE:case l.ANGULAR:case l.REACT:this.preventManipulation=!0;break;default:return void h.error("Illegal mode")}var t;this._mode=e,h.info(`mode set to ${e}`)}get mode(){return this._mode}start(){h.info("start"),this.startCallback()}};class _{constructor(){this._collection=[]}forEach(e){this._collection.forEach(e)}map(e){return this._collection.map(e)}get length(){return this._collection.length}add(e){return!(this._collection.indexOf(e)>-1)&&(this._collection.push(e),this.onAdd&&this.onAdd(),this.onPopulate&&1===this._collection.length&&this.onPopulate(),!0)}remove(e){const t=this._collection.indexOf(e);if(-1===t)return!1;this._collection.splice(t,1),this.onRemove&&this.onRemove(),this.onEmpty&&0===this._collection.length&&this.onEmpty()}execute(...e){for(const t of this._collection)t&&t.apply(null,e)}clear(){this._collection.length=0}clone(){const e=new _;return e._collection=this._collection.slice(),e}get collection(){return this._collection}}class b extends _{constructor(e){super(),this.type=e,this.isActive=!1}activate(){}deactivate(){}}const f=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t)),E=(e,t)=>{const s=e.parentElement;return s.matches(t)?s:s===document.documentElement?null:E(s,t)};class A{constructor(e,t,s){this.selector=e,this.InstanceClass=t,this.creator=s,this.instances=new _,this.isIntroduced=!1,this._instanceClassName=this.InstanceClass.instanceClassName,this._instanceClassNames=this.getInstanceClassNames(this.InstanceClass),this._property=this._instanceClassName.substring(0,1).toLowerCase()+this._instanceClassName.substring(1);const i=this._instanceClassName.replace(/[^a-zA-Z0-9]+/g,"-").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([^0-9])/g,"$1-$2").replace(/([^0-9])([0-9])/g,"$1-$2").toLowerCase();this._attribute=g.attr(`js-${i}`)}getInstanceClassNames(e){const t=Object.getPrototypeOf(e);return t&&"Instance"!==t.instanceClassName?[...this.getInstanceClassNames(t),e.instanceClassName]:[e.instanceClassName]}hasInstanceClassName(e){return this._instanceClassNames.indexOf(e)>-1}introduce(){this.isIntroduced||(this.isIntroduced=!0,e.getModule("stage").parse(document.documentElement,this))}parse(e,t){const s=[];return e.matches&&e.matches(this.selector)&&s.push(e),!t&&e.querySelectorAll&&e.querySelector(this.selector)&&s.push.apply(s,f(e,this.selector)),s}create(e){if(!e.node.matches(this.selector))return;const t=new this.InstanceClass;return this.instances.add(t),t}remove(e){this.instances.remove(e)}dispose(){const e=this.instances.collection;for(let t=e.length-1;t>-1;t--)e[t]._dispose();this.creator=null}get instanceClassName(){return this._instanceClassName}get instanceClassNames(){return this._instanceClassNames}get property(){return this._property}get attribute(){return this._attribute}}class v extends b{constructor(){super("register")}register(t,s,i){const n=new A(t,s,i);return this.add(n),e.isActive&&n.introduce(),n}activate(){for(const e of this.collection)e.introduce()}remove(e){e.dispose(),super.remove(e)}}let T=0;class S{constructor(e,t){t?this.id=t:(T++,this.id=T),this.node=e,this.attributeNames=[],this.instances=[],this._children=[],this._parent=null,this._projects=[]}get proxy(){const e=this;if(!this._proxy){this._proxy={id:this.id,get parent(){return e.parent?e.parent.proxy:null},get children(){return e.children.map(e=>e.proxy)}};for(const e of this.instances)this._proxy[e.registration.property]=e.proxy}return this._proxy}get html(){if(!this.node||!this.node.outerHTML)return"";const e=this.node.outerHTML.indexOf(">");return this.node.outerHTML.substring(0,e+1)}project(e){-1===this._projects.indexOf(e)&&this._projects.push(e)}populate(){const e=this._projects.slice();this._projects.length=0;for(const t of e)this.create(t)}create(e){if(this.hasInstance(e.instanceClassName))return;h.debug(`create instance of ${e.instanceClassName} on element [${this.id}]`);const t=e.create(this);this.instances.push(t),t._config(this,e),this._proxy&&(this._proxy[e.property]=t.proxy)}remove(e){const t=this.instances.indexOf(e);t>-1&&this.instances.splice(t,1),this._proxy&&delete this._proxy[e.registration.property]}get parent(){return this._parent}get ascendants(){return[this.parent,...this.parent.ascendants]}get children(){return this._children}get descendants(){const e=[...this._children];return this._children.forEach(t=>e.push(...t.descendants)),e}addChild(e,t){return this._children.indexOf(e)>-1?null:(e._parent=this,!isNaN(t)&&t>-1&&t<this._children.length?this._children.splice(t,0,e):this._children.push(e),e)}removeChild(e){const t=this._children.indexOf(e);if(-1===t)return null;e._parent=null,this._children.splice(t,1)}emit(t,s){const i=e.getModule("stage").collection,n=[];for(const e of i)n.push(...e._emit(t,s));return n}_emit(e,t){const s=[];for(const i of this.instances)s.push(...i._emitter.emit(e,t));return s}ascend(e,t){return this._parent?this._parent._ascend(e,t):[]}_ascend(e,t){const s=[];for(const i of this.instances)s.push(...i._ascent.emit(e,t));return this._parent&&s.push(...this._parent._ascend(e,t)),s}descend(e,t){const s=[];for(const i of this._children)s.push(...i._descend(e,t));return s}_descend(e,t){const s=[];for(const i of this.instances)s.push(...i._descent.emit(e,t));for(const i of this._children)s.push(...i._descend(e,t));return s}getInstance(e){for(const t of this.instances)if(t.registration.hasInstanceClassName(e))return t;return null}hasInstance(e){return null!==this.getInstance(e)}getDescendantInstances(e,t,s){if(!e)return[];const i=[];for(const n of this._children){const r=n.getInstance(e);r&&(i.push(r),s)||(t&&n.hasInstance(t)||!n.children.length||i.push.apply(i,n.getDescendantInstances(e,t,s)))}return i}getAscendantInstance(e,t){if(!e||!this._parent)return null;const s=this._parent.getInstance(e);return s||(t&&this._parent.hasInstance(t)?null:this._parent.getAscendantInstance(e,t))}dispose(){for(let e=this.instances.length-1;e>=0;e--){const t=this.instances[e];t&&t._dispose()}this.instances.length=0,e.remove("stage",this),this.parent.removeChild(this),this._children.length=0,h.debug(`remove element [${this.id}] ${this.html}`)}prepare(e){-1===this.attributeNames.indexOf(e)&&this.attributeNames.push(e)}examine(){const e=this.attributeNames.slice();this.attributeNames.length=0;for(let t=this.instances.length-1;t>-1;t--)this.instances[t].examine(e)}}const y={CLICK:g.emission("root","click"),INTERACTION:g.emission("root","interaction"),KEYDOWN:g.emission("root","keydown"),KEYUP:g.emission("root","keyup")},C={TAB:{id:"tab",value:9},ESCAPE:{id:"escape",value:27},END:{id:"end",value:35},HOME:{id:"home",value:36},LEFT:{id:"left",value:37},UP:{id:"up",value:38},RIGHT:{id:"right",value:39},DOWN:{id:"down",value:40}},w=e=>Object.values(C).filter(t=>t.value===e)[0];class N extends S{constructor(){super(document.documentElement,"root"),this.node.setAttribute(g.attr("js"),!0),this.listen()}listen(){document.documentElement.addEventListener("click",this.click.bind(this),{capture:!0}),document.documentElement.addEventListener(window.PointerEvent?"pointerdown":"touchstart",this.interaction.bind(this),{capture:!0,passive:!0}),document.documentElement.addEventListener("keydown",this.keydown.bind(this),{capture:!0}),document.documentElement.addEventListener("keyup",this.keyup.bind(this),{capture:!0})}click(e){this.emit(y.CLICK,e.target)}interaction(e){this.emit(y.INTERACTION,e.target)}keydown(e){this.emit(y.KEYDOWN,w(e.keyCode))}keyup(e){this.emit(y.KEYUP,w(e.keyCode))}}class R extends b{constructor(){super("stage"),this.root=new N,super.add(this.root),this.observer=new MutationObserver(this.mutate.bind(this)),this.modifications=[],this.willModify=!1,this.modifying=this.modify.bind(this)}hasElement(e){for(const t of this.collection)if(t.node===e)return!0;return!1}getElement(e){for(const t of this.collection)if(t.node===e)return t;const t=new S(e);return this.add(t),h.debug(`add element [${t.id}] ${t.html}`),t}getProxy(e){if(!this.hasElement(e))return null;return this.getElement(e).proxy}add(e){super.add(e),this.put(e,this.root)}put(e,t){let s=0;for(let i=t.children.length-1;i>-1;i--){const n=t.children[i],r=e.node.compareDocumentPosition(n.node);if(r&Node.DOCUMENT_POSITION_CONTAINS)return void this.put(e,n);if(r&Node.DOCUMENT_POSITION_CONTAINED_BY)t.removeChild(n),e.addChild(n,0);else if(r&Node.DOCUMENT_POSITION_PRECEDING){s=i+1;break}}t.addChild(e,s)}activate(){this.observer.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0})}deactivate(){this.observer.disconnect()}mutate(e){const t=[];e.forEach(e=>{switch(e.type){case"childList":e.removedNodes.forEach(e=>this.dispose(e)),e.addedNodes.forEach(e=>this.parse(e));break;case"attributes":if(this.hasElement(e.target)){const s=this.getElement(e.target);s.prepare(e.attributeName),-1===t.indexOf(s)&&t.push(s);for(const e of s.descendants)-1===t.indexOf(e)&&t.push(e)}-1===this.modifications.indexOf(e.target)&&this.modifications.push(e.target)}}),t.forEach(e=>e.examine()),this.modifications.length&&!this.willModify&&(this.willModify=!0,window.requestAnimationFrame(this.modifying))}modify(){this.willModify=!1;const e=this.modifications.slice();this.modifications.length=0;for(const t of e)document.documentElement.contains(t)&&this.parse(t)}dispose(e){const t=[];this.forEach(s=>{e.contains(s.node)&&t.push(s)});for(const e of t)e.dispose(),this.remove(e)}parse(t,s,i){const n=s?[s]:e.getModule("register").collection,r=[];for(const e of n){const s=e.parse(t,i);for(const t of s){const s=this.getElement(t);s.project(e),-1===r.indexOf(s)&&r.push(s)}}for(const e of r)e.populate()}}class D extends b{constructor(){super("render"),this.rendering=this.render.bind(this),this.nexts=new _}activate(){window.requestAnimationFrame(this.rendering)}request(e){this.nexts.add(e)}render(){if(!e.isActive)return;if(window.requestAnimationFrame(this.rendering),this.forEach(e=>e.render()),!this.nexts.length)return;const t=this.nexts.clone();this.nexts.clear(),t.forEach(e=>e.next()),u(m.RENDER)}}class L extends b{constructor(){super("resize"),this.requireResize=!1,this.resizing=this.resize.bind(this);const e=this.request.bind(this);document.fonts&&document.fonts.ready.then(e),window.addEventListener("resize",e),window.addEventListener("orientationchange",e)}activate(){this.request()}request(){this.requireResize||(this.requireResize=!0,window.requestAnimationFrame(this.resizing))}resize(){this.requireResize&&(this.forEach(e=>e.resize()),this.requireResize=!1,u(m.RESIZE))}}class I extends b{constructor(){super("lock"),this._isLocked=!1,this._scrollY=0,this.onPopulate=this.lock.bind(this),this.onEmpty=this.unlock.bind(this)}get isLocked(){return this._isLocked}lock(){if(!this._isLocked){this._isLocked=!0,this._scrollY=window.scrollY;const e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.setAttribute(g.attr("scrolling"),"false"),document.body.style.top=-this._scrollY+"px",this.behavior=getComputedStyle(document.documentElement).getPropertyValue("scroll-behavior"),"smooth"===this.behavior&&(document.documentElement.style.scrollBehavior="auto"),e>0&&document.documentElement.style.setProperty("--scrollbar-width",`${e}px`),u(m.SCROLL_LOCK)}}unlock(){this._isLocked&&(this._isLocked=!1,document.documentElement.removeAttribute(g.attr("scrolling")),document.body.style.top="",window.scrollTo(0,this._scrollY),"smooth"===this.behavior&&document.documentElement.style.removeProperty("scroll-behavior"),document.documentElement.style.removeProperty("--scrollbar-width"),u(m.SCROLL_UNLOCK))}move(e){this._isLocked?(this._scrollY+=e,document.body.style.top=-this._scrollY+"px"):window.scrollTo(0,window.scrollY+e)}}class O extends b{constructor(){super("load"),this.loading=this.load.bind(this)}activate(){window.addEventListener("load",this.loading)}load(){this.forEach(e=>e.load())}}const x=["Marianne","Spectral"];class P extends b{constructor(){super("font-swap"),this.swapping=this.swap.bind(this)}activate(){document.fonts&&document.fonts.addEventListener("loadingdone",this.swapping)}swap(){const e=x.filter(e=>document.fonts.check(`16px ${e}`));this.forEach(t=>t.swapFont(e))}}class k extends b{constructor(){super("mouse-move"),this.requireMove=!1,this._isMoving=!1,this.moving=this.move.bind(this),this.requesting=this.request.bind(this),this.onPopulate=this.listen.bind(this),this.onEmpty=this.unlisten.bind(this)}listen(){this._isMoving||(this._isMoving=!0,this.requireMove=!1,document.documentElement.addEventListener("mousemove",this.requesting))}unlisten(){this._isMoving&&(this._isMoving=!1,this.requireMove=!1,document.documentElement.removeEventListener("mousemove",this.requesting))}request(e){this._isMoving&&(this.point={x:e.clientX,y:e.clientY},this.requireMove||(this.requireMove=!0,window.requestAnimationFrame(this.moving)))}move(){this.requireMove&&(this.forEach(e=>e.mouseMove(this.point)),this.requireMove=!1)}}class M extends b{constructor(){super("hash"),this.handling=this.handle.bind(this),this.getLocationHash()}activate(){window.addEventListener("hashchange",this.handling)}deactivate(){window.removeEventListener("hashchange",this.handling)}_sanitize(e){return"#"===e.charAt(0)?e.substring(1):e}set hash(e){const t=this._sanitize(e);this._hash!==t&&(window.location.hash=t)}get hash(){return this._hash}getLocationHash(){const e=window.location.hash;this._hash=this._sanitize(e)}handle(e){this.getLocationHash(),this.forEach(t=>t.handleHash(this._hash,e))}}const $=new class{constructor(){e.create(v),e.create(R),e.create(D),e.create(L),e.create(I),e.create(O),e.create(P),e.create(k),e.create(M);const t=e.getModule("register");this.register=t.register.bind(t)}get isActive(){return e.isActive}start(){h.debug("START"),e.isActive=!0,u(m.START)}stop(){h.debug("STOP"),e.isActive=!1,u(m.STOP)}};const G=e=>{switch(!0){case e.hover:return"-hover";case e.active:return"-active";default:return""}},H=new class{getColor(e,t,s,i={}){const n=`--${e}-${t}-${s}${G(i)}`;return getComputedStyle(document.documentElement).getPropertyValue(n).trim()||null}},U=e=>"."===e.charAt(0)?e.substr(1):e,B=e=>{switch(!0){case!e.className:return[];case"string"==typeof e.className:return e.className.split(" ");case"string"==typeof e.className.baseVal:return e.className.baseVal.split(" ")}return[]},F=(e,t,s)=>{t=U(t);const i=B(e),n=i.indexOf(t);!0===s?n>-1&&i.splice(n,1):-1===n&&i.push(t),e.className=i.join(" ")},W=(e,t)=>F(e,t),q=(e,t)=>F(e,t,!0),z=(e,t)=>B(e).indexOf(U(t))>-1,j=['[tabindex]:not([tabindex="-1"])',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),K=e=>e.querySelectorAll(j);let V=0;const Y=e=>{if(!document.getElementById(e))return e;let t=!0;const s=e;for(;t;)V++,e=`${s}-${V}`,t=document.getElementById(e);return e},X={addClass:W,hasClass:z,removeClass:q,queryParentSelector:E,querySelectorAllArray:f,queryActions:K,uniqueId:Y,dispatch:d};const Q={DataURISVG:class{constructor(e=0,t=0){this._width=e,this._height=t,this._content=""}get width(){return this._width}set width(e){this._width=e}get height(){return this._height}set height(e){this._height=e}get content(){return this._content}set content(e){this._content=e}getDataURI(e=!1){let t=`<svg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 ${this._width} ${this._height}' width='${this._width}px' height='${this._height}px'>${this._content}</svg>`;return t=t.replace(/#/gi,"%23"),e&&(t=t.replace(/</gi,"%3C"),t=t.replace(/>/gi,"%3E"),t=t.replace(/"/gi,"'"),t=t.replace(/{/gi,"%7B"),t=t.replace(/}/gi,"%7D")),`data:image/svg+xml;charset=utf8,${t}`}}},Z={supportLocalStorage:()=>{try{return"localStorage"in window&&null!==window.localStorage}catch(e){return!1}},supportAspectRatio:()=>!!window.CSS&&CSS.supports("aspect-ratio: 16 / 9")},J={TransitionSelector:{NONE:g.selector("transition-none")}},ee=(e,...t)=>(t.forEach(t=>{const s=Object.keys(t).reduce((e,s)=>(e[s]=Object.getOwnPropertyDescriptor(t,s),e),{});Object.getOwnPropertySymbols(t).forEach(e=>{const i=Object.getOwnPropertyDescriptor(t,e);i.enumerable&&(s[e]=i)}),Object.defineProperties(e,s)}),e),te={completeAssign:ee},se={},ie={};Object.defineProperty(ie,"isLegacy",{get:()=>e.isLegacy}),ie.setLegacy=()=>{e.isLegacy=!0},se.legacy=ie,se.dom=X,se.image=Q,se.support=Z,se.motion=J,se.property=te,se.ns=g,se.register=$.register,se.state=e,se.query=(e=>{if(e&&e.search){const e=new URLSearchParams(window.location.search).entries();return Object.fromEntries(e)}return null})(window.location),Object.defineProperty(se,"preventManipulation",{get:()=>p.preventManipulation}),Object.defineProperty(se,"stage",{get:()=>e.getModule("stage")});const ne=t=>e.getModule("stage").getProxy(t);ne.version=n,ne.prefix=t,ne.organisation=i,ne.Modes=l,Object.defineProperty(ne,"mode",{set:e=>{p.mode=e},get:()=>p.mode}),ne.internals=se,ne.version=n,ne.start=$.start,ne.stop=$.stop,ne.inspector=h,ne.colors=H;const re=window[s];ne.internals.configuration=re,p.configure(re,ne.start,ne.internals.query),window[s]=ne;class ae{constructor(){this.emissions={}}add(e,t){if("function"!=typeof t)throw new Error("closure must be a function");this.emissions[e]||(this.emissions[e]=[]),this.emissions[e].push(t)}remove(e,t){if(this.emissions[e])if(t){const s=this.emissions[e].indexOf(t);s>-1&&this.emissions[e].splice(s)}else delete this.emissions[e]}emit(e,t){if(!this.emissions[e])return[];const s=[];for(const i of this.emissions[e])i&&s.push(i(t));return s}dispose(){this.emissions=null}}const oe=new class{constructor(){this._activeElements=[],window.document.addEventListener("focusin",this._onFocusIn.bind(this))}_onFocusIn(e){this._activeElements.push(e.target)}get index(){return this._activeElements.length-1}focus(e){const t=this._activeElements[e];switch(!0){case e<0:case 0===this._activeElements.length:return void this.focusOnLogo();case!t:case!document.documentElement.contains(t):case!this._isDisplayed(t):return void this.focus(e-1)}t.focus()}focusOnLogo(){const e=document.querySelector(ne.header.HeaderSelector.BRAND_LINK);e&&e.focus()}_isDisplayed(e){for(;e&&e!==document.documentElement;){if(e===document.body)return!0;const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!1;e=e.parentElement}return!0}};class he{constructor(e,t){this.id=e,this.minWidth=t}test(){return window.matchMedia(`(min-width: ${this.minWidth}em)`).matches}}const ce={XS:new he("xs",0),SM:new he("sm",36),MD:new he("md",48),LG:new he("lg",62),XL:new he("xl",78)},le={CLICK:g.event("click")};class de{constructor(e=!0){this.jsAttribute=e,this._isRendering=!1,this._isResizing=!1,this._isScrollLocked=!1,this._isLoading=!1,this._isSwappingFont=!1,this._isEnabled=!0,this._isDisposed=!1,this._listeners={},this._handlingClick=this._handleClick.bind(this),this._hashes=[],this._hash="",this._keyListenerTypes=[],this._keys=[],this.handlingKey=this.handleKey.bind(this),this._emitter=new ae,this._ascent=new ae,this._descent=new ae,this._registrations=[],this._nexts=[]}static get instanceClassName(){return"Instance"}_config(e,t){this.element=e,this.registration=t,this.node=e.node,this.id=e.node.id,this.jsAttribute&&this.setAttribute(t.attribute,!0),this.init()}init(){}get proxy(){const e=this;return ee({render:()=>e.render(),resize:()=>e.resize()},{get node(){return e.node},get isEnabled(){return e.isEnabled},set isEnabled(t){e.isEnabled=t}})}log(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.log.apply(h,e)}debug(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.debug.apply(h,e)}info(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.info.apply(h,e)}warn(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.warn.apply(h,e)}error(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.error.apply(h,e)}register(t,s){const i=e.getModule("register").register(t,s,this);this._registrations.push(i)}getRegisteredInstances(e){for(const t of this._registrations)if(t.hasInstanceClassName(e))return t.instances.collection;return[]}dispatch(e,t=null,s=!0,i=!1){d(this.node,e,t,s,i)}listen(e,t,s){this._listeners[e]||(this._listeners[e]=[]);const i=this._listeners[e],n=new ge(this.node,e,t,s);i.push(n),n.listen()}unlisten(e,t,s){if(!e){for(const e in this._listeners)this.unlisten(e);return}const i=this._listeners[e];if(!i)return;if(!t)return void i.forEach(t=>this.unlisten(e,t.closure));const n=i.filter(e=>e.closure===t&&e.matchOptions(s));n.forEach(e=>e.unlisten()),this._listeners[e]=i.filter(e=>-1===n.indexOf(e))}listenClick(e){this.listen("click",this._handlingClick,e)}unlistenClick(e){this.unlisten("click",this._handlingClick,e)}_handleClick(e){this.handleClick(e),this.dispatch(le.CLICK,this)}handleClick(e){}set hash(t){e.getModule("hash").hash=t}get hash(){return e.getModule("hash").hash}listenHash(t,s){if(!this._hashes)return;0===this._hashes.length&&e.add("hash",this);const i=new me(t,s);this._hashes=this._hashes.filter(e=>e.hash!==t),this._hashes.push(i)}unlistenHash(t){this._hashes&&(this._hashes=this._hashes.filter(e=>e.hash!==t),0===this._hashes.length&&e.remove("hash",this))}handleHash(e,t){if(this._hashes)for(const s of this._hashes)s.handle(e,t)}listenKey(e,t,s=!1,i=!1,n="down"){-1===this._keyListenerTypes.indexOf(n)&&(this.listen(`key${n}`,this.handlingKey),this._keyListenerTypes.push(n)),this._keys.push(new ue(n,e,t,s,i))}unlistenKey(e,t){this._keys=this._keys.filter(s=>s.code!==e||s.closure!==t),this._keyListenerTypes.forEach(e=>{this._keys.some(t=>t.type===e)||this.unlisten(`key${e}`,this.handlingKey)})}handleKey(e){for(const t of this._keys)t.handle(e)}get isEnabled(){return this._isEnabled}set isEnabled(e){this._isEnabled=e}get isRendering(){return this._isRendering}set isRendering(t){this._isRendering!==t&&(t?e.add("render",this):e.remove("render",this),this._isRendering=t)}render(){}request(t){this._nexts.push(t),e.getModule("render").request(this)}next(){const e=this._nexts.slice();this._nexts.length=0;for(const t of e)t&&t()}get isResizing(){return this._isResizing}set isResizing(t){this._isResizing!==t&&(t?(e.add("resize",this),this.resize()):e.remove("resize",this),this._isResizing=t)}resize(){}isBreakpoint(e){return!0==("string"==typeof e)?ce[e.toUpperCase()].test():e.test()}get isScrollLocked(){return this._isScrollLocked}set isScrollLocked(t){this._isScrollLocked!==t&&(t?e.add("lock",this):e.remove("lock",this),this._isScrollLocked=t)}get isLoading(){return this._isLoading}set isLoading(t){this._isLoading!==t&&(t?e.add("load",this):e.remove("load",this),this._isLoading=t)}load(){}get isSwappingFont(){return this._isSwappingFont}set isSwappingFont(t){this._isSwappingFont!==t&&(t?e.add("font-swap",this):e.remove("font-swap",this),this._isSwappingFont=t)}swapFont(){}get isMouseMoving(){return this._isMouseMoving}set isMouseMoving(t){this._isMouseMoving!==t&&(t?e.add("mouse-move",this):e.remove("mouse-move",this),this._isMouseMoving=t)}mouseMove(e){}examine(e){this.node.matches(this.registration.selector)?this.mutate(e):this._dispose()}mutate(e){}retrieveNodeId(e,t){if(e.id)return e.id;const s=Y(`${this.id}-${t}`);return this.warn(`add id '${s}' to ${t}`),e.setAttribute("id",s),s}get isDisposed(){return this._isDisposed}_dispose(){this.debug(`dispose instance of ${this.registration.instanceClassName} on element [${this.element.id}]`),this.removeAttribute(this.registration.attribute),this.unlisten(),e.remove("hash",this),this._hashes=null,this._keys=null,this.isRendering=!1,this.isResizing=!1,this._nexts=null,e.getModule("render").nexts.remove(this),this.isScrollLocked=!1,this.isLoading=!1,this.isSwappingFont=!1,this.isMouseMoving=!1,this._emitter.dispose(),this._emitter=null,this._ascent.dispose(),this._ascent=null,this._descent.dispose(),this._descent=null,this.element.remove(this);for(const t of this._registrations)e.remove("register",t);this._registrations=null,this.registration.remove(this),this._isDisposed=!0,this.dispose()}dispose(){}emit(e,t){return this.element.emit(e,t)}addEmission(e,t){this._emitter.add(e,t)}removeEmission(e,t){this._emitter.remove(e,t)}ascend(e,t){return this.element.ascend(e,t)}addAscent(e,t){this._ascent.add(e,t)}removeAscent(e,t){this._ascent.remove(e,t)}descend(e,t){return this.element.descend(e,t)}addDescent(e,t){this._descent.add(e,t)}removeDescent(e,t){this._descent.remove(e,t)}get style(){return this.node.style}addClass(e){W(this.node,e)}removeClass(e){q(this.node,e)}hasClass(e){return z(this.node,e)}get classNames(){return B(this.node)}remove(){this.node.parentNode.removeChild(this.node)}setAttribute(e,t){this.node.setAttribute(e,t)}getAttribute(e){return this.node.getAttribute(e)}hasAttribute(e){return this.node.hasAttribute(e)}removeAttribute(e){this.node.removeAttribute(e)}setProperty(e,t){this.node.style.setProperty(e,t)}removeProperty(e){this.node.style.removeProperty(e)}focus(){this.node.focus()}blur(){this.node.blur()}retainFocus(){this._focusIndex=oe.index}focusBack(){oe.focus(this._focusIndex)}focusClosest(){const e=this._focusClosest(this.node.parentNode);e&&e.focus()}_focusClosest(e){if(!e)return null;const t=[...K(e)];if(t.length<=1)return this._focusClosest(e.parentNode);{const e=t.indexOf(this.node);return t[e+(e<t.length-1?1:-1)]}}get hasFocus(){return this.node===document.activeElement}scrollIntoView(){const t=this.getRect(),s=e.getModule("lock");t.top<0&&s.move(t.top-50),t.bottom>window.innerHeight&&s.move(t.bottom-window.innerHeight+50)}matches(e){return this.node.matches(e)}querySelector(e){return this.node.querySelector(e)}querySelectorAll(e){return f(this.node,e)}queryParentSelector(e){return E(this.node,e)}getRect(){const e=this.node.getBoundingClientRect();return e.center=e.left+.5*e.width,e.middle=e.top+.5*e.height,e}get isLegacy(){return e.isLegacy}}class ue{constructor(e,t,s,i,n){this.type=e,this.eventType=`key${e}`,this.keyCode=t,this.closure=s,this.preventDefault=!0===i,this.stopPropagation=!0===n}handle(e){e.type===this.eventType&&e.keyCode===this.keyCode.value&&(this.closure(e),this.preventDefault&&e.preventDefault(),this.stopPropagation&&e.stopPropagation())}}class ge{constructor(e,t,s,i){this._node=e,this._type=t,this._closure=s,this._options=i}get closure(){return this._closure}listen(){this._node.addEventListener(this._type,this._closure,this._options)}matchOptions(e=null){switch(!0){case null===e:case"boolean"==typeof this._options&&"boolean"==typeof e&&this._options===e:return!0;case Object.keys(this._options).length!==Object.keys(e).length:return!1;case Object.keys(e).every(t=>this._options[t]===e[t]):return!0}return!1}unlisten(){this._node.removeEventListener(this._type,this._closure,this._options)}}class me{constructor(e,t){this.hash=e,this.add=t}handle(e,t){this.hash===e&&this.add(t)}}const pe={DISCLOSE:g.event("disclose"),CONCEAL:g.event("conceal"),CURRENT:g.event("current")},_e={RESET:g.emission("disclosure","reset"),ADDED:g.emission("disclosure","added"),RETRIEVE:g.emission("disclosure","retrieve"),REMOVED:g.emission("disclosure","removed"),GROUP:g.emission("disclosure","group"),UNGROUP:g.emission("disclosure","ungroup"),SPOTLIGHT:g.emission("disclosure","spotlight")};class be extends de{constructor(e,t,s,i){super(),this.type=e,this._selector=t,this.DisclosureButtonInstanceClass=s,this.disclosuresGroupInstanceClassName=i,this.modifier=this._selector+"--"+this.type.id,this._isPristine=!0,this._isActive=!0,this._isRetrievingPrimaries=!1,this._hasRetrieved=!1,this._primaryButtons=[]}static get instanceClassName(){return"Disclosure"}init(){this.addDescent(_e.RESET,this.reset.bind(this)),this.addDescent(_e.GROUP,this.update.bind(this)),this.addDescent(_e.UNGROUP,this.update.bind(this)),this.addAscent(_e.SPOTLIGHT,this.disclose.bind(this)),this.register(`[aria-controls="${this.id}"]`,this.DisclosureButtonInstanceClass),this.ascend(_e.ADDED),this.listenHash(this.id,this._spotlight.bind(this)),this.update()}get isEnabled(){return super.isEnabled}set isEnabled(e){this.isEnabled!==e&&(super.isEnabled=e,e?this.ascend(_e.ADDED):this.ascend(_e.REMOVED))}get isActive(){return this._isActive}set isActive(e){this._isActive!==e&&(this._isActive=e,e?this.ascend(_e.ADDED):(this.ascend(_e.REMOVED),this.isDisclosed&&this.conceal()))}get isPristine(){return this._isPristine}get proxy(){const e=this,t=Object.assign(super.proxy,{disclose:e.disclose.bind(e),focus:e.focus.bind(e)});this.type.canConceal&&(t.conceal=e.conceal.bind(e));return ee(t,{get buttons(){return e.buttons.map(e=>e.proxy)},get group(){const t=e.group;return t?t.proxy:null},get isDisclosed(){return e.isDisclosed},get isEnabled(){return e.isEnabled},get isActive(){return e.isActive}})}get buttons(){return this.getRegisteredInstances(this.DisclosureButtonInstanceClass.instanceClassName)}update(){this.getGroup(),this.retrievePrimaries()}getGroup(){if(!this.disclosuresGroupInstanceClassName)return void(this._group=null);const e=this.element.getAscendantInstance(this.disclosuresGroupInstanceClassName,this.constructor.instanceClassName);e&&e.validate(this)?this._group=e:this._group=null}get group(){return this._group}disclose(e){return!(!0===this.isDisclosed||!this.isEnabled||!this._isActive)&&(this.retainFocus(),this._isPristine=!1,this.isDisclosed=!0,!e&&this.group&&(this.group.current=this),!0)}conceal(e,t=!0){return!1!==this.isDisclosed&&(!(!this.type.canConceal&&this.group&&this.group.current===this)&&(this.isDisclosed=!1,!e&&this.group&&this.group.current===this&&(this.group.current=null),t||this.focus(),this._isPristine||this.descend(_e.RESET),!0))}get isDisclosed(){return this._isDisclosed}set isDisclosed(e){if(this._isDisclosed!==e&&(this.isEnabled||!0!==e)){this._isPristine||this.dispatch(e?pe.DISCLOSE:pe.CONCEAL,this),this._isDisclosed=e,e?this.addClass(this.modifier):this.removeClass(this.modifier);for(let t=0;t<this.buttons.length;t++)this.buttons[t].apply(e)}}get isInitiallyDisclosed(){return this.primaryButtons.some(e=>e.isInitiallyDisclosed)}hasRetrieved(){return this._hasRetrieved}reset(){}toggle(e){if(this.type.canConceal)switch(!0){case!e:case this.isDisclosed:this.conceal(!1,!1);break;default:this.disclose()}else this.disclose()}get buttonHasFocus(){return this.buttons.some(e=>e.hasFocus)}get hasFocus(){return!!super.hasFocus||(!!this.buttonHasFocus||this.querySelectorAll(":focus").length>0)}focus(){this.focusBack()}get primaryButtons(){return this._primaryButtons}retrievePrimaries(){this._isRetrievingPrimaries||(this._isRetrievingPrimaries=!0,this.request(this._retrievePrimaries.bind(this)))}_retrievePrimaries(){if(this._isRetrievingPrimaries=!1,this._primaryButtons=this._electPrimaries(this.buttons),!(this._hasRetrieved||0===this._primaryButtons.length&&this.type.requirePrimary))if(this.retrieved(),this._hasRetrieved=!0,this.applyAbility(!0),this.group)this.group.retrieve();else if(this._isPristine&&this.isEnabled&&this.isActive&&!this.group)switch(!0){case this.hash===this.id:this._spotlight();break;case this.isInitiallyDisclosed:this.disclose()}}retrieved(){}_spotlight(){this.disclose(),this.request(()=>{this.ascend(_e.SPOTLIGHT)})}_electPrimaries(e){return e.filter(e=>e.canDisclose&&!this.node.contains(e.node))}applyAbility(e=!1){const t=!this.type.requirePrimary||this._primaryButtons.some(e=>!e.isDisabled);this.isEnabled!==t&&(this.isEnabled=t,e||(!this.isEnabled&&this.isDisclosed&&(this.group?this.ascend(_e.REMOVED):this.type.canConceal&&this.conceal()),this.isEnabled&&(this.group&&this.ascend(_e.ADDED),this.hash===this.id&&this._spotlight())))}dispose(){this._group=null,this._primaryButtons=null,super.dispose(),this.ascend(_e.REMOVED)}}class fe extends de{constructor(e){super(),this.type=e,this.attributeName=e.ariaState?"aria-"+e.id:g.attr(e.id),this._canDisclose=!1}static get instanceClassName(){return"DisclosureButton"}get isPrimary(){return this.registration.creator.primaryButtons.includes(this)}get canDisclose(){return this._canDisclose}get isDisabled(){return this.type.canDisable&&this.hasAttribute("disabled")}init(){this._canDisclose=this.hasAttribute(this.attributeName),this._isInitiallyDisclosed=this.isDisclosed,this._isContained=this.registration.creator.node.contains(this.node),this.controlsId=this.getAttribute("aria-controls"),this.registration.creator.retrievePrimaries(),this.listenClick()}get proxy(){return Object.assign(super.proxy,{focus:this.focus.bind(this)})}handleClick(e){this.registration.creator&&this.registration.creator.toggle(this.canDisclose)}mutate(e){this._canDisclose=this.hasAttribute(this.attributeName),this.registration.creator.applyAbility(),!this._isApplying&&this.isPrimary&&e.indexOf(this.attributeName)>-1&&this.registration.creator&&(this.isDisclosed?this.registration.creator.disclose():this.type.canConceal&&this.registration.creator.conceal())}apply(e){this.canDisclose&&(this._isApplying=!0,this.setAttribute(this.attributeName,e),this.request(()=>{this._isApplying=!1}))}get isDisclosed(){return"true"===this.getAttribute(this.attributeName)}get isInitiallyDisclosed(){return this._isInitiallyDisclosed}focus(){super.focus(),this.scrollIntoView()}measure(e){const t=this.rect;this._dx=e.x-t.x,this._dy=e.y-t.y}get dx(){return this._dx}get dy(){return this._dy}}const Ee={PREVENT_CONCEAL:g.attr.selector("prevent-conceal"),GROUP:g.attr("group")};class Ae extends de{constructor(e,t){super(t),this.disclosureInstanceClassName=e,this._members=[],this._index=-1,this._isRetrieving=!1,this._hasRetrieved=!1,this._isGrouped=!0}static get instanceClassName(){return"DisclosuresGroup"}init(){this.addAscent(_e.ADDED,this.update.bind(this)),this.addAscent(_e.RETRIEVE,this.retrieve.bind(this)),this.addAscent(_e.REMOVED,this.update.bind(this)),this.descend(_e.GROUP),this._isGrouped="false"!==this.getAttribute(Ee.GROUP),this.update()}get proxy(){const e=this,t={set index(t){e.index=t},get index(){return e.index},get length(){return e.length},get current(){const t=e.current;return t?t.proxy:null},get members(){return e.members.map(e=>e.proxy)},get hasFocus(){return e.hasFocus},set isGrouped(t){e.isGrouped=t},get isGrouped(){return e.isGrouped}};return ee(super.proxy,t)}validate(e){return!0}getMembers(){const e=this.element.getDescendantInstances(this.disclosureInstanceClassName,this.constructor.instanceClassName,!0);this._members=e.filter(this.validate.bind(this)).filter(e=>e.isEnabled&&e.isActive);e.filter(e=>!this._members.includes(e)).forEach(e=>e.conceal())}retrieve(e=!1){this._isRetrieving||this._hasRetrieved&&!e||(this._isRetrieving=!0,this.request(this._retrieve.bind(this)))}_retrieve(){if(this.getMembers(),this._isRetrieving=!1,this._hasRetrieved=!0,this.isGrouped){if(this.hash)for(let e=0;e<this.length;e++){const t=this.members[e];if(this.hash===t.id)return this.index=e,this.request(()=>{this.ascend(_e.SPOTLIGHT)}),e}for(let e=0;e<this.length;e++){if(this.members[e].isInitiallyDisclosed)return this.index=e,e}return this.getIndex()}for(let e=0;e<this.length;e++){const t=this.members[e];t.isInitiallyDisclosed&&t.disclose(!0)}}update(){this.getMembers(),this._hasRetrieved&&this.isGrouped&&this.getIndex()}get members(){return this._members}get length(){return this.members?this.members.length:0}getIndex(e=-1){this._index=void 0;let t=e;for(let e=0;e<this.length;e++)if(this.members[e].isDisclosed){t=e;break}return this.index=t,t}get index(){return this._index}set index(e){if(!(e<-1||e>=this.length||e===this._index)){this._index=e;for(let t=0;t<this.length;t++){const s=this.members[t];e===t?s.isDisclosed||s.disclose(!0):!this.isGrouped&&this.canUngroup||!1===s.isDisclosed||s.conceal(!0)}this.apply(),this.dispatch(pe.CURRENT,this.current)}}get current(){return-1===this._index||isNaN(this._index)?null:this._members[this._index]||null}set current(e){this.index=this.members.indexOf(e)}get hasFocus(){const e=this.current;return!!e&&e.hasFocus}set isGrouped(e){const t=!!e;this._isGrouped!==t&&(this._isGrouped=t,this.setAttribute(Ee.GROUP,!!e),this.update())}get isGrouped(){return this._isGrouped}get canUngroup(){return!1}mutate(e){e.includes(Ee.GROUP)&&(this.isGrouped="false"!==this.getAttribute(Ee.GROUP))}apply(){}dispose(){super.dispose(),this.descend(_e.UNGROUP),this._members=null}}const ve={EXPAND:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0,canDisable:!0,requirePrimary:!0},SELECT:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1,canDisable:!0,requirePrimary:!0},OPENED:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0,canDisable:!1,requirePrimary:!1}};class Te extends fe{constructor(){super(ve.EXPAND)}static get instanceClassName(){return"CollapseButton"}}const Se={COLLAPSE:g.selector("collapse"),COLLAPSING:g.selector("collapsing")};const ye={CHANGE:g("equisized")};const Ce=new Set(["svg","g","defs","symbol","use","title","desc","style","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","textpath","image","clippath","mask","lineargradient","radialgradient","stop","pattern","marker","filter","fegaussianblur","fecolormatrix","feblend","fecomposite","feflood","femerge","femergenode","feoffset","view","switch"]),we=new Set(["href","xlink:href","src","action","formaction"]),Ne=/^\s*(?:javascript|data|vbscript)\s*:/i,Re=/@import|expression\s*\(|url\s*\(\s*['"]?\s*(?:javascript|data|vbscript):|behavior\s*:|-moz-binding/i;function De(e){for(const t of Array.from(e.childNodes))if(t.nodeType===Node.ELEMENT_NODE){const s=t.tagName.toLowerCase();if(!Ce.has(s)){e.removeChild(t);continue}for(const e of Array.from(t.attributes)){const s=e.name.toLowerCase();if(s.startsWith("on"))t.removeAttribute(e.name);else if(we.has(s)&&Ne.test(e.value))t.removeAttribute(e.name);else if(!we.has(s)||Oe(e.value)){if("style"===s){const s=Le(e.value);s?t.setAttribute(e.name,s):t.removeAttribute(e.name)}}else t.removeAttribute(e.name)}if("style"===s){const s=Le(t.textContent);if(!s){e.removeChild(t);continue}t.textContent=s}De(t)}}function Le(e){const t=String(e||"").trim();return t?Re.test(t)?"":t:""}function Ie(e){for(const t of Array.from(e.attributes)){const s=t.name.toLowerCase();s.startsWith("on")?e.removeAttribute(t.name):(we.has(s)&&Ne.test(t.value)||we.has(s)&&!Oe(t.value))&&e.removeAttribute(t.name)}return De(e),e}function Oe(e){const t=String(e||"").trim();return!t||("#"===t.charAt(0)||xe(t))}function xe(e){if(!e)return!1;try{const t=document.createElement("a");t.href=e;const s=(t.protocol||window.location.protocol).toLowerCase();if("http:"!==s&&"https:"!==s)return!1;const i=t.hostname||window.location.hostname,n=t.port||("https:"===s?"443":"80"),r=window.location.port||("https:"===window.location.protocol?"443":"80");return s===window.location.protocol&&i===window.location.hostname&&n===r}catch(e){return!1}}const Pe={INJECT_SVG:`[${g.attr("inject-svg")}]`};const ke={ARTWORK_USE:`${g.selector("artwork")} use`},Me={ASSESS_FILE:`${g.attr.selector("assess-file")}`,DETAIL:`${g.attr.selector("assess-file")} [class$="__detail"], ${g.attr.selector("assess-file")} [class*="__detail "]`},$e={UPDATE:g.emission("assess","update"),ADDED:g.emission("assess","added")};const Ge=["32x9","16x9","3x2","4x3","1x1","3x4","2x3"],He=(e,t)=>t.map(t=>g.selector(`${e}--${t}`)).join(","),Ue=`${g.selector("responsive-img")}, ${He("responsive-img",Ge)}, ${g.selector("responsive-vid")}, ${He("responsive-vid",["16x9","4x3","1x1"])}`,Be={RATIO:`${g.selector("ratio")}, ${He("ratio",Ge)}, ${Ue}`},Fe=window[s];const We={TOP:g.selector("placement--top"),RIGHT:g.selector("placement--right"),BOTTOM:g.selector("placement--bottom"),LEFT:g.selector("placement--left")},qe={START:g.selector("placement--start"),CENTER:g.selector("placement--center"),END:g.selector("placement--end")},ze={TOP:"place_top",RIGHT:"place_right",BOTTOM:"place_bottom",LEFT:"place_left"},je={START:"align_start",CENTER:"align_center",END:"align_end"},Ke={AUTO:"placement_auto",MANUAL:"placement_manual"};ne.core={Instance:de,Breakpoints:ce,KeyCodes:C,Disclosure:be,DisclosureButton:fe,DisclosuresGroup:Ae,DisclosureType:ve,DisclosureEvent:pe,DisclosureSelector:Ee,DisclosureEmission:_e,Collapse:class extends be{constructor(){super(ve.EXPAND,Se.COLLAPSE,Te,"CollapsesGroup")}static get instanceClassName(){return"Collapse"}init(){super.init(),this.listen("transitionend",this.endCollapsing.bind(this))}endCollapsing(e){this._isCollpasing&&(this._timeout&&clearTimeout(this._timeout),this._timeout=null,this._isCollpasing=!1,this.removeClass(Se.COLLAPSING),this.isDisclosed||this.isLegacy&&(this.style.maxHeight=""))}unbound(){this.isLegacy&&(this.style.maxHeight="none")}disclose(e){if(!0===this.isDisclosed||!this.isEnabled)return!1;this.unbound(),this.collapsing(()=>super.disclose(e))}conceal(e,t){if(!1===this.isDisclosed)return!1;this.collapsing(()=>super.conceal(e,t))}collapsing(e){this._isCollpasing=!0,this._timeout&&clearTimeout(this._timeout),this.addClass(Se.COLLAPSING),this.adjust(),this.request(()=>{e(),this._timeout=setTimeout(this.endCollapsing.bind(this),500)})}adjust(){this.setProperty("--collapser","none");const e=this.node.offsetHeight;this.setProperty("--collapse",-e+"px"),this.setProperty("--collapser","")}reset(){this.isPristine||(this.isDisclosed=!1)}_electPrimaries(e){const t=this.element.parent.instances.map(e=>e.collapsePrimary).filter(t=>void 0!==t&&e.indexOf(t)>-1);if(1===t.length)return t;if(1===(e=super._electPrimaries(e)).length)return e;const s=e.filter(e=>e.dy>=0);if(s.length>0&&(e=s),1===e.length)return e;const i=Math.min(...e.map(e=>e.dy)),n=e.filter(e=>e.dy===i);return n.length>0&&(e=n),1===e.length||e.sort((e,t)=>Math.abs(t.dx)-Math.abs(e.dx)),e}},CollapseButton:Te,CollapsesGroup:class extends Ae{constructor(){super("Collapse")}static get instanceClassName(){return"CollapsesGroup"}get canUngroup(){return!0}},CollapseSelector:Se,RootSelector:{ROOT:":root"},RootEmission:y,Equisized:class extends de{static get instanceClassName(){return"Equisized"}init(){this.ascend(ye.CHANGE)}measure(){return this.isLegacy&&(this.style.width="auto"),this.getRect().width}adjust(e){this.isLegacy&&(this.style.width=`${e}px`)}dispose(){this.ascend(ye.CHANGE)}},EquisizedEmission:ye,Toggle:class extends de{static get instanceClassName(){return"Toggle"}init(){this.pressed="true"===this.pressed,this.listenClick()}handleClick(){this.toggle()}toggle(){this.pressed="true"!==this.pressed}get pressed(){return this.getAttribute("aria-pressed")}set pressed(e){this.setAttribute("aria-pressed",e?"true":"false")}get proxy(){const e=this,t=Object.assign(super.proxy,{toggle:e.toggle.bind(e)});return ee(t,{get pressed(){return e.pressed},set pressed(t){e.pressed=t}})}},EquisizedsGroup:class extends de{static get instanceClassName(){return"EquisizedsGroup"}init(){this.isResizing=!0,this.isLoading=!0,this.addAscent(ye.CHANGE,this.resize.bind(this))}load(){this.resize()}resize(){const e=this.element.getDescendantInstances("Equisized");this.isLegacy||this.style.setProperty("--equisized-width","auto");const t=Math.max(...e.map(e=>e.measure()));this.isLegacy?e.forEach(e=>e.adjust(t)):this.style.setProperty("--equisized-width",`${t}px`)}},InjectSvg:class extends de{static get instanceClassName(){return"InjectSvg"}init(){this.node&&(this.img=this.node.querySelector("img")),this.isLegacy||this.replace()}get proxy(){const e=this;return Object.assign(super.proxy,{replace:e.replace.bind(e),restore:e.restore.bind(e)})}fetch(){if(this.img){if(this.imgID=this.img.getAttribute("id"),this.imgClass=this.img.getAttribute("class"),this.imgURL=this.img.getAttribute("src"),!xe(this.imgURL))return;fetch(this.imgURL).then(e=>e.text()).then(e=>{const t=(new DOMParser).parseFromString(e,"text/html").querySelector("svg");t&&(this.svg=Ie(t),this.replace())})}}replace(){if(!this.svg)return void this.fetch();this.imgID&&void 0!==this.imgID&&this.svg.setAttribute("id",this.imgID);let e=this.imgURL.match(/[ \w-]+\./)[0];e&&(e=e.slice(0,-1),["dark","light","system"].includes(e)&&(this.svg.innerHTML=this.svg.innerHTML.replaceAll('id="artwork-',`id="${e}-artwork-`),this.svg.innerHTML=this.svg.innerHTML.replaceAll('"#artwork-',`"#${e}-artwork-`))),this.imgClass&&void 0!==this.imgClass&&this.svg.setAttribute("class",this.imgClass),this.svg.hasAttribute("xmlns:a")&&this.svg.removeAttribute("xmlns:a"),this.node.setAttribute("data-fr-inject-svg",!0);var t,s;t=this.svg,s={"aria-hidden":!0,focusable:!1},Object.keys(s).forEach(e=>t.setAttribute(e,s[e])),this.node.replaceChild(this.svg,this.img)}restore(){this.img&&this.svg&&(this.node.setAttribute("data-fr-inject-svg",!1),this.node.replaceChild(this.img,this.svg))}},InjectSvgSelector:Pe,Artwork:class extends de{static get instanceClassName(){return"Artwork"}init(){this.isLegacy&&this.replace()}get proxy(){return Object.assign(super.proxy,{replace:this.replace.bind(this)})}fetch(){this.xlink=this.node.getAttribute("href");const e=this.xlink.split("#");if(this.svgUrl=e[0],this.svgName=e[1],!xe(this.svgUrl))return;const t=new XMLHttpRequest;t.onload=()=>{const e=(new DOMParser).parseFromString(t.responseText,"text/html");if(this.realSvgContent=e.getElementById(this.svgName),this.realSvgContent){if(Ie(this.realSvgContent),"symbol"===this.realSvgContent.tagName){const t=`#${this.svgName}`,s=e.getElementsByTagName("use");this.use=null;for(let e=0;e<s.length;e++){const i=s[e];if((i.getAttribute("href")||i.getAttribute("xlink:href"))===t){this.use=i;break}}this.use&&(Ie(this.use),this.node.parentNode.insertBefore(this.use,this.node))}else this.realSvgContent.classList.add(this.node.classList);this.replace()}},t.open("GET",this.svgUrl),t.send()}replace(){this.realSvgContent?this.node.parentNode.replaceChild(this.realSvgContent,this.node):this.fetch()}},ArtworkSelector:ke,AssessFile:class extends de{static get instanceClassName(){return"AssessFile"}init(){this.lang=this.getLang(this.node),this.href=this.getAttribute("href"),this.hreflang=this.getAttribute("hreflang"),this.file={},this.gather(),this.addAscent($e.ADDED,this.update.bind(this)),this.addDescent($e.ADDED,this.update.bind(this))}getFileLength(){void 0!==this.href?fetch(this.href,{method:"HEAD",mode:"cors"}).then(e=>{if(!e.ok)throw new Error("Unable to access the resource : Status "+e.status);if(this.length=e.headers.get("content-length")||-1,this.length&&-1===this.length)throw new Error('File size unknown\n Unable to get HTTP header: "content-length"');this.gather()}).catch(e=>{this.length=-1,this.gather(),h.warn("Fetch error on assess file : "+this.href+"\n "+e)}):this.length=-1}mutate(e){-1!==e.indexOf("href")&&(this.href=this.getAttribute("href"),this.getFileLength()),-1!==e.indexOf("hreflang")&&(this.hreflang=this.getAttribute("hreflang"),this.gather())}gather(){if(this.isLegacy&&(this.length=-1),this.length||this.getFileLength(),this.details=[],this.href){const e=this.parseExtension(this.href);e&&this.details.push(e.toUpperCase())}this.length&&-1!==this.length&&this.details.push(this.bytesToSize(this.length)),this.hreflang&&this.details.push(this.getLangDisplayName(this.hreflang)),this.update()}update(){this.details&&(this.descend($e.UPDATE,this.details),this.ascend($e.UPDATE,this.details))}getLang(e){return e.lang?e.lang:document.documentElement===e?window.navigator.language:this.getLang(e.parentElement)}parseExtension(e){return e.match(/\.(\w{1,9})(?:$|[?#])/)[0].replace(".","")}getLangDisplayName(e){if(this.isLegacy)return e;const t=new Intl.DisplayNames([this.lang],{type:"language"}).of(e);return t.charAt(0).toUpperCase()+t.slice(1)}bytesToSize(e){if(-1===e)return null;let t=["octets","ko","Mo","Go","To"];"bytes"===this.getAttribute(g.attr("assess-file"))&&(t=["bytes","KB","MB","GB","TB"]);const s=parseInt(Math.floor(Math.log(e)/Math.log(1e3)),10);if(0===s)return`${e} ${t[s]}`;const i=e/1e3**s,n=Math.round(100*(i+Number.EPSILON))/100;return`${String(n).replace(".",",")} ${t[s]}`}},AssessDetail:class extends de{static get instanceClassName(){return"AssessDetail"}init(){this.addDescent($e.UPDATE,this.update.bind(this)),this.ascend($e.ADDED)}update(e){this.node.innerHTML=e.join(" - ")}},AssessEmission:$e,AssessSelector:Me,Ratio:class extends de{static get instanceClassName(){return"Ratio"}init(){if(!Fe.internals.support.supportAspectRatio()){this.ratio=16/9;for(const e in this.classNames)if(this.registration.selector.indexOf(this.classNames[e])>0){const t=this.classNames[e].split("ratio-");t[1]&&(this.ratio=t[1].split("x")[0]/t[1].split("x")[1])}this.isRendering=!0,this.update()}}render(){this.getRect().width!==this.currentWidth&&this.update()}update(){this.currentWidth=this.getRect().width,this.style.height=this.currentWidth/this.ratio+"px"}},RatioSelector:Be,Placement:class extends de{constructor(e=Ke.AUTO,t=[ze.BOTTOM,ze.TOP,ze.LEFT,ze.RIGHT],s=[je.CENTER,je.START,je.END],i=16){super(),this._mode=e,this._places=t,this._aligns=s,this._safeAreaMargin=i,this._isShown=!1,this._x=this._y=0}static get instanceClassName(){return"Placement"}init(){this.isResizing=!0}get proxy(){const e=this,t=Object.assign(super.proxy,{show:e.show.bind(e),hide:e.hide.bind(e)});return ee(t,{get mode(){return e.mode},set mode(t){e.mode=t},get place(){return e.place},set place(t){e.place=t},get align(){return e.align},set align(t){e.align=t},get isShown(){return e.isShown},set isShown(t){e.isShown=t}})}get mode(){return this._mode}set mode(e){this._mode=e}get place(){return this._place}set place(e){if(this._place!==e){switch(this._place){case ze.TOP:this.removeClass(We.TOP);break;case ze.RIGHT:this.removeClass(We.RIGHT);break;case ze.BOTTOM:this.removeClass(We.BOTTOM);break;case ze.LEFT:this.removeClass(We.LEFT)}switch(this._place=e,this._place){case ze.TOP:this.addClass(We.TOP);break;case ze.RIGHT:this.addClass(We.RIGHT);break;case ze.BOTTOM:this.addClass(We.BOTTOM);break;case ze.LEFT:this.addClass(We.LEFT)}}}get align(){return this._align}set align(e){if(this._align!==e){switch(this._align){case je.START:this.removeClass(qe.START);break;case je.CENTER:this.removeClass(qe.CENTER);break;case je.END:this.removeClass(qe.END)}switch(this._align=e,this._align){case je.START:this.addClass(qe.START);break;case je.CENTER:this.addClass(qe.CENTER);break;case je.END:this.addClass(qe.END)}}}show(){this.isShown=!0}hide(){this.isShown=!1}get isShown(){return this._isShown}set isShown(e){this._isShown!==e&&this.isEnabled&&(this.isRendering=e,this._isShown=e)}setReferent(e){this._referent=e}render(){if(!this._referent)return;if(this.referentRect=this._referent.getRect(),this.rect=this.getRect(),this.safeArea=this.getSafeArea(),this.mode===Ke.AUTO)switch(this.place=this.getPlace(),this.place){case ze.TOP:case ze.BOTTOM:this.align=this.getHorizontalAlign();break;case ze.LEFT:case ze.RIGHT:this.align=this.getVerticalAlign()}let e,t;switch(this.place){case ze.TOP:t=this.referentRect.top-this.rect.top-this.rect.height;break;case ze.RIGHT:e=this.referentRect.left-this.rect.left+this.referentRect.width;break;case ze.BOTTOM:t=this.referentRect.top-this.rect.top+this.referentRect.height;break;case ze.LEFT:e=this.referentRect.left-this.rect.left-this.rect.width}switch(this.place){case ze.TOP:case ze.BOTTOM:switch(this.align){case je.CENTER:e=this.referentRect.left-this.rect.left+.5*this.referentRect.width-.5*this.rect.width;break;case je.START:e=this.referentRect.left-this.rect.left;break;case je.END:e=this.referentRect.left-this.rect.left+this.referentRect.width-this.rect.width}break;case ze.RIGHT:case ze.LEFT:switch(this.align){case je.CENTER:t=this.referentRect.top-this.rect.top+.5*this.referentRect.height-.5*this.rect.height;break;case je.START:t=this.referentRect.top-this.rect.top;break;case je.END:t=this.referentRect.top-this.rect.top-this.rect.height}}this._x+=e+.5|0,this._y+=t+.5|0,this.node.style.transform=`translate(${this._x}px,${this._y}px)`}getPlace(){for(const e of this._places)switch(e){case ze.TOP:if(this.referentRect.top-this.rect.height>this.safeArea.top)return ze.TOP;break;case ze.RIGHT:if(this.referentRect.right+this.rect.width<this.safeArea.right)return ze.RIGHT;break;case ze.BOTTOM:if(this.referentRect.bottom+this.rect.height<this.safeArea.bottom)return ze.BOTTOM;break;case ze.LEFT:if(this.referentRect.left-this.rect.width>this.safeArea.left)return ze.LEFT}return this._places[0]}getHorizontalAlign(){for(const e of this._aligns)switch(e){case je.CENTER:if(this.referentRect.center-.5*this.rect.width>this.safeArea.left&&this.referentRect.center+.5*this.rect.width<this.safeArea.right)return je.CENTER;break;case je.START:if(this.referentRect.left+this.rect.width<this.safeArea.right)return je.START;break;case je.END:if(this.referentRect.right-this.rect.width>this.safeArea.left)return je.END}return this._aligns[0]}getVerticalAlign(){for(const e of this._aligns)switch(e){case je.CENTER:if(this.referentRect.middle-.5*this.rect.height>this.safeArea.top&&this.referentRect.middle+.5*this.rect.height<this.safeArea.bottom)return je.CENTER;break;case je.START:if(this.referentRect.top+this.rect.height<this.safeArea.bottom)return je.START;break;case je.END:if(this.referentRect.bottom-this.rect.height>this.safeArea.top)return je.END}return this._aligns[0]}getSafeArea(){let e,t,s=this.node,i=this._safeAreaMargin,n=window.innerWidth-this._safeAreaMargin,r=window.innerHeight-this._safeAreaMargin,a=this._safeAreaMargin;for(;s&&s!==document.body;){s=s.parentElement;const o=window.getComputedStyle(s),h=/(visible|(\w+))(\s(visible|(\w+)))?/.exec(o.overflow);if(e=void 0!==h[2],t=void 0!==h[3]?void 0!==h[5]:void 0!==h[2],!e&&!t)continue;const c=s.getBoundingClientRect();e&&(c.left>a&&(a=c.left),c.right<n&&(n=c.right)),t&&(c.top>i&&(i=c.top),c.bottom<r&&(r=c.bottom))}return{top:i,right:n,bottom:r,left:a,center:a+.5*(n-a),middle:i+.5*(r-i)}}dispose(){this._referent=null,super.dispose()}},PlacementReferent:class extends de{constructor(){super(),this._isShown=!1}static get instanceClassName(){return"PlacementReferent"}init(){this.registration.creator.setReferent(this),this._placement=this.registration.creator}get placement(){return this._placement}get isShown(){return this._isShown}set isShown(e){this._isShown!==e&&this.isEnabled&&(this._isShown=e,e?this.registration.creator.show():this.registration.creator.hide())}show(){this.isShown=!0}hide(){this.isShown=!1}},PlacementAlign:je,PlacementPosition:ze,PlacementMode:Ke},ne.internals.register(ne.core.CollapseSelector.COLLAPSE,ne.core.Collapse),ne.internals.register(ne.core.InjectSvgSelector.INJECT_SVG,ne.core.InjectSvg),ne.internals.register(ne.core.RatioSelector.RATIO,ne.core.Ratio),ne.internals.register(ne.core.AssessSelector.ASSESS_FILE,ne.core.AssessFile),ne.internals.register(ne.core.AssessSelector.DETAIL,ne.core.AssessDetail);const Ve={SYSTEM:"system",LIGHT:"light",DARK:"dark"},Ye={THEME:Fe.internals.ns.attr("theme"),SCHEME:Fe.internals.ns.attr("scheme"),TRANSITION:Fe.internals.ns.attr("transition")},Xe={LIGHT:"light",DARK:"dark"},Qe={SCHEME:Fe.internals.ns.emission("scheme","scheme"),THEME:Fe.internals.ns.emission("scheme","theme"),ASK:Fe.internals.ns.emission("scheme","ask")},Ze={SCHEME:Fe.internals.ns.event("scheme"),THEME:Fe.internals.ns.event("theme")};class Je extends Fe.core.Instance{constructor(){super(!1)}static get instanceClassName(){return"Scheme"}init(){this.changing=this.change.bind(this),this.hasAttribute(Ye.TRANSITION)&&(this.removeAttribute(Ye.TRANSITION),this.request(this.restoreTransition.bind(this)));const e=Fe.internals.support.supportLocalStorage()?localStorage.getItem("scheme"):"",t=this.getAttribute(Ye.SCHEME);switch(e){case Ve.DARK:case Ve.LIGHT:case Ve.SYSTEM:this.scheme=e;break;default:switch(t){case Ve.DARK:this.scheme=Ve.DARK;break;case Ve.LIGHT:this.scheme=Ve.LIGHT;break;default:this.scheme=Ve.SYSTEM}}this.addAscent(Qe.ASK,this.ask.bind(this)),this.addAscent(Qe.SCHEME,this.apply.bind(this))}get proxy(){const e=this,t={get scheme(){return e.scheme},set scheme(t){e.scheme=t}};return Fe.internals.property.completeAssign(super.proxy,t)}restoreTransition(){this.setAttribute(Ye.TRANSITION,"")}ask(){this.descend(Qe.SCHEME,this.scheme)}apply(e){this.scheme=e}get scheme(){return this._scheme}set scheme(e){if(this._scheme!==e){switch(this._scheme=e,e){case Ve.SYSTEM:this.listenPreferences();break;case Ve.DARK:this.unlistenPreferences(),this.theme=Xe.DARK;break;case Ve.LIGHT:this.unlistenPreferences(),this.theme=Xe.LIGHT;break;default:return void(this.scheme=Ve.SYSTEM)}this.descend(Qe.SCHEME,e),Fe.internals.support.supportLocalStorage()&&localStorage.setItem("scheme",e),this.setAttribute(Ye.SCHEME,e),this.dispatch(Ze.SCHEME,{scheme:this._scheme},!1)}}get theme(){return this._theme}set theme(e){if(this._theme!==e)switch(e){case Xe.LIGHT:case Xe.DARK:this._theme=e,this.setAttribute(Ye.THEME,e),this.descend(Qe.THEME,e),this.dispatch(Ze.THEME,{theme:this._theme},!1),document.documentElement.style.colorScheme=e===Xe.DARK?"dark":""}}listenPreferences(){this.isListening||(this.isListening=!0,this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQuery.addEventListener&&this.mediaQuery.addEventListener("change",this.changing),this.change())}unlistenPreferences(){this.isListening&&(this.isListening=!1,this.mediaQuery.removeEventListener("change",this.changing),this.mediaQuery=null)}change(){this.isListening&&(this.theme=this.mediaQuery.matches?Xe.DARK:Xe.LIGHT)}mutate(e){e.indexOf(Ye.SCHEME)>-1&&(this.scheme=this.getAttribute(Ye.SCHEME)),e.indexOf(Ye.THEME)>-1&&(this.theme=this.getAttribute(Ye.THEME))}dispose(){this.unlistenPreferences()}}const et={SCHEME:`:root${Fe.internals.ns.attr.selector("theme")}, :root${Fe.internals.ns.attr.selector("scheme")}`,SWITCH_THEME:Fe.internals.ns.selector("switch-theme"),RADIO_BUTTONS:`input[name="${Fe.internals.ns("radios-theme")}"]`};Fe.scheme={Scheme:Je,SchemeValue:Ve,SchemeSelector:et,SchemeAttribute:Ye,SchemeEmission:Qe,SchemeTheme:Xe,SchemeEvent:Ze},Fe.internals.register(Fe.scheme.SchemeSelector.SCHEME,Fe.scheme.Scheme);const tt=Fe.internals.ns.selector("accordion"),st=Fe.internals.ns.selector("collapse"),it={GROUP:Fe.internals.ns.selector("accordions-group"),ACCORDION:tt,COLLAPSE:`${tt} > ${st}, ${tt} > *:not(${tt}):not(${st}) > ${st}, ${tt} > *:not(${tt}):not(${st}) > *:not(${tt}):not(${st}) > ${st}`,COLLAPSE_LEGACY:`${tt} ${st}`,BUTTON:`${tt}__btn`};class nt extends Fe.core.Instance{static get instanceClassName(){return"Accordion"}get collapsePrimary(){return this.element.children.map(e=>e.getInstance("CollapseButton")).filter(e=>null!==e&&e.hasClass(it.BUTTON))[0]}}class rt extends Fe.core.CollapsesGroup{static get instanceClassName(){return"AccordionsGroup"}validate(e){const t=e.node.matches(Fe.internals.legacy.isLegacy?it.COLLAPSE_LEGACY:it.COLLAPSE);return super.validate(e)&&t}}Fe.accordion={Accordion:nt,AccordionSelector:it,AccordionsGroup:rt},Fe.internals.register(Fe.accordion.AccordionSelector.GROUP,Fe.accordion.AccordionsGroup),Fe.internals.register(Fe.accordion.AccordionSelector.ACCORDION,Fe.accordion.Accordion);const at={EQUISIZED_BUTTON:`${Fe.internals.ns.selector("btns-group--equisized")} ${Fe.internals.ns.selector("btn")}`,EQUISIZED_GROUP:Fe.internals.ns.selector("btns-group--equisized")};Fe.button={ButtonSelector:at},Fe.internals.register(Fe.button.ButtonSelector.EQUISIZED_BUTTON,Fe.core.Equisized),Fe.internals.register(Fe.button.ButtonSelector.EQUISIZED_GROUP,Fe.core.EquisizedsGroup);class ot extends Fe.core.Instance{static get instanceClassName(){return"CardDownload"}init(){this.addAscent(Fe.core.AssessEmission.UPDATE,e=>{this.descend(Fe.core.AssessEmission.UPDATE,e)}),this.addAscent(Fe.core.AssessEmission.ADDED,()=>{this.descend(Fe.core.AssessEmission.ADDED)})}}const ht={DOWNLOAD:Fe.internals.ns.selector("card--download"),DOWNLOAD_DETAIL:`${Fe.internals.ns.selector("card--download")} ${Fe.internals.ns.selector("card__end")} ${Fe.internals.ns.selector("card__detail")}`};Fe.card={CardSelector:ht,CardDownload:ot},Fe.internals.register(Fe.card.CardSelector.DOWNLOAD,Fe.card.CardDownload),Fe.internals.register(Fe.card.CardSelector.DOWNLOAD_DETAIL,Fe.core.AssessDetail);const ct={INPUT:`${Fe.internals.ns.selector("checkbox-group")} input[type="checkbox"]`},lt={CHANGE:Fe.internals.ns.emission("checkbox","change"),RETRIEVE:Fe.internals.ns.emission("checkbox","retrieve")};class dt extends Fe.core.Instance{static get instanceClassName(){return"CheckboxInput"}constructor(){super(),this._handlingChange=this.handleChange.bind(this)}init(){this.node.addEventListener("change",this._handlingChange),this.addDescent(lt.RETRIEVE,this._handlingChange),this.handleChange()}get isChecked(){return this.node.checked}handleChange(){this.ascend(lt.CHANGE,this.node)}}Fe.checkbox={CheckboxSelector:ct,CheckboxEmission:lt,CheckboxInput:dt},Fe.internals.register(Fe.checkbox.CheckboxSelector.INPUT,Fe.checkbox.CheckboxInput);const ut={SEGMENTED:Fe.internals.ns.selector("segmented"),SEGMENTED_ELEMENTS:Fe.internals.ns.selector("segmented__elements"),SEGMENTED_ELEMENT:Fe.internals.ns.selector("segmented__element input"),SEGMENTED_LEGEND:Fe.internals.ns.selector("segmented__legend")},gt={ADDED:Fe.internals.ns.emission("segmented","added"),REMOVED:Fe.internals.ns.emission("segmented","removed")};class mt extends Fe.core.Instance{static get instanceClassName(){return"Segmented"}init(){this.elements=this.node.querySelector(ut.SEGMENTED_ELEMENTS),this.legend=this.node.querySelector(ut.SEGMENTED_LEGEND),this.addAscent(gt.ADDED,this.resize.bind(this)),this.addAscent(gt.REMOVED,this.resize.bind(this)),this._isLegendInline=this.legend&&this.legend.classList.contains(`${Fe.prefix}-segmented__legend--inline`),this.isResizing=!0}resize(){const e=`${Fe.prefix}-segmented--vertical`,t=`${Fe.prefix}-segmented__legend--inline`;this.removeClass(e),this._isLegendInline&&(this.legend.classList.add(t),(this.node.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth+this.legend.offsetWidth+16>this.node.parentNode.offsetWidth)&&this.legend.classList.remove(t)),this.elements.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth>this.node.parentNode.offsetWidth?this.addClass(e):this.removeClass(e)}}class pt extends Fe.core.Instance{static get instanceClassName(){return"SegmentedElement"}init(){this.ascend(gt.ADDED)}dispose(){this.ascend(gt.REMOVED)}}Fe.segmented={SegmentedSelector:ut,SegmentedEmission:gt,SegmentedElement:pt,Segmented:mt},Fe.internals.register(Fe.segmented.SegmentedSelector.SEGMENTED,Fe.segmented.Segmented),Fe.internals.register(Fe.segmented.SegmentedSelector.SEGMENTED_ELEMENT,Fe.segmented.SegmentedElement);const _t={BREADCRUMB:Fe.internals.ns.selector("breadcrumb"),BUTTON:Fe.internals.ns.selector("breadcrumb__button")};class bt extends Fe.core.Instance{constructor(){super(),this.count=0,this.focusing=this.focus.bind(this)}static get instanceClassName(){return"Breadcrumb"}init(){this.getCollapse(),this.isResizing=!0}get proxy(){const e=this;return Object.assign(super.proxy,{focus:e.focus.bind(e),disclose:e.collapse.disclose.bind(e.collapse)})}getCollapse(){const e=this.collapse;e?e.listen(Fe.core.DisclosureEvent.DISCLOSE,this.focusing):this.addAscent(Fe.core.DisclosureEmission.ADDED,this.getCollapse.bind(this))}resize(){const e=this.collapse,t=this.links;e&&t.length&&(this.isBreakpoint(Fe.core.Breakpoints.MD)?e.buttonHasFocus&&t[0].focus():t.indexOf(document.activeElement)>-1&&e.focus())}get links(){return[...this.querySelectorAll("a[href]")]}get collapse(){return this.element.getDescendantInstances(Fe.core.Collapse.instanceClassName,null,!0)[0]}focus(){this.count=0,this._focus()}_focus(){const e=this.links[0];e&&(e.focus(),this.request(this.verify.bind(this)))}verify(){if(this.count++,this.count>100)return;const e=this.links[0];e&&document.activeElement!==e&&this._focus()}get collapsePrimary(){return this.element.children.map(e=>e.getInstance("CollapseButton")).filter(e=>null!==e&&e.hasClass(_t.BUTTON))[0]}}Fe.breadcrumb={BreadcrumbSelector:_t,Breadcrumb:bt},Fe.internals.register(Fe.breadcrumb.BreadcrumbSelector.BREADCRUMB,Fe.breadcrumb.Breadcrumb);const ft={TOOLTIP:Fe.internals.ns.selector("tooltip"),SHOWN:Fe.internals.ns.selector("tooltip--shown"),HIDDING:Fe.internals.ns.selector("tooltip--hidding"),BUTTON:Fe.internals.ns.selector("btn--tooltip")},Et=1,At=2;class vt extends Fe.core.PlacementReferent{constructor(){super(),this._state=0,this._isShownOnInteraction=null}static get instanceClassName(){return"TooltipReferent"}init(){if(super.init(),this.listen("focusin",this.focusIn.bind(this)),this.listen("focusout",e=>this.focusOut(e)),!this.matches(ft.BUTTON)){const e=this.mouseover.bind(this);this.listen("mouseover",e),this.placement.listen("mouseover",e);const t=this.mouseout.bind(this);this.listen("mouseout",t),this.placement.listen("mouseout",t)}this.addEmission(Fe.core.RootEmission.KEYDOWN,this._keydown.bind(this)),this.listen("pointerdown",this._interactionStart.bind(this)),this.listen("mousedown",this._interactionStart.bind(this)),this.listen("touchstart",this._interactionStart.bind(this)),this.listen("click",this._click.bind(this)),this.addEmission(Fe.core.RootEmission.CLICK,this._clickOut.bind(this)),this.addEmission(Fe.core.RootEmission.INTERACTION,this._clickOut.bind(this))}_interactionStart(){this._isShownOnInteraction=this.state>0}_click(){const e=this.matches(ft.BUTTON);return e&&(!0===this._isShownOnInteraction||null===this._isShownOnInteraction&&this.state>0)?(this.close(),void(this._isShownOnInteraction=null)):e?(this.focusIn(),void(this._isShownOnInteraction=null)):(this.focusOut(),void(this._isShownOnInteraction=null))}_clickOut(e){this.node.contains(e)||this.placement.node.contains(e)||this.focusOut()}_keydown(e){switch(e){case Fe.core.KeyCodes.ESCAPE:this.close();break;case Fe.core.KeyCodes.TAB:this.request(this._tab.bind(this))}}_tab(){this.node.contains(document.activeElement)||this.placement.node.contains(document.activeElement)||this.focusOut()}close(){this.state=0}get state(){return this._state}set state(e){this._state!==e&&(this.isShown=e>0,this._state=e)}focusIn(){this.state|=Et}focusOut(e=null){const t=e?e.relatedTarget:null;t&&(this.node.contains(t)||this.placement.node.contains(t))||(this.state&=~Et)}mouseover(){this.state|=At}mouseout(){this.state&=~At}}const Tt={SHOW:g.event("show"),HIDE:g.event("hide")},St="hidden",yt="shown",Ct="hiding";class wt extends Fe.core.Placement{constructor(){super(Fe.core.PlacementMode.AUTO,[Fe.core.PlacementPosition.TOP,Fe.core.PlacementPosition.BOTTOM],[Fe.core.PlacementAlign.CENTER,Fe.core.PlacementAlign.START,Fe.core.PlacementAlign.END]),this.modifier="",this._state=St}static get instanceClassName(){return"Tooltip"}init(){super.init(),this.register(`[aria-describedby="${this.id}"]`,vt),this.listen("transitionend",this.transitionEnd.bind(this)),this.setAttribute("tabindex","-1")}transitionEnd(){this._state===Ct&&(this.removeClass(ft.SHOWN),this.removeClass(ft.HIDDING),this._state=St,this.isShown=!1)}get isShown(){return super.isShown}set isShown(e){if(this.isEnabled)switch(!0){case e:this._state=yt,this.addClass(ft.SHOWN),this.removeClass(ft.HIDDING),this.dispatch(Tt.SHOW),super.isShown=!0;break;case this.isShown&&!e&&this._state===yt:this._state=Ct,this.addClass(ft.HIDDING);break;case this.isShown&&!e&&this._state===St:this.dispatch(Tt.HIDE),this.removeClass(ft.HIDDING),super.isShown=!1}}render(){super.render(),this.rect=this.getRect();let e=this.referentRect.center-this.rect.center;const t=.5*this.rect.width-8;e<-t&&(e=-t),e>t&&(e=t),this.setProperty("--arrow-x",`${e.toFixed(2)}px`)}}Fe.tooltip={Tooltip:wt,TooltipSelector:ft,TooltipEvent:Tt},Fe.internals.register(Fe.tooltip.TooltipSelector.TOOLTIP,Fe.tooltip.Tooltip);class Nt extends Fe.core.Instance{static get instanceClassName(){return"ToggleInput"}get isChecked(){return this.node.checked}}class Rt extends Fe.core.Instance{static get instanceClassName(){return"ToggleStatusLabel"}init(){this.register(`input[id="${this.getAttribute("for")}"]`,Nt),this.update(),this.isSwappingFont=!0}get proxy(){return Object.assign(super.proxy,{update:this.update.bind(this)})}get input(){return this.getRegisteredInstances("ToggleInput")[0]}update(){this.node.style.removeProperty("--toggle-status-width");const e=this.input.isChecked,t=getComputedStyle(this.node,":before");let s=parseFloat(t.width);this.input.node.checked=!e;const i=getComputedStyle(this.node,":before"),n=parseFloat(i.width);n>s&&(s=n),this.input.node.checked=e,this.node.style.setProperty("--toggle-status-width",s/16+"rem")}swapFont(e){this.update()}}const Dt={STATUS_LABEL:`${Fe.internals.ns.selector("toggle__label")}${Fe.internals.ns.attr.selector("checked-label")}${Fe.internals.ns.attr.selector("unchecked-label")}`};Fe.toggle={ToggleStatusLabel:Rt,ToggleSelector:Dt},Fe.internals.register(Fe.toggle.ToggleSelector.STATUS_LABEL,Fe.toggle.ToggleStatusLabel);const Lt=Fe.internals.ns.selector("sidemenu__item"),It=Fe.internals.ns.selector("collapse"),Ot={LIST:Fe.internals.ns.selector("sidemenu__list"),COLLAPSE:`${Lt} > ${It}, ${Lt} > *:not(${Lt}):not(${It}) > ${It}, ${Lt} > *:not(${Lt}):not(${It}) > *:not(${Lt}):not(${It}) > ${It}`,COLLAPSE_LEGACY:`${Lt} ${It}`,ITEM:Fe.internals.ns.selector("sidemenu__item"),BUTTON:Fe.internals.ns.selector("sidemenu__btn")};class xt extends Fe.core.CollapsesGroup{static get instanceClassName(){return"SidemenuList"}validate(e){return super.validate(e)&&e.node.matches(Fe.internals.legacy.isLegacy?Ot.COLLAPSE_LEGACY:Ot.COLLAPSE)}}class Pt extends Fe.core.Instance{static get instanceClassName(){return"SidemenuItem"}get collapsePrimary(){return this.element.children.map(e=>e.getInstance("CollapseButton")).filter(e=>null!==e&&e.hasClass(Ot.BUTTON))[0]}}Fe.sidemenu={SidemenuList:xt,SidemenuItem:Pt,SidemenuSelector:Ot},Fe.internals.register(Fe.sidemenu.SidemenuSelector.LIST,Fe.sidemenu.SidemenuList),Fe.internals.register(Fe.sidemenu.SidemenuSelector.ITEM,Fe.sidemenu.SidemenuItem);const kt={MODAL:Fe.internals.ns.selector("modal"),FOOTER:Fe.internals.ns.selector("modal__footer"),SCROLL_DIVIDER:Fe.internals.ns.selector("scroll-divider"),BODY:Fe.internals.ns.selector("modal__body"),TITLE:Fe.internals.ns.selector("modal__title")};class Mt extends Fe.core.DisclosureButton{constructor(){super(Fe.core.DisclosureType.OPENED)}static get instanceClassName(){return"ModalButton"}}const $t={CONCEALING_BACKDROP:Fe.internals.ns.attr("concealing-backdrop")};class Gt extends Fe.core.Disclosure{constructor(){super(Fe.core.DisclosureType.OPENED,kt.MODAL,Mt,"ModalsGroup"),this._isDecorated=!1,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0)}static get instanceClassName(){return"Modal"}init(){super.init(),this._isDialog="DIALOG"===this.node.tagName,this.listenClick(),this.addEmission(Fe.core.RootEmission.KEYDOWN,this._keydown.bind(this))}_keydown(e){if(e===Fe.core.KeyCodes.ESCAPE)this._escape()}_escape(){const e=document.activeElement?document.activeElement.tagName:void 0;if(!(!!document.activeElement&&document.activeElement.hasAttribute("data-fr-js-tooltip-referent")))switch(e){case"INPUT":case"LABEL":case"TEXTAREA":case"SELECT":case"AUDIO":case"VIDEO":break;default:this.isDisclosed&&(this.conceal(),this.focus())}}retrieved(){this._ensureAccessibleName()}get body(){return this.element.getDescendantInstances("ModalBody","Modal")[0]}handleClick(e){e.target===this.node&&"false"!==this.getAttribute($t.CONCEALING_BACKDROP)&&this.conceal()}disclose(e){return!!super.disclose(e)&&(this.body&&(this.body.isResizing=!0,this.body.resize()),this.isScrollLocked=!0,this.setAttribute("aria-modal","true"),this.setAttribute("open","true"),this._isDialog||this.decorateDialog(),!0)}conceal(e,t){return!!super.conceal(e,t)&&(this.isScrollLocked=!1,this.removeAttribute("aria-modal"),this.removeAttribute("open"),this.body&&(this.body.isResizing=!1),this._isDialog||this.stripDialog(),!0)}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e}get isActive(){return super.isActive}set isActive(e){super.isActive=e,e&&this._ensureAccessibleName()}decorateDialog(){this._isDecorated||(this._isDecorated=!0,this._hasDialogRole="dialog"===this.getAttribute("role"),this._hasDialogRole||this.setAttribute("role","dialog"))}stripDialog(){this._isDecorated&&(this._isDecorated=!1,this._hasDialogRole||this.removeAttribute("role"))}_setAccessibleName(e,t){const s=this.retrieveNodeId(e,t);this.warn(`add reference to ${t} for accessible name (aria-labelledby)`),this.setAttribute("aria-labelledby",s)}_ensureAccessibleName(){if(!this.isActive||!this.isEnabled||this.isEnabled&&(this.hasAttribute("aria-labelledby")||this.hasAttribute("aria-label")))return;this.warn("missing accessible name");const e=this.node.querySelector(kt.TITLE),t=this.primaryButtons[0];switch(!0){case null!==e:this._setAccessibleName(e,"title");break;case void 0!==t:this.warn("missing required title, fallback to primary button"),this._setAccessibleName(t,"primary")}}}class Ht extends Fe.core.Instance{static get instanceClassName(){return"ModalFooter"}init(){this.isResizing=!0}resize(){this.adjust()}adjust(){const e=this.getRect().height;this.node.parentNode.style.setProperty("--modal-scroll-padding-bottom",`${e}px`)}}const Ut=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),Bt=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),Ft=(e,t)=>{if(!(e instanceof Element))return!1;const s=(window.frameElement?window.frameElement.contentWindow:window).getComputedStyle(e);if(!s)return!1;if("hidden"===s.visibility)return!1;for(void 0===t&&(t=e);t.contains(e);){if("none"===s.display)return!1;e=e.parentElement}return!0};class Wt{constructor(e,t){this.element=null,this.activeElement=null,this.onTrap=e,this.onUntrap=t,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.focusing=this.maintainFocus.bind(this),this.current=null,this.window=window.frameElement?window.frameElement.contentWindow:window}get trapped(){return null!==this.element}trap(e){this.trapped&&this.untrap(),this.element=e,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()}wait(){Ft(this.element)?this.trapping():this.window.requestAnimationFrame(this.waiting)}trapping(){if(!this.isTrapping)return;this.isTrapping=!1;const e=this.focusables;e.length&&-1===e.indexOf(this.window.document.activeElement)&&e[0].focus(),this.element.setAttribute("aria-modal",!0),this.window.addEventListener("keydown",this.handling),this.window.document.body.addEventListener("focus",this.focusing,!0)}stun(e){for(const t of e.children)t!==this.element&&(t.contains(this.element)?this.stun(t):this.stunneds.push(new qt(t)))}maintainFocus(e){if(!this.element.contains(e.target)){const t=this.focusables;if(0===t.length)return;const s=t[0];e.preventDefault(),s.focus()}}handle(e){if(9!==e.keyCode)return;const t=this.focusables;if(0===t.length)return;const s=t[0],i=t[t.length-1],n=t.indexOf(this.window.document.activeElement);e.shiftKey?!this.element.contains(this.window.document.activeElement)||n<1?(e.preventDefault(),i.focus()):(this.window.document.activeElement.tabIndex>0||t[n-1].tabIndex>0)&&(e.preventDefault(),t[n-1].focus()):this.element.contains(this.window.document.activeElement)&&n!==t.length-1&&-1!==n?this.window.document.activeElement.tabIndex>0&&(e.preventDefault(),t[n+1].focus()):(e.preventDefault(),s.focus())}get focusables(){let e=Fe.internals.dom.querySelectorAllArray(this.element,Ut);const t=Fe.internals.dom.querySelectorAllArray(this.window.document.documentElement,'input[type="radio"]');if(t.length){const s={};for(const e of t){const t=e.getAttribute("name");void 0===s[t]&&(s[t]=new zt(t)),s[t].push(e)}e=e.filter(e=>{if("input"!==e.tagName.toLowerCase()||e.getAttribute("type")&&"radio"!==e.getAttribute("type").toLowerCase())return!0;const t=e.getAttribute("name");return s[t].keep(e)})}const s=Fe.internals.dom.querySelectorAllArray(this.element,Bt);s.sort((e,t)=>e.tabIndex-t.tabIndex);const i=e.filter(e=>-1===s.indexOf(e));return s.concat(i).filter(e=>"-1"!==e.tabIndex&&Ft(e,this.element))}untrap(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),this.window.removeEventListener("keydown",this.handling),this.window.document.body.removeEventListener("focus",this.focusing,!0),this.element=null,this.onUntrap&&this.onUntrap())}dispose(){this.untrap()}}class qt{constructor(e){this.element=e,this.inert=e.getAttribute("inert"),this.element.setAttribute("inert","")}unstun(){null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)}}class zt{constructor(e){this.name=e,this.buttons=[]}push(e){this.buttons.push(e);(e===(window.frameElement?window.frameElement.contentWindow:window).document.activeElement||e.checked||void 0===this.selected)&&(this.selected=e)}keep(e){return this.selected===e}}class jt extends Fe.core.DisclosuresGroup{constructor(){super("Modal",!1),this.focusTrap=new Wt}static get instanceClassName(){return"ModalsGroup"}apply(e,t){super.apply(e,t),null===this.current?this.focusTrap.untrap():this.focusTrap.trap(this.current.node)}}class Kt extends Fe.core.Instance{static get instanceClassName(){return"ModalBody"}init(){this.listen("scroll",this.divide.bind(this))}divide(){this.node.scrollHeight>this.node.clientHeight?this.node.offsetHeight+this.node.scrollTop>=this.node.scrollHeight?this.removeClass(kt.SCROLL_DIVIDER):this.addClass(kt.SCROLL_DIVIDER):this.removeClass(kt.SCROLL_DIVIDER)}resize(){this.adjust(),this.request(this.adjust.bind(this))}adjust(){const e=window.frameElement,t=e?e.contentWindow:window,s=32*(this.isBreakpoint(Fe.core.Breakpoints.MD)?2:1);this.isLegacy?this.style.maxHeight=t.innerHeight-s+"px":this.style.setProperty("--modal-max-height",t.innerHeight-s+"px"),this.divide()}}Fe.modal={Modal:Gt,ModalButton:Mt,ModalFooter:Ht,ModalBody:Kt,ModalsGroup:jt,ModalSelector:kt},Fe.internals.register(Fe.modal.ModalSelector.MODAL,Fe.modal.Modal),Fe.internals.register(Fe.modal.ModalSelector.BODY,Fe.modal.ModalBody),Fe.internals.register(Fe.modal.ModalSelector.FOOTER,Fe.modal.ModalFooter),Fe.internals.register(Fe.core.RootSelector.ROOT,Fe.modal.ModalsGroup);const Vt={TOGGLE:Fe.internals.ns.emission("password","toggle"),ADJUST:Fe.internals.ns.emission("password","adjust")};class Yt extends Fe.core.Instance{static get instanceClassName(){return"PasswordToggle"}init(){this.listenClick(),this.ascend(Vt.ADJUST,this.width),this.isSwappingFont=!0,this._isChecked=this.isChecked}get width(){const e=getComputedStyle(this.node.parentNode);return parseInt(e.width)}get isChecked(){return this.node.checked}set isChecked(e){this._isChecked=e,this.ascend(Vt.TOGGLE,e)}handleClick(){this.isChecked=!this._isChecked}swapFont(e){this.ascend(Vt.ADJUST,this.width)}}class Xt extends Fe.core.Instance{static get instanceClassName(){return"Password"}init(){this.addAscent(Vt.TOGGLE,this.toggle.bind(this)),this.addAscent(Vt.ADJUST,this.adjust.bind(this))}toggle(e){this.descend(Vt.TOGGLE,e)}adjust(e){this.descend(Vt.ADJUST,e)}}const Qt={PASSWORD:Fe.internals.ns.selector("password"),INPUT:Fe.internals.ns.selector("password__input"),LABEL:Fe.internals.ns.selector("password__label"),TOOGLE:`${Fe.internals.ns.selector("password__checkbox")} input[type="checkbox"]`};class Zt extends Fe.core.Instance{static get instanceClassName(){return"PasswordInput"}init(){this.addDescent(Vt.TOGGLE,this.toggle.bind(this)),this._isRevealed="password"===this.hasAttribute("type"),this.listen("keydown",this.capslock.bind(this)),this.listen("keyup",this.capslock.bind(this))}toggle(e){this.isRevealed=e,this.setAttribute("type",e?"text":"password")}get isRevealed(){return this._isRevealed}capslock(e){e&&"function"!=typeof e.getModifierState||(e.getModifierState("CapsLock")?this.node.parentNode.setAttribute(Fe.internals.ns.attr("capslock"),""):this.node.parentNode.removeAttribute(Fe.internals.ns.attr("capslock")))}set isRevealed(e){this._isRevealed=e,this.setAttribute("type",e?"text":"password")}}class Jt extends Fe.core.Instance{static get instanceClassName(){return"PasswordLabel"}init(){this.addDescent(Vt.ADJUST,this.adjust.bind(this))}adjust(e){const t=Math.ceil(e/16);this.node.style.paddingRight=t+"rem"}}Fe.password={Password:Xt,PasswordToggle:Yt,PasswordSelector:Qt,PasswordInput:Zt,PasswordLabel:Jt},Fe.internals.register(Fe.password.PasswordSelector.INPUT,Fe.password.PasswordInput),Fe.internals.register(Fe.password.PasswordSelector.PASSWORD,Fe.password.Password),Fe.internals.register(Fe.password.PasswordSelector.TOOGLE,Fe.password.PasswordToggle),Fe.internals.register(Fe.password.PasswordSelector.LABEL,Fe.password.PasswordLabel);const es=Fe.internals.ns.selector("nav__item"),ts=Fe.internals.ns.selector("collapse"),ss={NAVIGATION:Fe.internals.ns.selector("nav"),COLLAPSE:`${es} > ${ts}, ${es} > *:not(${es}):not(${ts}) > ${ts}, ${es} > *:not(${es}):not(${ts}) > *:not(${es}):not(${ts}) > ${ts}`,COLLAPSE_LEGACY:`${es} ${ts}`,ITEM:es,ITEM_RIGHT:`${es}--align-right`,MENU:Fe.internals.ns.selector("menu"),BUTTON:Fe.internals.ns.selector("nav__btn"),TRANSLATE_BUTTON:Fe.internals.ns.selector("translate__btn")};class is extends Fe.core.Instance{constructor(){super(),this._isRightAligned=!1}static get instanceClassName(){return"NavigationItem"}init(){this.addAscent(Fe.core.DisclosureEmission.ADDED,this.calculate.bind(this)),this.addAscent(Fe.core.DisclosureEmission.REMOVED,this.calculate.bind(this)),this.isResizing=!0,this.calculate()}resize(){this.calculate()}calculate(){const e=this.element.getDescendantInstances(Fe.core.Collapse.instanceClassName,null,!0)[0];if(e&&this.isBreakpoint(Fe.core.Breakpoints.LG)&&e.element.node.matches(ss.MENU)){const t=this.element.node.parentElement.getBoundingClientRect().right,s=e.element.node.getBoundingClientRect().width,i=this.element.node.getBoundingClientRect().left;this.isRightAligned=i+s>t}else this.isRightAligned=!1}get isRightAligned(){return this._isRightAligned}set isRightAligned(e){this._isRightAligned!==e&&(this._isRightAligned=e,e?Fe.internals.dom.addClass(this.element.node,ss.ITEM_RIGHT):Fe.internals.dom.removeClass(this.element.node,ss.ITEM_RIGHT))}get collapsePrimary(){return this.element.children.map(e=>e.getInstance("CollapseButton")).filter(e=>null!==e&&(e.hasClass(ss.BUTTON)||e.hasClass(ss.TRANSLATE_BUTTON)))[0]}}const ns={NONE:-1,INSIDE:0,OUTSIDE:1};class rs extends Fe.core.CollapsesGroup{static get instanceClassName(){return"Navigation"}init(){super.init(),this.clicked=!1,this.out=!1,this.addEmission(Fe.core.RootEmission.CLICK,this._handleRootClick.bind(this)),this.listen("mousedown",this.handleMouseDown.bind(this)),this.addEmission(Fe.core.RootEmission.KEYDOWN,this._keydown.bind(this)),this.listenClick({capture:!0}),this.isResizing=!0}validate(e){return super.validate(e)&&e.element.node.matches(Fe.internals.legacy.isLegacy?ss.COLLAPSE_LEGACY:ss.COLLAPSE)}get hasOpenedMenu(){return this.isBreakpoint(Fe.core.Breakpoints.LG)&&this.index>-1}_keydown(e){switch(e){case Fe.core.KeyCodes.ESCAPE:if(!this.hasOpenedMenu)return;this.index=-1;break;case Fe.core.KeyCodes.TAB:if(!this.hasOpenedMenu)return;this.request(()=>{this.current.node.contains(document.activeElement)||(this.index=-1)})}}handleMouseDown(e){this.hasOpenedMenu&&(this.position=this.current.node.contains(e.target)?ns.INSIDE:ns.OUTSIDE,this.requestPosition())}handleClick(e){const t=e.target.closest("a, button");!t||t===this.node||t.matches("[aria-controls]")||t.matches(Fe.core.DisclosureSelector.PREVENT_CONCEAL)||(this.index=-1)}_handleRootClick(e){this.isBreakpoint(Fe.core.Breakpoints.LG)&&(this.node.contains(e)||(this.out=!0,this.requestPosition()))}requestPosition(){this.isRequesting||(this.isRequesting=!0,this.request(this.getPosition.bind(this)))}getPosition(){if(this.out)switch(this.position){case ns.OUTSIDE:this.index=-1;break;case ns.INSIDE:this.current&&!this.current.node.contains(document.activeElement)&&this.current.focus();break;default:this.index>-1&&!this.current.hasFocus&&(this.index=-1)}this.request(this.requested.bind(this))}requested(){this.position=ns.NONE,this.out=!1,this.isRequesting=!1}get index(){return super.index}set index(e){-1===e&&this.current&&this.current.hasFocus&&this.current.focus(),super.index=e}get canUngroup(){return!this.isBreakpoint(Fe.core.Breakpoints.LG)}resize(){this.update()}}Fe.navigation={Navigation:rs,NavigationItem:is,NavigationMousePosition:ns,NavigationSelector:ss},Fe.internals.register(Fe.navigation.NavigationSelector.NAVIGATION,Fe.navigation.Navigation),Fe.internals.register(Fe.navigation.NavigationSelector.ITEM,Fe.navigation.NavigationItem);class as extends Fe.core.DisclosureButton{constructor(){super(Fe.core.DisclosureType.SELECT)}static get instanceClassName(){return"TabButton"}handleClick(e){super.handleClick(e),this.focus()}apply(e){super.apply(e),this.isPrimary&&(this.setAttribute("tabindex",e?"0":"-1"),e&&this.list&&this.list.focalize(this))}get list(){return this.element.getAscendantInstance("TabsList","TabsGroup")}}const os={TAB:Fe.internals.ns.selector("tabs__tab"),GROUP:Fe.internals.ns.selector("tabs"),PANEL:Fe.internals.ns.selector("tabs__panel"),LIST:Fe.internals.ns.selector("tabs__list"),SHADOW:Fe.internals.ns.selector("tabs__shadow"),SHADOW_LEFT:Fe.internals.ns.selector("tabs__shadow--left"),SHADOW_RIGHT:Fe.internals.ns.selector("tabs__shadow--right"),PANEL_START:Fe.internals.ns.selector("tabs__panel--direction-start"),PANEL_END:Fe.internals.ns.selector("tabs__panel--direction-end")},hs="direction-start",cs="direction-end",ls="none";class ds extends Fe.core.Disclosure{constructor(){super(Fe.core.DisclosureType.SELECT,os.PANEL,as,"TabsGroup"),this._direction=ls,this._isPreventingTransition=!1}static get instanceClassName(){return"TabPanel"}get direction(){return this._direction}set direction(e){if(e!==this._direction){switch(this._direction){case hs:this.removeClass(os.PANEL_START);break;case cs:this.removeClass(os.PANEL_END);break;case ls:break;default:return}switch(this._direction=e,this._direction){case hs:this.addClass(os.PANEL_START);break;case cs:this.addClass(os.PANEL_END)}}}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(e){this._isPreventingTransition!==e&&(e?this.addClass(Fe.internals.motion.TransitionSelector.NONE):this.removeClass(Fe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===e)}translate(e,t){this.isPreventingTransition=t,this.direction=e}reset(){this.group&&this.group.retrieve(!0)}_electPrimaries(e){return this.group&&this.group.list?super._electPrimaries(e).filter(e=>this.group.list.node.contains(e.node)):[]}}const us="tab_keys_left",gs="tab_keys_right",ms="tab_keys_home",ps="tab_keys_end",_s={PRESS_KEY:Fe.internals.ns.emission("tab","press_key"),LIST_HEIGHT:Fe.internals.ns.emission("tab","list_height")};class bs extends Fe.core.DisclosuresGroup{constructor(){super("TabPanel")}static get instanceClassName(){return"TabsGroup"}init(){super.init(),this.listen("transitionend",this.transitionend.bind(this)),this.addAscent(_s.PRESS_KEY,this.pressKey.bind(this)),this.addAscent(_s.LIST_HEIGHT,this.setListHeight.bind(this)),this.isRendering=!0}getIndex(e=0){super.getIndex(e)}get list(){return this.element.getDescendantInstances("TabsList","TabsGroup",!0)[0]}setListHeight(e){this.listHeight=e}transitionend(e){this.isPreventingTransition=!0}get buttonHasFocus(){return this.members.some(e=>e.buttonHasFocus)}pressKey(e){switch(e){case us:this.pressLeft();break;case gs:this.pressRight();break;case ms:this.pressHome();break;case ps:this.pressEnd()}}pressRight(){this.buttonHasFocus&&(this.index<this.length-1?this.index++:this.index=0,this.focus())}pressLeft(){this.buttonHasFocus&&(this.index>0?this.index--:this.index=this.length-1,this.focus())}pressHome(){this.buttonHasFocus&&(this.index=0,this.focus())}pressEnd(){this.buttonHasFocus&&(this.index=this.length-1,this.focus())}focus(){if(!this.current)return;const e=this.current.primaryButtons.find(e=>e.list===this.list);e&&e.focus()}apply(){for(let e=0;e<this._index;e++)this.members[e].translate(hs);this.current&&this.current.translate(ls);for(let e=this._index+1;e<this.length;e++)this.members[e].translate(cs);this.isPreventingTransition=!1}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(e){this._isPreventingTransition!==e&&(e?this.addClass(Fe.internals.motion.TransitionSelector.NONE):this.removeClass(Fe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===e)}render(){if(null===this.current)return;this.node.scrollTop=0,this.node.scrollLeft=0;const e=Math.round(this.current.node.offsetHeight);if(this.panelHeight===e)return;this.panelHeight=e;this.style.setProperty("--tabs-height",this.panelHeight+this.listHeight-4+"px")}}class fs extends Fe.core.Instance{static get instanceClassName(){return"TabsList"}init(){this.listen("scroll",this.scroll.bind(this)),this.listenKey(Fe.core.KeyCodes.RIGHT,this.ascend.bind(this,_s.PRESS_KEY,gs),!0,!0),this.listenKey(Fe.core.KeyCodes.LEFT,this.ascend.bind(this,_s.PRESS_KEY,us),!0,!0),this.listenKey(Fe.core.KeyCodes.HOME,this.ascend.bind(this,_s.PRESS_KEY,ms),!0,!0),this.listenKey(Fe.core.KeyCodes.END,this.ascend.bind(this,_s.PRESS_KEY,ps),!0,!0),this.isResizing=!0}focalize(e){const t=e.getRect(),s=this.getRect(),i=this.node.scrollLeft;t.left<s.left?this.node.scrollTo(i-s.left+t.left-16,0):t.right>s.right&&this.node.scrollTo(i-s.right+t.right+16,0)}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.apply())}apply(){this._isScrolling?(this.addClass(os.SHADOW),this.scroll()):(this.removeClass(os.SHADOW_RIGHT),this.removeClass(os.SHADOW_LEFT),this.removeClass(os.SHADOW))}scroll(){const e=Math.abs(this.node.scrollLeft),t=e<=16,s=this.node.scrollWidth-this.node.clientWidth-16,i=Math.abs(e)>=s,n="rtl"===getComputedStyle(this.node).direction,r=n?os.SHADOW_RIGHT:os.SHADOW_LEFT,a=n?os.SHADOW_LEFT:os.SHADOW_RIGHT;t?this.removeClass(r):this.addClass(r),i?this.removeClass(a):this.addClass(a)}resize(){this.isScrolling=this.node.scrollWidth>this.node.clientWidth+16;const e=this.getRect().height;this.setProperty("--tabs-list-height",`${e}px`),this.ascend(_s.LIST_HEIGHT,e)}dispose(){this.isScrolling=!1}}Fe.tab={TabPanel:ds,TabButton:as,TabsGroup:bs,TabsList:fs,TabSelector:os,TabEmission:_s},Fe.internals.register(Fe.tab.TabSelector.PANEL,Fe.tab.TabPanel),Fe.internals.register(Fe.tab.TabSelector.GROUP,Fe.tab.TabsGroup),Fe.internals.register(Fe.tab.TabSelector.LIST,Fe.tab.TabsList);const Es={DISMISS:Fe.internals.ns.event("dismiss")};class As extends Fe.core.Instance{static get instanceClassName(){return"TagDismissible"}init(){this.listenClick()}handleClick(){switch(this.focusClosest(),Fe.mode){case Fe.Modes.ANGULAR:case Fe.Modes.REACT:case Fe.Modes.VUE:this.request(this.verify.bind(this));break;default:this.remove()}this.dispatch(Es.DISMISS)}verify(){document.body.contains(this.node)&&this.warn(`a TagDismissible has just been dismissed and should be removed from the dom. In ${Fe.mode} mode, the api doesn't handle dom modification. An event ${Es.DISMISS} is dispatched by the element to trigger the removal`)}}const vs={PRESSABLE:`${Fe.internals.ns.selector("tag")}[aria-pressed]`,DISMISSIBLE:`${Fe.internals.ns.selector("tag--dismiss")}`};Fe.tag={TagDismissible:As,TagSelector:vs,TagEvent:Es},Fe.internals.register(Fe.tag.TagSelector.PRESSABLE,Fe.core.Toggle),Fe.internals.register(Fe.tag.TagSelector.DISMISSIBLE,Fe.tag.TagDismissible);const Ts=Fe.internals.ns.selector("transcription"),Ss={TRANSCRIPTION:Ts,BUTTON:`${Ts}__btn`};class ys extends Fe.core.Instance{static get instanceClassName(){return"Transcription"}get collapsePrimary(){return this.element.children.map(e=>e.getInstance("CollapseButton")).filter(e=>null!==e&&e.hasClass(Ss.BUTTON))[0]}}Fe.transcription={Transcription:ys,TranscriptionSelector:Ss},Fe.internals.register(Fe.transcription.TranscriptionSelector.TRANSCRIPTION,Fe.transcription.Transcription);class Cs extends Fe.core.Instance{static get instanceClassName(){return"TileDownload"}init(){this.addAscent(Fe.core.AssessEmission.UPDATE,e=>{this.descend(Fe.core.AssessEmission.UPDATE,e)}),this.addAscent(Fe.core.AssessEmission.ADDED,()=>{this.descend(Fe.core.AssessEmission.ADDED)})}}const ws={DOWNLOAD:Fe.internals.ns.selector("tile--download"),DOWNLOAD_DETAIL:`${Fe.internals.ns.selector("tile--download")} ${Fe.internals.ns.selector("tile__detail")}`};Fe.tile={TileSelector:ws,TileDownload:Cs},Fe.internals.register(Fe.tile.TileSelector.DOWNLOAD,Fe.tile.TileDownload),Fe.internals.register(Fe.tile.TileSelector.DOWNLOAD_DETAIL,Fe.core.AssessDetail);const Ns={RANGE:Fe.internals.ns.selector("range"),RANGE_SM:Fe.internals.ns.selector("range--sm"),RANGE_STEP:Fe.internals.ns.selector("range--step"),RANGE_DOUBLE:Fe.internals.ns.selector("range--double"),RANGE_DOUBLE_STEP:Fe.internals.ns.selector("range--double")+Fe.internals.ns.selector("range--step"),RANGE_INPUT:Fe.internals.ns.selector("range input[type=range]:nth-of-type(1)"),RANGE_INPUT2:`${Fe.internals.ns.selector("range--double")} input[type=range]:nth-of-type(2)`,RANGE_OUTPUT:Fe.internals.ns.selector("range__output"),RANGE_MIN:Fe.internals.ns.selector("range__min"),RANGE_MAX:Fe.internals.ns.selector("range__max"),RANGE_PREFIX:Fe.internals.ns.attr("prefix"),RANGE_SUFFIX:Fe.internals.ns.attr("suffix")},Rs={VALUE:Fe.internals.ns.emission("range","value"),VALUE2:Fe.internals.ns.emission("range","value2"),OUTPUT:Fe.internals.ns.emission("range","output"),CONSTRAINTS:Fe.internals.ns.emission("range","constraints"),MIN:Fe.internals.ns.emission("range","min"),MAX:Fe.internals.ns.emission("range","max"),STEP:Fe.internals.ns.emission("range","step"),PREFIX:Fe.internals.ns.emission("range","prefix"),SUFFIX:Fe.internals.ns.emission("range","suffix"),DISABLED:Fe.internals.ns.emission("range","disabled"),ENABLE_POINTER:Fe.internals.ns.emission("range","enable_pointer")};class Ds{constructor(){this._width=0,this._min=0,this._max=0,this._value=0,this._thumbSize=24,this._innerWidth=0,this._prefix="",this._suffix="",this._background={}}configure(e){e&&(this._prefix=e._prefix,this._suffix=e._suffix,this._width=e.width,this.setConstraints(e._constraints),this.value=e.value,this.update())}setPrefix(e){this._prefix=null!==e?e:""}setSuffix(e){this._suffix=null!==e?e:""}_decorate(e){return`${this._prefix}${e}${this._suffix}`}get width(){return this._width}set width(e){this._width=e}get isSm(){return this._isSm}set isSm(e){this._isSm!==e&&(this._isSm=e,this.setThumbSize(e?16:24),this.update())}setThumbSize(e,t=1){this._thumbSize=e,this._innerPadding=e*t}get textValue(){return this._decorate(this._value)}get value(){return this._value}set value(e){this._value=e}get outputX(){return this._outputX}setConstraints(e){this._constraints=e,this._min=e.min,this._max=e.max,this._step=e.step,this._rangeWidth=e.rangeWidth}get min(){return this._min}get textMin(){return this._decorate(this._min)}get max(){return this._max}get textMax(){return this._decorate(this._max)}get step(){return this._step}get output(){return{text:this.textValue,transform:`translateX(${this._translateX}px) translateX(-${this._centerPercent}%)`}}_getRatio(e){return(e-this._min)/this._rangeWidth}get progress(){return this._progress}update(){this._update()}_update(){this._innerWidth=this._width-this._innerPadding;const e=this._getRatio(this._value);this._translateX=e*this._width,this._centerPercent=100*e,this._progress={right:`${(this._innerWidth*e+.5*this._innerPadding).toFixed(2)}px`}}}class Ls extends Ds{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){super._update();const e=this._rangeWidth/this._step;for(this._stepWidth=this._innerWidth/e,(this._stepWidth<1||!isFinite(this._stepWidth))&&(this._stepWidth=4);this._stepWidth<4;)this._stepWidth*=2}}class Is extends Ds{get value2(){return this._value}set value2(e){this._value2!==e&&(this._value2=e,this.update())}get textValue(){return`${this._decorate(this._value)} - ${this._decorate(this._value2)}`}setThumbSize(e){super.setThumbSize(e,2)}_update(){super._update();const e=this._getRatio(.5*(this._value+this._value2));this._translateX=e*this._width,this._centerPercent=100*e;const t=this._getRatio(this._value),s=this._getRatio(this._value2);this._progress={left:`${(this._innerWidth*t+.25*this._innerPadding).toFixed(2)}px`,right:`${(this._innerWidth*s+.75*this._innerPadding).toFixed(2)}px`}}}class Os extends Is{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){super._update();const e=this._rangeWidth/this._step;this._stepWidth=this._innerWidth/e,this._stepWidth<4&&(this._stepWidth*=Math.ceil(4/this._stepWidth))}}const xs="step",Ps="double",ks="double-step",Ms="default";class $s extends Fe.core.Instance{static get instanceClassName(){return"Range"}init(){this._retrieveType(),this._retrieveSize(),this.isLegacy?(this.isResizing=!0,this.isMouseMoving=!0):(this._observer=new ResizeObserver(this.resize.bind(this)),this._observer.observe(this.node)),this.addAscent(Rs.CONSTRAINTS,this.setConstraints.bind(this)),this.addAscent(Rs.VALUE,this.setValue.bind(this)),this.addAscent(Rs.VALUE2,this.setValue2.bind(this)),this.getAttribute(Ns.RANGE_PREFIX)&&this.setPrefix(this.getAttribute(Ns.RANGE_PREFIX)),this.getAttribute(Ns.RANGE_SUFFIX)&&this.setSuffix(this.getAttribute(Ns.RANGE_SUFFIX)),this.update()}_retrieveType(){switch(!0){case this.matches(Ns.RANGE_DOUBLE_STEP):case this.matches(Ns.RANGE_DOUBLE):this.type=Ps;break;case this.matches(Ns.RANGE_STEP):this.type=xs;break;default:this.type=Ms}}set type(e){if(this._type===e)return;this._type=e;const t=this._model;switch(this._type){case ks:this._model=new Os;break;case Ps:this._model=new Is;break;case xs:this._model=new Ls;break;default:this._model=new Ds}this._model.configure(t)}get type(){return this._type}_retrieveSize(){this._model.isSm=this.matches(Ns.RANGE_SM)}resize(){this._retrieveWidth(),this.update()}_retrieveWidth(){this._model.width=this.getRect().width}setValue(e){switch(this._model.value=e,this._type){case ks:case Ps:this.descend(Rs.VALUE,e)}this.update()}setValue2(e){this._model.value2=e,this.descend(Rs.VALUE2,e),this.update()}setConstraints(e){this._model.setConstraints(e),this.update(),this.descend(Rs.CONSTRAINTS,e)}setPrefix(e){this._model.setPrefix(e),this.update()}setSuffix(e){this._model.setSuffix(e),this.update()}mutate(e){switch(!0){case e.includes("class"):this._retrieveType(),this._retrieveSize();break;case e.includes(Ns.RANGE_PREFIX):case e.includes(Ns.RANGE_SUFFIX):this._model.setPrefix(this.getAttribute(Ns.RANGE_PREFIX)),this._model.setSuffix(this.getAttribute(Ns.RANGE_SUFFIX)),this.update()}}update(){this._model.update(),this.descend(Rs.OUTPUT,this._model.output),this.descend(Rs.MIN,this._model.textMin),this.descend(Rs.MAX,this._model.textMax);const e=this._model.progress;e.left?this.style.setProperty("--progress-left",e.left):this.style.removeProperty("--progress-left"),e.right?(this.style.setProperty("--progress-right",e.right),this.isLegacy&&e.left&&(this.style.setProperty("background-position-x",e.left),this.style.setProperty("background-size",`${parseFloat(e.right)-parseFloat(e.left)}px ${this._model.isSm?"8px":"12px"}`))):(this.style.removeProperty("--progress-right"),this.isLegacy&&(this.style.removeProperty("background-size"),this.style.removeProperty("background-position-x"))),this._model.stepWidth?this.style.setProperty("--step-width",this._model.stepWidth):this.style.removeProperty("--step-width")}mouseMove(e){if(this._type!==Ps&&this._type!==ks)return;const t=e.x-this.getRect().left;this.descend(Rs.ENABLE_POINTER,(parseFloat(this._model.progress.right)-parseFloat(this._model.progress.left))/2+parseFloat(this._model.progress.left)<t?2:1)}dispose(){this._observer.disconnect()}}class Gs{constructor(e){this._min=isNaN(e.min)?0:e.min,this._max=isNaN(e.max)?100:e.max,this._step=isNaN(e.step)?1:e.step,this._rangeWidth=this._max-this._min}get min(){return this._min}get max(){return this._max}get step(){return this._step}get rangeWidth(){return this._rangeWidth}test(e,t,s){return this._min===e&&this._max===t&&this._step===s}}class Hs extends Fe.core.Instance{static get instanceClassName(){return"RangeInput"}init(){this._init(),this._value=parseFloat(this.node.getAttribute("value")),this.isLegacy&&this.addDescent(Rs.ENABLE_POINTER,this._enablePointer.bind(this)),this.isRendering=!0,this.change()}_init(){this._pointerId=1,this.request(()=>{this.hasAttribute("min")||this.setAttribute("min",0),this.ascend(Rs.CONSTRAINTS,new Gs(this.node)),this.ascend(Rs.DISABLED,this.node.disabled)}),this.addDescent(Rs.VALUE2,this.setValue.bind(this))}get proxy(){const e=this,t={get value(){return e.value},set value(t){e.value=t}};return Fe.internals.property.completeAssign(super.proxy,t)}_enablePointer(e){const t=e===this._pointerId;this._isPointerEnabled!==t&&(this._isPointerEnabled=t,t?this.style.removeProperty("pointer-events"):this.style.setProperty("pointer-events","none"))}get value(){return parseFloat(this.node.value)}set value(e){const t=parseFloat(e);t!==this._value&&(this._value=t,this.node.value=t,this.dispatch("change"),this.change())}setValue(e){parseFloat(this.node.value)>e&&(this.value=e)}change(){this.ascend(Rs.VALUE,this._value)}render(){const e=parseFloat(this.node.value);e!==this._value&&(this.value=e)}mutate(e){e.includes("disabled")&&this.ascend(Rs.DISABLED,this.node.disabled),(e.includes("min")||e.includes("max")||e.includes("step"))&&(this.ascend(Rs.CONSTRAINTS,new Gs(this.node)),this.change())}dispose(){this._listenerType&&this.unlisten(this._listenerType,this._changing)}}class Us extends Fe.core.Instance{static get instanceClassName(){return"RangeOutput"}init(){this.addDescent(Rs.OUTPUT,this.change.bind(this))}change(e){this.node.innerText=e.text,this.node.style.transform=e.transform}}class Bs extends Fe.core.Instance{static get instanceClassName(){return"RangeLimit"}init(){switch(!0){case this.matches(Ns.RANGE_MIN):this.addDescent(Rs.MIN,this.change.bind(this));break;case this.matches(Ns.RANGE_MAX):this.addDescent(Rs.MAX,this.change.bind(this))}}change(e){this.node.innerText=e}}Fe.range={Range:$s,RangeInput:Hs,RangeInput2:class extends Hs{static get instanceClassName(){return"RangeInput2"}_init(){this._pointerId=2,this.addDescent(Rs.CONSTRAINTS,this.setConstraints.bind(this)),this.addDescent(Rs.VALUE,this.setValue.bind(this))}setValue(e){parseFloat(this.node.value)<e&&(this.value=e)}change(){this.ascend(Rs.VALUE2,parseFloat(this.node.value))}setConstraints(e){this.node.min=e.min,this.node.max=e.max,this.node.step=e.step,this.change()}mutate(e){}},RangeOutput:Us,RangeLimit:Bs,RangeEmission:Rs,RangeSelector:Ns},Fe.internals.register(Fe.range.RangeSelector.RANGE,Fe.range.Range),Fe.internals.register(Fe.range.RangeSelector.RANGE_INPUT,Fe.range.RangeInput),Fe.internals.register(Fe.range.RangeSelector.RANGE_INPUT2,Fe.range.RangeInput2),Fe.internals.register(Fe.range.RangeSelector.RANGE_OUTPUT,Fe.range.RangeOutput),Fe.internals.register(Fe.range.RangeSelector.RANGE_MIN,Fe.range.RangeLimit),Fe.internals.register(Fe.range.RangeSelector.RANGE_MAX,Fe.range.RangeLimit);const Fs={HEADER:Fe.internals.ns.selector("header"),BRAND_LINK:Fe.internals.ns.selector("header__brand a"),TOOLS_LINKS:Fe.internals.ns.selector("header__tools-links"),MENU_LINKS:Fe.internals.ns.selector("header__menu-links"),BUTTONS:`${Fe.internals.ns.selector("header__tools-links")} ${Fe.internals.ns.selector("btns-group")}, ${Fe.internals.ns.selector("header__tools-links")} ${Fe.internals.ns.selector("links-group")}`,MODALS:`${Fe.internals.ns.selector("header__search")}${Fe.internals.ns.selector("modal")}, ${Fe.internals.ns.selector("header__menu")}${Fe.internals.ns.selector("modal")}`};class Ws extends Fe.core.Instance{static get instanceClassName(){return"HeaderLinks"}init(){const e=this.queryParentSelector(Fs.HEADER);this.toolsLinks=e.querySelector(Fs.TOOLS_LINKS),this.menuLinks=e.querySelector(Fs.MENU_LINKS);const t="-mobile",s=this.toolsLinks.innerHTML.replace(/  +/g," "),i=this.menuLinks.innerHTML.replace(/  +/g," ");let n=s.match(/id="(.*?)"/gm)||[];n=n.map(e=>e.replace('id="',"").replace('"',""));const r=["aria-controls","aria-describedby","aria-labelledby"];let a=s.replace(/id="(.*?)"/gm,`id="$1${t}"`);for(const e of r){const i=s.match(new RegExp(`${e}="(.*?)"`,"gm"));if(i)for(const s of i){const i=s.replace(`${e}="`,"").replace('"',"");n.includes(i)&&(a=a.replace(`${e}="${i}"`,`${e}="${i+t}"`))}}if(a!==i)switch(Fe.mode){case Fe.Modes.ANGULAR:case Fe.Modes.REACT:case Fe.Modes.VUE:this.warn(`header__tools-links content is different from header__menu-links content.\nAs you're using a dynamic framework, you should handle duplication of this content yourself, please refer to documentation:\n${Fe.header.doc}`);break;default:this.menuLinks.innerHTML=a}}}class qs extends Fe.core.Instance{static get instanceClassName(){return"HeaderModal"}init(){this.storeAria(),this.isResizing=!0}resize(){this.isBreakpoint(Fe.core.Breakpoints.LG)?this.deactivateModal():this.activateModal()}activateModal(){const e=this.element.getInstance("Modal");e?(this.restoreAria(),e.isActive=!0,this.listenClick({capture:!0})):this.request(this.activateModal.bind(this))}deactivateModal(){const e=this.element.getInstance("Modal");e?(e.conceal(),e.isActive=!1,this.storeAria(),this.unlistenClick({capture:!0})):this.request(this.deactivateModal.bind(this))}storeAria(){this.hasAttribute("aria-labelledby")&&(this._ariaLabelledby=this.getAttribute("aria-labelledby")),this.hasAttribute("aria-label")&&(this._ariaLabel=this.getAttribute("aria-label")),this.removeAttribute("aria-labelledby"),this.removeAttribute("aria-label")}restoreAria(){this._ariaLabelledby&&this.setAttribute("aria-labelledby",this._ariaLabelledby),this._ariaLabel&&this.setAttribute("aria-label",this._ariaLabel)}handleClick(e){if(e.target.matches("a, button")&&!e.target.matches("[aria-controls]")&&!e.target.matches(Fe.core.DisclosureSelector.PREVENT_CONCEAL)){this.element.getInstance("Modal").conceal()}}}Fe.header={HeaderLinks:Ws,HeaderModal:qs,HeaderSelector:Fs,doc:"https://www.systeme-de-design.gouv.fr/version-courante/fr/composants/en-tete"},Fe.internals.register(Fe.header.HeaderSelector.TOOLS_LINKS,Fe.header.HeaderLinks),Fe.internals.register(Fe.header.HeaderSelector.MODALS,Fe.header.HeaderModal);const zs={DISPLAY:Fe.internals.ns.selector("display"),RADIO_BUTTONS:`input[name="${Fe.internals.ns("radios-theme")}"]`,FIELDSET:Fe.internals.ns.selector("fieldset")};class js extends Fe.core.Instance{static get instanceClassName(){return"Display"}init(){if(this.radios=this.querySelectorAll(zs.RADIO_BUTTONS),Fe.scheme&&document.documentElement.hasAttribute(Fe.scheme.SchemeAttribute.SCHEME)){this.changing=this.change.bind(this);for(const e of this.radios)e.addEventListener("change",this.changing);this.addDescent(Fe.scheme.SchemeEmission.SCHEME,this.apply.bind(this)),this.ascend(Fe.scheme.SchemeEmission.ASK)}else this.disableChoices()}get scheme(){return this._scheme}set scheme(e){if(this._scheme!==e&&Fe.scheme)switch(e){case Fe.scheme.SchemeValue.SYSTEM:case Fe.scheme.SchemeValue.LIGHT:case Fe.scheme.SchemeValue.DARK:this._scheme=e;for(const t of this.radios)t.checked=t.value===e;this.ascend(Fe.scheme.SchemeEmission.SCHEME,e)}}change(){for(const e of this.radios)if(e.checked)return void(this.scheme=e.value)}apply(e){this.scheme=e}dispose(){for(const e of this.radios)e.removeEventListener("change",this.changing)}disableChoices(){this.querySelector(zs.FIELDSET).setAttribute("disabled","")}}Fe.display={Display:js,DisplaySelector:zs},Fe.internals.register(Fe.display.DisplaySelector.DISPLAY,Fe.display.Display);const Ks={SCROLLABLE:Fe.internals.ns.emission("table","scrollable"),CHANGE:Fe.internals.ns.emission("table","change"),CAPTION_HEIGHT:Fe.internals.ns.emission("table","captionheight"),CAPTION_WIDTH:Fe.internals.ns.emission("table","captionwidth")};class Vs extends Fe.core.Instance{static get instanceClassName(){return"Table"}init(){this.addAscent(Ks.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(e){this.setProperty("--table-offset",e)}}class Ys extends Fe.core.Instance{static get instanceClassName(){return"TableWrapper"}init(){this.addAscent(Ks.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(e){requestAnimationFrame(()=>this.ascend(Ks.CAPTION_HEIGHT,0)),this.setProperty("--table-offset",e)}}const Xs={TABLE:Fe.internals.ns.selector("table"),TABLE_WRAPPER:[`${Fe.internals.ns.selector("table")} ${Fe.internals.ns.selector("table__wrapper")}`],SHADOW:Fe.internals.ns.selector("table__shadow"),SHADOW_LEFT:Fe.internals.ns.selector("table__shadow--left"),SHADOW_RIGHT:Fe.internals.ns.selector("table__shadow--right"),ELEMENT:[`${Fe.internals.ns.selector("table")}:not(${Fe.internals.ns.selector("table--no-scroll")}) table`],CAPTION:`${Fe.internals.ns.selector("table")} table caption`,ROW:`${Fe.internals.ns.selector("table")} tbody tr`,COL:`${Fe.internals.ns.selector("table")} thead th`};class Qs extends Fe.core.Instance{static get instanceClassName(){return"TableElement"}init(){this.listen("scroll",this.scroll.bind(this)),this.content=this.querySelector("tbody"),this.tableOffsetHeight=0,this.isResizing=!0}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,e?(this.addClass(Xs.SHADOW),this.scroll()):(this.removeClass(Xs.SHADOW),this.removeClass(Xs.SHADOW_LEFT),this.removeClass(Xs.SHADOW_RIGHT)))}scroll(){const e=this.node.scrollLeft<=0,t=this.content.offsetWidth-this.node.offsetWidth-0,s=Math.abs(this.node.scrollLeft)>=t,i="rtl"===document.documentElement.getAttribute("dir"),n=i?Xs.SHADOW_RIGHT:Xs.SHADOW_LEFT,r=i?Xs.SHADOW_LEFT:Xs.SHADOW_RIGHT;e?this.removeClass(n):this.addClass(n),s?this.removeClass(r):this.addClass(r)}resize(){this.isScrolling=this.content.offsetWidth>this.node.offsetWidth}dispose(){this.isScrolling=!1}}class Zs extends Fe.core.Instance{static get instanceClassName(){return"TableCaption"}init(){this.height=0,this.isResizing=!0}resize(){const e=this.getRect().height;this.height!==e&&(this.height=e,this.ascend(Ks.CAPTION_HEIGHT,`calc(${e}px + 1rem)`))}}class Js extends Fe.core.Instance{static get instanceClassName(){return"TableRow"}init(){Fe.checkbox&&(this.addAscent(lt.CHANGE,this._handleCheckboxChange.bind(this)),this.descend(lt.RETRIEVE))}_handleCheckboxChange(e){"row-select"!==e.name&&"true"!==e.getAttribute(Fe.internals.ns.attr("row-select"))||(this.isSelected=!0===e.checked)}render(){const e=this.getRect().height+2;this._height!==e&&(this._height=e,this.setProperty("--row-height",`${this._height}px`))}get isSelected(){return this._isSelected}set isSelected(e){this._isSelected!==e&&(this.isRendering=e,this._isSelected=e,this.setAttribute("aria-selected",e))}}Fe.table={Table:Vs,TableWrapper:Ys,TableElement:Qs,TableCaption:Zs,TableSelector:Xs,TableRow:Js},Fe.internals.register(Fe.table.TableSelector.TABLE,Fe.table.Table),Fe.internals.register(Fe.table.TableSelector.TABLE_WRAPPER,Fe.table.TableWrapper),Fe.internals.register(Fe.table.TableSelector.ELEMENT,Fe.table.TableElement),Fe.internals.register(Fe.table.TableSelector.CAPTION,Fe.table.TableCaption),Fe.internals.register(Fe.table.TableSelector.ROW,Fe.table.TableRow);
28//# sourceMappingURL=dsfr.module.min.js.map
29
30  </script>
30
31    
32
33<script>
34
35  (function () {
36    const STORAGE_KEY = "matomoAutorisation";
37    const consent = localStorage.getItem(STORAGE_KEY);
38
39    
40    if (consent === "rejected") {
41      return;
42    }
43
44    var _paq = (window._paq = window._paq || []);
45     
46    _paq.push(["trackPageView"]);
47    _paq.push(["enableLinkTracking"]);
48    (function () {
49      var u = "https://insee.matomo.cloud/"; 
50      _paq.push(["setTrackerUrl", u + "matomo.php"]);
51      _paq.push(["setSiteId", "19"]);
52      var d = document,
53        g = d.createElement("script"),
54        s = d.getElementsByTagName("script")[0];
55      g.async = true;
56      g.src = "https://cdn.matomo.cloud/insee.matomo.cloud/matomo.js";
57      s.parentNode.insertBefore(g, s);
58    })();
59  })();
60</script>
60
61
62  
63  <link rel="stylesheet" href="/node_modules/@gouvfr/dsfr/dist/component/translate/translate.min.css">
64  
65</head><body>
66    
67    
68
69
70<div class="fr-skiplinks">
71  <nav class="fr-container" role="navigation" aria-label="Accès rapide">
72    <ul class="fr-skiplinks__list">
73      <li>
74        <a class="fr-link" href="#main">Aller au contenu</a>
75      </li>
76    </ul>
77  </nav>
78</div>
79
80<header role="banner" class="fr-header" id="myHeader">
81  <div class="fr-header__body">
82    <div class="fr-container">
83      <div class="fr-header__body-row">
84        <div class="fr-header__brand fr-enlarge-link">
85          <div class="fr-header__brand-top">
86            <div class="fr-header__logo">
87              <a
88                href="/"
89                target="_self"
90                title="Retour à l'accueil du site le recensement et moi"
91                style="display: flex; align-items: center"
92              >
93                <p class="fr-logo" id="logo-header-marianne">
94                  République
95                  <br />Française
96                </p>
97              </a>
98            </div>
99              <div class="fr-header__operator">
100                  <div id="logo-insee-2025">
101                    <span class="visually-hidden">Insee - Mesurer pour comprendre</span>
102                  </div>
103                </div>
104            <div class="fr-header__navbar">
105              <button
106                class="fr-btn--menu fr-btn"
107                data-fr-opened="false"
108                aria-controls="modal-870"
109                title="Menu"
110                id="header-menu-btn"
111              >
112                Menu
113              </button>
114            </div>
115          </div>
116          <div class="fr-header__service">
117            <h1 class="fr-header__service-title" 
118                title="Accueil - Le recensement de la population - République Française"
119              >
120                Le recensement de la population
121              </a>
122            </h1>
123          </div>
124        </div>
125        <div class="fr-header__tools">
126          <div class="fr-header__tools-links" data-fr-js-header-links="true">
127            <ul class="fr-btns-group">
128              <li><button id="26ef7bc6bef45dbe214eb477429da6fa" class="fr-btn--display fr-btn fr-icon-theme-fill fr-link--icon-left" aria-controls="fr-theme-modal" data-fr-opened="false" data-fr-js-modal-button="true" data-fr-js-button-actionee="true" data-fr-js-header-tools-button-actionee="true">Paramètres d'affichage</button></li>
129              <li>
130                <a
131                  href="https://questionnaire.le-recensement-et-moi.fr"
132                  target="_blank"
133                  rel="noopener noreferrer"
134                  title="Ici, je répond au questionnaire - nouvelle fenêtre"
135                  class="fr-btn fr-icon-external-link-line fr-btn--icon-right fr-btn--tertiary-no-outline"
136                  >Ici, je réponds au questionnaire</a
137                >
138              </li>
139            </ul>
140          </div>
141        </div>
142      </div>
143    </div>
144  </div>
145
146  <div
147    class="fr-header__menu fr-modal"
148    id="modal-870"
149    aria-labelledby="header-menu-btn"
150  >
151    <div class="fr-container">
152      <button class="fr-link--close fr-link" aria-controls="modal-870">
153        Fermer
154      </button>
155      <div class="fr-header__menu-links"></div>
156      <nav
157        class="fr-nav"
158        id="navigation-869"
159        role="navigation"
160        aria-label="Menu principal"
161      >
162        <ul class="fr-nav__list">
163          <li class="fr-nav__item">
164            <a
165              class="fr-nav__link"
166              href="/"
167              target="_self"
168              title="Retour à l'accueil du site le recensement et moi"
169              
170            >
171              <span class=" fr-displayed-lg  fr-icon-home-line"></span>
172              <span class="fr-sr-only-lg fr-displayed-xs">Accueil</span>
173            </a>
174          </li>
175            
176          <li class="fr-nav__item">
177              <a class="fr-nav__link fr-insee-nav-link" href="/cest-utile" target="_self" title="C&#39;est utile - Des chiffres pour construire demain" >
178                <span>C&#39;est utile</span> 
179              </a>
180          </li> 
181          
182          <li class="fr-nav__item">
183              <a class="fr-nav__link fr-insee-nav-link" href="/cest-simple" target="_self" title="C&#39;est simple - Comment ça marche ?" >
184                <span>C&#39;est simple</span> 
185              </a>
186          </li> 
187          
188          <li class="fr-nav__item">
189              <a class="fr-nav__link fr-insee-nav-link" href="/cest-sur" target="_self" title="C&#39;est sûr - Vos informations sont protégées" aria-current="page">
190                <span>C&#39;est sûr</span> 
191              </a>
192          </li> 
193          
194          <li class="fr-nav__item">
195              <a class="fr-nav__link fr-insee-nav-link" href="/reponses" target="_self" title="Questions et réponses - Questions et réponses" >
196                <span>Questions et réponses</span> 
197              </a>
198          </li> 
199          
200        </ul>
201      </nav>
202      <hr id="hr-desktop" aria-hidden="true" />
203    </div>
204  </div>
205
206<div class="fr-container--fluid fr-no-print">
207    <div class="fr-grid-row fr-grid-row--gutters">
208      <div class="fr-col-12 fr-p-2w header-bandeau">
209        <a
210          href="https://questionnaire.le-recensement-et-moi.fr"
211          rel="noopener noreferrer"
212          target="_blank"
213          class="fr-btn fr-btn--icon-right fr-icon-arrow-right-line "
214          id="header-bandeau"
215          style="justify-content: center; width: 100%"
216          title="Ici, je réponds au questionnaire - nouvelle fenêtre"
217        >
218          Ici, je réponds au questionnaire
219        </a>
220      </div>
221    </div>
222  </div> 
223</header>
224  
225</div>
226
227
228    <main
229      id="main"
230      role="main"
231      lang="fr-FR"
232    >
233      <div class="fr-container" id="container-body">
234        
235
236<div class="fr-grid-row fr-grid-row fr-grid-row--center"> 
237  <div class="fr-col-12 fr-col-lg-8">
238<nav role="navigation" class="fr-breadcrumb fr-no-print" aria-label="vous êtes ici :">
239  <button class="fr-breadcrumb__button" aria-expanded="false" aria-controls="breadcrumb-1">
240    Voir le fil d’Ariane
241  </button>
242  <div class="fr-collapse" id="breadcrumb-1">
243    <ol class="fr-breadcrumb__list">
244      <li>
245        <a class="fr-breadcrumb__link" href=/>
246          Accueil
247        </a>
248      </li>
249      
250      
251      
252        
253      
254        
255      
256        
257      
258      <li>
259        <span class="fr-breadcrumb__link" aria-current="page">
260          
261            C&#39;est sûr
262          
263        </span>
264      </li>
265    </ol>    
266  </div>
267</nav>
268</div>
269</div><div id="main-content">
270          <div id="col-desktop-content">
271    
272        
273            <div class="fr-grid-row fr-grid-row--center">
274    <div class="fr-col-12 fr-col-lg-8">
275<div class="fr-grid-row fr-grid-row--gutters" style="margin-bottom: 0.5rem; margin-top: -1.5rem" url="">
276    <div class="
277        fr-col-12 
278        fr-col-sm-12 
279        fr-col-md-8 
280        fr-col-lg-8 
281        fr-col-xl-8
282        ">
283        
284
285<h2 class="fr-h4">Vos données sont confidentielles</h2>
286<p>
287    L'Insee est le seul organisme habilité à exploiter les questionnaires et cela de façon anonyme.
288    Ils ne peuvent donc donner lieu à aucun contrôle administratif ou fiscal, et vos informations sont strictement confidentielles.
289</p>
290<p>
291    Votre nom et votre adresse sont néanmoins nécessaires pour être sûr que vous ne soyez pas compté plusieurs fois,
292    mais ils ne sont pas conservés dans les bases informatiques.
293    Toutes les personnes ayant accès aux questionnaires sont tenues au secret professionnel.
294</p>
295<p>
296    L'Insee s'engage à ce que les traitements de données personnelles qu'il met en œuvre à des fins statistiques soient conformes
297    au <a class="fr-link" href="/rgpd" title="Règlement général sur la protection des données - nouvelle fenêtre">Règlement général sur la protection des données</a> (RGPD)
298    et à <a class="fr-link" href="https://www.cnil.fr/fr/la-loi-informatique-et-libertes" target="_blank" rel="noopener noreferrer" title="la loi Informatique et Libertés - nouvelle fenêtre">la loi "Informatique et Libertés"</a>.
299</p>
300
301
302    </div>
303    
304    <div class="
305    fr-col-12
306    fr-col-md-12 
307    fr-col-lg-4 
308    fr-col-xl-4
309    fr-mb-3w
310    ">
311    <img class="infographies-for-cadenas" src="/illu-cadenas-ordi.png" alt="" id="" style="display:;">
312    </div>
313</div>
314<h2 class="fr-h4">Vos données sont protégées</h2>
315<p>
316    Le recensement se déroule selon des procédures approuvées par la
317    <a href="https://www.cnil.fr/" target="_blank" rel="noopener noreferrer" class="fr-link" title="Commission nationale de l'informatique et des libertés - nouvelle fenêtre">Commission nationale de l'informatique et des libertés</a> (Cnil).
318    Les données de l'Insee sont soumises à des conditions strictes d'hébergement et d'accès.
319</p>
320<h2 class="fr-h4">Le recensement de la population est encadré par la loi</h2>
321<p>
322    <a class="fr-link" href="https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000034111500/" target="_blank" rel="noopener noreferrer" title="La loi nº 2002-276 du 27 février 2002 (articles 156 à 158) - nouvelle fenêtre">La loi nº 2002-276 du 27 février 2002 (articles 156 à 158)</a> fonde les principes d'exécution du recensement
323    et d'authentification annuelle des populations de référence des communes.
324    Le décret en Conseil d'État nº2003-485 publié au Journal officiel du 8 juin 2003 définit les modalités d'application de la loi.
325    L'arrêté du 19 juillet 2007 encadre la diffusion des résultats du recensement de la population.
326</p>
327<p>
328    Seul l'Institut national de la statistique et des études économiques (Insee),
329    qui est chargé par la loi de réaliser le recensement de la population en partenariat avec
330    les communes, peut effectuer le recensement de la population. L'Insee l'organise et le contrôle,
331    les communes préparent et réalisent la collecte sur le terrain.
332</p>
333</div>
334</div>
335<div class="fr-grid-row fr-grid-row--center fr-grid-row--gutters fr-mb-4w fr-mt-2w">
336    <div class="fr-col-12 fr-col-lg-8">
337    <figure role="group" class="fr-content-media fr-my-0">
338        
339        
340        
341        
342        
343        
344        <iframe title=Le&#32;recensement&#32;de&#32;la&#32;population&#32;c&#39;est&#32;sûr&#32;! class="fr-responsive-vid" src=https://www.youtube.com/embed/lxf9yGNGcdk
345            allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
346        <figcaption class="fr-content-media__caption  fr-mb-2w">
347            Le recensement de la population c&#39;est sûr !
348        </figcaption>
349    </figure>
350
351     
352<div class="fr-transcription">
353  <button
354    type="button"
355    class="fr-transcription__btn"
356    aria-expanded="false"
357    aria-controls="fr-transcription-collapse-c-sur"
358  >
359    Transcription
360  </button>
361  <div class="fr-collapse" id="fr-transcription-collapse-c-sur">
362    <div class="fr-transcription__content">
363      <h2 class="fr-h5">Le recensement de la population c&#39;est sûr !</h2>
364      
365        <p>Le recensement de la population, c'est sûr :
366        toutes vos informations sont strictement confidentielles ; le recensement se déroule selon des procédures approuvées
367        par la Commission Nationale de l'informatique et des libertés (la CNIL) et respecte le réglement général sur la protection
368        des données (RGPD).
369        Vos données sont protégées et ne peuvent donner lieu à aucun contrôle administratif ou fiscal.
370        L'Insee est le seul organisme habilité à les exploiter.</p>
371        <p><strong>Plus d'informations sur <a href="/" class="fr-link">le-recensement-et-moi.fr</a></strong></p>
372        <p><strong>Répondre au recensement c'est utile pour construire demain !</strong></p>
373        
374    </div>
375
376    <div class="fr-transcription__footer">
377      <div class="fr-transcription__actions-group">
378        <button
379          aria-controls="fr-transcription-modal-c-sur"
380          aria-label="Agrandir la transcription"
381          data-fr-opened="false"
382          type="button"
383          class="fr-btn--fullscreen fr-btn"
384        >
385          Agrandir
386        </button>
387      </div>
388    </div>
389
390    <dialog
391      id="fr-transcription-modal-c-sur"
392      class="fr-modal"
393      aria-labelledby="fr-transcription-modal-title-c-sur"
394    >
395      <div class="fr-container fr-container--fluid fr-container-md">
396        <div class="fr-grid-row fr-grid-row--center">
397          <div class="fr-col-12 fr-col-md-10 fr-col-lg-8">
398            <div class="fr-modal__body">
399              <div class="fr-modal__header">
400                <button
401                  aria-controls="fr-transcription-modal-c-sur"
402                  title="Fermer"
403                  type="button"
404                  class="fr-btn--close fr-btn"
405                >
406                  Fermer
407                </button>
408              </div>
409              <div class="fr-modal__content" tabindex="-1">
410                <h1
411                  id="fr-transcription-modal-title-c-sur"
412                  class="fr-modal__title"
413                >
414                  Le recensement de la population c&#39;est sûr !
415                </h1>
416                <div>
417        <p>Le recensement de la population, c'est sûr :
418        toutes vos informations sont strictement confidentielles ; le recensement se déroule selon des procédures approuvées
419        par la Commission Nationale de l'informatique et des libertés (la CNIL) et respecte le réglement général sur la protection
420        des données (RGPD).
421        Vos données sont protégées et ne peuvent donner lieu à aucun contrôle administratif ou fiscal.
422        L'Insee est le seul organisme habilité à les exploiter.</p>
423        <p><strong>Plus d'informations sur <a href="/" class="fr-link">le-recensement-et-moi.fr</a></strong></p>
424        <p><strong>Répondre au recensement c'est utile pour construire demain !</strong></p>
425        </div>
426              </div>
427            </div>
428          </div>
429        </div>
430      </div>
431    </dialog>
432  </div>
433</div>
434
435        <p class="fr-mt-2w fr-mb-1w fr-text--bold">Cette vidéo est disponible en plusieurs langues :</p>
436        <ul class="flat-list">
437        <li><a href="https://www.youtube.com/watch?v=yMjuoyiY3TM"
438          title="nouvelle fenêtre - le recensement c'est sûr en créole guadeloupéen" target="_blank"
439          rel="noopener noreferrer" class="fr-link fr-icon-arrow-right-line fr-mr-2w">Créole guadeloupéen</a></li>
440        <li><a href="https://www.youtube.com/watch?v=Da2aiA0tUJc"
441          title="nouvelle fenêtre - le recensement c'est sûr en créole guyanais" target="_blank"
442          rel="noopener noreferrer" class="fr-link fr-icon-arrow-right-line fr-mr-2w">Créole guyanais</a></li>
443        <li><a href="https://www.youtube.com/watch?v=LvYIsoV_4x4"
444          title="nouvelle fenêtre - le recensement c'est sûr en créole martiniquais" target="_blank"
445          rel="noopener noreferrer" class="fr-link fr-icon-arrow-right-line fr-mr-2w">Créole martiniquais</a></li>
446        <li><a href="https://www.youtube.com/watch?v=gKmI-r0gVGk"
447          title="nouvelle fenêtre - le recensement c'est sûr en créole réunionnais" target="_blank"
448          rel="noopener noreferrer" class="fr-link fr-icon-arrow-right-line fr-mr-2w">Créole réunionnais</a></li>
449        </ul>
450    </div>
451</div>
452        
453    
454</div>
455        </div>
456        
457      </div>
458    </main><dialog
459  id="fr-theme-modal"
460  class="fr-modal"
461  aria-labelledby="fr-theme-modal-title"
462>
463  <div class="fr-container fr-container--fluid fr-container-md">
464    <div class="fr-grid-row fr-grid-row--center">
465      <div class="fr-col-12 fr-col-md-6 fr-col-lg-4">
466        <div class="fr-modal__body">
467          <div class="fr-modal__header">
468            <button
469              aria-controls="fr-theme-modal"
470              title="Fermer"
471              type="button"
472              class="fr-btn--close fr-btn"
473            >
474              Fermer
475            </button>
476          </div>
477          <div class="fr-modal__content">
478            <h1 id="fr-theme-modal-title" class="fr-modal__title">
479              Paramètres d’affichage
480            </h1>
481            <div id="fr-display" class="fr-display">
482              <fieldset class="fr-fieldset" id="display-fieldset">
483                <legend
484                  class="fr-fieldset__legend--regular fr-fieldset__legend"
485                  id="display-fieldset-legend"
486                >
487                  Choisissez un thème pour personnaliser l’apparence du site.
488                </legend>
489                <div class="fr-fieldset__element">
490                  <div class="fr-radio-group fr-radio-rich">
491                    <input
492                      value="light"
493                      type="radio"
494                      id="fr-radios-theme-light"
495                      name="fr-radios-theme"
496                    />
497                    <label class="fr-label" for="fr-radios-theme-light">
498                      Thème clair
499                    </label>
500                    <div class="fr-radio-rich__pictogram">
501                      <svg
502                        aria-hidden="true"
503                        class="fr-artwork"
504                        viewBox="0 0 80 80"
505                        width="80px"
506                        height="80px"
507                      >
508                        <use
509                          class="fr-artwork-decorative"
510                          href="/artwork/pictograms/environment/sun.svg#artwork-decorative"
511                        ></use>
512                        <use
513                          class="fr-artwork-minor"
514                          href="/artwork/pictograms/environment/sun.svg#artwork-minor"
515                        ></use>
516                        <use
517                          class="fr-artwork-major"
518                          href="/artwork/pictograms/environment/sun.svg#artwork-major"
519                        ></use>
520                      </svg>
521                    </div>
522                  </div>
523                </div>
524                <div class="fr-fieldset__element">
525                  <div class="fr-radio-group fr-radio-rich">
526                    <input
527                      value="dark"
528                      type="radio"
529                      id="fr-radios-theme-dark"
530                      name="fr-radios-theme"
531                    />
532                    <label class="fr-label" for="fr-radios-theme-dark">
533                      Thème sombre
534                    </label>
535                    <div class="fr-radio-rich__pictogram">
536                      <svg
537                        aria-hidden="true"
538                        class="fr-artwork"
539                        viewBox="0 0 80 80"
540                        width="80px"
541                        height="80px"
542                      >
543                        <use
544                          class="fr-artwork-decorative"
545                          href="/artwork/pictograms/environment/moon.svg#artwork-decorative"
546                        ></use>
547                        <use
548                          class="fr-artwork-minor"
549                          href="/artwork/pictograms/environment/moon.svg#artwork-minor"
550                        ></use>
551                        <use
552                          class="fr-artwork-major"
553                          href="/artwork/pictograms/environment/moon.svg#artwork-major"
554                        ></use>
555                      </svg>
556                    </div>
557                  </div>
558                </div>
559                <div class="fr-fieldset__element">
560                  <div class="fr-radio-group fr-radio-rich">
561                    <input
562                      value="system"
563                      type="radio"
564                      id="fr-radios-theme-system"
565                      name="fr-radios-theme"
566                    />
567                    <label class="fr-label" for="fr-radios-theme-system">
568                      Système
569                      <span class="fr-hint-text"
570                        >Utilise les paramètres système</span
571                      >
572                    </label>
573                    <div class="fr-radio-rich__pictogram">
574                      <svg
575                        aria-hidden="true"
576                        class="fr-artwork"
577                        viewBox="0 0 80 80"
578                        width="80px"
579                        height="80px"
580                      >
581                        <use
582                          class="fr-artwork-decorative"
583                          href="/artwork/pictograms/system/system.svg#artwork-decorative"
584                        ></use>
585                        <use
586                          class="fr-artwork-minor"
587                          href="/artwork/pictograms/system/system.svg#artwork-minor"
588                        ></use>
589                        <use
590                          class="fr-artwork-major"
591                          href="/artwork/pictograms/system/system.svg#artwork-major"
592                        ></use>
593                      </svg>
594                    </div>
595                  </div>
596                </div>
597              </fieldset>
598            </div>
599          </div>
600        </div>
601      </div>
602    </div>
603  </div>
604</dialog>
605
606<footer class="fr-no-print" role="contentinfo" id="footer">
607<div class="fr-follow">
608  <div class="fr-container">
609    <div class="fr-grid-row"><div class="fr-col-12">
610  <div class="fr-follow__social">
611    <h2 class="fr-h6">
612      Suivez-nous <br />
613      sur les réseaux sociaux
614    </h2>
615    <ul class="fr-btns-group fr-btns-group--lg" data-test="reseaux-links">
616      <li>
617        <a
618          class="fr-btn--bluesky fr-btn"
619          title="Bluesky - nouvelle fenêtre"
620          href="https://bsky.app/profile/insee.fr/"
621          target="_blank"
622          data-fr-js-button-actionee="true"
623        >
624          Bluesky
625        </a>
626      </li>
627      <li>
628        <a
629          class="fr-btn--instagram fr-btn"
630          title="Instagram - nouvelle fenêtre"
631          href="https://www.instagram.com/insee_fr/"
632          target="_blank"
633          data-fr-js-button-actionee="true"
634        >
635          Instagram
636        </a>
637      </li>
638      <li>
639        <a
640          class="fr-btn--linkedin fr-btn"
641          title="LinkedIn - nouvelle fenêtre"
642          href="https://www.linkedin.com/company/insee/"
643          target="_blank"
644          data-fr-js-button-actionee="true"
645        >
646          LinkedIn
647        </a>
648      </li>
649      <li>
650        <a
651          class="fr-btn--twitter fr-btn"
652          title="X - nouvelle fenêtre"
653          href="https://x.com/inseefr/"
654          target="_blank"
655          data-fr-js-button-actionee="true"
656        >
657          X
658        </a>
659      </li>
660    </ul>
661  </div>
662</div>
663</div>
664  </div>
665</div>
666  <div class="fr-footer">
667    <div class="fr-container">
668      <div class="fr-footer__body">
669        <div class="fr-footer__brand fr-enlarge-link">
670          <p class="fr-logo">
671            République
672            <br />Française
673          </p>
674        </div>
675      </div>
676    </div>
677    <div class="fr-container">
678      <div class="fr-footer__bottom">
679        <ul class="fr-footer__bottom-list">
680           
681          <li class="fr-footer__bottom-item">
682              
683            <a class="fr-footer__bottom-link" href="/plan-du-site">Plan du Site</a>
684            
685            </li>
686            
687          <li class="fr-footer__bottom-item">
688              
689            <a
690              class="fr-footer__bottom-link"
691              href="https://www.insee.fr/fr/information/2383410"
692              target="_blank"
693              rel="noopener noreferrer"
694              title="Plus d&#39;infos - nouvelle fenêtre"
695                >Plus d&#39;infos</a
696              >
697              
698            </li>
699            
700          <li class="fr-footer__bottom-item">
701              
702            <a class="fr-footer__bottom-link" href="/accessibilite">Accessibilité : partiellement conforme</a>
703            
704            </li>
705            
706          <li class="fr-footer__bottom-item">
707              
708            <a class="fr-footer__bottom-link" href="/mentions-legales">Mentions légales</a>
709            
710            </li>
711            
712          <li class="fr-footer__bottom-item">
713              
714            <a class="fr-footer__bottom-link" href="/homologation">Homologation</a>
715            
716            </li>
717            
718          <li class="fr-footer__bottom-item">
719              
720            <a class="fr-footer__bottom-link" href="/rgpd">RGPD</a>
721            
722            </li>
723            
724          </ul>
725          <div class="fr-footer__bottom-copy">
726            <p>
727              <span
728                >Sauf mention contraire, tous les contenus de ce site sont sous </span
729              ><a
730                href="https://github.com/etalab/licence-ouverte/blob/master/LO.md"
731                rel="noopener noreferrer"
732                target="_blank"
733                title="licence etalab-2.0 - nouvelle fenêtre"
734                data-fr-js-footer-link-actionee="true"
735                >licence etalab-2.0
736                <span
737                  class="fr-icon-external-link-fill fr-icon--sm fr-ml-1v"
738                  aria-hidden="true"
739                ></span
740              ></a>
741            </p>
742          </div>
743        </div>
744          <div id="api-version">
745            <p class="fr-footer__bottom-link">Version IHM: 2026.09.21 |  Version API: <span id="api-version-value">chargement...</span></p>
746          </div>
747      </div>
748    </div>
749  </div>
750</footer>
751<button
752  type="button"
753  id="sticky-button"
754  class="sticky-button"
755  title="Haut de page"
756  aria-label="Haut de page"
757>
758  <i class="sticky-img" aria-hidden="true"></i>
759</button>
759<script
760      type="text/javascript"
761      src="/main.js"
762      defer
763    ></script>
763
764  </body>
765</html>

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.