/*
 * tagContainer Generator v86.4
 * Copyright Commanders Act
 * https://www.commandersact.com/fr/
 * Generated: 2023-10-20 10:29:08 Europe/Paris
 * ---
 * Version	: 171.00
 * IDTC 	: 1
 * IDS		: 301
 */
/*!compressed by terser*/ "undefined"==typeof tC&&(void 0!==document.domain&&void 0!==document.referrer||(document=window.document),function(t,e){var n,i=t.document,r=(t.location,t.navigator,t.tC,t.$,Array.prototype.push,Array.prototype.slice,Array.prototype.indexOf,Object.prototype.toString),a=(Object.prototype.hasOwnProperty,String.prototype.trim,function(t,e){return new a.fn.init(t,e,n)}),o=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,s={};a.fn=a.prototype={constructor:a,init:function(t,e,n){var r,s,d;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("string"==typeof t){if(!(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:o.exec(t))||!r[1]&&e)return!e||e.tC?(e||n).find(t):this.constructor(e).find(t);if(r[1])return d=(e=e instanceof a?e[0]:e)&&e.nodeType?e.ownerDocument||e:i,t=a.parseHTML(r[1],d,!0),c.test(r[1])&&a.isPlainObject(e)&&this.attr.call(t,e,!0),a.merge(this,t);if((s=i.getElementById(r[2]))&&s.parentNode){if(s.id!==r[2])return n.find(t);this.length=1,this[0]=s}return this.context=i,this.selector=t,this}return a.isFunction(t)?n.ready(t):(undefined!==t.selector&&(this.selector=t.selector,this.context=t.context),a.makeArray(t,this))},each:function(t,e){return a.each(this,t,e)},ready:function(t){return a.ready.promise(t),this}},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var t,e,n,i,r,o,c=arguments[0]||{},s=1,d=arguments.length,p=!1;for("boolean"==typeof c&&(p=c,c=arguments[1]||{},s=2),"object"==typeof c||a.isFunction(c)||(c={}),d===s&&(c=this,--s);s<d;s++)if(null!=(t=arguments[s]))for(e in t)n=c[e],c!==(i=t[e])&&(p&&i&&(a.isPlainObject(i)||(r=a.isArray(i)))?(r?(r=!1,o=n&&a.isArray(n)?n:[]):o=n&&a.isPlainObject(n)?n:{},c[e]=a.extend(p,o,i)):undefined!==i&&(c[e]=i));return c},a.extend({ssl:"https://manager.",randOrd:function(){return Math.round(Math.random())-.5},nodeNames:"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",rnocache:/<(?:script|object|embed|option|style)/i,rnoshimcache:new RegExp("<(?:"+a.nodeNames+")[\\s/>]","i"),rchecked:/checked\s*(?:[^=]|=\s*.checked.)/i,containersLaunched:{}}),a.extend({inArray:function(t,e,n){var i,r=Array.prototype.indexOf;if(e){if(r)return r.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},isFunction:function(t){return"function"===a.type(t)},isArray:Array.isArray||function(t){return"array"===a.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):s[r.call(t)]||"object"},each:function(t,e,n){var i,r=0,o=t.length,c=undefined===o||a.isFunction(t);if(n)if(c){for(i in t)if(!1===e.apply(t[i],n))break}else for(;r<o&&!1!==e.apply(t[r++],n););else if(c){for(i in t)if(!1===e.call(t[i],i,t[i]))break}else for(;r<o&&!1!==e.call(t[r],r,t[r++]););return t},log:function(t,e){try{a.getCookie("tCdebugLib")&&console&&console[e||"log"](t)}catch(t){}}}),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),(function(t,e){s["[object "+e+"]"]=e.toLowerCase()})),n=a(i);a.buildFragment=function(t,e,n){var r,o,c,s=t[0];return e=(e=!(e=e||i).nodeType&&e[0]||e).ownerDocument||e,!(1===t.length&&"string"==typeof s&&s.length<512&&e===i&&"<"===s.charAt(0))||a.rnocache.test(s)||!a.support.checkClone&&a.rchecked.test(s)||!a.support.html5Clone&&a.rnoshimcache.test(s)||(o=!0,c=undefined!==(r=jQuery.fragments[s])),r||(r=e.createDocumentFragment(),a.clean(t,e,r,n),o&&(a.fragments[s]=c&&r)),{fragment:r,cacheable:o}},t.tC=a}(window)),function(){if(!tC.maindomain){var t=location.hostname,e=t.split(".");e.length<2||t.match("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")?tC.maindomain=t:tC.maindomain=e[e.length-2]+"."+e[e.length-1]}var n={id_container:String(1),id_site:String(301),frequency:String(720),containerVersion:String(171),generatorVersion:String("86.4"),containerStart:Date.now()};tC.extend({internalvars:void 0!==tC.internalvars?tC.internalvars:{},internalFunctions:void 0!==tC.internalFunctions?tC.internalFunctions:{},privacyVersion:tC.privacyVersion||"",id_container:n.id_container,id_site:n.id_site,containerVersion:n.containerVersion,generatorVersion:n.generatorVersion,dedup_done:void 0!==tC.dedup_done&&tC.dedup_done,containerStart:tC.containerStart||n.containerStart});var i,r,a={};a["internalvars_"+n.id_site]=void 0!==tC["internalvars_"+n.id_site]?tC["internalvars_"+n.id_site]:{},tC.extend(a),window["tC_"+n.id_site+"_"+n.id_container]=n,tC.extend({launchTag:function(t,e,n,i,r,a){void 0===a&&(a=0),tC.array_launched_tags.push(e),tC.array_launched_tags_keys.push(t),tC.containersLaunched[i][r].t.push({id:t,label:e,idTpl:n}),window.top.postMessage('TC.EX:{"id":"'+t+'","idc":"'+r+'","idt":"'+n+'","ids":"'+i+'","lb":"'+e.replace(/"/g,'\\"')+'","idtr":"'+a+'"}',"*")}}),void 0===tC.containersLaunched&&(tC.containersLaunched={}),void 0===tC.containersLaunched[n.id_site]&&(tC.containersLaunched[n.id_site]={}),tC.containersLaunched[n.id_site][n.id_container]={v:n.containerVersion,t:[],g:n.generatorVersion},tC.coreReadyStandalone=!0,tC.isDOMReady&&(tC.coreReadyStandalone=!1),tC.domReady=tC.domReady||!1,tC.isDOMReady=tC.isDOMReady||function(){if("complete"===document.readyState||"loaded"===document.readyState)return!0;if("interactive"!==document.readyState)return!1;if(!document.documentElement.doScroll)return!0;try{return document.documentElement.doScroll("left"),!0}catch(t){return!1}},tC.waitingOnDomReadyCallBacks=tC.waitingOnDomReadyCallBacks||[],tC.excuteOnDomReadyCallBacks=tC.excuteOnDomReadyCallBacks||function(){for(var t=0;t<tC.waitingOnDomReadyCallBacks.length;t++)tC.waitingOnDomReadyCallBacks[t]();tC.waitingOnDomReadyCallBacks=[]},tC.onDomReady=tC.onDomReady||function(t){if(this.domReady)t();else{tC.waitingOnDomReadyCallBacks.push(t);var e=!1;document.addEventListener?(e=!0,document.addEventListener("DOMContentLoaded",(function(){document.removeEventListener("DOMContentLoaded",arguments.callee,!1),tC.excuteOnDomReadyCallBacks()}),!1)):document.attachEvent&&(e=!0,document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",arguments.callee),tC.excuteOnDomReadyCallBacks())})),document.documentElement.doScroll&&window===window.top&&function(){if(!tC.domReady){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(arguments.callee,0)}tC.excuteOnDomReadyCallBacks()}}()),e||(window.onload=tC.excuteOnDomReadyCallBacks)}},!0===tC.coreReadyStandalone&&(tC.isDOMReady()?tC.domReady=!0:tC.onDomReady((function(){tC.domReady=!0}))),function(){"use strict";tC.cactUtils={};var t=function(){};tC.cactUtils.formatArgumentsV2=function(e){var n={},i=0;return"string"==typeof e[i]&&(n.event=e[i++]),"object"==typeof e[i]&&(n.properties=Object.assign({},e[i++])),"object"==typeof e[i]&&(n.config=Object.assign({},e[i++])),"function"==typeof e[i]&&(n.callback=e[i++]),n.properties=n.properties||{},n.config=n.config||{},n.callback=n.callback||t,n}}(),function(){"use strict";var t=window.tC;if(!(null==t||t.cact&&t.cactInfo&&t.cactInfo.apiVersion>=2)){window.caReady=window.caReady||[],window.cact=window.cact||function(){window.caReady.push(arguments)},t.cact&&(window.caReady=window.caReady.map((function(t){if(function(t){return"[object Arguments]"===t.toString()||Array.isArray(t)}(t))return t;var e,n=JSON.parse(JSON.stringify(t)),i=n._done;return delete n.event,delete n.callback,delete n._done,e=0!==Object.keys(n).length?[t.event,n,t.callback]:[t.event,t.callback],i&&(e._tc_meta={done:i}),e}))),t.cact=t.cact||{},t.cactInfo={apiVersion:2};var e=function(e){e._tc_meta=e._tc_meta||{};var n=e[0];if(!e._tc_meta.done&&null!=t.cact[n]){e._tc_meta=e._tc_meta||{},e._tc_meta.done=!0;var r=t.cact[n]._tc_version;if(e=Array.prototype.slice.call(e,null==r?0:1),null==r){var a=i(e);t.cact[n](a,a.callback)}else t.cact[n].apply(t.cact,e)}},n=function(){},i=function(t){var e,i;return"object"==typeof t[1]?(e=t[1],i=t[2]):"function"==typeof t[1]?(e={},i=t[1]):e={},e.event=t[0],e.callback=i||n,e};t.cact.exec=function(){for(var n=0;n<window.caReady.length;++n)e(window.caReady[n]);var i=t.cactUtils.formatArgumentsV2(arguments);i&&i.callback&&i.callback()};Object.defineProperty(window.caReady,"push",{configurable:!0,value:function(t){Array.prototype.push.call(window.caReady,t),e(t)}}),t.cact.exec()}}(),function(){"use strict";tC.config=tC.config||{},tC.cact.config=function(){var t=tC.cactUtils.formatArgumentsV2(arguments),e=t.callback;Object.assign(tC.config,t.properties),e()},tC.cact.config._tc_version=2}(),function(){"use strict";tC.cact.trigger=function(){var t=tC.cactUtils.formatArgumentsV2(arguments),e=t.event,n=t.properties,i=t.config,r=t.callback;if("string"==typeof e&&""!==e)return tC.trigger({event:e,properties:n,config:i}),r(),tC.uniqueEventIndex},tC.cact.trigger._tc_version=2}(),tC.extend({isCurrentVersion:function(){if(!0===Boolean(tC.bypassBookmarklet))return!0;var t=tC.getCookie("tc_mode_test");return"1"!==t||"1"===t&&!1}}),tC.pixelTrack=tC.pixelTrack||{add:function(t,e){t=t||0,e=e||"img",tC.onDomReady((function(){var n;"iframe"===e?((n=document.createElement(e)).src=t,n.width=1,n.height=1,n.style.display="none",document.body.appendChild(n)):(n=new Image).src=t}))}},tC.setCookie=tC.setCookie||function(t,e,n,i,r,a,o){r||(r=tC.domain()),tC.config=tC.config||{},tC.cookieForceSameSite=tC.cookieForceSameSite||"",o=o||tC.config.cookieForceSameSite||tC.cookieForceSameSite,tC.isSameSiteContext()||(o="None"),o||(o=tC.isSubdomain(r)?"Lax":"None"),tC.cookieForceSecure=null!=tC.cookieForceSecure?tC.cookieForceSecure:"",null==a&&(a=tC.config.cookieForceSecure),null==a&&(a=tC.cookieForceSecure),a=Boolean(Number(a)),"none"===o.toLowerCase()&&(a=!0);var c=new Date;c.setTime(c.getTime()),n&&(n=1e3*n*60*60*24);var s=new Date(c.getTime()+n),d=t+"="+tC.cookieEncode(e)+(n?";expires="+s.toGMTString():"")+(i?";path="+i:";path=/")+(r?";domain="+r:"")+(a?";secure":"")+";SameSite="+o;document.cookie=d},tC.cookieEncode=tC.cookieEncode||function(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E"};return encodeURIComponent(t).replace(/[!~'()]/g,(function(t){return e[t]}))},tC.getCookie=tC.getCookie||function(t){if(null==t)return"";var e="@$".split("").some((function(e){return-1!==t.indexOf(e)}));t=e?t.replace("$","\\$"):encodeURIComponent(t);var n=new RegExp("(?:^|; )"+t+"=([^;]*)").exec(document.cookie);if(n){var i="";try{i=decodeURIComponent(n[1])}catch(t){i=unescape(n[1])}return i}return""},tC.cookieCheck=function(t){var e,n=(t=t||{}).domain?";domain="+t.domain:"",i=t.samesite?";samesite="+t.samesite:"",r=Math.random().toString(36).substr(2,9),a="tc_test_cookie="+r+";expires=0;path=/;"+i+n;document.cookie=a;var o=new RegExp("(?:^|; )tc_test_cookie=([^;]*)").exec(document.cookie);return o&&(o=o[1]),(e=o===r)&&(a="tc_test_cookie=;expires="+new Date(0).toUTCString()+";path=/;"+i+n,document.cookie=a),e},tC._samesite=tC._samesite||null,tC.isSameSiteContext=tC.isSameSiteContext||function(){return null!=tC._samesite||(tC.isCrossDomainContext()?tC._samesite=!1:tC._samesite=tC.cookieCheck({samesite:"lax"})),tC._samesite},tC.isCookieEnabled=function(){return!(!navigator.cookieEnabled||-1!==window.navigator.userAgent.indexOf("MSIE"))||tC.cookieCheck()},tC.removeCookie=tC.removeCookie||function(t,e){this.setCookie(t,"",-1,"/",e)},tC._domain=tC._domain||null,tC.domain=tC.domain||function(){if(null!=tC._domain)return tC._domain;var t=(tC.tc_hdoc.domain||"").toLowerCase().split("."),e=t.length;if(0===e)return"";for(var n,i=!1,r=2;!i&&r<=e;++r)n="."+t.slice(e-r,e).join("."),i=tC.cookieCheck({domain:n});return tC._domain=n||"",tC._domain},tC.isSubdomain=tC.isSubdomain||function(t){return t&&"."===t[0]&&(t=t.substr(1,t.length-1)),new RegExp(t+"$").test(tC.tc_hdoc.domain)},tC.isCrossDomainContext=tC.isCrossDomainContext||function(){try{return window.top.document,!1}catch(t){return!0}},tC.tc_hdoc=tC.tc_hdoc||!1,tC.tc_hdoc||(tC.tc_hdoc=tC.isCrossDomainContext()?window.document:window.top.document),tC.getClientDnsList=tC.getClientDnsList||function(){return[]||[]},tC.getClientCollectDns=function(){if(tC.clientCollectDns)return tC.clientCollectDns;var t=tC.domain();if(null!=t){"."!==t[0]&&(t="."+t);var e=tC.getClientDnsList(),n=new RegExp("^[\\w,\\d,\\-]*"+t.replace(".","\\.")+"$");return e.find((function(t){return n.test(t)}))}},tC.clientCollectDns=tC.clientCollectDns||tC.getClientCollectDns(),tC.clientCampaignDns=tC.clientCampaignDns||"redirect301.tagcommander.com",tC.getClientCampaignDns=function(){return tC.clientCampaignDns},tC.isTcDns=function(t){return""!==(t=t||"")&&(-1!==t.indexOf(".commander1.com")||-1!==t.indexOf(".tagcommander.com"))},tC.isCustomDns=function(t){return""!==(t=t||"")&&!tC.isTcDns(t)},tC.campaignForceCookieFirst=0,function(){"use strict";var t=window.tC;t.eventTarget=t.eventTarget||{_eventTarget:document.createElement("null"),addEventListener:function(t,e,n){this._eventTarget.addEventListener(t,e,n)},removeEventListener:function(t,e){this._eventTarget.removeEventListener(t,e)},dispatchEvent:function(t){var e;"string"!=typeof t?e=t:(e=document.createEvent("Event")).initEvent(t,!0,!0),this._eventTarget.dispatchEvent(e)}}}(),function(){"use strict";tC.uniqueEventIndex=tC.uniqueEventIndex||0,tC.triggeredEvents=tC.triggeredEvents||[],tC.config=tC.config||{};tC.config.collectionDomain=tC.config.collectionDomain||tC.clientCollectDns;var t=/[a-z0-9-.+_-]+@[a-z0-9-]+(\.[a-z0-9-]+)*/i,e=/(user|mail|pass(word|phrase)?|secret|((first|last)name))/i,n=function(e){return(e||"").replace(t,"*****")};tC.generateEventId=function(){for(var t=String(Date.now()).slice(2)+Math.round(1e13*Math.random());t.length<24;)t+="0";return t},tC.trigger=function(i){var r=i.event,a=i.properties||{},o=i.config||{},c=a.url||function(i){try{var r=new URL(i);return r.pathname=n(r.pathname),r.searchParams.forEach((function(i,a){return t.test(i)?r.searchParams.set(a,n(i)):e.test(a)?r.searchParams.set(a,"*****"):void 0})),r.toString()}catch(t){return i}}(window.location.href);tC.uniqueEventIndex++,tC.uniqueEventId=tC.generateEventId();var s,d=o.siteId||o.idSite||tC.config.siteId||tC.id_site,p=o.collectionDomain||window.tC_collect_dns||tC.config.collectionDomain||"collect.commander1.com",u="https://"+p+("collect.commander1.com"===p?"":"/cdp")+"/events?tc_s="+d,C=o.sourceKey||tC.config.sourceKey||"a5777fb6-f39d-42e4-9571-be4af66c21e5";if(C&&(u=u+"&token="+C),a.user=a.user||{},!a.user.consent_categories){var l=[];"privacy"in tC&&(l="getValidCategories"in tC.privacy?tC.privacy.getValidCategories():tC.privacy.getOptinCategories());var v=tC.getCookie(tC.privacy&&tC.privacy.getCN()||"TC_PRIVACY");/ALL/.test(v)&&(l=["1","2","3","4","5","6","7","8","9","10"]),a.user.consent_categories=l}if(!a.user.rejected_vendors){var g=[];tC.privacy&&(tC.privacy.checkOptoutAllVendors&&tC.privacy.checkOptoutAllVendors()?g="ALL":tC.privacy.checkOptinAllVendors&&!tC.privacy.checkOptinAllVendors()&&(g=tC.privacy.getOptoutVendors())),a.user.rejected_vendors=g}switch(a.revenue&&(a.amount=a.revenue),a.integrations=a.integrations||{},a.integrations.facebook=a.integrations.facebook||{},a.integrations.facebook.fbc=tC.getCookie("_fbc")||void 0,a.integrations.facebook.fbp=tC.getCookie("_fbp")||void 0,a.integrations.facebook.event_id=a.integrations.facebook.event_id||tC.uniqueEventId,r){case"page_view":a.title=document.title,a.path=location.pathname,a.url=c,""!==document.referrer&&(a.referrer=document.referrer),a.type=a.type||"other";break;case"purchase":a.status=a.status||"in_progress",a.type=a.type||"online"}try{s=window.Intl&&window.Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}var y,_=document.documentElement||{},f=window.navigator||{},m={title:document.title,url:c,lang:_.lang,referrer:document.referrer||tC.storage&&tC.storage.get("TC_REFERRER"),viewport:{width:_.clientWidth,height:_.clientHeight}},h={cookie:(y=["_fbp","_fbc",/^_+(ga|gcl|opt_|utm)/,/^(pm_sess|VISITOR_INFO1|FPGCL|GA_)/,"__gsas","NID","DSID","test_cookie","id","GED_PLAYLIST_ACTIVITY","ACLK_DATA","aboutads_sessNNN","FPAU","ANID","AID","IDE","TAID","FLC","RUL","FCCDCF","FCNEC","CUID","1P_JAR","Conversion","YSC","FPLC","_gid","AMP_TOKEN","FPID","_dc_gtm_","PAIDCONTENT","atuserid","xtidc","crto_mapped_user_id","awc","tduid","kwks2s","_ttp",/^_pk_id\./,"_pcid","pa_vid","rmStore","_uetmsclkid"],(document.cookie||"").split("; ").filter((function(t){var e=t.split("=")[0];return y.find((function(t){return t.test?t.test(e):e===t}))})).join("; ")||""),lang:f.language||f.userLanguage,screen:{width:window.screen.width,height:window.screen.height},timezone:s};tC.internalvars.caEventData=a;var b={event_name:r,context:{page:m,device:h,eventId:o.eventId?String(o.eventId):tC.uniqueEventId,version:2,created:(new Date).toJSON(),generatorVersion:tC.generatorVersion,containerVersion:tC.containerVersion}};if(Object.assign(b,a),100<tC.triggeredEvents.length)for(;tC.triggeredEvents.length>100;)tC.triggeredEvents.shift();tC.triggeredEvents.push(b),tC.lastTriggeredEvent=tC.triggeredEvents[tC.triggeredEvents.length-1];var w=JSON.stringify(b);if("function"==typeof navigator.sendBeacon&&!navigator.sendBeacon(u,w)){var k=!1;if(!(k=new XMLHttpRequest))return!1;k.open("POST",u,!0),k.withCredentials=!0,k.send(w)}return tC.uniqueEventIndex}}(),tC.storage={has:function(){try{return"localStorage"in window&&null!=window.localStorage&&(window.localStorage.setItem("TC_CHECK","1"),window.localStorage.removeItem("TC_CHECK"),!0)}catch(t){return!1}},isAvailable:function(){try{return window.localStorage,!0}catch(t){return!1}},get:function(t){if(this.isAvailable())return window.localStorage.getItem(t)},set:function(t,e){if(this.isAvailable())try{return window.localStorage.setItem(t,e)||!0}catch(t){return!1}},remove:function(t){if(this.isAvailable())return window.localStorage.removeItem(t)||!0},setWithExpiry:function(t,e,n){if(this.isAvailable()){var i=(new Date).getTime(),r=1e3*n*60*60*24,a=JSON.stringify({value:e,expires:i+r});try{window.localStorage.setItem(t,a)}catch(t){}}},getWithExpiry:function(t){if(this.isAvailable()){var e=window.localStorage.getItem(t);if(null==e)return null;var n=(new Date).getTime();return(e=JSON.parse(e)).expires<n?(this.remove(t),null):e.value}}},(i={}).hitCounter_301_1=function(){var t=window.tC_301_1;0===Math.floor(Math.random()*parseInt(t.frequency))&&tC.pixelTrack.add("https://manager.tagcommander.com/utils/hit.php?id="+t.id_container+"&site="+t.id_site+"&version="+t.containerVersion+"&frequency="+t.frequency+"&position="+tC.container_position+"&rand="+Math.random())},tC.extend(i),tC.container_position="undefined"!=typeof tc_container_position?tc_container_position:void 0!==tC.container_position?tC.container_position:0,tC.container_position++,"undefined"!=typeof tc_container_position&&tc_container_position++,tC.hitCounter_301_1(),tC.script={add:function(t,e,n){var i=document.getElementsByTagName("body")[0]||document.getElementsByTagName("script")[0].parentNode,r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=t,r.charset="utf-8",r.id="tc_script_"+Math.random(),i?(e&&(r.addEventListener?r.addEventListener("load",(function(){e()}),!1):r.onreadystatechange=function(){r.readyState in{loaded:1,complete:1}&&(r.onreadystatechange=null,e())}),n&&"number"==typeof n&&setTimeout((function(){i&&r.parentNode&&i.removeChild(r)}),n),i.insertBefore(r,i.firstChild)):tC.log("tC.script error : the element <script> or <body> is not found ! the file "+t+" is not implemented !","warn")}},tC.bypassBookmarklet=!0,function(){"use strict";if(window.tC=window.tC||{},null==window.tC.Bitfield){var t=function(t,e){if(isNaN(t)||t<0||t>=e)throw new RangeError("Bitfield: invalid index");return t>>3},e=function(t){return 1<<t%8},n=function(t){if(isNaN(t)||t<=0)throw new Error("Bitfield: size must be greater than zero");var e=Math.ceil(t/8);this.buffer=new Uint8Array(e),this.length=t};n.fromBase64URL=function(t){var e=t.replace(/\-/g,"+").replace(/_/g,"/"),i=atob(e),r=new n(8*i.length);for(var a in i)i.hasOwnProperty(a)&&(r.buffer[a]=i.charCodeAt(a));return r},n.prototype.toBase64URL=function(){var t=String.fromCharCode.apply(null,this.buffer);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_")},n.fromArray=function(t){for(var e=new n(t.length),i=0;i<t.length;++i)t[i]&&e.set(i);return e},n.prototype.toArray=function(){for(var t=Array(this.length),e=0;e<this.length;++e)t[e]=this.get(e);return t},n.prototype.get=function(n){var i=t(n,this.length),r=e(n);return Boolean(this.buffer[i]&r)},n.prototype.set=function(n){var i=t(n,this.length),r=e(n);return this.buffer[i]|=r,this},n.prototype.unset=function(n){var i=t(n,this.length),r=e(n);return this.buffer[i]&=~r,this},window.tC.Bitfield=n}}(),tC.fn.css=function(t){try{this.each((function(e,n){for(var i in t){var r="";if(/-/.test(i)){var a=i.split("-");for(var e in a)if(0==e)r=a[e];else{var o=a[e].split("");r+=o.shift().toUpperCase()+o.join("")}}else r=i;n.style[r]=t[i]}}))}catch(t){tC.log(["tC.fn.css->error",t.message],"warn")}return this},tC.fn.resetCss=function(){return this.each((function(t,e){tC(e).css({border:"none",background:"none",font:"none",margin:"none",padding:"none",top:"none",left:"none",buttom:"none",right:"none",width:"none",height:"none"})})),this},tC.arrayUniqueFilter=function(t,e,n){return n.indexOf(t)===e},tC.privacy=tC.privacy||{reactived:null,id:null,version:null,categories:null,vendorsDisabled:null,optinVendors:[],cookieData:null,init:function(){var t=tC.getCookie(tC.privacy.getCN());tC.privacy.cookieData=t?t.indexOf("@")>=0?t.split("@"):t.split(tC.privacy.getCS()):[],tC.privacy.vendorsDisabled=tC.getCookie(this.getVCN()).split(","),tC.privacy.optinVendors=[];var e=tC.privacy.cookieData[5]||"";if(""!==String(e)&&(e=tC.Bitfield.fromBase64URL(e).toArray()).forEach((function(t,e){!0===t&&tC.privacy.optinVendors.push(String(e))})),null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()){var n=tC.storage.getWithExpiry(this.getCN()+"_ACM");null!=n&&""!==String(n)&&(n=tC.Bitfield.fromBase64URL(n).toArray()).forEach((function(t,e){!0===t&&tC.privacy.optinVendors.push("acm_"+e)}))}if(tC.privacy.categories=tC.privacy.cookieData[2]||"",tC.privacy.cachedBlockedOnCategories=tC.privacy.cookieData[3]?tC.privacy.cookieData[3].split(","):null,"ALL"===tC.privacy.categories){var i=parseInt(tC.privacy.cookieData[0]||0);tC.privacy.categories=1===i?[]:tC.privacy.allSelectableCategoriesId||[]}else tC.privacy.categories=""!==tC.privacy.categories?tC.privacy.categories.split(","):[];null==tC.privacy.cookieData[0]&&tC.privacy.initIabLegitimateInterests&&tC.privacy.initIabLegitimateInterests();var r=(tC.privacy.cookieData[4]||"").split(",");tC.privacy.consentDates={updatedAt:Number(r[0])||null,createdAt:Number(r[1])||null,expiresAt:Number(r[2])||null}}},tC.privacy.saveConsent=function(t){var e=t.optin;if(null==tC.isCookieEnabledBool&&(tC.isCookieEnabledBool=tC.isCookieEnabled()),!1!==tC.isCookieEnabledBool){var n=t.categoryList||"";0===n.length&&tC.privacy.privacySelectableUnblockedCategoriesId&&tC.privacy.privacySelectableUnblockedCategoriesId.length>0&&(e=!1);var i=null!=t.hitOptin?t.hitOptin:t.optin,r=t.vendorList||"",a=t.privacyVersion||tC.privacy.getVersion(),o=t.privacyId||tC.privacy.getId(),c=t.action||"banner_button",s={};null!=t.acmVendorList&&(s.acmVendorList=t.acmVendorList),tC.privacy.cok(Number(!e),a,n,r,s),!1!==t.sendHit&&tC.privacy.hit(Number(i),a,o,c),window.tCPrivacyTagManager&&tC.privacy.sendDataOtherTMS(),tC.eventTarget.dispatchEvent("consent-update")}},tC.privacy.In=tC.privacy.In||function(t,e,n,i,r,a,o){o=o||{},tC.privacy.saveConsent({optin:!0,privacyId:t,privacyVersion:e,action:r,categoryList:i,vendorList:a,acmVendorList:o.acmVendorList,sendHit:o.sendHit})},tC.privacy.Out=tC.privacy.Out||function(t,e,n,i,r,a,o){o=o||{},"ALL"===i&&(i=""),tC.privacy.saveConsent({optin:!1,privacyId:t,privacyVersion:e,action:r,categoryList:i,vendorList:a,acmVendorList:o.acmVendorList,sendHit:o.sendHit})},tC.privacy.encodeVendorList=function(t){if(t.length>0){var e=(t=t.map(Number).sort((function(t,e){return t-e})))[t.length-1],n=new tC.Bitfield(e+1);return t.forEach((function(t){n.set(t)})),n.toBase64URL()}return""},tC.privacy.optinAll=function(t,e){t=t||"banner_button",e=e||{};var n,i=tC.privacy.getCategoryIdList().join(","),r=tC.privacy.getVendorIdList();if(null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()){var a=tC.privacy.prepareAcmVendorConsent(r);r=a.nonAcmVendors,n=tC.privacy.encodeVendorList(a.acmVendors)}r=tC.privacy.encodeVendorList(r),tC.privacy.saveConsent({optin:!0,action:t,categoryList:i,vendorList:r,acmVendorList:n,sendHit:e.sendHit})},tC.privacy.prepareConsent=function(t){var e=((t=t||{}).categories||[]).map(String),n=(t.vendors||[]).map(String);if(tC.privacy.iabCategoriesToPublicCategories){var i=tC.privacy.iabCategoriesToPublicCategories({purposes:(t.iabPurposes||[]).map(String),legIntPurposes:(t.iabPurposes||[]).map(String).filter((function(t){return 1!==t})),specialFeatures:(t.iabSpecialFeatures||[]).map(String)});e=e.concat(i)}if(tC.privacy.iabVendorsToPublicVendors){var r=tC.privacy.iabVendorsToPublicVendors({vendors:(t.iabVendors||[]).map(String),legIntVendors:(t.iabVendors||[]).map(String)});n=n.concat(r)}return{vendors:n,categories:e}},tC.privacy.optin=function(t,e){t=t||"banner_button",e=e||{};var n=tC.privacy.prepareConsent(e),i=n.categories,r=n.vendors;if(0!==i.length||0!==r.length){var a;if(i=i.concat(e.reset?[]:tC.privacy.getOptinCategories()).filter(tC.arrayUniqueFilter),r=r.concat(e.reset?[]:tC.privacy.getOptinVendors()).filter(tC.arrayUniqueFilter),null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()){var o=tC.privacy.prepareAcmVendorConsent(r);r=o.nonAcmVendors,a=tC.privacy.encodeVendorList(o.acmVendors)}r=tC.privacy.encodeVendorList(r),tC.privacy.saveConsent({optin:!0,action:t,categoryList:i,vendorList:r,acmVendorList:a,hitOptin:e.hitOptin,sendHit:e.sendHit})}},tC.privacy.optoutAll=function(t,e){var n;t=t||"banner_button",e=e||{},null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()&&(n=""),tC.privacy.saveConsent({optin:!1,action:t,categoryList:"",vendorList:"",acmVendorList:n,sendHit:e.sendHit})},tC.privacy.optout=function(t,e){t=t||"banner_button";var n=tC.privacy.prepareConsent(e),i=n.categories,r=n.vendors;if(0!==i.length||0!==r.length){var a=tC.privacy.getOptinCategories(),o=tC.privacy.getOptinVendors();if(i=a.filter((function(t){return-1===i.indexOf(t)})),r=o.filter((function(t){return-1===r.indexOf(t)})),0!==i.length||0!==r.length){var c;if(null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()){var s=tC.privacy.prepareAcmVendorConsent(r);r=s.nonAcmVendors,c=tC.privacy.encodeVendorList(s.acmVendors)}r=tC.privacy.encodeVendorList(r),tC.privacy.saveConsent({optin:!0,action:t,categoryList:i,vendorList:r,acmVendorList:c,sendHit:e.sendHit})}else tC.privacy.optoutAll(t,{sendHit:e.sendHit})}},tC.privacy.getFlattenCategories=function(){return tC.privacy.allCategories.flatMap((function(t){return(t.subCategories||[]).concat(t)}))},tC.privacy.getFlattenCategoryIdList=function(){return tC.privacy.getFlattenCategories().map((function(t){return t.id}))},tC.privacy.getCategoryIdList=function(){var t=tC.privacy.privacySelectableUnblockedCategoriesId||tC.privacy.getFlattenCategoryIdList();return tC.privacy.getIabCategoryIdList&&(t=t.concat(tC.privacy.getIabCategoryIdList())),t},tC.privacy.getVendorIdList=function(){var t=tC.privacy.includedVendorIds||[];return t=null!=tC.privacy.isIabGoogleAcmEnabled&&tC.privacy.isIabGoogleAcmEnabled()?t.filter((function(t){return!(t>1e3)})):t.filter((function(t){return t<1e3})),tC.privacy.getIabVendorIdList&&(t=t.concat(tC.privacy.getIabVendorIdList())),t},tC.privacy.getId=tC.privacy.getId||function(){return""},tC.privacy.getVersion=tC.privacy.getVersion||function(){return""},tC.privacy.setTcfConsent=function(t,e){var n,i=e.categories||{},r=e.vendors||{};if(t.purpose){if(t.purpose.consents)for(var a in t.purpose.consents)i[n="tcf2_"+a]=i[n]||{},i[n].status=!0===t.purpose.consents[a]?e.on:e.off;if(t.purpose.legitimateInterests)for(var o in t.purpose.legitimateInterests)i[n="tcf2_"+o]=i[n]||{},i[n].legIntStatus=!0===t.purpose.legitimateInterests[o]?e.on:e.off}if(t.vendor){if(t.vendor.consents)for(var c in t.vendor.consents)r[n="tcf2_"+c]=r[n]||{},r[n].status=!0===t.vendor.consents[c]?e.on:e.off;if(t.vendor.legitimateInterests)for(var s in t.vendor.legitimateInterests)r[n="tcf2_"+s]=r[n]||{},r[n].legIntStatus=!0===t.vendor.legitimateInterests[s]?e.on:e.off}if(t.specialFeatureOptins)for(var d in t.specialFeatureOptins)i[n="tcf2_sf_"+d]=i[n]||{},i[n].status=!0===t.specialFeatureOptins[d]?e.on:e.off;return{categories:i,vendors:r}},tC.privacy.getConsent=function(t){var e=(t=t||{}).pretty,n=!!e&&"off",i=null;null==tC.privacy.cookieData&&tC.privacy.init(),0===tC.privacy.cookieData.length?(n=e?"unset":null,i="unset"):1===Number(tC.privacy.cookieData[0])&&(i="all-off");var r=!0,a=!1;e&&(r="on",a="off");var o=tC.privacy.getOptinCategories().reduce((function(t,e){return t[e]=r,t}),{}),c=tC.privacy.getCategoryIdList();c=c.reduce((function(t,e){var a=e,c="status";e>1e4&&e<13e3?(a="tcf2_"+Math.ceil((e-1e4)/2),e%2==0&&(c="legIntStatus")):e>13e3&&(a="tcf2_sf_"+(e-13e3));return t[a]=t[a]||{},t[a][c]=o[e]||n,null==i&&t[a][c]!==r&&(i="mixed"),t}),{}),tC.privacy.getBlockedOnCategories().forEach((function(t){c[t]={status:r,required:!0}}));var s=tC.privacy.getVendorIdList(),d=tC.privacy.getOptinVendors().reduce((function(t,e){return t[e]=r,t}),{});if(s=s.reduce((function(t,e){var a=e,o="status";e>1e3&&(a="tcf2_"+Math.ceil((e-1e3)/2),e%2==0&&(o="legIntStatus"));return t[a]=t[a]||{},t[a][o]=d[e]||n,null==i&&t[a][o]!==r&&(i="mixed"),t}),{}),tC.storage.getWithExpiry(tC.privacy.getCN()+"_TCF")){var p=tC.storage.getWithExpiry(tC.privacy.getCN()+"_TCF"),u=tC.privacy.setTcfConsent(p,{categories:c,vendors:s,on:r,off:a});c=u.categories,s=u.vendors}i=i||"all-on";var C={version:"1.0",siteId:tC.id_site,consentId:tC.privacy.getConsentId(),bannerId:String(tC.privacy.getId()),bannerVersion:tC.privacy.getVersion()};return tC.privacy.iabVendorList&&(C.tcfPolicyVersion=String(tC.privacy.iabVendorList.tcfPolicyVersion)),tC.privacy.consentDates&&(C.dateCreated=tC.privacy.consentDates.createdAt,C.dateUpdated=tC.privacy.consentDates.updatedAt,C.dateExpires=tC.privacy.consentDates.expiresAt),{meta:C,consent:{status:i,categories:c,vendors:s}}},tC.privacy.updateConsent=function(t){if("all-on"!==(t=t||{}).status)if("all-off"!==t.status){t.categories=t.categories||{},t.vendors=t.vendors||{};var e=!t.pretty||"on",n=!!t.pretty&&"off",i={categories:[],vendors:[],sendHit:!1},r={categories:[],vendors:[],sendHit:!1},a=null!=window.__tcfapi;if(Object.keys(t.categories).forEach((function(o){var c=o,s=t.categories[o];if(a){var d=String(o).match(/tcf2_(\d*)/),p=d?String(o).match(/tcf2_sf_(\d*)/):null;p?c=13e3+Number(p[1]):d&&(c=2*Number(d[1])-1+1e4,s.legIntStatus===e?i.categories.push(c+1):s.legIntStatus===n&&r.categories.push(c+1))}s.status===e?i.categories.push(c):s.status===n&&r.categories.push(c)})),Object.keys(t.vendors).forEach((function(o){var c=o,s=t.vendors[o];if(a){var d=String(o).match(/tcf2_(\d*)/);d&&(c=2*Number(d[1])-1+1e3,s.legIntStatus===e?i.vendors.push(c+1):s.legIntStatus===n&&r.vendors.push(c+1))}s.status===e?i.vendors.push(c):s.status===n&&r.vendors.push(c)})),tC.privacy.optin(t.action,i),tC.privacy.optout(t.action,r),null==t.sendHit||t.sendHit){var o=tC.privacy.getOptinCategories().length>0||tC.privacy.getOptinVendors().length>0,c=t.action||"banner_button";tC.privacy.hit(Number(o),tC.privacy.getVersion(),tC.privacy.getId(),c)}}else tC.privacy.optoutAll(t.action,{sendHit:t.sendHit});else tC.privacy.optinAll(t.action,{sendHit:t.sendHit})},tC.privacy.revokeConsent=function(){tC.privacy.optoutAll(),tC.removeCookie(tC.privacy.getCN(),window.tc_privacy_force_domain),tC.removeCookie(tC.privacy.getPCCN(),window.tc_privacy_force_domain),tC.privacy.cookieData=[],tC.storage&&(tC.storage.remove(tC.privacy.getCN()+"_TCF"),tC.storage.remove(tC.privacy.getCN()+"_ACM")),tC.removeCookie("TCPID",window.tc_privacy_force_domain),tC.setCookie("TCPID",tC.privacy.rand(),393,"/",window.tc_privacy_force_domain||tC.domain()),tC.eventTarget.dispatchEvent("consent-revoke")},tC.privacy.cok=tC.privacy.cok||function(t,e,n,i,r){r=r||{},n=n||"",i=i||"";var a=tC.privacy.consentDuration||13;a=30*parseInt(a);var o=void 0!==window.tc_privacy_force_domain?window.tc_privacy_force_domain:null;tC.privacy.iabVendorList&&(e=e+"|"+tC.privacy.iabVendorList.gvlSpecificationVersion+"|"+tC.privacy.iabVendorList.tcfPolicyVersion+"|"+tC.privacy.iabVendorList.vendorListVersion),tC.privacy.getId&&(e=e+"|"+tC.privacy.getId()+"|"+tC.id_site);var c=(new Date).getTime(),s=c;if(tC.privacy.consentDates){var d=c+1e3*a*60*60*24;tC.privacy.consentDates.updatedAt=c,tC.privacy.consentDates.createdAt=tC.privacy.consentDates.createdAt||c,tC.privacy.consentDates.expiresAt=d,s=[tC.privacy.consentDates.updatedAt,tC.privacy.consentDates.createdAt,tC.privacy.consentDates.expiresAt].join(",")}var p=t+tC.privacy.getCS()+e+tC.privacy.getCS()+n+tC.privacy.getCS()+(tC.privacy.blockedOnCategories||"")+tC.privacy.getCS()+s+tC.privacy.getCS()+i;if(tC.setCookie(tC.privacy.getCN(),p,a,"/",o),tC.setCookie(tC.privacy.getPCCN(),n,a,"/",o),null!=r.acmVendorList&&tC.storage.setWithExpiry(tC.privacy.getCN()+"_ACM",r.acmVendorList,a),null!=window.__tcfapi){var u=tC.privacy.getCN()+"_TCF";tC.storage.remove(u),window.__tcfapi("getTCData",2,(function(t,e){e&&(t.vendorListVersion=tC.privacy.iabVendorList.vendorListVersion,tC.storage.setWithExpiry(u,t,a))}))}},tC.privacy.checkOptinAllVendors=function(){var t=tC.privacy.getOptinVendors().map(String);return tC.privacy.getVendorIdList().map(String).every((function(e){return-1!==t.indexOf(e)}))},tC.privacy.checkOptoutAllVendors=function(){return tC.privacy.getVendorIdList().length>0&&0===tC.privacy.getOptinVendors().length},tC.privacy.sendBeacon=function(t){t=t||{};var e=tC.privacy.getHitDomain(t.tc_optout),n=-1===e.indexOf("://")?"https://":"",i=-1===e.indexOf(".commander1.com")&&-1===e.indexOf("privacy.trustcommander.net"),r=n+e+(i?"/trust":"")+"/privacy-consent/";navigator.sendBeacon&&navigator.sendBeacon(r,JSON.stringify(t))||(t=Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&"),tC.pixelTrack.add(r+"?"+t+"&rand="+Math.random()))},tC.privacy.createConsentId=function(){var t=tC.getCookie("TCPID");return""===t&&(t=tC.privacy.rand(),tC.setCookie("TCPID",t,393,"/",tC.domain())),t},tC.privacy.getConsentId=tC.privacy.getConsentId||function(){return tC.privacy.createConsentId()||tC.getCookie("TCPID")},tC.privacy.hit=tC.privacy.hit||function(t,e,n,i){var r;r=0===t?1:1===t?0:parseInt(tC.privacy.cookieData[0]||1);var a=tC.privacy.getPrivacyHitsCategory(),o=!0;if(a){var c=tC.privacy.categories||[],s=c.length,d=tC.privacy.tagsCategoriesAssignation[a];tC.privacy.init(),o=tC.privacy.validRules(a)||-1!==(tC.privacy.blockedOnCategories||[]).indexOf(d)||1===t&&c.indexOf(String(d))>-1&&-1===tC.privacy.categories.indexOf(String(d))||0===t&&s>0&&0===tC.privacy.categories.length}if(o){var p=tC.privacy.privacySelectableUnblockedCategoriesId||tC.privacy.getFlattenCategoryIdList(),u=p.slice(),C=tC.privacy.getOptinCategories(),l=0;C.length>=p.length&&(p.forEach((function(t){C.indexOf(String(t))>-1&&u.splice(u.indexOf(t),1)})),l=0===u.length?1:0);var v={id_tc:String(tC.privacy.containerId||1),site:String(301),version:e,id_privacy:n,type_action:i,privacy_action:t.toString(),optin_categories:tC.privacy.getValidCategories(),optout_categories:tC.privacy.getOptoutCategories(),optin_to_all:l,tcpid:tC.privacy.getConsentId(),tc_optout:r},g=Number(window.tc_privacy_do_not_track||tC.getCookie("TC_PRIVACY_DO_NOT_TRACK"));if(g){if(!(-1!==["1","0"].indexOf(v.privacy_action)))return;v.do_not_track=Boolean(g)}1===t&&(v.optin_vendors=tC.privacy.getOptinVendors(),v.optin_to_all_vendors=Number(tC.privacy.checkOptinAllVendors())),tC.privacy.sendBeacon(v)}},tC.privacy.rand=tC.privacy.rand||function(){var t=new Date;return String()+t.getYear()+(t.getMonth()+1)+t.getDay()+t.getHours()+t.getMinutes()+t.getSeconds()+parseInt(12345678942*Math.random())},tC.privacy.set=tC.privacy.set||function(t){tC.privacy.settings=t},tC.privacy.getCN=tC.privacy.getCN||function(){return void 0!==window.tc_privacy_cookie_name?window.tc_privacy_cookie_name:"TC_PRIVACY"},tC.privacy.getPCCN=tC.privacy.getPCCN||function(){return tC.privacy.getCN()+"_CENTER"},tC.privacy.getVCN=function(){return tC.privacy.getCN()+"_VENDOR"},tC.privacy.isEnable=tC.privacy.isEnable||function(){return null===tC.privacy.cookieData&&tC.privacy.init(),tC.privacy.cookieData.length<=2||""!==String(tC.privacy.reactivate)&&String(tC.privacy.cookieData[1])===String(tC.privacy.reactivate)},tC.privacy.getContainer=tC.privacy.getContainer||function(t){return t.getElementById("tc_div_preview")||t.body},tC.privacy.getPrivacyHitsCategory=function(){return null},tC.privacy.getHitDomain=function(t){var e=window.tc_collect_dns||tC.clientCollectDns;return e||(0===Number(t)?"https://privacy.commander1.com":"https://privacy.trustcommander.net")},tC.privacy.hitCounter=function(t,e){if(!Number(window.tc_privacy_do_not_track||tC.getCookie("TC_PRIVACY_DO_NOT_TRACK"))){e=e||"banner",tC.privacy.init();var n=parseInt(tC.privacy.cookieData[0]||1);n=null!=tC.privacy.cookieData[2]&&""===String(tC.privacy.cookieData[2])?Number(!n):n;var i=tC.privacy.getPrivacyHitsCategory();if(null==i||tC.privacy.validRules(i)){var r={id_tc:String(tC.privacy.containerId||1),site:String(301),version:tC.privacy.getVersion(),id_privacy:t,type_action:e,privacy_action:"V",tcpid:tC.privacy.getConsentId(),tc_optout:n};tC.privacy.sendBeacon(r)}}},tC.privacy.getOptinCategories=function(){tC.privacy.init();var t=parseInt(tC.privacy.cookieData[0]||0);return tC.privacy.categories&&tC.privacy.categories.length&&""===tC.privacy.categories[0]?[]:0===t&&null!=tC.privacy.categories&&"undefined"!==tC.privacy.categories&&-1!==Number(tC.privacy.categories)?tC.privacy.categories:[]},tC.privacy.getOptoutCategories=function(){var t=tC.privacy.getValidCategories();return tC.privacy.getCategoryIdList().concat(tC.privacy.getBlockedOnCategories()).map(String).filter((function(e){return-1===t.indexOf(e)}))},tC.privacy.getOptinVendors=function(){return tC.privacy.init(),tC.privacy.optinVendors||[]},tC.privacy.getOptoutVendors=function(){tC.privacy.init();var t=tC.privacy.getVendorIdList().map(String),e=(tC.privacy.optinVendors||[]).map(String);return t.filter((function(t){return-1===e.indexOf(String(t))}))},tC.privacy.getBlockedOnCategories=function(){return(tC.privacy.cachedBlockedOnCategories||tC.privacy.blockedOnCategories||[]).map(String)},tC.privacy.getValidCategories=function(){return tC.privacy.getOptinCategories().concat(tC.privacy.getBlockedOnCategories())},tC.privacy.getValidVendors=function(){var t=tC.privacy.getValidCategories();return tC.privacy.getOptinVendors().filter((function(e){var n=tC.privacy.includedVendors[e];return!!n&&(null==n.categories||n.categories.every((function(e){return-1!==t.indexOf(String(e))})))}))},tC.privacy.getCS=tC.privacy.getCS||function(){return void 0!==tC.privacyCookieSeparator?tC.privacyCookieSeparator:"@"},tC.privacy.validRules=tC.privacy.validRules||function(t){if(null===tC.privacy.cookieData&&tC.privacy.init(),!tC.privacy.cookieData.length||1===tC.privacy.cookieData.length&&""===tC.privacy.cookieData[0])return!0;var e=0===parseInt(tC.privacy.cookieData[0]||0),n=tC.privacy.cookieData[1]?tC.privacy.cookieData[1].split("|"):[0],i=parseInt(n[0]),r=n.length>2?parseInt(n[n.length-2]):0,a=(tC.privacy.cookieData[2]||"").split(","),o=tC.privacy.cookieData[3]?tC.privacy.cookieData[3].split(","):[],c=tC.privacy.optinVendors,s=tC.privacy.tagsCategoriesAssignation&&tC.privacy.tagsCategoriesAssignation[t]?tC.privacy.tagsCategoriesAssignation[t]:0,d=tC.privacy.tagsVendorsAssignation&&tC.privacy.tagsVendorsAssignation[t]?tC.privacy.tagsVendorsAssignation[t]:0,p=-1!==tC.inArray(s.toString(),o),u=-1!==tC.inArray(s.toString(),a)||-1!==tC.inArray("ALL",a),C=-1!==tC.inArray(d.toString(),c),l=-1!==tC.inArray(parseInt(t),tC.privacy.minorTags),v=tC.privacy.includedVendors&&tC.privacy.includedVendors[d]?parseInt(tC.privacy.includedVendors[d].privacyVersion[r]):0;return(p||e&&u)&&(!d||C||l&&v>i)},tC.privacy.sendDataOtherTMS=tC.privacy.sendDataOtherTMS||function(){var t=tC.privacy.getListCategoryConsent();if(window.tCPrivacyTagManager)switch(window.tCPrivacyTagManager){case"gtm":window.dataLayer&&"function"==typeof window.dataLayer.push&&window.dataLayer.push({tcVendorsConsent:"",tcCategoriesConsent:t,event:"tcConsentChanged"});break;case"adobe":window.digitalData&&window.digitalData.user&&(window.digitalData.user.tcVendorsConsent="",window.digitalData.user.tcCategoriesConsent=t)}window.tcVendorsConsent="",window.tcCategoriesConsent=t},tC.privacy.getListCategoryConsent=tC.privacy.getListCategoryConsent||function(){if(""===tC.getCookie(tC.privacy.getCN()))return"no_consent";var t=tC.privacy.getOptinCategories();return Array.isArray(t)&&(0===t.length||1===t.length&&""===String(t[0]))&&tC.privacy.privacySelectableUnblockedCategoriesId&&tC.privacy.privacySelectableUnblockedCategoriesId.length>0?"optout":tC.privacy.getValidCategories().join()},tC.privacy.getEmbeddedCategories=function(){return tC.privacy.allSelectableCategoriesId?tC.privacy.allSelectableCategoriesId.map((function(t){return parseInt(t)})):[]},tC.privacy.tagsCategoriesAssignation=[tC.privacy.tagsCategoriesAssignation||{},{310:1,E12:1,E5:1,E15:1,E4:1,E6:1,E7:1,E8:1,E9:1,E20:1,E30:1,E10:1,E13:1,316:1,318:1,330:1,336:1,348:1,350:1,342:1,354:1,356:1,358:1,360:1,388:1,412:1,431:1,445:1,259:1,269:1,324:1,444:1,232:1,237:1,242:1,280:1,258:1,433:1,312:1,320:1,322:1,332:1,340:1,344:1,352:1,418:1,440:1,442:1,443:1,441:1,447:1,452:1,260:1,460:1,376:1,325:1,254:1,256:1,429:1,428:1,268:1,306:1,308:1,314:1,327:1,338:1,346:1,394:1,414:1,416:1,459:1,396:1,402:1,420:1,455:1,422:1,454:1,424:1,456:1,425:1,434:1,438:1,435:1,436:1,437:1,448:1,449:1,450:1,453:1,458:1,461:1,462:1,463:1,464:1,469:1,468:1,470:1,467:1,465:1,473:1,430:1,471:1,466:1,472:1,266:1,451:1,298:1,300:1,499:1,302:1,496:1,505:1,506:1,504:1,500:1,501:1,503:1,502:1,508:1,446:1,304:1,263:1,507:1,329:1,267:1,294:2,E26:2,281:2,457:2,398:2,386:2,410:2,370:2,366:2,270:2,509:2,510:2,497:2,364:2,404:2,368:2,165:3,278:3,169:3,167:3,135:3,334:3,362:6,427:6,426:6,374:4,372:4}].reduce((function(t,e){return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}),{}),tC.privacy.tagsVendorsAssignation=[tC.privacy.tagsVendorsAssignation||{},{165:23,278:23,169:23,167:23,334:23,431:5,259:5,258:5,433:5,374:5,260:5,254:5,256:5,429:5,428:5,372:5,430:5,444:6,232:6,312:6,332:6,440:6,442:6,443:6,441:6,447:6,376:6,325:6,327:6,394:6,396:6,402:6,434:6,438:6,435:6,436:6,437:6,451:7,298:7,300:7,499:7,302:7,304:7,310:8,316:8,318:8,324:8,320:8,322:8,306:8,308:8,314:8,329:8,135:24,420:10,E12:10,E5:10,E15:10,E4:10,E6:10,E7:10,E8:10,E9:10,E20:10,E10:10,E13:10,422:10,266:10,263:10,267:10,269:18,242:18,280:18,268:18,237:12,346:12,336:1,350:1,352:1,338:1,342:4,340:4,344:4,348:9,281:2,270:2,354:13,E26:13,356:13,358:13,360:13,362:13,294:13,452:13,453:13,370:13,366:13,510:13,497:13,364:13,404:13,368:13,457:15,398:15,386:15,410:15,509:15,418:16,E30:16,414:16,416:16,424:16,425:16,448:16,450:16,461:16,469:16,468:16,470:16,467:16,465:16,473:16,471:16,466:16,472:16,427:3,426:3,455:14,454:14,456:14,446:14,449:17,460:25,459:25,458:25,462:25,463:25,464:25,496:27,505:28,506:28,504:28,500:28,501:28,503:28,502:28,508:28,507:28}].reduce((function(t,e){return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}),{}),tC.privacy.allCategories=tC.privacy.allCategories||[{id:1,label:"Anuncios personalizados",categoryParent:-1,description:"Kiabi utiliza rastreadores para mostrar publicidad personalizada basada en tu navegaci�n y tu perfil de usuario.",isUsedInTarget:"",subCategories:null,tagsId:[310,"E12","E5","E15","E4","E6","E7","E8","E9","E20","E30","E10","E13",316,318,330,336,348,350,342,354,356,358,360,388,412,431,445,259,269,324,444,232,237,242,280,258,433,312,320,322,332,340,344,352,418,440,442,443,441,447,452,260,460,376,325,254,256,429,428,268,306,308,314,327,338,346,394,414,416,459,396,402,420,455,422,454,424,456,425,434,438,435,436,437,448,449,450,453,458,461,462,463,464,469,468,470,467,465,473,430,471,466,472,266,451,298,300,499,302,496,505,506,504,500,501,503,502,508,446,304,263,507,329,267]},{id:2,label:"Rendimiento",categoryParent:-1,description:"Kiabi utiliza soluciones de optimizaci�n y seguimiento de la navegaci�n para mejorar la experiencia, conocer las necesidades y optimizar la navegaci�n.",isUsedInTarget:"",subCategories:null,tagsId:[294,"E26",281,457,398,386,410,370,366,270,509,510,497,364,404,368]},{id:3,label:"Atenci�n al cliente",categoryParent:-1,description:"Kiabi ofrece chats para facilitar tu b�squeda y responder a tus preguntas. Tambi�n utilizamos formularios para recoger tu nivel de satisfacci�n y/o tus opiniones.",isUsedInTarget:"",subCategories:null,tagsId:[165,278,169,167,135,334]},{id:5,label:"Personalizaci�n",categoryParent:-1,description:"Nuestra web y aplicaci�n utilizan cookies para personalizar la visualizaci�n de nuestros productos y servicios en funci�n de los que hayas visto anteriormente.",isUsedInTarget:"",subCategories:null,tagsId:[]},{id:6,label:"Funcional",categoryParent:-1,description:"Las cookies funcionales y t�cnicas son estrictamente necesarias para la prestaci�n de nuestros servicios y no pueden ser desactivadas.",isUsedInTarget:"",subCategories:null,tagsId:[362,427,426]},{id:4,label:"Redes sociales",categoryParent:-1,description:"nuestro sitio ofrece compartir contenido en redes sociales e identificaci�n con su cuenta a trav�s de sus identificadores de redes sociales (por ejemplo: Facebook Connect).",isUsedInTarget:"",subCategories:null,tagsId:[374,372]}],tC.privacy.includedVendors=tC.privacy.includedVendors||{23:{id:23,label:"TokyWoky",description:"",policyUrl:"https://www.tokywoky.com/privacy-policy",privacyVersion:{12:32,14:30,20:6},categories:[3]},5:{id:5,label:"Facebook",description:"",policyUrl:"https://es-la.facebook.com/about/privacy",privacyVersion:{12:32,14:30,20:6},categories:[1]},6:{id:6,label:"Google",description:"",policyUrl:"https://policies.google.com/privacy?hl=es",privacyVersion:{12:32,14:30,20:6},categories:[1]},7:{id:7,label:"Pinterest",description:"",policyUrl:"https://policy.pinterest.com/fr/privacy-policy ",privacyVersion:{12:32,14:30,20:6},categories:[1]},8:{id:8,label:"Weborama",description:"",policyUrl:"https://weborama.com/es/privacy-policy-2/",privacyVersion:{12:32,14:30,20:6},categories:[1]},24:{id:24,label:"Bazaarvoice",description:"",policyUrl:"https://www.bazaarvoice.com/legal/privacy-policy/  ",privacyVersion:{12:32,14:30,20:6},categories:[3]},10:{id:10,label:"Google Analytics",description:"",policyUrl:"https://policies.google.com/privacy?hl=es",privacyVersion:{12:32,14:30,20:6},categories:[2,1]},18:{id:18,label:"Notify Me",description:"",policyUrl:"https://notify.me/privacy",privacyVersion:{12:32,14:30,20:6},categories:[1]},12:{id:12,label:"Microsoft Bing",description:"",policyUrl:"https://privacy.microsoft.com/es-es/privacystatement",privacyVersion:{12:32,14:30,20:6},categories:[1]},22:{id:22,label:"Cookies de personalizaci�n",description:"",policyUrl:"",privacyVersion:{12:32,14:30,20:6},categories:[5]},20:{id:20,label:"Facebook Connect",description:"",policyUrl:"https://www.facebook.com/policy/cookies ",privacyVersion:{12:32,14:30,20:6},categories:[4]},19:{id:19,label:"Google Connect",description:"",policyUrl:"https://policies.google.com/privacy",privacyVersion:{12:32,14:30,20:6},categories:[4]},21:{id:21,label:"Critizr",description:"",policyUrl:"https://critizr.com/en/privacy-policy/",privacyVersion:{12:32,14:30,20:6},categories:[3]},11:{id:11,label:"Chatbot Kiabi",description:"",policyUrl:"www.webchat.clustaar.io ",privacyVersion:{12:32,14:30,20:6},categories:[3]},1:{id:1,label:"Adot",description:"",policyUrl:"https://we-are-adot.com/en/privacy-policy/[LB1] ",privacyVersion:{12:32,14:30,20:6},categories:[1]},4:{id:4,label:"Adgravity",description:"",policyUrl:"https://adgravity.com/politica-de-privacidad/",privacyVersion:{12:32,14:30,20:6},categories:[1]},9:{id:9,label:"Microsoft",description:"",policyUrl:"https://privacy.microsoft.com/es-es/privacystatement",privacyVersion:{12:32,14:30,20:6},categories:[1]},2:{id:2,label:"AB Tasty",description:"",policyUrl:"https://www.abtasty.com/es/",privacyVersion:{12:32,14:30,20:6},categories:[2]},13:{id:13,label:"Content Square",description:"",policyUrl:"https://contentsquare.com/privacy-policy/",privacyVersion:{12:32,14:30,20:6},categories:[2,1]},15:{id:15,label:"Caast",description:"",policyUrl:"https://caast.tv/gdpr",privacyVersion:{12:32,14:30,20:6},categories:[2]},16:{id:16,label:"RTB HOUSE",description:"",policyUrl:"https://www.rtbhouse.com/privacy-center",privacyVersion:{12:32,14:30,20:6},categories:[1]},3:{id:3,label:"Commanders Act",description:"",policyUrl:"https://www.commandersact.com/en/privacy/",privacyVersion:{12:32,14:30,20:6},categories:[6]},14:{id:14,label:"Batch",description:"",policyUrl:"https://careers.batch.com/data-privacy",privacyVersion:{12:32,14:30,20:6},categories:[1]},17:{id:17,label:"Google Adwords",description:null,policyUrl:null,privacyVersion:{12:32,14:30,20:6},categories:[1]},25:{id:25,label:"TikTok",description:null,policyUrl:null,privacyVersion:{12:32,14:30,20:6},categories:[1,4]},26:{id:26,label:"Piano Analytics",description:"",policyUrl:"https://piano.io/privacy-policy/",privacyVersion:{12:32,14:30,20:6},categories:[2]},27:{id:27,label:"Rokt",description:null,policyUrl:null,privacyVersion:{12:32,14:30,20:6},categories:[1]},28:{id:28,label:"Easyence",description:null,policyUrl:null,privacyVersion:{12:32,14:30,20:6},categories:[1]},29:{id:29,label:"Ekoo",description:null,policyUrl:null,privacyVersion:{12:32},categories:[1]}},tC.privacy.minorTags=(tC.privacy.minorTags||[]).concat([]).filter(tC.arrayUniqueFilter),tC.privacy.setLocale=function(t){tC.privacy.lang=t},function(){"use strict";var t=window.tC;null!=t&&null!=t.cact&&(t.cact["consent.get"]=function(){var e=t.cactUtils.formatArgumentsV2(arguments),n=t.privacy.getConsent({pretty:!0});e.callback(n)},t.cact["consent.get"]._tc_version=2,t.cact["consent.onReady"]=function(){var e=t.cactUtils.formatArgumentsV2(arguments),n=t.privacy.getConsent({pretty:!0}),i=n.consent.status;if("unset"!==i)return n.updateEvent="set",void e.callback(n);var r=function(){var n=t.privacy.getConsent({pretty:!0});n.updateEvent="set",e.callback(n),t.eventTarget.removeEventListener("consent-update",r)};t.eventTarget.addEventListener("consent-update",r)},t.cact["consent.onReady"]._tc_version=2,t.cact["consent.onUpdate"]=function(){var e=t.cactUtils.formatArgumentsV2(arguments),n=t.privacy.getConsent({pretty:!0}),i="unset"===n.consent.status?"set":"changed",r=function(n){var r=t.privacy.getConsent({pretty:!0});"consent-revoke"===n.type?(r.updateEvent="revoked",i="set"):(r.updateEvent=i,i="changed"),e.callback(r)};t.eventTarget.addEventListener("consent-update",r),t.eventTarget.addEventListener("consent-revoke",r)},t.cact["consent.onUpdate"]._tc_version=2)}(),tC.extend({}),tC.event=tC.event||{},tC.event.addToCartListFunctions=tC.event.addToCartListFunctions||[],tC.event.addToCartListIdTags=tC.event.addToCartListIdTags||[],-1==tC.event.addToCartListIdTags.indexOf("426")&&(tC.event.addToCartListIdTags.push("426"),tC.event.addToCartListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("426")&&"ficheproduit"==tc_vars.env_template&&(tC.executeTag426_301_1(t,e),tC.launchTag(426,"Commanders Act - OneTag - Add To Cart - Pages Produits",1867,301,1,6))}))),-1==tC.event.addToCartListIdTags.indexOf("420")&&(tC.event.addToCartListIdTags.push("420"),tC.event.addToCartListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("420")&&("famille"!=tc_vars.env_template&&"vitrine"!=tc_vars.env_template&&"univers"!=tc_vars.env_template&&"recherche"!=tc_vars.env_template&&"sousfamille"!=tc_vars.env_template&&"landing"!=tc_vars.env_template||(tC.executeTag420_301_1(t,e),tC.launchTag(420,"Event AddToCart - Listing Products",26,301,1,6)))}))),-1==tC.event.addToCartListIdTags.indexOf("422")&&(tC.event.addToCartListIdTags.push("422"),tC.event.addToCartListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("422")&&"ficheproduit"==tc_vars.env_template&&(tC.executeTag422_301_1(t,e),tC.launchTag(422,"Event AddToCart - Product Page",26,301,1,6))}))),tC.event.addToCart=function(t,e){tc_array_events=tC.container_301_1.init_tc_array_events(e);for(var n=0,i=tC.event.addToCartListFunctions.length;n<i;n++)tC.event.addToCartListFunctions[n](t,e)},tC.event.event_productListFunctions=tC.event.event_productListFunctions||[],tC.event.event_productListIdTags=tC.event.event_productListIdTags||[],-1==tC.event.event_productListIdTags.indexOf("428")&&(tC.event.event_productListIdTags.push("428"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("428")&&"ficheproduit"==tc_vars.env_template&&"add_to_cart"==tc_array_events.action&&(tC.executeTag428_301_1(t,e),tC.launchTag(428,"Facebook - Add to Cart - Pages Produits",2652,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("454")&&(tC.event.event_productListIdTags.push("454"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("454")&&(tC.executeTag454_301_1(t,e),tC.launchTag(454,"Batch - Add to cart",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("436")&&(tC.event.event_productListIdTags.push("436"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("436")&&"add_to_cart"==tc_array_events.action&&(tC.executeTag436_301_1(t,e),tC.launchTag(436,"Floodlight - Ajout panier",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("449")&&(tC.event.event_productListIdTags.push("449"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("449")&&"add_to_cart"==tc_array_events.action&&(tC.executeTag449_301_1(t,e),tC.launchTag(449,"Google Ads - add_to_cart - Arcane",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("451")&&(tC.event.event_productListIdTags.push("451"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("451")&&"page_product_page"==tc_array_events.type_ajout_panier&&"add_to_cart"==tc_array_events.action&&(tC.executeTag451_301_1(t,e),tC.launchTag(451,"[Pinterest] - AddToCart - FP",2796,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("499")&&(tC.event.event_productListIdTags.push("499"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("499")&&"page_list"==tc_array_events.type_ajout_panier&&"add_to_cart"==tc_array_events.action&&(tC.executeTag499_301_1(t,e),tC.launchTag(499,"[Pinterest] - AddToCart - PL",2796,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("453")&&(tC.event.event_productListIdTags.push("453"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("453")&&(tC.executeTag453_301_1(t,e),tC.launchTag(453,"Content Square - Add to cart",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("458")&&(tC.event.event_productListIdTags.push("458"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("458")&&"add_to_cart"==tc_array_events.action&&(tC.executeTag458_301_1(t,e),tC.launchTag(458,"TikTok - Add to Cart [042023] ",2870,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("463")&&(tC.event.event_productListIdTags.push("463"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("463")&&tc_array_events.list_name.toString().toLowerCase().match(new RegExp("^(/recherche).*".replace(new RegExp("\\*","g"),".*"),"gi"))&&"view_item_list"==tc_array_events.action&&(tC.executeTag463_301_1(t,e),tC.launchTag(463,"Tiktok - Search [042023]",2888,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("471")&&(tC.event.event_productListIdTags.push("471"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("471")&&tc_array_events.list_name.toString().toLowerCase().match(new RegExp("^(/recherche).*".replace(new RegExp("\\*","g"),".*"),"gi"))&&"view_item_list"==tc_array_events.action&&(tC.executeTag471_301_1(t,e),tC.launchTag(471,"[RTB House] - HostedJS - Search",1316,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("465")&&(tC.event.event_productListIdTags.push("465"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("465")&&"add_to_cart"==tc_array_events.action&&(tC.executeTag465_301_1(t,e),tC.launchTag(465,"[RTB House] - HostedJS - Add To Cart",1316,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("504")&&(tC.event.event_productListIdTags.push("504"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("504")&&"view_item_list"==tc_array_events.action&&"page_liste"==tc_array_events.list_name&&(tC.executeTag504_301_1(t,e),tC.launchTag(504,"[Easyence] - impression.view",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("500")&&(tC.event.event_productListIdTags.push("500"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("500")&&"page_product_page"==tc_array_events.type_ajout_panier&&"add_to_cart"==tc_array_events.action&&(tC.executeTag500_301_1(t,e),tC.launchTag(500,"[Easyence] - add_to_cart - FP",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("501")&&(tC.event.event_productListIdTags.push("501"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("501")&&"page_list"==tc_array_events.type_ajout_panier&&"add_to_cart"==tc_array_events.action&&(tC.executeTag501_301_1(t,e),tC.launchTag(501,"[Easyence] - add_to_cart - PL",26,301,1,9))}))),-1==tC.event.event_productListIdTags.indexOf("503")&&(tC.event.event_productListIdTags.push("503"),tC.event.event_productListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("503")&&"page_liste"==tc_array_events.list_name&&"select_content"==tc_array_events.action&&(tC.executeTag503_301_1(t,e),tC.launchTag(503,"[Easyence] - impression.click",26,301,1,9))}))),tC.event.event_product=function(t,e){tc_array_events=tC.container_301_1.init_tc_array_events(e);for(var n=0,i=tC.event.event_productListFunctions.length;n<i;n++)tC.event.event_productListFunctions[n](t,e)},tC.event.mesureHybrideListFunctions=tC.event.mesureHybrideListFunctions||[],tC.event.mesureHybrideListIdTags=tC.event.mesureHybrideListIdTags||[],-1==tC.event.mesureHybrideListIdTags.indexOf("474")&&(tC.event.mesureHybrideListIdTags.push("474"),tC.event.mesureHybrideListFunctions.push((function(t,e){"es.commande.panier.accueil"==tc_vars.page_name&&(tC.executeTag474_301_1(t,e),tC.launchTag(474,"[Piano Analytics] -  Mesure Hybride",2910,301,1,10))}))),tC.event.mesureHybride=function(t,e){tc_array_events=tC.container_301_1.init_tc_array_events(e);for(var n=0,i=tC.event.mesureHybrideListFunctions.length;n<i;n++)tC.event.mesureHybrideListFunctions[n](t,e)},tC.event.pianoLaunchTagsListFunctions=tC.event.pianoLaunchTagsListFunctions||[],tC.event.pianoLaunchTagsListIdTags=tC.event.pianoLaunchTagsListIdTags||[],-1==tC.event.pianoLaunchTagsListIdTags.indexOf("476")&&(tC.event.pianoLaunchTagsListIdTags.push("476"),tC.event.pianoLaunchTagsListFunctions.push((function(t,e){"es.commande.panier.accueil"==tc_vars.page_name&&(tC.executeTag476_301_1(t,e),tC.launchTag(476,"[Piano Analytics] -  page.display",2910,301,1,11))}))),-1==tC.event.pianoLaunchTagsListIdTags.indexOf("477")&&(tC.event.pianoLaunchTagsListIdTags.push("477"),tC.event.pianoLaunchTagsListFunctions.push((function(t,e){"es.commande.panier.accueil"==tc_vars.page_name&&(tC.executeTag477_301_1(t,e),tC.launchTag(477,"[Piano Analytics] - cart.display",2910,301,1,11))}))),tC.event.pianoLaunchTags=function(t,e){tc_array_events=tC.container_301_1.init_tc_array_events(e);for(var n=0,i=tC.event.pianoLaunchTagsListFunctions.length;n<i;n++)tC.event.pianoLaunchTagsListFunctions[n](t,e)},tC.event.pageEasyenceListFunctions=tC.event.pageEasyenceListFunctions||[],tC.event.pageEasyenceListIdTags=tC.event.pageEasyenceListIdTags||[],-1==tC.event.pageEasyenceListIdTags.indexOf("506")&&(tC.event.pageEasyenceListIdTags.push("506"),tC.event.pageEasyenceListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("506")&&"ficheproduit"!=tc_vars.env_template&&(tC.executeTag506_301_1(t,e),tC.launchTag(506,"[Easyence] - page view",26,301,1,18))}))),-1==tC.event.pageEasyenceListIdTags.indexOf("502")&&(tC.event.pageEasyenceListIdTags.push("502"),tC.event.pageEasyenceListFunctions.push((function(t,e){""!=tC.getCookie(tC.privacy.getCN())&&tC.privacy.validRules("502")&&"ficheproduit"==tc_vars.env_template&&(tC.executeTag502_301_1(t,e),tC.launchTag(502,"[Easyence] - FP",26,301,1,18))}))),tC.event.pageEasyence=function(t,e){tc_array_events=tC.container_301_1.init_tc_array_events(e);for(var n=0,i=tC.event.pageEasyenceListFunctions.length;n<i;n++)tC.event.pageEasyenceListFunctions[n](t,e)},tC.extend({container:{reload:function(){var t=arguments[0];tC.reload_events=!0,tC.container_position=0,tC.containerList&&tC.each(tC.containerList,(function(e,n){"object"==typeof tC["container_"+n]&&"function"==typeof tC["container_"+n].reload&&(tC["container_"+n].reload(t,!0),tC.reload_events=!1)}))}}}),(r={}).container_301_1={load:function(t,e){tC.container_position++,tC.hitCounter_301_1(),this.datalayer(),tC.array_launched_tags=[],tC.array_launched_tags_keys=[],"object"!=typeof t&&(t={}),"boolean"!=typeof e&&(e=!1),void 0===t.exclusions&&(t.exclusions=[]),-1===t.exclusions.indexOf("datastorage")&&this.datastorage(),-1===t.exclusions.indexOf("deduplication")&&this.deduplication(),-1===t.exclusions.indexOf("internalvars")&&this.internalvars(),-1===t.exclusions.indexOf("privacy")&&this.privacy(),-1===t.exclusions.indexOf("eventlisteners")&&this.eventlisteners(),!1!==tC.reload_events&&void 0!==t.events||(t.events={}),tC.each(t.events,(function(t,e){tC.event&&"function"==typeof tC.event[t]&&e.length>0&&(void 0===e[1]?tC.event[t](e[0]):tC.event[t](e[0],e[1]))}))},reload:function(t,e){"boolean"!=typeof e&&(e=!1),e||(tC.container_position=0,tC.reload_events=!0),this.load(arguments[0],!0)},datalayer:function(){"undefined"==typeof tc_vars&&(window.tc_vars=[]);var t="product_status|product_discount|product_quantity|product_idcouleur|product_saison|product_size|product_color|product_stickers|product_rayon|user_account_id|address_ip|test_version|product_reco|product_position|product_sousfamille|product_famille|env_channel|product_id_refco|checkout_step|checkout_label|order_product_name|timestamp|product_univers|product_cross_sell_origin|product_discount_tf|product_discount_ati|personalized_session|returning_order_page|order_subcommands_number|order_customer_type|order_shipping_mkp_amount|product_type|product_customization_allowed|env_type|personalized_user_type|user_activecustomer|user_customer|site_version|env_template|env_work|env_language|env_country|user_recency|user_frequency|user_amount|user_smb|user_logged|user_session_id|user_email|user_id|user_firstname|page_cat1|page_cat2|page_cat3|page_cat4|page_name|page_error|page_categoryid|page_categoryname|order_product_id|basket_type|order_shipping_kiabi_amount|order_promo_codes|basket_nb_distinct_product|product_cartcreation|order_id|basket_id|order_amount_ati_without_sf|order_amount_ati_with_sf|order_discount_ati|order_ship_ati|order_amount_tf_without_sf|order_amount_tf_with_sf|order_discount_tf|order_ship_tf|order_newcustomer|order_tax|order_payment_methods|order_shipping_methods|order_currency|order_email|order_email_optin|order_products_number|order_products|product_store|product_mkp_vendor|product_marketplace|product_id|product_id_upsell1|product_id_upsell2|product_id_upsell3|product_id_crossell1|product_id_crossell2|product_id_crossell3|product_name|product_unitprice_ati|product_unitprice_tf|product_currency|product_trademark|product_url_page|product_url_picture|product_breadcrumb_id|product_breadcrumb_label|product_rating|product_descriptif|product_sku|list_products|search_keywords|search_page_number|search_results_number|search_filters".split("|");for(var e in t)tc_vars.hasOwnProperty(t[e])||(tc_vars[t[e]]="");window.top.postMessage("TC.EX.EXT_VARS.RELOAD","*")},datastorage:function(){window.top.postMessage("TC.EX.DATASTORAGE.RELOAD","*")},deduplication:function(){tC.dedup&&(tC.dedup.LeA=!1,tC.dedup.LeAD=!1,tC.dedup.LeC=!1,tC.dedup.LeCD=!1,tC.dedup.LeV=!1,tC.dedup.LeVD=!1,tC.dedup.FeA=!1,tC.dedup.FeAD=!1,tC.dedup.FeC=!1,tC.dedup.FeCD=!1,tC.dedup.FeV=!1,tC.dedup.FeVD=!1,tC.dedup.AeA=[],tC.dedup.AeC=[],tC.dedup.AeV=[],tC.dedup.init(),tC.dedup.setEventList())},eventlisteners:function(){},internalvars:function(){var t=tC.internalvars_301_1.listVar;if(t.length>0)for(var e=0;e<t.length;e++)tC.internalvars_301.initiators["var"+t[e]]();window.top.postMessage("TC.EX.INT_VARS.RELOAD","*")},privacy:function(){tC.privacy&&tC.privacy.init()},init_tc_array_events:function(t){void 0===t&&(t={});var e="product_with_customization|page_name|list_name|basket_type|order_subcommands_number|user_session_id|order_shipping_methods|product_list|category|action|label|value|product_id|product_trademark|product_univers|product_sousfamille|product_famille|product_quantity|kb_coloris|product_unitprice_tf|checkout_label|checkout_step|env_work|env_language|type_ajout_panier|env_country|env_template|env_channel|site_version|order_newcustomer|pagename|timestamp|product_color|product_stickers|product_saison|product_name|address_ip|filter_value|filter_type|sort_value|uri|test_version|product_size|product_id_refco|product_store|product_reco|product_cross_sell_origin|product_discount|product_discount_ati|product_discount_tf|search_keywords|user_account_id|search_page_number|user_logged|search_results_number|list_products|product_rayon|product_unitprice_ati|page_cat1|page_cat2|page_cat3|page_cat4|id".split("|");for(var n in e)t.hasOwnProperty(e[n])||(t[e[n]]="");return t}},tC.extend(r),void 0===tC.containerList&&(tC.containerList=[]),tC.containerList.push("301_1"),window.tc_array_events=tC.container_301_1.init_tc_array_events([]),window["tC"+n.id_site+"_"+n.id_container]=tC,window.postMessage('TC.EX.CONTAINER:{"id":'+n.id_container+',"ids":'+n.id_site+',"v":"'+n.containerVersion+'","g":'+n.generatorVersion+',"p":'+tC.container_position+',"url":"'+(document.currentScript?document.currentScript.src:"")+'"}',"*")}();
tC.container_301_1.datalayer();tC.array_launched_tags=[];tC.array_launched_tags_keys=[];

/*DYNAMIC JS BLOCK 1*/

/*END DYNAMIC JS BLOCK 1*/

/*CUSTOM_JS_BLOCK1*/
function tc_events_global(var1,var2,var3){if(typeof tc_events_1==="function")tc_events_1(var1,var2,var3);if(typeof tc_events_2==="function")tc_events_2(var1,var2,var3);if(typeof tc_events_3==="function")tc_events_3(var1,var2,var3);}
function clean(str){return str.replace(/[^0-9a-z-A-Z ]/g,"").replace(/ +/," ")}
tC.internalFunctions.tc_function_4=function(my_var){var diacritics=[/[\300-\306]/g,/[\340-\346]/g,/[\310-\313]/g,/[\350-\353]/g,/[\314-\317]/g,/[\354-\357]/g,/[\322-\330]/g,/[\362-\370]/g,/[\331-\334]/g,/[\371-\374]/g,/[\321]/g,/[\361]/g,/[\307]/g,/[\347]/g];var chars=['A','a','E','e','I','i','O','o','U','u','N','n','C','c'];for(var i=0;i<diacritics.length;i++){my_var=my_var.replace(diacritics[i],chars[i]);}
return(clean(my_var));};
/*END_CUSTOM_JS_BLOCK1*/
if(tC.privacyCookieDisallowed){tC.setCookie('TCPID','',-1,'',tC.domain());}
tC.id_site='301';tC.internalFunctions.SHA256={};tC.internalFunctions.SHA256.chrsz=8;tC.internalFunctions.SHA256.hexcase=0;tC.internalFunctions.SHA256.safe_add=function(x,y){var lsw=(x&0xFFFF)+(y&0xFFFF);var msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF);}
tC.internalFunctions.SHA256.S=function(X,n){return(X>>>n)|(X<<(32-n));}
tC.internalFunctions.SHA256.R=function(X,n){return(X>>>n);}
tC.internalFunctions.SHA256.Ch=function(x,y,z){return((x&y)^((~x)&z));}
tC.internalFunctions.SHA256.Maj=function(x,y,z){return((x&y)^(x&z)^(y&z));}
tC.internalFunctions.SHA256.Sigma0256=function(x){return(tC.internalFunctions.SHA256.S(x,2)^tC.internalFunctions.SHA256.S(x,13)^tC.internalFunctions.SHA256.S(x,22));}
tC.internalFunctions.SHA256.Sigma1256=function(x){return(tC.internalFunctions.SHA256.S(x,6)^tC.internalFunctions.SHA256.S(x,11)^tC.internalFunctions.SHA256.S(x,25));}
tC.internalFunctions.SHA256.Gamma0256=function(x){return(tC.internalFunctions.SHA256.S(x,7)^tC.internalFunctions.SHA256.S(x,18)^tC.internalFunctions.SHA256.R(x,3));}
tC.internalFunctions.SHA256.Gamma1256=function(x){return(tC.internalFunctions.SHA256.S(x,17)^tC.internalFunctions.SHA256.S(x,19)^tC.internalFunctions.SHA256.R(x,10));}
tC.internalFunctions.SHA256.core_sha256=function(m,l){var K=new Array(0x428A2F98,0x71374491,0xB5C0FBCF,0xE9B5DBA5,0x3956C25B,0x59F111F1,0x923F82A4,0xAB1C5ED5,0xD807AA98,0x12835B01,0x243185BE,0x550C7DC3,0x72BE5D74,0x80DEB1FE,0x9BDC06A7,0xC19BF174,0xE49B69C1,0xEFBE4786,0xFC19DC6,0x240CA1CC,0x2DE92C6F,0x4A7484AA,0x5CB0A9DC,0x76F988DA,0x983E5152,0xA831C66D,0xB00327C8,0xBF597FC7,0xC6E00BF3,0xD5A79147,0x6CA6351,0x14292967,0x27B70A85,0x2E1B2138,0x4D2C6DFC,0x53380D13,0x650A7354,0x766A0ABB,0x81C2C92E,0x92722C85,0xA2BFE8A1,0xA81A664B,0xC24B8B70,0xC76C51A3,0xD192E819,0xD6990624,0xF40E3585,0x106AA070,0x19A4C116,0x1E376C08,0x2748774C,0x34B0BCB5,0x391C0CB3,0x4ED8AA4A,0x5B9CCA4F,0x682E6FF3,0x748F82EE,0x78A5636F,0x84C87814,0x8CC70208,0x90BEFFFA,0xA4506CEB,0xBEF9A3F7,0xC67178F2);var HASH=new Array(0x6A09E667,0xBB67AE85,0x3C6EF372,0xA54FF53A,0x510E527F,0x9B05688C,0x1F83D9AB,0x5BE0CD19);var W=new Array(64);var a,b,c,d,e,f,g,h,i,j;var T1,T2;m[l>>5]|=0x80<<(24-l%32);m[((l+64>>9)<<4)+15]=l;for(var i=0;i<m.length;i+=16){a=HASH[0];b=HASH[1];c=HASH[2];d=HASH[3];e=HASH[4];f=HASH[5];g=HASH[6];h=HASH[7];for(var j=0;j<64;j++){if(j<16)W[j]=m[j+i];else W[j]=tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.Gamma1256(W[j-2]),W[j-7]),tC.internalFunctions.SHA256.Gamma0256(W[j-15])),W[j-16]);T1=tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.safe_add(h,tC.internalFunctions.SHA256.Sigma1256(e)),tC.internalFunctions.SHA256.Ch(e,f,g)),K[j]),W[j]);T2=tC.internalFunctions.SHA256.safe_add(tC.internalFunctions.SHA256.Sigma0256(a),tC.internalFunctions.SHA256.Maj(a,b,c));h=g;g=f;f=e;e=tC.internalFunctions.SHA256.safe_add(d,T1);d=c;c=b;b=a;a=tC.internalFunctions.SHA256.safe_add(T1,T2);}
HASH[0]=tC.internalFunctions.SHA256.safe_add(a,HASH[0]);HASH[1]=tC.internalFunctions.SHA256.safe_add(b,HASH[1]);HASH[2]=tC.internalFunctions.SHA256.safe_add(c,HASH[2]);HASH[3]=tC.internalFunctions.SHA256.safe_add(d,HASH[3]);HASH[4]=tC.internalFunctions.SHA256.safe_add(e,HASH[4]);HASH[5]=tC.internalFunctions.SHA256.safe_add(f,HASH[5]);HASH[6]=tC.internalFunctions.SHA256.safe_add(g,HASH[6]);HASH[7]=tC.internalFunctions.SHA256.safe_add(h,HASH[7]);}
return HASH;}
tC.internalFunctions.SHA256.str2binb=function(str){var bin=Array();var mask=(1<<tC.internalFunctions.SHA256.chrsz)-1;for(var i=0;i<str.length*tC.internalFunctions.SHA256.chrsz;i+=tC.internalFunctions.SHA256.chrsz){bin[i>>5]|=(str.charCodeAt(i/tC.internalFunctions.SHA256.chrsz)&mask)<<(24-i%32);}
return bin;}
tC.internalFunctions.SHA256.Utf8Encode=function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c);}
else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}
else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}
return utftext;}
tC.internalFunctions.SHA256.binb2hex=function(binarray){var hex_tab=tC.internalFunctions.SHA256.hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i<binarray.length*4;i++){str+=hex_tab.charAt((binarray[i>>2]>>((3-i%4)*8+4))&0xF)+
hex_tab.charAt((binarray[i>>2]>>((3-i%4)*8))&0xF);}
return str;}
tC.internalFunctions.SHA256.SHA256=function(s){s=tC.internalFunctions.SHA256.Utf8Encode(s);return(s!=='')?tC.internalFunctions.SHA256.binb2hex(tC.internalFunctions.SHA256.core_sha256(tC.internalFunctions.SHA256.str2binb(s),s.length*tC.internalFunctions.SHA256.chrsz)):'';}

/*VARIABLES_BLOCK*/
tC.internalvars_301.initiators=tC.internalvars_301.initiators||{};tC.internalvars_301_1={listVar:[]}
tC.internalvars_301.initiators.var119=function(){tC.internalvars.redirection_param="";var query_string;query_string=(function(){query_string_temp=document.location.href.split('#');query_string_temp.shift();return query_string_temp.join('#');})();if(query_string.indexOf("redirectionhttps")!=-1)
{tC.internalvars.redirection_param="redirectionhttps";}}
tC.internalvars_301.initiators.var119();tC.internalvars_301_1.listVar.push(119);tC.internalvars_301.initiators.var206=function(){tC.internalvars.deduporder="";var dedup_orderid=tC.getCookie("cookieorder");var pagename=tc_vars["page_name"];if((pagename.indexOf("commande.paiement.confirmation")===-1)&&(pagename.indexOf("commande.e-reservation.confirmation")===-1)&&(pagename.indexOf("commande.paiement.confirmation.invite")===-1)){tC.internalvars.deduporder="no order";}
else if(((pagename.indexOf("commande.paiement.confirmation")>-1)||(pagename.indexOf("commande.e-reservation.confirmation")>-1)||(pagename.indexOf("commande.paiement.confirmation.invite")>-1))&&(tc_vars["order_id"]===dedup_orderid)){tC.internalvars.deduporder="old order";}
else{tC.internalvars.deduporder="new order";}}
tC.internalvars_301.initiators.var206();tC.internalvars_301_1.listVar.push(206);tC.internalvars_301.initiators.var208=function(){tC.internalvars.voicesearch="";var url=document.location.href;var voicesearch=url.indexOf("vocalSearch=true");if((tc_vars["env_template"]=="recherche")&&(voicesearch>0)){tC.internalvars.voicesearch="yes";}else{tC.internalvars.voicesearch="no";}}
tC.internalvars_301.initiators.var208();tC.internalvars_301_1.listVar.push(208);tC.internalvars_301.initiators.var219=function(){tC.internalvars.cart_value="";var temp_concat=tc_vars["order_products"];var cart_value=0;for(var i=0;i<temp_concat.length;i++){var order=temp_concat[i];cart_value=cart_value+(order["order_product_unitprice_tf"]*order["order_product_quantity"]);}
tC.internalvars.cart_value=cart_value;}
tC.internalvars_301.initiators.var219();tC.internalvars_301_1.listVar.push(219);tC.internalvars_301.initiators.var220=function(){tC.internalvars.connectionType="";var connectionType='unknown';try{var connection=navigator.connection||navigator.mozConnection||navigator.webkitConnection;connectionType=connection.effectiveType}catch(e){}
tC.log(connectionType);tC.internalvars.connectionType=connectionType;}
tC.internalvars_301.initiators.var220();tC.internalvars_301_1.listVar.push(220);tC.internalvars_301.initiators.var289=function(){tC.internalvars.PIANO_ID_SITE="";switch(tc_vars.env_country){case"be":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637209":"637217"
break;case"es":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637208":"637215"
break;case"it":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637212":"637218"
break;case"nl":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637210":"637220"
break;case"fr":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637094":"637216"
break;case"pt":tC.internalvars.PIANO_ID_SITE="production"==tc_vars.env_work?"637211":"637222"
break;default:tC.internalvars.PIANO_ID_SITE=""
break;}}
tC.internalvars_301.initiators.var289();tC.internalvars_301_1.listVar.push(289);tC.internalvars_301.initiators.var290=function(){tC.internalvars.cart_turnovertaxincluded=0;var order_products=tc_vars.order_products;for(var i=0;i<order_products.length;i++){tC.internalvars.cart_turnovertaxincluded+=(parseFloat(order_products[i]['order_product_unitprice_ati'])*Number(order_products[i]['order_product_quantity']));}}
tC.internalvars_301.initiators.var290();tC.internalvars_301_1.listVar.push(290);tC.internalvars_301.initiators.var291=function(){tC.internalvars.cart_turnovertaxfree=0;var order_products=tc_vars.order_products;for(var i=0;i<order_products.length;i++){tC.internalvars.cart_turnovertaxfree+=(parseFloat(order_products[i]['order_product_unitprice_tf'])*Number(order_products[i]['order_product_quantity']));}}
tC.internalvars_301.initiators.var291();tC.internalvars_301_1.listVar.push(291);tC.internalvars_301.initiators.var292=function(){tC.internalvars.PIANO_COOKIE_DOMAIN="";var cookiePreprodDomain=".pictime.fr";switch(tc_vars.env_country){case"be":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.be":cookiePreprodDomain
break;case"es":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.es":cookiePreprodDomain
break;case"it":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.it":cookiePreprodDomain
break;case"nl":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.nl":cookiePreprodDomain
break;case"fr":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.com":cookiePreprodDomain
break;case"pt":tC.internalvars.PIANO_COOKIE_DOMAIN="production"==tc_vars.env_work?".kiabi.pt":cookiePreprodDomain
break;default:tC.internalvars.PIANO_COOKIE_DOMAIN=""
break;}}
tC.internalvars_301.initiators.var292();tC.internalvars_301_1.listVar.push(292);tC.internalvars_301.initiators.var300=typeof tC.internalvars_301.initiators.var300=="function"?tC.internalvars_301.initiators.var300:function(){tC.internalvars.transaction_firstpurchase=tC.internalvars.transaction_firstpurchase?tC.internalvars.transaction_firstpurchase:"";}
tC.internalvars_301.initiators.var300();tC.internalvars_301_1.listVar.push(300);tC.internalvars_301.initiators.var101=function(){switch(tc_vars["env_template"]){case"homepage":gecomm_prodid='';gecomm_pagetype='home';gecomm_totalvalue='';break;case"univers":case"rayon":case"famille":case"sousfamille":case"vitrine":gecomm_prodid='';gecomm_pagetype='category';gecomm_totalvalue='';break;case"recherche":gecomm_prodid='';gecomm_pagetype='searchresults';gecomm_totalvalue='';break;case"ficheproduit":gecomm_prodid=tc_vars["product_id"]+'-'+tc_vars["product_color"];gecomm_pagetype='product';gecomm_totalvalue=tc_vars["product_unitprice_ati"];break;case"commande":case"e-reservation":switch(tc_vars["page_name"]){case"es.commande.paiement.confirmation":case"es.commande.paiement.confirmation.invite":case"es.commande.paiement.confirmation.contreremboursement":case"es.commande.paiement.confirmation.bonremboursement":case"es.commande.paiement.confirmation.cheque":case"es.commande.paiement.confirmation.paypal":case"es.commande.e-reservation.confirmation":var order_product=tc_vars["order_products"];var tc_productID=new Array();for(var i=0;i<order_product.length;i++){tc_productID.push(order_product[i]["order_product_id"]+'-'+order_product[i]["order_product_color"]);}
gecomm_prodid=tc_productID;gecomm_pagetype='purchase';gecomm_totalvalue=tc_vars["order_amount_ati_without_sf"];break;case"es.commande.panier.accueil":case"es.commande.e-reservation.accueil":var order_product=tc_vars["order_products"];var tc_productID=new Array();for(var i=0;i<order_product.length;i++){tc_productID.push(order_product[i]["order_product_id"]+'-'+order_product[i]["order_product_color"]);}
gecomm_prodid=tc_productID;gecomm_pagetype='cart';gecomm_totalvalue='';break;default:gecomm_prodid='';gecomm_pagetype='cart';gecomm_totalvalue='';break;}
break;default:gecomm_prodid='';gecomm_pagetype='other';gecomm_totalvalue='';break;}}
tC.internalvars_301.initiators.var101();tC.internalvars_301_1.listVar.push(101);var page_categoryname=tc_vars["page_cat1"];if(tc_vars["page_cat2"].length>0){page_categoryname=tc_vars["page_cat2"];}
if(tc_vars["page_cat3"].length>0){page_categoryname=tc_vars["page_cat3"];}
if(tc_vars["page_cat4"].length>0){page_categoryname=tc_vars["page_cat4"];}
tC.internalvars_301.initiators.var120=function(){tC.internalvars.uri=window.location.pathname;}
tC.internalvars_301.initiators.var120();tC.internalvars_301_1.listVar.push(120);tC.internalvars_301.initiators.var121=function(){tC.internalvars.url=document.location.protocol+"//"+document.location.host+document.location.pathname;}
tC.internalvars_301.initiators.var121();tC.internalvars_301_1.listVar.push(121);tC.internalvars_301.initiators.var164=function(){tC.internalvars.page_content_type="";if(tc_vars["env_template"]=="univers"||tc_vars["env_template"]=="famille"||tc_vars["env_template"]=="rayon"||tc_vars["env_template"]=="vitrine"||tc_vars["env_template"]=="sousfamille"){tC.internalvars.page_content_type="page list"}
else{tC.internalvars.page_content_type=tc_vars["env_template"];}}
tC.internalvars_301.initiators.var164();tC.internalvars_301_1.listVar.push(164);tC.internalvars_301.initiators.var122=function(){tC.internalvars.url_with_param=document.location.href;}
tC.internalvars_301.initiators.var122();tC.internalvars_301_1.listVar.push(122);tC.internalvars_301.initiators.var123=function(){tC.internalvars.utm_url_with_sharp="";var utm_url_with_sharp=tC.internalvars.url_with_param;utm_url_with_sharp=utm_url_with_sharp.replace(/\%23/g,'#');utm_url_with_sharp=utm_url_with_sharp.replace(/\%26/g,'#');utm_url_with_sharp=utm_url_with_sharp.replace(/\%3F/g,'#');utm_url_with_sharp=utm_url_with_sharp.replace(/\?/g,'#');utm_url_with_sharp=utm_url_with_sharp.replace(/\&/g,'#');tC.internalvars.utm_url_with_sharp=utm_url_with_sharp;}
tC.internalvars_301.initiators.var123();tC.internalvars_301_1.listVar.push(123);tC.internalvars_301.initiators.var124=function(){tC.internalvars.cmname="";utm_url_with_sharp=tC.internalvars.utm_url_with_sharp;if(utm_url_with_sharp.indexOf("#cmname")>=0){var debutcat=utm_url_with_sharp.indexOf("#cmname")+8;var fincat=utm_url_with_sharp.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmname=utm_url_with_sharp.substring(debutcat,fincat);}}
tC.internalvars_301.initiators.var124();tC.internalvars_301_1.listVar.push(124);tC.internalvars_301.initiators.var125=function(){tC.internalvars.cmpos="";utm_url_with_sharp=tC.internalvars.utm_url_with_sharp;if(utm_url_with_sharp.indexOf("#cmpos")>=0){var debutcat=utm_url_with_sharp.indexOf("#cmpos")+7;var fincat=utm_url_with_sharp.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmpos=utm_url_with_sharp.substring(debutcat,fincat);}}
tC.internalvars_301.initiators.var125();tC.internalvars_301_1.listVar.push(125);tC.internalvars_301.initiators.var126=function(){tC.internalvars.cmcible="";utm_url_with_sharp=tC.internalvars.utm_url_with_sharp;if(utm_url_with_sharp.indexOf("#cmcible")>=0){var debutcat=utm_url_with_sharp.indexOf("#cmcible")+9;var fincat=utm_url_with_sharp.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmcible=utm_url_with_sharp.substring(debutcat,fincat);}}
tC.internalvars_301.initiators.var126();tC.internalvars_301_1.listVar.push(126);tC.internalvars_301.initiators.var127=function(){tC.internalvars.cmtype="";utm_url_with_sharp=tC.internalvars.utm_url_with_sharp;if(utm_url_with_sharp.indexOf("#cmtype")>=0){var debutcat=utm_url_with_sharp.indexOf("#cmtype")+8;var fincat=utm_url_with_sharp.indexOf("#",debutcat);if(fincat<0){fincat=300;}
tC.internalvars.cmtype=utm_url_with_sharp.substring(debutcat,fincat);}}
tC.internalvars_301.initiators.var127();tC.internalvars_301_1.listVar.push(127);tC.internalvars_301.initiators.var129=function(){tC.internalvars.productidcoloris="";if(tc_vars["env_template"]=="ficheproduit"){tC.internalvars.productidcoloris=tc_vars["product_id"]+"-"+tc_vars["product_color"];}
if(tc_vars["env_template"]=="commande"||tc_vars["env_template"]=="e-reservation"){var order_product=tc_vars["order_products"];var tc_productID=new Array();for(var i=0;i<order_product.length;i++){tc_productID.push(order_product[i]["order_product_id"]+'-'+order_product[i]["order_product_color"]);}
tC.internalvars.productidcoloris=tc_productID;}}
tC.internalvars_301.initiators.var129();tC.internalvars_301_1.listVar.push(129);tC.internalvars_301.initiators.var270=typeof tC.internalvars_301.initiators.var270=="function"?tC.internalvars_301.initiators.var270:function(){tC.internalvars.conversion_offer_ids=tC.internalvars.conversion_offer_ids?tC.internalvars.conversion_offer_ids:"";}
tC.internalvars_301.initiators.var270();tC.internalvars_301_1.listVar.push(270);tC.internalvars_301.initiators.var282=function(){tC.internalvars.product_ids_search=[];for(var i=0;i<5;i++){if(typeof(tc_vars["order_products"][i])==="undefined"){continue;}
if(typeof(tc_vars["order_products"][i]["order_product_id_refco"])==="undefined"){tC.internalvars.product_ids_search.push("")
continue;}
var tc_val=tc_vars["order_products"][i]["order_product_id_refco"];tC.internalvars.product_ids_search.push(tc_val);}
tC.internalvars.product_ids_search=tC.internalvars.product_ids_search.join(",");}
tC.internalvars_301.initiators.var282();tC.internalvars_301_1.listVar.push(282);tC.internalvars_301.initiators.var283=function(){tC.internalvars.basket_ids="";var ids=[];var nb_products=tc_vars["order_products"].length;for(var i=0;i<nb_products;i++){if(typeof(tc_vars["order_products"][i])==="undefined"){continue;}
if(typeof(tc_vars["order_products"][i]["order_product_id_refco"])==="undefined"){ids.push("")
continue;}
var tc_val=tc_vars["order_products"][i]["order_product_id_refco"];ids.push(tc_val);}
tC.internalvars.basket_ids=ids.join(",");}
tC.internalvars_301.initiators.var283();tC.internalvars_301_1.listVar.push(283);tC.internalvars_301.initiators.var299=function(){tC.internalvars.tc_array_url_vars=(function(){var qs=window.location.search;var params={},tokens,re=/[?&]?([^=]+)=([^&]*)/g;while(tokens=re.exec(qs)){params[tokens[1]]=tokens[2];}
return params;})();}
tC.internalvars_301.initiators.var299();tC.internalvars_301_1.listVar.push(299);
/*END_VARIABLES_BLOCK*/


/*DYNAMIC JS BLOCK 2*/

/*END DYNAMIC JS BLOCK 2*/

/*CUSTOM_JS_BLOCK2*/

/*END_CUSTOM_JS_BLOCK2*/
tC.container_301_1.datastorage();

//----------------------------------------------------




//----

tC.extend({executeTag426_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);cact('trigger','add_to_cart',{country:'es',value:tc_vars["product_unitprice_ati"],currency:'EUR',items:[{id:tc_vars["product_id_refco"],quantity:'1',variant:'',coupon:'',discount:'',product:{id:tc_vars["product_id_refco"],name:tc_vars["product_name"],category_1:tc_vars["page_cat1"],brand:'Kiabi',price:tc_vars["product_unitprice_ati"]}}]});}});tC.extend({executeTag420_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);tC.setCookie('tCdebugLib',1,30);if(typeof tc_array_events!="undefined"){var product_id_refco=tc_array_events["product_id_refco"];var listing_product=tc_vars["list_products"];var item=[];for(var i=0;i<listing_product.length;i++){if(product_id_refco==listing_product[i].product_id_refco){var item_id=listing_product[i].product_id;var item_name=listing_product[i].product_id_refco+'|'+listing_product[i].product_name;var item_product_name=listing_product[i].product_name;var item_category=listing_product[i].product_univers+'/'+listing_product[i].product_famille+'/'+listing_product[i].product_sousfamille;var item_category_pipe=listing_product[i].product_univers+'|'+listing_product[i].product_famille+'|'+listing_product[i].product_sousfamille;var item_price=listing_product[i].product_unitprice_tf;var item_quantity=tc_array_events["product_quantity"];var item_brand=listing_product[i].product_trademark;var item_dimension25=listing_product[i].product_saison;var item_dimension26=listing_product[i].product_stickers;var item_dimension27=listing_product[i].product_size;var item_dimension28=listing_product[i].product_color;var item_dimension31=listing_product[i].product_trademark;var item_dimension32=listing_product[i].product_id;var item_dimension33=listing_product[i].product_id_refco;var item_dimension49=listing_product[i].product_store;var item_dimension65=listing_product[i].product_customization_allowed;var item_dimension66=listing_product[i].product_with_customization;var item_dimension67=tc_vars["page_cat1"];var item_dimension68=listing_product[i].product_type;var item_trademark_name_refco=listing_product[i].product_trademark+'|'+listing_product[i].product_name+'|'+listing_product[i].product_id_refco;}}
ga('kiabi.ec:addProduct',{'id':item_id,'name':item_name,'category':item_category,'price':item_price,'quantity':tc_array_events["product_quantity"],'brand':item_brand,'dimension25':item_dimension25,'dimension26':item_dimension26,'dimension27':item_dimension27,'dimension28':item_dimension28,'dimension31':item_dimension31,'dimension32':item_dimension32,'dimension33':item_dimension33,'dimension49':item_dimension49,'dimension65':item_dimension65,'dimension66':item_dimension66,'dimension67':tc_vars["page_cat1"],'dimension68':item_dimension68});ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension5',tC.internalvars.url);ga('kiabi'+'.set','dimension6',tc_vars["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_vars["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension27',tc_array_events["product_size"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension39',tc_array_events["type_ajout_panier"]);ga('kiabi'+'.set','dimension41',tc_vars["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tc_array_events["uri"]);ga('kiabi'+'.set','dimension49',tc_vars["product_store"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_vars["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension53',tc_vars["product_famille"]);ga('kiabi'+'.set','dimension54',item_product_name);ga('kiabi'+'.set','dimension55',tc_vars["product_univers"]);ga('kiabi'+'.set','dimension56',tc_vars["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric1',item_price*tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric4','1');ga('kiabi'+'.set','metric8',tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric11',tc_array_events["product_discount_tf"]);if(tc_vars["product_discount"]=="yes"){ga('kiabi'+'.set','metric19','1');}
ga('kiabi.ec:setAction','add',{'list':tC.internalvars.cookielist});ga('kiabi.send','event',tc_array_events["category"],item_category_pipe,item_trademark_name_refco,Math.round(tc_array_events["value"]),{'nonInteraction':1});}}});tC.extend({executeTag422_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);tC.setCookie('tCdebugLib',1,30);if(typeof tc_array_events!="undefined"){ga('kiabi.ec:addProduct',{'id':tc_array_events["product_id"],'name':tc_array_events["product_id_refco"]+'|'+tc_vars["product_name"],'category':tc_vars["product_univers"]+'/'+tc_vars["product_famille"]+'/'+tc_vars["product_sousfamille"],'price':tc_vars["product_unitprice_tf"],'quantity':tc_array_events["product_quantity"],'brand':tc_vars["product_trademark"],'dimension25':tc_vars["product_saison"],'dimension26':tc_vars["product_stickers"],'dimension27':tc_array_events["product_size"],'dimension28':tc_vars["product_color"],'dimension31':tc_vars["product_trademark"],'dimension32':tc_array_events["product_id"],'dimension33':tc_array_events["product_id_refco"],'dimension49':tc_vars["product_store"],'dimension65':tc_vars["product_customization_allowed"],'dimension66':tc_array_events["product_with_customization"],'dimension67':tc_vars["page_cat1"],'dimension68':tc_vars["product_type"]});ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension5',tC.internalvars.url);ga('kiabi'+'.set','dimension6',tc_vars["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_vars["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension27',tc_array_events["product_size"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension39',tc_array_events["type_ajout_panier"]);ga('kiabi'+'.set','dimension41',tc_vars["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tc_array_events["uri"]);ga('kiabi'+'.set','dimension49',tc_vars["product_store"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_vars["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension53',tc_vars["product_famille"]);ga('kiabi'+'.set','dimension54',tc_vars["product_name"]);ga('kiabi'+'.set','dimension55',tc_vars["product_univers"]);ga('kiabi'+'.set','dimension56',tc_vars["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric1',tc_vars["product_unitprice_tf"]*tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric4','1');ga('kiabi'+'.set','metric8',tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric11',tc_vars["product_discount_tf"]);if(tc_vars["product_discount"]=="yes"){ga('kiabi'+'.set','metric19','1');}
ga('kiabi.ec:setAction','add',{'list':tC.internalvars.cookielist});ga('kiabi.send','event',tc_array_events["category"],tc_vars["product_univers"]+'|'+tc_vars["product_famille"]+'|'+tc_vars["product_sousfamille"],tc_vars["product_trademark"]+'|'+tc_vars["product_name"]+'|'+tc_array_events["product_id_refco"],Math.round(tc_array_events["value"]),{'nonInteraction':1});}}});tC.extend({executeTag428_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);fbq('track','AddToCart',{country:'es',content_ids:tc_vars["product_id_refco"],content_type:'product',value:tc_array_events["value"],currency:'EUR'},{eventID:tC.uniqueEventId});}});tC.extend({executeTag454_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);batchSDK(function(api){api.trackEvent("add_to_cart",{attributes:{"name":tc_vars["product_name"],"category":tc_vars["product_famille"],"genre":tc_vars["product_rayon"],"amount":tc_vars["product_unitprice_ati"],"id":tc_vars["product_id_refco"],"product page url":{type:api.eventAttributeTypes.URL,value:tc_vars["product_url_page"]}}});});}});tC.extend({executeTag436_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/pan/pan1+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_template"],'u6':tc_vars["env_language"],'u7':tc_vars["product_cross_sell_origin"],'u8':tc_vars["product_discount"],'u9':tc_vars["product_famille"],'u10':tc_vars["product_rayon"],'u11':tc_vars["product_trademark"],'u12':tc_vars["product_univers"]});}});tC.extend({executeTag449_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var gtag_report_conversion=function(url){var callback=function(){if(typeof(url)!='undefined'){window.location=url;}};gtag('event','conversion',{'send_to':'AW-1006525885/v_zMCLCDu-ECEL27-d8D','event_callback':callback,'value':tc_array_events["value"],'currency':'EUR'});return false;};}});tC.extend({executeTag451_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);pintrk('track','addtocart',{value:tc_vars["product_unitprice_tf"],order_quantity:1,currency:'EUR',line_items:[{product_name:tc_vars["product_name"],product_id:tc_vars["product_id_refco"],product_category:tc_vars["product_univers"],product_price:tc_vars["product_unitprice_tf"],product_quantity:1}]});}});tC.extend({executeTag499_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);pintrk('track','addtocart',{value:parseFloat(tc_array_events["value"]),order_quantity:1,currency:'EUR',line_items:[{product_name:tc_array_events["product_list"][0].product_name,product_id:tc_array_events["product_list"][0].product_id_refco,product_category:tc_array_events["product_list"][0].product_univers,product_price:tc_array_events["product_list"][0].product_unitprice_tf,product_quantity:tc_array_events["product_quantity"]}]});}});tC.extend({executeTag453_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);window._uxa=window._uxa||[];window._uxa.push(['trackPageEvent',"add-to-cart"]);}});tC.extend({executeTag458_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof(ttq)!==undefined){ttq.track('AddToCart',{content_id:tc_array_events["product_list"][0].product_id_refco,value:tc_array_events["value"],currency:'EUR'});}}});tC.extend({executeTag463_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof(ttq)!=='undefined'){var product_list=tc_array_events['product_list'];var product_ids=[];for(var i=0;i<product_list.length;i++){if(typeof(product_list[i])==="undefined"){continue;}
if(typeof(product_list[i]["product_name"])==="undefined"){product_ids.push("")
continue;}
var tc_val=product_list[i]["product_name"];product_ids.push(tc_val);}
product_ids=product_ids.join(",");ttq.instance('CG8P7GJC77U7T197M4O0').track('Search',{content_category:product_ids});}}});tC.extend({executeTag471_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof rtbhEvents!=="undefined"){var product_list=tc_array_events['product_list'];var product_ids=[];for(var i=0;i<product_list.length;i++){if(typeof(product_list[i])==="undefined"){continue;}
if(typeof(product_list[i]["product_id_refco"])==="undefined"){product_ids.push("")
continue;}
var tc_val=product_list[i]["product_id_refco"];product_ids.push(tc_val);}
(rtbhEvents=window.rtbhEvents||[]).push({eventType:'listing',offerIds:product_ids},{eventType:'uid',id:tc_vars["user_id"]||undefined});}}});tC.extend({executeTag465_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof rtbhEvents!=="undefined"){(rtbhEvents=window.rtbhEvents||[]).push({eventType:'basketadd',offerId:tc_vars["product_id_refco"]},{eventType:'uid',id:tc_vars["user_id"]||undefined});}}});tC.extend({executeTag504_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var yt_list_products=[];for(var i=0;i<tc_array_events["product_list"].length;i++){yt_list_products.push(tc_vars.list_products[i].product_id_refco)}
var yt_impressionViews=function(product_list,category_id,ab_test_variant_id){if('undefined'!==typeof window.yt_workspace&&'function'==typeof(window.yt_workspace)){window.yt_workspace('track','event',{'Category':'Impression','Action':'Views','Value':JSON.stringify({product_list:product_list,category_id:category_id,ab_test_variant_id:ab_test_variant_id})});}};yt_impressionViews(yt_list_products,tc_vars["page_categoryid"],'');window.yt_workspace('track','page');}});tC.extend({executeTag500_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var yt_addToCart=function(cart_id,id,sku,price_ati,qty){if('undefined'!==typeof window.yt_workspace&&'function'==typeof(window.yt_workspace)){window.yt_workspace('track','event',{'Category':'Cart','Action':'AddToCart','Label':cart_id,'Value':JSON.stringify({id:id,sku:sku,price_ati:price_ati,qty:qty})});}};yt_addToCart(tc_vars["basket_id"],tc_array_events["product_list"][0]['product_id_refco'],tc_array_events["product_list"][0]['product_id_refco'],tc_vars["product_unitprice_ati"],1);}});tC.extend({executeTag501_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var product_id_refco=tc_array_events["product_list"][0].product_id_refco;var listing_product=tc_vars["list_products"];for(var i=0;i<listing_product.length;i++){if(product_id_refco==listing_product[i].product_id_refco){var product_unitprice_ati=listing_product[i].product_unitprice_ati;}}
var yt_addToCart=function(cart_id,id,sku,price_ati,qty){if('undefined'!==typeof window.yt_workspace&&'function'==typeof(window.yt_workspace)){window.yt_workspace('track','event',{'Category':'Cart','Action':'AddToCart','Label':cart_id,'Value':JSON.stringify({id:id,sku:sku,price_ati:price_ati,qty:qty})});}};yt_addToCart(tc_vars["basket_id"],tc_array_events["product_list"][0]['product_id_refco'],tc_array_events["product_list"][0]['product_id_refco'],product_unitprice_ati,1);}});tC.extend({executeTag503_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var yt_impressionClick=function(product_id){if('undefined'!==typeof window.yt_workspace&&'function'==typeof(window.yt_workspace)){window.yt_workspace('track','event',{'Category':'Impression','Action':'Click','Value':product_id});}};yt_impressionClick(tc_array_events["product_list"][0]['product_id_refco']);}});tC.extend({executeTag474_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(window.addEventListener){if(typeof pa!=="undefined"){if(tC.getCookie('at-optout')){tC.log('optout');pa.privacy.setMode('optout');}else{cact('consent.get',function(result){var ANALYTICS_ID=2;var analyticsCategory=result.consent.categories[ANALYTICS_ID]||{};if(analyticsCategory.status==='on'){tC.log('optin');pa.privacy.setMode('optin');}else{tC.log('exempt');pa.privacy.setMode('exempt');}});}}}}});tC.extend({executeTag476_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);var _paq=window._paq||[];var ifnoproduct=0===tc_vars.basket_nb_distinct_product?"/without_products":"";_paq.push(['sendEvent','page.display',{'content_group':tC.internalvars.page_content_type,'page':tC.internalvars.uri+ifnoproduct,'page_chapter1':tc_vars["page_cat1"],'page_chapter2':tc_vars["page_cat2"],'page_categoryname':tc_vars["page_categoryname"],'page_error':tc_vars["page_error"],'adress_ip':tc_vars["address_ip"],'env_country':tc_vars["env_country"],'env_language':tc_vars["env_language"],'env_template':tc_vars["env_template"],'env_type':tc_vars["env_type"],'env_work':tc_vars["env_work"],'site_version':tc_vars["site_version"],'user_account_id':tc_vars["user_account_id"],'user_activecustomer':tc_vars["user_activecustomer"],'user_customer':tc_vars["user_customer"],'user_email':tC.internalFunctions.SHA256.SHA256(tc_vars["user_email"]),'user_id':tc_vars["user_id"],'user_session_id':tc_vars["user_session_id"],'user_logged':tc_vars["user_logged"],'src_support':tC.internalvars.tc_array_url_vars.utm_support||undefined,'src_source':tC.internalvars.tc_array_url_vars.utm_source||undefined,'src_campaign':tC.internalvars.tc_array_url_vars.utm_campaign||undefined,'src_force':true}]);}});tC.extend({executeTag477_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof pa!=="undefined"){pa.sendEvent('cart.display',{'cart_id':tc_vars["basket_id"],'cart_type':tc_vars["basket_type"],'cart_quantity':Number(tc_vars["order_products_number"]),'cart_nbdistinctproduct':Number(tc_vars["basket_nb_distinct_product"]),'order_subcommands_number':tc_vars["order_subcommands_number"],'checkout_step':tc_vars["checkout_step"],'checkout_label':tc_vars["checkout_label"],'cart_turnovertaxincluded':tC.internalvars.cart_turnovertaxincluded,'cart_turnovertaxfree':tC.internalvars.cart_turnovertaxfree,'cart_currency':'EUR','page':tC.internalvars.uri,'page_categoryname':tc_vars["page_categoryname"],'page_error':tc_vars["page_error"],'adress_ip':tc_vars["address_ip"],'env_country':tc_vars["env_country"],'env_language':tc_vars["env_language"],'env_template':tc_vars["env_template"],'env_type':tc_vars["env_type"],'env_work':tc_vars["env_work"],'site_version':tc_vars["site_version"],'user_account_id':tc_vars["user_account_id"],'user_activecustomer':tc_vars["user_activecustomer"],'user_customer':tc_vars["user_customer"],'user_email':tC.internalFunctions.SHA256.SHA256(tc_vars["user_email"]),'user_id':tc_vars["user_id"],'user_session_id':tc_vars["user_session_id"],'user_logged':tc_vars["user_logged"],'order_customer_type':tc_vars["order_customer_type"],'content_group':tC.internalvars.page_content_type});}}});tC.extend({executeTag506_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof window.yt_workspace!=="undefined"){window.yt_workspace('setCustomData',1,tc_vars["env_work"]||'');window.yt_workspace('setCustomData',2,tc_vars["env_language"]||'');window.yt_workspace('setCustomData',3,tc_vars["env_country"]||'');window.yt_workspace('setCustomData',10,tc_vars["user_activecustomer"]||'');window.yt_workspace('setCustomData',11,tc_vars["user_customer"]||'');window.yt_workspace('setCustomData',12,tc_vars["user_logged"]||'');window.yt_workspace('setCustomData',13,''||'');window.yt_workspace('setCustomData',14,''||'');window.yt_workspace('setCustomData',30,tc_vars["env_template"]||'');window.yt_workspace('setCustomData',31,tc_vars["page_name"]||'');window.yt_workspace('setCustomData',32,tc_vars["page_cat1"]||'');window.yt_workspace('setCustomData',33,tc_vars["page_cat2"]||'');window.yt_workspace('setCustomData',34,tc_vars["page_cat3"]||'');window.yt_workspace('setCustomData',35,tc_vars["page_cat4"]||'');window.yt_workspace('track','page');}}});tC.extend({executeTag502_301_1:function(el,p){if(typeof p=="undefined"){p={};}
tc_array_events=tC.container_301_1.init_tc_array_events(p);if(typeof window.yt_workspace!=="undefined"){window.yt_workspace('setCustomData',1,tc_vars["env_work"]||'');window.yt_workspace('setCustomData',2,tc_vars["env_language"]||'');window.yt_workspace('setCustomData',3,tc_vars["env_country"]||'');window.yt_workspace('setCustomData',10,tc_vars["user_activecustomer"]||'');window.yt_workspace('setCustomData',11,tc_vars["user_customer"]||'');window.yt_workspace('setCustomData',12,tc_vars["user_logged"]||'');window.yt_workspace('setCustomData',13,''||'');window.yt_workspace('setCustomData',14,''||'');window.yt_workspace('setCustomData',30,tc_vars["env_template"]||'');window.yt_workspace('setCustomData',31,tc_vars["page_name"]||'');window.yt_workspace('setCustomData',32,tc_vars["page_cat1"]||'');window.yt_workspace('setCustomData',33,tc_vars["page_cat2"]||'');window.yt_workspace('setCustomData',34,tc_vars["page_cat3"]||'');window.yt_workspace('setCustomData',35,tc_vars["page_cat4"]||'');window.yt_workspace('setCustomData',50,tc_vars["product_id"]||'');window.yt_workspace('setCustomData',51,tc_vars["product_id_refco"]||'');window.yt_workspace('setCustomData',52,tc_vars["product_name"]||'');window.yt_workspace('setCustomData',53,tc_vars["product_univers"]||'');window.yt_workspace('setCustomData',54,tc_vars["product_unitprice_tf"]||'');window.yt_workspace('setCustomData',55,tc_vars["product_unitprice_ati"]||'');window.yt_workspace('setCustomData',56,tc_vars["product_discount_tf"]||'');window.yt_workspace('setCustomData',57,tc_vars["product_discount_ati"]||'');window.yt_workspace('setCustomData',58,'EUR'||'');window.yt_workspace('track','page');}}});tC.launchTag(286,'Commanders Act - Containers URL saver',2640,301,1,1);if(!Array.isArray(window.tc_containers_URLs)){window.tc_containers_URLs=[];}
if(document.currentScript&&(!window.tc_containers_URLs.length||!window.tc_containers_URLs.includes(document.currentScript.src))){window.tc_containers_URLs.push(document.currentScript.src);}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('263')){if(typeof tc_stopreload==="undefined"){tC.launchTag(263,'Universal Analytics - Enhanced',476,301,1,1);if(tc_vars["env_work"]=="production"){var ua='UA-12239303-12';}
else{var ua='UA-61207873-9';}
var tcId=window.location.hash.substr(1).split('=')[1];var cookieName="cookielist";var browserName=navigator.appName;if(browserName=="Microsoft Internet Explorer"){expires=";";}
else{expires=";expires=0;"}
if(tc_vars["env_template"]!="ficheproduit"){if(tc_vars["env_template"]=="recherche"){listvalue=listvalue="/recherche/"+tC.internalFunctions.tc_function_4(tc_vars["search_keywords"]);tC.log("cookie list "+listvalue);tC.log("cookie list "+listvalue);}else if((tc_vars["env_template"]=="univers")||(tc_vars["env_template"]=="famille")||(tc_vars["env_template"]=="sousfamille")||(tc_vars["env_template"]=="vitrine")||(tc_vars["env_template"]=="rayon")||(tc_vars["env_template"]=="ficheproduit")){listvalue="/"+tc_vars["env_template"]+' | '+tC.internalvars.uri;tC.log("cookie list "+listvalue);}else if(tc_vars["env_template"]=="boutique"){listvalue="/"+tc_vars["env_template"]+' | '+tC.internalvars.uri;tC.log("cookie list "+listvalue);}else{listvalue="/autre/";tC.log("cookie list "+listvalue);}}else if((document.referrer.indexOf(document.location.hostname)==-1)||(document.referrer===undefined)||(document.referrer===null)||(document.referrer==="")){tC.log("cookie list cookielist=/entree produit/");}
window.GACookie13Months=window.GACookie13Months||function(){var valueCookieGA_expire=""
var cookieGA_expire=60*60*24*30*13*1000;var cookieGA_Name="_ga";try{var time_diff=cookieGA_expire/1000;var ga_cookie=(result=new RegExp("(?:^|; )"+encodeURIComponent(cookieGA_Name)+"=([^;]*)").exec(document.cookie))?unescape(result[1]):""
if(ga_cookie){time_diff=Math.round(((new Date((Number(ga_cookie.split(".").pop()))*1000).getTime()+cookieGA_expire)-new Date().getTime())/1000);}
valueCookieGA_expire=time_diff;}catch(e){valueCookieGA_expire=cookieGA_expire/1000;}
return valueCookieGA_expire;};(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');if(navigator.userAgent.indexOf('mobileApp')!=-1&&tcId!==null){ga('create',ua,{'cookieDomain':'auto','name':'kiabi','cookieExpires':GACookie13Months(),'siteSpeedSampleRate':1,'clientId':tcId});}
else{ga('create',ua,{'cookieDomain':'auto','name':'kiabi','cookieExpires':GACookie13Months(),'siteSpeedSampleRate':1});}
ga('kiabi'+'.set','anonymizeIp',true);ga('kiabi'+'.require','ec');ga('kiabi'+'.set','page',tC.internalvars.uri);ga('kiabi'+'.set','dimension1',tc_vars["product_id"]);ga('kiabi'+'.set','dimension2',gecomm_pagetype);ga('kiabi'+'.set','dimension3',gecomm_totalvalue);ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension5',tC.internalvars.url);ga('kiabi'+'.set','dimension6',tc_vars["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_vars["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension29',tc_vars["basket_id"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_vars["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tC.internalvars.uri);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_vars["product_reco"]);ga('kiabi'+'.set','dimension52',tc_vars["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','contentGroup1',tC.internalvars.page_content_type);ga('kiabi'+'.set','contentGroup2',tc_vars["env_template"]);if(tc_vars["env_template"]=="univers"||tc_vars["env_template"]=="famille"||tc_vars["env_template"]=="sousfamille"||tc_vars["env_template"]=="vitrine"||tc_vars["env_template"]=="rayon"||tc_vars["env_template"]=="recherche"&&tc_vars["list_products"].length>0){}
if(tc_vars["env_template"]=="univers"||tc_vars["env_template"]=="famille"||tc_vars["env_template"]=="sousfamille"||tc_vars["env_template"]=="vitrine"||tc_vars["env_template"]=="rayon"){ga('kiabi'+'.set','metric6','1')}
if(tc_vars["env_template"]=="univers"){ga('kiabi'+'.set','metric14','1')}
if(tc_vars["env_template"]=="famille"){ga('kiabi'+'.set','metric15','1')}
if(tc_vars["env_template"]=="sousfamille"){ga('kiabi'+'.set','metric16','1')}
if(tc_vars["env_template"]=="vitrine"){ga('kiabi'+'.set','metric17','1')}
if(tc_vars["env_template"]=="rayon"){ga('kiabi'+'.set','metric18','1')}
if(tc_vars["env_template"]=="ficheproduit"){ga('kiabi'+'.ec:addProduct',{'id':tc_vars["product_id"],'name':tc_vars["product_id_refco"]+'|'+tc_vars["product_name"],'price':tc_vars["product_unitprice_tf"],'category':tc_vars["product_univers"]+'/'+tc_vars["product_famille"]+'/'+tc_vars["product_sousfamille"],'brand':tc_vars["product_trademark"],'dimension25':tc_vars["product_saison"],'dimension26':tc_vars["product_stickers"],'dimension27':tc_vars["product_size"],'dimension28':tc_vars["product_color"],'dimension31':tc_vars["product_trademark"],'dimension32':tc_vars["product_id"],'dimension33':tc_vars["product_id_refco"],'dimension49':tc_vars["product_store"],'dimension65':tc_vars["product_customization_allowed"],'dimension67':tc_vars["page_cat1"],'dimension68':tc_vars["product_type"]});ga('kiabi'+'.set','metric2','1');ga('kiabi'+'.ec:setAction','detail',{'list':tC.internalvars.cookielist});}
if(tc_vars["page_name"]=="es.commande.panier.accueil"){ga('kiabi'+'.set','dimension70',tc_vars["order_products_number"]);}
if((tc_vars["env_template"]=="recherche")&&(parseFloat(tc_vars["search_results_number"])>0)){ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_vars["search_results_number"]);ga('kiabi'+'.set','metric5','1')
ga('kiabi'+'.set','page','/search/with-results'+tC.internalvars.uri+'?motcle='+tc_vars["search_keywords"]+'&motcategorie=search with results');}
if(tc_vars["env_template"]=="recherche"&&(tc_vars["search_results_number"]==="0")){ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_vars["search_results_number"]);ga('kiabi'+'.set','metric5','1')
ga('kiabi'+'.set','page','/search/without-result'+tC.internalvars.uri+'?motcle='+tc_vars["search_keywords"]+'&motcategorie=search without result');}
if(tc_vars["env_template"]=="error"){ga('kiabi'+'.set','page','/error/'+tc_vars["page_cat2"]+tC.internalvars.uri);}
if(tc_vars["checkout_label"]=="cart"){ga('kiabi'+'.set','metric13',tC.internalvars.cart_value);}
if(tc_vars["checkout_step"]){ga('kiabi'+'.ec:setAction','checkout',{'step':tc_vars["checkout_step"],'option':tc_vars["checkout_label"]});}
ga('kiabi'+'.send','pageview');if(tC.internalvars.cmname){ga('kiabi'+'.ec:addPromo',{'id':tC.internalvars.cmtype,'name':tC.internalvars.cmname,'creative':tC.internalvars.cmcible,'position':tC.internalvars.cmpos});ga('kiabi'+'.ec:setAction','promo_click');ga('kiabi'+'.send','event','internal campaigns',tC.internalvars.cmname,tC.internalvars.cmtype+'/'+tC.internalvars.cmcible+'/'+tC.internalvars.cmpos,{nonInteraction:true});}
if((tc_vars["env_template"]=="recherche")&&(parseFloat(tc_vars["search_results_number"])>0)){ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_vars["search_results_number"]);ga('kiabi'+'.send','event','search','search with results',tc_vars["search_keywords"],tc_vars["search_results_number"],{nonInteraction:true});}
if((tc_vars["env_template"]=="recherche")&&(tc_vars["search_results_number"]==="0")){ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_vars["search_results_number"]);ga('kiabi'+'.send','event','search','search without results',tc_vars["search_keywords"],tc_vars["search_results_number"],{nonInteraction:true});}
if(tc_vars["env_template"]=="error"){ga('kiabi'+'.send','event','error',tc_vars["page_cat2"],tC.internalvars.uri,{nonInteraction:true});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('325')){tC.launchTag(325,'Google Adwords - Global site tag',1027,301,1,1);tC.scriptElt1=document.createElement("script");tC.scriptElt1.id="tc_script_adw";tC.async=true;tC.scriptElt1.src="https://www.googletagmanager.com/gtag/js?id=AW-"+'1006525885';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]||document.getElementsByTagName('script')[0].parentNode).insertBefore(tC.scriptElt1,null);window.dataLayer=window.dataLayer||[];var gtag=function(){dataLayer.push(arguments);};gtag('js',new Date());gtag('config','AW-'+'1006525885');gtag('config','DC-'+'11487539');}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('254')){tC.launchTag(254,'Facebook - Custom Audience',1811,301,1,1);!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','//connect.facebook.net/en_US/fbevents.js');fbq('init',"141878092903560");fbq('track','PageView');}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('427')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(427,'Commanders Act - OneTag - ViewContent',26,301,1,1);cact('trigger','view_item',{country:tc_vars["env_country"],user:{id:tc_vars["user_id"],email:tC.internalFunctions.SHA256.SHA256(tc_vars["user_email"])},item_list_name:tc_vars["product_famille"],items:[{id:tc_vars["product_id"],quantity:1,price:tc_vars["product_unitprice_ati"],currency:tc_vars["product_currency"],product:{id:tc_vars["product_id"],name:tc_vars["product_name"],category_1:tc_vars["page_cat1"],category_2:tc_vars["page_cat2"],category_3:tc_vars["page_cat3"],category_4:tc_vars["page_cat4"],brand:'Kiabi',price:tc_vars["product_unitprice_ati"]}}]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('429')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(429,'Facebook - ViewContent 2022',2652,301,1,1);if(typeof fbq!=="undefined"){fbq('track','ViewContent',{content_type:"product",content_ids:[tc_vars["product_id_refco"]],content_name:tc_vars["product_name"],content_category:tc_vars["page_cat3"],value:tc_vars["product_unitprice_ati"],currency:tc_vars["product_currency"]},{eventID:tC.uniqueEventId});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('298')){tC.launchTag(298,'[Pinterest] - Init + PageView',2418,301,1,1);!function(e){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};var
n=window.pintrk;n.queue=[],n.version="3.0";var
t=document.createElement("script");t.async=!0,t.src=e;var
r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}("https://s.pinimg.com/ct/core.js");pintrk('load','2613768764918',{em:tC.internalFunctions.SHA256.SHA256(tc_vars["user_email"])||undefined});pintrk('page');}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('300')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(300,'[Pinterest] - FP',2418,301,1,1);pintrk('track','pagevisit',{value:tc_vars["product_unitprice_tf"],line_items:[{product_name:tc_vars["product_name"],product_id:tc_vars["product_id_refco"],product_category:tc_vars["product_univers"],product_price:tc_vars["product_unitprice_tf"]}]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('306')){tC.launchTag(306,'Weborama - G�n�rique',26,301,1,1);var wamid='7153';var typ='1';if(typeof dataLayer!="undefined"&&dataLayer!=""){var Wvar=tc_vars["page_cat1"]+"/"+tc_vars["page_cat2"]+"/"+tc_vars["page_cat3"]+"/"+tc_vars["page_cat4"];}
(function(){var w=document.createElement('script');w.type='text/javascript';w.src=document.location.protocol+'//cstatic.weborama.fr/js/wam/customers/wamfactory_dpm.wildcard.min.js?rnd='+new Date().getTime();w.async=true;var body=document.getElementsByTagName('script')[0];body.parentNode.insertBefore(w,body);})();}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('308')){if((tc_vars["page_name"]=='es.homepage')){tC.launchTag(308,'Weborama - HP',26,301,1,1);(function(){var tss=document.createElement('script');tss.type='text/javascript';tss.async=true;tss.src='http'+('https:'==document.location.protocol?'s':'')+'://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js';var ss=document.getElementsByTagName('script')[0];ss.parentNode.insertBefore(tss,ss);var timer=window.setInterval(function(){if(typeof(window.adperfTracker)!="undefined"){var adperftrackobj={client:tc_vars["user_id"],amount:"0.0",invoice_id:"",quantity:0,is_client:0,fullhost:'kiabi.solution.weborama.fr',site:7152,conversion_page:1,optional_parameters:{"N1":"0","N2":"0","N3":"0","categoria":"homepage","subcategoria":"","producto":""}};try{window.adperfTracker.track(adperftrackobj);}catch(err){}
window.clearInterval(timer);}},400);})();}}}
if((tc_vars["page_name"]=='es.commande.panier.accueil')){tC.launchTag(475,'[Piano Analytics] -  PA init',2910,301,1,1);window._pac=window._pac||{};_pac.cookieDomain=tC.internalvars.PIANO_COOKIE_DOMAIN;tC.template=[];tC.template.pianoAnalytics=function(){if(typeof pa!=="undefined"){pa.setConfigurations({site:tC.internalvars.PIANO_ID_SITE,collectDomain:'https://logs1412.xiti.com',addEventURL:true,storageLifetimePrivacy:395,storageLifetimeUser:395,storageLifetimeVisitor:395,visitorStorageMode:'relative'});pa.privacy.include.events(['*']);pa.privacy.include.properties('*','exempt');tC.event.mesureHybride();tC.event.pianoLaunchTags();tC.log('pa is ready');}else{tC.log('Error : pa inconnu');}}
tC.script.add('https://tag.aticdn.net/piano-analytics.js',tC.template.pianoAnalytics,true);}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('314')){if((tc_vars["page_name"]=='es.commande.panier.accueil')){tC.launchTag(314,'Weborama - Panier',2666,301,1,1);(function(){var tss=document.createElement('script');tss.type='text/javascript';tss.async=true;tss.src='http'+('https:'==document.location.protocol?'s':'')+'://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js';var ss=document.getElementsByTagName('script')[0];ss.parentNode.insertBefore(tss,ss);var timer=window.setInterval(function(){if(typeof(window.adperfTracker)!="undefined"){var adperftrackobj={client:tc_vars["user_id"],amount:"0.0",invoice_id:"",quantity:0,is_client:0,fullhost:'kiabi.solution.weborama.fr',site:7152,conversion_page:2,optional_parameters:{"N1":"0","N2":"0","N3":"0","categoria":"basket page","subcategoria":"","producto":""}};try{window.adperfTracker.track(adperftrackobj);}catch(err){}
window.clearInterval(timer);}},400);})();}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('327')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(327,'Google Adwords - Fiches produit',2584,301,1,1);gtag('event','view_item',{'value':tc_vars["product_unitprice_tf"],'send_to':'AW-'+'1006525885','items':[{'id':tc_vars["product_id_refco"],'google_business_vertical':'retail'}]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('338')){if((tc_vars["page_name"]=='es.homepage')){tC.launchTag(338,'Adot 5 Sec',26,301,1,1);!function(){var d=function(e){d.id="tc_img_338_1";(new Image).src=e};var b="https://60db1330140dcc0016587615.tracker.adotmob.com/pixel/";d(b+"visite"),setTimeout(function(){d(b+"visite5s")},5e3)}()}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('346')){tC.launchTag(346,'Bing - Loader',1625,301,1,1);(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:'4077000'};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('370')){tC.launchTag(370,'Contensquare universal tag',26,301,1,1);(function(){window._uxa=window._uxa||[];try{if(typeof tc_vars!=='undefined'){window._uxa.push(['setCustomVariable',1,'env_template',tc_vars["env_template"],3]);window._uxa.push(['setCustomVariable',2,'page_name',tc_vars["page_name"],3]);window._uxa.push(['setCustomVariable',3,'custom_user_type',tc_vars["personalized_user_type"],3]);window._uxa.push(['setCustomVariable',4,'user_logged',tc_vars["user_logged"],3]);window._uxa.push(['setCustomVariable',5,'site_version',tc_vars["site_version"],3]);window._uxa.push(['setCustomVariable',6,'basket_type',tc_vars["basket_type"],3]);window._uxa.push(['setCustomVariable',7,'pag_cat1',tc_vars["page_cat1"],3]);window._uxa.push(['setCustomVariable',8,'pag_cat2',tc_vars["page_cat2"],3]);window._uxa.push(['setCustomVariable',9,'product_marketplace',tc_vars["product_marketplace"],3]);window._uxa.push(['setCustomVariable',10,'product_mkp_vendor',tc_vars["product_mkp_vendor"],3]);window._uxa.push(['setCustomVariable',11,'product_status',tc_vars["product_status"],3]);}}catch(e){}
if(typeof CS_CONF==='undefined'){window._uxa.push(['setPath',window.location.pathname+window.location.hash.replace('#','?__')]);var mt=document.createElement("script");mt.type="text/javascript";mt.async=true;mt.id="tc_script_370_1";mt.src="//t.contentsquare.net/uxa/a73d7f702b8b4.js";document.getElementsByTagName("head")[0].appendChild(mt);}
else{window._uxa.push(['trackPageview',window.location.pathname+window.location.hash.replace('#','?__')]);}})();}}
tC.launchTag(390,'IADVIZE universal tag ',26,301,1,1);(function(){var idz=document.createElement('script');idz.type='text/javascript';idz.async=true;idz.src=document.location.protocol+'//halc.iadvize.com/iadvize.js?sid=7801';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(idz,s);})();if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('394')){if((tc_vars["page_name"]=='es.homepage')){tC.launchTag(394,'Floodlight - Homepage ',26,301,1,1);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/nav/nav2+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_language"],'u6':tc_vars["env_template"]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('459')){tC.launchTag(459,'Tiktok- Universal code [042023] ',2866,301,1,1);!function(w,d,t){w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};ttq.load('CG8P7GJC77U7T197M4O0');ttq.page();}(window,document,'ttq');}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('396')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(396,'Floodlight - Page produit',26,301,1,1);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/nav/nav5+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_template"],'u6':tc_vars["env_language"],'u7':tc_vars["product_cross_sell_origin"],'u8':tc_vars["product_discount"],'u9':tc_vars["product_famille"],'u10':tc_vars["product_rayon"],'u11':tc_vars["product_trademark"],'u12':tc_vars["product_univers"]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('402')){tC.launchTag(402,'Floodlight - Page vue',26,301,1,1);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/nav/nav1+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_language"],'u6':tc_vars["env_template"]});}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('446')){if(tc_vars["page_name"]!='es.commande.panier.accueil'){tC.launchTag(446,'[Batch]',2470,301,1,1);var batchVapidPublicKey="BJx05s+GJwEC7CtHpcmtrsjJBFOtqH5BT9oqd7pn/+mIJsknTWr/jb8RaxlvuYXfg2N/NgOBNlqgTbFHjnPbPJI=";(function(b,a,t,c,h,e,r){h="batchSDK";b[h]=b[h]||function(){(b[h].q=b[h].q||[]).push(arguments);};(e=a.createElement(t)),(r=a.getElementsByTagName(t)[0]);e.async=1;e.src=c;r.parentNode.insertBefore(e,r);})(window,document,"script","https://via.batch.com/v3/bootstrap.min.js");var batchSDKUIConfig={native:{}};if("Notification"in window&&window["Notification"].permission!=="granted"){if(navigator.userAgent.indexOf("Firefox")!==-1||(navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1)){batchSDKUIConfig={alert:{text:"�No te pierdas m�s noticias!",positiveSubBtnLabel:"Me suscribo",negativeBtnLabel:"No, gracias",positiveBtnStyle:{backgroundColor:"#040037",hoverBackgroundColor:"#243087",textColor:"white"}}};}}
batchSDK("setup",{apiKey:'54752BD49EAC491E88A4895AE4D6D6FB',subdomain:'kiabi0',authKey:'2.URSY+xMyExrGUdhRb7Dh1nsrzuPJ5jXja3PkD0DqzDQ=',vapidPublicKey:batchVapidPublicKey,ui:batchSDKUIConfig,useExistingServiceWorker:true,dev:"production"===tc_vars["env_work"]?false:true});function reregisterBatchPushIfNeeded(batchApplicationServerKey){if(!("serviceWorker"in navigator)){return;}
var urlUnsafeB64ServerKey=batchApplicationServerKey.replace(/-/g,"+").replace(/_/g,"/");var reencodedServerKey=window.btoa(window.atob(urlUnsafeB64ServerKey));navigator.serviceWorker.getRegistration().then(function(sw){return sw.pushManager.getSubscription();}).then(function(sub){return sub.options.applicationServerKey;}).then(function(key){return btoa(String.fromCharCode.apply(String,new Uint8Array(key)));}).then(function(key){if(reencodedServerKey!=key){tC.log("Batch - Registered application server doesn't match Batch's, unregistering SW and asking Batch to reregister");navigator.serviceWorker.getRegistration().then(function(reg){return reg.unregister();}).then(function(){batchSDK(function(api){api.subscribe();});})["catch"](function(e){tC.log("Batch - Could not fix application server key mismatch:",e);});}else{tC.log("Batch - Registered application server key matches with Batch's, not doing anything");}})["catch"](function(){tC.log("Batch - Could not get applicationServerKey. User might not be subscribed to notifications.");});}
reregisterBatchPushIfNeeded(batchVapidPublicKey);if(tc_vars["user_logged"]==true||tc_vars["user_logged"]==1){batchSDK(function(api){api.setCustomUserID(tc_vars["user_account_id"]);});}else{batchSDK(function(api){api.setCustomUserID(null);});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('404')){tC.launchTag(404,'Content Square FP',26,301,1,1);(function(){window._uxa=window._uxa||[];try{if(typeof tc_vars!=='undefined'){window._uxa.push(['setCustomVariable',1,'env_template',tc_vars["env_template"],3]);window._uxa.push(['setCustomVariable',2,'page_name',tc_vars["page_name"],3]);window._uxa.push(['setCustomVariable',3,'custom_user_type',tc_vars["user_customer"],3]);window._uxa.push(['setCustomVariable',4,'user_logged',tc_vars["user_customer"],3]);window._uxa.push(['setCustomVariable',5,'site_version',tc_vars["site_version"],3]);window._uxa.push(['setCustomVariable',6,'basket_type',tc_vars["basket_type"],3]);window._uxa.push(['setCustomVariable',7,'pag_cat1',tc_vars["page_cat1"],3]);window._uxa.push(['setCustomVariable',8,'pag_cat2',tc_vars["page_cat2"],3]);window._uxa.push(['setCustomVariable',9,'product_marketplace',tc_vars["product_marketplace"],3]);window._uxa.push(['setCustomVariable',10,'product_mkp_vendor',tc_vars["product_mkp_vendor"],3]);window._uxa.push(['setCustomVariable',11,'product_status',tc_vars["product_status"],3]);}}catch(e){}
if(typeof CS_CONF==='undefined'){window._uxa.push(['setPath',window.location.pathname+window.location.hash.replace('#','?__')]);var mt=document.createElement("script");mt.type="text/javascript";mt.async=true;mt.id="tc_script_724_1";mt.src="//t.contentsquare.net/uxa/a73d7f702b8b4.js";document.getElementsByTagName("head")[0].appendChild(mt);}
else{window._uxa.push(['trackPageview',window.location.pathname+window.location.hash.replace('#','?__')]);}})();}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('455')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(455,'[Batch] - FP',2470,301,1,1);batchSDK(function(api){api.trackEvent("fiche_produit",{attributes:{"name":tc_vars["product_name"],"category":tc_vars["product_famille"],"genre":tc_vars["product_rayon"],"amount":tc_vars["product_unitprice_ati"],"id":tc_vars["product_id_refco"],"product page url":{type:api.eventAttributeTypes.URL,value:tc_vars["product_url_page"]}}});});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('456')){if((tc_vars["env_template"]=='famille'||tc_vars["env_template"]=='vitrine'||tc_vars["env_template"]=='univers'||tc_vars["env_template"]=='recherche'||tc_vars["env_template"]=='sousfamille'||tc_vars["env_template"]=='landing')){tC.launchTag(456,'Batch - PL',26,301,1,1);batchSDK(function(api){api.trackEvent("page_liste",{label:tc_vars["page_cat2"],tags:[tc_vars["page_cat1"]]});});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('435')){if((tc_vars["env_template"]=='famille'||tc_vars["env_template"]=='sous-famille'||tc_vars["env_template"]=='vitrine'||tc_vars["env_template"]=='rayon'||tc_vars["env_template"]=='univers')){tC.launchTag(435,'Floodlight - Page categorie',26,301,1,1);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/nav/nav3+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_template"],'u6':tc_vars["env_language"],'u7':tc_vars["product_cross_sell_origin"],'u8':tc_vars["product_discount"],'u9':tc_vars["product_famille"],'u10':tc_vars["product_rayon"],'u11':tc_vars["product_trademark"],'u12':tc_vars["product_univers"]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('437')){if((tc_vars["page_name"]=='es.commande.panier.accueil')){tC.launchTag(437,'Floodlight - Consultation panier',26,301,1,1);gtag('event','conversion',{'allow_custom_scripts':true,'send_to':'DC-11487542/pan/pan2+standard','u1':tc_vars["order_newcustomer"],'u2':tc_vars["user_logged"],'u3':tc_vars["user_activecustomer"],'u4':tc_vars["site_version"],'u5':tc_vars["env_template"],'u6':tc_vars["env_language"],'u7':tc_vars["product_cross_sell_origin"],'u8':tc_vars["product_discount"],'u9':tc_vars["product_famille"],'u10':tc_vars["product_rayon"],'u11':tc_vars["product_trademark"],'u12':tc_vars["product_univers"]});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('462')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(462,'Tiktok - ViewContent [042023]',2894,301,1,1);if(typeof(ttq)!=='undefined'){ttq.instance('CG8P7GJC77U7T197M4O0').track('ViewContent',{content_name:tc_vars["product_name"],content_id:tc_vars["product_id_refco"],content_category:tc_vars["page_cat1"],price:tc_vars["product_unitprice_tf"]});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('505')){tC.launchTag(505,'[Easyence] - init',26,301,1,1);var account_id="YT-000179-1";var domain_id="production"==tc_vars["env_work"]?'0535':'0536';tC.template=[];tC.template.easyence=function(){var _y_account=account_id;var _y_domain_id=domain_id;var _y_tools=window.ysance;var _y_params=_y_tools.getQueryParams();_y_tools.get('yt_workspace');var yt_email_to_sha256=function(psEMail){var lsEMail=psEMail||'';lsEMail=(lsEMail.indexOf('@')!=-1?_y_tools.sha256(lsEMail.trim().toLowerCase()):lsEMail||'');return lsEMail;};var yt_findFirstNotNullElement=function(pArray){if(typeof pArray==='undefined'||pArray.length==0)
return'';var lsRes='';for(var i=0;i<pArray.length;i++){if(typeof pArray[i].id==='undefined'||pArray[i].id==='undefined')
continue;if(pArray[i].id&&pArray[i].src){lsRes=pArray[i];break;}}
return lsRes;};var _y_pm=[];_y_pm.push({'id':tc_vars["user_id"],'src':tC.internalFunctions.SHA256.SHA256(tc_vars["user_email"]),'ch':''||'web-account'});var _y_email_from_url=_y_params.pmid||_y_tools.getQueryParams(document.referrer).pmid||'';_y_email_from_url=yt_email_to_sha256(_y_email_from_url);_y_pm.push({'id':_y_email_from_url,'src':(_y_params.pmsrc||_y_tools.getQueryParams(document.referrer).pmsrc||'email'),'ch':(_y_params.pmch||_y_tools.getQueryParams(document.referrer).pmch||'newsletter')});var _y_firstPM=yt_findFirstNotNullElement(_y_pm);window.yt_workspace('init',{'account':_y_account,'domain_id':_y_domain_id,'visitor':{'_pmId':(_y_firstPM?_y_firstPM.id:''),'_pmSrc':(_y_firstPM?_y_firstPM.src+';'+_y_firstPM.ch:'')},'rewrite_cookie_url':'fpc.'+window.location.host,'debug_enabled':false});if(typeof tC.event.pageEasyence!=="undefined"){tC.event.pageEasyence();}};tC.script.add("https://prod-js.aws.y-track.com/"+account_id+"/v6/tracker.min.js",tC.template.easyence,false);}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('464')){if((tc_vars["page_name"]=='es.commande.panier.accueil')){tC.launchTag(464,'[TikTok] - Initiate Checkout [042023]',2884,301,1,1);if(typeof(ttq)!==undefined){ttq.track('InitiateCheckout');}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('469')){tC.launchTag(469,'[RTB House] - HostedJS - Init',1314,301,1,1);(function(w,d,dn,t){w[dn]=w[dn]||[];w[dn].push({eventType:'init',value:t,dc:''});var f=d.getElementsByTagName('script')[0],c=d.createElement('script');c.async=true;c.src='https://tags.creativecdn.com/9dvzAzUfqi3YiuBSw6vC.js';f.parentNode.insertBefore(c,f);})(window,document,'rtbhEvents','hiiTFHRXCnapoB2yCe9U');}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('468')){if((tc_vars["page_name"]=='es.homepage')){tC.launchTag(468,'[RTB House] - HostedJS - HP',1314,301,1,1);if(typeof rtbhEvents!=="undefined"){(rtbhEvents=window.rtbhEvents||[]).push({eventType:'home'},{eventType:'uid',id:tc_vars["user_id"]||undefined});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('470')){if((tc_vars["env_template"]=='famille'||tc_vars["env_template"]=='sous-famille'||tc_vars["env_template"]=='vitrine'||tc_vars["env_template"]=='rayon'||tc_vars["env_template"]=='univers')){tC.launchTag(470,'[RTB House] - HostedJS - Page categorie',1316,301,1,1);if(typeof rtbhEvents!=="undefined"){(rtbhEvents=window.rtbhEvents||[]).push({eventType:'category',categoryId:tc_vars["page_categoryname"]},{eventType:'uid',id:tc_vars["user_id"]||undefined});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('467')){if((tc_vars["env_template"]=='ficheproduit')){tC.launchTag(467,'[RTB House] - HostedJS - FP',1316,301,1,1);if(typeof rtbhEvents!=="undefined"){(rtbhEvents=window.rtbhEvents||[]).push({eventType:'offer',offerId:tc_vars["product_id_refco"]},{eventType:'uid',id:tc_vars["user_id"]||undefined});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('466')){if((tc_vars["page_name"]=='es.commande.panier.accueil')){tC.launchTag(466,'[RTB House] - HostedJS - Basket Status',1318,301,1,1);setTimeout(function(){var ids=[];var nb_products=tc_vars["order_products"].length;for(var i=0;i<nb_products;i++){if(typeof(tc_vars["order_products"][i])==="undefined"){continue;}
if(typeof(tc_vars["order_products"][i]["order_product_id_refco"])==="undefined"){ids.push("")
continue;}
var tc_val=tc_vars["order_products"][i]["order_product_id_refco"];ids.push(tc_val);}
if(typeof rtbhEvents!=="undefined"){(rtbhEvents=window.rtbhEvents||[]).push({eventType:'basketstatus',offerIds:ids},{eventType:'uid',id:tc_vars["user_id"]||undefined});}},500);}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('509')){if(((document.location).toString().toLowerCase().indexOf(('/live-kiabi_LP199344').toLowerCase())!=-1)){tC.launchTag(509,'[Caast] - Piano Analytics',26,301,1,1);var checkExist=setInterval(function(){if(typeof window.caast!=='undefined'){if(typeof window.caastIsListening==='undefined'){window.caast.on('all',function(response){var eventName=response.type;var allowed_events=['onModalShow','onModalClose','onLivePlay','onLivePause','onProductClick','onProductDetailsClick','onProductDetailsShow','onProductOpen','onQuestionClick','onBasketAdd','onShare'];var productRef='';if(response.data.product_ref){productRef=response.data.product_ref;}
var contentId='';if(response.data.contentId){contentId=response.data.contentId;}
if(typeof window.pianoAnalytics!=='undefined'&&typeof window.pa!=='undefined'&&allowed_events.indexOf(eventName)>-1){if(contentId!==""){pa.sendEvent('caast',{eventaction:eventName,eventcategory:contentId,eventlabel:productRef});}}}).then(function(){window.caastIsListening=true;});}
clearInterval(checkExist);}},100);}}}
tC.launchTag(498,'[TrustCommander] - Special Features - [062023]',2644,301,1,1);var reloadAllContainers=function(){if(Array.isArray(window.tc_containers_URLs)&&typeof tC.script.add==='function'){window.tc_containers_URLs.map(function(elem){tC.script.add(elem);});}else{tC.log("Cannot reload containers");tC.log("tag 'Commanders Act - Containers URL saver' has a problem or it's missing");}};var optinAndReload=function(actionType){tC.privacy.In(0,tC.privacyVersion,'ALL','ALL',actionType);reloadAllContainers();};var optOUTandReload=function(actionType){tC.privacy.optoutAll(actionType);reloadAllContainer();};var removeBanner=function(){if(document.getElementById('tc-privacy-wrapper')){var x=document.getElementById('tc-privacy-wrapper');x.parentNode.removeChild(x);}};var tcImplicit=0;var tcImplicitType='Opt-OUT';var tcImplicitClick=0;var tcImplicitScroll=0;var tcImplicitOptout=0;var tcScrollType='';var tcReloadContainer=0;var tcScrollPercentage=0;var tcTrustTrigger=0;var tcTrustTriggerName='';tcImplicit=0;tcReloadContainer=1;tcTrustTrigger=0;window.tc_closePrivacyCenter=function(){removeBanner();if(tcTrustTrigger&&tcTrustTriggerName&&typeof tC.event[tcTrustTriggerName]=='function'){tC.event[tcTrustTriggerName](this,{"optinEvent":"banner_accept_button"});}
if(tcReloadContainer){tC.internalvars.antireload_privacy=1;reloadAllContainers();}};window.tc_closePrivacyButton=function(){removeBanner();if(tcTrustTrigger&&tcTrustTriggerName&&typeof tC.event[tcTrustTriggerName]=='function'){tC.event[tcTrustTriggerName](this,{"optinEvent":"privacy_center"});}
if(tcReloadContainer){tC.internalvars.antireload_privacy=1;reloadAllContainers();}};function tc_events_1(tc_elt,tc_id_event,tc_array_events){tc_array_events["id"]=tc_id_event;(function(){var l='product_with_customization|page_name|list_name|basket_type|order_subcommands_number|user_session_id|order_shipping_methods|product_list|category|action|label|value|product_id|product_trademark|product_univers|product_sousfamille|product_famille|product_quantity|kb_coloris|product_unitprice_tf|checkout_label|checkout_step|env_work|env_language|type_ajout_panier|env_country|env_template|env_channel|site_version|order_newcustomer|pagename|timestamp|product_color|product_stickers|product_saison|product_name|address_ip|filter_value|filter_type|sort_value|uri|test_version|product_size|product_id_refco|product_store|product_reco|product_cross_sell_origin|product_discount|product_discount_ati|product_discount_tf|search_keywords|user_account_id|search_page_number|user_logged|search_results_number|list_products|product_rayon|product_unitprice_ati|page_cat1|page_cat2|page_cat3|page_cat4|id'.split('|');for(var k in l){if(!tc_array_events.hasOwnProperty(l[k])){tc_array_events[l[k]]='';}}})();if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E4')){if(tc_array_events["id"]=='add_to_cart'){tC.launchTag('eadd_to_cart','add_to_cart','-1','301','1');if(typeof tC.event.addToCart!=="undefined"&&tc_vars.env_type=="gcp"){tC.event.addToCart(this,tc_array_events);}
if(tc_vars.env_type=="coreye"){tc_vars.product_id=tc_array_events["product_id"],tc_vars.product_color=tc_array_events["product_color"],tc_vars.product_name=tc_array_events["product_name"],tc_vars.product_univers=tc_array_events["product_univers"],tc_vars.product_famille=tc_array_events["product_famille"],tc_vars.product_sousfamille=tc_array_events["product_sousfamille"],tc_vars.product_unitprice_tf=tc_array_events["product_unitprice_tf"],tc_vars.product_quantity=tc_array_events["product_quantity"],tc_vars.product_trademark=tc_array_events["product_trademark"],tc_vars.env_language=tc_vars["env_language"],tc_vars.env_country=tc_vars["env_country"],tc_vars.type_ajout_panier=tc_array_events["type_ajout_panier"]
ga('kiabi.ec:addProduct',{'id':tc_array_events["product_id"],'name':tc_array_events["product_id_refco"]+'|'+tc_array_events["product_name"],'category':tc_array_events["product_univers"]+'/'+tc_array_events["product_famille"]+'/'+tc_array_events["product_sousfamille"],'price':tc_array_events["product_unitprice_tf"],'quantity':tc_array_events["product_quantity"],'brand':tc_array_events["product_trademark"],'dimension25':tc_array_events["product_saison"],'dimension26':tc_array_events["product_stickers"],'dimension27':tc_array_events["product_size"],'dimension28':tc_array_events["product_color"],'dimension31':tc_array_events["product_trademark"],'dimension32':tc_array_events["product_id"],'dimension33':tc_array_events["product_id_refco"],'dimension49':tc_array_events["product_store"],'dimension65':tc_vars["product_customization_allowed"],'dimension66':tc_array_events["product_with_customization"],'dimension67':tc_vars["page_cat1"],'dimension68':tc_vars["product_type"]});ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension5',tC.internalvars.url);ga('kiabi'+'.set','dimension6',tc_vars["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_array_events["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension27',tc_array_events["product_size"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension39',tc_array_events["type_ajout_panier"]);ga('kiabi'+'.set','dimension41',tc_vars["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tc_array_events["uri"]);ga('kiabi'+'.set','dimension49',tc_array_events["product_store"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_array_events["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension53',tc_array_events["product_famille"]);ga('kiabi'+'.set','dimension54',tc_array_events["product_name"]);ga('kiabi'+'.set','dimension55',tc_array_events["product_univers"]);ga('kiabi'+'.set','dimension56',tc_array_events["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_array_events["product_discount"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric1',tc_array_events["product_unitprice_tf"]*tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric4','1');ga('kiabi'+'.set','metric8',tc_array_events["product_quantity"]);ga('kiabi'+'.set','metric11',tc_array_events["product_discount_tf"]);if(tc_array_events["product_discount"]=="yes"){ga('kiabi'+'.set','metric19','1');}
ga('kiabi.ec:setAction','add',{'list':tC.internalvars.cookielist});ga('kiabi.send','event',tc_array_events["category"],tc_array_events["product_univers"]+'|'+tc_array_events["product_famille"]+'|'+tc_array_events["product_sousfamille"],tc_array_events["product_trademark"]+'|'+tc_array_events["product_name"]+'|'+tc_array_events["product_id_refco"],Math.round(tc_array_events["value"]),{'nonInteraction':1});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E6')){if(tc_array_events["id"]=='filter'){tC.launchTag('efilter','filter','-1','301','1');tc_vars.env_template=tc_array_events["env_template"],tc_vars.env_country=tc_array_events["env_country"],tc_vars.env_language=tc_array_events["env_language"],tc_vars.filter_type=tc_array_events["filter_type"],tc_vars.filter_value=tc_array_events["filter_value"],tc_vars.pagename=tc_array_events["pagename"],tc_vars.uri=tc_array_events["uri"],tc_vars.label=tc_array_events["label"],tc_vars.ip=tc_vars["address_ip"]
if(tc_array_events["filter_type"]){ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension6',tc_array_events["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_array_events["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_array_events["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_array_events["test_version"]);ga('kiabi'+'.set','dimension42',tc_array_events["filter_type"]);ga('kiabi'+'.set','dimension43',tc_array_events["filter_value"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tc_array_events["uri"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension53',tc_vars["product_famille"]);ga('kiabi'+'.set','dimension54',tc_vars["product_name"]);ga('kiabi'+'.set','dimension55',tc_vars["product_univers"]);ga('kiabi'+'.set','dimension56',tc_vars["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension51',tc_array_events["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric9','1');ga('kiabi.send','event','filter',tc_array_events["env_template"],tc_array_events["label"],{'nonInteraction':1});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E7')){if(tc_array_events["id"]=='sort'){tC.launchTag('esort','sort','-1','301','1');tc_vars.env_template=tc_array_events["env_template"],tc_vars.env_country=tc_array_events["env_country"],tc_vars.env_language=tc_array_events["env_language"],tc_vars.sort_value=tc_array_events["sort_value"],tc_vars.pagename=tc_array_events["pagename"],tc_vars.uri=tc_array_events["uri"],tc_vars.ip=tc_vars["address_ip"]
if(tc_array_events["sort_value"]){ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension6',tc_array_events["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_array_events["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_array_events["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_array_events["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tc_array_events["uri"]);ga('kiabi'+'.set','dimension46',tc_array_events["sort_value"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension53',tc_vars["product_famille"]);ga('kiabi'+'.set','dimension54',tc_vars["product_name"]);ga('kiabi'+'.set','dimension55',tc_vars["product_univers"]);ga('kiabi'+'.set','dimension56',tc_vars["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension51',tc_array_events["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric10','1');ga('kiabi.send','event','sort',tc_array_events["env_template"],tc_array_events["sort_value"],{'nonInteraction':1});}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E8')){if(tc_array_events["id"]=='event'){tC.launchTag('eevent','event','-1','301','1');tC.log('event Start');tc_vars.product_id=tc_array_events["product_id"],tc_vars.product_color=tc_array_events["product_color"],tc_vars.product_name=tc_array_events["product_name"],tc_vars.product_univers=tc_array_events["product_univers"],tc_vars.product_famille=tc_array_events["product_famille"],tc_vars.product_sousfamille=tc_array_events["product_sousfamille"],tc_vars.product_unitprice_tf=tc_array_events["product_unitprice_tf"],tc_vars.product_trademark=tc_array_events["product_trademark"],tc_vars.product_discount=tc_vars["product_discount"],tc_vars.product_discount_ati=tc_vars["order_discount_ati"],tc_vars.product_discount_tf=tc_vars["order_discount_tf"],tc_vars.product_id_refco=tc_vars["product_id_refco"],tc_vars.product_rayon=tc_vars["product_rayon"],tc_vars.product_saison=tc_array_events["product_saison"],tc_vars.product_size=tc_vars["product_size"],tc_vars.product_unitprice_ati=tc_vars["product_unitprice_ati"],tc_vars.env_language=tc_array_events["env_language"],tc_vars.env_country=tc_array_events["env_country"],tc_vars.env_template=tc_vars["env_template"],tc_vars.page_name=tc_vars["page_name"],tc_vars.test_version=tc_array_events["test_version"],tc_vars.test_version=tc_array_events["product_store"],tc_vars.address_ip=tc_vars["address_ip"],ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension6',tc_array_events["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_vars["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension25',tc_array_events["product_saison"]);ga('kiabi'+'.set','dimension26',tc_vars["product_stickers"]);ga('kiabi'+'.set','dimension27',tc_vars["product_size"]);ga('kiabi'+'.set','dimension28',tc_array_events["product_color"]);ga('kiabi'+'.set','dimension31',tc_array_events["product_trademark"]);ga('kiabi'+'.set','dimension32',tc_array_events["product_id"]);ga('kiabi'+'.set','dimension33',tc_vars["product_id_refco"]);ga('kiabi'+'.set','dimension34',tc_array_events["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_array_events["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_array_events["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_array_events["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_array_events["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tC.internalvars.uri);ga('kiabi'+'.set','dimension49',tc_array_events["product_store"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_array_events["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension53',tc_array_events["product_famille"]);ga('kiabi'+'.set','dimension54',tc_array_events["product_name"]);ga('kiabi'+'.set','dimension55',tc_array_events["product_univers"]);ga('kiabi'+'.set','dimension56',tc_array_events["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','dimension67',tc_array_events["page_cat1"]);ga('kiabi'+'.set','dimension68',tc_vars["product_type"]);tC.log('Event Cat is : '+tc_array_events["category"]);if(tc_array_events["category"]=='impression_product'){tC.log('Category is impression_product')
var listProducts=tc_array_events["list_products"];tC.log("productListe : "+listProducts);for(var i=0;i<listProducts.length;i++){var product=listProducts[i];ga('kiabi'+'.ec:addImpression',{'id':product.list_product_id,'list':product.list,'name':product.list_product_name,'category':"",'price':product.list_product_unitprice_ati,'quantity':product.list_product_quantity,'dimension25':product['list_product_saison'],'dimension26':product['list_product_stickers'],'dimension27':product['list_product_size'],'dimension28':product['list_product_color'],'dimension31':product['list_product_trademark'],'dimension32':product['list_product_id'],'dimension33':product['list_product_id_refco'],'dimension49':product['list_product_store']});}}
ga('kiabi.send','event',tc_array_events["category"],tc_array_events["action"],tc_array_events["label"],Math.round(tc_array_events["value"]),{'nonInteraction':1});var recoElements=document.getElementsByClassName("widgetReco");var myRecoFunction=function(recoId){tC.log('clic on reco produit'+recoId);document.cookie="cookielist=/reco/"+recoId+";path=/";listvalue="/reco/"+recoId;tC.log("cookie list "+listvalue);};for(var i=0;i<recoElements.length;i++){recoElements[i].addEventListener('click',function(){var recoId=this.getAttribute('name');myRecoFunction(recoId);},false);}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E9')){if(tc_array_events["id"]=='widget_reco'){tC.launchTag('ewidget_reco','widget_reco','-1','301','1');tc_vars.product_id=tc_vars["product_id"],tc_vars.product_color=tc_vars["product_color"],tc_vars.product_name=tc_vars["product_name"],tc_vars.product_univers=tc_vars["product_univers"],tc_vars.product_famille=tc_vars["product_famille"],tc_vars.product_sousfamille=tc_vars["product_sousfamille"],tc_vars.product_unitprice_tf=tc_vars["product_unitprice_tf"],tc_vars.product_trademark=tc_vars["product_trademark"],tc_vars.product_discount=tc_vars["product_discount"],tc_vars.product_discount_ati=tc_vars["product_discount_ati"],tc_vars.product_discount_tf=tc_vars["product_discount_tf"],tc_vars.product_id_refco=tc_vars["product_id_refco"],tc_vars.product_rayon=tc_vars["product_rayon"],tc_vars.product_saison=tc_vars["product_saison"],tc_vars.product_size=tc_vars["product_size"],tc_vars.product_unitprice_ati=tc_vars["product_unitprice_ati"],tc_vars.env_language=tc_vars["env_language"],tc_vars.env_country=tc_vars["env_country"],tc_vars.env_template=tc_vars["env_template"],tc_vars.page_name=tc_vars["page_name"],tc_vars.test_version=tc_vars["test_version"],tc_vars.test_version=tc_vars["product_store"],tc_vars.address_ip=tc_vars["address_ip"]
ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension6',tc_vars["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_vars["site_version"]);ga('kiabi'+'.set','dimension10',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension11',tc_vars["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_vars["user_logged"]);ga('kiabi'+'.set','dimension15',tc_vars["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_vars["address_ip"]);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_vars["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension25',tc_vars["product_saison"]);ga('kiabi'+'.set','dimension26',tc_vars["product_stickers"]);ga('kiabi'+'.set','dimension27',tc_vars["product_size"]);ga('kiabi'+'.set','dimension28',tc_vars["product_color"]);ga('kiabi'+'.set','dimension31',tc_vars["product_trademark"]);ga('kiabi'+'.set','dimension32',tc_vars["product_id"]);ga('kiabi'+'.set','dimension33',tc_vars["product_id_refco"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_vars["test_version"]);ga('kiabi'+'.set','dimension44',tc_vars["page_name"]);ga('kiabi'+'.set','dimension45',tC.internalvars.uri);ga('kiabi'+'.set','dimension49',tc_vars["product_store"]);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_vars["product_reco"]);ga('kiabi'+'.set','dimension52',tc_vars["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension53',tc_vars["product_famille"]);ga('kiabi'+'.set','dimension54',tc_vars["product_name"]);ga('kiabi'+'.set','dimension55',tc_vars["product_univers"]);ga('kiabi'+'.set','dimension56',tc_vars["product_sousfamille"]);ga('kiabi'+'.set','dimension57',tc_vars["product_discount"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','metric1',tc_vars["product_unitprice_tf"]);ga('kiabi.send','event',tc_array_events["category"],tc_array_events["action"],tc_array_events["label"],Math.round(tc_array_events["value"]),{'nonInteraction':1});}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E10')){if(tc_array_events["id"]=='search'){tC.launchTag('esearch','search','-1','301','1');if(tc_array_events["env_template"]=="recherche"){if(tc_array_events["env_work"]=="production"){var ua='UA-12239303-12';}
else{var ua='UA-61207873-9';}
var tcId=window.location.hash.substr(1).split('=')[1];var cookieName="cookielist";var browserName=navigator.appName;if(browserName=="Microsoft Internet Explorer"){expires=";";}
else{expires=";expires=0;"}
if(tc_array_events["env_template"]!="ficheproduit"){if(tc_array_events["env_template"]=="recherche"){listvalue="/recherche/"+tC.internalFunctions.tc_function_4(tc_array_events["search_keywords"]);}else if((tc_array_events["env_template"]=="univers")||(tc_array_events["env_template"]=="famille")||(tc_array_events["env_template"]=="sousfamille")||(tc_array_events["env_template"]=="vitrine")||(tc_array_events["env_template"]=="rayon")){listvalue="/"+tc_array_events["env_template"]+' | '+tC.internalvars.uri;}else if(tc_array_events["env_template"]=="boutique"){listvalue="/"+tc_array_events["env_template"]+' | '+tC.internalvars.uri;}else{listvalue="/autre/";}}else if((document.referrer.indexOf(tC.internalvars.maindomain)==-1)||(document.referrer===undefined)||(document.referrer===null)||(document.referrer==="")){}
window.GACookie13Months=window.GACookie13Months||function(){var valueCookieGA_expire=""
var cookieGA_expire=60*60*24*30*13*1000;var cookieGA_Name="_ga";try{var time_diff=cookieGA_expire/1000;var ga_cookie=(result=new RegExp("(?:^|; )"+encodeURIComponent(cookieGA_Name)+"=([^;]*)").exec(document.cookie))?unescape(result[1]):""
if(ga_cookie){time_diff=Math.round(((new Date((Number(ga_cookie.split(".").pop()))*1000).getTime()+cookieGA_expire)-new Date().getTime())/1000);}
valueCookieGA_expire=time_diff;}catch(e){valueCookieGA_expire=cookieGA_expire/1000;}
return valueCookieGA_expire;};(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');if(navigator.userAgent.indexOf('mobileApp')!=-1&&tcId!==null){ga('create',ua,{'cookieDomain':'auto','name':'kiabi','cookieExpires':GACookie13Months(),'siteSpeedSampleRate':1,'clientId':tcId});}
else{ga('create',ua,{'cookieDomain':'auto','name':'kiabi','cookieExpires':GACookie13Months(),'siteSpeedSampleRate':1});}
ga('kiabi'+'.set','anonymizeIp',true);ga('kiabi'+'.require','ec');ga('kiabi'+'.set','page',tC.internalvars.uri);ga('kiabi'+'.set','dimension1',tc_array_events["product_id"]);ga('kiabi'+'.set','dimension2',"searchresults");ga('kiabi'+'.set','dimension3',gecomm_totalvalue);ga('kiabi'+'.set','dimension4',tC.internalvars.connectionType);ga('kiabi'+'.set','dimension5',tC.internalvars.url);ga('kiabi'+'.set','dimension6',tc_array_events["env_language"]);ga('kiabi'+'.set','dimension7','es');ga('kiabi'+'.set','dimension8',tc_array_events["site_version"]);ga('kiabi'+'.set','dimension10',"recherche");ga('kiabi'+'.set','dimension11',tc_array_events["env_template"]);ga('kiabi'+'.set','dimension12',tC.getCookie("_gid"));ga('kiabi'+'.set','dimension13',tC.getCookie("_ga"));ga('kiabi'+'.set','dimension14',tc_array_events["user_logged"]);ga('kiabi'+'.set','dimension15',tc_array_events["user_account_id"]);ga('kiabi'+'.set','dimension16',tc_array_events["address_ip"]);ga('kiabi'+'.set','dimension21',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension22',tc_vars["user_customer"]);ga('kiabi'+'.set','dimension23',tc_array_events["order_newcustomer"]);ga('kiabi'+'.set','dimension24',tc_vars["user_activecustomer"]);ga('kiabi'+'.set','dimension34',tc_vars["page_cat1"]);ga('kiabi'+'.set','dimension35',tc_vars["page_cat2"]);ga('kiabi'+'.set','dimension36',tc_vars["page_cat3"]);ga('kiabi'+'.set','dimension37',tc_vars["page_cat4"]);ga('kiabi'+'.set','dimension41',tc_array_events["test_version"]);ga('kiabi'+'.set','dimension44',tc_array_events["pagename"]);ga('kiabi'+'.set','dimension45',tC.internalvars.uri);ga('kiabi'+'.set','dimension50',navigator.userAgent);ga('kiabi'+'.set','dimension51',tc_array_events["product_reco"]);ga('kiabi'+'.set','dimension52',tc_array_events["product_cross_sell_origin"]);ga('kiabi'+'.set','dimension62',tc_vars["personalized_session"]);ga('kiabi'+'.set','dimension63',tc_vars["personalized_user_type"]);ga('kiabi'+'.set','dimension64',tc_vars["env_type"]);ga('kiabi'+'.set','contentGroup1',"recherche");ga('kiabi'+'.set','contentGroup2',tc_array_events["env_template"]);if(tc_array_events["env_template"]=="recherche"&&tc_array_events["list_products"].length>0){var temp_concat=tc_array_events["list_products"];for(var i=0;i<temp_concat.length&&i<8;i++){var product=temp_concat[i];ga('kiabi'+'.ec:addImpression',{'position':product['list_product_position'],'id':product['list_product_id'],'name':product['list_product_id_refco']+'|'+product['list_product_name'],'price':product['list_product_unitprice_tf'],'category':product['list_product_univers']+'/'+product['list_product_famille']+'/'+product['list_product_sousfamille'],'brand':product['list_product_trademark'],'list':listvalue,'dimension25':product['list_product_saison'],'dimension26':product['list_product_stickers'],'dimension27':product['list_product_size'],'dimension28':product['list_product_color'],'dimension31':product['list_product_trademark'],'dimension32':product['list_product_id'],'dimension33':product['list_product_id_refco'],'dimension49':product['list_product_store']});}
ga('kiabi'+'.set','metric3','1')}
if((tc_array_events["env_template"]=="recherche")&&(parseFloat(tc_array_events["search_results_number"])>0)){ga('kiabi'+'.set','dimension21',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_array_events["search_results_number"]);ga('kiabi'+'.set','page','/search/with-results'+tC.internalvars.uri+'?motcle='+tc_array_events["search_keywords"]+'&motcategorie=search with results');}
if(tc_array_events["env_template"]=="recherche"&&(tc_array_events["search_results_number"]===0)){ga('kiabi'+'.set','dimension21',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_array_events["search_results_number"]);ga('kiabi'+'.set','page','/search/without-result'+tC.internalvars.uri+'?motcle='+tc_array_events["search_keywords"]+'&motcategorie=search without result');}
ga('kiabi'+'.send','pageview');if((tc_array_events["env_template"]=="recherche")&&(parseFloat(tc_array_events["search_results_number"])>0)){ga('kiabi'+'.set','dimension21',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_array_events["search_results_number"]);ga('kiabi'+'.send','event','search','search with results',tc_array_events["search_keywords"],tc_array_events["search_results_number"],{nonInteraction:true});}
if((tc_array_events["env_template"]=="recherche")&&(tc_array_events["search_results_number"]==="0")){ga('kiabi'+'.set','dimension21',tC.internalvars.page_content_type);ga('kiabi'+'.set','dimension47',tC.internalvars.voicesearch);ga('kiabi'+'.set','dimension48',tc_array_events["search_results_number"]);ga('kiabi'+'.send','event','search','search without results',tc_array_events["search_keywords"],tc_array_events["search_results_number"],{nonInteraction:true});}}}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E20')){if(tc_array_events["id"]=='impression_product'){tC.launchTag('eimpression_product','impression_product','-1','301','1');var listProducts=tc_array_events["list_products"];tC.log(listProducts);for(var i=0;i<listProducts.length;i++){var product=listProducts[i];ga('kiabi.ec:addImpression',{'id':product.list_product_id_refco,'list':product.list,'name':product.list_product_name,'category':"",'price':product.list_product_unitprice_ati,'quantity':product.list_product_quantity});}
ga('kiabi.send','event',"impression_product","discover_product",{'nonInteraction':1})}}}
if(tC.getCookie(tC.privacy.getCN())!=''){if(tC.privacy.validRules('E30')){if(tc_array_events["id"]=='search'){tC.launchTag('esearch','RTB_SEARCH','-1','301','1');}}}
if(tc_array_events["id"]=='search'){tC.launchTag('esearch','Event Search Piano','-1','301','1');if(typeof tC.event.event_search!=="undefined"){tC.event.event_search(this,tc_array_events);}}
if(tc_array_events["id"]=='event'){tC.launchTag('eevent','Event Global Piano','-1','301','1');if(typeof tC.event.event_global!=="undefined"){tC.event.event_global(this,tc_array_events);}}}
var tc_privacy_used=0;var tc_privacy_display_1=function(){if(tc_vars["site_version"]=='app'){if(tC.isCurrentVersion()&&tC.isCookieEnabled()){tC.privacy.containerId=1;tC.script.add('https://cdn.trustcommander.net/privacy/301/privacy_v2_20.js');}}
if(tc_vars["site_version"]=='desktop'){if(tC.isCurrentVersion()&&tC.isCookieEnabled()){tC.privacy.containerId=1;tC.script.add('https://cdn.trustcommander.net/privacy/301/privacy_v2_14.js');}}
if(tc_vars["site_version"]=='mobile'){if(tC.isCurrentVersion()&&tC.isCookieEnabled()){tC.privacy.containerId=1;tC.script.add('https://cdn.trustcommander.net/privacy/301/privacy_v2_12.js');}}}
var tc_privacy_cpt=0;function tc_privacy_wait_body_1(){if(document.body!=null){tc_privacy_display_1();}else{tc_privacy_cpt++;if(tc_privacy_cpt<20){setTimeout('tc_privacy_wait_body_1()',100);}}}
tc_privacy_wait_body_1();tC.onDomReady(function(){tC.container_301_1.eventlisteners();});