1import{z as y,l as g}from"./index-GRB8Jcml.js";import{M as h}from"./MagazineService-muCZR2sY.js";const b={name:"LinkBrand",components:{},setup(){let a=y().query,s=a.cid,l=a.pid,n=a.tid;var e=a.url;const t=g("cryptojs");var p="0123456789abcdef0123456789abcfye",u="0123456789abcfye",r="";let c={content_id:s,content_product_id:l,url:e};n&&(c.m_type="B",c.content_product_id=n);let f=JSON.stringify(c);r=t.AES.encrypt(f,t.enc.Utf8.parse(p),{iv:t.enc.Utf8.parse(u),padding:t.pad.Pkcs7,mode:t.mode.CBC}).toString();let m=encodeURIComponent(r),d=new URL(e);d.searchParams.append("cfye",m);let _=d.toString();if(n){let o=new FormData;o.append("tag_id",n),o.append("url",e),h.updateMagazineProductsLogs(o).then(i=>{i.data.code=="S"&&(e.includes("http")||e.includes("https"))&&(e.includes("cfye.house")||e.includes("niteformula.com")?location.replace(_):location.replace(e))}).catch(i=>{console.log(i),(e.includes("http")||e.includes("https"))&&location.replace(e)})}}};export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.