PageSourceSearch

https://www.wemtoyota.com/wp-content/themes/magnetis-dealer/dist/js/attribution.D9ktJfqU.js

js wemtoyota.com collected 2026-10-01 23:52:53 UTC 1,734 bytes, 1 lines download raw bytes

1import{r as u,w as s,a as f}from"./rootPreference.DEzG8L6Y.js";const c="magnetis:attribution",l=2160*60*60*1e3,_=["gclid","gbraid","wbraid","gad_source","gad_campaignid","utm_source","utm_medium","utm_campaign","utm_term","utm_content","fbclid","msclkid"];function g(){const n=f(c);return!(n!=null&&n.params)||!n.at||Date.now()-n.at>l?null:n}function d(){const n=new URLSearchParams(window.location.search),e={};return _.forEach(t=>{const r=n.get(t);r&&(e[t]=r)}),e}function p(){return document.getElementById("cmplz-cookiebanner-container")?typeof window.cmplz_has_consent!="function"?null:window.cmplz_has_consent("marketing"):!0}function w(){const n=p();if(n===null)return;if(!n){u(c);return}const e=d();Object.keys(e).length&&s(c,{params:e,landing_url:window.location.href,at:Date.now()})}function h(n){const e=new URL(window.location.href);return Object.entries((n==null?void 0:n.params)??{}).forEach(([t,r])=>e.searchParams.set(t,r)),e.href}function i(){const n=g(),e={magnetis_submitted_from:h(n),magnetis_landing_url:(n==null?void 0:n.landing_url)??"",magnetis_utm_source:(n==null?void 0:n.params.utm_source)??"",magnetis_utm_medium:(n==null?void 0:n.params.utm_medium)??"",magnetis_utm_campaign:(n==null?void 0:n.params.utm_campaign)??""};document.querySelectorAll("form.wpcf7-form").forEach(t=>{Object.entries(e).forEach(([r,m])=>{const a=t.querySelector(`input[name="${r}"]`);a&&(a.value=m,a.defaultValue=m)})})}function o(){w(),i()}o();document.addEventListener("cmplz_fire_categories",o);document.addEventListener("focusin",n=>{var e,t;(t=(e=n.target).closest)!=null&&t.call(e,"form.wpcf7-form")&&i()});document.addEventListener("submit",n=>{var e,t;(t=(e=n.target).matches)!=null&&t.call(e,"form.wpcf7-form")&&i()},!0);

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.