PageSourceSearch

https://pastetrack.app/_next/static/chunks/2955-796a7fa4daf90e54.js

js pastetrack.app collected 2026-10-02 00:42:59 UTC 10,806 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2955],{2955:(e,t,r)=>{r.d(t,{ScoreTool:()=>x});var i=r(5155),a=r(2115),n=r(667),s=r(7548),l=r(6517),o=r(5394),d=r(8901);let c=["Checking referrer behavior…","Estimating untracked share volume…","Scoring dark-social exposure…"],p={flex:1,minWidth:"240px",fontFamily:"var(--font-ui)",fontSize:"var(--t-body)",padding:"14px 16px",border:"2px solid var(--label-line-2)",borderRadius:"var(--r-1)",background:"var(--label)",color:"var(--ink)"};function x(e){let{frame:t=!0,ctaHref:r="https://chromewebstore.google.com/detail/ddjmdpjeijmhdjcgmchnkkindkhhffgo"}=e,[s,l]=a.useState("empty"),[o,x]=a.useState(""),[g,v]=a.useState(0),[u,f]=a.useState(null),y=o.trim().length>0&&"scanning"!==s;async function m(){if(!o.trim())return;let e=o.trim().replace(/^https?:\/\//i,"").replace(/^www\./,"").split("/")[0];(0,d.u4)("score_run",{domain:e}),l("scanning"),v(0),f(null);let t=fetch("/api/score",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({url:o.trim()})}).then(e=>e.ok?e.json():Promise.reject()).catch(()=>(function(e){let t=e.replace(/^https?:\/\//i,"").replace(/^www\./,"").split("/")[0]||e,r=0x811c9dc5;for(let e=0;e<t.length;e++)r^=t.toLowerCase().charCodeAt(e),r=Math.imul(r,0x1000193);let i=58+(r>>>0)%33,a=Math.min(95,Math.round(.95*i));return{domain:t,score:i,percentDirect:a,teaser:"~".concat(a,'% of your shares land as "direct traffic" in analytics. You are dropping links in replies and DMs that convert, but you cannot see which ones.'),cardLine:"".concat(a,"% of ").concat(t,"'s traffic is dark social. Now we know which reply sent it.")}})(o.trim()));for(let e=1;e<=c.length;e++)await new Promise(e=>setTimeout(e,620)),v(e);f(await t),l("result")}let b=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:{display:"flex",gap:"12px",flexWrap:"wrap"},children:[(0,i.jsx)("input",{type:"text",value:o,disabled:"scanning"===s,placeholder:"Paste your product or profile link",onChange:e=>x(e.target.value),onKeyDown:e=>{"Enter"===e.key&&y&&m()},style:{...p,opacity:"scanning"===s?.7:1}}),(0,i.jsx)(n.$,{variant:"primary",disabled:!y,onClick:()=>void m(),children:"scanning"===s?"Scoring…":"Get my Dark Social Score"})]}),"empty"===s&&(0,i.jsx)("p",{style:{fontFamily:"var(--font-ui)",fontSize:"var(--t-meta)",color:"var(--ink-3)",margin:"12px 0 0"},children:"No account. We score how invisible your sharing is to analytics. We do not store the link."}),"scanning"===s&&(0,i.jsxs)("div",{style:{marginTop:"20px"},children:[(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"11px"},children:c.map((e,t)=>{let r=t<g,a=t===g;return(0,i.jsxs)("div",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--t-body-sm)",color:r||a?"var(--ink-2)":"var(--ink-3)",opacity:r||a?1:.55,display:"flex",alignItems:"center",gap:"11px"},children:[(0,i.jsx)("span",{style:{width:"9px",height:"9px",borderRadius:"50%",background:r?"var(--delivered)":a?"var(--transit)":"var(--label-line-2)",flex:"0 0 auto"}}),e]},t)})}),(0,i.jsx)("div",{style:{height:"6px",borderRadius:"3px",background:"var(--label-2)",overflow:"hidden",marginTop:"20px"},children:(0,i.jsx)("span",{style:{display:"block",height:"100%",width:"".concat(Math.round(g/c.length*100),"%"),background:"var(--transit)",transition:"width 300ms linear"}})})]}),"result"===s&&u&&(0,i.jsx)(h,{result:u,ctaHref:r})]});return t?(0,i.jsxs)("div",{style:{background:"var(--label)",border:"var(--bw-2) dashed var(--label-edge)",borderRadius:"var(--r-label)",boxShadow:"var(--lift-2)",overflow:"hidden"},children:[(0,i.jsxs)("div",{style:{background:"var(--ink)",color:"var(--on-ink)",padding:"12px 22px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,i.jsx)("span",{className:"pst-stamp",style:{fontSize:"14px",letterSpacing:"0.12em"},children:"Dark Social Score"}),(0,i.jsx)("span",{className:"pst-label",style:{color:"var(--on-ink-2)"},children:"scanning"===s?"Scanning…":"result"===s?"Result":"Free \xb7 10 seconds"})]}),(0,i.jsx)("div",{style:{padding:"26px"},children:b})]}):(0,i.jsx)("div",{children:b})}function h(e){let{result:t,ctaHref:r}=e;return(0,i.jsxs)("div",{style:{marginTop:"22px"},children:[(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"minmax(180px, auto) 1fr",gap:"30px",alignItems:"center"},children:[(0,i.jsxs)("div",{style:{textAlign:"center",maxWidth:"220px"},children:[(0,i.jsx)("div",{className:"pst-label",children:"Invisibility score"}),(0,i.jsx)("div",{style:{fontFamily:"var(--font-display)",fontWeight:800,fontSize:"92px",lineHeight:.9,color:"var(--returned)",letterSpacing:"-0.03em"},children:t.score}),(0,i.jsx)("div",{style:{fontFamily:"var(--font-ui)",fontSize:"var(--t-body-sm)",fontWeight:700,color:"var(--returned)"},children:"/ 100, higher is worse"}),(0,i.jsx)("div",{style:{display:"inline-flex",alignItems:"center",gap:"6px",marginTop:"10px",fontFamily:"var(--font-ui)",fontSize:"var(--t-meta)",fontWeight:700,letterSpacing:"0.04em",textTransform:"uppercase",color:"var(--returned)"},children:"↑ More invisible = worse"}),(0,i.jsxs)("div",{style:{marginTop:"14px"},children:[(0,i.jsx)("div",{style:{position:"relative",height:"8px",borderRadius:"4px",background:"linear-gradient(90deg, var(--delivered-bg), var(--returned-bg))",border:"1px solid var(--label-line-2)"},children:(0,i.jsx)("i",{style:{position:"absolute",top:"50%",left:"".concat(t.score,"%"),transform:"translate(-50%, -50%)",width:"14px",height:"14px",borderRadius:"50%",background:"var(--returned)",border:"2px s
1olid var(--label)",boxShadow:"var(--lift)"}})}),(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"7px",fontFamily:"var(--font-ui)",fontSize:"10px",fontWeight:700,letterSpacing:"0.04em",textTransform:"uppercase"},children:[(0,i.jsx)("span",{style:{color:"var(--delivered)"},children:"0 tracked"}),(0,i.jsx)("span",{style:{color:"var(--returned)"},children:"100 invisible"})]})]})]}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("p",{style:{fontFamily:"var(--font-ui)",fontSize:"var(--t-body)",lineHeight:1.5,color:"var(--ink-2)",margin:"0 0 14px"},children:[(0,i.jsxs)("b",{style:{color:"var(--ink)"},children:[t.teaser.split(".")[0],"."]}),t.teaser.slice(t.teaser.indexOf(".")+1)]}),(0,i.jsxs)("p",{style:{fontFamily:"var(--font-ui)",fontSize:"var(--t-body)",lineHeight:1.5,color:"var(--ink-2)",margin:"0 0 16px"},children:["PasteTrack tags them the moment you share, so the next ",t.score," points turn into a board of deliveries."]}),(0,i.jsx)(o.ExtensionLink,{href:r,location:"score_tool",style:{fontFamily:"var(--font-ui)",fontWeight:600,letterSpacing:"var(--track-label)",textTransform:"uppercase",fontSize:"var(--t-body)",lineHeight:1,padding:"16px 28px",borderRadius:"var(--r-1)",border:"var(--bw-2) solid var(--ink)",background:"var(--ink)",color:"var(--on-ink)",display:"inline-block"},children:"Track it for real, add to Chrome"})]})]}),(0,i.jsxs)("div",{style:{marginTop:"24px"},children:[(0,i.jsx)("div",{className:"pst-label",style:{marginBottom:"10px"},children:"A card you could share"}),(0,i.jsxs)("div",{style:{border:"2px dashed var(--label-edge)",borderRadius:"var(--r-label)",overflow:"hidden",boxShadow:"var(--lift)"},children:[(0,i.jsxs)("div",{style:{background:"var(--ink)",color:"var(--on-ink)",padding:"10px 18px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,i.jsx)("span",{className:"pst-stamp",style:{fontSize:"12px",letterSpacing:"0.12em"},children:"PasteTrack \xb7 Insight"}),(0,i.jsx)(s.StatusStamp,{status:"delivered",size:"sm",rotate:-5})]}),(0,i.jsxs)("p",{style:{fontFamily:"var(--font-display)",fontWeight:700,fontSize:"24px",lineHeight:1.15,letterSpacing:"-0.01em",color:"var(--ink)",margin:0,padding:"20px 20px 0"},children:[t.percentDirect,"% of ",(0,i.jsx)("b",{style:{color:"var(--delivered)"},children:t.domain}),"’s traffic is dark social. Now we know which reply sent it."]}),(0,i.jsxs)("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",padding:"16px 20px 18px"},children:[(0,i.jsx)(l.V,{value:"PSTTO".concat(t.domain),height:36}),(0,i.jsx)("span",{className:"pst-code",style:{fontSize:"var(--t-meta)",color:"var(--ink-3)"},children:"pastetrack.app"})]})]})]})]})}},6517:(e,t,r)=>{r.d(t,{V:()=>a});var i=r(5155);function a(e){let{value:t="PST0000",height:r=38,showDigits:a=!0,color:n="var(--ink)",style:s,...l}=e,o=[],d=String(t);for(let e=0;e<d.length;
1e++){let t=d.charCodeAt(e);o.push({w:1+t%3,ink:!0}),o.push({w:1+(t>>2)%3,ink:!1}),o.push({w:1+(t>>4)%4,ink:!0}),o.push({w:1+(t>>1)%2,ink:!1})}let c=a?d.replace(/[^a-z0-9]/gi,"").toUpperCase().slice(0,12).split("").join(" "):null;return(0,i.jsxs)("div",{style:{display:"inline-flex",flexDirection:"column",gap:"3px",...s},...l,children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"flex-end",height:"".concat(r,"px"),gap:"0"},"aria-hidden":"true",children:[(0,i.jsx)("span",{style:{width:"2px",height:"100%",background:n}}),(0,i.jsx)("span",{style:{width:"2px"}}),(0,i.jsx)("span",{style:{width:"2px",height:"100%",background:n}}),(0,i.jsx)("span",{style:{width:"4px"}}),o.map((e,t)=>(0,i.jsx)("span",{style:{width:"".concat(e.w,"px"),height:"100%",background:e.ink?n:"transparent"}},t)),(0,i.jsx)("span",{style:{width:"4px"}}),(0,i.jsx)("span",{style:{width:"2px",height:"100%",background:n}}),(0,i.jsx)("span",{style:{width:"2px"}}),(0,i.jsx)("span",{style:{width:"2px",height:"100%",background:n}})]}),c?(0,i.jsx)("span",{className:"pst-code",style:{fontSize:"var(--t-fine)",color:"var(--ink-3)",letterSpacing:"0.18em"},children:c}):null]})}r(2115)},7548:(e,t,r)=>{r.d(t,{StatusStamp:()=>n});var i=r(5155);r(2115);var a=r(1200);function n(e){let{status:t="delivered",size:r="md",land:n=!1,rotate:s=-8,style:l,children:o,...d}=e,c={delivered:{c:"var(--delivered)",e:"var(--delivered-edge)",t:"Delivered"},transit:{c:"var(--transit)",e:"var(--transit-edge)",t:"In transit"},returned:{c:"var(--returned)",e:"var(--returned-edge)",t:"Returned"}}[t],p={sm:{fontSize:"13px",padding:"5px 10px",border:"2px",gap:"5px",dot:"7px"},md:{fontSize:"17px",padding:"8px 16px",border:"3px",gap:"8px",dot:"9px"},lg:{fontSize:"26px",padding:"12px 22px",border:"3px",gap:"10px",dot:"12px"}}[r],x=(0,i.jsxs)("span",{className:"pst-stamp",style:{display:"inline-flex",alignItems:"center",gap:p.gap,color:c.c,border:"".concat(p.border," solid ").concat(c.c),borderRadius:"3px",padding:p.padding,fontSize:p.fontSize,lineHeight:1,background:"transparent",transform:n?void 0:"rotate(".concat(s,"deg)"),boxShadow:"inset 0 0 0 1px ".concat(c.e),opacity:.92,transformOrigin:"center",...l},...d,children:[(0,i.jsx)("span",{style:{width:p.dot,height:p.dot,background:c.c,borderRadius:"2px",flex:"0 0 auto"},"aria-hidden":"true"}),o||c.t]});return n?(0,i.jsx)(a.kN,{restRotate:s,children:x}):x}}}]);

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.