EBContext.data.menuCategories = {
firstSorting: '',
structure : {}
};
var noimage = ' data-srcset="/files/media/template/noimage.png" class="lazyload " loading="lazy" data-bonus="20" data-sizes="auto" ';
var propertyMap = {
a: 'OID',
b: 'SEOID',
c: 'Name',
d: 'Order',
e: 'UseCategory',
f: 'EBCPolozky',
g: 'Description',
h: 'TitleSuffix',
i: 'bgColor',
j: 'UseEBC',
k: 'Photo',
l: 'Children',
m: 'IconImg'
};
function processNode(el, key) {
el.Sorting = key;
for (let p in propertyMap) {
el[propertyMap[p]] = el[p] || null;
delete el[p];
}
let ebc = el.UseEBC;
el.UseEBC = [];
if (ebc[0] === "1") el.UseEBC.push("EBC");
if (ebc[1] === "1") el.UseEBC.push("EBC2");
if (ebc[2] === "1") el.UseEBC.push("EBC3");
if (!el.Photo) el.Photo = { Name: "", SrcSet: noimage };
el.Photo.DataSrcSet = el.Photo.SrcSet.replace(" srcset="," data-srcset=").replace(" src="," data-src=");
if (!el.Children) {
el.Children = {};
}
else {
for (let el2 in el.Children) {
processNode(el.Children[el2], el2);
}
}
};
var els = EBContext.data.menuCategories.structure;
for (let el2 in els) {
processNode(els[el2], el2);
}
EBContext.data.defaultLanguage = 'cz';
EBContext.data.sessionLanguage = 'cz';
EBContext.data.languageUrl = '';
EBContext.data.languages = []
EBContext.data.hrefMap = EBContext.data.hrefMap || {
result_categoryseoid: '/categories/###SEOID###'.replace('###SEOID###', ''),
detail_seoid: '/products/###SEOID###'.replace('###SEOID###', ''),
manufacturerdetail_seoid: ''.replace('###SEOID###', ''),
popup_rental_seoid: ''.replace('###SEOID###', ''),
popup_upsale: ''
};
EBContext.data.customersObj={"7800000028C8":{"c":"BARTECH SLOVAKIA, spol. s r.o.","d":"bartech slovakia, spol. s r.o.","e":"400","f":true,"g":"BARTECH SLOVAKIA, spol. s r.o.","h":"bartech-slovakia-spol-s-r-o","i":", DVIP, MSUZ, MSUIM, OBIT, MOSK, PTISK, QUAL, SMBX, SNIM, XTRA, ","j":"000","k":true},"780000002A7D":{"c":"Comercial Arque S.A.","d":"comercial arque s.a.","e":"000","f":false,"g":"Comercial Arque S.A.","h":"comercial-arque-s-a","j":"7400","k":true},"780000002E6A":{"c":"HOFA, spol. s r.o.","d":"hofa, spol. s r.o.","e":"000","f":false,"g":"HOFA, spol. s r.o.","h":"hofa-spol-s-r-o","j":"300","k":true},"780000003711":{"c":"Honeywell Productivity Solutions B.V:","d":"honeywell productivity solutions b.v:","e":"5100","f":true,"g":"Honeywell Productivity Solutions B.V:","h":"honeywell-scanning-and-mobility","j":"000","k":true},"78000000372C":{"c":"Microscan","d":"microscan","e":"100","f":true,"g":"Microscan","h":"microscan","j":"000","k":true},"780000003E60":{"c":"Teklynx International","d":"teklynx international","e":"000","f":false,"g":"Teklynx International","h":"teklynx-international","j":"1300","k":true},"780000003F56":{"c":"UNICODE MD s.r.o.","d":"unicode md s.r.o.","e":"000","f":false,"g":"UNICODE MD s.r.o.","h":"unicode-m-d-spol-s-r-o","i":", DEAL42980, ","j":"300","k":true},"780000004165":{"c":"ZEBRA, s.r.o.","d":"zebra, s.r.o.","e":"000","f":false,"g":"ZEBRA, s.r.o.","h":"zebra-s-r-o","j":"21800","k":true},"A1000000019D":{"c":"Datalogic","d":"datalogic","e":"100","f":true,"g":"Datalogic","h":"datalogic","j":"000","k":true},"A100000001D8":{"c":"Code Corporation","d":"code corporation","e":"700","f":true,"g":"Code Corporation","h":"code-corporation","j":"000","k":true},"A10000000287":{"c":"Zebra Technologies","d":"zebra technologies","e":"1800","f":true,"g":"Zebra Technologies","h":"zebra-technologies","j":"000","k":true},"A100000003A0":{"c":"BlueStar Europe Distribution BV","d":"bluestar europe distribution bv","e":"000","f":false,"g":"BlueStar Europe Distribution BV","h":"bluestar-europe-distribution-bv","j":"1500","k":true},"A1000000051A":{"c":"QUAD Gmbh","d":"quad gmbh","e":"000","f":false,"g":"QUAD Gmbh","h":"quad-gmbh","j":"700","k":true},"A1000000068B":{"c":"OMRON ELECTRONICS spol. s r.o.","d":"omron electronics spol. s r.o.","e":"700","f":true,"g":"OMRON ELECTRONICS spol. s r.o.","h":"omron-electronics-spol-s-r-o","i":", 38860, ","j":"000","k":true},"A100000008A4":{"c":"Epson Europe B.V. - organizační složka","d":"epson europe b.v. - organizacni slozka","e":"1600","f":true,"g":"Epson Europe B.V. - organizační složka","h":"epson-europe-b-v-organizacni-slozka","j":"000","k":true},"A1000000093C":{"c":"Axicon B.V.","d":"axicon b.v.","e":"000","f":false,"g":"Axicon B.V.","h":"axicon-b-v - A1000000093C","j":"900","k":true},"B100000001C8":{"c":"KURZ TYPOFOL GmbH","d":"kurz typofol gmbh","e":"000","f":false,"g":"KURZ TYPOFOL GmbH","h":"kurz-typofol-gmbh","j":"300","k":true},"B100000002A1":{"c":"AXIMA, spol. s r. o.","d":"axima, spol. s r. o.","e":"000","f":false,"g":"AXIMA, spol. s r. o.","h":"axima-spol-s-r-o","i":", ENDU, ELEK37100, ","j":"700","k":true},"B10000000828":{"c":"Güse Verlag GmbH","d":"guse verlag gmbh","e":"000","f":false,"g":"Güse Verlag GmbH","h":"guse-verlag-gmbh","j":"200","k":true},"B10000000D13":{"c":"Ingram Micro Czech Republic, s. r. o.","d":"ingram micro czech republic, s. r. o.","e":"000","f":false,"g":"Ingram Micro Czech Republic, s. r. o.","h":"rrc-cz-s-r-o","j":"8600","k":true},"B10000000ED7":{"c":"Teklynx","d":"teklynx","e":"1300","f":true,"g":"Teklynx","h":"teklynx","j":"000","k":false},"B10000000ED8":{"c":"Unitech","d":"unitech","e":"1500","f":true,"g":"Unitech","h":"unitech","j":"000","k":false},"B100000013D2":{"c":"Carl Valentin","d":"carl valentin","e":"2700","f":true,"g":"Carl Valentin","h":"carl-valentin-B100000013D2","j":"000","k":true},"B10000001518":{"c":"Axicon Auto ID Limited","d":"axicon auto id limited","e":"900","f":true,"g":"Axicon Auto ID Limited","h":"axicon-auto-id-limited","j":"000","k":true}};
var elc = EBContext.data.customersObj;
var propertyMapC = {
"a": "logo",
"b": "logostr",
"c": "manName",
"d" : "manNameSearch",
"e": "manebc",
"f": "manufacturer",
"g": "name",
"h": "seoid",
"i": "specification",
"j": "supebc",
"k": "supplier",
"l": "www"
}
var noimage = ' data-srcset="/files/media/template/noimage.png" class="lazyload " loading="lazy" data-bonus="20" data-sizes="auto" ';
for (let el2 in elc) {
let el = elc[el2];
el.OID = el2;
for (let p in propertyMapC) {
el[propertyMapC[p]] = el[p] || "";
delete el[p];
}
if (!el.logo) {
el.logo=[null, null, null, null, null, null, null, null];
el.logostr = noimage;
}
let ebc = el.supebc;
el.supebc = parseInt(ebc[0]);
el.supebc2 = parseInt(ebc[1]);
el.supebc3 = parseInt(ebc[2]);
ebc = el.manebc;
el.manebc = parseInt(ebc[0]);
el.manebc2 = parseInt(ebc[1]);
el.manebc3 = parseInt(ebc[2]);
}
EBContext.data.customersArr=Object.values(EBContext.data.customersObj).sort((a,b)=>(a.nameb.name?1:0)));