1"use strict";(self.webpackJsonp_yves_default=self.webpackJsonp_yves_default||[]).push([[5247],{57129(t,e,s){s.r(e);var a=s(86947),i=s(37846);class d extends a.A{readyCallback(){}init(){this.isGtmLoaded=!1,this.mapEvents()}mapEvents(){window.addEventListener(i.A.UC_UI_INITIALIZED,()=>this.checkConsentStatus()),window.addEventListener(i.A.UCEVENT,t=>{t.detail?.event==="consent_status"&&!0===t.detail[this.getServiceName]&&this.loadGtm()})}checkConsentStatus(){let t=window.UC_UI.getServicesBaseInfo().find(t=>t.id===this.getServiceId);t?.consent.status&&this.loadGtm()}loadGtm(){if(this.isGtmLoaded)return;this.isGtmLoaded=!0,window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"});let t=document.getElementsByTagName("script")[0],e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtm.js?id=${this.getGtmId}`,t.parentNode?.insertBefore(e,t)}get getGtmId(){return this.getAttribute("gtm-id")}get getServiceId(){return this.getAttribute("uc-service-id")}get getServiceName(){return this.getAttribute("uc-service-name")}}s.d(e,{default:()=>d})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.