{% if user and session %}
<script id="activate-sc" type="text/javascript" nonce="{{ nonceHash }}">
((win, i, t) => {
win[`get${i}`] = () => {
return t;
};
win.scHash = i;
})(window, '{{ scHash }}', '{{ session.token }}');
document.getElementById('activate-sc').remove();
</script>
{% endif %}