PageSourceSearch

https://lucidchat.ai/assets/privacy-preferences-DcJVOBMx.js

js lucidchat.ai collected 2026-10-05 12:13:55 UTC 2,031 bytes, 1 lines download raw bytes

1var e=`lucidchat-optional-tools-consent-v1`,t=`lucidchat:privacy-choices`,n=`lucidchat:privacy-open`,r=`lucidchat-attribution-v1`,i=[`utm_source`,`utm_medium`,`utm_campaign`,`utm_content`,`utm_term`],a=new Set([`app.lucidchat.ai`,`checkout.lucidchat.ai`,`demo.lucidchat.ai`,`preview.lucidchat.ai`]),o=/^[a-z0-9][a-z0-9._~-]{0,99}$/,s=new Set([`cta_click`,`resource_open`,`pricing_view`,`calculator_complete`,`contact_start`]),c=new Set([`lucidchat.ai`,`www.lucidchat.ai`]),l=new Set([`/ai-employee-setup`,`/careers/sales`]);function u(e){let t=e.length>1?e.replace(/\/$/,``):e;return l.has(t)||t.startsWith(`/partners/`)}function d(e){return c.has(e.hostname.toLowerCase())&&!u(e.pathname)}function f(e){return c.has(e.hostname.toLowerCase())&&!u(e.pathname)&&e.consent===`allowed`}function p(t){let n=t?.getItem?.(e);return n===`allowed`||n===`denied`?n:`undecided`}function m(t,n){if(n!==`allowed`&&n!==`denied`)throw TypeError(`Invalid analytics consent`);t.setItem(e,n)}function h(e){let t=new URLSearchParams(e),n={};for(let e of i){let r=t.getAll(e);if(r.length!==1)continue;let i=r[0].trim().toLowerCase();o.test(i)&&(n[e]=i)}return n}function g(e,t){let n=h(t);return Object.keys(n).length?(e.setItem(r,JSON.stringify(n)),n):_(e)}function _(e){try{let t=JSON.parse(e?.getItem?.(`lucidchat-attribution-v1`)||`{}`);return Object.fromEntries(Object.entries(t).filter(([e,t])=>i.includes(e)&&typeof t==`string`&&o.test(t)))}catch{return{}}}function v(e,t){let n=new URL(e,`https://lucidchat.ai`);if(!a.has(n.hostname.toLowerCase()))return n.toString();for(let[e,r]of Object.entries(t))i.includes(e)&&o.test(r)&&n.searchParams.set(e,r);return n.toString()}function y(e,t={}){if(!s.has(e))return null;let n={};for(let[e,r]of Object.entries(t))/^[a-z][a-z0-9_]{0,31}$/.test(e)&&(typeof r==`string`&&o.test(r.toLowerCase())?n[e]=r.toLowerCase():(typeof r==`number`&&Number.isFinite(r)||typeof r==`boolean`)&&(n[e]=r));return{name:e,properties:n}}export{g as a,y as c,m as d,v as i,f as l,t as n,p as o,n as r,_ as s,e as t,d as u};

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.