window.adaptiContent={};(function(){function sendCustomTrack(id,value,type){adapti.ajax.custom({value:value,type:type},id)}})();window.adaptiContent={};(function(){var dataSource=null;try{}catch($e){} if(dataSource!==null){adapti.customData=dataSource}})();var htmlLoader=document.createElement('div');htmlLoader.className='adapti-personnalizing';document.body.appendChild(htmlLoader);var loader=new adapti.loader.one(htmlLoader);loader.load();var data={path:'api/content'};if(adapti.customData!==undefined){data={path:'api/content',type:'POST',data:{data:JSON.stringify(adapti.customData)}}} adapti.ajax.link(data,function(res){loader.remove();res=JSON.parse(res);console.log(res);if(Array.isArray(res)){res.forEach(function(ruleInput){var exec=function(){};exec=adapti.customize.content.replace.raw;exec(ruleInput)})}})