PageSourceSearch

https://www.uea8gaming.com/public/html/scripts/custom-event-scripts.js?ts=1790741619911

js uea8gaming.com collected 2026-09-30 11:02:45 UTC 30,154 bytes, 374 lines download raw bytes

1var externalMerchantAction = {
2    registerSuccess: function () {
3        trackOperaSnowplowEvent('registration'); //script applied from SSBO
4    },
5    depositSuccess: function (extraParam) {
6        trackOperaSnowplowEvent('ftd'); //script applied from SSBO
7        if (window.gtag) gtag_report_conversion(extraParam, extraParam?.url);
8    },
9    secondDepositSuccess: function () {
10        trackOperaSnowplowEvent('deposit'); //script applied from SSBO
11    },
12    depositThirdPartySuccess: function () {
13        trackOperaSnowplowEvent('deposit'); //script applied from SSBO
14    },
15};
16
17//script applied from SSBO
18function trackOperaSnowplowEvent(eventName) {
19    if (window.otag) {
20        window.otag('event', eventName);
21    }
22}
23
24function gtag_report_conversion(extraParam, url) {
25    var callback = function () {
26        if (typeof url != 'undefined') {
27            window.location = url;
28        }
29    };
30    gtag('event', 'conversion', {
31        send_to: 'AW-16483486637/PMIFCJWOiqUbEK2X-LM9',
32        value: extraParam?.amount,
33        currency: extraParam?.currency,
34        transaction_id: '',
35        event_callback: callback,
36    });
37    return false;
38}
39
40function injectScriptIntoHead(id, script, showAtOpening = false) {
41    var proceed = true;
42    if (id) {
43        var foundElem = document.getElementById(id);
44        if (foundElem) {
45            proceed = false;
46        }
47    }
48
49    if (proceed) {
50        var range = document.createRange();
51        var scriptFragment = range.createContextualFragment(script);
52        if (showAtOpening) {
53            const metaCharset = document.querySelector('meta[charset]');
54            if (metaCharset) {
55                metaCharset.after(scriptFragment);
56            } else {
57                document.head.prepend(scriptFragment);
58            }
59        } else {
60            document.head.appendChild(scriptFragment);
61        }
62    }
63}
64
65function injectScriptIntoBody(id, script, showAtOpening = false) {
66    var proceed = true;
67    if (id) {
68        var foundElem = document.getElementById(id);
69        if (foundElem) {
70            proceed = false;
71        }
72    }
73
74    if (proceed) {
75        var range = document.createRange();
76        var scriptFragment = range.createContextualFragment(script);
77        if (showAtOpening) {
78            document.body.prepend(scriptFragment);
79        } else {
80            document.body.appendChild(scriptFragment);
81        }
82    }
83}
84
85function detectDomainAndInjectScript() {
86    const uea8nowComScript1 =
87        "<!-- Meta Pixel Code --><script  id=\"uea8now_com\">
vendor: 390 bytes, line 87
87!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init', '
87777970664442421
vendor: 28 bytes, line 87
87');fbq('track', 'PageView');
87</script><noscript><img height=\"1\" width=\"1\" style=\"display:none\"src=\"https://www.facebook.com/tr?id=777970664442421&ev=PageView&noscript=1\"/></noscript><!-- End Meta Pixel Code -->";
88    const uea8nowComScript2 =
89        '<!-- Voluum tracking script --><meta http-equiv="delegate-ch" content="sec-ch-ua https://track.uea8gaming.com; sec-ch-ua-mobile https://track.uea8gaming.com; sec-ch-ua-arch https://track.uea8gaming.com; sec-ch-ua-model https://track.uea8gaming.com; sec-ch-ua-platform https://track.uea8gaming.com; sec-ch-ua-platform-version https://track.uea8gaming.com; sec-ch-ua-bitness https://track.uea8gaming.com; sec-ch-ua-full-version-list https://track.uea8gaming.com; sec-ch-ua-full-version https://track.uea8gaming.com"><style>.dtpcnt{opacity: 0;}</style><script>(function(c,d,f,h,t,b,n,u,k,l,m,e,p,v,q){function r(a){var c=d.cookie.match(new RegExp("(^| )"+a+"=([^;]+)"));return c?c.pop():f.getItem(a+"-expires")&&+f.getItem(a+"-expires")>(new Date).getTime()?f.getItem(a):null}q="https:"===c.location.protocol?"secure; ":"";c[b]||(c[b]=function(a){c[b].state.callbackQueue.push(a)},c[b].state={callbackQueue:[]},c[b].registerConversion=function(a){c[b].state.callbackQueue.push(a)},function(){(m=/[?&]cpid(=([^&#]*)|&|#|$)/.exec(c.location.href))&&m[2]&&(e=m[2],p=r("vl-"+e));var a=r("vl-cid"),b;"savedCid"!==u||!a||e&&"undefined"!==typeof e||(b=a);k=d.createElement("script");l=d.scripts[0];k.src=n+(-1===n.indexOf("?")?"?":"&")+"oref="+h(d.referrer)+"&ourl="+h(location[t])+"&opt="+h(d.title)+"&vtm="+(new Date).getTime()+(b?"&cid="+b:"")+(p?"&uw=no":"");l.parentNode.insertBefore(k,l);if(e){a="vl-"+e;b=q;var g=new Date;g.setTime(g.getTime()+864E5);d.cookie=a+"=1; "+b+"samesite=Strict; expires="+g.toGMTString()+"; path=/";f.setItem(a,"1");f.setItem(a+"-expires",g.getTime())}}())})(window,document,localStorage,encodeURIComponent,"href","dtpCallback","https://track.uea8gaming.com/d/.js","savedCid");</script><noscript><link href="https://track.uea8gaming.com/d/.js?noscript=true&ourl=" rel="stylesheet"/></noscript><!-- End Voluum tracking script -->';
90
91    const playuea8Script1 = `<!-- Google Tag Manager --><script id='playuea8_com'>
vendor: 323 bytes, line 91
91(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
91GTM-W4XVBDTD
vendor: 3 bytes, line 91
91');
91</script><!-- End Google Tag Manager -->`;
92    const playuea8Script2 = `
vendor: 63 bytes, line 92
92<script async src="https://www.googletagmanager.com/gtag/js?id=
92AW-16776655539
vendor: 11 bytes, line 92
92"></script>
92<script>
vendor: 118 bytes, line 92
92window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','
92AW-16776655539
vendor: 3 bytes, line 92
92');
92</script>`;
93
94    var domainScript = {
95        'www.uea8.com': {
96            id: 'uea8_com',
97            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-8B31J2M5QK\"></script><script>
vendor: 127 bytes, line 97
97window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
97G-8B31J2M5QK
vendor: 3 bytes, line 97
97');
97</script>",
98            bodyId: 'body_uea8_com',
99            bodyScript: '',
100        },
101        'www.uea8gamer.com': {
102            id: 'uea8gamer_com',
103            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-G3HJ2EHNGS\"></script><script>
vendor: 127 bytes, line 103
103window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
103G-G3HJ2EHNGS
vendor: 3 bytes, line 103
103');
103</script>",
104            bodyId: 'body_uea8gamer_com',
105            bodyScript: '',
106        },
107        'www.uea8playth.com': {
108            id: 'uea8playth_com',
109            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-JX6L6KL61M\"></script><script>
vendor: 127 bytes, line 109
109window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
109G-JX6L6KL61M
vendor: 3 bytes, line 109
109');
109</script>",
110            bodyId: 'body_uea8playth_com',
111            bodyScript: '',
112        },
113        'www.uea8th2.com': {
114            id: 'uea8th2_com',
115            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-NZ7B1503QR\"></script><script>
vendor: 127 bytes, line 115
115window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
115G-NZ7B1503QR
vendor: 3 bytes, line 115
115');
115</script>",
116            bodyId: 'body_uea8th2_com',
117            bodyScript: '',
118        },
119        'www.uea8th3.com': {
120            id: 'uea8th3_com',
121            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-XPS29YQYYB\"></script><script>
vendor: 127 bytes, line 121
121window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
121G-XPS29YQYYB
vendor: 3 bytes, line 121
121');
121</script>",
122            bodyId: 'body_uea8th3_com',
123            bodyScript: '',
124        },
125        'www.uea8th5.com': {
126            id: 'uea8th5_com',
127            script: "<!-- Google tag (gtag.js) --><script async src=\"https://www.googletagmanager.com/gtag/js?id=G-P8EL80W2CL\"></script><script>
vendor: 127 bytes, line 127
127window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
127G-P8EL80W2CL
vendor: 3 bytes, line 127
127');
127</script>",
128            bodyId: 'body_uea8th5_com',
129            bodyScript: '',
130        },
131        'www.uea8sg1.com': {
132            id: 'uea8sg1_com',
133            script: "<!-- Google tag (gtag.js) -->
vendor: 64 bytes, line 133
133 <script async src='https://www.googletagmanager.com/gtag/js?id=
133G-XY8CGT58K1
vendor: 12 bytes, line 133
133'></script> 
133<script> 
vendor: 127 bytes, line 133
133window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
133G-XY8CGT58K1
vendor: 4 bytes, line 133
133'); 
133</script>",
134            bodyId: 'body_uea8sg1_com',
135            bodyScript: '',
136        },
137        'www.uea8sg2.com': {
138            id: 'uea8sg2_com',
139            script: "<!-- Google tag (gtag.js) -->
vendor: 64 bytes, line 139
139 <script async src='https://www.googletagmanager.com/gtag/js?id=
139G-CXFNYWN5LH
vendor: 12 bytes, line 139
139'></script> 
139<script> 
vendor: 127 bytes, line 139
139window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
139G-CXFNYWN5LH
vendor: 4 bytes, line 139
139'); 
139</script>",
140            bodyId: 'body_uea8sg2_com',
141            bodyScript: '',
142            extraScript: {
143                id: 'extra_uea8sg2_com',
144                script: "<!-- Google Tag Manager --><script id=\"extra_uea8sg2_com\">
vendor: 323 bytes, line 144
144(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
144GTM-NKG54SH4
vendor: 3 bytes, line 144
144');
144</script><!-- End Google Tag Manager -->",
145                showAtOpening: true,
146                bodyId: 'extra_body_uea8sg2_com',
147                bodyScript:
148                    '<!-- Google Tag Manager (noscript) --><noscript id="extra_body_uea8sg2_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NKG54SH4" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->',
149                bodyShowAtOpening: true,
150            },
151        },
152        'www.uea8sgnow3.com': {
153            id: 'uea8sgnow3_com',
154            script: "<!-- Google Tag Manager --><script id=\"uea8sgnow3_com\">
vendor: 323 bytes, line 154
154(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
154GTM-NKG54SH4
vendor: 3 bytes, line 154
154');
154</script><!-- End Google Tag Manager -->",
155            showAtOpening: true,
156            bodyId: 'body_uea8sgnow3_com',
157            bodyScript:
158                '<!-- Google Tag Manager (noscript) --><noscript id="body_uea8sgnow3_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NKG54SH4" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->',
159            bodyShowAtOpening: true,
160        },
161        'www.uea8sawadi.com': {
162            id: 'uea8sawadi_com',
163            script: "<!-- Meta Pixel Code --><script  id=\"uea8sawadi_com\">
vendor: 390 bytes, line 163
163!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init', '
1631728885477879116
vendor: 28 bytes, line 163
163');fbq('track', 'PageView');
163</script><noscript><img height=\"1\" width=\"1\" style=\"display:none\"src=\"https://www.facebook.com/tr?id=1728885477879116&ev=PageView&noscript=1\"/></noscript><!-- End Meta Pixel Code -->",
164        },
165        'www.uea8now.com': {
166            id: 'uea8now_com',
167            script: uea8nowComScript1 + uea8nowComScript2,
168        },
169        'www.uea8now.com/zh-my/register/?affid=1944': {
170            id: 'uea8now_com_aff_1944',
171            script: "<!-- Meta Pixel Code -->\r\n<script id =\"uea8now_com_aff_1944\">\r\n!function(f,b,e,v,n,t,s)\r\n{if(f.fbq)return;n=f.fbq=function(){n.callMethod?\r\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};\r\nif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\r\nn.queue=[];t=b.createElement(e);t.async=!0;\r\nt.src=v;s=b.getElementsByTagName(e)[0];\r\ns.parentNode.insertBefore(t,s)}(window, document,'script',\r\n'https://connect.facebook.net/en_US/fbevents.js');\r\nfbq('init', '803890108550817');\r\nfbq('track', 'PageView');\r\n</script>\r\n<noscript><img height=\"1\" width=\"1\" style=\"display:none\"\r\nsrc=\"https://www.facebook.com/tr?id=803890108550817&ev=PageView&noscript=1\"\r\n/></noscript>\r\n<!-- End Meta Pixel Code -->",
172        },
173        'www.uea8th4.com': {
174            id: 'uea8th4_com',
175            script: '<meta name="google-site-verification" content="D1MbT0b_kgyn8Cfy0LX9Xj9VHnE4Xkeytrhda0_i9NA" /><!-- Google tag (gtag.js) -->\r\n
vendor: 63 bytes, line 175
175<script async src="https://www.googletagmanager.com/gtag/js?id=
175G-FL0K1QS7LK
vendor: 11 bytes, line 175
175"></script>
175\r\n<script>\r\nwindow.dataLayer = window.dataLayer || [];\r\nfunction gtag(){dataLayer.push(arguments);}\r\ngtag(\'js\', new Date());\r\n\r\n  gtag(\'config\', \'G-FL0K1QS7LK\');\r\n</script>',
176            bodyId: 'body_uea8th4_com',
177            bodyScript: '',
178        },
179        'www.uea8gaming.com': {
180            id: 'uea8gaming_com',
181            script: "<!-- Google Tag Manager --> <script id=\"uea8gaming_com\">
vendor: 327 bytes, line 181
181(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;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','
181GTM-W89S7JSP
vendor: 3 bytes, line 181
181');
181</script> <!-- End Google Tag Manager -->",
182            bodyId: 'body_uea8gaming_com',
183            bodyScript:
184                '<!-- Google Tag Manager (noscript) --> <noscript id="body_uea8gaming_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W89S7JSP" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->',
185            extraScript: {
186                id: 'extra_uea8gaming_com',
187                script: "<!-- Google tag (gtag.js) --> <script id=\"extra_uea8gaming_com\" async src=\"https://www.googletagmanager.com/gtag/js?id=G-J5LEM0G4MV\"></script> <script> 
vendor: 127 bytes, line 187
187window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
187G-J5LEM0G4MV
vendor: 4 bytes, line 187
187'); 
187</script>",
188            },
189        },
190        'www.uea8.vip': {
191            id: 'uea8_vip',
192            script: "<!-- Google tag (gtag.js) --> <script id='uea8_vip' async src=\"https://www.googletagmanager.com/gtag/js?id=G-BPGKVTS3C5\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BPGKVTS3C5'); </script>",
193        },
194        'www.uea8c.com': {
195            id: 'uea8c_com',
196            script: "<!-- Google tag (gtag.js) --> <script id='uea8c_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-K4EFCD44FH\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-K4EFCD44FH'); </script>",
197        },
198        'www.uea8joy.com': {
199            id: 'uea8joy_com',
200            script: "<!-- Google tag (gtag.js) --> <script id='uea8joy_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-5QPM7VDXQE\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-5QPM7VDXQE'); </script>",
201        },
202        'www.uea8.pro': {
203            id: 'uea8_pro',
204            script: "<!-- Google tag (gtag.js) --> <script id='uea8_pro' async src=\"https://www.googletagmanager.com/gtag/js?id=G-F24EWBPDE2\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-F24EWBPDE2'); </script>",
205        },
206        'www.uea8fun.com': {
207            id: 'uea8fun_com',
208            script: "<!-- Google tag (gtag.js) --> <script id='uea8fun_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-ZH4W3X96WX\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-ZH4W3X96WX'); </script>",
209        },
210        'www.uea8now.com': {
211            id: 'uea8now_com',
212            script: "<!-- Google tag (gtag.js) --> <script id='uea8now_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-JWXC98F3SP\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-JWXC98F3SP'); </script>",
213        },
214        'www.uea8nowsg.com': {
215            id: 'uea8nowsg_com',
216            script: "<!-- Google tag (gtag.js) --> <script id='uea8nowsg_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-CQ3E6XX9H7\"></script> <script> window.dataLayer = window.dataLayer  []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-CQ3E6XX9H7'); </script>",
217        },
218        'www.ueabetth.com': {
219            id: 'ueabetth_com',
220            script: "<!-- Google tag (gtag.js) --> <script id='ueabetth_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-XV4CJBVJ84\"></script> <script> 
vendor: 127 bytes, line 220
220window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
220G-XV4CJBVJ84
vendor: 4 bytes, line 220
220'); 
220</script>",
221        },
222        'www.uea8pai.com': {
223            id: 'uea8pai_com',
224            script: "<!-- Google tag (gtag.js) --> <script id='uea8pai_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-G75MV24XYT\"></script> <script> 
vendor: 127 bytes, line 224
224window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
224G-G75MV24XYT
vendor: 4 bytes, line 224
224'); 
224</script>",
225        },
226        'www.ueabetmy.com': {
227            id: 'ueabetmy_com',
228            script: "<!-- Google tag (gtag.js) --> <script id='ueabetmy_com' async src=\"https://www.googletagmanager.com/gtag/js?id=G-WN69BHRSKK\"></script> <script> 
vendor: 127 bytes, line 228
228window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
228G-WN69BHRSKK
vendor: 4 bytes, line 228
228'); 
228</script>",
229        },
230        'www.uea8.center/zh-my/register?affid=2344': {
231            id: `uea8_center_2344`,
232            script: `<!-- Google Tag Manager --> <script id='uea8_center_2344'>(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;f.parentNode.insertBefore(j,f); })(window,document,\'script\',\'dataLayer\',\'GTM-5NWXX2Q8\');<\/script> <!-- End Google Tag Manager -->`,
233            bodyId: `uea8_center_body_2344`,
234            bodyScript: `<!-- Google Tag Manager (noscript) --> <noscript id='uea8_center_body_2344'><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5NWXX2Q8" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->`,
235        },
236        'www.uea8.center': {
237            id: 'uea8_center',
238            affId: ['1945'],
239            script: `<!-- Google Tag Manager --> <script id='uea8_center'>
vendor: 327 bytes, line 239
239(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;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','
239GTM-WFG6Z564
vendor: 3 bytes, line 239
239');
239</script> <!-- End Google Tag Manager --><!-- TikTok Pixel Code Start --> <script> !function (w, d, t) { w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t][];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for( var e=ttq._i[t][],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement("script") ;n.type="text/javascript",n.async=!0,n.src=r+"?sdkid="+e+"&lib="+t;e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(n,e)}; ttq.load('CTMDKLBC77U8UG3M9M3G'); ttq.page(); }(window, document, 'ttq'); </script> <!-- TikTok Pixel Code End -->`,
240            bodyId: 'body_uea8_center',
241            bodyScript:
242                '<!-- Google Tag Manager (noscript) --> <noscript id="body_uea8_center"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WFG6Z564" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->',
243        },
244        'www.uea8pro.com': {
245            id: 'uea8pro_com',
246            script: `<!-- Google tag (gtag.js) -->
vendor: 64 bytes, line 246
246 <script async src="https://www.googletagmanager.com/gtag/js?id=
246G-JKEY14KHS8
vendor: 12 bytes, line 246
246"></script> 
246<script> 
vendor: 127 bytes, line 246
246window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
246G-JKEY14KHS8
vendor: 4 bytes, line 246
246'); 
246</script>`,
247            bodyId: 'body_uea8pro_com',
248            bodyScript:
249                '<!-- Google Tag Manager (noscript) --> <noscript id="body_uea8pro_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PFG62VM5" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->',
250        },
251        'www.uea8max.com': {
252            id: 'uea8max_com',
253            script: `<!-- Google Tag Manager --> <script id='uea8max_com'>(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;f.parentNode.insertBefore(j,f); })(window,document,\'script\',\'dataLayer\',\'GTM-52FVRDBH\');<\/script> <!-- End Google Tag Manager -->`,
254            bodyId: 'body_uea8max_com',
255            bodyScript:
256                '<!-- Google Tag Manager (noscript) --> <noscript id="body_uea8max_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-52FVRDBH" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->',
257        },
258        'www.playuea8.com': {
259            id: 'playuea8_com',
260            script: playuea8Script1 + playuea8Script2,
261            bodyId: 'body_playuea8_com',
262            bodyScript:
263                '<!-- Google Tag Manager (noscript) --><noscript id="body_playuea8_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W4XVBDTD"height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->',
264        },
265        'www.uea8wan.com': {
266            id: 'uea8wan_com',
267            script: "<!-- Google Tag Manager --><script>
vendor: 323 bytes, line 267
267(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
267GTM-MNT34WRH
vendor: 3 bytes, line 267
267');
267</script><!-- End Google Tag Manager -->",
268            bodyId: 'body_uea8wan_com',
269            bodyScript:
270                '<!-- Google Tag Manager (noscript) -->
vendor: 67 bytes, line 270
270<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
270GTM-MNT34WRH
vendor: 82 bytes, line 270
270" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
270<!-- End Google Tag Manager (noscript) -->',
271            extraScript: {
272                id: 'extra_uea8wan_com',
273                script: "<!-- Google Tag Manager --><script id=\"extra_uea8wan_com\">
vendor: 323 bytes, line 273
273(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
273GTM-M4BRL6KL
vendor: 3 bytes, line 273
273');
273</script><!-- End Google Tag Manager -->",
274                showAtOpening: true,
275                bodyId: 'extra_body_uea8wan_com',
276                bodyScript:
277                    '<!-- Google Tag Manager (noscript) --><noscript id="extra_body_uea8wan_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M4BRL6KL" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->',
278                bodyShowAtOpening: true,
279            },
280        },
281        'www.uea8ka1.com': {
282            id: 'uea8ka1_com',
283            script: "<!-- Google Tag Manager --><script id=\"uea8ka1_com\">
vendor: 323 bytes, line 283
283(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;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','
283GTM-TMX9F6SJ
vendor: 3 bytes, line 283
283');
283</script><!-- End Google Tag Manager -->",
284            showAtOpening: true,
285            bodyId: 'body_uea8ka1_com',
286            bodyScript:
287                '<!-- Google Tag Manager (noscript) --><noscript id="body_uea8ka1_com"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TMX9F6SJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->',
288            bodyShowAtOpening: true,
289        },
290    };
291
292    const currentDomain = window.location.hostname;
293    const specificDomain = window.location.host + window.location.pathname + window.location.search;
294    const url = window.location.href;
295    const urlObj = new URL(url);
296    const params = new URLSearchParams(urlObj.search);
297    const affId = params.get('affid') || getCookie('AffCode');
298
299    const scriptObj = domainScript[specificDomain] || domainScript[currentDomain];
300    const extraScript = domainScript[currentDomain] && domainScript[currentDomain].extraScript;
301
302    if (scriptObj.affId) {
303        if (scriptObj.affId.includes(affId)) {
304            injectScriptIntoHead(scriptObj.id, scriptObj.script);
305            injectScriptIntoBody(scriptObj.bodyId, scriptObj.bodyScript);
306        }
307    } else if (domainScript[currentDomain]) {
308        injectScriptIntoHead(scriptObj.id, scriptObj.script, scriptObj?.showAtOpening);
309
310        if (scriptObj.bodyScript) {
311            injectScriptIntoBody(scriptObj.bodyId, scriptObj.bodyScript, scriptObj?.bodyShowAtOpening);
312        }
313    }
314    if (extraScript) {
315        injectScriptIntoHead(extraScript.id, extraScript.script, extraScript?.showAtOpening);
316        if (extraScript.bodyScript) {
317            injectScriptIntoBody(extraScript.bodyId, extraScript.bodyScript, extraScript?.bodyShowAtOpening);
318        }
319    }
320}
321
322document.addEventListener('urlUpdated', function (e) {
323    if (e && e.detail) {
324        switch (e.detail) {
325            case '/registersuccess':
326            case '/registersuccess2':
327            case '/register':
328                detectURLUpdateAndInjectScript('register');
329                break;
330            default:
331                break;
332        }
333    }
334});
335
336function detectURLUpdateAndInjectScript(type) {
337    if (type === 'register') {
338        let headScript =
339            "<!-- Google Tag Manager --> <script id='register_head_script_gtm'>
vendor: 327 bytes, line 339
339(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;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','
339GTM-WLPWV3LH
vendor: 3 bytes, line 339
339');
339</script> <!-- End Google Tag Manager -->";
340        let bodyScript =
341            '<!-- Google Tag Manager (noscript) --> <noscript id="register_body_script_gtm"><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WLPWV3LH " height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->';
342        injectScriptIntoHead('register_head_script_gtm', headScript);
343        injectScriptIntoBody('register_body_script_gtm', bodyScript);
344    }
345}
346
347function getCookie(name) {
348    var cookies = document.cookie.split('; ');
349    for (var i = 0; i < cookies.length; i++) {
350        var cookie = cookies[i].split('=');
351        if (cookie[0] === name) {
352            return decodeURIComponent(cookie[1]);
353        }
354    }
355}
356
357function getCurrency(pathname) {
358    const currencyMap = {
359        'en-th': 'THB',
360        'th-th': 'THB',
361        'en-sg': 'SGD',
362        'zh-sg': 'SGD',
363        'en-my': 'MYR',
364        'zh-my': 'MYR',
365        'ms-my': 'MYR',
366    };
367
368    const currency = Object.keys(currencyMap).find((substring) => pathname?.includes(substring));
369    return currencyMap[currency] || '';
370}
371
372window.addEventListener('load', function () {
373    detectDomainAndInjectScript();
374});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.