/*! 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;r0){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;c0&&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.level1&&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.level0}))},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;e50?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 "+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