PageSourceSearch

https://affiliateeconomy.info/_nuxt/CyasXceV.js

js affiliateeconomy.info collected 2026-10-07 03:16:20 UTC 18,495 bytes, 1 lines download raw bytes

1import h from"./D3-lK2r8.js";import{k as ee,u as te,i as C,c as d,m as oe,p as ne,q as le,a as y,d as c,f as t,o as s,j as g,e as l,n as i,s as F,t as Z,v as X,b as T,x,y as ae}from"./Do1nZpFk.js";import"./BM5aYONo.js";const re={key:0,class:"cookie-banner-container"},ce=["innerHTML"],se={class:"text-right"},ie=["innerHTML"],ue=["role","aria-modal"],de={class:"cookie-banner-v2__cont"},be={class:"cookie-banner-v2__cont__left"},ve=["innerHTML"],pe=["innerHTML"],ge=["innerHTML"],_e={key:1,class:"cookie-banner-v2__cont__left__settings"},ke={class:"cookie-banner-v2__cont__left__checkbox necessary"},ye=["innerHTML"],Ce={class:"cookie-banner-v2__cont__left__checkbox"},fe=["innerHTML"],me={class:"cookie-banner-v2__cont__left__checkbox"},he=["innerHTML"],Te={class:"cookie-banner-v2__cont__left__checkbox"},xe=["innerHTML"],Se={class:"cookie-banner-v2__cont__right__top"},we=["innerHTML"],Be=["innerHTML"],He={class:"cookie-banner-v2__cont__right__bottom"},Me=["innerHTML"],$e={__name:"Banner",setup(Ve){const{$bus:M}=ee(),{project:G}=te(),V=C(!0),J=C(!0),b=C(!1),v=C(!1),p=C(!1),$=C(null),r=C(!1),f=C("necessary"),e=d(()=>G.getCookieContent),m=d(()=>{const a=e.value||{},{bannerStyle:o,bannerType:n}=a;return o==="basic-b-w"?n==="bar":o!=="modern-clean"}),z=d(()=>!(e.value.bannerStyle==="modern-clean"&&r.value&&e.value.bannerType==="bar")),N=d(()=>e.value.bannerStyle!=="custom"?U.value:Object.assign({},{backgroundColor:e.value.colors.bannerBackground,color:e.value.colors.bannerText},U.value)),j=d(()=>e.value.bannerCtaType==="button"?{tag:"b-btn",type:"button",style:{backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaText},content:e.value.bannerCtaText}:e.value.bannerCtaType==="buttonBorder"?{tag:"b-btn",type:"buttonBorder",style:{backgroundColor:e.value.colors.ctaText,color:e.value.colors.ctaBackgroundColor,border:`solid 1px ${e.value.colors.ctaBackgroundColor}`},content:e.value.bannerCtaText}:e.value.bannerCtaType==="icon"?{tag:"b-btn",type:"icon",style:{width:"34px",height:"32px",padding:"0",backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaText},content:'<i class="fa fa-check" />'}:{tag:"div",type:"link",style:null,content:e.value.bannerCtaText}),_=d(()=>e.value.bannerCtaAllowAllType==="button"?{tag:"b-btn",type:"button",style:{backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:e.value.bannerCtaAllowAllText}:e.value.bannerCtaAllowAllType==="buttonBorder"?{tag:"b-btn",type:"buttonBorder",style:{backgroundColor:e.value.colors.ctaButtonText,color:e.value.colors.ctaBackgroundColor,border:`solid 1px ${e.value.colors.ctaBackgroundColor}`},content:e.value.bannerCtaAllowAllText}:e.value.bannerCtaAllowAllType==="icon"?{tag:"b-btn",type:"icon",style:{width:"34px",height:"32px",padding:"0",backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:'<i class="fa fa-check" />'}:{tag:"div",type:"link",style:{color:e.value.colors.ctaLinkText},content:e.value.bannerCtaAllowAllText}),k=d(()=>e.value.bannerCtaDisableAllType==="button"?{tag:"b-btn",type:"button",style:{backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:e.value.bannerCtaDisableAllText}:e.value.bannerCtaDisableAllType==="buttonBorder"?{tag:"b-btn",type:"buttonBorder",style:{backgroundColor:e.value.colors.ctaButtonText,color:e.value.colors.ctaBackgroundColor,border:`solid 1px ${e.value.colors.ctaBackgroundColor}`},content:e.value.bannerCtaDisableAllText}:e.value.bannerCtaDisableAllType==="icon"?{tag:"b-btn",type:"icon",style:{width:"34px",height:"32px",padding:"0",backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:'<i class="fa fa-close" />'}:{tag:"div",type:"link",style:{color:e.value.colors.ctaLinkText},content:e.value.bannerCtaDisableAllText}),S=d(()=>e.value.bannerCtaCustomizeSettingsType==="button"?{tag:"b-btn",type:"button",style:{backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:e.value.bannerCtaCustomizeSettingsText}:e.value.bannerCtaCustomizeSettingsType==="buttonBorder"?{tag:"b-btn",type:"buttonBorder",style:{backgroundColor:e.value.colors.ctaButtonText,color:e.value.colors.ctaBackgroun
1dColor,border:`solid 1px ${e.value.colors.ctaBackgroundColor}`},content:e.value.bannerCtaCustomizeSettingsText}:e.value.bannerCtaCustomizeSettingsType==="icon"?{tag:"b-btn",type:"icon",style:{width:"34px",height:"32px",padding:"0",backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:'<i class="fa fa-cog" />'}:{tag:"div",type:"link",style:{color:e.value.colors.ctaLinkText},content:e.value.bannerCtaCustomizeSettingsText}),u=d(()=>e.value.bannerCtaSettingsSaveType==="button"?{tag:"b-btn",type:"button",style:{backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaButtonText},content:e.value.bannerCtaSettingsSaveText}:e.value.bannerCtaSettingsSaveType==="buttonBorder"?{tag:"b-btn",type:"buttonBorder",style:{backgroundColor:e.value.colors.ctaButtonText,color:e.value.colors.ctaBackgroundColor,border:`solid 1px ${e.value.colors.ctaBackgroundColor}`},content:e.value.bannerCtaSettingsSaveText}:e.value.bannerCtaSettingsSaveType==="icon"?{tag:"b-btn",type:"icon",style:{width:"34px",height:"32px",padding:"0",backgroundColor:e.value.colors.ctaBackgroundColor,color:e.value.colors.ctaLinkText},content:'<i class="fa fa-check" />'}:{tag:"div",type:"link",style:{color:e.value.colors.ctaLinkText},content:e.value.bannerCtaSettingsSaveText}),R=d(()=>({[e.value.bannerPosition]:0,left:0})),K=d(()=>({"top-left":{top:"20px",left:"20px"},"top-center":{top:"20px",left:"50%",transform:"translateX(-50%)"},"top-right":{top:"20px",right:"20px"},"bottom-left":{bottom:"20px",left:"20px"},"bottom-center":{bottom:"20px",left:"50%",transform:"translateX(-50%)"},"bottom-right":{bottom:"20px",right:"20px"}})[e.value.popUpPosition]),Q=d(()=>({...K.value})),U=d(()=>e.value.bannerType==="bar"?R.value:Q.value),w=()=>{V.value=localStorage.getItem("estage_cookie_shown")==="true",J.value=localStorage.getItem("estage_cookie_accepted_all")==="true",localStorage.getItem("estage_cookie_accepted_all")?(b.value=localStorage.getItem("estage_cookie_accepted_functional")==="true",v.value=localStorage.getItem("estage_cookie_accepted_performance")==="true",p.value=localStorage.getItem("estage_cookie_accepted_targeting")==="true"):(b.value=!1,v.value=!1,p.value=!1),A.value=!1},L=()=>{const a=localStorage.getItem("estage_cookie_accepted_all")==="true",o=localStorage.getItem("estage_cookie_accepted_performance")==="true",n=localStorage.getItem("estage_cookie_accepted_targeting")==="true",B=localStorage.getItem("estage_cookie_accepted_functional")==="true",H={ad_storage:a||n?"granted":"denied",ad_user_data:a||n?"granted":"denied",ad_personalization:a||n?"granted":"denied",analytics_storage:a||o?"granted":"denied",functionality_storage:a||B?"granted":"denied",security_storage:"granted"};window.dispatchEvent(new CustomEvent("estage:consent-applied",{detail:H}))},Y=()=>{A.value=!1,V.value=!0},E=()=>{localStorage.setItem("estage_cookie_shown",!0),localStorage.setItem("estage_cookie_accepted_all",!0),localStorage.setItem("estage_cookie_accepted_functional",!0),localStorage.setItem("estage_cookie_accepted_performance",!0),localStorage.setItem("estage_cookie_accepted_targeting",!0),w(),L()},D=()=>{localStorage.setItem("estage_cookie_shown",!0),localStorage.setItem("estage_cookie_accepted_all",!1),localStorage.setItem("estage_cookie_accepted_functional",!1),localStorage.setItem("estage_cookie_accepted_performance",!1),localStorage.setItem("estage_cookie_accepted_targeting",!1),w(),L()},P=()=>{r.value=!1;const a=!!(b.value&&v.value&&p.value);localStorage.setItem("estage_cookie_shown",!0),localStorage.setItem("estage_cookie_accepted_all",a),localStorage.setItem("estage_cookie_accepted_functional",b.value),localStorage.setItem("estage_cookie_accepted_performance",v.value),localStorage.setItem("estage_cookie_accepted_targeting",p.value),w(),L()},W=a=>{a.preventDefault();const o=a.target.closest("a");if(o)try{const n=JSON.parse(o.getAttribute("href"));let B=null;n.id=="custom-link"?B=n.custom_link:(B=`${window.location.origin}/${n.slug}`,$.value||($.value=ae(()=>{w(),V.value&&(D(),clearInterval($.value))},3e3)));const H=window.open(B,"_blank","noopener");return H&&(H.opener=null),H}catch{}},A=C(!1),q=a=>{A.value=a.detail.toggle},I=()=>{const a=document.querySelector(".cookie-banner-v2__cont__left > div:first-child"),o=document.querySelector(".cookie-banner-v2__cont__left__right");if((window.innerWidth<=768||!r.value)&&a)return a.style.removeProperty("width");
1if(!a||!o)return;const n=o.offsetWidth;a.style.width=`calc(100% - ${n}px)`};oe(()=>r.value,()=>{setTimeout(()=>I())});const O=e.value&&e.value.bannerType==="bar"&&e.value.bannerStyle==="modern-clean";return ne(()=>{w(),L(),O&&(I(),window.addEventListener("resize",I)),M&&M.addEventListener("app:toggle-cookie-consent",q)}),le(()=>{O&&window.removeEventListener("resize",I),M&&M.removeEventListener("app:toggle-cookie-consent",q)}),(a,o)=>!t(V)&&t(e)&&t(e).enabled||t(A)?(s(),y("div",re,[t(e).contentNecessary?c("",!0):(s(),y("div",{key:0,class:"cookie-banner",style:g(t(N))},[l("div",{onClick:W,innerHTML:t(e).content},null,8,ce),l("div",se,[l("button",{type:"button",class:"cookie-cta btn",style:g(t(j).style),innerHTML:t(j).content},null,12,ie)])],4)),t(e).contentNecessary?(s(),y("div",{key:1,style:g(t(N)),class:i(["cookie-banner-v2",{"cookie-banner-v2__popup":t(e).bannerType!=="bar","cookie-banner-v2__bar":t(e).bannerType==="bar",[`cookie-banner-v2__${t(e).bannerStyle}`]:!0,[`cookie-banner-v2__${t(e).bannerStyle}__edit`]:t(r)}]),role:t(e).bannerType==="bar"?"region":"dialog","aria-modal":t(e).bannerType==="bar"?null:"true","aria-label":"Cookie consent"},[l("button",{type:"button",class:"bnt-close","aria-label":"Close cookie banner",onClick:Y},o[12]||(o[12]=[l("svg",{width:"9",height:"9",viewBox:"0 0 9 9",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M8 8L1 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M1 8L8 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),l("div",de,[l("div",be,[l("div",{class:i({"cookie-banner-v2__cont__left__left":!t(z)}),onClick:W,innerHTML:t(e).content},null,10,ve),t(z)?c("",!0):(s(),y("div",{key:0,class:i(["cookie-banner-v2__cont__left__right",{"cookie-banner-v2__cont__edit":t(r)}])},[l("button",{type:"button",class:i({"btn-default":t(_).type==="button","btn-link":t(_).type==="link","btn-border":t(_).type==="buttonBorder"}),style:g(t(e).bannerStyle==="custom"?t(_).style:{}),innerHTML:t(_).content,onClick:E},null,14,pe),l("button",{type:"button",class:i({"btn-default":t(k).type==="button","btn-link":t(k).type==="link","btn-border":t(k).type==="buttonBorder"}),style:g(t(e).bannerStyle==="custom"?t(k).style:{}),innerHTML:t(k).content,onClick:D},null,14,ge),t(r)?(s(),y("button",{key:0,class:i(["btn-save-settings",{"btn-default":t(u).type==="button","btn-link":t(u).type==="link","btn-border":t(u).type==="buttonBorder"}]),style:g(t(e).bannerStyle==="custom"?t(u).style:{}),type:"button",onClick:P},[o[13]||(o[13]=F('<svg width="13" height="13" viewBox="0 0 13 13" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.3125C0 0.587625 0.587625 0 1.3125 0H10.875C11.5999 0 12.1875 0.587631 12.1875 1.3125V10.875C12.1875 11.5999 11.5999 12.1875 10.875 12.1875H1.3125C0.587631 12.1875 0 11.5999 0 10.875V1.3125ZM1.3125 0.9375C1.10539 0.9375 0.9375 1.10539 0.9375 1.3125V10.875C0.9375 11.0821 1.10539 11.25 1.3125 11.25H10.875C11.0821 11.25 11.25 11.0821 11.25 10.875V1.3125C11.25 1.10539 11.0821 0.9375 10.875 0.9375H1.3125Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M2.8125 0.46875C2.8125 0.209869 3.02237 0 3.28125 0H8.59375C8.85263 0 9.0625 0.209869 9.0625 0.46875V6.09375C9.0625 6.35262 8.85263 6.5625 8.59375 6.5625H3.28125C3.02237 6.5625 2.8125 6.35262 2.8125 6.09375V0.46875ZM3.75 0.9375V5.625H8.125V0.9375H3.75Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.71875 2.1875C6.97763 2.1875 7.1875 2.39737 7.1875 2.65625V3.90625C7.1875 4.16513 6.97763 4.375 6.71875 4.375C6.45987 4.375 6.25 4.16513 6.25 3.90625V2.65625C6.25 2.39737 6.45987 2.1875 6.71875 2.1875Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M1.56055 0.46875C1.56055 0.209869 1.77041 0 2.0293 0H9.84227C10.1012 0 10.311 0.209869 10.311 0.46875C10.311 0.727631 10.1012 0.9375 9.84227 0.9375H2.0293C1.77041 0.9375 1.56055 0.727631 1.56055 0.46875Z" fill="currentColor"></path></svg>',1)),Z(" "+X(t(u).content),1)],6)):c("",!0)],2)),t(r)?(s(),y("div",_e,[l("div",ke,[l("div",{class:i({active:t(f)==="necessary"}),onClick:o[0]||(o[0]=n=>f.value="necessary"),innerHTML:t(e).contentNecessary},null,10,ye),o[14]||(o[14]=l("div",{class:"cookie-banner-v2__always-active"},"Always active",-1))]),l("div",Ce,[t(m)?(s(),T(h,{key:0,modelValue:t(b),"onUpdate:modelValue":o[1]||(o[1]=n=>x(b)?b.value=n:null),class:"cookie-banner-v2__checkbox",control:{value:t(b),id:"functional"}},null,8,["modelValue","control"])):c("",!0),l("div",{class:i({active:t(f)==="functional"}),onClick:o[2]||(o[2]=n=>f.value="functional"),innerHTML:t(e).contentFunctional},null,10,fe),t(m)?c("",!0):(s(),T(h,{key:1,modelValue:t(b),"onUpdate:modelValue":o[3]||(o[3]=n=>x(b)?b.value=n:null),size:"lg",control:{value:t(b),id:"functional"},"is-switch":""},null,8,["modelValue","control"]))]),l("div",me,[t(m)?(s(),T(h,{key:0,modelValue:t(v),"onUpdate:modelValue":o[4]||(o[4]=n=>
1x(v)?v.value=n:null),class:"cookie-banner-v2__checkbox",control:{value:t(v),id:"performance"}},null,8,["modelValue","control"])):c("",!0),l("div",{class:i({active:t(f)==="performance"}),onClick:o[5]||(o[5]=n=>f.value="performance"),innerHTML:t(e).contentPerformance},null,10,he),t(m)?c("",!0):(s(),T(h,{key:1,modelValue:t(v),"onUpdate:modelValue":o[6]||(o[6]=n=>x(v)?v.value=n:null),size:"lg",control:{value:t(v),id:"performance"},"is-switch":""},null,8,["modelValue","control"]))]),l("div",Te,[t(m)?(s(),T(h,{key:0,modelValue:t(p),"onUpdate:modelValue":o[7]||(o[7]=n=>x(p)?p.value=n:null),class:"cookie-banner-v2__checkbox",control:{value:t(p),id:"targeting"}},null,8,["modelValue","control"])):c("",!0),l("div",{class:i({active:t(f)==="targeting"}),onClick:o[8]||(o[8]=n=>f.value="targeting"),innerHTML:t(e).contentTargeting},null,10,xe),t(m)?c("",!0):(s(),T(h,{key:1,modelValue:t(p),"onUpdate:modelValue":o[9]||(o[9]=n=>x(p)?p.value=n:null),size:"lg",control:{value:t(p),id:"targeting"},"is-switch":""},null,8,["modelValue","control"]))])])):c("",!0)]),t(z)?(s(),y("div",{key:0,class:i(["cookie-banner-v2__cont__right",{"cookie-banner-v2__cont__edit":t(r)}])},[l("div",Se,[l("button",{type:"button",class:i({"btn-default":t(_).type==="button","btn-link":t(_).type==="link","btn-border":t(_).type==="buttonBorder"}),style:g(t(e).bannerStyle==="custom"?t(_).style:{}),innerHTML:t(_).content,onClick:E},null,14,we),l("button",{type:"button",class:i({"btn-default":t(k).type==="button","btn-link":t(k).type==="link","btn-border":t(k).type==="buttonBorder"}),style:g(t(e).bannerStyle==="custom"?t(k).style:{}),innerHTML:t(k).content,onClick:D},null,14,Be)]),l("div",He,[t(r)&&["custom","dark","default","light"].indexOf(t(e).bannerStyle)!==-1&&t(e).bannerType!=="bar"?(s(),y("button",{key:0,class:i(["btn-save-settings",{"btn-default":t(u).type==="button","btn-link":t(u).type==="link","btn-border":t(u).type==="buttonBorder"}]),style:g(t(e).bannerStyle==="custom"?t(u).style:{}),type:"button",onClick:o[10]||(o[10]=n=>r.value=!t(r))},o[15]||(o[15]=[l("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M5.05078 12.9696H10.7174C12.6724 12.9696 14.2591 11.3829 14.2591 9.4279C14.2591 7.4729 12.6724 5.88623 10.7174 5.88623H2.92578",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M4.55552 7.65706L2.74219 5.84373L4.55552 4.0304",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Z(" Go Back ")]),6)):c("",!0),t(r)?c("",!0):(s(),y("button",{key:1,type:"button",class:i(["btn-save",{"btn-default":t(S).type==="button","btn-link":t(S).type==="link","btn-border":t(S).type==="buttonBorder"}]),style:g(t(e).bannerStyle==="custom"?t(S).style:{}),onClick:o[11]||(o[11]=n=>r.value=!t(r)),innerHTML:t(S).content},null,14,Me)),t(r)?(s(),y("button",{key:2,class:i(["btn-save-settings",{"btn-default":t(u).type==="button","btn-link":t(u).type==="link","btn-border":t(u).type==="buttonBorder"}]),style:g(t(e).bannerStyle==="custom"?t(u).style:{}),type:"button",onClick:P}
1,[o[16]||(o[16]=F('<svg width="13" height="13" viewBox="0 0 13 13" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.3125C0 0.587625 0.587625 0 1.3125 0H10.875C11.5999 0 12.1875 0.587631 12.1875 1.3125V10.875C12.1875 11.5999 11.5999 12.1875 10.875 12.1875H1.3125C0.587631 12.1875 0 11.5999 0 10.875V1.3125ZM1.3125 0.9375C1.10539 0.9375 0.9375 1.10539 0.9375 1.3125V10.875C0.9375 11.0821 1.10539 11.25 1.3125 11.25H10.875C11.0821 11.25 11.25 11.0821 11.25 10.875V1.3125C11.25 1.10539 11.0821 0.9375 10.875 0.9375H1.3125Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M2.8125 0.46875C2.8125 0.209869 3.02237 0 3.28125 0H8.59375C8.85263 0 9.0625 0.209869 9.0625 0.46875V6.09375C9.0625 6.35262 8.85263 6.5625 8.59375 6.5625H3.28125C3.02237 6.5625 2.8125 6.35262 2.8125 6.09375V0.46875ZM3.75 0.9375V5.625H8.125V0.9375H3.75Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.71875 2.1875C6.97763 2.1875 7.1875 2.39737 7.1875 2.65625V3.90625C7.1875 4.16513 6.97763 4.375 6.71875 4.375C6.45987 4.375 6.25 4.16513 6.25 3.90625V2.65625C6.25 2.39737 6.45987 2.1875 6.71875 2.1875Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M1.56055 0.46875C1.56055 0.209869 1.77041 0 2.0293 0H9.84227C10.1012 0 10.311 0.209869 10.311 0.46875C10.311 0.727631 10.1012 0.9375 9.84227 0.9375H2.0293C1.77041 0.9375 1.56055 0.727631 1.56055 0.46875Z" fill="currentColor"></path></svg>',1)),Z(" "+X(t(u).content),1)],6)):c("",!0)])],2)):c("",!0)])],14,ue)):c("",!0)])):c("",!0)}};export{$e 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.