Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /****************************************************** * @package Digital Market..

Decoded Output download

<?php 
/****************************************************** 
 * @package Digital Marketing Tools for OC1.5x, OC2x,3x 
 * @version 12.3 
 * @author Muhammad Akram 
 * @link https://aits.xyz 
 * @copyright Copyright (C)2024 aits.xyz All rights reserved. 
 * @email:[email protected].  
 * $date: 21-NOV-2024 
 * SYSTEM/LIBRARY 
*******************************************************/ 
class Dmt extends Controller 
{ 
public $settings; 
private $dmt_data; 
private $error = array(); 
private $mode; 
public $PREFIX; 
public function __construct($A136f) 
{ 
goto B447a; 
Ca9bd: 
if (!($B9157['consent_bypass'] && $B9157['consent_bypass_country'] && isset($_SERVER["HTTP_CF_IPCOUNTRY"]))) { 
goto dc253; 
} 
goto f9291; 
F7014: 
d2740: 
goto F1444; 
Eb8c0: 
if (!is_file(DIR_SYSTEM . 'library/dmt/lib_customconfig.php')) { 
goto Da7b1; 
} 
goto a5379; 
f29f8: 
$this->dmt_data = $B9157; 
goto bcc5c; 
d73f2: 
f640b: 
goto b692f; 
f9291: 
$B9157['detected_country'] = $_SERVER["HTTP_CF_IPCOUNTRY"]; 
goto e8624; 
E10a4: 
if (!(empty($B9157['alt_currency']) || $bdd74)) { 
goto F76e2; 
} 
goto e3679; 
D7d5d: 
goto Ca2b4; 
goto ad7a7; 
e8538: 
$B9157['custom_cost_event_name'] = CUSTOM_COST_EVENT_NAME; 
goto A9968; 
a483b: 
$c61aa = ''; 
goto F4b93; 
a8591: 
D0a45: 
goto D6525; 
d2a72: 
$B9157['consent_bypass'] = CONSENT_BYPASS; 
goto Fecd9; 
ad7a7: 
bc26b: 
goto d2a72; 
b6429: 
$this->settings = $B9157; 
goto A2d50; 
B34d0: 
Deb5f: 
goto B676d; 
e3679: 
$B9157['alt_currency'] = $B9157['currency']; 
goto A8453; 
A9968: 
cb1a9: 
goto bb5b4; 
a5379: 
include_once DIR_SYSTEM . 'library/dmt/lib_customconfig.php'; 
goto C260d; 
F1444: 
$this->PREFIX = $c61aa; 
goto Eb8c0; 
Fdf7f: 
if (defined('CONSENT_BYPASS')) { 
goto bc26b; 
} 
goto ca060; 
E1c93: 
$B9157['eu_cookie_enforce'] = false; 
goto B34d0; 
aa9dc: 
$B9157['custom_cost_event_name'] = ''; 
goto Cc158; 
C260d: 
Da7b1: 
goto A3704; 
D6525: 
$B9157['custom_cost_event'] = CUSTOM_COST_EVENT; 
goto e8538; 
A6735: 
f35d8: 
goto Ef53e; 
Ef53e: 
$B9157['custom_tiktok_event'] = CUSTOM_TIKTOK_EVENT; 
goto Ab10b; 
b75c0: 
A7efd: 
goto Ca9bd; 
bcc5c: 
$this->mode = isset($B9157['mode']) ? $B9157['mode'] : true; 
goto b6429; 
Ecd76: 
$B9157['custom_cost_event'] = false; 
goto aa9dc; 
D4e57: 
if (!in_array($B9157['detected_country'], $F5583)) { 
goto Deb5f; 
} 
goto F4a93; 
A3704: 
$B9157 = $this->config->get($this->PREFIX . 'tagmanager_data'); 
goto F9a83; 
F4a93: 
$B9157['eu_cookie'] = false; 
goto E1c93; 
A8453: 
F76e2: 
goto fa96b; 
b73e9: 
$bdd74 = isset($B9157['alt_currency_status']) ? $B9157['alt_currency_status'] : false; 
goto E10a4; 
fa96b: 
if (defined('CUSTOM_COST_EVENT')) { 
goto D0a45; 
} 
goto Ecd76; 
e8624: 
$F5583 = explode(",", $B9157['consent_bypass_country']); 
goto D4e57; 
a3264: 
$B9157['currency'] = isset($this->session->data['currency']) ? $this->session->data['currency'] : $this->config->get('config_currency'); 
goto b73e9; 
b692f: 
$B9157['consent_bypass_country'] = CONSENT_BYPASS_COUNTRY; 
goto b75c0; 
e4a09: 
cc7b8: 
goto Eadd1; 
D8401: 
goto Deb15; 
goto A6735; 
ca060: 
$B9157['consent_bypass'] = false; 
goto D7d5d; 
c9542: 
goto A7efd; 
goto d73f2; 
Fabea: 
if (defined('CONSENT_BYPASS_COUNTRY')) { 
goto f640b; 
} 
goto D26c4; 
Eadd1: 
$c61aa = 'analytics_'; 
goto F7014; 
Ab10b: 
Deb15: 
goto Fdf7f; 
F4b93: 
goto d2740; 
goto e4a09; 
B676d: 
dc253: 
goto f29f8; 
Fecd9: 
Ca2b4: 
goto Fabea; 
bb5b4: 
if (defined('CUSTOM_TIKTOK_EVENT')) { 
goto f35d8; 
} 
goto ed8ab; 
D26c4: 
$B9157['consent_bypass_country'] = false; 
goto c9542; 
a2917: 
if (substr(VERSION, 0, 1) == '3' || substr(VERSION, 0, 1) == '4') { 
goto cc7b8; 
} 
goto a483b; 
F9a83: 
$B9157['status'] = $this->config->get($c61aa . 'tagmanager_status'); 
goto a3264; 
B447a: 
parent::__construct($A136f); 
goto a2917; 
ed8ab: 
$B9157['custom_tiktok_event'] = false; 
goto D8401; 
Cc158: 
goto cb1a9; 
goto a8591; 
A2d50: 
} 
public function gtmsettings() 
{ 
return $this->settings; 
} 
public function config() 
{ 
goto Aec35; 
Ffe81: 
$D070a = $this->getSc_cookie1(); 
goto Fd95e; 
a22cf: 
$C8894 = $this->getIpAddress(); 
goto d303a; 
C6478: 
if (!$B9157['tiktok_status']) { 
goto d9138; 
} 
goto c0035; 
Af06b: 
$A939a = $this->config->get('config_country_id'); 
goto Dcc55; 
C28aa: 
A1553: 
goto a4521; 
c0df2: 
$af3a8 = $this->session->getId(); 
goto C28aa; 
A6e5a: 
$F1927 = ['7', '11']; 
goto Ca3ef; 
A5226: 
$Ca165 = ''; 
goto C896e; 
B747a: 
$af3a8 = $this->readGTMCookie('OCSESSID'); 
goto D93a8; 
e2a2f: 
$E10b1 = array_merge($B9157, $a69e2); 
goto cb401; 
C594d: 
if (!(!isset($D7cc1['user_id']) || empty($D7cc1['user_id']))) { 
goto Fce74; 
} 
goto ec69f; 
cee27: 
$c5800 = 1; 
goto D057b; 
Fb20e: 
$bc0fe = 5000; 
goto Eda29; 
dc75b: 
$a9540 = $this->getGclid(); 
goto Db181; 
E54ad: 
$c4ccd = 10; 
goto Fb20e; 
aaed1: 
$a700c = ''; 
goto A5226; 
c3178: 
$Cd634 = $this->getHost(); 
goto f852e; 
c070b: 
$af3a8 = $D7cc1['external_id']; 
goto Ff70d; 
b2b88: 
d647a: 
goto A6e5a; 
B7cda: 
d9138: 
goto c4455; 
ece15: 
$bfd18 = true; 
goto c695c; 
c695c: 
$F6719 = 1 + (int) $B9157['tax_override_value'] / 100; 
goto f596e; 
e8073: 
$B9157 = $this->dmt_data; 
goto e1d9c; 
Ce3a6: 
return $E10b1; 
goto Bc97b; 
A11ea: 
$B8f65 = ['credit', 'reward', 'voucher', 'payment_discount', 'xfeepro']; 
goto Fd788; 
D93a8: 
if (!empty($af3a8)) { 
goto A1553; 
} 
goto c0df2; 
C967d: 
$d44ad = isset($_COOKIE['language']) ? $_COOKIE['language'] : ''; 
goto C7808; 
Eda29: 
$bb9ad = $this->config->get('config_store_id'); 
goto fffce; 
f852e: 
$C7690 = $this->getTrackingCookies(); 
goto E81df; 
Beed9: 
$F257d = 1; 
goto Af06b; 
c4455: 
if (!$B9157['snap_pixel_status']) { 
goto A5c7d; 
} 
goto Ffe81; 
C7808: 
$a69e2 = ['external_id' => $af3a8, 'ver' => $B29ba, 'cid' => $C7690, 'user_agent' => $Dc13f, 'bot' => $Ad4e9, 'ip_address' => $C8894, 'gclid' => $a9540, 'fbc' => $A3bf6, 'fbp' => $C1f11, 'ttclid' => $a700c, 'ttp' => $Ca165, 'sc_cookie1' => $D070a, 'sccid' => $D0821, 'language' => $d44ad, 'locale' => $d44ad, 'host_url' => $Cd634, 'host' => isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : '', 'path' => isset($this->request->server['REQUEST_URI']) ? $this->request->server['REQUEST_URI'] : '', 'currency' => isset($this->session->data['currency']) ? $this->session->data['currency'] : $this->config->get('config_currency'), 'total_plus' => $c9913, 'total_minus' => $B8f65, 'tax' => $F6719, 'override_tax' => $bfd18, 'limit' => $be876, 'max_list_items' => $c4ccd, 'max_module_items' => $c4ccd, 'delay' => $bc0fe, 'return_status' => $F1927, 'store_country' => $c67e9, 'cdn' => 'cdn.aits.xyz', 'url' => $this->getRequestUri(), 'referrer' => isset($this->request->server['HTTP_REFERER']) ? $this->request->server['HTTP_REFERER'] : '']; 
goto e2a2f; 
Db181: 
a085a: 
goto C6478; 
ec69f: 
$D7cc1['user_id'] = $af3a8; 
goto Ecbf5; 
C896e: 
$D070a = ''; 
goto e6f52; 
c86a4: 
$a9540 = ''; 
goto cee27; 
Cb1a2: 
A5c7d: 
goto B747a; 
cb401: 
if (!$Ad4e9) { 
goto d845f; 
} 
goto Aabe5; 
Ca3ef: 
$be876 = 10; 
goto E54ad; 
c00af: 
$c9913 = ['cod_fee', 'codfee_payment', 'handling', 'klarna_fee', 'low_order_fee', 'advancedcodfee', 'xfeepro']; 
goto A11ea; 
B621a: 
$C1f11 = ''; 
goto aaed1; 
D31d3: 
$Dc13f = $this->getHttpUserAgent(); 
goto a22cf; 
Ff70d: 
bd04b: 
goto C594d; 
c4de3: 
$c67e9 = $c67e9['iso_code_2']; 
goto D31d3; 
e80c2: 
if (!(isset($B9157['tax_override_value']) && !empty($B9157['tax_override_value']))) { 
goto C020d; 
} 
goto ece15; 
Fd788: 
if (!$B9157['pixel']) { 
goto b3f13; 
} 
goto E0210; 
Dcc55: 
$c67e9 = $this->getCountry($A939a); 
goto c4de3; 
e6f52: 
$D0821 = ''; 
goto c86a4; 
E81df: 
$B9157['vs'] = $this->getVS(); 
goto c00af; 
Fd95e: 
$D0821 = $this->getScCid(); 
goto Cb1a2; 
B5448: 
$E10b1 = []; 
goto e8073; 
Ba462: 
d845f: 
goto Ce3a6; 
c0035: 
$a700c = $this->getTtclid(); 
goto B842d; 
fbbe2: 
if (!$B9157['adword']) { 
goto a085a; 
} 
goto dc75b; 
f596e: 
C020d: 
goto F9a36; 
d768b: 
$B9157 = array_merge($B9157, $D7cc1); 
goto c7147; 
a03b9: 
if (!isset($D7cc1['external_id'])) { 
goto bd04b; 
} 
goto c070b; 
Ecbf5: 
Fce74: 
goto d768b; 
C64c7: 
return false; 
goto b2b88; 
efd0a: 
b3f13: 
goto fbbe2; 
c4041: 
if (!(isset($B9157['tax_override']) && $B9157['tax_override'])) { 
goto Ceb0f; 
} 
goto e80c2; 
F9a36: 
Ceb0f: 
goto C967d; 
Aec35: 
$B29ba = 'OC ' . VERSION . ' - 12.2'; 
goto B5448; 
d303a: 
$Ad4e9 = $this->botDetect(); 
goto c3178; 
c7147: 
$bfd18 = false; 
goto cf932; 
B842d: 
$Ca165 = $this->getTtp(); 
goto B7cda; 
cf932: 
$F6719 = 1; 
goto c4041; 
e1d9c: 
if (!(!isset($B9157['status']) || !$B9157['status'])) { 
goto d647a; 
} 
goto C64c7; 
Ad11a: 
$C1f11 = $this->getFbp(); 
goto efd0a; 
a4521: 
$D7cc1 = $this->getUser(); 
goto a03b9; 
Aabe5: 
$E10b1['status'] = 0; 
goto Ba462; 
fffce: 
$A3bf6 = ''; 
goto B621a; 
D057b: 
$c57d8 = false; 
goto Beed9; 
E0210: 
$A3bf6 = $this->getFbc(); 
goto Ad11a; 
Bc97b: 
} 
public function isActive() 
{ 
goto ad2d7; 
E0800: 
return true; 
goto Dfc70; 
B664e: 
Dd413: 
goto E0800; 
Fa0bf: 
return false; 
goto c356a; 
c356a: 
goto F008f; 
goto B664e; 
ad2d7: 
$c1b93 = $this->settings; 
goto D155c; 
Dfc70: 
F008f: 
goto F196a; 
D155c: 
if (isset($c1b93['status']) && $c1b93['status']) { 
goto Dd413; 
} 
goto Fa0bf; 
F196a: 
} 
public function getTagmanger() 
{ 
return $this->config(); 
} 
public function getVS() 
{ 
$B840e = $this->getNewURL(); 
return base64_encode($B840e); 
} 
private function getTrackingCookies() 
{ 
goto F3244; 
E1a72: 
$C7690 = preg_replace('/GA[0-9]+\.[0-9]+\./', '', $C7690); 
goto f9f58; 
f9f58: 
return $C7690; 
goto a80c2; 
F3244: 
$C7690 = isset($_COOKIE['_ga']) ? $_COOKIE['_ga'] : ''; 
goto E1a72; 
a80c2: 
} 
public function eventid() 
{ 
goto efc8d; 
Fa376: 
return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($c1b93), 4)); 
goto Ff7d5; 
efc8d: 
$c1b93 = openssl_random_pseudo_bytes(16); 
goto d6902; 
f54b2: 
$c1b93[8] = chr(ord($c1b93[8]) & 0x3f | 0x80); 
goto Fa376; 
d6902: 
$c1b93[6] = chr(ord($c1b93[6]) & 0xf | 0x40); 
goto f54b2; 
Ff7d5: 
} 
public function getUser() 
{ 
goto a89ed; 
D25fa: 
F5a30: 
goto e2873; 
d73ad: 
$A06c4 = []; 
goto Ce20f; 
Ec464: 
$db791 = false; 
goto d73ad; 
a89ed: 
$E10b1 = $this->settings; 
goto Ec464; 
c5293: 
return $A06c4; 
goto f255f; 
a6101: 
goto cba75; 
goto D25fa; 
Df8e5: 
cba75: 
goto c5293; 
e2873: 
$A06c4 = $this->getCustomerData(); 
goto Df8e5; 
Ce20f: 
if (isset($E10b1['customer_data']) && $E10b1['customer_data']) { 
goto F5a30; 
} 
goto dec41; 
dec41: 
$A06c4 = ['user_id' => '', 'customer_id' => '', 'external_id' => '', 'email' => '', 'telephone' => '', 'em' => '', 'ph' => '', 'ph_e164' => '', 'fn' => '', 'ln' => '', 'ad' => '', 'ct' => '', 'pc' => '', 'st' => '', 'cc' => '']; 
goto a6101; 
f255f: 
} 
public function getCustomerData() 
{ 
goto d1217; 
bcbd1: 
$A06c4 = $B37cb; 
goto de33e; 
Dc9c5: 
$d80a6 = strtolower(trim(str_replace(' ', '', $d80a6))); 
goto Bfca4; 
D291e: 
$dfb7f = (int) $B1200; 
goto Fbcb9; 
B2d5c: 
$abc17 = $b8948->row['name']; 
goto e18ec; 
D8268: 
$A37e6 = $B535f->row['newsletter']; 
goto F8c48; 
e4cb3: 
goto Ad0f1; 
goto A7a67; 
da1bb: 
$Dd5bb = $Decf0->row['name']; 
goto d84c0; 
e151d: 
$Decf0 = $this->db->query("SELECT * FROM `" . DB_PREFIX . "country` WHERE country_id = '" . (int) $Ec4a8->row['country_id'] . "'"); 
goto c1e47; 
F0978: 
$ec4db = isset($this->session->data['payment_address']['postcode']) ? $this->session->data['payment_address']['postcode'] : ''; 
goto d86d0; 
D3511: 
E141f: 
goto C2f9b; 
C951e: 
$dfb7f = ''; 
goto c9a68; 
E1968: 
$abc17 = ''; 
goto b5cb1; 
e007e: 
$F9ef1 = isset($Ec4a8->row['city']) ? $Ec4a8->row['city'] : ''; 
goto cf578; 
be6c4: 
$ec4db = isset($ec4db) ? $this->formatPostcode($ec4db) : ''; 
goto F8407; 
Ec3fc: 
Ad0f1: 
goto Eb808; 
C2a7a: 
if (!(isset($this->session->data['tuser']) && !empty($this->session->data['tuser']))) { 
goto E141f; 
} 
goto D094f; 
f7bf1: 
goto E382e; 
goto f4f6c; 
D648c: 
$db791 = true; 
goto A9356; 
c1e47: 
if ($Decf0->num_rows) { 
goto b4aad; 
} 
goto A4f67; 
aa5a2: 
b08bf: 
goto D3511; 
C6009: 
$A51a6 = ''; 
goto e6fb7; 
ee38a: 
$F9ef1 = ''; 
goto fef35; 
B2a06: 
$d80a6 = ''; 
goto abf3f; 
fd097: 
$e6311 = $this->formatPhone($b5c3f, $A51a6); 
goto ddf1b; 
cdcce: 
goto c9bd5; 
goto B0a18; 
d86d0: 
$ec4db = isset($ec4db) ? $this->formatPostcode($ec4db) : ''; 
goto d0dd6; 
afb56: 
a56aa: 
goto dcca5; 
bef95: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto ac4fb; 
} 
goto D9ace; 
D094f: 
$fa03f = $this->session->data['tuser']; 
goto Da343; 
D7f10: 
A7513: 
goto De742; 
d1217: 
$E10b1 = $this->settings; 
goto c7a3a; 
Da343: 
if (!(isset($fa03f) && $fa03f)) { 
goto b08bf; 
} 
goto Bc878; 
De742: 
$b5c3f = isset($b5c3f) ? $b5c3f : ''; 
goto C2225; 
cc5ae: 
$A51a6 = isset($this->session->data['payment_address']['iso_code_2']) ? $this->session->data['payment_address']['iso_code_2'] : ''; 
goto F0978; 
dd960: 
if (!$Ec4a8->num_rows) { 
goto A02d0; 
} 
goto c4511; 
Fc6ae: 
$abc17 = isset($this->session->data['payment_address']['zone']) ? $this->session->data['payment_address']['zone'] : ''; 
goto ba9cf; 
C9589: 
if (!$db791) { 
goto A5f80; 
} 
goto Efd22; 
bf7c0: 
$d80a6 = strtolower(trim(str_replace(' ', '', $B535f->row['email']))); 
goto aa697; 
fa8f4: 
$d80a6 = isset($this->session->data['guest']['email']) ? $this->session->data['guest']['email'] : ''; 
goto Dc9c5; 
cfaab: 
$abc17 = ''; 
goto C6009; 
fca35: 
$A51a6 = ''; 
goto e4cb3; 
Bb233: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE customer_id = '" . (int) $dfb7f . "'"); 
goto de425; 
C2f9b: 
if ($this->customer->isLogged()) { 
goto bba4a; 
} 
goto f09ab; 
c9217: 
E382e: 
goto C2b93; 
ddf1b: 
$A06c4 = ['user_id' => $dfb7f, 'customer_id' => $dfb7f, 'external_id' => $dfb7f, 'email' => $d80a6, 'telephone' => isset($e6311['e164']) ? $e6311['e164'] : '', 'em' => isset($d80a6) ? $this->getHash($d80a6) : '', 'ph' => isset($e6311['ph']) ? $this->getHash($e6311['ph']) : '', 'ph_e164' => isset($e6311['e164']) ? $this->getHash($e6311['e164']) : '', 'fn' => isset($b330a) ? $this->getHash($b330a) : '', 'ln' => isset($Af736) ? $this->getHash($Af736) : '', 'ad' => isset($Fea3d) ? $this->getHash($Fea3d) : '', 'ct' => isset($F9ef1) ? $this->getHash($F9ef1) : '', 'pc' => isset($ec4db) ? $this->getHash($ec4db) : '', 'st' => isset($abc17) ? $this->getHash($abc17) : '', 'cc' => isset($A51a6) ? $this->getHash($A51a6) : '']; 
goto D648c; 
bd6b6: 
goto c9bd5; 
goto Fa9d4; 
Fa9d4: 
d6d19: 
goto C951e; 
F87cc: 
d9263: 
goto Bb233; 
Bfca4: 
$b330a = isset($this->session->data['guest']['firstname']) ? $this->session->data['guest']['firstname'] : ''; 
goto d4170; 
B0a18: 
bba4a: 
goto fcf58; 
Eb808: 
$b8948 = $this->db->query("SELECT * FROM `" . DB_PREFIX . "zone` WHERE zone_id = '" . (int) $Ec4a8->row['zone_id'] . "'"); 
goto efb67; 
Bbde5: 
a4bae: 
goto D7f10; 
b5cb1: 
$Dd5bb = ''; 
goto e990e; 
ec754: 
$B37cb = false; 
goto B2a06; 
e6fb7: 
$ec4db = ''; 
goto Cd5ab; 
F8407: 
$A06c4 = ['user_id' => $dfb7f, 'customer_id' => $dfb7f, 'external_id' => $dfb7f, 'email' => $d80a6, 'telephone' => isset($e6311['e164']) ? $e6311['e164'] : '', 'em' => isset($d80a6) ? $this->getHash($d80a6) : '', 'ph' => isset($e6311['ph']) ? $this->getHash($e6311['ph']) : '', 'ph_e164' => isset($e6311['e164']) ? $this->getHash($e6311['e164']) : '', 'fn' => isset($b330a) ? $this->getHash($b330a) : '', 'ln' => isset($Af736) ? $this->getHash($Af736) : '', 'ad' => isset($Fea3d) ? $this->getHash($Fea3d) : '', 'ct' => isset($F9ef1) ? $this->getHash($F9ef1) : '', 'pc' => isset($ec4db) ? $this->getHash($ec4db) : '', 'st' => isset($abc17) ? $this->getHash($abc17) : '', 'cc' => isset($A51a6) ? $this->getHash($A51a6) : '']; 
goto Fdcbc; 
F2b19: 
$abc17 = ''; 
goto E7de1; 
E7de1: 
$Cd2f2 = ''; 
goto f7bf1; 
A9356: 
c9bd5: 
goto C9589; 
b55dc: 
Bcc11: 
goto bd6b6; 
d4170: 
$Af736 = isset($this->session->data['guest']['lastname']) ? $this->session->data['guest']['lastname'] : ''; 
goto ea267; 
D9ace: 
$B37cb = $this->cache->get('dmt.customer.' . $dfb7f); 
goto dc24e; 
abf3f: 
$b5c3f = ''; 
goto C8bda; 
Bc878: 
$A06c4 = unserialize($fa03f); 
goto De0d6; 
B7a5e: 
$A06c4 = ['user_id' => '', 'customer_id' => '', 'external_id' => '', 'email' => '', 'telephone' => '', 'em' => '', 'ph' => '', 'ph_e164' => '', 'fn' => '', 'ln' => '', 'ad' => '', 'ct' => '', 'pc' => '', 'st' => '', 'cc' => '']; 
goto C2a7a; 
ba9cf: 
$Dd5bb = isset($this->session->data['payment_address']['country']) ? $this->session->data['payment_address']['country'] : ''; 
goto cc5ae; 
D199e: 
$A37e6 = ''; 
goto B7a5e; 
de425: 
if (!$B535f->num_rows) { 
goto A7513; 
} 
goto bf7c0; 
Fbcb9: 
if (!(isset($dfb7f) && $dfb7f > 0)) { 
goto Bcc11; 
} 
goto bef95; 
fef35: 
$ec4db = ''; 
goto E1968; 
F1d7b: 
A5f80: 
goto B5380; 
A4f67: 
$Dd5bb = ''; 
goto fca35; 
Efd22: 
$this->saveCustomerData($A06c4); 
goto F1d7b; 
a21a1: 
$Ec4a8 = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "address WHERE address_id = '" . (int) $ce1a6 . "' AND customer_id = '" . (int) $dfb7f . "'"); 
goto dd960; 
A1bb3: 
$this->cache->set('dmt.customer.' . $dfb7f, $A06c4); 
goto F78a2; 
dc24e: 
ac4fb: 
goto C20e0; 
fcf58: 
$B1200 = $this->customer->getId(); 
goto D291e; 
efb67: 
if ($b8948->num_rows) { 
goto D1e46; 
} 
goto F2b19; 
C20e0: 
if (!$B37cb) { 
goto d9263; 
} 
goto bcbd1; 
dcca5: 
$db791 = true; 
goto b55dc; 
d0dd6: 
$b5c3f = isset($b5c3f) ? $b5c3f : ''; 
goto fd097; 
C8bda: 
$Fea3d = ''; 
goto ee38a; 
B5380: 
return $A06c4; 
goto E4c55; 
c4511: 
$Fea3d = isset($Ec4a8->row['address_1']) ? $Ec4a8->row['address_1'] : ''; 
goto e007e; 
D34d6: 
$F9ef1 = isset($this->session->data['payment_address']['city']) ? $this->session->data['payment_address']['city'] : ''; 
goto Fc6ae; 
f4f6c: 
D1e46: 
goto B2d5c; 
A8dfc: 
$Fea3d = isset($this->session->data['payment_address']['address_1']) ? $this->session->data['payment_address']['address_1'] : ''; 
goto D34d6; 
F78a2: 
F21dc: 
goto afb56; 
C2b93: 
A02d0: 
goto Bbde5; 
A7a67: 
b4aad: 
goto da1bb; 
a8bcf: 
$Dd5bb = ''; 
goto cfaab; 
ea267: 
$b5c3f = isset($this->session->data['guest']['telephone']) ? $this->session->data['guest']['telephone'] : ''; 
goto A8dfc; 
Cd5ab: 
$ce1a6 = (int) $B535f->row['address_id']; 
goto Afb46; 
c7a3a: 
$db791 = false; 
goto ec754; 
e990e: 
$A51a6 = ''; 
goto D199e; 
e18ec: 
$Cd2f2 = $b8948->row['code']; 
goto c9217; 
Afb46: 
if (!(isset($ce1a6) && $ce1a6 > 0)) { 
goto a4bae; 
} 
goto a21a1; 
f09ab: 
if (isset($this->session->data['guest'])) { 
goto d6d19; 
} 
goto cdcce; 
A2ee5: 
$Af736 = $B535f->row['lastname']; 
goto af998; 
F8c48: 
$F9ef1 = ''; 
goto a8bcf; 
Fdcbc: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto F21dc; 
} 
goto A1bb3; 
d84c0: 
$A51a6 = $Decf0->row['iso_code_2']; 
goto Ec3fc; 
C2225: 
$e6311 = $this->formatPhone($b5c3f, $A51a6); 
goto be6c4; 
cf578: 
$ec4db = isset($Ec4a8->row['postcode']) ? $Ec4a8->row['postcode'] : ''; 
goto e151d; 
c9a68: 
$B1200 = ''; 
goto fa8f4; 
de33e: 
goto a56aa; 
goto F87cc; 
af998: 
$b5c3f = $B535f->row['telephone']; 
goto D8268; 
De0d6: 
return $A06c4; 
goto aa5a2; 
aa697: 
$b330a = $B535f->row['firstname']; 
goto A2ee5; 
E4c55: 
} 
public function saveCustomerData($c1b93) 
{ 
goto c6b58; 
e08ac: 
return; 
goto b0e57; 
aaf21: 
return false; 
goto Ad2b4; 
Ad2b4: 
B0d4a: 
goto C7181; 
C7181: 
$fa03f = serialize($c1b93); 
goto D43bc; 
c6b58: 
if (isset($c1b93)) { 
goto B0d4a; 
} 
goto aaf21; 
D43bc: 
$this->session->data['tuser'] = $fa03f; 
goto e08ac; 
b0e57: 
} 
public function resetCustomerData() 
{ 
$this->session->data['tuser'] = ''; 
return; 
} 
public function saveOrderID($b7898 = 0) 
{ 
goto Bbc17; 
a163f: 
return; 
goto b481f; 
e2e94: 
F1407: 
goto a163f; 
D32c7: 
$this->saveGTMCookie('dmt_orderid', $b7898); 
goto e2e94; 
Ab890: 
$this->session->data['dmt_order_id'] = $b7898; 
goto D32c7; 
c36a2: 
$b7898 = (int) $b7898; 
goto cda80; 
cda80: 
if (!($b7898 > 0)) { 
goto F1407; 
} 
goto Ab890; 
a56c6: 
$d2068 = (int) $d2068; 
goto c36a2; 
Bbc17: 
$d2068 = isset($this->session->data['dmt_order_id']) ? $this->session->data['dmt_order_id'] : 0; 
goto a56c6; 
b481f: 
} 
public function deleteOrderID() 
{ 
goto B1e76; 
ed334: 
unset($this->session->data['dmt_order_id']); 
goto e48aa; 
e48aa: 
setcookie("dmt_order_id", "", time() - 3600); 
goto Aa95c; 
B1e76: 
unset($this->session->data['tm_order_id']); 
goto ed334; 
Aa95c: 
} 
public function saveGTMCookie($B3385, $c1b93) 
{ 
goto Dd55b; 
A3f73: 
$c1b93 = serialize($c1b93); 
goto Cc337; 
D6628: 
$b544a = time() + 86400 * 3; 
goto d6561; 
cd9ab: 
if (PHP_VERSION_ID < 70300) { 
goto f0e4d; 
} 
goto C1402; 
C1402: 
setcookie($B3385, $c1b93, ['expires' => $b544a, 'path' => $Cada0, 'domain' => $e6293, 'samesite' => $E3a3e, 'secure' => $efe7a, 'httponly' => $c9ff9]); 
goto f8b45; 
f8b45: 
goto e18b5; 
goto a4f42; 
Ad93b: 
e18b5: 
goto Df55d; 
fb1c0: 
$efe7a = 'secure'; 
goto D6628; 
Df55d: 
C34fd: 
goto E6011; 
a4f42: 
f0e4d: 
goto de827; 
E6011: 
return; 
goto f4843; 
Ea010: 
return false; 
goto D61d3; 
Cc337: 
e9e06: 
goto B6cf7; 
de827: 
setcookie($B3385, $c1b93, $b544a, $Cada0 . '; samesite=' . $E3a3e, $e6293, $efe7a, $c9ff9); 
goto Ad93b; 
D6386: 
$E3a3e = 'Lax'; 
goto Cfb0a; 
D61d3: 
F3c04: 
goto bab9e; 
bab9e: 
if (!$this->check_array($c1b93)) { 
goto e9e06; 
} 
goto A3f73; 
C3563: 
if (!(isset($c1b93) && $c1b93)) { 
goto C34fd; 
} 
goto cd9ab; 
Cfb0a: 
$c9ff9 = 'HttpOnly'; 
goto fb1c0; 
d6561: 
$Cada0 = '/'; 
goto C3563; 
Dd55b: 
if (!(!isset($c1b93) || !isset($B3385))) { 
goto F3c04; 
} 
goto Ea010; 
B6cf7: 
$e6293 = isset($this->request->server['HTTP_HOST']) ? $this->request->server['HTTP_HOST'] : ''; 
goto D6386; 
f4843: 
} 
public function resetGTMCookie($B3385) 
{ 
goto Bbbbf; 
B134e: 
$e6293 = isset($this->request->server['HTTP_HOST']) ? $this->request->server['HTTP_HOST'] : ''; 
goto C9ea2; 
E30ff: 
$b544a = time() - 7200; 
goto f1937; 
Cf32b: 
return; 
goto A1ac4; 
E68d5: 
setcookie($B3385, '', $b544a, $Cada0 . '; samesite=' . $E3a3e, $e6293, $efe7a, $c9ff9); 
goto b2ccb; 
D94ae: 
B2613: 
goto Cf32b; 
E6967: 
if (PHP_VERSION_ID < 70300) { 
goto A0c53; 
} 
goto C26e4; 
C26e4: 
setcookie($B3385, '', ['expires' => $b544a, 'path' => $Cada0, 'domain' => $e6293, 'samesite' => $E3a3e, 'secure' => $efe7a, 'httponly' => $c9ff9]); 
goto cf734; 
d9bcb: 
$c9ff9 = 'HttpOnly'; 
goto c6b9c; 
Aad11: 
c62d0: 
goto B134e; 
Bbbbf: 
if (isset($B3385)) { 
goto c62d0; 
} 
goto e67a1; 
d00e0: 
if (!(isset($B3385) && $B3385)) { 
goto B2613; 
} 
goto E6967; 
b2ccb: 
a460e: 
goto D94ae; 
C9ea2: 
$E3a3e = 'strict'; 
goto d9bcb; 
f1937: 
$Cada0 = '/'; 
goto d00e0; 
c6b9c: 
$efe7a = 'secure'; 
goto E30ff; 
D9b9f: 
A0c53: 
goto E68d5; 
cf734: 
goto a460e; 
goto D9b9f; 
e67a1: 
return false; 
goto Aad11; 
A1ac4: 
} 
public function readGTMCookie($B3385) 
{ 
goto d9abb; 
a8c03: 
if (!isset($B3385)) { 
goto E1fb4; 
} 
goto D3af5; 
D3af5: 
$c1b93 = isset($_COOKIE[$B3385]) ? $_COOKIE[$B3385] : false; 
goto A6621; 
d9abb: 
$c1b93 = false; 
goto a8c03; 
a9456: 
return $c1b93; 
goto e1f2b; 
A6621: 
E1fb4: 
goto a9456; 
e1f2b: 
} 
public function readConsent() 
{ 
goto A92bf; 
e88a4: 
$c1b93 = ['cc_enabled' => 1, 'cc_analytics' => 0, 'cc_marketing' => 0, 'gdpr_analytics' => 'denied', 'gdpr_marketing' => 'denied', 'ad_user_data' => 'denied', 'ad_personalization' => 'denied', 'consent' => 'revoke', 'allowAdFeatures' => 'false', 'tracking_block' => true, 'marketing_block' => true]; 
goto Acf30; 
c1ee9: 
cdb45: 
goto d631a; 
d631a: 
if (!(isset($E10b1['eu_cookie']) && !$E10b1['eu_cookie'])) { 
goto Bb1f6; 
} 
goto A8d1b; 
B25bb: 
if (!(isset($E10b1['eu_cookie_enforce']) && $E10b1['eu_cookie_enforce'])) { 
goto f3a86; 
} 
goto e88a4; 
Fbd6e: 
$c1b93 = ['cc_enabled' => 0, 'cc_analytics' => 1, 'cc_marketing' => 1, 'gdpr_analytics' => 'granted', 'gdpr_marketing' => 'granted', 'ad_user_data' => 'granted', 'ad_personalization' => 'granted', 'consent' => 'grant', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false]; 
goto e3d74; 
A4b15: 
$c1b93 = ['cc_enabled' => 0, 'cc_analytics' => 1, 'cc_marketing' => 1, 'gdpr_analytics' => '', 'gdpr_marketing' => '', 'ad_user_data' => '', 'ad_personalization' => '', 'consent' => '', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false]; 
goto B9e38; 
Acf30: 
f3a86: 
goto e92d8; 
d55bc: 
$Cf102 = (array) json_decode(stripslashes(html_entity_decode($_COOKIE["_consents"]))); 
goto d017f; 
A92bf: 
$E10b1 = $this->settings; 
goto Fbd6e; 
e92d8: 
if (!isset($_COOKIE["_consents"])) { 
goto b68e4; 
} 
goto F1516; 
eeeb1: 
b68e4: 
goto a9dbd; 
e3d74: 
if (!(isset($E10b1['consent_external']) && $E10b1['consent_external'])) { 
goto cdb45; 
} 
goto A4b15; 
a9dbd: 
return $c1b93; 
goto A7098; 
D5b5e: 
E5a3c: 
goto eeeb1; 
cf7f1: 
foreach ($Cf102['categories'] as $beb47) { 
goto C0ee7; 
fa7bb: 
$c1b93['ad_user_data'] = 'granted'; 
goto ac6bd; 
Bb809: 
$c1b93['consent'] = 'revoke'; 
goto a3fba; 
E1486: 
$c1b93['cc_marketing'] = 1; 
goto be2da; 
C0ee7: 
if (!($beb47 == 'analytics')) { 
goto Bbdb2; 
} 
goto Ecdc2; 
c9838: 
$c1b93['gdpr_analytics'] = 'granted'; 
goto Ed072; 
A9ed3: 
Fcc2c: 
goto b23a5; 
ac6bd: 
$c1b93['ad_personalization'] = 'granted'; 
goto E1e3c; 
b5768: 
$c1b93['consent'] = 'grant'; 
goto A9ed3; 
C043b: 
$c1b93['marketing_block'] = false; 
goto b5768; 
E1e3c: 
$c1b93['allowAdFeatures'] = 'true'; 
goto C043b; 
a3fba: 
Bbdb2: 
goto Ee940; 
a1275: 
$c1b93['tracking_block'] = false; 
goto Bb809; 
Ee940: 
if (!($beb47 == 'marketing')) { 
goto Fcc2c; 
} 
goto E1486; 
be2da: 
$c1b93['gdpr_marketing'] = 'granted'; 
goto fa7bb; 
Ed072: 
$c1b93['allowAdFeatures'] = 'false'; 
goto a1275; 
Ecdc2: 
$c1b93['cc_analytics'] = 1; 
goto c9838; 
b23a5: 
f009b: 
goto f9f27; 
f9f27: 
} 
goto Eeb59; 
Eeb59: 
A425d: 
goto D5b5e; 
B9e38: 
return $c1b93; 
goto c1ee9; 
d017f: 
if (!isset($Cf102['categories'])) { 
goto E5a3c; 
} 
goto cf7f1; 
ba2b1: 
Bb1f6: 
goto B25bb; 
F1516: 
$Cf102 = (array) json_decode($_COOKIE["_consents"]); 
goto d55bc; 
A8d1b: 
return $c1b93; 
goto ba2b1; 
A7098: 
} 
public function getDataLayerSettings($D6c92 = false, $E10b1 = false, $Dd5ba = false) 
{ 
goto f047b; 
a12ce: 
$Dd5ba = []; 
goto F2707; 
d72e8: 
d62f1: 
goto a386a; 
fc405: 
$D6c92[] = ['url_passthrough' => 'true']; 
goto Ad4da; 
E403a: 
Da924: 
goto Da77e; 
C93f6: 
if (!isset($E10b1['user_id'])) { 
goto C617a; 
} 
goto dd9fc; 
Acac2: 
F3dfb: 
goto E0653; 
Faa8c: 
d0642: 
goto f022f; 
Bc995: 
af2c2: 
goto A3ce5; 
f8f30: 
C617a: 
goto fa960; 
Be227: 
if (!(isset($E10b1['customer_data']) && $E10b1['customer_data'])) { 
goto D38f3; 
} 
goto cb9a3; 
fe200: 
Fccef: 
goto b6e85; 
Fbda3: 
$D6c92[] = ['um' => $E10b1['useremail']]; 
goto Bc995; 
b37b9: 
f0152: 
goto C93f6; 
dfa25: 
F57af: 
goto d65e0; 
fac9a: 
switch ($da543) { 
case "checkout/cart": 
$c2707 = 'cart'; 
goto abde5; 
case "product/product": 
$c2707 = 'productDetail'; 
goto abde5; 
case "product/category": 
$c2707 = 'category'; 
goto abde5; 
case "catalog/catalog": 
$c2707 = 'category'; 
goto abde5; 
case "catalog/search": 
$c2707 = 'search'; 
goto abde5; 
case "catalog/special": 
$c2707 = 'special'; 
goto abde5; 
case "catalog/manufacturer/info": 
$c2707 = 'Manufacturer'; 
goto abde5; 
case "common/home": 
$c2707 = 'homepage'; 
goto abde5; 
} 
goto ef09d; 
Aa333: 
$d48d3 = ['cc_enabled' => 1, 'gdpr_analytics' => 'granted', 'gdpr_marketing' => 'granted', 'ad_user_data' => 'granted', 'ad_personalization' => 'granted', 'consent' => 'grant', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false]; 
goto B8f24; 
e956e: 
c2cee: 
goto F7f0f; 
cbc0a: 
$D6c92[] = ['adword2Enable' => $E10b1['adword2'], 'adwordConversionID2' => $E10b1['conversion_id2']]; 
goto ea23c; 
F2707: 
C51ed: 
goto Aa333; 
ceffe: 
foreach ($D6c92 as $F5c83) { 
goto f6c83; 
f61f4: 
F888c: 
goto b1953; 
f6c83: 
foreach ($F5c83 as $Eed71 => $B3a1a) { 
$Df16b[$Eed71] = $B3a1a; 
B4b29: 
} 
goto f61f4; 
b1953: 
f68a1: 
goto F6c9c; 
F6c9c: 
} 
goto Edd14; 
bcd6e: 
if (!(isset($E10b1['bing_uetid']) && !empty($E10b1['bing_uetid']) && $E10b1['bing_status'] == '1')) { 
goto Cabf6; 
} 
goto A182c; 
fb5fd: 
$A06c4['sha256_phone_number'] = $E10b1['ph_e164']; 
goto Faed2; 
a7826: 
$D6c92[] = ['allowAdFeatures' => $d48d3['allowAdFeatures'], 'analytics_storage' => $d48d3['gdpr_analytics'], 'ad_storage' => $d48d3['gdpr_marketing'], 'consent' => $d48d3['consent'], 'ad_user_data' => $d48d3['ad_user_data'], 'ad_personalization' => $d48d3['ad_personalization']]; 
goto ebc20; 
f70e0: 
if (!($E10b1['conversion_id2'] && $E10b1['adword2'] == '1')) { 
goto F4aed; 
} 
goto cbc0a; 
a3ac6: 
$A06c4['sha256_email_address'] = $E10b1['em']; 
goto D6600; 
A260c: 
adde5: 
goto a9895; 
F7f0f: 
if (!isset($E10b1['ver'])) { 
goto Da924; 
} 
goto Bcc34; 
Fcec1: 
$D6c92[] = ['adwordEnable' => $E10b1['adword'], 'adwordConversionID' => $E10b1['conversion_id'], 'adwordConversionLabel' => $E10b1['conversion_label'], 'adwordCurrency' => $E10b1['currency']]; 
goto f70e0; 
B8f24: 
$d48d3 = $this->readConsent(); 
goto d0167; 
d80cb: 
if (!isset($E10b1['ga4_mid'])) { 
goto adde5; 
} 
goto Edb69; 
f4a34: 
if (!(isset($E10b1['ga4_status']) && $E10b1['ga4_status'])) { 
goto D1e25; 
} 
goto d80cb; 
B2b03: 
if (!(isset($E10b1['useremail']) && !empty($E10b1['useremail']))) { 
goto af2c2; 
} 
goto Fbda3; 
Ac9ba: 
$D6c92[] = ['up' => $E10b1['telephone']]; 
goto fc209; 
Faed2: 
D5764: 
goto ec8cd; 
Da77e: 
$Df16b = []; 
goto ceffe; 
acbdf: 
$D6c92[] = ['user_id' => $E10b1['external_id']]; 
goto b37b9; 
c6c91: 
$c2707 = ''; 
goto Fa768; 
Ac892: 
if (!(isset($E10b1['remarketing']) && $E10b1['remarketing'] == '1')) { 
goto f0ba4; 
} 
goto Aa70e; 
a386a: 
if ($Dd5ba) { 
goto C51ed; 
} 
goto a12ce; 
A8e5c: 
if (!isset($E10b1['external_id'])) { 
goto f0152; 
} 
goto acbdf; 
de7e2: 
if (!(isset($E10b1['glami_code']) && !empty($E10b1['glami_code']) && $E10b1['glami_status'] == '1')) { 
goto Fccef; 
} 
goto bd560; 
d65e0: 
if (!(isset($E10b1['ln']) && !empty($E10b1['ln']))) { 
goto d0642; 
} 
goto Ced42; 
D38c1: 
f0ba4: 
goto A8e5c; 
Edd14: 
a3c1a: 
goto Aff45; 
Eb366: 
$D6c92[] = ['pinterest_status' => '1', 'pinterest_tag' => $E10b1['pinterest_tag']]; 
goto d03d9; 
dfabb: 
abde5: 
goto ee147; 
ea23c: 
F4aed: 
goto f52a8; 
Fa768: 
if (!isset($da543)) { 
goto F72d4; 
} 
goto fac9a; 
a9895: 
D1e25: 
goto f9a1e; 
A182c: 
$D6c92[] = ['bingEnable' => '1', 'bingid' => $E10b1['bing_uetid']]; 
goto f339c; 
f047b: 
if ($D6c92) { 
goto d62f1; 
} 
goto e27b5; 
E96c0: 
if (!(isset($E10b1['fn']) && !empty($E10b1['fn']))) { 
goto F57af; 
} 
goto D90e6; 
ad128: 
$Fcb6c = isset($da543) ? $da543 : 'common/home'; 
goto c6c91; 
dd9fc: 
$D6c92[] = ['user_id' => $E10b1['user_id']]; 
goto f8f30; 
Edb69: 
$D6c92[] = ['ga4_mid' => $E10b1['ga4_mid'], 'ga4_status' => $E10b1['ga4_status']]; 
goto A260c; 
ebc20: 
if (!($d48d3['gdpr_analytics'] != 'granted' || $d48d3['gdpr_marketing'] != 'granted')) { 
goto A255a; 
} 
goto fc405; 
f52a8: 
e5e8d: 
goto Ac892; 
c1866: 
$D6c92[] = ['ue' => $E10b1['email']]; 
goto Acac2; 
Ced42: 
$A06c4['address']['sha256_last_name'] = $E10b1['ln']; 
goto Faa8c; 
cb9a3: 
$A06c4['address'] = []; 
goto E96c0; 
d03d9: 
Cd064: 
goto de7e2; 
ef09d: 
Bb8e7: 
goto dfabb; 
fa960: 
$A06c4 = []; 
goto Be227; 
a0a07: 
$D6c92[] = ['currencyCode' => $E10b1['currency'], 'store_country' => isset($E10b1['store_country']) ? $E10b1['store_country'] : '', 'locale' => $E10b1['locale']]; 
goto bcd6e; 
f022f: 
if (!(isset($E10b1['em']) && !empty($E10b1['em']))) { 
goto b5cb2; 
} 
goto a3ac6; 
d0167: 
$da543 = $D6c92[0]['route']; 
goto a7826; 
f339c: 
Cabf6: 
goto ce61d; 
A3ce5: 
if (!(isset($E10b1['email']) && !empty($E10b1['email']))) { 
goto F3dfb; 
} 
goto c1866; 
b6e85: 
if (!(isset($E10b1['cj_code']) && !empty($E10b1['cj_code']) && $E10b1['cj_status'] == '1')) { 
goto c2cee; 
} 
goto ad128; 
Ad4da: 
A255a: 
goto f4a34; 
ee147: 
F72d4: 
goto c450b; 
A81b4: 
if (!(isset($E10b1['ph_e164']) && !empty($E10b1['ph_e164']))) { 
goto D5764; 
} 
goto fb5fd; 
fc209: 
eb49c: 
goto bd279; 
c450b: 
$D6c92[] = ['cj_status' => '1', 'cj_code' => $E10b1['cj_code'], 'cj_currency' => $E10b1['cj_currency'], 'cj_currency_value' => $E10b1['cj_currency_value'], 'cj_actionid' => $E10b1['cj_actionid'], 'cj_page' => $c2707]; 
goto e956e; 
ec8cd: 
D38f3: 
goto B2b03; 
Bcc34: 
$D6c92[] = ['VER' => $E10b1['ver']]; 
goto E403a; 
D6600: 
b5cb2: 
goto A81b4; 
f9a1e: 
if (!($E10b1['conversion_id'] && $E10b1['adword'] == '1')) { 
goto e5e8d; 
} 
goto Fcec1; 
Aff45: 
return $Df16b; 
goto edf5e; 
bd560: 
$D6c92[] = ['GlamiEnable' => '1', 'glami_code' => $E10b1['glami_code']]; 
goto fe200; 
ce61d: 
if (!(isset($E10b1['pinterest_tag']) && !empty($E10b1['pinterest_tag']) && $E10b1['pinterest_status'] == '1')) { 
goto Cd064; 
} 
goto Eb366; 
D90e6: 
$A06c4['address']['sha256_first_name'] = $E10b1['fn']; 
goto dfa25; 
E0653: 
if (!(isset($E10b1['telephone']) && !empty($E10b1['telephone']))) { 
goto eb49c; 
} 
goto Ac9ba; 
e27b5: 
$D6c92 = []; 
goto d72e8; 
bd279: 
$D6c92[] = ['user_data' => $A06c4]; 
goto a0a07; 
Aa70e: 
$D6c92[] = ['RemarketingEnable' => '1']; 
goto D38c1; 
edf5e: 
} 
public function getDimensionsX() 
{ 
goto fe74b; 
baa11: 
$d6674 = 1; 
goto b4840; 
Ace4d: 
if (!(isset($E10b1['custom_dimension' . $d6674 . '_text']) && $E10b1['custom_dimension' . $d6674 . '_text'] != 'disable')) { 
goto F5ed7; 
} 
goto Faf17; 
A7bb7: 
$d6674++; 
goto fe117; 
b4840: 
Fb3ed: 
goto F8919; 
fe117: 
goto C89c6; 
goto a40d4; 
C8aaf: 
dedf1: 
goto D94fe; 
af00e: 
D454d: 
goto e592a; 
aa1a7: 
if (!(isset($E10b1['custom_dimension' . $d6674]) && $E10b1['custom_dimension' . $d6674] != '0' && isset(${'dimension_value' . $d6674}) && ${'dimension_value' . $d6674})) { 
goto f5b11; 
} 
goto Fd87a; 
B2cbd: 
$Fdac3 = ''; 
goto Ace4d; 
E630b: 
c6341: 
goto A7bb7; 
a0ef5: 
f5b11: 
goto E630b; 
ef071: 
switch ($Fdac3) { 
case "ecomm_prodid": 
goto c53ac; 
a7cb0: 
$d0415 = ''; 
goto d75d4; 
f0b04: 
goto bc9f8; 
goto e3185; 
e3185: 
Dba3a: 
goto dd14e; 
D6816: 
cccd8: 
goto fd891; 
a4657: 
${'dimension_value' . $d6674} = $d0415; 
goto Bbd13; 
c9e7c: 
goto F5d9b; 
goto F2629; 
dd14e: 
foreach ($Dd5ba['ecomm_prodid'] as $Eb205) { 
goto e5c68; 
e5c68: 
if (!($af607 > 0)) { 
goto e9bab; 
} 
goto e72d6; 
c6ce0: 
$af607++; 
goto E1325; 
E1325: 
D933b: 
goto ef90e; 
a3d01: 
$d0415 .= isset($Eb205) ? $Eb205 : false; 
goto c6ce0; 
cce14: 
e9bab: 
goto a3d01; 
e72d6: 
$d0415 .= ','; 
goto cce14; 
ef90e: 
} 
goto D6816; 
c53ac: 
if (isset($Dd5ba['ecomm_prodid'])) { 
goto a4514; 
} 
goto F36b9; 
D8f4d: 
F5d9b: 
goto a4657; 
F36b9: 
$d0415 = false; 
goto c9e7c; 
Bbd13: 
goto Aee72; 
goto E753c; 
fd891: 
bc9f8: 
goto D8f4d; 
E40cd: 
$af607 = 0; 
goto a7cb0; 
d75d4: 
$ffd18 = $this->gtm->check_array($Dd5ba['ecomm_prodid']); 
goto A4436; 
c8fdb: 
$d0415 = $Dd5ba['ecomm_prodid']; 
goto f0b04; 
F2629: 
a4514: 
goto E40cd; 
A4436: 
if ($ffd18) { 
goto Dba3a; 
} 
goto c8fdb; 
E753c: 
case "ecomm_pagetype": 
${'dimension_value' . $d6674} = isset($Dd5ba['ecomm_pagetype']) ? $Dd5ba['ecomm_pagetype'] : false; 
goto Aee72; 
case "ecomm_totalvalue": 
${'dimension_value' . $d6674} = isset($Dd5ba['ecomm_totalvalue']) ? $Dd5ba['ecomm_totalvalue'] : false; 
goto Aee72; 
case "dynx_itemid": 
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_itemid']) ? $Dd5ba['dynx_itemid'] : false; 
goto Aee72; 
case "dynx_itemid2": 
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_itemid2']) ? $Dd5ba['dynx_itemid2'] : false; 
goto Aee72; 
case "dynx_pagetype": 
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_pagetype']) ? $Dd5ba['dynx_pagetype'] : false; 
goto Aee72; 
case "dynx_totalvalue": 
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_totalvalue']) ? $Dd5ba['dynx_totalvalue'] : false; 
goto Aee72; 
case "user_id": 
${'dimension_value' . $d6674} = isset($E10b1['user_id']) ? $E10b1['user_id'] : false; 
goto Aee72; 
case "disable": 
${'dimension_value' . $d6674} = false; 
goto Aee72; 
} 
goto A2ee2; 
Dc7e5: 
C89c6: 
goto b5c10; 
A2ee2: 
D77e9: 
goto Fb2b6; 
a40d4: 
d49eb: 
goto af00e; 
A50f4: 
F5ed7: 
goto C8aaf; 
F8919: 
if (!($d6674 <= 8)) { 
goto Ccbdb; 
} 
goto B2cbd; 
D94fe: 
$d6674++; 
goto ea06b; 
b5c10: 
if (!($d6674 <= 8)) { 
goto d49eb; 
} 
goto aa1a7; 
Fb2b6: 
Aee72: 
goto A50f4; 
Fd87a: 
$D6c92[] = ['dimension_index' . $d6674 => $E10b1['custom_dimension' . $d6674], 'dimension_text' . $d6674 => ${'dimension_value' . $d6674}]; 
goto a0ef5; 
ea06b: 
goto Fb3ed; 
goto F3347; 
Faf17: 
$Fdac3 = $E10b1['custom_dimension' . $d6674 . '_text']; 
goto E0263; 
fe74b: 
if (!(isset($E10b1['custom_dimension']) && $E10b1['custom_dimension'])) { 
goto D454d; 
} 
goto baa11; 
E0263: 
${'dimension_value' . $d6674} = false; 
goto ef071; 
c8002: 
$d6674 = 1; 
goto Dc7e5; 
F3347: 
Ccbdb: 
goto c8002; 
e592a: 
} 
public function tagmangerPmap($D88b8 = '', $c482b = '', $bf361 = '') 
{ 
goto e920f; 
A8e81: 
goto b8657; 
goto ba9b9; 
Bf435: 
if ($fb345 == 'sku') { 
goto e8d2d; 
} 
goto fe745; 
f1d4e: 
ca3c0: 
goto E7342; 
B314f: 
$f95b0 = $bf361 . '_' . $f0883; 
goto b2c79; 
A506d: 
$D3cbe = $this->config->get('config_currency'); 
goto Df637; 
c2279: 
b8657: 
goto E5b01; 
fcdbb: 
Aa8bc: 
goto Ae3d7; 
D62b9: 
$f0883 = 'mx'; 
goto ecd58; 
E5b01: 
if (!(isset($E10b1['id_prefix']) && !empty($E10b1['id_prefix']))) { 
goto D59f7; 
} 
goto f7a67; 
ad248: 
goto b8657; 
goto c2aa0; 
ab7a5: 
goto A2960; 
goto f1d4e; 
Ae3d7: 
$f0883 = 'au'; 
goto aa6ef; 
b9c3a: 
if ($fb345 == 'model') { 
goto Bd6c3; 
} 
goto Bf435; 
b2da8: 
E0d39: 
goto a809f; 
Df637: 
$e3cab = ['GBP', 'USD', 'EUR', 'AUD', 'BRL', 'CZK', 'JPY', 'CHF', 'CAD', 'DKK', 'INR', 'MXN', 'NOK', 'PLN', 'RUB', 'SEK', 'TRY']; 
goto acf3b; 
a5999: 
$f0883 = 'us'; 
goto Cb47a; 
acc9f: 
$f0883 = 'in'; 
goto E240d; 
E54bc: 
if ($D3cbe == 'CHF') { 
goto ca3c0; 
} 
goto a5de6; 
A33c0: 
$f0883 = 'gb'; 
goto B37a8; 
Bd66e: 
goto A2960; 
goto d55d5; 
aa6ef: 
goto A2960; 
goto c5e2f; 
f7a67: 
$f95b0 = trim($E10b1['id_prefix']) . $f95b0; 
goto ec68a; 
A815e: 
if ($D3cbe == 'CAD') { 
goto E1313; 
} 
goto E54bc; 
Dd7e5: 
$f0883 = 'ca'; 
goto ab7a5; 
e920f: 
$E10b1 = $this->settings; 
goto a9143; 
c2aa0: 
cce9f: 
goto D873f; 
D93f5: 
$f95b0 = $f95b0 . trim($E10b1['id_suffix']); 
goto b2da8; 
a9143: 
$fb345 = $E10b1['pmap']; 
goto A506d; 
eaec6: 
$f95b0 = $bf361; 
goto e1375; 
ecd58: 
goto A2960; 
goto ce688; 
d55d5: 
f510e: 
goto A33c0; 
a809f: 
return (string) $f95b0; 
goto eb5fc; 
F72d6: 
goto b8657; 
goto d3407; 
D6c61: 
$D3cbe = 'GBP'; 
goto c8f30; 
F6d5b: 
if ($D3cbe == 'AUD') { 
goto Aa8bc; 
} 
goto A815e; 
Bcdc0: 
$f95b0 = $c482b; 
goto ad248; 
Ed517: 
Bd6c3: 
goto eaa54; 
c5e2f: 
E1313: 
goto Dd7e5; 
c8f30: 
db6fe: 
goto C802d; 
C802d: 
if ($D3cbe == 'GBP') { 
goto f510e; 
} 
goto Ce443; 
Cb47a: 
goto A2960; 
goto fcdbb; 
dcbe7: 
$f95b0 = $bf361 . '_' . $this->config->get('config_language'); 
goto c2279; 
E41a0: 
goto A2960; 
goto e4556; 
d3407: 
A256d: 
goto eaec6; 
ec68a: 
D59f7: 
goto ec525; 
acf3b: 
if (in_array($D3cbe, $e3cab)) { 
goto db6fe; 
} 
goto D6c61; 
e1375: 
goto b8657; 
goto Ed517; 
eb58d: 
if ($fb345 == 'product_id_language') { 
goto Db23e; 
} 
goto e853b; 
Fc053: 
Db23e: 
goto dcbe7; 
a6dd0: 
if ($D3cbe == 'INR') { 
goto fe724; 
} 
goto Bd66e; 
C6f5f: 
Bbb1f: 
goto B314f; 
Ce443: 
if ($D3cbe == 'USD') { 
goto Cece4; 
} 
goto F6d5b; 
F4aa0: 
Cece4: 
goto a5999; 
E7342: 
$f0883 = 'ch'; 
goto E41a0; 
ba9b9: 
e8d2d: 
goto Bcdc0; 
b2974: 
if ($fb345 == 'product_id') { 
goto A256d; 
} 
goto b9c3a; 
eaa54: 
$f95b0 = $D88b8; 
goto A8e81; 
fe745: 
if ($fb345 == 'model_product_id') { 
goto cce9f; 
} 
goto Aa198; 
D873f: 
$f95b0 = $D88b8 . '_' . $bf361; 
goto D6395; 
ce688: 
fe724: 
goto acc9f; 
D6395: 
goto b8657; 
goto C6f5f; 
b2c79: 
goto b8657; 
goto Fc053; 
Aa198: 
if ($fb345 == 'product_id_currency') { 
goto Bbb1f; 
} 
goto eb58d; 
e4556: 
E41e0: 
goto D62b9; 
B37a8: 
goto A2960; 
goto F4aa0; 
E240d: 
A2960: 
goto b2974; 
a5de6: 
if ($D3cbe == 'MXN') { 
goto E41e0; 
} 
goto a6dd0; 
e853b: 
$f95b0 = $bf361; 
goto F72d6; 
ec525: 
if (!(isset($E10b1['id_suffix']) && !empty($E10b1['id_suffix']))) { 
goto E0d39; 
} 
goto D93f5; 
eb5fc: 
} 
public function tagmangerPtitle($B3385 = '', $da8eb = '', $D88b8 = '', $bf361 = '') 
{ 
goto Fabb8; 
Ce672: 
$a5c4b = $this->cleanStr($a5c4b); 
goto D8f3c; 
f5b06: 
if ($a5c4b == 'name') { 
goto F722d; 
} 
goto Cdd35; 
B41d1: 
F722d: 
goto Dadaa; 
de177: 
b312f: 
goto Ce672; 
Dadaa: 
$a5c4b = $B3385; 
goto fc3e6; 
d1625: 
$a5c4b = $B3385; 
goto f0568; 
f0568: 
goto b312f; 
goto B41d1; 
E3ee0: 
$a5c4b = $E10b1['ptitle']; 
goto f5b06; 
Cdd35: 
if ($a5c4b == 'brand_model') { 
goto Dad26; 
} 
goto d1625; 
Cf319: 
Dad26: 
goto F2a94; 
Fabb8: 
$E10b1 = $this->settings; 
goto E3ee0; 
F2a94: 
$a5c4b = $da8eb . ' ' . $D88b8; 
goto de177; 
fc3e6: 
goto b312f; 
goto Cf319; 
D8f3c: 
return $a5c4b; 
goto ad69b; 
ad69b: 
} 
public function getProductInfo($bf361) 
{ 
goto c4888; 
B8a99: 
c5ca1: 
goto a6949; 
ccc8f: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto A435e; 
} 
goto D8b8a; 
Eea74: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto c5ca1; 
} 
goto E4a60; 
d099b: 
D5934: 
goto Ad730; 
a6949: 
if ($c1b93) { 
goto D5934; 
} 
goto Ee968; 
B09c7: 
$B535f = $this->db->query("
				SELECT DISTINCT *, m.name AS manufacturer, 
				(SELECT price FROM " . DB_PREFIX . "product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '" . (int) $this->config->get('config_customer_group_id') . "' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special
				 FROM " . DB_PREFIX . "product p 
				 LEFT JOIN " . DB_PREFIX . "manufacturer m ON (p.manufacturer_id = m.manufacturer_id) 
				 WHERE p.product_id = '" . (int) $bf361 . "'"); 
goto c2cca; 
D8b8a: 
$this->cache->set('dmt.product_info.' . $bf361, $c1b93); 
goto E5f18; 
Dc7a7: 
$c1b93 = $B535f->row; 
goto B5109; 
Cd0db: 
D7a56: 
goto Af2a3; 
c2cca: 
if (!$B535f->num_rows) { 
goto c753c; 
} 
goto Dc7a7; 
c4888: 
$E10b1 = $this->settings; 
goto D7d20; 
D7d20: 
if (!(isset($bf361) && !empty($bf361))) { 
goto D7a56; 
} 
goto A2956; 
A2956: 
$c1b93 = false; 
goto Eea74; 
E5f18: 
A435e: 
goto d099b; 
Ad730: 
return $c1b93; 
goto Cd0db; 
Ee968: 
$c1b93 = []; 
goto B09c7; 
E4a60: 
$c1b93 = $this->cache->get('dmt.product_info.' . $bf361); 
goto B8a99; 
B5109: 
c753c: 
goto ccc8f; 
Af2a3: 
} 
public function getProductGTIN($bf361) 
{ 
goto e459d; 
Ff1cd: 
aa733: 
goto A938b; 
Aabe7: 
$c1b93 = false; 
goto A030c; 
ed6e1: 
f2768: 
goto B47fd; 
A030c: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto f2768; 
} 
goto A1e5d; 
E3667: 
$c1b93 = []; 
goto f278e; 
A938b: 
Cd64e: 
goto e20f2; 
F3f54: 
$c1b93 = isset($B535f->row['ean']) ? $B535f->row['ean'] : ''; 
goto Ef480; 
f278e: 
$B535f = $this->db->query("SELECT ean FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bf361 . "' LIMIT 1 "); 
goto F3de2; 
Ef480: 
c9d11: 
goto fd226; 
B47fd: 
if ($c1b93) { 
goto Cd64e; 
} 
goto E3667; 
A1e5d: 
$c1b93 = $this->cache->get('dmt.gtin.' . $bf361); 
goto ed6e1; 
d3774: 
Af176: 
goto f3cc9; 
e459d: 
$E10b1 = $this->settings; 
goto Cb84c; 
F3de2: 
if (!($B535f->num_rows == 1)) { 
goto c9d11; 
} 
goto F3f54; 
F00d3: 
$this->cache->set('dmt.gtin.' . $bf361, $c1b93); 
goto Ff1cd; 
Cb84c: 
if (!(isset($bf361) && !empty($bf361))) { 
goto Af176; 
} 
goto Aabe7; 
fd226: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto aa733; 
} 
goto F00d3; 
e20f2: 
return $c1b93; 
goto d3774; 
f3cc9: 
} 
public function getProductSKU($bf361) 
{ 
goto e1aa1; 
D6577: 
ec787: 
goto e8ce1; 
b9a78: 
return $c1b93; 
goto ba2ec; 
D2cbf: 
$c1b93 = $this->cache->get('dmt.sku.' . $bf361); 
goto B258e; 
b0ab7: 
if ($c1b93) { 
goto d0030; 
} 
goto a2529; 
b134f: 
$this->cache->set('dmt.sku.' . $bf361, $c1b93); 
goto D6577; 
e1aa1: 
$E10b1 = $this->settings; 
goto E18e6; 
E18e6: 
if (!(isset($bf361) && !empty($bf361))) { 
goto Fbabd; 
} 
goto B275a; 
A3c4a: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto ec787; 
} 
goto b134f; 
c55bf: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto B59cf; 
} 
goto D2cbf; 
B258e: 
B59cf: 
goto b0ab7; 
E57d2: 
if (!($B535f->num_rows == 1)) { 
goto fbb5a; 
} 
goto d4585; 
ba2ec: 
Fbabd: 
goto F00e4; 
a2529: 
$c1b93 = []; 
goto E43cc; 
E43cc: 
$B535f = $this->db->query("SELECT sku FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bf361 . "' LIMIT 1 "); 
goto E57d2; 
e8ce1: 
d0030: 
goto b9a78; 
c885e: 
fbb5a: 
goto A3c4a; 
B275a: 
$c1b93 = false; 
goto c55bf; 
d4585: 
$c1b93 = isset($B535f->row['sku']) ? $B535f->row['sku'] : ''; 
goto c885e; 
F00e4: 
} 
public function getProductCatName($bf361, $Cf016 = false) 
{ 
goto fc189; 
F9bf6: 
if (!(isset($e0877) && $this->check_array($e0877))) { 
goto a94cc; 
} 
goto be516; 
de66e: 
if (!(isset($bf361) && empty($bf361))) { 
goto fe9d2; 
} 
goto F5f12; 
Cfe0e: 
d8817: 
goto E9cc8; 
c1c6f: 
$d83ed = ''; 
goto D57af; 
D57af: 
$B3525 = ''; 
goto d00b5; 
F5f12: 
return false; 
goto Ac153; 
b6df2: 
E64fd: 
goto e9f07; 
fba77: 
a94cc: 
goto C3717; 
Ac153: 
fe9d2: 
goto f8cf2; 
f2bec: 
$B535f = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int) $bf361 . "' "); 
goto Bcdda; 
B1349: 
$d6674 = 1; 
goto Edbae; 
e9f07: 
$A50b2 = $this->cleanStr($C59b9); 
goto aa708; 
da863: 
$c1b93 = $this->cache->get($aced8); 
goto C9c93; 
D13be: 
$Cf31f = $e0877; 
goto F9bf6; 
d00b5: 
$C59b9 = ''; 
goto e6779; 
ee9b4: 
c7711: 
goto f2bec; 
E7903: 
aac22: 
goto d1a50; 
a94f7: 
return $c1b93; 
goto ee9b4; 
Eb649: 
$Cf31f = []; 
goto c1c6f; 
B8528: 
$this->cache->set($aced8, $c1b93); 
goto c5551; 
Bcdda: 
$e2904 = $B535f->rows; 
goto Aa3f3; 
Edbae: 
if (!isset($Cf31f)) { 
goto a985d; 
} 
goto d276d; 
ec030: 
$B3525 = $this->cleanStr($C59b9); 
goto B1349; 
De8b0: 
return false; 
goto Ad638; 
d6227: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto fe286; 
} 
goto da863; 
E57ac: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto Cb75c; 
} 
goto B8528; 
cdec5: 
if (!$c1b93) { 
goto c7711; 
} 
goto a94f7; 
be516: 
foreach ($e0877 as $F5c83) { 
goto Dd32d; 
c2869: 
$f86e4 = $B535f->row['category_id']; 
goto A9ce0; 
f3ec7: 
$C59b9 .= ' > '; 
goto B1bad; 
Dd32d: 
if (!($d6674 > 1)) { 
goto a2482; 
} 
goto f3ec7; 
B1bad: 
a2482: 
goto f8d32; 
f8d32: 
$C59b9 .= $F5c83['name']; 
goto c2869; 
e30b8: 
E81d2: 
goto De2e5; 
A9ce0: 
$d6674++; 
goto e30b8; 
De2e5: 
} 
goto b6df2; 
d1a50: 
a985d: 
goto fba77; 
e6779: 
$d6674 = 1; 
goto D2c69; 
D2c69: 
$Cada0 = ''; 
goto f2a73; 
f2a73: 
$Df67b = false; 
goto cf724; 
Ad638: 
C6ecc: 
goto ed740; 
E9cc8: 
if (!(!isset($F5c83) || !$this->check_array($F5c83))) { 
goto C6ecc; 
} 
goto De8b0; 
Aa3f3: 
foreach ($e2904 as $E8be6) { 
goto Db0ff; 
ca2fa: 
f9c7a: 
goto F7560; 
ca661: 
goto d8817; 
goto e3be0; 
e17ee: 
$F5c83 = $this->getparent($E8be6['category_id']); 
goto ca661; 
f0479: 
aae8a: 
goto ca2fa; 
b48e0: 
$F5c83 = $this->getparent($E8be6['category_id']); 
goto D63a4; 
e3be0: 
goto aae8a; 
goto daf72; 
daf72: 
be3ad: 
goto b48e0; 
Db0ff: 
if ($Cf016 && $Cf016 == $E8be6['category_id']) { 
goto be3ad; 
} 
goto e17ee; 
D63a4: 
goto d8817; 
goto f0479; 
F7560: 
} 
goto Cfe0e; 
C3717: 
$c1b93 = ['category' => isset($A50b2) ? $A50b2 : '', 'item_list_id' => isset($Df67b['category_id']) ? $Df67b['category_id'] : $d83ed, 'item_list_name' => isset($Df67b['name']) ? $Df67b['name'] : $B3525, 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '']; 
goto E57ac; 
cf724: 
$aced8 = 'dmt.catdata.' . $bf361 . ($Cf016 ? '.' . $Cf016 : ''); 
goto d6227; 
fc189: 
$E10b1 = $this->settings; 
goto de66e; 
aa708: 
$d83ed = $B535f->row['category_id']; 
goto ec030; 
ed740: 
$e0877 = array_reverse($F5c83); 
goto D13be; 
d276d: 
foreach ($Cf31f as $F5c83) { 
goto B0c43; 
df45f: 
$d6674++; 
goto dc99f; 
Eb30b: 
C3ddb: 
goto ec060; 
cad73: 
A9815: 
goto fd137; 
C93fc: 
goto aac22; 
goto caf71; 
caf71: 
D7357: 
goto Eb30b; 
Cc3dd: 
Eebd9: 
goto df45f; 
fd137: 
$A1d57 = $this->cleanStr($F5c83['name']); 
goto Cc3dd; 
c54c5: 
${'item_category' . $d6674} = $this->cleanStr($F5c83['name']); 
goto Baa09; 
dc99f: 
if (!($d6674 > 6)) { 
goto D7357; 
} 
goto C93fc; 
B0c43: 
if ($d6674 == 1) { 
goto A9815; 
} 
goto c54c5; 
Baa09: 
goto Eebd9; 
goto cad73; 
ec060: 
} 
goto E7903; 
C9c93: 
fe286: 
goto cdec5; 
bf20f: 
return $c1b93; 
goto df5d1; 
c5551: 
Cb75c: 
goto bf20f; 
f8cf2: 
$c1b93 = false; 
goto Eb649; 
df5d1: 
} 
public function getProductCatID($bf361) 
{ 
goto B9c64; 
D4d11: 
$this->cache->set('dmt.cat.' . $bf361, $A50b2); 
goto A9f48; 
B9c64: 
$E10b1 = $this->settings; 
goto dfaf5; 
ed5b7: 
return $A50b2; 
goto e0aba; 
Db1ff: 
E31d8: 
goto Bbdaa; 
E6944: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto A8245; 
} 
goto D4d11; 
e0aba: 
C5d18: 
goto b3728; 
a09a4: 
d2733: 
goto Fc53e; 
f259e: 
goto E31d8; 
goto a09a4; 
C7ff3: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto a8163; 
} 
goto E807f; 
Fc53e: 
$A50b2 = $B535f->row['category_id']; 
goto Db1ff; 
A9f48: 
A8245: 
goto ed5b7; 
dd1d1: 
$A50b2 = 0; 
goto f259e; 
E807f: 
$A50b2 = $this->cache->get('dmt.cat.' . $bf361); 
goto c3b49; 
dfaf5: 
if (!(isset($bf361) && !empty($bf361))) { 
goto C5d18; 
} 
goto a3ad6; 
e3ede: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int) $bf361 . "' ORDER BY category_id DESC LIMIT 1 "); 
goto a89dd; 
a3ad6: 
$A50b2 = false; 
goto C7ff3; 
Bbdaa: 
ff082: 
goto E6944; 
a89dd: 
if ($B535f->num_rows == 1) { 
goto d2733; 
} 
goto dd1d1; 
c3b49: 
a8163: 
goto F6d69; 
F6d69: 
if ($A50b2) { 
goto ff082; 
} 
goto e3ede; 
b3728: 
} 
public function getparent($C7690) 
{ 
goto cd2df; 
d35bb: 
d34f2: 
goto Ee841; 
dbe72: 
f8d15: 
goto e46c2; 
b118e: 
$c1b93 = []; 
goto bcc4f; 
f00c3: 
if ($c1b93) { 
goto ec863; 
} 
goto b118e; 
f2881: 
$c1b93[] = $a1316->row; 
goto e2e9b; 
e46c2: 
ec863: 
goto E1dc4; 
b5335: 
Fc8b2: 
goto f00c3; 
E1dc4: 
return $c1b93; 
goto ad2b8; 
cd2df: 
$E10b1 = $this->settings; 
goto f6d1a; 
e2e9b: 
if (!($a1316->row['parent_id'] != 0)) { 
goto d34f2; 
} 
goto b7bd1; 
C4104: 
$c1b93 = $this->cache->get('dmt.parent.' . $C7690); 
goto b5335; 
d4350: 
$this->cache->set('dmt.parent.' . $C7690, $c1b93); 
goto dbe72; 
Ee841: 
d392f: 
goto F63ad; 
b7bd1: 
$c1b93 = array_merge($c1b93, $this->getparent($a1316->row['parent_id'])); 
goto d35bb; 
e627d: 
if (!($a1316->num_rows == 1)) { 
goto d392f; 
} 
goto f2881; 
F63ad: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto f8d15; 
} 
goto d4350; 
f88d7: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto Fc8b2; 
} 
goto C4104; 
f6d1a: 
$c1b93 = false; 
goto f88d7; 
bcc4f: 
$a1316 = $this->db->query("SELECT c.category_id, cd1.name AS name, c.parent_id FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd1 ON (c.category_id = cd1.category_id) WHERE cd1.language_id = '" . (int) $this->config->get('config_language_id') . "' AND c.category_id = '" . (int) $C7690 . "'"); 
goto e627d; 
ad2b8: 
} 
public function getProductBrandName($bf361) 
{ 
goto b0a31; 
d5839: 
$C8ddf = $this->cache->get('dmt.brand.' . $bf361); 
goto A43c4; 
D6ccb: 
E1605: 
goto fbce1; 
E9ceb: 
df8a1: 
goto D6ccb; 
A5d90: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto df8a1; 
} 
goto a7a6a; 
a7a6a: 
$this->cache->set('dmt.brand.' . $bf361, $C8ddf); 
goto E9ceb; 
Cb2b5: 
bd1c9: 
goto acefe; 
ae3a2: 
$C8ddf = $this->cleanStr($da8eb); 
goto A5d90; 
b9787: 
$da8eb = ''; 
goto e209e; 
C9e2e: 
$B535f = $this->db->query("SELECT m.name from " . DB_PREFIX . "manufacturer m left join " . DB_PREFIX . "product p on m.manufacturer_id = p.manufacturer_id WHERE p.product_id = " . $bf361); 
goto F90b3; 
B403e: 
$da8eb = $B535f->row['name']; 
goto C14ee; 
C483a: 
if (!(isset($bf361) && !empty($bf361))) { 
goto bd1c9; 
} 
goto Ece16; 
e209e: 
goto B5b3e; 
goto F0260; 
fbce1: 
return $C8ddf; 
goto Cb2b5; 
Da819: 
if ($C8ddf) { 
goto E1605; 
} 
goto C9e2e; 
F90b3: 
if (isset($B535f->row['name'])) { 
goto E9ddd; 
} 
goto b9787; 
b0a31: 
$E10b1 = $this->settings; 
goto a87d1; 
A43c4: 
C13ba: 
goto Da819; 
Ece16: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto C13ba; 
} 
goto d5839; 
a87d1: 
$C8ddf = ''; 
goto C483a; 
C14ee: 
B5b3e: 
goto ae3a2; 
F0260: 
E9ddd: 
goto B403e; 
acefe: 
} 
public function getProductImages($bf361) 
{ 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_image WHERE product_id = '" . (int) $bf361 . "' ORDER BY sort_order ASC LIMIT 1"); 
return $B535f->rows; 
} 
public function getProductCost($bf361) 
{ 
goto Bff06; 
D79ac: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_cost WHERE product_id = '" . (int) $bf361 . "' LIMIT 1"); 
goto Cacb8; 
B3204: 
Cbd00: 
goto Fe6f3; 
e341a: 
$this->cache->set('dmt.cost.' . $bf361, $C2050); 
goto f81bc; 
f19a4: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto F0ab3; 
} 
goto e341a; 
f81bc: 
F0ab3: 
goto F6d65; 
Dac27: 
if (!(!isset($bf361) && empty($bf361))) { 
goto b5bd7; 
} 
goto F5fea; 
da7a5: 
b5bd7: 
goto Fd6dd; 
fbc0e: 
$C2050 = $B535f->row['cost']; 
goto f19a4; 
Fd6dd: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto eedc5; 
} 
goto F0919; 
F5fea: 
return $C2050; 
goto da7a5; 
A5192: 
if ($C2050) { 
goto Cbd00; 
} 
goto D79ac; 
f07e5: 
eedc5: 
goto A5192; 
Fe6f3: 
return $C2050; 
goto C605c; 
Cacb8: 
if (!($B535f->num_rows == 1)) { 
goto f263a; 
} 
goto fbc0e; 
Bff06: 
$C2050 = 0; 
goto Dac27; 
F0919: 
$C2050 = $this->cache->get('dmt.cost.' . $bf361); 
goto f07e5; 
F6d65: 
f263a: 
goto B3204; 
C605c: 
} 
public function getProduct($bf361 = false, $Be6f2 = array(), $E7330 = array()) 
{ 
goto A7830; 
a6d6c: 
$Ae2c5 = $bd5a9; 
goto d62c3; 
a44be: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto Ba1cc; 
} 
goto Db5bc; 
bc0f5: 
Bc632: 
goto Edbc6; 
e59da: 
$C51cf = ['track' => 'ViewContent']; 
goto cf35a; 
F66f3: 
$B1d6b = ['sku' => $f95b0, 'name' => $Bf5ae, 'category' => $A1d57, 'price' => $ace9a]; 
goto cccf8; 
Bd986: 
$F9d4b = $A50b2['item_category2']; 
goto F8b7e; 
Ce3b5: 
$Aec0b = $this->url->link('product/product', '&product_id=' . $bf361); 
goto bd853; 
ecf3d: 
$fc605 = ''; 
goto Fec7c; 
ae753: 
b092f: 
goto Ab131; 
a3619: 
if (isset($Be6f2['price'])) { 
goto B84ff; 
} 
goto C6a2d; 
C0e9b: 
$bd5a9 = $Be6f2['special']; 
goto C1a0f; 
d5610: 
if (!$E10b1['matomo_status']) { 
goto Ae09b; 
} 
goto F66f3; 
b7ada: 
$B3525 = $A50b2['item_list_name']; 
goto a3d4e; 
fde71: 
goto ba974; 
goto Adf90; 
a17f7: 
$C8d5b = ['price' => $ace9a, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => 1, 'brands' => $da8eb, 'item_category' => $D1f20, 'description' => 'Product Viewed']; 
goto C347b; 
aa837: 
$fe56e = []; 
goto B51bb; 
e3b6f: 
$e34fb = $E10b1['currency']; 
goto d460e; 
eebde: 
$c482b = isset($Be6f2['sku']) ? $Be6f2['sku'] : ''; 
goto d20e3; 
Ba9db: 
if (!(isset($A50b2) && $A50b2)) { 
goto d331e; 
} 
goto d3963; 
A9cd0: 
$fe56e = ['send_to' => 'ads', 'value' => $ace9a, 'items' => $e5684]; 
goto Faf8e; 
D6ddd: 
Ac3a6: 
goto b035b; 
B5bd1: 
$bd5a9 = $Be6f2['price']; 
goto Be134; 
C347b: 
$C431a = ['content_category' => $D1f20, 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $ace9a, 'brands' => $da8eb, 'num_items' => 1]; 
goto ae753; 
a764f: 
if (!isset($Be6f2['image'])) { 
goto b6ba0; 
} 
goto cc612; 
Cb4d3: 
$f6a53[] = ['content_category' => $D1f20, 'content_name' => $Bf5ae, 'price' => $ace9a, 'content_id' => $f95b0, 'quantity' => 1, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $ace9a, 'description' => $Bf5ae, 'content_type' => 'product']; 
goto a8ec0; 
afd77: 
$D2701 = $A50b2['item_category5']; 
goto C74a6; 
Faced: 
$de949 = []; 
goto eed09; 
f9403: 
B367e: 
goto e2bac; 
b37a6: 
$c6ed3[] = []; 
goto Faced; 
f9ceb: 
$f6a53 = []; 
goto Fd58c; 
b9ccf: 
$F7fe3 = 0; 
goto A4568; 
D2491: 
$e34fb = $E10b1['currency']; 
goto b9ccf; 
Cbd96: 
$ace9a = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto F421c; 
Fd58c: 
$a0e51 = []; 
goto F58cd; 
a802b: 
$b1eff = '1-' . $this->eventid(); 
goto da99f; 
fa35e: 
A93a6: 
goto Fec2b; 
Faf8e: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $ace9a, 'items' => $de949]; 
goto be727; 
e6cef: 
$D1f20 = $d83ed = $B3525 = $A1d57 = $F9d4b = $e41da = $a2de8 = $D2701 = ''; 
goto a3619; 
A4679: 
$baf8f = []; 
goto B51c8; 
E5151: 
c2c29: 
goto dd05a; 
ed823: 
b8388: 
goto d6488; 
accd7: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', ''); 
goto Cc012; 
C74a6: 
d331e: 
goto b6bd6; 
Ea830: 
$f95b0 = $this->gtm->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id']); 
goto e93b5; 
D058e: 
$E10b1 = $this->config(); 
goto a802b; 
B51bb: 
$Aec0b = ''; 
goto ecf3d; 
eac6b: 
F90a8: 
goto a84a8; 
da99f: 
$c1b93 = []; 
goto f9ceb; 
d3963: 
$D1f20 = $A50b2['category']; 
goto b06ee; 
C1335: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto b8388; 
} 
goto aa3e5; 
b940d: 
$a2de8 = $A50b2['item_category4']; 
goto afd77; 
C2073: 
if (!$E10b1['tiktok_status']) { 
goto Bc632; 
} 
goto Cb4d3; 
e790d: 
$baf8f = ['value' => $ace9a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto fa35e; 
F0b35: 
f042d: 
goto c28a8; 
e93b5: 
$da8eb = $this->gtm->cleanStr($Be6f2['manufacturer']); 
goto Aa430; 
bd853: 
b1aae: 
goto df59a; 
F7372: 
$d9e72 = $this->getModuleProducts($E7330, 'Related Items', 'related_items'); 
goto E5151; 
F5f37: 
$Fb034 = isset($Be6f2['ean']) ? $Be6f2['ean'] : ''; 
goto E2ee8; 
dbce5: 
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => $B3525, 'item_list_id' => $d83ed, 'item_category' => $A1d57, 'item_category2' => $F9d4b, 'item_category3' => $e41da, 'item_category4' => $a2de8, 'item_category5' => $D2701, 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $ace9a, 'curency' => $E10b1['currency'], 'item_image' => $fc605, 'item_url' => $Aec0b, 'index' => 0, 'quantity' => 1]; 
goto d5610; 
a3d4e: 
$A1d57 = $A50b2['item_category']; 
goto Bd986; 
Cc012: 
$e34fb = $E10b1['alt_currency']; 
goto f9403; 
d3ab4: 
return false; 
goto eac6b; 
aa3e5: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto ed823; 
a84a8: 
if (!($this->check_array($Be6f2) && count($Be6f2) < 1)) { 
goto A92af; 
} 
goto Cf7d3; 
Ff1dd: 
return $c1b93; 
goto c10dd; 
A7830: 
if ($bf361) { 
goto F90a8; 
} 
goto d3ab4; 
d20e3: 
$Bf5ae = $this->gtm->tagmangerPtitle($Be6f2['name'], $da8eb, $D88b8, $Be6f2['product_id']); 
goto F5f37; 
b6bd6: 
if (!(isset($E10b1['admitad_retag_status']) && $E10b1['admitad_retag_status'])) { 
goto b1aae; 
} 
goto a764f; 
B2f41: 
foreach ($d5573 as $A63e4) { 
$fc605 = '//image/' . $A63e4['image']; 
d212f: 
} 
goto D6ddd; 
Ef07e: 
$f445c[] = ['content_id' => $f95b0, 'content_type' => 'product', 'content_name' => $E10b1['currency'], 'content_price' => $ace9a, 'content_group_id' => '']; 
goto e790d; 
E6baa: 
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) { 
goto e01bd; 
} 
goto B5bd1; 
d460e: 
goto B367e; 
goto f2a89; 
Cea15: 
A92af: 
goto D058e; 
f6fd6: 
$E4cba = false; 
goto A4679; 
De64f: 
$f97f8 = 0; 
goto C193c; 
Cf7d3: 
return false; 
goto Cea15; 
Edbc6: 
if (!$E10b1['snap_pixel_status']) { 
goto b092f; 
} 
goto a17f7; 
a8ec0: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $ace9a, 'description' => $Bf5ae]; 
goto bc0f5; 
d8b2e: 
$C431a = []; 
goto b37a6; 
ae9a3: 
$a21f7 = 0; 
goto d0917; 
Adf90: 
b6ba0: 
goto Aa237; 
Ab131: 
if (!$E10b1['twitter_status']) { 
goto A93a6; 
} 
goto b3a29; 
E5583: 
if (!($this->check_array($E7330) && count($E7330) > 0)) { 
goto c2c29; 
} 
goto F7372; 
b06ee: 
$d83ed = $A50b2['item_list_id']; 
goto b7ada; 
d9699: 
a880a: 
goto Ef07e; 
e2bac: 
$Bc03e = ['content_name' => $Bf5ae, 'content_category' => $D1f20, 'content_ids' => $f95b0, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb]; 
goto C1335; 
F421c: 
$Dd699 = $Be6f2['tax_class_id']; 
goto A4bba; 
D2770: 
B84ff: 
goto De64f; 
f3ea7: 
$e5684 = []; 
goto D2491; 
Fec7c: 
$d9e72 = false; 
goto e6cef; 
d62c3: 
e8d5c: 
goto a44be; 
Aa430: 
$D88b8 = $Be6f2['model']; 
goto eebde; 
e9bd3: 
A784a: 
goto a6d6c; 
C1a0f: 
e0e7e: 
goto Cbd96; 
E2ee8: 
$A50b2 = $this->gtm->getProductCatName($bf361); 
goto Ba9db; 
D8d7f: 
if (!$E10b1['cj_status']) { 
goto Ffd11; 
} 
goto ab3f1; 
A4bba: 
$ace9a = number_format((float) $ace9a, 2, '.', ''); 
goto Ea830; 
a8577: 
$F7fe3 = 0; 
goto f88a5; 
F58cd: 
$C8d5b = []; 
goto d8b2e; 
c28a8: 
$F7fe3 = $E10b1['twitter_viewcontent']; 
goto d9699; 
d6488: 
Addd3: 
goto A9cd0; 
A4568: 
$B1d6b = ''; 
goto b3864; 
Fec2b: 
if (!$E10b1['pixel']) { 
goto Addd3; 
} 
goto e59da; 
be727: 
$Bc909 = ['event' => 'productView', 'eventAction' => 'productView', 'eventLabel' => 'Product Detail View', 'ga' => $a6560, 'content_name' => $Bf5ae, 'content_category' => $D1f20, 'content_ids' => $f95b0, 'content_type' => 'product', 'category' => $D1f20, 'brand' => $da8eb, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $ace9a, 'event_id' => $b1eff]; 
goto D8d7f; 
ab3f1: 
$Bc909['cj_page'] = 'productDetail'; 
goto cfbab; 
f88a5: 
goto a880a; 
goto F0b35; 
eed09: 
$Bc03e = false; 
goto f6fd6; 
cfbab: 
Ffd11: 
goto E5583; 
dd05a: 
$c1b93 = ['error' => 'false', 'page_type' => 'product', 'datalayer' => $Bc909, 'items' => $de949, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'fb_data' => $Bc03e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b, 'related' => $d9e72]; 
goto Ff1dd; 
Ad6d0: 
if (!(!is_null($Be6f2['special']) && (float) $Be6f2['special'] >= 0)) { 
goto e0e7e; 
} 
goto C0e9b; 
df59a: 
$e5684[] = ['id' => (string) $f95b0, 'google_business_vertical' => 'retail']; 
goto dbce5; 
b3a29: 
if (isset($E10b1['twitter_viewcontent']) && !empty($E10b1['twitter_viewcontent'])) { 
goto f042d; 
} 
goto a8577; 
C6a2d: 
return false; 
goto D2770; 
Db5bc: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', ''); 
goto e3b6f; 
ec167: 
$Ae2c5 = $this->tax->calculate($bd5a9, $Dd699, $this->config->get('config_tax')); 
goto Ccb5b; 
b3864: 
$a6560 = []; 
goto aa837; 
Be134: 
e01bd: 
goto Ad6d0; 
Aa237: 
$d5573 = $this->gtm->getProductImages($this->request->get['product_id']); 
goto B2f41; 
cf35a: 
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) { 
goto A784a; 
} 
goto ec167; 
C193c: 
$Ac84c = 0; 
goto Be657; 
cccf8: 
Ae09b: 
goto C2073; 
cc612: 
$fc605 = '//image/' . $Be6f2['image']; 
goto fde71; 
d0917: 
$B3385 = $Be6f2['name']; 
goto E6baa; 
F8b7e: 
$e41da = $A50b2['item_category3']; 
goto b940d; 
f2a89: 
Ba1cc: 
goto accd7; 
Ccb5b: 
goto e8d5c; 
goto e9bd3; 
Be657: 
$bd5a9 = 0; 
goto ae9a3; 
b035b: 
ba974: 
goto Ce3b5; 
B51c8: 
$f445c = []; 
goto f3ea7; 
c10dd: 
} 
public function getModuleProducts($C8e44 = array(), $B5a42 = '', $B59f5 = '') 
{ 
goto e997d; 
a5afc: 
F9098: 
goto Eb57e; 
f53b3: 
if ($this->check_array($C8e44)) { 
goto F2d3a; 
} 
goto a0104; 
a0104: 
return false; 
goto f0e91; 
f0e91: 
F2d3a: 
goto dfa35; 
D71f9: 
return $F5c83; 
goto c4e72; 
dfa35: 
if (!($this->check_array($C8e44) && count($C8e44) < 1)) { 
goto F02f4; 
} 
goto b693c; 
Cf66e: 
$B59f5 = 'modules'; 
goto Fb4fa; 
b693c: 
return false; 
goto cdcc9; 
Eb57e: 
if (!empty($B59f5)) { 
goto Cd49f; 
} 
goto Cf66e; 
cdcc9: 
F02f4: 
goto Af2ac; 
Af2ac: 
foreach ($C8e44 as $B3a1a) { 
goto Be0d9; 
a81cd: 
if ($this->check_array($A50b2) && $A50b2) { 
goto F04d4; 
} 
goto e6993; 
F052e: 
B3eb8: 
goto a81cd; 
f9e9f: 
$bd5a9 = $ea436['special']; 
goto F052e; 
F0b75: 
$B3a1a['model'] = isset($ea436['model']) ? $ea436['model'] : $bf361; 
goto d7c85; 
E2fc5: 
goto B84f6; 
goto cd311; 
Af25c: 
$B3a1a['sku'] = isset($ea436['sku']) ? $ea436['sku'] : $bf361; 
goto F9989; 
F9989: 
$B3a1a['gtin'] = isset($ea436['ean']) ? $ea436['ean'] : ''; 
goto F0b75; 
f1452: 
$B3a1a['item_list_name'] = $B5a42; 
goto C790e; 
c6d19: 
goto de242; 
goto e63c9; 
C5b56: 
$B3a1a['category'] = $A50b2['category']; 
goto ed5c4; 
Be0d9: 
if (!(!isset($B3a1a['product_id']) || !isset($B3a1a['price']))) { 
goto Ef946; 
} 
goto c6d19; 
C7e34: 
$bd5a9 = 0; 
goto dc79e; 
dc79e: 
$bf361 = $B3a1a['product_id']; 
goto A14c3; 
e4d41: 
E6ba7: 
goto fd626; 
De7c2: 
$B3a1a['tax_class_id'] = $ea436['tax_class_id']; 
goto B2652; 
cd311: 
F04d4: 
goto D09d2; 
B6310: 
$F5c83[] = $B3a1a; 
goto F5873; 
B9245: 
$B3a1a['item_price'] = $bd5a9; 
goto c6277; 
Ab346: 
$B3a1a['brand'] = isset($ea436['manufacturer']) ? $this->cleanStr($ea436['manufacturer']) : $this->getProductBrandName($bf361); 
goto B5d93; 
B2652: 
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) { 
goto E6ba7; 
} 
goto fe158; 
e7ffc: 
$D2e5e = 0; 
goto C7e34; 
B5d93: 
$B3a1a['title'] = $this->tagmangerPtitle($B3a1a['name'], $B3a1a['brand'], $B3a1a['model'], $bf361); 
goto De7c2; 
e69d4: 
$A50b2 = $this->gtm->getProductCatName($bf361); 
goto Af25c; 
a57d8: 
$Ac84c = 0.0; 
goto e7ffc; 
d7c85: 
$B3a1a['pid'] = $this->tagmangerPmap($B3a1a['model'], $B3a1a['sku'], $bf361); 
goto Ab346; 
e63c9: 
Ef946: 
goto d422c; 
C790e: 
$B3a1a['item_list_id'] = $B59f5; 
goto B9245; 
c6277: 
$B3a1a['pprice'] = number_format((float) $f97f8, 2, '.', ''); 
goto B6310; 
e6993: 
$B3a1a['category_name'] = $B5a42; 
goto F2969; 
D2c63: 
$B3a1a['item_category'] = $A50b2['item_category']; 
goto C5b56; 
ba26b: 
$B3a1a['category'] = $B5a42; 
goto E2fc5; 
fd626: 
if (!(isset($ea436['special']) && (float) $ea436['special'])) { 
goto B3eb8; 
} 
goto f9e9f; 
F2969: 
$B3a1a['item_category'] = $B5a42; 
goto ba26b; 
ed5c4: 
B84f6: 
goto F71a1; 
F71a1: 
$f97f8 = $this->currency->format($this->tax->calculate($bd5a9, $B3a1a['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto f1452; 
A14c3: 
$ea436 = $this->getProductInfo($bf361); 
goto e69d4; 
d422c: 
$f97f8 = 0.0; 
goto a57d8; 
D09d2: 
$B3a1a['category_name'] = $A50b2['category']; 
goto D2c63; 
fe158: 
$bd5a9 = isset($ea436['price']) ? $ea436['price'] : 0; 
goto e4d41; 
F5873: 
de242: 
goto fc661; 
fc661: 
} 
goto Dfb11; 
eb2da: 
if (!empty($B5a42)) { 
goto F9098; 
} 
goto ceb3a; 
ceb3a: 
$B5a42 = 'Modules'; 
goto a5afc; 
Fb4fa: 
Cd49f: 
goto f53b3; 
e997d: 
$F5c83 = []; 
goto eb2da; 
Dfb11: 
A511a: 
goto D71f9; 
c4e72: 
} 
public function getProducts($c1b93 = array(), $f26f8 = array()) 
{ 
goto D8a6d; 
A9b0b: 
$E10b1 = $this->config(); 
goto bc62a; 
bcf01: 
eee56: 
goto Bd68b; 
f235f: 
if (!$E10b1['tiktok_status']) { 
goto F333e; 
} 
goto ea0bd; 
b7305: 
$b1eff = '9-' . $this->eventid(); 
goto Bb608; 
c4828: 
if ($aea02) { 
goto Bdfa3; 
} 
goto b7305; 
bd8f0: 
b04d5: 
goto e97e0; 
fcb8c: 
$C431a = []; 
goto a6f41; 
a27f7: 
$E79b5 = []; 
goto e07fa; 
Eacc6: 
$F5c83 = []; 
goto a27f7; 
df1ac: 
if (isset($E10b1['twitter_search']) && !empty($E10b1['twitter_search'])) { 
goto e2c4a; 
} 
goto Af238; 
f97fb: 
$f6a53 = []; 
goto Db8d6; 
e97e0: 
$B3a1a = number_format((float) $C87b3, 2, '.', ''); 
goto ac554; 
Bd4e4: 
$C431a['search_string'] = $aea02; 
goto d15d0; 
ecbbb: 
$Dc937 = []; 
goto ea41b; 
Aeb42: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'search_term' => $aea02, 'term' => $aea02, 'items' => $de949]; 
goto B54e4; 
Ba556: 
a75f0: 
goto a1e95; 
ac8f7: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto A3eb8; 
} 
goto a2732; 
c4874: 
$Bc909 = []; 
goto a7acc; 
a9499: 
if (!($this->check_array($c1b93) && count($c1b93) < 1)) { 
goto Fb3c2; 
} 
goto B7fbf; 
A1b6e: 
goto b0117; 
goto E22c7; 
Bb545: 
return $c1b93; 
goto b7741; 
d1f31: 
A01c4: 
goto Baf58; 
Bf964: 
$a0e51['query'] = $aea02; 
goto e60f3; 
ba856: 
$B59f5 = $f26f8['list_id']; 
goto Aaf75; 
e4421: 
F333e: 
goto d129a; 
c3045: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto eee56; 
} 
goto A968d; 
d8ce3: 
if ($this->check_array($c1b93)) { 
goto c2efb; 
} 
goto be1a2; 
deee3: 
$F4056 = []; 
goto D868d; 
B6121: 
goto d012c; 
goto Ba705; 
E7c75: 
$b50e4 = $f26f8['category']; 
goto Eacc6; 
ca1ea: 
$Bc03e = ['content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'content_type' => 'product', 'search_string' => $aea02]; 
goto c3045; 
Cb681: 
d012c: 
goto f408b; 
f408b: 
e0666: 
goto f05f4; 
F7146: 
$C8d5b['description'] = 'View Search Results'; 
goto C12b5; 
e60f3: 
ab70f: 
goto e4421; 
Ee329: 
$fe56e = []; 
goto d8ce3; 
Cf6a4: 
$C8d5b = []; 
goto fcb8c; 
Daead: 
$fe56e = ['send_to' => 'ads', 'value' => $B3a1a, 'items' => $e5684]; 
goto B087d; 
D8a6d: 
$B5a42 = $f26f8['list_name']; 
goto ba856; 
Fb7bf: 
$A6384 = 'searchResult'; 
goto Ba556; 
Bd68b: 
$C51cf = 'Search'; 
goto Cb681; 
bff84: 
F4e56: 
goto c4828; 
bc62a: 
foreach ($c1b93 as $B3a1a) { 
goto B7ecf; 
Daa08: 
$B3a1a['item_category5'] = ''; 
goto Be757; 
D66a7: 
$B3a1a['brand'] = isset($ea436['manufacturer']) ? $this->cleanStr($ea436['manufacturer']) : $this->getProductBrandName($bf361); 
goto C9c6f; 
Cec47: 
$B3a1a['title'] = $this->tagmangerPtitle($B3a1a['name'], $B3a1a['brand'], $B3a1a['model'], $bf361); 
goto F054c; 
Ad11b: 
$B3a1a['item_list_name'] = $B5a42; 
goto C4bb7; 
A986f: 
$e5684[] = ['id' => (string) $B3a1a['pid'], 'google_business_vertical' => 'retail']; 
goto A03af; 
b49e7: 
$B3a1a['pprice'] = number_format((float) $f97f8, 2, '.', ''); 
goto dd6f8; 
ff87e: 
if (empty($B5a42)) { 
goto bea0f; 
} 
goto d072d; 
ba978: 
$bd5a9 = 0; 
goto f0249; 
A3b51: 
fb3c2: 
goto ee295; 
Dc8ae: 
$B3a1a['item_category'] = ''; 
goto F7093; 
B254b: 
$B3a1a['item_category4'] = ''; 
goto Daa08; 
feccd: 
$B3a1a['item_list_id'] = $B59f5; 
goto e3fb0; 
d7cef: 
$B3a1a['sku'] = isset($ea436['sku']) ? $ea436['sku'] : $bf361; 
goto Ef701; 
A0306: 
if (empty($B59f5)) { 
goto Ac53a; 
} 
goto feccd; 
c5fee: 
$bd5a9 = isset($ea436['special']) ? $ea436['special'] : 0; 
goto A06be; 
C4bb7: 
ed379: 
goto D8d42; 
c623d: 
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) { 
goto b9ee4; 
} 
goto Bf2c5; 
Ae573: 
$B3a1a['model'] = isset($ea436['model']) ? $ea436['model'] : $bf361; 
goto a28bd; 
e469a: 
b1cb7: 
goto B4690; 
e1987: 
$de949[] = ['item_id' => $B3a1a['pid'], 'item_name' => $B3a1a['title'], 'item_brand' => $B3a1a['brand'], 'item_list_name' => $B3a1a['item_list_name'], 'item_list_id' => $B3a1a['item_list_id'], 'item_category' => $B3a1a['item_category'], 'item_category2' => $B3a1a['item_category2'], 'item_category3' => $B3a1a['item_category3'], 'item_category4' => $B3a1a['item_category4'], 'item_category5' => $B3a1a['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $B3a1a['pprice'], 'curency' => $E10b1['currency'], 'index' => $d6674, 'quantity' => 1]; 
goto ccb61; 
cb231: 
$B3a1a['item_category2'] = $A50b2['item_category2']; 
goto Eec23; 
Dbcf8: 
$A50b2 = $this->gtm->getProductCatName($bf361); 
goto e201e; 
f0249: 
$bf361 = $B3a1a['product_id']; 
goto Ee9ea; 
ba579: 
$B3a1a['item_category5'] = $A50b2['item_category5']; 
goto ff87e; 
F2b35: 
goto D225e; 
goto e469a; 
a76c5: 
b5a3a: 
goto e37f5; 
A8148: 
$B3a1a['item_list_name'] = $B59f5; 
goto Ad3c5; 
Ad3c5: 
$B3a1a['category_name'] = $B5a42; 
goto Dc8ae; 
F7093: 
$B3a1a['item_category2'] = ''; 
goto Efced; 
Abf8e: 
if ($F61a1) { 
goto e3e1c; 
} 
goto D66a7; 
C9c6f: 
goto e87b0; 
goto B67a8; 
d3049: 
$B3a1a['item_list_name'] = $A50b2['item_list_name']; 
goto de2c6; 
F9046: 
cf55a: 
goto D34ec; 
Dafe1: 
if (!(isset($ea436['special']) && (float) $ea436['special'])) { 
goto B5ec8; 
} 
goto c5fee; 
Ac2c1: 
$B1b4e = $Ed420; 
goto b6596; 
A03af: 
$C87b3 += $f97f8; 
goto Ac2c1; 
Efced: 
$B3a1a['item_category3'] = ''; 
goto B254b; 
D34ec: 
if (!(!empty($da543) && $da543 == 'product/search')) { 
goto ed379; 
} 
goto bf83e; 
Ef917: 
$B3a1a['item_category4'] = $A50b2['item_category4']; 
goto ba579; 
B67a8: 
e3e1c: 
goto B0b02; 
B7ecf: 
if (!(!isset($B3a1a['product_id']) || !isset($B3a1a['price']))) { 
goto F9dc6; 
} 
goto af6d1; 
e7358: 
$f6a53[] = ['content_category' => $B3a1a['item_list_name'], 'content_name' => $B3a1a['title'], 'price' => $B3a1a['pprice'], 'content_id' => $B3a1a['pid'], 'quantity' => 1, 'brand' => $B3a1a['brand']]; 
goto A392e; 
f79f2: 
b9ee4: 
goto Dafe1; 
Ae2ea: 
e87b0: 
goto Cec47; 
fa6c4: 
$D2e5e = 0; 
goto ba978; 
D411f: 
F9dc6: 
goto c40d3; 
F054c: 
$B3a1a['tax_class_id'] = $ea436['tax_class_id']; 
goto c623d; 
A9188: 
if (!($Ed420 > $Ce0e6)) { 
goto b1cb7; 
} 
goto F2b35; 
d072d: 
$B3a1a['item_list_name'] = $B5a42; 
goto f049f; 
Bf2c5: 
$bd5a9 = isset($ea436['price']) ? $ea436['price'] : 0; 
goto f79f2; 
A649d: 
$d6674++; 
goto ccfe6; 
D6a7d: 
$Ac84c = 0.0; 
goto fa6c4; 
dd6f8: 
$F5c83[] = $B3a1a; 
goto A9188; 
B0b02: 
$B3a1a['brand'] = $this->cleanStr($F61a1); 
goto Ae2ea; 
Eec23: 
$B3a1a['item_category3'] = $A50b2['item_category3']; 
goto Ef917; 
c40d3: 
$f97f8 = 0.0; 
goto D6a7d; 
Ef701: 
$B3a1a['gtin'] = isset($ea436['ean']) ? $ea436['ean'] : ''; 
goto Ae573; 
D8d42: 
$B3a1a['item_price'] = $bd5a9; 
goto b49e7; 
e201e: 
goto Babc9; 
goto a76c5; 
A06be: 
B5ec8: 
goto Cf69f; 
B4690: 
$C59b9[] = $A50b2; 
goto e1987; 
B5ee6: 
$B3a1a['item_category'] = $A50b2['item_category']; 
goto cb231; 
Be757: 
goto cf55a; 
goto A3b51; 
Ee9ea: 
$ea436 = $this->getProductInfo($bf361); 
goto Dc03d; 
de2c6: 
$B3a1a['category_name'] = $A50b2['category']; 
goto B5ee6; 
f049f: 
bea0f: 
goto A0306; 
ee295: 
$B3a1a['item_list_id'] = $A50b2['item_list_id']; 
goto d3049; 
ccb61: 
$f445c[] = ['content_id' => $B3a1a['pid'], 'content_type' => 'product', 'content_name' => $B3a1a['title'], 'content_price' => $B3a1a['pprice']]; 
goto c08ca; 
b6596: 
$Ed420++; 
goto A649d; 
Dc03d: 
if ($b50e4) { 
goto b5a3a; 
} 
goto Dbcf8; 
a28bd: 
$B3a1a['pid'] = $this->tagmangerPmap($B3a1a['model'], $B3a1a['sku'], $bf361); 
goto Abf8e; 
b7151: 
if ($this->check_array($A50b2)) { 
goto fb3c2; 
} 
goto A9a04; 
e3fb0: 
Ac53a: 
goto F9046; 
bf83e: 
$B3a1a['item_list_id'] = $B59f5; 
goto Ad11b; 
ccfe6: 
D225e: 
goto c1e70; 
c08ca: 
$C3d53[] = ['id' => $B3a1a['pid'], 'quantity' => 1, 'item_price' => $B3a1a['pprice']]; 
goto e7358; 
A392e: 
$F4056[] = $B3a1a['pid']; 
goto c30de; 
af6d1: 
goto D225e; 
goto D411f; 
e37f5: 
$A50b2 = $this->gtm->getProductCatName($bf361, $b50e4); 
goto f10d6; 
f10d6: 
Babc9: 
goto d7cef; 
c30de: 
$Dc937[] = $B3a1a['pid']; 
goto A986f; 
A9a04: 
$B3a1a['item_list_id'] = $B5a42; 
goto A8148; 
Cf69f: 
$f97f8 = $this->currency->format($this->tax->calculate($bd5a9, $B3a1a['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto b7151; 
c1e70: 
} 
goto bd8f0; 
a6f41: 
$C3d53 = []; 
goto deee3; 
E6a63: 
D1afb: 
goto D58a4; 
F7e59: 
if (!$aea02) { 
goto ab70f; 
} 
goto Bf964; 
C430c: 
$A6384 = 'listingView'; 
goto f0fe2; 
Adf07: 
b24c1: 
goto f235f; 
De3c6: 
$b50e4 = 0; 
goto caab3; 
F52de: 
$a6560 = []; 
goto Eaec5; 
d15d0: 
$C8d5b['search_string'] = $aea02; 
goto F7146; 
Af238: 
$F7fe3 = 0; 
goto b53be; 
af37b: 
Fb3c2: 
goto A9b0b; 
D8a25: 
$c3442 = 'ViewCategory'; 
goto Df903; 
d129a: 
if (!$E10b1['snap_pixel_status']) { 
goto D1afb; 
} 
goto Ee397; 
B474e: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $de949]; 
goto A1b6e; 
A7b3b: 
$B1d6b = ''; 
goto ecbbb; 
Ee397: 
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $B1b4e, 'item_category' => $B5a42, 'description' => 'Product Category View']; 
goto A0cb4; 
Dde03: 
if (!(isset($aea02) && !empty($aea02))) { 
goto Eda33; 
} 
goto Bd4e4; 
F911f: 
if (!$E10b1['cj_status']) { 
goto A01c4; 
} 
goto C9596; 
be1a2: 
return false; 
goto bf53d; 
f7599: 
$c1b93 = ['products' => $F5c83, 'error' => 'false', 'page_type' => 'listing', 'category_id' => $b50e4, 'category_name' => $B5a42, 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'matomo' => $B1d6b, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'tiktok' => $a0e51, 'items' => $de949, 'remarketing' => $fe56e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f]; 
goto Bb545; 
Ca563: 
$Ed420 = 1; 
goto f1482; 
Fc195: 
$f445c = []; 
goto b04f1; 
C9596: 
$Bc909['cj_page'] = 'category'; 
goto d1f31; 
Ba705: 
A75b0: 
goto ca1ea; 
b53be: 
goto Cab45; 
goto A1f27; 
D6663: 
$Bc03e = ['content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'content_type' => 'product']; 
goto ac8f7; 
ba4df: 
$B1d6b = $B5a42; 
goto Dcc67; 
ad391: 
$baf8f = ['search_string' => $aea02, 'value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto Adf07; 
Dcc67: 
c39a1: 
goto C420c; 
C12b5: 
Eda33: 
goto E6a63; 
e07fa: 
$d6674 = 0; 
goto D6170; 
f05f4: 
if (!($E10b1['matomo_status'] && !$aea02)) { 
goto c39a1; 
} 
goto ba4df; 
f0fe2: 
goto a75f0; 
goto b043d; 
Eaec5: 
$fe56e = []; 
goto f97fb; 
A0cb4: 
$C431a = ['content_category' => $B5a42, 'currency' => $E10b1['currency'], 'content_ids' => $Dc937, 'contents' => $C3d53, 'value' => $B3a1a]; 
goto Dde03; 
E0953: 
$Ae2c5 = 0; 
goto Ca563; 
a1e95: 
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) { 
goto b24c1; 
} 
goto ad391; 
D868d: 
$e5684 = []; 
goto Bd0a6; 
Aaf75: 
$aea02 = $f26f8['search']; 
goto e3137; 
e3137: 
$F61a1 = $f26f8['brand']; 
goto E7c75; 
A968d: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto bcf01; 
A1f27: 
e2c4a: 
goto b495f; 
ac554: 
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) { 
goto F4e56; 
} 
goto df1ac; 
b495f: 
$F7fe3 = $E10b1['twitter_search']; 
goto C9ae6; 
bf53d: 
c2efb: 
goto a9499; 
Baf58: 
if (!$E10b1['pixel']) { 
goto e0666; 
} 
goto e4e8d; 
a7acc: 
$Bc03e = false; 
goto Ee329; 
Db8d6: 
$a0e51 = []; 
goto Cf6a4; 
b043d: 
Bdfa3: 
goto B7758; 
b04f1: 
$F7fe3 = 0; 
goto A7b3b; 
D58a4: 
if (isset($aea02) && !empty($aea02)) { 
goto Ec0a0; 
} 
goto B474e; 
f1482: 
$Ce0e6 = 20; 
goto Ee18e; 
F62d1: 
$Bc3c1 = 'view_search_results'; 
goto Fb7bf; 
F2128: 
A3eb8: 
goto Dded4; 
Df903: 
$Bc3c1 = 'view_item_list'; 
goto C430c; 
D6170: 
$C87b3 = 0; 
goto E0953; 
B7fbf: 
return false; 
goto af37b; 
d5173: 
$Abd5a = explode('_', (string) $this->request->get['path']); 
goto E6988; 
E6a2c: 
C3b41: 
goto d5173; 
B4fa0: 
$c3442 = 'viewSearch'; 
goto F62d1; 
Dded4: 
$C51cf = 'ViewCategory'; 
goto B6121; 
B7758: 
$b1eff = '2-' . $this->eventid(); 
goto e0b3e; 
ea41b: 
$de949 = []; 
goto F52de; 
ea0bd: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $B5a42]; 
goto F7e59; 
C420c: 
if (isset($this->request->get['path'])) { 
goto C3b41; 
} 
goto De3c6; 
e4e8d: 
if ($aea02) { 
goto A75b0; 
} 
goto D6663; 
caab3: 
goto B0af7; 
goto E6a2c; 
C9ae6: 
Cab45: 
goto bff84; 
Ee18e: 
$baf8f = []; 
goto Fc195; 
e0b3e: 
$Ab362 = 'view_search_result'; 
goto B4fa0; 
B087d: 
$Bc909 = ['event' => $A6384, 'eventAction' => $A6384, 'eventLabel' => $A6384, 'content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'ga' => $a6560, 'content_type' => 'product', 'search' => $aea02, 'category' => $B5a42, 'brand' => $F61a1, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'pixel_value' => $B3a1a, 'fb_currency' => $E10b1['currency'], 'event_id' => $b1eff]; 
goto F911f; 
a9daa: 
B0af7: 
goto f7599; 
E22c7: 
Ec0a0: 
goto Aeb42; 
E6988: 
$b50e4 = (int) array_pop($Abd5a); 
goto a9daa; 
a2732: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto F2128; 
Bd0a6: 
$B1b4e = 0; 
goto c4874; 
B54e4: 
b0117: 
goto Daead; 
Bb608: 
$Ab362 = 'view_item_list'; 
goto D8a25; 
b7741: 
} 
public function prepareAddtoCart($bf361, $Be6f2, $Dd681, $e903c, $dd54d, $c5bff = 0) 
{ 
goto ff8c9; 
Cea2d: 
$a21f7 = 0; 
goto A558f; 
Ec825: 
B0085: 
goto f2afe; 
d7e1c: 
b15b7: 
goto e56b8; 
fdc0c: 
if (isset($E10b1['twitter_addcart']) && !empty($E10b1['twitter_addcart'])) { 
goto F96a3; 
} 
goto d2e86; 
C0e1c: 
$E4cba['eventdata']['data']['discount'] = 0; 
goto d6dc4; 
f6add: 
if (!$E10b1['pixel']) { 
goto B6998; 
} 
goto cbf8d; 
c74a5: 
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto ec25c; 
d5731: 
$C8d5b = ['client_deduplication_id' => $b1eff, 'event_id' => $b1eff, 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => $Dd681, 'brands' => $da8eb, 'item_category' => isset($B3525) ? $B3525 : '', 'description' => 'Item Added to Cart']; 
goto F3bae; 
E3633: 
B6998: 
goto F84fa; 
e5296: 
goto d92b2; 
goto D9481; 
A68ff: 
$Df775 = 'Tiktok'; 
goto B751d; 
c5c62: 
$e2e7f = $e2e7f / $F6719; 
goto eebcb; 
ccfc9: 
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')); 
goto D5a58; 
aeb84: 
if (!$this->check_array($d0d28)) { 
goto F4357; 
} 
goto b9be4; 
d4c8d: 
$Ae2c5 = number_format((float) $abe29, 2, '.', ''); 
goto b7226; 
C8e0a: 
$e3b23 = $Bc03e; 
goto b40df; 
effa1: 
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1); 
goto a8ea1; 
E5650: 
$this->sendinbluePost($E4cba, 'trackEvent'); 
goto f83df; 
C1f77: 
Ffb01: 
goto Fc7f4; 
d5cb8: 
A165f: 
goto db602; 
C69c6: 
$b8fc6 = 0; 
goto Ad582; 
Ab96b: 
$E10b1['event_id'] = $b1eff; 
goto C30d9; 
a8ea1: 
$da8eb = $this->getProductBrandName($Be6f2['product_id']); 
goto Eb7e4; 
d4f32: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $Bf5ae]; 
goto a0e93; 
Cba1c: 
$d6674++; 
goto F099f; 
fffd0: 
$Fe536 = $Df775 . ' / Result: error occourced data not posted'; 
goto ea8a1; 
B4a6a: 
Ef86d: 
goto Ccc5c; 
C476e: 
dd8e3: 
goto Adf51; 
eebcb: 
$eb419 = $ac091 - $e2e7f; 
goto cc2d0; 
D6792: 
$E7710 = array_keys($e903c); 
goto F66e3; 
Ddcf2: 
goto dd8e3; 
goto C1f77; 
A4e22: 
$f6a53[] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $bd5a9, 'content_id' => $f95b0, 'quantity' => $Dd681, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae, 'content_type' => 'product']; 
goto d4f32; 
D84de: 
$bd5a9 = 0; 
goto Bab00; 
F58bd: 
a50d2: 
goto b6fde; 
D1727: 
if (!$bfd18) { 
goto a053b; 
} 
goto c5c62; 
a0afc: 
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false); 
goto A2ec4; 
e3718: 
$Df775 = 'Snapchat'; 
goto a2c73; 
Bfad8: 
return $A31ff; 
goto A8013; 
A558f: 
$f9e18 = 0; 
goto D84de; 
A4ca6: 
b7621: 
goto f16a0; 
b9be4: 
foreach ($d0d28 as $Eed71 => $B3a1a) { 
$C9a4b .= "
" . strtoupper($Eed71) . " ----> " . $B3a1a['post_result'] . "
" . $B3a1a['message'] . "
"; 
b1de6: 
} 
goto b8fac; 
d2e86: 
$F7fe3 = 0; 
goto e5296; 
Fc7f4: 
$Fe536 = $Fe536; 
goto C476e; 
fbe6a: 
$Fe536 = $Df775 . ' / Result: error occourced data not posted'; 
goto Ddcf2; 
B1aac: 
if (!isset($A50b2)) { 
goto bb8a6; 
} 
goto ec24a; 
B751d: 
$Fe536 = $Df775 . ' / Result: Success data sent'; 
goto Ed46d; 
Fd3c1: 
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', ''); 
goto C0e1c; 
E7143: 
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536]; 
goto F0515; 
ea8d8: 
$b1eff = '5-' . $this->eventid(); 
goto c6a81; 
b9482: 
if (!($E10b1['snap_pixel_api'] && !empty($E10b1['snap_pixel_token']) && isset($C431a))) { 
goto a6cf5; 
} 
goto bbe4a; 
ac72b: 
$F5c83 = $this->tiktokAPI($E10b1, 'AddToCart', $a0e51, $Ee7a1); 
goto F7d09; 
bbe4a: 
$F5c83 = $this->snapchatAPI($E10b1, 'ADD_CART', $C431a, $Ede1c, $b1eff); 
goto c6874; 
bdd78: 
$bd5a9 = $Be6f2['special']; 
goto f75f0; 
f1af2: 
Af85a: 
goto E3633; 
f83df: 
E954d: 
goto b7d77; 
b5d19: 
D71cd: 
goto bbaac; 
B415a: 
c98cf: 
goto b9482; 
Ee88b: 
$Ee7a1 = $A6899['tiktok_user_data']; 
goto d7e1c; 
c6874: 
if (!$Cc580) { 
goto C2fb0; 
} 
goto e3718; 
f75f0: 
C8913: 
goto E7b0c; 
F2c12: 
$bd5a9 = $Be6f2['price']; 
goto Dcff9; 
A7222: 
$C9a4b = ''; 
goto aeb84; 
D38e6: 
if (!(isset($A6899['snapchat_user_data']) && $A6899)) { 
goto c98cf; 
} 
goto d708e; 
fdf92: 
$e41da = $A50b2['item_category3']; 
goto c4def; 
fcc2c: 
$a79aa = []; 
goto b4c01; 
F099f: 
goto a703f; 
goto d3b2a; 
Fc848: 
$C431a = []; 
goto f0059; 
B1751: 
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) { 
goto E9224; 
} 
goto a0afc; 
c3605: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto Ffb01; 
} 
goto fbe6a; 
d6dc4: 
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', ''); 
goto Ba558; 
d2291: 
$f97f8 = 0; 
goto B618a; 
Accda: 
A3fb6: 
goto f1af2; 
ec24a: 
$D1f20 = $A50b2['category']; 
goto e042d; 
f5169: 
if (!($d6674 < $E01e9)) { 
goto A056a; 
} 
goto Af290; 
B6a94: 
$F6719 = $E10b1['tax']; 
goto F9613; 
ec93b: 
foreach ($dd54d as $Ce358) { 
goto ba9b7; 
ba9b7: 
foreach ($E3fe4 as $a1c24) { 
goto ccf92; 
A7932: 
c4a52: 
goto F0b49; 
fa8d0: 
Be32e: 
goto fae4c; 
B6e1d: 
$Fe096 = isset($Ce358['option_value']) ? $Ce358['option_value'] : false; 
goto A7932; 
d1f56: 
$Fe096 = isset($Ce358['product_option_value']) ? $Ce358['product_option_value'] : false; 
goto da35e; 
ac637: 
if (!($Ed420 > 0)) { 
goto D5dc0; 
} 
goto c17ca; 
c3dd3: 
a748c: 
goto B6e1d; 
f02cf: 
goto Fcb49; 
goto Ef69f; 
Adda2: 
D5dc0: 
goto f2cbd; 
ccf92: 
if (!($Ce358['product_option_id'] == $a1c24['option_id'])) { 
goto df9f9; 
} 
goto ac637; 
ef92c: 
if (!(isset($Fe096) && !empty($Fe096))) { 
goto Daf94; 
} 
goto a57b4; 
D6261: 
df9f9: 
goto fa8d0; 
Ef69f: 
Df366: 
goto C4d0a; 
F0b49: 
if ($this->check_array($Fe096)) { 
goto Df366; 
} 
goto ef92c; 
Ecd3f: 
Daf94: 
goto f02cf; 
e0772: 
if (substr(VERSION, 0, 1) == '1') { 
goto a748c; 
} 
goto d1f56; 
C4d0a: 
foreach ($Fe096 as $B3a1a) { 
goto A1f65; 
A1f65: 
if (!($a1c24['option_values'] == $B3a1a['product_option_value_id'])) { 
goto f7de1; 
} 
goto B0e35; 
c57ea: 
ea455: 
goto b390c; 
B0e35: 
$D2e00 .= $B3a1a['name']; 
goto f2d81; 
f2d81: 
f7de1: 
goto c57ea; 
b390c: 
} 
goto e97fd; 
c17ca: 
$D2e00 .= ", "; 
goto Adda2; 
b6163: 
Fcb49: 
goto D6261; 
da35e: 
goto c4a52; 
goto c3dd3; 
f2cbd: 
$Ed420++; 
goto e0772; 
a57b4: 
$D2e00 .= $Fe096; 
goto Ecd3f; 
e97fd: 
D840a: 
goto b6163; 
fae4c: 
} 
goto C102a; 
Ba3fe: 
c779f: 
goto C7944; 
C102a: 
D5dfe: 
goto Ba3fe; 
C7944: 
} 
goto e1cde; 
B13e5: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949]; 
goto A34b6; 
db602: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto D267b; 
} 
goto fdc0c; 
b8fac: 
f6371: 
goto A662c; 
e715e: 
$E4cba['eventdata']['data']['currency'] = $E10b1['currency']; 
goto fcc2c; 
c6a81: 
$D2e00 = ''; 
goto e9da6; 
b298c: 
$B3525 = $A50b2['item_list_name']; 
goto b06da; 
E5b7f: 
$Be6f2['price'] = $Be6f2['price'] + $b8fc6; 
goto b78f3; 
F9613: 
$F7fe3 = 0; 
goto C8e0c; 
e56b8: 
if (!$this->checkapiStatus('tiktok')) { 
goto E4f30; 
} 
goto ac72b; 
Ddecf: 
$e34fb = $E10b1['currency']; 
goto B1751; 
a0e93: 
if (!(isset($A6899['tiktok_user_data']) && $A6899)) { 
goto b15b7; 
} 
goto Ee88b; 
F84fa: 
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) { 
goto E954d; 
} 
goto ac8df; 
Af290: 
if (is_array($e903c[$E7710[$d6674]])) { 
goto Deeba; 
} 
goto E7ba5; 
c1245: 
foreach ($e903c[$E7710[$d6674]] as $b3ed7) { 
$E3fe4[] = ['option_id' => $E7710[$d6674], 'option_values' => $b3ed7]; 
Ad217: 
} 
goto B4a6a; 
Adf51: 
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536]; 
goto Accda; 
ea8a1: 
goto A6fc1; 
goto Ec825; 
Bee68: 
D8b27: 
goto F2c12; 
f2afe: 
$Fe536 = $Fe536; 
goto D03ae; 
bbaac: 
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536]; 
goto Dd47e; 
C79d9: 
$f445c = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => $Dd681, 'content_price' => $bd5a9, 'content_group_id' => '']; 
goto c74a5; 
Dbefc: 
$Fe536 = $Df775 . ' / Result: error occourced data not posted'; 
goto B9c3c; 
Ad582: 
$Cc580 = false; 
goto b7bda; 
C8e0c: 
$baf8f = []; 
goto f38d3; 
C21e8: 
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']); 
goto bb17b; 
b06da: 
$A1d57 = $A50b2['item_category']; 
goto A52ab; 
f38d3: 
$f445c = []; 
goto D33b3; 
F7d09: 
if (!$Cc580) { 
goto ff9aa; 
} 
goto A68ff; 
b7d77: 
if (!$Cc580) { 
goto fdab8; 
} 
goto A7222; 
c9950: 
if (!(isset($A6899['pixel_user_data']) && $A6899)) { 
goto F83f2; 
} 
goto a8f11; 
E27ab: 
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', ''); 
goto Dd4a6; 
Bf928: 
Cfa3a: 
goto effa1; 
b8ce6: 
$bd5a9 = number_format((float) $bd5a9, 2, '.', ''); 
goto C8844; 
C5003: 
$Ed420 = 0; 
goto ec93b; 
A52ab: 
$F9d4b = $A50b2['item_category2']; 
goto fdf92; 
e38bf: 
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto cf3ae; 
Ccc5c: 
B7b52: 
goto D89e9; 
bd697: 
E5ccf: 
goto A08c3; 
f1308: 
F83f2: 
goto e634d; 
cbf8d: 
$D3fa5[] = ['id' => $f95b0, 'quantity' => $Dd681]; 
goto A32bb; 
b7bda: 
if (!(isset($E10b1['debug_api']) && $E10b1['debug_api'])) { 
goto D2913; 
} 
goto eee7f; 
f2cb7: 
a6cf5: 
goto d5cb8; 
ff8c9: 
$E10b1 = $this->config(); 
goto Ff191; 
e3e8c: 
$ac091 = $this->cart->getTotal(); 
goto f9a03; 
d2b99: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto ef641; 
} 
goto Dbefc; 
D9481: 
F96a3: 
goto a03d0; 
C8844: 
$B3a1a = number_format((float) $B3a1a, 2, '.', ''); 
goto d4c8d; 
cc2d0: 
a053b: 
goto E27ab; 
a3d89: 
fdab8: 
goto dd3b7; 
Ba558: 
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL')); 
goto e715e; 
D8f9d: 
goto B7b52; 
goto b71bd; 
a3a07: 
$Fe536 = $Df775 . ' / Result: Success data sent'; 
goto c3605; 
D89e9: 
E4bc3: 
goto Cba1c; 
bb290: 
a703f: 
goto f5169; 
f0059: 
$Ede1c = []; 
goto d2291; 
F566d: 
$e7511 = $bd5a9; 
goto F58bd; 
B1397: 
E9224: 
goto b8ce6; 
F66e3: 
$E01e9 = count($e903c); 
goto f6ce2; 
A32bb: 
$Bc03e = ['contents' => $D3fa5, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb, 'product_catalog_id' => $E10b1['fb_catalog_id'], 'quantity' => $Dd681, 'content_ids' => $f95b0]; 
goto c9950; 
e634d: 
if (!$E10b1['fb_api']) { 
goto Af85a; 
} 
goto C8e0a; 
Ba67c: 
$E3fe4 = []; 
goto D6792; 
E7ba5: 
$E3fe4[] = ['option_id' => $E7710[$d6674], 'option_values' => $e903c[$E7710[$d6674]]]; 
goto D8f9d; 
E8ffc: 
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', ''); 
goto Fd3c1; 
c1ba8: 
if (!$Cc580) { 
goto A3fb6; 
} 
goto ed856; 
Dd4a6: 
$E4cba['eventdata']['data']['shipping'] = 0; 
goto E8ffc; 
ea088: 
F4357: 
goto a3d89; 
ec25c: 
D267b: 
goto C329a; 
bb17b: 
$A6899 = $this->formatUserdata($E10b1); 
goto Bc6de; 
Da184: 
$Ee7a1 = []; 
goto fceac; 
b4c01: 
foreach ($Eeef5 as $ea436) { 
$a79aa[] = ['id' => $ea436['item_id'], 'name' => $ea436['item_name'], 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'url' => str_replace('&', '&', $this->url->link('product/product', 'product_id=' . $bf361))]; 
F41e9: 
} 
goto bd697; 
Dd47e: 
C2fb0: 
goto f2cb7; 
Ed46d: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto B0085; 
} 
goto fffd0; 
dd3b7: 
$A31ff = ['error' => 'false', 'action' => 'addToCart', 'data' => $c6ed3, 'fb_data' => $Bc03e, 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'user_data' => $A6899, 'event_id' => $b1eff]; 
goto Bfad8; 
e4620: 
ef641: 
goto f0b17; 
d3b2a: 
A056a: 
goto C5003; 
A2ec4: 
$e34fb = $E10b1['alt_currency']; 
goto B1397; 
A662c: 
$this->Log('API Post Results - ADD TO CART ' . $C9a4b); 
goto ea088; 
Caee8: 
E4f30: 
goto A4ca6; 
ac8df: 
$E4cba = ['email' => $E10b1['email'], 'event' => 'add_to_cart', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]]; 
goto e7580; 
f0d66: 
$f6a53 = []; 
goto Da184; 
b71bd: 
Deeba: 
goto c1245; 
D755f: 
$D2701 = $A50b2['item_category5']; 
goto e1522; 
Ed289: 
$Be6f2['sku'] = $Be6f2['model']; 
goto Bf928; 
e9da6: 
$Bc03e = false; 
goto B220f; 
e1522: 
bb8a6: 
goto C21e8; 
B9c3c: 
goto D71cd; 
goto e4620; 
cf3ae: 
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false); 
goto Ddecf; 
b7226: 
if (isset($Be6f2['sku'])) { 
goto Cfa3a; 
} 
goto Ed289; 
a8f11: 
$b098d = $A6899['pixel_user_data']; 
goto f1308; 
Bc6de: 
if (!$E10b1['tiktok_status']) { 
goto b7621; 
} 
goto A4e22; 
b78f3: 
$Be6f2['special'] = $Be6f2['special'] + $b8fc6; 
goto Ba67c; 
a03d0: 
$F7fe3 = $E10b1['twitter_addcart']; 
goto Ac795; 
f16a0: 
if (!$E10b1['snap_pixel_status']) { 
goto A165f; 
} 
goto d5731; 
Eb7e4: 
$A50b2 = $this->getProductCatName($bf361); 
goto B1aac; 
Bab00: 
$B3a1a = 0; 
goto C69c6; 
B220f: 
$bfd18 = $E10b1['override_tax']; 
goto B6a94; 
ed856: 
$Df775 = 'Meta Facebook'; 
goto a3a07; 
D33b3: 
$D3fa5 = []; 
goto A7770; 
Ff191: 
$a0e51 = []; 
goto ea8d8; 
a2c73: 
$Fe536 = $Df775 . ' / Result: Success data sent'; 
goto d2b99; 
D03ae: 
A6fc1: 
goto E7143; 
Ac795: 
d92b2: 
goto C79d9; 
F0515: 
ff9aa: 
goto Caee8; 
b6fde: 
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto e38bf; 
C329a: 
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => $D2e00, 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => $Dd681]; 
goto B13e5; 
fceac: 
$C8d5b = []; 
goto Fc848; 
d708e: 
$Ede1c = $A6899['snapchat_user_data']; 
goto B415a; 
f0b17: 
$Fe536 = $Fe536; 
goto b5d19; 
E7b0c: 
$B3a1a = $bd5a9 * $Dd681; 
goto ccfc9; 
C30d9: 
if (!(isset($e903c) && isset($dd54d))) { 
goto D8b27; 
} 
goto E72d8; 
A34b6: 
$c6ed3 = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff, 'name' => $Bf5ae, 'id' => $f95b0, 'price' => $B3a1a, 'brand' => $da8eb, 'category' => isset($D1f20) ? $D1f20 : '', 'quantity' => $Dd681, 'variant' => $D2e00]; 
goto f6add; 
d6f21: 
D2913: 
goto Ab96b; 
e042d: 
$d83ed = $A50b2['item_list_id']; 
goto b298c; 
c4def: 
$a2de8 = $A50b2['item_category4']; 
goto D755f; 
f6ce2: 
$d6674 = 0; 
goto bb290; 
D5a58: 
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) { 
goto a50d2; 
} 
goto F566d; 
e7580: 
$e2e7f = $this->cart->getSubTotal(); 
goto e3e8c; 
A7770: 
$b098d = []; 
goto f0d66; 
f9a03: 
$eb419 = $ac091 - $e2e7f; 
goto D1727; 
Dcff9: 
if (!(float) $Be6f2['special']) { 
goto C8913; 
} 
goto bdd78; 
E72d8: 
$b8fc6 = $this->getOptionPrice($bf361, $e903c, $Be6f2['price'], $Dd681); 
goto E5b7f; 
A08c3: 
$E4cba['eventdata']['data']['products'] = $a79aa; 
goto E5650; 
e1cde: 
Fbd4d: 
goto Bee68; 
F3bae: 
$C431a = ['content_category' => isset($B3525) ? $B3525 : '', 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $bd5a9, 'brands' => $da8eb, 'num_items' => $Dd681]; 
goto D38e6; 
b40df: 
$F5c83 = $this->facebookAPI($E10b1, 'AddToCart', $e3b23, $b098d, $b1eff); 
goto c1ba8; 
eee7f: 
$Cc580 = true; 
goto d6f21; 
B618a: 
$Ac84c = 0; 
goto Cea2d; 
A8013: 
} 
public function prepareRemoveCart($bf361, $Be6f2, $Dd681) 
{ 
goto D9a38; 
f9f9c: 
$Be6f2['sku'] = $Be6f2['model']; 
goto b9736; 
b5ea1: 
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) { 
goto dd521; 
} 
goto E5c6b; 
B329e: 
$A1d57 = $A50b2['item_category']; 
goto ee46e; 
Ff71d: 
$e41da = $A50b2['item_category3']; 
goto F7b8e; 
C467c: 
$A50b2 = $this->getProductCatName($bf361); 
goto Dbc20; 
fde73: 
$B3a1a = number_format((float) $B3a1a, 2, '.', ''); 
goto B2c24; 
c570f: 
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')); 
goto D1fce; 
f6b65: 
$e34fb = $E10b1['alt_currency']; 
goto ddcfd; 
Ac62e: 
$Ac84c = $this->currency->format($f97f8, $E10b1['alt_currency'], 0, false); 
goto e690e; 
A6797: 
$b1eff = '10-' . $this->eventid(); 
goto fbc6d; 
D588d: 
$A31ff = ['error' => 'false', 'action' => 'RemoveCart', 'data' => $c6ed3]; 
goto Cc4a7; 
ddcfd: 
dd521: 
goto c5d9a; 
b9736: 
E5bce: 
goto B60c5; 
d222a: 
$f97f8 = $ddb28 * $Dd681; 
goto d01ad; 
Cc4a7: 
return $A31ff; 
goto c48b8; 
F4d83: 
$e34fb = $E10b1['currency']; 
goto b5ea1; 
B5175: 
d4c6e: 
goto e0ceb; 
ee46e: 
$F9d4b = $A50b2['item_category2']; 
goto Ff71d; 
C0e00: 
$bd5a9 = 0; 
goto e0e83; 
d4898: 
$D1f20 = $A50b2['category']; 
goto d5822; 
e1095: 
$f9e18 = $this->tax->calculate($Be6f2['price'], $Be6f2['tax_class_id'], $this->config->get('config_tax')); 
goto E0447; 
C70cb: 
$D2701 = $A50b2['item_category5']; 
goto B5175; 
d65b0: 
$bd5a9 = $Be6f2['price']; 
goto f384c; 
E5c6b: 
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false); 
goto f6b65; 
A0262: 
$B3525 = $A50b2['item_list_name']; 
goto B329e; 
f3be0: 
$Be6f2['price'] = $Be6f2['price'] + $b8fc6; 
goto d65b0; 
F3418: 
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto Bcf57; 
e690e: 
if (isset($Be6f2['sku'])) { 
goto E5bce; 
} 
goto f9f9c; 
E0447: 
$ddb28 = $f9e18; 
goto ec73b; 
F4678: 
$b8fc6 = 0; 
goto e1377; 
e0ceb: 
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']); 
goto B8737; 
Dc223: 
$f97f8 = 0; 
goto Ef9dd; 
ec73b: 
$bd5a9 = $this->currency->format($ddb28, $this->session->data['currency'], 0, false); 
goto d222a; 
e701c: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949]; 
goto Ed237; 
f384c: 
$B3a1a = $bd5a9 * $Dd681; 
goto c570f; 
d01ad: 
$f97f8 = $this->currency->format($f97f8, $this->session->data['currency'], 0, false); 
goto Ac62e; 
a0e8d: 
$da8eb = $this->getProductBrandName($Be6f2['product_id']); 
goto C467c; 
d7808: 
$f9e18 = 0; 
goto C0e00; 
B2c24: 
$Ae2c5 = number_format((float) $abe29, 2, '.', ''); 
goto e1095; 
E82e9: 
e80d1: 
goto dfa04; 
D1fce: 
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) { 
goto C680d; 
} 
goto E1c47; 
c5d9a: 
$bd5a9 = number_format((float) $bd5a9, 2, '.', ''); 
goto fde73; 
Ef9dd: 
$Ac84c = 0; 
goto e7854; 
e1377: 
if ($D2945) { 
goto e80d1; 
} 
goto feef6; 
d5822: 
$d83ed = $A50b2['item_list_id']; 
goto A0262; 
E1c47: 
$e7511 = $bd5a9; 
goto Dd1d5; 
fbc6d: 
$D2945 = $this->check_array($Be6f2); 
goto Dc223; 
B8737: 
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => $Dd681]; 
goto e701c; 
B60c5: 
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1); 
goto a0e8d; 
e0e83: 
$B3a1a = 0; 
goto F4678; 
Dbc20: 
if (!isset($A50b2)) { 
goto d4c6e; 
} 
goto d4898; 
C0084: 
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto F3418; 
F7b8e: 
$a2de8 = $A50b2['item_category4']; 
goto C70cb; 
Bcf57: 
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false); 
goto F4d83; 
D9a38: 
$E10b1 = $this->config(); 
goto A6797; 
Dd1d5: 
C680d: 
goto C0084; 
feef6: 
return false; 
goto E82e9; 
Ed237: 
$c6ed3 = ['name' => $Bf5ae, 'id' => $f95b0, 'price' => $B3a1a, 'value' => $B3a1a, 'brand' => $da8eb, 'category' => isset($D1f20) ? $D1f20 : '', 'quantity' => $Dd681, 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff]; 
goto D588d; 
dfa04: 
$b8fc6 = $this->getOptionPrice($bf361, $Be6f2['option'], $Be6f2['price'], $Dd681); 
goto f3be0; 
e7854: 
$a21f7 = 0; 
goto d7808; 
c48b8: 
} 
public function prepareAddtoWishlist($bf361, $Be6f2) 
{ 
goto e59f5; 
a773a: 
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']); 
goto B29ec; 
Cb7df: 
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) { 
goto B226a; 
} 
goto bbee8; 
a122b: 
$bd5a9 = 0; 
goto f5305; 
be4d4: 
$bd5a9 = $Be6f2['special']; 
goto Ebd0b; 
d2222: 
$f445c = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => 1, 'content_price' => $bd5a9, 'content_group_id' => '']; 
goto C69b4; 
C2ec9: 
goto F964b; 
goto b3a79; 
B1e9d: 
$B3a1a = $bd5a9; 
goto e51e6; 
e8476: 
E9c65: 
goto c8e4b; 
b1cb1: 
$Ee7a1 = $A6899['tiktok_user_data']; 
goto d7e56; 
B29ec: 
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => 1]; 
goto b619d; 
b7ec8: 
$Bc03e = false; 
goto E9da3; 
c505e: 
$Dd945 = $this->gtm->snapchatAPI($E10b1, 'ADD_TO_WISHLIST', $C431a, $Ede1c, $b1eff); 
goto cd93b; 
A41bb: 
B226a: 
goto b6344; 
d7e56: 
Ebe31: 
goto F1c9e; 
F02ee: 
$C8d5b = []; 
goto B2c2a; 
e3551: 
d7c7f: 
goto fb1d8; 
B43c2: 
$b098d = []; 
goto b1998; 
Ed045: 
$f445c = []; 
goto Cc6a2; 
Ad5fe: 
$b8fc6 = 0; 
goto B43c2; 
b10aa: 
$F7fe3 = $E10b1['twitter_addwishlist']; 
goto A991a; 
B4d04: 
$D1f20 = $A50b2['category']; 
goto fdb67; 
b619d: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949]; 
goto Afdde; 
C69b4: 
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto e3551; 
a19ab: 
$Ae2c5 = number_format((float) $abe29, 2, '.', ''); 
goto C5dfb; 
f5305: 
$B3a1a = 0; 
goto Ad5fe; 
b6344: 
$bd5a9 = number_format((float) $bd5a9, 2, '.', ''); 
goto Ad13a; 
Cc6a2: 
$f97f8 = 0; 
goto D7c2f; 
f81aa: 
if (!(isset($A6899['pixel_user_data']) && $A6899)) { 
goto af159; 
} 
goto Ef099; 
Ad13a: 
$B3a1a = number_format((float) $B3a1a, 2, '.', ''); 
goto a19ab; 
d7527: 
a0e34: 
goto a773a; 
D8e98: 
$f9e18 = 0; 
goto a122b; 
b2671: 
$F7fe3 = 0; 
goto C28c5; 
cb5d9: 
C2db0: 
goto Cdda1; 
fc0c0: 
if ($D2945) { 
goto D4ca0; 
} 
goto a5e9d; 
fd380: 
if (!$E10b1['fb_api']) { 
goto Bc9ff; 
} 
goto Db88a; 
E082f: 
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto cd4ab; 
d63b9: 
$e41da = $A50b2['item_category3']; 
goto B3f69; 
fd86a: 
$D2701 = $A50b2['item_category5']; 
goto d7527; 
b24ab: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto d7c7f; 
} 
goto c367e; 
fb1d8: 
$c6ed3 = ['name' => $Bf5ae, 'id' => $f95b0, 'price' => $bd5a9, 'value' => $B3a1a, 'brand' => $da8eb, 'quantity' => 1, 'category' => isset($D1f20) ? $D1f20 : '', 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff]; 
goto Fa5a1; 
F177a: 
E8b4f: 
goto Ad314; 
aa1ad: 
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1); 
goto fc568; 
b3a79: 
C3d5d: 
goto b10aa; 
B8752: 
af159: 
goto fd380; 
e01f3: 
$b1eff = '4-' . $this->eventid(); 
goto A8bee; 
Ad314: 
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false); 
goto E082f; 
d7cc7: 
if (!(isset($A6899['tiktok_user_data']) && $A6899)) { 
goto Ebe31; 
} 
goto b1cb1; 
Db88a: 
$e3b23 = $Bc03e; 
goto f208e; 
cd4ab: 
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false); 
goto Daeb9; 
b0f04: 
D1e09: 
goto aa1ad; 
Eb97c: 
$A6899 = $this->formatUserdata($E10b1); 
goto fc0c0; 
eed23: 
if (!(isset($A6899['snapchat_user_data']) && $A6899)) { 
goto E9c65; 
} 
goto F06cf; 
Daeb9: 
$e34fb = $E10b1['currency']; 
goto Cb7df; 
F0eb8: 
$e7511 = $bd5a9; 
goto F177a; 
d7835: 
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) { 
goto E8b4f; 
} 
goto F0eb8; 
C28c5: 
$baf8f = []; 
goto Ed045; 
e51e6: 
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')); 
goto d7835; 
fdb67: 
$d83ed = $A50b2['item_list_id']; 
goto Ee327; 
cd93b: 
db88d: 
goto A3df0; 
B3f69: 
$a2de8 = $A50b2['item_category4']; 
goto fd86a; 
B2c2a: 
$C431a = []; 
goto A726c; 
Afdde: 
if (!$E10b1['tiktok_status']) { 
goto ad8b3; 
} 
goto a3979; 
A3df0: 
cce55: 
goto b24ab; 
a5e9d: 
return false; 
goto C1012; 
Ef9b5: 
$A1d57 = $A50b2['item_category']; 
goto F6638; 
Ef099: 
$b098d = $A6899['pixel_user_data']; 
goto B8752; 
f7fe8: 
if (!isset($A50b2)) { 
goto a0e34; 
} 
goto B4d04; 
A991a: 
F964b: 
goto d2222; 
A726c: 
$a0e51 = []; 
goto Dd47a; 
B0f41: 
$C8d5b = ['client_deduplication_id' => $b1eff, 'event_id' => $b1eff, 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => 1, 'brands' => $da8eb, 'item_category' => isset($B3525) ? $B3525 : '', 'description' => 'Item added to wishlist']; 
goto e7094; 
e59f5: 
$E10b1 = $this->config(); 
goto e01f3; 
Fa5a1: 
if (!$E10b1['pixel']) { 
goto C2db0; 
} 
goto b75fe; 
C0174: 
if (!$E10b1['snap_pixel_status']) { 
goto cce55; 
} 
goto B0f41; 
A5e55: 
ad8b3: 
goto C0174; 
fc568: 
$da8eb = $this->getProductBrandName($Be6f2['product_id']); 
goto C5cd1; 
a3979: 
$f6a53[] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $bd5a9, 'content_id' => $f95b0, 'quantity' => 1, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae, 'content_type' => 'product']; 
goto E1017; 
E1017: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae]; 
goto d7cc7; 
af34e: 
$bd5a9 = $Be6f2['price']; 
goto db0dd; 
c8e4b: 
if (!($E10b1['snap_pixel_api'] && !empty($E10b1['snap_pixel_token']) && isset($C431a))) { 
goto db88d; 
} 
goto c505e; 
F1c9e: 
$Dd945 = $this->gtm->tiktokAPI($E10b1, 'AddToWishlist', $a0e51, $Ee7a1); 
goto A5e55; 
E9da3: 
$E10b1['event_id'] = $b1eff; 
goto Eb97c; 
D77da: 
$F7fe3 = 0; 
goto C2ec9; 
c367e: 
if (isset($E10b1['twitter_addwishlist']) && !empty($E10b1['twitter_addwishlist'])) { 
goto C3d5d; 
} 
goto D77da; 
F6638: 
$F9d4b = $A50b2['item_category2']; 
goto d63b9; 
B89c8: 
$a21f7 = 0; 
goto D8e98; 
b75fe: 
$Bc03e = ['content_ids' => $f95b0, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb, 'product_catalog_id' => $E10b1['fb_catalog_id']]; 
goto f81aa; 
db0dd: 
if (!(float) $Be6f2['special']) { 
goto d0f83; 
} 
goto be4d4; 
C5dfb: 
if (isset($Be6f2['sku'])) { 
goto D1e09; 
} 
goto f11f3; 
D7c2f: 
$Ac84c = 0; 
goto B89c8; 
C5cd1: 
$A50b2 = $this->getProductCatName($bf361); 
goto f7fe8; 
Ee327: 
$B3525 = $A50b2['item_list_name']; 
goto Ef9b5; 
e738b: 
$e34fb = $E10b1['alt_currency']; 
goto A41bb; 
bbee8: 
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false); 
goto e738b; 
Cdda1: 
$A31ff = ['error' => 'false', 'action' => 'addToWishlist', 'data' => $c6ed3, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'tiktok' => $a0e51, 'fb_data' => $Bc03e, 'event_id' => $b1eff]; 
goto e780d; 
f208e: 
$Dd945 = $this->gtm->facebookAPI($E10b1, 'AddToWishlist', $e3b23, $b098d, $b1eff); 
goto Ae92b; 
Ae92b: 
Bc9ff: 
goto cb5d9; 
b1998: 
$f6a53 = []; 
goto Ae24e; 
Dd47a: 
$Ede1c = []; 
goto b7ec8; 
f11f3: 
$Be6f2['sku'] = $Be6f2['model']; 
goto b0f04; 
e7094: 
$C431a = ['content_category' => isset($B3525) ? $B3525 : '', 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $bd5a9, 'brands' => $da8eb, 'num_items' => 1]; 
goto eed23; 
Ae24e: 
$Ee7a1 = []; 
goto F02ee; 
e780d: 
return $A31ff; 
goto A115f; 
F06cf: 
$Ede1c = $A6899['snapchat_user_data']; 
goto e8476; 
A8bee: 
$D2945 = $this->check_array($Be6f2); 
goto b2671; 
C1012: 
D4ca0: 
goto af34e; 
Ebd0b: 
d0f83: 
goto B1e9d; 
A115f: 
} 
public function prepareProduct($c1b93 = array()) 
{ 
goto ee7ac; 
D391b: 
return false; 
goto B1d12; 
df0d5: 
$Fa4d9 = []; 
goto Fc36a; 
bbf37: 
$e34fb = $E10b1['alt_currency']; 
goto D1163; 
Edd70: 
if (!$E10b1['pixel']) { 
goto A4d1a; 
} 
goto f755a; 
Ca422: 
$Bc909 = ['event' => 'productView', 'eventAction' => 'productView', 'eventLabel' => 'Product Detail View', 'ga' => $a6560, 'content_name' => $c1b93['name'], 'content_category' => $c1b93['category'], 'content_ids' => $c1b93['id'], 'content_type' => 'product', 'category' => $c1b93['category'], 'brand' => $c1b93['brand'], 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'event_id' => $b1eff]; 
goto Bb1a4; 
d6e30: 
return $A31ff; 
goto E9496; 
Ac26f: 
$b267b = $E10b1['max_list_items']; 
goto E0581; 
b9578: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'items' => $de949]; 
goto Ca422; 
F5b7f: 
$f6a53[] = ['content_category' => $c1b93['category'], 'content_name' => $c1b93['name'], 'price' => $c1b93['price'], 'content_id' => $c1b93['id'], 'quantity' => 1, 'brand' => $c1b93['brand'], 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'description' => $c1b93['name'], 'content_type' => 'product']; 
goto Cb483; 
cafd9: 
if (isset($E10b1['twitter_viewcontent']) && !empty($E10b1['twitter_viewcontent'])) { 
goto b9a63; 
} 
goto Ad2de; 
Dcb8d: 
$b1eff = '1-' . $this->eventid(); 
goto F9462; 
E2fe1: 
C234c: 
goto cb971; 
d4e99: 
$F7fe3 = $E10b1['twitter_viewcontent']; 
goto E837d; 
ccf77: 
if ($D2945) { 
goto f71bf; 
} 
goto B264e; 
Fd556: 
$de949 = []; 
goto D16cb; 
C1c47: 
E9ef6: 
goto fce2b; 
Cbe3c: 
goto c65a7; 
goto C1c47; 
D7619: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto C234c; 
} 
goto ee053; 
B97c8: 
$C8d5b = []; 
goto E4230; 
c4eef: 
$A31ff = ['error' => 'false', 'page_type' => 'product', 'datalayer' => $Bc909, 'items' => $de949, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'fb_data' => $Bc03e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b]; 
goto E72c4; 
E837d: 
F9794: 
goto c001e; 
D6b7d: 
e28bc: 
goto e96be; 
a46d7: 
$e5684[] = ['id' => (string) $c1b93['id'], 'google_business_vertical' => 'retail']; 
goto a05d8; 
bfc50: 
Fffa2: 
goto d6e30; 
A2ce3: 
$Ae2c5 = $c1b93['price']; 
goto Edd70; 
B8d00: 
goto f8dfc; 
goto B50ea; 
ea183: 
$E7330 = []; 
goto B9c3d; 
Abbd8: 
$E10b1 = $this->config(); 
goto Dcb8d; 
Fc36a: 
$B64bb = 0; 
goto Ece12; 
b1b7a: 
Fd85c: 
goto ab2c0; 
B858b: 
if (!$E10b1['matomo_status']) { 
goto da29b; 
} 
goto d8752; 
e4c05: 
$fe56e = ['send_to' => 'ads', 'value' => $c1b93['price'], 'items' => $e5684]; 
goto b9578; 
cb971: 
A4d1a: 
goto e4c05; 
c2ac9: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', ''); 
goto bbf37; 
B264e: 
return false; 
goto Eceea; 
fe296: 
if (!$E10b1['tiktok_status']) { 
goto e28bc; 
} 
goto F5b7f; 
B1d12: 
fffe0: 
goto a46d7; 
B9b38: 
$B1d6b = ''; 
goto db5ad; 
B1d67: 
$baf8f = []; 
goto Bbaf5; 
b7b85: 
$fe56e = []; 
goto e70ed; 
a28d5: 
goto F9794; 
goto Fffd7; 
Ddbf9: 
$c6ed3[] = []; 
goto Fd556; 
F9462: 
$be876 = $E10b1['limit']; 
goto Ac26f; 
F88cc: 
$B64bb = number_format((float) $B64bb, 2, '.', ''); 
goto Afcce; 
a6c45: 
c5eda: 
goto A2ce3; 
Ece12: 
foreach ($E79b5 as $F5c83) { 
goto bdb99; 
Eb4e1: 
$B64bb += $F5c83['price']; 
goto F1f16; 
befcf: 
$e5684[] = ['id' => $F5c83['id'], 'google_business_vertical' => 'retail']; 
goto Eb4e1; 
D25e9: 
$F4056[] = $F5c83['id']; 
goto befcf; 
bdb99: 
$Fa4d9[] = ['item_id' => $F5c83['id'], 'item_name' => $F5c83['name'], 'item_brand' => $F5c83['brand'], 'item_list_name' => 'Related', 'item_list_id' => $F5c83['item_list_id'], 'item_category' => $F5c83['item_category'], 'item_category2' => $F5c83['item_category2'], 'item_category3' => $F5c83['item_category3'], 'item_category4' => $F5c83['item_category4'], 'item_category5' => $F5c83['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $F5c83['price'], 'curency' => $E10b1['currency'], 'index' => $F5c83['index'], 'quantity' => 1]; 
goto D25e9; 
F1f16: 
C6275: 
goto b6262; 
b6262: 
} 
goto F0bd1; 
d5cb4: 
if (!$E10b1['twitter_status']) { 
goto c5eda; 
} 
goto cafd9; 
F6df0: 
B56b7: 
goto d5cb4; 
c001e: 
$f445c[] = ['content_id' => $c1b93['id'], 'content_type' => 'product', 'content_name' => $E10b1['currency'], 'content_price' => $c1b93['price'], 'content_group_id' => '']; 
goto C5db7; 
E0581: 
$f84c8 = $E10b1['max_module_items']; 
goto A7783; 
Bbaf5: 
$f445c = []; 
goto e7668; 
Fffd7: 
b9a63: 
goto d4e99; 
C5db7: 
$baf8f = ['value' => $c1b93['price'], 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto a6c45; 
f755a: 
$C51cf = ['track' => 'ViewContent']; 
goto Ef273; 
a6690: 
$C431a = ['content_category' => $c1b93['category'], 'currency' => $E10b1['currency'], 'content_ids' => $c1b93['id'], 'value' => $c1b93['price'], 'brands' => $c1b93['brand'], 'num_items' => 1]; 
goto F6df0; 
bcbab: 
$Ae2c5 = $this->tax->calculate($c1b93['item_price'], $c1b93['tax_class_id'], $this->config->get('config_tax')); 
goto Cbe3c; 
Cb483: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'description' => $c1b93['name']]; 
goto D6b7d; 
Afcce: 
$E7330 = ['event' => 'listingView', 'eventAction' => 'listingView', 'eventLabel' => 'Related', 'ga4_items' => $Fa4d9, 'content_type' => 'product', 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B64bb]; 
goto c0c57; 
a3556: 
$Bc909['cj_page'] = 'productDetail'; 
goto Db445; 
ee053: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto E2fe1; 
a05d8: 
if (!isset($c1b93['ecproducts'])) { 
goto Fd85c; 
} 
goto A89b3; 
D1163: 
f8dfc: 
goto fbc4c; 
e7668: 
$e5684 = []; 
goto ea183; 
Db445: 
d8a59: 
goto c4eef; 
B9c3d: 
$e34fb = $E10b1['currency']; 
goto dcfc8; 
dcfc8: 
$F7fe3 = 0; 
goto B9b38; 
f3a84: 
c65a7: 
goto da17e; 
D16cb: 
$Bc03e = false; 
goto De441; 
ab2c0: 
$de949[] = ['item_id' => $c1b93['id'], 'item_name' => $c1b93['name'], 'item_brand' => $c1b93['brand'], 'item_list_name' => $c1b93['item_list_name'], 'item_list_id' => $c1b93['item_list_id'], 'item_category' => $c1b93['item_category'], 'item_category2' => $c1b93['item_category2'], 'item_category3' => $c1b93['item_category3'], 'item_category4' => $c1b93['item_category4'], 'item_category5' => $c1b93['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $c1b93['price'], 'curency' => $E10b1['currency'], 'item_image' => $c1b93['image_link'], 'item_url' => $c1b93['url_link'], 'index' => 0, 'quantity' => 1]; 
goto B858b; 
B50ea: 
Dce4c: 
goto c2ac9; 
da17e: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto Dce4c; 
} 
goto F6c91; 
A7783: 
$c6ed3 = []; 
goto B9ad8; 
e70ed: 
if (!(!isset($c1b93['price']) || !isset($c1b93['id']))) { 
goto fffe0; 
} 
goto D391b; 
F0bd1: 
D4407: 
goto F88cc; 
d8752: 
$B1d6b = ['sku' => $c1b93['id'], 'name' => $c1b93['name'], 'category' => $c1b93['item_category'], 'price' => $c1b93['price']]; 
goto dee32; 
E8ced: 
$a0e51 = []; 
goto B97c8; 
Bb1a4: 
if (!$E10b1['cj_status']) { 
goto d8a59; 
} 
goto a3556; 
F6c91: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', ''); 
goto Cc514; 
De441: 
$E4cba = false; 
goto B1d67; 
B9ad8: 
$f6a53 = []; 
goto E8ced; 
E72c4: 
if (!isset($E79b5)) { 
goto Fffa2; 
} 
goto df0d5; 
Cc514: 
$e34fb = $E10b1['currency']; 
goto B8d00; 
c0c57: 
$A31ff['related'] = $E7330; 
goto bfc50; 
fbc4c: 
$Bc03e = ['content_name' => $c1b93['name'], 'content_category' => $c1b93['category'], 'content_ids' => $c1b93['id'], 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb]; 
goto D7619; 
E4230: 
$C431a = []; 
goto Ddbf9; 
a51b6: 
$C8d5b = ['price' => $c1b93['price'], 'currency' => $E10b1['currency'], 'item_ids' => $c1b93['id'], 'number_items' => 1, 'brands' => $c1b93['brand'], 'item_category' => $c1b93['category'], 'description' => 'Product Viewed']; 
goto a6690; 
fce2b: 
$Ae2c5 = $c1b93['item_price']; 
goto f3a84; 
Eceea: 
f71bf: 
goto Abbd8; 
ee7ac: 
$D2945 = $this->check_array($c1b93); 
goto ccf77; 
dee32: 
da29b: 
goto fe296; 
e96be: 
if (!$E10b1['snap_pixel_status']) { 
goto B56b7; 
} 
goto a51b6; 
A89b3: 
$E79b5 = $c1b93['ecproducts']; 
goto b1b7a; 
Ef273: 
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) { 
goto E9ef6; 
} 
goto bcbab; 
db5ad: 
$a6560 = []; 
goto b7b85; 
Ad2de: 
$F7fe3 = 0; 
goto a28d5; 
E9496: 
} 
public function prepareProducts($c1b93) 
{ 
goto bdbb0; 
b968c: 
goto Aab9a; 
goto A1462; 
F91fe: 
e93d4: 
goto Aea32; 
D4b51: 
$a0e51 = []; 
goto a24a3; 
f26d7: 
$B1d6b = $A9b26; 
goto d541b; 
E4a4a: 
e0516: 
goto a6492; 
Ac2be: 
$b50e4 = (int) array_pop($Abd5a); 
goto e8607; 
e6e42: 
$de949 = []; 
goto E7e5a; 
C55b1: 
goto A0b3c; 
goto f9864; 
b94a9: 
$fe56e = []; 
goto b0392; 
Cd035: 
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $Ed420, 'item_category' => $A9b26, 'description' => 'Product Category View']; 
goto f0b50; 
aad57: 
$A9b26 = $c1b93['catname']; 
goto C150d; 
bbf1a: 
$Abd5a = explode('_', (string) $this->request->get['path']); 
goto Ac2be; 
E1f17: 
if (!$E10b1['cj_status']) { 
goto e93d4; 
} 
goto c413d; 
f691e: 
goto f2be0; 
goto c7ce8; 
F4ea8: 
F3eb8: 
goto B9b09; 
C150d: 
$ffd86 = $c1b93['brandname']; 
goto cc94b; 
c63d3: 
$Bc03e = ['content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'content_type' => 'product']; 
goto F609d; 
a6380: 
$Ab362 = 'view_search_result'; 
goto d8b5d; 
C2edc: 
$c3442 = 'ViewCategory'; 
goto Fa53f; 
c82cb: 
A0b3c: 
goto F793e; 
a4bc1: 
if ($f0f7a == 'search') { 
goto D6267; 
} 
goto fa199; 
E80e3: 
$b1eff = '2-' . $this->eventid(); 
goto a6380; 
c7ce8: 
E94e0: 
goto c5fa3; 
ae054: 
$Dc937 = []; 
goto e6e42; 
f9864: 
ccca8: 
goto c48af; 
Aea32: 
if (!$E10b1['pixel']) { 
goto F3eb8; 
} 
goto A8759; 
c728b: 
goto bd9a5; 
goto D5ced; 
Cf77b: 
$Ab362 = 'view_item_list'; 
goto C2edc; 
F793e: 
$fe56e = ['send_to' => 'ads', 'value' => $B3a1a, 'items' => $e5684]; 
goto C4cc3; 
Ebb41: 
if (!(isset($aea02) && !empty($aea02))) { 
goto b71e9; 
} 
goto b792a; 
f406a: 
$C8e44 = $c1b93['products']; 
goto ae054; 
d7e7b: 
$C51cf = ''; 
goto b9991; 
Aa493: 
$b50e4 = 0; 
goto F4a7c; 
F3472: 
if (isset($this->request->get['search'])) { 
goto e0516; 
} 
goto A2f9f; 
f611f: 
return false; 
goto Cd3ac; 
b0392: 
$f6a53 = []; 
goto D4b51; 
D8935: 
$B3a1a = 0; 
goto Fbd30; 
Ae545: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', ''); 
goto Ae41f; 
bb207: 
$d6674 = 1; 
goto E363b; 
cc94b: 
$F4056 = []; 
goto feca4; 
E363b: 
$Ed420 = 0; 
goto e2640; 
C7165: 
$Bc03e = false; 
goto d7e7b; 
D7cf3: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto b0a79; 
} 
goto de8e0; 
feca4: 
$e5684 = []; 
goto d39f3; 
D9da9: 
return $A31ff; 
goto F0de7; 
F609d: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto C0231; 
} 
goto e74e1; 
Feb2e: 
$f445c = []; 
goto D92f6; 
c5fa3: 
$F7fe3 = $E10b1['twitter_search']; 
goto B9243; 
f0b50: 
$C431a = ['content_category' => $A9b26, 'currency' => $E10b1['currency'], 'content_ids' => $Dc937, 'contents' => $C3d53, 'value' => $B3a1a]; 
goto Ebb41; 
d8b5d: 
$c3442 = 'viewSearch'; 
goto D1019; 
E4abb: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto B258c; 
ff760: 
Bcfca: 
goto a4bc1; 
Ba81b: 
$af607 = 0; 
goto a7480; 
F4a7c: 
goto B0102; 
goto C810c; 
Ae41f: 
$e34fb = $E10b1['alt_currency']; 
goto c04df; 
b6826: 
$baf8f = ['search_string' => $aea02, 'value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto Cd0de; 
A7856: 
$A31ff = ['error' => 'false', 'page_type' => 'listing', 'datalayer' => $Bc909, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'fb_data' => $Bc03e, 'matomo' => $B1d6b, 'category_id' => $b50e4, 'category_name' => $A9b26, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'items' => $de949]; 
goto D9da9; 
a9e11: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $de949]; 
goto C55b1; 
Fa53f: 
$Bc3c1 = 'view_item_list'; 
goto c728b; 
A8f3f: 
$a7e4d = ''; 
goto A3632; 
C497e: 
if (isset($E10b1['twitter_search']) && !empty($E10b1['twitter_search'])) { 
goto E94e0; 
} 
goto Fe511; 
d026d: 
d9159: 
goto C54c9; 
a7480: 
foreach ($C8e44 as $ea436) { 
goto dbd3b; 
a0560: 
$e5684[] = ['id' => (string) $ea436['id'], 'google_business_vertical' => 'retail']; 
goto Dacc5; 
A73ba: 
$B3a1a += $ea436['price']; 
goto c8994; 
c8994: 
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) { 
goto c1cbb; 
} 
goto f63da; 
F2603: 
goto A834e; 
goto da94b; 
Dacc5: 
if ($Ed420 == 0) { 
goto dfe1f; 
} 
goto Ea718; 
f8f52: 
D2f2f: 
goto c216d; 
da94b: 
eaa00: 
goto Eb673; 
de111: 
$C3d53[] = ['id' => $ea436['id'], 'quantity' => 1, 'item_price' => $ea436['price']]; 
goto F9b95; 
d95a8: 
if (!($d6674 > $b267b)) { 
goto eaa00; 
} 
goto F2603; 
d2cd9: 
dfe1f: 
goto b316f; 
b316f: 
$a7e4d = $ea436['id']; 
goto c1016; 
f63da: 
$F9ee2 = $this->tax->calculate($ea436['item_price'], $ea436['tax_class_id'], $this->config->get('config_tax')); 
goto Ddfb6; 
e40ea: 
goto f525c; 
goto b0e85; 
a9e85: 
$d6674++; 
goto Eecd4; 
Ddfb6: 
$Ae2c5 += $F9ee2; 
goto e40ea; 
F9b95: 
$f6a53[] = ['content_category' => $ea436['item_list_name'], 'content_name' => $ea436['name'], 'price' => $ea436['price'], 'content_id' => $ea436['id'], 'quantity' => 1, 'brand' => $ea436['brand']]; 
goto d95a8; 
b18ec: 
$Dc937[] = $ea436['id']; 
goto a0560; 
Ea718: 
if ($Ed420 == 1) { 
goto dedba; 
} 
goto b4166; 
b4166: 
goto bc4a2; 
goto d2cd9; 
Df8c8: 
$bc36f = $ea436['id']; 
goto a211d; 
Eecd4: 
$af607++; 
goto f8f52; 
e2416: 
$F4056[] = $ea436['id']; 
goto b18ec; 
F1ac4: 
f525c: 
goto A4b36; 
dbd3b: 
$de949[] = ['item_id' => $ea436['id'], 'item_name' => $ea436['name'], 'item_brand' => $ea436['brand'], 'item_list_name' => $ea436['item_list_name'], 'item_list_id' => $ea436['item_list_id'], 'item_category' => $ea436['item_category'], 'item_category2' => $ea436['item_category2'], 'item_category3' => $ea436['item_category3'], 'item_category4' => $ea436['item_category4'], 'item_category5' => $ea436['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $ea436['price'], 'curency' => $E10b1['currency'], 'index' => $ea436['index'], 'quantity' => 1]; 
goto e2416; 
Ae03d: 
dedba: 
goto Df8c8; 
c1016: 
goto bc4a2; 
goto Ae03d; 
B79bf: 
$Ae2c5 += $ea436['item_price']; 
goto F1ac4; 
A4b36: 
$f445c[] = ['content_id' => $ea436['id'], 'content_type' => 'product', 'content_name' => $ea436['name'], 'content_price' => $ea436['price']]; 
goto de111; 
Eb673: 
$Ed420++; 
goto a9e85; 
a211d: 
bc4a2: 
goto A73ba; 
b0e85: 
c1cbb: 
goto B79bf; 
c216d: 
} 
goto e65f0; 
Fe3ab: 
$aea02 = $c1b93['search']; 
goto aad57; 
A3632: 
$bc36f = ''; 
goto be662; 
d5bee: 
bd9a5: 
goto bb207; 
F7369: 
fd033: 
goto Ebfeb; 
B9243: 
f2be0: 
goto ff760; 
a24a3: 
$C8d5b = []; 
goto c7758; 
c7758: 
$C431a = []; 
goto E0511; 
Fbd30: 
$Ae2c5 = 0; 
goto A8f3f; 
a2dc8: 
C0231: 
goto B4ca7; 
Aba23: 
if (isset($this->request->get['path'])) { 
goto c25f6; 
} 
goto Aa493; 
Fdecb: 
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $A9b26]; 
goto d802e; 
b792a: 
$C431a['search_string'] = $aea02; 
goto c0953; 
D92f6: 
$F7fe3 = 0; 
goto E6c6d; 
eaf68: 
$baf8f = []; 
goto Feb2e; 
Fa9da: 
a7522: 
goto B4eeb; 
Df5f8: 
if (!$E10b1['tiktok_status']) { 
goto b9985; 
} 
goto Fdecb; 
d159d: 
$B3a1a = number_format((float) $B3a1a, 2, '.', ''); 
goto D7cf3; 
b9a13: 
$Bc03e = ['content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'content_type' => 'product', 'search_string' => $aea02]; 
goto F9adc; 
Fe511: 
$F7fe3 = 0; 
goto f691e; 
c04df: 
d81f3: 
goto fed94; 
E1269: 
Aab9a: 
goto F4ea8; 
F7a12: 
$a6560 = []; 
goto b94a9; 
fa709: 
$C8d5b['description'] = 'View Search Results'; 
goto caa3f; 
E7e5a: 
$f0f7a = strtolower(!empty($c1b93['listname']) ? $c1b93['listname'] : 'Category'); 
goto Fe3ab; 
B9b09: 
if (!($E10b1['matomo_status'] && $aea02 == '')) { 
goto Ef1d6; 
} 
goto f26d7; 
B4eeb: 
b9985: 
goto Ba44c; 
c413d: 
$Bc909['cj_page'] = 'category'; 
goto F91fe; 
A8759: 
if ($f0f7a == 'search') { 
goto a6013; 
} 
goto c63d3; 
B4ca7: 
$C51cf = 'ViewCategory'; 
goto b968c; 
df8c9: 
$b267b = $E10b1['max_list_items']; 
goto Ff532; 
D5ced: 
D6267: 
goto E80e3; 
af5ff: 
b0a79: 
goto Ae545; 
e8607: 
B0102: 
goto A7856; 
d39f3: 
$Bc3c1 = ''; 
goto D8935; 
F9adc: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto C3a03; 
} 
goto E4abb; 
Ff532: 
$f84c8 = $E10b1['max_module_items']; 
goto Bb6ce; 
Dd310: 
$Bc3c1 = 'view_search_results'; 
goto d5bee; 
E0511: 
$C3d53 = []; 
goto F3472; 
a7fc5: 
goto fd033; 
goto E4a4a; 
e2640: 
$a42e6 = []; 
goto B002d; 
B67f6: 
goto d81f3; 
goto af5ff; 
bdbb0: 
$E10b1 = $this->config(); 
goto Dea80; 
d802e: 
if (!$aea02) { 
goto a7522; 
} 
goto e80c1; 
d541b: 
Ef1d6: 
goto Aba23; 
a6492: 
$aea02 = $this->request->get['search']; 
goto F7369; 
Ebfeb: 
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) { 
goto Bcfca; 
} 
goto C497e; 
c48af: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'search_term' => $aea02, 'term' => $aea02, 'items' => $de949]; 
goto c82cb; 
C4cc3: 
$Bc909 = ['event' => $f0f7a == 'search' ? 'searchResult' : 'listingView', 'eventAction' => $f0f7a == 'search' ? 'searchResult' : 'listingView', 'eventLabel' => $f0f7a == 'search' ? 'Search Results' : 'Category View', 'content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'ga' => $a6560, 'content_type' => 'product', 'search' => $aea02, 'category' => $A9b26, 'brand' => $ffd86, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'pixel_value' => $Ae2c5, 'fb_currency' => $e34fb, 'event_id' => $b1eff]; 
goto E1f17; 
b9991: 
$E4cba = false; 
goto f406a; 
fed94: 
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) { 
goto d2ce8; 
} 
goto b6826; 
Bb6ce: 
$ad3c6 = !empty($c1b93['listname']) ? $c1b93['listname'] : $A9b26; 
goto eaf68; 
caa3f: 
b71e9: 
goto d026d; 
de8e0: 
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', ''); 
goto E2769; 
A1462: 
a6013: 
goto b9a13; 
c0953: 
$C8d5b['search_string'] = $aea02; 
goto fa709; 
B002d: 
$E79b5 = []; 
goto Ba81b; 
E2769: 
$e34fb = $E10b1['currency']; 
goto B67f6; 
Dea80: 
if ($this->check_array($c1b93['products'])) { 
goto Fa883; 
} 
goto f611f; 
Cd0de: 
d2ce8: 
goto Df5f8; 
e65f0: 
A834e: 
goto d159d; 
B258c: 
C3a03: 
goto db544; 
C54c9: 
if (isset($aea02) && !empty($aea02)) { 
goto ccca8; 
} 
goto a9e11; 
be662: 
$F89a1 = $c1b93['listname']; 
goto d634d; 
C810c: 
c25f6: 
goto bbf1a; 
e74e1: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto a2dc8; 
Cd3ac: 
Fa883: 
goto C7165; 
fa199: 
$b1eff = '9-' . $this->eventid(); 
goto Cf77b; 
e80c1: 
$a0e51['query'] = $aea02; 
goto Fa9da; 
A2f9f: 
$aea02 = false; 
goto a7fc5; 
E6c6d: 
$B1d6b = ''; 
goto F7a12; 
Ba44c: 
if (!$E10b1['snap_pixel_status']) { 
goto d9159; 
} 
goto Cd035; 
D1019: 
$ad3c6 = 'Search Results'; 
goto Dd310; 
d634d: 
$be876 = $E10b1['limit']; 
goto df8c9; 
db544: 
$C51cf = 'Search'; 
goto E1269; 
F0de7: 
} 
public function prepareModuleProducts($c1b93) 
{ 
goto E9f38; 
b5d96: 
if (!(isset($E79b5) && !empty($E79b5))) { 
goto E7f13; 
} 
goto E0137; 
D41f1: 
$F5c83 = ['event' => 'productImpression', 'eventAction' => 'view_item_list', 'eventLabel' => 'view_item_list', 'ec_ecommerce' => $ba909]; 
goto fa380; 
e91b0: 
$a42e6 = []; 
goto E755b; 
e9f26: 
$fbc42 = 0; 
goto e91b0; 
f5aec: 
return $a42e6; 
goto D1b63; 
E0137: 
$A1860 = ['currencyCode' => $E10b1['currency'], 'impressions' => $E79b5]; 
goto B5a79; 
Cbd7c: 
$E10b1 = $this->settings; 
goto E6735; 
Dc279: 
$C8e44 = $c1b93; 
goto B8c5c; 
E9f38: 
return false; 
goto Cbd7c; 
Ebf9d: 
$be876 = $E10b1['limit']; 
goto cbd77; 
Ecd08: 
b5696: 
goto b5d96; 
E755b: 
$E79b5 = []; 
goto F4193; 
B5a79: 
$ba909 = ['ecommerce' => $A1860]; 
goto D41f1; 
fa380: 
$a42e6[] = $F5c83; 
goto f042a; 
f042a: 
E7f13: 
goto f5aec; 
e05dd: 
$f84c8 = $E10b1['max_module_items']; 
goto Dc279; 
cbd77: 
$b267b = $E10b1['max_list_items']; 
goto e05dd; 
F4193: 
foreach ($C8e44 as $ea436) { 
goto e47a3; 
C415e: 
$A1860 = ['currencyCode' => $E10b1['currency'], 'impressions' => $E79b5]; 
goto B785b; 
f17eb: 
$Ed420++; 
goto f459e; 
ac744: 
fa140: 
goto B490a; 
f459e: 
$d6674++; 
goto E410f; 
d81bc: 
$Ed420 = 0; 
goto C415e; 
E410f: 
D6d5e: 
goto e3ce5; 
e79a8: 
if (!isset($E79b5)) { 
goto d45f0; 
} 
goto c35fe; 
fb6cf: 
Ddc3a: 
goto be4df; 
B86d2: 
$F5c83 = ['event' => 'productImpression', 'eventAction' => 'view_item_list' . ($fbc42 > 0 ? $fbc42 : ''), 'eventLabel' => 'view_item_list' . ($fbc42 > 0 ? $fbc42 : ''), 'ec_ecommerce' => $ba909]; 
goto d467d; 
e47a3: 
if (!(empty($ea436['name']) || empty($ea436['id']))) { 
goto Ddc3a; 
} 
goto b59bf; 
e0014: 
if ($Ed420 < $be876) { 
goto fa140; 
} 
goto d81bc; 
be4df: 
if (!($d6674 > $f84c8)) { 
goto b370d; 
} 
goto f34c2; 
B785b: 
$ba909 = ['ecommerce' => $A1860]; 
goto B86d2; 
f34c2: 
goto b5696; 
goto B7e7f; 
Ccaca: 
d45f0: 
goto Bfc05; 
B490a: 
$E79b5[] = ['name' => $ea436['name'], 'id' => $ea436['id'], 'price' => $ea436['price'], 'brand' => $ea436['brand'], 'category' => $ea436['category'], 'list' => $ea436['list'], 'position' => $d6674]; 
goto ecc81; 
ecc81: 
b296f: 
goto f17eb; 
c35fe: 
unset($E79b5); 
goto Ccaca; 
d467d: 
$a42e6[] = $F5c83; 
goto e79a8; 
B7e7f: 
b370d: 
goto e0014; 
Bfc05: 
$E79b5[] = ['name' => $ea436['name'], 'id' => $ea436['id'], 'price' => $ea436['price'], 'brand' => $ea436['brand'], 'category' => $ea436['category'], 'list' => $ea436['list'], 'position' => $d6674]; 
goto C7ee7; 
C7ee7: 
$fbc42++; 
goto Cc6ca; 
Cc6ca: 
goto b296f; 
goto ac744; 
b59bf: 
goto D6d5e; 
goto fb6cf; 
e3ce5: 
} 
goto Ecd08; 
B8c5c: 
$d6674 = 1; 
goto Ba8eb; 
Ba8eb: 
$Ed420 = 0; 
goto e9f26; 
E6735: 
$b1eff = $this->eventid(); 
goto Ebf9d; 
D1b63: 
} 
public function prepareCart() 
{ 
goto e88c8; 
Cbaaa: 
$b1eff = '12-' . $this->eventid(); 
goto bde5e; 
Cff25: 
e06b8: 
goto d4094; 
df979: 
$eb419 = $ac091 - $e2e7f; 
goto B2336; 
a292d: 
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) { 
goto fe3fb; 
} 
goto D9f71; 
E5358: 
$E4cba = false; 
goto Bacdc; 
A7e45: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto f03c5; 
B99d3: 
if (!$E10b1['snap_pixel_status']) { 
goto D5a80; 
} 
goto Abded; 
C8980: 
f0b60: 
goto Ed5c7; 
cfcbd: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto Cf601; 
} 
goto A7e45; 
Ef24c: 
$eb419 = $ac091 - $e2e7f; 
goto C8980; 
F0cff: 
$Bc909['cj_page'] = 'cart'; 
goto Bf7c2; 
D6a3e: 
$Bc03e = false; 
goto E5358; 
adb67: 
$B1d6b = ''; 
goto dfde3; 
b8a09: 
if (!$E10b1['tiktok_status']) { 
goto Cd06d; 
} 
goto Da250; 
Cd316: 
$C431a = []; 
goto b8a09; 
fbb9f: 
$F6719 = $E10b1['tax']; 
goto E0f30; 
F438f: 
E672e: 
goto F2caf; 
C2b16: 
if (isset($c1b93['ga4_items'])) { 
goto e06b8; 
} 
goto ea106; 
c382d: 
$e5684 = $c1b93['remarketing_ids']; 
goto c61b4; 
B6058: 
B4fd1: 
goto B99d3; 
C26ae: 
$E4cba['eventdata']['data']['shipping'] = 0; 
goto Bff3e; 
D9f71: 
$E4cba = ['email' => $E10b1['email'], 'event' => 'view_cart', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]]; 
goto Daebb; 
Edd0b: 
$fe56e = []; 
goto a3307; 
ebb91: 
$Bc03e = ['contents' => isset($c1b93['fb_contents']) ? $c1b93['fb_contents'] : false, 'content_type' => 'product', 'value' => number_format((float) $abe29, 2, '.', ''), 'currency' => $e34fb, 'content_ids' => $F4056]; 
goto cfcbd; 
F9638: 
$E4cba['eventdata']['data']['currency'] = $E10b1['currency']; 
goto Ca3e7; 
F00a6: 
return $D10fd; 
goto Cff25; 
B2336: 
if (!$bfd18) { 
goto f0b60; 
} 
goto fd048; 
F53c2: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']]; 
goto A67ee; 
bde5e: 
$E10b1 = $this->config(); 
goto fa699; 
E8ad1: 
$A31ff = ['error' => 'false', 'page_type' => 'cart', 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'sendinblue' => $E4cba, 'tiktok' => $a0e51, 'matomo' => $B1d6b, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'items' => $c1b93['ga4_items']]; 
goto Be54e; 
B3505: 
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $F4056, 'value' => $B3a1a, 'num_items' => $c1b93['fb_items']]; 
goto B7a1f; 
B7a1f: 
if (!(isset($aea02) && !empty($aea02))) { 
goto E672e; 
} 
goto b997c; 
fa699: 
$D10fd = []; 
goto C2b16; 
a3307: 
$C8d5b = []; 
goto Cd316; 
c7bd3: 
$abe29 = $c1b93['ftotal']; 
goto b24d0; 
ea106: 
$D10fd = ['error' => 'true']; 
goto F00a6; 
Be54e: 
return $A31ff; 
goto F8dcc; 
Bacdc: 
$bfd18 = $E10b1['override_tax']; 
goto fbb9f; 
c61b4: 
$B3a1a = number_format((float) $c1b93['ecom_totalvalue'], 2, '.', ''); 
goto adb67; 
Bff05: 
if (!$E10b1['cj_status']) { 
goto B9856; 
} 
goto F0cff; 
F2caf: 
D5a80: 
goto F53c2; 
e88c8: 
$c1b93 = $this->getCartProducts(); 
goto Cbaaa; 
b24d0: 
$e34fb = $E10b1['alt_currency']; 
goto B6058; 
E0f30: 
$F4056 = $c1b93['ecom_prodid']; 
goto c382d; 
Bf7c2: 
B9856: 
goto c5982; 
fd048: 
$e2e7f = $e2e7f / $F6719; 
goto Ef24c; 
Bff3e: 
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', ''); 
goto e1db5; 
Ed5c7: 
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', ''); 
goto C26ae; 
D29d0: 
afab9: 
goto a292d; 
e2d69: 
$abe29 = $B3a1a; 
goto cbb9c; 
Da250: 
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'View Cart']; 
goto F5b04; 
D0682: 
fe3fb: 
goto cd0ef; 
cbb9c: 
$e34fb = $E10b1['currency']; 
goto bb40b; 
abbbb: 
$C8d5b['search_string'] = $aea02; 
goto F438f; 
c5982: 
if (!$E10b1['pixel']) { 
goto afab9; 
} 
goto ebb91; 
Ca3e7: 
$E4cba['eventdata']['data']['products'] = isset($c1b93['sendinblue_products']) ? $c1b93['sendinblue_products'] : []; 
goto D0682; 
b997c: 
$C431a['search_string'] = $aea02; 
goto abbbb; 
f5653: 
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL')); 
goto F9638; 
E0023: 
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', ''); 
goto f5653; 
Aa5be: 
F43ff: 
goto E8ad1; 
bb40b: 
goto B4fd1; 
goto dbebb; 
ec2b0: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto B1376; 
} 
goto e2d69; 
F5b04: 
Cd06d: 
goto ec2b0; 
aaf24: 
$B1d6b = ['items' => $Ada7b, 'total' => $B3a1a]; 
goto Aa5be; 
E4192: 
$E4cba['eventdata']['data']['discount'] = 0; 
goto E0023; 
bbad0: 
$ac091 = $this->cart->getTotal(); 
goto df979; 
e1db5: 
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', ''); 
goto E4192; 
Abded: 
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $c1b93['fb_items']]; 
goto B3505; 
d4094: 
$a0e51 = []; 
goto D6a3e; 
A67ee: 
$Bc909 = ['event' => 'CART_VIEW', 'eventAction' => 'CART_VIEW', 'eventLabel' => 'CART_VIEW', 'ga' => $a6560, 'content_name' => 'View Cart', 'content_category' => 'Checkout', 'content_ids' => $F4056, 'content_type' => 'product', 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff]; 
goto Bff05; 
f03c5: 
Cf601: 
goto D29d0; 
dfde3: 
$Ada7b = $c1b93['matomo_items']; 
goto f17c9; 
dbebb: 
B1376: 
goto c7bd3; 
Daebb: 
$e2e7f = $this->cart->getSubTotal(); 
goto bbad0; 
cd0ef: 
if (!$E10b1['matomo_status']) { 
goto F43ff; 
} 
goto aaf24; 
f17c9: 
$a6560 = []; 
goto Edd0b; 
F8dcc: 
} 
public function prepareCheckout($D524b = null) 
{ 
goto adc6e; 
F8126: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto ee2bc; 
} 
goto Cc15b; 
B61a1: 
$baf8f = []; 
goto Fdfe1; 
ad78f: 
$Bc909 = ['event' => 'initiateCheckout', 'eventAction' => 'initiateCheckout', 'eventLabel' => 'Checkout Initiated', 'content_name' => 'Checkout', 'content_category' => 'Checkout', 'ga' => $a6560, 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'content_type' => 'product', 'pixel_value' => $abe29, 'fb_currency' => $e34fb, 'remarketing_ids' => $c1b93['remarketing_ids'], 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff]; 
goto Ed2a2; 
f8cd9: 
if (!$E10b1['tiktok_status']) { 
goto d350c; 
} 
goto F57ef; 
d2732: 
$abe29 = number_format((float) $c1b93['ftotal'], 2, '.', ''); 
goto E484e; 
F37ca: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']]; 
goto ad78f; 
F78c2: 
ca732: 
goto B69a5; 
B8bd3: 
bf2c2: 
goto Daef1; 
d9b2a: 
$a0e51 = []; 
goto B2728; 
E20a0: 
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', ''); 
goto fc516; 
A74fb: 
if (!isset($this->session->data['ga4_payment_method'])) { 
goto F1228; 
} 
goto A05ba; 
F76e0: 
$e34fb = $E10b1['currency']; 
goto b14e7; 
e1a17: 
unset($this->session->data['ga4_shipping_sent']); 
goto D2528; 
b14e7: 
goto cfc7f; 
goto b0564; 
Eaf4f: 
unset($this->session->data['ga4_shipping_method']); 
goto adb74; 
Ed2a2: 
if (!$E10b1['matomo_status']) { 
goto cde4d; 
} 
goto Acfe1; 
a7e44: 
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', ''); 
goto a2b67; 
adc6e: 
$c1b93 = $this->getCartProducts(); 
goto c9006; 
A05ba: 
unset($this->session->data['ga4_payment_method']); 
goto E548c; 
C9895: 
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL')); 
goto C343e; 
C8df4: 
unset($this->session->data['ga4_payment_sent']); 
goto Acbed; 
Cc15b: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto C91a5; 
a8af1: 
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) { 
goto ddb5a; 
} 
goto b6c4c; 
Fa43e: 
if (!isset($this->session->data['ga4_shipping_sent'])) { 
goto ffd01; 
} 
goto e1a17; 
Ba878: 
if (!$E10b1['snap_pixel_status']) { 
goto E91a3; 
} 
goto A3ab4; 
C343e: 
$E4cba['eventdata']['data']['currency'] = $E10b1['currency']; 
goto C3daa; 
Acbed: 
b48a3: 
goto Fa43e; 
D08ab: 
$Bc03e = ['content_category' => 'Checkout', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'currency' => $e34fb, 'num_items' => $c1b93['fb_items'], 'value' => $abe29, 'content_type' => 'product']; 
goto F8126; 
a7557: 
$C8d5b = []; 
goto F3b2e; 
Ac115: 
d95a7: 
goto c31be; 
c9006: 
$b1eff = '6-' . $this->eventid(); 
goto Df47b; 
C10da: 
$E4cba = false; 
goto Eb3b7; 
a61ed: 
$fe56e = []; 
goto a7557; 
F443f: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto bf2c2; 
} 
goto d9080; 
a1df5: 
bc606: 
goto a7e44; 
c5484: 
$ac091 = $this->cart->getTotal(); 
goto Eaa41; 
C1bee: 
$B3a1a = $c1b93['ecom_totalvalue']; 
goto E99fa; 
C3daa: 
$a79aa = $c1b93['sendinblue_products']; 
goto Cacd6; 
C9ab8: 
$F7fe3 = 0; 
goto B61a1; 
E548c: 
F1228: 
goto c405c; 
E99fa: 
f56d2: 
goto A2864; 
Ef7c6: 
if (!(isset($aea02) && !empty($aea02))) { 
goto ca732; 
} 
goto caf7e; 
bfd27: 
fdc3f: 
goto a4093; 
aabe8: 
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', ''); 
goto E20a0; 
caf7e: 
$C431a['search_string'] = $aea02; 
goto ce39b; 
F3b2e: 
$C431a = []; 
goto b8975; 
D2528: 
ffd01: 
goto A6786; 
D1120: 
f9e46: 
goto a8af1; 
a4093: 
$F7fe3 = $E10b1['twitter_checkout']; 
goto Ac115; 
dc821: 
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', ''); 
goto C9895; 
b0564: 
E25eb: 
goto d2732; 
c4813: 
if (!$E10b1['pixel']) { 
goto f9e46; 
} 
goto D08ab; 
a5282: 
$C6960 = []; 
goto d505c; 
Dc80e: 
$e2e7f = $this->cart->getSubTotal(); 
goto c5484; 
b8975: 
if (!isset($c1b93['ecom_totalvalue'])) { 
goto f56d2; 
} 
goto C1bee; 
A84ed: 
$F5c83 = []; 
goto a5282; 
C639f: 
$F7fe3 = 0; 
goto Df05d; 
a2b67: 
$E4cba['eventdata']['data']['shipping'] = 0; 
goto aabe8; 
c2792: 
if (isset($D524b)) { 
goto e6f63; 
} 
goto F6e8c; 
Ccedf: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto E25eb; 
} 
goto Ac7f5; 
Df47b: 
$D10fd = []; 
goto d9b2a; 
C91a5: 
ee2bc: 
goto D1120; 
c31be: 
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto B8bd3; 
d505c: 
$e5684 = []; 
goto ae20f; 
B69a5: 
E91a3: 
goto F37ca; 
E484e: 
$e34fb = $E10b1['alt_currency']; 
goto ef401; 
Df05d: 
goto d95a7; 
goto bfd27; 
Eaa41: 
$eb419 = $ac091 - $e2e7f; 
goto F0c5c; 
D9adc: 
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $c1b93['ecom_prodid'], 'value' => $B3a1a, 'num_items' => $c1b93['fb_items']]; 
goto Ef7c6; 
B2728: 
if (isset($c1b93['ga4_items'])) { 
goto cd636; 
} 
goto Fe6bd; 
E4c0a: 
$E10b1 = $this->config(); 
goto A84ed; 
Acfe1: 
$B1d6b = ['items' => $Ada7b, 'total' => $B3a1a]; 
goto F434d; 
e6a8e: 
cd636: 
goto E4c0a; 
A3ab4: 
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $c1b93['ecom_prodid'], 'number_items' => $c1b93['fb_items'], 'description' => 'Checkout Started']; 
goto D9adc; 
D506b: 
$Bc03e = false; 
goto C10da; 
Cacd6: 
$E4cba['eventdata']['data']['products'] = $a79aa; 
goto a0c59; 
Ac7f5: 
$abe29 = $B3a1a; 
goto F76e0; 
Fe6bd: 
$D10fd = ['error' => 'true']; 
goto cfd51; 
e0342: 
d350c: 
goto Ba878; 
F0c5c: 
if (!$bfd18) { 
goto bc606; 
} 
goto D8a19; 
E9ed5: 
$F6719 = $E10b1['tax']; 
goto C9ab8; 
adb74: 
D62f3: 
goto A74fb; 
Fb1b0: 
$bfd18 = $E10b1['override_tax']; 
goto E9ed5; 
ae20f: 
$F4056 = []; 
goto D506b; 
b6c4c: 
$E4cba = ['email' => $E10b1['email'], 'event' => 'checkout', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]]; 
goto Dc80e; 
c2ab1: 
$Ada7b = $c1b93['matomo_items']; 
goto d653b; 
b89a7: 
if (!isset($this->session->data['ga4_payment_sent'])) { 
goto b48a3; 
} 
goto C8df4; 
Fdfe1: 
$f445c = $c1b93['twitter_items']; 
goto e0878; 
c405c: 
$d6674 = 1; 
goto c2792; 
Dac84: 
$eb419 = $ac091 - $e2e7f; 
goto a1df5; 
ce39b: 
$C8d5b['search_string'] = $aea02; 
goto F78c2; 
fc516: 
$E4cba['eventdata']['data']['discount'] = 0; 
goto dc821; 
A6786: 
if (!isset($this->session->data['ga4_shipping_method'])) { 
goto D62f3; 
} 
goto Eaf4f; 
d9080: 
if (isset($E10b1['twitter_checkout']) && !empty($E10b1['twitter_checkout'])) { 
goto fdc3f; 
} 
goto C639f; 
b4d3b: 
e6f63: 
goto Ccedf; 
F6e8c: 
$D524b = ['page' => 'checkout', 'step' => '1', 'mode' => 'onecheckout']; 
goto b4d3b; 
a0c59: 
ddb5a: 
goto F443f; 
A2864: 
$B3a1a = number_format((float) $B3a1a, 2, '.', ''); 
goto b89a7; 
F57ef: 
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Initiate Checkout']; 
goto e0342; 
f88fd: 
return $A31ff; 
goto Aa133; 
F434d: 
cde4d: 
goto c4813; 
e0878: 
$B1d6b = ''; 
goto c2ab1; 
ef401: 
cfc7f: 
goto f8cd9; 
cfd51: 
return $D10fd; 
goto e6a8e; 
d653b: 
$a6560 = []; 
goto a61ed; 
D8a19: 
$e2e7f = $e2e7f / $F6719; 
goto Dac84; 
Eb3b7: 
$B3a1a = 0; 
goto Fb1b0; 
Daef1: 
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'sendinblue' => $E4cba, 'fb_data' => $Bc03e, 'currency' => $E10b1['currency'], 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'matomo' => $B1d6b, 'items' => $c1b93['ga4_items']]; 
goto f88fd; 
Aa133: 
} 
public function prepareShipping($e1b42 = '') 
{ 
goto Fe635; 
Ccd55: 
if (!($this->session->data['ga4_shipping_method'] == $e1b42)) { 
goto f5633; 
} 
goto f7e0c; 
b2c7a: 
$D10fd = ['error' => 'true']; 
goto D09be; 
B55f0: 
return $D10fd; 
goto Ac74a; 
c7219: 
$fe56e = []; 
goto D49f0; 
D09be: 
return $D10fd; 
goto D687c; 
E7e24: 
if (isset($c1b93['ga4_items'])) { 
goto F1229; 
} 
goto b2c7a; 
a714d: 
$c1b93 = $this->getCartProducts(); 
goto f3f17; 
f7e0c: 
$D10fd = ['error' => 'true']; 
goto B55f0; 
e8ff6: 
$F5c83 = []; 
goto a8b20; 
e3107: 
$a6560 = []; 
goto c7219; 
Fe635: 
$this->resetCustomerData(); 
goto a714d; 
d37e7: 
$D10fd = []; 
goto E7e24; 
d7b9d: 
$E10b1 = $this->config(); 
goto e8ff6; 
dd641: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'shipping_tier' => $e1b42, 'items' => $c1b93['ga4_items']]; 
goto Cf919; 
Ba13c: 
return $A31ff; 
goto c10fc; 
Ac74a: 
f5633: 
goto F3e94; 
a8b20: 
$C6960 = []; 
goto F769b; 
b4021: 
$d6674 = 1; 
goto dd641; 
F769b: 
$e5684 = []; 
goto E1a98; 
F3e94: 
Fbb8c: 
goto b4021; 
Cf919: 
$Bc909 = ['event' => 'add_shipping_info', 'ga' => $a6560, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff, 'shipping_tier' => $e1b42]; 
goto D0f44; 
E1a98: 
$F4056 = []; 
goto baaa8; 
D0f44: 
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'ga' => $a6560, 'currency' => $E10b1['currency']]; 
goto Ba13c; 
D687c: 
F1229: 
goto d7b9d; 
baaa8: 
$B3a1a = isset($c1b93['ecom_totalvalue']) ? number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '') : 0; 
goto e3107; 
f3f17: 
$b1eff = '7-' . $this->eventid(); 
goto d37e7; 
D49f0: 
if (!(isset($this->session->data['ga4_shipping_sent']) && isset($this->session->data['ga4_shipping_method']))) { 
goto Fbb8c; 
} 
goto Ccd55; 
c10fc: 
} 
public function preparePayment($bad21 = '') 
{ 
goto C110a; 
e4fd9: 
$E10b1['event_id'] = $b1eff; 
goto B7757; 
caeaf: 
if (!$this->checkapiStatus('tiktok')) { 
goto E709f; 
} 
goto Bf6f4; 
Feebc: 
$e34fb = $E10b1['alt_currency']; 
goto eaa79; 
eba7d: 
$Ee7a1 = $A6899['tiktok_user_data']; 
goto f73e0; 
A549d: 
if (!$E10b1['tiktok_status']) { 
goto b7e70; 
} 
goto B8c02; 
c2046: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items'], 'payment_type' => $bad21]; 
goto aa0ef; 
F54ca: 
return $D10fd; 
goto e6102; 
edc01: 
$Dd945 = $this->gtm->facebookAPI($E10b1, 'AddPaymentInfo', $Bc03e, $b098d, $b1eff); 
goto C52e0; 
B8c02: 
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Payment Confirm', 'payment_method' => $bad21]; 
goto E4dc1; 
C189c: 
if (!($E10b1['pixel'] && $E10b1['fb_api'])) { 
goto e312b; 
} 
goto edc01; 
F512e: 
$F6719 = isset($E10b1['tax']) ? $E10b1['tax'] : false; 
goto fd74e; 
b55e1: 
$Bc03e = ['content_category' => 'Confirm', 'content_type' => 'product', 'content_ids' => isset($c1b93['ecom_prodid']) ? $c1b93['ecom_prodid'] : '', 'contents' => isset($c1b93['fb_contents']) ? $c1b93['fb_contents'] : array(), 'currency' => $e34fb, 'value' => number_format((float) $abe29, 2, '.', ''), 'num_items' => $c1b93['fb_items']]; 
goto e8edd; 
Aa922: 
$F7fe3 = 0; 
goto b66a6; 
E1008: 
d7b65: 
goto d06ee; 
e6102: 
A5674: 
goto fa724; 
E8444: 
E709f: 
goto fa5b0; 
B7757: 
$A6899 = $this->formatUserdata($E10b1); 
goto e0651; 
D9eb0: 
acc4c: 
goto C9913; 
fd74e: 
$Bc03e = false; 
goto Aa922; 
cd309: 
goto C469b; 
goto D3b46; 
Fb184: 
$b098d = $A6899['pixel_user_data']; 
goto efa46; 
b66a6: 
$baf8f = []; 
goto b1a47; 
D3b46: 
efe7a: 
goto Feebc; 
Be13f: 
return $A31ff; 
goto ad49e; 
ba0bf: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto E1008; 
D64c3: 
$D10fd = ['error' => 'true']; 
goto F54ca; 
De763: 
bbedf: 
goto d8110; 
Ea9f4: 
$e34fb = $E10b1['currency']; 
goto cd309; 
Ecd03: 
$d6674 = 1; 
goto Eb514; 
D2bb4: 
$Ee7a1 = []; 
goto D6974; 
D6974: 
$C8d5b = []; 
goto d41bc; 
A365e: 
if ($E10b1['alt_currency_status'] && isset($E10b1['alt_currency']) && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto efe7a; 
} 
goto Ea9f4; 
F3f68: 
goto bbedf; 
goto d376a; 
d3051: 
$a0e51 = []; 
goto e4fd9; 
c70d9: 
$D10fd = []; 
goto ec072; 
bd900: 
$F7fe3 = 0; 
goto F3f68; 
fa5b0: 
b7e70: 
goto da8ec; 
Eeff8: 
$fe56e = []; 
goto df193; 
Ced34: 
return $D10fd; 
goto Af379; 
d8110: 
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c]; 
goto A2c8d; 
b1a47: 
$f445c = $c1b93['twitter_items']; 
goto Eaa02; 
da8ec: 
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'currency' => $E10b1['currency'], 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'tiktok' => $a0e51, 'ga' => $a6560, 'event_id' => $b1eff]; 
goto Be13f; 
C110a: 
$this->resetCustomerData(); 
goto Df79f; 
D7b55: 
$bfd18 = isset($E10b1['override_tax']) ? $E10b1['override_tax'] : 0; 
goto F512e; 
Df79f: 
$c1b93 = $this->getCartProducts(); 
goto Dece1; 
d376a: 
c4378: 
goto d44fe; 
Fa472: 
$B3a1a = isset($c1b93['ecom_totalvalue']) ? number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '') : 0; 
goto D7b55; 
e6512: 
$C6960 = []; 
goto Fdaaa; 
A2c8d: 
F8e75: 
goto A549d; 
fa880: 
$F4056 = []; 
goto Fa472; 
eaa79: 
C469b: 
goto c2046; 
Fdaaa: 
$e5684 = []; 
goto fa880; 
bc40f: 
if (isset($E10b1['twitter_payment']) && !empty($E10b1['twitter_payment'])) { 
goto c4378; 
} 
goto bd900; 
d44fe: 
$F7fe3 = $E10b1['twitter_payment']; 
goto De763; 
aa0ef: 
$Bc909 = ['event' => 'add_payment_info', 'ga' => $a6560, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff, 'payment_type' => $bad21, 'content_ids' => isset($c1b93['ecom_prodid']) ? $c1b93['ecom_prodid'] : '', 'number_items' => isset($c1b93['fb_items']) ? $c1b93['fb_items'] : '', 'content_type' => 'product', 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb]; 
goto F220f; 
f73e0: 
c4a3b: 
goto caeaf; 
Af379: 
fea03: 
goto efc3a; 
ec072: 
if (isset($c1b93['ga4_items'])) { 
goto fea03; 
} 
goto c5df8; 
F220f: 
if (!$E10b1['pixel']) { 
goto acc4c; 
} 
goto b55e1; 
e8edd: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto d7b65; 
} 
goto ba0bf; 
E5232: 
$f6a53 = []; 
goto D2bb4; 
efc3a: 
$E10b1 = $this->config(); 
goto A635a; 
df193: 
$b098d = []; 
goto E5232; 
b3706: 
if (!($this->session->data['ga4_payment_method'] == $bad21)) { 
goto A5674; 
} 
goto D64c3; 
C9913: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto F8e75; 
} 
goto bc40f; 
Bf6f4: 
$Dd945 = $this->gtm->tiktokAPI($E10b1, 'AddPaymentInfo', $a0e51, $Ee7a1); 
goto E8444; 
fa724: 
bae6e: 
goto Ecd03; 
c5df8: 
$D10fd = ['error' => 'true']; 
goto Ced34; 
C52e0: 
e312b: 
goto D9eb0; 
Eaa02: 
$a6560 = []; 
goto Eeff8; 
e0651: 
if (!(isset($this->session->data['ga4_payment_sent']) && isset($this->session->data['ga4_payment_method']))) { 
goto bae6e; 
} 
goto b3706; 
Dece1: 
$b1eff = '7-' . $this->eventid(); 
goto c70d9; 
d41bc: 
$C431a = []; 
goto d3051; 
A635a: 
$F5c83 = []; 
goto e6512; 
d06ee: 
if (!(isset($A6899['pixel_user_data']) && $A6899)) { 
goto Acc0f; 
} 
goto Fb184; 
Eb514: 
$abe29 = $c1b93['ftotal']; 
goto A365e; 
E4dc1: 
if (!(isset($A6899['tiktok_user_data']) && $A6899)) { 
goto c4a3b; 
} 
goto eba7d; 
efa46: 
Acc0f: 
goto C189c; 
ad49e: 
} 
public function prepareConfirm($D524b = null) 
{ 
goto E0252; 
ea9af: 
b1e25: 
goto aafd7; 
ecbe5: 
goto ac53e; 
goto D7a46; 
d2893: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto Dd917; 
} 
goto ca369; 
Df93d: 
$F4056 = []; 
goto ffaf9; 
Cc57c: 
$a0e51 = []; 
goto f5c5c; 
f3718: 
$abe29 = $c1b93['ecom_totalvalue']; 
goto c5c3f; 
Cfaae: 
$D10fd = ['error' => 'true']; 
goto D52c7; 
Df32e: 
$F5c83 = []; 
goto E6a15; 
Db0cf: 
$E10b1 = $this->config(); 
goto Df32e; 
ae410: 
ac53e: 
goto A8a7f; 
D52c7: 
return $D10fd; 
goto Aebf1; 
A6f10: 
if (isset($c1b93['ga4_items'])) { 
goto a1aee; 
} 
goto Cfaae; 
A8a7f: 
if (!$E10b1['tiktok_status']) { 
goto b1e25; 
} 
goto cf999; 
A0013: 
a21d8: 
goto Ada3c; 
d78d5: 
$b1eff = '7s-' . $this->eventid(); 
goto b760f; 
E5317: 
Fa8f9: 
goto c3060; 
b9d22: 
Dd917: 
goto A0013; 
D4785: 
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'currency' => $E10b1['currency'], 'items' => $c1b93['ga4_items']]; 
goto fa786; 
bdd76: 
$Bc03e = ['content_category' => 'Confirm', 'content_type' => 'product', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'currency' => $e34fb, 'value' => number_format((float) $abe29, 2, '.', ''), 'num_items' => $c1b93['fb_items']]; 
goto d2893; 
fa786: 
if (!$E10b1['pixel']) { 
goto a21d8; 
} 
goto bdd76; 
f142d: 
$e5684 = []; 
goto Df93d; 
E0252: 
$this->resetCustomerData(); 
goto D3c4c; 
ca369: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto b9d22; 
Aebf1: 
a1aee: 
goto Db0cf; 
D3c4c: 
$c1b93 = $this->getCartProducts(); 
goto d78d5; 
cf999: 
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Payment Confirm']; 
goto ea9af; 
d1877: 
$e34fb = $E10b1['alt_currency']; 
goto ae410; 
Aa884: 
$F6719 = $E10b1['tax']; 
goto e41b6; 
ab93a: 
$Bc909 = ['event' => 'confirmCheckout', 'eventAction' => 'confirmCheckout', 'eventLabel' => 'Order Confirm', 'content_name' => 'Checkout', 'ga' => $a6560, 'content_category' => 'Confirm', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'content_type' => 'product', 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb, 'remarketing_ids' => $c1b93['remarketing_ids'], 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'tiktok' => $a0e51, 'event_id' => $b1eff]; 
goto D4785; 
aafd7: 
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']]; 
goto ab93a; 
c4ea5: 
$D524b = ['page' => 'checkout', 'step' => isset($this->session->data['steps']) ? $this->session->data['steps'] + 1 : 2, 'mode' => 'onecheckout']; 
goto E5317; 
Ada3c: 
return $A31ff; 
goto Fa7df; 
D7a46: 
Aab79: 
goto Df7f6; 
b760f: 
$D10fd = []; 
goto A6f10; 
Dee8f: 
$fe56e = []; 
goto Cc57c; 
f5c5c: 
$d6674 = 1; 
goto Ed6d9; 
d90f7: 
$a6560 = []; 
goto Dee8f; 
ffaf9: 
$bfd18 = $E10b1['override_tax']; 
goto Aa884; 
Df7f6: 
$abe29 = $c1b93['ftotal']; 
goto d1877; 
Ed6d9: 
if (isset($D524b)) { 
goto Fa8f9; 
} 
goto c4ea5; 
e41b6: 
$B3a1a = number_format((float) $c1b93['ecom_totalvalue'], 2, '.', ''); 
goto d90f7; 
c3060: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto Aab79; 
} 
goto f3718; 
E6a15: 
$C6960 = []; 
goto f142d; 
c5c3f: 
$e34fb = $E10b1['currency']; 
goto ecbe5; 
Fa7df: 
} 
public function prepareOrder($b7898) 
{ 
goto d800e; 
A7de6: 
if (!$E10b1['cj_status']) { 
goto C20e6; 
} 
goto C2e01; 
def42: 
if (!(isset($aea02) && !empty($aea02))) { 
goto d749e; 
} 
goto E9ba8; 
Cf9d2: 
$e8554 = []; 
goto A32cc; 
Dc4f4: 
bbcd1: 
goto ee1e7; 
C728f: 
return false; 
goto a352d; 
Ff8c9: 
$f445c = []; 
goto Cf9d2; 
b1e19: 
$a0e51 = []; 
goto Aa2d9; 
a9fc3: 
$A06c4 = []; 
goto ed2f9; 
e392a: 
b1947: 
goto E502b; 
A2e35: 
$E10b1['ln'] = isset($A06c4['ln']) ? $A06c4['ln'] : ''; 
goto E7077; 
ac448: 
b0ba3: 
goto D2c54; 
d6d3d: 
return $A31ff; 
goto caece; 
c6b29: 
$D9378 = $D9378 / $Bc770; 
goto e80b2; 
bd652: 
if (!empty($b7898)) { 
goto f043e; 
} 
goto bf020; 
Df831: 
$B1d6b = ['items' => $Ada7b, 'order_id' => $b7898, 'revenue' => $E1250, 'tax' => $A91b0, 'shipping' => $D9576, 'discount' => 0]; 
goto Ce490; 
de566: 
$baf8f = []; 
goto Ca171; 
fdc39: 
$c350a = $d710d - $c1b93['ec_orderTax']; 
goto a8ab4; 
bad79: 
$C8d5b['search_string'] = $aea02; 
goto fc8ea; 
f0a61: 
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) { 
goto a1428; 
} 
goto Abfd9; 
Cc31c: 
$E10b1['ad'] = isset($A06c4['ad']) ? $A06c4['ad'] : ''; 
goto edf6d; 
c6138: 
$bad21 = isset($c1b93['ec_orderDetails']['payment_method']) ? $c1b93['ec_orderDetails']['payment_method'] : 'payment'; 
goto E18f2; 
db11c: 
$E2cf5 = $c1b93['ec_orderValue']; 
goto b796f; 
b796f: 
if (!isset($c1b93['adjustment']['plus'])) { 
goto Bb057; 
} 
goto A5cef; 
E0e5c: 
e57b9: 
goto bd419; 
d4b3f: 
$this->Log($ebdcd); 
goto c6632; 
E9ba8: 
$C431a['search_string'] = $aea02; 
goto bad79; 
B58d4: 
goto B67d3; 
goto ebbcc; 
be4ab: 
if (!isset($c1b93['ec_orderDetails']['shipping_method']['code'])) { 
goto C05d6; 
} 
goto C0091; 
A1233: 
$this->Log('DMT: Order Id Not Found in prepareOrder'); 
goto F91b3; 
Dea15: 
$this->saveCustomerData($A06c4); 
goto Bdbfe; 
B1a39: 
$Fd531 = number_format((float) $Fd531, 2, '.', ''); 
goto Cffc5; 
Fce22: 
B67d3: 
goto C2577; 
ebbcc: 
Ae8fc: 
goto Fd174; 
ee1e7: 
if (!(isset($E10b1['greview']) && $E10b1['greview'])) { 
goto e57b9; 
} 
goto De689; 
a99bf: 
$e34fb = $E10b1['alt_currency']; 
goto e392a; 
c9df5: 
Ebebf: 
goto e3cd1; 
a8ab4: 
if (!$E10b1['tiktok_status']) { 
goto b65c7; 
} 
goto C1deb; 
Aa4d4: 
$A06c4 = ['user_id' => $A6899['user_id'], 'external_id' => $A6899['user_id'], 'customer_id' => $A6899['user_id'], 'email' => $A6899['email'], 'telephone' => $A6899['phone'], 'em' => $this->getHash($A6899['email']), 'fn' => $this->getHash($A6899['firstname']), 'ln' => $this->getHash($A6899['lastname']), 'ph' => $this->getHash($b5c3f['ph']), 'ph_e164' => $this->getHash($b5c3f['e164']), 'ad' => $this->getHash($A6899['address']), 'ct' => $this->getHash($A6899['city']), 'pc' => $this->getHash($A6899['postcode']), 'st' => $this->getHash($A6899['zone']), 'cc' => $this->getHash($A6899['country_code'])]; 
goto C6e1b; 
e01ad: 
$E4cba['eventdata']['data']['Billing_Details'] = ['billing_FIRST_NAME' => $c1b93['ec_orderDetails']['payment_firstname'], 'billing_LAST_NAME' => $c1b93['ec_orderDetails']['payment_lastname'], 'billing_COMPANY ' => $c1b93['ec_orderDetails']['payment_company'], 'billing_ADDRESS_1' => $c1b93['ec_orderDetails']['payment_address_1'], 'billing_ADDRESS_2' => $c1b93['ec_orderDetails']['payment_address_2'], 'billing_CITY' => $c1b93['ec_orderDetails']['payment_city'], 'billing_STATE' => $c1b93['ec_orderDetails']['payment_zone'], 'billing_POSTCODE' => $c1b93['ec_orderDetails']['payment_postcode'], 'billing_COUNTRY' => $c1b93['ec_orderDetails']['payment_country'], 'billing_PHONE' => $c1b93['ec_orderDetails']['telephone'], 'billing_EMAIL' => $c1b93['ec_orderDetails']['email']]; 
goto c0f29; 
Ca171: 
$E6301 = []; 
goto Ff8c9; 
ee0b0: 
$A91b0 = number_format((float) $c1b93['ec_orderTax'], 2, '.', ''); 
goto Ed914; 
E7077: 
$E10b1['ph'] = isset($A06c4['ph']) ? $A06c4['ph'] : ''; 
goto Cb9ef; 
C912b: 
$c63f3 = false; 
goto B6f06; 
af495: 
$d6674 = 1; 
goto Bbc6a; 
Eb5a6: 
$C6960 = []; 
goto f0e27; 
A8546: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto fe61f; 
} 
goto de36b; 
fe159: 
$E10b1['fn'] = isset($A06c4['fn']) ? $A06c4['fn'] : ''; 
goto A2e35; 
c4e17: 
$C431a = []; 
goto Ce072; 
db4e3: 
Bb057: 
goto e0a3a; 
d2204: 
$F7fe3 = 0; 
goto B58d4; 
D885a: 
$E4270 = []; 
goto b1e19; 
f2f57: 
$d51ff = $c1b93['ec_currency']; 
goto Cbc85; 
E502b: 
if (!$E10b1['matomo_status']) { 
goto e4631; 
} 
goto Df831; 
C2577: 
$E300e = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax']; 
goto edf1b; 
fffaa: 
$E10b1['pc'] = isset($A06c4['pc']) ? $A06c4['pc'] : ''; 
goto e198c; 
eb577: 
$dd9db = 0; 
goto Df996; 
F91b3: 
c870e: 
goto C728f; 
Abfd9: 
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id']; 
goto ed706; 
C380f: 
$Afd16 = $c1b93['ec_orderValue']; 
goto F6cf3; 
A036a: 
$Bc909 = ['event' => 'new_order', 'eventAction' => 'new_order', 'eventLabel' => 'Order Completed', 'event_id' => $b1eff, 'content_name' => 'Purchase', 'content_category' => 'Confirm', 'currency' => $d51ff, 'value' => $E1250, 'order_id' => $b7898, 'order_email' => $c1b93['ec_orderDetails']['email'], 'email_hash' => $A06c4['em'], 'tax' => $A91b0, 'shipping' => $D9576, 'ga' => $a6560, 'aw_items' => $E4270, 'aw_ec_data' => $Ed3a2, 'aw_merchant_id' => $E10b1['aw_optional'] ? $E10b1['aw_merchant_id'] : '', 'aw_feed_country' => $E10b1['aw_optional'] ? $E10b1['aw_feed_country'] : '', 'aw_feed_language' => $E10b1['aw_optional'] ? $E10b1['aw_feed_language'] : '', 'content_ids' => $F4056, 'contents' => $D3fa5, 'number_items' => $A5466, 'gtins' => isset($Fb034) ? $Fb034 : null, 'content_type' => 'product', 'remarketing_ids' => $e5684, 'conversion_value' => number_format((float) $Afd16, 2, '.', ''), 'estimated_delivery' => $cd5ff, 'country_code' => $c1b93['ec_orderDetails']['shipping_iso_code_2'], 'affiliation' => isset($c1b93['ec_affiliate_code']) ? $c1b93['ec_affiliate_code'] : '', 'cj_value' => $D9378, 'cj_items' => $ade89, 'order_raw' => $Fe02e, 'lifetime_value' => isset($fcbdb['total']) ? $fcbdb['total'] : 0, 'new_customer' => isset($fcbdb['new_customer']) ? $fcbdb['new_customer'] : true]; 
goto A2ad2; 
a1170: 
$Efc7a = isset($E10b1['custom_cost_event']) ? $E10b1['custom_cost_event'] : 'Custom_Purchase_Cost'; 
goto Cabb8; 
A4607: 
$ebdcd = ['order_id' => $b7898, 'DATALAYER' => $Bc909, 'GA4_DATA' => $F5c83, 'PIXEL_DATA' => $Bc03e, 'AD_ENCOVERSION' => $Ed3a2, 'revenue' => $c1b93['ec_orderValue'], 'tax' => $A91b0, 'shipping' => $D9576, 'discount' => '']; 
goto d4b3f; 
d93b5: 
E3fd6: 
goto a62b4; 
bd419: 
$Fe02e = ['order_total' => $c1b93['ec_orderValue'], 'shipping' => $c1b93['ec_orderShipping'], 'tax' => $c1b93['ec_orderTax'], 'adjustment_plus' => $c1b93['adjustment']['plus'], 'adjustment_minus' => $c1b93['adjustment']['minus'], 'sub_total' => $c1b93['adjustment']['sub_total'], 'order_totals' => $c1b93['adjustment']['order_totals'], 'order_products' => $B506a]; 
goto fdc39; 
c6632: 
cb6ad: 
goto d6d3d; 
efed6: 
c743e: 
goto f6d43; 
e80b2: 
cff9c: 
goto F0847; 
cd1bc: 
$C8d5b = ['price' => number_format((float) $d710d, 2, '.', ''), 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'contents' => $C3d53, 'transaction_id' => $b7898, 'delivery_method' => $e1b42, 'payment_method' => $bad21]; 
goto F3ad3; 
fdeb7: 
aabf5: 
goto c55e2; 
a66e7: 
$a14fb = []; 
goto Aaf06; 
ddc84: 
if (!(isset($E10b1['debug_order']) && $E10b1['debug_order'])) { 
goto cb6ad; 
} 
goto A4607; 
F073b: 
C2ed9: 
goto f035c; 
fc8ea: 
d749e: 
goto C0cbe; 
d6f36: 
return $c1b93['error'] = 'Empty Order'; 
goto f717b; 
D2c54: 
$this->resetCustomerData(); 
goto Ab520; 
edf1b: 
$baf8f = ['value' => number_format((float) $E300e, 2, '.', ''), 'conversion_id' => $b7898, 'currency' => $d51ff, 'email_address' => $c1b93['ec_orderDetails']['email'], 'phone_number' => $c1b93['ec_orderDetails']['telephone'], 'contents' => $f445c]; 
goto ac448; 
e0a3a: 
$E7405 = ['order_id' => $b7898, 'revenue' => number_format((float) $E2cf5, 2, '.', ''), 'shipping' => number_format((float) $acb0a, 2, '.', ''), 'tax' => number_format((float) $ac191, 2, '.', '')]; 
goto d8f31; 
F6cf3: 
goto E11fa; 
goto efed6; 
A2ad2: 
if (!$E10b1['pixel']) { 
goto d5699; 
} 
goto E4903; 
E18f2: 
foreach ($B506a as $ea436) { 
goto faf68; 
a2e09: 
$e5684[] = ['id' => (string) $ea436['pid'], 'google_business_vertical' => 'retail']; 
goto f4320; 
C8cdf: 
$ade89[] = ['item_id' => $ea436['pid'], 'price' => $b4c8e, 'quantity' => $ea436['quantity'], 'discount' => $ea436['discount']]; 
goto f0276; 
C912d: 
goto b8317; 
goto f41b8; 
D06c2: 
goto A3918; 
goto bce1e; 
c294e: 
$D3fa5[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fex_price'], 2, '.', '')]; 
goto Fc10d; 
b3cf3: 
$Ead86 .= '+' . $ea436['title']; 
goto f2f07; 
aa081: 
F58aa: 
goto Fff22; 
a4f7a: 
$Ead86 .= $ea436['title']; 
goto de75a; 
b2b22: 
if (!$c63f3) { 
goto f00f0; 
} 
goto ea385; 
f41b8: 
b4dc9: 
goto e96d9; 
f4320: 
$f2ede = $ea436['price'] * $ea436['quantity']; 
goto ac176; 
E3db4: 
$ffc82[] = ['id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'brand' => $ea436['brand'], 'cat' => $this->getProductCatID($ea436['pid']), 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'currency' => $d51ff]; 
goto C3143; 
f2f07: 
goto c9973; 
goto Cec55; 
D9430: 
$Ada7b[] = ['sku' => $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'price' => $ea436['price'], 'quantity' => $ea436['quantity']]; 
goto C1b02; 
ea52d: 
$bc36f = (string) $ea436['pid']; 
goto dd0b7; 
E04ba: 
$F4056[] = $ea436['pid']; 
goto c419b; 
Fc10d: 
D5b19: 
goto b2b22; 
Ef848: 
f00f0: 
goto E28d5; 
de75a: 
c9973: 
goto e8d76; 
e96d9: 
$E4270[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'price' => number_format($ea436['ex_price'], 2, '.', '')]; 
goto Eded1; 
C086a: 
$D0e68[] = ['product_id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'price' => number_format($ea436['ex_price'], 2, '.', ''), 'quantity' => $ea436['quantity']]; 
goto Fed84; 
e2c82: 
if ($d6674 == 1) { 
goto d1c93; 
} 
goto D7d38; 
f2ec6: 
$C6960[] = ['id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'brand' => $ea436['brand'], 'variant' => $ccb6f, 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'currency' => $d51ff]; 
goto D9430; 
c419b: 
if (!(isset($ea436['gtin']) && !empty($ea436['gtin']))) { 
goto a6bb7; 
} 
goto Bf81d; 
C3143: 
$dc8ae[] = ['product_id' => (string) $ea436['pid'], 'category' => isset($E10b1['admitad_category']) ? $E10b1['admitad_category'] : '1', 'price' => $ea436['price'], 'currency' => $d51ff, 'quantity' => $ea436['quantity'], 'type' => isset($E10b1['admitad_additional_type']) ? $E10b1['admitad_additional_type'] : 'sale']; 
goto cf10d; 
D7d38: 
if ($d6674 == 2) { 
goto adc2f; 
} 
goto D06c2; 
E28d5: 
$A5466 = $A5466 + $ea436['quantity']; 
goto e2c82; 
d4a51: 
$b4c8e = $ea436['ex_price'] / $Bc770; 
goto F0974; 
f0276: 
d0102: 
goto E3db4; 
Dac59: 
$E4270[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'price' => $ea436['price']]; 
goto C912d; 
Dacef: 
goto A3918; 
goto Acac4; 
e6ac7: 
if ($e5408 != $E10b1['currency']) { 
goto ff9f1; 
} 
goto C5d6e; 
dc327: 
$ccb6f = mb_substr($ccb6f, 0, 499); 
goto E04ba; 
Dc8f3: 
$D3fa5[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fprice'], 2, '.', '')]; 
goto C62b2; 
C62b2: 
goto D5b19; 
goto Ea669; 
Eded1: 
b8317: 
goto F25df; 
E80ad: 
foreach ($ea436['option'] as $e903c) { 
goto F2e3a; 
Dcd94: 
$B3a1a = isset($e903c['value']) ? $e903c['value'] : ''; 
goto E5fd3; 
E5fd3: 
Aa678: 
goto E5927; 
fafc3: 
$B3a1a = ''; 
goto f9d29; 
F2e3a: 
if (isset($e903c['type']) && $e903c['type'] != 'file') { 
goto b417c; 
} 
goto fafc3; 
E5927: 
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' '; 
goto F59c6; 
c59f9: 
b417c: 
goto Dcd94; 
F59c6: 
C1b0a: 
goto e0b8d; 
f9d29: 
goto Aa678; 
goto c59f9; 
e0b8d: 
} 
goto Be8a6; 
Cec55: 
D09e6: 
goto a4f7a; 
a2be7: 
b6765: 
goto ead9b; 
ea385: 
$C2050 += isset($ea436['cost']) ? $ea436['cost'] * (int) $ea436['quantity'] : 0; 
goto Ef848; 
dd0b7: 
A3918: 
goto F12e0; 
ed723: 
$Ead86 = ''; 
goto aa081; 
Ea669: 
A205a: 
goto c294e; 
C5d6e: 
$b4c8e = $ea436['ex_price']; 
goto B645c; 
bce1e: 
d1c93: 
goto f7cf0; 
e8d76: 
if (!(isset($E10b1['cj_status']) && $E10b1['cj_status'])) { 
goto d0102; 
} 
goto C7ebf; 
dd3ce: 
a6bb7: 
goto a2e09; 
F12e0: 
$d6674++; 
goto a2be7; 
C7ebf: 
$b4c8e = 0; 
goto e6ac7; 
F25df: 
if (isset($Ead86)) { 
goto F58aa; 
} 
goto ed723; 
Fed84: 
$E6301[] = ['content_category' => $ea436['category'], 'content_name' => $ea436['title'], 'price' => $ea436['price'], 'content_id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'brand' => $ea436['brand']]; 
goto b9e56; 
e18f1: 
$C3d53[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fex_price'], 2, '.', '')]; 
goto ebd62; 
C1b02: 
if (isset($E10b1['aw_tax_exclude']) && $E10b1['aw_tax_exclude']) { 
goto b4dc9; 
} 
goto Dac59; 
F0974: 
e6799: 
goto Ec0ab; 
Ec0ab: 
$b4c8e = number_format((float) $b4c8e, 2, '.', ''); 
goto C8cdf; 
c2afb: 
$dd9db += $ea436['ex_price'] * $ea436['quantity']; 
goto f2ec6; 
B645c: 
goto e6799; 
goto ad5ef; 
Be8a6: 
b58c1: 
goto dc327; 
b9e56: 
$f445c[] = ['content_id' => (string) $ea436['pid'], 'content_type' => 'product', 'content_name' => $ea436['title'], 'num_items' => $ea436['quantity'], 'content_price' => $ea436['price'], 'content_group_id' => '']; 
goto e18f1; 
ac176: 
$d710d += $f2ede; 
goto c2afb; 
ad5ef: 
ff9f1: 
goto d4a51; 
Fff22: 
if ($d6674 == 1) { 
goto D09e6; 
} 
goto b3cf3; 
Acac4: 
adc2f: 
goto ea52d; 
faf68: 
$ccb6f = ''; 
goto E80ad; 
cf10d: 
$a14fb[] = ['order_id' => $b7898, 'product_id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'price' => $ea436['price'], 'quantity' => $ea436['quantity']]; 
goto C086a; 
f7cf0: 
$a7e4d = (string) $ea436['pid']; 
goto Dacef; 
ebd62: 
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) { 
goto A205a; 
} 
goto Dc8f3; 
Bf81d: 
$Fb034[] = ['gtin' => $ea436['gtin']]; 
goto dd3ce; 
ead9b: 
} 
goto ba021; 
c0f29: 
$E4cba['eventdata']['data']['Shipping_Details'] = ['shipping_FIRST_NAME' => $c1b93['ec_orderDetails']['shipping_firstname'], 'shipping_LAST_NAME' => $c1b93['ec_orderDetails']['shipping_lastname'], 'shipping_COMPANY ' => $c1b93['ec_orderDetails']['shipping_company'], 'shipping_ADDRESS_1' => $c1b93['ec_orderDetails']['shipping_address_1'], 'shipping_ADDRESS_2' => $c1b93['ec_orderDetails']['shipping_address_2'], 'shipping_CITY' => $c1b93['ec_orderDetails']['shipping_city'], 'shipping_STATE' => $c1b93['ec_orderDetails']['shipping_zone'], 'shipping_POSTCODE' => $c1b93['ec_orderDetails']['shipping_postcode'], 'shipping_COUNTRY' => $c1b93['ec_orderDetails']['shipping_country'], 'shipping_METHOD_TITLE' => $c1b93['ec_orderDetails']['shipping_method']]; 
goto C4b84; 
a0c8d: 
$b7898 = $c1b93['ec_orderDetails']['order_id']; 
goto f2f57; 
A1440: 
goto D5843; 
goto Edf54; 
C9e30: 
if ($b1eff) { 
goto F18fd; 
} 
goto Aab97; 
C1deb: 
$a0e51 = ['contents' => $E6301, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => number_format((float) $d710d, 2, '.', ''), 'description' => 'Purchase', 'transaction_id' => $b7898]; 
goto F1fee; 
ba021: 
Eebaa: 
goto D00ea; 
bf020: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto b29a1; 
} 
goto Ff110; 
De689: 
$aea75 = ['order_id' => $b7898, 'email' => $c1b93['ec_orderDetails']['email'], 'country' => $c1b93['ec_orderDetails']['shipping_iso_code_2'], 'estimate' => $cd5ff]; 
goto E0e5c; 
E8424: 
$a6560 = []; 
goto be73e; 
F0847: 
$D9378 = number_format((float) $D9378, 2, '.', ''); 
goto E2d97; 
be73e: 
$fe56e = []; 
goto B577f; 
cb87d: 
$F6719 = $E10b1['tax']; 
goto Aedb0; 
c55e2: 
$abe29 = $c1b93['ec_orderValue']; 
goto d5172; 
bc3ce: 
if (isset($E10b1['twitter_purchase']) && !empty($E10b1['twitter_purchase'])) { 
goto Ae8fc; 
} 
goto d2204; 
F69d6: 
Eeafa: 
goto c0f34; 
A5cef: 
$E2cf5 = $E2cf5 - $c1b93['adjustment']['plus']; 
goto db4e3; 
edf6d: 
$E10b1['ct'] = isset($A06c4['ct']) ? $A06c4['ct'] : ''; 
goto Bd586; 
Bd586: 
$E10b1['st'] = isset($A06c4['st']) ? $A06c4['st'] : ''; 
goto fffaa; 
Bf236: 
$aea75 = []; 
goto A0e9a; 
B6f06: 
$Efc7a = ''; 
goto A1440; 
B5e7a: 
$e5408 = isset($E10b1['cj_currency']) ? $E10b1['cj_currency'] : $E10b1['currency']; 
goto b2855; 
F329c: 
$e8554 = ['items' => $D0e68, 'order' => $E7405]; 
goto F69d6; 
B0f71: 
$Fd531 = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax'] + $c1b93['adjustment']['minus'] - $c1b93['adjustment']['plus']; 
goto B1a39; 
E7f9f: 
$Fb034 = []; 
goto bb0a0; 
Eaee8: 
$C5b2e = ''; 
goto af495; 
df788: 
C05d6: 
goto D7c6d; 
ff6b2: 
$abe29 = $abe29 - $c1b93['ec_orderTax']; 
goto F073b; 
Ed914: 
$D9576 = number_format((float) $c1b93['ec_orderShipping'], 2, '.', ''); 
goto F656f; 
De14b: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto b0ba3; 
} 
goto bc3ce; 
B6cf1: 
$bc36f = ''; 
goto a66e7; 
Cabb8: 
D5843: 
goto ffa70; 
b2855: 
if (isset($E10b1['custom_cost_event']) && $E10b1['custom_cost_event']) { 
goto F938d; 
} 
goto C912b; 
Ff110: 
$this->Log('DMT: Procedure Call prepareorder. Result: Order Id Empty'); 
goto Fd0cc; 
c0f34: 
$b3c09 = (int) $d710d - (int) $c1b93['ec_orderTax']; 
goto B0f71; 
A0e9a: 
$Bc03e = false; 
goto Eaee8; 
D00ea: 
$ac69a = ['id' => $b7898, 'affiliation' => isset($c1b93['ec_affiliate_code']) ? $c1b93['ec_affiliate_code'] : '', 'revenue' => $c1b93['ec_orderValue'], 'tax' => $c1b93['ec_orderTax'], 'shipping' => $c1b93['ec_orderShipping'], 'coupon' => isset($c1b93['ec_orderCoupon']) ? $c1b93['ec_orderCoupon'] : '', 'currency' => $d51ff]; 
goto C2fcb; 
d8f31: 
if (!$E10b1['linkwise_status']) { 
goto Eeafa; 
} 
goto F329c; 
e6d77: 
E11fa: 
goto A8546; 
f830d: 
a4dc1: 
goto be4ab; 
A32cc: 
$D0e68 = []; 
goto a9fc3; 
Bd1cd: 
$F4056 = []; 
goto B734b; 
b21f7: 
$b1eff = $c1b93['event_id']; 
goto C9e30; 
F656f: 
$Bc770 = isset($E10b1['cj_currency_value']) && (int) $E10b1['cj_currency_value'] > 0 ? (float) $E10b1['cj_currency_value'] : 1; 
goto B5e7a; 
E0a6c: 
$acb0a = $c1b93['ec_orderShipping']; 
goto db11c; 
C4b84: 
$E4cba['eventdata']['data']['Order_Details'] = ['order_ID' => $b7898, 'order_KEY' => $b7898, 'order_TAX' => $Fe02e['tax'], 'order_SHIPPING_TAX' => 0, 'order_SHIPPING' => $Fe02e['shipping'], 'order_PRICE' => $E1250, 'order_DATE' => $c1b93['ec_orderDetails']['date_added'], 'order_SUBTOTAL' => $Fe02e['sub_total'], 'order_DOWNLOAD_LINK' => '']; 
goto fba81; 
A2a53: 
if (!isset($c1b93['ec_orderDetails']['shipping_code'])) { 
goto a4dc1; 
} 
goto d2b8c; 
Edf54: 
F938d: 
goto f17ec; 
Aa2d9: 
$C8d5b = []; 
goto c4e17; 
e91dc: 
if (!$E10b1['snap_pixel_status']) { 
goto d51a5; 
} 
goto cd1bc; 
E093d: 
$D9378 = 0; 
goto E20d8; 
B734b: 
$d710d = 0; 
goto eb577; 
ed706: 
a1428: 
goto cc3fe; 
F3ad3: 
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $F4056, 'contents' => $C3d53, 'value' => number_format((float) $d710d, 2, '.', ''), 'order_id' => $b7898, 'num_items' => $A5466, 'delivery_method' => $e1b42, 'payment_method' => $bad21]; 
goto def42; 
a352d: 
efd34: 
goto b21f7; 
f97f6: 
$B1d6b = ''; 
goto De4d6; 
d4f42: 
$de949 = $c1b93['ec_orderProducts']['ga4_items']; 
goto a84eb; 
cc3fe: 
d5699: 
goto fad03; 
f6d43: 
$Afd16 = $c1b93['ec_orderValue'] - $c1b93['ec_orderTax']; 
goto e6d77; 
d012a: 
$F5c83 = []; 
goto Eb5a6; 
Cffc5: 
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) { 
goto Ebebf; 
} 
goto D2c45; 
de36b: 
$abe29 = $abe29; 
goto a4927; 
Bdbfe: 
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) { 
goto aabf5; 
} 
goto e9cdd; 
dbbbb: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto c870e; 
} 
goto A1233; 
a84eb: 
$B506a = $c1b93['ec_orderProducts']['products']; 
goto E7f9f; 
e9cdd: 
$E4cba = ['email' => $A06c4['email'], 'event' => 'order_completed', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $c1b93['ec_orderDetails']['firstname'], 'LASTNAME' => $c1b93['ec_orderDetails']['lastname'], 'LOCATION' => $c1b93['ec_orderDetails']['payment_city'], 'COUNTRY' => $c1b93['ec_orderDetails']['payment_country'], 'TELEPHONE' => $c1b93['ec_orderDetails']['telephone']], 'eventdata' => ['id' => $this->GUID(), 'cuid' => $this->getCuid(), 'data' => []]]; 
goto e01ad; 
B577f: 
$ade89 = []; 
goto E093d; 
Fd174: 
$F7fe3 = $E10b1['twitter_purchase']; 
goto Fce22; 
C2e01: 
$D9378 = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax']; 
goto cc729; 
Cb9ef: 
$E10b1['ph_e164'] = isset($A06c4['ph_e164']) ? $A06c4['ph_e164'] : ''; 
goto Cc31c; 
Fd0cc: 
b29a1: 
goto d6f36; 
C6e1b: 
if (!(isset($E10b1['adword_ec']) && $E10b1['adword_ec'])) { 
goto E3fd6; 
} 
goto f014a; 
E4903: 
$Bc03e = ['content_category' => 'Confirm', 'content_ids' => $F4056, 'contents' => $D3fa5, 'currency' => $e34fb, 'num_items' => $A5466, 'value' => number_format((float) $abe29, 2, '.', ''), 'content_name' => 'Purchase', 'content_type' => 'product']; 
goto f0a61; 
ffa70: 
$e1b42 = isset($c1b93['ec_orderDetails']['shipping_method']) ? $c1b93['ec_orderDetails']['shipping_method'] : 'shipping'; 
goto c6138; 
Adcd4: 
$b5c3f = $this->formatPhone($c1b93['ec_orderDetails']['telephone'], $c1b93['ec_orderDetails']['payment_iso_code_2']); 
goto Aa4d4; 
fad03: 
$A31ff = ['error' => 'false', 'dmt' => $E10b1, 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'cost' => number_format((float) $C2050, 2, '.', ''), 'dmt' => $E10b1, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b, 'affiliate_gateway' => $ffc82, 'linkwise' => $e8554, 'skroutz_order' => $E7405, 'skroutz_items' => $a14fb, 'admitad_items' => $E10b1['admitad_status'] ? $dc8ae : '', 'sendinblue' => $E4cba, 'currency' => $d51ff, 'revenue' => $c1b93['ec_orderValue'], 'product_value' => number_format((float) $b3c09, 2, '.', ''), 'tax' => $A91b0, 'shipping' => $D9576, 'order_id' => $b7898, 'value' => $E1250, 'customer' => $A06c4, 'discount' => '', 'shipping_method' => $e1b42, 'payment_method' => $bad21, 'permonat_value' => $Fd531, 'items' => $B506a, 'event_id' => $b1eff, 'hit' => $c1b93['hit']]; 
goto ddc84; 
F4a6d: 
$F7fe3 = 0; 
goto de566; 
F1fee: 
b65c7: 
goto e91dc; 
C2fcb: 
$ac191 = $c1b93['ec_orderTax']; 
goto E0a6c; 
d2dbc: 
$abe29 = number_format($this->currency->format($abe29, $E10b1['alt_currency'], '', false), 2, '.', ''); 
goto a99bf; 
Aab97: 
$b1eff = '8-' . $this->eventid(); 
goto Befe4; 
f717b: 
f043e: 
goto c92b5; 
Ce072: 
$C3d53 = []; 
goto F4a6d; 
D25f6: 
$a6560 = ['transaction_id' => (string) $b7898, 'value' => $E1250, 'currency' => $d51ff, 'tax' => $A91b0, 'shipping' => $D9576, 'coupon' => isset($c1b93['ec_orderCoupon']) ? $c1b93['ec_orderCoupon'] : '', 'items' => $de949]; 
goto A036a; 
ed2f9: 
$B4e5f = []; 
goto Bf236; 
f17ec: 
$c63f3 = true; 
goto a1170; 
F325f: 
$Ed3a2 = []; 
goto d4f42; 
f035c: 
if (isset($E10b1['aw_tax_exclude']) && $E10b1['aw_tax_exclude']) { 
goto c743e; 
} 
goto C380f; 
d5172: 
if (!(isset($E10b1['fb_shipping_exclude']) && $E10b1['fb_shipping_exclude'])) { 
goto E11c8; 
} 
goto ca17f; 
a4927: 
$e34fb = $d51ff; 
goto e5421; 
F8969: 
$D3fa5 = []; 
goto d012a; 
Bbc6a: 
$bfd18 = $E10b1['override_tax']; 
goto cb87d; 
e5421: 
goto b1947; 
goto dc2dc; 
Aaf06: 
$E4cba = []; 
goto F325f; 
f014a: 
$Ed3a2 = ['sha256_email_address' => $A06c4['em'], 'sha256_phone_number' => $A06c4['ph_e164'], 'address' => ['sha256_first_name' => $A06c4['fn'], 'sha256_last_name' => $A06c4['ln'], 'street' => $A6899['address'], 'city' => $A6899['city'], 'postal_code' => $A6899['postcode'], 'region' => $A6899['zone'], 'country' => $A6899['country_code']]]; 
goto d93b5; 
c92b5: 
$c1b93 = $this->getOrder($b7898); 
goto f3db0; 
dc2dc: 
fe61f: 
goto d2dbc; 
bb0a0: 
$dc8ae = []; 
goto D885a; 
E20d8: 
$C2050 = 0; 
goto a0c8d; 
C0cbe: 
d51a5: 
goto De14b; 
eff97: 
$fcbdb = $this->getCustomerHistory($c1b93['ec_orderDetails']['email'], $b7898); 
goto D25f6; 
D2c45: 
$Fd531 = number_format($this->currency->format($Fd531, $E10b1['alt_currency'], '', false), 2, '.', ''); 
goto c9df5; 
Cbc85: 
$E1250 = number_format((float) $c1b93['ec_orderValue'], 2, '.', ''); 
goto ee0b0; 
ca17f: 
$abe29 = $abe29 - $c1b93['ec_orderShipping']; 
goto B5be8; 
Befe4: 
F18fd: 
goto F8969; 
e3cd1: 
$B73b2 = ''; 
goto A2a53; 
E2d97: 
C20e6: 
goto eff97; 
C4ab0: 
if (!(isset($cd5ff) && !empty($cd5ff))) { 
goto bbcd1; 
} 
goto Bc55b; 
D49b4: 
$e5684 = []; 
goto Bd1cd; 
Ab520: 
$A6899 = ['user_id' => $this->customer->getId(), 'email' => str_replace(' ', '', $c1b93['ec_orderDetails']['email']), 'phone' => $this->formatPhone($c1b93['ec_orderDetails']['telephone'], $c1b93['ec_orderDetails']['payment_iso_code_2']), 'address' => $c1b93['ec_orderDetails']['payment_address_1'], 'city' => $c1b93['ec_orderDetails']['payment_city'], 'postcode' => isset($c1b93['ec_orderDetails']['payment_postcode']) ? $this->formatPostcode($c1b93['ec_orderDetails']['payment_postcode']) : '', 'zone' => $c1b93['ec_orderDetails']['payment_zone'], 'country' => $c1b93['ec_orderDetails']['payment_country'], 'country_code' => $c1b93['ec_orderDetails']['payment_iso_code_2'], 'firstname' => $c1b93['ec_orderDetails']['firstname'], 'lastname' => $c1b93['ec_orderDetails']['lastname']]; 
goto Adcd4; 
d800e: 
$E10b1 = $this->config(); 
goto bd652; 
B0005: 
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) { 
goto C2ed9; 
} 
goto ff6b2; 
f3db0: 
if ($c1b93) { 
goto efd34; 
} 
goto dbbbb; 
e198c: 
$E10b1['cc'] = isset($A06c4['cc']) ? $A06c4['cc'] : ''; 
goto Dea15; 
B5be8: 
E11c8: 
goto B0005; 
C0091: 
$B73b2 = $c1b93['ec_orderDetails']['shipping_method']['code']; 
goto df788; 
a62b4: 
$E10b1['em'] = isset($A06c4['em']) ? $A06c4['em'] : ''; 
goto fe159; 
Bc55b: 
$cd5ff = date('Y-m-d', $cd5ff); 
goto Dc4f4; 
d2b8c: 
$B73b2 = $c1b93['ec_orderDetails']['shipping_code']; 
goto f830d; 
Ce490: 
e4631: 
goto A7de6; 
cc729: 
if (!($e5408 !== $E10b1['currency'])) { 
goto cff9c; 
} 
goto c6b29; 
fba81: 
$E4cba['eventdata']['data']['Miscalleneous'] = ['cart_DISCOUNT' => '0', 'cart_DISCOUNT_TAX' => '0', 'customer_USER ' => $c1b93['ec_orderDetails']['customer_id'], 'payment_METHOD' => $c1b93['ec_orderDetails']['payment_code'], 'payment_METHOD_TITLE' => $c1b93['ec_orderDetails']['payment_method'], 'customer_IP_ADDRESS' => $c1b93['ec_orderDetails']['ip'], 'customer_USER_AGENT' => $c1b93['ec_orderDetails']['user_agent']]; 
goto fdeb7; 
D7c6d: 
$cd5ff = $this->DeliveryEstimate('15:00:00', 5, $B73b2); 
goto C4ab0; 
f0e27: 
$ffc82 = []; 
goto D49b4; 
Df996: 
$a7e4d = ''; 
goto B6cf1; 
Aedb0: 
$A5466 = 0; 
goto f97f6; 
De4d6: 
$Ada7b = []; 
goto E8424; 
caece: 
} 
public function getCartProducts() 
{ 
goto dfdbb; 
A538c: 
$c1b93 = []; 
goto B5787; 
fdf66: 
$c1b93['sendinblue_products'] = []; 
goto F939f; 
efe38: 
$d6674 = 1; 
goto ffd67; 
F880a: 
foreach ($C8e44 as $ea436) { 
goto C7e7d; 
C09bf: 
goto b1496; 
goto abd58; 
abd58: 
Bf849: 
goto A3943; 
a13b3: 
$c1b93['ftotal'] = $c1b93['ftotal'] + $Ac84c; 
goto Ec0be; 
A0518: 
a43e4: 
goto f162b; 
b504a: 
$f97f8 = number_format((float) $this->currency->format($this->tax->calculate($ea436['price'], $ea436['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false), 2, '.', ''); 
goto a13b3; 
B478a: 
$Bf5ae = $this->tagmangerPtitle($ea436['name'], $da8eb, $D88b8, $ea436['product_id']); 
goto D7e4b; 
b4dce: 
$Ac84c = $this->currency->format($e3e84, $E10b1['alt_currency'], 0, false); 
goto Cd923; 
Cfad2: 
$Ac84c = $F7a0b; 
goto C09bf; 
F6a8a: 
$d83ed = $A50b2['item_list_id']; 
goto c435f; 
e4310: 
goto Fbab3; 
goto e0c86; 
bcb10: 
b3baa: 
goto c4efc; 
Df459: 
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) { 
goto a84be; 
} 
goto Ca3bd; 
a2980: 
$da8eb = $this->getProductBrandName($ea436['product_id']); 
goto a490f; 
A1988: 
$Ac84c = $e3e84; 
goto e4310; 
Cf7e8: 
$e41da = $A50b2['item_category3']; 
goto A0eaf; 
e4d3a: 
a84be: 
goto cfa75; 
A0eaf: 
$a2de8 = $A50b2['item_category4']; 
goto D9659; 
B8a49: 
$c1b93['matomo_items'][] = ['sku' => $f95b0, 'name' => $Bf5ae, 'category' => $D1f20, 'price' => $f97f8, 'quantity' => $ea436['quantity']]; 
goto cf83c; 
A3943: 
$Ac84c = $this->currency->format($F7a0b, $E10b1['alt_currency'], 0, false); 
goto Bbe3b; 
d592d: 
$c1b93['ec_cartproducts'][] = ['id' => (string) $f95b0, 'product_id' => $ea436['product_id'], 'name' => $Bf5ae, 'category' => $D1f20, 'brand' => $da8eb, 'variant' => $ccb6f, 'quantity' => $ea436['quantity'], 'price' => $f97f8, 'ex_price' => number_format((float) $ea436['price'], 2, '.', ''), 'currency' => $this->session->data['currency']]; 
goto B8a49; 
f64b2: 
$c1b93['dynx_itemid'] = $f95b0; 
goto Dbdb3; 
db8f2: 
$D88b8 = $ea436['model']; 
goto D8c2f; 
D8c2f: 
$c482b = isset($ea436['sku']) ? $ea436['sku'] : false; 
goto E9499; 
bf327: 
$A1d57 = $A50b2['item_category']; 
goto efe2d; 
e0952: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto ad157; 
} 
goto A1988; 
A1daf: 
if ($d6674 == 2) { 
goto e27dc; 
} 
goto Fbc5f; 
B8322: 
$c1b93['fb_contents'][] = ['id' => $f95b0, 'quantity' => $ea436['quantity']]; 
goto Af7d9; 
D7e4b: 
$ddb28 = $this->tax->calculate($ea436['price'], $ea436['tax_class_id'], $this->config->get('config_tax')); 
goto F82cc; 
e7d91: 
F0d02: 
goto d592d; 
Ec0be: 
$c1b93['ecom_prodid'][] = $f95b0; 
goto E7151; 
F82cc: 
$e3e84 = $ddb28 * $ea436['quantity']; 
goto fd9e3; 
Af7d9: 
$c1b93['fb_items'] = $c1b93['fb_items'] + $ea436['quantity']; 
goto Ab869; 
Bbe3b: 
b1496: 
goto Ef354; 
e8800: 
if (!isset($A50b2)) { 
goto B17dc; 
} 
goto Bf4f5; 
Ab869: 
if ($d6674 == 1) { 
goto C79ed; 
} 
goto A1daf; 
e4aff: 
$c1b93['ecom_totalvalue'] += number_format((float) $e3e84, 2, '.', ''); 
goto B8322; 
Eb7e9: 
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) { 
goto ddb50; 
} 
goto c9464; 
d6630: 
B17dc: 
goto B478a; 
D708c: 
$c1b93['dynx_itemid2'] = $f95b0; 
goto e7d91; 
f8bb8: 
e27dc: 
goto D708c; 
fd9e3: 
$e3e84 = $this->currency->format($e3e84, $this->session->data['currency'], 0, false); 
goto e0952; 
aa18d: 
a8f82: 
goto Df459; 
Ca3bd: 
$c1b93['twitter_items'][] = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => $ea436['quantity'], 'content_price' => $f97f8, 'content_group_id' => '']; 
goto e4d3a; 
cfa75: 
$c1b93['tiktok_items'][] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $f97f8, 'content_id' => $f95b0, 'quantity' => $ea436['quantity'], 'brand' => $da8eb]; 
goto caf11; 
E9499: 
$f95b0 = $this->tagmangerPmap($D88b8, $c482b, $ea436['product_id'], $E10b1); 
goto a2980; 
a490f: 
$A50b2 = $this->getProductCatName($ea436['product_id']); 
goto e8800; 
d279e: 
C79ed: 
goto f64b2; 
efe2d: 
$F9d4b = $A50b2['item_category2']; 
goto Cf7e8; 
c435f: 
$B3525 = $A50b2['item_list_name']; 
goto bf327; 
Cc90a: 
$c1b93['sendinblue_products'][] = ['id' => (string) $f95b0, 'name' => $Bf5ae, 'quantity' => $ea436['quantity'], 'price' => number_format((float) $ea436['price'], 2, '.', ''), 'url' => str_replace('&', '&', $this->url->link('product/product', 'product_id=' . $ea436['product_id']))]; 
goto aa18d; 
Bf4f5: 
$D1f20 = $A50b2['category']; 
goto F6a8a; 
Dbdb3: 
goto F0d02; 
goto f8bb8; 
f162b: 
$ccb6f = mb_substr($ccb6f, 0, 499); 
goto db8f2; 
Fbc5f: 
goto F0d02; 
goto d279e; 
f64fe: 
$d6674++; 
goto bcb10; 
C7e7d: 
$ccb6f = ''; 
goto C17ec; 
caf11: 
$c1b93['ga4_items'][] = ['item_id' => isset($f95b0) ? (string) $f95b0 : '', 'item_name' => isset($Bf5ae) ? $Bf5ae : '', 'item_brand' => isset($da8eb) ? $da8eb : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_variant' => $ccb6f, 'affiliation' => '', 'discount' => 0, 'coupon' => $c1b93['ec_coupon'], 'price' => $f97f8, 'currency' => $E10b1['currency'], 'quantity' => $ea436['quantity']]; 
goto f64fe; 
Cd923: 
Fbab3: 
goto Eb7e9; 
F3946: 
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) { 
goto Bf849; 
} 
goto Cfad2; 
Ef354: 
ddb50: 
goto b504a; 
C17ec: 
foreach ($ea436['option'] as $e903c) { 
goto c33f0; 
C516a: 
$B3a1a = isset($e903c['value']) ? $e903c['value'] : ''; 
goto e7236; 
D5624: 
$B3a1a = isset($e903c['option_value']) ? $e903c['option_value'] : ''; 
goto ad6a4; 
f2a1b: 
D15fe: 
goto C68ce; 
ad6a4: 
add7f: 
goto f2a1b; 
B2533: 
a5bf2: 
goto B12da; 
Ad784: 
goto D15fe; 
goto Ccad2; 
Ccad2: 
f7ce9: 
goto C516a; 
bd50b: 
$B3a1a = ''; 
goto Ad784; 
c33f0: 
if (isset($e903c['type']) && $e903c['type'] != 'file') { 
goto f7ce9; 
} 
goto bd50b; 
e7236: 
if (!(substr(VERSION, 0, 1) == '1')) { 
goto add7f; 
} 
goto D5624; 
C68ce: 
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' '; 
goto B2533; 
B12da: 
} 
goto A0518; 
E7151: 
$c1b93['remarketing_ids'][] = ['id' => (string) $f95b0, 'google_business_vertical' => 'retail']; 
goto e4aff; 
e0c86: 
ad157: 
goto b4dce; 
c9464: 
$F7a0b = $ea436['price'] * $ea436['quantity']; 
goto f9af6; 
f9af6: 
$F7a0b = $this->currency->format($F7a0b, $this->session->data['currency'], 0, false); 
goto F3946; 
cf83c: 
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) { 
goto a8f82; 
} 
goto Cc90a; 
D9659: 
$D2701 = $A50b2['item_category5']; 
goto d6630; 
c4efc: 
} 
goto ecafb; 
E118c: 
$c1b93['ec_coupon'] = isset($this->session->data['coupon']) ? $this->session->data['coupon'] : false; 
goto Da867; 
e2fee: 
$this->load->model('catalog/product'); 
goto C7bb7; 
F62ad: 
$c1b93['fb_contents'] = []; 
goto ae139; 
B5787: 
$c1b93['ec_shipping_total'] = isset($this->session->data['shipping_method']['cost']) ? $this->session->data['shipping_method']['cost'] : 0; 
goto E118c; 
F939f: 
$c1b93['ecom_pagetype'] = 'purchase'; 
goto C000d; 
A31fe: 
$c1b93['dynx_itemid2'] = ''; 
goto d304a; 
ced49: 
$c1b93['matomo_items'] = []; 
goto f4741; 
ecafb: 
ac585: 
goto Ce4ae; 
b6d31: 
$c1b93['fb_items'] = 0; 
goto e1188; 
ffd67: 
$C6960 = []; 
goto F880a; 
f4741: 
$c1b93['tiktok_items'] = []; 
goto efe38; 
d304a: 
$c1b93['ftotal'] = 0; 
goto b6d31; 
C7bb7: 
$E10b1 = $this->settings; 
goto A538c; 
f121a: 
$c1b93['dynx_itemid'] = ''; 
goto A31fe; 
Da867: 
$c1b93['ecom_prodid'] = []; 
goto F62ad; 
C000d: 
$c1b93['ecom_totalvalue'] = 0; 
goto f121a; 
ae139: 
$c1b93['remarketing_ids'] = []; 
goto fdf66; 
dfdbb: 
$C8e44 = $this->cart->getProducts(); 
goto e2fee; 
Ce4ae: 
return $c1b93; 
goto Ae4f5; 
e1188: 
$c1b93['twitter_items'] = []; 
goto ced49; 
Ae4f5: 
} 
public function getOrder($b7898) 
{ 
goto A8026; 
Cffd7: 
$c1b93['ec_orderValue'] = $E1250; 
goto db8a4; 
d7880: 
$D9576 = $this->getOrderShipping($b7898) * $c1b93['ec_orderDetails']['currency_value']; 
goto B5fd9; 
E0d03: 
if (!$D1392) { 
goto E9b63; 
} 
goto Ed204; 
B57dd: 
return false; 
goto f6939; 
Ed204: 
$c1b93['ec_affiliate_code'] = $D1392['name']; 
goto Affa4; 
d6ad9: 
$this->load->model('account/customer'); 
goto d597e; 
c5351: 
$this->load->model('checkout/marketing'); 
goto C9c83; 
Acbe3: 
$bfd18 = $E10b1['override_tax']; 
goto Bccc5; 
f6939: 
Ec553: 
goto b69ba; 
e4eff: 
dad96: 
goto E899f; 
bd9c3: 
b15ad: 
goto B57dd; 
E899f: 
$c1b93['hit'] = $B535f->row['hit']; 
goto a4517; 
D0c37: 
$Ee837 = $E1250 / $F6719; 
goto D1780; 
c2e50: 
$c1b93['ec_affiliate_code'] = ''; 
goto ac8e3; 
dc5d5: 
fbb4a: 
goto b389c; 
f74b6: 
return false; 
goto dc5d5; 
Aa18a: 
$D9576 = $D9576 / $F6719; 
goto ad850; 
De839: 
$A91b0 = $this->getOrderTax($b7898) * $c1b93['ec_orderDetails']['currency_value']; 
goto e5eae; 
d1eed: 
$c1b93['hit'] = 0; 
goto d3787; 
b389c: 
$c1b93['ec_orderDetails'] = $this->model_checkout_order->getOrder($b7898); 
goto F2ff9; 
D8711: 
if (!(!isset($b7898) || empty($b7898))) { 
goto fbb4a; 
} 
goto f74b6; 
A8026: 
$this->load->model('checkout/order'); 
goto d6ad9; 
F3ba6: 
$this->Log('DMT: Order Id Not Found in gerOrder'); 
goto bd9c3; 
Bf2a3: 
if ($B535f->num_rows) { 
goto dad96; 
} 
goto d1eed; 
d0d1c: 
$c1b93['hit'] = 0; 
goto Bf2a3; 
e5eae: 
if (!$bfd18) { 
goto B3ad3; 
} 
goto D0c37; 
db8a4: 
$c1b93['adjustment'] = $this->getOrderTotalAdjustment($b7898, $c1b93['ec_orderDetails']['currency_value']); 
goto c2e50; 
Dc743: 
return $c1b93; 
goto F4c72; 
F2ff9: 
if ($c1b93['ec_orderDetails']) { 
goto Ec553; 
} 
goto A6f97; 
b69ba: 
$c1b93['ec_language'] = $this->config->get('config_language'); 
goto a2b9f; 
Affa4: 
E9b63: 
goto ff3f9; 
bf7ca: 
$c1b93['ec_orderShipping'] = $D9576; 
goto eafc4; 
A6f97: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto b15ad; 
} 
goto F3ba6; 
d597e: 
$E10b1 = $this->config(); 
goto Acbe3; 
B5fd9: 
$E1250 = $c1b93['ec_orderDetails']['total'] * $c1b93['ec_orderDetails']['currency_value']; 
goto De839; 
ac8e3: 
if (!(isset($c1b93['ec_orderDetails']['tracking']) && !empty($c1b93['ec_orderDetails']['tracking']))) { 
goto Dcfce; 
} 
goto c5351; 
C9c83: 
$D1392 = $this->model_checkout_marketing->getMarketingByCode($c1b93['ec_orderDetails']['tracking']); 
goto E0d03; 
D1780: 
$A91b0 = $E1250 - $Ee837; 
goto Aa18a; 
ff3f9: 
Dcfce: 
goto F5b4e; 
a4517: 
$c1b93['event_id'] = $B535f->row['event_id']; 
goto fd96b; 
d3787: 
$c1b93['event_id'] = false; 
goto Ade0a; 
a4805: 
$c1b93['ec_currency'] = $c1b93['ec_orderDetails']['currency_code']; 
goto d7880; 
ad850: 
B3ad3: 
goto bf7ca; 
Bccc5: 
$F6719 = $E10b1['tax']; 
goto D8711; 
B41ea: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'"); 
goto d0d1c; 
c962d: 
$c1b93['ec_orderDetails']['coupon'] = $this->getOrderCoupon($b7898); 
goto B41ea; 
eafc4: 
$c1b93['ec_orderTax'] = $A91b0; 
goto Cffd7; 
a2b9f: 
$c1b93['ec_orderCoupon'] = $this->getOrderCoupon($b7898); 
goto a4805; 
fd96b: 
a2c2d: 
goto Dc743; 
F5b4e: 
$c1b93['ec_orderProducts'] = $this->getOrderProducts($b7898, $c1b93['ec_orderDetails'], $c1b93['ec_orderCoupon'], $c1b93['ec_affiliate_code']); 
goto c962d; 
Ade0a: 
goto a2c2d; 
goto e4eff; 
F4c72: 
} 
public function getOrderProducts($b7898, $A3e0c, $F246a, $C4477) 
{ 
goto a025e; 
ed573: 
if (!$Ae523->num_rows) { 
goto Dc126; 
} 
goto a8edb; 
a025e: 
$ac09d = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_product WHERE order_id = '" . (int) $b7898 . "'"); 
goto D89f8; 
d5d73: 
return $c1b93; 
goto c155a; 
Fff05: 
foreach ($ac09d->rows as $ea436) { 
goto B86cf; 
Ba025: 
foreach ($be8b6 as $e903c) { 
goto A38f5; 
b04ed: 
$B3a1a = ''; 
goto Dbff4; 
E3a55: 
d7388: 
goto Ccc71; 
A38f5: 
if (isset($e903c['type']) && $e903c['type'] != 'file') { 
goto d7388; 
} 
goto b04ed; 
db5fa: 
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' '; 
goto Bd578; 
Bd578: 
d9d6a: 
goto e107d; 
D5310: 
D83b1: 
goto db5fa; 
Dbff4: 
goto D83b1; 
goto E3a55; 
Ccc71: 
$B3a1a = isset($e903c['value']) ? $e903c['value'] : ''; 
goto D5310; 
e107d: 
} 
goto da0fa; 
D81e1: 
$D88b8 = isset($cbd8f['model']) ? $cbd8f['model'] : $bf361; 
goto A1642; 
A301f: 
$d6674++; 
goto da391; 
e3c15: 
$Cdac0 = $this->currency->format($B2922, $E10b1['alt_currency'], 0, false); 
goto b308d; 
B86cf: 
if (isset($ea436['product_id'])) { 
goto a7072; 
} 
goto be614; 
baee5: 
$Aaf84 = []; 
goto c0511; 
bde9c: 
Fa67f: 
goto a4fb7; 
Eb23e: 
$abe29 = $this->currency->format($ea436['total'] + ($this->config->get('config_tax') ? $ea436['tax'] * $ea436['quantity'] : 0), $E10b1['alt_currency'], 0, false); 
goto Ff342; 
e8fea: 
$Bf5ae = ''; 
goto A9a43; 
b308d: 
$B2922 = $this->currency->format($B2922, $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto Ecc21; 
f42d2: 
foreach ($be8b6 as $e903c) { 
$Aaf84[] = ['name' => $e903c['name'] . " " . (mb_strlen($e903c['value']) > 100 ? mb_substr($e903c['value'], 0, 100) . '..' : $e903c['value'])]; 
Db6f7: 
} 
goto bde9c; 
ea4d6: 
$da8eb = ''; 
goto Cf7bb; 
e7f25: 
if (!$c63f3) { 
goto E23e4; 
} 
goto A2170; 
Ccbfe: 
$A50b2 = array(); 
goto baee5; 
Eb63c: 
$cbd8f = $this->getProductInfo($bf361); 
goto f203d; 
a1a22: 
$B3525 = $A50b2['item_list_name']; 
goto e7f49; 
Dcbcf: 
$c1b93['products'][] = ['name' => $ea436['name'], 'title' => $Bf5ae, 'model' => $D88b8, 'pid' => $f95b0, 'gtin' => $Fb034, 'sku' => $c482b, 'product_id' => $bf361, 'category' => isset($D1f20) ? $D1f20 : '', 'category_id' => isset($d83ed) ? $d83ed : '', 'brand' => isset($da8eb) ? $da8eb : '', 'option' => $Aaf84, 'quantity' => $ea436['quantity'], 'price' => number_format((float) $ace9a, 2, '.', ''), 'fprice' => number_format((float) $Ac84c, 2, '.', ''), 'ex_price' => $B2922, 'fex_price' => $Cdac0, 'ftotal' => number_format((float) $abe29, 2, '.', ''), 'total' => number_format((float) $ac091, 2, '.', ''), 'discount' => 0, 'cost' => isset($C2050) ? $C2050 : 0]; 
goto a927c; 
d7bf8: 
$da8eb = isset($cbd8f['manufacturer']) ? $this->cleanStr($cbd8f['manufacturer']) : ''; 
goto b54fe; 
be24b: 
$c482b = ''; 
goto Fcb7e; 
Ff342: 
if ($bfd18) { 
goto F15da; 
} 
goto a9e98; 
ed8b8: 
$Ac84c = $this->currency->format($ea436['price'] + ($this->config->get('config_tax') ? $ea436['tax'] : 0), $E10b1['alt_currency'], 0, false); 
goto B21f2; 
a2f17: 
$D2701 = $A50b2['item_category5']; 
goto E70d6; 
E711d: 
if (!isset($A50b2)) { 
goto da3e2; 
} 
goto e89f0; 
Abb03: 
F15da: 
goto E5d93; 
Fcb7e: 
$D88b8 = ''; 
goto e8fea; 
be614: 
goto d857b; 
goto d2eb1; 
Ecc21: 
Ad816: 
goto Dcbcf; 
d96c2: 
$e41da = $A50b2['item_category3']; 
goto Ec7f8; 
A6075: 
goto Ad816; 
goto Abb03; 
e7f49: 
$A1d57 = $A50b2['item_category']; 
goto b0687; 
A9a43: 
$Fb034 = ''; 
goto Eaa24; 
B21f2: 
$ac091 = $this->currency->format($ea436['total'] + ($this->config->get('config_tax') ? $ea436['tax'] * $ea436['quantity'] : 0), $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto Eb23e; 
a4fb7: 
$ccb6f = ''; 
goto Ba025; 
F5949: 
$ccb6f = mb_substr($ccb6f, 0, 499); 
goto d7bf8; 
f60b6: 
$Fb034 = isset($cbd8f['ean']) ? $cbd8f['ean'] : ''; 
goto D07d2; 
E70d6: 
da3e2: 
goto e7f25; 
da391: 
d857b: 
goto A6745; 
Cf7bb: 
$C2050 = 0; 
goto Ccbfe; 
b54fe: 
$A50b2 = $this->getProductCatName($bf361); 
goto f60b6; 
e89f0: 
$D1f20 = $A50b2['category']; 
goto d8792; 
d5fce: 
E23e4: 
goto Dd301; 
E325c: 
$bf361 = $ea436['product_id']; 
goto Eb63c; 
Dd301: 
$ace9a = $this->currency->format($ea436['price'] + ($this->config->get('config_tax') ? $ea436['tax'] : 0), $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto ed8b8; 
b0687: 
$F9d4b = $A50b2['item_category2']; 
goto d96c2; 
d2eb1: 
goto E84e5; 
goto e4164; 
d8792: 
$d83ed = $A50b2['item_list_id']; 
goto a1a22; 
Ec7f8: 
$a2de8 = $A50b2['item_category4']; 
goto a2f17; 
C6ed7: 
$Bf5ae = $this->tagmangerPtitle($ea436['name'], $da8eb, $D88b8, $bf361); 
goto E711d; 
da0fa: 
C86e8: 
goto F5949; 
Eaa24: 
$f95b0 = ''; 
goto ea4d6; 
a927c: 
$c1b93['ga4_items'][] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_variant' => $ccb6f, 'affiliation' => isset($C4477) ? $C4477 : '', 'discount' => 0, 'coupon' => isset($F246a) ? $F246a : '', 'price' => number_format((float) $ace9a, 2, '.', ''), 'currency' => $E10b1['currency'], 'quantity' => $ea436['quantity'], 'index' => $d6674]; 
goto A301f; 
E5d93: 
$B2922 = $ea436['price'] / $F6719; 
goto e3c15; 
a9e98: 
$B2922 = $this->currency->format($ea436['price'], $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto C05c6; 
e4164: 
a7072: 
goto E325c; 
C05c6: 
$Cdac0 = $this->currency->format($ea436['price'], $E10b1['alt_currency'], 0, false); 
goto A6075; 
A2170: 
$C2050 = $this->getProductCost($bf361); 
goto d5fce; 
c0511: 
$be8b6 = $this->getOrderOptions($b7898, $ea436['order_product_id']); 
goto f42d2; 
A1642: 
$f95b0 = $this->tagmangerPmap($D88b8, $c482b, $bf361); 
goto C6ed7; 
D07d2: 
$c482b = isset($cbd8f['sku']) ? $cbd8f['sku'] : $bf361; 
goto D81e1; 
f203d: 
E84e5: 
goto be24b; 
A6745: 
} 
goto ade88; 
B838b: 
$c63f3 = false; 
goto cc8ef; 
adc83: 
$Ae523 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_voucher WHERE order_id = '" . (int) $b7898 . "'"); 
goto ed573; 
F35a5: 
$c63f3 = true; 
goto E032f; 
Eb297: 
$F6719 = $E10b1['tax']; 
goto C9532; 
D89f8: 
$c1b93 = []; 
goto cb817; 
c455f: 
$c1b93['ga4_items'] = []; 
goto B5c5f; 
f0559: 
b5ac9: 
goto F35a5; 
e3c61: 
$d6674 = 1; 
goto Fff05; 
B5c5f: 
$E10b1 = $this->config(); 
goto a6ece; 
afb34: 
Befe7: 
goto F4e24; 
a6ece: 
$bfd18 = $E10b1['override_tax']; 
goto Eb297; 
C9532: 
if (isset($E10b1['custom_cost_event']) && $E10b1['custom_cost_event']) { 
goto b5ac9; 
} 
goto B838b; 
E1f77: 
foreach ($Ae523->rows as $Bee3a) { 
goto d8559; 
E4bd0: 
$c1b93['ga4_items'][] = ['item_id' => $Bf5ae, 'item_name' => $Bf5ae, 'item_brand' => '', 'item_category' => 'Gift Voucher', 'item_category2' => '', 'item_category3' => '', 'item_category4' => '', 'item_category5' => '', 'item_list_id' => '', 'item_list_name' => '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => number_format((float) $ace9a, 2, '.', ''), 'currency' => $E10b1['currency'], 'quantity' => 1, 'index' => $d6674]; 
goto B897f; 
db76e: 
e7c64: 
goto B65cb; 
f04ea: 
$B2922 = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto d9022; 
d7039: 
F3b40: 
goto db11d; 
ece16: 
$Cdac0 = $this->currency->format($B2922, $E10b1['alt_currency'], 0, false); 
goto c9e4f; 
d9022: 
$Cdac0 = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false); 
goto f0ca4; 
Cbde0: 
$ac091 = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto E99fc; 
d8559: 
$Bf5ae = $this->cleanStr($Bee3a['description']); 
goto fb0e3; 
eb0d5: 
$ace9a = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto Ded34; 
Cdde7: 
if ($bfd18) { 
goto b7366; 
} 
goto f04ea; 
db11d: 
if (!(!empty($Bf5ae) || !empty($ace9a))) { 
goto Bd58c; 
} 
goto ed8fe; 
f0ca4: 
goto F3b40; 
goto b8cb6; 
b8cb6: 
b7366: 
goto c715b; 
E99fc: 
$abe29 = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false); 
goto Cdde7; 
d4193: 
Bd58c: 
goto db76e; 
B897f: 
$d6674++; 
goto d4193; 
c715b: 
$B2922 = $a7de6; 
goto ece16; 
fb0e3: 
$a7de6 = $Bee3a['amount']; 
goto eb0d5; 
Ded34: 
$Ac84c = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false); 
goto Cbde0; 
ed8fe: 
$c1b93['products'][] = ['name' => $Bf5ae, 'title' => $Bf5ae, 'model' => $Bf5ae, 'pid' => $Bf5ae, 'gtin' => '', 'sku' => '', 'product_id' => $Bf5ae, 'category' => 'Gift Voucher', 'category_id' => 'Gift Voucher', 'brand' => '', 'option' => array(), 'quantity' => 1, 'price' => number_format((float) $ace9a, 2, '.', ''), 'fprice' => number_format((float) $Ac84c, 2, '.', ''), 'ex_price' => $B2922, 'fex_price' => $Cdac0, 'ftotal' => number_format((float) $abe29, 2, '.', ''), 'total' => number_format((float) $ac091, 2, '.', ''), 'discount' => 0, 'cost' => isset($C2050) ? $C2050 : 0]; 
goto E4bd0; 
c9e4f: 
$B2922 = $this->currency->format($B2922, $A3e0c['currency_code'], $A3e0c['currency_value'], false); 
goto d7039; 
B65cb: 
} 
goto afb34; 
cc8ef: 
goto F11e6; 
goto f0559; 
E032f: 
F11e6: 
goto e3c61; 
a8edb: 
$d6674 = 1; 
goto E1f77; 
cb817: 
$c1b93['products'] = []; 
goto c455f; 
ade88: 
D8a74: 
goto adc83; 
F4e24: 
Dc126: 
goto d5d73; 
c155a: 
} 
public function getOrderOptions($b7898, $cc0f8) 
{ 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_option WHERE order_id = '" . (int) $b7898 . "' AND order_product_id = '" . (int) $cc0f8 . "'"); 
return $B535f->rows; 
} 
public function getOrderTax($b7898) 
{ 
goto e4ffa; 
Fa4ee: 
return $A91b0; 
goto d3854; 
e4ffa: 
$f91b7 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'tax'"); 
goto A263b; 
A263b: 
$A91b0 = '0.00'; 
goto c3f60; 
ea340: 
$A91b0 = $f91b7->row['value']; 
goto A4cb5; 
c3f60: 
if (!$f91b7->num_rows) { 
goto f6579; 
} 
goto ea340; 
A4cb5: 
f6579: 
goto Fa4ee; 
d3854: 
} 
public function getOrderShipping($b7898) 
{ 
goto ff1e0; 
Fdf37: 
$D9576 = '0.00'; 
goto a3780; 
cf4c7: 
return $D9576; 
goto b37c7; 
ff1e0: 
$cdb68 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'shipping'"); 
goto Fdf37; 
a3780: 
if (!$cdb68->num_rows) { 
goto C8b11; 
} 
goto E6ea8; 
e0cf7: 
C8b11: 
goto cf4c7; 
E6ea8: 
$D9576 = $cdb68->row['value']; 
goto e0cf7; 
b37c7: 
} 
public function getOrderCoupon($b7898) 
{ 
goto eaeb3; 
c2cba: 
Fa7f9: 
goto f3a45; 
E8f98: 
if (!$B33ac->num_rows) { 
goto Fa7f9; 
} 
goto F9248; 
D52e4: 
$Bb225 = ''; 
goto E8f98; 
F9248: 
$Bb225 = $B33ac->row['title']; 
goto c2cba; 
f3a45: 
return $Bb225; 
goto bbdf3; 
eaeb3: 
$B33ac = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'coupon'"); 
goto D52e4; 
bbdf3: 
} 
private function getOrderTotalAdjustment($b7898, $B3a1a) 
{ 
goto d6df4; 
da464: 
$Fac1a = 0; 
goto c340c; 
a3840: 
$c9913 = ['cod_fee', 'codfee_payment', 'handling', 'klarna_fee', 'low_order_fee', 'advancedcodfee', 'xfeepro']; 
goto fdfe8; 
e3400: 
cba81: 
goto B3d8f; 
d38ab: 
Bce94: 
goto Dd72d; 
d0155: 
if (!$B535f->num_rows) { 
goto b6142; 
} 
goto B5be2; 
e1e82: 
$Fac1a = $B535f->row['value']; 
goto e3400; 
A2f4d: 
$A71c4 = $A71c4 / $F6719; 
goto d38ab; 
dfc5e: 
foreach ($c9913 as $cc4ac) { 
goto B515d; 
b9d18: 
C93b3: 
goto C4ae4; 
c593b: 
if (!($B535f->row['code'] == 'xfeepro' && $B535f->row['value'] > 0)) { 
goto F15bc; 
} 
goto f2d40; 
ba800: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE 
				order_id = '" . (int) $b7898 . "' AND 
				code = '" . $this->db->escape($cc4ac) . "'"); 
goto dee8d; 
C4ae4: 
Fe92b: 
goto D2a44; 
D2a44: 
C6ea3: 
goto b5b68; 
dee8d: 
if (!$B535f->num_rows) { 
goto C93b3; 
} 
goto c593b; 
B515d: 
if (empty($cc4ac)) { 
goto Fe92b; 
} 
goto ba800; 
f2d40: 
$Cada4 = $Cada4 + $B535f->row['value']; 
goto a8b6a; 
a8b6a: 
F15bc: 
goto b9d18; 
b5b68: 
} 
goto A3204; 
B5be2: 
$E0195 = $B535f; 
goto Ec94a; 
D0eb6: 
$Cada4 = $Cada4 / $F6719; 
goto A2f4d; 
E2a48: 
$F6719 = $E10b1['tax']; 
goto c99a4; 
Ec94a: 
b6142: 
goto F0b1e; 
Da4a5: 
$c9913 = $E10b1['total_plus']; 
goto fe0c4; 
d6df4: 
$E10b1 = $this->config(); 
goto B9961; 
A3204: 
d989c: 
goto A2835; 
A2835: 
foreach ($B8f65 as $cc4ac) { 
goto f276d; 
E5637: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE 
				order_id = '" . (int) $b7898 . "' AND 
				code = '" . $this->db->escape($cc4ac) . "'"); 
goto Badee; 
D1f3c: 
if (!($B535f->row['code'] == 'xfeepro' && $B535f->row['value'] < 0)) { 
goto Dfeb1; 
} 
goto ff62f; 
cdca4: 
Dfeb1: 
goto B9382; 
D1048: 
D4338: 
goto B6c65; 
Bad55: 
Bb0e8: 
goto D1048; 
f276d: 
if (empty($cc4ac)) { 
goto Bb0e8; 
} 
goto E5637; 
Badee: 
if (!$B535f->num_rows) { 
goto e3fdc; 
} 
goto D1f3c; 
ff62f: 
$A71c4 = $A71c4 + $B535f->row['value']; 
goto cdca4; 
B9382: 
e3fdc: 
goto Bad55; 
B6c65: 
} 
goto dc6e0; 
c340c: 
$E0195 = []; 
goto cc174; 
B9961: 
$Cada4 = 0; 
goto C5928; 
cff6f: 
Ee974: 
goto dfc5e; 
A20a5: 
C6c93: 
goto a3840; 
cc174: 
$bfd18 = $E10b1['override_tax']; 
goto E2a48; 
dc6e0: 
b6755: 
goto f9b9d; 
fdfe8: 
$B8f65 = ['credit', 'reward', 'voucher', 'payment_discount', 'xfeepro']; 
goto cff6f; 
f9b9d: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE 
				order_id = '" . (int) $b7898 . "' AND 
				code = 'sub_total'"); 
goto bf855; 
F0b1e: 
if (!$bfd18) { 
goto Bce94; 
} 
goto D0eb6; 
B3d8f: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE 
				order_id = '" . (int) $b7898 . "'"); 
goto d0155; 
C5928: 
$A71c4 = 0; 
goto da464; 
bf855: 
if (!$B535f->num_rows) { 
goto cba81; 
} 
goto e1e82; 
fe0c4: 
$B8f65 = $E10b1['total_minus']; 
goto e6be4; 
A7818: 
return $c1b93; 
goto bdecb; 
e6be4: 
goto Ee974; 
goto A20a5; 
c99a4: 
if (!isset($E10b1['total_plus']) || !isset($E10b1['total_minus'])) { 
goto C6c93; 
} 
goto Da4a5; 
Dd72d: 
$c1b93 = ['plus' => $Cada4 * $B3a1a, 'minus' => $A71c4 * $B3a1a, 'sub_total' => $Fac1a * $B3a1a, 'order_totals' => $E0195]; 
goto A7818; 
bdecb: 
} 
private function getOptionPrice($bf361, $be8b6, $ace9a, $Dd681) 
{ 
goto Ef077; 
a1090: 
$b8fc6 = 0; 
goto Baee3; 
a23b3: 
ca4b3: 
goto a1090; 
Baee3: 
$Aaf84 = []; 
goto Fca2c; 
Fca2c: 
foreach ($be8b6 as $ff727 => $B3a1a) { 
goto Fa547; 
d913d: 
goto e9eaf; 
goto Fc982; 
Fa547: 
$B8007 = $this->db->query("SELECT po.product_option_id, po.option_id, od.name, o.type FROM " . DB_PREFIX . "product_option po LEFT JOIN `" . DB_PREFIX . "option` o ON (po.option_id = o.option_id) LEFT JOIN " . DB_PREFIX . "option_description od ON (o.option_id = od.option_id) WHERE po.product_option_id = '" . (int) $ff727 . "' AND po.product_id = '" . (int) $bf361 . "' AND od.language_id = '" . (int) $this->config->get('config_language_id') . "'"); 
goto A62be; 
Ed5f2: 
e4307: 
goto Cbb52; 
c1c7c: 
if ($B8007->row['type'] == 'text' || $B8007->row['type'] == 'textarea' || $B8007->row['type'] == 'file' || $B8007->row['type'] == 'date' || $B8007->row['type'] == 'datetime' || $B8007->row['type'] == 'time') { 
goto ae58c; 
} 
goto e1eb8; 
bc13e: 
foreach ($B3a1a as $Bf0c0) { 
goto c3c6d; 
C6fec: 
if ($e580d->row['price_prefix'] == '-') { 
goto fccb7; 
} 
goto ef115; 
Eeb84: 
$b8fc6 += $e580d->row['price']; 
goto f47ac; 
eb9f2: 
if ($e580d->row['price_prefix'] == '+') { 
goto d75ae; 
} 
goto C6fec; 
C159b: 
Af4f6: 
goto F3d32; 
F3d32: 
F50d7: 
goto A15d7; 
c3c6d: 
$e580d = $this->db->query("SELECT pov.option_value_id, pov.quantity, pov.subtract, pov.price, pov.price_prefix, pov.points, pov.points_prefix, pov.weight, pov.weight_prefix, ovd.name FROM " . DB_PREFIX . "product_option_value pov LEFT JOIN " . DB_PREFIX . "option_value_description ovd ON (pov.option_value_id = ovd.option_value_id) WHERE pov.product_option_value_id = '" . (int) $Bf0c0 . "' AND pov.product_option_id = '" . (int) $ff727 . "' AND ovd.language_id = '" . (int) $this->config->get('config_language_id') . "'"); 
goto f194b; 
Ba728: 
fccb7: 
goto ea68d; 
d3aea: 
D8334: 
goto C159b; 
ea68d: 
$b8fc6 -= $e580d->row['price']; 
goto d3aea; 
ef115: 
goto D8334; 
goto D5c90; 
f47ac: 
goto D8334; 
goto Ba728; 
D5c90: 
d75ae: 
goto Eeb84; 
f194b: 
if (!$e580d->num_rows) { 
goto Af4f6; 
} 
goto eb9f2; 
A15d7: 
} 
goto f647a; 
D639f: 
f9bf5: 
goto b4b87; 
f647a: 
F485c: 
goto af151; 
af151: 
goto e4307; 
goto Bf310; 
Bd5ce: 
if ($B8007->row['type'] == 'checkbox' && is_array($B3a1a)) { 
goto eaaff; 
} 
goto c1c7c; 
e1eb8: 
goto e4307; 
goto c0dd8; 
Cb432: 
if ($e580d->row['price_prefix'] == '+') { 
goto e58e6; 
} 
goto c5a12; 
A62be: 
if (!$B8007->num_rows) { 
goto f7bba; 
} 
goto D9639; 
Bf310: 
ae58c: 
goto Ed5f2; 
c5a12: 
if ($e580d->row['price_prefix'] == '-') { 
goto b30de; 
} 
goto fdc69; 
c0dd8: 
cdc66: 
goto b0f01; 
D9639: 
if ($B8007->row['type'] == 'select' || $B8007->row['type'] == 'radio') { 
goto cdc66; 
} 
goto Bd5ce; 
Cbb52: 
f7bba: 
goto Ae65b; 
b4b87: 
goto e4307; 
goto E0261; 
Ae65b: 
a7e9b: 
goto Cf073; 
b0f01: 
$e580d = $this->db->query("SELECT pov.option_value_id, ovd.name, pov.quantity, pov.subtract, pov.price, pov.price_prefix, pov.points, pov.points_prefix, pov.weight, pov.weight_prefix FROM " . DB_PREFIX . "product_option_value pov LEFT JOIN " . DB_PREFIX . "option_value ov ON (pov.option_value_id = ov.option_value_id) LEFT JOIN " . DB_PREFIX . "option_value_description ovd ON (ov.option_value_id = ovd.option_value_id) WHERE pov.product_option_value_id = '" . (int) $B3a1a . "' AND pov.product_option_id = '" . (int) $ff727 . "' AND ovd.language_id = '" . (int) $this->config->get('config_language_id') . "'"); 
goto b48f5; 
Fc982: 
b30de: 
goto dc8b4; 
dc8b4: 
$b8fc6 -= $e580d->row['price']; 
goto A6ab8; 
fdc69: 
goto e9eaf; 
goto Dba84; 
Dba84: 
e58e6: 
goto Cd268; 
Cd268: 
$b8fc6 += $e580d->row['price']; 
goto d913d; 
E0261: 
eaaff: 
goto bc13e; 
A6ab8: 
e9eaf: 
goto D639f; 
b48f5: 
if (!$e580d->num_rows) { 
goto f9bf5; 
} 
goto Cb432; 
Cf073: 
} 
goto Cec13; 
c44c1: 
return $b8fc6; 
goto cdc4a; 
e55ff: 
return false; 
goto a23b3; 
Cec13: 
E6e71: 
goto c44c1; 
Ef077: 
if (!(!isset($bf361) || !isset($be8b6))) { 
goto ca4b3; 
} 
goto e55ff; 
cdc4a: 
} 
public function getCustomerHistory($d80a6, $B1200 = false, $b7898 = false) 
{ 
goto ae899; 
ae899: 
$ac091 = 0; 
goto F0503; 
Ac0c2: 
$c1b93 = ['new_customer' => $fa03f, 'total' => number_format((float) $ac091, 2, '.', '')]; 
goto ba513; 
d78e3: 
foreach ($B535f->rows as $F5c83) { 
goto fa835; 
b3e9b: 
bb4f0: 
goto Fc03c; 
C333a: 
$ac091 += $e833c->row['value']; 
goto cb056; 
a8348: 
if (!$e833c->num_rows) { 
goto bb4f0; 
} 
goto A1648; 
A1648: 
$fa03f = false; 
goto C333a; 
Fc03c: 
Df1a6: 
goto d62d4; 
fa835: 
$b7898 = $F5c83['order_id']; 
goto C097a; 
C097a: 
$e833c = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order_total` WHERE order_id = '" . (int) $b7898 . "' AND code = 'total'"); 
goto a8348; 
cb056: 
$Ed420++; 
goto b3e9b; 
d62d4: 
} 
goto Dcc2b; 
ba513: 
return $c1b93; 
goto f979a; 
bcf40: 
$B535f = $this->db->query("SELECT order_id FROM " . DB_PREFIX . "order WHERE email = '" . $this->db->escape($d80a6) . "' AND order_id != " . (int) $b7898); 
goto e4d18; 
e4d18: 
if (!$B535f->num_rows) { 
goto C88f5; 
} 
goto d78e3; 
Dcc2b: 
c95ce: 
goto Ecb23; 
F0503: 
$Ed420 = 0; 
goto F2a20; 
F2a20: 
$fa03f = true; 
goto c078a; 
Ecb23: 
C88f5: 
goto E9756; 
E9756: 
Be2a3: 
goto Ac0c2; 
c078a: 
if (!(isset($d80a6) && !empty($d80a6) && $b7898)) { 
goto Be2a3; 
} 
goto bcf40; 
f979a: 
} 
public function GAorderAdd($b7898, $c1b93) 
{ 
goto D60cc; 
ecb11: 
$A42a9 = isset($E10b1['sc_click_id']) ? $E10b1['sc_click_id'] : ''; 
goto C01f1; 
e91e9: 
if (isset($b7898) && isset($c1b93) && isset($c1b93['currency_code'])) { 
goto ba82d; 
} 
goto B5cff; 
A25cf: 
$a700c = isset($E10b1['ttclid']) ? $E10b1['ttclid'] : ''; 
goto ecb11; 
A9adb: 
Fced4: 
goto A606c; 
D60cc: 
$C7690 = ''; 
goto B6b15; 
B6b15: 
$E10b1 = $this->config(); 
goto dc7cf; 
d002e: 
$Ca165 = isset($E10b1['ttp']) ? $E10b1['ttp'] : ''; 
goto A25cf; 
dc835: 
$this->db->query("INSERT INTO `" . DB_PREFIX . "analytics_tracking` SET 
 order_id = '" . (int) $b7898 . "',
 cid = '" . $this->db->escape($E10b1['cid']) . "',
 			 currency_code = '" . $this->db->escape($c1b93['currency_code']) . "',
 			 currency_id = '" . $this->db->escape($c1b93['currency_id']) . "',
 			 uid = '" . $this->db->escape($B1200) . "',
				 gclid = '" . $this->db->escape($a9540) . "',
 			 ul = '" . $this->db->escape($E10b1['language']) . "',
 			 ip = '" . $this->db->escape($c1b93['ip']) . "',
 			 user_agent = '" . $this->db->escape($c1b93['user_agent']) . "',
 			 tid = '" . (isset($E10b1['ga4_mid']) ? $this->db->escape($E10b1['ga4_mid']) : '') . "',
 				 event_id = '" . $this->db->escape($b1eff) . "',
				 fbp = '" . $this->db->escape($C1f11) . "',
				 fbc = '" . $this->db->escape($A3bf6) . "',
				 ttp = '" . $this->db->escape($Ca165) . "',
				 ttclid = '" . $this->db->escape($a700c) . "',
				 sc_click_id = '" . $this->db->escape($A42a9) . "',
				 sc_cookie1 = '" . $this->db->escape($D070a) . "'"); 
goto A9adb; 
D7f03: 
$this->saveOrderID($b7898); 
goto dce61; 
dc7cf: 
$B1200 = isset($E10b1['user_id']) ? $E10b1['user_id'] : ''; 
goto F7757; 
A3563: 
$C1f11 = isset($E10b1['fbp']) ? $E10b1['fbp'] : ''; 
goto Ad045; 
d18eb: 
$a9540 = isset($E10b1['gclid']) ? $E10b1['gclid'] : ''; 
goto d778b; 
Ad045: 
$A3bf6 = isset($E10b1['fbc']) ? $E10b1['fbc'] : ''; 
goto d002e; 
fe0d8: 
goto E95ff; 
goto a32b1; 
A606c: 
E95ff: 
goto Ec0ed; 
d778b: 
if (!(empty($B1200) && isset($E10b1['$external_id']))) { 
goto cf94e; 
} 
goto D3d8a; 
dce61: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'"); 
goto A74b9; 
C01f1: 
$D070a = isset($E10b1['sc_cookie1']) ? $E10b1['sc_cookie1'] : ''; 
goto d18eb; 
A74b9: 
if ($B535f->num_rows) { 
goto Fced4; 
} 
goto dc835; 
E88db: 
Da60c: 
goto fe0d8; 
B5cff: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto Da60c; 
} 
goto fc012; 
fc012: 
$this->Log('DMT Debug log: Error GAorderAdd empty data OrderID: ' . $b7898); 
goto E88db; 
D3d8a: 
$B1200 = $E10b1['external_id']; 
goto b8dd9; 
F7757: 
$b1eff = $this->eventid(); 
goto A3563; 
a32b1: 
ba82d: 
goto D7f03; 
b8dd9: 
cf94e: 
goto e91e9; 
Ec0ed: 
} 
public function GAgetOrder($b7898) 
{ 
goto c48e6; 
c3d71: 
fac2c: 
goto b9c3c; 
c48e6: 
if (!(isset($b7898) && !empty($b7898))) { 
goto fac2c; 
} 
goto Cf0fc; 
Cf0fc: 
$B535f = $this->db->query("SELECT * from `" . DB_PREFIX . "analytics_tracking` WHERE order_id = '" . (int) $b7898 . "'"); 
goto A39d7; 
A39d7: 
if (!$B535f->num_rows) { 
goto C0da4; 
} 
goto E26b7; 
b9c3c: 
return false; 
goto a0c64; 
d9ba6: 
C0da4: 
goto c3d71; 
E26b7: 
return $B535f->row; 
goto d9ba6; 
a0c64: 
} 
public function GAgetOrderEvent($b7898) 
{ 
goto D44da; 
A3095: 
$c1b93 = false; 
goto c8518; 
D4790: 
$c1b93 = $B535f->row['event_id']; 
goto Db123; 
Db123: 
d8348: 
goto c8050; 
c8518: 
if (!$B535f->num_rows) { 
goto d8348; 
} 
goto D4790; 
d1306: 
return $c1b93; 
goto Ddef6; 
D44da: 
if (!(isset($b7898) && !empty($b7898))) { 
goto F109f; 
} 
goto a8cd4; 
c8050: 
F109f: 
goto d1306; 
a8cd4: 
$B535f = $this->db->query("SELECT event_id from `" . DB_PREFIX . "analytics_tracking` WHERE order_id = '" . (int) $b7898 . "'"); 
goto A3095; 
Ddef6: 
} 
public function GAupdateorder($b7898) 
{ 
goto Bcaa9; 
E5d9e: 
return false; 
goto a0b44; 
eb736: 
return true; 
goto Cab1b; 
c6945: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit = '1' WHERE order_id = '" . (int) $b7898 . "'"); 
goto eb736; 
Cab1b: 
c5f3d: 
goto E5d9e; 
Bcaa9: 
if (!(isset($b7898) && !empty($b7898))) { 
goto c5f3d; 
} 
goto c6945; 
a0b44: 
} 
public function OrderStatusCheck($b7898) 
{ 
goto ed2b0; 
A2416: 
if (!(isset($b7898) && (int) $b7898 > 0)) { 
goto A90ae; 
} 
goto a4ded; 
dcfd7: 
$F69fa = $B535f->row['order_status_id']; 
goto e8b4d; 
a4ded: 
$B535f = $this->db->query("SELECT order_id, order_status_id from `" . DB_PREFIX . "order` WHERE order_id = '" . (int) $b7898 . "'"); 
goto fc5ae; 
A35b9: 
return $F69fa; 
goto da36e; 
ed2b0: 
$F69fa = false; 
goto A2416; 
e8b4d: 
Eb11d: 
goto B064a; 
B064a: 
A90ae: 
goto A35b9; 
cd49f: 
if (!$B535f->num_rows) { 
goto Eb11d; 
} 
goto dcfd7; 
fc5ae: 
$F69fa = 0; 
goto cd49f; 
da36e: 
} 
private function DeliveryEstimate($Ee993, $b3504 = 7, $B73b2 = null) 
{ 
goto fb7bc; 
D7e35: 
b0f65: 
goto Cbb67; 
c7574: 
$a4aad = '1 days'; 
goto a8085; 
Bb735: 
B7aa3: 
goto Bca31; 
f658d: 
$dbde2 = $b16a3 + 3 * 24 * 60 * 60; 
goto C92f1; 
d9e3c: 
f9fc8: 
goto ce365; 
Ae7c7: 
goto Fc02d; 
goto a9390; 
A5d5d: 
c90ef: 
goto bd5d6; 
c1f14: 
$A3074 = true; 
goto feb35; 
dd85c: 
A19a2: 
goto Fce13; 
B6daf: 
$b16a3 = time() + $Cc7ba * 24 * 60 * 60; 
goto a79b8; 
C92f1: 
ee286: 
goto d03db; 
Eaec6: 
ba30b: 
goto de014; 
ce3e7: 
if ($B73b2 == 'customshipping.customshipping4') { 
goto a6360; 
} 
goto Cdb66; 
a92b4: 
F56d1: 
goto B32a7; 
Db2ee: 
$Cc7ba = 2; 
goto B912d; 
Df337: 
$dbde2 = $b16a3 + 2 * 24 * 60 * 60; 
goto A5d5d; 
C5849: 
if ($B73b2 == 'customshipping.customshipping2') { 
goto A19a2; 
} 
goto ae2c6; 
C8f4d: 
goto Ee6e5; 
goto dd85c; 
Cdb66: 
$a4aad = '5 days'; 
goto Dcb8a; 
a8085: 
$dbde2 = $b16a3 + 2 * 24 * 60 * 60; 
goto af232; 
Fce13: 
$a4aad = '1 day'; 
goto d7758; 
af232: 
e2ed8: 
goto C8f4d; 
feb35: 
$Cc7ba = 0; 
goto a92b4; 
Cd00c: 
if ($B73b2 == 'customshipping.customshipping0') { 
goto B7e08; 
} 
goto cdccd; 
Dcf18: 
if ($d83a9 < 5) { 
goto d6739; 
} 
goto A7367; 
A7ef9: 
$a4aad = '1 days'; 
goto Df337; 
d7758: 
$dbde2 = $b16a3 + 2 * 24 * 60 * 60; 
goto dbcb6; 
D51a1: 
goto F56d1; 
goto ad0bb; 
A1b10: 
$Cc7ba = 1; 
goto E07eb; 
ae2c6: 
if ($B73b2 == 'customshipping.customshipping3') { 
goto Ed1a9; 
} 
goto ce3e7; 
Ce8e5: 
if ($d83a9 == 6) { 
goto bd306; 
} 
goto f9d6b; 
cea28: 
$A3074 = false; 
goto A1b10; 
af1eb: 
Cbfa6: 
goto D57df; 
dd7a4: 
a6360: 
goto A7ef9; 
fd9c5: 
Ed1a9: 
goto c7574; 
d03db: 
goto Cbfa6; 
goto d5df5; 
Bca31: 
if (time() <= strtotime($Ee993)) { 
goto Cef61; 
} 
goto Fc9cb; 
A7367: 
if ($d83a9 == 5) { 
goto B7aa3; 
} 
goto Ce8e5; 
B912d: 
E0c8f: 
goto Da638; 
e8636: 
$Cc7ba = 3; 
goto D51a1; 
Bb80c: 
d6739: 
goto d6188; 
A0755: 
bd306: 
goto f1773; 
F74b5: 
$a4aad = '3-5 days'; 
goto a61ea; 
b375e: 
$Cc7ba = 1; 
goto d9e3c; 
a79b8: 
if (isset($B73b2) && $B73b2) { 
goto F617e; 
} 
goto f1986; 
f1773: 
$A3074 = false; 
goto Db2ee; 
Cbb67: 
A27ab: 
goto B6daf; 
de014: 
$a4aad = '2 days'; 
goto f658d; 
d5df5: 
B7e08: 
goto F74b5; 
D57df: 
Fc02d: 
goto D1962; 
f9d6b: 
if (!($d83a9 == 7)) { 
goto f9fc8; 
} 
goto de373; 
cdccd: 
if ($B73b2 == 'customshipping.customshipping1') { 
goto ba30b; 
} 
goto C5849; 
C40f1: 
c9e93: 
goto F28c0; 
E07eb: 
goto b0f65; 
goto C40f1; 
dbcb6: 
Ee6e5: 
goto Dfaac; 
ce365: 
goto E0c8f; 
goto A0755; 
D1962: 
return $dbde2; 
goto b6557; 
F28c0: 
$A3074 = true; 
goto Cdab1; 
Fc9cb: 
$A3074 = false; 
goto e8636; 
B32a7: 
A94db: 
goto abfe3; 
a9390: 
F617e: 
goto Cd00c; 
bd5d6: 
goto e2ed8; 
goto fd9c5; 
Cdab1: 
$Cc7ba = 0; 
goto D7e35; 
ad0bb: 
Cef61: 
goto c1f14; 
Dfaac: 
goto ee286; 
goto Eaec6; 
abfe3: 
goto A27ab; 
goto Bb80c; 
de373: 
$A3074 = false; 
goto b375e; 
C11f7: 
$d83a9 = date("N", time()); 
goto Dcf18; 
Aacbc: 
goto c90ef; 
goto dd7a4; 
d6188: 
if (time() <= strtotime($Ee993)) { 
goto c9e93; 
} 
goto cea28; 
Da638: 
goto A94db; 
goto Bb735; 
f1986: 
$dbde2 = $b16a3 + $b3504 * 24 * 60 * 60; 
goto Ae7c7; 
fb7bc: 
date_default_timezone_set("Europe/London"); 
goto C11f7; 
a61ea: 
$dbde2 = $b16a3 + 7 * 24 * 60 * 60; 
goto af1eb; 
Dcb8a: 
$dbde2 = $b16a3 + 7 * 24 * 60 * 60; 
goto Aacbc; 
b6557: 
} 
private function getSizeAndColorOptionMap($bf361, $bb9ad) 
{ 
goto adc69; 
afe24: 
$ace79 = $this->getOptionId($bf361, $bb9ad, 'size'); 
goto a3e95; 
bc49d: 
$e49e8 = $this->googleshopping->getProductOptionValueNames($bf361, $this->config->get('config_language_id'), $E4213); 
goto b3011; 
adc69: 
$E4213 = $this->getOptionId($bf361, $bb9ad, 'color'); 
goto afe24; 
bab35: 
return $Af396; 
goto C09cc; 
a3e95: 
$B2084 = $this->googleshopping->getGroups($bf361, $this->config->get('config_language_id'), $E4213, $ace79); 
goto bc49d; 
b3011: 
$af55d = $this->googleshopping->getProductOptionValueNames($bf361, $this->config->get('config_language_id'), $ace79); 
goto cc6a4; 
cc6a4: 
$Af396 = ['groups' => $B2084, 'colors' => count($e49e8) > 1 ? $e49e8 : null, 'sizes' => count($af55d) > 1 ? $af55d : null]; 
goto bab35; 
C09cc: 
} 
private function getCountry($A939a) 
{ 
goto a4173; 
e1422: 
c2147: 
goto cebe9; 
feb49: 
if (!(isset($E10b1['cache']) && $E10b1['cache'])) { 
goto cddd0; 
} 
goto Db1ae; 
Fc907: 
if (!$c1b93) { 
goto C601d; 
} 
goto c8ed1; 
c8ed1: 
return $c1b93; 
goto b3e7b; 
D309e: 
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) { 
goto c2147; 
} 
goto Fbe11; 
e5c4d: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "country WHERE country_id = '" . (int) $A939a . "'"); 
goto Caa1a; 
a4173: 
$E10b1 = $this->settings; 
goto Fb007; 
Fb007: 
$c1b93 = false; 
goto feb49; 
D6d95: 
$c1b93 = []; 
goto e5c4d; 
Caa1a: 
$c1b93 = $B535f->row; 
goto D309e; 
Db1ae: 
$c1b93 = $this->cache->get('dmt.country.' . $A939a); 
goto b1e5a; 
cebe9: 
return $c1b93; 
goto Da73b; 
b3e7b: 
C601d: 
goto D6d95; 
b1e5a: 
cddd0: 
goto Fc907; 
Fbe11: 
$this->cache->set('dmt.country.' . $A939a, $c1b93); 
goto e1422; 
Da73b: 
} 
private function getSettings($cc4ac, $Eed71 = 'date_modified', $B3a1a = false, $D822a = false) 
{ 
goto B4ee2; 
ccdff: 
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `code` = '" . $this->db->escape($cc4ac) . "'"); 
goto b21fb; 
C8733: 
goto Fe64b; 
goto f71a1; 
Ed0e2: 
Ba800: 
goto B323c; 
F0135: 
if (substr(VERSION, 0, 1) == '1') { 
goto b68c7; 
} 
goto ccdff; 
b21fb: 
$this->db->query("INSERT INTO " . DB_PREFIX . "setting SET store_id = '0', `code` = '" . $this->db->escape($cc4ac) . "', `key` = '" . $this->db->escape($Eed71) . "', `value` = '" . $this->db->escape($B3a1a) . "'"); 
goto C8733; 
c59b8: 
goto Ee006; 
goto Ed0e2; 
f812f: 
Ee006: 
goto B6765; 
B4ee2: 
if ($D822a) { 
goto Ba800; 
} 
goto F0135; 
E6204: 
$this->db->query("INSERT INTO " . DB_PREFIX . "setting SET store_id = '0', `group` = '" . $this->db->escape($cc4ac) . "', `key` = '" . $this->db->escape($Eed71) . "', `value` = '" . $this->db->escape($B3a1a) . "'"); 
goto D1eb6; 
f71a1: 
b68c7: 
goto db0b8; 
B323c: 
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `key` = '" . $this->db->escape($cc4ac) . "'"); 
goto f812f; 
db0b8: 
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `group` = '" . $this->db->escape($cc4ac) . "'"); 
goto E6204; 
D1eb6: 
Fe64b: 
goto c59b8; 
B6765: 
} 
private function getSettingValue($Eed71, $bb9ad = 0) 
{ 
goto daf28; 
a0366: 
$this->cache->set('dmt.settings.' . $Eed71 . '.' . $bb9ad, $c1b93); 
goto Cf6b1; 
Dfa8d: 
return $c1b93; 
goto A1935; 
ef4ce: 
if (!$B535f->num_rows) { 
goto acb00; 
} 
goto Cf142; 
D788c: 
if ($c1b93) { 
goto D7fda; 
} 
goto b50df; 
F2c27: 
D7fda: 
goto Dfa8d; 
Cf6b1: 
acb00: 
goto F2c27; 
Cf142: 
$c1b93 = $B535f->row['value']; 
goto a0366; 
b50df: 
$B535f = $this->db->query("SELECT value FROM " . DB_PREFIX . "setting WHERE store_id = '" . (int) $bb9ad . "' AND `key` = '" . $this->db->escape($Eed71) . "'"); 
goto ef4ce; 
daf28: 
$c1b93 = false; 
goto Fd3b5; 
Fd3b5: 
$c1b93 = $this->cache->get('dmt.settings.' . $Eed71 . '.' . $bb9ad); 
goto D788c; 
A1935: 
} 
public function formatUserdata($E10b1 = false) 
{ 
goto e224b; 
Afd55: 
$Ede1c['em'] = $A6899['em']; 
goto ed5e3; 
De8d4: 
$c1b93['user_data']['sha256_phone_number'] = $A6899['ph_e164']; 
goto Aba21; 
d7b82: 
if (isset($E10b1['sccid']) && !empty($E10b1['sccid'])) { 
goto E3f1a; 
} 
goto Ab3be; 
ca171: 
goto bdb42; 
goto f4f19; 
Faddc: 
$Ede1c['sc_click_id'] = $D0821; 
goto Ec3a0; 
e5468: 
$C1f11 = $this->gtm->getFbp(); 
goto a0fce; 
c5630: 
$c1b93['pixel_user_data'] = ['em' => $A6899['em'], 'fn' => $A6899['fn'], 'ln' => $A6899['ln'], 'ph' => $A6899['ph'], 'ct' => $A6899['ct'], 'zp' => $A6899['pc'], 'st' => $A6899['st'], 'country' => $A6899['cc'], 'external_id' => $A6899['external_id_hash'], 'client_ip_address' => $A6899['ip_address'], 'client_user_agent' => $A6899['user_agent']]; 
goto c7a20; 
Cce5c: 
if (isset($E10b1['sc_cookie1']) && !empty($E10b1['sc_cookie1'])) { 
goto a7075; 
} 
goto a5e08; 
a5e08: 
$D070a = $this->gtm->getSc_cookie1(); 
goto F0a87; 
d2cec: 
ea370: 
goto cdf12; 
c7a20: 
if (!(!empty($A3bf6) && $A3bf6)) { 
goto B3ec2; 
} 
goto Eed5f; 
eddc8: 
$Ede1c['fn'] = $A6899['fn']; 
goto Fa879; 
E6927: 
if (!empty($A6899['external_id'])) { 
goto E4737; 
} 
goto D2675; 
b1dcd: 
$c1b93['tiktok_user_data'] = ['email' => $A6899['em'], 'phone' => $A6899['ph_e164'], 'external_id' => $A6899['external_id_hash'], 'ttp' => $Ca165, 'ttclid' => $a700c, 'ip' => $A6899['ip_address'], 'user_agent' => $A6899['user_agent'], 'first_name' => $A6899['fn'], 'last_name' => $A6899['ln'], 'city' => $A6899['ct'], 'state' => $A6899['st'], 'zip_code' => $A6899['pc'], 'country' => $A6899['cc']]; 
goto Ef023; 
Fe8c2: 
B3ec2: 
goto c728a; 
A1aa7: 
if (empty($A6899['ln'])) { 
goto E04bc; 
} 
goto e81a5; 
f4f19: 
b30fc: 
goto C265b; 
F693e: 
if (empty($A6899['fn'])) { 
goto B8f73; 
} 
goto eddc8; 
Cb92f: 
return false; 
goto D815e; 
ed5e3: 
ee8f9: 
goto c08a6; 
fbd7b: 
$a700c = $E10b1['ttclid']; 
goto e7feb; 
C05aa: 
d2c7d: 
goto D5b32; 
fa698: 
$c1b93 = []; 
goto df0cb; 
Ff103: 
d54d6: 
goto D2a7b; 
Afeda: 
$a700c = $this->gtm->getTtclid(); 
goto daebb; 
aac49: 
$D070a = $E10b1['sc_cookie1']; 
goto B40ee; 
B38a5: 
goto F8ece; 
goto F059a; 
B40ee: 
F1b03: 
goto d7b82; 
fe088: 
if (!$E10b1['tiktok_status']) { 
goto Df899; 
} 
goto ce58a; 
C265b: 
$A3bf6 = $A6899['fbc']; 
goto B6f9f; 
b5b13: 
F8ece: 
goto F428d; 
Bdb93: 
$Ca165 = $this->gtm->getTtp(); 
goto b8254; 
A54aa: 
if (!$E10b1['pixel']) { 
goto Cbf98; 
} 
goto D6651; 
D2675: 
$A6899['external_id'] = $this->session->getId(); 
goto b305b; 
d2883: 
$A3bf6 = $this->gtm->getFbc(); 
goto ca171; 
Ff95d: 
if (isset($E10b1['ttp']) && !empty($E10b1['ttp'])) { 
goto d2c7d; 
} 
goto Bdb93; 
df0cb: 
$A6899 = ['em' => isset($E10b1['em']) ? $E10b1['em'] : '', 'fn' => isset($E10b1['fn']) ? $E10b1['fn'] : '', 'ln' => isset($E10b1['ln']) ? $E10b1['ln'] : '', 'ph' => isset($E10b1['ph']) ? $E10b1['ph'] : '', 'ph_e164' => isset($E10b1['ph_e164']) ? $E10b1['ph_e164'] : '', 'ad' => isset($E10b1['ad']) ? $E10b1['ad'] : '', 'ct' => isset($E10b1['ct']) ? $E10b1['ct'] : '', 'pc' => isset($E10b1['pc']) ? $E10b1['pc'] : '', 'st' => isset($E10b1['st']) ? $E10b1['st'] : '', 'cc' => isset($E10b1['cc']) ? $E10b1['cc'] : '', 'external_id' => isset($E10b1['external_id']) ? $E10b1['external_id'] : false, 'user_agent' => isset($E10b1['user_agent']) ? $E10b1['user_agent'] : false, 'locale' => isset($E10b1['locale']) ? $E10b1['locale'] : false, 'ip_address' => isset($E10b1['ip_address']) ? $E10b1['ip_address'] : false, 'fbc' => isset($E10b1['fbc']) ? $E10b1['fbc'] : false, 'fbp' => isset($E10b1['fbp']) ? $E10b1['fbp'] : false, 'ttclid' => isset($E10b1['ttclid']) ? $E10b1['ttclid'] : false, 'ttp' => isset($E10b1['ttp']) ? $E10b1['ttp'] : false, 'sc_cookie1' => isset($E10b1['sc_cookie1']) ? $E10b1['sc_cookie1'] : false, 'sccid' => isset($E10b1['sccid']) ? $E10b1['sccid'] : false]; 
goto E6927; 
F180b: 
d806e: 
goto B694a; 
Fa879: 
B8f73: 
goto A1aa7; 
a0fce: 
goto e4f29; 
goto a8ce5; 
e45b3: 
if (empty($D0821)) { 
goto d97d4; 
} 
goto Faddc; 
b60f9: 
$Ede1c['ct'] = $A6899['ct']; 
goto B1c49; 
D5b32: 
$Ca165 = $E10b1['ttp']; 
goto ebe7a; 
cdf12: 
if (empty($A6899['country'])) { 
goto F1e36; 
} 
goto b8075; 
d3640: 
$Ede1c['external_id'] = $A6899['external_id_hash']; 
goto db141; 
ab9af: 
$C1f11 = $A6899['fbp']; 
goto a8e4a; 
bbd23: 
$Ede1c['zp'] = $A6899['pc']; 
goto d2cec; 
B6bc6: 
$c1b93['user_data']['address']['sha256_first_name'] = $A6899['fn']; 
goto De018; 
ea17f: 
$c1b93['pixel_user_data']['fbp'] = $C1f11; 
goto F180b; 
F290f: 
if (empty($A6899['em'])) { 
goto ee8f9; 
} 
goto Afd55; 
De1d9: 
$D0821 = $E10b1['sccid']; 
goto b5b13; 
B694a: 
Cbf98: 
goto b2de0; 
F5011: 
$c52b1 = $E10b1['snap_pixel_id']; 
goto Cce5c; 
fe10d: 
if (empty($A6899['external_id'])) { 
goto Fc334; 
} 
goto d3640; 
Ee360: 
if (empty($A6899['st'])) { 
goto C7bc1; 
} 
goto C58da; 
D27a5: 
if (empty($A6899['ct'])) { 
goto B7ad0; 
} 
goto b60f9; 
F059a: 
E3f1a: 
goto De1d9; 
Feb1a: 
return $c1b93; 
goto a172b; 
b8075: 
$Ede1c['country'] = $A6899['country']; 
goto aa19e; 
e2252: 
a7075: 
goto aac49; 
D815e: 
b0f43: 
goto fa698; 
c08a6: 
if (empty($A6899['ph'])) { 
goto C4065; 
} 
goto eba68; 
A9e0a: 
$A6899['external_id_hash'] = !empty($A6899['external_id']) ? $this->gtm->getHash($A6899['external_id']) : ''; 
goto a3ca6; 
a8e4a: 
e4f29: 
goto c5630; 
a3ca6: 
$c1b93['user_data'] = []; 
goto B4991; 
D9250: 
$Ede1c['sc_cookie1'] = $D070a; 
goto Ff103; 
Eed5f: 
$c1b93['pixel_user_data']['fbc'] = $A3bf6; 
goto Fe8c2; 
aa19e: 
F1e36: 
goto fe10d; 
B1c49: 
B7ad0: 
goto Ee360; 
de075: 
C7bc1: 
goto D4fdf; 
e81a5: 
$Ede1c['ln'] = $A6899['ln']; 
goto Dc063; 
D2a7b: 
$c1b93['snapchat_user_data'] = $Ede1c; 
goto a0a10; 
b8254: 
goto f0a3a; 
goto C05aa; 
B4991: 
$c1b93['user_data']['sha256_email_address'] = $A6899['em']; 
goto De8d4; 
db141: 
Fc334: 
goto e45b3; 
Bca2d: 
if (empty($D070a)) { 
goto d54d6; 
} 
goto D9250; 
B6f9f: 
bdb42: 
goto C1f21; 
C1f21: 
if ($A6899['fbp']) { 
goto Ce193; 
} 
goto e5468; 
Ef023: 
Df899: 
goto Feb1a; 
ce58a: 
$aba2e = $E10b1['tiktok_code']; 
goto Fc03d; 
e224b: 
if ($E10b1) { 
goto b0f43; 
} 
goto Cb92f; 
c728a: 
if (!(!empty($C1f11) && $C1f11)) { 
goto d806e; 
} 
goto ea17f; 
Dc063: 
E04bc: 
goto D27a5; 
De018: 
$c1b93['user_data']['address']['sha256_last_name'] = $A6899['ln']; 
goto A54aa; 
daebb: 
goto f0e7c; 
goto D5503; 
Fc03d: 
if (isset($E10b1['ttclid']) && !empty($E10b1['ttclid'])) { 
goto f060d; 
} 
goto Afeda; 
Ec3a0: 
d97d4: 
goto Bca2d; 
D4fdf: 
if (empty($A6899['pc'])) { 
goto ea370; 
} 
goto bbd23; 
Aba21: 
$c1b93['user_data']['address'] = []; 
goto B6bc6; 
eba68: 
$Ede1c['ph'] = $A6899['ph']; 
goto b65c6; 
a0a10: 
bb0f9: 
goto fe088; 
Ab3be: 
$D0821 = $this->gtm->getScCid(); 
goto B38a5; 
D5503: 
f060d: 
goto fbd7b; 
D6651: 
if ($A6899['fbc']) { 
goto b30fc; 
} 
goto d2883; 
a8ce5: 
Ce193: 
goto ab9af; 
C58da: 
$Ede1c['st'] = $A6899['st']; 
goto de075; 
ebe7a: 
f0a3a: 
goto b1dcd; 
F0a87: 
goto F1b03; 
goto e2252; 
e7feb: 
f0e7c: 
goto Ff95d; 
b65c6: 
C4065: 
goto F693e; 
F428d: 
$Ede1c = ['user_agent' => $A6899['user_agent'], 'client_ip_address' => $A6899['ip_address']]; 
goto F290f; 
b2de0: 
if (!$E10b1['snap_pixel_status']) { 
goto bb0f9; 
} 
goto F5011; 
b305b: 
E4737: 
goto A9e0a; 
a172b: 
} 
public function apiOrderSend($b7898) 
{ 
goto a8162; 
Ae97b: 
B3482: 
goto Cdc83; 
Fa732: 
$A6899 = $F5c83['customer']; 
goto F246c; 
c4fc4: 
$F5c83 = $this->googleAPI($e3680, $c1b93['dmt'], false); 
goto E6534; 
Daa26: 
$this->Log('Order # ' . $b7898 . ' (dmt/apiOrderSend) API Post Results' . $C9a4b); 
goto b4a41; 
E6534: 
$adb7e['ga4'] = ''; 
goto f8569; 
E6f96: 
d5f07: 
goto ebe65; 
D111e: 
goto daa15; 
goto C54b7; 
eca32: 
$adb7e['snapchat'] = 'Snapchat API [ Order: ' . $b7898 . ' ] Result: error order data posted'; 
goto Db2cf; 
a5e2b: 
de472: 
goto De90a; 
ab48e: 
$adb7e['ga4'] = 'Google API [ Order: ' . $b7898 . ' ] Result: success order data posted'; 
goto E00ce; 
B0eb5: 
if ($E96eb && $c1b93['hit_tiktok'] == 0) { 
goto fb550; 
} 
goto cfb22; 
eaa0b: 
$adb7e['error'] = false; 
goto ab48e; 
cfb22: 
if (!$E96eb) { 
goto E14fd; 
} 
goto ecaa0; 
D30fd: 
ff286: 
goto e7793; 
Ebb58: 
$A9a5b = isset($D80ad->row['hit']) ? $D80ad->row['hit'] : 0; 
goto ce653; 
B7449: 
if ($B535f->num_rows) { 
goto fefad; 
} 
goto a2c34; 
Be321: 
$D80ad = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'"); 
goto E4ed2; 
E2344: 
if (!($F69fa == '0')) { 
goto b7093; 
} 
goto Bd15a; 
a6fa0: 
A60a3: 
goto ca20b; 
A6f3a: 
$fcc3a = $c1b93['snapchat_api']; 
goto bb6f4; 
d2169: 
$adb7e['error'] = true; 
goto c4f50; 
Db2cf: 
goto B616b; 
goto d9843; 
dea74: 
$adb7e['message'] = 'Completed successfully.'; 
goto F5bc3; 
ecaa0: 
$d0d28['tiktok'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped']; 
goto Aae2d; 
Cd744: 
$F5c83 = $this->gtm->snapchatAPI($E10b1, 'PURCHASE', $fcc3a, $A6899['snapchat_user_data'], $b1eff); 
goto B9436; 
f5b60: 
$adb7e['error'] = true; 
goto ecd1e; 
a0029: 
d18c5: 
goto Daa26; 
Fa749: 
bbfe0: 
goto c4fc4; 
d9c23: 
goto A60a3; 
goto D0f07; 
C2835: 
fb550: 
goto dc589; 
ee4e4: 
$beb8e[] = ['name' => 'purchase', 'params' => $c1b93['datalayer']['ga']]; 
goto dc81e; 
edf04: 
if (!$c8c64) { 
goto de472; 
} 
goto ee789; 
fae4b: 
if ($E3bab && $c1b93['hit_ga'] == 0) { 
goto bbfe0; 
} 
goto c8908; 
aff9b: 
daa15: 
goto F0d0b; 
e7793: 
if ($b1488 && $c1b93['hit_snapchat'] == 0) { 
goto b56d1; 
} 
goto Ea99c; 
e35ee: 
$adb7e['tiktok'] = 'TikTok API [ Order: ' . $b7898 . ' ] Result: success order data posted'; 
goto d856a; 
Adcdb: 
$E96eb = $this->checkapiStatus('tiktok'); 
goto ddcb3; 
De90a: 
goto ff286; 
goto b2d76; 
d2c0f: 
C829e: 
goto f0df3; 
Dca6e: 
c06e0: 
goto f7d94; 
Fa691: 
$c8c64 = $this->checkapiStatus('fb'); 
goto b7ab9; 
c2a50: 
$e7eeb['error'] = true; 
goto C6bc2; 
ca20b: 
$d0d28['ga4'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['ga4']]; 
goto edfd3; 
A793a: 
B616b: 
goto a49c7; 
Bd15a: 
$this->Log('DMT Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order Status Id is 0 / Missing'); 
goto C2827; 
Ca1ca: 
$adb7e['pixel'] = 'Facebook API [ Order: ' . $b7898 . ' ] Result: success order data posted'; 
goto F1a93; 
c4f50: 
$adb7e['message'] = 'error in apiOrderSend()'; 
goto a70f2; 
Cc28e: 
$F69fa = $this->OrderStatusCheck($b7898); 
goto E2344; 
ecd1e: 
$adb7e['ga4'] = 'Google API [ Order: ' . $b7898 . ' ] Result: failed'; 
goto d9c23; 
B9436: 
$adb7e['snapchat'] = ''; 
goto D2881; 
e16f3: 
$adb7e['tiktok'] = ''; 
goto C04fb; 
a1bb1: 
$Bb3d7['error'] = true; 
goto c2a50; 
A267f: 
$A6899['snap_pixel_status'] = $E10b1['snap_pixel_status']; 
goto da5dc; 
a12d8: 
$A6899['tiktok_code'] = $E10b1['tiktok_code']; 
goto D00a4; 
bb7fc: 
$adb7e['error'] = true; 
goto f8e46; 
eb007: 
E2f71: 
goto B6984; 
b42b9: 
Ef8de: 
goto fae4b; 
b4f04: 
$d0d28['snapchat'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped']; 
goto cb3e0; 
ddcb3: 
$d0d28 = []; 
goto B0eb5; 
e8b1e: 
E086f: 
goto e24b9; 
cbadb: 
goto B3482; 
goto C2835; 
E2258: 
b7093: 
goto A1c24; 
E00ce: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_ga = '1' WHERE order_id = '" . (int) $b7898 . "'"); 
goto a6fa0; 
cff31: 
$F5c83 = $this->gtm->facebookAPI($E10b1, 'Purchase', $Bc03e, $A6899['pixel_user_data'], $b1eff); 
goto fb78d; 
F0d0b: 
$d0d28['pixel'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['pixel']]; 
goto D30fd; 
dc81e: 
$e3680 = ['client_id' => $c1b93['cid'], 'user_id' => $c1b93['uid'], 'events' => $beb8e]; 
goto B53c7; 
c8908: 
if (!$E3bab) { 
goto E741c; 
} 
goto bd51b; 
E540f: 
$adb7e['error'] = true; 
goto f6543; 
C54b7: 
D51ad: 
goto e9acd; 
A681b: 
E741c: 
goto B3f36; 
Bbcd6: 
return $adb7e; 
goto E2258; 
C2827: 
$adb7e['message'] = 'Incomplete or Missing Order'; 
goto Bbcd6; 
A5f77: 
$c1b93 = []; 
goto B7449; 
F88b6: 
$A6899['locale'] = $c1b93['ul']; 
goto Efe9b; 
B3f36: 
goto Fc5fd; 
goto Fa749; 
d4f36: 
D2a77: 
goto Cc28e; 
F1a93: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_fb = '1' WHERE order_id = '" . (int) $b7898 . "'"); 
goto aff9b; 
a8162: 
$E10b1 = $this->config(); 
goto a137e; 
D0f07: 
c4569: 
goto eaa0b; 
D4f8c: 
goto D2a77; 
goto C00be; 
f0df3: 
$adb7e['error'] = false; 
goto e35ee; 
C6bc2: 
if (!($b7898 == 0)) { 
goto E2f71; 
} 
goto e5c34; 
b6b9f: 
$b1eff = $c1b93['event_id']; 
goto ee4e4; 
d9843: 
ab34a: 
goto b2e19; 
a86da: 
$E3bab = $this->checkapiStatus('ga4'); 
goto Fa691; 
e9acd: 
$adb7e['error'] = false; 
goto Ca1ca; 
C790b: 
$adb7e['error'] = true; 
goto eca32; 
da5dc: 
$A6899['snap_pixel_id'] = $E10b1['snap_pixel_id']; 
goto F4e51; 
D00a4: 
$A6899['ip_address'] = $c1b93['ip']; 
goto Ca487; 
Cbd19: 
$adb7e['message'] = 'Complete or Partial Failer see details in log.'; 
goto Dca6e; 
Eaa86: 
Dac71: 
goto E6f96; 
Ea99c: 
if (!$b1488) { 
goto ca7c5; 
} 
goto b4f04; 
b4a41: 
if ($adb7e['error']) { 
goto b4d2a; 
} 
goto dea74; 
B53c7: 
$e3680 = json_encode($e3680); 
goto a86da; 
d856a: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_tiktok = '1' WHERE order_id = '" . (int) $b7898 . "'"); 
goto e8b1e; 
d4b7d: 
$c1b93 = array_merge($c1b93, $F5c83); 
goto a4218; 
f9bac: 
goto E086f; 
goto d2c0f; 
fb78d: 
$adb7e['pixel'] = ''; 
goto a46cc; 
a49c7: 
$d0d28['snapchat'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['snapchat']]; 
goto b42b9; 
f8372: 
b4d2a: 
goto Cbd19; 
B6984: 
$this->load->model('checkout/order'); 
goto C6601; 
Cdc83: 
if ($c8c64 && $c1b93['hit_fb'] == 0) { 
goto c466f; 
} 
goto edf04; 
cb3e0: 
ca7c5: 
goto f07d4; 
Efe9b: 
$A6899 = array_merge($A6899, $c1b93); 
goto B620a; 
c2a14: 
foreach ($d0d28 as $Eed71 => $B3a1a) { 
$C9a4b .= "
" . strtoupper($Eed71) . " ----> " . $B3a1a['post_result'] . "
" . $B3a1a['message'] . "
"; 
D55e7: 
} 
goto a0029; 
Ca487: 
$A6899['user_agent'] = $c1b93['user_agent']; 
goto F88b6; 
D624b: 
$adb7e['message'] = $E7aa3; 
goto c0ee5; 
f8569: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto c4569; 
} 
goto f5b60; 
F246c: 
$A6899['pixel'] = $E10b1['pixel']; 
goto A267f; 
ebe65: 
$this->Log($E7aa3); 
goto D624b; 
a46cc: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto D51ad; 
} 
goto bb7fc; 
a70f2: 
$F19f1['error'] = true; 
goto a1bb1; 
a2c34: 
$E7aa3 = 'dmt Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order not found'; 
goto Be321; 
e5c34: 
return 'Invalid Order Id'; 
goto eb007; 
bd51b: 
$d0d28['ga4'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped']; 
goto A681b; 
f8e46: 
$adb7e['pixel'] = 'Facebook API [ Order: ' . $b7898 . ' ] Result: error order data posted'; 
goto D111e; 
B620a: 
$A6899 = $this->formatUserdata($A6899); 
goto d4b7d; 
C04fb: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto C829e; 
} 
goto E540f; 
a137e: 
$b7898 = (int) $b7898; 
goto d2169; 
A1c24: 
$F5c83 = $this->prepareOrder($b7898); 
goto Fa732; 
C00be: 
fefad: 
goto e92cc; 
ce653: 
if (!($A9a5b == 1)) { 
goto Dac71; 
} 
goto c4551; 
e24b9: 
$d0d28['tiktok'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['tiktok']]; 
goto Ae97b; 
edfd3: 
Fc5fd: 
goto e3877; 
bb6f4: 
$b7028 = $c1b93['tiktok']; 
goto b6b9f; 
D2881: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto ab34a; 
} 
goto C790b; 
b2d76: 
c466f: 
goto cff31; 
b7ab9: 
$b1488 = $this->checkapiStatus('snapchat'); 
goto Adcdb; 
f7d94: 
return $adb7e; 
goto b312c; 
f6543: 
$adb7e['tiktok'] = 'TikTok API [ Order: ' . $b7898 . ' ] Result: error order data posted'; 
goto f9bac; 
e92cc: 
$c1b93 = $B535f->row; 
goto d4f36; 
F4e51: 
$A6899['tiktok_status'] = $E10b1['tiktok_status']; 
goto a12d8; 
a4218: 
$Bc03e = $c1b93['fb_data']; 
goto A6f3a; 
F2315: 
b56d1: 
goto Cd744; 
f5a34: 
$adb7e['snapchat'] = 'Snapchat API [ Order: ' . $b7898 . ' ] Result: success order data posted'; 
goto Ffe4e; 
dc589: 
$F5c83 = $this->gtm->tiktokAPI($E10b1, 'CompletePayment', $b7028, $A6899['tiktok_user_data'], $b1eff); 
goto e16f3; 
c4551: 
$E7aa3 = 'dmt Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order already hit'; 
goto Eaa86; 
e3877: 
$C9a4b = ''; 
goto c2a14; 
E4ed2: 
if (!$D80ad->num_rows) { 
goto d5f07; 
} 
goto Ebb58; 
Ffe4e: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_snapchat = '1' WHERE order_id = '" . (int) $b7898 . "'"); 
goto A793a; 
Aae2d: 
E14fd: 
goto cbadb; 
c0ee5: 
return $adb7e; 
goto D4f8c; 
F5bc3: 
goto c06e0; 
goto f8372; 
ee789: 
$d0d28['pixel'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped']; 
goto a5e2b; 
f07d4: 
goto Ef8de; 
goto F2315; 
b2e19: 
$adb7e['error'] = false; 
goto f5a34; 
C6601: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'"); 
goto A5f77; 
b312c: 
} 
public function apiOrderRefund($b7898) 
{ 
goto aa7ce; 
bb795: 
goto ce6a4; 
goto Ab152; 
be8b2: 
$e3680 = json_encode($e3680); 
goto a020f; 
bc315: 
$c1b93 = []; 
goto f200b; 
ad6e4: 
if (!$E3bab) { 
goto Aa7f2; 
} 
goto dd4ad; 
f2a0f: 
goto c9eb5; 
goto C70c4; 
F8f4d: 
$adb7e['message'] = 'Error: The order do not have valid status code 0'; 
goto c937c; 
Ee76d: 
$c1b93 = array_merge($c1b93, $F5c83); 
goto Cb9ff; 
c95c2: 
$c1b93['cid'] = $B535f->row['cid']; 
goto f6a98; 
Db96d: 
$E10b1 = $this->config(); 
goto e5efe; 
f200b: 
$adb7e['error'] = true; 
goto e0dbf; 
B1ab7: 
if ($B535f->num_rows) { 
goto e43f2; 
} 
goto C03f8; 
C70c4: 
e43f2: 
goto c95c2; 
Df97c: 
if (!(isset($E3bab) && $E3bab)) { 
goto e9295; 
} 
goto be8b2; 
Ea36b: 
$E1ef9 = ['transaction_id' => $b7898, 'shipping' => number_format((float) $c1b93['ec_orderShipping'], 2, '.', ''), 'value' => number_format((float) $c1b93['ec_orderValue'], 2, '.', ''), 'tax' => number_format((float) $c1b93['ec_orderTax'], 2, '.', ''), 'coupon' => $c1b93['ec_orderCoupon'], 'currency' => $c1b93['currency_code'], 'items' => $C8667]; 
goto aac8e; 
D59e9: 
if (isset($F5c83['error']) && !$F5c83['error']) { 
goto dabbf; 
} 
goto d75f1; 
C03f8: 
$this->Log('DMT Debug Log: Measurement Protocol Refund Order id: ' . $b7898 . ' Result: error order not found or not hit'); 
goto f779c; 
a75a1: 
if (!($F69fa == '0')) { 
goto c5e68; 
} 
goto D25d3; 
f779c: 
$adb7e['message'] = 'Refund: error order not found or alrady refunded'; 
goto f084f; 
D25d3: 
$this->Log('DMT Debug Log: Measurement Protocol Refund Order id: ' . $b7898 . ' Result: Incomplete or Missing Order'); 
goto F8f4d; 
ae505: 
c9eb5: 
goto Dbd79; 
E6299: 
return $adb7e; 
goto E58fc; 
e0dbf: 
$adb7e['message'] = 'error in apiOrderRefund'; 
goto Db96d; 
b4f6d: 
e9295: 
goto ad6e4; 
Db1fd: 
$d0d28['ga4'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['ga4']]; 
goto f317b; 
Dbd79: 
$F69fa = $this->OrderStatusCheck($b7898); 
goto a75a1; 
d75f1: 
$adb7e['error'] = true; 
goto Bac1c; 
Ab152: 
dabbf: 
goto e11a4; 
cdbcc: 
$adb7e = []; 
goto D59e9; 
c937c: 
return $adb7e; 
goto e9ff9; 
Cc63f: 
$adb7e['ga4'] = 'Google API [ Refund Order: ' . $b7898 . ' ] Result: refund data posted'; 
goto d60a1; 
a6066: 
$F5c83 = $this->getOrder($b7898); 
goto Ee76d; 
e9ff9: 
c5e68: 
goto a6066; 
f317b: 
Aa7f2: 
goto E6299; 
A77c1: 
$c1b93['uid'] = $B535f->row['uid']; 
goto ae505; 
E2e2f: 
ce6a4: 
goto Db1fd; 
c2bc7: 
$e3680 = ['user_id' => $c1b93['uid'], 'client_id' => $c1b93['cid'], 'events' => $beb8e]; 
goto Df97c; 
aac8e: 
$beb8e[] = ['name' => 'refund', 'params' => $E1ef9]; 
goto c2bc7; 
f084f: 
return $adb7e; 
goto f2a0f; 
aa7ce: 
$this->load->model('checkout/order'); 
goto c4609; 
a020f: 
$Bb3d7 = $this->googleAPI($e3680, false); 
goto b4f6d; 
c4609: 
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "' AND hit = '1'"); 
goto bc315; 
e11a4: 
$adb7e['error'] = false; 
goto Cc63f; 
f6a98: 
$c1b93['currency_code'] = $B535f->row['currency_code']; 
goto B9f72; 
C2fb9: 
$c1b93['user_agent'] = $B535f->row['user_agent']; 
goto A77c1; 
e5efe: 
$E3bab = $this->checkapiStatus('ga4'); 
goto B1ab7; 
d60a1: 
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_ga = '2', hit = '2' WHERE order_id = '" . (int) $b7898 . "'"); 
goto E2e2f; 
dd4ad: 
$F5c83 = $this->googleAPI($e3680, $E10b1, false); 
goto cdbcc; 
Bac1c: 
$adb7e['ga4'] = 'Google API [ Refund Order: ' . $b7898 . ' ] Result: failed'; 
goto bb795; 
B9f72: 
$c1b93['ip'] = $B535f->row['ip']; 
goto C2fb9; 
Cb9ff: 
$C8667 = isset($c1b93['ec_orderProducts']['ga4_items']) ? $c1b93['ec_orderProducts']['ga4_items'] : array(); 
goto Ea36b; 
E58fc: 
} 
public function apiOrderChecker($C8981, $a34e6) 
{ 
goto ae087; 
Bd566: 
curl_setopt($ae996, CURLOPT_POST, true); 
goto F8026; 
b4a55: 
curl_close($ae996); 
goto F8d84; 
c3fe3: 
curl_setopt($ae996, CURLOPT_URL, $C8981); 
goto Cac3b; 
fbdcc: 
return $cc450; 
goto Fb1a7; 
Cac3b: 
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true); 
goto E2565; 
F8d84: 
$cc450 = isset($cc450) ? json_decode($cc450, true) : false; 
goto fbdcc; 
E2565: 
curl_setopt($ae996, CURLOPT_CONNECTTIMEOUT, 30); 
goto c3e04; 
F8026: 
curl_setopt($ae996, CURLOPT_POSTFIELDS, http_build_query($a34e6)); 
goto e3b55; 
ae087: 
$ae996 = curl_init(); 
goto c3fe3; 
e3b55: 
$cc450 = curl_exec($ae996); 
goto b4a55; 
c3e04: 
curl_setopt($ae996, CURLOPT_TIMEOUT, 30); 
goto Bd566; 
Fb1a7: 
} 
public function GAContact() 
{ 
return false; 
} 
public function googleAPI($c1b93, $E10b1 = false, $Cc580 = false) 
{ 
goto de9ce; 
B88a9: 
$C155a = 'https://www.google-analytics.com/debug/mp/collect?measurement_id='; 
goto a0aa9; 
Ab1cf: 
$a1b1b = true; 
goto Eb6b9; 
cee47: 
F08ce: 
goto e45de; 
C78b7: 
curl_setopt($ae996, CURLOPT_HEADER, false); 
goto a3ecb; 
d89d6: 
$F5c83['message'] = ''; 
goto Df367; 
fbe30: 
$F5c83['message'] = $E7aa3; 
goto Ef531; 
b4b44: 
$E7aa3 = 'GA4 API Response Code: ' . $b79a4 . "
" . $E7aa3 . "
" . $c1b93; 
goto a96d7; 
a2a82: 
$F5c83['success'] = false; 
goto d89d6; 
aad59: 
if (!($b79a4 == '204')) { 
goto fefb6; 
} 
goto f514b; 
Ee8e9: 
$adb7e['code'] = $b79a4; 
goto Ab1cf; 
af21c: 
$F5c83['error'] = false; 
goto Bd8d9; 
e45de: 
$Cc580 = true; 
goto c9509; 
bbb7d: 
curl_setopt($ae996, CURLOPT_SSL_VERIFYPEER, false); 
goto E6406; 
de9ce: 
$F5c83['error'] = true; 
goto a2a82; 
ab301: 
$D15ff = json_decode($c613c, true); 
goto Ee8e9; 
a0aa9: 
$ae996 = curl_init('https://www.google-analytics.com/mp/collect?measurement_id=' . $E10b1['ga4_mid'] . '&api_secret=' . $E10b1['ga4_api']); 
goto Db742; 
E6406: 
$c613c = curl_exec($ae996); 
goto ce14c; 
Fd34f: 
d6c56: 
goto aad59; 
Dd364: 
if ($Cc580) { 
goto A5dfe; 
} 
goto ff778; 
Eb6b9: 
$E7aa3 = $c613c; 
goto F3325; 
da09a: 
if ($E10b1) { 
goto F95b5; 
} 
goto F1b87; 
ce14c: 
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE); 
goto C59ca; 
F1b87: 
return $F5c83; 
goto Ab50c; 
Df367: 
if (isset($c1b93)) { 
goto eae5b; 
} 
goto d4531; 
Ef531: 
return $F5c83; 
goto B3ed0; 
a96d7: 
fdb2f: 
goto af21c; 
c3171: 
goto Fe29a; 
goto cee47; 
Db742: 
curl_setopt($ae996, CURLOPT_POST, true); 
goto ace6c; 
Df193: 
$Dbab3 = $this->checkapiStatus('ga4'); 
goto F21a9; 
f514b: 
$fe97e = true; 
goto d1db1; 
C59ca: 
curl_close($ae996); 
goto ab301; 
C2795: 
return $F5c83; 
goto B64ad; 
F21a9: 
if ($Dbab3) { 
goto Ca87f; 
} 
goto C0cd0; 
D1e5f: 
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) { 
goto F08ce; 
} 
goto A153d; 
C0cd0: 
$this->Log('Google Measurement API Validation failed, make sure api is enabled and have valid access token'); 
goto C2795; 
F3325: 
if (!($b79a4 == '200')) { 
goto d6c56; 
} 
goto f7819; 
cdd27: 
goto fdb2f; 
goto E3e27; 
f7819: 
$fe97e = true; 
goto Fd34f; 
d4531: 
return $F5c83; 
goto Cc64d; 
Bd8d9: 
$F5c83['success'] = $fe97e; 
goto fbe30; 
a3ecb: 
curl_setopt($ae996, CURLOPT_TIMEOUT, 30); 
goto bbb7d; 
E3e27: 
A5dfe: 
goto b4b44; 
B64ad: 
Ca87f: 
goto B88a9; 
A153d: 
$Cc580 = false; 
goto c3171; 
d1db1: 
fefb6: 
goto Dd364; 
c9509: 
Fe29a: 
goto Df193; 
Dcdb2: 
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true); 
goto C78b7; 
Ab50c: 
F95b5: 
goto D1e5f; 
Cc64d: 
eae5b: 
goto da09a; 
ace6c: 
curl_setopt($ae996, CURLOPT_POSTFIELDS, $c1b93); 
goto Dcdb2; 
ff778: 
$E7aa3 = 'GA4 API Response Code: ' . $b79a4; 
goto cdd27; 
B3ed0: 
} 
public function facebookAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false) 
{ 
goto B9c36; 
A58a8: 
$fe97e = false; 
goto B3f55; 
f076b: 
return $F5c83; 
goto A2eff; 
e5ebd: 
curl_setopt($ae996, CURLOPT_HEADER, true); 
goto b7b4d; 
f45fd: 
$fe97e = true; 
goto f4b4a; 
bdf4b: 
b5a71: 
goto f96b8; 
Da1fc: 
goto Ac511; 
goto Dd320; 
e23fa: 
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true); 
goto e5ebd; 
c4c80: 
if ($b1eff) { 
goto af574; 
} 
goto Fb476; 
D948e: 
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE); 
goto B1949; 
Be86d: 
$C0324 = 'website'; 
goto Bf63d; 
B3f55: 
C2c2a: 
goto B85c7; 
a292f: 
return $F5c83; 
goto f85f4; 
a7a26: 
$ae996 = curl_init('https://graph.facebook.com/' . $f1ede . '/' . $e62a4 . '/events'); 
goto C5445; 
Eca86: 
e70c8: 
goto Ee668; 
Caab7: 
$e7d22['access_token'] = $eec57; 
goto e467c; 
f96b8: 
if ($E10b1) { 
goto e70c8; 
} 
goto C7042; 
f4b4a: 
goto C2c2a; 
goto ed74f; 
Dda5f: 
$e7d22 = []; 
goto Caab7; 
e2aee: 
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) { 
goto Dfe88; 
} 
goto f37ad; 
C26a5: 
$D7e74 = $E10b1['fb_api']; 
goto B2ad3; 
C4869: 
$E7aa3 = $D15ff; 
goto Df9e8; 
Ef84d: 
$D15ff = json_decode($c613c, true); 
goto C4869; 
D36c3: 
$Cc580 = true; 
goto C2c7d; 
d112f: 
goto C0177; 
goto F0ee8; 
Df9e8: 
if (!$Cc580) { 
goto Ab52b; 
} 
goto A7918; 
A7918: 
$E7aa3 = $D15ff . "
" . $f4e1b; 
goto D4a61; 
E729c: 
af574: 
goto Ee3a2; 
Ec585: 
F0a24: 
goto ed63a; 
e467c: 
$e7d22['data'] = $f4e1b; 
goto fdc81; 
a46f6: 
B607e: 
goto bdf4b; 
C2c7d: 
C0177: 
goto b6032; 
B3db7: 
$F5c83['error'] = false; 
goto Dcff1; 
ed74f: 
Dcc6e: 
goto A58a8; 
b6032: 
$Dbab3 = $this->checkapiStatus('fb'); 
goto c0cae; 
Dcff1: 
$F5c83['success'] = $fe97e; 
goto Eb242; 
f37ad: 
$Cc580 = false; 
goto d112f; 
d05d2: 
$F5c83['success'] = false; 
goto edf56; 
c2728: 
return $F5c83; 
goto ed757; 
Eb242: 
$F5c83['message'] = $E7aa3; 
goto f076b; 
ed63a: 
$Ff273 = time(); 
goto C26a5; 
f4ca5: 
$e62a4 = $E10b1['pixelcode']; 
goto bddc8; 
C5445: 
curl_setopt($ae996, CURLOPT_POST, true); 
goto e6b62; 
Ec210: 
$this->Log('Facebook API Post Data Invalid: missing event_id'); 
goto A7605; 
d8218: 
$f4e1b = json_encode($Bc03e); 
goto Dda5f; 
Dd320: 
B76d7: 
goto c1e7c; 
C7042: 
$this->Log('Missing Tagmanger Config in API Call'); 
goto E741d; 
B2ad3: 
$eec57 = $E10b1['fb_token']; 
goto Be86d; 
fb12c: 
$Bc03e[] = ['event_name' => $E1c57, 'event_id' => $b1eff, 'event_time' => $Ff273, 'action_source' => $C0324, 'event_source_url' => $f540b, 'user_data' => $A6899]; 
goto Da1fc; 
fdc81: 
if (!(isset($E10b1['fb_api_debug']) && $E10b1['fb_api_debug'])) { 
goto b5a71; 
} 
goto b3468; 
Db323: 
f771f: 
goto c4c80; 
c0cae: 
if ($Dbab3) { 
goto A05e6; 
} 
goto e939d; 
b7b4d: 
curl_setopt($ae996, CURLOPT_TIMEOUT, 30); 
goto f4f0e; 
E741d: 
return $F5c83; 
goto Eca86; 
f4f0e: 
curl_setopt($ae996, CURLOPT_SSL_VERIFYPEER, false); 
goto f20d0; 
B9c36: 
$F5c83['error'] = true; 
goto d05d2; 
f20d0: 
$c613c = curl_exec($ae996); 
goto D948e; 
d5a95: 
if ($b79a4 != '200') { 
goto Dcc6e; 
} 
goto f45fd; 
f1661: 
Ac511: 
goto d8218; 
ed757: 
ea786: 
goto e2aee; 
A7605: 
return $F5c83; 
goto Ec585; 
e6b62: 
curl_setopt($ae996, CURLOPT_POSTFIELDS, $e7d22); 
goto e23fa; 
A831c: 
return $F5c83; 
goto Db323; 
B1949: 
curl_close($ae996); 
goto Ef84d; 
D4a61: 
Ab52b: 
goto d5a95; 
Cdb84: 
if ($E10b1) { 
goto ea786; 
} 
goto E0378; 
c1e7c: 
$Bc03e[] = ['event_name' => $E1c57, 'event_id' => $b1eff, 'event_time' => $Ff273, 'action_source' => $C0324, 'event_source_url' => $f540b, 'user_data' => $A6899, 'custom_data' => $c1b93]; 
goto f1661; 
B85c7: 
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3; 
goto B3db7; 
Ee3a2: 
if (!empty($b1eff)) { 
goto F0a24; 
} 
goto Ec210; 
Fb476: 
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false; 
goto E729c; 
E0378: 
$this->Log('Facebook API: Missing dmt Config in API Call'); 
goto c2728; 
bddc8: 
if ($c1b93) { 
goto B76d7; 
} 
goto fb12c; 
Bf63d: 
$f540b = $E10b1['url']; 
goto f4ca5; 
Ee668: 
$f1ede = 'v20.0'; 
goto a7a26; 
F0ee8: 
Dfe88: 
goto D36c3; 
b3468: 
if (!(isset($E10b1['pixel_test_code']) && !empty($E10b1['pixel_test_code']))) { 
goto B607e; 
} 
goto a961d; 
e939d: 
$this->Log('Facebook API Validation failed, make sure api is enabled and have valid access token'); 
goto a292f; 
a961d: 
$e7d22['test_event_code'] = $E10b1['pixel_test_code']; 
goto a46f6; 
f85f4: 
A05e6: 
goto ad436; 
ad436: 
if (!$E10b1['bot']) { 
goto f771f; 
} 
goto A831c; 
edf56: 
$F5c83['message'] = ''; 
goto Cdb84; 
A2eff: 
} 
public function snapchatAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false) 
{ 
goto cce87; 
E598b: 
if ($E10b1) { 
goto b8a08; 
} 
goto efbf1; 
fb27b: 
$f4e1b = ['data' => $fcc3a]; 
goto b3662; 
E4d07: 
return $F5c83; 
goto b4be2; 
a191e: 
F1133: 
goto dc819; 
Ec389: 
$Cc580 = false; 
goto F0861; 
b31de: 
$this->Log('Snapchat API Validation failed, make sure api is enabled and have valid access token'); 
goto fe484; 
d21ef: 
$F5c83['success'] = $fe97e; 
goto e3253; 
Eaa5c: 
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) { 
goto ceb4e; 
} 
goto Ec389; 
F1fc3: 
$C8981 = 'https://tr.snapchat.com/' . $f1ede . '/' . $e62a4 . '/events?access_token=' . $eec57; 
goto b1005; 
fe484: 
return $F5c83; 
goto f4a91; 
af53b: 
curl_close($ae996); 
goto F4348; 
b296d: 
$E7aa3 = $c613c; 
goto dd8fe; 
e0307: 
b8a08: 
goto Eaa5c; 
f13f3: 
if ($b79a4 != '200') { 
goto Dd756; 
} 
goto f13a3; 
cce87: 
$F5c83['error'] = true; 
goto Cf831; 
db60a: 
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false; 
goto Bf445; 
F4c77: 
$fe97e = false; 
goto a9186; 
C5e77: 
$E7aa3 = $c613c . "
" . $f4e1b; 
goto bb8c5; 
b1005: 
if (!(isset($E10b1['snap_pixel_api_debug']) && $E10b1['snap_pixel_api_debug'])) { 
goto F1133; 
} 
goto d89dc; 
e3d2a: 
c23be: 
goto c0579; 
f4a91: 
deed3: 
goto c08fd; 
c12d1: 
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3; 
goto c0439; 
c08fd: 
if (!$E10b1['bot']) { 
goto e4212; 
} 
goto E4d07; 
ba8d3: 
$F5c83['message'] = ''; 
goto E598b; 
c0579: 
$Dbab3 = $this->checkapiStatus('snapchat'); 
goto c1dfa; 
De747: 
return $F5c83; 
goto b4e4f; 
efbf1: 
$this->Log('Missing dmt Config in API Call'); 
goto ccad9; 
b98c8: 
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE); 
goto af53b; 
fc41d: 
return $F5c83; 
goto e62aa; 
A9581: 
if ($c1b93) { 
goto E6265; 
} 
goto a7267; 
c1dfa: 
if ($Dbab3) { 
goto deed3; 
} 
goto b31de; 
Cf831: 
$F5c83['success'] = false; 
goto ba8d3; 
dd8fe: 
if (!$Cc580) { 
goto Bb336; 
} 
goto C5e77; 
eefae: 
goto de3ef; 
goto d7b44; 
c0439: 
$F5c83['error'] = false; 
goto d21ef; 
C7c01: 
E6265: 
goto fb27b; 
Ea754: 
if ($b1eff) { 
goto bf869; 
} 
goto db60a; 
f13a3: 
$fe97e = true; 
goto eefae; 
A3ff1: 
$this->Log('Snapchat API Post Data Invalid: missing event_id'); 
goto De747; 
F0861: 
goto c23be; 
goto A2e16; 
ba537: 
$c613c = curl_exec($ae996); 
goto b98c8; 
b4be2: 
e4212: 
goto Ea754; 
d89dc: 
$C8981 = 'https://tr.snapchat.com/' . $f1ede . '/' . $e62a4 . '/events/validate?access_token=' . $eec57; 
goto a191e; 
b0cb2: 
B6696: 
goto A9581; 
a9186: 
de3ef: 
goto c12d1; 
bb8c5: 
Bb336: 
goto f13f3; 
A2e16: 
ceb4e: 
goto Aeccf; 
a9ee9: 
if (!empty($b1eff)) { 
goto F7c0e; 
} 
goto A3ff1; 
b3662: 
$eec57 = $E10b1['snap_pixel_token']; 
goto F510c; 
Ceec5: 
$ae996 = curl_init(); 
goto F4a5f; 
ccad9: 
return $F5c83; 
goto e0307; 
F4a5f: 
curl_setopt_array($ae996, [CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => $f4e1b, CURLOPT_HTTPHEADER => ["Content-Type: application/json"]]); 
goto ba537; 
Bf445: 
bf869: 
goto a9ee9; 
B8583: 
$f1ede = 'v3'; 
goto F1fc3; 
a7267: 
$fcc3a[] = ['event_name' => $E1c57, 'event_time' => time(), 'event_source_url' => $E10b1['url'], 'event_id' => $b1eff, 'action_source' => 'WEB', 'user_data' => $A6899]; 
goto C7c01; 
dc819: 
$f4e1b = json_encode($f4e1b); 
goto Ceec5; 
F510c: 
$e62a4 = $E10b1['snap_pixel_id']; 
goto B8583; 
Aeccf: 
$Cc580 = true; 
goto e3d2a; 
e3253: 
$F5c83['message'] = $E7aa3; 
goto fc41d; 
c57a0: 
$fcc3a[] = ['event_name' => $E1c57, 'event_time' => time(), 'event_source_url' => $E10b1['url'], 'event_id' => $b1eff, 'action_source' => 'WEB', 'user_data' => $A6899, 'custom_data' => $c1b93]; 
goto b0cb2; 
b4e4f: 
F7c0e: 
goto Dea11; 
F4348: 
$D15ff = json_decode($c613c, true); 
goto b296d; 
Dea11: 
if (!$c1b93) { 
goto B6696; 
} 
goto c57a0; 
d7b44: 
Dd756: 
goto F4c77; 
e62aa: 
} 
public function tiktokAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false) 
{ 
goto cbd5a; 
A83f6: 
curl_setopt_array($ae996, [CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => $f4e1b, CURLOPT_HTTPHEADER => ["Access-Token: " . $E10b1['tiktok_token'], "Content-Type: application/json"]]); 
goto d24a4; 
Ac30a: 
if (!$A6d1a) { 
goto dedc6; 
} 
goto D232d; 
Fc0ec: 
$ae996 = curl_init(); 
goto A83f6; 
F78e0: 
$E7aa3 = $c613c . "
" . $f4e1b; 
goto Fdcb7; 
B9083: 
$E7aa3 = $c613c; 
goto D222a; 
c2e5f: 
$C8981 = 'https://business-api.tiktok.com/open_api/' . $f1ede . '/event/track/'; 
goto Fc0ec; 
cd6ff: 
$fe97e = true; 
goto efaeb; 
F26d3: 
dedc6: 
goto ba9a6; 
Fdcb7: 
d3a64: 
goto e1409; 
f5e5c: 
$this->Log('Tiktok API Validation failed, make sure api is enabled and have valid access token'); 
goto eb252; 
D222a: 
if (!$Cc580) { 
goto d3a64; 
} 
goto F78e0; 
be7ad: 
$Cc580 = false; 
goto Cf1b5; 
bf425: 
a742b: 
goto d358d; 
E2eff: 
if (!empty($b1eff)) { 
goto a742b; 
} 
goto a363e; 
aab30: 
if ($E10b1) { 
goto b21c2; 
} 
goto a00ab; 
E9d07: 
$A6d1a = $E10b1['tiktok_api_testcode']; 
goto dc194; 
a00ab: 
$this->Log('Missing dmt Config in API Call'); 
goto b7d88; 
Eca0d: 
$fe97e = false; 
goto C9fd3; 
e6780: 
$f4e1b = ['event_source' => 'web', 'event_source_id' => $E10b1['tiktok_code'], 'data' => $e1ab3]; 
goto Ac30a; 
cbd5a: 
$A6d1a = false; 
goto Be8cf; 
Be8cf: 
$F5c83['error'] = true; 
goto bb23f; 
b74f8: 
$F5c83['success'] = $fe97e; 
goto C812f; 
d358d: 
if (!$c1b93) { 
goto C4a8a; 
} 
goto b4bf0; 
c094f: 
b21c2: 
goto b4d0c; 
F0e77: 
C428d: 
goto E2eff; 
b4d0c: 
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) { 
goto Cdb4a; 
} 
goto be7ad; 
b046a: 
$F5c83['error'] = false; 
goto b74f8; 
Fe33e: 
if ($b1eff) { 
goto C428d; 
} 
goto d2474; 
d24a4: 
$c613c = curl_exec($ae996); 
goto b4dcc; 
Eaceb: 
if (!(isset($E10b1['tiktok_api_testcode']) && !empty($E10b1['tiktok_api_testcode']))) { 
goto B0f03; 
} 
goto E9d07; 
Cf1b5: 
goto abf8e; 
goto Cba75; 
f8196: 
if (!$E10b1['bot']) { 
goto Acd4e; 
} 
goto Db6f6; 
c20e3: 
C4a8a: 
goto B2987; 
dc194: 
B0f03: 
goto d00f2; 
d2474: 
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false; 
goto F0e77; 
bb23f: 
$F5c83['success'] = false; 
goto B055a; 
B055a: 
$F5c83['message'] = ''; 
goto aab30; 
b7d88: 
return $F5c83; 
goto c094f; 
ba9a6: 
$f1ede = 'v1.3'; 
goto Bb964; 
Bb964: 
$f4e1b = json_encode($f4e1b); 
goto c2e5f; 
Cb4c9: 
bada3: 
goto f8196; 
Db6f6: 
return $F5c83; 
goto Ea567; 
b4dcc: 
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE); 
goto B4de1; 
B4de1: 
curl_close($ae996); 
goto aa7b0; 
C812f: 
$F5c83['message'] = $E7aa3; 
goto a85f8; 
b384b: 
if ($Dbab3) { 
goto bada3; 
} 
goto f5e5c; 
D232d: 
$f4e1b['test_event_code'] = $A6d1a; 
goto F26d3; 
E49d7: 
Fcb42: 
goto Eca0d; 
Df98a: 
return $F5c83; 
goto bf425; 
cb217: 
abf8e: 
goto B62d1; 
f8735: 
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3; 
goto b046a; 
a85f8: 
return $F5c83; 
goto F42ae; 
Ea567: 
Acd4e: 
goto A3b04; 
f5472: 
$e1ab3[] = ['event' => $E1c57, 'event_time' => time(), 'event_id' => $b1eff, 'user' => $A6899, 'page' => ['url' => $E10b1['url'], 'referrer' => $E10b1['referrer']]]; 
goto b1cec; 
aa7b0: 
$D15ff = json_decode($c613c, true); 
goto B9083; 
C9fd3: 
b490c: 
goto f8735; 
eb252: 
return $F5c83; 
goto Cb4c9; 
A3b04: 
if (!(isset($E10b1['tiktok_api_debug']) && $E10b1['tiktok_api_debug'])) { 
goto ec6a0; 
} 
goto Eaceb; 
b1cec: 
Cc10d: 
goto e6780; 
Cba75: 
Cdb4a: 
goto ffadd; 
d00f2: 
ec6a0: 
goto Fe33e; 
B62d1: 
$Dbab3 = $this->checkapiStatus('tiktok'); 
goto b384b; 
B2987: 
if ($c1b93) { 
goto Cc10d; 
} 
goto f5472; 
a363e: 
$this->Log('Tiktok API Post Data Invalid: missing event_id'); 
goto Df98a; 
b4bf0: 
$e1ab3[] = ['event' => $E1c57, 'event_time' => time(), 'event_id' => $b1eff, 'user' => $A6899, 'properties' => $c1b93, 'page' => ['url' => $E10b1['url'], 'referrer' => $E10b1['referrer']]]; 
goto c20e3; 
e1409: 
if ($b79a4 != '200') { 
goto Fcb42; 
} 
goto cd6ff; 
ffadd: 
$Cc580 = true; 
goto cb217; 
efaeb: 
goto b490c; 
goto E49d7; 
F42ae: 
} 
public function sendinbluePost($c1b93, $e9a89 = 'identify') 
{ 
goto C3625; 
f6b7c: 
Ef2cd: 
goto fad65; 
a6570: 
Da5f8: 
goto F02b9; 
E86a4: 
curl_close($ae996); 
goto D7d5a; 
A5981: 
goto D53e3; 
goto f6b7c; 
cc939: 
$this->Log('Sendinblue CURL response: ' . $c613c); 
goto E64e0; 
F0f58: 
if (!$Cc580) { 
goto A6383; 
} 
goto A2633; 
F02b9: 
$C8981 = "https://in-automate.sendinblue.com/api/v2/{$e9a89}"; 
goto d43d5; 
A2633: 
$this->Log('Sendinblue CURL error: ' . $ee64d); 
goto cc939; 
C3625: 
$E10b1 = $this->config(); 
goto A3e73; 
b44f0: 
D53e3: 
goto F564a; 
E9393: 
$Cc580 = false; 
goto A5981; 
A3e73: 
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) { 
goto Ef2cd; 
} 
goto E9393; 
cdf53: 
if (!$Cc580) { 
goto bf1c4; 
} 
goto d7c20; 
E7e9a: 
return false; 
goto a6570; 
A8e97: 
curl_setopt_array($ae996, array(CURLOPT_HTTPHEADER => $da57d, CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode($c1b93))); 
goto b4c23; 
d43d5: 
$da57d = ['Content-Type: application/json', 'ma-key: ' . $E10b1['sendinblue_code']]; 
goto a2534; 
d7c20: 
$this->Log('Sendinblue error Code: Empty body api call cancelled'); 
goto Bcd8b; 
fad65: 
$Cc580 = true; 
goto b44f0; 
E64e0: 
A6383: 
goto f24c4; 
b4c23: 
$c613c = curl_exec($ae996); 
goto B73ef; 
Bcd8b: 
bf1c4: 
goto E7e9a; 
B73ef: 
$ee64d = curl_error($ae996); 
goto E86a4; 
F564a: 
if (isset($c1b93)) { 
goto Da5f8; 
} 
goto cdf53; 
D7d5a: 
if (!$ee64d) { 
goto fea43; 
} 
goto F0f58; 
f24c4: 
fea43: 
goto Ff9ea; 
a2534: 
$ae996 = curl_init(); 
goto A8e97; 
Ff9ea: 
} 
public function Log($dcc88) 
{ 
goto e3a8c; 
e37c7: 
if (!(!isset($e8286) || empty($e8286) || $df238 >= $e8286)) { 
goto Cc692; 
} 
goto dfa6e; 
Ecec4: 
$this->write($dcc88); 
goto B1e68; 
b332d: 
$this->getSettings($cc4ac, $Eed71, $B3a1a, false); 
goto d00a1; 
cf53b: 
$cd5c8 = DIR_LOGS . "dmt.log"; 
goto e37c7; 
B1e68: 
F7ee1: 
goto e9036; 
F355c: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto F7ee1; 
} 
goto Ecec4; 
e3a8c: 
$Eed71 = 'tmcrom_date'; 
goto Fe198; 
a1f27: 
Cc692: 
goto F3657; 
d9511: 
$e8286 = $this->config->get($Eed71); 
goto cf53b; 
f6930: 
Fc49d: 
goto Bb367; 
dfa6e: 
if (!file_exists($cd5c8)) { 
goto d9572; 
} 
goto Ab3db; 
Fe198: 
$cc4ac = 'tmcron'; 
goto f13dc; 
Bb367: 
d9572: 
goto a1f27; 
F3657: 
$E10b1 = $this->settings; 
goto F355c; 
d00a1: 
if (!($efcf1 > 2400000)) { 
goto Fc49d; 
} 
goto f065e; 
f13dc: 
$df238 = date("d/m/Y"); 
goto c316d; 
c316d: 
$B3a1a = date('d/m/Y', strtotime('+1 days')); 
goto d9511; 
Ab3db: 
$efcf1 = filesize($cd5c8); 
goto b332d; 
f065e: 
unlink($cd5c8); 
goto f6930; 
e9036: 
} 
public function tmerror($dcc88) 
{ 
goto Bf321; 
Ed908: 
$B3a1a = date('d/m/Y', strtotime('+1 days')); 
goto F1e60; 
Bae3e: 
e9ee7: 
goto a72d5; 
cc459: 
D2479: 
goto Af0f8; 
Af0f8: 
$E10b1 = $this->settings; 
goto bafbb; 
F1e60: 
$e8286 = $this->config->get($Eed71); 
goto ffee4; 
e7c14: 
if (!($efcf1 > 2400000)) { 
goto e9ee7; 
} 
goto Edf7f; 
Dbadc: 
if (!file_exists($cd5c8)) { 
goto dc477; 
} 
goto E7f8c; 
ff719: 
$this->write($dcc88); 
goto F629d; 
ffee4: 
$cd5c8 = DIR_LOGS . "dmt.log"; 
goto e2cd4; 
Ff6ff: 
$df238 = date("d/m/Y"); 
goto Ed908; 
bafbb: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto a4103; 
} 
goto ff719; 
B368d: 
$cc4ac = 'tmcron'; 
goto Ff6ff; 
Edf7f: 
unlink($cd5c8); 
goto Bae3e; 
F629d: 
a4103: 
goto fcfa4; 
Bf321: 
$Eed71 = 'tmcrom_date'; 
goto B368d; 
e2cd4: 
if (!(!isset($e8286) || empty($e8286) || $df238 >= $e8286)) { 
goto D2479; 
} 
goto Dbadc; 
F69f5: 
$this->getSettings($cc4ac, $Eed71, $B3a1a, false); 
goto e7c14; 
E7f8c: 
$efcf1 = filesize($cd5c8); 
goto F69f5; 
a72d5: 
dc477: 
goto cc459; 
fcfa4: 
} 
public function write($E7aa3) 
{ 
$Cde14 = DIR_LOGS . 'dmt.log'; 
file_put_contents($Cde14, date('Y-m-d H:i:s') . ' - ' . print_r($E7aa3, true) . "
" . 'URL: ' . (isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '') . "
" . 'REFFER: ' . (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '') . "
" . '================================= \*\*\*\*\*\*\*\*|*/*/*/*/*/*/*/*/ =================================' . "
", FILE_APPEND); 
} 
public function tmprint($c1b93 = array(), $d1129 = true) 
{ 
goto e8943; 
b21cf: 
if (!$d1129) { 
goto A71f7; 
} 
goto E778c; 
C57aa: 
print_r($c1b93); 
goto d5024; 
e62b7: 
$d1129 = true; 
goto c0038; 
c0038: 
eb558: 
goto b21cf; 
e8943: 
echo '<pre>'; 
goto C57aa; 
E778c: 
die; 
goto D36d7; 
d5024: 
echo '</pre>'; 
goto E5532; 
E5532: 
if (!isset($this->request->get['killme'])) { 
goto eb558; 
} 
goto e62b7; 
D36d7: 
A71f7: 
goto A5636; 
A5636: 
} 
public function Print($c1b93 = array(), $d1129 = true) 
{ 
goto Fa5e4; 
F0b06: 
if (!$d1129) { 
goto fe34e; 
} 
goto f6c71; 
ebbe9: 
fe34e: 
goto a34e3; 
Da828: 
$d1129 = true; 
goto B4895; 
b889b: 
print_r($c1b93); 
goto e8f6b; 
B4895: 
e5440: 
goto F0b06; 
E43a6: 
if (!isset($this->request->get['killme'])) { 
goto e5440; 
} 
goto Da828; 
Fa5e4: 
echo '<pre>'; 
goto b889b; 
f6c71: 
die; 
goto ebbe9; 
e8f6b: 
echo '</pre>'; 
goto E43a6; 
a34e3: 
} 
private function checkapiStatus($Df775) 
{ 
goto E6d64; 
B7093: 
return false; 
goto Fd657; 
Fd657: 
C979a: 
goto f8470; 
b1a76: 
A065d: 
goto Fe607; 
E0d6e: 
return true; 
goto a4bf8; 
f8470: 
switch ($Df775) { 
case "ga4": 
goto b6804; 
e9b1b: 
Aa8de: 
goto b46f5; 
F46bf: 
$this->Log('DMT Debug Log: API Check failed for GA4, error GA4 API secret missing'); 
goto A1327; 
Cd4fc: 
return false; 
goto e9b1b; 
A1327: 
A39e3: 
goto Cd4fc; 
b46f5: 
goto C234f; 
goto c5d6c; 
d5a75: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto A39e3; 
} 
goto F46bf; 
b6804: 
if (!(!isset($E10b1['ga4_mid']) && empty($E10b1['ga4_api']))) { 
goto Aa8de; 
} 
goto d5a75; 
c5d6c: 
case "fb": 
goto Aab6a; 
d33c8: 
f9633: 
goto ffe51; 
a3aa1: 
return false; 
goto d33c8; 
A7431: 
B3069: 
goto D3c78; 
Aab6a: 
if ($E10b1['fb_api']) { 
goto f9633; 
} 
goto a3aa1; 
D3c78: 
goto C234f; 
goto Dea9e; 
ffe51: 
if (!empty($E10b1['fb_token'])) { 
goto B3069; 
} 
goto dd001; 
dd001: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto F7e29; 
} 
goto e8902; 
fb269: 
F7e29: 
goto A871e; 
A871e: 
return false; 
goto A7431; 
e8902: 
$this->Log('DMT Debug Log: API Check failed for Facebook, error API secret missing'); 
goto fb269; 
Dea9e: 
case "snapchat": 
goto d0ec8; 
F36cf: 
return false; 
goto d3077; 
b5e7b: 
$this->Log('DMT Debug Log: API Check failed for Snap Chat, error API token missing'); 
goto A4f0d; 
A4f0d: 
cca95: 
goto B103d; 
C9af5: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto cca95; 
} 
goto b5e7b; 
d7c46: 
f5e83: 
goto adc3a; 
f2807: 
if (!empty($E10b1['snap_pixel_token'])) { 
goto f5e83; 
} 
goto C9af5; 
d0ec8: 
if ($E10b1['snap_pixel_api']) { 
goto d81f6; 
} 
goto F36cf; 
adc3a: 
goto C234f; 
goto efd15; 
B103d: 
return false; 
goto d7c46; 
d3077: 
d81f6: 
goto f2807; 
efd15: 
case "tiktok": 
goto ce306; 
aa90b: 
return false; 
goto D6c1a; 
c67eb: 
c1c02: 
goto B921e; 
C5b72: 
if (!(isset($E10b1['debug']) && $E10b1['debug'])) { 
goto A3f82; 
} 
goto Ce593; 
Ce593: 
$this->Log('DMT Debug Log: API Check failed for TikTok, error API token missing'); 
goto a69f9; 
ce306: 
if ($E10b1['tiktok_api']) { 
goto c1c02; 
} 
goto ecef0; 
D6c1a: 
D9916: 
goto b33d9; 
ecef0: 
return false; 
goto c67eb; 
B921e: 
if (!empty($E10b1['tiktok_token'])) { 
goto D9916; 
} 
goto C5b72; 
a69f9: 
A3f82: 
goto aa90b; 
b33d9: 
goto C234f; 
goto Ee955; 
Ee955: 
} 
goto b1a76; 
E6d64: 
$E10b1 = $this->config(); 
goto D658b; 
D658b: 
if (isset($Df775)) { 
goto C979a; 
} 
goto B7093; 
Fe607: 
C234f: 
goto E0d6e; 
a4bf8: 
} 
public function check_array($E296c) 
{ 
return is_array($E296c) || $E296c instanceof \Countable || $E296c instanceof \SimpleXMLElement || $E296c instanceof \ResourceBundle; 
} 
public function escapeJsonString($B3a1a) 
{ 
goto B2787; 
e911a: 
return $F5c83; 
goto c51b5; 
B2787: 
$F64ac = ["\", "/", "\"", "
", "
", "	", "", ""]; 
goto Aa232; 
dbd37: 
$F5c83 = str_replace($F64ac, $ba810, $B3a1a); 
goto e911a; 
Aa232: 
$ba810 = ["\\", "\/", "\\"", "\n", "\r", "\t", "\f", "\b"]; 
goto dbd37; 
c51b5: 
} 
public function getAJAXtoken() 
{ 
goto B1c34; 
ccd00: 
return $bc7c8; 
goto fcaea; 
b8e5d: 
$bc7c8 = $this->getHash($bc7c8); 
goto ccd00; 
B1c34: 
$bc7c8 = $this->getNewURL(); 
goto b8e5d; 
fcaea: 
} 
public function getNewURL() 
{ 
goto aaffc; 
af72b: 
A90f8: 
goto F2ae3; 
b21b7: 
if (!$fbc42) { 
goto D7b62; 
} 
goto C914d; 
Ad838: 
$D0b9c = explode(".", $a1316); 
goto E6fca; 
F2ae3: 
goto Aa0c7; 
goto Ea7b6; 
E6fca: 
$fbc42 = $this->check_array($D0b9c); 
goto b21b7; 
Ff750: 
if ($d6674 == 4) { 
goto b1183; 
} 
goto Bf17d; 
F3602: 
if (strtolower($D0b9c[0]) != 'www') { 
goto c8967; 
} 
goto Db0db; 
ea2ef: 
$C8981 = $D0b9c[1] . '.' . $D0b9c[2] . '.' . $D0b9c[3]; 
goto A57db; 
C4251: 
$C8981 = $D0b9c[0] . '.' . $D0b9c[1]; 
goto A97b7; 
Bf9f4: 
D7b62: 
goto fa8f7; 
fa8f7: 
return $C8981; 
goto B7a5f; 
Ce519: 
Cd15a: 
goto F3602; 
Da62c: 
goto A90f8; 
goto b295a; 
Db0db: 
$C8981 = $D0b9c[1] . '.' . $D0b9c[2]; 
goto Da62c; 
b457b: 
$C8981 = $D0b9c[0] . '.' . $D0b9c[1] . '.' . $D0b9c[2]; 
goto af72b; 
Ea7b6: 
b1183: 
goto ea2ef; 
dd5f0: 
Ade08: 
goto C4251; 
A57db: 
Aa0c7: 
goto Bf9f4; 
aaffc: 
$C8981 = false; 
goto abc6b; 
Bf17d: 
goto Aa0c7; 
goto dd5f0; 
abc6b: 
$a1316 = $this->request->server['SERVER_NAME']; 
goto Ad838; 
C914d: 
$d6674 = count($D0b9c); 
goto e4ce7; 
E4be2: 
if ($d6674 == 3) { 
goto Cd15a; 
} 
goto Ff750; 
A97b7: 
goto Aa0c7; 
goto Ce519; 
e4ce7: 
if ($d6674 == 2) { 
goto Ade08; 
} 
goto E4be2; 
b295a: 
c8967: 
goto b457b; 
B7a5f: 
} 
public function cleanStr($c1b93) 
{ 
goto dc16f; 
D3eb8: 
return $c1b93; 
goto Fc8ea; 
Dca81: 
$c1b93 = htmlspecialchars($c1b93, ENT_QUOTES, 'UTF-8'); 
goto Ddac3; 
Ddac3: 
$c1b93 = str_replace("&", "", $c1b93); 
goto e3d24; 
D7f1c: 
$c1b93 = str_replace("quot;", "", $c1b93); 
goto D6c2b; 
e258a: 
$c1b93 = mb_substr(trim(strip_tags(html_entity_decode($c1b93, ENT_QUOTES, 'UTF-8'))), 0, 50); 
goto Dca81; 
dc16f: 
if (!empty($c1b93)) { 
goto a0710; 
} 
goto dcecb; 
De045: 
$c1b93 = str_replace("'", "", $c1b93); 
goto D45fa; 
dcecb: 
return $c1b93; 
goto a8413; 
c7ee7: 
$c1b93 = str_replace("&", "", $c1b93); 
goto e258a; 
D45fa: 
$c1b93 = str_replace("'", "", $c1b93); 
goto D7f1c; 
C98e6: 
$c1b93 = str_replace("&", "&", $c1b93); 
goto c7ee7; 
D6c2b: 
$c1b93 = str_replace("&", "&", $c1b93); 
goto C98e6; 
a8413: 
a0710: 
goto E525e; 
e3d24: 
$c1b93 = str_replace(">", ">", $c1b93); 
goto Ff7d1; 
Ff7d1: 
$c1b93 = str_replace(" ", " ", $c1b93); 
goto D3eb8; 
E525e: 
$c1b93 = str_replace('"', "", $c1b93); 
goto De045; 
Fc8ea: 
} 
private function sanitize_string($fb83e) 
{ 
goto d5dc0; 
C5b1c: 
$fb83e = preg_replace('/[\n\t\r]/', ' ', $fb83e); 
goto b3c67; 
f9981: 
C8dc5: 
goto db4dd; 
f1644: 
$fb83e = trim($fb83e); 
goto c42af; 
c42af: 
return $fb83e; 
goto B4731; 
E0d79: 
if (!($fb83e !== mb_convert_encoding(mb_convert_encoding($fb83e, 'UTF-32', 'UTF-8'), 'UTF-8', 'UTF-32'))) { 
goto C8dc5; 
} 
goto a16d8; 
a8a5a: 
$fb83e = html_entity_decode($fb83e, ENT_NOQUOTES, 'UTF-8'); 
goto Cb0b0; 
b3c67: 
$fb83e = preg_replace('/( ){2,}/', '$1', $fb83e); 
goto f1644; 
d5dc0: 
$f7b12 = array('&', '&'); 
goto D1ed8; 
db4dd: 
$fb83e = htmlentities($fb83e, ENT_NOQUOTES, 'UTF-8'); 
goto fa6d6; 
Cb0b0: 
$fb83e = preg_replace(array('`[^a-z0-9]`i', '`[-]+`'), ' ', $fb83e); 
goto C5b1c; 
a16d8: 
$fb83e = mb_convert_encoding($fb83e, 'UTF-8', mb_detect_encoding($fb83e)); 
goto f9981; 
fa6d6: 
$fb83e = preg_replace('`&([a-z]{1,2})(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i', '\1', $fb83e); 
goto a8a5a; 
D1ed8: 
$fb83e = str_replace($f7b12, 'E', $fb83e); 
goto E0d79; 
B4731: 
} 
private function getEmailHash($c1b93) 
{ 
goto E54f2; 
E54f2: 
if (!(!isset($c1b93) || empty($c1b93))) { 
goto cfa0c; 
} 
goto Eb08a; 
d2a37: 
if (!$this->isHashed($c1b93)) { 
goto d5228; 
} 
goto e65fa; 
aa17b: 
d5228: 
goto f6d9b; 
Eb08a: 
return ''; 
goto E7033; 
f6d9b: 
return hash('sha256', $c1b93, false); 
goto a695f; 
E7033: 
cfa0c: 
goto A8d03; 
e65fa: 
return $c1b93; 
goto aa17b; 
A8d03: 
$c1b93 = trim($c1b93); 
goto bea19; 
bea19: 
$c1b93 = strtolower($c1b93); 
goto d2a37; 
a695f: 
} 
private function getPhoneHash($c1b93, $Dd5bb = false) 
{ 
goto Ce440; 
ddbf9: 
return ''; 
goto b602a; 
f466b: 
f0ae3: 
goto f0d27; 
ad3a7: 
if (!$this->isHashed($c1b93)) { 
goto f0ae3; 
} 
goto Cb0c9; 
Feca6: 
$c1b93 = trim($c1b93); 
goto Ff448; 
Ff448: 
$c1b93 = strtolower($c1b93); 
goto ad3a7; 
b602a: 
A9f80: 
goto Feca6; 
Cb0c9: 
return $c1b93; 
goto f466b; 
f0d27: 
return hash('sha256', $c1b93, false); 
goto C87d4; 
Ce440: 
if (!(!isset($c1b93) || empty($c1b93))) { 
goto A9f80; 
} 
goto ddbf9; 
C87d4: 
} 
public function getHash($c1b93) 
{ 
goto D7bd9; 
D7fc5: 
return $c1b93; 
goto F8b72; 
f0824: 
d3656: 
goto F27c7; 
Ab83c: 
$c1b93 = strtolower($c1b93); 
goto a4b91; 
Aabed: 
return ''; 
goto f0824; 
D7bd9: 
if (!(!isset($c1b93) || empty($c1b93))) { 
goto d3656; 
} 
goto Aabed; 
a4b91: 
if (!$this->isHashed($c1b93)) { 
goto E3410; 
} 
goto D7fc5; 
F27c7: 
$c1b93 = trim($c1b93); 
goto Ab83c; 
F8b72: 
E3410: 
goto Cf9e4; 
Cf9e4: 
return hash('sha256', $c1b93, false); 
goto Cb62f; 
Cb62f: 
} 
public function getEncrypt($c1b93, $Eed71 = false) 
{ 
goto F2f37; 
Abccc: 
try { 
goto e34d1; 
Fbd7c: 
$C4afe = openssl_cipher_iv_length($d773f); 
goto D4c3c; 
C8526: 
$Bfdc2 = '1234567891011121'; 
goto bd8eb; 
e34d1: 
$d773f = "AES-128-CTR"; 
goto Fbd7c; 
c44cd: 
return $Fe96f; 
goto Ca83b; 
D4c3c: 
$be8b6 = 0; 
goto C8526; 
bd8eb: 
$Fe96f = openssl_encrypt($c1b93, $d773f, $c22ee, $be8b6, $Bfdc2); 
goto c44cd; 
Ca83b: 
} catch (Exception $Dd30f) { 
$this->Log('OpenSSL encrypt failer'); 
} 
goto daa78; 
cc0ef: 
cdbe2: 
goto Abccc; 
b2c6f: 
Ddc2a: 
goto Be256; 
dcebb: 
if ($Eed71) { 
goto Ddc2a; 
} 
goto d2747; 
F2f37: 
if (isset($c1b93)) { 
goto d4e11; 
} 
goto a26fa; 
a26fa: 
return false; 
goto E2043; 
E2043: 
d4e11: 
goto dcebb; 
daa78: 
return false; 
goto F6d21; 
Aee84: 
goto cdbe2; 
goto b2c6f; 
d2747: 
$c22ee = "GTMEXTENSIONBYAITS"; 
goto Aee84; 
Be256: 
$c22ee = $Eed71; 
goto cc0ef; 
F6d21: 
} 
public function getDecrypt($c1b93, $Eed71 = false) 
{ 
goto eb123; 
eb123: 
if (isset($c1b93)) { 
goto D4e80; 
} 
goto bfdee; 
C5b30: 
goto fb08c; 
goto F3f49; 
B8a8d: 
return false; 
goto e49d4; 
Fafa2: 
try { 
goto facf2; 
facf2: 
$d773f = "AES-128-CTR"; 
goto F7540; 
Cda44: 
$Fe96f = openssl_decrypt($c1b93, $d773f, $c22ee, $be8b6, $Bfdc2); 
goto b4340; 
b4340: 
return $Fe96f; 
goto Cdd40; 
c0d36: 
$Bfdc2 = '1234567891011121'; 
goto Cda44; 
Dec9b: 
$be8b6 = 0; 
goto c0d36; 
F7540: 
$C4afe = openssl_cipher_iv_length($d773f); 
goto Dec9b; 
Cdd40: 
} catch (Exception $Dd30f) { 
$this->Log('OpenSSL decrypt failer'); 
} 
goto B8a8d; 
a809c: 
if ($Eed71) { 
goto c77d7; 
} 
goto C7375; 
F4169: 
D4e80: 
goto a809c; 
ffdc8: 
$c22ee = $Eed71; 
goto E17a0; 
F3f49: 
c77d7: 
goto ffdc8; 
C7375: 
$c22ee = "GTMEXTENSIONBYAITS"; 
goto C5b30; 
E17a0: 
fb08c: 
goto Fafa2; 
bfdee: 
return false; 
goto F4169; 
e49d4: 
} 
private function isHashed($c1b93) 
{ 
return preg_match('/^[A-Fa-f0-9]{64}$/', $c1b93) || preg_match('/^[a-f0-9]{32}$/', $c1b93); 
} 
public function getIpAddress() 
{ 
goto C6c77; 
d9b69: 
C72c4: 
goto Ab6e7; 
Ab6e7: 
return $C8894; 
goto Dc282; 
Ff758: 
if ($this->strFind($Dd256, ',')) { 
goto Fd566; 
} 
goto dd658; 
C884d: 
ca6bb: 
goto b605d; 
e27ec: 
goto C72c4; 
goto a6856; 
C6c77: 
$C8894 = '0.0.0.0'; 
goto a8d0c; 
b605d: 
$C8894 = $_SERVER['HTTP_CF_CONNECTING_IP']; 
goto e27ec; 
Da215: 
goto C72c4; 
goto E941e; 
b8cff: 
goto C72c4; 
goto a5bc1; 
ca9cc: 
$C8894 = array_pop($Dd256); 
goto fff8e; 
be48d: 
$C8894 = $_SERVER['REMOTE_ADDR']; 
goto d9b69; 
cd4c0: 
goto Cb163; 
goto d3b4c; 
c5138: 
if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { 
goto F1a2f; 
} 
goto febd2; 
A89c1: 
$Dd256 = explode(",", $Dd256); 
goto ca9cc; 
d3b4c: 
Fd566: 
goto A89c1; 
d51dd: 
goto C72c4; 
goto Bed63; 
a5bc1: 
E06c4: 
goto B06ce; 
D35c4: 
if (isset($_SERVER['REMOTE_ADDR']) && !empty($_SERVER['REMOTE_ADDR'])) { 
goto D8c64; 
} 
goto d51dd; 
dd658: 
$C8894 = $Dd256; 
goto cd4c0; 
febd2: 
if (isset($_SERVER['HTTP_X_FORWARDED']) && !empty($_SERVER['HTTP_X_FORWARDED'])) { 
goto eb768; 
} 
goto d8f53; 
a8d0c: 
if (isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP'])) { 
goto E3f33; 
} 
goto B0503; 
B0503: 
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']) && !empty($_SERVER['HTTP_CF_CONNECTING_IP'])) { 
goto ca6bb; 
} 
goto c5138; 
e6417: 
goto C72c4; 
goto c9abf; 
Aea34: 
$C8894 = $_SERVER['HTTP_FORWARDED_FOR']; 
goto b8cff; 
ce4eb: 
$C8894 = $_SERVER['HTTP_CLIENT_IP']; 
goto f9ed2; 
c538e: 
goto C72c4; 
goto d40fa; 
f9ed2: 
goto C72c4; 
goto C884d; 
D73ee: 
if (isset($_SERVER['HTTP_FORWARDED']) && !empty($_SERVER['HTTP_FORWARDED'])) { 
goto E06c4; 
} 
goto D35c4; 
Bed63: 
E3f33: 
goto ce4eb; 
B06ce: 
$C8894 = $_SERVER['HTTP_FORWARDED']; 
goto Da215; 
d40fa: 
af005: 
goto Aea34; 
fff8e: 
Cb163: 
goto e6417; 
a6856: 
F1a2f: 
goto c6afd; 
C5ffd: 
$C8894 = $_SERVER['HTTP_X_FORWARDED']; 
goto c538e; 
d8f53: 
if (isset($_SERVER['HTTP_FORWARDED_FOR']) && !empty($_SERVER['HTTP_FORWARDED_FOR'])) { 
goto af005; 
} 
goto D73ee; 
c9abf: 
eb768: 
goto C5ffd; 
c6afd: 
$Dd256 = $_SERVER['HTTP_X_FORWARDED_FOR']; 
goto Ff758; 
E941e: 
D8c64: 
goto be48d; 
Dc282: 
} 
public function getHttpUserAgent() 
{ 
goto a943d; 
D8f77: 
cfab4: 
goto E8aae; 
Fa956: 
if (isset($this->request->server['HTTP_USER_AGENT'])) { 
goto Bb75a; 
} 
goto d76d0; 
B30f6: 
if (isset($_SERVER['HTTP_USER_AGENT']) && !empty($_SERVER['HTTP_USER_AGENT'])) { 
goto A7e39; 
} 
goto Fa956; 
Ce392: 
A7e39: 
goto ed535; 
e6bdd: 
$Dc13f = $this->request->server['HTTP_USER_AGENT']; 
goto D8f77; 
ed535: 
$Dc13f = $_SERVER['HTTP_USER_AGENT']; 
goto fd8f7; 
a2093: 
Bb75a: 
goto e6bdd; 
E8aae: 
return $Dc13f; 
goto F89df; 
d76d0: 
goto cfab4; 
goto Ce392; 
fd8f7: 
goto cfab4; 
goto a2093; 
a943d: 
$Dc13f = null; 
goto B30f6; 
F89df: 
} 
public function getRequestUri() 
{ 
goto C75f9; 
a6166: 
if (!(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')) { 
goto F1a6c; 
} 
goto aeb80; 
aeb80: 
$C8981 = "https://"; 
goto e93d0; 
Ca878: 
$C8981 .= $_SERVER['HTTP_HOST']; 
goto d0f47; 
Aeabb: 
F97a1: 
goto d47d9; 
f7ffe: 
$C8981 .= $_SERVER['REQUEST_URI']; 
goto Aeabb; 
d47d9: 
return $C8981; 
goto d5f1e; 
C75f9: 
$C8981 = "http://"; 
goto a6166; 
fb0ec: 
if (!(isset($_SERVER['REQUEST_URI']) && !empty($_SERVER['REQUEST_URI']))) { 
goto F97a1; 
} 
goto f7ffe; 
A65a7: 
if (!(isset($_SERVER['HTTP_HOST']) && !empty($_SERVER['HTTP_HOST']))) { 
goto E2e47; 
} 
goto Ca878; 
d0f47: 
E2e47: 
goto fb0ec; 
e93d0: 
F1a6c: 
goto A65a7; 
d5f1e: 
} 
public function getGclid() 
{ 
goto B89b8; 
Adb7e: 
f42e8: 
goto Ed90d; 
D2836: 
cfe8b: 
goto Fe1ee; 
E90f3: 
$a9540 = $bc978; 
goto Ea89c; 
Ea89c: 
D698d: 
goto Adb7e; 
Ea088: 
$this->saveGTMCookie('gtm_gclid', $a9540); 
goto D2836; 
C18f9: 
$a9540 = ''; 
goto Ce7e2; 
Ebcd4: 
$bc978 = $this->readGTMCookie('gtm_gclid'); 
goto c031a; 
Fe1ee: 
if ($a9540) { 
goto f42e8; 
} 
goto Ebcd4; 
c031a: 
if (!$bc978) { 
goto D698d; 
} 
goto E90f3; 
D0b30: 
return $a9540; 
goto d3460; 
Ed90d: 
if ($a9540) { 
goto b4bd2; 
} 
goto C18f9; 
Ce7e2: 
b4bd2: 
goto D0b30; 
E5901: 
if (!isset($_GET['gclid'])) { 
goto cfe8b; 
} 
goto A9a35; 
B89b8: 
$a9540 = false; 
goto E5901; 
A9a35: 
$a9540 = $_GET['gclid']; 
goto Ea088; 
d3460: 
} 
public function getFbp() 
{ 
goto Ebf91; 
c1c44: 
d89a7: 
goto ea982; 
A8418: 
if (!(isset($_COOKIE['_fbp']) && !empty($_COOKIE['_fbp']))) { 
goto d89a7; 
} 
goto f543b; 
ea982: 
return $C1f11; 
goto f0eba; 
f543b: 
$C1f11 = $_COOKIE['_fbp']; 
goto c1c44; 
Ebf91: 
$C1f11 = null; 
goto A8418; 
f0eba: 
} 
public function getFbc() 
{ 
goto c3d34; 
D6912: 
$this->saveGTMCookie('gtm_fbc', $A3bf6); 
goto E3e21; 
b9199: 
$A3bf6 = ''; 
goto df4bc; 
E3e21: 
B4e6c: 
goto E7e65; 
B1429: 
C6dfe: 
goto e8a73; 
E7e65: 
if (!(isset($_COOKIE['_fbc']) && !empty($_COOKIE['_fbc']))) { 
goto C6dfe; 
} 
goto D7aab; 
F6f7b: 
if (!isset($_GET['fbclid'])) { 
goto B4e6c; 
} 
goto def43; 
def43: 
$A3bf6 = 'fb.1.' . time() . '.' . $_GET['fbclid']; 
goto D6912; 
D7aab: 
$A3bf6 = $_COOKIE['_fbc']; 
goto B1429; 
c3d34: 
$A3bf6 = false; 
goto F6f7b; 
b96f9: 
return $A3bf6; 
goto A45c1; 
e8a73: 
if ($A3bf6) { 
goto b08d8; 
} 
goto b9199; 
df4bc: 
b08d8: 
goto b96f9; 
A45c1: 
} 
public function getTtclid() 
{ 
goto Aaed1; 
B30da: 
if ($a700c) { 
goto A7d3d; 
} 
goto Ed9e1; 
c347a: 
Fa5f1: 
goto f4d49; 
Bd715: 
$this->saveGTMCookie('gtm_ttclid', $a700c); 
goto Acc0a; 
E4f35: 
if ($a700c) { 
goto C993d; 
} 
goto cb583; 
cb583: 
$a700c = ''; 
goto abaa1; 
Aaed1: 
$a700c = false; 
goto D5643; 
C3b8f: 
$a700c = $_COOKIE['ttclid']; 
goto Ff7d6; 
f2782: 
$a700c = $D317c; 
goto c347a; 
Ed9e1: 
$D317c = $this->readGTMCookie('gtm_ttclid'); 
goto B19c0; 
D5643: 
if (!isset($_GET['ttclid'])) { 
goto ff6a9; 
} 
goto F3e78; 
f4d49: 
A7d3d: 
goto E4f35; 
abaa1: 
C993d: 
goto Ba095; 
B19c0: 
if (!$D317c) { 
goto Fa5f1; 
} 
goto f2782; 
Acc0a: 
ff6a9: 
goto d7856; 
F3e78: 
$a700c = $_GET['ttclid']; 
goto Bd715; 
Ba095: 
return $a700c; 
goto b512a; 
Ff7d6: 
ed18c: 
goto B30da; 
d7856: 
if (!(isset($_COOKIE['ttclid']) && !empty($_COOKIE['ttclid']))) { 
goto ed18c; 
} 
goto C3b8f; 
b512a: 
} 
public function getTtp() 
{ 
goto e0126; 
d2997: 
if (!(isset($_COOKIE['_ttp']) && !empty($_COOKIE['_ttp']))) { 
goto b3718; 
} 
goto Bc86e; 
fbade: 
return $Ca165; 
goto Ddd70; 
Bc86e: 
$Ca165 = $_COOKIE['_ttp']; 
goto a62f7; 
a62f7: 
b3718: 
goto fbade; 
e0126: 
$Ca165 = ''; 
goto d2997; 
Ddd70: 
} 
public function getScCid() 
{ 
goto e29a8; 
cfcae: 
$D0821 = ''; 
goto c39de; 
B0b2e: 
return $D0821; 
goto Fbea1; 
f2b26: 
if (!isset($_GET['ScCid'])) { 
goto Db342; 
} 
goto a7d8a; 
bcaac: 
if (!$b6927) { 
goto C07c9; 
} 
goto Da312; 
A7a78: 
$b6927 = $this->readGTMCookie('gtm_sccid'); 
goto bcaac; 
b5d60: 
$this->saveGTMCookie('gtm_sccid', $D0821); 
goto b6e9b; 
e29a8: 
$D0821 = false; 
goto f2b26; 
Da312: 
$D0821 = $b6927; 
goto f465f; 
b6e9b: 
Db342: 
goto D3bee; 
c39de: 
Df24d: 
goto B0b2e; 
f465f: 
C07c9: 
goto D70c4; 
e4abf: 
if ($D0821) { 
goto Df24d; 
} 
goto cfcae; 
D70c4: 
f5ea6: 
goto e4abf; 
D3bee: 
if ($D0821) { 
goto f5ea6; 
} 
goto A7a78; 
a7d8a: 
$D0821 = $_GET['ScCid']; 
goto b5d60; 
Fbea1: 
} 
public function getSc_cookie1() 
{ 
goto A572e; 
e3480: 
if (!(isset($_COOKIE['_scid']) && !empty($_COOKIE['_scid']))) { 
goto ad2d2; 
} 
goto B17a2; 
B17a2: 
$D070a = $_COOKIE['_scid']; 
goto e70e9; 
C39ec: 
return $D070a; 
goto e07b8; 
A572e: 
$D070a = ''; 
goto e3480; 
e70e9: 
ad2d2: 
goto C39ec; 
e07b8: 
} 
private function getCuid() 
{ 
goto E5c42; 
a7b60: 
Ceb8b: 
goto C5c17; 
D6e82: 
$b701a = $_COOKIE['sib_cuid']; 
goto a7b60; 
E5c42: 
$b701a = null; 
goto A457b; 
C5c17: 
return $b701a; 
goto f91ed; 
A457b: 
if (!(isset($_COOKIE['sib_cuid']) && !empty($_COOKIE['sib_cuid']))) { 
goto Ceb8b; 
} 
goto D6e82; 
f91ed: 
} 
private function GUID() 
{ 
goto D9523; 
cffc1: 
return trim(De549(), '{}'); 
goto d7f78; 
D9523: 
if (!(function_exists('DE549') === true)) { 
goto D9bad; 
} 
goto cffc1; 
d9a75: 
return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535)); 
goto Fd341; 
d7f78: 
D9bad: 
goto d9a75; 
Fd341: 
} 
private function checkbot($C9302) 
{ 
goto e1b2a; 
c298d: 
Fe6a0: 
goto Ebce4; 
b5ff4: 
return true; 
goto c298d; 
e1b2a: 
if (!(!isset($C9302) || empty($C9302))) { 
goto Fe6a0; 
} 
goto b5ff4; 
e6c26: 
goto F8cfa; 
goto C8113; 
ec811: 
return false; 
goto e6c26; 
Ebce4: 
if (stripos($C9302, "bot") !== false) { 
goto Bb173; 
} 
goto ec811; 
b8330: 
return true; 
goto Fde5d; 
Fde5d: 
F8cfa: 
goto D63f2; 
C8113: 
Bb173: 
goto b8330; 
D63f2: 
} 
private function getCurrentURL() 
{ 
goto D81b8; 
F10ce: 
$e6293 = $_SERVER['HTTP_HOST']; 
goto aa5be; 
d2dcf: 
return $Bbc86 . '://' . $e6293 . $Aca9e . $E1ef9; 
goto Ab130; 
Cc4a0: 
$E1ef9 = $_SERVER['QUERY_STRING'] == '' ? '' : '?' . $_SERVER['QUERY_STRING']; 
goto d2dcf; 
D81b8: 
$Bbc86 = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === false ? 'http' : 'https'; 
goto F10ce; 
aa5be: 
$Aca9e = $_SERVER['SCRIPT_NAME']; 
goto Cc4a0; 
Ab130: 
} 
private function botDetect() 
{ 
goto a60d6; 
a60d6: 
$C9302 = $this->getHttpUserAgent(); 
goto D3e73; 
a90df: 
return true; 
goto D7731; 
D7731: 
Db033: 
goto b0b98; 
fc41a: 
goto Db033; 
goto Ff8ee; 
Ff8ee: 
Ad20e: 
goto a90df; 
D284d: 
return false; 
goto fc41a; 
D3e73: 
if (isset($C9302) && preg_match('/bot|crawl|slurp|spider|mediapartners/i', $C9302)) { 
goto Ad20e; 
} 
goto D284d; 
b0b98: 
} 
public function redirect($C8981, $F380c = 302) 
{ 
$this->response->redirect($C8981); 
} 
public function unserialize($c1b93 = array()) 
{ 
return json_decode($c1b93, true); 
} 
public function get_numeric($F940c) 
{ 
goto c3533; 
B28c8: 
return $F940c + 0; 
goto f6faa; 
f6faa: 
D7931: 
goto d3cfc; 
d3cfc: 
return 0; 
goto E4555; 
c3533: 
if (!is_numeric($F940c)) { 
goto D7931; 
} 
goto B28c8; 
E4555: 
} 
public function getHost() 
{ 
goto C7334; 
da6cd: 
$Cd634 = 'https://' . (isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : ''); 
goto cad19; 
C7334: 
if ($this->request->server['HTTPS']) { 
goto e4c40; 
} 
goto Aeb9e; 
cad19: 
Ea987: 
goto a2acf; 
E9824: 
e4c40: 
goto da6cd; 
Aeb9e: 
$Cd634 = 'http://' . (isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : ''); 
goto Ff5c5; 
a2acf: 
return $Cd634; 
goto e8126; 
Ff5c5: 
goto Ea987; 
goto E9824; 
e8126: 
} 
public function strFind($De7fb, $fac1a) 
{ 
return $fac1a !== '' && mb_strpos($De7fb, $fac1a) !== false; 
} 
public function formatPhone($c1b93 = false, $Dd5bb = false) 
{ 
goto a8d6e; 
E5f10: 
$A51a6 = strtolower($Dd5bb); 
goto cb36f; 
Ee2f9: 
B2142: 
goto dece2; 
D1dd0: 
$b83ad = '[{"dialcode":"54","country_code":"ar"},{"dialcode":"55","country_code":"br"},{"dialcode":"1","country_code":"ca"},{"dialcode":"56","country_code":"cl"},{"dialcode":"57","country_code":"co"},{"dialcode":"506","country_code":"cr"},{"dialcode":"593","country_code":"ec"},{"dialcode":"503","country_code":"sv"},{"dialcode":"502","country_code":"gt"},{"dialcode":"592","country_code":"gy"},{"dialcode":"509","country_code":"ht"},{"dialcode":"504","country_code":"hn"},{"dialcode":"52","country_code":"mx"},{"dialcode":"505","country_code":"ni"},{"dialcode":"507","country_code":"pa"},{"dialcode":"595","country_code":"py"},{"dialcode":"51","country_code":"pe"},{"dialcode":"1","country_code":"us"},{"dialcode":"598","country_code":"uy"},{"dialcode":"58","country_code":"ve"},{"dialcode":"93","country_code":"af"},{"dialcode":"374","country_code":"am"},{"dialcode":"994","country_code":"az"},{"dialcode":"973","country_code":"bh"},{"dialcode":"880","country_code":"bd"},{"dialcode":"975","country_code":"bt"},{"dialcode":"673","country_code":"bn"},{"dialcode":"855","country_code":"kh"},{"dialcode":"86","country_code":"cn"},{"dialcode":"357","country_code":"cy"},{"dialcode":"850","country_code":"kp"},{"dialcode":"995","country_code":"ge"},{"dialcode":"91","country_code":"in"},{"dialcode":"62","country_code":"id"},{"dialcode":"98","country_code":"ir"},{"dialcode":"964","country_code":"iq"},{"dialcode":"972","country_code":"il"},{"dialcode":"81","country_code":"jp"},{"dialcode":"962","country_code":"jo"},{"dialcode":"7","country_code":"kz"},{"dialcode":"965","country_code":"kw"},{"dialcode":"996","country_code":"kg"},{"dialcode":"856","country_code":"la"},{"dialcode":"961","country_code":"lb"},{"dialcode":"60","country_code":"my"},{"dialcode":"960","country_code":"mv"},{"dialcode":"976","country_code":"mn"},{"dialcode":"95","country_code":"mm"},{"dialcode":"977","country_code":"np"},{"dialcode":"968","country_code":"om"},{"dialcode":"92","country_code":"pk"},{"dialcode":"63","country_code":"ph"},{"dialcode":"974","country_code":"qa"},{"dialcode":"82","country_code":"kr"},{"dialcode":"966","country_code":"sa"},{"dialcode":"65","country_code":"sg"},{"dialcode":"94","country_code":"lk"},{"dialcode":"970","country_code":"ps"},{"dialcode":"963","country_code":"sy"},{"dialcode":"992","country_code":"tj"},{"dialcode":"66","country_code":"th"},{"dialcode":"670","country_code":"tl"},{"dialcode":"90","country_code":"tr"},{"dialcode":"993","country_code":"tm"},{"dialcode":"971","country_code":"ae"},{"dialcode":"998","country_code":"uz"},{"dialcode":"84","country_code":"vn"},{"dialcode":"967","country_code":"ye"},{"dialcode":"355","country_code":"al"},{"dialcode":"376","country_code":"ad"},{"dialcode":"43","country_code":"at"},{"dialcode":"375","country_code":"by"},{"dialcode":"32","country_code":"be"},{"dialcode":"387","country_code":"ba"},{"dialcode":"359","country_code":"bg"},{"dialcode":"385","country_code":"hr"},{"dialcode":"420","country_code":"cz"},{"dialcode":"45","country_code":"dk"},{"dialcode":"372","country_code":"ee"},{"dialcode":"358","country_code":"fi"},{"dialcode":"33","country_code":"fr"},{"dialcode":"49","country_code":"de"},{"dialcode":"30","country_code":"gr"},{"dialcode":"36","country_code":"hu"},{"dialcode":"354","country_code":"is"},{"dialcode":"353","country_code":"ie"},{"dialcode":"39","country_code":"it"},{"dialcode":"371","country_code":"lv"},{"dialcode":"423","country_code":"li"},{"dialcode":"370","country_code":"lt"},{"dialcode":"352","country_code":"lu"},{"dialcode":"356","country_code":"mt"},{"dialcode":"377","country_code":"mc"},{"dialcode":"382","country_code":"me"},{"dialcode":"31","country_code":"nl"},{"dialcode":"47","country_code":"no"},{"dialcode":"48","country_code":"pl"},{"dialcode":"351","country_code":"pt"},{"dialcode":"373","country_code":"md"},{"dialcode":"40","country_code":"ro"},{"dialcode":"7","country_code":"ru"},{"dialcode":"378","country_code":"sm"},{"dialcode":"381","country_code":"rs"},{"dialcode":"421","country_code":"sk"},{"dialcode":"386","country_code":"si"},{"dialcode":"34","country_code":"es"},{"dialcode":"46","country_code":"se"},{"dialcode":"41","country_code":"ch"},{"dialcode":"389","country_code":"mk"},{"dialcode":"380","country_code":"ua"},{"dialcode":"44","country_code":"gb"},{"dialcode":"61","country_code":"au"},{"dialcode":"64","country_code":"nz"}]'; 
goto D1599; 
e4a1f: 
if ($Dd5bb) { 
goto Eb971; 
} 
goto eabf5; 
B727d: 
$c1b93 = $A003e . $c1b93; 
goto f4bd5; 
ea819: 
if ($c1b93) { 
goto C9fcd; 
} 
goto F8739; 
e11cd: 
D5e66: 
goto E5f10; 
D1599: 
$b83ad = json_decode($b83ad, true); 
goto e4a1f; 
db39a: 
return $e6311; 
goto B8866; 
C9c6c: 
if (!(stripos($c1b93, $A003e) === 0)) { 
goto c3e01; 
} 
goto B9fcf; 
Faa02: 
return $e6311; 
goto D8184; 
dece2: 
if (!(stripos($c1b93, '0') === 0)) { 
goto B6001; 
} 
goto ded91; 
Aa5cf: 
c7066: 
goto D6d9b; 
c989e: 
$Dd5bb = $c67e9['iso_code_2']; 
goto Dc432; 
D6724: 
if (!(!isset($Dd5bb) || empty($Dd5bb))) { 
goto D5e66; 
} 
goto D279e; 
f4bd5: 
$e6311 = ['e164' => '+' . $c1b93, 'ph' => $c1b93]; 
goto db39a; 
b4aa5: 
$c1b93 = substr_replace($c1b93, '', 0, 2); 
goto Ee2f9; 
F2565: 
$c1b93 = str_replace('+', '', $c1b93); 
goto a9e78; 
ded91: 
$c1b93 = substr_replace($c1b93, '', 0, 1); 
goto b8304; 
Fba4b: 
$c67e9 = $this->getCountry($A939a); 
goto c989e; 
D279e: 
return $e6311; 
goto e11cd; 
Dc432: 
Eb971: 
goto D6724; 
b75fb: 
if (!(stripos($c1b93, '00') === 0)) { 
goto B2142; 
} 
goto b4aa5; 
Ab81f: 
$c1b93 = str_replace('-', '', $c1b93); 
goto d1c73; 
ae52f: 
$c1b93 = str_replace(')', '', $c1b93); 
goto Ab81f; 
cc500: 
c3e01: 
goto B727d; 
d1c73: 
$c1b93 = str_replace('.', '', $c1b93); 
goto b75fb; 
F8739: 
return $e6311; 
goto ea356; 
cb36f: 
$A003e = ''; 
goto Ddb60; 
ea356: 
C9fcd: 
goto D1dd0; 
bbe2d: 
$c1b93 = trim($c1b93); 
goto b414d; 
b414d: 
$c1b93 = str_replace(' ', '', $c1b93); 
goto F2565; 
a9e78: 
$c1b93 = str_replace('(', '', $c1b93); 
goto ae52f; 
Ddb60: 
foreach ($b83ad as $B3a1a) { 
goto A7a8a; 
e8fc1: 
D93bd: 
goto B96af; 
A7a8a: 
if (!($B3a1a['country_code'] == $A51a6)) { 
goto D93bd; 
} 
goto df7e5; 
df7e5: 
$A003e = $B3a1a['dialcode']; 
goto e8fc1; 
B96af: 
e434f: 
goto Ed787; 
Ed787: 
} 
goto Aa5cf; 
a8d6e: 
$e6311 = ['e164' => $c1b93, 'ph' => $c1b93]; 
goto ea819; 
D6d9b: 
if (!empty($A003e)) { 
goto D42b9; 
} 
goto Faa02; 
b8304: 
B6001: 
goto C9c6c; 
eabf5: 
$A939a = $this->config->get('config_country_id'); 
goto Fba4b; 
B9fcf: 
$ef711 = strlen($A003e); 
goto d4b23; 
d4b23: 
$c1b93 = substr_replace($c1b93, '', 0, $ef711); 
goto cc500; 
D8184: 
D42b9: 
goto bbe2d; 
B8866: 
} 
public function formatPostcode($c1b93 = '') 
{ 
goto e130c; 
C1c52: 
$c1b93 = str_replace('/', '', $c1b93); 
goto e0c16; 
F94e7: 
$c1b93 = str_replace('.', '', $c1b93); 
goto C1c52; 
e0c16: 
return $c1b93; 
goto Bdc54; 
e130c: 
$c1b93 = str_replace(' ', '', $c1b93); 
goto e7e99; 
e7e99: 
$c1b93 = str_replace('-', '', $c1b93); 
goto F94e7; 
Bdc54: 
} 
} ?>

Did this file decode correctly?

Original Code

<?php
/******************************************************
 * @package Digital Marketing Tools for OC1.5x, OC2x,3x
 * @version 12.3
 * @author Muhammad Akram
 * @link https://aits.xyz
 * @copyright Copyright (C)2024 aits.xyz All rights reserved.
 * @email:[email protected]. 
 * $date: 21-NOV-2024
 * SYSTEM/LIBRARY
*******************************************************/
class Dmt extends Controller
{
public $settings;
private $dmt_data;
private $error = array();
private $mode;
public $PREFIX;
public function __construct($A136f)
{
goto B447a;
Ca9bd:
if (!($B9157['consent_bypass'] && $B9157['consent_bypass_country'] && isset($_SERVER["HTTP_CF_IPCOUNTRY"]))) {
goto dc253;
}
goto f9291;
F7014:
d2740:
goto F1444;
Eb8c0:
if (!is_file(DIR_SYSTEM . 'library/dmt/lib_customconfig.php')) {
goto Da7b1;
}
goto a5379;
f29f8:
$this->dmt_data = $B9157;
goto bcc5c;
d73f2:
f640b:
goto b692f;
f9291:
$B9157['detected_country'] = $_SERVER["HTTP_CF_IPCOUNTRY"];
goto e8624;
E10a4:
if (!(empty($B9157['alt_currency']) || $bdd74)) {
goto F76e2;
}
goto e3679;
D7d5d:
goto Ca2b4;
goto ad7a7;
e8538:
$B9157['custom_cost_event_name'] = CUSTOM_COST_EVENT_NAME;
goto A9968;
a483b:
$c61aa = '';
goto F4b93;
a8591:
D0a45:
goto D6525;
d2a72:
$B9157['consent_bypass'] = CONSENT_BYPASS;
goto Fecd9;
ad7a7:
bc26b:
goto d2a72;
b6429:
$this->settings = $B9157;
goto A2d50;
B34d0:
Deb5f:
goto B676d;
e3679:
$B9157['alt_currency'] = $B9157['currency'];
goto A8453;
A9968:
cb1a9:
goto bb5b4;
a5379:
include_once DIR_SYSTEM . 'library/dmt/lib_customconfig.php';
goto C260d;
F1444:
$this->PREFIX = $c61aa;
goto Eb8c0;
Fdf7f:
if (defined('CONSENT_BYPASS')) {
goto bc26b;
}
goto ca060;
E1c93:
$B9157['eu_cookie_enforce'] = false;
goto B34d0;
aa9dc:
$B9157['custom_cost_event_name'] = '';
goto Cc158;
C260d:
Da7b1:
goto A3704;
D6525:
$B9157['custom_cost_event'] = CUSTOM_COST_EVENT;
goto e8538;
A6735:
f35d8:
goto Ef53e;
Ef53e:
$B9157['custom_tiktok_event'] = CUSTOM_TIKTOK_EVENT;
goto Ab10b;
b75c0:
A7efd:
goto Ca9bd;
bcc5c:
$this->mode = isset($B9157['mode']) ? $B9157['mode'] : true;
goto b6429;
Ecd76:
$B9157['custom_cost_event'] = false;
goto aa9dc;
D4e57:
if (!in_array($B9157['detected_country'], $F5583)) {
goto Deb5f;
}
goto F4a93;
A3704:
$B9157 = $this->config->get($this->PREFIX . 'tagmanager_data');
goto F9a83;
F4a93:
$B9157['eu_cookie'] = false;
goto E1c93;
A8453:
F76e2:
goto fa96b;
b73e9:
$bdd74 = isset($B9157['alt_currency_status']) ? $B9157['alt_currency_status'] : false;
goto E10a4;
fa96b:
if (defined('CUSTOM_COST_EVENT')) {
goto D0a45;
}
goto Ecd76;
e8624:
$F5583 = explode(",", $B9157['consent_bypass_country']);
goto D4e57;
a3264:
$B9157['currency'] = isset($this->session->data['currency']) ? $this->session->data['currency'] : $this->config->get('config_currency');
goto b73e9;
b692f:
$B9157['consent_bypass_country'] = CONSENT_BYPASS_COUNTRY;
goto b75c0;
e4a09:
cc7b8:
goto Eadd1;
D8401:
goto Deb15;
goto A6735;
ca060:
$B9157['consent_bypass'] = false;
goto D7d5d;
c9542:
goto A7efd;
goto d73f2;
Fabea:
if (defined('CONSENT_BYPASS_COUNTRY')) {
goto f640b;
}
goto D26c4;
Eadd1:
$c61aa = 'analytics_';
goto F7014;
Ab10b:
Deb15:
goto Fdf7f;
F4b93:
goto d2740;
goto e4a09;
B676d:
dc253:
goto f29f8;
Fecd9:
Ca2b4:
goto Fabea;
bb5b4:
if (defined('CUSTOM_TIKTOK_EVENT')) {
goto f35d8;
}
goto ed8ab;
D26c4:
$B9157['consent_bypass_country'] = false;
goto c9542;
a2917:
if (substr(VERSION, 0, 1) == '3' || substr(VERSION, 0, 1) == '4') {
goto cc7b8;
}
goto a483b;
F9a83:
$B9157['status'] = $this->config->get($c61aa . 'tagmanager_status');
goto a3264;
B447a:
parent::__construct($A136f);
goto a2917;
ed8ab:
$B9157['custom_tiktok_event'] = false;
goto D8401;
Cc158:
goto cb1a9;
goto a8591;
A2d50:
}
public function gtmsettings()
{
return $this->settings;
}
public function config()
{
goto Aec35;
Ffe81:
$D070a = $this->getSc_cookie1();
goto Fd95e;
a22cf:
$C8894 = $this->getIpAddress();
goto d303a;
C6478:
if (!$B9157['tiktok_status']) {
goto d9138;
}
goto c0035;
Af06b:
$A939a = $this->config->get('config_country_id');
goto Dcc55;
C28aa:
A1553:
goto a4521;
c0df2:
$af3a8 = $this->session->getId();
goto C28aa;
A6e5a:
$F1927 = ['7', '11'];
goto Ca3ef;
A5226:
$Ca165 = '';
goto C896e;
B747a:
$af3a8 = $this->readGTMCookie('OCSESSID');
goto D93a8;
e2a2f:
$E10b1 = array_merge($B9157, $a69e2);
goto cb401;
C594d:
if (!(!isset($D7cc1['user_id']) || empty($D7cc1['user_id']))) {
goto Fce74;
}
goto ec69f;
cee27:
$c5800 = 1;
goto D057b;
Fb20e:
$bc0fe = 5000;
goto Eda29;
dc75b:
$a9540 = $this->getGclid();
goto Db181;
E54ad:
$c4ccd = 10;
goto Fb20e;
aaed1:
$a700c = '';
goto A5226;
c3178:
$Cd634 = $this->getHost();
goto f852e;
c070b:
$af3a8 = $D7cc1['external_id'];
goto Ff70d;
b2b88:
d647a:
goto A6e5a;
B7cda:
d9138:
goto c4455;
ece15:
$bfd18 = true;
goto c695c;
c695c:
$F6719 = 1 + (int) $B9157['tax_override_value'] / 100;
goto f596e;
e8073:
$B9157 = $this->dmt_data;
goto e1d9c;
Ce3a6:
return $E10b1;
goto Bc97b;
A11ea:
$B8f65 = ['credit', 'reward', 'voucher', 'payment_discount', 'xfeepro'];
goto Fd788;
D93a8:
if (!empty($af3a8)) {
goto A1553;
}
goto c0df2;
C967d:
$d44ad = isset($_COOKIE['language']) ? $_COOKIE['language'] : '';
goto C7808;
Eda29:
$bb9ad = $this->config->get('config_store_id');
goto fffce;
f852e:
$C7690 = $this->getTrackingCookies();
goto E81df;
Beed9:
$F257d = 1;
goto Af06b;
c4455:
if (!$B9157['snap_pixel_status']) {
goto A5c7d;
}
goto Ffe81;
C7808:
$a69e2 = ['external_id' => $af3a8, 'ver' => $B29ba, 'cid' => $C7690, 'user_agent' => $Dc13f, 'bot' => $Ad4e9, 'ip_address' => $C8894, 'gclid' => $a9540, 'fbc' => $A3bf6, 'fbp' => $C1f11, 'ttclid' => $a700c, 'ttp' => $Ca165, 'sc_cookie1' => $D070a, 'sccid' => $D0821, 'language' => $d44ad, 'locale' => $d44ad, 'host_url' => $Cd634, 'host' => isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : '', 'path' => isset($this->request->server['REQUEST_URI']) ? $this->request->server['REQUEST_URI'] : '', 'currency' => isset($this->session->data['currency']) ? $this->session->data['currency'] : $this->config->get('config_currency'), 'total_plus' => $c9913, 'total_minus' => $B8f65, 'tax' => $F6719, 'override_tax' => $bfd18, 'limit' => $be876, 'max_list_items' => $c4ccd, 'max_module_items' => $c4ccd, 'delay' => $bc0fe, 'return_status' => $F1927, 'store_country' => $c67e9, 'cdn' => 'cdn.aits.xyz', 'url' => $this->getRequestUri(), 'referrer' => isset($this->request->server['HTTP_REFERER']) ? $this->request->server['HTTP_REFERER'] : ''];
goto e2a2f;
Db181:
a085a:
goto C6478;
ec69f:
$D7cc1['user_id'] = $af3a8;
goto Ecbf5;
C896e:
$D070a = '';
goto e6f52;
c86a4:
$a9540 = '';
goto cee27;
Cb1a2:
A5c7d:
goto B747a;
cb401:
if (!$Ad4e9) {
goto d845f;
}
goto Aabe5;
Ca3ef:
$be876 = 10;
goto E54ad;
c00af:
$c9913 = ['cod_fee', 'codfee_payment', 'handling', 'klarna_fee', 'low_order_fee', 'advancedcodfee', 'xfeepro'];
goto A11ea;
B621a:
$C1f11 = '';
goto aaed1;
D31d3:
$Dc13f = $this->getHttpUserAgent();
goto a22cf;
Ff70d:
bd04b:
goto C594d;
c4de3:
$c67e9 = $c67e9['iso_code_2'];
goto D31d3;
e80c2:
if (!(isset($B9157['tax_override_value']) && !empty($B9157['tax_override_value']))) {
goto C020d;
}
goto ece15;
Fd788:
if (!$B9157['pixel']) {
goto b3f13;
}
goto E0210;
Dcc55:
$c67e9 = $this->getCountry($A939a);
goto c4de3;
e6f52:
$D0821 = '';
goto c86a4;
E81df:
$B9157['vs'] = $this->getVS();
goto c00af;
Fd95e:
$D0821 = $this->getScCid();
goto Cb1a2;
B5448:
$E10b1 = [];
goto e8073;
Ba462:
d845f:
goto Ce3a6;
c0035:
$a700c = $this->getTtclid();
goto B842d;
fbbe2:
if (!$B9157['adword']) {
goto a085a;
}
goto dc75b;
f596e:
C020d:
goto F9a36;
d768b:
$B9157 = array_merge($B9157, $D7cc1);
goto c7147;
a03b9:
if (!isset($D7cc1['external_id'])) {
goto bd04b;
}
goto c070b;
Ecbf5:
Fce74:
goto d768b;
C64c7:
return false;
goto b2b88;
efd0a:
b3f13:
goto fbbe2;
c4041:
if (!(isset($B9157['tax_override']) && $B9157['tax_override'])) {
goto Ceb0f;
}
goto e80c2;
F9a36:
Ceb0f:
goto C967d;
Aec35:
$B29ba = 'OC ' . VERSION . ' - 12.2';
goto B5448;
d303a:
$Ad4e9 = $this->botDetect();
goto c3178;
c7147:
$bfd18 = false;
goto cf932;
B842d:
$Ca165 = $this->getTtp();
goto B7cda;
cf932:
$F6719 = 1;
goto c4041;
e1d9c:
if (!(!isset($B9157['status']) || !$B9157['status'])) {
goto d647a;
}
goto C64c7;
Ad11a:
$C1f11 = $this->getFbp();
goto efd0a;
a4521:
$D7cc1 = $this->getUser();
goto a03b9;
Aabe5:
$E10b1['status'] = 0;
goto Ba462;
fffce:
$A3bf6 = '';
goto B621a;
D057b:
$c57d8 = false;
goto Beed9;
E0210:
$A3bf6 = $this->getFbc();
goto Ad11a;
Bc97b:
}
public function isActive()
{
goto ad2d7;
E0800:
return true;
goto Dfc70;
B664e:
Dd413:
goto E0800;
Fa0bf:
return false;
goto c356a;
c356a:
goto F008f;
goto B664e;
ad2d7:
$c1b93 = $this->settings;
goto D155c;
Dfc70:
F008f:
goto F196a;
D155c:
if (isset($c1b93['status']) && $c1b93['status']) {
goto Dd413;
}
goto Fa0bf;
F196a:
}
public function getTagmanger()
{
return $this->config();
}
public function getVS()
{
$B840e = $this->getNewURL();
return base64_encode($B840e);
}
private function getTrackingCookies()
{
goto F3244;
E1a72:
$C7690 = preg_replace('/GA[0-9]+\\.[0-9]+\\./', '', $C7690);
goto f9f58;
f9f58:
return $C7690;
goto a80c2;
F3244:
$C7690 = isset($_COOKIE['_ga']) ? $_COOKIE['_ga'] : '';
goto E1a72;
a80c2:
}
public function eventid()
{
goto efc8d;
Fa376:
return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($c1b93), 4));
goto Ff7d5;
efc8d:
$c1b93 = openssl_random_pseudo_bytes(16);
goto d6902;
f54b2:
$c1b93[8] = chr(ord($c1b93[8]) & 0x3f | 0x80);
goto Fa376;
d6902:
$c1b93[6] = chr(ord($c1b93[6]) & 0xf | 0x40);
goto f54b2;
Ff7d5:
}
public function getUser()
{
goto a89ed;
D25fa:
F5a30:
goto e2873;
d73ad:
$A06c4 = [];
goto Ce20f;
Ec464:
$db791 = false;
goto d73ad;
a89ed:
$E10b1 = $this->settings;
goto Ec464;
c5293:
return $A06c4;
goto f255f;
a6101:
goto cba75;
goto D25fa;
Df8e5:
cba75:
goto c5293;
e2873:
$A06c4 = $this->getCustomerData();
goto Df8e5;
Ce20f:
if (isset($E10b1['customer_data']) && $E10b1['customer_data']) {
goto F5a30;
}
goto dec41;
dec41:
$A06c4 = ['user_id' => '', 'customer_id' => '', 'external_id' => '', 'email' => '', 'telephone' => '', 'em' => '', 'ph' => '', 'ph_e164' => '', 'fn' => '', 'ln' => '', 'ad' => '', 'ct' => '', 'pc' => '', 'st' => '', 'cc' => ''];
goto a6101;
f255f:
}
public function getCustomerData()
{
goto d1217;
bcbd1:
$A06c4 = $B37cb;
goto de33e;
Dc9c5:
$d80a6 = strtolower(trim(str_replace(' ', '', $d80a6)));
goto Bfca4;
D291e:
$dfb7f = (int) $B1200;
goto Fbcb9;
B2d5c:
$abc17 = $b8948->row['name'];
goto e18ec;
D8268:
$A37e6 = $B535f->row['newsletter'];
goto F8c48;
e4cb3:
goto Ad0f1;
goto A7a67;
da1bb:
$Dd5bb = $Decf0->row['name'];
goto d84c0;
e151d:
$Decf0 = $this->db->query("SELECT * FROM `" . DB_PREFIX . "country` WHERE country_id = '" . (int) $Ec4a8->row['country_id'] . "'");
goto c1e47;
F0978:
$ec4db = isset($this->session->data['payment_address']['postcode']) ? $this->session->data['payment_address']['postcode'] : '';
goto d86d0;
D3511:
E141f:
goto C2f9b;
C951e:
$dfb7f = '';
goto c9a68;
E1968:
$abc17 = '';
goto b5cb1;
e007e:
$F9ef1 = isset($Ec4a8->row['city']) ? $Ec4a8->row['city'] : '';
goto cf578;
be6c4:
$ec4db = isset($ec4db) ? $this->formatPostcode($ec4db) : '';
goto F8407;
Ec3fc:
Ad0f1:
goto Eb808;
C2a7a:
if (!(isset($this->session->data['tuser']) && !empty($this->session->data['tuser']))) {
goto E141f;
}
goto D094f;
f7bf1:
goto E382e;
goto f4f6c;
D648c:
$db791 = true;
goto A9356;
c1e47:
if ($Decf0->num_rows) {
goto b4aad;
}
goto A4f67;
aa5a2:
b08bf:
goto D3511;
C6009:
$A51a6 = '';
goto e6fb7;
ee38a:
$F9ef1 = '';
goto fef35;
B2a06:
$d80a6 = '';
goto abf3f;
fd097:
$e6311 = $this->formatPhone($b5c3f, $A51a6);
goto ddf1b;
cdcce:
goto c9bd5;
goto B0a18;
d86d0:
$ec4db = isset($ec4db) ? $this->formatPostcode($ec4db) : '';
goto d0dd6;
afb56:
a56aa:
goto dcca5;
bef95:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto ac4fb;
}
goto D9ace;
D094f:
$fa03f = $this->session->data['tuser'];
goto Da343;
D7f10:
A7513:
goto De742;
d1217:
$E10b1 = $this->settings;
goto c7a3a;
Da343:
if (!(isset($fa03f) && $fa03f)) {
goto b08bf;
}
goto Bc878;
De742:
$b5c3f = isset($b5c3f) ? $b5c3f : '';
goto C2225;
cc5ae:
$A51a6 = isset($this->session->data['payment_address']['iso_code_2']) ? $this->session->data['payment_address']['iso_code_2'] : '';
goto F0978;
dd960:
if (!$Ec4a8->num_rows) {
goto A02d0;
}
goto c4511;
Fc6ae:
$abc17 = isset($this->session->data['payment_address']['zone']) ? $this->session->data['payment_address']['zone'] : '';
goto ba9cf;
C9589:
if (!$db791) {
goto A5f80;
}
goto Efd22;
bf7c0:
$d80a6 = strtolower(trim(str_replace(' ', '', $B535f->row['email'])));
goto aa697;
fa8f4:
$d80a6 = isset($this->session->data['guest']['email']) ? $this->session->data['guest']['email'] : '';
goto Dc9c5;
cfaab:
$abc17 = '';
goto C6009;
fca35:
$A51a6 = '';
goto e4cb3;
Bb233:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE customer_id = '" . (int) $dfb7f . "'");
goto de425;
C2f9b:
if ($this->customer->isLogged()) {
goto bba4a;
}
goto f09ab;
c9217:
E382e:
goto C2b93;
ddf1b:
$A06c4 = ['user_id' => $dfb7f, 'customer_id' => $dfb7f, 'external_id' => $dfb7f, 'email' => $d80a6, 'telephone' => isset($e6311['e164']) ? $e6311['e164'] : '', 'em' => isset($d80a6) ? $this->getHash($d80a6) : '', 'ph' => isset($e6311['ph']) ? $this->getHash($e6311['ph']) : '', 'ph_e164' => isset($e6311['e164']) ? $this->getHash($e6311['e164']) : '', 'fn' => isset($b330a) ? $this->getHash($b330a) : '', 'ln' => isset($Af736) ? $this->getHash($Af736) : '', 'ad' => isset($Fea3d) ? $this->getHash($Fea3d) : '', 'ct' => isset($F9ef1) ? $this->getHash($F9ef1) : '', 'pc' => isset($ec4db) ? $this->getHash($ec4db) : '', 'st' => isset($abc17) ? $this->getHash($abc17) : '', 'cc' => isset($A51a6) ? $this->getHash($A51a6) : ''];
goto D648c;
bd6b6:
goto c9bd5;
goto Fa9d4;
Fa9d4:
d6d19:
goto C951e;
F87cc:
d9263:
goto Bb233;
Bfca4:
$b330a = isset($this->session->data['guest']['firstname']) ? $this->session->data['guest']['firstname'] : '';
goto d4170;
B0a18:
bba4a:
goto fcf58;
Eb808:
$b8948 = $this->db->query("SELECT * FROM `" . DB_PREFIX . "zone` WHERE zone_id = '" . (int) $Ec4a8->row['zone_id'] . "'");
goto efb67;
Bbde5:
a4bae:
goto D7f10;
b5cb1:
$Dd5bb = '';
goto e990e;
ec754:
$B37cb = false;
goto B2a06;
e6fb7:
$ec4db = '';
goto Cd5ab;
F8407:
$A06c4 = ['user_id' => $dfb7f, 'customer_id' => $dfb7f, 'external_id' => $dfb7f, 'email' => $d80a6, 'telephone' => isset($e6311['e164']) ? $e6311['e164'] : '', 'em' => isset($d80a6) ? $this->getHash($d80a6) : '', 'ph' => isset($e6311['ph']) ? $this->getHash($e6311['ph']) : '', 'ph_e164' => isset($e6311['e164']) ? $this->getHash($e6311['e164']) : '', 'fn' => isset($b330a) ? $this->getHash($b330a) : '', 'ln' => isset($Af736) ? $this->getHash($Af736) : '', 'ad' => isset($Fea3d) ? $this->getHash($Fea3d) : '', 'ct' => isset($F9ef1) ? $this->getHash($F9ef1) : '', 'pc' => isset($ec4db) ? $this->getHash($ec4db) : '', 'st' => isset($abc17) ? $this->getHash($abc17) : '', 'cc' => isset($A51a6) ? $this->getHash($A51a6) : ''];
goto Fdcbc;
F2b19:
$abc17 = '';
goto E7de1;
E7de1:
$Cd2f2 = '';
goto f7bf1;
A9356:
c9bd5:
goto C9589;
b55dc:
Bcc11:
goto bd6b6;
d4170:
$Af736 = isset($this->session->data['guest']['lastname']) ? $this->session->data['guest']['lastname'] : '';
goto ea267;
D9ace:
$B37cb = $this->cache->get('dmt.customer.' . $dfb7f);
goto dc24e;
abf3f:
$b5c3f = '';
goto C8bda;
Bc878:
$A06c4 = unserialize($fa03f);
goto De0d6;
B7a5e:
$A06c4 = ['user_id' => '', 'customer_id' => '', 'external_id' => '', 'email' => '', 'telephone' => '', 'em' => '', 'ph' => '', 'ph_e164' => '', 'fn' => '', 'ln' => '', 'ad' => '', 'ct' => '', 'pc' => '', 'st' => '', 'cc' => ''];
goto C2a7a;
ba9cf:
$Dd5bb = isset($this->session->data['payment_address']['country']) ? $this->session->data['payment_address']['country'] : '';
goto cc5ae;
D199e:
$A37e6 = '';
goto B7a5e;
de425:
if (!$B535f->num_rows) {
goto A7513;
}
goto bf7c0;
Fbcb9:
if (!(isset($dfb7f) && $dfb7f > 0)) {
goto Bcc11;
}
goto bef95;
fef35:
$ec4db = '';
goto E1968;
F1d7b:
A5f80:
goto B5380;
A4f67:
$Dd5bb = '';
goto fca35;
Efd22:
$this->saveCustomerData($A06c4);
goto F1d7b;
a21a1:
$Ec4a8 = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "address WHERE address_id = '" . (int) $ce1a6 . "' AND customer_id = '" . (int) $dfb7f . "'");
goto dd960;
A1bb3:
$this->cache->set('dmt.customer.' . $dfb7f, $A06c4);
goto F78a2;
dc24e:
ac4fb:
goto C20e0;
fcf58:
$B1200 = $this->customer->getId();
goto D291e;
efb67:
if ($b8948->num_rows) {
goto D1e46;
}
goto F2b19;
C20e0:
if (!$B37cb) {
goto d9263;
}
goto bcbd1;
dcca5:
$db791 = true;
goto b55dc;
d0dd6:
$b5c3f = isset($b5c3f) ? $b5c3f : '';
goto fd097;
C8bda:
$Fea3d = '';
goto ee38a;
B5380:
return $A06c4;
goto E4c55;
c4511:
$Fea3d = isset($Ec4a8->row['address_1']) ? $Ec4a8->row['address_1'] : '';
goto e007e;
D34d6:
$F9ef1 = isset($this->session->data['payment_address']['city']) ? $this->session->data['payment_address']['city'] : '';
goto Fc6ae;
f4f6c:
D1e46:
goto B2d5c;
A8dfc:
$Fea3d = isset($this->session->data['payment_address']['address_1']) ? $this->session->data['payment_address']['address_1'] : '';
goto D34d6;
F78a2:
F21dc:
goto afb56;
C2b93:
A02d0:
goto Bbde5;
A7a67:
b4aad:
goto da1bb;
a8bcf:
$Dd5bb = '';
goto cfaab;
ea267:
$b5c3f = isset($this->session->data['guest']['telephone']) ? $this->session->data['guest']['telephone'] : '';
goto A8dfc;
Cd5ab:
$ce1a6 = (int) $B535f->row['address_id'];
goto Afb46;
c7a3a:
$db791 = false;
goto ec754;
e990e:
$A51a6 = '';
goto D199e;
e18ec:
$Cd2f2 = $b8948->row['code'];
goto c9217;
Afb46:
if (!(isset($ce1a6) && $ce1a6 > 0)) {
goto a4bae;
}
goto a21a1;
f09ab:
if (isset($this->session->data['guest'])) {
goto d6d19;
}
goto cdcce;
A2ee5:
$Af736 = $B535f->row['lastname'];
goto af998;
F8c48:
$F9ef1 = '';
goto a8bcf;
Fdcbc:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto F21dc;
}
goto A1bb3;
d84c0:
$A51a6 = $Decf0->row['iso_code_2'];
goto Ec3fc;
C2225:
$e6311 = $this->formatPhone($b5c3f, $A51a6);
goto be6c4;
cf578:
$ec4db = isset($Ec4a8->row['postcode']) ? $Ec4a8->row['postcode'] : '';
goto e151d;
c9a68:
$B1200 = '';
goto fa8f4;
de33e:
goto a56aa;
goto F87cc;
af998:
$b5c3f = $B535f->row['telephone'];
goto D8268;
De0d6:
return $A06c4;
goto aa5a2;
aa697:
$b330a = $B535f->row['firstname'];
goto A2ee5;
E4c55:
}
public function saveCustomerData($c1b93)
{
goto c6b58;
e08ac:
return;
goto b0e57;
aaf21:
return false;
goto Ad2b4;
Ad2b4:
B0d4a:
goto C7181;
C7181:
$fa03f = serialize($c1b93);
goto D43bc;
c6b58:
if (isset($c1b93)) {
goto B0d4a;
}
goto aaf21;
D43bc:
$this->session->data['tuser'] = $fa03f;
goto e08ac;
b0e57:
}
public function resetCustomerData()
{
$this->session->data['tuser'] = '';
return;
}
public function saveOrderID($b7898 = 0)
{
goto Bbc17;
a163f:
return;
goto b481f;
e2e94:
F1407:
goto a163f;
D32c7:
$this->saveGTMCookie('dmt_orderid', $b7898);
goto e2e94;
Ab890:
$this->session->data['dmt_order_id'] = $b7898;
goto D32c7;
c36a2:
$b7898 = (int) $b7898;
goto cda80;
cda80:
if (!($b7898 > 0)) {
goto F1407;
}
goto Ab890;
a56c6:
$d2068 = (int) $d2068;
goto c36a2;
Bbc17:
$d2068 = isset($this->session->data['dmt_order_id']) ? $this->session->data['dmt_order_id'] : 0;
goto a56c6;
b481f:
}
public function deleteOrderID()
{
goto B1e76;
ed334:
unset($this->session->data['dmt_order_id']);
goto e48aa;
e48aa:
setcookie("dmt_order_id", "", time() - 3600);
goto Aa95c;
B1e76:
unset($this->session->data['tm_order_id']);
goto ed334;
Aa95c:
}
public function saveGTMCookie($B3385, $c1b93)
{
goto Dd55b;
A3f73:
$c1b93 = serialize($c1b93);
goto Cc337;
D6628:
$b544a = time() + 86400 * 3;
goto d6561;
cd9ab:
if (PHP_VERSION_ID < 70300) {
goto f0e4d;
}
goto C1402;
C1402:
setcookie($B3385, $c1b93, ['expires' => $b544a, 'path' => $Cada0, 'domain' => $e6293, 'samesite' => $E3a3e, 'secure' => $efe7a, 'httponly' => $c9ff9]);
goto f8b45;
f8b45:
goto e18b5;
goto a4f42;
Ad93b:
e18b5:
goto Df55d;
fb1c0:
$efe7a = 'secure';
goto D6628;
Df55d:
C34fd:
goto E6011;
a4f42:
f0e4d:
goto de827;
E6011:
return;
goto f4843;
Ea010:
return false;
goto D61d3;
Cc337:
e9e06:
goto B6cf7;
de827:
setcookie($B3385, $c1b93, $b544a, $Cada0 . '; samesite=' . $E3a3e, $e6293, $efe7a, $c9ff9);
goto Ad93b;
D6386:
$E3a3e = 'Lax';
goto Cfb0a;
D61d3:
F3c04:
goto bab9e;
bab9e:
if (!$this->check_array($c1b93)) {
goto e9e06;
}
goto A3f73;
C3563:
if (!(isset($c1b93) && $c1b93)) {
goto C34fd;
}
goto cd9ab;
Cfb0a:
$c9ff9 = 'HttpOnly';
goto fb1c0;
d6561:
$Cada0 = '/';
goto C3563;
Dd55b:
if (!(!isset($c1b93) || !isset($B3385))) {
goto F3c04;
}
goto Ea010;
B6cf7:
$e6293 = isset($this->request->server['HTTP_HOST']) ? $this->request->server['HTTP_HOST'] : '';
goto D6386;
f4843:
}
public function resetGTMCookie($B3385)
{
goto Bbbbf;
B134e:
$e6293 = isset($this->request->server['HTTP_HOST']) ? $this->request->server['HTTP_HOST'] : '';
goto C9ea2;
E30ff:
$b544a = time() - 7200;
goto f1937;
Cf32b:
return;
goto A1ac4;
E68d5:
setcookie($B3385, '', $b544a, $Cada0 . '; samesite=' . $E3a3e, $e6293, $efe7a, $c9ff9);
goto b2ccb;
D94ae:
B2613:
goto Cf32b;
E6967:
if (PHP_VERSION_ID < 70300) {
goto A0c53;
}
goto C26e4;
C26e4:
setcookie($B3385, '', ['expires' => $b544a, 'path' => $Cada0, 'domain' => $e6293, 'samesite' => $E3a3e, 'secure' => $efe7a, 'httponly' => $c9ff9]);
goto cf734;
d9bcb:
$c9ff9 = 'HttpOnly';
goto c6b9c;
Aad11:
c62d0:
goto B134e;
Bbbbf:
if (isset($B3385)) {
goto c62d0;
}
goto e67a1;
d00e0:
if (!(isset($B3385) && $B3385)) {
goto B2613;
}
goto E6967;
b2ccb:
a460e:
goto D94ae;
C9ea2:
$E3a3e = 'strict';
goto d9bcb;
f1937:
$Cada0 = '/';
goto d00e0;
c6b9c:
$efe7a = 'secure';
goto E30ff;
D9b9f:
A0c53:
goto E68d5;
cf734:
goto a460e;
goto D9b9f;
e67a1:
return false;
goto Aad11;
A1ac4:
}
public function readGTMCookie($B3385)
{
goto d9abb;
a8c03:
if (!isset($B3385)) {
goto E1fb4;
}
goto D3af5;
D3af5:
$c1b93 = isset($_COOKIE[$B3385]) ? $_COOKIE[$B3385] : false;
goto A6621;
d9abb:
$c1b93 = false;
goto a8c03;
a9456:
return $c1b93;
goto e1f2b;
A6621:
E1fb4:
goto a9456;
e1f2b:
}
public function readConsent()
{
goto A92bf;
e88a4:
$c1b93 = ['cc_enabled' => 1, 'cc_analytics' => 0, 'cc_marketing' => 0, 'gdpr_analytics' => 'denied', 'gdpr_marketing' => 'denied', 'ad_user_data' => 'denied', 'ad_personalization' => 'denied', 'consent' => 'revoke', 'allowAdFeatures' => 'false', 'tracking_block' => true, 'marketing_block' => true];
goto Acf30;
c1ee9:
cdb45:
goto d631a;
d631a:
if (!(isset($E10b1['eu_cookie']) && !$E10b1['eu_cookie'])) {
goto Bb1f6;
}
goto A8d1b;
B25bb:
if (!(isset($E10b1['eu_cookie_enforce']) && $E10b1['eu_cookie_enforce'])) {
goto f3a86;
}
goto e88a4;
Fbd6e:
$c1b93 = ['cc_enabled' => 0, 'cc_analytics' => 1, 'cc_marketing' => 1, 'gdpr_analytics' => 'granted', 'gdpr_marketing' => 'granted', 'ad_user_data' => 'granted', 'ad_personalization' => 'granted', 'consent' => 'grant', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false];
goto e3d74;
A4b15:
$c1b93 = ['cc_enabled' => 0, 'cc_analytics' => 1, 'cc_marketing' => 1, 'gdpr_analytics' => '', 'gdpr_marketing' => '', 'ad_user_data' => '', 'ad_personalization' => '', 'consent' => '', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false];
goto B9e38;
Acf30:
f3a86:
goto e92d8;
d55bc:
$Cf102 = (array) json_decode(stripslashes(html_entity_decode($_COOKIE["_consents"])));
goto d017f;
A92bf:
$E10b1 = $this->settings;
goto Fbd6e;
e92d8:
if (!isset($_COOKIE["_consents"])) {
goto b68e4;
}
goto F1516;
eeeb1:
b68e4:
goto a9dbd;
e3d74:
if (!(isset($E10b1['consent_external']) && $E10b1['consent_external'])) {
goto cdb45;
}
goto A4b15;
a9dbd:
return $c1b93;
goto A7098;
D5b5e:
E5a3c:
goto eeeb1;
cf7f1:
foreach ($Cf102['categories'] as $beb47) {
goto C0ee7;
fa7bb:
$c1b93['ad_user_data'] = 'granted';
goto ac6bd;
Bb809:
$c1b93['consent'] = 'revoke';
goto a3fba;
E1486:
$c1b93['cc_marketing'] = 1;
goto be2da;
C0ee7:
if (!($beb47 == 'analytics')) {
goto Bbdb2;
}
goto Ecdc2;
c9838:
$c1b93['gdpr_analytics'] = 'granted';
goto Ed072;
A9ed3:
Fcc2c:
goto b23a5;
ac6bd:
$c1b93['ad_personalization'] = 'granted';
goto E1e3c;
b5768:
$c1b93['consent'] = 'grant';
goto A9ed3;
C043b:
$c1b93['marketing_block'] = false;
goto b5768;
E1e3c:
$c1b93['allowAdFeatures'] = 'true';
goto C043b;
a3fba:
Bbdb2:
goto Ee940;
a1275:
$c1b93['tracking_block'] = false;
goto Bb809;
Ee940:
if (!($beb47 == 'marketing')) {
goto Fcc2c;
}
goto E1486;
be2da:
$c1b93['gdpr_marketing'] = 'granted';
goto fa7bb;
Ed072:
$c1b93['allowAdFeatures'] = 'false';
goto a1275;
Ecdc2:
$c1b93['cc_analytics'] = 1;
goto c9838;
b23a5:
f009b:
goto f9f27;
f9f27:
}
goto Eeb59;
Eeb59:
A425d:
goto D5b5e;
B9e38:
return $c1b93;
goto c1ee9;
d017f:
if (!isset($Cf102['categories'])) {
goto E5a3c;
}
goto cf7f1;
ba2b1:
Bb1f6:
goto B25bb;
F1516:
$Cf102 = (array) json_decode($_COOKIE["_consents"]);
goto d55bc;
A8d1b:
return $c1b93;
goto ba2b1;
A7098:
}
public function getDataLayerSettings($D6c92 = false, $E10b1 = false, $Dd5ba = false)
{
goto f047b;
a12ce:
$Dd5ba = [];
goto F2707;
d72e8:
d62f1:
goto a386a;
fc405:
$D6c92[] = ['url_passthrough' => 'true'];
goto Ad4da;
E403a:
Da924:
goto Da77e;
C93f6:
if (!isset($E10b1['user_id'])) {
goto C617a;
}
goto dd9fc;
Acac2:
F3dfb:
goto E0653;
Faa8c:
d0642:
goto f022f;
Bc995:
af2c2:
goto A3ce5;
f8f30:
C617a:
goto fa960;
Be227:
if (!(isset($E10b1['customer_data']) && $E10b1['customer_data'])) {
goto D38f3;
}
goto cb9a3;
fe200:
Fccef:
goto b6e85;
Fbda3:
$D6c92[] = ['um' => $E10b1['useremail']];
goto Bc995;
b37b9:
f0152:
goto C93f6;
dfa25:
F57af:
goto d65e0;
fac9a:
switch ($da543) {
case "checkout/cart":
$c2707 = 'cart';
goto abde5;
case "product/product":
$c2707 = 'productDetail';
goto abde5;
case "product/category":
$c2707 = 'category';
goto abde5;
case "catalog/catalog":
$c2707 = 'category';
goto abde5;
case "catalog/search":
$c2707 = 'search';
goto abde5;
case "catalog/special":
$c2707 = 'special';
goto abde5;
case "catalog/manufacturer/info":
$c2707 = 'Manufacturer';
goto abde5;
case "common/home":
$c2707 = 'homepage';
goto abde5;
}
goto ef09d;
Aa333:
$d48d3 = ['cc_enabled' => 1, 'gdpr_analytics' => 'granted', 'gdpr_marketing' => 'granted', 'ad_user_data' => 'granted', 'ad_personalization' => 'granted', 'consent' => 'grant', 'allowAdFeatures' => 'true', 'tracking_block' => false, 'marketing_block' => false];
goto B8f24;
e956e:
c2cee:
goto F7f0f;
cbc0a:
$D6c92[] = ['adword2Enable' => $E10b1['adword2'], 'adwordConversionID2' => $E10b1['conversion_id2']];
goto ea23c;
F2707:
C51ed:
goto Aa333;
ceffe:
foreach ($D6c92 as $F5c83) {
goto f6c83;
f61f4:
F888c:
goto b1953;
f6c83:
foreach ($F5c83 as $Eed71 => $B3a1a) {
$Df16b[$Eed71] = $B3a1a;
B4b29:
}
goto f61f4;
b1953:
f68a1:
goto F6c9c;
F6c9c:
}
goto Edd14;
bcd6e:
if (!(isset($E10b1['bing_uetid']) && !empty($E10b1['bing_uetid']) && $E10b1['bing_status'] == '1')) {
goto Cabf6;
}
goto A182c;
fb5fd:
$A06c4['sha256_phone_number'] = $E10b1['ph_e164'];
goto Faed2;
a7826:
$D6c92[] = ['allowAdFeatures' => $d48d3['allowAdFeatures'], 'analytics_storage' => $d48d3['gdpr_analytics'], 'ad_storage' => $d48d3['gdpr_marketing'], 'consent' => $d48d3['consent'], 'ad_user_data' => $d48d3['ad_user_data'], 'ad_personalization' => $d48d3['ad_personalization']];
goto ebc20;
f70e0:
if (!($E10b1['conversion_id2'] && $E10b1['adword2'] == '1')) {
goto F4aed;
}
goto cbc0a;
a3ac6:
$A06c4['sha256_email_address'] = $E10b1['em'];
goto D6600;
A260c:
adde5:
goto a9895;
F7f0f:
if (!isset($E10b1['ver'])) {
goto Da924;
}
goto Bcc34;
Fcec1:
$D6c92[] = ['adwordEnable' => $E10b1['adword'], 'adwordConversionID' => $E10b1['conversion_id'], 'adwordConversionLabel' => $E10b1['conversion_label'], 'adwordCurrency' => $E10b1['currency']];
goto f70e0;
B8f24:
$d48d3 = $this->readConsent();
goto d0167;
d80cb:
if (!isset($E10b1['ga4_mid'])) {
goto adde5;
}
goto Edb69;
f4a34:
if (!(isset($E10b1['ga4_status']) && $E10b1['ga4_status'])) {
goto D1e25;
}
goto d80cb;
B2b03:
if (!(isset($E10b1['useremail']) && !empty($E10b1['useremail']))) {
goto af2c2;
}
goto Fbda3;
Ac9ba:
$D6c92[] = ['up' => $E10b1['telephone']];
goto fc209;
Faed2:
D5764:
goto ec8cd;
Da77e:
$Df16b = [];
goto ceffe;
acbdf:
$D6c92[] = ['user_id' => $E10b1['external_id']];
goto b37b9;
c6c91:
$c2707 = '';
goto Fa768;
Ac892:
if (!(isset($E10b1['remarketing']) && $E10b1['remarketing'] == '1')) {
goto f0ba4;
}
goto Aa70e;
a386a:
if ($Dd5ba) {
goto C51ed;
}
goto a12ce;
A8e5c:
if (!isset($E10b1['external_id'])) {
goto f0152;
}
goto acbdf;
de7e2:
if (!(isset($E10b1['glami_code']) && !empty($E10b1['glami_code']) && $E10b1['glami_status'] == '1')) {
goto Fccef;
}
goto bd560;
d65e0:
if (!(isset($E10b1['ln']) && !empty($E10b1['ln']))) {
goto d0642;
}
goto Ced42;
D38c1:
f0ba4:
goto A8e5c;
Edd14:
a3c1a:
goto Aff45;
Eb366:
$D6c92[] = ['pinterest_status' => '1', 'pinterest_tag' => $E10b1['pinterest_tag']];
goto d03d9;
dfabb:
abde5:
goto ee147;
ea23c:
F4aed:
goto f52a8;
Fa768:
if (!isset($da543)) {
goto F72d4;
}
goto fac9a;
a9895:
D1e25:
goto f9a1e;
A182c:
$D6c92[] = ['bingEnable' => '1', 'bingid' => $E10b1['bing_uetid']];
goto f339c;
f047b:
if ($D6c92) {
goto d62f1;
}
goto e27b5;
E96c0:
if (!(isset($E10b1['fn']) && !empty($E10b1['fn']))) {
goto F57af;
}
goto D90e6;
ad128:
$Fcb6c = isset($da543) ? $da543 : 'common/home';
goto c6c91;
dd9fc:
$D6c92[] = ['user_id' => $E10b1['user_id']];
goto f8f30;
Edb69:
$D6c92[] = ['ga4_mid' => $E10b1['ga4_mid'], 'ga4_status' => $E10b1['ga4_status']];
goto A260c;
ebc20:
if (!($d48d3['gdpr_analytics'] != 'granted' || $d48d3['gdpr_marketing'] != 'granted')) {
goto A255a;
}
goto fc405;
f52a8:
e5e8d:
goto Ac892;
c1866:
$D6c92[] = ['ue' => $E10b1['email']];
goto Acac2;
Ced42:
$A06c4['address']['sha256_last_name'] = $E10b1['ln'];
goto Faa8c;
cb9a3:
$A06c4['address'] = [];
goto E96c0;
d03d9:
Cd064:
goto de7e2;
ef09d:
Bb8e7:
goto dfabb;
fa960:
$A06c4 = [];
goto Be227;
a0a07:
$D6c92[] = ['currencyCode' => $E10b1['currency'], 'store_country' => isset($E10b1['store_country']) ? $E10b1['store_country'] : '', 'locale' => $E10b1['locale']];
goto bcd6e;
f022f:
if (!(isset($E10b1['em']) && !empty($E10b1['em']))) {
goto b5cb2;
}
goto a3ac6;
d0167:
$da543 = $D6c92[0]['route'];
goto a7826;
f339c:
Cabf6:
goto ce61d;
A3ce5:
if (!(isset($E10b1['email']) && !empty($E10b1['email']))) {
goto F3dfb;
}
goto c1866;
b6e85:
if (!(isset($E10b1['cj_code']) && !empty($E10b1['cj_code']) && $E10b1['cj_status'] == '1')) {
goto c2cee;
}
goto ad128;
Ad4da:
A255a:
goto f4a34;
ee147:
F72d4:
goto c450b;
A81b4:
if (!(isset($E10b1['ph_e164']) && !empty($E10b1['ph_e164']))) {
goto D5764;
}
goto fb5fd;
fc209:
eb49c:
goto bd279;
c450b:
$D6c92[] = ['cj_status' => '1', 'cj_code' => $E10b1['cj_code'], 'cj_currency' => $E10b1['cj_currency'], 'cj_currency_value' => $E10b1['cj_currency_value'], 'cj_actionid' => $E10b1['cj_actionid'], 'cj_page' => $c2707];
goto e956e;
ec8cd:
D38f3:
goto B2b03;
Bcc34:
$D6c92[] = ['VER' => $E10b1['ver']];
goto E403a;
D6600:
b5cb2:
goto A81b4;
f9a1e:
if (!($E10b1['conversion_id'] && $E10b1['adword'] == '1')) {
goto e5e8d;
}
goto Fcec1;
Aff45:
return $Df16b;
goto edf5e;
bd560:
$D6c92[] = ['GlamiEnable' => '1', 'glami_code' => $E10b1['glami_code']];
goto fe200;
ce61d:
if (!(isset($E10b1['pinterest_tag']) && !empty($E10b1['pinterest_tag']) && $E10b1['pinterest_status'] == '1')) {
goto Cd064;
}
goto Eb366;
D90e6:
$A06c4['address']['sha256_first_name'] = $E10b1['fn'];
goto dfa25;
E0653:
if (!(isset($E10b1['telephone']) && !empty($E10b1['telephone']))) {
goto eb49c;
}
goto Ac9ba;
e27b5:
$D6c92 = [];
goto d72e8;
bd279:
$D6c92[] = ['user_data' => $A06c4];
goto a0a07;
Aa70e:
$D6c92[] = ['RemarketingEnable' => '1'];
goto D38c1;
edf5e:
}
public function getDimensionsX()
{
goto fe74b;
baa11:
$d6674 = 1;
goto b4840;
Ace4d:
if (!(isset($E10b1['custom_dimension' . $d6674 . '_text']) && $E10b1['custom_dimension' . $d6674 . '_text'] != 'disable')) {
goto F5ed7;
}
goto Faf17;
A7bb7:
$d6674++;
goto fe117;
b4840:
Fb3ed:
goto F8919;
fe117:
goto C89c6;
goto a40d4;
C8aaf:
dedf1:
goto D94fe;
af00e:
D454d:
goto e592a;
aa1a7:
if (!(isset($E10b1['custom_dimension' . $d6674]) && $E10b1['custom_dimension' . $d6674] != '0' && isset(${'dimension_value' . $d6674}) && ${'dimension_value' . $d6674})) {
goto f5b11;
}
goto Fd87a;
B2cbd:
$Fdac3 = '';
goto Ace4d;
E630b:
c6341:
goto A7bb7;
a0ef5:
f5b11:
goto E630b;
ef071:
switch ($Fdac3) {
case "ecomm_prodid":
goto c53ac;
a7cb0:
$d0415 = '';
goto d75d4;
f0b04:
goto bc9f8;
goto e3185;
e3185:
Dba3a:
goto dd14e;
D6816:
cccd8:
goto fd891;
a4657:
${'dimension_value' . $d6674} = $d0415;
goto Bbd13;
c9e7c:
goto F5d9b;
goto F2629;
dd14e:
foreach ($Dd5ba['ecomm_prodid'] as $Eb205) {
goto e5c68;
e5c68:
if (!($af607 > 0)) {
goto e9bab;
}
goto e72d6;
c6ce0:
$af607++;
goto E1325;
E1325:
D933b:
goto ef90e;
a3d01:
$d0415 .= isset($Eb205) ? $Eb205 : false;
goto c6ce0;
cce14:
e9bab:
goto a3d01;
e72d6:
$d0415 .= ',';
goto cce14;
ef90e:
}
goto D6816;
c53ac:
if (isset($Dd5ba['ecomm_prodid'])) {
goto a4514;
}
goto F36b9;
D8f4d:
F5d9b:
goto a4657;
F36b9:
$d0415 = false;
goto c9e7c;
Bbd13:
goto Aee72;
goto E753c;
fd891:
bc9f8:
goto D8f4d;
E40cd:
$af607 = 0;
goto a7cb0;
d75d4:
$ffd18 = $this->gtm->check_array($Dd5ba['ecomm_prodid']);
goto A4436;
c8fdb:
$d0415 = $Dd5ba['ecomm_prodid'];
goto f0b04;
F2629:
a4514:
goto E40cd;
A4436:
if ($ffd18) {
goto Dba3a;
}
goto c8fdb;
E753c:
case "ecomm_pagetype":
${'dimension_value' . $d6674} = isset($Dd5ba['ecomm_pagetype']) ? $Dd5ba['ecomm_pagetype'] : false;
goto Aee72;
case "ecomm_totalvalue":
${'dimension_value' . $d6674} = isset($Dd5ba['ecomm_totalvalue']) ? $Dd5ba['ecomm_totalvalue'] : false;
goto Aee72;
case "dynx_itemid":
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_itemid']) ? $Dd5ba['dynx_itemid'] : false;
goto Aee72;
case "dynx_itemid2":
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_itemid2']) ? $Dd5ba['dynx_itemid2'] : false;
goto Aee72;
case "dynx_pagetype":
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_pagetype']) ? $Dd5ba['dynx_pagetype'] : false;
goto Aee72;
case "dynx_totalvalue":
${'dimension_value' . $d6674} = isset($Dd5ba['dynx_totalvalue']) ? $Dd5ba['dynx_totalvalue'] : false;
goto Aee72;
case "user_id":
${'dimension_value' . $d6674} = isset($E10b1['user_id']) ? $E10b1['user_id'] : false;
goto Aee72;
case "disable":
${'dimension_value' . $d6674} = false;
goto Aee72;
}
goto A2ee2;
Dc7e5:
C89c6:
goto b5c10;
A2ee2:
D77e9:
goto Fb2b6;
a40d4:
d49eb:
goto af00e;
A50f4:
F5ed7:
goto C8aaf;
F8919:
if (!($d6674 <= 8)) {
goto Ccbdb;
}
goto B2cbd;
D94fe:
$d6674++;
goto ea06b;
b5c10:
if (!($d6674 <= 8)) {
goto d49eb;
}
goto aa1a7;
Fb2b6:
Aee72:
goto A50f4;
Fd87a:
$D6c92[] = ['dimension_index' . $d6674 => $E10b1['custom_dimension' . $d6674], 'dimension_text' . $d6674 => ${'dimension_value' . $d6674}];
goto a0ef5;
ea06b:
goto Fb3ed;
goto F3347;
Faf17:
$Fdac3 = $E10b1['custom_dimension' . $d6674 . '_text'];
goto E0263;
fe74b:
if (!(isset($E10b1['custom_dimension']) && $E10b1['custom_dimension'])) {
goto D454d;
}
goto baa11;
E0263:
${'dimension_value' . $d6674} = false;
goto ef071;
c8002:
$d6674 = 1;
goto Dc7e5;
F3347:
Ccbdb:
goto c8002;
e592a:
}
public function tagmangerPmap($D88b8 = '', $c482b = '', $bf361 = '')
{
goto e920f;
A8e81:
goto b8657;
goto ba9b9;
Bf435:
if ($fb345 == 'sku') {
goto e8d2d;
}
goto fe745;
f1d4e:
ca3c0:
goto E7342;
B314f:
$f95b0 = $bf361 . '_' . $f0883;
goto b2c79;
A506d:
$D3cbe = $this->config->get('config_currency');
goto Df637;
c2279:
b8657:
goto E5b01;
fcdbb:
Aa8bc:
goto Ae3d7;
D62b9:
$f0883 = 'mx';
goto ecd58;
E5b01:
if (!(isset($E10b1['id_prefix']) && !empty($E10b1['id_prefix']))) {
goto D59f7;
}
goto f7a67;
ad248:
goto b8657;
goto c2aa0;
ab7a5:
goto A2960;
goto f1d4e;
Ae3d7:
$f0883 = 'au';
goto aa6ef;
b9c3a:
if ($fb345 == 'model') {
goto Bd6c3;
}
goto Bf435;
b2da8:
E0d39:
goto a809f;
Df637:
$e3cab = ['GBP', 'USD', 'EUR', 'AUD', 'BRL', 'CZK', 'JPY', 'CHF', 'CAD', 'DKK', 'INR', 'MXN', 'NOK', 'PLN', 'RUB', 'SEK', 'TRY'];
goto acf3b;
a5999:
$f0883 = 'us';
goto Cb47a;
acc9f:
$f0883 = 'in';
goto E240d;
E54bc:
if ($D3cbe == 'CHF') {
goto ca3c0;
}
goto a5de6;
A33c0:
$f0883 = 'gb';
goto B37a8;
Bd66e:
goto A2960;
goto d55d5;
aa6ef:
goto A2960;
goto c5e2f;
f7a67:
$f95b0 = trim($E10b1['id_prefix']) . $f95b0;
goto ec68a;
A815e:
if ($D3cbe == 'CAD') {
goto E1313;
}
goto E54bc;
Dd7e5:
$f0883 = 'ca';
goto ab7a5;
e920f:
$E10b1 = $this->settings;
goto a9143;
c2aa0:
cce9f:
goto D873f;
D93f5:
$f95b0 = $f95b0 . trim($E10b1['id_suffix']);
goto b2da8;
a9143:
$fb345 = $E10b1['pmap'];
goto A506d;
eaec6:
$f95b0 = $bf361;
goto e1375;
ecd58:
goto A2960;
goto ce688;
d55d5:
f510e:
goto A33c0;
a809f:
return (string) $f95b0;
goto eb5fc;
F72d6:
goto b8657;
goto d3407;
D6c61:
$D3cbe = 'GBP';
goto c8f30;
F6d5b:
if ($D3cbe == 'AUD') {
goto Aa8bc;
}
goto A815e;
Bcdc0:
$f95b0 = $c482b;
goto ad248;
Ed517:
Bd6c3:
goto eaa54;
c5e2f:
E1313:
goto Dd7e5;
c8f30:
db6fe:
goto C802d;
C802d:
if ($D3cbe == 'GBP') {
goto f510e;
}
goto Ce443;
Cb47a:
goto A2960;
goto fcdbb;
dcbe7:
$f95b0 = $bf361 . '_' . $this->config->get('config_language');
goto c2279;
E41a0:
goto A2960;
goto e4556;
d3407:
A256d:
goto eaec6;
ec68a:
D59f7:
goto ec525;
acf3b:
if (in_array($D3cbe, $e3cab)) {
goto db6fe;
}
goto D6c61;
e1375:
goto b8657;
goto Ed517;
eb58d:
if ($fb345 == 'product_id_language') {
goto Db23e;
}
goto e853b;
Fc053:
Db23e:
goto dcbe7;
a6dd0:
if ($D3cbe == 'INR') {
goto fe724;
}
goto Bd66e;
C6f5f:
Bbb1f:
goto B314f;
Ce443:
if ($D3cbe == 'USD') {
goto Cece4;
}
goto F6d5b;
F4aa0:
Cece4:
goto a5999;
E7342:
$f0883 = 'ch';
goto E41a0;
ba9b9:
e8d2d:
goto Bcdc0;
b2974:
if ($fb345 == 'product_id') {
goto A256d;
}
goto b9c3a;
eaa54:
$f95b0 = $D88b8;
goto A8e81;
fe745:
if ($fb345 == 'model_product_id') {
goto cce9f;
}
goto Aa198;
D873f:
$f95b0 = $D88b8 . '_' . $bf361;
goto D6395;
ce688:
fe724:
goto acc9f;
D6395:
goto b8657;
goto C6f5f;
b2c79:
goto b8657;
goto Fc053;
Aa198:
if ($fb345 == 'product_id_currency') {
goto Bbb1f;
}
goto eb58d;
e4556:
E41e0:
goto D62b9;
B37a8:
goto A2960;
goto F4aa0;
E240d:
A2960:
goto b2974;
a5de6:
if ($D3cbe == 'MXN') {
goto E41e0;
}
goto a6dd0;
e853b:
$f95b0 = $bf361;
goto F72d6;
ec525:
if (!(isset($E10b1['id_suffix']) && !empty($E10b1['id_suffix']))) {
goto E0d39;
}
goto D93f5;
eb5fc:
}
public function tagmangerPtitle($B3385 = '', $da8eb = '', $D88b8 = '', $bf361 = '')
{
goto Fabb8;
Ce672:
$a5c4b = $this->cleanStr($a5c4b);
goto D8f3c;
f5b06:
if ($a5c4b == 'name') {
goto F722d;
}
goto Cdd35;
B41d1:
F722d:
goto Dadaa;
de177:
b312f:
goto Ce672;
Dadaa:
$a5c4b = $B3385;
goto fc3e6;
d1625:
$a5c4b = $B3385;
goto f0568;
f0568:
goto b312f;
goto B41d1;
E3ee0:
$a5c4b = $E10b1['ptitle'];
goto f5b06;
Cdd35:
if ($a5c4b == 'brand_model') {
goto Dad26;
}
goto d1625;
Cf319:
Dad26:
goto F2a94;
Fabb8:
$E10b1 = $this->settings;
goto E3ee0;
F2a94:
$a5c4b = $da8eb . ' ' . $D88b8;
goto de177;
fc3e6:
goto b312f;
goto Cf319;
D8f3c:
return $a5c4b;
goto ad69b;
ad69b:
}
public function getProductInfo($bf361)
{
goto c4888;
B8a99:
c5ca1:
goto a6949;
ccc8f:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto A435e;
}
goto D8b8a;
Eea74:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto c5ca1;
}
goto E4a60;
d099b:
D5934:
goto Ad730;
a6949:
if ($c1b93) {
goto D5934;
}
goto Ee968;
B09c7:
$B535f = $this->db->query("\r\n\t\t\t\tSELECT DISTINCT *, m.name AS manufacturer, \r\n\t\t\t\t(SELECT price FROM " . DB_PREFIX . "product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '" . (int) $this->config->get('config_customer_group_id') . "' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special\r\n\t\t\t\t FROM " . DB_PREFIX . "product p \r\n\t\t\t\t LEFT JOIN " . DB_PREFIX . "manufacturer m ON (p.manufacturer_id = m.manufacturer_id) \r\n\t\t\t\t WHERE p.product_id = '" . (int) $bf361 . "'");
goto c2cca;
D8b8a:
$this->cache->set('dmt.product_info.' . $bf361, $c1b93);
goto E5f18;
Dc7a7:
$c1b93 = $B535f->row;
goto B5109;
Cd0db:
D7a56:
goto Af2a3;
c2cca:
if (!$B535f->num_rows) {
goto c753c;
}
goto Dc7a7;
c4888:
$E10b1 = $this->settings;
goto D7d20;
D7d20:
if (!(isset($bf361) && !empty($bf361))) {
goto D7a56;
}
goto A2956;
A2956:
$c1b93 = false;
goto Eea74;
E5f18:
A435e:
goto d099b;
Ad730:
return $c1b93;
goto Cd0db;
Ee968:
$c1b93 = [];
goto B09c7;
E4a60:
$c1b93 = $this->cache->get('dmt.product_info.' . $bf361);
goto B8a99;
B5109:
c753c:
goto ccc8f;
Af2a3:
}
public function getProductGTIN($bf361)
{
goto e459d;
Ff1cd:
aa733:
goto A938b;
Aabe7:
$c1b93 = false;
goto A030c;
ed6e1:
f2768:
goto B47fd;
A030c:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto f2768;
}
goto A1e5d;
E3667:
$c1b93 = [];
goto f278e;
A938b:
Cd64e:
goto e20f2;
F3f54:
$c1b93 = isset($B535f->row['ean']) ? $B535f->row['ean'] : '';
goto Ef480;
f278e:
$B535f = $this->db->query("SELECT ean FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bf361 . "' LIMIT 1 ");
goto F3de2;
Ef480:
c9d11:
goto fd226;
B47fd:
if ($c1b93) {
goto Cd64e;
}
goto E3667;
A1e5d:
$c1b93 = $this->cache->get('dmt.gtin.' . $bf361);
goto ed6e1;
d3774:
Af176:
goto f3cc9;
e459d:
$E10b1 = $this->settings;
goto Cb84c;
F3de2:
if (!($B535f->num_rows == 1)) {
goto c9d11;
}
goto F3f54;
F00d3:
$this->cache->set('dmt.gtin.' . $bf361, $c1b93);
goto Ff1cd;
Cb84c:
if (!(isset($bf361) && !empty($bf361))) {
goto Af176;
}
goto Aabe7;
fd226:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto aa733;
}
goto F00d3;
e20f2:
return $c1b93;
goto d3774;
f3cc9:
}
public function getProductSKU($bf361)
{
goto e1aa1;
D6577:
ec787:
goto e8ce1;
b9a78:
return $c1b93;
goto ba2ec;
D2cbf:
$c1b93 = $this->cache->get('dmt.sku.' . $bf361);
goto B258e;
b0ab7:
if ($c1b93) {
goto d0030;
}
goto a2529;
b134f:
$this->cache->set('dmt.sku.' . $bf361, $c1b93);
goto D6577;
e1aa1:
$E10b1 = $this->settings;
goto E18e6;
E18e6:
if (!(isset($bf361) && !empty($bf361))) {
goto Fbabd;
}
goto B275a;
A3c4a:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto ec787;
}
goto b134f;
c55bf:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto B59cf;
}
goto D2cbf;
B258e:
B59cf:
goto b0ab7;
E57d2:
if (!($B535f->num_rows == 1)) {
goto fbb5a;
}
goto d4585;
ba2ec:
Fbabd:
goto F00e4;
a2529:
$c1b93 = [];
goto E43cc;
E43cc:
$B535f = $this->db->query("SELECT sku FROM " . DB_PREFIX . "product WHERE product_id = '" . (int) $bf361 . "' LIMIT 1 ");
goto E57d2;
e8ce1:
d0030:
goto b9a78;
c885e:
fbb5a:
goto A3c4a;
B275a:
$c1b93 = false;
goto c55bf;
d4585:
$c1b93 = isset($B535f->row['sku']) ? $B535f->row['sku'] : '';
goto c885e;
F00e4:
}
public function getProductCatName($bf361, $Cf016 = false)
{
goto fc189;
F9bf6:
if (!(isset($e0877) && $this->check_array($e0877))) {
goto a94cc;
}
goto be516;
de66e:
if (!(isset($bf361) && empty($bf361))) {
goto fe9d2;
}
goto F5f12;
Cfe0e:
d8817:
goto E9cc8;
c1c6f:
$d83ed = '';
goto D57af;
D57af:
$B3525 = '';
goto d00b5;
F5f12:
return false;
goto Ac153;
b6df2:
E64fd:
goto e9f07;
fba77:
a94cc:
goto C3717;
Ac153:
fe9d2:
goto f8cf2;
f2bec:
$B535f = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int) $bf361 . "' ");
goto Bcdda;
B1349:
$d6674 = 1;
goto Edbae;
e9f07:
$A50b2 = $this->cleanStr($C59b9);
goto aa708;
da863:
$c1b93 = $this->cache->get($aced8);
goto C9c93;
D13be:
$Cf31f = $e0877;
goto F9bf6;
d00b5:
$C59b9 = '';
goto e6779;
ee9b4:
c7711:
goto f2bec;
E7903:
aac22:
goto d1a50;
a94f7:
return $c1b93;
goto ee9b4;
Eb649:
$Cf31f = [];
goto c1c6f;
B8528:
$this->cache->set($aced8, $c1b93);
goto c5551;
Bcdda:
$e2904 = $B535f->rows;
goto Aa3f3;
Edbae:
if (!isset($Cf31f)) {
goto a985d;
}
goto d276d;
ec030:
$B3525 = $this->cleanStr($C59b9);
goto B1349;
De8b0:
return false;
goto Ad638;
d6227:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto fe286;
}
goto da863;
E57ac:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto Cb75c;
}
goto B8528;
cdec5:
if (!$c1b93) {
goto c7711;
}
goto a94f7;
be516:
foreach ($e0877 as $F5c83) {
goto Dd32d;
c2869:
$f86e4 = $B535f->row['category_id'];
goto A9ce0;
f3ec7:
$C59b9 .= ' > ';
goto B1bad;
Dd32d:
if (!($d6674 > 1)) {
goto a2482;
}
goto f3ec7;
B1bad:
a2482:
goto f8d32;
f8d32:
$C59b9 .= $F5c83['name'];
goto c2869;
e30b8:
E81d2:
goto De2e5;
A9ce0:
$d6674++;
goto e30b8;
De2e5:
}
goto b6df2;
d1a50:
a985d:
goto fba77;
e6779:
$d6674 = 1;
goto D2c69;
D2c69:
$Cada0 = '';
goto f2a73;
f2a73:
$Df67b = false;
goto cf724;
Ad638:
C6ecc:
goto ed740;
E9cc8:
if (!(!isset($F5c83) || !$this->check_array($F5c83))) {
goto C6ecc;
}
goto De8b0;
Aa3f3:
foreach ($e2904 as $E8be6) {
goto Db0ff;
ca2fa:
f9c7a:
goto F7560;
ca661:
goto d8817;
goto e3be0;
e17ee:
$F5c83 = $this->getparent($E8be6['category_id']);
goto ca661;
f0479:
aae8a:
goto ca2fa;
b48e0:
$F5c83 = $this->getparent($E8be6['category_id']);
goto D63a4;
e3be0:
goto aae8a;
goto daf72;
daf72:
be3ad:
goto b48e0;
Db0ff:
if ($Cf016 && $Cf016 == $E8be6['category_id']) {
goto be3ad;
}
goto e17ee;
D63a4:
goto d8817;
goto f0479;
F7560:
}
goto Cfe0e;
C3717:
$c1b93 = ['category' => isset($A50b2) ? $A50b2 : '', 'item_list_id' => isset($Df67b['category_id']) ? $Df67b['category_id'] : $d83ed, 'item_list_name' => isset($Df67b['name']) ? $Df67b['name'] : $B3525, 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : ''];
goto E57ac;
cf724:
$aced8 = 'dmt.catdata.' . $bf361 . ($Cf016 ? '.' . $Cf016 : '');
goto d6227;
fc189:
$E10b1 = $this->settings;
goto de66e;
aa708:
$d83ed = $B535f->row['category_id'];
goto ec030;
ed740:
$e0877 = array_reverse($F5c83);
goto D13be;
d276d:
foreach ($Cf31f as $F5c83) {
goto B0c43;
df45f:
$d6674++;
goto dc99f;
Eb30b:
C3ddb:
goto ec060;
cad73:
A9815:
goto fd137;
C93fc:
goto aac22;
goto caf71;
caf71:
D7357:
goto Eb30b;
Cc3dd:
Eebd9:
goto df45f;
fd137:
$A1d57 = $this->cleanStr($F5c83['name']);
goto Cc3dd;
c54c5:
${'item_category' . $d6674} = $this->cleanStr($F5c83['name']);
goto Baa09;
dc99f:
if (!($d6674 > 6)) {
goto D7357;
}
goto C93fc;
B0c43:
if ($d6674 == 1) {
goto A9815;
}
goto c54c5;
Baa09:
goto Eebd9;
goto cad73;
ec060:
}
goto E7903;
C9c93:
fe286:
goto cdec5;
bf20f:
return $c1b93;
goto df5d1;
c5551:
Cb75c:
goto bf20f;
f8cf2:
$c1b93 = false;
goto Eb649;
df5d1:
}
public function getProductCatID($bf361)
{
goto B9c64;
D4d11:
$this->cache->set('dmt.cat.' . $bf361, $A50b2);
goto A9f48;
B9c64:
$E10b1 = $this->settings;
goto dfaf5;
ed5b7:
return $A50b2;
goto e0aba;
Db1ff:
E31d8:
goto Bbdaa;
E6944:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto A8245;
}
goto D4d11;
e0aba:
C5d18:
goto b3728;
a09a4:
d2733:
goto Fc53e;
f259e:
goto E31d8;
goto a09a4;
C7ff3:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto a8163;
}
goto E807f;
Fc53e:
$A50b2 = $B535f->row['category_id'];
goto Db1ff;
A9f48:
A8245:
goto ed5b7;
dd1d1:
$A50b2 = 0;
goto f259e;
E807f:
$A50b2 = $this->cache->get('dmt.cat.' . $bf361);
goto c3b49;
dfaf5:
if (!(isset($bf361) && !empty($bf361))) {
goto C5d18;
}
goto a3ad6;
e3ede:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_to_category WHERE product_id = '" . (int) $bf361 . "' ORDER BY category_id DESC LIMIT 1 ");
goto a89dd;
a3ad6:
$A50b2 = false;
goto C7ff3;
Bbdaa:
ff082:
goto E6944;
a89dd:
if ($B535f->num_rows == 1) {
goto d2733;
}
goto dd1d1;
c3b49:
a8163:
goto F6d69;
F6d69:
if ($A50b2) {
goto ff082;
}
goto e3ede;
b3728:
}
public function getparent($C7690)
{
goto cd2df;
d35bb:
d34f2:
goto Ee841;
dbe72:
f8d15:
goto e46c2;
b118e:
$c1b93 = [];
goto bcc4f;
f00c3:
if ($c1b93) {
goto ec863;
}
goto b118e;
f2881:
$c1b93[] = $a1316->row;
goto e2e9b;
e46c2:
ec863:
goto E1dc4;
b5335:
Fc8b2:
goto f00c3;
E1dc4:
return $c1b93;
goto ad2b8;
cd2df:
$E10b1 = $this->settings;
goto f6d1a;
e2e9b:
if (!($a1316->row['parent_id'] != 0)) {
goto d34f2;
}
goto b7bd1;
C4104:
$c1b93 = $this->cache->get('dmt.parent.' . $C7690);
goto b5335;
d4350:
$this->cache->set('dmt.parent.' . $C7690, $c1b93);
goto dbe72;
Ee841:
d392f:
goto F63ad;
b7bd1:
$c1b93 = array_merge($c1b93, $this->getparent($a1316->row['parent_id']));
goto d35bb;
e627d:
if (!($a1316->num_rows == 1)) {
goto d392f;
}
goto f2881;
F63ad:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto f8d15;
}
goto d4350;
f88d7:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto Fc8b2;
}
goto C4104;
f6d1a:
$c1b93 = false;
goto f88d7;
bcc4f:
$a1316 = $this->db->query("SELECT c.category_id, cd1.name AS name, c.parent_id FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd1 ON (c.category_id = cd1.category_id) WHERE cd1.language_id = '" . (int) $this->config->get('config_language_id') . "' AND c.category_id = '" . (int) $C7690 . "'");
goto e627d;
ad2b8:
}
public function getProductBrandName($bf361)
{
goto b0a31;
d5839:
$C8ddf = $this->cache->get('dmt.brand.' . $bf361);
goto A43c4;
D6ccb:
E1605:
goto fbce1;
E9ceb:
df8a1:
goto D6ccb;
A5d90:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto df8a1;
}
goto a7a6a;
a7a6a:
$this->cache->set('dmt.brand.' . $bf361, $C8ddf);
goto E9ceb;
Cb2b5:
bd1c9:
goto acefe;
ae3a2:
$C8ddf = $this->cleanStr($da8eb);
goto A5d90;
b9787:
$da8eb = '';
goto e209e;
C9e2e:
$B535f = $this->db->query("SELECT m.name from " . DB_PREFIX . "manufacturer m left join " . DB_PREFIX . "product p on m.manufacturer_id = p.manufacturer_id WHERE p.product_id = " . $bf361);
goto F90b3;
B403e:
$da8eb = $B535f->row['name'];
goto C14ee;
C483a:
if (!(isset($bf361) && !empty($bf361))) {
goto bd1c9;
}
goto Ece16;
e209e:
goto B5b3e;
goto F0260;
fbce1:
return $C8ddf;
goto Cb2b5;
Da819:
if ($C8ddf) {
goto E1605;
}
goto C9e2e;
F90b3:
if (isset($B535f->row['name'])) {
goto E9ddd;
}
goto b9787;
b0a31:
$E10b1 = $this->settings;
goto a87d1;
A43c4:
C13ba:
goto Da819;
Ece16:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto C13ba;
}
goto d5839;
a87d1:
$C8ddf = '';
goto C483a;
C14ee:
B5b3e:
goto ae3a2;
F0260:
E9ddd:
goto B403e;
acefe:
}
public function getProductImages($bf361)
{
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_image WHERE product_id = '" . (int) $bf361 . "' ORDER BY sort_order ASC LIMIT 1");
return $B535f->rows;
}
public function getProductCost($bf361)
{
goto Bff06;
D79ac:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_cost WHERE product_id = '" . (int) $bf361 . "' LIMIT 1");
goto Cacb8;
B3204:
Cbd00:
goto Fe6f3;
e341a:
$this->cache->set('dmt.cost.' . $bf361, $C2050);
goto f81bc;
f19a4:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto F0ab3;
}
goto e341a;
f81bc:
F0ab3:
goto F6d65;
Dac27:
if (!(!isset($bf361) && empty($bf361))) {
goto b5bd7;
}
goto F5fea;
da7a5:
b5bd7:
goto Fd6dd;
fbc0e:
$C2050 = $B535f->row['cost'];
goto f19a4;
Fd6dd:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto eedc5;
}
goto F0919;
F5fea:
return $C2050;
goto da7a5;
A5192:
if ($C2050) {
goto Cbd00;
}
goto D79ac;
f07e5:
eedc5:
goto A5192;
Fe6f3:
return $C2050;
goto C605c;
Cacb8:
if (!($B535f->num_rows == 1)) {
goto f263a;
}
goto fbc0e;
Bff06:
$C2050 = 0;
goto Dac27;
F0919:
$C2050 = $this->cache->get('dmt.cost.' . $bf361);
goto f07e5;
F6d65:
f263a:
goto B3204;
C605c:
}
public function getProduct($bf361 = false, $Be6f2 = array(), $E7330 = array())
{
goto A7830;
a6d6c:
$Ae2c5 = $bd5a9;
goto d62c3;
a44be:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto Ba1cc;
}
goto Db5bc;
bc0f5:
Bc632:
goto Edbc6;
e59da:
$C51cf = ['track' => 'ViewContent'];
goto cf35a;
F66f3:
$B1d6b = ['sku' => $f95b0, 'name' => $Bf5ae, 'category' => $A1d57, 'price' => $ace9a];
goto cccf8;
Bd986:
$F9d4b = $A50b2['item_category2'];
goto F8b7e;
Ce3b5:
$Aec0b = $this->url->link('product/product', '&product_id=' . $bf361);
goto bd853;
ecf3d:
$fc605 = '';
goto Fec7c;
ae753:
b092f:
goto Ab131;
a3619:
if (isset($Be6f2['price'])) {
goto B84ff;
}
goto C6a2d;
C0e9b:
$bd5a9 = $Be6f2['special'];
goto C1a0f;
d5610:
if (!$E10b1['matomo_status']) {
goto Ae09b;
}
goto F66f3;
b7ada:
$B3525 = $A50b2['item_list_name'];
goto a3d4e;
fde71:
goto ba974;
goto Adf90;
a17f7:
$C8d5b = ['price' => $ace9a, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => 1, 'brands' => $da8eb, 'item_category' => $D1f20, 'description' => 'Product Viewed'];
goto C347b;
aa837:
$fe56e = [];
goto B51bb;
e3b6f:
$e34fb = $E10b1['currency'];
goto d460e;
eebde:
$c482b = isset($Be6f2['sku']) ? $Be6f2['sku'] : '';
goto d20e3;
Ba9db:
if (!(isset($A50b2) && $A50b2)) {
goto d331e;
}
goto d3963;
A9cd0:
$fe56e = ['send_to' => 'ads', 'value' => $ace9a, 'items' => $e5684];
goto Faf8e;
D6ddd:
Ac3a6:
goto b035b;
B5bd1:
$bd5a9 = $Be6f2['price'];
goto Be134;
C347b:
$C431a = ['content_category' => $D1f20, 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $ace9a, 'brands' => $da8eb, 'num_items' => 1];
goto ae753;
a764f:
if (!isset($Be6f2['image'])) {
goto b6ba0;
}
goto cc612;
Cb4d3:
$f6a53[] = ['content_category' => $D1f20, 'content_name' => $Bf5ae, 'price' => $ace9a, 'content_id' => $f95b0, 'quantity' => 1, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $ace9a, 'description' => $Bf5ae, 'content_type' => 'product'];
goto a8ec0;
afd77:
$D2701 = $A50b2['item_category5'];
goto C74a6;
Faced:
$de949 = [];
goto eed09;
f9403:
B367e:
goto e2bac;
b37a6:
$c6ed3[] = [];
goto Faced;
f9ceb:
$f6a53 = [];
goto Fd58c;
b9ccf:
$F7fe3 = 0;
goto A4568;
D2491:
$e34fb = $E10b1['currency'];
goto b9ccf;
Cbd96:
$ace9a = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto F421c;
Fd58c:
$a0e51 = [];
goto F58cd;
a802b:
$b1eff = '1-' . $this->eventid();
goto da99f;
fa35e:
A93a6:
goto Fec2b;
Faf8e:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $ace9a, 'items' => $de949];
goto be727;
e6cef:
$D1f20 = $d83ed = $B3525 = $A1d57 = $F9d4b = $e41da = $a2de8 = $D2701 = '';
goto a3619;
A4679:
$baf8f = [];
goto B51c8;
E5151:
c2c29:
goto dd05a;
ed823:
b8388:
goto d6488;
accd7:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', '');
goto Cc012;
C74a6:
d331e:
goto b6bd6;
Ea830:
$f95b0 = $this->gtm->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id']);
goto e93b5;
D058e:
$E10b1 = $this->config();
goto a802b;
B51bb:
$Aec0b = '';
goto ecf3d;
eac6b:
F90a8:
goto a84a8;
da99f:
$c1b93 = [];
goto f9ceb;
d3963:
$D1f20 = $A50b2['category'];
goto b06ee;
C1335:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto b8388;
}
goto aa3e5;
b940d:
$a2de8 = $A50b2['item_category4'];
goto afd77;
C2073:
if (!$E10b1['tiktok_status']) {
goto Bc632;
}
goto Cb4d3;
e790d:
$baf8f = ['value' => $ace9a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto fa35e;
F0b35:
f042d:
goto c28a8;
e93b5:
$da8eb = $this->gtm->cleanStr($Be6f2['manufacturer']);
goto Aa430;
bd853:
b1aae:
goto df59a;
F7372:
$d9e72 = $this->getModuleProducts($E7330, 'Related Items', 'related_items');
goto E5151;
F5f37:
$Fb034 = isset($Be6f2['ean']) ? $Be6f2['ean'] : '';
goto E2ee8;
dbce5:
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => $B3525, 'item_list_id' => $d83ed, 'item_category' => $A1d57, 'item_category2' => $F9d4b, 'item_category3' => $e41da, 'item_category4' => $a2de8, 'item_category5' => $D2701, 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $ace9a, 'curency' => $E10b1['currency'], 'item_image' => $fc605, 'item_url' => $Aec0b, 'index' => 0, 'quantity' => 1];
goto d5610;
a3d4e:
$A1d57 = $A50b2['item_category'];
goto Bd986;
Cc012:
$e34fb = $E10b1['alt_currency'];
goto f9403;
d3ab4:
return false;
goto eac6b;
aa3e5:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto ed823;
a84a8:
if (!($this->check_array($Be6f2) && count($Be6f2) < 1)) {
goto A92af;
}
goto Cf7d3;
Ff1dd:
return $c1b93;
goto c10dd;
A7830:
if ($bf361) {
goto F90a8;
}
goto d3ab4;
d20e3:
$Bf5ae = $this->gtm->tagmangerPtitle($Be6f2['name'], $da8eb, $D88b8, $Be6f2['product_id']);
goto F5f37;
b6bd6:
if (!(isset($E10b1['admitad_retag_status']) && $E10b1['admitad_retag_status'])) {
goto b1aae;
}
goto a764f;
B2f41:
foreach ($d5573 as $A63e4) {
$fc605 = '//image/' . $A63e4['image'];
d212f:
}
goto D6ddd;
Ef07e:
$f445c[] = ['content_id' => $f95b0, 'content_type' => 'product', 'content_name' => $E10b1['currency'], 'content_price' => $ace9a, 'content_group_id' => ''];
goto e790d;
E6baa:
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) {
goto e01bd;
}
goto B5bd1;
d460e:
goto B367e;
goto f2a89;
Cea15:
A92af:
goto D058e;
f6fd6:
$E4cba = false;
goto A4679;
De64f:
$f97f8 = 0;
goto C193c;
Cf7d3:
return false;
goto Cea15;
Edbc6:
if (!$E10b1['snap_pixel_status']) {
goto b092f;
}
goto a17f7;
a8ec0:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $ace9a, 'description' => $Bf5ae];
goto bc0f5;
d8b2e:
$C431a = [];
goto b37a6;
ae9a3:
$a21f7 = 0;
goto d0917;
Adf90:
b6ba0:
goto Aa237;
Ab131:
if (!$E10b1['twitter_status']) {
goto A93a6;
}
goto b3a29;
E5583:
if (!($this->check_array($E7330) && count($E7330) > 0)) {
goto c2c29;
}
goto F7372;
b06ee:
$d83ed = $A50b2['item_list_id'];
goto b7ada;
d9699:
a880a:
goto Ef07e;
e2bac:
$Bc03e = ['content_name' => $Bf5ae, 'content_category' => $D1f20, 'content_ids' => $f95b0, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb];
goto C1335;
F421c:
$Dd699 = $Be6f2['tax_class_id'];
goto A4bba;
D2770:
B84ff:
goto De64f;
f3ea7:
$e5684 = [];
goto D2491;
Fec7c:
$d9e72 = false;
goto e6cef;
d62c3:
e8d5c:
goto a44be;
Aa430:
$D88b8 = $Be6f2['model'];
goto eebde;
e9bd3:
A784a:
goto a6d6c;
C1a0f:
e0e7e:
goto Cbd96;
E2ee8:
$A50b2 = $this->gtm->getProductCatName($bf361);
goto Ba9db;
D8d7f:
if (!$E10b1['cj_status']) {
goto Ffd11;
}
goto ab3f1;
A4bba:
$ace9a = number_format((float) $ace9a, 2, '.', '');
goto Ea830;
a8577:
$F7fe3 = 0;
goto f88a5;
F58cd:
$C8d5b = [];
goto d8b2e;
c28a8:
$F7fe3 = $E10b1['twitter_viewcontent'];
goto d9699;
d6488:
Addd3:
goto A9cd0;
A4568:
$B1d6b = '';
goto b3864;
Fec2b:
if (!$E10b1['pixel']) {
goto Addd3;
}
goto e59da;
be727:
$Bc909 = ['event' => 'productView', 'eventAction' => 'productView', 'eventLabel' => 'Product Detail View', 'ga' => $a6560, 'content_name' => $Bf5ae, 'content_category' => $D1f20, 'content_ids' => $f95b0, 'content_type' => 'product', 'category' => $D1f20, 'brand' => $da8eb, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $ace9a, 'event_id' => $b1eff];
goto D8d7f;
ab3f1:
$Bc909['cj_page'] = 'productDetail';
goto cfbab;
f88a5:
goto a880a;
goto F0b35;
eed09:
$Bc03e = false;
goto f6fd6;
cfbab:
Ffd11:
goto E5583;
dd05a:
$c1b93 = ['error' => 'false', 'page_type' => 'product', 'datalayer' => $Bc909, 'items' => $de949, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'fb_data' => $Bc03e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b, 'related' => $d9e72];
goto Ff1dd;
Ad6d0:
if (!(!is_null($Be6f2['special']) && (float) $Be6f2['special'] >= 0)) {
goto e0e7e;
}
goto C0e9b;
df59a:
$e5684[] = ['id' => (string) $f95b0, 'google_business_vertical' => 'retail'];
goto dbce5;
b3a29:
if (isset($E10b1['twitter_viewcontent']) && !empty($E10b1['twitter_viewcontent'])) {
goto f042d;
}
goto a8577;
C6a2d:
return false;
goto D2770;
Db5bc:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', '');
goto e3b6f;
ec167:
$Ae2c5 = $this->tax->calculate($bd5a9, $Dd699, $this->config->get('config_tax'));
goto Ccb5b;
b3864:
$a6560 = [];
goto aa837;
Be134:
e01bd:
goto Ad6d0;
Aa237:
$d5573 = $this->gtm->getProductImages($this->request->get['product_id']);
goto B2f41;
cf35a:
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) {
goto A784a;
}
goto ec167;
C193c:
$Ac84c = 0;
goto Be657;
cccf8:
Ae09b:
goto C2073;
cc612:
$fc605 = '//image/' . $Be6f2['image'];
goto fde71;
d0917:
$B3385 = $Be6f2['name'];
goto E6baa;
F8b7e:
$e41da = $A50b2['item_category3'];
goto b940d;
f2a89:
Ba1cc:
goto accd7;
Ccb5b:
goto e8d5c;
goto e9bd3;
Be657:
$bd5a9 = 0;
goto ae9a3;
b035b:
ba974:
goto Ce3b5;
B51c8:
$f445c = [];
goto f3ea7;
c10dd:
}
public function getModuleProducts($C8e44 = array(), $B5a42 = '', $B59f5 = '')
{
goto e997d;
a5afc:
F9098:
goto Eb57e;
f53b3:
if ($this->check_array($C8e44)) {
goto F2d3a;
}
goto a0104;
a0104:
return false;
goto f0e91;
f0e91:
F2d3a:
goto dfa35;
D71f9:
return $F5c83;
goto c4e72;
dfa35:
if (!($this->check_array($C8e44) && count($C8e44) < 1)) {
goto F02f4;
}
goto b693c;
Cf66e:
$B59f5 = 'modules';
goto Fb4fa;
b693c:
return false;
goto cdcc9;
Eb57e:
if (!empty($B59f5)) {
goto Cd49f;
}
goto Cf66e;
cdcc9:
F02f4:
goto Af2ac;
Af2ac:
foreach ($C8e44 as $B3a1a) {
goto Be0d9;
a81cd:
if ($this->check_array($A50b2) && $A50b2) {
goto F04d4;
}
goto e6993;
F052e:
B3eb8:
goto a81cd;
f9e9f:
$bd5a9 = $ea436['special'];
goto F052e;
F0b75:
$B3a1a['model'] = isset($ea436['model']) ? $ea436['model'] : $bf361;
goto d7c85;
E2fc5:
goto B84f6;
goto cd311;
Af25c:
$B3a1a['sku'] = isset($ea436['sku']) ? $ea436['sku'] : $bf361;
goto F9989;
F9989:
$B3a1a['gtin'] = isset($ea436['ean']) ? $ea436['ean'] : '';
goto F0b75;
f1452:
$B3a1a['item_list_name'] = $B5a42;
goto C790e;
c6d19:
goto de242;
goto e63c9;
C5b56:
$B3a1a['category'] = $A50b2['category'];
goto ed5c4;
Be0d9:
if (!(!isset($B3a1a['product_id']) || !isset($B3a1a['price']))) {
goto Ef946;
}
goto c6d19;
C7e34:
$bd5a9 = 0;
goto dc79e;
dc79e:
$bf361 = $B3a1a['product_id'];
goto A14c3;
e4d41:
E6ba7:
goto fd626;
De7c2:
$B3a1a['tax_class_id'] = $ea436['tax_class_id'];
goto B2652;
cd311:
F04d4:
goto D09d2;
B6310:
$F5c83[] = $B3a1a;
goto F5873;
B9245:
$B3a1a['item_price'] = $bd5a9;
goto c6277;
Ab346:
$B3a1a['brand'] = isset($ea436['manufacturer']) ? $this->cleanStr($ea436['manufacturer']) : $this->getProductBrandName($bf361);
goto B5d93;
B2652:
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) {
goto E6ba7;
}
goto fe158;
e7ffc:
$D2e5e = 0;
goto C7e34;
B5d93:
$B3a1a['title'] = $this->tagmangerPtitle($B3a1a['name'], $B3a1a['brand'], $B3a1a['model'], $bf361);
goto De7c2;
e69d4:
$A50b2 = $this->gtm->getProductCatName($bf361);
goto Af25c;
a57d8:
$Ac84c = 0.0;
goto e7ffc;
d7c85:
$B3a1a['pid'] = $this->tagmangerPmap($B3a1a['model'], $B3a1a['sku'], $bf361);
goto Ab346;
e63c9:
Ef946:
goto d422c;
C790e:
$B3a1a['item_list_id'] = $B59f5;
goto B9245;
c6277:
$B3a1a['pprice'] = number_format((float) $f97f8, 2, '.', '');
goto B6310;
e6993:
$B3a1a['category_name'] = $B5a42;
goto F2969;
D2c63:
$B3a1a['item_category'] = $A50b2['item_category'];
goto C5b56;
ba26b:
$B3a1a['category'] = $B5a42;
goto E2fc5;
fd626:
if (!(isset($ea436['special']) && (float) $ea436['special'])) {
goto B3eb8;
}
goto f9e9f;
F2969:
$B3a1a['item_category'] = $B5a42;
goto ba26b;
ed5c4:
B84f6:
goto F71a1;
F71a1:
$f97f8 = $this->currency->format($this->tax->calculate($bd5a9, $B3a1a['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto f1452;
A14c3:
$ea436 = $this->getProductInfo($bf361);
goto e69d4;
d422c:
$f97f8 = 0.0;
goto a57d8;
D09d2:
$B3a1a['category_name'] = $A50b2['category'];
goto D2c63;
fe158:
$bd5a9 = isset($ea436['price']) ? $ea436['price'] : 0;
goto e4d41;
F5873:
de242:
goto fc661;
fc661:
}
goto Dfb11;
eb2da:
if (!empty($B5a42)) {
goto F9098;
}
goto ceb3a;
ceb3a:
$B5a42 = 'Modules';
goto a5afc;
Fb4fa:
Cd49f:
goto f53b3;
e997d:
$F5c83 = [];
goto eb2da;
Dfb11:
A511a:
goto D71f9;
c4e72:
}
public function getProducts($c1b93 = array(), $f26f8 = array())
{
goto D8a6d;
A9b0b:
$E10b1 = $this->config();
goto bc62a;
bcf01:
eee56:
goto Bd68b;
f235f:
if (!$E10b1['tiktok_status']) {
goto F333e;
}
goto ea0bd;
b7305:
$b1eff = '9-' . $this->eventid();
goto Bb608;
c4828:
if ($aea02) {
goto Bdfa3;
}
goto b7305;
bd8f0:
b04d5:
goto e97e0;
fcb8c:
$C431a = [];
goto a6f41;
a27f7:
$E79b5 = [];
goto e07fa;
Eacc6:
$F5c83 = [];
goto a27f7;
df1ac:
if (isset($E10b1['twitter_search']) && !empty($E10b1['twitter_search'])) {
goto e2c4a;
}
goto Af238;
f97fb:
$f6a53 = [];
goto Db8d6;
e97e0:
$B3a1a = number_format((float) $C87b3, 2, '.', '');
goto ac554;
Bd4e4:
$C431a['search_string'] = $aea02;
goto d15d0;
ecbbb:
$Dc937 = [];
goto ea41b;
Aeb42:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'search_term' => $aea02, 'term' => $aea02, 'items' => $de949];
goto B54e4;
Ba556:
a75f0:
goto a1e95;
ac8f7:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto A3eb8;
}
goto a2732;
c4874:
$Bc909 = [];
goto a7acc;
a9499:
if (!($this->check_array($c1b93) && count($c1b93) < 1)) {
goto Fb3c2;
}
goto B7fbf;
A1b6e:
goto b0117;
goto E22c7;
Bb545:
return $c1b93;
goto b7741;
d1f31:
A01c4:
goto Baf58;
Bf964:
$a0e51['query'] = $aea02;
goto e60f3;
ba856:
$B59f5 = $f26f8['list_id'];
goto Aaf75;
e4421:
F333e:
goto d129a;
c3045:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto eee56;
}
goto A968d;
d8ce3:
if ($this->check_array($c1b93)) {
goto c2efb;
}
goto be1a2;
deee3:
$F4056 = [];
goto D868d;
B6121:
goto d012c;
goto Ba705;
E7c75:
$b50e4 = $f26f8['category'];
goto Eacc6;
ca1ea:
$Bc03e = ['content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'content_type' => 'product', 'search_string' => $aea02];
goto c3045;
Cb681:
d012c:
goto f408b;
f408b:
e0666:
goto f05f4;
F7146:
$C8d5b['description'] = 'View Search Results';
goto C12b5;
e60f3:
ab70f:
goto e4421;
Ee329:
$fe56e = [];
goto d8ce3;
Cf6a4:
$C8d5b = [];
goto fcb8c;
Daead:
$fe56e = ['send_to' => 'ads', 'value' => $B3a1a, 'items' => $e5684];
goto B087d;
D8a6d:
$B5a42 = $f26f8['list_name'];
goto ba856;
Fb7bf:
$A6384 = 'searchResult';
goto Ba556;
Bd68b:
$C51cf = 'Search';
goto Cb681;
bff84:
F4e56:
goto c4828;
bc62a:
foreach ($c1b93 as $B3a1a) {
goto B7ecf;
Daa08:
$B3a1a['item_category5'] = '';
goto Be757;
D66a7:
$B3a1a['brand'] = isset($ea436['manufacturer']) ? $this->cleanStr($ea436['manufacturer']) : $this->getProductBrandName($bf361);
goto C9c6f;
Cec47:
$B3a1a['title'] = $this->tagmangerPtitle($B3a1a['name'], $B3a1a['brand'], $B3a1a['model'], $bf361);
goto F054c;
Ad11b:
$B3a1a['item_list_name'] = $B5a42;
goto C4bb7;
A986f:
$e5684[] = ['id' => (string) $B3a1a['pid'], 'google_business_vertical' => 'retail'];
goto A03af;
b49e7:
$B3a1a['pprice'] = number_format((float) $f97f8, 2, '.', '');
goto dd6f8;
ff87e:
if (empty($B5a42)) {
goto bea0f;
}
goto d072d;
ba978:
$bd5a9 = 0;
goto f0249;
A3b51:
fb3c2:
goto ee295;
Dc8ae:
$B3a1a['item_category'] = '';
goto F7093;
B254b:
$B3a1a['item_category4'] = '';
goto Daa08;
feccd:
$B3a1a['item_list_id'] = $B59f5;
goto e3fb0;
d7cef:
$B3a1a['sku'] = isset($ea436['sku']) ? $ea436['sku'] : $bf361;
goto Ef701;
A0306:
if (empty($B59f5)) {
goto Ac53a;
}
goto feccd;
c5fee:
$bd5a9 = isset($ea436['special']) ? $ea436['special'] : 0;
goto A06be;
C4bb7:
ed379:
goto D8d42;
c623d:
if (!($this->customer->isLogged() || !$this->config->get('config_customer_price'))) {
goto b9ee4;
}
goto Bf2c5;
Ae573:
$B3a1a['model'] = isset($ea436['model']) ? $ea436['model'] : $bf361;
goto a28bd;
e469a:
b1cb7:
goto B4690;
e1987:
$de949[] = ['item_id' => $B3a1a['pid'], 'item_name' => $B3a1a['title'], 'item_brand' => $B3a1a['brand'], 'item_list_name' => $B3a1a['item_list_name'], 'item_list_id' => $B3a1a['item_list_id'], 'item_category' => $B3a1a['item_category'], 'item_category2' => $B3a1a['item_category2'], 'item_category3' => $B3a1a['item_category3'], 'item_category4' => $B3a1a['item_category4'], 'item_category5' => $B3a1a['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $B3a1a['pprice'], 'curency' => $E10b1['currency'], 'index' => $d6674, 'quantity' => 1];
goto ccb61;
cb231:
$B3a1a['item_category2'] = $A50b2['item_category2'];
goto Eec23;
Dbcf8:
$A50b2 = $this->gtm->getProductCatName($bf361);
goto e201e;
f0249:
$bf361 = $B3a1a['product_id'];
goto Ee9ea;
ba579:
$B3a1a['item_category5'] = $A50b2['item_category5'];
goto ff87e;
F2b35:
goto D225e;
goto e469a;
a76c5:
b5a3a:
goto e37f5;
A8148:
$B3a1a['item_list_name'] = $B59f5;
goto Ad3c5;
Ad3c5:
$B3a1a['category_name'] = $B5a42;
goto Dc8ae;
F7093:
$B3a1a['item_category2'] = '';
goto Efced;
Abf8e:
if ($F61a1) {
goto e3e1c;
}
goto D66a7;
C9c6f:
goto e87b0;
goto B67a8;
d3049:
$B3a1a['item_list_name'] = $A50b2['item_list_name'];
goto de2c6;
F9046:
cf55a:
goto D34ec;
Dafe1:
if (!(isset($ea436['special']) && (float) $ea436['special'])) {
goto B5ec8;
}
goto c5fee;
Ac2c1:
$B1b4e = $Ed420;
goto b6596;
A03af:
$C87b3 += $f97f8;
goto Ac2c1;
Efced:
$B3a1a['item_category3'] = '';
goto B254b;
D34ec:
if (!(!empty($da543) && $da543 == 'product/search')) {
goto ed379;
}
goto bf83e;
Ef917:
$B3a1a['item_category4'] = $A50b2['item_category4'];
goto ba579;
B67a8:
e3e1c:
goto B0b02;
B7ecf:
if (!(!isset($B3a1a['product_id']) || !isset($B3a1a['price']))) {
goto F9dc6;
}
goto af6d1;
e7358:
$f6a53[] = ['content_category' => $B3a1a['item_list_name'], 'content_name' => $B3a1a['title'], 'price' => $B3a1a['pprice'], 'content_id' => $B3a1a['pid'], 'quantity' => 1, 'brand' => $B3a1a['brand']];
goto A392e;
f79f2:
b9ee4:
goto Dafe1;
Ae2ea:
e87b0:
goto Cec47;
fa6c4:
$D2e5e = 0;
goto ba978;
D411f:
F9dc6:
goto c40d3;
F054c:
$B3a1a['tax_class_id'] = $ea436['tax_class_id'];
goto c623d;
A9188:
if (!($Ed420 > $Ce0e6)) {
goto b1cb7;
}
goto F2b35;
d072d:
$B3a1a['item_list_name'] = $B5a42;
goto f049f;
Bf2c5:
$bd5a9 = isset($ea436['price']) ? $ea436['price'] : 0;
goto f79f2;
A649d:
$d6674++;
goto ccfe6;
D6a7d:
$Ac84c = 0.0;
goto fa6c4;
dd6f8:
$F5c83[] = $B3a1a;
goto A9188;
B0b02:
$B3a1a['brand'] = $this->cleanStr($F61a1);
goto Ae2ea;
Eec23:
$B3a1a['item_category3'] = $A50b2['item_category3'];
goto Ef917;
c40d3:
$f97f8 = 0.0;
goto D6a7d;
Ef701:
$B3a1a['gtin'] = isset($ea436['ean']) ? $ea436['ean'] : '';
goto Ae573;
D8d42:
$B3a1a['item_price'] = $bd5a9;
goto b49e7;
e201e:
goto Babc9;
goto a76c5;
A06be:
B5ec8:
goto Cf69f;
B4690:
$C59b9[] = $A50b2;
goto e1987;
B5ee6:
$B3a1a['item_category'] = $A50b2['item_category'];
goto cb231;
Be757:
goto cf55a;
goto A3b51;
Ee9ea:
$ea436 = $this->getProductInfo($bf361);
goto Dc03d;
de2c6:
$B3a1a['category_name'] = $A50b2['category'];
goto B5ee6;
f049f:
bea0f:
goto A0306;
ee295:
$B3a1a['item_list_id'] = $A50b2['item_list_id'];
goto d3049;
ccb61:
$f445c[] = ['content_id' => $B3a1a['pid'], 'content_type' => 'product', 'content_name' => $B3a1a['title'], 'content_price' => $B3a1a['pprice']];
goto c08ca;
b6596:
$Ed420++;
goto A649d;
Dc03d:
if ($b50e4) {
goto b5a3a;
}
goto Dbcf8;
a28bd:
$B3a1a['pid'] = $this->tagmangerPmap($B3a1a['model'], $B3a1a['sku'], $bf361);
goto Abf8e;
b7151:
if ($this->check_array($A50b2)) {
goto fb3c2;
}
goto A9a04;
e3fb0:
Ac53a:
goto F9046;
bf83e:
$B3a1a['item_list_id'] = $B59f5;
goto Ad11b;
ccfe6:
D225e:
goto c1e70;
c08ca:
$C3d53[] = ['id' => $B3a1a['pid'], 'quantity' => 1, 'item_price' => $B3a1a['pprice']];
goto e7358;
A392e:
$F4056[] = $B3a1a['pid'];
goto c30de;
af6d1:
goto D225e;
goto D411f;
e37f5:
$A50b2 = $this->gtm->getProductCatName($bf361, $b50e4);
goto f10d6;
f10d6:
Babc9:
goto d7cef;
c30de:
$Dc937[] = $B3a1a['pid'];
goto A986f;
A9a04:
$B3a1a['item_list_id'] = $B5a42;
goto A8148;
Cf69f:
$f97f8 = $this->currency->format($this->tax->calculate($bd5a9, $B3a1a['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto b7151;
c1e70:
}
goto bd8f0;
a6f41:
$C3d53 = [];
goto deee3;
E6a63:
D1afb:
goto D58a4;
F7e59:
if (!$aea02) {
goto ab70f;
}
goto Bf964;
C430c:
$A6384 = 'listingView';
goto f0fe2;
Adf07:
b24c1:
goto f235f;
De3c6:
$b50e4 = 0;
goto caab3;
F52de:
$a6560 = [];
goto Eaec5;
d15d0:
$C8d5b['search_string'] = $aea02;
goto F7146;
Af238:
$F7fe3 = 0;
goto b53be;
af37b:
Fb3c2:
goto A9b0b;
D8a25:
$c3442 = 'ViewCategory';
goto Df903;
d129a:
if (!$E10b1['snap_pixel_status']) {
goto D1afb;
}
goto Ee397;
B474e:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $de949];
goto A1b6e;
A7b3b:
$B1d6b = '';
goto ecbbb;
Ee397:
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $B1b4e, 'item_category' => $B5a42, 'description' => 'Product Category View'];
goto A0cb4;
Dde03:
if (!(isset($aea02) && !empty($aea02))) {
goto Eda33;
}
goto Bd4e4;
F911f:
if (!$E10b1['cj_status']) {
goto A01c4;
}
goto C9596;
be1a2:
return false;
goto bf53d;
f7599:
$c1b93 = ['products' => $F5c83, 'error' => 'false', 'page_type' => 'listing', 'category_id' => $b50e4, 'category_name' => $B5a42, 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'matomo' => $B1d6b, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'tiktok' => $a0e51, 'items' => $de949, 'remarketing' => $fe56e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f];
goto Bb545;
Ca563:
$Ed420 = 1;
goto f1482;
Fc195:
$f445c = [];
goto b04f1;
C9596:
$Bc909['cj_page'] = 'category';
goto d1f31;
Ba705:
A75b0:
goto ca1ea;
b53be:
goto Cab45;
goto A1f27;
D6663:
$Bc03e = ['content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'content_type' => 'product'];
goto ac8f7;
ba4df:
$B1d6b = $B5a42;
goto Dcc67;
ad391:
$baf8f = ['search_string' => $aea02, 'value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto Adf07;
Dcc67:
c39a1:
goto C420c;
C12b5:
Eda33:
goto E6a63;
e07fa:
$d6674 = 0;
goto D6170;
f05f4:
if (!($E10b1['matomo_status'] && !$aea02)) {
goto c39a1;
}
goto ba4df;
f0fe2:
goto a75f0;
goto b043d;
Eaec5:
$fe56e = [];
goto f97fb;
A0cb4:
$C431a = ['content_category' => $B5a42, 'currency' => $E10b1['currency'], 'content_ids' => $Dc937, 'contents' => $C3d53, 'value' => $B3a1a];
goto Dde03;
E0953:
$Ae2c5 = 0;
goto Ca563;
a1e95:
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) {
goto b24c1;
}
goto ad391;
D868d:
$e5684 = [];
goto Bd0a6;
Aaf75:
$aea02 = $f26f8['search'];
goto e3137;
e3137:
$F61a1 = $f26f8['brand'];
goto E7c75;
A968d:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto bcf01;
A1f27:
e2c4a:
goto b495f;
ac554:
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) {
goto F4e56;
}
goto df1ac;
b495f:
$F7fe3 = $E10b1['twitter_search'];
goto C9ae6;
bf53d:
c2efb:
goto a9499;
Baf58:
if (!$E10b1['pixel']) {
goto e0666;
}
goto e4e8d;
a7acc:
$Bc03e = false;
goto Ee329;
Db8d6:
$a0e51 = [];
goto Cf6a4;
b043d:
Bdfa3:
goto B7758;
b04f1:
$F7fe3 = 0;
goto A7b3b;
D58a4:
if (isset($aea02) && !empty($aea02)) {
goto Ec0a0;
}
goto B474e;
f1482:
$Ce0e6 = 20;
goto Ee18e;
F62d1:
$Bc3c1 = 'view_search_results';
goto Fb7bf;
F2128:
A3eb8:
goto Dded4;
Df903:
$Bc3c1 = 'view_item_list';
goto C430c;
D6170:
$C87b3 = 0;
goto E0953;
B7fbf:
return false;
goto af37b;
d5173:
$Abd5a = explode('_', (string) $this->request->get['path']);
goto E6988;
E6a2c:
C3b41:
goto d5173;
B4fa0:
$c3442 = 'viewSearch';
goto F62d1;
Dded4:
$C51cf = 'ViewCategory';
goto B6121;
B7758:
$b1eff = '2-' . $this->eventid();
goto e0b3e;
ea41b:
$de949 = [];
goto F52de;
ea0bd:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $B5a42];
goto F7e59;
C420c:
if (isset($this->request->get['path'])) {
goto C3b41;
}
goto De3c6;
e4e8d:
if ($aea02) {
goto A75b0;
}
goto D6663;
caab3:
goto B0af7;
goto E6a2c;
C9ae6:
Cab45:
goto bff84;
Ee18e:
$baf8f = [];
goto Fc195;
e0b3e:
$Ab362 = 'view_search_result';
goto B4fa0;
B087d:
$Bc909 = ['event' => $A6384, 'eventAction' => $A6384, 'eventLabel' => $A6384, 'content_name' => $B5a42, 'content_category' => $B5a42, 'content_ids' => $Dc937, 'ga' => $a6560, 'content_type' => 'product', 'search' => $aea02, 'category' => $B5a42, 'brand' => $F61a1, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'pixel_value' => $B3a1a, 'fb_currency' => $E10b1['currency'], 'event_id' => $b1eff];
goto F911f;
a9daa:
B0af7:
goto f7599;
E22c7:
Ec0a0:
goto Aeb42;
E6988:
$b50e4 = (int) array_pop($Abd5a);
goto a9daa;
a2732:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto F2128;
Bd0a6:
$B1b4e = 0;
goto c4874;
B54e4:
b0117:
goto Daead;
Bb608:
$Ab362 = 'view_item_list';
goto D8a25;
b7741:
}
public function prepareAddtoCart($bf361, $Be6f2, $Dd681, $e903c, $dd54d, $c5bff = 0)
{
goto ff8c9;
Cea2d:
$a21f7 = 0;
goto A558f;
Ec825:
B0085:
goto f2afe;
d7e1c:
b15b7:
goto e56b8;
fdc0c:
if (isset($E10b1['twitter_addcart']) && !empty($E10b1['twitter_addcart'])) {
goto F96a3;
}
goto d2e86;
C0e1c:
$E4cba['eventdata']['data']['discount'] = 0;
goto d6dc4;
f6add:
if (!$E10b1['pixel']) {
goto B6998;
}
goto cbf8d;
c74a5:
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto ec25c;
d5731:
$C8d5b = ['client_deduplication_id' => $b1eff, 'event_id' => $b1eff, 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => $Dd681, 'brands' => $da8eb, 'item_category' => isset($B3525) ? $B3525 : '', 'description' => 'Item Added to Cart'];
goto F3bae;
E3633:
B6998:
goto F84fa;
e5296:
goto d92b2;
goto D9481;
A68ff:
$Df775 = 'Tiktok';
goto B751d;
c5c62:
$e2e7f = $e2e7f / $F6719;
goto eebcb;
ccfc9:
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax'));
goto D5a58;
aeb84:
if (!$this->check_array($d0d28)) {
goto F4357;
}
goto b9be4;
d4c8d:
$Ae2c5 = number_format((float) $abe29, 2, '.', '');
goto b7226;
C8e0a:
$e3b23 = $Bc03e;
goto b40df;
effa1:
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1);
goto a8ea1;
E5650:
$this->sendinbluePost($E4cba, 'trackEvent');
goto f83df;
C1f77:
Ffb01:
goto Fc7f4;
d5cb8:
A165f:
goto db602;
C69c6:
$b8fc6 = 0;
goto Ad582;
Ab96b:
$E10b1['event_id'] = $b1eff;
goto C30d9;
a8ea1:
$da8eb = $this->getProductBrandName($Be6f2['product_id']);
goto Eb7e4;
d4f32:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $Bf5ae];
goto a0e93;
Cba1c:
$d6674++;
goto F099f;
fffd0:
$Fe536 = $Df775 . ' / Result: error occourced data not posted';
goto ea8a1;
B4a6a:
Ef86d:
goto Ccc5c;
C476e:
dd8e3:
goto Adf51;
eebcb:
$eb419 = $ac091 - $e2e7f;
goto cc2d0;
D6792:
$E7710 = array_keys($e903c);
goto F66e3;
Ddcf2:
goto dd8e3;
goto C1f77;
A4e22:
$f6a53[] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $bd5a9, 'content_id' => $f95b0, 'quantity' => $Dd681, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae, 'content_type' => 'product'];
goto d4f32;
D84de:
$bd5a9 = 0;
goto Bab00;
F58bd:
a50d2:
goto b6fde;
D1727:
if (!$bfd18) {
goto a053b;
}
goto c5c62;
a0afc:
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false);
goto A2ec4;
e3718:
$Df775 = 'Snapchat';
goto a2c73;
Bfad8:
return $A31ff;
goto A8013;
A558f:
$f9e18 = 0;
goto D84de;
A4ca6:
b7621:
goto f16a0;
b9be4:
foreach ($d0d28 as $Eed71 => $B3a1a) {
$C9a4b .= "\n" . strtoupper($Eed71) . " ----> " . $B3a1a['post_result'] . "\n" . $B3a1a['message'] . "\n";
b1de6:
}
goto b8fac;
d2e86:
$F7fe3 = 0;
goto e5296;
Fc7f4:
$Fe536 = $Fe536;
goto C476e;
fbe6a:
$Fe536 = $Df775 . ' / Result: error occourced data not posted';
goto Ddcf2;
B1aac:
if (!isset($A50b2)) {
goto bb8a6;
}
goto ec24a;
B751d:
$Fe536 = $Df775 . ' / Result: Success data sent';
goto Ed46d;
Fd3c1:
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', '');
goto C0e1c;
E7143:
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536];
goto F0515;
ea8d8:
$b1eff = '5-' . $this->eventid();
goto c6a81;
b9482:
if (!($E10b1['snap_pixel_api'] && !empty($E10b1['snap_pixel_token']) && isset($C431a))) {
goto a6cf5;
}
goto bbe4a;
ac72b:
$F5c83 = $this->tiktokAPI($E10b1, 'AddToCart', $a0e51, $Ee7a1);
goto F7d09;
bbe4a:
$F5c83 = $this->snapchatAPI($E10b1, 'ADD_CART', $C431a, $Ede1c, $b1eff);
goto c6874;
bdd78:
$bd5a9 = $Be6f2['special'];
goto f75f0;
f1af2:
Af85a:
goto E3633;
f83df:
E954d:
goto b7d77;
b5d19:
D71cd:
goto bbaac;
B415a:
c98cf:
goto b9482;
Ee88b:
$Ee7a1 = $A6899['tiktok_user_data'];
goto d7e1c;
c6874:
if (!$Cc580) {
goto C2fb0;
}
goto e3718;
f75f0:
C8913:
goto E7b0c;
F2c12:
$bd5a9 = $Be6f2['price'];
goto Dcff9;
A7222:
$C9a4b = '';
goto aeb84;
D38e6:
if (!(isset($A6899['snapchat_user_data']) && $A6899)) {
goto c98cf;
}
goto d708e;
fdf92:
$e41da = $A50b2['item_category3'];
goto c4def;
fcc2c:
$a79aa = [];
goto b4c01;
F099f:
goto a703f;
goto d3b2a;
Fc848:
$C431a = [];
goto f0059;
B1751:
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) {
goto E9224;
}
goto a0afc;
c3605:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto Ffb01;
}
goto fbe6a;
d6dc4:
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', '');
goto Ba558;
d2291:
$f97f8 = 0;
goto B618a;
Accda:
A3fb6:
goto f1af2;
ec24a:
$D1f20 = $A50b2['category'];
goto e042d;
f5169:
if (!($d6674 < $E01e9)) {
goto A056a;
}
goto Af290;
B6a94:
$F6719 = $E10b1['tax'];
goto F9613;
ec93b:
foreach ($dd54d as $Ce358) {
goto ba9b7;
ba9b7:
foreach ($E3fe4 as $a1c24) {
goto ccf92;
A7932:
c4a52:
goto F0b49;
fa8d0:
Be32e:
goto fae4c;
B6e1d:
$Fe096 = isset($Ce358['option_value']) ? $Ce358['option_value'] : false;
goto A7932;
d1f56:
$Fe096 = isset($Ce358['product_option_value']) ? $Ce358['product_option_value'] : false;
goto da35e;
ac637:
if (!($Ed420 > 0)) {
goto D5dc0;
}
goto c17ca;
c3dd3:
a748c:
goto B6e1d;
f02cf:
goto Fcb49;
goto Ef69f;
Adda2:
D5dc0:
goto f2cbd;
ccf92:
if (!($Ce358['product_option_id'] == $a1c24['option_id'])) {
goto df9f9;
}
goto ac637;
ef92c:
if (!(isset($Fe096) && !empty($Fe096))) {
goto Daf94;
}
goto a57b4;
D6261:
df9f9:
goto fa8d0;
Ef69f:
Df366:
goto C4d0a;
F0b49:
if ($this->check_array($Fe096)) {
goto Df366;
}
goto ef92c;
Ecd3f:
Daf94:
goto f02cf;
e0772:
if (substr(VERSION, 0, 1) == '1') {
goto a748c;
}
goto d1f56;
C4d0a:
foreach ($Fe096 as $B3a1a) {
goto A1f65;
A1f65:
if (!($a1c24['option_values'] == $B3a1a['product_option_value_id'])) {
goto f7de1;
}
goto B0e35;
c57ea:
ea455:
goto b390c;
B0e35:
$D2e00 .= $B3a1a['name'];
goto f2d81;
f2d81:
f7de1:
goto c57ea;
b390c:
}
goto e97fd;
c17ca:
$D2e00 .= ", ";
goto Adda2;
b6163:
Fcb49:
goto D6261;
da35e:
goto c4a52;
goto c3dd3;
f2cbd:
$Ed420++;
goto e0772;
a57b4:
$D2e00 .= $Fe096;
goto Ecd3f;
e97fd:
D840a:
goto b6163;
fae4c:
}
goto C102a;
Ba3fe:
c779f:
goto C7944;
C102a:
D5dfe:
goto Ba3fe;
C7944:
}
goto e1cde;
B13e5:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949];
goto A34b6;
db602:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto D267b;
}
goto fdc0c;
b8fac:
f6371:
goto A662c;
e715e:
$E4cba['eventdata']['data']['currency'] = $E10b1['currency'];
goto fcc2c;
c6a81:
$D2e00 = '';
goto e9da6;
b298c:
$B3525 = $A50b2['item_list_name'];
goto b06da;
E5b7f:
$Be6f2['price'] = $Be6f2['price'] + $b8fc6;
goto b78f3;
F9613:
$F7fe3 = 0;
goto C8e0c;
e56b8:
if (!$this->checkapiStatus('tiktok')) {
goto E4f30;
}
goto ac72b;
Ddecf:
$e34fb = $E10b1['currency'];
goto B1751;
a0e93:
if (!(isset($A6899['tiktok_user_data']) && $A6899)) {
goto b15b7;
}
goto Ee88b;
F84fa:
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) {
goto E954d;
}
goto ac8df;
Af290:
if (is_array($e903c[$E7710[$d6674]])) {
goto Deeba;
}
goto E7ba5;
c1245:
foreach ($e903c[$E7710[$d6674]] as $b3ed7) {
$E3fe4[] = ['option_id' => $E7710[$d6674], 'option_values' => $b3ed7];
Ad217:
}
goto B4a6a;
Adf51:
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536];
goto Accda;
ea8a1:
goto A6fc1;
goto Ec825;
Bee68:
D8b27:
goto F2c12;
f2afe:
$Fe536 = $Fe536;
goto D03ae;
bbaac:
$d0d28[$Df775] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $Fe536];
goto Dd47e;
C79d9:
$f445c = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => $Dd681, 'content_price' => $bd5a9, 'content_group_id' => ''];
goto c74a5;
Dbefc:
$Fe536 = $Df775 . ' / Result: error occourced data not posted';
goto B9c3c;
Ad582:
$Cc580 = false;
goto b7bda;
C8e0c:
$baf8f = [];
goto f38d3;
C21e8:
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']);
goto bb17b;
b06da:
$A1d57 = $A50b2['item_category'];
goto A52ab;
f38d3:
$f445c = [];
goto D33b3;
F7d09:
if (!$Cc580) {
goto ff9aa;
}
goto A68ff;
b7d77:
if (!$Cc580) {
goto fdab8;
}
goto A7222;
c9950:
if (!(isset($A6899['pixel_user_data']) && $A6899)) {
goto F83f2;
}
goto a8f11;
E27ab:
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', '');
goto Dd4a6;
Bf928:
Cfa3a:
goto effa1;
b8ce6:
$bd5a9 = number_format((float) $bd5a9, 2, '.', '');
goto C8844;
C5003:
$Ed420 = 0;
goto ec93b;
A52ab:
$F9d4b = $A50b2['item_category2'];
goto fdf92;
e38bf:
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto cf3ae;
Ccc5c:
B7b52:
goto D89e9;
bd697:
E5ccf:
goto A08c3;
f1308:
F83f2:
goto e634d;
cbf8d:
$D3fa5[] = ['id' => $f95b0, 'quantity' => $Dd681];
goto A32bb;
b7bda:
if (!(isset($E10b1['debug_api']) && $E10b1['debug_api'])) {
goto D2913;
}
goto eee7f;
f2cb7:
a6cf5:
goto d5cb8;
ff8c9:
$E10b1 = $this->config();
goto Ff191;
e3e8c:
$ac091 = $this->cart->getTotal();
goto f9a03;
d2b99:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto ef641;
}
goto Dbefc;
D9481:
F96a3:
goto a03d0;
C8844:
$B3a1a = number_format((float) $B3a1a, 2, '.', '');
goto d4c8d;
cc2d0:
a053b:
goto E27ab;
a3d89:
fdab8:
goto dd3b7;
Ba558:
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL'));
goto e715e;
D8f9d:
goto B7b52;
goto b71bd;
a3a07:
$Fe536 = $Df775 . ' / Result: Success data sent';
goto c3605;
D89e9:
E4bc3:
goto Cba1c;
bb290:
a703f:
goto f5169;
f0059:
$Ede1c = [];
goto d2291;
F566d:
$e7511 = $bd5a9;
goto F58bd;
B1397:
E9224:
goto b8ce6;
F66e3:
$E01e9 = count($e903c);
goto f6ce2;
A32bb:
$Bc03e = ['contents' => $D3fa5, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb, 'product_catalog_id' => $E10b1['fb_catalog_id'], 'quantity' => $Dd681, 'content_ids' => $f95b0];
goto c9950;
e634d:
if (!$E10b1['fb_api']) {
goto Af85a;
}
goto C8e0a;
Ba67c:
$E3fe4 = [];
goto D6792;
E7ba5:
$E3fe4[] = ['option_id' => $E7710[$d6674], 'option_values' => $e903c[$E7710[$d6674]]];
goto D8f9d;
E8ffc:
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', '');
goto Fd3c1;
c1ba8:
if (!$Cc580) {
goto A3fb6;
}
goto ed856;
Dd4a6:
$E4cba['eventdata']['data']['shipping'] = 0;
goto E8ffc;
ea088:
F4357:
goto a3d89;
ec25c:
D267b:
goto C329a;
bb17b:
$A6899 = $this->formatUserdata($E10b1);
goto Bc6de;
Da184:
$Ee7a1 = [];
goto fceac;
b4c01:
foreach ($Eeef5 as $ea436) {
$a79aa[] = ['id' => $ea436['item_id'], 'name' => $ea436['item_name'], 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'url' => str_replace('&', '&', $this->url->link('product/product', 'product_id=' . $bf361))];
F41e9:
}
goto bd697;
Dd47e:
C2fb0:
goto f2cb7;
Ed46d:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto B0085;
}
goto fffd0;
dd3b7:
$A31ff = ['error' => 'false', 'action' => 'addToCart', 'data' => $c6ed3, 'fb_data' => $Bc03e, 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'user_data' => $A6899, 'event_id' => $b1eff];
goto Bfad8;
e4620:
ef641:
goto f0b17;
d3b2a:
A056a:
goto C5003;
A2ec4:
$e34fb = $E10b1['alt_currency'];
goto B1397;
A662c:
$this->Log('API Post Results - ADD TO CART ' . $C9a4b);
goto ea088;
Caee8:
E4f30:
goto A4ca6;
ac8df:
$E4cba = ['email' => $E10b1['email'], 'event' => 'add_to_cart', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]];
goto e7580;
f0d66:
$f6a53 = [];
goto Da184;
b71bd:
Deeba:
goto c1245;
D755f:
$D2701 = $A50b2['item_category5'];
goto e1522;
Ed289:
$Be6f2['sku'] = $Be6f2['model'];
goto Bf928;
e9da6:
$Bc03e = false;
goto B220f;
e1522:
bb8a6:
goto C21e8;
B9c3c:
goto D71cd;
goto e4620;
cf3ae:
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false);
goto Ddecf;
b7226:
if (isset($Be6f2['sku'])) {
goto Cfa3a;
}
goto Ed289;
a8f11:
$b098d = $A6899['pixel_user_data'];
goto f1308;
Bc6de:
if (!$E10b1['tiktok_status']) {
goto b7621;
}
goto A4e22;
b78f3:
$Be6f2['special'] = $Be6f2['special'] + $b8fc6;
goto Ba67c;
a03d0:
$F7fe3 = $E10b1['twitter_addcart'];
goto Ac795;
f16a0:
if (!$E10b1['snap_pixel_status']) {
goto A165f;
}
goto d5731;
Eb7e4:
$A50b2 = $this->getProductCatName($bf361);
goto B1aac;
Bab00:
$B3a1a = 0;
goto C69c6;
B220f:
$bfd18 = $E10b1['override_tax'];
goto B6a94;
ed856:
$Df775 = 'Meta Facebook';
goto a3a07;
D33b3:
$D3fa5 = [];
goto A7770;
Ff191:
$a0e51 = [];
goto ea8d8;
a2c73:
$Fe536 = $Df775 . ' / Result: Success data sent';
goto d2b99;
D03ae:
A6fc1:
goto E7143;
Ac795:
d92b2:
goto C79d9;
F0515:
ff9aa:
goto Caee8;
b6fde:
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto e38bf;
C329a:
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => $D2e00, 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => $Dd681];
goto B13e5;
fceac:
$C8d5b = [];
goto Fc848;
d708e:
$Ede1c = $A6899['snapchat_user_data'];
goto B415a;
f0b17:
$Fe536 = $Fe536;
goto b5d19;
E7b0c:
$B3a1a = $bd5a9 * $Dd681;
goto ccfc9;
C30d9:
if (!(isset($e903c) && isset($dd54d))) {
goto D8b27;
}
goto E72d8;
A34b6:
$c6ed3 = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff, 'name' => $Bf5ae, 'id' => $f95b0, 'price' => $B3a1a, 'brand' => $da8eb, 'category' => isset($D1f20) ? $D1f20 : '', 'quantity' => $Dd681, 'variant' => $D2e00];
goto f6add;
d6f21:
D2913:
goto Ab96b;
e042d:
$d83ed = $A50b2['item_list_id'];
goto b298c;
c4def:
$a2de8 = $A50b2['item_category4'];
goto D755f;
f6ce2:
$d6674 = 0;
goto bb290;
D5a58:
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) {
goto a50d2;
}
goto F566d;
e7580:
$e2e7f = $this->cart->getSubTotal();
goto e3e8c;
A7770:
$b098d = [];
goto f0d66;
f9a03:
$eb419 = $ac091 - $e2e7f;
goto D1727;
Dcff9:
if (!(float) $Be6f2['special']) {
goto C8913;
}
goto bdd78;
E72d8:
$b8fc6 = $this->getOptionPrice($bf361, $e903c, $Be6f2['price'], $Dd681);
goto E5b7f;
A08c3:
$E4cba['eventdata']['data']['products'] = $a79aa;
goto E5650;
e1cde:
Fbd4d:
goto Bee68;
F3bae:
$C431a = ['content_category' => isset($B3525) ? $B3525 : '', 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $bd5a9, 'brands' => $da8eb, 'num_items' => $Dd681];
goto D38e6;
b40df:
$F5c83 = $this->facebookAPI($E10b1, 'AddToCart', $e3b23, $b098d, $b1eff);
goto c1ba8;
eee7f:
$Cc580 = true;
goto d6f21;
B618a:
$Ac84c = 0;
goto Cea2d;
A8013:
}
public function prepareRemoveCart($bf361, $Be6f2, $Dd681)
{
goto D9a38;
f9f9c:
$Be6f2['sku'] = $Be6f2['model'];
goto b9736;
b5ea1:
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) {
goto dd521;
}
goto E5c6b;
B329e:
$A1d57 = $A50b2['item_category'];
goto ee46e;
Ff71d:
$e41da = $A50b2['item_category3'];
goto F7b8e;
C467c:
$A50b2 = $this->getProductCatName($bf361);
goto Dbc20;
fde73:
$B3a1a = number_format((float) $B3a1a, 2, '.', '');
goto B2c24;
c570f:
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax'));
goto D1fce;
f6b65:
$e34fb = $E10b1['alt_currency'];
goto ddcfd;
Ac62e:
$Ac84c = $this->currency->format($f97f8, $E10b1['alt_currency'], 0, false);
goto e690e;
A6797:
$b1eff = '10-' . $this->eventid();
goto fbc6d;
D588d:
$A31ff = ['error' => 'false', 'action' => 'RemoveCart', 'data' => $c6ed3];
goto Cc4a7;
ddcfd:
dd521:
goto c5d9a;
b9736:
E5bce:
goto B60c5;
d222a:
$f97f8 = $ddb28 * $Dd681;
goto d01ad;
Cc4a7:
return $A31ff;
goto c48b8;
F4d83:
$e34fb = $E10b1['currency'];
goto b5ea1;
B5175:
d4c6e:
goto e0ceb;
ee46e:
$F9d4b = $A50b2['item_category2'];
goto Ff71d;
C0e00:
$bd5a9 = 0;
goto e0e83;
d4898:
$D1f20 = $A50b2['category'];
goto d5822;
e1095:
$f9e18 = $this->tax->calculate($Be6f2['price'], $Be6f2['tax_class_id'], $this->config->get('config_tax'));
goto E0447;
C70cb:
$D2701 = $A50b2['item_category5'];
goto B5175;
d65b0:
$bd5a9 = $Be6f2['price'];
goto f384c;
E5c6b:
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false);
goto f6b65;
A0262:
$B3525 = $A50b2['item_list_name'];
goto B329e;
f3be0:
$Be6f2['price'] = $Be6f2['price'] + $b8fc6;
goto d65b0;
F3418:
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto Bcf57;
e690e:
if (isset($Be6f2['sku'])) {
goto E5bce;
}
goto f9f9c;
E0447:
$ddb28 = $f9e18;
goto ec73b;
F4678:
$b8fc6 = 0;
goto e1377;
e0ceb:
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']);
goto B8737;
Dc223:
$f97f8 = 0;
goto Ef9dd;
ec73b:
$bd5a9 = $this->currency->format($ddb28, $this->session->data['currency'], 0, false);
goto d222a;
e701c:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949];
goto Ed237;
f384c:
$B3a1a = $bd5a9 * $Dd681;
goto c570f;
d01ad:
$f97f8 = $this->currency->format($f97f8, $this->session->data['currency'], 0, false);
goto Ac62e;
a0e8d:
$da8eb = $this->getProductBrandName($Be6f2['product_id']);
goto C467c;
d7808:
$f9e18 = 0;
goto C0e00;
B2c24:
$Ae2c5 = number_format((float) $abe29, 2, '.', '');
goto e1095;
E82e9:
e80d1:
goto dfa04;
D1fce:
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) {
goto C680d;
}
goto E1c47;
c5d9a:
$bd5a9 = number_format((float) $bd5a9, 2, '.', '');
goto fde73;
Ef9dd:
$Ac84c = 0;
goto e7854;
e1377:
if ($D2945) {
goto e80d1;
}
goto feef6;
d5822:
$d83ed = $A50b2['item_list_id'];
goto A0262;
E1c47:
$e7511 = $bd5a9;
goto Dd1d5;
fbc6d:
$D2945 = $this->check_array($Be6f2);
goto Dc223;
B8737:
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => $Dd681];
goto e701c;
B60c5:
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1);
goto a0e8d;
e0e83:
$B3a1a = 0;
goto F4678;
Dbc20:
if (!isset($A50b2)) {
goto d4c6e;
}
goto d4898;
C0084:
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto F3418;
F7b8e:
$a2de8 = $A50b2['item_category4'];
goto C70cb;
Bcf57:
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false);
goto F4d83;
D9a38:
$E10b1 = $this->config();
goto A6797;
Dd1d5:
C680d:
goto C0084;
feef6:
return false;
goto E82e9;
Ed237:
$c6ed3 = ['name' => $Bf5ae, 'id' => $f95b0, 'price' => $B3a1a, 'value' => $B3a1a, 'brand' => $da8eb, 'category' => isset($D1f20) ? $D1f20 : '', 'quantity' => $Dd681, 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff];
goto D588d;
dfa04:
$b8fc6 = $this->getOptionPrice($bf361, $Be6f2['option'], $Be6f2['price'], $Dd681);
goto f3be0;
e7854:
$a21f7 = 0;
goto d7808;
c48b8:
}
public function prepareAddtoWishlist($bf361, $Be6f2)
{
goto e59f5;
a773a:
$Bf5ae = $this->tagmangerPtitle($Be6f2['name'], $da8eb, $Be6f2['model'], $Be6f2['product_id']);
goto B29ec;
Cb7df:
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) {
goto B226a;
}
goto bbee8;
a122b:
$bd5a9 = 0;
goto f5305;
be4d4:
$bd5a9 = $Be6f2['special'];
goto Ebd0b;
d2222:
$f445c = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => 1, 'content_price' => $bd5a9, 'content_group_id' => ''];
goto C69b4;
C2ec9:
goto F964b;
goto b3a79;
B1e9d:
$B3a1a = $bd5a9;
goto e51e6;
e8476:
E9c65:
goto c8e4b;
b1cb1:
$Ee7a1 = $A6899['tiktok_user_data'];
goto d7e56;
B29ec:
$de949[] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'quantity' => 1];
goto b619d;
b7ec8:
$Bc03e = false;
goto E9da3;
c505e:
$Dd945 = $this->gtm->snapchatAPI($E10b1, 'ADD_TO_WISHLIST', $C431a, $Ede1c, $b1eff);
goto cd93b;
A41bb:
B226a:
goto b6344;
d7e56:
Ebe31:
goto F1c9e;
F02ee:
$C8d5b = [];
goto B2c2a;
e3551:
d7c7f:
goto fb1d8;
B43c2:
$b098d = [];
goto b1998;
Ed045:
$f445c = [];
goto Cc6a2;
Ad5fe:
$b8fc6 = 0;
goto B43c2;
b10aa:
$F7fe3 = $E10b1['twitter_addwishlist'];
goto A991a;
B4d04:
$D1f20 = $A50b2['category'];
goto fdb67;
b619d:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $bd5a9, 'items' => $de949];
goto Afdde;
C69b4:
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto e3551;
a19ab:
$Ae2c5 = number_format((float) $abe29, 2, '.', '');
goto C5dfb;
f5305:
$B3a1a = 0;
goto Ad5fe;
b6344:
$bd5a9 = number_format((float) $bd5a9, 2, '.', '');
goto Ad13a;
Cc6a2:
$f97f8 = 0;
goto D7c2f;
f81aa:
if (!(isset($A6899['pixel_user_data']) && $A6899)) {
goto af159;
}
goto Ef099;
Ad13a:
$B3a1a = number_format((float) $B3a1a, 2, '.', '');
goto a19ab;
d7527:
a0e34:
goto a773a;
D8e98:
$f9e18 = 0;
goto a122b;
b2671:
$F7fe3 = 0;
goto C28c5;
cb5d9:
C2db0:
goto Cdda1;
fc0c0:
if ($D2945) {
goto D4ca0;
}
goto a5e9d;
fd380:
if (!$E10b1['fb_api']) {
goto Bc9ff;
}
goto Db88a;
E082f:
$B3a1a = $this->currency->format($this->tax->calculate($B3a1a, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto cd4ab;
d63b9:
$e41da = $A50b2['item_category3'];
goto B3f69;
fd86a:
$D2701 = $A50b2['item_category5'];
goto d7527;
b24ab:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto d7c7f;
}
goto c367e;
fb1d8:
$c6ed3 = ['name' => $Bf5ae, 'id' => $f95b0, 'price' => $bd5a9, 'value' => $B3a1a, 'brand' => $da8eb, 'quantity' => 1, 'category' => isset($D1f20) ? $D1f20 : '', 'currency' => $E10b1['currency'], 'pixel_value' => $Ae2c5, 'fcurrency' => $e34fb, 'ga' => $a6560, 'event_id' => $b1eff];
goto Fa5a1;
F177a:
E8b4f:
goto Ad314;
aa1ad:
$f95b0 = $this->tagmangerPmap($Be6f2['model'], $Be6f2['sku'], $Be6f2['product_id'], $E10b1);
goto fc568;
b3a79:
C3d5d:
goto b10aa;
B8752:
af159:
goto fd380;
e01f3:
$b1eff = '4-' . $this->eventid();
goto A8bee;
Ad314:
$bd5a9 = $this->currency->format($this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false);
goto E082f;
d7cc7:
if (!(isset($A6899['tiktok_user_data']) && $A6899)) {
goto Ebe31;
}
goto b1cb1;
Db88a:
$e3b23 = $Bc03e;
goto f208e;
cd4ab:
$abe29 = $this->currency->format($e7511, $this->session->data['currency'], 0, false);
goto Daeb9;
b0f04:
D1e09:
goto aa1ad;
Eb97c:
$A6899 = $this->formatUserdata($E10b1);
goto fc0c0;
eed23:
if (!(isset($A6899['snapchat_user_data']) && $A6899)) {
goto E9c65;
}
goto F06cf;
Daeb9:
$e34fb = $E10b1['currency'];
goto Cb7df;
F0eb8:
$e7511 = $bd5a9;
goto F177a;
d7835:
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) {
goto E8b4f;
}
goto F0eb8;
C28c5:
$baf8f = [];
goto Ed045;
e51e6:
$e7511 = $this->tax->calculate($bd5a9, $Be6f2['tax_class_id'], $this->config->get('config_tax'));
goto d7835;
fdb67:
$d83ed = $A50b2['item_list_id'];
goto Ee327;
cd93b:
db88d:
goto A3df0;
B3f69:
$a2de8 = $A50b2['item_category4'];
goto fd86a;
B2c2a:
$C431a = [];
goto A726c;
Afdde:
if (!$E10b1['tiktok_status']) {
goto ad8b3;
}
goto a3979;
A3df0:
cce55:
goto b24ab;
a5e9d:
return false;
goto C1012;
Ef9b5:
$A1d57 = $A50b2['item_category'];
goto F6638;
Ef099:
$b098d = $A6899['pixel_user_data'];
goto B8752;
f7fe8:
if (!isset($A50b2)) {
goto a0e34;
}
goto B4d04;
A991a:
F964b:
goto d2222;
A726c:
$a0e51 = [];
goto Dd47a;
B0f41:
$C8d5b = ['client_deduplication_id' => $b1eff, 'event_id' => $b1eff, 'price' => $bd5a9, 'currency' => $E10b1['currency'], 'item_ids' => $f95b0, 'number_items' => 1, 'brands' => $da8eb, 'item_category' => isset($B3525) ? $B3525 : '', 'description' => 'Item added to wishlist'];
goto e7094;
e59f5:
$E10b1 = $this->config();
goto e01f3;
Fa5a1:
if (!$E10b1['pixel']) {
goto C2db0;
}
goto b75fe;
C0174:
if (!$E10b1['snap_pixel_status']) {
goto cce55;
}
goto B0f41;
A5e55:
ad8b3:
goto C0174;
fc568:
$da8eb = $this->getProductBrandName($Be6f2['product_id']);
goto C5cd1;
a3979:
$f6a53[] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $bd5a9, 'content_id' => $f95b0, 'quantity' => 1, 'brand' => $da8eb, 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae, 'content_type' => 'product'];
goto E1017;
E1017:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $bd5a9, 'description' => $Bf5ae];
goto d7cc7;
af34e:
$bd5a9 = $Be6f2['price'];
goto db0dd;
c8e4b:
if (!($E10b1['snap_pixel_api'] && !empty($E10b1['snap_pixel_token']) && isset($C431a))) {
goto db88d;
}
goto c505e;
F1c9e:
$Dd945 = $this->gtm->tiktokAPI($E10b1, 'AddToWishlist', $a0e51, $Ee7a1);
goto A5e55;
E9da3:
$E10b1['event_id'] = $b1eff;
goto Eb97c;
D77da:
$F7fe3 = 0;
goto C2ec9;
c367e:
if (isset($E10b1['twitter_addwishlist']) && !empty($E10b1['twitter_addwishlist'])) {
goto C3d5d;
}
goto D77da;
F6638:
$F9d4b = $A50b2['item_category2'];
goto d63b9;
B89c8:
$a21f7 = 0;
goto D8e98;
b75fe:
$Bc03e = ['content_ids' => $f95b0, 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb, 'product_catalog_id' => $E10b1['fb_catalog_id']];
goto f81aa;
db0dd:
if (!(float) $Be6f2['special']) {
goto d0f83;
}
goto be4d4;
C5dfb:
if (isset($Be6f2['sku'])) {
goto D1e09;
}
goto f11f3;
D7c2f:
$Ac84c = 0;
goto B89c8;
C5cd1:
$A50b2 = $this->getProductCatName($bf361);
goto f7fe8;
Ee327:
$B3525 = $A50b2['item_list_name'];
goto Ef9b5;
e738b:
$e34fb = $E10b1['alt_currency'];
goto A41bb;
bbee8:
$abe29 = $this->currency->format($e7511, $E10b1['alt_currency'], 0, false);
goto e738b;
Cdda1:
$A31ff = ['error' => 'false', 'action' => 'addToWishlist', 'data' => $c6ed3, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'tiktok' => $a0e51, 'fb_data' => $Bc03e, 'event_id' => $b1eff];
goto e780d;
f208e:
$Dd945 = $this->gtm->facebookAPI($E10b1, 'AddToWishlist', $e3b23, $b098d, $b1eff);
goto Ae92b;
Ae92b:
Bc9ff:
goto cb5d9;
b1998:
$f6a53 = [];
goto Ae24e;
Dd47a:
$Ede1c = [];
goto b7ec8;
f11f3:
$Be6f2['sku'] = $Be6f2['model'];
goto b0f04;
e7094:
$C431a = ['content_category' => isset($B3525) ? $B3525 : '', 'currency' => $E10b1['currency'], 'content_ids' => $f95b0, 'value' => $bd5a9, 'brands' => $da8eb, 'num_items' => 1];
goto eed23;
Ae24e:
$Ee7a1 = [];
goto F02ee;
e780d:
return $A31ff;
goto A115f;
F06cf:
$Ede1c = $A6899['snapchat_user_data'];
goto e8476;
A8bee:
$D2945 = $this->check_array($Be6f2);
goto b2671;
C1012:
D4ca0:
goto af34e;
Ebd0b:
d0f83:
goto B1e9d;
A115f:
}
public function prepareProduct($c1b93 = array())
{
goto ee7ac;
D391b:
return false;
goto B1d12;
df0d5:
$Fa4d9 = [];
goto Fc36a;
bbf37:
$e34fb = $E10b1['alt_currency'];
goto D1163;
Edd70:
if (!$E10b1['pixel']) {
goto A4d1a;
}
goto f755a;
Ca422:
$Bc909 = ['event' => 'productView', 'eventAction' => 'productView', 'eventLabel' => 'Product Detail View', 'ga' => $a6560, 'content_name' => $c1b93['name'], 'content_category' => $c1b93['category'], 'content_ids' => $c1b93['id'], 'content_type' => 'product', 'category' => $c1b93['category'], 'brand' => $c1b93['brand'], 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'event_id' => $b1eff];
goto Bb1a4;
d6e30:
return $A31ff;
goto E9496;
Ac26f:
$b267b = $E10b1['max_list_items'];
goto E0581;
b9578:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'items' => $de949];
goto Ca422;
F5b7f:
$f6a53[] = ['content_category' => $c1b93['category'], 'content_name' => $c1b93['name'], 'price' => $c1b93['price'], 'content_id' => $c1b93['id'], 'quantity' => 1, 'brand' => $c1b93['brand'], 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'description' => $c1b93['name'], 'content_type' => 'product'];
goto Cb483;
cafd9:
if (isset($E10b1['twitter_viewcontent']) && !empty($E10b1['twitter_viewcontent'])) {
goto b9a63;
}
goto Ad2de;
Dcb8d:
$b1eff = '1-' . $this->eventid();
goto F9462;
E2fe1:
C234c:
goto cb971;
d4e99:
$F7fe3 = $E10b1['twitter_viewcontent'];
goto E837d;
ccf77:
if ($D2945) {
goto f71bf;
}
goto B264e;
Fd556:
$de949 = [];
goto D16cb;
C1c47:
E9ef6:
goto fce2b;
Cbe3c:
goto c65a7;
goto C1c47;
D7619:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto C234c;
}
goto ee053;
B97c8:
$C8d5b = [];
goto E4230;
c4eef:
$A31ff = ['error' => 'false', 'page_type' => 'product', 'datalayer' => $Bc909, 'items' => $de949, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'fb_data' => $Bc03e, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b];
goto E72c4;
E837d:
F9794:
goto c001e;
D6b7d:
e28bc:
goto e96be;
a46d7:
$e5684[] = ['id' => (string) $c1b93['id'], 'google_business_vertical' => 'retail'];
goto a05d8;
bfc50:
Fffa2:
goto d6e30;
A2ce3:
$Ae2c5 = $c1b93['price'];
goto Edd70;
B8d00:
goto f8dfc;
goto B50ea;
ea183:
$E7330 = [];
goto B9c3d;
Abbd8:
$E10b1 = $this->config();
goto Dcb8d;
Fc36a:
$B64bb = 0;
goto Ece12;
b1b7a:
Fd85c:
goto ab2c0;
B858b:
if (!$E10b1['matomo_status']) {
goto da29b;
}
goto d8752;
e4c05:
$fe56e = ['send_to' => 'ads', 'value' => $c1b93['price'], 'items' => $e5684];
goto b9578;
cb971:
A4d1a:
goto e4c05;
c2ac9:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', '');
goto bbf37;
B264e:
return false;
goto Eceea;
fe296:
if (!$E10b1['tiktok_status']) {
goto e28bc;
}
goto F5b7f;
B1d12:
fffe0:
goto a46d7;
B9b38:
$B1d6b = '';
goto db5ad;
B1d67:
$baf8f = [];
goto Bbaf5;
b7b85:
$fe56e = [];
goto e70ed;
a28d5:
goto F9794;
goto Fffd7;
Ddbf9:
$c6ed3[] = [];
goto Fd556;
F9462:
$be876 = $E10b1['limit'];
goto Ac26f;
F88cc:
$B64bb = number_format((float) $B64bb, 2, '.', '');
goto Afcce;
a6c45:
c5eda:
goto A2ce3;
Ece12:
foreach ($E79b5 as $F5c83) {
goto bdb99;
Eb4e1:
$B64bb += $F5c83['price'];
goto F1f16;
befcf:
$e5684[] = ['id' => $F5c83['id'], 'google_business_vertical' => 'retail'];
goto Eb4e1;
D25e9:
$F4056[] = $F5c83['id'];
goto befcf;
bdb99:
$Fa4d9[] = ['item_id' => $F5c83['id'], 'item_name' => $F5c83['name'], 'item_brand' => $F5c83['brand'], 'item_list_name' => 'Related', 'item_list_id' => $F5c83['item_list_id'], 'item_category' => $F5c83['item_category'], 'item_category2' => $F5c83['item_category2'], 'item_category3' => $F5c83['item_category3'], 'item_category4' => $F5c83['item_category4'], 'item_category5' => $F5c83['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $F5c83['price'], 'curency' => $E10b1['currency'], 'index' => $F5c83['index'], 'quantity' => 1];
goto D25e9;
F1f16:
C6275:
goto b6262;
b6262:
}
goto F0bd1;
d5cb4:
if (!$E10b1['twitter_status']) {
goto c5eda;
}
goto cafd9;
F6df0:
B56b7:
goto d5cb4;
c001e:
$f445c[] = ['content_id' => $c1b93['id'], 'content_type' => 'product', 'content_name' => $E10b1['currency'], 'content_price' => $c1b93['price'], 'content_group_id' => ''];
goto C5db7;
E0581:
$f84c8 = $E10b1['max_module_items'];
goto A7783;
Bbaf5:
$f445c = [];
goto e7668;
Fffd7:
b9a63:
goto d4e99;
C5db7:
$baf8f = ['value' => $c1b93['price'], 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto a6c45;
f755a:
$C51cf = ['track' => 'ViewContent'];
goto Ef273;
a6690:
$C431a = ['content_category' => $c1b93['category'], 'currency' => $E10b1['currency'], 'content_ids' => $c1b93['id'], 'value' => $c1b93['price'], 'brands' => $c1b93['brand'], 'num_items' => 1];
goto F6df0;
bcbab:
$Ae2c5 = $this->tax->calculate($c1b93['item_price'], $c1b93['tax_class_id'], $this->config->get('config_tax'));
goto Cbe3c;
Cb483:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $c1b93['price'], 'description' => $c1b93['name']];
goto D6b7d;
Afcce:
$E7330 = ['event' => 'listingView', 'eventAction' => 'listingView', 'eventLabel' => 'Related', 'ga4_items' => $Fa4d9, 'content_type' => 'product', 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B64bb];
goto c0c57;
a3556:
$Bc909['cj_page'] = 'productDetail';
goto Db445;
ee053:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto E2fe1;
a05d8:
if (!isset($c1b93['ecproducts'])) {
goto Fd85c;
}
goto A89b3;
D1163:
f8dfc:
goto fbc4c;
e7668:
$e5684 = [];
goto ea183;
Db445:
d8a59:
goto c4eef;
B9c3d:
$e34fb = $E10b1['currency'];
goto dcfc8;
dcfc8:
$F7fe3 = 0;
goto B9b38;
f3a84:
c65a7:
goto da17e;
D16cb:
$Bc03e = false;
goto De441;
ab2c0:
$de949[] = ['item_id' => $c1b93['id'], 'item_name' => $c1b93['name'], 'item_brand' => $c1b93['brand'], 'item_list_name' => $c1b93['item_list_name'], 'item_list_id' => $c1b93['item_list_id'], 'item_category' => $c1b93['item_category'], 'item_category2' => $c1b93['item_category2'], 'item_category3' => $c1b93['item_category3'], 'item_category4' => $c1b93['item_category4'], 'item_category5' => $c1b93['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $c1b93['price'], 'curency' => $E10b1['currency'], 'item_image' => $c1b93['image_link'], 'item_url' => $c1b93['url_link'], 'index' => 0, 'quantity' => 1];
goto B858b;
B50ea:
Dce4c:
goto c2ac9;
da17e:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto Dce4c;
}
goto F6c91;
A7783:
$c6ed3 = [];
goto B9ad8;
e70ed:
if (!(!isset($c1b93['price']) || !isset($c1b93['id']))) {
goto fffe0;
}
goto D391b;
F0bd1:
D4407:
goto F88cc;
d8752:
$B1d6b = ['sku' => $c1b93['id'], 'name' => $c1b93['name'], 'category' => $c1b93['item_category'], 'price' => $c1b93['price']];
goto dee32;
E8ced:
$a0e51 = [];
goto B97c8;
Bb1a4:
if (!$E10b1['cj_status']) {
goto d8a59;
}
goto a3556;
F6c91:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', '');
goto Cc514;
De441:
$E4cba = false;
goto B1d67;
B9ad8:
$f6a53 = [];
goto E8ced;
E72c4:
if (!isset($E79b5)) {
goto Fffa2;
}
goto df0d5;
Cc514:
$e34fb = $E10b1['currency'];
goto B8d00;
c0c57:
$A31ff['related'] = $E7330;
goto bfc50;
fbc4c:
$Bc03e = ['content_name' => $c1b93['name'], 'content_category' => $c1b93['category'], 'content_ids' => $c1b93['id'], 'content_type' => 'product', 'value' => $Ae2c5, 'currency' => $e34fb];
goto D7619;
E4230:
$C431a = [];
goto Ddbf9;
a51b6:
$C8d5b = ['price' => $c1b93['price'], 'currency' => $E10b1['currency'], 'item_ids' => $c1b93['id'], 'number_items' => 1, 'brands' => $c1b93['brand'], 'item_category' => $c1b93['category'], 'description' => 'Product Viewed'];
goto a6690;
fce2b:
$Ae2c5 = $c1b93['item_price'];
goto f3a84;
Eceea:
f71bf:
goto Abbd8;
ee7ac:
$D2945 = $this->check_array($c1b93);
goto ccf77;
dee32:
da29b:
goto fe296;
e96be:
if (!$E10b1['snap_pixel_status']) {
goto B56b7;
}
goto a51b6;
A89b3:
$E79b5 = $c1b93['ecproducts'];
goto b1b7a;
Ef273:
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) {
goto E9ef6;
}
goto bcbab;
db5ad:
$a6560 = [];
goto b7b85;
Ad2de:
$F7fe3 = 0;
goto a28d5;
E9496:
}
public function prepareProducts($c1b93)
{
goto bdbb0;
b968c:
goto Aab9a;
goto A1462;
F91fe:
e93d4:
goto Aea32;
D4b51:
$a0e51 = [];
goto a24a3;
f26d7:
$B1d6b = $A9b26;
goto d541b;
E4a4a:
e0516:
goto a6492;
Ac2be:
$b50e4 = (int) array_pop($Abd5a);
goto e8607;
e6e42:
$de949 = [];
goto E7e5a;
C55b1:
goto A0b3c;
goto f9864;
b94a9:
$fe56e = [];
goto b0392;
Cd035:
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $Ed420, 'item_category' => $A9b26, 'description' => 'Product Category View'];
goto f0b50;
aad57:
$A9b26 = $c1b93['catname'];
goto C150d;
bbf1a:
$Abd5a = explode('_', (string) $this->request->get['path']);
goto Ac2be;
E1f17:
if (!$E10b1['cj_status']) {
goto e93d4;
}
goto c413d;
f691e:
goto f2be0;
goto c7ce8;
F4ea8:
F3eb8:
goto B9b09;
C150d:
$ffd86 = $c1b93['brandname'];
goto cc94b;
c63d3:
$Bc03e = ['content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'content_type' => 'product'];
goto F609d;
a6380:
$Ab362 = 'view_search_result';
goto d8b5d;
C2edc:
$c3442 = 'ViewCategory';
goto Fa53f;
c82cb:
A0b3c:
goto F793e;
a4bc1:
if ($f0f7a == 'search') {
goto D6267;
}
goto fa199;
E80e3:
$b1eff = '2-' . $this->eventid();
goto a6380;
c7ce8:
E94e0:
goto c5fa3;
ae054:
$Dc937 = [];
goto e6e42;
f9864:
ccca8:
goto c48af;
Aea32:
if (!$E10b1['pixel']) {
goto F3eb8;
}
goto A8759;
c728b:
goto bd9a5;
goto D5ced;
Cf77b:
$Ab362 = 'view_item_list';
goto C2edc;
F793e:
$fe56e = ['send_to' => 'ads', 'value' => $B3a1a, 'items' => $e5684];
goto C4cc3;
Ebb41:
if (!(isset($aea02) && !empty($aea02))) {
goto b71e9;
}
goto b792a;
f406a:
$C8e44 = $c1b93['products'];
goto ae054;
d7e7b:
$C51cf = '';
goto b9991;
Aa493:
$b50e4 = 0;
goto F4a7c;
F3472:
if (isset($this->request->get['search'])) {
goto e0516;
}
goto A2f9f;
f611f:
return false;
goto Cd3ac;
b0392:
$f6a53 = [];
goto D4b51;
D8935:
$B3a1a = 0;
goto Fbd30;
Ae545:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $E10b1['alt_currency'], 0, false), 2, '.', '');
goto Ae41f;
bb207:
$d6674 = 1;
goto E363b;
cc94b:
$F4056 = [];
goto feca4;
E363b:
$Ed420 = 0;
goto e2640;
C7165:
$Bc03e = false;
goto d7e7b;
D7cf3:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto b0a79;
}
goto de8e0;
feca4:
$e5684 = [];
goto d39f3;
D9da9:
return $A31ff;
goto F0de7;
F609d:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto C0231;
}
goto e74e1;
Feb2e:
$f445c = [];
goto D92f6;
c5fa3:
$F7fe3 = $E10b1['twitter_search'];
goto B9243;
f0b50:
$C431a = ['content_category' => $A9b26, 'currency' => $E10b1['currency'], 'content_ids' => $Dc937, 'contents' => $C3d53, 'value' => $B3a1a];
goto Ebb41;
d8b5d:
$c3442 = 'viewSearch';
goto D1019;
E4abb:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto B258c;
ff760:
Bcfca:
goto a4bc1;
Ba81b:
$af607 = 0;
goto a7480;
F4a7c:
goto B0102;
goto C810c;
Ae41f:
$e34fb = $E10b1['alt_currency'];
goto c04df;
b6826:
$baf8f = ['search_string' => $aea02, 'value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto Cd0de;
A7856:
$A31ff = ['error' => 'false', 'page_type' => 'listing', 'datalayer' => $Bc909, 'remarketing' => $fe56e, 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'fb_data' => $Bc03e, 'matomo' => $B1d6b, 'category_id' => $b50e4, 'category_name' => $A9b26, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'items' => $de949];
goto D9da9;
a9e11:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $de949];
goto C55b1;
Fa53f:
$Bc3c1 = 'view_item_list';
goto c728b;
A8f3f:
$a7e4d = '';
goto A3632;
C497e:
if (isset($E10b1['twitter_search']) && !empty($E10b1['twitter_search'])) {
goto E94e0;
}
goto Fe511;
d026d:
d9159:
goto C54c9;
a7480:
foreach ($C8e44 as $ea436) {
goto dbd3b;
a0560:
$e5684[] = ['id' => (string) $ea436['id'], 'google_business_vertical' => 'retail'];
goto Dacc5;
A73ba:
$B3a1a += $ea436['price'];
goto c8994;
c8994:
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) {
goto c1cbb;
}
goto f63da;
F2603:
goto A834e;
goto da94b;
Dacc5:
if ($Ed420 == 0) {
goto dfe1f;
}
goto Ea718;
f8f52:
D2f2f:
goto c216d;
da94b:
eaa00:
goto Eb673;
de111:
$C3d53[] = ['id' => $ea436['id'], 'quantity' => 1, 'item_price' => $ea436['price']];
goto F9b95;
d95a8:
if (!($d6674 > $b267b)) {
goto eaa00;
}
goto F2603;
d2cd9:
dfe1f:
goto b316f;
b316f:
$a7e4d = $ea436['id'];
goto c1016;
f63da:
$F9ee2 = $this->tax->calculate($ea436['item_price'], $ea436['tax_class_id'], $this->config->get('config_tax'));
goto Ddfb6;
e40ea:
goto f525c;
goto b0e85;
a9e85:
$d6674++;
goto Eecd4;
Ddfb6:
$Ae2c5 += $F9ee2;
goto e40ea;
F9b95:
$f6a53[] = ['content_category' => $ea436['item_list_name'], 'content_name' => $ea436['name'], 'price' => $ea436['price'], 'content_id' => $ea436['id'], 'quantity' => 1, 'brand' => $ea436['brand']];
goto d95a8;
b18ec:
$Dc937[] = $ea436['id'];
goto a0560;
Ea718:
if ($Ed420 == 1) {
goto dedba;
}
goto b4166;
b4166:
goto bc4a2;
goto d2cd9;
Df8c8:
$bc36f = $ea436['id'];
goto a211d;
Eecd4:
$af607++;
goto f8f52;
e2416:
$F4056[] = $ea436['id'];
goto b18ec;
F1ac4:
f525c:
goto A4b36;
dbd3b:
$de949[] = ['item_id' => $ea436['id'], 'item_name' => $ea436['name'], 'item_brand' => $ea436['brand'], 'item_list_name' => $ea436['item_list_name'], 'item_list_id' => $ea436['item_list_id'], 'item_category' => $ea436['item_category'], 'item_category2' => $ea436['item_category2'], 'item_category3' => $ea436['item_category3'], 'item_category4' => $ea436['item_category4'], 'item_category5' => $ea436['item_category5'], 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => $ea436['price'], 'curency' => $E10b1['currency'], 'index' => $ea436['index'], 'quantity' => 1];
goto e2416;
Ae03d:
dedba:
goto Df8c8;
c1016:
goto bc4a2;
goto Ae03d;
B79bf:
$Ae2c5 += $ea436['item_price'];
goto F1ac4;
A4b36:
$f445c[] = ['content_id' => $ea436['id'], 'content_type' => 'product', 'content_name' => $ea436['name'], 'content_price' => $ea436['price']];
goto de111;
Eb673:
$Ed420++;
goto a9e85;
a211d:
bc4a2:
goto A73ba;
b0e85:
c1cbb:
goto B79bf;
c216d:
}
goto e65f0;
Fe3ab:
$aea02 = $c1b93['search'];
goto aad57;
A3632:
$bc36f = '';
goto be662;
d5bee:
bd9a5:
goto bb207;
F7369:
fd033:
goto Ebfeb;
B9243:
f2be0:
goto ff760;
a24a3:
$C8d5b = [];
goto c7758;
c7758:
$C431a = [];
goto E0511;
Fbd30:
$Ae2c5 = 0;
goto A8f3f;
a2dc8:
C0231:
goto B4ca7;
Aba23:
if (isset($this->request->get['path'])) {
goto c25f6;
}
goto Aa493;
Fdecb:
$a0e51 = ['contents' => $f6a53, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => $A9b26];
goto d802e;
b792a:
$C431a['search_string'] = $aea02;
goto c0953;
D92f6:
$F7fe3 = 0;
goto E6c6d;
eaf68:
$baf8f = [];
goto Feb2e;
Fa9da:
a7522:
goto B4eeb;
Df5f8:
if (!$E10b1['tiktok_status']) {
goto b9985;
}
goto Fdecb;
d159d:
$B3a1a = number_format((float) $B3a1a, 2, '.', '');
goto D7cf3;
b9a13:
$Bc03e = ['content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'content_type' => 'product', 'search_string' => $aea02];
goto F9adc;
Fe511:
$F7fe3 = 0;
goto f691e;
c04df:
d81f3:
goto fed94;
E1269:
Aab9a:
goto F4ea8;
F7a12:
$a6560 = [];
goto b94a9;
fa709:
$C8d5b['description'] = 'View Search Results';
goto caa3f;
E7e5a:
$f0f7a = strtolower(!empty($c1b93['listname']) ? $c1b93['listname'] : 'Category');
goto Fe3ab;
B9b09:
if (!($E10b1['matomo_status'] && $aea02 == '')) {
goto Ef1d6;
}
goto f26d7;
B4eeb:
b9985:
goto Ba44c;
c413d:
$Bc909['cj_page'] = 'category';
goto F91fe;
A8759:
if ($f0f7a == 'search') {
goto a6013;
}
goto c63d3;
B4ca7:
$C51cf = 'ViewCategory';
goto b968c;
df8c9:
$b267b = $E10b1['max_list_items'];
goto Ff532;
D5ced:
D6267:
goto E80e3;
af5ff:
b0a79:
goto Ae545;
e8607:
B0102:
goto A7856;
d39f3:
$Bc3c1 = '';
goto D8935;
F9adc:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto C3a03;
}
goto E4abb;
Ff532:
$f84c8 = $E10b1['max_module_items'];
goto Bb6ce;
Dd310:
$Bc3c1 = 'view_search_results';
goto d5bee;
E0511:
$C3d53 = [];
goto F3472;
a7fc5:
goto fd033;
goto E4a4a;
e2640:
$a42e6 = [];
goto B002d;
B67f6:
goto d81f3;
goto af5ff;
bdbb0:
$E10b1 = $this->config();
goto Dea80;
d802e:
if (!$aea02) {
goto a7522;
}
goto e80c1;
d541b:
Ef1d6:
goto Aba23;
a6492:
$aea02 = $this->request->get['search'];
goto F7369;
Ebfeb:
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) {
goto Bcfca;
}
goto C497e;
c48af:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'search_term' => $aea02, 'term' => $aea02, 'items' => $de949];
goto c82cb;
C4cc3:
$Bc909 = ['event' => $f0f7a == 'search' ? 'searchResult' : 'listingView', 'eventAction' => $f0f7a == 'search' ? 'searchResult' : 'listingView', 'eventLabel' => $f0f7a == 'search' ? 'Search Results' : 'Category View', 'content_name' => $A9b26, 'content_category' => $A9b26, 'content_ids' => $Dc937, 'ga' => $a6560, 'content_type' => 'product', 'search' => $aea02, 'category' => $A9b26, 'brand' => $ffd86, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'pixel_value' => $Ae2c5, 'fb_currency' => $e34fb, 'event_id' => $b1eff];
goto E1f17;
b9991:
$E4cba = false;
goto f406a;
fed94:
if (!(isset($E10b1['twitter_status']) & $E10b1['twitter_status'] && !empty($aea02))) {
goto d2ce8;
}
goto b6826;
Bb6ce:
$ad3c6 = !empty($c1b93['listname']) ? $c1b93['listname'] : $A9b26;
goto eaf68;
caa3f:
b71e9:
goto d026d;
de8e0:
$Ae2c5 = number_format((float) $this->currency->format($Ae2c5, $this->session->data['currency'], 0, false), 2, '.', '');
goto E2769;
A1462:
a6013:
goto b9a13;
c0953:
$C8d5b['search_string'] = $aea02;
goto fa709;
B002d:
$E79b5 = [];
goto Ba81b;
E2769:
$e34fb = $E10b1['currency'];
goto B67f6;
Dea80:
if ($this->check_array($c1b93['products'])) {
goto Fa883;
}
goto f611f;
Cd0de:
d2ce8:
goto Df5f8;
e65f0:
A834e:
goto d159d;
B258c:
C3a03:
goto db544;
C54c9:
if (isset($aea02) && !empty($aea02)) {
goto ccca8;
}
goto a9e11;
be662:
$F89a1 = $c1b93['listname'];
goto d634d;
C810c:
c25f6:
goto bbf1a;
e74e1:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto a2dc8;
Cd3ac:
Fa883:
goto C7165;
fa199:
$b1eff = '9-' . $this->eventid();
goto Cf77b;
e80c1:
$a0e51['query'] = $aea02;
goto Fa9da;
A2f9f:
$aea02 = false;
goto a7fc5;
E6c6d:
$B1d6b = '';
goto F7a12;
Ba44c:
if (!$E10b1['snap_pixel_status']) {
goto d9159;
}
goto Cd035;
D1019:
$ad3c6 = 'Search Results';
goto Dd310;
d634d:
$be876 = $E10b1['limit'];
goto df8c9;
db544:
$C51cf = 'Search';
goto E1269;
F0de7:
}
public function prepareModuleProducts($c1b93)
{
goto E9f38;
b5d96:
if (!(isset($E79b5) && !empty($E79b5))) {
goto E7f13;
}
goto E0137;
D41f1:
$F5c83 = ['event' => 'productImpression', 'eventAction' => 'view_item_list', 'eventLabel' => 'view_item_list', 'ec_ecommerce' => $ba909];
goto fa380;
e91b0:
$a42e6 = [];
goto E755b;
e9f26:
$fbc42 = 0;
goto e91b0;
f5aec:
return $a42e6;
goto D1b63;
E0137:
$A1860 = ['currencyCode' => $E10b1['currency'], 'impressions' => $E79b5];
goto B5a79;
Cbd7c:
$E10b1 = $this->settings;
goto E6735;
Dc279:
$C8e44 = $c1b93;
goto B8c5c;
E9f38:
return false;
goto Cbd7c;
Ebf9d:
$be876 = $E10b1['limit'];
goto cbd77;
Ecd08:
b5696:
goto b5d96;
E755b:
$E79b5 = [];
goto F4193;
B5a79:
$ba909 = ['ecommerce' => $A1860];
goto D41f1;
fa380:
$a42e6[] = $F5c83;
goto f042a;
f042a:
E7f13:
goto f5aec;
e05dd:
$f84c8 = $E10b1['max_module_items'];
goto Dc279;
cbd77:
$b267b = $E10b1['max_list_items'];
goto e05dd;
F4193:
foreach ($C8e44 as $ea436) {
goto e47a3;
C415e:
$A1860 = ['currencyCode' => $E10b1['currency'], 'impressions' => $E79b5];
goto B785b;
f17eb:
$Ed420++;
goto f459e;
ac744:
fa140:
goto B490a;
f459e:
$d6674++;
goto E410f;
d81bc:
$Ed420 = 0;
goto C415e;
E410f:
D6d5e:
goto e3ce5;
e79a8:
if (!isset($E79b5)) {
goto d45f0;
}
goto c35fe;
fb6cf:
Ddc3a:
goto be4df;
B86d2:
$F5c83 = ['event' => 'productImpression', 'eventAction' => 'view_item_list' . ($fbc42 > 0 ? $fbc42 : ''), 'eventLabel' => 'view_item_list' . ($fbc42 > 0 ? $fbc42 : ''), 'ec_ecommerce' => $ba909];
goto d467d;
e47a3:
if (!(empty($ea436['name']) || empty($ea436['id']))) {
goto Ddc3a;
}
goto b59bf;
e0014:
if ($Ed420 < $be876) {
goto fa140;
}
goto d81bc;
be4df:
if (!($d6674 > $f84c8)) {
goto b370d;
}
goto f34c2;
B785b:
$ba909 = ['ecommerce' => $A1860];
goto B86d2;
f34c2:
goto b5696;
goto B7e7f;
Ccaca:
d45f0:
goto Bfc05;
B490a:
$E79b5[] = ['name' => $ea436['name'], 'id' => $ea436['id'], 'price' => $ea436['price'], 'brand' => $ea436['brand'], 'category' => $ea436['category'], 'list' => $ea436['list'], 'position' => $d6674];
goto ecc81;
ecc81:
b296f:
goto f17eb;
c35fe:
unset($E79b5);
goto Ccaca;
d467d:
$a42e6[] = $F5c83;
goto e79a8;
B7e7f:
b370d:
goto e0014;
Bfc05:
$E79b5[] = ['name' => $ea436['name'], 'id' => $ea436['id'], 'price' => $ea436['price'], 'brand' => $ea436['brand'], 'category' => $ea436['category'], 'list' => $ea436['list'], 'position' => $d6674];
goto C7ee7;
C7ee7:
$fbc42++;
goto Cc6ca;
Cc6ca:
goto b296f;
goto ac744;
b59bf:
goto D6d5e;
goto fb6cf;
e3ce5:
}
goto Ecd08;
B8c5c:
$d6674 = 1;
goto Ba8eb;
Ba8eb:
$Ed420 = 0;
goto e9f26;
E6735:
$b1eff = $this->eventid();
goto Ebf9d;
D1b63:
}
public function prepareCart()
{
goto e88c8;
Cbaaa:
$b1eff = '12-' . $this->eventid();
goto bde5e;
Cff25:
e06b8:
goto d4094;
df979:
$eb419 = $ac091 - $e2e7f;
goto B2336;
a292d:
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) {
goto fe3fb;
}
goto D9f71;
E5358:
$E4cba = false;
goto Bacdc;
A7e45:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto f03c5;
B99d3:
if (!$E10b1['snap_pixel_status']) {
goto D5a80;
}
goto Abded;
C8980:
f0b60:
goto Ed5c7;
cfcbd:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto Cf601;
}
goto A7e45;
Ef24c:
$eb419 = $ac091 - $e2e7f;
goto C8980;
F0cff:
$Bc909['cj_page'] = 'cart';
goto Bf7c2;
D6a3e:
$Bc03e = false;
goto E5358;
adb67:
$B1d6b = '';
goto dfde3;
b8a09:
if (!$E10b1['tiktok_status']) {
goto Cd06d;
}
goto Da250;
Cd316:
$C431a = [];
goto b8a09;
fbb9f:
$F6719 = $E10b1['tax'];
goto E0f30;
F438f:
E672e:
goto F2caf;
C2b16:
if (isset($c1b93['ga4_items'])) {
goto e06b8;
}
goto ea106;
c382d:
$e5684 = $c1b93['remarketing_ids'];
goto c61b4;
B6058:
B4fd1:
goto B99d3;
C26ae:
$E4cba['eventdata']['data']['shipping'] = 0;
goto Bff3e;
D9f71:
$E4cba = ['email' => $E10b1['email'], 'event' => 'view_cart', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]];
goto Daebb;
Edd0b:
$fe56e = [];
goto a3307;
ebb91:
$Bc03e = ['contents' => isset($c1b93['fb_contents']) ? $c1b93['fb_contents'] : false, 'content_type' => 'product', 'value' => number_format((float) $abe29, 2, '.', ''), 'currency' => $e34fb, 'content_ids' => $F4056];
goto cfcbd;
F9638:
$E4cba['eventdata']['data']['currency'] = $E10b1['currency'];
goto Ca3e7;
F00a6:
return $D10fd;
goto Cff25;
B2336:
if (!$bfd18) {
goto f0b60;
}
goto fd048;
F53c2:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']];
goto A67ee;
bde5e:
$E10b1 = $this->config();
goto fa699;
E8ad1:
$A31ff = ['error' => 'false', 'page_type' => 'cart', 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'sendinblue' => $E4cba, 'tiktok' => $a0e51, 'matomo' => $B1d6b, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'items' => $c1b93['ga4_items']];
goto Be54e;
B3505:
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $F4056, 'value' => $B3a1a, 'num_items' => $c1b93['fb_items']];
goto B7a1f;
B7a1f:
if (!(isset($aea02) && !empty($aea02))) {
goto E672e;
}
goto b997c;
fa699:
$D10fd = [];
goto C2b16;
a3307:
$C8d5b = [];
goto Cd316;
c7bd3:
$abe29 = $c1b93['ftotal'];
goto b24d0;
ea106:
$D10fd = ['error' => 'true'];
goto F00a6;
Be54e:
return $A31ff;
goto F8dcc;
Bacdc:
$bfd18 = $E10b1['override_tax'];
goto fbb9f;
c61b4:
$B3a1a = number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '');
goto adb67;
Bff05:
if (!$E10b1['cj_status']) {
goto B9856;
}
goto F0cff;
F2caf:
D5a80:
goto F53c2;
e88c8:
$c1b93 = $this->getCartProducts();
goto Cbaaa;
b24d0:
$e34fb = $E10b1['alt_currency'];
goto B6058;
E0f30:
$F4056 = $c1b93['ecom_prodid'];
goto c382d;
Bf7c2:
B9856:
goto c5982;
fd048:
$e2e7f = $e2e7f / $F6719;
goto Ef24c;
Bff3e:
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', '');
goto e1db5;
Ed5c7:
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', '');
goto C26ae;
D29d0:
afab9:
goto a292d;
e2d69:
$abe29 = $B3a1a;
goto cbb9c;
Da250:
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'View Cart'];
goto F5b04;
D0682:
fe3fb:
goto cd0ef;
cbb9c:
$e34fb = $E10b1['currency'];
goto bb40b;
abbbb:
$C8d5b['search_string'] = $aea02;
goto F438f;
c5982:
if (!$E10b1['pixel']) {
goto afab9;
}
goto ebb91;
Ca3e7:
$E4cba['eventdata']['data']['products'] = isset($c1b93['sendinblue_products']) ? $c1b93['sendinblue_products'] : [];
goto D0682;
b997c:
$C431a['search_string'] = $aea02;
goto abbbb;
f5653:
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL'));
goto F9638;
E0023:
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', '');
goto f5653;
Aa5be:
F43ff:
goto E8ad1;
bb40b:
goto B4fd1;
goto dbebb;
ec2b0:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto B1376;
}
goto e2d69;
F5b04:
Cd06d:
goto ec2b0;
aaf24:
$B1d6b = ['items' => $Ada7b, 'total' => $B3a1a];
goto Aa5be;
E4192:
$E4cba['eventdata']['data']['discount'] = 0;
goto E0023;
bbad0:
$ac091 = $this->cart->getTotal();
goto df979;
e1db5:
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', '');
goto E4192;
Abded:
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'number_items' => $c1b93['fb_items']];
goto B3505;
d4094:
$a0e51 = [];
goto D6a3e;
A67ee:
$Bc909 = ['event' => 'CART_VIEW', 'eventAction' => 'CART_VIEW', 'eventLabel' => 'CART_VIEW', 'ga' => $a6560, 'content_name' => 'View Cart', 'content_category' => 'Checkout', 'content_ids' => $F4056, 'content_type' => 'product', 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb, 'remarketing_ids' => $e5684, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff];
goto Bff05;
f03c5:
Cf601:
goto D29d0;
dfde3:
$Ada7b = $c1b93['matomo_items'];
goto f17c9;
dbebb:
B1376:
goto c7bd3;
Daebb:
$e2e7f = $this->cart->getSubTotal();
goto bbad0;
cd0ef:
if (!$E10b1['matomo_status']) {
goto F43ff;
}
goto aaf24;
f17c9:
$a6560 = [];
goto Edd0b;
F8dcc:
}
public function prepareCheckout($D524b = null)
{
goto adc6e;
F8126:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto ee2bc;
}
goto Cc15b;
B61a1:
$baf8f = [];
goto Fdfe1;
ad78f:
$Bc909 = ['event' => 'initiateCheckout', 'eventAction' => 'initiateCheckout', 'eventLabel' => 'Checkout Initiated', 'content_name' => 'Checkout', 'content_category' => 'Checkout', 'ga' => $a6560, 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'content_type' => 'product', 'pixel_value' => $abe29, 'fb_currency' => $e34fb, 'remarketing_ids' => $c1b93['remarketing_ids'], 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff];
goto Ed2a2;
f8cd9:
if (!$E10b1['tiktok_status']) {
goto d350c;
}
goto F57ef;
d2732:
$abe29 = number_format((float) $c1b93['ftotal'], 2, '.', '');
goto E484e;
F37ca:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']];
goto ad78f;
F78c2:
ca732:
goto B69a5;
B8bd3:
bf2c2:
goto Daef1;
d9b2a:
$a0e51 = [];
goto B2728;
E20a0:
$E4cba['eventdata']['data']['tax'] = number_format((float) $eb419, 2, '.', '');
goto fc516;
A74fb:
if (!isset($this->session->data['ga4_payment_method'])) {
goto F1228;
}
goto A05ba;
F76e0:
$e34fb = $E10b1['currency'];
goto b14e7;
e1a17:
unset($this->session->data['ga4_shipping_sent']);
goto D2528;
b14e7:
goto cfc7f;
goto b0564;
Eaf4f:
unset($this->session->data['ga4_shipping_method']);
goto adb74;
Ed2a2:
if (!$E10b1['matomo_status']) {
goto cde4d;
}
goto Acfe1;
a7e44:
$E4cba['eventdata']['data']['subtotal'] = number_format((float) $e2e7f, 2, '.', '');
goto a2b67;
adc6e:
$c1b93 = $this->getCartProducts();
goto c9006;
A05ba:
unset($this->session->data['ga4_payment_method']);
goto E548c;
C9895:
$E4cba['eventdata']['data']['url'] = str_replace('&', '&', $this->url->link('checkout/checkout', '', 'SSL'));
goto C343e;
C8df4:
unset($this->session->data['ga4_payment_sent']);
goto Acbed;
Cc15b:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto C91a5;
a8af1:
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) {
goto ddb5a;
}
goto b6c4c;
Fa43e:
if (!isset($this->session->data['ga4_shipping_sent'])) {
goto ffd01;
}
goto e1a17;
Ba878:
if (!$E10b1['snap_pixel_status']) {
goto E91a3;
}
goto A3ab4;
C343e:
$E4cba['eventdata']['data']['currency'] = $E10b1['currency'];
goto C3daa;
Acbed:
b48a3:
goto Fa43e;
D08ab:
$Bc03e = ['content_category' => 'Checkout', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'currency' => $e34fb, 'num_items' => $c1b93['fb_items'], 'value' => $abe29, 'content_type' => 'product'];
goto F8126;
a7557:
$C8d5b = [];
goto F3b2e;
Ac115:
d95a7:
goto c31be;
c9006:
$b1eff = '6-' . $this->eventid();
goto Df47b;
C10da:
$E4cba = false;
goto Eb3b7;
a61ed:
$fe56e = [];
goto a7557;
F443f:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto bf2c2;
}
goto d9080;
a1df5:
bc606:
goto a7e44;
c5484:
$ac091 = $this->cart->getTotal();
goto Eaa41;
C1bee:
$B3a1a = $c1b93['ecom_totalvalue'];
goto E99fa;
C3daa:
$a79aa = $c1b93['sendinblue_products'];
goto Cacd6;
C9ab8:
$F7fe3 = 0;
goto B61a1;
E548c:
F1228:
goto c405c;
E99fa:
f56d2:
goto A2864;
Ef7c6:
if (!(isset($aea02) && !empty($aea02))) {
goto ca732;
}
goto caf7e;
bfd27:
fdc3f:
goto a4093;
aabe8:
$E4cba['eventdata']['data']['total_before_tax'] = number_format((float) $e2e7f, 2, '.', '');
goto E20a0;
caf7e:
$C431a['search_string'] = $aea02;
goto ce39b;
F3b2e:
$C431a = [];
goto b8975;
D2528:
ffd01:
goto A6786;
D1120:
f9e46:
goto a8af1;
a4093:
$F7fe3 = $E10b1['twitter_checkout'];
goto Ac115;
dc821:
$E4cba['eventdata']['data']['total'] = number_format((float) $ac091, 2, '.', '');
goto C9895;
b0564:
E25eb:
goto d2732;
c4813:
if (!$E10b1['pixel']) {
goto f9e46;
}
goto D08ab;
a5282:
$C6960 = [];
goto d505c;
Dc80e:
$e2e7f = $this->cart->getSubTotal();
goto c5484;
b8975:
if (!isset($c1b93['ecom_totalvalue'])) {
goto f56d2;
}
goto C1bee;
A84ed:
$F5c83 = [];
goto a5282;
C639f:
$F7fe3 = 0;
goto Df05d;
a2b67:
$E4cba['eventdata']['data']['shipping'] = 0;
goto aabe8;
c2792:
if (isset($D524b)) {
goto e6f63;
}
goto F6e8c;
Ccedf:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto E25eb;
}
goto Ac7f5;
Df47b:
$D10fd = [];
goto d9b2a;
C91a5:
ee2bc:
goto D1120;
c31be:
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto B8bd3;
d505c:
$e5684 = [];
goto ae20f;
B69a5:
E91a3:
goto F37ca;
E484e:
$e34fb = $E10b1['alt_currency'];
goto ef401;
Df05d:
goto d95a7;
goto bfd27;
Eaa41:
$eb419 = $ac091 - $e2e7f;
goto F0c5c;
D9adc:
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $c1b93['ecom_prodid'], 'value' => $B3a1a, 'num_items' => $c1b93['fb_items']];
goto Ef7c6;
B2728:
if (isset($c1b93['ga4_items'])) {
goto cd636;
}
goto Fe6bd;
E4c0a:
$E10b1 = $this->config();
goto A84ed;
Acfe1:
$B1d6b = ['items' => $Ada7b, 'total' => $B3a1a];
goto F434d;
e6a8e:
cd636:
goto E4c0a;
A3ab4:
$C8d5b = ['price' => $B3a1a, 'currency' => $E10b1['currency'], 'item_ids' => $c1b93['ecom_prodid'], 'number_items' => $c1b93['fb_items'], 'description' => 'Checkout Started'];
goto D9adc;
D506b:
$Bc03e = false;
goto C10da;
Cacd6:
$E4cba['eventdata']['data']['products'] = $a79aa;
goto a0c59;
Ac7f5:
$abe29 = $B3a1a;
goto F76e0;
Fe6bd:
$D10fd = ['error' => 'true'];
goto cfd51;
e0342:
d350c:
goto Ba878;
F0c5c:
if (!$bfd18) {
goto bc606;
}
goto D8a19;
E9ed5:
$F6719 = $E10b1['tax'];
goto C9ab8;
adb74:
D62f3:
goto A74fb;
Fb1b0:
$bfd18 = $E10b1['override_tax'];
goto E9ed5;
ae20f:
$F4056 = [];
goto D506b;
b6c4c:
$E4cba = ['email' => $E10b1['email'], 'event' => 'checkout', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $E10b1['first_name'], 'LASTNAME' => $E10b1['last_name']], 'eventdata' => ['id' => $this->GUID(), 'data' => []]];
goto Dc80e;
c2ab1:
$Ada7b = $c1b93['matomo_items'];
goto d653b;
b89a7:
if (!isset($this->session->data['ga4_payment_sent'])) {
goto b48a3;
}
goto C8df4;
Fdfe1:
$f445c = $c1b93['twitter_items'];
goto e0878;
c405c:
$d6674 = 1;
goto c2792;
Dac84:
$eb419 = $ac091 - $e2e7f;
goto a1df5;
ce39b:
$C8d5b['search_string'] = $aea02;
goto F78c2;
fc516:
$E4cba['eventdata']['data']['discount'] = 0;
goto dc821;
A6786:
if (!isset($this->session->data['ga4_shipping_method'])) {
goto D62f3;
}
goto Eaf4f;
d9080:
if (isset($E10b1['twitter_checkout']) && !empty($E10b1['twitter_checkout'])) {
goto fdc3f;
}
goto C639f;
b4d3b:
e6f63:
goto Ccedf;
F6e8c:
$D524b = ['page' => 'checkout', 'step' => '1', 'mode' => 'onecheckout'];
goto b4d3b;
a0c59:
ddb5a:
goto F443f;
A2864:
$B3a1a = number_format((float) $B3a1a, 2, '.', '');
goto b89a7;
F57ef:
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Initiate Checkout'];
goto e0342;
f88fd:
return $A31ff;
goto Aa133;
F434d:
cde4d:
goto c4813;
e0878:
$B1d6b = '';
goto c2ab1;
ef401:
cfc7f:
goto f8cd9;
cfd51:
return $D10fd;
goto e6a8e;
d653b:
$a6560 = [];
goto a61ed;
D8a19:
$e2e7f = $e2e7f / $F6719;
goto Dac84;
Eb3b7:
$B3a1a = 0;
goto Fb1b0;
Daef1:
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'sendinblue' => $E4cba, 'fb_data' => $Bc03e, 'currency' => $E10b1['currency'], 'tiktok' => $a0e51, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'matomo' => $B1d6b, 'items' => $c1b93['ga4_items']];
goto f88fd;
Aa133:
}
public function prepareShipping($e1b42 = '')
{
goto Fe635;
Ccd55:
if (!($this->session->data['ga4_shipping_method'] == $e1b42)) {
goto f5633;
}
goto f7e0c;
b2c7a:
$D10fd = ['error' => 'true'];
goto D09be;
B55f0:
return $D10fd;
goto Ac74a;
c7219:
$fe56e = [];
goto D49f0;
D09be:
return $D10fd;
goto D687c;
E7e24:
if (isset($c1b93['ga4_items'])) {
goto F1229;
}
goto b2c7a;
a714d:
$c1b93 = $this->getCartProducts();
goto f3f17;
f7e0c:
$D10fd = ['error' => 'true'];
goto B55f0;
e8ff6:
$F5c83 = [];
goto a8b20;
e3107:
$a6560 = [];
goto c7219;
Fe635:
$this->resetCustomerData();
goto a714d;
d37e7:
$D10fd = [];
goto E7e24;
d7b9d:
$E10b1 = $this->config();
goto e8ff6;
dd641:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'shipping_tier' => $e1b42, 'items' => $c1b93['ga4_items']];
goto Cf919;
Ba13c:
return $A31ff;
goto c10fc;
Ac74a:
f5633:
goto F3e94;
a8b20:
$C6960 = [];
goto F769b;
b4021:
$d6674 = 1;
goto dd641;
F769b:
$e5684 = [];
goto E1a98;
F3e94:
Fbb8c:
goto b4021;
Cf919:
$Bc909 = ['event' => 'add_shipping_info', 'ga' => $a6560, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff, 'shipping_tier' => $e1b42];
goto D0f44;
E1a98:
$F4056 = [];
goto baaa8;
D0f44:
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'ga' => $a6560, 'currency' => $E10b1['currency']];
goto Ba13c;
D687c:
F1229:
goto d7b9d;
baaa8:
$B3a1a = isset($c1b93['ecom_totalvalue']) ? number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '') : 0;
goto e3107;
f3f17:
$b1eff = '7-' . $this->eventid();
goto d37e7;
D49f0:
if (!(isset($this->session->data['ga4_shipping_sent']) && isset($this->session->data['ga4_shipping_method']))) {
goto Fbb8c;
}
goto Ccd55;
c10fc:
}
public function preparePayment($bad21 = '')
{
goto C110a;
e4fd9:
$E10b1['event_id'] = $b1eff;
goto B7757;
caeaf:
if (!$this->checkapiStatus('tiktok')) {
goto E709f;
}
goto Bf6f4;
Feebc:
$e34fb = $E10b1['alt_currency'];
goto eaa79;
eba7d:
$Ee7a1 = $A6899['tiktok_user_data'];
goto f73e0;
A549d:
if (!$E10b1['tiktok_status']) {
goto b7e70;
}
goto B8c02;
c2046:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items'], 'payment_type' => $bad21];
goto aa0ef;
F54ca:
return $D10fd;
goto e6102;
edc01:
$Dd945 = $this->gtm->facebookAPI($E10b1, 'AddPaymentInfo', $Bc03e, $b098d, $b1eff);
goto C52e0;
B8c02:
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Payment Confirm', 'payment_method' => $bad21];
goto E4dc1;
C189c:
if (!($E10b1['pixel'] && $E10b1['fb_api'])) {
goto e312b;
}
goto edc01;
F512e:
$F6719 = isset($E10b1['tax']) ? $E10b1['tax'] : false;
goto fd74e;
b55e1:
$Bc03e = ['content_category' => 'Confirm', 'content_type' => 'product', 'content_ids' => isset($c1b93['ecom_prodid']) ? $c1b93['ecom_prodid'] : '', 'contents' => isset($c1b93['fb_contents']) ? $c1b93['fb_contents'] : array(), 'currency' => $e34fb, 'value' => number_format((float) $abe29, 2, '.', ''), 'num_items' => $c1b93['fb_items']];
goto e8edd;
Aa922:
$F7fe3 = 0;
goto b66a6;
E1008:
d7b65:
goto d06ee;
e6102:
A5674:
goto fa724;
E8444:
E709f:
goto fa5b0;
B7757:
$A6899 = $this->formatUserdata($E10b1);
goto e0651;
D9eb0:
acc4c:
goto C9913;
fd74e:
$Bc03e = false;
goto Aa922;
cd309:
goto C469b;
goto D3b46;
Fb184:
$b098d = $A6899['pixel_user_data'];
goto efa46;
b66a6:
$baf8f = [];
goto b1a47;
D3b46:
efe7a:
goto Feebc;
Be13f:
return $A31ff;
goto ad49e;
ba0bf:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto E1008;
D64c3:
$D10fd = ['error' => 'true'];
goto F54ca;
De763:
bbedf:
goto d8110;
Ea9f4:
$e34fb = $E10b1['currency'];
goto cd309;
Ecd03:
$d6674 = 1;
goto Eb514;
D2bb4:
$Ee7a1 = [];
goto D6974;
D6974:
$C8d5b = [];
goto d41bc;
A365e:
if ($E10b1['alt_currency_status'] && isset($E10b1['alt_currency']) && $E10b1['alt_currency'] != $E10b1['currency']) {
goto efe7a;
}
goto Ea9f4;
F3f68:
goto bbedf;
goto d376a;
d3051:
$a0e51 = [];
goto e4fd9;
c70d9:
$D10fd = [];
goto ec072;
bd900:
$F7fe3 = 0;
goto F3f68;
fa5b0:
b7e70:
goto da8ec;
Eeff8:
$fe56e = [];
goto df193;
Ced34:
return $D10fd;
goto Af379;
d8110:
$baf8f = ['value' => $B3a1a, 'currency' => $E10b1['currency'], 'contents' => $f445c];
goto A2c8d;
b1a47:
$f445c = $c1b93['twitter_items'];
goto Eaa02;
da8ec:
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'currency' => $E10b1['currency'], 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'tiktok' => $a0e51, 'ga' => $a6560, 'event_id' => $b1eff];
goto Be13f;
C110a:
$this->resetCustomerData();
goto Df79f;
D7b55:
$bfd18 = isset($E10b1['override_tax']) ? $E10b1['override_tax'] : 0;
goto F512e;
Df79f:
$c1b93 = $this->getCartProducts();
goto Dece1;
d376a:
c4378:
goto d44fe;
Fa472:
$B3a1a = isset($c1b93['ecom_totalvalue']) ? number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '') : 0;
goto D7b55;
e6512:
$C6960 = [];
goto Fdaaa;
A2c8d:
F8e75:
goto A549d;
fa880:
$F4056 = [];
goto Fa472;
eaa79:
C469b:
goto c2046;
Fdaaa:
$e5684 = [];
goto fa880;
bc40f:
if (isset($E10b1['twitter_payment']) && !empty($E10b1['twitter_payment'])) {
goto c4378;
}
goto bd900;
d44fe:
$F7fe3 = $E10b1['twitter_payment'];
goto De763;
aa0ef:
$Bc909 = ['event' => 'add_payment_info', 'ga' => $a6560, 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'event_id' => $b1eff, 'payment_type' => $bad21, 'content_ids' => isset($c1b93['ecom_prodid']) ? $c1b93['ecom_prodid'] : '', 'number_items' => isset($c1b93['fb_items']) ? $c1b93['fb_items'] : '', 'content_type' => 'product', 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb];
goto F220f;
f73e0:
c4a3b:
goto caeaf;
Af379:
fea03:
goto efc3a;
ec072:
if (isset($c1b93['ga4_items'])) {
goto fea03;
}
goto c5df8;
F220f:
if (!$E10b1['pixel']) {
goto acc4c;
}
goto b55e1;
e8edd:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto d7b65;
}
goto ba0bf;
E5232:
$f6a53 = [];
goto D2bb4;
efc3a:
$E10b1 = $this->config();
goto A635a;
df193:
$b098d = [];
goto E5232;
b3706:
if (!($this->session->data['ga4_payment_method'] == $bad21)) {
goto A5674;
}
goto D64c3;
C9913:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto F8e75;
}
goto bc40f;
Bf6f4:
$Dd945 = $this->gtm->tiktokAPI($E10b1, 'AddPaymentInfo', $a0e51, $Ee7a1);
goto E8444;
fa724:
bae6e:
goto Ecd03;
c5df8:
$D10fd = ['error' => 'true'];
goto Ced34;
C52e0:
e312b:
goto D9eb0;
Eaa02:
$a6560 = [];
goto Eeff8;
e0651:
if (!(isset($this->session->data['ga4_payment_sent']) && isset($this->session->data['ga4_payment_method']))) {
goto bae6e;
}
goto b3706;
Dece1:
$b1eff = '7-' . $this->eventid();
goto c70d9;
d41bc:
$C431a = [];
goto d3051;
A635a:
$F5c83 = [];
goto e6512;
d06ee:
if (!(isset($A6899['pixel_user_data']) && $A6899)) {
goto Acc0f;
}
goto Fb184;
Eb514:
$abe29 = $c1b93['ftotal'];
goto A365e;
E4dc1:
if (!(isset($A6899['tiktok_user_data']) && $A6899)) {
goto c4a3b;
}
goto eba7d;
efa46:
Acc0f:
goto C189c;
ad49e:
}
public function prepareConfirm($D524b = null)
{
goto E0252;
ea9af:
b1e25:
goto aafd7;
ecbe5:
goto ac53e;
goto D7a46;
d2893:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto Dd917;
}
goto ca369;
Df93d:
$F4056 = [];
goto ffaf9;
Cc57c:
$a0e51 = [];
goto f5c5c;
f3718:
$abe29 = $c1b93['ecom_totalvalue'];
goto c5c3f;
Cfaae:
$D10fd = ['error' => 'true'];
goto D52c7;
Df32e:
$F5c83 = [];
goto E6a15;
Db0cf:
$E10b1 = $this->config();
goto Df32e;
ae410:
ac53e:
goto A8a7f;
D52c7:
return $D10fd;
goto Aebf1;
A6f10:
if (isset($c1b93['ga4_items'])) {
goto a1aee;
}
goto Cfaae;
A8a7f:
if (!$E10b1['tiktok_status']) {
goto b1e25;
}
goto cf999;
A0013:
a21d8:
goto Ada3c;
d78d5:
$b1eff = '7s-' . $this->eventid();
goto b760f;
E5317:
Fa8f9:
goto c3060;
b9d22:
Dd917:
goto A0013;
D4785:
$A31ff = ['error' => 'false', 'datalayer' => $Bc909, 'currency' => $E10b1['currency'], 'items' => $c1b93['ga4_items']];
goto fa786;
bdd76:
$Bc03e = ['content_category' => 'Confirm', 'content_type' => 'product', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'currency' => $e34fb, 'value' => number_format((float) $abe29, 2, '.', ''), 'num_items' => $c1b93['fb_items']];
goto d2893;
fa786:
if (!$E10b1['pixel']) {
goto a21d8;
}
goto bdd76;
f142d:
$e5684 = [];
goto Df93d;
E0252:
$this->resetCustomerData();
goto D3c4c;
ca369:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto b9d22;
Aebf1:
a1aee:
goto Db0cf;
D3c4c:
$c1b93 = $this->getCartProducts();
goto d78d5;
cf999:
$a0e51 = ['contents' => $c1b93['tiktok_items'], 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'description' => 'Payment Confirm'];
goto ea9af;
d1877:
$e34fb = $E10b1['alt_currency'];
goto ae410;
Aa884:
$F6719 = $E10b1['tax'];
goto e41b6;
ab93a:
$Bc909 = ['event' => 'confirmCheckout', 'eventAction' => 'confirmCheckout', 'eventLabel' => 'Order Confirm', 'content_name' => 'Checkout', 'ga' => $a6560, 'content_category' => 'Confirm', 'content_ids' => $c1b93['ecom_prodid'], 'contents' => $c1b93['fb_contents'], 'number_items' => $c1b93['fb_items'], 'content_type' => 'product', 'pixel_value' => number_format((float) $abe29, 2, '.', ''), 'fb_currency' => $e34fb, 'remarketing_ids' => $c1b93['remarketing_ids'], 'currency' => $E10b1['currency'], 'value' => $B3a1a, 'tiktok' => $a0e51, 'event_id' => $b1eff];
goto D4785;
aafd7:
$a6560 = ['currency' => $E10b1['currency'], 'value' => $B3a1a, 'items' => $c1b93['ga4_items']];
goto ab93a;
c4ea5:
$D524b = ['page' => 'checkout', 'step' => isset($this->session->data['steps']) ? $this->session->data['steps'] + 1 : 2, 'mode' => 'onecheckout'];
goto E5317;
Ada3c:
return $A31ff;
goto Fa7df;
D7a46:
Aab79:
goto Df7f6;
b760f:
$D10fd = [];
goto A6f10;
Dee8f:
$fe56e = [];
goto Cc57c;
f5c5c:
$d6674 = 1;
goto Ed6d9;
d90f7:
$a6560 = [];
goto Dee8f;
ffaf9:
$bfd18 = $E10b1['override_tax'];
goto Aa884;
Df7f6:
$abe29 = $c1b93['ftotal'];
goto d1877;
Ed6d9:
if (isset($D524b)) {
goto Fa8f9;
}
goto c4ea5;
e41b6:
$B3a1a = number_format((float) $c1b93['ecom_totalvalue'], 2, '.', '');
goto d90f7;
c3060:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto Aab79;
}
goto f3718;
E6a15:
$C6960 = [];
goto f142d;
c5c3f:
$e34fb = $E10b1['currency'];
goto ecbe5;
Fa7df:
}
public function prepareOrder($b7898)
{
goto d800e;
A7de6:
if (!$E10b1['cj_status']) {
goto C20e6;
}
goto C2e01;
def42:
if (!(isset($aea02) && !empty($aea02))) {
goto d749e;
}
goto E9ba8;
Cf9d2:
$e8554 = [];
goto A32cc;
Dc4f4:
bbcd1:
goto ee1e7;
C728f:
return false;
goto a352d;
Ff8c9:
$f445c = [];
goto Cf9d2;
b1e19:
$a0e51 = [];
goto Aa2d9;
a9fc3:
$A06c4 = [];
goto ed2f9;
e392a:
b1947:
goto E502b;
A2e35:
$E10b1['ln'] = isset($A06c4['ln']) ? $A06c4['ln'] : '';
goto E7077;
ac448:
b0ba3:
goto D2c54;
d6d3d:
return $A31ff;
goto caece;
c6b29:
$D9378 = $D9378 / $Bc770;
goto e80b2;
bd652:
if (!empty($b7898)) {
goto f043e;
}
goto bf020;
Df831:
$B1d6b = ['items' => $Ada7b, 'order_id' => $b7898, 'revenue' => $E1250, 'tax' => $A91b0, 'shipping' => $D9576, 'discount' => 0];
goto Ce490;
de566:
$baf8f = [];
goto Ca171;
fdc39:
$c350a = $d710d - $c1b93['ec_orderTax'];
goto a8ab4;
bad79:
$C8d5b['search_string'] = $aea02;
goto fc8ea;
f0a61:
if (!(isset($E10b1['fb_catalog_id']) && !empty($E10b1['fb_catalog_id']))) {
goto a1428;
}
goto Abfd9;
Cc31c:
$E10b1['ad'] = isset($A06c4['ad']) ? $A06c4['ad'] : '';
goto edf6d;
c6138:
$bad21 = isset($c1b93['ec_orderDetails']['payment_method']) ? $c1b93['ec_orderDetails']['payment_method'] : 'payment';
goto E18f2;
db11c:
$E2cf5 = $c1b93['ec_orderValue'];
goto b796f;
b796f:
if (!isset($c1b93['adjustment']['plus'])) {
goto Bb057;
}
goto A5cef;
E0e5c:
e57b9:
goto bd419;
d4b3f:
$this->Log($ebdcd);
goto c6632;
E9ba8:
$C431a['search_string'] = $aea02;
goto bad79;
B58d4:
goto B67d3;
goto ebbcc;
be4ab:
if (!isset($c1b93['ec_orderDetails']['shipping_method']['code'])) {
goto C05d6;
}
goto C0091;
A1233:
$this->Log('DMT: Order Id Not Found in prepareOrder');
goto F91b3;
Dea15:
$this->saveCustomerData($A06c4);
goto Bdbfe;
B1a39:
$Fd531 = number_format((float) $Fd531, 2, '.', '');
goto Cffc5;
Fce22:
B67d3:
goto C2577;
ebbcc:
Ae8fc:
goto Fd174;
ee1e7:
if (!(isset($E10b1['greview']) && $E10b1['greview'])) {
goto e57b9;
}
goto De689;
a99bf:
$e34fb = $E10b1['alt_currency'];
goto e392a;
c9df5:
Ebebf:
goto e3cd1;
a8ab4:
if (!$E10b1['tiktok_status']) {
goto b65c7;
}
goto C1deb;
Aa4d4:
$A06c4 = ['user_id' => $A6899['user_id'], 'external_id' => $A6899['user_id'], 'customer_id' => $A6899['user_id'], 'email' => $A6899['email'], 'telephone' => $A6899['phone'], 'em' => $this->getHash($A6899['email']), 'fn' => $this->getHash($A6899['firstname']), 'ln' => $this->getHash($A6899['lastname']), 'ph' => $this->getHash($b5c3f['ph']), 'ph_e164' => $this->getHash($b5c3f['e164']), 'ad' => $this->getHash($A6899['address']), 'ct' => $this->getHash($A6899['city']), 'pc' => $this->getHash($A6899['postcode']), 'st' => $this->getHash($A6899['zone']), 'cc' => $this->getHash($A6899['country_code'])];
goto C6e1b;
e01ad:
$E4cba['eventdata']['data']['Billing_Details'] = ['billing_FIRST_NAME' => $c1b93['ec_orderDetails']['payment_firstname'], 'billing_LAST_NAME' => $c1b93['ec_orderDetails']['payment_lastname'], 'billing_COMPANY ' => $c1b93['ec_orderDetails']['payment_company'], 'billing_ADDRESS_1' => $c1b93['ec_orderDetails']['payment_address_1'], 'billing_ADDRESS_2' => $c1b93['ec_orderDetails']['payment_address_2'], 'billing_CITY' => $c1b93['ec_orderDetails']['payment_city'], 'billing_STATE' => $c1b93['ec_orderDetails']['payment_zone'], 'billing_POSTCODE' => $c1b93['ec_orderDetails']['payment_postcode'], 'billing_COUNTRY' => $c1b93['ec_orderDetails']['payment_country'], 'billing_PHONE' => $c1b93['ec_orderDetails']['telephone'], 'billing_EMAIL' => $c1b93['ec_orderDetails']['email']];
goto c0f29;
Ca171:
$E6301 = [];
goto Ff8c9;
ee0b0:
$A91b0 = number_format((float) $c1b93['ec_orderTax'], 2, '.', '');
goto Ed914;
E7077:
$E10b1['ph'] = isset($A06c4['ph']) ? $A06c4['ph'] : '';
goto Cb9ef;
C912b:
$c63f3 = false;
goto B6f06;
af495:
$d6674 = 1;
goto Bbc6a;
Eb5a6:
$C6960 = [];
goto f0e27;
A8546:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto fe61f;
}
goto de36b;
fe159:
$E10b1['fn'] = isset($A06c4['fn']) ? $A06c4['fn'] : '';
goto A2e35;
c4e17:
$C431a = [];
goto Ce072;
db4e3:
Bb057:
goto e0a3a;
d2204:
$F7fe3 = 0;
goto B58d4;
D885a:
$E4270 = [];
goto b1e19;
f2f57:
$d51ff = $c1b93['ec_currency'];
goto Cbc85;
E502b:
if (!$E10b1['matomo_status']) {
goto e4631;
}
goto Df831;
C2577:
$E300e = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax'];
goto edf1b;
fffaa:
$E10b1['pc'] = isset($A06c4['pc']) ? $A06c4['pc'] : '';
goto e198c;
eb577:
$dd9db = 0;
goto Df996;
F91b3:
c870e:
goto C728f;
Abfd9:
$Bc03e['product_catalog_id'] = $E10b1['fb_catalog_id'];
goto ed706;
C380f:
$Afd16 = $c1b93['ec_orderValue'];
goto F6cf3;
A036a:
$Bc909 = ['event' => 'new_order', 'eventAction' => 'new_order', 'eventLabel' => 'Order Completed', 'event_id' => $b1eff, 'content_name' => 'Purchase', 'content_category' => 'Confirm', 'currency' => $d51ff, 'value' => $E1250, 'order_id' => $b7898, 'order_email' => $c1b93['ec_orderDetails']['email'], 'email_hash' => $A06c4['em'], 'tax' => $A91b0, 'shipping' => $D9576, 'ga' => $a6560, 'aw_items' => $E4270, 'aw_ec_data' => $Ed3a2, 'aw_merchant_id' => $E10b1['aw_optional'] ? $E10b1['aw_merchant_id'] : '', 'aw_feed_country' => $E10b1['aw_optional'] ? $E10b1['aw_feed_country'] : '', 'aw_feed_language' => $E10b1['aw_optional'] ? $E10b1['aw_feed_language'] : '', 'content_ids' => $F4056, 'contents' => $D3fa5, 'number_items' => $A5466, 'gtins' => isset($Fb034) ? $Fb034 : null, 'content_type' => 'product', 'remarketing_ids' => $e5684, 'conversion_value' => number_format((float) $Afd16, 2, '.', ''), 'estimated_delivery' => $cd5ff, 'country_code' => $c1b93['ec_orderDetails']['shipping_iso_code_2'], 'affiliation' => isset($c1b93['ec_affiliate_code']) ? $c1b93['ec_affiliate_code'] : '', 'cj_value' => $D9378, 'cj_items' => $ade89, 'order_raw' => $Fe02e, 'lifetime_value' => isset($fcbdb['total']) ? $fcbdb['total'] : 0, 'new_customer' => isset($fcbdb['new_customer']) ? $fcbdb['new_customer'] : true];
goto A2ad2;
a1170:
$Efc7a = isset($E10b1['custom_cost_event']) ? $E10b1['custom_cost_event'] : 'Custom_Purchase_Cost';
goto Cabb8;
A4607:
$ebdcd = ['order_id' => $b7898, 'DATALAYER' => $Bc909, 'GA4_DATA' => $F5c83, 'PIXEL_DATA' => $Bc03e, 'AD_ENCOVERSION' => $Ed3a2, 'revenue' => $c1b93['ec_orderValue'], 'tax' => $A91b0, 'shipping' => $D9576, 'discount' => ''];
goto d4b3f;
d93b5:
E3fd6:
goto a62b4;
bd419:
$Fe02e = ['order_total' => $c1b93['ec_orderValue'], 'shipping' => $c1b93['ec_orderShipping'], 'tax' => $c1b93['ec_orderTax'], 'adjustment_plus' => $c1b93['adjustment']['plus'], 'adjustment_minus' => $c1b93['adjustment']['minus'], 'sub_total' => $c1b93['adjustment']['sub_total'], 'order_totals' => $c1b93['adjustment']['order_totals'], 'order_products' => $B506a];
goto fdc39;
c6632:
cb6ad:
goto d6d3d;
efed6:
c743e:
goto f6d43;
e80b2:
cff9c:
goto F0847;
cd1bc:
$C8d5b = ['price' => number_format((float) $d710d, 2, '.', ''), 'currency' => $E10b1['currency'], 'item_ids' => $F4056, 'contents' => $C3d53, 'transaction_id' => $b7898, 'delivery_method' => $e1b42, 'payment_method' => $bad21];
goto F3ad3;
fdeb7:
aabf5:
goto c55e2;
a66e7:
$a14fb = [];
goto Aaf06;
ddc84:
if (!(isset($E10b1['debug_order']) && $E10b1['debug_order'])) {
goto cb6ad;
}
goto A4607;
F073b:
C2ed9:
goto f035c;
fc8ea:
d749e:
goto C0cbe;
d6f36:
return $c1b93['error'] = 'Empty Order';
goto f717b;
D2c54:
$this->resetCustomerData();
goto Ab520;
edf1b:
$baf8f = ['value' => number_format((float) $E300e, 2, '.', ''), 'conversion_id' => $b7898, 'currency' => $d51ff, 'email_address' => $c1b93['ec_orderDetails']['email'], 'phone_number' => $c1b93['ec_orderDetails']['telephone'], 'contents' => $f445c];
goto ac448;
e0a3a:
$E7405 = ['order_id' => $b7898, 'revenue' => number_format((float) $E2cf5, 2, '.', ''), 'shipping' => number_format((float) $acb0a, 2, '.', ''), 'tax' => number_format((float) $ac191, 2, '.', '')];
goto d8f31;
F6cf3:
goto E11fa;
goto efed6;
A2ad2:
if (!$E10b1['pixel']) {
goto d5699;
}
goto E4903;
E18f2:
foreach ($B506a as $ea436) {
goto faf68;
a2e09:
$e5684[] = ['id' => (string) $ea436['pid'], 'google_business_vertical' => 'retail'];
goto f4320;
C8cdf:
$ade89[] = ['item_id' => $ea436['pid'], 'price' => $b4c8e, 'quantity' => $ea436['quantity'], 'discount' => $ea436['discount']];
goto f0276;
C912d:
goto b8317;
goto f41b8;
D06c2:
goto A3918;
goto bce1e;
c294e:
$D3fa5[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fex_price'], 2, '.', '')];
goto Fc10d;
b3cf3:
$Ead86 .= '+' . $ea436['title'];
goto f2f07;
aa081:
F58aa:
goto Fff22;
a4f7a:
$Ead86 .= $ea436['title'];
goto de75a;
b2b22:
if (!$c63f3) {
goto f00f0;
}
goto ea385;
f41b8:
b4dc9:
goto e96d9;
f4320:
$f2ede = $ea436['price'] * $ea436['quantity'];
goto ac176;
E3db4:
$ffc82[] = ['id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'brand' => $ea436['brand'], 'cat' => $this->getProductCatID($ea436['pid']), 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'currency' => $d51ff];
goto C3143;
f2f07:
goto c9973;
goto Cec55;
D9430:
$Ada7b[] = ['sku' => $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'price' => $ea436['price'], 'quantity' => $ea436['quantity']];
goto C1b02;
ea52d:
$bc36f = (string) $ea436['pid'];
goto dd0b7;
E04ba:
$F4056[] = $ea436['pid'];
goto c419b;
Fc10d:
D5b19:
goto b2b22;
Ef848:
f00f0:
goto E28d5;
de75a:
c9973:
goto e8d76;
e96d9:
$E4270[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'price' => number_format($ea436['ex_price'], 2, '.', '')];
goto Eded1;
C086a:
$D0e68[] = ['product_id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'price' => number_format($ea436['ex_price'], 2, '.', ''), 'quantity' => $ea436['quantity']];
goto Fed84;
e2c82:
if ($d6674 == 1) {
goto d1c93;
}
goto D7d38;
f2ec6:
$C6960[] = ['id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'category' => $ea436['category'], 'brand' => $ea436['brand'], 'variant' => $ccb6f, 'quantity' => $ea436['quantity'], 'price' => $ea436['price'], 'currency' => $d51ff];
goto D9430;
c419b:
if (!(isset($ea436['gtin']) && !empty($ea436['gtin']))) {
goto a6bb7;
}
goto Bf81d;
C3143:
$dc8ae[] = ['product_id' => (string) $ea436['pid'], 'category' => isset($E10b1['admitad_category']) ? $E10b1['admitad_category'] : '1', 'price' => $ea436['price'], 'currency' => $d51ff, 'quantity' => $ea436['quantity'], 'type' => isset($E10b1['admitad_additional_type']) ? $E10b1['admitad_additional_type'] : 'sale'];
goto cf10d;
D7d38:
if ($d6674 == 2) {
goto adc2f;
}
goto D06c2;
E28d5:
$A5466 = $A5466 + $ea436['quantity'];
goto e2c82;
d4a51:
$b4c8e = $ea436['ex_price'] / $Bc770;
goto F0974;
f0276:
d0102:
goto E3db4;
Dac59:
$E4270[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'price' => $ea436['price']];
goto C912d;
Dacef:
goto A3918;
goto Acac4;
e6ac7:
if ($e5408 != $E10b1['currency']) {
goto ff9f1;
}
goto C5d6e;
dc327:
$ccb6f = mb_substr($ccb6f, 0, 499);
goto E04ba;
Dc8f3:
$D3fa5[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fprice'], 2, '.', '')];
goto C62b2;
C62b2:
goto D5b19;
goto Ea669;
Eded1:
b8317:
goto F25df;
E80ad:
foreach ($ea436['option'] as $e903c) {
goto F2e3a;
Dcd94:
$B3a1a = isset($e903c['value']) ? $e903c['value'] : '';
goto E5fd3;
E5fd3:
Aa678:
goto E5927;
fafc3:
$B3a1a = '';
goto f9d29;
F2e3a:
if (isset($e903c['type']) && $e903c['type'] != 'file') {
goto b417c;
}
goto fafc3;
E5927:
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' ';
goto F59c6;
c59f9:
b417c:
goto Dcd94;
F59c6:
C1b0a:
goto e0b8d;
f9d29:
goto Aa678;
goto c59f9;
e0b8d:
}
goto Be8a6;
Cec55:
D09e6:
goto a4f7a;
a2be7:
b6765:
goto ead9b;
ea385:
$C2050 += isset($ea436['cost']) ? $ea436['cost'] * (int) $ea436['quantity'] : 0;
goto Ef848;
dd0b7:
A3918:
goto F12e0;
ed723:
$Ead86 = '';
goto aa081;
Ea669:
A205a:
goto c294e;
C5d6e:
$b4c8e = $ea436['ex_price'];
goto B645c;
bce1e:
d1c93:
goto f7cf0;
e8d76:
if (!(isset($E10b1['cj_status']) && $E10b1['cj_status'])) {
goto d0102;
}
goto C7ebf;
dd3ce:
a6bb7:
goto a2e09;
F12e0:
$d6674++;
goto a2be7;
C7ebf:
$b4c8e = 0;
goto e6ac7;
F25df:
if (isset($Ead86)) {
goto F58aa;
}
goto ed723;
Fed84:
$E6301[] = ['content_category' => $ea436['category'], 'content_name' => $ea436['title'], 'price' => $ea436['price'], 'content_id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'brand' => $ea436['brand']];
goto b9e56;
e18f1:
$C3d53[] = ['id' => (string) $ea436['pid'], 'quantity' => $ea436['quantity'], 'item_price' => number_format($ea436['fex_price'], 2, '.', '')];
goto ebd62;
C1b02:
if (isset($E10b1['aw_tax_exclude']) && $E10b1['aw_tax_exclude']) {
goto b4dc9;
}
goto Dac59;
F0974:
e6799:
goto Ec0ab;
Ec0ab:
$b4c8e = number_format((float) $b4c8e, 2, '.', '');
goto C8cdf;
c2afb:
$dd9db += $ea436['ex_price'] * $ea436['quantity'];
goto f2ec6;
B645c:
goto e6799;
goto ad5ef;
Be8a6:
b58c1:
goto dc327;
b9e56:
$f445c[] = ['content_id' => (string) $ea436['pid'], 'content_type' => 'product', 'content_name' => $ea436['title'], 'num_items' => $ea436['quantity'], 'content_price' => $ea436['price'], 'content_group_id' => ''];
goto e18f1;
ac176:
$d710d += $f2ede;
goto c2afb;
ad5ef:
ff9f1:
goto d4a51;
Fff22:
if ($d6674 == 1) {
goto D09e6;
}
goto b3cf3;
Acac4:
adc2f:
goto ea52d;
faf68:
$ccb6f = '';
goto E80ad;
cf10d:
$a14fb[] = ['order_id' => $b7898, 'product_id' => (string) $ea436['pid'], 'name' => $ea436['title'], 'price' => $ea436['price'], 'quantity' => $ea436['quantity']];
goto C086a;
f7cf0:
$a7e4d = (string) $ea436['pid'];
goto Dacef;
ebd62:
if (isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude']) {
goto A205a;
}
goto Dc8f3;
Bf81d:
$Fb034[] = ['gtin' => $ea436['gtin']];
goto dd3ce;
ead9b:
}
goto ba021;
c0f29:
$E4cba['eventdata']['data']['Shipping_Details'] = ['shipping_FIRST_NAME' => $c1b93['ec_orderDetails']['shipping_firstname'], 'shipping_LAST_NAME' => $c1b93['ec_orderDetails']['shipping_lastname'], 'shipping_COMPANY ' => $c1b93['ec_orderDetails']['shipping_company'], 'shipping_ADDRESS_1' => $c1b93['ec_orderDetails']['shipping_address_1'], 'shipping_ADDRESS_2' => $c1b93['ec_orderDetails']['shipping_address_2'], 'shipping_CITY' => $c1b93['ec_orderDetails']['shipping_city'], 'shipping_STATE' => $c1b93['ec_orderDetails']['shipping_zone'], 'shipping_POSTCODE' => $c1b93['ec_orderDetails']['shipping_postcode'], 'shipping_COUNTRY' => $c1b93['ec_orderDetails']['shipping_country'], 'shipping_METHOD_TITLE' => $c1b93['ec_orderDetails']['shipping_method']];
goto C4b84;
a0c8d:
$b7898 = $c1b93['ec_orderDetails']['order_id'];
goto f2f57;
A1440:
goto D5843;
goto Edf54;
C9e30:
if ($b1eff) {
goto F18fd;
}
goto Aab97;
C1deb:
$a0e51 = ['contents' => $E6301, 'content_type' => 'product', 'currency' => $E10b1['currency'], 'value' => number_format((float) $d710d, 2, '.', ''), 'description' => 'Purchase', 'transaction_id' => $b7898];
goto F1fee;
ba021:
Eebaa:
goto D00ea;
bf020:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto b29a1;
}
goto Ff110;
De689:
$aea75 = ['order_id' => $b7898, 'email' => $c1b93['ec_orderDetails']['email'], 'country' => $c1b93['ec_orderDetails']['shipping_iso_code_2'], 'estimate' => $cd5ff];
goto E0e5c;
E8424:
$a6560 = [];
goto be73e;
F0847:
$D9378 = number_format((float) $D9378, 2, '.', '');
goto E2d97;
be73e:
$fe56e = [];
goto B577f;
cb87d:
$F6719 = $E10b1['tax'];
goto Aedb0;
c55e2:
$abe29 = $c1b93['ec_orderValue'];
goto d5172;
bc3ce:
if (isset($E10b1['twitter_purchase']) && !empty($E10b1['twitter_purchase'])) {
goto Ae8fc;
}
goto d2204;
F69d6:
Eeafa:
goto c0f34;
A5cef:
$E2cf5 = $E2cf5 - $c1b93['adjustment']['plus'];
goto db4e3;
edf6d:
$E10b1['ct'] = isset($A06c4['ct']) ? $A06c4['ct'] : '';
goto Bd586;
Bd586:
$E10b1['st'] = isset($A06c4['st']) ? $A06c4['st'] : '';
goto fffaa;
Bf236:
$aea75 = [];
goto A0e9a;
B6f06:
$Efc7a = '';
goto A1440;
B5e7a:
$e5408 = isset($E10b1['cj_currency']) ? $E10b1['cj_currency'] : $E10b1['currency'];
goto b2855;
F329c:
$e8554 = ['items' => $D0e68, 'order' => $E7405];
goto F69d6;
B0f71:
$Fd531 = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax'] + $c1b93['adjustment']['minus'] - $c1b93['adjustment']['plus'];
goto B1a39;
E7f9f:
$Fb034 = [];
goto bb0a0;
Eaee8:
$C5b2e = '';
goto af495;
df788:
C05d6:
goto D7c6d;
ff6b2:
$abe29 = $abe29 - $c1b93['ec_orderTax'];
goto F073b;
Ed914:
$D9576 = number_format((float) $c1b93['ec_orderShipping'], 2, '.', '');
goto F656f;
De14b:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto b0ba3;
}
goto bc3ce;
B6cf1:
$bc36f = '';
goto a66e7;
Cabb8:
D5843:
goto ffa70;
b2855:
if (isset($E10b1['custom_cost_event']) && $E10b1['custom_cost_event']) {
goto F938d;
}
goto C912b;
Ff110:
$this->Log('DMT: Procedure Call prepareorder. Result: Order Id Empty');
goto Fd0cc;
c0f34:
$b3c09 = (int) $d710d - (int) $c1b93['ec_orderTax'];
goto B0f71;
A0e9a:
$Bc03e = false;
goto Eaee8;
D00ea:
$ac69a = ['id' => $b7898, 'affiliation' => isset($c1b93['ec_affiliate_code']) ? $c1b93['ec_affiliate_code'] : '', 'revenue' => $c1b93['ec_orderValue'], 'tax' => $c1b93['ec_orderTax'], 'shipping' => $c1b93['ec_orderShipping'], 'coupon' => isset($c1b93['ec_orderCoupon']) ? $c1b93['ec_orderCoupon'] : '', 'currency' => $d51ff];
goto C2fcb;
d8f31:
if (!$E10b1['linkwise_status']) {
goto Eeafa;
}
goto F329c;
e6d77:
E11fa:
goto A8546;
f830d:
a4dc1:
goto be4ab;
A32cc:
$D0e68 = [];
goto a9fc3;
Bd1cd:
$F4056 = [];
goto B734b;
b21f7:
$b1eff = $c1b93['event_id'];
goto C9e30;
F656f:
$Bc770 = isset($E10b1['cj_currency_value']) && (int) $E10b1['cj_currency_value'] > 0 ? (float) $E10b1['cj_currency_value'] : 1;
goto B5e7a;
E0a6c:
$acb0a = $c1b93['ec_orderShipping'];
goto db11c;
C4b84:
$E4cba['eventdata']['data']['Order_Details'] = ['order_ID' => $b7898, 'order_KEY' => $b7898, 'order_TAX' => $Fe02e['tax'], 'order_SHIPPING_TAX' => 0, 'order_SHIPPING' => $Fe02e['shipping'], 'order_PRICE' => $E1250, 'order_DATE' => $c1b93['ec_orderDetails']['date_added'], 'order_SUBTOTAL' => $Fe02e['sub_total'], 'order_DOWNLOAD_LINK' => ''];
goto fba81;
A2a53:
if (!isset($c1b93['ec_orderDetails']['shipping_code'])) {
goto a4dc1;
}
goto d2b8c;
Edf54:
F938d:
goto f17ec;
Aa2d9:
$C8d5b = [];
goto c4e17;
e91dc:
if (!$E10b1['snap_pixel_status']) {
goto d51a5;
}
goto cd1bc;
E093d:
$D9378 = 0;
goto E20d8;
B734b:
$d710d = 0;
goto eb577;
ed706:
a1428:
goto cc3fe;
F3ad3:
$C431a = ['currency' => $E10b1['currency'], 'content_ids' => $F4056, 'contents' => $C3d53, 'value' => number_format((float) $d710d, 2, '.', ''), 'order_id' => $b7898, 'num_items' => $A5466, 'delivery_method' => $e1b42, 'payment_method' => $bad21];
goto def42;
a352d:
efd34:
goto b21f7;
f97f6:
$B1d6b = '';
goto De4d6;
d4f42:
$de949 = $c1b93['ec_orderProducts']['ga4_items'];
goto a84eb;
cc3fe:
d5699:
goto fad03;
f6d43:
$Afd16 = $c1b93['ec_orderValue'] - $c1b93['ec_orderTax'];
goto e6d77;
d012a:
$F5c83 = [];
goto Eb5a6;
Cffc5:
if (!($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency'])) {
goto Ebebf;
}
goto D2c45;
de36b:
$abe29 = $abe29;
goto a4927;
Bdbfe:
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) {
goto aabf5;
}
goto e9cdd;
dbbbb:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto c870e;
}
goto A1233;
a84eb:
$B506a = $c1b93['ec_orderProducts']['products'];
goto E7f9f;
e9cdd:
$E4cba = ['email' => $A06c4['email'], 'event' => 'order_completed', 'cuid' => $this->getCuid(), 'properties' => ['FIRSTNAME' => $c1b93['ec_orderDetails']['firstname'], 'LASTNAME' => $c1b93['ec_orderDetails']['lastname'], 'LOCATION' => $c1b93['ec_orderDetails']['payment_city'], 'COUNTRY' => $c1b93['ec_orderDetails']['payment_country'], 'TELEPHONE' => $c1b93['ec_orderDetails']['telephone']], 'eventdata' => ['id' => $this->GUID(), 'cuid' => $this->getCuid(), 'data' => []]];
goto e01ad;
B577f:
$ade89 = [];
goto E093d;
Fd174:
$F7fe3 = $E10b1['twitter_purchase'];
goto Fce22;
C2e01:
$D9378 = $c1b93['ec_orderValue'] - $c1b93['ec_orderShipping'] - $c1b93['ec_orderTax'];
goto cc729;
Cb9ef:
$E10b1['ph_e164'] = isset($A06c4['ph_e164']) ? $A06c4['ph_e164'] : '';
goto Cc31c;
Fd0cc:
b29a1:
goto d6f36;
C6e1b:
if (!(isset($E10b1['adword_ec']) && $E10b1['adword_ec'])) {
goto E3fd6;
}
goto f014a;
E4903:
$Bc03e = ['content_category' => 'Confirm', 'content_ids' => $F4056, 'contents' => $D3fa5, 'currency' => $e34fb, 'num_items' => $A5466, 'value' => number_format((float) $abe29, 2, '.', ''), 'content_name' => 'Purchase', 'content_type' => 'product'];
goto f0a61;
ffa70:
$e1b42 = isset($c1b93['ec_orderDetails']['shipping_method']) ? $c1b93['ec_orderDetails']['shipping_method'] : 'shipping';
goto c6138;
Adcd4:
$b5c3f = $this->formatPhone($c1b93['ec_orderDetails']['telephone'], $c1b93['ec_orderDetails']['payment_iso_code_2']);
goto Aa4d4;
fad03:
$A31ff = ['error' => 'false', 'dmt' => $E10b1, 'datalayer' => $Bc909, 'fb_data' => $Bc03e, 'cost' => number_format((float) $C2050, 2, '.', ''), 'dmt' => $E10b1, 'tiktok' => $a0e51, 'snapchat' => $C8d5b, 'snapchat_api' => $C431a, 'twitter_event' => $F7fe3, 'twitter_data' => $baf8f, 'matomo' => $B1d6b, 'affiliate_gateway' => $ffc82, 'linkwise' => $e8554, 'skroutz_order' => $E7405, 'skroutz_items' => $a14fb, 'admitad_items' => $E10b1['admitad_status'] ? $dc8ae : '', 'sendinblue' => $E4cba, 'currency' => $d51ff, 'revenue' => $c1b93['ec_orderValue'], 'product_value' => number_format((float) $b3c09, 2, '.', ''), 'tax' => $A91b0, 'shipping' => $D9576, 'order_id' => $b7898, 'value' => $E1250, 'customer' => $A06c4, 'discount' => '', 'shipping_method' => $e1b42, 'payment_method' => $bad21, 'permonat_value' => $Fd531, 'items' => $B506a, 'event_id' => $b1eff, 'hit' => $c1b93['hit']];
goto ddc84;
F4a6d:
$F7fe3 = 0;
goto de566;
F1fee:
b65c7:
goto e91dc;
C2fcb:
$ac191 = $c1b93['ec_orderTax'];
goto E0a6c;
d2dbc:
$abe29 = number_format($this->currency->format($abe29, $E10b1['alt_currency'], '', false), 2, '.', '');
goto a99bf;
Aab97:
$b1eff = '8-' . $this->eventid();
goto Befe4;
f717b:
f043e:
goto c92b5;
Ce072:
$C3d53 = [];
goto F4a6d;
D25f6:
$a6560 = ['transaction_id' => (string) $b7898, 'value' => $E1250, 'currency' => $d51ff, 'tax' => $A91b0, 'shipping' => $D9576, 'coupon' => isset($c1b93['ec_orderCoupon']) ? $c1b93['ec_orderCoupon'] : '', 'items' => $de949];
goto A036a;
ed2f9:
$B4e5f = [];
goto Bf236;
f17ec:
$c63f3 = true;
goto a1170;
F325f:
$Ed3a2 = [];
goto d4f42;
f035c:
if (isset($E10b1['aw_tax_exclude']) && $E10b1['aw_tax_exclude']) {
goto c743e;
}
goto C380f;
d5172:
if (!(isset($E10b1['fb_shipping_exclude']) && $E10b1['fb_shipping_exclude'])) {
goto E11c8;
}
goto ca17f;
a4927:
$e34fb = $d51ff;
goto e5421;
F8969:
$D3fa5 = [];
goto d012a;
Bbc6a:
$bfd18 = $E10b1['override_tax'];
goto cb87d;
e5421:
goto b1947;
goto dc2dc;
Aaf06:
$E4cba = [];
goto F325f;
f014a:
$Ed3a2 = ['sha256_email_address' => $A06c4['em'], 'sha256_phone_number' => $A06c4['ph_e164'], 'address' => ['sha256_first_name' => $A06c4['fn'], 'sha256_last_name' => $A06c4['ln'], 'street' => $A6899['address'], 'city' => $A6899['city'], 'postal_code' => $A6899['postcode'], 'region' => $A6899['zone'], 'country' => $A6899['country_code']]];
goto d93b5;
c92b5:
$c1b93 = $this->getOrder($b7898);
goto f3db0;
dc2dc:
fe61f:
goto d2dbc;
bb0a0:
$dc8ae = [];
goto D885a;
E20d8:
$C2050 = 0;
goto a0c8d;
C0cbe:
d51a5:
goto De14b;
eff97:
$fcbdb = $this->getCustomerHistory($c1b93['ec_orderDetails']['email'], $b7898);
goto D25f6;
D2c45:
$Fd531 = number_format($this->currency->format($Fd531, $E10b1['alt_currency'], '', false), 2, '.', '');
goto c9df5;
Cbc85:
$E1250 = number_format((float) $c1b93['ec_orderValue'], 2, '.', '');
goto ee0b0;
ca17f:
$abe29 = $abe29 - $c1b93['ec_orderShipping'];
goto B5be8;
Befe4:
F18fd:
goto F8969;
e3cd1:
$B73b2 = '';
goto A2a53;
E2d97:
C20e6:
goto eff97;
C4ab0:
if (!(isset($cd5ff) && !empty($cd5ff))) {
goto bbcd1;
}
goto Bc55b;
D49b4:
$e5684 = [];
goto Bd1cd;
Ab520:
$A6899 = ['user_id' => $this->customer->getId(), 'email' => str_replace(' ', '', $c1b93['ec_orderDetails']['email']), 'phone' => $this->formatPhone($c1b93['ec_orderDetails']['telephone'], $c1b93['ec_orderDetails']['payment_iso_code_2']), 'address' => $c1b93['ec_orderDetails']['payment_address_1'], 'city' => $c1b93['ec_orderDetails']['payment_city'], 'postcode' => isset($c1b93['ec_orderDetails']['payment_postcode']) ? $this->formatPostcode($c1b93['ec_orderDetails']['payment_postcode']) : '', 'zone' => $c1b93['ec_orderDetails']['payment_zone'], 'country' => $c1b93['ec_orderDetails']['payment_country'], 'country_code' => $c1b93['ec_orderDetails']['payment_iso_code_2'], 'firstname' => $c1b93['ec_orderDetails']['firstname'], 'lastname' => $c1b93['ec_orderDetails']['lastname']];
goto Adcd4;
d800e:
$E10b1 = $this->config();
goto bd652;
B0005:
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) {
goto C2ed9;
}
goto ff6b2;
f3db0:
if ($c1b93) {
goto efd34;
}
goto dbbbb;
e198c:
$E10b1['cc'] = isset($A06c4['cc']) ? $A06c4['cc'] : '';
goto Dea15;
B5be8:
E11c8:
goto B0005;
C0091:
$B73b2 = $c1b93['ec_orderDetails']['shipping_method']['code'];
goto df788;
a62b4:
$E10b1['em'] = isset($A06c4['em']) ? $A06c4['em'] : '';
goto fe159;
Bc55b:
$cd5ff = date('Y-m-d', $cd5ff);
goto Dc4f4;
d2b8c:
$B73b2 = $c1b93['ec_orderDetails']['shipping_code'];
goto f830d;
Ce490:
e4631:
goto A7de6;
cc729:
if (!($e5408 !== $E10b1['currency'])) {
goto cff9c;
}
goto c6b29;
fba81:
$E4cba['eventdata']['data']['Miscalleneous'] = ['cart_DISCOUNT' => '0', 'cart_DISCOUNT_TAX' => '0', 'customer_USER ' => $c1b93['ec_orderDetails']['customer_id'], 'payment_METHOD' => $c1b93['ec_orderDetails']['payment_code'], 'payment_METHOD_TITLE' => $c1b93['ec_orderDetails']['payment_method'], 'customer_IP_ADDRESS' => $c1b93['ec_orderDetails']['ip'], 'customer_USER_AGENT' => $c1b93['ec_orderDetails']['user_agent']];
goto fdeb7;
D7c6d:
$cd5ff = $this->DeliveryEstimate('15:00:00', 5, $B73b2);
goto C4ab0;
f0e27:
$ffc82 = [];
goto D49b4;
Df996:
$a7e4d = '';
goto B6cf1;
Aedb0:
$A5466 = 0;
goto f97f6;
De4d6:
$Ada7b = [];
goto E8424;
caece:
}
public function getCartProducts()
{
goto dfdbb;
A538c:
$c1b93 = [];
goto B5787;
fdf66:
$c1b93['sendinblue_products'] = [];
goto F939f;
efe38:
$d6674 = 1;
goto ffd67;
F880a:
foreach ($C8e44 as $ea436) {
goto C7e7d;
C09bf:
goto b1496;
goto abd58;
abd58:
Bf849:
goto A3943;
a13b3:
$c1b93['ftotal'] = $c1b93['ftotal'] + $Ac84c;
goto Ec0be;
A0518:
a43e4:
goto f162b;
b504a:
$f97f8 = number_format((float) $this->currency->format($this->tax->calculate($ea436['price'], $ea436['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 0, false), 2, '.', '');
goto a13b3;
B478a:
$Bf5ae = $this->tagmangerPtitle($ea436['name'], $da8eb, $D88b8, $ea436['product_id']);
goto D7e4b;
b4dce:
$Ac84c = $this->currency->format($e3e84, $E10b1['alt_currency'], 0, false);
goto Cd923;
Cfad2:
$Ac84c = $F7a0b;
goto C09bf;
F6a8a:
$d83ed = $A50b2['item_list_id'];
goto c435f;
e4310:
goto Fbab3;
goto e0c86;
bcb10:
b3baa:
goto c4efc;
Df459:
if (!(isset($E10b1['twitter_status']) && $E10b1['twitter_status'])) {
goto a84be;
}
goto Ca3bd;
a2980:
$da8eb = $this->getProductBrandName($ea436['product_id']);
goto a490f;
A1988:
$Ac84c = $e3e84;
goto e4310;
Cf7e8:
$e41da = $A50b2['item_category3'];
goto A0eaf;
e4d3a:
a84be:
goto cfa75;
A0eaf:
$a2de8 = $A50b2['item_category4'];
goto D9659;
B8a49:
$c1b93['matomo_items'][] = ['sku' => $f95b0, 'name' => $Bf5ae, 'category' => $D1f20, 'price' => $f97f8, 'quantity' => $ea436['quantity']];
goto cf83c;
A3943:
$Ac84c = $this->currency->format($F7a0b, $E10b1['alt_currency'], 0, false);
goto Bbe3b;
d592d:
$c1b93['ec_cartproducts'][] = ['id' => (string) $f95b0, 'product_id' => $ea436['product_id'], 'name' => $Bf5ae, 'category' => $D1f20, 'brand' => $da8eb, 'variant' => $ccb6f, 'quantity' => $ea436['quantity'], 'price' => $f97f8, 'ex_price' => number_format((float) $ea436['price'], 2, '.', ''), 'currency' => $this->session->data['currency']];
goto B8a49;
f64b2:
$c1b93['dynx_itemid'] = $f95b0;
goto Dbdb3;
db8f2:
$D88b8 = $ea436['model'];
goto D8c2f;
D8c2f:
$c482b = isset($ea436['sku']) ? $ea436['sku'] : false;
goto E9499;
bf327:
$A1d57 = $A50b2['item_category'];
goto efe2d;
e0952:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto ad157;
}
goto A1988;
A1daf:
if ($d6674 == 2) {
goto e27dc;
}
goto Fbc5f;
B8322:
$c1b93['fb_contents'][] = ['id' => $f95b0, 'quantity' => $ea436['quantity']];
goto Af7d9;
D7e4b:
$ddb28 = $this->tax->calculate($ea436['price'], $ea436['tax_class_id'], $this->config->get('config_tax'));
goto F82cc;
e7d91:
F0d02:
goto d592d;
Ec0be:
$c1b93['ecom_prodid'][] = $f95b0;
goto E7151;
F82cc:
$e3e84 = $ddb28 * $ea436['quantity'];
goto fd9e3;
Af7d9:
$c1b93['fb_items'] = $c1b93['fb_items'] + $ea436['quantity'];
goto Ab869;
Bbe3b:
b1496:
goto Ef354;
e8800:
if (!isset($A50b2)) {
goto B17dc;
}
goto Bf4f5;
Ab869:
if ($d6674 == 1) {
goto C79ed;
}
goto A1daf;
e4aff:
$c1b93['ecom_totalvalue'] += number_format((float) $e3e84, 2, '.', '');
goto B8322;
Eb7e9:
if (!(isset($E10b1['fb_tax_exclude']) && $E10b1['fb_tax_exclude'])) {
goto ddb50;
}
goto c9464;
d6630:
B17dc:
goto B478a;
D708c:
$c1b93['dynx_itemid2'] = $f95b0;
goto e7d91;
f8bb8:
e27dc:
goto D708c;
fd9e3:
$e3e84 = $this->currency->format($e3e84, $this->session->data['currency'], 0, false);
goto e0952;
aa18d:
a8f82:
goto Df459;
Ca3bd:
$c1b93['twitter_items'][] = ['content_id' => (string) $f95b0, 'content_type' => 'product', 'content_name' => $Bf5ae, 'num_items' => $ea436['quantity'], 'content_price' => $f97f8, 'content_group_id' => ''];
goto e4d3a;
cfa75:
$c1b93['tiktok_items'][] = ['content_category' => isset($B3525) ? $B3525 : '', 'content_name' => $Bf5ae, 'price' => $f97f8, 'content_id' => $f95b0, 'quantity' => $ea436['quantity'], 'brand' => $da8eb];
goto caf11;
E9499:
$f95b0 = $this->tagmangerPmap($D88b8, $c482b, $ea436['product_id'], $E10b1);
goto a2980;
a490f:
$A50b2 = $this->getProductCatName($ea436['product_id']);
goto e8800;
d279e:
C79ed:
goto f64b2;
efe2d:
$F9d4b = $A50b2['item_category2'];
goto Cf7e8;
c435f:
$B3525 = $A50b2['item_list_name'];
goto bf327;
Cc90a:
$c1b93['sendinblue_products'][] = ['id' => (string) $f95b0, 'name' => $Bf5ae, 'quantity' => $ea436['quantity'], 'price' => number_format((float) $ea436['price'], 2, '.', ''), 'url' => str_replace('&', '&', $this->url->link('product/product', 'product_id=' . $ea436['product_id']))];
goto aa18d;
Bf4f5:
$D1f20 = $A50b2['category'];
goto F6a8a;
Dbdb3:
goto F0d02;
goto f8bb8;
f162b:
$ccb6f = mb_substr($ccb6f, 0, 499);
goto db8f2;
Fbc5f:
goto F0d02;
goto d279e;
f64fe:
$d6674++;
goto bcb10;
C7e7d:
$ccb6f = '';
goto C17ec;
caf11:
$c1b93['ga4_items'][] = ['item_id' => isset($f95b0) ? (string) $f95b0 : '', 'item_name' => isset($Bf5ae) ? $Bf5ae : '', 'item_brand' => isset($da8eb) ? $da8eb : '', 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_variant' => $ccb6f, 'affiliation' => '', 'discount' => 0, 'coupon' => $c1b93['ec_coupon'], 'price' => $f97f8, 'currency' => $E10b1['currency'], 'quantity' => $ea436['quantity']];
goto f64fe;
Cd923:
Fbab3:
goto Eb7e9;
F3946:
if ($E10b1['alt_currency_status'] && $E10b1['alt_currency'] != $E10b1['currency']) {
goto Bf849;
}
goto Cfad2;
Ef354:
ddb50:
goto b504a;
C17ec:
foreach ($ea436['option'] as $e903c) {
goto c33f0;
C516a:
$B3a1a = isset($e903c['value']) ? $e903c['value'] : '';
goto e7236;
D5624:
$B3a1a = isset($e903c['option_value']) ? $e903c['option_value'] : '';
goto ad6a4;
f2a1b:
D15fe:
goto C68ce;
ad6a4:
add7f:
goto f2a1b;
B2533:
a5bf2:
goto B12da;
Ad784:
goto D15fe;
goto Ccad2;
Ccad2:
f7ce9:
goto C516a;
bd50b:
$B3a1a = '';
goto Ad784;
c33f0:
if (isset($e903c['type']) && $e903c['type'] != 'file') {
goto f7ce9;
}
goto bd50b;
e7236:
if (!(substr(VERSION, 0, 1) == '1')) {
goto add7f;
}
goto D5624;
C68ce:
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' ';
goto B2533;
B12da:
}
goto A0518;
E7151:
$c1b93['remarketing_ids'][] = ['id' => (string) $f95b0, 'google_business_vertical' => 'retail'];
goto e4aff;
e0c86:
ad157:
goto b4dce;
c9464:
$F7a0b = $ea436['price'] * $ea436['quantity'];
goto f9af6;
f9af6:
$F7a0b = $this->currency->format($F7a0b, $this->session->data['currency'], 0, false);
goto F3946;
cf83c:
if (!(isset($E10b1['sendinblue_status']) && $E10b1['sendinblue_status'])) {
goto a8f82;
}
goto Cc90a;
D9659:
$D2701 = $A50b2['item_category5'];
goto d6630;
c4efc:
}
goto ecafb;
E118c:
$c1b93['ec_coupon'] = isset($this->session->data['coupon']) ? $this->session->data['coupon'] : false;
goto Da867;
e2fee:
$this->load->model('catalog/product');
goto C7bb7;
F62ad:
$c1b93['fb_contents'] = [];
goto ae139;
B5787:
$c1b93['ec_shipping_total'] = isset($this->session->data['shipping_method']['cost']) ? $this->session->data['shipping_method']['cost'] : 0;
goto E118c;
F939f:
$c1b93['ecom_pagetype'] = 'purchase';
goto C000d;
A31fe:
$c1b93['dynx_itemid2'] = '';
goto d304a;
ced49:
$c1b93['matomo_items'] = [];
goto f4741;
ecafb:
ac585:
goto Ce4ae;
b6d31:
$c1b93['fb_items'] = 0;
goto e1188;
ffd67:
$C6960 = [];
goto F880a;
f4741:
$c1b93['tiktok_items'] = [];
goto efe38;
d304a:
$c1b93['ftotal'] = 0;
goto b6d31;
C7bb7:
$E10b1 = $this->settings;
goto A538c;
f121a:
$c1b93['dynx_itemid'] = '';
goto A31fe;
Da867:
$c1b93['ecom_prodid'] = [];
goto F62ad;
C000d:
$c1b93['ecom_totalvalue'] = 0;
goto f121a;
ae139:
$c1b93['remarketing_ids'] = [];
goto fdf66;
dfdbb:
$C8e44 = $this->cart->getProducts();
goto e2fee;
Ce4ae:
return $c1b93;
goto Ae4f5;
e1188:
$c1b93['twitter_items'] = [];
goto ced49;
Ae4f5:
}
public function getOrder($b7898)
{
goto A8026;
Cffd7:
$c1b93['ec_orderValue'] = $E1250;
goto db8a4;
d7880:
$D9576 = $this->getOrderShipping($b7898) * $c1b93['ec_orderDetails']['currency_value'];
goto B5fd9;
E0d03:
if (!$D1392) {
goto E9b63;
}
goto Ed204;
B57dd:
return false;
goto f6939;
Ed204:
$c1b93['ec_affiliate_code'] = $D1392['name'];
goto Affa4;
d6ad9:
$this->load->model('account/customer');
goto d597e;
c5351:
$this->load->model('checkout/marketing');
goto C9c83;
Acbe3:
$bfd18 = $E10b1['override_tax'];
goto Bccc5;
f6939:
Ec553:
goto b69ba;
e4eff:
dad96:
goto E899f;
bd9c3:
b15ad:
goto B57dd;
E899f:
$c1b93['hit'] = $B535f->row['hit'];
goto a4517;
D0c37:
$Ee837 = $E1250 / $F6719;
goto D1780;
c2e50:
$c1b93['ec_affiliate_code'] = '';
goto ac8e3;
dc5d5:
fbb4a:
goto b389c;
f74b6:
return false;
goto dc5d5;
Aa18a:
$D9576 = $D9576 / $F6719;
goto ad850;
De839:
$A91b0 = $this->getOrderTax($b7898) * $c1b93['ec_orderDetails']['currency_value'];
goto e5eae;
d1eed:
$c1b93['hit'] = 0;
goto d3787;
b389c:
$c1b93['ec_orderDetails'] = $this->model_checkout_order->getOrder($b7898);
goto F2ff9;
D8711:
if (!(!isset($b7898) || empty($b7898))) {
goto fbb4a;
}
goto f74b6;
A8026:
$this->load->model('checkout/order');
goto d6ad9;
F3ba6:
$this->Log('DMT: Order Id Not Found in gerOrder');
goto bd9c3;
Bf2a3:
if ($B535f->num_rows) {
goto dad96;
}
goto d1eed;
d0d1c:
$c1b93['hit'] = 0;
goto Bf2a3;
e5eae:
if (!$bfd18) {
goto B3ad3;
}
goto D0c37;
db8a4:
$c1b93['adjustment'] = $this->getOrderTotalAdjustment($b7898, $c1b93['ec_orderDetails']['currency_value']);
goto c2e50;
Dc743:
return $c1b93;
goto F4c72;
F2ff9:
if ($c1b93['ec_orderDetails']) {
goto Ec553;
}
goto A6f97;
b69ba:
$c1b93['ec_language'] = $this->config->get('config_language');
goto a2b9f;
Affa4:
E9b63:
goto ff3f9;
bf7ca:
$c1b93['ec_orderShipping'] = $D9576;
goto eafc4;
A6f97:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto b15ad;
}
goto F3ba6;
d597e:
$E10b1 = $this->config();
goto Acbe3;
B5fd9:
$E1250 = $c1b93['ec_orderDetails']['total'] * $c1b93['ec_orderDetails']['currency_value'];
goto De839;
ac8e3:
if (!(isset($c1b93['ec_orderDetails']['tracking']) && !empty($c1b93['ec_orderDetails']['tracking']))) {
goto Dcfce;
}
goto c5351;
C9c83:
$D1392 = $this->model_checkout_marketing->getMarketingByCode($c1b93['ec_orderDetails']['tracking']);
goto E0d03;
D1780:
$A91b0 = $E1250 - $Ee837;
goto Aa18a;
ff3f9:
Dcfce:
goto F5b4e;
a4517:
$c1b93['event_id'] = $B535f->row['event_id'];
goto fd96b;
d3787:
$c1b93['event_id'] = false;
goto Ade0a;
a4805:
$c1b93['ec_currency'] = $c1b93['ec_orderDetails']['currency_code'];
goto d7880;
ad850:
B3ad3:
goto bf7ca;
Bccc5:
$F6719 = $E10b1['tax'];
goto D8711;
B41ea:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'");
goto d0d1c;
c962d:
$c1b93['ec_orderDetails']['coupon'] = $this->getOrderCoupon($b7898);
goto B41ea;
eafc4:
$c1b93['ec_orderTax'] = $A91b0;
goto Cffd7;
a2b9f:
$c1b93['ec_orderCoupon'] = $this->getOrderCoupon($b7898);
goto a4805;
fd96b:
a2c2d:
goto Dc743;
F5b4e:
$c1b93['ec_orderProducts'] = $this->getOrderProducts($b7898, $c1b93['ec_orderDetails'], $c1b93['ec_orderCoupon'], $c1b93['ec_affiliate_code']);
goto c962d;
Ade0a:
goto a2c2d;
goto e4eff;
F4c72:
}
public function getOrderProducts($b7898, $A3e0c, $F246a, $C4477)
{
goto a025e;
ed573:
if (!$Ae523->num_rows) {
goto Dc126;
}
goto a8edb;
a025e:
$ac09d = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_product WHERE order_id = '" . (int) $b7898 . "'");
goto D89f8;
d5d73:
return $c1b93;
goto c155a;
Fff05:
foreach ($ac09d->rows as $ea436) {
goto B86cf;
Ba025:
foreach ($be8b6 as $e903c) {
goto A38f5;
b04ed:
$B3a1a = '';
goto Dbff4;
E3a55:
d7388:
goto Ccc71;
A38f5:
if (isset($e903c['type']) && $e903c['type'] != 'file') {
goto d7388;
}
goto b04ed;
db5fa:
$ccb6f .= $e903c['name'] . ': ' . (mb_strlen($B3a1a) > 50 ? mb_substr($B3a1a, 0, 50) . '..' : $B3a1a) . ' ';
goto Bd578;
Bd578:
d9d6a:
goto e107d;
D5310:
D83b1:
goto db5fa;
Dbff4:
goto D83b1;
goto E3a55;
Ccc71:
$B3a1a = isset($e903c['value']) ? $e903c['value'] : '';
goto D5310;
e107d:
}
goto da0fa;
D81e1:
$D88b8 = isset($cbd8f['model']) ? $cbd8f['model'] : $bf361;
goto A1642;
A301f:
$d6674++;
goto da391;
e3c15:
$Cdac0 = $this->currency->format($B2922, $E10b1['alt_currency'], 0, false);
goto b308d;
B86cf:
if (isset($ea436['product_id'])) {
goto a7072;
}
goto be614;
baee5:
$Aaf84 = [];
goto c0511;
bde9c:
Fa67f:
goto a4fb7;
Eb23e:
$abe29 = $this->currency->format($ea436['total'] + ($this->config->get('config_tax') ? $ea436['tax'] * $ea436['quantity'] : 0), $E10b1['alt_currency'], 0, false);
goto Ff342;
e8fea:
$Bf5ae = '';
goto A9a43;
b308d:
$B2922 = $this->currency->format($B2922, $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto Ecc21;
f42d2:
foreach ($be8b6 as $e903c) {
$Aaf84[] = ['name' => $e903c['name'] . " " . (mb_strlen($e903c['value']) > 100 ? mb_substr($e903c['value'], 0, 100) . '..' : $e903c['value'])];
Db6f7:
}
goto bde9c;
ea4d6:
$da8eb = '';
goto Cf7bb;
e7f25:
if (!$c63f3) {
goto E23e4;
}
goto A2170;
Ccbfe:
$A50b2 = array();
goto baee5;
Eb63c:
$cbd8f = $this->getProductInfo($bf361);
goto f203d;
a1a22:
$B3525 = $A50b2['item_list_name'];
goto e7f49;
Dcbcf:
$c1b93['products'][] = ['name' => $ea436['name'], 'title' => $Bf5ae, 'model' => $D88b8, 'pid' => $f95b0, 'gtin' => $Fb034, 'sku' => $c482b, 'product_id' => $bf361, 'category' => isset($D1f20) ? $D1f20 : '', 'category_id' => isset($d83ed) ? $d83ed : '', 'brand' => isset($da8eb) ? $da8eb : '', 'option' => $Aaf84, 'quantity' => $ea436['quantity'], 'price' => number_format((float) $ace9a, 2, '.', ''), 'fprice' => number_format((float) $Ac84c, 2, '.', ''), 'ex_price' => $B2922, 'fex_price' => $Cdac0, 'ftotal' => number_format((float) $abe29, 2, '.', ''), 'total' => number_format((float) $ac091, 2, '.', ''), 'discount' => 0, 'cost' => isset($C2050) ? $C2050 : 0];
goto a927c;
d7bf8:
$da8eb = isset($cbd8f['manufacturer']) ? $this->cleanStr($cbd8f['manufacturer']) : '';
goto b54fe;
be24b:
$c482b = '';
goto Fcb7e;
Ff342:
if ($bfd18) {
goto F15da;
}
goto a9e98;
ed8b8:
$Ac84c = $this->currency->format($ea436['price'] + ($this->config->get('config_tax') ? $ea436['tax'] : 0), $E10b1['alt_currency'], 0, false);
goto B21f2;
a2f17:
$D2701 = $A50b2['item_category5'];
goto E70d6;
E711d:
if (!isset($A50b2)) {
goto da3e2;
}
goto e89f0;
Abb03:
F15da:
goto E5d93;
Fcb7e:
$D88b8 = '';
goto e8fea;
be614:
goto d857b;
goto d2eb1;
Ecc21:
Ad816:
goto Dcbcf;
d96c2:
$e41da = $A50b2['item_category3'];
goto Ec7f8;
A6075:
goto Ad816;
goto Abb03;
e7f49:
$A1d57 = $A50b2['item_category'];
goto b0687;
A9a43:
$Fb034 = '';
goto Eaa24;
B21f2:
$ac091 = $this->currency->format($ea436['total'] + ($this->config->get('config_tax') ? $ea436['tax'] * $ea436['quantity'] : 0), $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto Eb23e;
a4fb7:
$ccb6f = '';
goto Ba025;
F5949:
$ccb6f = mb_substr($ccb6f, 0, 499);
goto d7bf8;
f60b6:
$Fb034 = isset($cbd8f['ean']) ? $cbd8f['ean'] : '';
goto D07d2;
E70d6:
da3e2:
goto e7f25;
da391:
d857b:
goto A6745;
Cf7bb:
$C2050 = 0;
goto Ccbfe;
b54fe:
$A50b2 = $this->getProductCatName($bf361);
goto f60b6;
e89f0:
$D1f20 = $A50b2['category'];
goto d8792;
d5fce:
E23e4:
goto Dd301;
E325c:
$bf361 = $ea436['product_id'];
goto Eb63c;
Dd301:
$ace9a = $this->currency->format($ea436['price'] + ($this->config->get('config_tax') ? $ea436['tax'] : 0), $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto ed8b8;
b0687:
$F9d4b = $A50b2['item_category2'];
goto d96c2;
d2eb1:
goto E84e5;
goto e4164;
d8792:
$d83ed = $A50b2['item_list_id'];
goto a1a22;
Ec7f8:
$a2de8 = $A50b2['item_category4'];
goto a2f17;
C6ed7:
$Bf5ae = $this->tagmangerPtitle($ea436['name'], $da8eb, $D88b8, $bf361);
goto E711d;
da0fa:
C86e8:
goto F5949;
Eaa24:
$f95b0 = '';
goto ea4d6;
a927c:
$c1b93['ga4_items'][] = ['item_id' => $f95b0, 'item_name' => $Bf5ae, 'item_brand' => $da8eb, 'item_category' => isset($A1d57) ? $A1d57 : '', 'item_category2' => isset($F9d4b) ? $F9d4b : '', 'item_category3' => isset($e41da) ? $e41da : '', 'item_category4' => isset($a2de8) ? $a2de8 : '', 'item_category5' => isset($D2701) ? $D2701 : '', 'item_list_id' => isset($d83ed) ? $d83ed : '', 'item_list_name' => isset($B3525) ? $B3525 : '', 'item_variant' => $ccb6f, 'affiliation' => isset($C4477) ? $C4477 : '', 'discount' => 0, 'coupon' => isset($F246a) ? $F246a : '', 'price' => number_format((float) $ace9a, 2, '.', ''), 'currency' => $E10b1['currency'], 'quantity' => $ea436['quantity'], 'index' => $d6674];
goto A301f;
E5d93:
$B2922 = $ea436['price'] / $F6719;
goto e3c15;
a9e98:
$B2922 = $this->currency->format($ea436['price'], $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto C05c6;
e4164:
a7072:
goto E325c;
C05c6:
$Cdac0 = $this->currency->format($ea436['price'], $E10b1['alt_currency'], 0, false);
goto A6075;
A2170:
$C2050 = $this->getProductCost($bf361);
goto d5fce;
c0511:
$be8b6 = $this->getOrderOptions($b7898, $ea436['order_product_id']);
goto f42d2;
A1642:
$f95b0 = $this->tagmangerPmap($D88b8, $c482b, $bf361);
goto C6ed7;
D07d2:
$c482b = isset($cbd8f['sku']) ? $cbd8f['sku'] : $bf361;
goto D81e1;
f203d:
E84e5:
goto be24b;
A6745:
}
goto ade88;
B838b:
$c63f3 = false;
goto cc8ef;
adc83:
$Ae523 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_voucher WHERE order_id = '" . (int) $b7898 . "'");
goto ed573;
F35a5:
$c63f3 = true;
goto E032f;
Eb297:
$F6719 = $E10b1['tax'];
goto C9532;
D89f8:
$c1b93 = [];
goto cb817;
c455f:
$c1b93['ga4_items'] = [];
goto B5c5f;
f0559:
b5ac9:
goto F35a5;
e3c61:
$d6674 = 1;
goto Fff05;
B5c5f:
$E10b1 = $this->config();
goto a6ece;
afb34:
Befe7:
goto F4e24;
a6ece:
$bfd18 = $E10b1['override_tax'];
goto Eb297;
C9532:
if (isset($E10b1['custom_cost_event']) && $E10b1['custom_cost_event']) {
goto b5ac9;
}
goto B838b;
E1f77:
foreach ($Ae523->rows as $Bee3a) {
goto d8559;
E4bd0:
$c1b93['ga4_items'][] = ['item_id' => $Bf5ae, 'item_name' => $Bf5ae, 'item_brand' => '', 'item_category' => 'Gift Voucher', 'item_category2' => '', 'item_category3' => '', 'item_category4' => '', 'item_category5' => '', 'item_list_id' => '', 'item_list_name' => '', 'item_variant' => '', 'affiliation' => '', 'discount' => 0, 'coupon' => '', 'price' => number_format((float) $ace9a, 2, '.', ''), 'currency' => $E10b1['currency'], 'quantity' => 1, 'index' => $d6674];
goto B897f;
db76e:
e7c64:
goto B65cb;
f04ea:
$B2922 = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto d9022;
d7039:
F3b40:
goto db11d;
ece16:
$Cdac0 = $this->currency->format($B2922, $E10b1['alt_currency'], 0, false);
goto c9e4f;
d9022:
$Cdac0 = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false);
goto f0ca4;
Cbde0:
$ac091 = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto E99fc;
d8559:
$Bf5ae = $this->cleanStr($Bee3a['description']);
goto fb0e3;
eb0d5:
$ace9a = $this->currency->format($a7de6, $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto Ded34;
Cdde7:
if ($bfd18) {
goto b7366;
}
goto f04ea;
db11d:
if (!(!empty($Bf5ae) || !empty($ace9a))) {
goto Bd58c;
}
goto ed8fe;
f0ca4:
goto F3b40;
goto b8cb6;
b8cb6:
b7366:
goto c715b;
E99fc:
$abe29 = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false);
goto Cdde7;
d4193:
Bd58c:
goto db76e;
B897f:
$d6674++;
goto d4193;
c715b:
$B2922 = $a7de6;
goto ece16;
fb0e3:
$a7de6 = $Bee3a['amount'];
goto eb0d5;
Ded34:
$Ac84c = $this->currency->format($a7de6, $E10b1['alt_currency'], 0, false);
goto Cbde0;
ed8fe:
$c1b93['products'][] = ['name' => $Bf5ae, 'title' => $Bf5ae, 'model' => $Bf5ae, 'pid' => $Bf5ae, 'gtin' => '', 'sku' => '', 'product_id' => $Bf5ae, 'category' => 'Gift Voucher', 'category_id' => 'Gift Voucher', 'brand' => '', 'option' => array(), 'quantity' => 1, 'price' => number_format((float) $ace9a, 2, '.', ''), 'fprice' => number_format((float) $Ac84c, 2, '.', ''), 'ex_price' => $B2922, 'fex_price' => $Cdac0, 'ftotal' => number_format((float) $abe29, 2, '.', ''), 'total' => number_format((float) $ac091, 2, '.', ''), 'discount' => 0, 'cost' => isset($C2050) ? $C2050 : 0];
goto E4bd0;
c9e4f:
$B2922 = $this->currency->format($B2922, $A3e0c['currency_code'], $A3e0c['currency_value'], false);
goto d7039;
B65cb:
}
goto afb34;
cc8ef:
goto F11e6;
goto f0559;
E032f:
F11e6:
goto e3c61;
a8edb:
$d6674 = 1;
goto E1f77;
cb817:
$c1b93['products'] = [];
goto c455f;
ade88:
D8a74:
goto adc83;
F4e24:
Dc126:
goto d5d73;
c155a:
}
public function getOrderOptions($b7898, $cc0f8)
{
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_option WHERE order_id = '" . (int) $b7898 . "' AND order_product_id = '" . (int) $cc0f8 . "'");
return $B535f->rows;
}
public function getOrderTax($b7898)
{
goto e4ffa;
Fa4ee:
return $A91b0;
goto d3854;
e4ffa:
$f91b7 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'tax'");
goto A263b;
A263b:
$A91b0 = '0.00';
goto c3f60;
ea340:
$A91b0 = $f91b7->row['value'];
goto A4cb5;
c3f60:
if (!$f91b7->num_rows) {
goto f6579;
}
goto ea340;
A4cb5:
f6579:
goto Fa4ee;
d3854:
}
public function getOrderShipping($b7898)
{
goto ff1e0;
Fdf37:
$D9576 = '0.00';
goto a3780;
cf4c7:
return $D9576;
goto b37c7;
ff1e0:
$cdb68 = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'shipping'");
goto Fdf37;
a3780:
if (!$cdb68->num_rows) {
goto C8b11;
}
goto E6ea8;
e0cf7:
C8b11:
goto cf4c7;
E6ea8:
$D9576 = $cdb68->row['value'];
goto e0cf7;
b37c7:
}
public function getOrderCoupon($b7898)
{
goto eaeb3;
c2cba:
Fa7f9:
goto f3a45;
E8f98:
if (!$B33ac->num_rows) {
goto Fa7f9;
}
goto F9248;
D52e4:
$Bb225 = '';
goto E8f98;
F9248:
$Bb225 = $B33ac->row['title'];
goto c2cba;
f3a45:
return $Bb225;
goto bbdf3;
eaeb3:
$B33ac = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int) $b7898 . "' AND code = 'coupon'");
goto D52e4;
bbdf3:
}
private function getOrderTotalAdjustment($b7898, $B3a1a)
{
goto d6df4;
da464:
$Fac1a = 0;
goto c340c;
a3840:
$c9913 = ['cod_fee', 'codfee_payment', 'handling', 'klarna_fee', 'low_order_fee', 'advancedcodfee', 'xfeepro'];
goto fdfe8;
e3400:
cba81:
goto B3d8f;
d38ab:
Bce94:
goto Dd72d;
d0155:
if (!$B535f->num_rows) {
goto b6142;
}
goto B5be2;
e1e82:
$Fac1a = $B535f->row['value'];
goto e3400;
A2f4d:
$A71c4 = $A71c4 / $F6719;
goto d38ab;
dfc5e:
foreach ($c9913 as $cc4ac) {
goto B515d;
b9d18:
C93b3:
goto C4ae4;
c593b:
if (!($B535f->row['code'] == 'xfeepro' && $B535f->row['value'] > 0)) {
goto F15bc;
}
goto f2d40;
ba800:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE \r\n\t\t\t\torder_id = '" . (int) $b7898 . "' AND \r\n\t\t\t\tcode = '" . $this->db->escape($cc4ac) . "'");
goto dee8d;
C4ae4:
Fe92b:
goto D2a44;
D2a44:
C6ea3:
goto b5b68;
dee8d:
if (!$B535f->num_rows) {
goto C93b3;
}
goto c593b;
B515d:
if (empty($cc4ac)) {
goto Fe92b;
}
goto ba800;
f2d40:
$Cada4 = $Cada4 + $B535f->row['value'];
goto a8b6a;
a8b6a:
F15bc:
goto b9d18;
b5b68:
}
goto A3204;
B5be2:
$E0195 = $B535f;
goto Ec94a;
D0eb6:
$Cada4 = $Cada4 / $F6719;
goto A2f4d;
E2a48:
$F6719 = $E10b1['tax'];
goto c99a4;
Ec94a:
b6142:
goto F0b1e;
Da4a5:
$c9913 = $E10b1['total_plus'];
goto fe0c4;
d6df4:
$E10b1 = $this->config();
goto B9961;
A3204:
d989c:
goto A2835;
A2835:
foreach ($B8f65 as $cc4ac) {
goto f276d;
E5637:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE \r\n\t\t\t\torder_id = '" . (int) $b7898 . "' AND \r\n\t\t\t\tcode = '" . $this->db->escape($cc4ac) . "'");
goto Badee;
D1f3c:
if (!($B535f->row['code'] == 'xfeepro' && $B535f->row['value'] < 0)) {
goto Dfeb1;
}
goto ff62f;
cdca4:
Dfeb1:
goto B9382;
D1048:
D4338:
goto B6c65;
Bad55:
Bb0e8:
goto D1048;
f276d:
if (empty($cc4ac)) {
goto Bb0e8;
}
goto E5637;
Badee:
if (!$B535f->num_rows) {
goto e3fdc;
}
goto D1f3c;
ff62f:
$A71c4 = $A71c4 + $B535f->row['value'];
goto cdca4;
B9382:
e3fdc:
goto Bad55;
B6c65:
}
goto dc6e0;
c340c:
$E0195 = [];
goto cc174;
B9961:
$Cada4 = 0;
goto C5928;
cff6f:
Ee974:
goto dfc5e;
A20a5:
C6c93:
goto a3840;
cc174:
$bfd18 = $E10b1['override_tax'];
goto E2a48;
dc6e0:
b6755:
goto f9b9d;
fdfe8:
$B8f65 = ['credit', 'reward', 'voucher', 'payment_discount', 'xfeepro'];
goto cff6f;
f9b9d:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE \r\n\t\t\t\torder_id = '" . (int) $b7898 . "' AND \r\n\t\t\t\tcode = 'sub_total'");
goto bf855;
F0b1e:
if (!$bfd18) {
goto Bce94;
}
goto D0eb6;
B3d8f:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE \r\n\t\t\t\torder_id = '" . (int) $b7898 . "'");
goto d0155;
C5928:
$A71c4 = 0;
goto da464;
bf855:
if (!$B535f->num_rows) {
goto cba81;
}
goto e1e82;
fe0c4:
$B8f65 = $E10b1['total_minus'];
goto e6be4;
A7818:
return $c1b93;
goto bdecb;
e6be4:
goto Ee974;
goto A20a5;
c99a4:
if (!isset($E10b1['total_plus']) || !isset($E10b1['total_minus'])) {
goto C6c93;
}
goto Da4a5;
Dd72d:
$c1b93 = ['plus' => $Cada4 * $B3a1a, 'minus' => $A71c4 * $B3a1a, 'sub_total' => $Fac1a * $B3a1a, 'order_totals' => $E0195];
goto A7818;
bdecb:
}
private function getOptionPrice($bf361, $be8b6, $ace9a, $Dd681)
{
goto Ef077;
a1090:
$b8fc6 = 0;
goto Baee3;
a23b3:
ca4b3:
goto a1090;
Baee3:
$Aaf84 = [];
goto Fca2c;
Fca2c:
foreach ($be8b6 as $ff727 => $B3a1a) {
goto Fa547;
d913d:
goto e9eaf;
goto Fc982;
Fa547:
$B8007 = $this->db->query("SELECT po.product_option_id, po.option_id, od.name, o.type FROM " . DB_PREFIX . "product_option po LEFT JOIN `" . DB_PREFIX . "option` o ON (po.option_id = o.option_id) LEFT JOIN " . DB_PREFIX . "option_description od ON (o.option_id = od.option_id) WHERE po.product_option_id = '" . (int) $ff727 . "' AND po.product_id = '" . (int) $bf361 . "' AND od.language_id = '" . (int) $this->config->get('config_language_id') . "'");
goto A62be;
Ed5f2:
e4307:
goto Cbb52;
c1c7c:
if ($B8007->row['type'] == 'text' || $B8007->row['type'] == 'textarea' || $B8007->row['type'] == 'file' || $B8007->row['type'] == 'date' || $B8007->row['type'] == 'datetime' || $B8007->row['type'] == 'time') {
goto ae58c;
}
goto e1eb8;
bc13e:
foreach ($B3a1a as $Bf0c0) {
goto c3c6d;
C6fec:
if ($e580d->row['price_prefix'] == '-') {
goto fccb7;
}
goto ef115;
Eeb84:
$b8fc6 += $e580d->row['price'];
goto f47ac;
eb9f2:
if ($e580d->row['price_prefix'] == '+') {
goto d75ae;
}
goto C6fec;
C159b:
Af4f6:
goto F3d32;
F3d32:
F50d7:
goto A15d7;
c3c6d:
$e580d = $this->db->query("SELECT pov.option_value_id, pov.quantity, pov.subtract, pov.price, pov.price_prefix, pov.points, pov.points_prefix, pov.weight, pov.weight_prefix, ovd.name FROM " . DB_PREFIX . "product_option_value pov LEFT JOIN " . DB_PREFIX . "option_value_description ovd ON (pov.option_value_id = ovd.option_value_id) WHERE pov.product_option_value_id = '" . (int) $Bf0c0 . "' AND pov.product_option_id = '" . (int) $ff727 . "' AND ovd.language_id = '" . (int) $this->config->get('config_language_id') . "'");
goto f194b;
Ba728:
fccb7:
goto ea68d;
d3aea:
D8334:
goto C159b;
ea68d:
$b8fc6 -= $e580d->row['price'];
goto d3aea;
ef115:
goto D8334;
goto D5c90;
f47ac:
goto D8334;
goto Ba728;
D5c90:
d75ae:
goto Eeb84;
f194b:
if (!$e580d->num_rows) {
goto Af4f6;
}
goto eb9f2;
A15d7:
}
goto f647a;
D639f:
f9bf5:
goto b4b87;
f647a:
F485c:
goto af151;
af151:
goto e4307;
goto Bf310;
Bd5ce:
if ($B8007->row['type'] == 'checkbox' && is_array($B3a1a)) {
goto eaaff;
}
goto c1c7c;
e1eb8:
goto e4307;
goto c0dd8;
Cb432:
if ($e580d->row['price_prefix'] == '+') {
goto e58e6;
}
goto c5a12;
A62be:
if (!$B8007->num_rows) {
goto f7bba;
}
goto D9639;
Bf310:
ae58c:
goto Ed5f2;
c5a12:
if ($e580d->row['price_prefix'] == '-') {
goto b30de;
}
goto fdc69;
c0dd8:
cdc66:
goto b0f01;
D9639:
if ($B8007->row['type'] == 'select' || $B8007->row['type'] == 'radio') {
goto cdc66;
}
goto Bd5ce;
Cbb52:
f7bba:
goto Ae65b;
b4b87:
goto e4307;
goto E0261;
Ae65b:
a7e9b:
goto Cf073;
b0f01:
$e580d = $this->db->query("SELECT pov.option_value_id, ovd.name, pov.quantity, pov.subtract, pov.price, pov.price_prefix, pov.points, pov.points_prefix, pov.weight, pov.weight_prefix FROM " . DB_PREFIX . "product_option_value pov LEFT JOIN " . DB_PREFIX . "option_value ov ON (pov.option_value_id = ov.option_value_id) LEFT JOIN " . DB_PREFIX . "option_value_description ovd ON (ov.option_value_id = ovd.option_value_id) WHERE pov.product_option_value_id = '" . (int) $B3a1a . "' AND pov.product_option_id = '" . (int) $ff727 . "' AND ovd.language_id = '" . (int) $this->config->get('config_language_id') . "'");
goto b48f5;
Fc982:
b30de:
goto dc8b4;
dc8b4:
$b8fc6 -= $e580d->row['price'];
goto A6ab8;
fdc69:
goto e9eaf;
goto Dba84;
Dba84:
e58e6:
goto Cd268;
Cd268:
$b8fc6 += $e580d->row['price'];
goto d913d;
E0261:
eaaff:
goto bc13e;
A6ab8:
e9eaf:
goto D639f;
b48f5:
if (!$e580d->num_rows) {
goto f9bf5;
}
goto Cb432;
Cf073:
}
goto Cec13;
c44c1:
return $b8fc6;
goto cdc4a;
e55ff:
return false;
goto a23b3;
Cec13:
E6e71:
goto c44c1;
Ef077:
if (!(!isset($bf361) || !isset($be8b6))) {
goto ca4b3;
}
goto e55ff;
cdc4a:
}
public function getCustomerHistory($d80a6, $B1200 = false, $b7898 = false)
{
goto ae899;
ae899:
$ac091 = 0;
goto F0503;
Ac0c2:
$c1b93 = ['new_customer' => $fa03f, 'total' => number_format((float) $ac091, 2, '.', '')];
goto ba513;
d78e3:
foreach ($B535f->rows as $F5c83) {
goto fa835;
b3e9b:
bb4f0:
goto Fc03c;
C333a:
$ac091 += $e833c->row['value'];
goto cb056;
a8348:
if (!$e833c->num_rows) {
goto bb4f0;
}
goto A1648;
A1648:
$fa03f = false;
goto C333a;
Fc03c:
Df1a6:
goto d62d4;
fa835:
$b7898 = $F5c83['order_id'];
goto C097a;
C097a:
$e833c = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order_total` WHERE order_id = '" . (int) $b7898 . "' AND code = 'total'");
goto a8348;
cb056:
$Ed420++;
goto b3e9b;
d62d4:
}
goto Dcc2b;
ba513:
return $c1b93;
goto f979a;
bcf40:
$B535f = $this->db->query("SELECT order_id FROM " . DB_PREFIX . "order WHERE email = '" . $this->db->escape($d80a6) . "' AND order_id != " . (int) $b7898);
goto e4d18;
e4d18:
if (!$B535f->num_rows) {
goto C88f5;
}
goto d78e3;
Dcc2b:
c95ce:
goto Ecb23;
F0503:
$Ed420 = 0;
goto F2a20;
F2a20:
$fa03f = true;
goto c078a;
Ecb23:
C88f5:
goto E9756;
E9756:
Be2a3:
goto Ac0c2;
c078a:
if (!(isset($d80a6) && !empty($d80a6) && $b7898)) {
goto Be2a3;
}
goto bcf40;
f979a:
}
public function GAorderAdd($b7898, $c1b93)
{
goto D60cc;
ecb11:
$A42a9 = isset($E10b1['sc_click_id']) ? $E10b1['sc_click_id'] : '';
goto C01f1;
e91e9:
if (isset($b7898) && isset($c1b93) && isset($c1b93['currency_code'])) {
goto ba82d;
}
goto B5cff;
A25cf:
$a700c = isset($E10b1['ttclid']) ? $E10b1['ttclid'] : '';
goto ecb11;
A9adb:
Fced4:
goto A606c;
D60cc:
$C7690 = '';
goto B6b15;
B6b15:
$E10b1 = $this->config();
goto dc7cf;
d002e:
$Ca165 = isset($E10b1['ttp']) ? $E10b1['ttp'] : '';
goto A25cf;
dc835:
$this->db->query("INSERT INTO `" . DB_PREFIX . "analytics_tracking` SET \r\n order_id = '" . (int) $b7898 . "',\r\n cid = '" . $this->db->escape($E10b1['cid']) . "',\r\n \t\t\t currency_code = '" . $this->db->escape($c1b93['currency_code']) . "',\r\n \t\t\t currency_id = '" . $this->db->escape($c1b93['currency_id']) . "',\r\n \t\t\t uid = '" . $this->db->escape($B1200) . "',\r\n\t\t\t\t gclid = '" . $this->db->escape($a9540) . "',\r\n \t\t\t ul = '" . $this->db->escape($E10b1['language']) . "',\r\n \t\t\t ip = '" . $this->db->escape($c1b93['ip']) . "',\r\n \t\t\t user_agent = '" . $this->db->escape($c1b93['user_agent']) . "',\r\n \t\t\t tid = '" . (isset($E10b1['ga4_mid']) ? $this->db->escape($E10b1['ga4_mid']) : '') . "',\r\n \t\t\t\t event_id = '" . $this->db->escape($b1eff) . "',\r\n\t\t\t\t fbp = '" . $this->db->escape($C1f11) . "',\r\n\t\t\t\t fbc = '" . $this->db->escape($A3bf6) . "',\r\n\t\t\t\t ttp = '" . $this->db->escape($Ca165) . "',\r\n\t\t\t\t ttclid = '" . $this->db->escape($a700c) . "',\r\n\t\t\t\t sc_click_id = '" . $this->db->escape($A42a9) . "',\r\n\t\t\t\t sc_cookie1 = '" . $this->db->escape($D070a) . "'");
goto A9adb;
D7f03:
$this->saveOrderID($b7898);
goto dce61;
dc7cf:
$B1200 = isset($E10b1['user_id']) ? $E10b1['user_id'] : '';
goto F7757;
A3563:
$C1f11 = isset($E10b1['fbp']) ? $E10b1['fbp'] : '';
goto Ad045;
d18eb:
$a9540 = isset($E10b1['gclid']) ? $E10b1['gclid'] : '';
goto d778b;
Ad045:
$A3bf6 = isset($E10b1['fbc']) ? $E10b1['fbc'] : '';
goto d002e;
fe0d8:
goto E95ff;
goto a32b1;
A606c:
E95ff:
goto Ec0ed;
d778b:
if (!(empty($B1200) && isset($E10b1['$external_id']))) {
goto cf94e;
}
goto D3d8a;
dce61:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'");
goto A74b9;
C01f1:
$D070a = isset($E10b1['sc_cookie1']) ? $E10b1['sc_cookie1'] : '';
goto d18eb;
A74b9:
if ($B535f->num_rows) {
goto Fced4;
}
goto dc835;
E88db:
Da60c:
goto fe0d8;
B5cff:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto Da60c;
}
goto fc012;
fc012:
$this->Log('DMT Debug log: Error GAorderAdd empty data OrderID: ' . $b7898);
goto E88db;
D3d8a:
$B1200 = $E10b1['external_id'];
goto b8dd9;
F7757:
$b1eff = $this->eventid();
goto A3563;
a32b1:
ba82d:
goto D7f03;
b8dd9:
cf94e:
goto e91e9;
Ec0ed:
}
public function GAgetOrder($b7898)
{
goto c48e6;
c3d71:
fac2c:
goto b9c3c;
c48e6:
if (!(isset($b7898) && !empty($b7898))) {
goto fac2c;
}
goto Cf0fc;
Cf0fc:
$B535f = $this->db->query("SELECT * from `" . DB_PREFIX . "analytics_tracking` WHERE order_id = '" . (int) $b7898 . "'");
goto A39d7;
A39d7:
if (!$B535f->num_rows) {
goto C0da4;
}
goto E26b7;
b9c3c:
return false;
goto a0c64;
d9ba6:
C0da4:
goto c3d71;
E26b7:
return $B535f->row;
goto d9ba6;
a0c64:
}
public function GAgetOrderEvent($b7898)
{
goto D44da;
A3095:
$c1b93 = false;
goto c8518;
D4790:
$c1b93 = $B535f->row['event_id'];
goto Db123;
Db123:
d8348:
goto c8050;
c8518:
if (!$B535f->num_rows) {
goto d8348;
}
goto D4790;
d1306:
return $c1b93;
goto Ddef6;
D44da:
if (!(isset($b7898) && !empty($b7898))) {
goto F109f;
}
goto a8cd4;
c8050:
F109f:
goto d1306;
a8cd4:
$B535f = $this->db->query("SELECT event_id from `" . DB_PREFIX . "analytics_tracking` WHERE order_id = '" . (int) $b7898 . "'");
goto A3095;
Ddef6:
}
public function GAupdateorder($b7898)
{
goto Bcaa9;
E5d9e:
return false;
goto a0b44;
eb736:
return true;
goto Cab1b;
c6945:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit = '1' WHERE order_id = '" . (int) $b7898 . "'");
goto eb736;
Cab1b:
c5f3d:
goto E5d9e;
Bcaa9:
if (!(isset($b7898) && !empty($b7898))) {
goto c5f3d;
}
goto c6945;
a0b44:
}
public function OrderStatusCheck($b7898)
{
goto ed2b0;
A2416:
if (!(isset($b7898) && (int) $b7898 > 0)) {
goto A90ae;
}
goto a4ded;
dcfd7:
$F69fa = $B535f->row['order_status_id'];
goto e8b4d;
a4ded:
$B535f = $this->db->query("SELECT order_id, order_status_id from `" . DB_PREFIX . "order` WHERE order_id = '" . (int) $b7898 . "'");
goto fc5ae;
A35b9:
return $F69fa;
goto da36e;
ed2b0:
$F69fa = false;
goto A2416;
e8b4d:
Eb11d:
goto B064a;
B064a:
A90ae:
goto A35b9;
cd49f:
if (!$B535f->num_rows) {
goto Eb11d;
}
goto dcfd7;
fc5ae:
$F69fa = 0;
goto cd49f;
da36e:
}
private function DeliveryEstimate($Ee993, $b3504 = 7, $B73b2 = null)
{
goto fb7bc;
D7e35:
b0f65:
goto Cbb67;
c7574:
$a4aad = '1 days';
goto a8085;
Bb735:
B7aa3:
goto Bca31;
f658d:
$dbde2 = $b16a3 + 3 * 24 * 60 * 60;
goto C92f1;
d9e3c:
f9fc8:
goto ce365;
Ae7c7:
goto Fc02d;
goto a9390;
A5d5d:
c90ef:
goto bd5d6;
c1f14:
$A3074 = true;
goto feb35;
dd85c:
A19a2:
goto Fce13;
B6daf:
$b16a3 = time() + $Cc7ba * 24 * 60 * 60;
goto a79b8;
C92f1:
ee286:
goto d03db;
Eaec6:
ba30b:
goto de014;
ce3e7:
if ($B73b2 == 'customshipping.customshipping4') {
goto a6360;
}
goto Cdb66;
a92b4:
F56d1:
goto B32a7;
Db2ee:
$Cc7ba = 2;
goto B912d;
Df337:
$dbde2 = $b16a3 + 2 * 24 * 60 * 60;
goto A5d5d;
C5849:
if ($B73b2 == 'customshipping.customshipping2') {
goto A19a2;
}
goto ae2c6;
C8f4d:
goto Ee6e5;
goto dd85c;
Cdb66:
$a4aad = '5 days';
goto Dcb8a;
a8085:
$dbde2 = $b16a3 + 2 * 24 * 60 * 60;
goto af232;
Fce13:
$a4aad = '1 day';
goto d7758;
af232:
e2ed8:
goto C8f4d;
feb35:
$Cc7ba = 0;
goto a92b4;
Cd00c:
if ($B73b2 == 'customshipping.customshipping0') {
goto B7e08;
}
goto cdccd;
Dcf18:
if ($d83a9 < 5) {
goto d6739;
}
goto A7367;
A7ef9:
$a4aad = '1 days';
goto Df337;
d7758:
$dbde2 = $b16a3 + 2 * 24 * 60 * 60;
goto dbcb6;
D51a1:
goto F56d1;
goto ad0bb;
A1b10:
$Cc7ba = 1;
goto E07eb;
ae2c6:
if ($B73b2 == 'customshipping.customshipping3') {
goto Ed1a9;
}
goto ce3e7;
Ce8e5:
if ($d83a9 == 6) {
goto bd306;
}
goto f9d6b;
cea28:
$A3074 = false;
goto A1b10;
af1eb:
Cbfa6:
goto D57df;
dd7a4:
a6360:
goto A7ef9;
fd9c5:
Ed1a9:
goto c7574;
d03db:
goto Cbfa6;
goto d5df5;
Bca31:
if (time() <= strtotime($Ee993)) {
goto Cef61;
}
goto Fc9cb;
A7367:
if ($d83a9 == 5) {
goto B7aa3;
}
goto Ce8e5;
B912d:
E0c8f:
goto Da638;
e8636:
$Cc7ba = 3;
goto D51a1;
Bb80c:
d6739:
goto d6188;
A0755:
bd306:
goto f1773;
F74b5:
$a4aad = '3-5 days';
goto a61ea;
b375e:
$Cc7ba = 1;
goto d9e3c;
a79b8:
if (isset($B73b2) && $B73b2) {
goto F617e;
}
goto f1986;
f1773:
$A3074 = false;
goto Db2ee;
Cbb67:
A27ab:
goto B6daf;
de014:
$a4aad = '2 days';
goto f658d;
d5df5:
B7e08:
goto F74b5;
D57df:
Fc02d:
goto D1962;
f9d6b:
if (!($d83a9 == 7)) {
goto f9fc8;
}
goto de373;
cdccd:
if ($B73b2 == 'customshipping.customshipping1') {
goto ba30b;
}
goto C5849;
C40f1:
c9e93:
goto F28c0;
E07eb:
goto b0f65;
goto C40f1;
dbcb6:
Ee6e5:
goto Dfaac;
ce365:
goto E0c8f;
goto A0755;
D1962:
return $dbde2;
goto b6557;
F28c0:
$A3074 = true;
goto Cdab1;
Fc9cb:
$A3074 = false;
goto e8636;
B32a7:
A94db:
goto abfe3;
a9390:
F617e:
goto Cd00c;
bd5d6:
goto e2ed8;
goto fd9c5;
Cdab1:
$Cc7ba = 0;
goto D7e35;
ad0bb:
Cef61:
goto c1f14;
Dfaac:
goto ee286;
goto Eaec6;
abfe3:
goto A27ab;
goto Bb80c;
de373:
$A3074 = false;
goto b375e;
C11f7:
$d83a9 = date("N", time());
goto Dcf18;
Aacbc:
goto c90ef;
goto dd7a4;
d6188:
if (time() <= strtotime($Ee993)) {
goto c9e93;
}
goto cea28;
Da638:
goto A94db;
goto Bb735;
f1986:
$dbde2 = $b16a3 + $b3504 * 24 * 60 * 60;
goto Ae7c7;
fb7bc:
date_default_timezone_set("Europe/London");
goto C11f7;
a61ea:
$dbde2 = $b16a3 + 7 * 24 * 60 * 60;
goto af1eb;
Dcb8a:
$dbde2 = $b16a3 + 7 * 24 * 60 * 60;
goto Aacbc;
b6557:
}
private function getSizeAndColorOptionMap($bf361, $bb9ad)
{
goto adc69;
afe24:
$ace79 = $this->getOptionId($bf361, $bb9ad, 'size');
goto a3e95;
bc49d:
$e49e8 = $this->googleshopping->getProductOptionValueNames($bf361, $this->config->get('config_language_id'), $E4213);
goto b3011;
adc69:
$E4213 = $this->getOptionId($bf361, $bb9ad, 'color');
goto afe24;
bab35:
return $Af396;
goto C09cc;
a3e95:
$B2084 = $this->googleshopping->getGroups($bf361, $this->config->get('config_language_id'), $E4213, $ace79);
goto bc49d;
b3011:
$af55d = $this->googleshopping->getProductOptionValueNames($bf361, $this->config->get('config_language_id'), $ace79);
goto cc6a4;
cc6a4:
$Af396 = ['groups' => $B2084, 'colors' => count($e49e8) > 1 ? $e49e8 : null, 'sizes' => count($af55d) > 1 ? $af55d : null];
goto bab35;
C09cc:
}
private function getCountry($A939a)
{
goto a4173;
e1422:
c2147:
goto cebe9;
feb49:
if (!(isset($E10b1['cache']) && $E10b1['cache'])) {
goto cddd0;
}
goto Db1ae;
Fc907:
if (!$c1b93) {
goto C601d;
}
goto c8ed1;
c8ed1:
return $c1b93;
goto b3e7b;
D309e:
if (!(isset($E10b1['cache']) && $E10b1['cache'] == '1')) {
goto c2147;
}
goto Fbe11;
e5c4d:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "country WHERE country_id = '" . (int) $A939a . "'");
goto Caa1a;
a4173:
$E10b1 = $this->settings;
goto Fb007;
Fb007:
$c1b93 = false;
goto feb49;
D6d95:
$c1b93 = [];
goto e5c4d;
Caa1a:
$c1b93 = $B535f->row;
goto D309e;
Db1ae:
$c1b93 = $this->cache->get('dmt.country.' . $A939a);
goto b1e5a;
cebe9:
return $c1b93;
goto Da73b;
b3e7b:
C601d:
goto D6d95;
b1e5a:
cddd0:
goto Fc907;
Fbe11:
$this->cache->set('dmt.country.' . $A939a, $c1b93);
goto e1422;
Da73b:
}
private function getSettings($cc4ac, $Eed71 = 'date_modified', $B3a1a = false, $D822a = false)
{
goto B4ee2;
ccdff:
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `code` = '" . $this->db->escape($cc4ac) . "'");
goto b21fb;
C8733:
goto Fe64b;
goto f71a1;
Ed0e2:
Ba800:
goto B323c;
F0135:
if (substr(VERSION, 0, 1) == '1') {
goto b68c7;
}
goto ccdff;
b21fb:
$this->db->query("INSERT INTO " . DB_PREFIX . "setting SET store_id = '0', `code` = '" . $this->db->escape($cc4ac) . "', `key` = '" . $this->db->escape($Eed71) . "', `value` = '" . $this->db->escape($B3a1a) . "'");
goto C8733;
c59b8:
goto Ee006;
goto Ed0e2;
f812f:
Ee006:
goto B6765;
B4ee2:
if ($D822a) {
goto Ba800;
}
goto F0135;
E6204:
$this->db->query("INSERT INTO " . DB_PREFIX . "setting SET store_id = '0', `group` = '" . $this->db->escape($cc4ac) . "', `key` = '" . $this->db->escape($Eed71) . "', `value` = '" . $this->db->escape($B3a1a) . "'");
goto D1eb6;
f71a1:
b68c7:
goto db0b8;
B323c:
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `key` = '" . $this->db->escape($cc4ac) . "'");
goto f812f;
db0b8:
$this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `group` = '" . $this->db->escape($cc4ac) . "'");
goto E6204;
D1eb6:
Fe64b:
goto c59b8;
B6765:
}
private function getSettingValue($Eed71, $bb9ad = 0)
{
goto daf28;
a0366:
$this->cache->set('dmt.settings.' . $Eed71 . '.' . $bb9ad, $c1b93);
goto Cf6b1;
Dfa8d:
return $c1b93;
goto A1935;
ef4ce:
if (!$B535f->num_rows) {
goto acb00;
}
goto Cf142;
D788c:
if ($c1b93) {
goto D7fda;
}
goto b50df;
F2c27:
D7fda:
goto Dfa8d;
Cf6b1:
acb00:
goto F2c27;
Cf142:
$c1b93 = $B535f->row['value'];
goto a0366;
b50df:
$B535f = $this->db->query("SELECT value FROM " . DB_PREFIX . "setting WHERE store_id = '" . (int) $bb9ad . "' AND `key` = '" . $this->db->escape($Eed71) . "'");
goto ef4ce;
daf28:
$c1b93 = false;
goto Fd3b5;
Fd3b5:
$c1b93 = $this->cache->get('dmt.settings.' . $Eed71 . '.' . $bb9ad);
goto D788c;
A1935:
}
public function formatUserdata($E10b1 = false)
{
goto e224b;
Afd55:
$Ede1c['em'] = $A6899['em'];
goto ed5e3;
De8d4:
$c1b93['user_data']['sha256_phone_number'] = $A6899['ph_e164'];
goto Aba21;
d7b82:
if (isset($E10b1['sccid']) && !empty($E10b1['sccid'])) {
goto E3f1a;
}
goto Ab3be;
ca171:
goto bdb42;
goto f4f19;
Faddc:
$Ede1c['sc_click_id'] = $D0821;
goto Ec3a0;
e5468:
$C1f11 = $this->gtm->getFbp();
goto a0fce;
c5630:
$c1b93['pixel_user_data'] = ['em' => $A6899['em'], 'fn' => $A6899['fn'], 'ln' => $A6899['ln'], 'ph' => $A6899['ph'], 'ct' => $A6899['ct'], 'zp' => $A6899['pc'], 'st' => $A6899['st'], 'country' => $A6899['cc'], 'external_id' => $A6899['external_id_hash'], 'client_ip_address' => $A6899['ip_address'], 'client_user_agent' => $A6899['user_agent']];
goto c7a20;
Cce5c:
if (isset($E10b1['sc_cookie1']) && !empty($E10b1['sc_cookie1'])) {
goto a7075;
}
goto a5e08;
a5e08:
$D070a = $this->gtm->getSc_cookie1();
goto F0a87;
d2cec:
ea370:
goto cdf12;
c7a20:
if (!(!empty($A3bf6) && $A3bf6)) {
goto B3ec2;
}
goto Eed5f;
eddc8:
$Ede1c['fn'] = $A6899['fn'];
goto Fa879;
E6927:
if (!empty($A6899['external_id'])) {
goto E4737;
}
goto D2675;
b1dcd:
$c1b93['tiktok_user_data'] = ['email' => $A6899['em'], 'phone' => $A6899['ph_e164'], 'external_id' => $A6899['external_id_hash'], 'ttp' => $Ca165, 'ttclid' => $a700c, 'ip' => $A6899['ip_address'], 'user_agent' => $A6899['user_agent'], 'first_name' => $A6899['fn'], 'last_name' => $A6899['ln'], 'city' => $A6899['ct'], 'state' => $A6899['st'], 'zip_code' => $A6899['pc'], 'country' => $A6899['cc']];
goto Ef023;
Fe8c2:
B3ec2:
goto c728a;
A1aa7:
if (empty($A6899['ln'])) {
goto E04bc;
}
goto e81a5;
f4f19:
b30fc:
goto C265b;
F693e:
if (empty($A6899['fn'])) {
goto B8f73;
}
goto eddc8;
Cb92f:
return false;
goto D815e;
ed5e3:
ee8f9:
goto c08a6;
fbd7b:
$a700c = $E10b1['ttclid'];
goto e7feb;
C05aa:
d2c7d:
goto D5b32;
fa698:
$c1b93 = [];
goto df0cb;
Ff103:
d54d6:
goto D2a7b;
Afeda:
$a700c = $this->gtm->getTtclid();
goto daebb;
aac49:
$D070a = $E10b1['sc_cookie1'];
goto B40ee;
B38a5:
goto F8ece;
goto F059a;
B40ee:
F1b03:
goto d7b82;
fe088:
if (!$E10b1['tiktok_status']) {
goto Df899;
}
goto ce58a;
C265b:
$A3bf6 = $A6899['fbc'];
goto B6f9f;
b5b13:
F8ece:
goto F428d;
Bdb93:
$Ca165 = $this->gtm->getTtp();
goto b8254;
A54aa:
if (!$E10b1['pixel']) {
goto Cbf98;
}
goto D6651;
D2675:
$A6899['external_id'] = $this->session->getId();
goto b305b;
d2883:
$A3bf6 = $this->gtm->getFbc();
goto ca171;
Ff95d:
if (isset($E10b1['ttp']) && !empty($E10b1['ttp'])) {
goto d2c7d;
}
goto Bdb93;
df0cb:
$A6899 = ['em' => isset($E10b1['em']) ? $E10b1['em'] : '', 'fn' => isset($E10b1['fn']) ? $E10b1['fn'] : '', 'ln' => isset($E10b1['ln']) ? $E10b1['ln'] : '', 'ph' => isset($E10b1['ph']) ? $E10b1['ph'] : '', 'ph_e164' => isset($E10b1['ph_e164']) ? $E10b1['ph_e164'] : '', 'ad' => isset($E10b1['ad']) ? $E10b1['ad'] : '', 'ct' => isset($E10b1['ct']) ? $E10b1['ct'] : '', 'pc' => isset($E10b1['pc']) ? $E10b1['pc'] : '', 'st' => isset($E10b1['st']) ? $E10b1['st'] : '', 'cc' => isset($E10b1['cc']) ? $E10b1['cc'] : '', 'external_id' => isset($E10b1['external_id']) ? $E10b1['external_id'] : false, 'user_agent' => isset($E10b1['user_agent']) ? $E10b1['user_agent'] : false, 'locale' => isset($E10b1['locale']) ? $E10b1['locale'] : false, 'ip_address' => isset($E10b1['ip_address']) ? $E10b1['ip_address'] : false, 'fbc' => isset($E10b1['fbc']) ? $E10b1['fbc'] : false, 'fbp' => isset($E10b1['fbp']) ? $E10b1['fbp'] : false, 'ttclid' => isset($E10b1['ttclid']) ? $E10b1['ttclid'] : false, 'ttp' => isset($E10b1['ttp']) ? $E10b1['ttp'] : false, 'sc_cookie1' => isset($E10b1['sc_cookie1']) ? $E10b1['sc_cookie1'] : false, 'sccid' => isset($E10b1['sccid']) ? $E10b1['sccid'] : false];
goto E6927;
F180b:
d806e:
goto B694a;
Fa879:
B8f73:
goto A1aa7;
a0fce:
goto e4f29;
goto a8ce5;
e45b3:
if (empty($D0821)) {
goto d97d4;
}
goto Faddc;
b60f9:
$Ede1c['ct'] = $A6899['ct'];
goto B1c49;
D5b32:
$Ca165 = $E10b1['ttp'];
goto ebe7a;
cdf12:
if (empty($A6899['country'])) {
goto F1e36;
}
goto b8075;
d3640:
$Ede1c['external_id'] = $A6899['external_id_hash'];
goto db141;
ab9af:
$C1f11 = $A6899['fbp'];
goto a8e4a;
bbd23:
$Ede1c['zp'] = $A6899['pc'];
goto d2cec;
B6bc6:
$c1b93['user_data']['address']['sha256_first_name'] = $A6899['fn'];
goto De018;
ea17f:
$c1b93['pixel_user_data']['fbp'] = $C1f11;
goto F180b;
F290f:
if (empty($A6899['em'])) {
goto ee8f9;
}
goto Afd55;
De1d9:
$D0821 = $E10b1['sccid'];
goto b5b13;
B694a:
Cbf98:
goto b2de0;
F5011:
$c52b1 = $E10b1['snap_pixel_id'];
goto Cce5c;
fe10d:
if (empty($A6899['external_id'])) {
goto Fc334;
}
goto d3640;
Ee360:
if (empty($A6899['st'])) {
goto C7bc1;
}
goto C58da;
D27a5:
if (empty($A6899['ct'])) {
goto B7ad0;
}
goto b60f9;
F059a:
E3f1a:
goto De1d9;
Feb1a:
return $c1b93;
goto a172b;
b8075:
$Ede1c['country'] = $A6899['country'];
goto aa19e;
e2252:
a7075:
goto aac49;
D815e:
b0f43:
goto fa698;
c08a6:
if (empty($A6899['ph'])) {
goto C4065;
}
goto eba68;
A9e0a:
$A6899['external_id_hash'] = !empty($A6899['external_id']) ? $this->gtm->getHash($A6899['external_id']) : '';
goto a3ca6;
a8e4a:
e4f29:
goto c5630;
a3ca6:
$c1b93['user_data'] = [];
goto B4991;
D9250:
$Ede1c['sc_cookie1'] = $D070a;
goto Ff103;
Eed5f:
$c1b93['pixel_user_data']['fbc'] = $A3bf6;
goto Fe8c2;
aa19e:
F1e36:
goto fe10d;
B1c49:
B7ad0:
goto Ee360;
de075:
C7bc1:
goto D4fdf;
e81a5:
$Ede1c['ln'] = $A6899['ln'];
goto Dc063;
D2a7b:
$c1b93['snapchat_user_data'] = $Ede1c;
goto a0a10;
b8254:
goto f0a3a;
goto C05aa;
B4991:
$c1b93['user_data']['sha256_email_address'] = $A6899['em'];
goto De8d4;
db141:
Fc334:
goto e45b3;
Bca2d:
if (empty($D070a)) {
goto d54d6;
}
goto D9250;
B6f9f:
bdb42:
goto C1f21;
C1f21:
if ($A6899['fbp']) {
goto Ce193;
}
goto e5468;
Ef023:
Df899:
goto Feb1a;
ce58a:
$aba2e = $E10b1['tiktok_code'];
goto Fc03d;
e224b:
if ($E10b1) {
goto b0f43;
}
goto Cb92f;
c728a:
if (!(!empty($C1f11) && $C1f11)) {
goto d806e;
}
goto ea17f;
Dc063:
E04bc:
goto D27a5;
De018:
$c1b93['user_data']['address']['sha256_last_name'] = $A6899['ln'];
goto A54aa;
daebb:
goto f0e7c;
goto D5503;
Fc03d:
if (isset($E10b1['ttclid']) && !empty($E10b1['ttclid'])) {
goto f060d;
}
goto Afeda;
Ec3a0:
d97d4:
goto Bca2d;
D4fdf:
if (empty($A6899['pc'])) {
goto ea370;
}
goto bbd23;
Aba21:
$c1b93['user_data']['address'] = [];
goto B6bc6;
eba68:
$Ede1c['ph'] = $A6899['ph'];
goto b65c6;
a0a10:
bb0f9:
goto fe088;
Ab3be:
$D0821 = $this->gtm->getScCid();
goto B38a5;
D5503:
f060d:
goto fbd7b;
D6651:
if ($A6899['fbc']) {
goto b30fc;
}
goto d2883;
a8ce5:
Ce193:
goto ab9af;
C58da:
$Ede1c['st'] = $A6899['st'];
goto de075;
ebe7a:
f0a3a:
goto b1dcd;
F0a87:
goto F1b03;
goto e2252;
e7feb:
f0e7c:
goto Ff95d;
b65c6:
C4065:
goto F693e;
F428d:
$Ede1c = ['user_agent' => $A6899['user_agent'], 'client_ip_address' => $A6899['ip_address']];
goto F290f;
b2de0:
if (!$E10b1['snap_pixel_status']) {
goto bb0f9;
}
goto F5011;
b305b:
E4737:
goto A9e0a;
a172b:
}
public function apiOrderSend($b7898)
{
goto a8162;
Ae97b:
B3482:
goto Cdc83;
Fa732:
$A6899 = $F5c83['customer'];
goto F246c;
c4fc4:
$F5c83 = $this->googleAPI($e3680, $c1b93['dmt'], false);
goto E6534;
Daa26:
$this->Log('Order # ' . $b7898 . ' (dmt/apiOrderSend) API Post Results' . $C9a4b);
goto b4a41;
E6534:
$adb7e['ga4'] = '';
goto f8569;
E6f96:
d5f07:
goto ebe65;
D111e:
goto daa15;
goto C54b7;
eca32:
$adb7e['snapchat'] = 'Snapchat API [ Order: ' . $b7898 . ' ] Result: error order data posted';
goto Db2cf;
a5e2b:
de472:
goto De90a;
ab48e:
$adb7e['ga4'] = 'Google API [ Order: ' . $b7898 . ' ] Result: success order data posted';
goto E00ce;
B0eb5:
if ($E96eb && $c1b93['hit_tiktok'] == 0) {
goto fb550;
}
goto cfb22;
eaa0b:
$adb7e['error'] = false;
goto ab48e;
cfb22:
if (!$E96eb) {
goto E14fd;
}
goto ecaa0;
D30fd:
ff286:
goto e7793;
Ebb58:
$A9a5b = isset($D80ad->row['hit']) ? $D80ad->row['hit'] : 0;
goto ce653;
B7449:
if ($B535f->num_rows) {
goto fefad;
}
goto a2c34;
Be321:
$D80ad = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'");
goto E4ed2;
E2344:
if (!($F69fa == '0')) {
goto b7093;
}
goto Bd15a;
a6fa0:
A60a3:
goto ca20b;
A6f3a:
$fcc3a = $c1b93['snapchat_api'];
goto bb6f4;
d2169:
$adb7e['error'] = true;
goto c4f50;
Db2cf:
goto B616b;
goto d9843;
dea74:
$adb7e['message'] = 'Completed successfully.';
goto F5bc3;
ecaa0:
$d0d28['tiktok'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped'];
goto Aae2d;
Cd744:
$F5c83 = $this->gtm->snapchatAPI($E10b1, 'PURCHASE', $fcc3a, $A6899['snapchat_user_data'], $b1eff);
goto B9436;
f5b60:
$adb7e['error'] = true;
goto ecd1e;
a0029:
d18c5:
goto Daa26;
Fa749:
bbfe0:
goto c4fc4;
d9c23:
goto A60a3;
goto D0f07;
C2835:
fb550:
goto dc589;
ee4e4:
$beb8e[] = ['name' => 'purchase', 'params' => $c1b93['datalayer']['ga']];
goto dc81e;
edf04:
if (!$c8c64) {
goto de472;
}
goto ee789;
fae4b:
if ($E3bab && $c1b93['hit_ga'] == 0) {
goto bbfe0;
}
goto c8908;
aff9b:
daa15:
goto F0d0b;
e7793:
if ($b1488 && $c1b93['hit_snapchat'] == 0) {
goto b56d1;
}
goto Ea99c;
e35ee:
$adb7e['tiktok'] = 'TikTok API [ Order: ' . $b7898 . ' ] Result: success order data posted';
goto d856a;
Adcdb:
$E96eb = $this->checkapiStatus('tiktok');
goto ddcb3;
De90a:
goto ff286;
goto b2d76;
d2c0f:
C829e:
goto f0df3;
Dca6e:
c06e0:
goto f7d94;
Fa691:
$c8c64 = $this->checkapiStatus('fb');
goto b7ab9;
c2a50:
$e7eeb['error'] = true;
goto C6bc2;
ca20b:
$d0d28['ga4'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['ga4']];
goto edfd3;
A793a:
B616b:
goto a49c7;
Bd15a:
$this->Log('DMT Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order Status Id is 0 / Missing');
goto C2827;
Ca1ca:
$adb7e['pixel'] = 'Facebook API [ Order: ' . $b7898 . ' ] Result: success order data posted';
goto F1a93;
c4f50:
$adb7e['message'] = 'error in apiOrderSend()';
goto a70f2;
Cc28e:
$F69fa = $this->OrderStatusCheck($b7898);
goto E2344;
ecd1e:
$adb7e['ga4'] = 'Google API [ Order: ' . $b7898 . ' ] Result: failed';
goto d9c23;
B9436:
$adb7e['snapchat'] = '';
goto D2881;
e16f3:
$adb7e['tiktok'] = '';
goto C04fb;
a1bb1:
$Bb3d7['error'] = true;
goto c2a50;
A267f:
$A6899['snap_pixel_status'] = $E10b1['snap_pixel_status'];
goto da5dc;
a12d8:
$A6899['tiktok_code'] = $E10b1['tiktok_code'];
goto D00a4;
bb7fc:
$adb7e['error'] = true;
goto f8e46;
eb007:
E2f71:
goto B6984;
b42b9:
Ef8de:
goto fae4b;
b4f04:
$d0d28['snapchat'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped'];
goto cb3e0;
ddcb3:
$d0d28 = [];
goto B0eb5;
e8b1e:
E086f:
goto e24b9;
cbadb:
goto B3482;
goto C2835;
E2258:
b7093:
goto A1c24;
E00ce:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_ga = '1' WHERE order_id = '" . (int) $b7898 . "'");
goto a6fa0;
cff31:
$F5c83 = $this->gtm->facebookAPI($E10b1, 'Purchase', $Bc03e, $A6899['pixel_user_data'], $b1eff);
goto fb78d;
F0d0b:
$d0d28['pixel'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['pixel']];
goto D30fd;
dc81e:
$e3680 = ['client_id' => $c1b93['cid'], 'user_id' => $c1b93['uid'], 'events' => $beb8e];
goto B53c7;
c8908:
if (!$E3bab) {
goto E741c;
}
goto bd51b;
E540f:
$adb7e['error'] = true;
goto f6543;
C54b7:
D51ad:
goto e9acd;
A681b:
E741c:
goto B3f36;
Bbcd6:
return $adb7e;
goto E2258;
C2827:
$adb7e['message'] = 'Incomplete or Missing Order';
goto Bbcd6;
A5f77:
$c1b93 = [];
goto B7449;
F88b6:
$A6899['locale'] = $c1b93['ul'];
goto Efe9b;
B3f36:
goto Fc5fd;
goto Fa749;
d4f36:
D2a77:
goto Cc28e;
F1a93:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_fb = '1' WHERE order_id = '" . (int) $b7898 . "'");
goto aff9b;
a8162:
$E10b1 = $this->config();
goto a137e;
D0f07:
c4569:
goto eaa0b;
D4f8c:
goto D2a77;
goto C00be;
f0df3:
$adb7e['error'] = false;
goto e35ee;
C6bc2:
if (!($b7898 == 0)) {
goto E2f71;
}
goto e5c34;
b6b9f:
$b1eff = $c1b93['event_id'];
goto ee4e4;
d9843:
ab34a:
goto b2e19;
a86da:
$E3bab = $this->checkapiStatus('ga4');
goto Fa691;
e9acd:
$adb7e['error'] = false;
goto Ca1ca;
C790b:
$adb7e['error'] = true;
goto eca32;
da5dc:
$A6899['snap_pixel_id'] = $E10b1['snap_pixel_id'];
goto F4e51;
D00a4:
$A6899['ip_address'] = $c1b93['ip'];
goto Ca487;
Cbd19:
$adb7e['message'] = 'Complete or Partial Failer see details in log.';
goto Dca6e;
Eaa86:
Dac71:
goto E6f96;
Ea99c:
if (!$b1488) {
goto ca7c5;
}
goto b4f04;
b4a41:
if ($adb7e['error']) {
goto b4d2a;
}
goto dea74;
B53c7:
$e3680 = json_encode($e3680);
goto a86da;
d856a:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_tiktok = '1' WHERE order_id = '" . (int) $b7898 . "'");
goto e8b1e;
d4b7d:
$c1b93 = array_merge($c1b93, $F5c83);
goto a4218;
f9bac:
goto E086f;
goto d2c0f;
fb78d:
$adb7e['pixel'] = '';
goto a46cc;
a49c7:
$d0d28['snapchat'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['snapchat']];
goto b42b9;
f8372:
b4d2a:
goto Cbd19;
B6984:
$this->load->model('checkout/order');
goto C6601;
Cdc83:
if ($c8c64 && $c1b93['hit_fb'] == 0) {
goto c466f;
}
goto edf04;
cb3e0:
ca7c5:
goto f07d4;
Efe9b:
$A6899 = array_merge($A6899, $c1b93);
goto B620a;
c2a14:
foreach ($d0d28 as $Eed71 => $B3a1a) {
$C9a4b .= "\n" . strtoupper($Eed71) . " ----> " . $B3a1a['post_result'] . "\n" . $B3a1a['message'] . "\n";
D55e7:
}
goto a0029;
Ca487:
$A6899['user_agent'] = $c1b93['user_agent'];
goto F88b6;
D624b:
$adb7e['message'] = $E7aa3;
goto c0ee5;
f8569:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto c4569;
}
goto f5b60;
F246c:
$A6899['pixel'] = $E10b1['pixel'];
goto A267f;
ebe65:
$this->Log($E7aa3);
goto D624b;
a46cc:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto D51ad;
}
goto bb7fc;
a70f2:
$F19f1['error'] = true;
goto a1bb1;
a2c34:
$E7aa3 = 'dmt Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order not found';
goto Be321;
e5c34:
return 'Invalid Order Id';
goto eb007;
bd51b:
$d0d28['ga4'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped'];
goto A681b;
f8e46:
$adb7e['pixel'] = 'Facebook API [ Order: ' . $b7898 . ' ] Result: error order data posted';
goto D111e;
B620a:
$A6899 = $this->formatUserdata($A6899);
goto d4b7d;
C04fb:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto C829e;
}
goto E540f;
a137e:
$b7898 = (int) $b7898;
goto d2169;
A1c24:
$F5c83 = $this->prepareOrder($b7898);
goto Fa732;
C00be:
fefad:
goto e92cc;
ce653:
if (!($A9a5b == 1)) {
goto Dac71;
}
goto c4551;
e24b9:
$d0d28['tiktok'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['tiktok']];
goto Ae97b;
edfd3:
Fc5fd:
goto e3877;
bb6f4:
$b7028 = $c1b93['tiktok'];
goto b6b9f;
D2881:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto ab34a;
}
goto C790b;
b2d76:
c466f:
goto cff31;
b7ab9:
$b1488 = $this->checkapiStatus('snapchat');
goto Adcdb;
f7d94:
return $adb7e;
goto b312c;
f6543:
$adb7e['tiktok'] = 'TikTok API [ Order: ' . $b7898 . ' ] Result: error order data posted';
goto f9bac;
e92cc:
$c1b93 = $B535f->row;
goto d4f36;
F4e51:
$A6899['tiktok_status'] = $E10b1['tiktok_status'];
goto a12d8;
a4218:
$Bc03e = $c1b93['fb_data'];
goto A6f3a;
F2315:
b56d1:
goto Cd744;
f5a34:
$adb7e['snapchat'] = 'Snapchat API [ Order: ' . $b7898 . ' ] Result: success order data posted';
goto Ffe4e;
dc589:
$F5c83 = $this->gtm->tiktokAPI($E10b1, 'CompletePayment', $b7028, $A6899['tiktok_user_data'], $b1eff);
goto e16f3;
c4551:
$E7aa3 = 'dmt Debug Log: Measurement Protocol call [ Order: ' . $b7898 . ' ] Result: Order already hit';
goto Eaa86;
e3877:
$C9a4b = '';
goto c2a14;
E4ed2:
if (!$D80ad->num_rows) {
goto d5f07;
}
goto Ebb58;
Ffe4e:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_snapchat = '1' WHERE order_id = '" . (int) $b7898 . "'");
goto A793a;
Aae2d:
E14fd:
goto cbadb;
c0ee5:
return $adb7e;
goto D4f8c;
F5bc3:
goto c06e0;
goto f8372;
ee789:
$d0d28['pixel'] = ['post_result' => 'not sent', 'message' => 'Order was already posted, skipped'];
goto a5e2b;
f07d4:
goto Ef8de;
goto F2315;
b2e19:
$adb7e['error'] = false;
goto f5a34;
C6601:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "'");
goto A5f77;
b312c:
}
public function apiOrderRefund($b7898)
{
goto aa7ce;
bb795:
goto ce6a4;
goto Ab152;
be8b2:
$e3680 = json_encode($e3680);
goto a020f;
bc315:
$c1b93 = [];
goto f200b;
ad6e4:
if (!$E3bab) {
goto Aa7f2;
}
goto dd4ad;
f2a0f:
goto c9eb5;
goto C70c4;
F8f4d:
$adb7e['message'] = 'Error: The order do not have valid status code 0';
goto c937c;
Ee76d:
$c1b93 = array_merge($c1b93, $F5c83);
goto Cb9ff;
c95c2:
$c1b93['cid'] = $B535f->row['cid'];
goto f6a98;
Db96d:
$E10b1 = $this->config();
goto e5efe;
f200b:
$adb7e['error'] = true;
goto e0dbf;
B1ab7:
if ($B535f->num_rows) {
goto e43f2;
}
goto C03f8;
C70c4:
e43f2:
goto c95c2;
Df97c:
if (!(isset($E3bab) && $E3bab)) {
goto e9295;
}
goto be8b2;
Ea36b:
$E1ef9 = ['transaction_id' => $b7898, 'shipping' => number_format((float) $c1b93['ec_orderShipping'], 2, '.', ''), 'value' => number_format((float) $c1b93['ec_orderValue'], 2, '.', ''), 'tax' => number_format((float) $c1b93['ec_orderTax'], 2, '.', ''), 'coupon' => $c1b93['ec_orderCoupon'], 'currency' => $c1b93['currency_code'], 'items' => $C8667];
goto aac8e;
D59e9:
if (isset($F5c83['error']) && !$F5c83['error']) {
goto dabbf;
}
goto d75f1;
C03f8:
$this->Log('DMT Debug Log: Measurement Protocol Refund Order id: ' . $b7898 . ' Result: error order not found or not hit');
goto f779c;
a75a1:
if (!($F69fa == '0')) {
goto c5e68;
}
goto D25d3;
f779c:
$adb7e['message'] = 'Refund: error order not found or alrady refunded';
goto f084f;
D25d3:
$this->Log('DMT Debug Log: Measurement Protocol Refund Order id: ' . $b7898 . ' Result: Incomplete or Missing Order');
goto F8f4d;
ae505:
c9eb5:
goto Dbd79;
E6299:
return $adb7e;
goto E58fc;
e0dbf:
$adb7e['message'] = 'error in apiOrderRefund';
goto Db96d;
b4f6d:
e9295:
goto ad6e4;
Db1fd:
$d0d28['ga4'] = ['post_result' => isset($F5c83['message']) ? $F5c83['message'] : '', 'message' => $adb7e['ga4']];
goto f317b;
Dbd79:
$F69fa = $this->OrderStatusCheck($b7898);
goto a75a1;
d75f1:
$adb7e['error'] = true;
goto Bac1c;
Ab152:
dabbf:
goto e11a4;
cdbcc:
$adb7e = [];
goto D59e9;
c937c:
return $adb7e;
goto e9ff9;
Cc63f:
$adb7e['ga4'] = 'Google API [ Refund Order: ' . $b7898 . ' ] Result: refund data posted';
goto d60a1;
a6066:
$F5c83 = $this->getOrder($b7898);
goto Ee76d;
e9ff9:
c5e68:
goto a6066;
f317b:
Aa7f2:
goto E6299;
A77c1:
$c1b93['uid'] = $B535f->row['uid'];
goto ae505;
E2e2f:
ce6a4:
goto Db1fd;
c2bc7:
$e3680 = ['user_id' => $c1b93['uid'], 'client_id' => $c1b93['cid'], 'events' => $beb8e];
goto Df97c;
aac8e:
$beb8e[] = ['name' => 'refund', 'params' => $E1ef9];
goto c2bc7;
f084f:
return $adb7e;
goto f2a0f;
aa7ce:
$this->load->model('checkout/order');
goto c4609;
a020f:
$Bb3d7 = $this->googleAPI($e3680, false);
goto b4f6d;
c4609:
$B535f = $this->db->query("SELECT * FROM " . DB_PREFIX . "analytics_tracking WHERE order_id = '" . (int) $b7898 . "' AND hit = '1'");
goto bc315;
e11a4:
$adb7e['error'] = false;
goto Cc63f;
f6a98:
$c1b93['currency_code'] = $B535f->row['currency_code'];
goto B9f72;
C2fb9:
$c1b93['user_agent'] = $B535f->row['user_agent'];
goto A77c1;
e5efe:
$E3bab = $this->checkapiStatus('ga4');
goto B1ab7;
d60a1:
$this->db->query("UPDATE `" . DB_PREFIX . "analytics_tracking` SET hit_ga = '2', hit = '2' WHERE order_id = '" . (int) $b7898 . "'");
goto E2e2f;
dd4ad:
$F5c83 = $this->googleAPI($e3680, $E10b1, false);
goto cdbcc;
Bac1c:
$adb7e['ga4'] = 'Google API [ Refund Order: ' . $b7898 . ' ] Result: failed';
goto bb795;
B9f72:
$c1b93['ip'] = $B535f->row['ip'];
goto C2fb9;
Cb9ff:
$C8667 = isset($c1b93['ec_orderProducts']['ga4_items']) ? $c1b93['ec_orderProducts']['ga4_items'] : array();
goto Ea36b;
E58fc:
}
public function apiOrderChecker($C8981, $a34e6)
{
goto ae087;
Bd566:
curl_setopt($ae996, CURLOPT_POST, true);
goto F8026;
b4a55:
curl_close($ae996);
goto F8d84;
c3fe3:
curl_setopt($ae996, CURLOPT_URL, $C8981);
goto Cac3b;
fbdcc:
return $cc450;
goto Fb1a7;
Cac3b:
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true);
goto E2565;
F8d84:
$cc450 = isset($cc450) ? json_decode($cc450, true) : false;
goto fbdcc;
E2565:
curl_setopt($ae996, CURLOPT_CONNECTTIMEOUT, 30);
goto c3e04;
F8026:
curl_setopt($ae996, CURLOPT_POSTFIELDS, http_build_query($a34e6));
goto e3b55;
ae087:
$ae996 = curl_init();
goto c3fe3;
e3b55:
$cc450 = curl_exec($ae996);
goto b4a55;
c3e04:
curl_setopt($ae996, CURLOPT_TIMEOUT, 30);
goto Bd566;
Fb1a7:
}
public function GAContact()
{
return false;
}
public function googleAPI($c1b93, $E10b1 = false, $Cc580 = false)
{
goto de9ce;
B88a9:
$C155a = 'https://www.google-analytics.com/debug/mp/collect?measurement_id=';
goto a0aa9;
Ab1cf:
$a1b1b = true;
goto Eb6b9;
cee47:
F08ce:
goto e45de;
C78b7:
curl_setopt($ae996, CURLOPT_HEADER, false);
goto a3ecb;
d89d6:
$F5c83['message'] = '';
goto Df367;
fbe30:
$F5c83['message'] = $E7aa3;
goto Ef531;
b4b44:
$E7aa3 = 'GA4 API Response Code: ' . $b79a4 . "\n" . $E7aa3 . "\n" . $c1b93;
goto a96d7;
a2a82:
$F5c83['success'] = false;
goto d89d6;
aad59:
if (!($b79a4 == '204')) {
goto fefb6;
}
goto f514b;
Ee8e9:
$adb7e['code'] = $b79a4;
goto Ab1cf;
af21c:
$F5c83['error'] = false;
goto Bd8d9;
e45de:
$Cc580 = true;
goto c9509;
bbb7d:
curl_setopt($ae996, CURLOPT_SSL_VERIFYPEER, false);
goto E6406;
de9ce:
$F5c83['error'] = true;
goto a2a82;
ab301:
$D15ff = json_decode($c613c, true);
goto Ee8e9;
a0aa9:
$ae996 = curl_init('https://www.google-analytics.com/mp/collect?measurement_id=' . $E10b1['ga4_mid'] . '&api_secret=' . $E10b1['ga4_api']);
goto Db742;
E6406:
$c613c = curl_exec($ae996);
goto ce14c;
Fd34f:
d6c56:
goto aad59;
Dd364:
if ($Cc580) {
goto A5dfe;
}
goto ff778;
Eb6b9:
$E7aa3 = $c613c;
goto F3325;
da09a:
if ($E10b1) {
goto F95b5;
}
goto F1b87;
ce14c:
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE);
goto C59ca;
F1b87:
return $F5c83;
goto Ab50c;
Df367:
if (isset($c1b93)) {
goto eae5b;
}
goto d4531;
Ef531:
return $F5c83;
goto B3ed0;
a96d7:
fdb2f:
goto af21c;
c3171:
goto Fe29a;
goto cee47;
Db742:
curl_setopt($ae996, CURLOPT_POST, true);
goto ace6c;
Df193:
$Dbab3 = $this->checkapiStatus('ga4');
goto F21a9;
f514b:
$fe97e = true;
goto d1db1;
C59ca:
curl_close($ae996);
goto ab301;
C2795:
return $F5c83;
goto B64ad;
F21a9:
if ($Dbab3) {
goto Ca87f;
}
goto C0cd0;
D1e5f:
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) {
goto F08ce;
}
goto A153d;
C0cd0:
$this->Log('Google Measurement API Validation failed, make sure api is enabled and have valid access token');
goto C2795;
F3325:
if (!($b79a4 == '200')) {
goto d6c56;
}
goto f7819;
cdd27:
goto fdb2f;
goto E3e27;
f7819:
$fe97e = true;
goto Fd34f;
d4531:
return $F5c83;
goto Cc64d;
Bd8d9:
$F5c83['success'] = $fe97e;
goto fbe30;
a3ecb:
curl_setopt($ae996, CURLOPT_TIMEOUT, 30);
goto bbb7d;
E3e27:
A5dfe:
goto b4b44;
B64ad:
Ca87f:
goto B88a9;
A153d:
$Cc580 = false;
goto c3171;
d1db1:
fefb6:
goto Dd364;
c9509:
Fe29a:
goto Df193;
Dcdb2:
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true);
goto C78b7;
Ab50c:
F95b5:
goto D1e5f;
Cc64d:
eae5b:
goto da09a;
ace6c:
curl_setopt($ae996, CURLOPT_POSTFIELDS, $c1b93);
goto Dcdb2;
ff778:
$E7aa3 = 'GA4 API Response Code: ' . $b79a4;
goto cdd27;
B3ed0:
}
public function facebookAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false)
{
goto B9c36;
A58a8:
$fe97e = false;
goto B3f55;
f076b:
return $F5c83;
goto A2eff;
e5ebd:
curl_setopt($ae996, CURLOPT_HEADER, true);
goto b7b4d;
f45fd:
$fe97e = true;
goto f4b4a;
bdf4b:
b5a71:
goto f96b8;
Da1fc:
goto Ac511;
goto Dd320;
e23fa:
curl_setopt($ae996, CURLOPT_RETURNTRANSFER, true);
goto e5ebd;
c4c80:
if ($b1eff) {
goto af574;
}
goto Fb476;
D948e:
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE);
goto B1949;
Be86d:
$C0324 = 'website';
goto Bf63d;
B3f55:
C2c2a:
goto B85c7;
a292f:
return $F5c83;
goto f85f4;
a7a26:
$ae996 = curl_init('https://graph.facebook.com/' . $f1ede . '/' . $e62a4 . '/events');
goto C5445;
Eca86:
e70c8:
goto Ee668;
Caab7:
$e7d22['access_token'] = $eec57;
goto e467c;
f96b8:
if ($E10b1) {
goto e70c8;
}
goto C7042;
f4b4a:
goto C2c2a;
goto ed74f;
Dda5f:
$e7d22 = [];
goto Caab7;
e2aee:
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) {
goto Dfe88;
}
goto f37ad;
C26a5:
$D7e74 = $E10b1['fb_api'];
goto B2ad3;
C4869:
$E7aa3 = $D15ff;
goto Df9e8;
Ef84d:
$D15ff = json_decode($c613c, true);
goto C4869;
D36c3:
$Cc580 = true;
goto C2c7d;
d112f:
goto C0177;
goto F0ee8;
Df9e8:
if (!$Cc580) {
goto Ab52b;
}
goto A7918;
A7918:
$E7aa3 = $D15ff . "\n" . $f4e1b;
goto D4a61;
E729c:
af574:
goto Ee3a2;
Ec585:
F0a24:
goto ed63a;
e467c:
$e7d22['data'] = $f4e1b;
goto fdc81;
a46f6:
B607e:
goto bdf4b;
C2c7d:
C0177:
goto b6032;
B3db7:
$F5c83['error'] = false;
goto Dcff1;
ed74f:
Dcc6e:
goto A58a8;
b6032:
$Dbab3 = $this->checkapiStatus('fb');
goto c0cae;
Dcff1:
$F5c83['success'] = $fe97e;
goto Eb242;
f37ad:
$Cc580 = false;
goto d112f;
d05d2:
$F5c83['success'] = false;
goto edf56;
c2728:
return $F5c83;
goto ed757;
Eb242:
$F5c83['message'] = $E7aa3;
goto f076b;
ed63a:
$Ff273 = time();
goto C26a5;
f4ca5:
$e62a4 = $E10b1['pixelcode'];
goto bddc8;
C5445:
curl_setopt($ae996, CURLOPT_POST, true);
goto e6b62;
Ec210:
$this->Log('Facebook API Post Data Invalid: missing event_id');
goto A7605;
d8218:
$f4e1b = json_encode($Bc03e);
goto Dda5f;
Dd320:
B76d7:
goto c1e7c;
C7042:
$this->Log('Missing Tagmanger Config in API Call');
goto E741d;
B2ad3:
$eec57 = $E10b1['fb_token'];
goto Be86d;
fb12c:
$Bc03e[] = ['event_name' => $E1c57, 'event_id' => $b1eff, 'event_time' => $Ff273, 'action_source' => $C0324, 'event_source_url' => $f540b, 'user_data' => $A6899];
goto Da1fc;
fdc81:
if (!(isset($E10b1['fb_api_debug']) && $E10b1['fb_api_debug'])) {
goto b5a71;
}
goto b3468;
Db323:
f771f:
goto c4c80;
c0cae:
if ($Dbab3) {
goto A05e6;
}
goto e939d;
b7b4d:
curl_setopt($ae996, CURLOPT_TIMEOUT, 30);
goto f4f0e;
E741d:
return $F5c83;
goto Eca86;
f4f0e:
curl_setopt($ae996, CURLOPT_SSL_VERIFYPEER, false);
goto f20d0;
B9c36:
$F5c83['error'] = true;
goto d05d2;
f20d0:
$c613c = curl_exec($ae996);
goto D948e;
d5a95:
if ($b79a4 != '200') {
goto Dcc6e;
}
goto f45fd;
f1661:
Ac511:
goto d8218;
ed757:
ea786:
goto e2aee;
A7605:
return $F5c83;
goto Ec585;
e6b62:
curl_setopt($ae996, CURLOPT_POSTFIELDS, $e7d22);
goto e23fa;
A831c:
return $F5c83;
goto Db323;
B1949:
curl_close($ae996);
goto Ef84d;
D4a61:
Ab52b:
goto d5a95;
Cdb84:
if ($E10b1) {
goto ea786;
}
goto E0378;
c1e7c:
$Bc03e[] = ['event_name' => $E1c57, 'event_id' => $b1eff, 'event_time' => $Ff273, 'action_source' => $C0324, 'event_source_url' => $f540b, 'user_data' => $A6899, 'custom_data' => $c1b93];
goto f1661;
B85c7:
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3;
goto B3db7;
Ee3a2:
if (!empty($b1eff)) {
goto F0a24;
}
goto Ec210;
Fb476:
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false;
goto E729c;
E0378:
$this->Log('Facebook API: Missing dmt Config in API Call');
goto c2728;
bddc8:
if ($c1b93) {
goto B76d7;
}
goto fb12c;
Bf63d:
$f540b = $E10b1['url'];
goto f4ca5;
Ee668:
$f1ede = 'v20.0';
goto a7a26;
F0ee8:
Dfe88:
goto D36c3;
b3468:
if (!(isset($E10b1['pixel_test_code']) && !empty($E10b1['pixel_test_code']))) {
goto B607e;
}
goto a961d;
e939d:
$this->Log('Facebook API Validation failed, make sure api is enabled and have valid access token');
goto a292f;
a961d:
$e7d22['test_event_code'] = $E10b1['pixel_test_code'];
goto a46f6;
f85f4:
A05e6:
goto ad436;
ad436:
if (!$E10b1['bot']) {
goto f771f;
}
goto A831c;
edf56:
$F5c83['message'] = '';
goto Cdb84;
A2eff:
}
public function snapchatAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false)
{
goto cce87;
E598b:
if ($E10b1) {
goto b8a08;
}
goto efbf1;
fb27b:
$f4e1b = ['data' => $fcc3a];
goto b3662;
E4d07:
return $F5c83;
goto b4be2;
a191e:
F1133:
goto dc819;
Ec389:
$Cc580 = false;
goto F0861;
b31de:
$this->Log('Snapchat API Validation failed, make sure api is enabled and have valid access token');
goto fe484;
d21ef:
$F5c83['success'] = $fe97e;
goto e3253;
Eaa5c:
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) {
goto ceb4e;
}
goto Ec389;
F1fc3:
$C8981 = 'https://tr.snapchat.com/' . $f1ede . '/' . $e62a4 . '/events?access_token=' . $eec57;
goto b1005;
fe484:
return $F5c83;
goto f4a91;
af53b:
curl_close($ae996);
goto F4348;
b296d:
$E7aa3 = $c613c;
goto dd8fe;
e0307:
b8a08:
goto Eaa5c;
f13f3:
if ($b79a4 != '200') {
goto Dd756;
}
goto f13a3;
cce87:
$F5c83['error'] = true;
goto Cf831;
db60a:
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false;
goto Bf445;
F4c77:
$fe97e = false;
goto a9186;
C5e77:
$E7aa3 = $c613c . "\n" . $f4e1b;
goto bb8c5;
b1005:
if (!(isset($E10b1['snap_pixel_api_debug']) && $E10b1['snap_pixel_api_debug'])) {
goto F1133;
}
goto d89dc;
e3d2a:
c23be:
goto c0579;
f4a91:
deed3:
goto c08fd;
c12d1:
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3;
goto c0439;
c08fd:
if (!$E10b1['bot']) {
goto e4212;
}
goto E4d07;
ba8d3:
$F5c83['message'] = '';
goto E598b;
c0579:
$Dbab3 = $this->checkapiStatus('snapchat');
goto c1dfa;
De747:
return $F5c83;
goto b4e4f;
efbf1:
$this->Log('Missing dmt Config in API Call');
goto ccad9;
b98c8:
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE);
goto af53b;
fc41d:
return $F5c83;
goto e62aa;
A9581:
if ($c1b93) {
goto E6265;
}
goto a7267;
c1dfa:
if ($Dbab3) {
goto deed3;
}
goto b31de;
Cf831:
$F5c83['success'] = false;
goto ba8d3;
dd8fe:
if (!$Cc580) {
goto Bb336;
}
goto C5e77;
eefae:
goto de3ef;
goto d7b44;
c0439:
$F5c83['error'] = false;
goto d21ef;
C7c01:
E6265:
goto fb27b;
Ea754:
if ($b1eff) {
goto bf869;
}
goto db60a;
f13a3:
$fe97e = true;
goto eefae;
A3ff1:
$this->Log('Snapchat API Post Data Invalid: missing event_id');
goto De747;
F0861:
goto c23be;
goto A2e16;
ba537:
$c613c = curl_exec($ae996);
goto b98c8;
b4be2:
e4212:
goto Ea754;
d89dc:
$C8981 = 'https://tr.snapchat.com/' . $f1ede . '/' . $e62a4 . '/events/validate?access_token=' . $eec57;
goto a191e;
b0cb2:
B6696:
goto A9581;
a9186:
de3ef:
goto c12d1;
bb8c5:
Bb336:
goto f13f3;
A2e16:
ceb4e:
goto Aeccf;
a9ee9:
if (!empty($b1eff)) {
goto F7c0e;
}
goto A3ff1;
b3662:
$eec57 = $E10b1['snap_pixel_token'];
goto F510c;
Ceec5:
$ae996 = curl_init();
goto F4a5f;
ccad9:
return $F5c83;
goto e0307;
F4a5f:
curl_setopt_array($ae996, [CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => $f4e1b, CURLOPT_HTTPHEADER => ["Content-Type: application/json"]]);
goto ba537;
Bf445:
bf869:
goto a9ee9;
B8583:
$f1ede = 'v3';
goto F1fc3;
a7267:
$fcc3a[] = ['event_name' => $E1c57, 'event_time' => time(), 'event_source_url' => $E10b1['url'], 'event_id' => $b1eff, 'action_source' => 'WEB', 'user_data' => $A6899];
goto C7c01;
dc819:
$f4e1b = json_encode($f4e1b);
goto Ceec5;
F510c:
$e62a4 = $E10b1['snap_pixel_id'];
goto B8583;
Aeccf:
$Cc580 = true;
goto e3d2a;
e3253:
$F5c83['message'] = $E7aa3;
goto fc41d;
c57a0:
$fcc3a[] = ['event_name' => $E1c57, 'event_time' => time(), 'event_source_url' => $E10b1['url'], 'event_id' => $b1eff, 'action_source' => 'WEB', 'user_data' => $A6899, 'custom_data' => $c1b93];
goto b0cb2;
b4e4f:
F7c0e:
goto Dea11;
F4348:
$D15ff = json_decode($c613c, true);
goto b296d;
Dea11:
if (!$c1b93) {
goto B6696;
}
goto c57a0;
d7b44:
Dd756:
goto F4c77;
e62aa:
}
public function tiktokAPI($E10b1, $E1c57, $c1b93, $A6899, $b1eff = false)
{
goto cbd5a;
A83f6:
curl_setopt_array($ae996, [CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => $f4e1b, CURLOPT_HTTPHEADER => ["Access-Token: " . $E10b1['tiktok_token'], "Content-Type: application/json"]]);
goto d24a4;
Ac30a:
if (!$A6d1a) {
goto dedc6;
}
goto D232d;
Fc0ec:
$ae996 = curl_init();
goto A83f6;
F78e0:
$E7aa3 = $c613c . "\n" . $f4e1b;
goto Fdcb7;
B9083:
$E7aa3 = $c613c;
goto D222a;
c2e5f:
$C8981 = 'https://business-api.tiktok.com/open_api/' . $f1ede . '/event/track/';
goto Fc0ec;
cd6ff:
$fe97e = true;
goto efaeb;
F26d3:
dedc6:
goto ba9a6;
Fdcb7:
d3a64:
goto e1409;
f5e5c:
$this->Log('Tiktok API Validation failed, make sure api is enabled and have valid access token');
goto eb252;
D222a:
if (!$Cc580) {
goto d3a64;
}
goto F78e0;
be7ad:
$Cc580 = false;
goto Cf1b5;
bf425:
a742b:
goto d358d;
E2eff:
if (!empty($b1eff)) {
goto a742b;
}
goto a363e;
aab30:
if ($E10b1) {
goto b21c2;
}
goto a00ab;
E9d07:
$A6d1a = $E10b1['tiktok_api_testcode'];
goto dc194;
a00ab:
$this->Log('Missing dmt Config in API Call');
goto b7d88;
Eca0d:
$fe97e = false;
goto C9fd3;
e6780:
$f4e1b = ['event_source' => 'web', 'event_source_id' => $E10b1['tiktok_code'], 'data' => $e1ab3];
goto Ac30a;
cbd5a:
$A6d1a = false;
goto Be8cf;
Be8cf:
$F5c83['error'] = true;
goto bb23f;
b74f8:
$F5c83['success'] = $fe97e;
goto C812f;
d358d:
if (!$c1b93) {
goto C4a8a;
}
goto b4bf0;
c094f:
b21c2:
goto b4d0c;
F0e77:
C428d:
goto E2eff;
b4d0c:
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) {
goto Cdb4a;
}
goto be7ad;
b046a:
$F5c83['error'] = false;
goto b74f8;
Fe33e:
if ($b1eff) {
goto C428d;
}
goto d2474;
d24a4:
$c613c = curl_exec($ae996);
goto b4dcc;
Eaceb:
if (!(isset($E10b1['tiktok_api_testcode']) && !empty($E10b1['tiktok_api_testcode']))) {
goto B0f03;
}
goto E9d07;
Cf1b5:
goto abf8e;
goto Cba75;
f8196:
if (!$E10b1['bot']) {
goto Acd4e;
}
goto Db6f6;
c20e3:
C4a8a:
goto B2987;
dc194:
B0f03:
goto d00f2;
d2474:
$b1eff = isset($E10b1['event_id']) ? $E10b1['event_id'] : false;
goto F0e77;
bb23f:
$F5c83['success'] = false;
goto B055a;
B055a:
$F5c83['message'] = '';
goto aab30;
b7d88:
return $F5c83;
goto c094f;
ba9a6:
$f1ede = 'v1.3';
goto Bb964;
Bb964:
$f4e1b = json_encode($f4e1b);
goto c2e5f;
Cb4c9:
bada3:
goto f8196;
Db6f6:
return $F5c83;
goto Ea567;
b4dcc:
$b79a4 = curl_getinfo($ae996, CURLINFO_HTTP_CODE);
goto B4de1;
B4de1:
curl_close($ae996);
goto aa7b0;
C812f:
$F5c83['message'] = $E7aa3;
goto a85f8;
b384b:
if ($Dbab3) {
goto bada3;
}
goto f5e5c;
D232d:
$f4e1b['test_event_code'] = $A6d1a;
goto F26d3;
E49d7:
Fcb42:
goto Eca0d;
Df98a:
return $F5c83;
goto bf425;
cb217:
abf8e:
goto B62d1;
f8735:
$E7aa3 = 'Response Code: ' . $b79a4 . ' Result: ' . $E7aa3;
goto b046a;
a85f8:
return $F5c83;
goto F42ae;
Ea567:
Acd4e:
goto A3b04;
f5472:
$e1ab3[] = ['event' => $E1c57, 'event_time' => time(), 'event_id' => $b1eff, 'user' => $A6899, 'page' => ['url' => $E10b1['url'], 'referrer' => $E10b1['referrer']]];
goto b1cec;
aa7b0:
$D15ff = json_decode($c613c, true);
goto B9083;
C9fd3:
b490c:
goto f8735;
eb252:
return $F5c83;
goto Cb4c9;
A3b04:
if (!(isset($E10b1['tiktok_api_debug']) && $E10b1['tiktok_api_debug'])) {
goto ec6a0;
}
goto Eaceb;
b1cec:
Cc10d:
goto e6780;
Cba75:
Cdb4a:
goto ffadd;
d00f2:
ec6a0:
goto Fe33e;
B62d1:
$Dbab3 = $this->checkapiStatus('tiktok');
goto b384b;
B2987:
if ($c1b93) {
goto Cc10d;
}
goto f5472;
a363e:
$this->Log('Tiktok API Post Data Invalid: missing event_id');
goto Df98a;
b4bf0:
$e1ab3[] = ['event' => $E1c57, 'event_time' => time(), 'event_id' => $b1eff, 'user' => $A6899, 'properties' => $c1b93, 'page' => ['url' => $E10b1['url'], 'referrer' => $E10b1['referrer']]];
goto c20e3;
e1409:
if ($b79a4 != '200') {
goto Fcb42;
}
goto cd6ff;
ffadd:
$Cc580 = true;
goto cb217;
efaeb:
goto b490c;
goto E49d7;
F42ae:
}
public function sendinbluePost($c1b93, $e9a89 = 'identify')
{
goto C3625;
f6b7c:
Ef2cd:
goto fad65;
a6570:
Da5f8:
goto F02b9;
E86a4:
curl_close($ae996);
goto D7d5a;
A5981:
goto D53e3;
goto f6b7c;
cc939:
$this->Log('Sendinblue CURL response: ' . $c613c);
goto E64e0;
F0f58:
if (!$Cc580) {
goto A6383;
}
goto A2633;
F02b9:
$C8981 = "https://in-automate.sendinblue.com/api/v2/{$e9a89}";
goto d43d5;
A2633:
$this->Log('Sendinblue CURL error: ' . $ee64d);
goto cc939;
C3625:
$E10b1 = $this->config();
goto A3e73;
b44f0:
D53e3:
goto F564a;
E9393:
$Cc580 = false;
goto A5981;
A3e73:
if (isset($E10b1['debug_api']) && $E10b1['debug_api']) {
goto Ef2cd;
}
goto E9393;
cdf53:
if (!$Cc580) {
goto bf1c4;
}
goto d7c20;
E7e9a:
return false;
goto a6570;
A8e97:
curl_setopt_array($ae996, array(CURLOPT_HTTPHEADER => $da57d, CURLOPT_URL => $C8981, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode($c1b93)));
goto b4c23;
d43d5:
$da57d = ['Content-Type: application/json', 'ma-key: ' . $E10b1['sendinblue_code']];
goto a2534;
d7c20:
$this->Log('Sendinblue error Code: Empty body api call cancelled');
goto Bcd8b;
fad65:
$Cc580 = true;
goto b44f0;
E64e0:
A6383:
goto f24c4;
b4c23:
$c613c = curl_exec($ae996);
goto B73ef;
Bcd8b:
bf1c4:
goto E7e9a;
B73ef:
$ee64d = curl_error($ae996);
goto E86a4;
F564a:
if (isset($c1b93)) {
goto Da5f8;
}
goto cdf53;
D7d5a:
if (!$ee64d) {
goto fea43;
}
goto F0f58;
f24c4:
fea43:
goto Ff9ea;
a2534:
$ae996 = curl_init();
goto A8e97;
Ff9ea:
}
public function Log($dcc88)
{
goto e3a8c;
e37c7:
if (!(!isset($e8286) || empty($e8286) || $df238 >= $e8286)) {
goto Cc692;
}
goto dfa6e;
Ecec4:
$this->write($dcc88);
goto B1e68;
b332d:
$this->getSettings($cc4ac, $Eed71, $B3a1a, false);
goto d00a1;
cf53b:
$cd5c8 = DIR_LOGS . "dmt.log";
goto e37c7;
B1e68:
F7ee1:
goto e9036;
F355c:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto F7ee1;
}
goto Ecec4;
e3a8c:
$Eed71 = 'tmcrom_date';
goto Fe198;
a1f27:
Cc692:
goto F3657;
d9511:
$e8286 = $this->config->get($Eed71);
goto cf53b;
f6930:
Fc49d:
goto Bb367;
dfa6e:
if (!file_exists($cd5c8)) {
goto d9572;
}
goto Ab3db;
Fe198:
$cc4ac = 'tmcron';
goto f13dc;
Bb367:
d9572:
goto a1f27;
F3657:
$E10b1 = $this->settings;
goto F355c;
d00a1:
if (!($efcf1 > 2400000)) {
goto Fc49d;
}
goto f065e;
f13dc:
$df238 = date("d/m/Y");
goto c316d;
c316d:
$B3a1a = date('d/m/Y', strtotime('+1 days'));
goto d9511;
Ab3db:
$efcf1 = filesize($cd5c8);
goto b332d;
f065e:
unlink($cd5c8);
goto f6930;
e9036:
}
public function tmerror($dcc88)
{
goto Bf321;
Ed908:
$B3a1a = date('d/m/Y', strtotime('+1 days'));
goto F1e60;
Bae3e:
e9ee7:
goto a72d5;
cc459:
D2479:
goto Af0f8;
Af0f8:
$E10b1 = $this->settings;
goto bafbb;
F1e60:
$e8286 = $this->config->get($Eed71);
goto ffee4;
e7c14:
if (!($efcf1 > 2400000)) {
goto e9ee7;
}
goto Edf7f;
Dbadc:
if (!file_exists($cd5c8)) {
goto dc477;
}
goto E7f8c;
ff719:
$this->write($dcc88);
goto F629d;
ffee4:
$cd5c8 = DIR_LOGS . "dmt.log";
goto e2cd4;
Ff6ff:
$df238 = date("d/m/Y");
goto Ed908;
bafbb:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto a4103;
}
goto ff719;
B368d:
$cc4ac = 'tmcron';
goto Ff6ff;
Edf7f:
unlink($cd5c8);
goto Bae3e;
F629d:
a4103:
goto fcfa4;
Bf321:
$Eed71 = 'tmcrom_date';
goto B368d;
e2cd4:
if (!(!isset($e8286) || empty($e8286) || $df238 >= $e8286)) {
goto D2479;
}
goto Dbadc;
F69f5:
$this->getSettings($cc4ac, $Eed71, $B3a1a, false);
goto e7c14;
E7f8c:
$efcf1 = filesize($cd5c8);
goto F69f5;
a72d5:
dc477:
goto cc459;
fcfa4:
}
public function write($E7aa3)
{
$Cde14 = DIR_LOGS . 'dmt.log';
file_put_contents($Cde14, date('Y-m-d H:i:s') . ' - ' . print_r($E7aa3, true) . "\n" . 'URL: ' . (isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '') . "\n" . 'REFFER: ' . (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '') . "\n" . '================================= \\*\\*\\*\\*\\*\\*\\*\\*|*/*/*/*/*/*/*/*/ =================================' . "\n", FILE_APPEND);
}
public function tmprint($c1b93 = array(), $d1129 = true)
{
goto e8943;
b21cf:
if (!$d1129) {
goto A71f7;
}
goto E778c;
C57aa:
print_r($c1b93);
goto d5024;
e62b7:
$d1129 = true;
goto c0038;
c0038:
eb558:
goto b21cf;
e8943:
echo '<pre>';
goto C57aa;
E778c:
die;
goto D36d7;
d5024:
echo '</pre>';
goto E5532;
E5532:
if (!isset($this->request->get['killme'])) {
goto eb558;
}
goto e62b7;
D36d7:
A71f7:
goto A5636;
A5636:
}
public function Print($c1b93 = array(), $d1129 = true)
{
goto Fa5e4;
F0b06:
if (!$d1129) {
goto fe34e;
}
goto f6c71;
ebbe9:
fe34e:
goto a34e3;
Da828:
$d1129 = true;
goto B4895;
b889b:
print_r($c1b93);
goto e8f6b;
B4895:
e5440:
goto F0b06;
E43a6:
if (!isset($this->request->get['killme'])) {
goto e5440;
}
goto Da828;
Fa5e4:
echo '<pre>';
goto b889b;
f6c71:
die;
goto ebbe9;
e8f6b:
echo '</pre>';
goto E43a6;
a34e3:
}
private function checkapiStatus($Df775)
{
goto E6d64;
B7093:
return false;
goto Fd657;
Fd657:
C979a:
goto f8470;
b1a76:
A065d:
goto Fe607;
E0d6e:
return true;
goto a4bf8;
f8470:
switch ($Df775) {
case "ga4":
goto b6804;
e9b1b:
Aa8de:
goto b46f5;
F46bf:
$this->Log('DMT Debug Log: API Check failed for GA4, error GA4 API secret missing');
goto A1327;
Cd4fc:
return false;
goto e9b1b;
A1327:
A39e3:
goto Cd4fc;
b46f5:
goto C234f;
goto c5d6c;
d5a75:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto A39e3;
}
goto F46bf;
b6804:
if (!(!isset($E10b1['ga4_mid']) && empty($E10b1['ga4_api']))) {
goto Aa8de;
}
goto d5a75;
c5d6c:
case "fb":
goto Aab6a;
d33c8:
f9633:
goto ffe51;
a3aa1:
return false;
goto d33c8;
A7431:
B3069:
goto D3c78;
Aab6a:
if ($E10b1['fb_api']) {
goto f9633;
}
goto a3aa1;
D3c78:
goto C234f;
goto Dea9e;
ffe51:
if (!empty($E10b1['fb_token'])) {
goto B3069;
}
goto dd001;
dd001:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto F7e29;
}
goto e8902;
fb269:
F7e29:
goto A871e;
A871e:
return false;
goto A7431;
e8902:
$this->Log('DMT Debug Log: API Check failed for Facebook, error API secret missing');
goto fb269;
Dea9e:
case "snapchat":
goto d0ec8;
F36cf:
return false;
goto d3077;
b5e7b:
$this->Log('DMT Debug Log: API Check failed for Snap Chat, error API token missing');
goto A4f0d;
A4f0d:
cca95:
goto B103d;
C9af5:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto cca95;
}
goto b5e7b;
d7c46:
f5e83:
goto adc3a;
f2807:
if (!empty($E10b1['snap_pixel_token'])) {
goto f5e83;
}
goto C9af5;
d0ec8:
if ($E10b1['snap_pixel_api']) {
goto d81f6;
}
goto F36cf;
adc3a:
goto C234f;
goto efd15;
B103d:
return false;
goto d7c46;
d3077:
d81f6:
goto f2807;
efd15:
case "tiktok":
goto ce306;
aa90b:
return false;
goto D6c1a;
c67eb:
c1c02:
goto B921e;
C5b72:
if (!(isset($E10b1['debug']) && $E10b1['debug'])) {
goto A3f82;
}
goto Ce593;
Ce593:
$this->Log('DMT Debug Log: API Check failed for TikTok, error API token missing');
goto a69f9;
ce306:
if ($E10b1['tiktok_api']) {
goto c1c02;
}
goto ecef0;
D6c1a:
D9916:
goto b33d9;
ecef0:
return false;
goto c67eb;
B921e:
if (!empty($E10b1['tiktok_token'])) {
goto D9916;
}
goto C5b72;
a69f9:
A3f82:
goto aa90b;
b33d9:
goto C234f;
goto Ee955;
Ee955:
}
goto b1a76;
E6d64:
$E10b1 = $this->config();
goto D658b;
D658b:
if (isset($Df775)) {
goto C979a;
}
goto B7093;
Fe607:
C234f:
goto E0d6e;
a4bf8:
}
public function check_array($E296c)
{
return is_array($E296c) || $E296c instanceof \Countable || $E296c instanceof \SimpleXMLElement || $E296c instanceof \ResourceBundle;
}
public function escapeJsonString($B3a1a)
{
goto B2787;
e911a:
return $F5c83;
goto c51b5;
B2787:
$F64ac = ["\\", "/", "\"", "\n", "\r", "\t", "\x08", "\f"];
goto Aa232;
dbd37:
$F5c83 = str_replace($F64ac, $ba810, $B3a1a);
goto e911a;
Aa232:
$ba810 = ["\\\\", "\\/", "\\\"", "\\n", "\\r", "\\t", "\\f", "\\b"];
goto dbd37;
c51b5:
}
public function getAJAXtoken()
{
goto B1c34;
ccd00:
return $bc7c8;
goto fcaea;
b8e5d:
$bc7c8 = $this->getHash($bc7c8);
goto ccd00;
B1c34:
$bc7c8 = $this->getNewURL();
goto b8e5d;
fcaea:
}
public function getNewURL()
{
goto aaffc;
af72b:
A90f8:
goto F2ae3;
b21b7:
if (!$fbc42) {
goto D7b62;
}
goto C914d;
Ad838:
$D0b9c = explode(".", $a1316);
goto E6fca;
F2ae3:
goto Aa0c7;
goto Ea7b6;
E6fca:
$fbc42 = $this->check_array($D0b9c);
goto b21b7;
Ff750:
if ($d6674 == 4) {
goto b1183;
}
goto Bf17d;
F3602:
if (strtolower($D0b9c[0]) != 'www') {
goto c8967;
}
goto Db0db;
ea2ef:
$C8981 = $D0b9c[1] . '.' . $D0b9c[2] . '.' . $D0b9c[3];
goto A57db;
C4251:
$C8981 = $D0b9c[0] . '.' . $D0b9c[1];
goto A97b7;
Bf9f4:
D7b62:
goto fa8f7;
fa8f7:
return $C8981;
goto B7a5f;
Ce519:
Cd15a:
goto F3602;
Da62c:
goto A90f8;
goto b295a;
Db0db:
$C8981 = $D0b9c[1] . '.' . $D0b9c[2];
goto Da62c;
b457b:
$C8981 = $D0b9c[0] . '.' . $D0b9c[1] . '.' . $D0b9c[2];
goto af72b;
Ea7b6:
b1183:
goto ea2ef;
dd5f0:
Ade08:
goto C4251;
A57db:
Aa0c7:
goto Bf9f4;
aaffc:
$C8981 = false;
goto abc6b;
Bf17d:
goto Aa0c7;
goto dd5f0;
abc6b:
$a1316 = $this->request->server['SERVER_NAME'];
goto Ad838;
C914d:
$d6674 = count($D0b9c);
goto e4ce7;
E4be2:
if ($d6674 == 3) {
goto Cd15a;
}
goto Ff750;
A97b7:
goto Aa0c7;
goto Ce519;
e4ce7:
if ($d6674 == 2) {
goto Ade08;
}
goto E4be2;
b295a:
c8967:
goto b457b;
B7a5f:
}
public function cleanStr($c1b93)
{
goto dc16f;
D3eb8:
return $c1b93;
goto Fc8ea;
Dca81:
$c1b93 = htmlspecialchars($c1b93, ENT_QUOTES, 'UTF-8');
goto Ddac3;
Ddac3:
$c1b93 = str_replace("&", "", $c1b93);
goto e3d24;
D7f1c:
$c1b93 = str_replace("quot;", "", $c1b93);
goto D6c2b;
e258a:
$c1b93 = mb_substr(trim(strip_tags(html_entity_decode($c1b93, ENT_QUOTES, 'UTF-8'))), 0, 50);
goto Dca81;
dc16f:
if (!empty($c1b93)) {
goto a0710;
}
goto dcecb;
De045:
$c1b93 = str_replace("'", "", $c1b93);
goto D45fa;
dcecb:
return $c1b93;
goto a8413;
c7ee7:
$c1b93 = str_replace("&", "", $c1b93);
goto e258a;
D45fa:
$c1b93 = str_replace("'", "", $c1b93);
goto D7f1c;
C98e6:
$c1b93 = str_replace("&", "&", $c1b93);
goto c7ee7;
D6c2b:
$c1b93 = str_replace("&", "&", $c1b93);
goto C98e6;
a8413:
a0710:
goto E525e;
e3d24:
$c1b93 = str_replace(">", ">", $c1b93);
goto Ff7d1;
Ff7d1:
$c1b93 = str_replace(" ", " ", $c1b93);
goto D3eb8;
E525e:
$c1b93 = str_replace('"', "", $c1b93);
goto De045;
Fc8ea:
}
private function sanitize_string($fb83e)
{
goto d5dc0;
C5b1c:
$fb83e = preg_replace('/[\\n\\t\\r]/', ' ', $fb83e);
goto b3c67;
f9981:
C8dc5:
goto db4dd;
f1644:
$fb83e = trim($fb83e);
goto c42af;
c42af:
return $fb83e;
goto B4731;
E0d79:
if (!($fb83e !== mb_convert_encoding(mb_convert_encoding($fb83e, 'UTF-32', 'UTF-8'), 'UTF-8', 'UTF-32'))) {
goto C8dc5;
}
goto a16d8;
a8a5a:
$fb83e = html_entity_decode($fb83e, ENT_NOQUOTES, 'UTF-8');
goto Cb0b0;
b3c67:
$fb83e = preg_replace('/( ){2,}/', '$1', $fb83e);
goto f1644;
d5dc0:
$f7b12 = array('&', '&');
goto D1ed8;
db4dd:
$fb83e = htmlentities($fb83e, ENT_NOQUOTES, 'UTF-8');
goto fa6d6;
Cb0b0:
$fb83e = preg_replace(array('`[^a-z0-9]`i', '`[-]+`'), ' ', $fb83e);
goto C5b1c;
a16d8:
$fb83e = mb_convert_encoding($fb83e, 'UTF-8', mb_detect_encoding($fb83e));
goto f9981;
fa6d6:
$fb83e = preg_replace('`&([a-z]{1,2})(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i', '\\1', $fb83e);
goto a8a5a;
D1ed8:
$fb83e = str_replace($f7b12, 'E', $fb83e);
goto E0d79;
B4731:
}
private function getEmailHash($c1b93)
{
goto E54f2;
E54f2:
if (!(!isset($c1b93) || empty($c1b93))) {
goto cfa0c;
}
goto Eb08a;
d2a37:
if (!$this->isHashed($c1b93)) {
goto d5228;
}
goto e65fa;
aa17b:
d5228:
goto f6d9b;
Eb08a:
return '';
goto E7033;
f6d9b:
return hash('sha256', $c1b93, false);
goto a695f;
E7033:
cfa0c:
goto A8d03;
e65fa:
return $c1b93;
goto aa17b;
A8d03:
$c1b93 = trim($c1b93);
goto bea19;
bea19:
$c1b93 = strtolower($c1b93);
goto d2a37;
a695f:
}
private function getPhoneHash($c1b93, $Dd5bb = false)
{
goto Ce440;
ddbf9:
return '';
goto b602a;
f466b:
f0ae3:
goto f0d27;
ad3a7:
if (!$this->isHashed($c1b93)) {
goto f0ae3;
}
goto Cb0c9;
Feca6:
$c1b93 = trim($c1b93);
goto Ff448;
Ff448:
$c1b93 = strtolower($c1b93);
goto ad3a7;
b602a:
A9f80:
goto Feca6;
Cb0c9:
return $c1b93;
goto f466b;
f0d27:
return hash('sha256', $c1b93, false);
goto C87d4;
Ce440:
if (!(!isset($c1b93) || empty($c1b93))) {
goto A9f80;
}
goto ddbf9;
C87d4:
}
public function getHash($c1b93)
{
goto D7bd9;
D7fc5:
return $c1b93;
goto F8b72;
f0824:
d3656:
goto F27c7;
Ab83c:
$c1b93 = strtolower($c1b93);
goto a4b91;
Aabed:
return '';
goto f0824;
D7bd9:
if (!(!isset($c1b93) || empty($c1b93))) {
goto d3656;
}
goto Aabed;
a4b91:
if (!$this->isHashed($c1b93)) {
goto E3410;
}
goto D7fc5;
F27c7:
$c1b93 = trim($c1b93);
goto Ab83c;
F8b72:
E3410:
goto Cf9e4;
Cf9e4:
return hash('sha256', $c1b93, false);
goto Cb62f;
Cb62f:
}
public function getEncrypt($c1b93, $Eed71 = false)
{
goto F2f37;
Abccc:
try {
goto e34d1;
Fbd7c:
$C4afe = openssl_cipher_iv_length($d773f);
goto D4c3c;
C8526:
$Bfdc2 = '1234567891011121';
goto bd8eb;
e34d1:
$d773f = "AES-128-CTR";
goto Fbd7c;
c44cd:
return $Fe96f;
goto Ca83b;
D4c3c:
$be8b6 = 0;
goto C8526;
bd8eb:
$Fe96f = openssl_encrypt($c1b93, $d773f, $c22ee, $be8b6, $Bfdc2);
goto c44cd;
Ca83b:
} catch (Exception $Dd30f) {
$this->Log('OpenSSL encrypt failer');
}
goto daa78;
cc0ef:
cdbe2:
goto Abccc;
b2c6f:
Ddc2a:
goto Be256;
dcebb:
if ($Eed71) {
goto Ddc2a;
}
goto d2747;
F2f37:
if (isset($c1b93)) {
goto d4e11;
}
goto a26fa;
a26fa:
return false;
goto E2043;
E2043:
d4e11:
goto dcebb;
daa78:
return false;
goto F6d21;
Aee84:
goto cdbe2;
goto b2c6f;
d2747:
$c22ee = "GTMEXTENSIONBYAITS";
goto Aee84;
Be256:
$c22ee = $Eed71;
goto cc0ef;
F6d21:
}
public function getDecrypt($c1b93, $Eed71 = false)
{
goto eb123;
eb123:
if (isset($c1b93)) {
goto D4e80;
}
goto bfdee;
C5b30:
goto fb08c;
goto F3f49;
B8a8d:
return false;
goto e49d4;
Fafa2:
try {
goto facf2;
facf2:
$d773f = "AES-128-CTR";
goto F7540;
Cda44:
$Fe96f = openssl_decrypt($c1b93, $d773f, $c22ee, $be8b6, $Bfdc2);
goto b4340;
b4340:
return $Fe96f;
goto Cdd40;
c0d36:
$Bfdc2 = '1234567891011121';
goto Cda44;
Dec9b:
$be8b6 = 0;
goto c0d36;
F7540:
$C4afe = openssl_cipher_iv_length($d773f);
goto Dec9b;
Cdd40:
} catch (Exception $Dd30f) {
$this->Log('OpenSSL decrypt failer');
}
goto B8a8d;
a809c:
if ($Eed71) {
goto c77d7;
}
goto C7375;
F4169:
D4e80:
goto a809c;
ffdc8:
$c22ee = $Eed71;
goto E17a0;
F3f49:
c77d7:
goto ffdc8;
C7375:
$c22ee = "GTMEXTENSIONBYAITS";
goto C5b30;
E17a0:
fb08c:
goto Fafa2;
bfdee:
return false;
goto F4169;
e49d4:
}
private function isHashed($c1b93)
{
return preg_match('/^[A-Fa-f0-9]{64}$/', $c1b93) || preg_match('/^[a-f0-9]{32}$/', $c1b93);
}
public function getIpAddress()
{
goto C6c77;
d9b69:
C72c4:
goto Ab6e7;
Ab6e7:
return $C8894;
goto Dc282;
Ff758:
if ($this->strFind($Dd256, ',')) {
goto Fd566;
}
goto dd658;
C884d:
ca6bb:
goto b605d;
e27ec:
goto C72c4;
goto a6856;
C6c77:
$C8894 = '0.0.0.0';
goto a8d0c;
b605d:
$C8894 = $_SERVER['HTTP_CF_CONNECTING_IP'];
goto e27ec;
Da215:
goto C72c4;
goto E941e;
b8cff:
goto C72c4;
goto a5bc1;
ca9cc:
$C8894 = array_pop($Dd256);
goto fff8e;
be48d:
$C8894 = $_SERVER['REMOTE_ADDR'];
goto d9b69;
cd4c0:
goto Cb163;
goto d3b4c;
c5138:
if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
goto F1a2f;
}
goto febd2;
A89c1:
$Dd256 = explode(",", $Dd256);
goto ca9cc;
d3b4c:
Fd566:
goto A89c1;
d51dd:
goto C72c4;
goto Bed63;
a5bc1:
E06c4:
goto B06ce;
D35c4:
if (isset($_SERVER['REMOTE_ADDR']) && !empty($_SERVER['REMOTE_ADDR'])) {
goto D8c64;
}
goto d51dd;
dd658:
$C8894 = $Dd256;
goto cd4c0;
febd2:
if (isset($_SERVER['HTTP_X_FORWARDED']) && !empty($_SERVER['HTTP_X_FORWARDED'])) {
goto eb768;
}
goto d8f53;
a8d0c:
if (isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP'])) {
goto E3f33;
}
goto B0503;
B0503:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']) && !empty($_SERVER['HTTP_CF_CONNECTING_IP'])) {
goto ca6bb;
}
goto c5138;
e6417:
goto C72c4;
goto c9abf;
Aea34:
$C8894 = $_SERVER['HTTP_FORWARDED_FOR'];
goto b8cff;
ce4eb:
$C8894 = $_SERVER['HTTP_CLIENT_IP'];
goto f9ed2;
c538e:
goto C72c4;
goto d40fa;
f9ed2:
goto C72c4;
goto C884d;
D73ee:
if (isset($_SERVER['HTTP_FORWARDED']) && !empty($_SERVER['HTTP_FORWARDED'])) {
goto E06c4;
}
goto D35c4;
Bed63:
E3f33:
goto ce4eb;
B06ce:
$C8894 = $_SERVER['HTTP_FORWARDED'];
goto Da215;
d40fa:
af005:
goto Aea34;
fff8e:
Cb163:
goto e6417;
a6856:
F1a2f:
goto c6afd;
C5ffd:
$C8894 = $_SERVER['HTTP_X_FORWARDED'];
goto c538e;
d8f53:
if (isset($_SERVER['HTTP_FORWARDED_FOR']) && !empty($_SERVER['HTTP_FORWARDED_FOR'])) {
goto af005;
}
goto D73ee;
c9abf:
eb768:
goto C5ffd;
c6afd:
$Dd256 = $_SERVER['HTTP_X_FORWARDED_FOR'];
goto Ff758;
E941e:
D8c64:
goto be48d;
Dc282:
}
public function getHttpUserAgent()
{
goto a943d;
D8f77:
cfab4:
goto E8aae;
Fa956:
if (isset($this->request->server['HTTP_USER_AGENT'])) {
goto Bb75a;
}
goto d76d0;
B30f6:
if (isset($_SERVER['HTTP_USER_AGENT']) && !empty($_SERVER['HTTP_USER_AGENT'])) {
goto A7e39;
}
goto Fa956;
Ce392:
A7e39:
goto ed535;
e6bdd:
$Dc13f = $this->request->server['HTTP_USER_AGENT'];
goto D8f77;
ed535:
$Dc13f = $_SERVER['HTTP_USER_AGENT'];
goto fd8f7;
a2093:
Bb75a:
goto e6bdd;
E8aae:
return $Dc13f;
goto F89df;
d76d0:
goto cfab4;
goto Ce392;
fd8f7:
goto cfab4;
goto a2093;
a943d:
$Dc13f = null;
goto B30f6;
F89df:
}
public function getRequestUri()
{
goto C75f9;
a6166:
if (!(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')) {
goto F1a6c;
}
goto aeb80;
aeb80:
$C8981 = "https://";
goto e93d0;
Ca878:
$C8981 .= $_SERVER['HTTP_HOST'];
goto d0f47;
Aeabb:
F97a1:
goto d47d9;
f7ffe:
$C8981 .= $_SERVER['REQUEST_URI'];
goto Aeabb;
d47d9:
return $C8981;
goto d5f1e;
C75f9:
$C8981 = "http://";
goto a6166;
fb0ec:
if (!(isset($_SERVER['REQUEST_URI']) && !empty($_SERVER['REQUEST_URI']))) {
goto F97a1;
}
goto f7ffe;
A65a7:
if (!(isset($_SERVER['HTTP_HOST']) && !empty($_SERVER['HTTP_HOST']))) {
goto E2e47;
}
goto Ca878;
d0f47:
E2e47:
goto fb0ec;
e93d0:
F1a6c:
goto A65a7;
d5f1e:
}
public function getGclid()
{
goto B89b8;
Adb7e:
f42e8:
goto Ed90d;
D2836:
cfe8b:
goto Fe1ee;
E90f3:
$a9540 = $bc978;
goto Ea89c;
Ea89c:
D698d:
goto Adb7e;
Ea088:
$this->saveGTMCookie('gtm_gclid', $a9540);
goto D2836;
C18f9:
$a9540 = '';
goto Ce7e2;
Ebcd4:
$bc978 = $this->readGTMCookie('gtm_gclid');
goto c031a;
Fe1ee:
if ($a9540) {
goto f42e8;
}
goto Ebcd4;
c031a:
if (!$bc978) {
goto D698d;
}
goto E90f3;
D0b30:
return $a9540;
goto d3460;
Ed90d:
if ($a9540) {
goto b4bd2;
}
goto C18f9;
Ce7e2:
b4bd2:
goto D0b30;
E5901:
if (!isset($_GET['gclid'])) {
goto cfe8b;
}
goto A9a35;
B89b8:
$a9540 = false;
goto E5901;
A9a35:
$a9540 = $_GET['gclid'];
goto Ea088;
d3460:
}
public function getFbp()
{
goto Ebf91;
c1c44:
d89a7:
goto ea982;
A8418:
if (!(isset($_COOKIE['_fbp']) && !empty($_COOKIE['_fbp']))) {
goto d89a7;
}
goto f543b;
ea982:
return $C1f11;
goto f0eba;
f543b:
$C1f11 = $_COOKIE['_fbp'];
goto c1c44;
Ebf91:
$C1f11 = null;
goto A8418;
f0eba:
}
public function getFbc()
{
goto c3d34;
D6912:
$this->saveGTMCookie('gtm_fbc', $A3bf6);
goto E3e21;
b9199:
$A3bf6 = '';
goto df4bc;
E3e21:
B4e6c:
goto E7e65;
B1429:
C6dfe:
goto e8a73;
E7e65:
if (!(isset($_COOKIE['_fbc']) && !empty($_COOKIE['_fbc']))) {
goto C6dfe;
}
goto D7aab;
F6f7b:
if (!isset($_GET['fbclid'])) {
goto B4e6c;
}
goto def43;
def43:
$A3bf6 = 'fb.1.' . time() . '.' . $_GET['fbclid'];
goto D6912;
D7aab:
$A3bf6 = $_COOKIE['_fbc'];
goto B1429;
c3d34:
$A3bf6 = false;
goto F6f7b;
b96f9:
return $A3bf6;
goto A45c1;
e8a73:
if ($A3bf6) {
goto b08d8;
}
goto b9199;
df4bc:
b08d8:
goto b96f9;
A45c1:
}
public function getTtclid()
{
goto Aaed1;
B30da:
if ($a700c) {
goto A7d3d;
}
goto Ed9e1;
c347a:
Fa5f1:
goto f4d49;
Bd715:
$this->saveGTMCookie('gtm_ttclid', $a700c);
goto Acc0a;
E4f35:
if ($a700c) {
goto C993d;
}
goto cb583;
cb583:
$a700c = '';
goto abaa1;
Aaed1:
$a700c = false;
goto D5643;
C3b8f:
$a700c = $_COOKIE['ttclid'];
goto Ff7d6;
f2782:
$a700c = $D317c;
goto c347a;
Ed9e1:
$D317c = $this->readGTMCookie('gtm_ttclid');
goto B19c0;
D5643:
if (!isset($_GET['ttclid'])) {
goto ff6a9;
}
goto F3e78;
f4d49:
A7d3d:
goto E4f35;
abaa1:
C993d:
goto Ba095;
B19c0:
if (!$D317c) {
goto Fa5f1;
}
goto f2782;
Acc0a:
ff6a9:
goto d7856;
F3e78:
$a700c = $_GET['ttclid'];
goto Bd715;
Ba095:
return $a700c;
goto b512a;
Ff7d6:
ed18c:
goto B30da;
d7856:
if (!(isset($_COOKIE['ttclid']) && !empty($_COOKIE['ttclid']))) {
goto ed18c;
}
goto C3b8f;
b512a:
}
public function getTtp()
{
goto e0126;
d2997:
if (!(isset($_COOKIE['_ttp']) && !empty($_COOKIE['_ttp']))) {
goto b3718;
}
goto Bc86e;
fbade:
return $Ca165;
goto Ddd70;
Bc86e:
$Ca165 = $_COOKIE['_ttp'];
goto a62f7;
a62f7:
b3718:
goto fbade;
e0126:
$Ca165 = '';
goto d2997;
Ddd70:
}
public function getScCid()
{
goto e29a8;
cfcae:
$D0821 = '';
goto c39de;
B0b2e:
return $D0821;
goto Fbea1;
f2b26:
if (!isset($_GET['ScCid'])) {
goto Db342;
}
goto a7d8a;
bcaac:
if (!$b6927) {
goto C07c9;
}
goto Da312;
A7a78:
$b6927 = $this->readGTMCookie('gtm_sccid');
goto bcaac;
b5d60:
$this->saveGTMCookie('gtm_sccid', $D0821);
goto b6e9b;
e29a8:
$D0821 = false;
goto f2b26;
Da312:
$D0821 = $b6927;
goto f465f;
b6e9b:
Db342:
goto D3bee;
c39de:
Df24d:
goto B0b2e;
f465f:
C07c9:
goto D70c4;
e4abf:
if ($D0821) {
goto Df24d;
}
goto cfcae;
D70c4:
f5ea6:
goto e4abf;
D3bee:
if ($D0821) {
goto f5ea6;
}
goto A7a78;
a7d8a:
$D0821 = $_GET['ScCid'];
goto b5d60;
Fbea1:
}
public function getSc_cookie1()
{
goto A572e;
e3480:
if (!(isset($_COOKIE['_scid']) && !empty($_COOKIE['_scid']))) {
goto ad2d2;
}
goto B17a2;
B17a2:
$D070a = $_COOKIE['_scid'];
goto e70e9;
C39ec:
return $D070a;
goto e07b8;
A572e:
$D070a = '';
goto e3480;
e70e9:
ad2d2:
goto C39ec;
e07b8:
}
private function getCuid()
{
goto E5c42;
a7b60:
Ceb8b:
goto C5c17;
D6e82:
$b701a = $_COOKIE['sib_cuid'];
goto a7b60;
E5c42:
$b701a = null;
goto A457b;
C5c17:
return $b701a;
goto f91ed;
A457b:
if (!(isset($_COOKIE['sib_cuid']) && !empty($_COOKIE['sib_cuid']))) {
goto Ceb8b;
}
goto D6e82;
f91ed:
}
private function GUID()
{
goto D9523;
cffc1:
return trim(De549(), '{}');
goto d7f78;
D9523:
if (!(function_exists('DE549') === true)) {
goto D9bad;
}
goto cffc1;
d9a75:
return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
goto Fd341;
d7f78:
D9bad:
goto d9a75;
Fd341:
}
private function checkbot($C9302)
{
goto e1b2a;
c298d:
Fe6a0:
goto Ebce4;
b5ff4:
return true;
goto c298d;
e1b2a:
if (!(!isset($C9302) || empty($C9302))) {
goto Fe6a0;
}
goto b5ff4;
e6c26:
goto F8cfa;
goto C8113;
ec811:
return false;
goto e6c26;
Ebce4:
if (stripos($C9302, "bot") !== false) {
goto Bb173;
}
goto ec811;
b8330:
return true;
goto Fde5d;
Fde5d:
F8cfa:
goto D63f2;
C8113:
Bb173:
goto b8330;
D63f2:
}
private function getCurrentURL()
{
goto D81b8;
F10ce:
$e6293 = $_SERVER['HTTP_HOST'];
goto aa5be;
d2dcf:
return $Bbc86 . '://' . $e6293 . $Aca9e . $E1ef9;
goto Ab130;
Cc4a0:
$E1ef9 = $_SERVER['QUERY_STRING'] == '' ? '' : '?' . $_SERVER['QUERY_STRING'];
goto d2dcf;
D81b8:
$Bbc86 = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === false ? 'http' : 'https';
goto F10ce;
aa5be:
$Aca9e = $_SERVER['SCRIPT_NAME'];
goto Cc4a0;
Ab130:
}
private function botDetect()
{
goto a60d6;
a60d6:
$C9302 = $this->getHttpUserAgent();
goto D3e73;
a90df:
return true;
goto D7731;
D7731:
Db033:
goto b0b98;
fc41a:
goto Db033;
goto Ff8ee;
Ff8ee:
Ad20e:
goto a90df;
D284d:
return false;
goto fc41a;
D3e73:
if (isset($C9302) && preg_match('/bot|crawl|slurp|spider|mediapartners/i', $C9302)) {
goto Ad20e;
}
goto D284d;
b0b98:
}
public function redirect($C8981, $F380c = 302)
{
$this->response->redirect($C8981);
}
public function unserialize($c1b93 = array())
{
return json_decode($c1b93, true);
}
public function get_numeric($F940c)
{
goto c3533;
B28c8:
return $F940c + 0;
goto f6faa;
f6faa:
D7931:
goto d3cfc;
d3cfc:
return 0;
goto E4555;
c3533:
if (!is_numeric($F940c)) {
goto D7931;
}
goto B28c8;
E4555:
}
public function getHost()
{
goto C7334;
da6cd:
$Cd634 = 'https://' . (isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : '');
goto cad19;
C7334:
if ($this->request->server['HTTPS']) {
goto e4c40;
}
goto Aeb9e;
cad19:
Ea987:
goto a2acf;
E9824:
e4c40:
goto da6cd;
Aeb9e:
$Cd634 = 'http://' . (isset($this->request->server['SERVER_NAME']) ? $this->request->server['SERVER_NAME'] : '');
goto Ff5c5;
a2acf:
return $Cd634;
goto e8126;
Ff5c5:
goto Ea987;
goto E9824;
e8126:
}
public function strFind($De7fb, $fac1a)
{
return $fac1a !== '' && mb_strpos($De7fb, $fac1a) !== false;
}
public function formatPhone($c1b93 = false, $Dd5bb = false)
{
goto a8d6e;
E5f10:
$A51a6 = strtolower($Dd5bb);
goto cb36f;
Ee2f9:
B2142:
goto dece2;
D1dd0:
$b83ad = '[{"dialcode":"54","country_code":"ar"},{"dialcode":"55","country_code":"br"},{"dialcode":"1","country_code":"ca"},{"dialcode":"56","country_code":"cl"},{"dialcode":"57","country_code":"co"},{"dialcode":"506","country_code":"cr"},{"dialcode":"593","country_code":"ec"},{"dialcode":"503","country_code":"sv"},{"dialcode":"502","country_code":"gt"},{"dialcode":"592","country_code":"gy"},{"dialcode":"509","country_code":"ht"},{"dialcode":"504","country_code":"hn"},{"dialcode":"52","country_code":"mx"},{"dialcode":"505","country_code":"ni"},{"dialcode":"507","country_code":"pa"},{"dialcode":"595","country_code":"py"},{"dialcode":"51","country_code":"pe"},{"dialcode":"1","country_code":"us"},{"dialcode":"598","country_code":"uy"},{"dialcode":"58","country_code":"ve"},{"dialcode":"93","country_code":"af"},{"dialcode":"374","country_code":"am"},{"dialcode":"994","country_code":"az"},{"dialcode":"973","country_code":"bh"},{"dialcode":"880","country_code":"bd"},{"dialcode":"975","country_code":"bt"},{"dialcode":"673","country_code":"bn"},{"dialcode":"855","country_code":"kh"},{"dialcode":"86","country_code":"cn"},{"dialcode":"357","country_code":"cy"},{"dialcode":"850","country_code":"kp"},{"dialcode":"995","country_code":"ge"},{"dialcode":"91","country_code":"in"},{"dialcode":"62","country_code":"id"},{"dialcode":"98","country_code":"ir"},{"dialcode":"964","country_code":"iq"},{"dialcode":"972","country_code":"il"},{"dialcode":"81","country_code":"jp"},{"dialcode":"962","country_code":"jo"},{"dialcode":"7","country_code":"kz"},{"dialcode":"965","country_code":"kw"},{"dialcode":"996","country_code":"kg"},{"dialcode":"856","country_code":"la"},{"dialcode":"961","country_code":"lb"},{"dialcode":"60","country_code":"my"},{"dialcode":"960","country_code":"mv"},{"dialcode":"976","country_code":"mn"},{"dialcode":"95","country_code":"mm"},{"dialcode":"977","country_code":"np"},{"dialcode":"968","country_code":"om"},{"dialcode":"92","country_code":"pk"},{"dialcode":"63","country_code":"ph"},{"dialcode":"974","country_code":"qa"},{"dialcode":"82","country_code":"kr"},{"dialcode":"966","country_code":"sa"},{"dialcode":"65","country_code":"sg"},{"dialcode":"94","country_code":"lk"},{"dialcode":"970","country_code":"ps"},{"dialcode":"963","country_code":"sy"},{"dialcode":"992","country_code":"tj"},{"dialcode":"66","country_code":"th"},{"dialcode":"670","country_code":"tl"},{"dialcode":"90","country_code":"tr"},{"dialcode":"993","country_code":"tm"},{"dialcode":"971","country_code":"ae"},{"dialcode":"998","country_code":"uz"},{"dialcode":"84","country_code":"vn"},{"dialcode":"967","country_code":"ye"},{"dialcode":"355","country_code":"al"},{"dialcode":"376","country_code":"ad"},{"dialcode":"43","country_code":"at"},{"dialcode":"375","country_code":"by"},{"dialcode":"32","country_code":"be"},{"dialcode":"387","country_code":"ba"},{"dialcode":"359","country_code":"bg"},{"dialcode":"385","country_code":"hr"},{"dialcode":"420","country_code":"cz"},{"dialcode":"45","country_code":"dk"},{"dialcode":"372","country_code":"ee"},{"dialcode":"358","country_code":"fi"},{"dialcode":"33","country_code":"fr"},{"dialcode":"49","country_code":"de"},{"dialcode":"30","country_code":"gr"},{"dialcode":"36","country_code":"hu"},{"dialcode":"354","country_code":"is"},{"dialcode":"353","country_code":"ie"},{"dialcode":"39","country_code":"it"},{"dialcode":"371","country_code":"lv"},{"dialcode":"423","country_code":"li"},{"dialcode":"370","country_code":"lt"},{"dialcode":"352","country_code":"lu"},{"dialcode":"356","country_code":"mt"},{"dialcode":"377","country_code":"mc"},{"dialcode":"382","country_code":"me"},{"dialcode":"31","country_code":"nl"},{"dialcode":"47","country_code":"no"},{"dialcode":"48","country_code":"pl"},{"dialcode":"351","country_code":"pt"},{"dialcode":"373","country_code":"md"},{"dialcode":"40","country_code":"ro"},{"dialcode":"7","country_code":"ru"},{"dialcode":"378","country_code":"sm"},{"dialcode":"381","country_code":"rs"},{"dialcode":"421","country_code":"sk"},{"dialcode":"386","country_code":"si"},{"dialcode":"34","country_code":"es"},{"dialcode":"46","country_code":"se"},{"dialcode":"41","country_code":"ch"},{"dialcode":"389","country_code":"mk"},{"dialcode":"380","country_code":"ua"},{"dialcode":"44","country_code":"gb"},{"dialcode":"61","country_code":"au"},{"dialcode":"64","country_code":"nz"}]';
goto D1599;
e4a1f:
if ($Dd5bb) {
goto Eb971;
}
goto eabf5;
B727d:
$c1b93 = $A003e . $c1b93;
goto f4bd5;
ea819:
if ($c1b93) {
goto C9fcd;
}
goto F8739;
e11cd:
D5e66:
goto E5f10;
D1599:
$b83ad = json_decode($b83ad, true);
goto e4a1f;
db39a:
return $e6311;
goto B8866;
C9c6c:
if (!(stripos($c1b93, $A003e) === 0)) {
goto c3e01;
}
goto B9fcf;
Faa02:
return $e6311;
goto D8184;
dece2:
if (!(stripos($c1b93, '0') === 0)) {
goto B6001;
}
goto ded91;
Aa5cf:
c7066:
goto D6d9b;
c989e:
$Dd5bb = $c67e9['iso_code_2'];
goto Dc432;
D6724:
if (!(!isset($Dd5bb) || empty($Dd5bb))) {
goto D5e66;
}
goto D279e;
f4bd5:
$e6311 = ['e164' => '+' . $c1b93, 'ph' => $c1b93];
goto db39a;
b4aa5:
$c1b93 = substr_replace($c1b93, '', 0, 2);
goto Ee2f9;
F2565:
$c1b93 = str_replace('+', '', $c1b93);
goto a9e78;
ded91:
$c1b93 = substr_replace($c1b93, '', 0, 1);
goto b8304;
Fba4b:
$c67e9 = $this->getCountry($A939a);
goto c989e;
D279e:
return $e6311;
goto e11cd;
Dc432:
Eb971:
goto D6724;
b75fb:
if (!(stripos($c1b93, '00') === 0)) {
goto B2142;
}
goto b4aa5;
Ab81f:
$c1b93 = str_replace('-', '', $c1b93);
goto d1c73;
ae52f:
$c1b93 = str_replace(')', '', $c1b93);
goto Ab81f;
cc500:
c3e01:
goto B727d;
d1c73:
$c1b93 = str_replace('.', '', $c1b93);
goto b75fb;
F8739:
return $e6311;
goto ea356;
cb36f:
$A003e = '';
goto Ddb60;
ea356:
C9fcd:
goto D1dd0;
bbe2d:
$c1b93 = trim($c1b93);
goto b414d;
b414d:
$c1b93 = str_replace(' ', '', $c1b93);
goto F2565;
a9e78:
$c1b93 = str_replace('(', '', $c1b93);
goto ae52f;
Ddb60:
foreach ($b83ad as $B3a1a) {
goto A7a8a;
e8fc1:
D93bd:
goto B96af;
A7a8a:
if (!($B3a1a['country_code'] == $A51a6)) {
goto D93bd;
}
goto df7e5;
df7e5:
$A003e = $B3a1a['dialcode'];
goto e8fc1;
B96af:
e434f:
goto Ed787;
Ed787:
}
goto Aa5cf;
a8d6e:
$e6311 = ['e164' => $c1b93, 'ph' => $c1b93];
goto ea819;
D6d9b:
if (!empty($A003e)) {
goto D42b9;
}
goto Faa02;
b8304:
B6001:
goto C9c6c;
eabf5:
$A939a = $this->config->get('config_country_id');
goto Fba4b;
B9fcf:
$ef711 = strlen($A003e);
goto d4b23;
d4b23:
$c1b93 = substr_replace($c1b93, '', 0, $ef711);
goto cc500;
D8184:
D42b9:
goto bbe2d;
B8866:
}
public function formatPostcode($c1b93 = '')
{
goto e130c;
C1c52:
$c1b93 = str_replace('/', '', $c1b93);
goto e0c16;
F94e7:
$c1b93 = str_replace('.', '', $c1b93);
goto C1c52;
e0c16:
return $c1b93;
goto Bdc54;
e130c:
$c1b93 = str_replace(' ', '', $c1b93);
goto e7e99;
e7e99:
$c1b93 = str_replace('-', '', $c1b93);
goto F94e7;
Bdc54:
}
}

Function Calls

None

Variables

None

Stats

MD5 0c0d7a204c071656d10cecedab36064d
Eval Count 0
Decode Time 280 ms