PageSourceSearch

https://floky.com/assets/klaviyo-BYp7jCvP.js

js floky.com collected 2026-10-07 16:55:49 UTC 1,800 bytes, 1 lines download raw bytes

1function e(){if(typeof window>`u`)return null;let e=window;return e.klaviyo??e._learnq??null}var t=`floky_kl_identity`;function n(){if(typeof window>`u`)return{};try{let e=localStorage.getItem(t);return e?JSON.parse(e):{}}catch{return{}}}function r(e){if(!(typeof window>`u`))try{let r={...n(),...e};localStorage.setItem(t,JSON.stringify(r))}catch{}}function i(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )`+e+`=([^;]*)`));return t?decodeURIComponent(t[1]):null}function a(){let e=i(`__kla_id`);if(e)try{let t=JSON.parse(atob(e));if(t?.$exchange_id)return t.$exchange_id;if(t?.cid)return t.cid}catch{}if(typeof window>`u`)return null;try{let e=`floky_kl_anon`,t=localStorage.getItem(e);return t||(t=typeof crypto<`u`&&`randomUUID`in crypto?crypto.randomUUID():`anon-${Date.now()}-${Math.random().toString(36).slice(2)}`,localStorage.setItem(e,t)),t}catch{return null}}async function o(e,t){if(typeof window>`u`)return;let r=n(),i=a(),o={};if(r.email&&(o.email=r.email),r.phone_number&&(o.phone_number=r.phone_number),r.external_id&&(o.external_id=r.external_id),i&&(o.anonymous_id=i),Object.keys(o).length!==0)try{await fetch(`/api/public/klaviyo-event`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({eventName:e,props:{...t,source:`lovable_site`},profile:o,time:new Date().toISOString()}),keepalive:!0})}catch{}}function s(t,n={}){try{let r=e();r&&r.push([`track`,`Lovable — ${t}`,{...n,source:`lovable_site`}])}catch{}o(t,n)}function c(t){r({email:typeof t.email==`string`?t.email:typeof t.$email==`string`?t.$email:void 0,phone_number:typeof t.phone_number==`string`?t.phone_number:void 0,external_id:typeof t.external_id==`string`?t.external_id:void 0});try{let n=e();n&&n.push([`identify`,t])}catch{}}export{s as n,c as 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.