{{ if ne .settings.enabled false }}
{{ if eq .settings.debugging true }}
{{ else }}
{{ end }}
{{ with .settings.translations }}
{{ end }}
{{ $scratch := newScratch }}
{{ range (default (slice "fire-swamp") .settings.proxies) }}
{{ $proxy_settings := (index $.data.modules.toxic_swamp.proxies .) }}
{{ $scratch.SetInMap "proxies" . $proxy_settings }}
{{ end }}
{{ with .data.modules.toxic_swamp.settings }}
{{ $scratch.Set "throttle" .throttle }}
{{ if lt .throttle .governor }}
{{ $scratch.Set "throttle" .governor }}
{{ end }}
{{ end }}
{{ with $scratch.Get "proxies" }}
{{ $throttle := $scratch.Get "throttle" | default "100" }}
{{ $settings := (dict "accounts" (dict "default" (dict "address" $.settings.address)) "proxies" . "throttle" $throttle) }}
{{ end }}
{{ if eq .settings.debugging true }}
{{ end }}
{{ else }}
{{ end }}