(window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[]).push([[11],{1223:function(e,r,n){"use strict";n.r(r);var t=n(34),o=n(7);r.default=function(){var e,r,n=function(e){return e.replace(/</g,"&lt;").replace(/"/g,"&quot;")},i=n(window.location.search),a=function(){if(!document.referrer)return"";try{return new URL(document.referrer).host}catch(e){console.error(e)}return""}();if(/isdl=y/.test(i)||/aff_short_key=/.test(i)||/(google|bing|yahoo|yandex|baidu|naver|msn|rambler)/.test(null==a?void 0:a.toLowerCase())){var c,d=window.location.href,s=encodeURIComponent(n(d.substring(0,Math.min(1e3,d.indexOf("?"))))),l=[];a&&l.push("__referer__="+a),window.dmtrack_pageid&&l.push("__page_id__="+window.dmtrack_pageid),s&&l.push("current_url="+s),e="//s.click.aliexpress.com/direct_landing.htm"+(c=i?i+"&":"?")+l.join("&"),(r=document.createElement("img")).src=e,r.alt="affiliate",r.style.display="none",document.body.appendChild(r),r.addEventListener("load",(function(){document.body.removeChild(r)})),function(e){t.a.request({api:"mtop.aliexpress.traffic.web.direct.landing.click.report",v:"1.0",type:"GET",data:{browserId:o.a.get("xman_us_f","acs_rt"),currentUrl:e}})}("//s.click.aliexpress.com/direct_landing.htm"+c+l.join("&"))}}}}]);