TP_JO2024/home/dist/analytics/analytics.nomodule.min.js
2024-03-27 17:19:37 +01:00

3 lines
94 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
!function(){"use strict";var t=window.dsfr,e="a4e35ba2a938ba9d007689dbf3f46acbb9807869",n={MANUAL:"manual",LOAD:"load",FULL:"full",HASH:"hash"},i="_EA_",r=i+"disabled",o=i+"toggle",s=function(){this._configure()},a={isDisabled:{configurable:!0}};s.prototype._configure=function(){var t=this;window[r]=function(){return t.isDisabled},window[o]=this.toggle.bind(this)},a.isDisabled.get=function(){return localStorage.getItem(i)},s.prototype.toggle=function(){this.isDisabled?this.enable():this.disable()},s.prototype.enable=function(){localStorage.getItem(i)&&localStorage.removeItem(i)},s.prototype.disable=function(){localStorage.setItem(i,"1")},Object.defineProperties(s.prototype,a);var c=new s,l="EA_push",u=function(t){var e=this;this._domain=t,this._isLoaded=!1,this._promise=new Promise((function(t,n){e._resolve=t,e._reject=n}))},p={id:{configurable:!0},store:{configurable:!0}};p.id.get=function(){return this._id},p.store.get=function(){return this._store},u.prototype.configure=function(){return this.init(),this._promise},u.prototype.init=function(){for(var e=this,n=5381,i=this._domain.length-1;i>0;i--)n=33*n^this._domain.charCodeAt(i);n>>>=0,this._id="_EA_"+n,this._store=[],this._store.eah=this._domain,window[this._id]=this._store,window[l]||(window[l]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return e.store.push(t)}),c.isDisabled?(t.inspector.warn("User opted out, eulerian is disabled"),this._reject("User opted out, eulerian is disabled")):this.load()},u.prototype.load=function(){var t=new Date/1e7|0,e=t%26,n=String.fromCharCode(97+e,122-e,65+e)+t%1e3;this._script=document.createElement("script"),this._script.ea=this.id,this._script.async=!0,this._script.addEventListener("load",this.loaded.bind(this)),this._script.addEventListener("error",this.error.bind(this)),this._script.src="//"+this._domain+"/"+n+".js?2";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(this._script,i)},u.prototype.error=function(){t.inspector.error("unable to load Eulerian script file. the domain declared in your configuration must match the domain provided by the Eulerian interface (tag creation)"),this._reject("eulerian script loading error")},u.prototype.loaded=function(){this._isLoaded||(this._isLoaded=!0,this._resolve())},Object.defineProperties(u.prototype,p);var h=-1,f=0,g=1,d=2,_=3,b=function(t){var e=this;this._config=t,this._state=h,this._promise=new Promise((function(t,n){e._resolve=t,e._reject=n}))};b.prototype.configure=function(){if(this._state>=g)return this._promise;this._state===h&&(t.inspector.info("analytics configures tarteaucitron"),this._state=f);var e=window.tarteaucitron;if(e&&e.services){this._state=g;var n={key:"eulerian",type:"analytic",name:"Eulerian Analytics",needConsent:!0,cookies:["etuix"],uri:"https://eulerian.com/vie-privee",js:this.init.bind(this),fallback:function(){e.services.eulerian.js()}};return e.services.eulerian=n,e.job||(e.job=[]),e.job.push("eulerian"),this._promise}window.requestAnimationFrame(this.configure.bind(this))},b.prototype.init=function(){if(!(this._state>=d)){this._state=d,window.__eaGenericCmpApi=this.integrate.bind(this);var t=this.update.bind(this);window.addEventListener("tac.close_alert",t),window.addEventListener("tac.close_panel",t)}},b.prototype.integrate=function(e){this._state>=_||(this._state=_,this._cmpApi=e,t.inspector.info("analytics has integrated tarteaucitron"),this._resolve(),this.update())},b.prototype.update=function(){this._state<_||this._cmpApi("tac",window.tarteaucitron,1)};var y=function(t){if(this._config=t,t&&"tarteaucitron"===t.id)this.integrateTarteAuCitron()};y.prototype.integrateTarteAuCitron=function(){return this._tac=new b(this._config),this._tac.configure()},y.prototype.optin=function(){};var m=function(e,n){"function"==typeof window.EA_push?(t.inspector.info("analytics",e,n),window.EA_push(e,n)):t.inspector.warn("Analytics datalayer not sent, Eulerian API isn't yet avalaible")},v={COLLECTOR:"collector",ACTION:"action",ACTION_PARAMETER:"actionparam"},N=function(){this._renderables=[],this._rendering=this.render.bind(this),requestAnimationFrame(this._rendering)};N.prototype.add=function(t){-1===this._renderables.indexOf(t)&&this._renderables.push(t)},N.prototype.remove=function(t){var e=this._renderables.indexOf(t);e>-1&&this._renderables.splice(e,1)},N.prototype.render=function(){this._renderables.forEach((function(t){return t.render()})),requestAnimationFrame(this._rendering)};var O=new N,C=function(){this._startingActions=[],this._endingActions=[],this._handlingVisibilityChange=this._handleVisibilityChange.bind(this),this._handlingEnd=this._handleEnd.bind(this),this._isStarted=!1,this._isListening=!1,this.reset()};C.prototype.setCollector=function(t){this._collector=t},C.prototype.reset=function(t){void 0===t&&(t=!1),this._type=v.ACTION,t||(this._startingActions.length=0),this._endingActions.length=0,this._count=0,this._delay=-1,this._isRequested=!1,this._unlisten()},C.prototype.start=function(){this._isStarted||(this._isStarted=!0,O.add(this))},C.prototype.collect=function(){this._type=v.COLLECTOR,this._request()},C.prototype.appendStartingAction=function(e,n){if(this._collector.isActionEnabled||e.isForced)if(e&&!this._startingActions.some((function(t){return t.test(e)}))){var i=new A(e,n);this._startingActions.push(i),this._request()}else t.inspector.log("appendStartingAction exists or null",e)},C.prototype.appendEndingAction=function(e,n){if(this._collector.isActionEnabled||e.isForced)if(e&&!this._endingActions.some((function(t){return t.test(e)}))){var i=new A(e,n);this._endingActions.push(i),this._request()}else t.inspector.log("appendEndingAction exists or null",e)},C.prototype._request=function(){this._listen(),this._isRequested=!0,this._delay=4},C.prototype._listen=function(){this._isListening||(this._isListening=!0,document.addEventListener("visibilitychange",this._handlingVisibilityChange),document.addEventListener("unload",this._handlingEnd),document.addEventListener("beforeunload",this._handlingEnd),document.addEventListener("pagehide",this._handlingEnd))},C.prototype._unlisten=function(){this._isListening&&(this._isListening=!1,document.removeEventListener("visibilitychange",this._handlingVisibilityChange),document.removeEventListener("unload",this._handlingEnd),document.removeEventListener("beforeunload",this._handlingEnd),document.removeEventListener("pagehide",this._handlingEnd))},C.prototype._handleVisibilityChange=function(t){"hidden"===document.visibilityState&&this.send()},C.prototype._handleEnd=function(){this.send()},C.prototype.render=function(){if(!(this._delay<=-1))switch(this._delay--,this._count++,!0){case this._count>20:case 0===this._delay:this.send()}},C.prototype.send=function(t){if(void 0===t&&(t=!1),this._isRequested){var e=[];t||e.push.apply(e,this._startingActions.map((function(t){return t.start()})).filter((function(t){return t.length>0}))),e.push.apply(e,this._endingActions.map((function(t){return t.end()})).filter((function(t){return t.length>0})));for(var n=e.length/80+1|0,i=[],r=0;r<n;r++){var o=e.slice(80*r,80*(r+1));i.push(o.flat())}if(this._type===v.COLLECTOR&&this._collector.isCollecting){var s=this._collector.layer;if(i.length>0){var a=i.splice(0,1)[0];a.length>0&&s.push.apply(s,a)}s.flat(),s.length>0&&m(v.COLLECTOR,s)}if(i.length>0)for(var c=0;c<i.length;c++){var l=i[c];l.length>0&&m(v.ACTION,l)}this.reset(t)}};var A=function(t,e){this._action=t,this._data=e};A.prototype.test=function(t){return this._action===t},A.prototype.start=function(){return this._action.start(this._data)},A.prototype.end=function(){return this._action.end(this._data)};var T=new C,E=function(){},L={debugger:{configurable:!0},isActive:{configurable:!0}};L.debugger.get=function(){return window._oEa},L.isActive.get=function(){return!!this.debugger&&"1"===this.debugger._dbg},L.isActive.set=function(t){this.debugger&&this.isActive!==t&&this.debugger.debug(t?1:0)},Object.defineProperties(E.prototype,L);var j=new E,I={CONNECTED:{id:"connected",value:"connecté",isConnected:!0,isDefault:!0},ANONYMOUS:{id:"anonymous",value:"anonyme",isConnected:!1,isDefault:!0},GUEST:{id:"guest",value:"invité",isConnected:!1}},P={INDIVIDUAL:{id:"individual",value:"part"},PROFESSIONNAL:{id:"professionnal",value:"pro"}},S={"0x0022":"","0x0024":"","0x0026":"","0x0027":"","0x002a":"","0x002c":"","0x003c":"","0x003e":"","0x003f":"","0x005c":"","0x005e":"","0x0060":"","0x007c":"","0x007e":""},w=function(t){return t?t=(t=(t=[].concat(t).map((function(t){return S[function(t){var e=t.charCodeAt(0).toString(16);return"0x0000".slice(0,-e.length)+e}(t)]||t})).join("")).replace(/\s+/g," ").replace(/\s/g,"_")).toLowerCase():t},k=function(e,n,i){switch(void 0===i&&(i=!0),!0){case"number"==typeof e:return""+e;case"string"==typeof e:return e;case void 0===e&&i:case null===e&&i:return""}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting a String"),null},x=function(e,n,i){switch(void 0===i&&(i=!0),!0){case!isNaN(e):return e;case"string"==typeof e&&!isNaN(Number(e)):return Number(e);case void 0===e&&i:case null===e&&i:return-1}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting a Number"),null},D=function(e,n){switch(!0){case"boolean"==typeof e:return e;case"string"==typeof e&&"true"===e.toLowerCase():case"1"===e:case 1===e:return!0;case"string"==typeof e&&"false"===e.toLowerCase():case"0"===e:case 0===e:return!1;case void 0===e:case null===e:return e}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting a Boolean"),null},R=function(e,n,i){switch(void 0===i&&(i=!0),!0){case"string"==typeof e&&/^[A-Za-z]{2}$|^[A-Za-z]{2}[-_]/.test(e):return e.split(/[-_]/)[0].toLowerCase();case void 0===e&&i:case null===e&&i:return""}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting language as a String following ISO 639-1 format"),null},M=function(e,n,i){switch(void 0===i&&(i=!0),!0){case"string"==typeof e:return/^FR-[A-Z0-9]{2,3}$/.test(e)||t.inspector.warn("value '"+e+"' set at analytics."+n+" with wrong format. Geographic location should be a String following ISO 3166-2:FR format"),e;case void 0===e&&i:case null===e&&i:return""}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting geographic location as a String following ISO 3166-2:FR format"),null},F=function(t){return t.toISOString().split("T")[0]},B=function(t){this._config=t||{}},U={uid:{configurable:!0},email:{configurable:!0},isNew:{configurable:!0},status:{configurable:!0},profile:{configurable:!0},language:{configurable:!0},type:{configurable:!0},layer:{configurable:!0}};B.prototype.reset=function(t){void 0===t&&(t=!1),this._isConnected=!1,this.status=I.ANONYMOUS,!t&&this._config.connect?this.connect(this._config.connect.uid,this._config.connect.email,this._config.connect.isNew):(this._uid=void 0,this._email=void 0,this._isNew=!1),this.profile=t?void 0:this._config.profile,this.language=t?void 0:this._config.language,this.type=t?void 0:this._config.type},B.prototype.connect=function(e,n,i){void 0===i&&(i=!1),this._uid=k(e,"user.uid"),/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]{2,}@[a-zA-Z0-9-]{2,}\.[a-zA-Z]{2,}$/.test(n)&&t.inspector.warn("Please check analytics.user.email is properly encrypted "),this._email=k(n,"user.email"),this._isNew=D(i),this._isConnected=!0,this.status=I.CONNECTED},U.uid.get=function(){return this._uid},U.email.get=function(){return this._email},U.isNew.get=function(){return this._isNew},U.status.set=function(t){var e=this,n=Object.values(I).filter((function(t){return t.isConnected===e._isConnected}));this._status=n.filter((function(e){return e.id===t||e.value===t}))[0]||n.filter((function(t){return t.isDefault}))[0]},U.status.get=function(){return this._status.id},U.profile.set=function(t){var e=k(t,"user.profile");null!==e&&(this._profile=e)},U.profile.get=function(){return this._profile.id},U.language.set=function(t){var e=R(t,"user.language");null!==e&&(this._language=e)},U.language.get=function(){return this._language||navigator.language},U.type.set=function(t){this._type=Object.values(P).filter((function(e){return e.id===t||e.value===t}))[0]},U.type.get=function(){return this._type.id},U.layer.get=function(){var t=[];return this.uid&&t.push("uid",w(this.uid)),this.email&&t.push("email",w(this.email)),this.isNew&&t.push("newcustomer","1"),this.language&&t.push("user_language",this.language),t.push("user_login_status",this._status.value),this._profile&&t.push("profile",this._profile),this._type&&t.push("user_type",this._type.value),t},Object.defineProperties(B.prototype,U),B.Status=I,B.Type=P;var q={DEVELOPMENT:{id:"development",value:"dev"},STAGE:{id:"stage",value:"stage"},PRODUCTION:{id:"production",value:"prod"}},H=function(t){this._config=t||{}},K={environment:{configurable:!0},entity:{configurable:!0},language:{configurable:!0},target:{configurable:!0},type:{configurable:!0},region:{configurable:!0},department:{configurable:!0},version:{configurable:!0},api:{configurable:!0},layer:{configurable:!0}};H.prototype.reset=function(e){void 0===e&&(e=!1),this.environment=e?q.DEVELOPMENT.id:this._config.environment,this.entity=e?void 0:this._config.entity,this.language=e?void 0:this._config.language,this.target=e?void 0:this._config.target,this.type=e?void 0:this._config.type,this.region=e?void 0:this._config.region,this.department=e?void 0:this._config.department,this.version=e?void 0:this._config.version,this._api=t.version},K.environment.set=function(t){switch(t){case q.PRODUCTION.id:case q.PRODUCTION.value:this._environment=q.PRODUCTION;break;case q.STAGE.id:case q.STAGE.value:this._environment=q.STAGE;break;case q.DEVELOPMENT.id:case q.DEVELOPMENT.value:default:this._environment=q.DEVELOPMENT}},K.environment.get=function(){return this._environment?this._environment.id:q.DEVELOPMENT.id},K.entity.set=function(t){var e=k(t,"site.entity");null!==e&&(this._entity=e)},K.entity.get=function(){return this._entity},K.language.set=function(t){var e=R(t,"site.language");null!==e&&(this._language=e)},K.language.get=function(){return this._language||document.documentElement.lang},K.target.set=function(t){var e=k(t,"site.target");null!==e&&(this._target=e)},K.target.get=function(){return this._target},K.type.set=function(t){var e=k(t,"site.type");null!==e&&(this._type=e)},K.type.get=function(){return this._type},K.region.set=function(t){var e=M(t,"site.region");null!==e&&(this._region=e)},K.region.get=function(){return this._region},K.department.set=function(t){var e=M(t,"site.department");null!==e&&(this._department=e)},K.department.get=function(){return this._department},K.version.set=function(t){var e=k(t,"site.version");null!==e&&(this._version=e)},K.version.get=function(){return this._version},K.api.get=function(){return this._api},K.layer.get=function(){var e=[];return e.push("site_environment",this._environment.value),this.entity?e.push("site_entity",w(this.entity)):t.inspector.warn("entity is required in analytics.site"),this.language&&e.push("site_language",this.language),this.target&&e.push("site_target",w(this.target)),this.type&&e.push("site_type",w(this.type)),this.region&&e.push("site_region",this.region),this.department&&e.push("site_department",this.department),this.version&&e.push("site_version",this.version),this.api&&e.push("api_version",this.api),e},Object.defineProperties(H.prototype,K),H.Environment=q;var V={accordion:t.internals.ns.selector("accordion"),alert:t.internals.ns.selector("alert"),badge:t.internals.ns.selector("badge"),breadcrumb:t.internals.ns.selector("breadcrumb"),button:t.internals.ns.selector("btn"),callout:t.internals.ns.selector("callout"),card:t.internals.ns.selector("card"),checkbox:t.internals.ns.selector("checkbox-group"),connect:t.internals.ns.selector("connect"),consent:t.internals.ns.selector("consent-banner"),content:t.internals.ns.selector("content-media"),download:t.internals.ns.selector("download"),follow:t.internals.ns.selector("follow"),footer:t.internals.ns.selector("footer"),header:t.internals.ns.selector("header"),highlight:t.internals.ns.selector("highlight"),input:t.internals.ns.selector("input-group"),link:t.internals.ns.selector("link"),modal:t.internals.ns.selector("modal"),navigation:t.internals.ns.selector("nav"),notice:t.internals.ns.selector("notice"),pagination:t.internals.ns.selector("pagination"),quote:t.internals.ns.selector("quote"),radio:t.internals.ns.selector("radio-group"),search:t.internals.ns.selector("search-bar"),select:t.internals.ns.selector("select"),share:t.internals.ns.selector("share"),sidemenu:t.internals.ns.selector("sidemenu"),stepper:t.internals.ns.selector("stepper"),summary:t.internals.ns.selector("summary"),tab:t.internals.ns.selector("tabs"),table:t.internals.ns.selector("table"),tag:t.internals.ns.selector("tag"),tile:t.internals.ns.selector("tile"),toggle:t.internals.ns.selector("toggle"),tooltip:t.internals.ns.selector("tooltip"),transcription:t.internals.ns.selector("transcription"),translate:t.internals.ns.selector("translate"),upload:t.internals.ns.selector("upload-group")},G="collectable",W="collecting",Y="collected",z=function(t){this._config=t||{},this._state=G},Z={isCollecting:{configurable:!0},path:{configurable:!0},referrer:{configurable:!0},title:{configurable:!0},id:{configurable:!0},author:{configurable:!0},date:{configurable:!0},tags:{configurable:!0},name:{configurable:!0},labels:{configurable:!0},categories:{configurable:!0},isError:{configurable:!0},template:{configurable:!0},segment:{configurable:!0},group:{configurable:!0},subtemplate:{configurable:!0},theme:{configurable:!0},subtheme:{configurable:!0},related:{configurable:!0},depth:{configurable:!0},current:{configurable:!0},total:{configurable:!0},filters:{configurable:!0},layer:{configurable:!0}};z.prototype.reset=function(t){void 0===t&&(t=!1),this.path=t?"":this._config.path,this.referrer=t?"":this._config.referrer,this.title=t?"":this._config.title,this.name=t?"":this._config.name,this.id=t?"":this._config.id,this.author=t?"":this._config.author,this.date=t?"":this._config.date,this._labels=t||!this._config.labels?["","","","",""]:this._config.labels,this._labels.length=5,this._tags=t||!this._config.tags?[]:this._config.tags,this._categories=t||!this._config.categories?["","",""]:this._config.categories,this.isError=!t&&this._config.isError,this.template=t?"":this._config.template,this.group=t?"":this._config.group,this.segment=t?"":this._config.segment,this.subtemplate=t?"":this._config.subtemplate,this.theme=t?"":this._config.theme,this.subtheme=t?"":this._config.subtheme,this.related=t?"":this._config.related,this.depth=t||isNaN(this._config.depth)?0:this._config.depth,this.current=t||isNaN(this._config.current)?-1:this._config.current,this.total=t||isNaN(this._config.total)?-1:this._config.total,this._filters=t||!this._config.filters?[]:this._config.filters},z.prototype.collecting=function(){return this._state!==G?(t.inspector.warn("current path '"+this.path+"' was already collected"),!1):(this._state=W,!0)},Z.isCollecting.get=function(){return this._state===W},Z.path.set=function(t){var e=k(t,"page.path");null!==e&&(this._path=e,this._state=G)},Z.path.get=function(){return this._path||""+document.location.pathname+document.location.search},Z.referrer.set=function(t){var e=k(t,"page.referrer");null!==e&&(this._referrer=e)},Z.referrer.get=function(){return this._referrer},Z.title.set=function(t){var e=k(t,"page.title");null!==e&&(this._title=e)},Z.title.get=function(){return this._title||document.title},Z.id.set=function(t){var e=k(t,"page.id");null!==e&&(this._id=e)},Z.id.get=function(){return this._id},Z.author.set=function(t){var e=k(t,"page.author");null!==e&&(this._author=e)},Z.author.get=function(){return this._author},Z.date.set=function(e){var n=function(e,n,i){switch(void 0===i&&(i=!0),!0){case e instanceof Date:return F(e);case"string"==typeof e:var r=new Date(e);if("Invalid Date"!==r.toString())return F(r);break;case void 0===e&&i:case null===e&&i:return null}return t.inspector.warn("unexpected value '"+e+"' set at analytics."+n+". Expecting a Date"),null}(e,"page.date");null!==n&&(this._date=n)},Z.date.get=function(){return this._date},Z.tags.get=function(){return this._tags},Z.name.set=function(t){var e=k(t,"page.name");null!==e&&(this._name=e)},Z.name.get=function(){return this._name||this.title},Z.labels.get=function(){return this._labels},Z.categories.get=function(){return this._categories},Z.isError.set=function(t){var e=D(t,"page.isError");null!==e&&(this._isError=e)},Z.isError.get=function(){return this._isError},Z.template.set=function(t){var e=k(t,"page.template");null!==e&&(this._template=e)},Z.template.get=function(){return this._template||"autres"},Z.segment.set=function(t){var e=k(t,"page.segment");null!==e&&(this._segment=e)},Z.segment.get=function(){return this._segment||this.template},Z.group.set=function(t){var e=k(t,"page.group");null!==e&&(this._group=e)},Z.group.get=function(){return this._group||this.template},Z.subtemplate.set=function(t){var e=k(t,"page.subtemplate");null!==e&&(this._subtemplate=e)},Z.subtemplate.get=function(){return this._subtemplate},Z.theme.set=function(t){var e=k(t,"page.theme");null!==e&&(this._theme=e)},Z.theme.get=function(){return this._theme},Z.subtheme.set=function(t){var e=k(t,"page.subtheme");null!==e&&(this._subtheme=e)},Z.subtheme.get=function(){return this._subtheme},Z.related.set=function(t){var e=k(t,"page.related");null!==e&&(this._related=e)},Z.related.get=function(){return this._related},Z.depth.set=function(t){var e=x(t,"page.depth");null!==e&&(this._depth=e)},Z.depth.get=function(){return this._depth},Z.current.set=function(t){var e=x(t,"page.current");null!==e&&(this._current=e)},Z.current.get=function(){return this._current},Z.total.set=function(t){var e=x(t,"page.total");null!==e&&(this._total=e)},Z.total.get=function(){return this._total},Z.filters.get=function(){return this._filters},Z.layer.get=function(){this._state=Y;var t=[];this.path&&t.push("path",w(this.path)),this.referrer&&t.push("referrer",w(this.referrer)),this.title&&t.push("page_title",w(this.title)),this.name&&t.push("page_name",w(this.name)),this.id&&t.push("page_id",w(this.id)),this.author&&t.push("page_author",w(this.author)),this.date&&t.push("page_date",w(this.date));var e=Object.keys(V).map((function(t){return null!==document.querySelector(V[t])?t:null})).filter((function(t){return null!==t})).join(",");e&&t.push("page_components",e);var n=this._labels.slice(0,5);n.length=5,n.some((function(t){return t}))&&t.push("pagelabel",n.map((function(t){return"string"==typeof t?w(t):""})).join(","));var i=this._tags;if(i.some((function(t){return t}))&&t.push("pagetag",i.map((function(t){return"string"==typeof t?w(t):""})).join(",")),this._categories.forEach((function(e,n){e&&t.push("page_category"+(n+1),e)})),this._isError&&t.push("error","1"),t.push("page_template",w(this.template)),t.push("pagegroup",w(this.group)),t.push("site-segment",w(this.segment)),this.subtemplate&&t.push("page_subtemplate",w(this.subtemplate)),this.theme&&t.push("page_theme",w(this.theme)),this.subtheme&&t.push("page_subtheme",w(this.subtheme)),this.related&&t.push("page_related",w(this.related)),isNaN(this.depth)||t.push("page_depth",this.depth),!isNaN(this.current)&&this.current>-1){var r=""+this.current;!isNaN(this.total)&&this.total>-1&&(r+="/"+this.total),t.push("page_pagination",r)}if(this.filters.length&&this.filters.some((function(t){return t}))){var o=this.filters.map((function(t){return"string"==typeof t?w(t):""}));t.push("page_filters",o.join(","))}return t},Object.defineProperties(z.prototype,Z);var X={STANDARD:{id:"standard",value:"standard",isDefault:!0},AUTOCOMPLETE:{id:"autocomplete",value:"autocompletion"}},$=function(t){this._config=t||{}},Q={engine:{configurable:!0},results:{configurable:!0},terms:{configurable:!0},category:{configurable:!0},theme:{configurable:!0},type:{configurable:!0},method:{configurable:!0},layer:{configurable:!0}};$.prototype.reset=function(t){void 0===t&&(t=!1),this.engine=t?void 0:this._config.engine,this.results=t||isNaN(this._config.results)?-1:this._config.results,this.terms=t?void 0:this._config.terms,this.category=t?void 0:this._config.category,this.theme=t?void 0:this._config.theme,this.type=t?void 0:this._config.type,this.method=t?void 0:this._config.method},Q.engine.set=function(t){var e=k(t,"search.engine");null!==e&&(this._engine=e)},Q.engine.get=function(){return this._engine},Q.results.set=function(t){var e=x(t,"search.results");null!==e&&(this._results=e)},Q.results.get=function(){return this._results},Q.terms.set=function(t){var e=k(t,"search.terms");null!==e&&(this._terms=e)},Q.terms.get=function(){return this._terms},Q.category.set=function(t){var e=k(t,"search.category");null!==e&&(this._category=e)},Q.category.get=function(){return this._category},Q.theme.set=function(t){var e=k(t,"search.theme");null!==e&&(this._theme=e)},Q.theme.get=function(){return this._theme},Q.type.set=function(t){var e=k(t,"search.type");null!==e&&(this._type=e),this._type=t},Q.type.get=function(){return this._type},Q.method.set=function(t){var e=Object.values(X);this._method=e.filter((function(e){return e.id===t||e.value===t}))[0]||e.filter((function(t){return t.isDefault}))[0]},Q.method.get=function(){return this._method},Q.layer.get=function(){var t=[];return this.engine&&t.push("isearchengine",w(this.engine)),this.results>-1&&t.push("isearchresults",this.results),this.terms&&t.push("isearchkey","search_terms","isearchdata",w(this.terms)),this.category&&t.push("isearchkey","search_category","isearchdata",w(this.category)),this.theme&&t.push("isearchkey","search_theme","isearchdata",w(this.theme)),this.type&&t.push("isearchkey","search_type","isearchdata",w(this.type)),this._method&&t.length&&t.push("isearchkey","search_method","isearchdata",this._method.value),t},Object.defineProperties($.prototype,Q),$.Method=X;var J=function(t){this._config=t||{}},tt={id:{configurable:!0},type:{configurable:!0},name:{configurable:!0},step:{configurable:!0},current:{configurable:!0},total:{configurable:!0},objective:{configurable:!0},error:{configurable:!0},layer:{configurable:!0}};J.prototype.reset=function(t){void 0===t&&(t=!1),this.id=t?void 0:this._config.id,this.type=t?void 0:this._config.type,this.name=t?void 0:this._config.name,this.step=t?void 0:this._config.step,this.current=t||isNaN(this._config.current)?-1:this._config.current,this.total=t||isNaN(this._config.total)?-1:this._config.total,this.objective=t?void 0:this._config.objective,this.error=t?void 0:this._config.error},tt.id.set=function(t){var e=k(t,"funnel.id");null!==e&&(this._id=e)},tt.id.get=function(){return this._id},tt.type.set=function(t){var e=k(t,"funnel.type");null!==e&&(this._type=e)},tt.type.get=function(){return this._type},tt.name.set=function(t){var e=k(t,"funnel.name");null!==e&&(this._name=e)},tt.name.get=function(){return this._name},tt.step.set=function(t){var e=k(t,"funnel.step");null!==e&&(this._step=e)},tt.step.get=function(){return this._step},tt.current.set=function(t){var e=x(t,"funnel.current");null!==e&&(this._current=e)},tt.current.get=function(){return this._current},tt.total.set=function(t){var e=x(t,"funnel.total");null!==e&&(this._total=e)},tt.total.get=function(){return this._total},tt.objective.set=function(t){var e=k(t,"funnel.objective");null!==e&&(this._objective=e),this._objective=t},tt.objective.get=function(){return this._objective},tt.error.set=function(t){var e=k(t,"funnel.error");null!==e&&(this._error=e),this._error=t},tt.error.get=function(){return this._error},tt.layer.get=function(){var t=[];return this.id&&t.push("funnel_id",w(this.id)),this.type&&t.push("funnel_type",w(this.type)),this.name&&t.push("funnel_name",w(this.name)),this.step&&t.push("funnel_step_name",w(this.step)),!isNaN(this.current)&&this.current>-1&&t.push("funnel_step_number",this.current),!isNaN(this.total)&&this.total>-1&&t.push("funnel_step_max",this.total),this.objective&&t.push("funnel_objective",w(this.objective)),this.error&&t.push("funnel_error",w(this.error)),t},Object.defineProperties(J.prototype,tt);var et={IN:"in",OUT:"out",NONE:"none"},nt={id:"unstarted",value:-1},it={id:"started",value:1},rt={id:"singular",value:2},ot={id:"ended",value:3},st=function(t){return Object.entries(t).map((function(t){var e=t[0],n=t[1];return["actionpname",w(e),"actionpvalue",w(n)]})).flat()},at=function(t){this._isMuted=!1,this._isForced=!1,this._name=t,this._status=nt,this._labels=[],this._parameters={},this._sentData=[]},ct={isMuted:{configurable:!0},isForced:{configurable:!0},isSingular:{configurable:!0},status:{configurable:!0},name:{configurable:!0},labels:{configurable:!0},reference:{configurable:!0},parameters:{configurable:!0},mode:{configurable:!0},_base:{configurable:!0}};ct.isMuted.get=function(){return this._isMuted},ct.isMuted.set=function(t){this._isMuted=t},ct.isForced.get=function(){return this._isForced},ct.isForced.set=function(t){this._isForced=t},ct.isSingular.get=function(){return this._status===rt},ct.status.get=function(){return this._status},ct.name.get=function(){return this._name},ct.labels.get=function(){return this._labels},ct.reference.get=function(){return this._reference},ct.parameters.get=function(){return this._parameters},ct.mode.get=function(){return this._mode},at.prototype.singularize=function(){this._status=rt},at.prototype.rewind=function(){this._sentData=[],this._status=nt},at.prototype.addParameter=function(t,e){this._parameters[t]=e},at.prototype.removeParameter=function(t){delete this._parameters[t]},ct.reference.set=function(t){var e=k(t,"action "+this._name);null!==e&&(this._reference=e)},ct._base.get=function(){return["actionname",this._name]},at.prototype._getLayer=function(t){if(void 0===t&&(t={}),this._isMuted)return[];this._mode!==et.IN&&this._sentData.push(JSON.stringify(t));var e=this._base;switch(this._mode){case et.IN:case et.OUT:e.push("actionmode",this._mode)}var n=this._labels.slice(0,5);return n.length=5,n.some((function(t){return t}))&&e.push("actionlabel",n.map((function(t){return"string"==typeof t?w(t):""})).join(",")),this._reference&&e.push("actionref",this._reference),e.push.apply(e,st(Object.assign(this._parameters,t||{}))),e},at.prototype.start=function(e){switch(this._status){case nt:this._mode=et.IN,this._status=it;break;case rt:this._mode=et.NONE,this._status=ot;break;default:return t.inspector.error("unexpected start on action "+this._name+" with status "+this._status.id),[]}return this._getLayer(e)},at.prototype.end=function(t){switch(this._status){case it:this._mode=et.OUT,this._status=ot;break;case nt:case rt:this._mode=et.NONE,this._status=ot;break;case ot:if(this._sentData.includes(JSON.stringify(t)))return[];this._mode=et.NONE,this._status=ot;break;default:return[]}return this._getLayer(t)},at.prototype.resume=function(e){if(this._isMuted)return[];if(this._status.value>=ot.value)return t.inspector.error("unexpected resuming on action "+this._name+" with status "+this._status.id),[];var n=this._base;return e&&n.push.apply(n,st(e)),n},Object.defineProperties(at.prototype,ct);var lt=function(){this._actions=[]};lt.prototype.rewind=function(){this._actions.forEach((function(t){return t.rewind()}))},lt.prototype.getAction=function(t){var e=this._actions.filter((function(e){return e.name===t}))[0];return e||(e=new at(t),this._actions.push(e)),e},lt.prototype.hasAction=function(t){return this._actions.some((function(e){return e.name===t}))},lt.prototype.remove=function(t){var e=this._actions.indexOf(t);return-1!==e&&(this._actions.splice(e,1),!0)},lt.ActionMode=et;var ut=new lt;lt.instance=ut;var pt=function(t,e){void 0===e&&(e=!1),this._onRouteChange=t,this._isListeningHash=e,this._update(),O.add(this)},ht={path:{configurable:!0},hasTitle:{configurable:!0},title:{configurable:!0},referrer:{configurable:!0}};pt.prototype._update=function(){this._pathname=document.location.pathname,this._search=document.location.search,this._hash=document.location.hash,this._path=""+this._pathname+this._search,this._isListeningHash&&(this._path+=this._hash),this._hasTitle=this._title===document.title,this._title=document.title},pt.prototype.render=function(){this._pathname===document.location.pathname&&this._search===document.location.search||this.change(),this._isListeningHash&&this._hash!==document.location.hash&&this.change()},pt.prototype.change=function(){this._referrer=this._path,this._update(),this._onRouteChange()},ht.path.get=function(){return this._path},ht.hasTitle.get=function(){return this._hasTitle},ht.title.get=function(){return this._title},ht.referrer.get=function(){return this._referrer},Object.defineProperties(pt.prototype,ht);var ft={COLLECT:t.internals.ns.event("collect")},gt={REWIND:t.internals.ns.emission("analytics","rewind")},dt=function(e){switch(e.collection){case n.MANUAL:case n.LOAD:case n.FULL:case n.HASH:this._collection=e.collection;break;default:if(e.mode&&"manual"===e.mode)this._collection=e.collection;switch(!0){case"manual"===e.mode:this._collection=n.MANUAL;break;case t.mode===t.Modes.ANGULAR:case t.mode===t.Modes.REACT:case t.mode===t.Modes.VUE:this._collection=n.FULL;break;default:this._collection=n.LOAD}}this._isActionEnabled="false"===e.isActionEnabled||e.isActionEnabled,this._user=new B(e.user),this._site=new H(e.site),this._page=new z(e.page),this._search=new $(e.search),this._funnel=new J(e.funnel),this._delay=-1,T.setCollector(this)},_t={page:{configurable:!0},user:{configurable:!0},site:{configurable:!0},search:{configurable:!0},funnel:{configurable:!0},collection:{configurable:!0},isCollecting:{configurable:!0},isActionEnabled:{configurable:!0},layer:{configurable:!0}};_t.page.get=function(){return this._page},_t.user.get=function(){return this._user},_t.site.get=function(){return this._site},_t.search.get=function(){return this._search},_t.funnel.get=function(){return this._funnel},dt.prototype.start=function(){var t=this._handleRouteChange.bind(this);switch(this._collection){case n.LOAD:this.collect();break;case n.FULL:this.collect(),this._location=new pt(t);break;case n.HASH:this.collect(),this._location=new pt(t,!0)}},dt.prototype._handleRouteChange=function(){T.send(!0),this._delay=6,O.add(this)},dt.prototype.render=function(){this._delay--,this._delay<0&&(O.remove(this),this._routeChanged())},dt.prototype._routeChanged=function(){ut.rewind(),this._page.referrer=this._location.referrer,this._location.hasTitle&&(this._page.title=this._location.title),this._page.path=this._location.path;var e=new CustomEvent(ft.COLLECT);document.documentElement.dispatchEvent(e),this.collect(),t.internals&&t.internals.stage&&t.internals.stage.root&&t.internals.stage.root.descend(gt.REWIND)},dt.prototype.reset=function(t){void 0===t&&(t=!1),this._user.reset(t),this._site.reset(t),this._page.reset(t),this._search.reset(t),this._funnel.reset(t)},dt.prototype.collect=function(){this.page.collecting()&&T.collect()},_t.collection.get=function(){return this._collection},_t.isCollecting.get=function(){return this._page.isCollecting},_t.isActionEnabled.get=function(){return this._isActionEnabled},_t.isActionEnabled.set=function(t){this._isActionEnabled=t},_t.layer.get=function(){return this._user.layer.concat(this._site.layer,this._page.layer,this._search.layer,this._funnel.layer)},Object.defineProperties(dt.prototype,_t);var bt=function(){var t=this;this._isReady=!1,this._readiness=new Promise((function(e,n){t._isReady?e():(t._resolve=e,t._reject=n)})),this._configure()},yt={isReady:{configurable:!0},readiness:{configurable:!0},page:{configurable:!0},user:{configurable:!0},site:{configurable:!0},search:{configurable:!0},funnel:{configurable:!0},cmp:{configurable:!0},opt:{configurable:!0},collection:{configurable:!0},isActionEnabled:{configurable:!0},isDebugging:{configurable:!0}};bt.prototype._configure=function(){switch(!0){case void 0!==window[e]:this._config=window[e].configuration.analytics,window[e].promise.then(this._build.bind(this),(function(){}));break;case void 0!==t.internals&&void 0!==t.internals.configuration&&void 0!==t.internals.configuration.analytics&&void 0!==t.internals.configuration.analytics.domain:this._config=t.internals.configuration.analytics,this._build();break;case void 0!==t.analytics&&void 0!==t.analytics.domain:this._config=t.analytics,this._build();break;default:t.inspector.warn("analytics configuration is incorrect or missing (required : domain)")}},bt.prototype._build=function(){var t=this;this._init=new u(this._config.domain),this._init.configure().then(this._start.bind(this),(function(e){return t._reject(e)}))},yt.isReady.get=function(){return this._isReady},yt.readiness.get=function(){return this._readiness},bt.prototype._start=function(){this._isReady||(this._cmp=new y(this._config.cmp),this._collector=new dt(this._config),this._collector.reset(),this._isReady=!0,this._resolve(),T.start(),this._collector.start())},yt.page.get=function(){return this._collector.page},yt.user.get=function(){return this._collector.user},yt.site.get=function(){return this._collector._site},yt.search.get=function(){return this._collector.search},yt.funnel.get=function(){return this._collector.funnel},yt.cmp.get=function(){return this._cmp},yt.opt.get=function(){return c},yt.collection.get=function(){return this._collector.collection},yt.isActionEnabled.get=function(){return this._collector.isActionEnabled},yt.isActionEnabled.set=function(t){this._collector.isActionEnabled=t},yt.isDebugging.get=function(){return j.isActive},yt.isDebugging.set=function(t){j.isActive=t},bt.prototype.push=function(t,e){m(t,e)},bt.prototype.reset=function(t){this._collector.reset()},bt.prototype.collect=function(){this._collector.collect()},Object.defineProperties(bt.prototype,yt);var mt=new bt;mt.Collection=n,mt.PushType=v;t.analytics=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return e.forEach((function(e){var n=Object.keys(e).reduce((function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t}),{});Object.getOwnPropertySymbols(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);i.enumerable&&(n[t]=i)})),Object.defineProperties(t,n)})),t}(mt,{});var vt={IMPRESSION:{id:"impression",isSingular:!0,isBeginning:!0,attributed:!1,type:"impression"},CLICK:{id:"click",isBeginning:!0,attributed:!0,type:"interaction",event:"click",method:"eventListener"},INTERNAL:{id:"internal",isBeginning:!0,attributed:!0,type:"interaction",event:"click",method:"eventListener"},EXTERNAL:{id:"external",isBeginning:!0,attributed:!0,type:"interaction",event:"click",method:"eventListener"},DOWNLOAD:{id:"download",isBeginning:!0,attributed:!0,type:"interaction",event:"click",method:"eventListener"},BUTTON:{id:"button",isBeginning:!0,attributed:!0,type:"interaction",event:"click",method:"eventListener"},DOUBLE_CLICK:{id:"dblclick",isBeginning:!0,attributed:!0,type:"interaction",event:"dblclick",method:"eventListener"},OPEN:{id:"open",isSingular:!0,attributed:!1,type:"event",method:"eventListener"},COMPLETE:{id:"complete",isSingular:!0,attributed:!1,type:"event",method:"eventListener"},FOCUS:{id:"focus",isSingular:!0,attributed:!1,type:"event",method:"eventListener"},ERROR:{id:"error",isSingular:!0,attributed:!1,type:"event"},ADD:{id:"add",isSingular:!0,attributed:!1,type:"event"},REMOVE:{id:"remove",isSingular:!0,attributed:!1,type:"event"},DISPLAY:{id:"display",isSingular:!0,attributed:!1,type:"event"},CHANGE:{id:"change",isSingular:!0,attributed:!0,type:"event",event:"change",method:"change"},PROGRESS:{id:"progress",isBeginning:!0,attributed:!0,type:"event"},SHARE:{id:"share",isBeginning:!0,attributed:!1,type:"interaction"},PRESS:{id:"press",isBeginning:!0,attributed:!1,type:"interaction"},RELEASE:{id:"release",isBeginning:!0,attributed:!1,type:"interaction"},DISMISS:{id:"dismiss",isBeginning:!0,attributed:!1,type:"interaction"},UPLOAD:{id:"upload",isBeginning:!0,attributed:!1,type:"interaction"},CHECK:{id:"check",isBeginning:!0,attributed:!1,type:"interaction"},UNCHECK:{id:"uncheck",isBeginning:!0,attributed:!1,type:"interaction"},SELECT:{id:"select",isBeginning:!0,attributed:!1,type:"interaction"},SUBSCRIBE:{id:"subscribe",isBeginning:!0,attributed:!1,type:"interaction"},DISCLOSE:{id:"disclose",isBeginning:!0,attributed:!1,type:"event"},SEARCH:{id:"search",isBeginning:!0,attributed:!1,type:"event"},SHOW:{id:"show",isSingular:!0,attributed:!1,type:"event"},HIDE:{id:"hide",isSingular:!0,attributed:!1,type:"event"},AUTOPLAY:{id:"autoplay",isBeginning:!0,attributed:!1,type:"event"},PLAY:{id:"play",isBeginning:!0,attributed:!1,type:"interaction"},PAUSE:{id:"pause",isBeginning:!0,attributed:!1,type:"interaction"},END:{id:"end",isBeginning:!0,attributed:!1,type:"event"}},Nt="undefined",Ot="heading",Ct="component",At="content",Tt=Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINED_BY,Et=function(t){this._label=t.textContent.trim(),this._level=Number(t.tagName.charAt(1))},Lt={level:{configurable:!0},label:{configurable:!0}};Lt.level.get=function(){return this._level},Lt.label.get=function(){return this._label},Object.defineProperties(Et.prototype,Lt);var jt=function(t,e,n){this._type=Nt,this._node=t,this._target=e,this._level=n,this._label="",this._component="",this._isValid=!0,this.analyse()},It={type:{configurable:!0},level:{configurable:!0},label:{configurable:!0},component:{configurable:!0},node:{configurable:!0},target:{configurable:!0},isValid:{configurable:!0}};jt.prototype._parseHeadings=function(){var t=this,e=Array.from({length:this._level},(function(t,e){return"h"+(e+1)})).join(",");this._headings=Array.from(this._node.querySelectorAll(e)).filter((function(e){return e===t._node||e.parentNode===t._node||null!=e.parentNode&&e.parentNode.parentNode===t._node})).filter((function(e){return(t._target.compareDocumentPosition(e)&Tt)>0})).map((function(t){return new Et(t)})).reverse()},jt.prototype._getComponent=function(){if("function"!=typeof t)return!1;var e=t(this._node);if(!e)return!1;var n=Object.values(e).filter((function(t){return t.isActionee})).sort((function(t,e){return e.priority-t.priority}))[0];if(!n)return!1;this._type=Ct,this._isValid=n.validate(this._target);var i=Array.from({length:6},(function(t,e){return"h"+(e+1)})).join(","),r=Array.from(this._node.querySelectorAll(i)).map((function(t){return new Et(t)})).sort((function(t,e){return t.level-e.level}))[0];r&&r.level<=this._level&&(this._level=r.level-1);var o=this._node.closest(i);if(o){var s=new Et(o);s.level<=this._level&&(this._level=s.level-1)}return!isNaN(n.level)&&n.level<this._level&&(this._level=n.level),this._label=n.label,this._component=n.component,!0},jt.prototype._getHeading=function(){var t=this;if(!this._headings.length)return!1;var e=[];return this._headings.forEach((function(n){n.level<=t._level&&(n.level>1&&e.unshift(n.label),t._level=n.level-1)})),!!e.length&&(this._type=Ot,this._label=e.join(" "),!0)},jt.prototype.analyse=function(){if(this._parseHeadings(),!this._getComponent()&&!this._getHeading()&&this._node===this._target){var t=this._node.textContent.trim();t&&(this._type=At,this._label=t)}},It.type.get=function(){return this._type},It.level.get=function(){return this._level},It.label.get=function(){return this._label},It.component.get=function(){return this._component},It.node.get=function(){return this._node},It.target.get=function(){return this._target},It.isValid.get=function(){return this._isValid},Object.defineProperties(jt.prototype,It);var Pt=function(t){this._node=t,this._process()},St={localComponent:{configurable:!0},globalComponent:{configurable:!0},label:{configurable:!0},title:{configurable:!0},component:{configurable:!0}};Pt.prototype._process=function(){var t=new jt(this._node,this._node,6);this._level=t.level,this._members=[t];for(var e=this._node.parentNode;document.documentElement.contains(e)&&e!==document.documentElement&&this._level>0;){var n=new jt(e,this._node,this._level);switch(!0){case n.type===Nt:case!n.isValid:case n.label===this._members[0].label&&n.type===Ot&&this._members[0].type===Ct:break;case n.label===this._members[0].label&&n.type===Ct&&this._members[0].type===Ot:this._members.splice(0,1,n);break;default:this._members.unshift(n),n.level<this._level&&(this._level=n.level)}e=e.parentNode}this._label=w(this._members[this._members.length-1].label),this._title=w(this._members.filter((function(t){return t.label})).map((function(t){return t.label})).join(" "));var i=this._members.filter((function(t){return t.component})).map((function(t){return t.component}));this._component=w(i.join(" ")),this._localComponent=i[i.length-1],this._globalComponent=i[0]},St.localComponent.get=function(){return this._localComponent},St.globalComponent.get=function(){return this._globalComponent},St.label.get=function(){return this._label},St.title.get=function(){return this._title},St.component.get=function(){return this._component},Object.defineProperties(Pt.prototype,St);var wt=function(t,e,n,i,r,o,s,a){void 0===i&&(i=""),void 0===r&&(r=null),void 0===o&&(o={}),void 0===s&&(s=!1),void 0===a&&(a=!1),this._node=t,this._type=e,this._id=n||this._node.id,this._isMuted=!1,this._title=r,this._category=i,this._parameters=o,this._isRating=s,this._isForced=a,this._hasBegun=!1,requestAnimationFrame(this._init.bind(this))},kt={isMuted:{configurable:!0},action:{configurable:!0}};wt.prototype._init=function(){var e=this;this._hierarchy=new Pt(this._node);var n="",i="";this._id?n="_["+this._id+"]":t.inspector.warn("Analytics API requires an id to be set on tracked element. Missing on "+this._node.outerHTML),this._type&&(i="("+this._type.id+")_"),this._name=""+i+(this._title||this._hierarchy.title)+n,this._action=ut.getAction(this._name,this._type.status),this._type.isSingular&&this._action.singularize(),Object.keys(this._parameters).forEach((function(t){return e._action.addParameter(t,e._parameters[t])})),this._action.isMuted=this._isMuted,this._action.isForced=this._isForced,this._action.labels[0]=this._type.id,this._action.labels[1]=this._hierarchy.globalComponent,this._action.labels[2]=this._hierarchy.localComponent,this._action.labels[4]=this._category,this._hierarchy.label&&this._action.addParameter("component_label",this._hierarchy.label),this._hierarchy.title&&this._action.addParameter("heading_hierarchy",this._hierarchy.title),this._hierarchy.component&&this._action.addParameter("component_hierarchy",this._hierarchy.component),this.begin()},kt.isMuted.get=function(){return this._action?this._action.isMuted:this._isMuted},kt.isMuted.set=function(t){this._isMuted=t,this._action&&(this._action.isMuted=t)},kt.action.get=function(){return this._action},wt.prototype.rewind=function(){this._hasBegun=!1,this.begin()},wt.prototype.begin=function(t){void 0===t&&(t={}),this._hasBegun||(this._hasBegun=!0,this._type.isBeginning&&(this._type.isSingular||this._isRating)&&T.appendStartingAction(this._action,t))},wt.prototype.act=function(t){var e=this;void 0===t&&(t={}),this._isMuted||(this._action?T.appendEndingAction(this._action,t):requestAnimationFrame((function(){return e.act(t)})))},wt.prototype.dispose=function(){ut.remove(this._action)},Object.defineProperties(wt.prototype,kt);var xt={RATING:t.internals.ns.attr("analytics-rating"),ACTION:t.internals.ns.attr("analytics-action")},Dt=function(e){function n(t,n,i,r){void 0===t&&(t=-1),void 0===n&&(n=""),void 0===i&&(i=null),void 0===r&&(r=!1),e.call(this),this._type=null,this._priority=t,this._category=n,this._title=i,this._parameters={},this._data={},this._isMuted=!1,this._isForced=r}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={proxy:{configurable:!0},data:{configurable:!0},isMuted:{configurable:!0},priority:{configurable:!0},isInteractive:{configurable:!0},actionElement:{configurable:!0},label:{configurable:!0},value:{configurable:!0},isActionee:{configurable:!0},level:{configurable:!0},type:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"Actionee"},i.proxy.get=function(){var n=this,i={validate:function(t,e){return n.validate(t,e)}},r={get isActionee(){return!0},get label(){return n.label},get priority(){return n.priority},get level(){return n.level},get node(){return n.node}};return t.internals.property.completeAssign.call(this,e.prototype.proxy,i,r)},i.data.get=function(){return this._data},n.prototype._config=function(t,n){if(e.prototype._config.call(this,t,n),null===this._type)return this._sort(t),void(this._isMuted=!0);this._actionElement=new wt(this.node,this._type,this.id,this._category,this.getAttribute(xt.ACTION)||this._title,this._parameters,this.hasAttribute(xt.RATING),this.hasAttribute(xt.ACTION)||this._isForced),this._isMuted&&(this._actionElement.isMuted=!0),this.addDescent(gt.REWIND,this.rewind.bind(this)),this._sort(t)},n.prototype._sort=function(t){var e=t.instances.filter((function(t){return t.isActionee})).sort((function(t,e){return e.priority-t.priority}));e.length<=1||e.forEach((function(t,e){t.isMuted=e>0}))},i.isMuted.get=function(){return this._actionElement?this._actionElement.isMuted:this._isMuted},i.isMuted.set=function(t){this._isMuted=t,this._actionElement&&(this._actionElement.isMuted=t)},i.priority.get=function(){return this._priority},n.prototype.setPriority=function(t){this._priority=t},i.isInteractive.get=function(){return"A"===this.node.tagName||"BUTTON"===this.node.tagName},n.prototype.detectInteractionType=function(t){t||(t=this.node);var e=t.tagName,n=t.getAttribute("href"),i=t.hasAttribute("download"),r=t.hostname;switch(!0){case"A"!==e:this._type=vt.CLICK;break;case i:this._type=vt.DOWNLOAD,this.value=n;break;case r===location.hostname:this._type=vt.INTERNAL,this.value=n;break;case r.length>0:this._type=vt.EXTERNAL,this.value=n;break;default:this._type=vt.CLICK}},n.prototype.setClickType=function(){this._type=vt.CLICK},n.prototype.listenActionClick=function(t){t?(this._clickTarget=t,this._clickTarget.addEventListener("click",this._handlingClick,{capture:!0})):this.listenClick({capture:!0})},n.prototype.handleClick=function(){this.act()},n.prototype.setImpressionType=function(){this._type=vt.IMPRESSION},n.prototype.rewind=function(){this._actionElement&&this._actionElement.rewind()},n.prototype.act=function(t){void 0===t&&(t={}),void 0!==this._actionElement&&(this._data.component_value=this.value,this._actionElement.act(Object.assign(this._data,t)))},n.prototype.getFirstText=function(t){if(t||(t=this.node),t.childNodes&&t.childNodes.length>0){for(var e=0;e<t.childNodes.length;e++)if(t.childNodes[e].nodeType===Node.TEXT_NODE){var n=t.childNodes[e].textContent.trim();if(n)return this.cropText(n)}for(var i=0;i<t.childNodes.length;i++){var r=this.getFirstText(t.childNodes[i]);if(r)return this.cropText(r)}}return""},n.prototype.cropText=function(t,e){return t.length>50?t.substring(0,50).trim()+"[...]":t},n.prototype.getInteractionLabel=function(){var t=this.getAttribute("title");if(t)return this.cropText(t);var e=this.getFirstText();if(e)return e;var n=this.node.querySelector("img");if(n){var i=n.getAttribute("alt");if(i)return this.cropText(i)}return null},n.prototype.getHeadingLabel=function(t){var e=this;void 0===t&&(t=6);var n=Array.from({length:t},(function(t,e){return"h"+(e+1)})).join(","),i=Array.from(this.querySelectorAll(n)).filter((function(t){return(e.node.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)>0}));if(i.length)for(var r=0,o=i;r<o.length;r+=1){var s=o[r],a=this.getFirstText(s);if(a)return a}},n.prototype.detectLevel=function(t){t||(t=this.node);var e=Array.from({length:6},(function(t,e){return"h"+(e+1)})).join(","),n=Array.from(t.querySelectorAll(e)).map((function(t){return Number(t.tagName.charAt(1))}));n.length&&(this._level=Math.min.apply(null,n)-1)},n.prototype.validate=function(t){return!0},i.actionElement.get=function(){return this._actionElement},i.label.get=function(){return null},i.value.get=function(){return this._value||this.label},i.value.set=function(t){this._value=t},i.isActionee.get=function(){return!0},i.level.get=function(){return this._level},i.type.get=function(){return this._type},n.prototype.dispose=function(){this._clickTarget&&this._clickTarget.removeEventListener("click",this._handlingClick),e.prototype.dispose.call(this)},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(t.core.Instance),Rt=function(t){function e(){t.call(this,100,"",null,!0)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={instanceClassName:{configurable:!0}};return n.instanceClassName.get=function(){return"AttributeActionee"},e.prototype.init=function(){this._attribute=this.registration.selector.replace(/[[\]]/g,"");var t=this._attribute.split("-").pop();switch(this._type=Object.values(vt).filter((function(e){return e.id===t}))[0],this._title=this.getAttribute(this._attribute),this._type===vt.CLICK&&this.detectInteractionType(),this._type.method){case"eventListener":this.listen(this._type.event,this.handleEvent.bind(this));break;case"change":this.listen(this._type.event,this.handleChange.bind(this))}},e.prototype.handleEvent=function(t){this._actionElement.act()},e.prototype.handleChange=function(t){this._actionElement.act({change_value:t.target.value})},e.prototype.dispose=function(){this._actionElement.dispose(),t.prototype.dispose.call(this)},Object.defineProperties(e,n),e}(Dt),Mt={CLICK:t.internals.ns.emission("button","click")},Ft=function(e){function n(t){void 0===t&&(t=-1),e.call(this,t,"dsfr_component")}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={proxy:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"ComponentActionee"},i.proxy.get=function(){var n=this,i={get component(){return n.component}};return t.internals.property.completeAssign.call(this,e.prototype.proxy,i)},n.prototype.setDiscloseType=function(){this._type=vt.DISCLOSE},n.prototype.listenDisclose=function(){this.listen(t.core.DisclosureEvent.DISCLOSE,this._handleDisclose.bind(this),{capture:!0})},n.prototype._handleDisclose=function(){this.act()},n.prototype.setChangeType=function(){this._type=vt.CHANGE},n.prototype.listenChange=function(){this.listen("change",this._handleChange.bind(this),{capture:!0})},n.prototype._handleChange=function(t){t.target&&t.target.value&&(this.setChangeValue(t),this.act())},n.prototype.setChangeValue=function(t){this.value=t.target.value},n.prototype.listenInputValidation=function(t,e,n){void 0===e&&(e=vt.CLICK),void 0===n&&(n=!1),t||(t=this.node),this._type=e,this._isSendingInputValue=n,this.addAscent(Mt.CLICK,this._actValidatedInput.bind(this));var i=this.element.getDescendantInstances("ButtonActionee",null,!0)[0];i&&(i.isMuted=!0),this._validatedInput=t.querySelector("input"),this._handlingInputValidation=this._handleInputValidation.bind(this),this._validatedInput&&this._validatedInput.addEventListener("keydown",this._handlingInputValidation)},n.prototype._handleInputValidation=function(t){13===t.keyCode&&this._actValidatedInput()},n.prototype._actValidatedInput=function(){this._isActingValidatedInput||(this._isActingValidatedInput=!0,this._isSendingInputValue&&(this.value=this._validatedInput.value.trim()),this.act(),this.request(this._actedValidatedInput.bind(this)))},n.prototype._actedValidatedInput=function(){this._isActingValidatedInput=!1},n.prototype.setCheckType=function(){this._type=vt.CHECK},n.prototype.detectCheckableType=function(){var t=this.node.checked;this._type=t?vt.UNCHECK:vt.CHECK},n.prototype.listenCheckable=function(){this.listen("change",this._handleCheckable.bind(this),{capture:!0})},n.prototype._handleCheckable=function(t){switch(t.target&&"on"!==t.target.value&&(this.value=t.target.value),!0){case this._type===vt.CHECK&&t.target.checked:case this._type===vt.UNCHECK&&!t.target.checked:this.act()}},n.prototype.detectPressableType=function(){var t=this.node.hasAttribute("aria-pressed");if(t){var e="true"===this.node.getAttribute("aria-pressed");this._type=e?vt.RELEASE:vt.PRESS}return t},n.prototype.listenPressable=function(){this.listen("click",this._handlePressable.bind(this),{capture:!0})},n.prototype._handlePressable=function(t){switch(!0){case this._type===vt.PRESS&&"false"===t.target.getAttribute("aria-pressed"):case this._type===vt.RELEASE&&"true"===t.target.getAttribute("aria-pressed"):this.act()}},n.prototype.setDismissType=function(){this._type=vt.DISMISS},i.component.get=function(){return null},n.prototype.dispose=function(){this._validatedInput&&this._validatedInput.removeEventListener("keydown",this._handlingInputValidation),e.prototype.dispose.call(this)},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Dt),Bt={ACCORDION:t.internals.ns.selector("accordion"),TITLE:t.internals.ns.selector("accordion__title")},Ut="accordion",qt=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={button:{configurable:!0},label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"AccordionButtonActionee"},e.prototype.init=function(){this.isMuted=!0},n.button.get=function(){return this.element.getInstance("CollapseButton")},n.label.get=function(){var t=this.getFirstText();return t||"bouton d'accordéon"},n.component.get=function(){return Ut},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ht=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"AccordionActionee"},e.prototype.init=function(){this.setDiscloseType(),this.wrapper=this.node.closest(Bt.ACCORDION),this.detectLevel(this.wrapper),this.register('[aria-controls="'+this.id+'"]',qt),this.listenDisclose()},n.label.get=function(){if(this.wrapper){var t=this.wrapper.querySelector(Bt.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}}var n=this.element.getInstance("Collapse");if(n){var i=n.buttons.filter((function(t){return t.isPrimary}))[0];if(i){var r=this.getFirstText(i);if(r)return r}}return"accordéon"},n.component.get=function(){return Ut},e.prototype.dispose=function(){t.prototype.dispose.call(this)},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Kt={ALERT:t.internals.ns.selector("alert"),TITLE:t.internals.ns.selector("alert__title")},Vt=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"AlertActionee"},n.label.get=function(){var t=this.node.querySelector(Kt.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}return"alerte"},n.component.get=function(){return"alert"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Gt={LINK:t.internals.ns.selector("breadcrumb__link")+":not([aria-current])",COLLAPSE:t.internals.ns.selector("breadcrumb")+" "+t.internals.ns.selector("collapse")},Wt=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"BreadcrumbActionee"},n.label.get=function(){return"fil d'ariane"},n.component.get=function(){return"breadcrumb"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Yt=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"BreadcrumbLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},e.prototype.handleClick=function(){this.act()},n.label.get=function(){var t=this.getFirstText();return t||"lien fil d'ariane"},n.component.get=function(){return null},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),zt={BUTTON:t.internals.ns.selector("btn")+":not("+t.internals.ns.selector("btn--close")+")"},Zt=function(t){function e(){t.call(this,1),this._data={}}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ButtonActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},e.prototype.handleClick=function(){this.ascend(Mt.CLICK),this.act()},n.label.get=function(){if("input"===this.node.tagName)switch(this.node.type){case"button":case"submit":if(this.hasAttribute("value"))return this.getAttribute("value")}var t=this.getFirstText();return t||"bouton"},n.component.get=function(){return"button"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Xt={CALLOUT:t.internals.ns.selector("callout"),TITLE:t.internals.ns.selector("callout__title")},$t=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"CalloutActionee"},n.label.get=function(){var t=this.node.querySelector(Xt.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}return"mise en avant"},n.component.get=function(){return"callout"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Qt={CARD:t.internals.ns.selector("card"),LINK:t.internals.ns.selector("card__title")+" a, "+t.internals.ns.selector("card__title")+" button",TITLE:t.internals.ns.selector("card__title")},Jt=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"CardActionee"},e.prototype.init=function(){var t=this.node.querySelector(Qt.LINK);t&&(this.link=t,this.detectInteractionType(t),this.listenActionClick(t))},n.label.get=function(){var t=this.node.querySelector(Qt.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}var n=this.getHeadingLabel();return n||"carte"},n.component.get=function(){return"card"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),te={INPUT:t.internals.ns.selector('checkbox-group [type="checkbox"]')},ee=function(e){function n(){e.call(this,1),this._data={}}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"CheckboxActionee"},n.prototype.init=function(){this.detectCheckableType(),this.listenCheckable()},i.label.get=function(){var e=this.node.parentNode.querySelector(t.internals.ns.selector("label"));if(e){var n=this.getFirstText(e);if(n)return n}return"case à cocher"},i.component.get=function(){return"checkbox"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),ne={CONNECT:t.internals.ns.selector("connect"),LINK:t.internals.ns.selector("connect + * a, connect + a")},ie="connect",re=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ConnectActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){return this.node.classList.contains("fr-connect--plus")?"FranceConnect+":"FranceConnect"},n.component.get=function(){return ie},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),oe=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ConnectLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){return this.getFirstText()||"qu'est-ce que FranceConnect ?"},n.component.get=function(){return ie},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),se={BANNER:t.internals.ns.selector("consent-banner")},ae=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ConsentActionee"},n.label.get=function(){return"gestionnaire de consentement"},n.component.get=function(){return"consent"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),ce={LINK:t.internals.ns.selector("download__link")},le=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"DownloadActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"téléchargement"},n.component.get=function(){return"download"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),ue={FOLLOW:t.internals.ns.selector("follow"),NEWSLETTER_INPUT_GROUP:t.internals.ns.selector("follow__newsletter")+" "+t.internals.ns.selector("input-group")},pe=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"FollowActionee"},e.prototype.init=function(){if(this._inputGroup=this.querySelector(ue.NEWSLETTER_INPUT_GROUP),this._inputGroup){this.listenInputValidation(this._inputGroup,vt.SUBSCRIBE);var t=this.element.getDescendantInstances("InputActionee",null,!0)[0];t&&(t.isMuted=!0)}},n.label.get=function(){return"lettre d'information et réseaux sociaux"},n.component.get=function(){return"follow"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),he={FOOTER:t.internals.ns.selector("footer"),FOOTER_LINKS:t.internals.ns.selector("footer")+" a[href], "+t.internals.ns.selector("footer")+" button"},fe=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"FooterActionee"},n.label.get=function(){return"pied de page"},n.component.get=function(){return"footer"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),ge=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"FooterLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getInteractionLabel();return t||"lien pied de page"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),de=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"HeaderActionee"},n.label.get=function(){return"en-tête"},n.component.get=function(){return"header"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),_e=function(t){function e(){t.call(this,4)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={instanceClassName:{configurable:!0}};return n.instanceClassName.get=function(){return"HeaderModalButtonActionee"},Object.defineProperties(e,n),e}(Ft),be=function(e){function n(){e.call(this,0)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"HeaderModalActionee"},n.prototype.init=function(){this.isBreakpoint(t.core.Breakpoints.LG)&&(this.setPriority(4),this.register('[aria-controls="'+this.id+'"]',_e))},Object.defineProperties(n,i),n}(Ft),ye={TOOLS_BUTTON:t.internals.ns.selector("header__tools-links")+" "+t.internals.ns.selector("btns-group")+" "+t.internals.ns.selector("btn"),MENU_BUTTON:t.internals.ns.selector("header__menu-links")+" "+t.internals.ns.selector("btns-group")+" "+t.internals.ns.selector("btn")},me=function(e){function n(){e.call(this,4)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"HeaderToolsButtonActionee"},n.prototype.init=function(){this.isBreakpoint(t.core.Breakpoints.LG)&&(this._priority=-1)},Object.defineProperties(n,i),n}(Ft),ve=function(e){function n(){e.apply(this,arguments)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"HeaderMenuButtonActionee"},n.prototype.init=function(){this.isBreakpoint(t.core.Breakpoints.LG)&&this.setPriority(4)},Object.defineProperties(n,i),n}(Ft),Ne={HIGHLIGHT:t.internals.ns.selector("highlight")},Oe=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"HighlightActionee"},n.label.get=function(){return"mise en exergue"},n.component.get=function(){return"highlight"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ce={LINK:t.internals.ns.selector("link")},Ae=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"LinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"lien"},n.component.get=function(){return"link"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Te={INPUT:t.internals.ns.selector("input-group")},Ee=function(e){function n(){e.call(this,1)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"InputActionee"},n.prototype.init=function(){this._input=this.querySelector(t.internals.ns.selector("input")),this._label=this.querySelector(t.internals.ns.selector("label")),this._inputWrap=this.querySelector(t.internals.ns.selector("input-wrap")),this._inputWrap&&this.listenInputValidation(this._inputWrap)},i.label.get=function(){if(this._label){var t=this.getFirstText(this._label);if(t)return t}return"champ de saisie"},i.component.get=function(){return"input"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),Le={TITLE:t.internals.ns.selector("modal__title")},je=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ModalActionee"},e.prototype.init=function(){this.setDiscloseType(),this.detectLevel(),this.listenDisclose()},n.label.get=function(){var t=this.node.querySelector(Le.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}var n=this.getHeadingLabel(2);if(n)return n;var i=this.element.getInstance("Modal");if(i){var r=i.buttons.filter((function(t){return t.isPrimary}))[0];if(r){var o=this.getFirstText(r.node);if(o)return o}}return"modale"},n.component.get=function(){return"modal"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ie=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"NavigationActionee"},n.label.get=function(){return"navigation"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Pe={LINK:t.internals.ns.selector("nav__link"),BUTTON:t.internals.ns.selector("nav__btn")},Se=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"NavigationLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"lien de navigation"},n.component.get=function(){return"navigation"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),we=function(e){function n(){e.call(this,2)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"NavigationSectionActionee"},n.prototype.init=function(){this._wrapper=this.node.closest(t.navigation.NavigationSelector.ITEM)},i.label.get=function(){if(this._wrapper){var t=this._wrapper.querySelector(Pe.BUTTON);if(t){var e=this.getFirstText(t);if(e)return e}}var n=this.element.getInstance("Collapse");if(n){var i=n.buttons.filter((function(t){return t.isPrimary}))[0];if(i){var r=this.getFirstText(i);if(r)return r}}return"section de navigation"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),ke={PAGINATION:t.internals.ns.selector("pagination"),LINK:t.internals.ns.selector("pagination__link"),NEXT_LINK:t.internals.ns.selector("pagination__link--next"),LAST_LINK:t.internals.ns.selector("pagination__link--last"),ANALYTICS_TOTAL:t.internals.ns.attr("analytics-page-total"),CURRENT:'[aria-current="page"]'},xe=function(e){function n(){e.call(this,1)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"PaginationActionee"},n.prototype.init=function(){this.setPagination()},i.label.get=function(){return"pagination"},i.component.get=function(){return"pagination"},n.prototype.setPagination=function(){var e=this.node.querySelector(ke.CURRENT);if(e){var n=this.getFirstText(e);if(n){var i=this.getInt(n);if(!isNaN(i)){t.analytics.page.current=i;var r=this.getTotalPage();isNaN(r)||(t.analytics.page.total=r)}}}},n.prototype.getTotalPage=function(){var t=parseInt(this.node.getAttribute(ke.ANALYTICS_TOTAL));if(!isNaN(t))return t;var e=this.node.querySelectorAll(ke.LINK+":not("+ke.NEXT_LINK+"):not("+ke.LAST_LINK+")");if(!e)return null;var n=this.getFirstText(e[e.length-1]);return n?this.getInt(n):null},n.prototype.getInt=function(t){var e=t.match(/\d+/);return e&&0!==e.length?parseInt(e[0]):null},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),De=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"PaginationLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"lien pagination"},n.component.get=function(){return null},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Re={QUOTE:t.internals.ns.selector("quote")},Me=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"QuoteActionee"},n.label.get=function(){var t=this.node.querySelector("blockquote");if(t){var e=this.getFirstText(t);if(e)return e}return"citation"},n.component.get=function(){return"quote"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Fe={INPUT:t.internals.ns.selector('radio-group [type="radio"]')},Be={LABEL:t.internals.ns.selector("label"),FIELDSET:t.internals.ns.selector("fieldset"),LEGEND:t.internals.ns.selector("fieldset__legend")},Ue=function(e){function n(){e.call(this,1),this._data={}}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"RadioActionee"},n.prototype.init=function(){this.setCheckType(),this.listenCheckable()},i.label.get=function(){var e=[],n=this.node.closest(Be.FIELDSET);if(n){var i=n.querySelector(Be.LEGEND);if(i){var r=this.getFirstText(i);r&&e.push(r)}}var o=this.node.parentNode.querySelector(t.internals.ns.selector("label"));if(o){var s=this.getFirstText(o);s&&e.push(s)}return e.join(" ")},i.component.get=function(){return"radio"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),qe={SEARCH_BAR:t.internals.ns.selector("search-bar")},He=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SearchActionee"},e.prototype.init=function(){this.listenInputValidation(this.node,vt.SEARCH,!0)},n.label.get=function(){return"barre de recherche"},n.component.get=function(){return"search"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ke={SELECT:t.internals.ns.selector("select")},Ve=function(e){function n(){e.call(this,1),this._data={}}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"SelectActionee"},n.prototype.init=function(){this.setChangeType(),this.listenChange()},n.prototype.setChangeValue=function(t){if(t.target&&t.target.selectedOptions){var e=Array.from(t.target.selectedOptions).map((function(t){return t.text})).join(" - ");e&&(this.value=e)}},i.label.get=function(){var e=this.node.parentNode.querySelector(t.internals.ns.selector("label"));if(e){var n=this.getFirstText(e);if(n)return n}return"liste déroulante"},i.component.get=function(){return"select"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),Ge={SHARE:t.internals.ns.selector("share"),TITLE:t.internals.ns.selector("share__title")},We=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"ShareActionee"},n.label.get=function(){var t=this.querySelector(Ge.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}return"boutons de partage"},n.component.get=function(){return"share"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ye={SIDEMENU:t.internals.ns.selector("sidemenu"),ITEM:t.internals.ns.selector("sidemenu__item"),LINK:t.internals.ns.selector("sidemenu__link"),BUTTON:t.internals.ns.selector("sidemenu__btn"),TITLE:t.internals.ns.selector("sidemenu__title")},ze=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SidemenuActionee"},n.label.get=function(){var t=this.node.closest(Ye.SIDEMENU);if(t){var e=t.querySelector(Ye.TITLE);if(e){var n=this.getFirstText(e);if(n)return n}}return"menu Latéral"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Ze=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SidemenuLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"lien menu latéral"},n.component.get=function(){return"sidemenu"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Xe=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SidemenuSectionActionee"},e.prototype.init=function(){this._wrapper=this.node.closest(Ye.ITEM)},n.label.get=function(){if(this._wrapper){var t=this._wrapper.querySelector(Ye.BUTTON);if(t){var e=this.getFirstText(t);if(e)return e}}var n=this.element.getInstance("Collapse");if(n){var i=n.buttons.filter((function(t){return t.isPrimary}))[0];if(i){var r=this.getFirstText(i);if(r)return r}}return"section menu latéral"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),$e={SUMMARY:t.internals.ns.selector("summary"),LINK:t.internals.ns.selector("summary__link"),TITLE:t.internals.ns.selector("summary__title"),ITEM:t.internals.ns.selector("summary")+" li"},Qe=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SummaryActionee"},n.label.get=function(){var t=this.node.querySelector($e.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}return"sommaire"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Je=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SummaryLinkActionee"},e.prototype.init=function(){this.detectInteractionType(),this.listenActionClick()},n.label.get=function(){var t=this.getFirstText();return t||"lien sommaire"},n.component.get=function(){return"summary"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),tn=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"SummarySectionActionee"},e.prototype.init=function(){this._link=this.querySelector($e.LINK)},e.prototype.validate=function(t){return this._link!==t},n.label.get=function(){if(!this._link)return null;var t=this.getFirstText(this._link);return t||"section sommaire"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),en=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TabButtonActionee"},e.prototype.init=function(){this.isMuted=!0},n.label.get=function(){var t=this.getFirstText();return t||"bouton onglet"},n.component.get=function(){return"tab"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),nn=function(e){function n(){e.call(this,2)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"TabActionee"},n.prototype.init=function(){this.setDiscloseType(),this.register('[aria-controls="'+this.id+'"]',en),this._instance=this.element.getInstance("TabPanel"),this.listenDisclose()},i.label.get=function(){var e=this.node.closest(t.tab.TabSelector.GROUP);if(e){var n=e.querySelector(t.tab.TabSelector.LIST+' [aria-controls="'+this.id+'"]'+t.tab.TabSelector.TAB);if(n){var i=this.getFirstText(n);if(i)return i}}var r=this._instance.buttons.filter((function(t){return t.isPrimary}))[0];if(r){var o=this.getFirstText(r);if(o)return o}return"onglet"},i.component.get=function(){return"tab"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),rn={TABLE:t.internals.ns.selector("table")},on=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TableActionee"},n.label.get=function(){var t=this.node.querySelector("caption");if(t){var e=this.getFirstText(t);if(e)return e}return"tableau"},n.component.get=function(){return"table"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),sn={TAG:t.internals.ns.selector("tag"),PRESSABLE:"[aria-pressed]",DISMISSIBLE:""+t.internals.ns.selector("tag--dismiss","")},an=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TagActionee"},e.prototype.init=function(){switch(!0){case this.detectPressableType():this.listenPressable();break;case this.isInteractive&&this.node.classList.contains(sn.DISMISSIBLE):this.setDismissType(),this.listenActionClick();break;case this.isInteractive:this.detectInteractionType(),this.listenActionClick()}},n.label.get=function(){var t=this.getFirstText();return t||"tag"},n.component.get=function(){return"tag"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),cn={TILE:t.internals.ns.selector("tile"),LINK:t.internals.ns.selector("tile__title")+" a, "+t.internals.ns.selector("tile__title")+" button",TITLE:t.internals.ns.selector("tile__title")},ln=function(t){function e(){t.call(this,1)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TileActionee"},e.prototype.init=function(){var t=this.node.querySelector(cn.LINK);t&&(this.link=t,this.detectInteractionType(t),this.listenActionClick(t))},n.label.get=function(){var t=this.node.querySelector(cn.TITLE);if(t)return this.getFirstText(t);var e=this.getHeadingLabel();return e||"tuile"},n.component.get=function(){return"tile"},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),un={INPUT:t.internals.ns.selector('toggle [type="checkbox"]')},pn=function(e){function n(){e.call(this,1),this._data={}}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"ToggleActionee"},n.prototype.init=function(){this.detectCheckableType(),this.listenCheckable()},i.label.get=function(){var e=this.node.parentNode.querySelector(t.internals.ns.selector("toggle__label"));if(e){var n=this.getFirstText(e);if(n)return n}return"interrupteur"},i.component.get=function(){return"toggle"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),hn=t.internals.ns.selector("transcription"),fn=t.internals.ns.selector("collapse"),gn={TRANSCRIPTION:hn,COLLAPSE:hn+" > "+fn+", "+hn+" > *:not("+hn+"):not("+fn+") > "+fn+", "+hn+" > *:not("+hn+"):not("+fn+") > *:not("+hn+"):not("+fn+") > "+fn,COLLAPSE_LEGACY:hn+" "+fn,TITLE:hn+"__title"},dn="transcription",_n=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={button:{configurable:!0},label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TranscriptionButtonActionee"},e.prototype.init=function(){this.isMuted=!0},n.button.get=function(){return this.element.getInstance("CollapseButton")},n.label.get=function(){var t=this.getFirstText();return t||"bouton transcription"},n.component.get=function(){return dn},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),bn=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TranscriptionActionee"},e.prototype.init=function(){this.setDiscloseType(),this.wrapper=this.node.closest(gn.ACCORDION),this.detectLevel(this.wrapper),this.register('[aria-controls="'+this.id+'"]',_n),this.listenDisclose()},n.label.get=function(){if(this.wrapper){var t=this.wrapper.querySelector(gn.TITLE);if(t){var e=this.getFirstText(t);if(e)return e}}var n=this.element.getInstance("Collapse");if(n){var i=n.buttons.filter((function(t){return t.isPrimary}))[0];if(i){var r=this.getFirstText(i);if(r)return r}}return"transcription"},n.component.get=function(){return dn},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),yn=t.internals.ns.selector("translate"),mn=t.internals.ns.selector("collapse"),vn={BUTTON:yn+"__btn",COLLAPSE:yn+" > "+mn+", "+yn+" > *:not("+yn+"):not("+mn+") > "+mn+", "+yn+" > *:not("+yn+"):not("+mn+") > *:not("+yn+"):not("+mn+") > "+mn,COLLAPSE_LEGACY:yn+" "+mn},Nn="translate",On=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TranslateActionee"},n.label.get=function(){var t=this.node.querySelector(vn.BUTTON);if(t){var e=t.getAttribute("title");if(e)return e}return"sélecteur de langue"},n.component.get=function(){return Nn},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),Cn=function(t){function e(){t.call(this,2)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={button:{configurable:!0},label:{configurable:!0},component:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"TranslateButtonActionee"},e.prototype.init=function(){this.isMuted=!0},n.button.get=function(){return this.element.getInstance("CollapseButton")},n.label.get=function(){var t=this.getInteractionLabel();return t||"bouton sélecteur de langue"},n.component.get=function(){return Nn},Object.defineProperties(e.prototype,n),Object.defineProperties(e,i),e}(Ft),An={UPLOAD:t.internals.ns.selector("upload")},Tn=function(e){function n(){e.call(this,1)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var i={label:{configurable:!0},component:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"UploadActionee"},n.prototype.init=function(){this.setChangeType(),this._label=this.node.parentNode.querySelector(t.internals.ns.selector("label")),this.listenChange()},n.prototype.setChangeValue=function(t){if(t.target&&t.target.files){var e=Array.from(t.target.files).map((function(t){return/(?:\.([^.]+))?$/.exec(t.name)[1]})).filter((function(t,e,n){return n.indexOf(t)===e})).join(" - ");e&&(this.value=e)}},i.label.get=function(){if(this._label){var t=this.getFirstText(this._label);if(t)return t}return"ajout de fichier"},i.component.get=function(){return"upload"},Object.defineProperties(n.prototype,i),Object.defineProperties(n,r),n}(Ft),En=function(){t.accordion&&t.internals.register(t.accordion.AccordionSelector.COLLAPSE,Ht),t.breadcrumb&&(t.internals.register(Gt.COLLAPSE,Wt),t.internals.register(Gt.LINK,Yt)),t.internals.register(Kt.ALERT,Vt),t.internals.register(zt.BUTTON,Zt),t.internals.register(Xt.CALLOUT,$t),t.internals.register(ne.CONNECT,re),t.internals.register(ne.LINK,oe),t.internals.register(se.BANNER,ae),t.internals.register(Qt.CARD,Jt),t.internals.register(Te.INPUT,Ee),t.internals.register(te.INPUT,ee),t.internals.register(ce.LINK,le),t.internals.register(he.FOOTER,fe),t.internals.register(he.FOOTER_LINKS,ge),t.internals.register(ue.FOLLOW,pe),t.header&&(t.internals.register(t.header.HeaderSelector.HEADER,de),t.internals.register(t.header.HeaderSelector.MODALS,be),t.internals.register(ye.TOOLS_BUTTON,me),t.internals.register(ye.MENU_BUTTON,ve)),t.internals.register(Ne.HIGHLIGHT,Oe),t.internals.register(Ce.LINK,Ae),t.modal&&t.internals.register(t.modal.ModalSelector.MODAL,je),t.navigation&&(t.internals.register(t.navigation.NavigationSelector.NAVIGATION,Ie),t.internals.register(Pe.LINK,Se),t.internals.register(t.navigation.NavigationSelector.COLLAPSE,we)),t.internals.register(ke.PAGINATION,xe),t.internals.register(ke.LINK,De),t.internals.register(Re.QUOTE,Me),t.internals.register(Fe.INPUT,Ue),t.internals.register(qe.SEARCH_BAR,He),t.internals.register(Ke.SELECT,Ve),t.internals.register(Ge.SHARE,We),t.sidemenu&&(t.internals.register(Ye.SIDEMENU,ze),t.internals.register(Ye.LINK,Ze),t.internals.register(t.sidemenu.SidemenuSelector.COLLAPSE,Xe)),t.internals.register($e.SUMMARY,Qe),t.internals.register($e.LINK,Je),t.internals.register($e.ITEM,tn),t.tab&&t.internals.register(t.tab.TabSelector.PANEL,nn),t.internals.register(rn.TABLE,on),t.internals.register(sn.TAG,an),t.internals.register(cn.TILE,ln),t.internals.register(un.INPUT,pn),t.internals.register(gn.COLLAPSE,bn),t.internals.register(vn.COLLAPSE,On),t.internals.register(vn.BUTTON,Cn),t.internals.register(An.UPLOAD,Tn)},Ln=function(){Object.values(vt).filter((function(t){return t.attributed})).forEach((function(e){return t.internals.register(t.internals.ns.attr.selector("analytics-"+e.id),Rt)})),En()};t.analytics.readiness.then((function(){return Ln()}),(function(){}))}();
//# sourceMappingURL=analytics.nomodule.min.js.map