(function(p,u,s,h,n,e,w,z){if(null===document.getElementById(w)){p[n]=z;p[h]=p[h]||[];p[h].push(["init",z]);var f=u.getElementsByTagName(s)[0],j=u.createElement(s);j.id=w;j.async=1;j.src=e;f.parentNode.insertBefore(j,f)}})(window,document,'script','IlabsPush','_ilabsPushConfig','https://cdn.pn.vg/push/ilabspush.min.js','pushnews-js',{"optin":{"mailinglistOsp":{"status":!1,"activation":{"type":"optinClickNo"},"title":"Prefere assinar nossa Newsletter?","subtitle":"Ao continuar voc\u00ea declara que leu e assinou nossos Termos e Condi\u00e7\u00f5es","buttonSignUp":"OK","thankYou":"Obrigado pelo cadastro :)"},"native":!1,"disableBranding":!1,"status":!0,"vapidPublicKey":"BDMscwEg21xP8xfBOXDrKNKLVh-dUjCNje_jRQLQTNoCA34bRtlkpEzONyb0uXbhoS1dzWLf4FvXCdYBzajWLbs","activation":{"type":"auto"},"%desktopImage%":"https:\/\/go.c4p1.org\/2026\/01\/20\/19590\/phpXUD5Lq.png","%desktopTxtTitle%":"Fique ligado!","%desktopTxtBody%":"Receba conte\u00fados exclusivos para voc\u00ea!","%desktopTxtButtonNo%":"N\u00e3o, obrigado","%desktopTxtButtonYes%":"Eba, quero!","nativePrePrompt":!0,"themeVerticalAlignment":"top","themeHorizontalAlignment":"center"},"popup":{"emailCapture":!1,"emailActionMessage":"Quer tamb\u00e9m se inscrever na nossa newsletter?","emailSubtitleMessage":"Ao continuar voc\u00ea declara que leu e concordou com nossos Termos e Condi\u00e7\u00f5es","emailButtonSubmit":"Assinar","emailSuccessMessage":"Obrigado pelo cadastro :)","emailNoThanks":"N\u00e3o, obrigado.","name":"hering com br","domain":"hering.pn.vg","appId":"2cc1a1dc-92e1-4186-8b92-f2f4d699e52c","actionMessage":"Receba nossas novidades e promo\u00e7\u00f5es. ","notificationIcon":"https:\/\/go.c4p1.org\/2026\/01\/20\/19590\/phpXUD5Lq.png","notificationTitle":"Fique por dentro! ","notificationMessage":"Esta \u00e9 uma notifica\u00e7\u00e3o exemplo.","caption":"(pode cancelar quando quiser)"},"osp":{"status":!0,"activation":{"type":"auto"},"trackViews":!0,"trackClicks":!0},"extra":{"constants":{"WHITELABEL":!1,"PUSH_NOTIFICATION_SUBSCRIPTION_SDK_URL":"https:\/\/cdn.pn.vg\/push\/PushnewsSubscriptionSDK.js"},"googleAnalytics":{"status":!1,"events":[]},"interests":{"status":!1,"INTERESTS":[]},"modules":{"cartAbandonment":{"status":!0,"vendor":"generic","notifications":[]}},"api":{"url":"https:\/\/api.pushnews.eu","publicToken":"pub_c49bcd4f2b4078c06513c37416baa76d1881465d1515"},"launcherParameters":{"secure.hering.com.br":{"pnStatus":!1}}}});document.addEventListener('PushnewsSDKEvent',function(e){let status='';const group=e?.detail?.group;const action=e?.detail?.action;const id=e?.detail?.id;if(group==='OPTIN_WIDGET'){if(action==='CLICK_YES'){status='prePromptClickYes'}else if(action==='CLICK_NO'){status='prePromptClickNo'}}else if(group==='NOTIFICATIONS_OPTIN'&&id==='popup'){if(action==='ALLOW'){status='notificationsOptinAllow'}else if(action==='BLOCK'){status='notificationsOptinBlock'}} if(status!==''){window.dataLayer=window.dataLayer||[];dataLayer.push({event:"pushnews",status:status})}});var IlabsPush=IlabsPush||[];var Pushnews=Pushnews||{};Pushnews.cartRecovery={lastRecoveryEventDate:0,maxSecondsPerRecoveryEvent:60,isObserveUrlChangesInitialized:!1,sendRecoveryEvent:function(){if(null===Pushnews.cartRecovery.lastRecoveryEventDate||Date.now()-Pushnews.cartRecovery.lastRecoveryEventDate>Pushnews.cartRecovery.maxSecondsPerRecoveryEvent*1000){Pushnews.cartRecovery.lastRecoveryEventDate=Date.now();IlabsPush.push(["ecommerce.itemAddedToCart"])}else{console.log("IlabsPush:ecommerce.itemAddedToCart was prevented: too soon to be sent again.")}},convertPriceTextToNumber:function(priceText){return parseFloat(priceText.replace('R$','').replace(/\./g,'').replace(',','.'))},custom:{monitorCart:function(){document.querySelector('body').addEventListener('click',function(event){if(event.target.closest('[data-custom-buy-button-ui]')){Pushnews.cartRecovery.sendRecoveryEvent()}})},monitorCheckout:function(){},observeUrlChanges:function(){var previousUrl=location.href;var observer=new MutationObserver(function(mutations){if(location.href!==previousUrl&&''!==previousUrl){previousUrl=location.href;setTimeout(function(){Pushnews.cartRecovery.custom.init()},1500)}});observer.observe(document,{subtree:!0,childList:!0})},init:function(){Pushnews.cartRecovery.custom.monitorCart();Pushnews.cartRecovery.custom.monitorCheckout();if(!Pushnews.cartRecovery.isObserveUrlChangesInitialized){Pushnews.cartRecovery.custom.observeUrlChanges();Pushnews.cartRecovery.isObserveUrlChangesInitialized=!0}}},init:function(){Pushnews.cartRecovery.custom.init()}} Pushnews.cartRecovery.init()