PageSourceSearch

https://www.carbonarc.ai/assets/ExploreData-D1xYYHcK.js

js carbonarc.ai collected 2026-09-25 18:17:26 UTC 9,671 bytes, 1 lines download raw bytes

1import{j as e,r as c}from"./vendor-react-CF2OuAXi.js";/* empty css            *//* empty css            *//* empty css                         */import{u as A,b as _,G as P,S as M,M as L}from"./MarketingHeader-D-nNJkgM.js";import{R as O,B}from"./BeAheadOfTheCurveSection-BJZyirH5.js";import{M as I}from"./MarketingFooter-CoVC2g69.js";import{M as G}from"./MarketingPageLayout-HYc2Uj-W.js";import{M as T}from"./MktDarkPillShell-B_oCnNsZ.js";import{L as F,a as H}from"./vendor-router-1lxCfBys.js";import{k as U}from"./kebabCase-CBVStpcp.js";import{u as $}from"./useDataLibraryCatalog-B3wJkc9k.js";import{a as z}from"./dataFeedsUtils-C-AWnBpt.js";import{d as Y}from"./decodeHtml-bmJRwM2R.js";import{M as V,a as q,b as Q}from"./MktHorizontalScrollTrack-CUabSihN.js";import{a as y}from"./index-CQwFLP6K.js";import{a as W,H as X}from"./browser-BczVn0qP.js";import"./icon-c-BjLB_OGC.js";import"./vendor-flowbite-BOOFXkYC.js";import"./vendor-datadog-tM0hMiRH.js";import"./vendor-okta-DqkOGBPB.js";import"./usePrefersReducedMotion-DbirlVE7.js";import"./useResearchContent-76DdrFKt.js";import"./vendor-query-Dru8Ryjt.js";import"./startCase-0GqYf9AX.js";import"./arrow-up-a-z-DW-Wniwy.js";import"./vendor-i18n-D8V0Brmg.js";const J=()=>e.jsxs("div",{className:"flex flex-col gap-[32px] lg:flex-row lg:gap-[112px]",children:[e.jsx("h1",{className:"mkt-hero-headline lg:w-[604px] text-[color:var(--mkt-gray-50)]",children:"Explore the info behind our insights"}),e.jsx("p",{className:"mkt-h3 lg:w-[604px] text-[color:var(--mkt-gray-50)]",children:"Carbon Arc lets you tap into a vast set of real-world information most businesses never get access to."})]}),C=[{name:"All Data Assets"},{name:"Consumer Spending"},{name:"Media & Online Activity"},{name:"Companies & Jobs"},{name:"Financials & Economy"},{name:"Healthcare"},{name:"Industrial Activity"},{name:"Supply Chain & Trade"},{name:"People & Places"}],Z=C.map(s=>s.name),K=24,ee=({name:s,isActive:l,onSelect:i})=>{const a=A(_,{borderRadiusPx:K,specularOnly:!0}),r=a.specularOverlayUrl;return e.jsxs("button",{ref:a.ref,type:"button",role:"tab","data-category":s,"aria-selected":l,onClick:()=>i(s),className:y("relative mkt-body flex shrink-0 items-center gap-[16px] whitespace-nowrap py-[16px] px-[24px]","rounded-[var(--mkt-radius-xs)]",!r&&"border-[0.2px] border-solid border-[var(--mkt-overlay-light-60)]","text-[color:var(--mkt-gray-50)] transition-colors",l?"bg-[rgba(255,113,37,0.40)]":"bg-[var(--mkt-overlay-dark-40)] hover:bg-[rgba(84,84,84,0.40)]"),children:[r&&e.jsx("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0 rounded-[inherit]",style:{backgroundImage:`url(${r})`,backgroundSize:"100% 100%",opacity:a.specularOverlayOpacity}}),e.jsx("span",{className:"relative z-10",children:s})]})},ae=({active:s,onSelect:l})=>{const i=c.useRef(null);return c.useEffect(()=>{const a=i.current;if(!a)return;const r=a.querySelector(`[data-category="${CSS.escape(s)}"]`);if(!r)return;const o=window.matchMedia("(prefers-reduced-motion: reduce)").matches;W(a,r,{behavior:o?"auto":"smooth"})},[s]),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{ref:i,role:"tablist","aria-label":"Data asset category",className:y("flex flex-nowrap items-start gap-[16px] self-stretch overflow-x-auto","xl:flex-wrap xl:content-start xl:overflow-x-visible",X),children:C.map(({name:a})=>e.jsx(ee,{name:a,isActive:a===s,onSelect:l},a))}),e.jsx(V,{rowRef:i})]})},te=24,se=.009,re=.5,le=({title:s,description:l,to:i})=>{const a=A(P,{borderRadiusPx:te,blurRatio:se,specularStrength:re,specularOnly:!0}),r=a.supported,o=r?null:a.specularOverlayUrl;return e.jsxs(F,{ref:a.ref,to:i,className:y("group relative flex h-[240px] flex-col gap-[12px] overflow-hidden rounded-[24px]",!r&&!o&&"mkt-glass-bl","bg-[var(--mkt-overlay-dark-80)] p-[24px] transition-colors hover:bg-[var(--mkt-overlay-dark-60)]","focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-[color:var(--mkt-accent)]"),style:{contentVisibility:"auto",containIntrinsicSize:"0 240px",...r?{backdropFilter:a.filterUrl,WebkitBackdropFilter:a.filterUrl}:o?{backdropFilter:"var(--mkt-glass-blur-bl)",WebkitBackdropFilter:"var(--mkt-glass-blur-bl)"}:{}}
1,children:[r&&a.Filter,o&&e.jsx("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0 rounded-[inherit]",style:{backgroundImage:`url(${o})`,backgroundSize:"100% 100%",opacity:a.specularOverlayOpacity}}),e.jsxs("div",{className:"relative z-10 flex min-h-0 flex-1 flex-col gap-[8px]",children:[e.jsx("h2",{className:"mkt-h3 line-clamp-2 shrink-0 text-[color:var(--mkt-gray-50)] transition-colors group-hover:text-[color:var(--mkt-accent)]",children:s}),e.jsx("p",{className:"mkt-body line-clamp-3 text-[color:var(--mkt-gray-400)]",children:l})]})]})},f=12,oe=()=>{const[s]=H(),l=s.get("category"),i=l&&Z.includes(l)?l:"All Data Assets",[a,r]=c.useState(i),[o,w]=c.useState(""),[D,x]=c.useState(1);c.useEffect(()=>{r(i),x(1)},[i]);const{data:g,isLoading:u,isError:b}=$(),v=c.useMemo(()=>((g==null?void 0:g.datasources)??[]).filter(t=>!z(t.dataset_id)).map(t=>({...t,decodedDescription:t.description?Y(t.description):""})),[g]),d=c.useMemo(()=>{const t=a==="All Data Assets"?v:v.filter(p=>{var m;return((m=p.data)==null?void 0:m.Category)===a}),n=o.trim().toLowerCase();return n?t.filter(p=>{var m,N,S;return((m=p.dataset_name)==null?void 0:m.toLowerCase().includes(n))||p.decodedDescription.toLowerCase().includes(n)||((N=p.category)==null?void 0:N.toLowerCase().includes(n))||((S=p.subcategory)==null?void 0:S.toLowerCase().includes(n))}):t},[v,o,a]),h=Math.max(1,Math.ceil(d.length/f)),k=Math.min(D,h),j=d.slice((k-1)*f,k*f),R=t=>{w(t),x(1)},E=t=>{r(t),x(1)};return e.jsxs("div",{className:"flex flex-col gap-[48px]",children:[e.jsx(ae,{active:a,onSelect:E}),e.jsxs("div",{className:"flex flex-col gap-[24px]",children:[e.jsxs("div",{className:"flex flex-col gap-[16px] lg:flex-row lg:items-center lg:justify-between",children:[e.jsx(q,{searchQuery:o,onSearchChange:R,placeholder:`search in ${a}`,ariaLabel:"Search data assets"}),e.jsx("p",{className:"mkt-chip-label whitespace-nowrap text-[color:var(--mkt-gray-400)]",children:u?"loading data assets…":b?null:a==="All Data Assets"?`${d.length} data assets`:`${d.length} data assets in “${a}”`})]}),b?e.jsx("p",{className:"mkt-body text-[color:var(--mkt-gray-400)]",children:"Something went wrong loading data assets. Please try again shortly."}):!u&&d.length===0?e.jsx("p",{className:"mkt-body text-[color:var(--mkt-gray-400)]",children:o.trim()?`No data assets match "${o}".`:a==="All Data Assets"?"No data assets available right now.":`No data assets in “${a}” yet.`}):e.jsx("div",{className:"grid grid-cols-1 gap-[24px] lg:grid-cols-3",children:u?Array.from({length:6},(t,n)=>e.jsx("div",{className:"h-[240px] animate-pulse rounded-[24px] bg-[var(--mkt-overlay-dark-80)]"},n)):[...j.map(t=>e.jsx(le,{to:`/explore-data/${U(t.dataset_name)}`,title:t.dataset_name??"",description:t.decodedDescription},t.carc_id)),...Array.from({length:h>1?f-j.length:0},(t,n)=>e.jsx("div",{"aria-hidden":!0,className:"h-[240px]"},`filler-${n}`))]}),!u&&!b&&h>1&&e.jsx(Q,{page:k,totalPages:h,onPageChange:x,ground:"dark",label:"Data asset pages"})]})]})},ie=[{figure:"9 m",label:"gigabytes of data assets"},{figure:"300+",label:"proprietary data assets"},{figure:"8",label:"business sectors covered"},{figure:"Daily",label:"information updates"}],ne=()=>e.jsxs("section",{className:"flex flex-col gap-[40px] p-[16px] lg:gap-[64px] lg:p-[48px]",children:[e.jsx("h2",{className:"mkt-h2 lg:w-[676px] text-[color:var(--mkt-gray-900)]",children:"Get an expansive view of the world currently surrounding your business"}),e.jsx("div",{className:"flex flex-col gap-[40px] lg:flex-row lg:items-start lg:justify-between lg:gap-0",children:ie.map(({figure:s,label:l})=>e.jsxs("div",{className:"flex flex-col justify-center gap-[4px] lg:w-[260px] lg:gap-0",children:[e.jsx("p",{className:"mkt-display uppercase text-[color:var(--mkt-gray-900)]",children:s}),e.jsx("p",{className:"mkt-stat-label text-[color:var(--mkt-gray-700)]",children:l})]},l))})]}),ce="/assets/build-and-buy-chart-CizApj2-.png",pe=()=>e.jsx("section",{className:"pb-0 pt-[24px] lg:pb-[72px] lg:pt-[72px]",children:e.jsxs("div",{className:y("mx-[8px] flex flex-col gap-[32px] rounded-[24px] p-[24px]","lg:mx-0 lg:flex-row lg:items-center lg:gap-[120px] lg:rounded-[32px] lg:p-[48px]","mkt-panel"),children:[e.jsxs("div",{className:"flex flex-col gap-[32px] lg:w-[588px] lg:shrink-0",children:[e.jsxs("div",{className:"flex flex-col gap-[16px]",children:[e.jsx("h2",{className:"mkt-h2 text-[color:var(--mkt-gray-900)]",children:"Build and buy a custom selection of data"}),e.jsx("p",{className:"mkt-body text-[color:var(--mkt-gray-700)]",children:"Create an account and use our Builder tool to pull any of Carbon Arc’s information for yourself."})]}),e.jsx(M,{className:"self-start"})]}),e.jsxs("div",{className:"flex flex-col gap-[8px] lg:min-w-0 lg:max-w-[644px] lg:flex-1",children:[e.jsx("img",{src:ce,width:1289,height:725,alt:"Transactions Y/Y across six restaurant brands, a Carbon Arc data illustration",className:"w-full"}),e.jsx("p",{className:"text-[10px] font-medium leading-snug text-[color:var(--mkt-gray-700)] [font-family:var(--mkt-font-sans)]",children:"Examples are hypotheticals for illustrative purposes only and do not depict real data from Carbon Arc’s platform"})]})]})}),Ge=()=>e.jsxs(G,{header:e.jsx(L,{}
1),gapClassName:"gap-0 lg:gap-[32px]",footer:e.jsx(I,{}),children:[e.jsxs(T,{children:[e.jsx(J,{}),e.jsx(oe,{})]}),e.jsx(ne,{}),e.jsx(pe,{}),e.jsx(O,{}),e.jsx(B,{})]});export{Ge 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.