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