PageSourceSearch

https://ai-impact-tracker--ds236.replit.app/assets/insights-preview-DMufa9JV.js

js ai-impact-tracker--ds236.replit.app collected 2026-10-03 03:47:54 UTC 1,491 bytes, 1 lines download raw bytes

1import{r as g,j as s}from"./index-DwWRJRew.js";import{b as m,r as d,S as p,a as f}from"./insight-banner-D4WdE6K0.js";import{M as j,f as u}from"./insights-DzmQHyOQ.js";const S={tool:"ChatGPT (GPT-4)",espressoCups:6,fridgeMinutes:18,weekDrivingMiles:2.4,sessionWh:3,phoneCharges:2};function x(t){const e=j.find(o=>o.id===t);return e?u(e.text,S):t}function n({title:t,children:e}){return s.jsxs("div",{className:"space-y-2",children:[s.jsx("p",{className:"text-xs font-mono uppercase tracking-wide text-muted-foreground",children:t}),s.jsx("div",{className:"max-w-2xl",children:e})]})}function C(){const e=new URLSearchParams(window.location.search).get("case"),[o,h]=g.useState("on"),i=s.jsx(n,{title:"(a) Comparison-context message",children:s.jsx(m,{onDismiss:()=>{},children:d(x("c1-espresso"))})}),a=s.jsx(n,{title:"(b) Methodology message — first-ever calculation",children:s.jsx(m,{onDismiss:()=>{},children:d(x("c2-coeffs"))})}),r=s.jsx(n,{title:"(c) Settings prompt — after three dismissals",children:s.jsx(p,{onChoose:()=>{},onClose:()=>{}})}),c=s.jsx(n,{title:"(d) Settings toggle",children:s.jsx(f,{mode:o,onChange:h})}),l={comparison:i,methodology:a,prompt:r,settings:c};return s.jsx("div",{className:"min-h-screen bg-background p-10",children:s.jsxs("div",{className:"max-w-2xl mx-auto space-y-10",children:[s.jsx("h1",{className:"text-xl font-semibold",children:"Insight banner preview (dev)"}),e&&l[e]?l[e]:s.jsxs(s.Fragment,{children:[i,a,r,c]})]})})}export{C as default};

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.