PageSourceSearch

https://app.lium.ai/_next/static/chunks/11449-e48b3e40dd28be41.js

js lium.ai collected 2026-10-04 20:25:15 UTC 32,771 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8aa0ee07-5a67-4e49-aacf-2626b654a444",e._sentryDebugIdIdentifier="sentry-dbid-8aa0ee07-5a67-4e49-aacf-2626b654a444")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11449,33060],{13758:(e,t,s)=>{s.d(t,{SolutionExploreCard:()=>b});var n=s(95155),i=s(26617),r=s(24033),l=s(45345),a=s(52619),o=s.n(a),d=s(18955),c=s(67812),u=s(78085),m=s(41829),x=s(74144),p=s(25016),h=s(61999),f=s(78435);function g(e){let{publisher:t,className:s}=e,i=(0,d.c)("onboarding.wizard.solution_step"),r=i("publisher_verified");return(0,n.jsxs)("span",{className:(0,p.cn)("inline-flex items-center gap-1 text-xs text-muted-foreground",s),"data-testid":"solution-publisher",children:[i("published_by",{name:t.name}),t.verified?(0,n.jsx)(f.A,{className:"h-3.5 w-3.5 shrink-0 text-brand","aria-label":r,role:"img","data-testid":"solution-publisher-verified",children:(0,n.jsx)("title",{children:r})}):null]})}function b(e){let{solution:t,disciplineLabel:s,expanded:a,onToggle:f,isGuest:b}=e,j=(0,d.c)("explore"),y="solution-explore-detail-".concat(t.id),v=(0,m.u)({returnTo:"/explore",intent:"create-account",discipline:t.discipline}),N="/workspaces?new_workspace=1&solution=".concat(encodeURIComponent(t.slug_id)),_=j(b?"cta.signup":"cta.build");return(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:(0,p.cn)("overflow-hidden rounded-lg border border-border transition-colors",a?"border-muted-foreground/40":"hover:border-muted-foreground/40"),"data-testid":"solution-explore-card-".concat(t.id),children:[(0,n.jsxs)("button",{type:"button",onClick:()=>f(t.id),"aria-expanded":a,"aria-controls":y,className:"flex w-full items-start gap-3 p-4 text-left","data-testid":"solution-explore-toggle-".concat(t.id),children:[(0,n.jsx)("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground",children:(0,n.jsx)(i.A,{className:"h-[18px] w-[18px]","aria-hidden":"true"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1 space-y-1",children:[(0,n.jsxs)("span",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsx)("span",{className:"block truncate text-sm font-medium text-foreground",children:t.title}),(0,n.jsx)(c.E,{variant:"outline",className:"shrink-0",children:s(t.discipline)}),(0,n.jsx)(h.S,{maturity:t.maturity,className:"shrink-0"})]}),(0,n.jsx)("span",{className:"block text-xs text-muted-foreground",children:t.summary}),(0,n.jsx)(g,{publisher:t.publisher})]}),(0,n.jsx)(r.A,{className:(0,p.cn)("mt-1 h-4 w-4 shrink-0 text-muted-foreground transition-transform",a&&"rotate-180"),"aria-hidden":"true"})]}),a?(0,n.jsxs)("div",{id:y,className:"space-y-4 border-t border-border p-4","data-testid":"solution-explore-detail-".concat(t.id),children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:t.summary}),t.tags.length>0?(0,n.jsx)("ul",{className:"flex flex-wrap gap-2","data-testid":"solution-explore-tags",children:t.tags.map(e=>(0,n.jsx)("li",{children:(0,n.jsxs)(c.E,{variant:"outline",className:"gap-1",children:[(0,n.jsx)(l.A,{className:"h-3 w-3","aria-hidden":"true"}),e]})},e))}):null,(0,n.jsx)(u.WK,{asChild:!0,variant:"brand",shape:"lium",testId:"solution-explore-signup",children:(0,n.jsx)(o(),{href:b?v:N,onClick:b?()=>{(0,x.HZ)("acquisition.signup_started",{tags:{discipline:t.discipline}})}:void 0,children:_})})]}):null]})})}},28190:(e,t,s)=>{s.d(t,{SolutionPickStep:()=>q});var n=s(95155),i=s(18955),r=s(12115),l=s(93315),a=s(68122),o=s(25016),d=s(38116),c=s(50150),u=s(6191),m=s(27937),x=s(26617),p=s(24033),h=s(35626),f=s(20120),g=s(78085),b=s(30402);function j(e){let{solutions:t,disabled:s,disciplineLabel:i,onSelect:r}=e;return(0,n.jsx)("ul",{className:"grid gap-2","data-testid":"solution-list",children:(function(e){let t=e=>{let t=y.indexOf(e);return -1===t?y.length:t};return[...e].sort((e,s)=>t(e.discipline)-t(s.discipline))})(t).map(e=>(0,n.jsx)(w,{solution:e,disabled:s,disciplineLabel:i,onSelect:r},e.id))})}let y=["weather-climate","space"],v="flex w-full items-center gap-3 border border-border bg-background px-3 py-3 text-left transition-colors sm:gap-4 sm:px-4 sm:py-3.5",N="block truncate text-base font-medium text-foreground sm:text-lg",_="mt-1 block truncate text-xs uppercase tracking-wide text-muted-foreground sm:text-[13px]";function k(e){let{disabled:t,onSelect:s}=e,r=(0,i.c)("onboarding.wizard.solution_step");return(0,n.jsx)("li",{className:"min-w-0",children:(0,n.jsxs)("button",{type:"button",disabled:t,onClick:s,className:(0,o.cn)(v,t?"cursor-not-allowed opacity-60":"hover:border-brand hover:bg-elevated"),"data-testid":"solution-start-from-scratch",children:[(0,n.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-md border border-border text-muted-foreground",children:(0,n.jsx)(u.A,{className:"size-5","aria-hidden":"true"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:N,children:r("scratch_title")}),(0,n.jsx)("span",{className:_,children:r("scratch_meta")})]}),(0,n.jsx)(m.A,{className:"size-5 shrink-0 text-muted-foreground","aria-hidden":"true"})]})})}function w(e){let{solution:t,disabled:s,disciplineLabel:l,onSelect:a}=e,d=(0,i.c)("onboarding.wizard.solution_step"),[c,u]=(0,r.useState)(!1),m=(0,r.useId)();return(0,n.jsxs)("li",{className:(0,o.cn)("min-w-0 border border-border bg-background transition-colors",s?"opacity-60":"hover:border-brand"),children:[(0,n.jsxs)("div",{className:"flex items-stretch",children:[(0,n.jsxs)("button",{type:"button",disabled:s,onClick:()=>a(t),className:(0,o.cn)(v,"min-w-0 flex-1 border-0 bg-transparent",s?"cursor-not-allowed":"hover:bg-elevated"),"data-testid":"solution-card-".concat(t.id),children:[(0,n.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center text-xl leading-none","aria-hidden":"true",children:t.icon?t.icon:(0,n.jsx)(x.A,{className:"size-5 text-muted-foreground"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:N,children:t.title}),(0,n.jsx)("span",{className:_,children:function(e,t){let s=e.tags.slice(0,3);return s.length>0?s.join(" \xb7 "):t(e.discipline)}(t,l)})]})]}),(0,n.jsx)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":c,"aria-controls":m,"aria-label":d("details_toggle_aria",{title:t.title}),className:"shrink-0 px-3 text-muted-foreground transition-colors hover:text-foreground sm:px-4","data-testid":"solution-card-detail
1s-".concat(t.id),children:(0,n.jsx)(p.A,{className:(0,o.cn)("size-5 transition-transform",c&&"rotate-180"),"aria-hidden":"true"})})]}),c?(0,n.jsx)("p",{id:m,className:"border-t border-border/60 px-3 py-3 text-sm leading-relaxed text-muted-foreground sm:px-4 sm:py-3.5",children:t.summary}):null]})}function S(e){let{preview:t}=e;return(0,n.jsx)("div",{className:"rounded-md border border-border bg-muted p-3","data-testid":"solution-readme-preview",children:(0,n.jsx)(b.b,{content:t,charLimit:Number.MAX_SAFE_INTEGER,showFade:!1,fadeFrom:"muted",proseClassName:"prose prose-sm max-w-none prose-headings:text-xs prose-headings:font-medium prose-headings:text-foreground prose-p:my-1 prose-p:text-xs prose-p:text-muted-foreground prose-li:my-0 prose-li:text-xs prose-li:text-muted-foreground prose-strong:text-foreground prose-a:text-primary"})})}function C(e){let{label:t,preview:s}=e,[i,l]=(0,r.useState)(!1),a=(0,r.useId)();return(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{type:"button",onClick:()=>l(e=>!e),"aria-expanded":i,"aria-controls":a,"data-testid":"solution-readme-toggle",className:"group inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground",children:[(0,n.jsx)("span",{children:t}),(0,n.jsx)(p.A,{className:(0,o.cn)("h-3.5 w-3.5 shrink-0 transition-transform",i?"":"-rotate-90"),"aria-hidden":"true"})]}),i?(0,n.jsx)("div",{id:a,className:"mt-3",children:(0,n.jsx)(S,{preview:s})}):null]})}function E(e){var t;let{className:s,isTenantAdmin:r,disabled:l,copyPending:d,copyError:c,detail:u,isLoading:m,isError:x,onBack:p,onCreate:f,onEnableAndCreate:b}=e,j=(0,i.c)("onboarding.wizard.solution_step"),y=null!=(t=null==u?void 0:u.required_packs.filter(e=>!e.enabled))?t:[],v=y.length>0,N=y.map(e=>e.label).join(", "),_=v&&!r;return(0,n.jsxs)("div",{className:(0,o.cn)("flex min-h-0 flex-col",s),"data-testid":"solution-detail",children:[(0,n.jsxs)(g.WK,{type:"button",variant:"ghost",onClick:p,disabled:d,className:"shrink-0 self-start",testId:"solution-detail-back",children:[(0,n.jsx)(h.A,{className:"mr-1 h-4 w-4","aria-hidden":"true"}),j("back_to_list")]}),m?(0,n.jsxs)("div",{className:"mt-5 min-h-0 flex-1 space-y-3 overflow-y-auto pr-1","data-testid":"solution-detail-loading",children:[(0,n.jsx)(a.E,{className:"h-6 w-2/3"}),(0,n.jsx)(a.E,{className:"h-24 w-full"})]}):x||!u?(0,n.jsx)("p",{className:"mt-5 rounded-md border border-border p-4 text-center text-sm text-muted-foreground","data-testid":"solution-detail-error",children:j("detail_failed")}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-5 min-h-0 flex-1 space-y-5 overflow-y-auto pr-1",children:[(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("h2",{className:"font-display text-2xl font-light text-foreground sm:text-3xl",children:u.title}),(0,n.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground sm:text-base",children:u.summary})]}),u.readme_preview?(0,n.jsx)(C,{label:j("readme_toggle"),preview:u.readme_preview}):null]}),(0,n.jsxs)("div",{className:"mt-4 shrink-0 space-y-3 border-t border-border pt-4",children:[_?(0,n.jsx)("p",{className:"rounded-md border border-warning/40 bg-warning/10 p-3 text-xs text-foreground","data-testid":"solution-missing-packs",children:j("missing_packs_member",{packs:N})}):null,c&&!("packs_not_enabled"===c.kind&&_)?(0,n.jsx)(I,{error:c,isTenantAdmin:r}):null,v?r?(0,n.jsx)(g.WK,{type:"button",onClick:b,disabled:l||d,testId:"solution-enable-and-create",children:j(d?"creating":"create_cta")}):(0,n.jsx)(g.WK,{type:"button",onClick:f,disabled:!0,testId:"solution-create",children:j("create_cta")}):(0,n.jsx)(g.WK,{type:"button",onClick:f,disabled:l||d,testId:"solution-create",children:j(d?"creating":"create_cta")})]})]})]})}function K(e){let{maturity:t,open:s,onOpenChange:r,onConfirm:l}=e,a=(0,i.c)("onboarding.wizard.solution_step");return(0,n.jsx)(f.Lt,{open:s,onOpenChange:r,children:(0,n.jsxs)(f.EO,{"data-testid":"solution-nonstable-confirm",children:[(0,n.jsxs)(f.wd,{children:[(0,n.jsx)(f.r7,{children:a("confirm_nonstable.title")}),(0,n.jsx)(f.$v,{children:a("confirm_nonstable.body",{maturity:a("maturity.".concat(t))})})]}),(0,n.jsxs)(f.ck,{children:[(0,n.jsx)(f.Zr,{"data-testid":"solution-nonstable-cancel",children:a("confirm_nonstable.cancel")}),(0,n.jsx)(f.Rx,{onClick:l,"data-testid":"solution-nonstable-confirm-action",children:a("confirm_nonstable.confirm")})]})]})})}function I(e){let{error:t,isTenantAdmin:s}=e,r=(0,i.c)("onboarding.wizard.solution_step");if("packs_not_enabled"===t.kind){let e=t.missingPackSlugs.join(", ");return(0,n.jsx)("p",{className:"rounded-md border border-warning/40 bg-warning/10 p-3 text-xs text-foreground","data-testid":"solution-copy-error-packs",children:r(s?"missing_packs_admin":"missing_packs_member",{packs:e})})}let l=r("forbidden"===t.kind?"forbidden":"not_found"===t.kind?"not_found":"copy_failed");return(0,n.jsx)("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 p-3 text-xs text-foreground","data-testid":"solution-copy-error",children:l})}function q(e){var t,s,u;let{disciplineFilter:m,disciplineScope:x,scopePending:p=!1,initialSelectedSlugId:h,autoCreateInitialSolution:f=!1,isTenantAdmin:g,tenantRoleResolved:b=!0,disabled:y=!1,className:v,onStartFromScratch:N,onCreated:_,onAutoCreateFallback:w}=e,S=(0,i.c)("onboarding.wizard.solution_step"),C=(0,i.c)("disciplines"),[I,q]=(0,r.useState)(null),[L,z]=(0,r.useState)(null),[A,M]=(0,r.useState)(!1),[F,Q]=(0,r.useState)(null),T=(0,c.useSolutions)(m?{discipline:m}:{}),R=(0,r.useMemo)(()=>x&&x.length>0?new Set(x):null,[x]),W=(0,r.useMemo)(()=>{var e;return(null!=(e=T.data)?e:[]).filter(e=>"stable"===e.maturity&&(!R||R.has(e.discipline)))},[T.data,R]),P=(0,r.useRef)(!1);(0,r.useEffect)(()=>
1{if(P.current||!h||I||p||T.isFetching)return;if(T.isError){f&&(P.current=!0,M(!0),null==w||w());return}let e=T.data;if(!e)return;P.current=!0;let t=e.find(e=>e.slug_id===h&&(!R||R.has(e.discipline)));t?q(t):f&&(M(!0),null==w||w())},[f,h,w,p,R,I,T.data,T.isError,T.isFetching]);let U=(0,c.useSolutionDetail)(null!=(s=null==I?void 0:I.slug_id)?s:null),{mutateAsync:D,isPending:O}=(0,c.useCopySolution)(),V=(0,r.useCallback)(async e=>{if(I&&!O){z(null);try{let t=await D({slugId:I.slug_id,body:e?{enable_missing_packs:!0}:{}});_(t)}catch(e){z(await (0,c.classifyCopySolutionError)(e)),f&&(null==w||w())}}},[f,D,O,w,_,I]),H=null!=(u=null==(t=U.data)?void 0:t.maturity)?u:null==I?void 0:I.maturity,G=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(f&&h&&I&&!y&&H&&!G.current){if("stable"!==H){G.current=!0,M(!0),null==w||w();return}b&&(G.current=!0,V(g))}},[f,y,H,h,g,w,V,I,b]);let Z=e=>{if(I&&!O){if("stable"===H)return void V(e);Q({enableMissingPacks:e})}};return!f||!h||y||A||null!==L||H&&"stable"!==H?I?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E,{className:v,isTenantAdmin:g,disabled:y,copyPending:O,copyError:L,detail:U.data,isLoading:U.isLoading,isError:U.isError,onBack:()=>{q(null),z(null),Q(null)},onCreate:()=>Z(!1),onEnableAndCreate:()=>Z(!0)}),(0,n.jsx)(K,{maturity:null!=H?H:I.maturity,open:null!==F,onOpenChange:e=>{e||Q(null)},onConfirm:()=>{var e;let t=null!=(e=null==F?void 0:F.enableMissingPacks)&&e;Q(null),V(t)}})]}):(0,n.jsxs)("div",{className:(0,o.cn)("flex min-h-0 flex-col",v),"data-testid":"solution-pick",children:[(0,n.jsxs)("div",{className:"shrink-0 space-y-3 text-center",children:[(0,n.jsx)("h1",{className:"font-display text-2xl font-light tracking-tight text-foreground sm:text-3xl",children:S("heading")}),(0,n.jsx)("p",{className:"mx-auto max-w-lg text-sm text-muted-foreground sm:text-base",children:S("first_run_help")})]}),(0,n.jsxs)("div",{className:"mt-6 min-h-0 flex-1 overflow-y-auto overflow-x-hidden pr-1",children:[N?(0,n.jsx)("ul",{className:"mb-2 grid gap-2",children:(0,n.jsx)(k,{disabled:y,onSelect:N})}):null,T.isLoading||p?(0,n.jsxs)("div",{className:"grid gap-2","data-testid":"solution-list-loading",children:[(0,n.jsx)(a.E,{className:"h-20 w-full"}),(0,n.jsx)(a.E,{className:"h-20 w-full"}),(0,n.jsx)(a.E,{className:"h-20 w-full"})]}):T.isError?(0,n.jsx)("p",{className:"rounded-md border border-border p-4 text-center text-sm text-muted-foreground","data-testid":"solution-list-error",children:S("load_failed")}):0===W.length?(0,n.jsx)("p",{className:"rounded-md border border-border p-6 text-center text-sm text-muted-foreground","data-testid":"solution-list-empty",children:S("empty")}):(0,n.jsx)(j,{solutions:W,disabled:y,disciplineLabel:e=>{let t=(0,d.KS)(e);return t?C(t.labelKey):e},onSelect:e=>q(e)})]})]}):(0,n.jsxs)("div",{className:(0,o.cn)("flex min-h-0 flex-1 flex-col items-center justify-center gap-4",v),"data-testid":"solution-auto-creating",children:[(0,n.jsx)(l.$,{className:"h-12 w-12"}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:S("creating")})]})}},33060:(e,t,s)=>{s.r(t),s.d(t,{DisciplineIndustryContent:()=>m,UseCaseLearnMore:()=>x});var n=s(95155),i=s(7013),r=s(18955),l=s(68099),a=s(66664),o=s(67871),d=s(67449),c=s(85685),u=s(58161);function m(){let e=(0,r.c)("disciplines"),t=(0,d.j)(),s=(0,o.yj)(t),i=(0,c.L)(s.industrySlugs);if(0===t.length||0===i.length)return null;let l=e("industry_content_heading",{discipline:t.map(t=>e(t.labelKey)).join(" + ")});return(0,n.jsxs)("section",{className:"mt-5 w-full","data-testid":"discipline-industry-content","data-tour":"discipline-industry","aria-label":l,children:[(0,n.jsx)("span",{className:"mb-2 block text-xs font-medium uppercase tracking-wide text-muted-foreground",children:l}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-2.5 min-[480px]:grid-cols-2",children:i.map(e=>(0,n.jsx)(x,{useCase:e},e.id))})]})}function x(e){var t;let{useCase:s}=e,o=(0,r.c)("disciplines"),d="".concat((0,a.V)()).concat(null!=(t=s.href)?t:"/industries/".concat(s.id)),c=(0,u.vr)(s.id);return(0,n.jsxs)(l.lG,{children:[(0,n.jsx)(l.zM,{asChild:!0,children:(0,n.jsxs)("button",{type:"button","data-testid":"discipline-industry-".concat(s.id),className:"group flex flex-col overflow-hidden rounded-lg border border-border bg-background text-left transition-colors hover:bg-card",children:[c?(0,n.jsx)("img",{src:c.url,alt:c.alt,loading:"lazy","data-testid":"discipline-industry-image-".concat(s.id),className:"aspect-video w-full object-cover"}):null,(0,n.jsxs)("div",{className:"flex flex-col gap-1 p-3",children:[(0,n.jsx)("span",{className:"text-sm font-medium text-foreground",children:s.name}),(0,n.jsx)("span",{className:"text-xs leading-snug text-muted-foreground",children:s.tagline}),(0,n.jsx)("span",{className:"mt-1 text-xs font-medium text-primary",children:o("learn_more")})]})]})}),(0,n.jsxs)(l.Cf,{"data-testid":"discipline-industry-dialog-".concat(s.id),children:[(0,n.jsxs)(l.c7,{children:[(0,n.jsx)(l.L3,{children:s.name}),(0,n.jsx)(l.rr,{children:s.tagline})]}),(0,n.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:s.description}),(0,n.jsxs)("a",{href:d,target:"_blank",rel:"noopener noreferrer","data-testid":"discipline-industry-link-".concat(s.id),className:"inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline",children:[o("view_on_marketing"),(0,n.jsx)(i.A,{className:"h-3.5 w-3.5"})]})]})]})}},38116:(e,t,s)=>{s.d(t,{KS:()=>n.KS,N8:()=>n.N8,_0:()=>n._0,ds:()=>n.ds});var n=s(67871)},50150:(e,t,s)=>{s.d(t,{SOLUTIONS_QUERY_KEY_BASE:()=>m,classifyCopySolutionError:()=>y,getSolutionDetailQueryKey:()=>h,getSolutionsListQueryKey:()=>p,getSolutionsPublicListQueryKey:()=>f,useCopySolution:()=>v,useSolutionDetail:()=>j,useSolutions:()=>g,useSolutionsPublic:()=>b});var n=s(53455),i=s(99776),r=s(80549),l=s(21893),a=s(76965),o=s(49745),d=s(25018),c=s(14057),u=s(54750);let m=["solutions"];function x(e){var t;return null!=(t=null==e?void 0:e.trim())?t:""}function p(e){var t;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return[...m,"list",s,x(e.q),null!=(t=e.discipline)?t:""]}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return[...m,"detail",t,null!=e?e:null]}function f(e){var t;return[...m,"public",x(e.q),null!=(t=e.discipline)?t:""]}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,c.rW)();return(0,n.useQuery)({queryKey:p(e,t),queryFn:()=>l.FH.solutions.list(e),meta:{surface:"backend-api.solutions.list",ski
1pReport:!0}})}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.useQuery)({queryKey:f(e),queryFn:()=>l.FH.solutions.listPublic(e),meta:{surface:"backend-api.solutions.list-public",skipReport:!0}})}function j(e){let t=(0,c.rW)();return(0,n.useQuery)({queryKey:h(e,t),queryFn:()=>l.FH.solutions.get(e),enabled:null!=e,meta:{surface:"backend-api.solutions.get-detail",skipReport:!0}})}async function y(e){var t,s,n;let i=await (0,a.IV)(e),r=null==(t=i.envelope)?void 0:t.code;if(r===u.BE){let e=null==(n=i.envelope)||null==(s=n.details)?void 0:s.missing_pack_slugs;return{kind:"packs_not_enabled",missingPackSlugs:Array.isArray(e)?e.filter(e=>"string"==typeof e):[]}}return r===u.s7||403===i.status?{kind:"forbidden"}:r===u.NM||404===i.status?{kind:"not_found"}:{kind:"unknown"}}function v(){let e=(0,i.useQueryClient)(),t=(0,c.rW)();return(0,r.useMutation)({mutationFn:e=>{let{slugId:t,body:s}=e;return l.FH.solutions.copy(t,s)},onSuccess:s=>{var n;e.setQueryData((0,d.Q6)(),e=>e?e.some(e=>e.id===s.id)?e:[s,...e]:[s]),e.invalidateQueries({queryKey:(0,d.Q6)()});let i=null!=(n=s.tenant_id)?n:t;i&&(e.invalidateQueries({queryKey:[...o.N4,i]}),e.invalidateQueries({queryKey:(0,o.SE)(i)}))},meta:{surface:"backend-api.solutions.copy",skipReport:!0}})}},54750:(e,t,s)=>{s.d(t,{BE:()=>i,NM:()=>l,s7:()=>r,yg:()=>n});let n=["stable","preview","experimental"],i="lium.solutions.packs_not_enabled",r="common.forbidden",l="lium.solutions.not_found"},56067:(e,t,s)=>{s.d(t,{LN:()=>o,Qd:()=>x,XY:()=>a.UseCaseLearnMore,$L:()=>u});var n=s(95155),i=s(18955),r=s(67871),l=s(85685),a=s(33060);function o(e){var t;let{disciplineSlug:s}=e,o=(0,i.c)("explore"),d=(0,r.KS)(s),c=null!=(t=null==d?void 0:d.industrySlugs)?t:[],u=(0,l.L)(c);return 0===u.length?null:(0,n.jsxs)("section",{className:"mt-6","data-testid":"explore-use-cases-".concat(s),"aria-label":o("use_cases_heading"),children:[(0,n.jsx)("span",{className:"mb-2 block text-xs font-medium uppercase tracking-wide text-muted-foreground",children:o("use_cases_heading")}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-2.5 min-[480px]:grid-cols-2",children:u.map(e=>(0,n.jsx)(a.UseCaseLearnMore,{useCase:e},e.id))})]})}var d=s(23327),c=s(82180);function u(e,t){let s=new Set(e.packSlugs),n=t.filter(e=>s.has(e.slug)),i=[],r=new Set,l=new Set;for(let e of n){var a,o;for(let t of(i.push(e.name),null!=(a=e.connection_names)?a:[]))r.add(t);for(let t of null!=(o=e.tools)?o:[])(null==t?void 0:t.name)&&l.add(t.name)}return{packNames:i,connectionNames:[...r],toolNames:[...l]}}function m(e){let{title:t,items:s}=e,r=(0,i.c)("disciplines.resources_info");return(0,n.jsxs)("div",{className:"space-y-0.5",children:[(0,n.jsx)("p",{className:"font-medium text-popover-foreground",children:t}),0===s.length?(0,n.jsx)("p",{className:"text-muted-foreground",children:r("none")}):(0,n.jsx)("p",{className:"text-muted-foreground",children:s.join(", ")})]})}function x(e){let{discipline:t,packs:s}=e,r=(0,i.c)("disciplines.resources_info"),l=(0,i.c)("disciplines"),{packNames:a,connectionNames:o,toolNames:x}=u(t,s),p=Math.max(0,x.length-12),h=p>0?[...x.slice(0,12),r("more",{count:p})]:x,f=r("aria",{discipline:l(t.labelKey)});return(0,n.jsxs)(c.m_,{children:[(0,n.jsx)(c.k$,{asChild:!0,children:(0,n.jsx)("button",{type:"button","aria-label":f,className:"inline-flex shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","data-testid":"discipline-resources-info-".concat(t.slug),children:(0,n.jsx)(d.A,{className:"h-4 w-4","aria-hidden":"true"})})}),(0,n.jsxs)(c.ZI,{className:"max-w-xs space-y-2 text-left","data-testid":"discipline-resources-tooltip-".concat(t.slug),children:[(0,n.jsx)(m,{title:r("packs"),items:a}),(0,n.jsx)(m,{title:r("connections"),items:o}),(0,n.jsx)(m,{title:r("tools"),items:h})]})]})}},58161:(e,t,s)=>{s.d(t,{YW:()=>o,vr:()=>l});var n=s(53455),i=s(86960),r=s(4042);function l(e){return(0,r.L)(e)}Object.freeze([]);let a=Object.freeze([]);function o(e){let{data:t}=(0,n.useQuery)({queryKey:["marketing-content","images"],queryFn:e=>{let{signal:t}=e;return(0,i.Hs)(t)},staleTime:3e5,enabled:e.length>0,meta:{skipReport:!0}});if(0===e.length)return a;let s=null!=t?t:i.Cn;return e.map(e=>{for(let t of e){let e=(0,i.RX)(s,t);if(e)return e}})}},61999:(e,t,s)=>{s.d(t,{S:()=>a});var n=s(95155),i=s(18955),r=s(67812);let l={stable:"brand",preview:"info",experimental:"warning"};function a(e){let{maturity:t,className:s}=e,a=(0,i.c)("onboarding.wizard.solution_step");return(0,n.jsx)(r.E,{variant:l[t],className:s,"data-testid":"solution-maturity-badge","data-maturity":t,children:a("maturity.".concat(t))})}},72044:(e,t,s)=>{s.d(t,{ExploreSolutionsView:()=>A});var n=s(95155),i=s(52619),r=s.n(i),l=s(20063),a=s(18955),o=s(12115),d=s(66920),c=s(18123),u=s(6321),m=s(78085),x=s(33666),p=s(68122),h=s(28344),f=s(19380),g=s(41829),b=s(53164),j=s(74144),y=s(38116),v=s(56067),N=s(50150),_=s(86651),k=s(65229),w=s(33789),S=s(47507),C=s(54750),E=s(61999);let K="__any__",I={q:"",discipline:K,maturity:K};function q(e){return e.q.trim().length>0||e.discipline!==K||e.maturity!==K}function L(e){let{state:t,onChange:s,disabled:i=!1}=e,r=(0,a.c)("onboarding.wizard.solution_step.filters"),l=(0,a.c)("disciplines"),o=(e,n)=>s({...t,[e]:n});return(0,n.jsxs)("div",{className:"space-y-3","data-testid":"solution-catalog-filters",children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(_.A,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"}),(0,n.jsx)(w.p,{type:"search",value:t.q,disabled:i,onChange:e=>o("q",e.target.value),placeholder:r("search_placeholder"),"aria-label":r("search_label"),className:"pl-9",testId:"solution-search"})]}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsxs)(S.l6,{value:t.discipline,disabled:i,onValueChange:e=>o("discipline",e),children:[(0,n.jsx)(S.bq,{size:"sm","aria-label":r("discipline_label"),"data-testid":"solution-filter-discipline",children:(0,n.jsx)(S.yv,{})}),(0,n.jsxs)(S.gC,{children:[(0,n.jsx)(S.eb,{value:K,children:r("discipline_any")}),y._0.map(e=>(0,n.jsx)(S.eb,{value:e.slug,children:l(e.labelKey)},e.slug))]})]}),(0,n.jsxs)(S.l6,{value:t.maturity,disabled:i,onValueChange:e=>o("maturity",e),children:[(0,n.jsx)(S.bq,{size:"sm","aria-label":r("maturity_label"),"data-testid":"solution-filter-maturity",children:(0,n.jsx)(S.yv,{})}),(0,n.jsxs)(S.gC,{children:[(0,n.jsx)(S.eb,{value:K,children:r("maturity_any")}),C.yg.map(e=>(0,n.jsx)(S.eb,{value:e,children:(0,n.jsx)(E.S,{maturity:e})},e))]})]}),q(t)?(0,n.jsxs)(m.WK,{type:"button",variant:"ghost",onClick:()=>s(I),disabled:i,testId:"solution-filter-clear",children:[(0,n.jsx)(k.A,{className:"mr-1 h-4 w-4","aria-hidden":"true"}),r("clear")]}):null]})]})}var z=s(13758);function A(){let e=(0,a.c)("explore"),t=(0,a.c)("disciplines"),[s,i]=(0,o.useState)({...I}),_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,[s,n]=(0,o.useState)(e);return(0,o.useEffect)(()=>{let s=setTimeout(()=>n(e),t);return()=>clearTimeout(s)},[e,t]),s}(s.q,250),k=(0,o.useMemo)(()=>({...s,q:_}),[s,_]),w=(0,o.useMemo)(()=>(function(e){let t={},s=e.q.trim();return s.length>0&&(t.q=s),e.discipline!==K&&(t.discipline=e.discipline),t})(k),[k]),S=(0,N.useSolutionsPublic)(w),C=q(k),E=(0,l.useSearchParams)(),A=(0,o.useMemo)(()=>{var e;return null!=(e=(0,y.ds)(null==E?void 0:E.get("discipline")))?e:null},[E]);(0,o.useEffect)(()=>{(0,j.HZ)("acquisition.anonymous_landing",{tags:{surface:"explore"}})},[]);let[M,F]=(0,o.useState)(null),Q=(0,o.useCallback)(e=>F(t=>t===e?null:e),[]),T=(0,o.useMemo)(()=>{let e=new Map;for(let s of y._0)e.set(s.slug,t(s.labelKey));return e},[t]),R=(0,o.useCallback)(e=>{var t;return null!=(t=T.get(e))?t:e},[T]),W=(0,o.useMemo)(()=>{var e;return function(e,t,s,n){let i=new Map;for(let t of e){var r;let e=null!=(r=i.get(t.discipline))?r:[];e.push(t),i.set(t.discipline,e)}let l=t.map(e=>{var t,n;return{slug:e.slug,label:null!=(t=s.get(e.slug))?t:e.slug,solutions:null!=(n=i.get(e.slug))?n:[]}}).filter(e=>e.solutions.length>0);if(!n)return l;let a=l.findIndex(e=>e.slug===n);if(a<=0)return l;let[o]=l.splice(a,1);return l.unshift(o),l}(null!=(e=S.data)?e:[],y._0,T,A)},[S.data,T,A]),P=(0,o.useMemo)(()=>{var e,t;return t=null!=(e=S.data)?e:[],t.filter(e=>k.maturity===K||e.maturity===k.maturity)},[S.data,k]),U=(0,g.u)({returnTo:"/explore",intent:"create-account"}),D=(0,f._k)({returnTo:"/explore"}),O=(0,a.c)("chat.interface.guest_auth.prompt"),{user:V,isLoading:H}=(0,b.Z)(),G=!H&&!V,[Z,B]=(0,o.useState)(!1),Y=S.isLoading,$=!Y&&S.isError,X=!Y&&!$&&!C&&0===W.length,J=!Y&&!$&&C&&0===P.length,ee=(0,o.useRef)(null),et=(0,o.useRef)(null);return(0,o.useEffect)(()=>
1{if(!A||Y||et.current===A)return;let e=ee.current;e&&"function"==typeof e.scrollIntoView&&(et.current=A,e.scrollIntoView({behavior:"smooth",block:"start"}))},[A,Y]),(0,n.jsxs)("div",{className:"min-h-full bg-background",children:[(0,n.jsxs)("header",{className:"flex items-center justify-between gap-4 border-b border-border px-4 py-3 sm:px-6",children:[(0,n.jsx)(r(),{href:"/explore",className:"flex items-center","aria-label":e("brand"),children:(0,n.jsx)(x.g,{variant:"wordmark",size:"sm"})}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(d.LanguagePicker,{variant:"inline",className:"w-auto"}),(0,n.jsx)(c.ThemeToggle,{variant:"inline"}),G?(0,n.jsx)(m.WK,{variant:"ghost",asChild:!0,testId:"explore-sign-in",children:(0,n.jsx)(r(),{href:D,children:e("cta.sign_in")})}):(0,n.jsx)(m.WK,{variant:"ghost",asChild:!0,testId:"explore-back",children:(0,n.jsx)(r(),{href:"/workspaces",children:e("cta.back")})})]})]}),(0,n.jsxs)("main",{className:"mx-auto max-w-5xl px-4 py-10 sm:px-6",children:[(0,n.jsxs)("section",{className:"space-y-4 text-center","data-testid":"explore-hero",children:[(0,n.jsx)("h1",{className:"font-display text-3xl font-light text-foreground sm:text-4xl",children:e("hero.title")}),(0,n.jsx)("p",{className:"mx-auto max-w-2xl text-sm text-muted-foreground sm:text-base",children:e("hero.subtitle")}),(0,n.jsx)(m.WK,{asChild:!0,variant:"brand",shape:"lium",testId:"explore-top-signup",children:(0,n.jsx)(r(),{href:G?U:"/workspaces?new_workspace=1",children:G?e("cta.signup_global"):e("cta.build_global")})})]}),Y||$?null:(0,n.jsx)("div",{className:"mt-8",children:(0,n.jsx)(L,{state:s,onChange:i})}),(0,n.jsx)("div",{className:"mt-8 space-y-12",children:Y?(0,n.jsxs)("div",{className:"grid gap-3","data-testid":"explore-loading",children:[(0,n.jsx)(p.E,{className:"h-24 w-full"}),(0,n.jsx)(p.E,{className:"h-24 w-full"}),(0,n.jsx)(p.E,{className:"h-24 w-full"})]}):$?(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4 roun
1ded-md border border-border p-8 text-center","data-testid":"explore-error",children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:e("error")}),(0,n.jsx)(m.WK,{variant:"outline",onClick:()=>void S.refetch(),testId:"explore-error-retry",children:e("cta.retry")})]}):X?(0,n.jsx)("p",{className:"rounded-md border border-border p-8 text-center text-sm text-muted-foreground","data-testid":"explore-empty",children:e("empty")}):J?(0,n.jsx)("p",{className:"rounded-md border border-border p-8 text-center text-sm text-muted-foreground","data-testid":"explore-no-match",children:e("no_match")}):C?(0,n.jsxs)("section",{"data-testid":"explore-results",children:[(0,n.jsx)("h2",{className:"mb-4 font-display text-2xl font-light text-foreground",children:e("results_heading")}),(0,n.jsx)("ul",{className:"grid gap-3",children:P.map(e=>(0,n.jsx)(z.SolutionExploreCard,{solution:e,disciplineLabel:R,expanded:M===e.id,onToggle:Q,isGuest:G},e.id))})]}):W.map(t=>{let s=A===t.slug;return(0,n.jsxs)("section",{ref:s?ee:void 0,"data-testid":"explore-section-".concat(t.slug),"data-focused":s?"true":void 0,"aria-current":s?"true":void 0,className:s?(0,h.G)({tone
1:"brand",padding:"md"}):void 0,children:[(0,n.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[(0,n.jsx)("h2",{className:"font-display text-2xl font-light text-foreground",children:t.label}),s?(0,n.jsx)("span",{className:"rounded-full bg-brand/10 px-2.5 py-0.5 text-xs font-medium text-brand","data-testid":"explore-focused-badge",children:e("focused_badge")}):null]}),(0,n.jsx)("ul",{className:"grid gap-3",children:t.solutions.map(e=>(0,n.jsx)(z.SolutionExploreCard,{solution:e,disciplineLabel:R,expanded:M===e.id,onToggle:Q,isGuest:G},e.id))}),(0,n.jsx)(v.LN,{disciplineSlug:t.slug})]},t.slug)})})]}),G&&!Z?(0,n.jsx)(u.v,{href:U,title:O("title"),ctaLabel:O("cta"),dismissLabel:O("dismiss_aria"),onDismiss:()=>B(!0)}):null]})}},85685:(e,t,s)=>{s.d(t,{L:()=>d});var n=s(53455),i=s(58180),r=s(66664);async function l(e){return(0,i.UU)({baseUrl:(0,r.V)()}).getUseCases({signal:e})}let a={version:1,locale:"en",useCases:[{id:"subsurface",name:"Subsurface",tagline:"Uncovering valuable geological data",description:"Interpret seismic surveys and fault probability volumes, building reusable analysis tools that compound with every expert session.",image:"",href:"/industries/subsurface"},{id:"geospatial",name:"Geospatial",tagline:"From satellite to decision without the compute bottleneck",description:"Process hundreds of thousands of satellite records and build reusable measurement pipelines so every analysis starts from what the last one proved.",image:"",href:"/industries/geospatial"}]},o=Object.freeze([]);function d(e){let{data:t}=(0,n.useQuery)({queryKey:["marketing-content","use-cases"],queryFn:e=>{let{signal:t}=e;return l(t)},staleTime:3e5,enabled:e.length>0,meta:{skipReport:!0}});return 0===e.length?o:function(e,t){let s=new Map(e.useCases.map(e=>[e.id,e]));return t.map(e=>s.get(e)).filter(e=>void 0!==e)}(null!=t?t:a,[...e])}}}]);

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.