PageSourceSearch

https://www.cooperpetcare.app/_next/static/chunks/822-1c2a6a61a945b6d2.js?dpl=dpl_HFCp2ztREg1HuPc2VGTaWQrdZc6j

js cooperpetcare.app collected 2026-09-24 13:54:37 UTC 5,562 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[822],{20822:(t,e,n)=>{n.d(e,{Ct:()=>f,hj:()=>m,rj:()=>w,UA:()=>_,PQ:()=>d});var r=n(58415),a=n(9339);let i=(0,a.createServerReference)("7090fdc4026010f47bceab314b4dd3a422c648e20c",a.callServer,void 0,a.findSourceMapURL,"trackServer"),o=(t,e,n)=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({ecommerce:null,user_data:null}),window.dataLayer.push({event:t,ecommerce:e,...n&&{user_data:n}}),n&&window.dataLayer.push({user_data:null})},c={Lead:"SubmitForm",pcp_showed_interest_in_registration:"Contact"};function u(t,e){if(!window?.ttq)return;let n=c[t]??t;window.ttq.track(n,e)}let l=()=>{try{let t=new URLSearchParams(window.location.search).get("fbclid");if(!(0,r.lx)(t))return;let e=document.cookie.match(/(?:^|; )_fbc=([^;]*)/)?.[1];if((0,r.fW)(e,t))return;document.cookie=`${r.p4}=${(0,r.pW)(t,Date.now())}; path=/; max-age=${r.bv}; SameSite=Lax`}catch{}},s=async(t,e,n)=>{l(),window?.fbq&&window.fbq("track",t,e,{eventId:n}),u(t,e),await i(t,{...e,event_source_url:window.location.href},n)},d=async(t,e,n)=>{l(),window?.fbq&&window.fbq("trackCustom",t,e,{eventId:n}),u(t,e),await i(t,{...e,event_source_url:window.location.href},n)},_=t=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cta_click",...t})},m=async({servicio:t,content_name:e,content_ids:n,content_type:r,lead_id:a,google_phone:i})=>{let c=`lead-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,u={servicio:t};e&&(u.content_name=e),n&&(u.content_ids=n.map(String)),r&&(u.content_type=r);let l=i?.replace(/[\s().-]/g,"");l&&/^\+54\d{10}$/.test(l)&&(l=`+549${l.slice(3)}`),o("generate_lead",{servicio:t,currency:"ARS",value:0,...e&&{content_name:e},...n&&{content_ids:n.map(String)},...a&&{transaction_id:`lead-${a}`}},l&&/^\+[1-9]\d{7,14}$/.test(l)?{phone_number:l}:void 0),await s("Lead",u,c)},f=async t=>{let e=`addtowishlist-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,n={servicio:t.servicio};t.content_name&&(n.content_name=t.content_name),t.content_ids&&(n.content_ids=t.content_ids.map(String)),t.content_type&&(n.content_type=t.content_type),void 0!==t.value&&(n.value=t.value,n.currency="ARS"),await s("AddToWishlist",n,e),o("add_to_wishlist",{servicio:t.servicio,currency:"ARS",...void 0!==t.value&&{value:t.value},items:t.content_ids?[{item_id:t.content_ids[0],item_name:t.content_name,item_category:t.content_type,...void 0!==t.value&&{price:t.value,quantity:1}}]:[]})},w=async t=>{let e=`viewcontent-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,n={servicio:t.servicio};t.content_name&&(n.content_name=t.content_name),t.content_ids&&(n.content_ids=t.content_ids.map(String)),t.content_type&&(n.content_type=t.content_type),void 0!==t.value&&(n.value=t.value,n.currency="ARS"),await s("ViewContent",n,e),o("view_item",{servicio:t.servicio,currency:"ARS",...void 0!==t.value&&{value:t.value},items:t.content_ids?[{item_id:t.content_ids[0],item_name:t.content_name,item_category:t.content_type,...void 0!==t.value&&{price:t.value,quantity:1}}]:[]})}},23799:(t,e,n)=>{n.d(e,{H5:()=>i,HM:()=>v,VJ:()=>m,YA:()=>w,o2:()=>f,wz:()=>s});var r=n(82849);let a="cooper_attribution",i=90,o=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],c=["fbclid","gclid","ttclid"],u=/[\u0000-\u001f\u007f]/g,l=t=>{if(!t)return;let e=t.replace(u,"").trim();return e?e.slice(0,200):void 0};function s(t,e,n,r=new Date){let a="string"==typeof t?new URLSearchParams(t):t,i={};for(let t of[...o,...c]){let e=l(a.get(t));e&&(i[t]=e)}if(0===Object.keys(i).length)return null;let u=i.utm_source?.toLowerCase()??(i.fbclid?"facebook":i.gclid?"google":i.ttclid?"tiktok":"desconocido"),d={...i,source:u,landing_path:l(e)??"/",at:r.toISOString()},_=(t=>{if(t)try{return new URL(t).host||void 0}catch{return}})(n);return _&&(d.referrer_host=_),d}let d=t=>!!t&&"object"==typeof t&&"string"==typeof t.at&&"string"==typeof t.source,_=t=>{if(!t)return null;try{let e=JSON.parse(t);if(e?.version!==1||!d(e.first)||!d(e.last))return null;return{version:1,first:e.first,last:e.last}}catch{return null}};function m(){try{window.localStorage.removeItem(a)}catch{}try{r.A.remove(a)}catch{}}function f(t=new Date){let e,n;try{e=r.A.get(a)}catch{e=void 0}let o=_((t=>{try{return window.localStorage.getItem(t)}catch{return null}})(a))??_(e);return o?Number.isNaN(n=Date.parse(o.first.at))||t.getTime()-n>24*i*36e5?(m(),null):o:null}function w(t){let e=t.now??new Date,n=s(t.search,t.path,t.referrer,e);if(!n)return null;let o=f(e),c=o?{version:1,first:o.first,last:n}:{version:1,first:n,last:n},u=JSON.stringify(c);try{window.localStorage.setItem(a,u)}catch{}try{r.A.set(a,u,{expires:i,sameSite:"lax"})}catch{}return{touch:n,isFirstTouch:!o,stored:c}}function v(t){let{touch:e,isFirstTouch:n}=t;return{source:e.source,utm_medium:e.utm_medium??null,utm_campaign:e.utm_campaign??null,utm_content:e.utm_content??null,landing_path:e.landing_path,first_touch:n}}},58415:(t,e,n)=>{n.d(e,{Tm:()=>i,bv:()=>l,fQ:()=>o,fW:()=>_,fZ:()=>f,hR:()=>c,lx:()=>s,p4:()=>u,pW:()=>d,tt:()=>a,xT:()=>m});var r=n(23799);let a="referral_code",i=365,o=["codigo-referido","referralCode","referral_code"];function c(t){for(let e of o){let n=t.get(e);if(n)return n}return null}let u="_fbc",l=7776e3,s=t=>!!t&&/^[A-Za-z0-9_-]+$/.test(t),d=(t,e)=>`fb.1.${e}.${t}`;function _(t,e){if(!t)return!1;try{return decodeURIComponent(t).endsWith(`.${e}`)}catch{return!0}}r.H5;let m="cooper_attribution_srv";function f(t){let e=t?.match(/^([01])\.(.+)$/);return e?{isFirstTouch:"1"===e[1],at:e[2]}:null}}}]);

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.