PageSourceSearch

https://www.slate360.ai/_next/static/chunks/52836-c9a54f2f5cd9aa85.js

js slate360.ai collected 2026-10-05 15:06:18 UTC 26,223 bytes, 1 lines download raw bytes

1!function(){try{var 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]="b44fc3cf-69d4-46e5-bccf-005d1bba96f6",e._sentryDebugIdIdentifier="sentry-dbid-b44fc3cf-69d4-46e5-bccf-005d1bba96f6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52836],{12675:(e,t,a)=>{a.d(t,{PublicItemStage:()=>o});var l=a(95155),r=a(67909),s=a(26282),n=a(94859);let i=(0,r.default)(()=>Promise.all([a.e(30942),a.e(28276),a.e(27470),a.e(31148),a.e(76302)]).then(a.bind(a,76302)).then(e=>e.TourPanoViewer),{loadableGenerated:{webpack:()=>[76302]},ssr:!1});function o(e){let{item:t}=e;switch(t.type){case"photo":return(0,l.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center",children:[t.url?(0,l.jsx)("img",{src:t.url,alt:t.title,className:"max-h-full max-w-full object-contain"}):(0,l.jsx)(c,{label:t.title||"Photo"}),t.markupSvg?(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0",dangerouslySetInnerHTML:{__html:t.markupSvg}}):null]});case"video":case"time_lapse":return t.url?(0,l.jsx)("video",{src:t.url,controls:!0,className:"max-h-full max-w-full outline-none"}):(0,l.jsx)(c,{label:t.title||"Video"});case"voice":return(0,l.jsxs)("div",{className:"w-full max-w-xl p-8",children:[(0,l.jsx)("h2",{className:"mb-4 text-xl font-semibold text-[var(--portal-accent)]",children:t.title}),t.url?(0,l.jsx)("audio",{src:t.url,controls:!0,className:"mb-4 w-full"}):null,t.transcript?(0,l.jsx)("p",{className:"rounded-lg bg-[var(--portal-canvas-alt)] p-4 text-sm leading-relaxed text-[var(--portal-ink-muted)]",children:t.transcript}):null,t.url||t.transcript?null:(0,l.jsx)(c,{label:"Voice note",compact:!0})]});case"note":return(0,l.jsxs)("div",{className:"max-w-2xl p-12 text-left",children:[(0,l.jsx)("h2",{className:"mb-6 text-2xl font-bold text-[var(--portal-accent)]",children:t.title}),(0,l.jsx)("p",{className:"whitespace-pre-wrap text-lg leading-relaxed text-[var(--portal-ink)]",children:t.notes||"No note text was included with this item."})]});case"photo_360":return t.url?(0,l.jsx)("div",{className:"relative h-full w-full min-h-[400px]",children:(0,l.jsx)(i,{src:t.url})}):(0,l.jsx)(c,{label:t.title||"360 Photo"});case"tour_360":case"model_3d":case"thermal":return(0,l.jsx)(d,{title:t.title||x(t.type),typeLabel:x(t.type)});default:return(0,l.jsx)(c,{label:"Item"})}}function c(e){let{label:t,compact:a}=e;return(0,l.jsxs)(n.h,{className:a?"!p-4 text-center":"text-center",children:[(0,l.jsx)(s.A,{className:"mx-auto mb-2 text-[var(--portal-ink-muted)]",size:a?20:28,"aria-hidden":!0}),(0,l.jsx)("p",{className:"text-sm font-semibold text-[var(--portal-ink)]",children:t}),(0,l.jsx)("p",{className:"mt-1 text-xs text-[var(--portal-ink-muted)]",children:"Media is unavailable for this shared link."})]})}function d(e){let{title:t,typeLabel:a}=e;return(0,l.jsxs)(n.h,{className:"max-w-md text-center",children:[(0,l.jsx)(s.A,{className:"mx-auto mb-3 text-[var(--portal-ink-muted)]",size:32,"aria-hidden":!0}),(0,l.jsx)("h3",{className:"text-lg font-semibold text-[var(--portal-ink)]",children:t}),(0,l.jsxs)("p",{className:"mt-2 text-sm leading-relaxed text-[var(--portal-ink-muted)]",children:["This shared ",a," cannot be opened in the browser viewer. Contact the sender if you need the original file or package."]})]})}function x(e){switch(e){case"photo_360":return"360 photo";case"tour_360":return"360 tour";case"model_3d":return"3D model";case"thermal":return"thermal capture";default:return"item"}}},25016:(e,t,a)=>{a.d(t,{cn:()=>s});var l=a(2821),r=a(75889);function s(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,l.$)(t))}},26210:(e,t,a)=>{a.d(t,{W:()=>g});var l=a(95155),r=a(77588),s=a(26983),n=a(38392),i=a(70532),o=a(64206),c=a(43465),d=a(61362),x=a(35299),m=a(52056),u=a(25016),p=a(27265),h=a(44506);let b={invalid:r.A,expired:s.A,revoked:n.A,max_views:i.A,denied:n.A,unavailable:o.A,empty:c.A,success:d.A,loading:x.A},v="text-[var(--portal-ink-muted)] bg-[var(--portal-canvas-alt)] border-[var(--portal-line)]",f={invali
1d:v,expired:v,revoked:"text-red-700 bg-red-50 border-red-200",max_views:v,denied:"text-red-700 bg-red-50 border-red-200",unavailable:v,empty:v,success:"text-[var(--portal-accent)] bg-[var(--portal-accent-soft)] border-[var(--portal-accent-line)]",loading:v};function g(e){let{state:t,title:a,description:r,badge:s,actions:n,showShell:i=!0}=e,o=h.o[t],c=b[t],d=(0,l.jsx)("div",{className:"flex flex-1 items-center justify-center px-4 py-10",children:(0,l.jsxs)("div",{className:"w-full max-w-md rounded-2xl border border-[var(--portal-line)] bg-[var(--portal-surface)] p-8 text-center shadow-[0_10px_30px_-18px_rgba(26,36,51,0.25)]","data-testid":"token-state","data-state":t,children:[(0,l.jsx)("div",{className:(0,u.cn)("mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl border",f[t]),children:(0,l.jsx)(c,{size:26,className:"loading"===t?"animate-spin":void 0,"aria-hidden":!0})}),s?(0,l.jsx)("p",{className:"mb-2 text-xs font-semibold uppercase tracking-[0.07em] text-[var(--portal-ink-muted)]",children:s}):null,(0,l.jsx)("h1",{className:"font-serif text-2xl font-normal text-[var(--portal-ink)]",children:null!=a?a:o.title}),(0,l.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-[var(--portal-ink-muted)]",children:null!=r?r:o.description}),"unavailable"===t?(0,l.jsxs)("p",{className:"mt-3 inline-flex items-center gap-1 text-xs text-[var(--portal-ink-muted)]",children:[(0,l.jsx)(m.A,{size:12,"aria-hidden":!0}),"If you expected a file, confirm the sender shared the latest link."]}):null,n?(0,l.jsx)("div",{className:"mt-6 flex flex-col items-center gap-2",children:n}):null]})});return i?(0,l.jsxs)("div",{className:"flex min-h-[100dvh] flex-col bg-[var(--portal-canvas)] text-[var(--portal-ink)]","data-portal-theme":"light",children:[(0,l.jsx)("header",{className:"border-b border-[var(--portal-line)] bg-[var(--portal-surface)]",children:(0,l.jsx)("div",{className:"mx-auto flex w-full max-w-[1120px] items-center px-4 py-3 sm:px-6",children:(0,l.jsx)(p.L,{})})}),d]}):d}},27164:(e,t,a)=>{a.d(t,{_:()=>i});var l=a(95155),r=a(25016),s=a(27265),n=a(62126);function i(e){let{children:t,portalLabel:a="Secure sharing",title:i,subtitle:o,orgName:c,orgLogoUrl:d,headerActions:x,variant:m="default",showFooter:u=!0,className:p}=e,h="immersive"===m;return(0,l.jsxs)("div",{className:(0,r.cn)("flex min-h-screen flex-col bg-[var(--portal-canvas)] text-[var(--portal-ink)]",h?"h-[100dvh] overflow-hidden":"",p),"data-portal-theme":"light",children:[(0,l.jsx)("header",{className:(0,r.cn)("shrink-0 border-b border-[var(--portal-line)] bg-[var(--portal-surface)]",h?"h-14":""),children:(0,l.jsxs)("div",{className:(0,r.cn)("mx-auto flex items-center justify-between gap-4 px-4",h?"h-14 max-w-none":"max-w-[1120px] flex-wrap gap-y-2 py-3 sm:px-6"),children:[(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,l.jsx)(s.L,{logoUrl:d,name:c}),(0,l.jsx)("div",{className:"hidden h-6 w-px bg-[var(--portal-line)] sm:block","aria-hidden":!0}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:(0,r.cn)("truncate text-xs font-semibold uppercase tracking-[0.07em] text-[var(--portal-ink-muted)]",o?"hidden sm:block":""),children:a}),i?(0,l.jsx)("p",{className:"truncate text-sm font-semibold text-[var(--portal-ink)]",children:i}):null,o?(0,l.jsx)("p",{className:"truncate text-xs text-[var(--portal-ink-muted)]",children:o}):null]})]}),x?(0,l.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:x}):null]})}),(0,l.jsx)("div",{className:(0,r.cn)("flex flex-1 flex-col",h?"min-h-0 overflow-hidden":""),children:t}),u&&!h?(0,l.jsx)(n.C,{orgName:c}):null]})}},27265:(e,t,a)=>{a.d(t,{L:()=>s});var l=a(95155),r=a(40352);function s(e){let{logoUrl:t,name:a}=e;return t?(0,l.jsx)("img",{src:t,alt:null!=a?a:"",className:"h-8 w-auto max-w-[140px] object-contain","data-testid":"client-logo"}):(0,l.jsxs)("span",{className:"flex shrink-0 items-center gap-2","data-testid":"slate360-logo","aria-label":"Slate360",children:[(0,l.jsx)(r.P,{className:"h-7 w-auto shrink-0","aria-hidden":!0}),(0,l.jsxs)("span",{className:"text-[15px] font-semibold tracking-[0.13em]","aria-hidden":!0,
1children:[(0,l.jsx)("span",{className:"text-[var(--portal-ink)]",children:"SLATE"}),(0,l.jsx)("span",{className:"text-[var(--portal-accent)]",children:"360"})]})]})}},28434:(e,t,a)=>{a.d(t,{DeliverableQnA:()=>x});var l=a(95155),r=a(12115),s=a(37586),n=a(52056),i=a(35299),o=a(18085),c=a(25016),d=a(94859);function x(e){let{token:t,orgName:a}=e,[x,m]=(0,r.useState)([]),[u,p]=(0,r.useState)(!1),[h,b]=(0,r.useState)(""),[v,f]=(0,r.useState)(""),[g,j]=(0,r.useState)(""),[w,N]=(0,r.useState)(!1),[y,k]=(0,r.useState)(null),_=(0,r.useCallback)(async()=>{try{var e;let a=await fetch("/api/share/deliverable/".concat(t,"/questions"),{cache:"no-store"}),l=await a.json().catch(()=>({}));a.ok&&m(null!=(e=l.questions)?e:[])}catch(e){}finally{p(!0)}},[t]);async function S(){let e=g.trim();if(!e)return void k("Type a question first.");N(!0),k(null);try{var a;let l=await fetch("/api/share/deliverable/".concat(t,"/questions"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({body:e,authorName:h.trim()||void 0,authorEmail:v.trim()||void 0})}),r=await l.json().catch(()=>({}));if(!l.ok)throw Error(null!=(a=r.error)?a:"Couldn't send your question.");j(""),await _()}catch(e){k(e instanceof Error?e.message:"Couldn't send your question.")}finally{N(!1)}}(0,r.useEffect)(()=>{_()},[_]);let A="min-h-10 w-full rounded-lg border border-[color-mix(in_srgb,var(--portal-ink-muted)_30%,transparent)] bg-[color-mix(in_srgb,var(--portal-canvas)_60%,transparent)] px-3 text-sm text-[var(--portal-ink)] outline-none placeholder:text-[var(--portal-ink-muted)] focus:border-[color-mix(in_srgb,var(--portal-accent)_45%,transparent)]";return(0,l.jsxs)(d.h,{className:"!p-5",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(s.A,{className:"h-4 w-4 text-[var(--portal-accent)]","aria-hidden":!0}),(0,l.jsx)("h2",{className:"text-sm font-semibold text-[var(--portal-ink)]",children:"Questions & answers"})]}),(0,l.jsxs)("p",{className:"mt-1 text-xs text-[var(--portal-ink-muted)]",children:["Ask ",a||"the sender"," a question about this deliverable — replies appear here."]}),u&&x.length>0?(0,l.jsx)("ul",{className:"mt-4 space-y-3",children:x.map(e=>(0,l.jsxs)("li",{className:(0,c.cn)("rounded-xl border p-3",e.is_owner_reply?"ml-6 border-[color-mix(in_srgb,var(--portal-accent)_30%,transparent)] bg-[color-mix(in_srgb,var(--portal-accent)_8%,transparent)]":"border-[color-mix(in_srgb,var(--portal-ink-muted)_25%,transparent)] bg-[color-mix(in_srgb,var(--portal-canvas)_50%,transparent)]"),children:[(0,l.jsxs)("p",{className:"flex items-center justify-between gap-2 text-[11px] font-semibold uppercase tracking-wide text-[var(--portal-ink-muted)]",children:[(0,l.jsxs)("span",{children:[e.is_owner_reply?a||"Sender":e.author_name||"You",e.is_owner_reply?" \xb7 reply":""]}),(0,l.jsx)("span",{className:"font-normal normal-case",children:new Date(e.created_at).toLocaleString("en-US",{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})})]}),(0,l.jsx)("p",{className:"mt-1 whitespace-pre-wrap text-sm leading-relaxed text-[var(--portal-ink)]",children:e.body})]},e.id))}):null,(0,l.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,l.jsxs)("div",{className:"grid gap-2 sm:grid-cols-2",children:[(0,l.jsx)("input",{type:"text",placeholder:"Your name (optional)",value:h,onChange:e=>b(e.target.value),className:A}),(0,l.jsx)("input",{type:"email",inputMode:"email",placeholder:"Your email (optional)",value:v,onChange:e=>f(e.target.value),className:A})]}),(0,l.jsx)("textarea",{placeholder:"Type your question…",value:g,onChange:e=>j(e.target.value),rows:3,className:(0,c.cn)(A,"resize-none py-2 leading-relaxed")}),y?(0,l.jsxs)("p",{className:"flex items-center gap-1.5 text-xs text-red-700",children:[(0,l.jsx)(n.A,{className:"h-3.5 w-3.5","aria-hidden":!0})," ",y]}):null,(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsxs)("button",{type:"button",onClick:S,disabled:w,className:(0,c.cn)("inline-flex items-center gap-2 rounded-xl bg-[var(--portal-accent)] px-4 py-2 text-sm font-semibold text-white transition-opacity hover:opacity-90",w&&"opacity-70"),children:[w?(0,l.jsx)(i.A,{className:"h-4 w-4 animate-spin","aria-hidden":!0}):(0,l.jsx)(o.A,{className:"h-4 w-4","aria-hidden":!0}),w?"Sending…":"Send question"]})})]})]})}},38148:(e,t,a)=>{a.d(t,{G:()=>c});var l=a(95155),r=a(12115),s=a(65229),n=a(90368),i=a(27937),o=a(25016);function c(e){let{title:t,blocks:a,onClose:c}=e,x=a.filter(e=>"divider"!==e.type),[m,u]=(0,r.useState)(0),p=x.length,h=(0,r.useCallback)(e=>u(t=>Math.min(Math.max(t+e,0),p-1)),[p]);if((0,r.useEffect)(()=>{let e=e=>{"ArrowRight"===e.key||" "===e.key?h(1):"ArrowLeft"===e.key?h(-1):"Escape"===e.key&&c()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[h,c]),0===p)return null;let b=x[m],v=0===m,f=m===p-1;return(0,l.jsxs)("div",{className:"fixed inset-0 z-[200] flex flex-col bg-black [-webkit-user-select:none] select-none",children:[(0,l.jsxs)("header",{className:"flex shrink-0 items-center justify-between gap-3 border-b border-white/10 px-4 py-3",children:[(0,l.jsx)("p",{className:"truncate text-sm font-semibold text-white",children:t}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsxs)("span",{className:"font-mono text-xs tabular-nums text-white/60",children:[m+1," / ",p]}),(0,l.jsx)("button",{type:"button",onClick:c,"aria-label":"Close slideshow",className:"flex h-9 w-9 items-center justify-center rounded-xl border border-white/10 bg-white/[0.04] text-white/60 transition-colors hover:text-white",children:(0,l.jsx)(s.A,{className:"h-4 w-4"})})]})]}),(0,l.jsxs)("div",{className:"relative flex min-h-0 flex-1 items-center justify-center overflow-hidden px-4 py-6 sm:px-16",children:[(0,l.jsx)("button",{type:"button","aria-label":"Previous",onClick:()=>h(-1),disabled:v,className:"absolute inset-y-0 left-0 z-10 w-1/4 cursor-w-resize disabled:cursor-default"}),(0,l.jsx)("button",{type:"button","aria-label":"Next",onClick:()=>h(1),disabled:f,className:"absolute inset-y-0 right-0 z-10 w-1/4 cursor-e-resize disabled:cursor-default"}),(0,l.jsx)(d,{block:b}),(0,l.jsx)("button",{type:"button",onClick:()=>h(-1),disabled:v,"aria-label":"Previous slide",className:"absolute left-3 top-1/2 z-20 hidden h-11 w-11 -translate-y-1/2 items-center justify-center rounded-xl border border-white/10 bg-white/[0.04] text-white/85 transition-opacity hover:bg-white/10 disabled:opacity-30 sm:flex",children:(0,l.jsx)(n.A,{className:"h-5 w-5"})}),(0,l.jsx)("button",{type:"button",onClick:()=>h(1),disabled:f,"aria-label":"Next slide",className:"absolute right-3 top-1/2 z-20 hidden h-11 w-11 -translate-y-1/2 items-center justify-center rounded-xl border border-white/10 bg-white/[0.04] text-white/85 transition-opacity hover:bg-white/10 disabled:opacity-30 sm:flex",children:(0,l.jsx)(i.A,{className:"h-5 w-5"})})]}),(0,l.jsx)("footer",{className:"flex shrink-0 items-center justify-center gap-1.5 px-4 py-4",children:x.map((e,t)=>(0,l.jsx)("button",{type:"button","aria-label":"Go to slide ".concat(t+1),onClick:()=>u(t),className:(0,o.cn)("h-1.5 rounded-sm transition-all",t===m?"w-6 bg-[var(--portal-accent)]":"w-1.5 bg-white/20 hover:bg-white/40")},e.id))})]})}function d(e){let{block:t}=e;switch(t.type){case"image":return(0,l.jsxs)("figure",{className:"flex h-full max-h-full w-full max-w-5xl flex-col items-center justify-center gap-3",children:[t.src?(0,l.jsx)("img",{src:t.src,alt:t.alt||"Slide",className:"max-h-[78vh] w-auto max-w-full rounded-2xl object-contain"}):(0,l.jsx)("div",{className:"flex aspect-video w-full max-w-2xl items-center justify-center rounded-2xl bg-white/[0.04]",children:(0,l.jsx)("span",{className:"text-xs text-white/60",children:"Image unavailable"})}),t.caption?(0,l.jsx)("figcaption",{className:"max-w-2xl text-center text-sm text-white/60",children:t.caption}):null]});case"heading":return(0,l.jsx)("h2",{className:"max-w-3xl text-center text-3xl font-bold text-white sm:text-4xl",children:t.content});case"callout":case"text":return(0,l.jsx)("p",{className:"max-w-2xl whitespace-pre-wrap text-center text-lg leading-relaxed text-white/85",children:t.content});default:return null}}},40352:(e,t,a)=>{a.d(t,{P:()=>n});var l=a(95155),r=a(25016),s=a(12115);function n(e){let{className:t,...a}=e,n="slate360-icon-gradient-".concat((0,s.useId)().replace(/:/g,""));return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 189.2 186.47",role:"img","aria-label":"Slate360",className:(0,r.cn)(null!=t?t:"h-9 w-9"),...a,children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:n,x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#00E699"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#1E293B"})]})}),(0,l.jsx)("rect",{width:"189.2",height:"186.47",rx:"30.69",ry:"30.69",fill:"#0B0F15"}),(0,l.jsx)("path",{fill:"url(#".concat(n,")"),d:"M14.69,56.05L85.78,16.38c1.78-1.2,3.91-1.9,6.17-1.9,2.07,0,4.05.58,5.74,1.6l76.81,42.86v25.19s-82.5-46.04-82.5-46.04l-54.56,30.45c-.2.11-.75.42-.75,1.27s.54,1.16.75,1.27l80.45,44.9-22.51,12.63L14.69,83.59v-27.54Z"}),(0,l.jsx)("path",{fill:"url(#".concat(n,")"),d:"M94.9,57.31l-22.44,12.67,79.29,45.4c.2.11.75.42.75,1.27s-.54,1.16-.75,1.27l-50.3,28.08-4.27,2.38-4.27-2.38L14.69,102.33v25.2s77.14,43.07,77.14,43.07c1.67.93,3.51,1.4,5.36,1.4s3.7-.46,5.36-1.4l71.95-40.17v-27.34l-79.6-45.78Z"})]})}},44506:(e,t,a)=>{a.d(t,{o:()=>l});
1let l={invalid:{title:"Link not recognized",description:"This link is invalid or no longer exists. Ask the sender to share a new link."},expired:{title:"Link expired",description:"This secure link has expired. Request a new link from the project team."},revoked:{title:"Link revoked",description:"Access to this content was revoked by the owner. Contact them if you still need it."},max_views:{title:"View limit reached",description:"This link has reached its maximum number of views. Request a new link to continue."},denied:{title:"Access not allowed",description:"You do not have permission to view or download this file with the current link."},unavailable:{title:"Content unavailable",description:"The shared file or deliverable is no longer available. It may have been removed or archived."},empty:{title:"Nothing to show yet",description:"This deliverable does not contain any items yet. Check back after the sender publishes content."},success:{title:"Submitted",description:"Your response was received securely. You may close this window."},loading:{title:"Loading",description:"Preparing your secure portal…"}}},49477:(e,t,a)=>{a.d(t,{DeliverablePlanStage:()=>c});var l=a(95155),r=a(12115),s=a(90368),n=a(27937),i=a(65229),o=a(25016);function c(e){var t;let{sheets:a,pins:c,onSelectItem:d,onClose:x}=e,[m,u]=(0,r.useState)(0),p=null!=(t=a[m])?t:a[0],h=c.filter(e=>e.planSheetId===(null==p?void 0:p.id));return p?(0,l.jsxs)("div",{className:"absolute inset-0 z-30 flex flex-col bg-[var(--portal-canvas-alt)]",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-[var(--portal-line)] bg-[var(--portal-surface)] px-4 py-2",children:[(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,l.jsx)("span",{className:"truncate text-sm font-semibold text-[var(--portal-ink)]",children:p.sheetName}),a.length>1?(0,l.jsxs)("span",{className:"shrink-0 text-xs text-[var(--portal-ink-muted)]",children:[m+1,"/",a.length]}):null]}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-1",children:[a.length>1?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button",onClick:()=>u(e=>Math.max(0,e-1)),disabled:0===m,className:"rounded-lg p-2 text-[var(--portal-ink-muted)] hover:bg-[var(--portal-canvas-alt)] disabled:opacity-30","aria-label":"Previous sheet",children:(0,l.jsx)(s.A,{size:16})}),(0,l.jsx)("button",{type:"button",onClick:()=>u(e=>Math.min(a.length-1,e+1)),disabled:m===a.length-1,className:"rounded-lg p-2 text-[var(--portal-ink-muted)] hover:bg-[var(--portal-canvas-alt)] disabled:opacity-30","aria-label":"Next sheet",children:(0,l.jsx)(n.A,{size:16})})]}):null,(0,l.jsx)("button",{type:"button",onClick:x,className:"rounded-lg p-2 text-[var(--portal-ink-muted)] hover:bg-[var(--portal-canvas-alt)]","aria-label":"Close plan view",children:(0,l.jsx)(i.A,{size:18})})]})]}),(0,l.jsx)("div",{className:"relative flex-1 overflow-auto bg-[var(--portal-canvas-alt)]",children:(0,l.jsxs)("div",{className:"relative mx-auto my-4 w-fit max-w-full",children:[(0,l.jsx)("img",{src:p.imageUrl,alt:p.sheetName,className:"max-w-full select-none",draggable:!1}),h.map(e=>{var t,a;return(0,l.jsx)("button",{type:"button",disabled:!e.itemId,onClick:()=>e.itemId&&d(e.itemId),className:(0,o.cn)("absolute -translate-x-1/2 -translate-y-full p-1 transition-transform",e.itemId?"cursor-pointer hover:scale-110":"cursor-default opacity-50"),style:{left:"".concat(e.xPct,"%"),top:"".concat(e.yPct,"%")},"aria-label":e.itemId?"Open stop ".concat(null!=(t=e.pinNumber)?t:""):"Stop ".concat(null!=(a=e.pinNumber)?a:""),children:(0,l.jsxs)("span",{className:"relative flex flex-col items-center",children:[(0,l.jsx)("span",{className:(0,o.cn)("flex h-7 w-7 items-center justify-center rounded-md border-2 text-[11px] font-black shadow-md",e.itemId?"border-[color-mix(in_srgb,var(--portal-accent)_60%,white)] bg-[var(--portal-accent)] text-white":"border-[var(--portal-line)] bg-[var(--portal-surface)] text-[var(--portal-ink-muted)]"),children:null!=e.pinNumber?String(e.pinNumber).padStart(2,"0"):"•"}),(0,l.jsx)("span",{className:(0,o.cn)("h-3 w-0.5",e.itemId?"bg-[var(--portal-accent)]":"bg-[var(--portal-ink-muted)]")})]})},e.id)})]})})]}):null}},59130:(e,t,a)=>{a.d(t,{SharedDeliverableDocument:()=>h});var l=a(95155),r=a(12115),s=a(25016),n=a(85921),i=a(52056),o=a(61362),c=a(23327),d=a(27164),x=a(94859),m=a(26210),u=a(38148),p=a(28434);function h(e){let{title:t,deliverableType:a,content:s,orgName:i,sharedAt:o,shareToken:c}=e,[x,h]=(0,r.useState)(!1),v=(0,r.useMemo)(()=>s.some(e=>"image"===e.type||"heading"===e.type||"text"===e.type),[s]),f=o&&new Date(o).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return 0===s.length?(0,l.jsx)(m.W,{state:"empty",badge:i||void 0,description:"This shared deliverable does not include any published sections yet."}):(0,l.jsxs)(d._,{portalLabel:"Shared deliverable",title:t,subtitle:[i,a,f?"Shared ".concat(f):null].filter(
1Boolean).join(" \xb7 ")||void 0,orgName:i,children:[(0,l.jsxs)("main",{className:"mx-auto w-full max-w-3xl flex-1 space-y-4 px-4 py-8 sm:px-6",children:[v?(0,l.jsxs)("button",{type:"button",onClick:()=>h(!0),className:"inline-flex items-center gap-2 rounded-xl bg-[var(--portal-accent)] px-4 py-2.5 text-sm font-semibold text-white transition-opacity hover:opacity-90",children:[(0,l.jsx)(n.A,{className:"h-4 w-4","aria-hidden":!0})," Play slideshow"]}):null,s.map(e=>(0,l.jsx)(b,{block:e},e.id)),c?(0,l.jsx)(p.DeliverableQnA,{token:c,orgName:i}):null]}),x?(0,l.jsx)(u.G,{title:t,blocks:s,onClose:()=>h(!1)}):null]})}function b(e){let{block:t}=e;switch(t.type){case"heading":return(0,l.jsx)(x.h,{className:"!p-4",children:(0,l.jsx)("div",{className:(0,s.cn)("font-bold text-[var(--portal-ink)]",1===t.level&&"text-2xl",2===t.level&&"text-xl",3===t.level&&"text-lg"),children:t.content})});case"text":return(0,l.jsx)("p",{className:"whitespace-pre-wrap px-1 text-sm leading-relaxed text-[var(--portal-ink)]",children:t.content});case"image":return(0,l.jsxs)("figure",{className:"space-y-2 overflow-hidden rounded-2xl border border-[var(--portal-line)]",children:[t.src?(0,l.jsx)("img",{src:t.src,alt:t.alt||"Deliverable image",className:"max-h-[28rem] w-full object-cover"}):(0,l.jsx)("div",{className:"flex aspect-video items-center justify-center bg-[var(--portal-canvas-alt)]",children:(0,l.jsx)("span",{className:"text-xs text-[var(--portal-ink-muted)]",children:"Image unavailable"})}),t.caption?(0,l.jsx)("figcaption",{className:"px-3 pb-3 text-center text-xs text-[var(--portal-ink-muted)]",children:t.caption}):null]});case"divider":return(0,l.jsx)("hr",{className:"border-[var(--portal-line)]"});case"callout":return(0,l.jsx)(v,{block:t});default:return null}}function v(e){let{block:t}=e,a="warning"===t.variant?i.A:"success"===t.variant?o.A:c.A;return(0,l.jsxs)("div",{className:(0,s.cn)("flex items-start gap-2 rounded-xl border p-4",{info:"border-[color-mix(in_srgb,var(--portal-accent)_30%,transparent)] bg-[color-mix(in_srgb,var(--portal-accent)_10%,transparent)] text-[var(--portal-ink)]",warning:"border-[color-mix(in_srgb,var(--portal-ink-muted)_40%,transparent)] bg-[color-mix(in_srgb,var(--portal-ink-muted)_12%,transparent)] text-[var(--portal-ink)]",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-800"}[t.variant]),children:[(0,l.jsx)(a,{className:"mt-0.5 size-4 shrink-0","aria-hidden":!0}),(0,l.jsx)("p",{className:"whitespace-pre-wrap text-sm leading-relaxed",children:t.content})]})}},62126:(e,t,a)=>{a.d(t,{C:()=>r});var l=a(95155);function r(e){let{orgName:t}=e;return(0,l.jsx)("footer",{className:"shrink-0 border-t border-[var(--portal-line)] py-4 text-center",children:(0,l.jsxs)("p",{className:"text-xs text-[var(--portal-ink-muted)]",children:["Secured by"," ",(0,l.jsx)("a",{href:"https://www.slate360.ai",target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-[var(--portal-accent)] hover:underline",children:"Slate360"}),t?(0,l.jsxs)(l.Fragment,{children:[" ","\xb7 Shared on behalf of ",(0,l.jsx)("span",{className:"text-[var(--portal-ink)]",children:t})]}):null]})})}},94859:(e,t,a)=>{a.d(t,{h:()=>s});var l=a(95155),r=a(25016);function s(e){let{children:t,className:a}=e;return(0,l.jsx)("div",{className:(0,r.cn)("rounded-2xl border border-[var(--portal-line)] bg-[var(--portal-surface)] p-6 text-[var(--portal-ink)] shadow-[0_10px_30px_-18px_rgba(26,36,51,0.25)]",a),children:t})}}}]);

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.