1
1
{{ #with site.keys.googleAnalytics }}
2
- <script async src =" https://www.googletagmanager.com/gtag/js?id={{ this }} " ></script >
3
- <script >function gtag () { dataLayer .push (arguments ) }; window .dataLayer = window .dataLayer || []; gtag (' js' , new Date ()); gtag (' config' , ' {{this}}' )</script >
2
+ <script async src =" https://www.googletagmanager.com/gtag/js?id={{ this }} " ></script >
3
+ <script >function gtag () { dataLayer .push (arguments ) }; window .dataLayer = window .dataLayer || []; gtag (' js' , new
4
+ Date ()); gtag (' config' , ' {{this}}' )</script >
4
5
{{ /with }}
5
6
6
7
{{ #with site.keys.segment }}
7
- <script >
8
- !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var key=analytics.methods[e];analytics[key]=analytics.factory(key)}analytics.load=function(key,e){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics._writeKey="{{this}}";analytics.SNIPPET_VERSION="4.15.2";
9
- analytics .load (' {{this}}' , { obfuscate: true });
10
- analytics .page ();
11
- }}();
12
- </script >
8
+ <script >
9
+ ! function (){var
10
+ analytics= window .analytics = window .analytics || [];if (! analytics .initialize )if (analytics .invoked )window .console && console .error && console .error (" Segment
11
+ snippet included
12
+ twice." );else {analytics .invoked = ! 0 ;analytics .methods = [" trackSubmit" ," trackClick" ," trackLink" ," trackForm" ," pageview" ," identify" ," reset" ," group" ," track" ," ready" ," alias" ," debug" ," page" ," once" ," off" ," on" ," addSourceMiddleware" ," addIntegrationMiddleware" ," setAnonymousId" ," addDestinationMiddleware" ];analytics .factory = function (e ){return
13
+ function (){var t= Array .prototype .slice .call (arguments );t .unshift (e);analytics .push (t);return analytics}};for (var
14
+ e= 0 ;e< analytics .methods .length ;e++ ){var
15
+ key= analytics .methods [e];analytics[key]= analytics .factory (key)}analytics .load = function (key ,e ){var
16
+ t= document .createElement (" script" );t .type = " text/javascript" ;t .async = ! 0 ;t .src = " https://cdn.segment.com/analytics.js/v1/"
17
+ + key + " /analytics.min.js" ;var
18
+ n= document .getElementsByTagName (" script" )[0 ];n .parentNode .insertBefore (t,n);analytics ._loadOptions = e};analytics ._writeKey = " {{this}}" ;analytics .SNIPPET_VERSION = " 4.15.2" ;
19
+ analytics .load (' {{this}}' , { obfuscate: true }); analytics .page (); }}();
20
+ </script >
13
21
{{ /with }}
14
22
15
23
<script >var uiRootPath = ' {{{uiRootPath}}}' </script >
16
24
17
- <link rel =" preload" href =" {{ uiRootPath }} /font/material-icons-outlined-latin-400-normal.woff2" as =" font"
18
- type =" font/woff2" crossorigin>
19
- <link rel =" preload" href =" {{ uiRootPath }} /font/roboto-flex-latin-400-normal.woff2" as =" font" type =" font/woff2"
20
- crossorigin>
21
- <link rel =" preload" href =" {{ uiRootPath }} /font/roboto-mono-latin-500-normal.woff2" as =" font" type =" font/woff2"
22
- crossorigin>
25
+ <link
26
+ rel =" preload"
27
+ href =" {{ uiRootPath }} /font/material-icons-outlined-latin-400-normal.woff2"
28
+ as =" font"
29
+ type =" font/woff2"
30
+ crossorigin
31
+ />
32
+ <link
33
+ rel =" preload"
34
+ href =" {{ uiRootPath }} /font/roboto-flex-latin-wght-normal.woff2"
35
+ as =" font"
36
+ type =" font/woff2"
37
+ crossorigin
38
+ />
39
+ <link
40
+ rel =" preload"
41
+ href =" {{ uiRootPath }} /font/roboto-mono-latin-500-normal.woff2"
42
+ as =" font"
43
+ type =" font/woff2"
44
+ crossorigin
45
+ />
23
46
24
47
<script >
25
- var prefersTheme = window .matchMedia (' (prefers-color-scheme: dark)' ).matches ? ' dark' : ' light'
26
- var storedTheme = localStorage .getItem (' theme' ) || prefersTheme
27
-
28
- if (storedTheme) {
29
- document .documentElement .setAttribute (' data-theme' , storedTheme)
30
- } else {
31
- document .documentElement .setAttribute (' data-theme' , ' light' )
32
- }
48
+ document .documentElement .setAttribute (' data-theme' , localStorage .getItem (' theme' ) ||
49
+ window .matchMedia (' (prefers-color-scheme: dark)' ).matches ? ' dark' : ' light' || ' light' )
33
50
</script >
34
51
35
- <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
52
+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
0 commit comments