PageSourceSearch

https://moldeparaimprimir.com/_next/static/chunks/4291.dc89fa35f3f5ae79.js

js moldeparaimprimir.com collected 2026-09-27 12:38:33 UTC 4,961 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4291],{4291:function(e,l,t){t.r(l),t.d(l,{default:function(){return v}});var n=t(5893),o=t(7294),i=t(4281),r=t(5613),d=t(6606),a=t(16),u=t(316),c=t(2263),s=t(4115);function v(e){let{blocks:l}=e,[t,v]=(0,o.useState)(null),[f,g]=(0,o.useState)(!1);(0,o.useEffect)(()=>{var e;let t=l.find(e=>e.config&&function(e){var l,t,n,o,i,r;let d=new URLSearchParams(window.location.search),a=[{pattern:e.utmPattern,value:null!==(l=d.get("utm_source"))&&void 0!==l?l:""},{pattern:e.avExperimentPattern,value:null!==(t=d.get("av_experiment"))&&void 0!==t?t:""},{pattern:e.locationPattern,value:window.location.pathname}],u=a.every(e=>{let{pattern:l,value:t}=e;return!l||l.toLowerCase()===t.toLowerCase()});if(!u)return!1;if(e.gclidPattern){let e=null!==(i=null===(n=d.get("gclid"))||void 0===n?void 0:n.length)&&void 0!==i?i:0,l=null!==(r=null===(o=d.get("fbclid"))||void 0===o?void 0:o.length)&&void 0!==r?r:0;return e>15||l>15}return!0}(e)),n="true"===(0,a.ej)("rewardedReady");if(!t||n)return;let o=function(e){let l=null!=e.variantConfig&&null!=e.variantType;if(l&&"variant"===(0,u.Zk)()){var t;return{id:null!==(t=e.variantId)&&void 0!==t?t:e.id,type:e.variantType,config:e.variantConfig}}return{id:e.id,type:e.type,config:e.config}}(t);(0,c.B)(o.config)&&!(0,s.O)(o.config).enabled&&(0,r.nO)(),v(o);let i=(null!==(e=t.delayTime)&&void 0!==e?e:0)*1e3+2500,d=setTimeout(()=>g(!0),i);return()=>clearTimeout(d)},[l]);let w=t?d.J[t.type]:null;return(0,n.jsx)("div",{"data-av-rewarded":"true",children:t&&f&&w&&(0,n.jsx)(w,{id:t.id,config:t.config,onClose:()=>g(!1),adAction:()=>{var e,l,n,o;let r=null==t?void 0:null===(e=t.config)||void 0===e?void 0:e.settings,d=(0,i.G)({settings:{loaderCopy:null!==(n=null==r?void 0:r.loaderCopy)&&void 0!==n?n:"",domain:null!==(o=null==r?void 0:null===(l=r.cookieDomain)||void 0===l?void 0:l.replace(/^\.+/,""))&&void 0!==o?o:"",redirectUrl:null==r?void 0:r.redirectUrl}});return d.run((null==t?void 0:t.type)===3?"rewardedLong":"rewarded")}})})}},4281:function(e,l,t){t.d(l,{G:function(){return d}});var n=t(16);function o(e){try{var l,t;let n=null===(t=window.avConfig)||void 0===t?void 0:null===(l=t.slots)||void 0===l?void 0:l[e],o=Array.isArray(n)?n:[n];return o.length>0&&o.every(e=>(null==e?void 0:e.type)==="offerWall")}catch(e){return!1}}function i(){var e;let l=null===(e=window.av)||void 0===e?void 0:e.slots;if(!Array.isArray(l))return null;for(let e=0;e<l.length;e++){let t=l[e];if(t&&"rewarded"===t.type&&"ready"===t.lifecycle&&!o(e))return t}return null}function r(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4e4;return new Promise(t=>{var n,o,i;let r=null===(i=window)||void 0===i?void 0:null===(o=i.googletag)||void 0===o?void 0:null===(n=o.pubads)||void 0===n?void 0:n.call(o);if(!r||!(null==e?void 0:e.definition)){setTimeout(t,l);return}let d=l=>{l.slot===e.definition&&(a(),t())},a=()=>{try{r.removeEventListener("rewardedSlotClosed",d)}catch(e){}};r.addEventListener("rewardedSlotClosed",d),setTimeout(()=>{a(),t()},l)})}function d(e){var l;let t=null!==(l=e.getRewardedSlot)&&void 0!==l?l:i,d={off:async()=>{},interstitial:async()=>{},rewarded:async()=>{var e,l,n,i,d,a;let u=null===(e=window)||void 0===e?void 0:e.av,c=null!==(d=null==u?void 0:u.slots)&&void 0!==d?d:[],s=c.map((e,l)=>({slot:e,index:l})).filter(e=>{let{slot:l}=e;return(null==l?void 0:l.type)==="rewarded"});console.log("[adActions:rewarded] av exists?",!!u),console.log("[adActions:rewarded] total slots:",c.length),console.log("[adActions:rewarded] rewarded slots:",s.map(e=>{let{slot:l,index:t}=e;return{name:l.name,lifecycle:l.lifecycle,unfilled:l.unfilled,hasDefinition:!!l.definition,placement:l.placement,isOfferWall:o(t)}})),console.log("[adActions:rewarded] av.timeline:",null==u?void 0:u.timeline),console.log("[adActions:rewarded] googletag.pubads ready?",!!(null===(i=window)||void 0===i?void 0:null===(n=i.googletag)||void 0===n?void 0:null===(l=n.pubads)||void 0===l?void 0:l.call(n)));let v=t();if(console.log("[adActions:rewarded] getSlot() result:",v?{lifecycle:v.lifecycle,name:v.name}:null),!v){console.warn("Rewarded slot n\xe3o encontrado/pronto");return}let f=r(v,4e4);try{null===(a=v.show)||void 0===a||a.call(v)}catch(e){console.error("[adActions:rewarded] slot.show threw:",e)}await f},rewardedLong:async()=>{let l=t();if(!l){if(d.activeOW(),e.settings.redirectUrl){let l=window.location.search,t=l?e.settings.redirectUrl+(e.settings.redirectUrl.includes("?")?"&":"?")+l.slice(1):e.settings.redirectUrl;return window.location.replace(t),new Promise(()=>{})}return}let n=r(l,4e4);try{var o;null===(o=l.show)||void 0===o||o.call(l)}catch(e){}await n},activeOW:async()=>{(0,n.d8)("loaderCopy",e.settings.loaderCopy,e.settings.domain),(0,n.d8)("rewardedReady","true",e.settings.domain)}};return{async run(){var e;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"off",t=null!==(e=d[l])&&void 0!==e?e:d.off;return t()}}}}}]);

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.