if(typeof(NeoryContainer) === 'undefined') {

    var JSON;if(!JSON){JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){if(typeof rep[i]==="string"){k=rep[i];v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());
    
    function NeoryContainer(ownNamespace, dataLayerName, evalBasicUrl) {
        
        var _ownNamespace = ownNamespace;
        var _dataLayerName = dataLayerName;
        var _evalBasicUrl = evalBasicUrl;
        var _macroOutputData = { };
        var _promises = [];

        this.addPromise = function(promise) {
            _promises.push(promise);
        }
        ;
        
        this.waitForResult = function(NeoryTag, callbackFunc, interval, timeout) {

            var gotResult = false;
            
            var simpleResultReadyAndRegisterResultFunc = function (result) {
                    gotResult = true;
                    NeoryTag.registerResult(result);
            }
            
            callbackFunc(simpleResultReadyAndRegisterResultFunc);
            
            if(!gotResult){
                if(typeof Promise === "undefined" || Promise.toString().indexOf("[native code]") === -1 ){
                    NeoryTag.registerResult("");
                } else {
                    var intervalHandle = -1;    
                    var timeoutHandle = -1;
                    var promise = new Promise((resolve, reject) => {
                        var resultReadyAndRegisterResultFunc = function(result) {
                            clearInterval(intervalHandle);
                            clearTimeout(timeoutHandle);
                            
                            gotResult = true;
                            NeoryTag.registerResult(result);
                            resolve(true);
                        };
                    
                        timeoutHandle = setTimeout(function(){ resultReadyAndRegisterResultFunc("") },timeout);
                        intervalHandle = setInterval(function() {callbackFunc(resultReadyAndRegisterResultFunc)}, interval);
                    });
                    this.addPromise(promise);
                }
            }    
        };
        
        this.ownNamespace = function(ownNamespace) {
            if(ownNamespace === undefined)
                return _ownNamespace;
            
            _ownNamespace = ownNamespace;
        };
        
        this.dataLayerName = function(dataLayerName) {
            if(dataLayerName === undefined)
                return _dataLayerName;
            
            _dataLayerName = dataLayerName;
        };
        
        this.evalBasicUrl = function(evalBasicUrl) {
            if(evalBasicUrl === undefined)
                return _evalBasicUrl;
            
            _evalBasicUrl = evalBasicUrl;
        };
        
        this.macroOutputData = function(macroOutputData) {
            if(macroOutputData === undefined)
                return _macroOutputData;
            
            _macroOutputData = macroOutputdata;
        };
        
        this.addMacroResult = function(key, value) {
            _macroOutputData[key] = value;
        };
        
        this.removeMacroResult = function(key) {
             delete _macroOutputData[key];
        };
        
        this.getMacroResult = function(key){
            return _macroOutputData[key];
        };
        
        this.random = function() {
            return Math.floor(Math.random() * 100000000);
        };
        
        this.addScriptToPage = function(url, async) {
            var firstScript = document.getElementsByTagName('script')[0];
            var newScript = document.createElement('script');
            
            newScript.src = url;
            newScript.async = async ? true : false;
            
            firstScript.parentNode.insertBefore(newScript, firstScript);
        };
        
        this.addIframeToPage = function(url) {
            var firstScript = document.getElementsByTagName('script')[0];
            
            var newIframe = document.createElement('iframe');
            newIframe.width             = 1;
            newIframe.height            = 1;
            newIframe.frameBorder       = 0;
            newIframe.style.visibility  = "hidden";
            newIframe.style.display     = "none";
            newIframe.style.width       = 1;
            newIframe.style.height      = 1;
            newIframe.style.border      = 0;
            newIframe.src = url;
            
            firstScript.parentNode.insertBefore(newIframe, firstScript);
        };
        
        this.jsonify = function(value) {
            return JSON.parse(value);
        };
        
        this.stringify = function(value) {
            return JSON.stringify(value);
        };
        
        this.sendMacroResults = function() {
            if(_promises.length > 0){
                Promise.allSettled(_promises).then((values) => {
                     this.finalSendMacroResults();
                });
            } else {
                this.finalSendMacroResults();
            }
        };
        
        this.finalSendMacroResults = function() {
            var parts = [];
            var url = _evalBasicUrl + '&rnd=' + this.random();
            
            for(var key in _macroOutputData)
                parts.push('macroData[' + encodeURIComponent(key) + ']=' + encodeURIComponent(_macroOutputData[key]));
            
            if(parts.length > 0)
                url += '&' + parts.join('&');
            
            this.addScriptToPage(url,true);
        };
    }
}

window.neory_5haekhfgbz3oh8unu7sjcwitagz52zgl = new NeoryContainer('5haekhfgbz3oh8unu7sjcwitagz52zgl', 'ntmData', '//t712.neory-tm.net/tm/a/container/eval/c459f9938e.js?sid=b2gvh8fepoe1vaovih8mk0icdm');

(function(neory) {
    
    (function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("utmSource",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var utmSourceParameter = "not_supported";
try {
  if(typeof URLSearchParams != "undefined") {
  	var params = new 	URLSearchParams(window.location.search);
  	if(!params.has("utm_source")){
    	utmSourceParameter = "not_set";
  	} else {
    	utmSourceParameter = params.get("utm_source");
  	}
  }
} catch(e){
	utmSourceParameter = "error";
}
NeoryTag.registerResult(utmSourceParameter);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("utmMedium",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var utmSourceParameter = "not_supported";
try {
  if(typeof URLSearchParams != "undefined") {
  	var params = new 	URLSearchParams(window.location.search);
  	if(!params.has("utm_medium")){
    	utmSourceParameter = "not_set";
  	} else {
    	utmSourceParameter = params.get("utm_medium");
  	}
  }
} catch(e){
	utmSourceParameter = "error";
}
NeoryTag.registerResult(utmSourceParameter);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("utmCampaign",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var utmSourceParameter = "not_supported";
try {
  if(typeof URLSearchParams != "undefined") {
  	var params = new 	URLSearchParams(window.location.search);
  	if(!params.has("utm_campaign")){
    	utmSourceParameter = "not_set";
  	} else {
    	utmSourceParameter = params.get("utm_campaign");
  	}
  }
} catch(e){
	utmSourceParameter = "error";
}
NeoryTag.registerResult(utmSourceParameter);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("userId",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["userId"] !== "undefined"){
      	value = window["ntmData"][0]["userId"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].hashedEmail !== 'undefined'){
                    value = window.dataLayer[i].hashedEmail;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("transactionId",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["transactionId"] !== "undefined"){
      	value = window["ntmData"][0]["transactionId"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].ecommerce.purchase.actionField.id !== 'undefined'){
                  value = window.dataLayer[i].ecommerce.purchase.actionField.id;
                }
            } catch(e){}
           // GA4
          try{
            if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "purchase" && typeof window.dataLayer[i].ecommerce.transaction_id !== 'undefined'  ){
              value = window.dataLayer[i].ecommerce.transaction_id;
            }
          } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){

var value = "";
value = document.URL;
  
neory.addMacroResult("siteUrl",value)})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("siteType",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["siteType"] !== "undefined"){
      	value = window["ntmData"][0]["siteType"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].siteType !== 'undefined'){
                    value = window.dataLayer[i].siteType;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("searchQuery",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["searchQuery"] !== "undefined"){
      	value = window["ntmData"][0]["searchQuery"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].searchQuery !== 'undefined'){
                    value = window.dataLayer[i].searchQuery;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){

var value = "";
value = document.referrer;

neory.addMacroResult("referrer",value)})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("products",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["products"] !== "undefined"){
      	value = window["ntmData"][0]["products"];
      }
    } else {
       for(var i=0; i< window.dataLayer.length;i++ ){
         try{
           var gProducts = [];
           var found = false;
           if(typeof window.dataLayer[i].ecommerce !== 'undefined') {
             if(typeof window.dataLayer[i].ecommerce.purchase !== 'undefined'){
               if(typeof window.dataLayer[i].ecommerce.purchase.products !== 'undefined'){
                 gProducts = window.dataLayer[i].ecommerce.purchase.products;
                 found = true;
               }
             } else if(typeof window.dataLayer[i].ecommerce.checkout !== 'undefind'){
               if( typeof window.dataLayer[i].ecommerce.checkout.products !=='undefined'){
                 gProducts = window.dataLayer[i].ecommerce.checkout.products;
                 found = true; 
               }
             }
           }
           if(found){
             var nProducts = [];
             for(var j=0; j< gProducts.length; j++){
               var nProduct = {};
               var gProduct = gProducts[j];
               nProduct.id = gProduct.id;
               nProduct.cat = gProduct.category;
               nProduct.price = (""+gProduct.price).replace(",",".");
               nProduct.qty = gProduct.quantity;
               nProducts.push(nProduct);
             }
             value = nProducts;
           }
      	} catch(e){}
        // GA4
        try{
          if(typeof window.dataLayer[i].ecommerce.items !== 'undefined'){
            var gProducts = window.dataLayer[i].ecommerce.items;
            var nProducts = [];
            for(var j=0; j< gProducts.length; j++){
              var nProduct = {};
              var gProduct = gProducts[j];
              nProduct.id = gProduct.item_id;
              nProduct.cat = gProduct.item_category;
              if(isNaN(gProduct.price)){
              	nProduct.price = ""+0;
              } else {
                nProduct.price = ""+gProduct.price;
              }
              nProduct.qty = gProduct.quantity;
              nProducts.push(nProduct);
            }
            value = nProducts;
          }
        }catch(e){}
    } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("productPrice",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  try {
  
  var jsonlds = document.querySelectorAll('script[type="application/ld+json"]') || [];
  for(var i=0; i<jsonlds.length; i++) {
      var data = JSON.parse(jsonlds[i].innerText);
      if(typeof data["@type"] != "undefined" && data["@type"]== "Product" && typeof data["offers"] != "undefined" && typeof data["offers"]["price"] != "undefined"){
          NeoryTag.registerResult(data["offers"].price);
      }
  } 
} catch(e){
	NeoryTag.registerResult("");
}
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("productId",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
       if(typeof window["ntmData"][0]["productId"] !== "undefined"){
      	value = window["ntmData"][0]["productId"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
              if(typeof window.dataLayer[i].ecommerce.detail.products["0"].id !== 'undefined'){
                value = window.dataLayer[i].ecommerce.detail.products["0"].id;
              }
            } catch(e){}
          try{
            // GA4 
            if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "view_item"){
              value = window.dataLayer[i].ecommerce.items["0"].item_id;
            }
           } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("pageType",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["pageType"] !== "undefined"){
      	value = window["ntmData"][0]["pageType"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].pageType !== 'undefined'){
                    value = window.dataLayer[i].pageType;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("orderValue",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["orderValue"] !== "undefined"){
      	value = window["ntmData"][0]["orderValue"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].ecommerce.purchase.actionField.revenue !== 'undefined'){
                  value = window.dataLayer[i].ecommerce.purchase.actionField.revenue;
                }
            } catch(e){}
            // GA4
            try{
              if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "purchase" && typeof window.dataLayer[i].ecommerce.value !== 'undefined'  ){
                value = window.dataLayer[i].ecommerce.value;
              }
            } catch(e){}
        } 
    }
} catch(e){
    value = "";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("ntmChannel",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var getQueryVariable = function(variable) {
    var query = window.location.search.substring(1);
    var vars = query.split('&');
    for (var i = 0; i < vars.length; i++) {
        var pair = vars[i].split('=');
        if (decodeURIComponent(pair[0]) == variable) {
            return decodeURIComponent(pair[1]);
        }
    }
}
  
 
if(getQueryVariable("ntm_channel")){
    NeoryTag.registerResult(getQueryVariable("ntm_channel")); 
} else {
  NeoryTag.registerResult(""); 
}
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("ntmCampaign",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var getQueryVariable = function(variable) {
    var query = window.location.search.substring(1);
    var vars = query.split('&');
    for (var i = 0; i < vars.length; i++) {
        var pair = vars[i].split('=');
        if (decodeURIComponent(pair[0]) == variable) {
            return decodeURIComponent(pair[1]);
        }
    }
}
  
 
if(getQueryVariable("ntm_campaign")){
    NeoryTag.registerResult(getQueryVariable("ntm_campaign")); 
} else {
  NeoryTag.registerResult(""); 
}
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("environment",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["environment"] !== "undefined"){
      	value = window["ntmData"][0]["environment"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].environment !== 'undefined'){
                    value = window.dataLayer[i].environment;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("customertype",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["customerType"] !== "undefined"){
      	value = window["ntmData"][0]["customerType"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].customerType !== 'undefined'){
                    value = window.dataLayer[i].customerType;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("customerId",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["customerId"] !== "undefined"){
      	value = window["ntmData"][0]["customerId"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].customerID !== 'undefined'){
                    value = window.dataLayer[i].customerID;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("couponValue",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["couponValue"] !== "undefined"){
      	value = window["ntmData"][0]["couponValue"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].ecommerce.purchase.actionField.couponValue !== 'undefined'){
                  value = window.dataLayer[i].ecommerce.purchase.actionField.couponValue;
                }
            } catch(e){}
           // GA4
          try{
            if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "purchase" && typeof window.dataLayer[i].ecommerce.coupon_value !== 'undefined' ){
              value = window.dataLayer[i].ecommerce.coupon_value;
            }
          } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("couponCode",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["couponCode"] !== "undefined"){
      	value = window["ntmData"][0]["couponCode"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].ecommerce.purchase.actionField.coupon !== 'undefined'){
                  value = window.dataLayer[i].ecommerce.purchase.actionField.coupon;
                }
            } catch(e){}
           // GA4
          try{
            if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "purchase" && typeof window.dataLayer[i].ecommerce.coupon !== 'undefined'  ){
              value = window.dataLayer[i].ecommerce.coupon;
            }
          } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("couponChannel",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["couponChannel"] !== "undefined"){
      	value = window["ntmData"][0]["couponChannel"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].ecommerce.purchase.actionField.couponChannel !== 'undefined'){
                  value = window.dataLayer[i].ecommerce.purchase.actionField.couponChannel;
                }
            } catch(e){}
            // GA4
            try{
              if(typeof window.dataLayer[i].event !== 'undefined' && window.dataLayer[i].event == "purchase" && typeof window.dataLayer[i].ecommerce.coupon_channel !== 'undefined'  ){
                value = window.dataLayer[i].ecommerce.coupon_channel;
              }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
var cookies = document.cookie ? document.cookie.split('; ') : [];
var cookieName = "mxp";
var rdecode = /(%[0-9A-Z]{2})+/g;
var result = null;

for (var i = 0; i < cookies.length; i++) {
    var parts = cookies[i].split('=');
    var cookie = parts.slice(1).join('=');

    if (cookie.charAt(0) === '"') {
        cookie = cookie.slice(1, -1);
    }

    try {
        var name = parts[0].replace(rdecode, decodeURIComponent);

        cookie = cookie.replace(rdecode, decodeURIComponent);

        if (cookieName === name) {
            result = cookie;
            break;
        }

    } catch (e) {}
}


if(result === null){
   result = "DEFAULT";


}

neory.addMacroResult("consentType",result);
})(neory);(function(neory){
var cookies = document.cookie ? document.cookie.split('; ') : [];
var cookieName = "__cmpcpcx75650";
var rdecode = /(%[0-9A-Z]{2})+/g;
var result = null;

for (var i = 0; i < cookies.length; i++) {
    var parts = cookies[i].split('=');
    var cookie = parts.slice(1).join('=');

    if (cookie.charAt(0) === '"') {
        cookie = cookie.slice(1, -1);
    }

    try {
        var name = parts[0].replace(rdecode, decodeURIComponent);

        cookie = cookie.replace(rdecode, decodeURIComponent);

        if (cookieName === name) {
            result = cookie;
            break;
        }

    } catch (e) {}
}


if(result === null){
   result = "DEFAULT";


}

neory.addMacroResult("consentType_new",result);
})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("categoryId",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["categoryId"] !== "undefined"){
      	value = window["ntmData"][0]["categoryId"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].categoryId !== 'undefined'){
                    value = window.dataLayer[i].categoryId;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);(function(neory){
    var NeoryTag = {};
    NeoryTag.registerResult = function(value) {
      if(typeof(value) != "string"){
            value = neory.stringify(value);
      }
      neory.addMacroResult("basketValue",value);
    };

    NeoryTag.trim = function(value) {
      try {
         return value.trim();
      }catch(err){
         return value;
      }
    }

    NeoryTag.sanitizeWhitespaces = function(value) {
      try {
         value = value.replace(/\s\s+/g, ' ');
         return NeoryTag.trim(value);
      }catch(err){
         return value;
      }
    }

    NeoryTag.getDataLayerValue = function (name) {
        return window[neory.dataLayerName()][0][name];
    }
try {

  var value = "";

try {
    if(typeof(window["ntmData"]) == "object" && typeof(window["ntmData"][0]) == "object" &&  typeof(window["ntmData"][0]["event"]) == "undefined"){
      if(typeof window["ntmData"][0]["basketValue"] !== "undefined"){
      	value = window["ntmData"][0]["basketValue"];
      }
    } else {
        for(var i=0; i< window.dataLayer.length;i++ ){
            try{
                if(typeof window.dataLayer[i].basketValue !== 'undefined'){
                    value = window.dataLayer[i].basketValue;
                }
            } catch(e){}
        } 
    }
} catch(e){
    value = "error";
}

NeoryTag.registerResult(value);
} catch(err){
   NeoryTag.registerResult("");
}


})(neory);
    
})(neory_5haekhfgbz3oh8unu7sjcwitagz52zgl);
neory_5haekhfgbz3oh8unu7sjcwitagz52zgl.sendMacroResults();
