"use strict";(self.webpackChunkjupyterlab_google_analytics=self.webpackChunkjupyterlab_google_analytics||[]).push([[568],{568:(t,a,e)=>{e.r(a),e.d(a,{default:()=>g});const n={id:"jupyterlab-google-analytics:plugin",autoStart:!0,requires:[e(138).ISettingRegistry],activate:async(t,a)=>{var e;const g=(await a.load(n.id)).get("trackingId").composite;var s="https://www.googletagmanager.com/gtag/js?id="+g;const o=document.createElement("script"),c=document.getElementsByTagName("script")[0];o.async=!0,o.src=s,null===(e=c.parentNode)||void 0===e||e.insertBefore(o,c);const r=window;r.dataLayer=r.dataLayer||[],r.gtag=function(){r.dataLayer.push(arguments)},r.gtag("js",new Date),r.gtag("config",g)}},g=n}}]);