{{ if .Site.Params.onetrustScriptID }}
{{ end }}
{{ if hugo.IsProduction }}
{{ else }}
{{ end }}
{{ $googleJs := resources.Get "js/google-setup.js" | js.Build (dict "params" (dict "gaMeasurementId" .Site.Config.Services.GoogleAnalytics.ID)) | minify | resources.Fingerprint "sha512" }}
{{ $indexJs := resources.Get "/js/index.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ if .IsHome }}
{{ $splideJs := resources.Get "/js/vendor/splide.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ end }}
{{ if or (in (slice "docs" "documentation" "articles" "course") .Section) (and (not .IsPage) (eq .Section "blog")) }}
{{ $pageSearchJs := resources.Get "/js/search/search.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ end }}
{{ if and .IsPage (in (slice "blog" "articles" "course" "benchmarks" "docs" "documentation") .Section) }}
{{ $pageSearchScrollJs := resources.Get "/js/search/scroll.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ end }}
{{ if in (slice "blog" "articles" "course" "benchmarks" "docs" "documentation") .Section }}
{{ $copyCodeJs := resources.Get "/js/copy-code.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ $langSwitcherJs := resources.Get "/js/lang-switcher.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ $anchorJs := resources.Get "/js/vendor/anchor.js" | js.Build | minify | resources.Fingerprint "sha512" }}
{{ end }}
{{ if or (eq .Section "blog") (eq .Section "docs") (eq .Section "documentation") (eq .Section "articles") (eq .Section "course") }}
{{ end }}
{{ if and (eq .Section "blog") (.IsPage) }}
{{ end }}