PageSourceSearch

https://wiapy.com/_nuxt/DT_xUipc.js

js wiapy.com collected 2026-10-01 15:20:05 UTC 6,234 bytes, 1 lines download raw bytes

1import{a as k,P as e,n as g}from"./C_P9wO55.js";import{d as q}from"./BSAyYz-O.js";import{q as b,a_ as $,aA as x}from"./DY9uiTjd.js";import"./wzCOPK40.js";const w=q({setup(){$({title:"Wiapy",htmlAttrs:{lang:"pt-BR"},meta:[{charset:"utf-8"},{name:"viewport",content:"user-scalable=no, width=device-width, initial-scale=1.0"},{name:"mobile-web-app-capable",content:"yes"}],link:[{rel:"icon",type:"image/x-icon",href:"/img/favicon.ico"}],script:[]})},data(){return{facebook:[],tiktok:[],ads:[]}},mounted(){(this._.provides[e]||this.$route).query.utm_source&&(this._.provides[e]||this.$route).query.utm_source!==""&&this.cookieSet("utm_source",(this._.provides[e]||this.$route).query.utm_source,{expires:"336h"}),(this._.provides[e]||this.$route).query.utm_medium&&(this._.provides[e]||this.$route).query.utm_medium!==""&&this.cookieSet("utm_medium",(this._.provides[e]||this.$route).query.utm_medium,{expires:"336h"}),(this._.provides[e]||this.$route).query.utm_campaign&&(this._.provides[e]||this.$route).query.utm_campaign!==""&&this.cookieSet("utm_campaign",(this._.provides[e]||this.$route).query.utm_campaign,{expires:"336h"}),(this._.provides[e]||this.$route).query.utm_term&&(this._.provides[e]||this.$route).query.utm_term!==""&&this.cookieSet("utm_term",(this._.provides[e]||this.$route).query.utm_term,{expires:"336h"}),(this._.provides[e]||this.$route).query.utm_content&&(this._.provides[e]||this.$route).query.utm_content!==""&&this.cookieSet("utm_content",(this._.provides[e]||this.$route).query.utm_content,{expires:"336h"}),(this._.provides[e]||this.$route).query.fbclick&&(this._.provides[e]||this.$route).query.fbclick!==""&&this.cookieSet("_fbc",(this._.provides[e]||this.$route).query.fbclick,{expires:"360h"}),(this._.provides[e]||this.$route).query.fbp&&(this._.provides[e]||this.$route).query.fbp!==""&&this.cookieSet("_fbp",(this._.provides[e]||this.$route).query.fbp,{expires:"360h"}),(this._.provides[e]||this.$route).query.affiliate&&(this.affiliate=(this._.provides[e]||this.$route).query.affiliate),this.getData()},methods:{getData(){this.httpGet(this.$config.public.baseURL+"/page/data?url="+(this._.provides[e]||this.$route).params.id).then(h=>{if(h.body.length>0){(this._.provides[e]||this.$route).query.affiliate&&(this.cookieSet("fiapy-checkout-"+h.body[0]._id,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"}),h.body[0].url&&this.cookieSet("fiapy-checkout-"+h.body[0].url,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"})),h.body[0].offers.forEach(u=>{(this._.provides[e]||this.$route).query.affiliate&&this.cookieSet("fiapy-checkout-"+u.url,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"})});let f="";h.body[0].sales_page.forEach(u=>{u.url===(this._.provides[e]||this.$route).params.id&&(f=u.sales_page)}),h.body[0].marketplace&&h.body[0].marketplace.checkouts.forEach(u=>{(this._.provides[e]||this.$route).query.affiliate&&(this.cookieSet("fiapy-checkout-"+u._id,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"}),u.url&&this.cookieSet("fiapy-checkout-"+u.url,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"})),u.offers.forEach(p=>{(this._.provides[e]||this.$route).query.affiliate&&this.cookieSet("fiapy-checkout-"+p.url,(this._.provides[e]||this.$route).query.affiliate,{expires:"336h"})})}),this.getPixel(f)}}).catch(h=>{console.log(h)})},getPixel(h){let f="?id="+(this._.provides[e]||this.$route).params.id;this.affiliate!==""&&(this._.provides[e]||this.$route).query.affiliate&&(f=f+"&affiliate="+this.affiliate),this.httpGet(this.$config.public.baseURL+"/checkout/pixel"+f).then(u=>{if(u.body.forEach((s,v)=>{if(s.type==="facebook"){let d=s.fields.filter(i=>{if(i.name==="id")return i}).map(i=>i.value)[0],m=s.events.map(i=>i.value);this.facebook.push({id:d,fields:[],events:m}),(function(i,o,n,t,r,a,c){i.fbq||(r=i.fbq=function(){r.callMethod?r.callMethod.apply(r,arguments):r.queue.push(arguments)},i._fbq||(i._fbq=r),r.push=r,r.loaded=!0,r.version="2.0",r.queue=[],a=o.createElement(n),a.async=!0,a.src=t,c=o.getElementsByTagName(n)[0],c.parentNode.insertBefore(a,c))})(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),fbq("init",d),fbq("track","PageView")}if(s.type==="tiktok"){let d=s.fields.filter(i=>{if(i.name==="id")return i}).map(i=>i.value)[0],m=s.events.map(i=>i.value);this.tiktok.push({id:d,fields:[],events:m}),(function(i,o,n){i.TiktokAnalyticsObject=n;var t=i[n]=i[n]||[];t.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],t.setAndDefer=function(a,c){a[c]=function(){a.push([c].concat(Array.prototype.slice.call(arguments,0)))}};for(var r=0;r<t.methods.length;r++)t.setAndDefer(t,t.methods[r]);t.instance=function(a){for(var c=t._i[a]||[],l=0;l<t.methods.length;l++)t.setAndDefer(c,t.methods[l]);return c},t.load=function(a,c){var l="https://analytics.tiktok.com/i18n/pixel/events.js";t._i=t._i||{},t._i[a]=[],t._i[a]._u=l,t._t=t._t||{},t._t[a]=+new Date,t._o=t._o||{},t._o[a]=c||{};var _=document.createElement("script");_.type="text/javascript",_.async=!0,_.src=l+"?sdkid="+a+"&lib="+n;var y=document.getElementsByTagName("script")[0];y.parentNode.insertBefore(_,y)},t.load(d),t.page()})(window,document,"ttq"),ttq.track("InitiateCheckout",{})}if(s.type==="ads"){let d=s.fields.filter(o=>{if(o.name==="id")return o}
1).map(o=>o.value)[0],m=s.fields.filter(o=>{if(o.name==="label")return o}).map(o=>o.value)[0],i=s.events.map(o=>o.value);this.ads.push({id:d,label:m,events:i})}}),this.ads.length>0){var p=document.createElement("script");p.type="text/javascript",p.src="https://www.googletagmanager.com/gtag/js?id="+this.ads[0].id,document.head.appendChild(p),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",this.ads[0].id)}this.ads.forEach(s=>{s.events.indexOf("view")>-1&&setTimeout(function(){gtag("event","conversion",{send_to:s.id+"/"+s.label,value:0,currency:"BRL",transaction_id:Date.now()})},1e3)}),setTimeout(function(){g(h,{external:!0})},600)}).catch(u=>{console.log(u)})}}},"$TfOoP02ev6");function S(h,f,u,p,s,v){return x(),b("div")}const j=k(w,[["render",S]]);export{j 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.