PageSourceSearch

https://behindtheworkflow.ai/_next/static/chunks/12852-820f35893bc7ecb4.js

js behindtheworkflow.ai collected 2026-09-24 13:55:13 UTC 6,116 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12852],{17198:(e,t,n)=>{n.d(t,{i0:()=>x,i7:()=>f,l6:()=>h,qq:()=>g});var l=n(95155),a=n(12115),r=n(23540),i=n(89559),s=n(85449),o=n(64269),d=n(54112);let c=new Set(["heic","heif","tif","tiff"]);function u(e){var t;if(!e)return"";let n=null!=(t=e.split(/[?#]/,1)[0])?t:"",l=n.lastIndexOf("/"),a=l>=0?n.slice(l+1):n,r=a.lastIndexOf(".");return r<0||r===a.length-1?"":a.slice(r+1).toLowerCase()}function f(e){let t=u(e);return!t||!c.has(t)}function m(e,t){var n;let l=null==e?void 0:e.trim();if(l)return l;if(!t)return"";let a=null!=(n=t.split(/[?#]/,1)[0])?n:"",r=a.lastIndexOf("/"),i=r>=0?a.slice(r+1):a;try{return decodeURIComponent(i)}catch(e){return i}}function p(e){let{fileName:t,displayName:n,onRetry:a,className:s,compact:d=!1}=e,c=m(n,t);return(0,l.jsxs)("span",{className:(0,o.cn)("bg-muted relative flex flex-col items-center justify-center gap-1 overflow-hidden px-3 py-2 text-center",s),"data-media-plate":"load-failed",children:[(0,l.jsx)(r.A,{className:"text-muted-foreground/60 h-4 w-4 shrink-0","aria-hidden":!0}),(0,l.jsx)("span",{className:"text-foreground w-full truncate text-[11px] font-medium",children:c||"This file"}),d?null:(0,l.jsx)("span",{className:"text-muted-foreground text-[10.5px] leading-snug",children:"The preview could not be loaded just now. The file itself is still there."}),a?(0,l.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),a()},className:"focus-visible:ring-ring border-border bg-background text-foreground mt-0.5 inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-[10.5px] font-medium transition-colors hover:border-[var(--shell-divider-strong)] focus:outline-none focus-visible:ring-2",children:[(0,l.jsx)(i.A,{className:"h-3 w-3","aria-hidden":!0}),"Try again"]}):null]})}function x(e){let{fileName:t,displayName:n,className:a,compact:i=!1}=e,s=m(n,t),d=u(t).toUpperCase();return(0,l.jsxs)("span",{className:(0,o.cn)("bg-muted relative flex flex-col items-center justify-center gap-1 overflow-hidden px-3 py-2 text-center",a),"data-media-plate":"no-preview",children:[(0,l.jsx)(r.A,{className:"text-muted-foreground/60 h-4 w-4 shrink-0","aria-hidden":!0}),(0,l.jsx)("span",{className:"text-foreground w-full truncate text-[11px] font-medium",children:s||"This file"}),i?null:(0,l.jsx)("span",{className:"text-muted-foreground text-[10.5px] leading-snug",children:d?"This is a ".concat(d," file. Browsers cannot show a preview of it, so download it to look at it."):"Browsers cannot show a preview of this file, so download it to look at it."})]})}function h(e){let{src:t,fileName:n,displayName:r,alt:i,className:c,imgClassName:u,showLabel:f=!0}=e,[p,x]=a.useState(!1);a.useEffect(()=>{x(!1)},[t]);let h=m(r,n),g=!!t&&!(0,d.EC)(t);return(0,l.jsxs)("span",{className:(0,o.cn)("bg-muted relative flex items-center justify-center overflow-hidden",c),"data-media-plate":"audio",children:[(0,l.jsxs)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 flex flex-col items-center justify-center gap-1 px-2 text-center",children:[(0,l.jsx)(s.A,{className:"text-muted-foreground/60 h-4 w-4 shrink-0"}),f&&h?(0,l.jsx)("span",{className:"text-muted-foreground w-full truncate text-[10.5px]",children:h}):null]}),t&&g?(0,l.jsx)("img",{src:t,alt:null!=i?i:h?"Waveform of ".concat(h):"Waveform of this recording",loading:"lazy",decoding:"async",draggable:!1,onLoad:()=>x(!0),className:(0,o.cn)("relative h-full w-full object-cover transition-[opacity,transform] duration-200 motion-reduce:transition-none",p?"opacity-100":"opacity-0",u)}):null]})}function g(e){var t,n;let{src:i,alt:s="",className:d,imgClassName:c,fit:u="cover",showPlaceholderIcon:m=!0,mediaKind:g=null,fileName:v,displayName:N,previewUnsupported:j,onRetryPreview:w,onPreviewFailedChange:y}=e,[b,k]=a.useState(!1),[C,E]=a.useState(!1);a.useEffect(()=>{k(!1),E(!1)},[i]),a.useEffect(()=>{null==y||y(C)},[C,y]);let T="audio"===(t={src:i,mediaKind:g,fileName:v,previewUnsupported:j,decoded:b,errored:C}).mediaKind?"audio":(null!=(n=t.previewUnsupported)?n:null!=t.fileName&&!f(t.fileName))?"format-unsupported":t.src?t.errored?"load-failed":t.decoded?"loaded":"loading":"no-source";return"audio"===T?(0,l.jsx)(h,{src:i,fileName:v,displayName:N,alt:s||void 0,className:d,imgClassName:c,showLabel:m}):"format-unsupported"===T?(0,l.jsx)(x,{fileName:v,displayName:N,className:d,compact:!m}):"load-failed"===T?(0,l.jsx)(p,{fileName:v,displayName:N,className:d,compact:!m,onRetry:w?()=>{E(!1),k(!1),w()}:void 0}):(0,l.jsxs)("span",{className:(0,o.cn)("bg-muted relative block overflow-hidden",d),children:[m?(0,l.jsx)("span",{"aria-hidden":!0,
1className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,l.jsx)(r.A,{className:"text-muted-foreground/45 h-4 w-4"})}):null,i?(0,l.jsx)("img",{src:i,alt:s,loading:"lazy",decoding:"async",draggable:!1,onLoad:()=>k(!0),onError:()=>E(!0),className:(0,o.cn)("relative h-full w-full transition-[opacity,transform] duration-200 motion-reduce:transition-none","contain"===u?"object-contain":"object-cover",b?"opacity-100":"opacity-0",c)}):null]})}},45095:(e,t,n)=>{n.d(t,{N:()=>c,k:()=>d});var l=n(95155),a=n(53455),r=n(53449),i=n(54112),s=n(64269),o=n(48898);function d(e,t){var n;let l=(null==(n=null==t?void 0:t.enabled)||n)&&!!e,{data:i}=(0,a.I)({queryKey:["signed-original-media",e],enabled:l,staleTime:27e5,queryFn:async()=>{let t=await (0,r.mv)(e,3600);return null!=t?t:null}});return l&&null!=i?i:null}function c(e){let{src:t,mediaPath:n,waveformUrl:a,title:r,className:c,keyboard:u=!0}=e,f=d(n,{enabled:!t}),m=null!=t?t:f,p=a&&!(0,i.EC)(a)?a:null;return m?(0,l.jsx)(o.AudioPlayer,{src:m,waveformUrl:p,title:r,keyboard:u,className:c}):(0,l.jsx)("p",{className:(0,s.cn)("flex min-h-[112px] items-center justify-center rounded-[12px] bg-muted px-4 text-center text-[12px] text-muted-foreground",c),role:"status","aria-live":"polite",children:"The recording is being prepared for playback."})}},68875:(e,t,n)=>{n.d(t,{X:()=>l});
1function l(e){return e?e.includes(":")?e.replace(":"," / "):e:"16 / 9"}}}]);

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.