1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4fc4923c-edec-5f6b-99fe-c2ea778cef63")}catch(e){}}(); 3import"./rolldown-runtime-DvfoX5Ak.js";import{Mp as e,Op as t}from"./shared_core-C6HDEX7I.js";import{nt as n,st as r}from"./framework-BAK0rp3s.js";import{t as i}from"./styled_system-mBJTjpbq.js";import{t as a}from"./getInlineMediaDimensions-BuEKtbv9.js";var o=r(),s=n(),MediaGalleryItem=n=>{let r=(0,o.c)(14),{isSelected:c,item:l}=n,u;bb0:{if(l.previewDataUrl){u=l.previewDataUrl;break bb0}if(!l.upload){u=null;break bb0}if(l.type===`image`){let e;if(r[0]!==l.upload.height||r[1]!==l.upload.uid||r[2]!==l.upload.width){let{getImageMediaUrlProps:n}=a({maxHeight:4096,maxWidth:4096,originalHeight:l.upload.height,originalWidth:l.upload.width});e=t(l.upload.uid,{transforms:n}),r[0]=l.upload.height,r[1]=l.upload.uid,r[2]=l.upload.width,r[3]=e}else e=r[3];u=e;break bb0}let n;r[4]===l.upload.uid?n=r[5]:(n=e(l.upload.uid,{kind:`video`,size:`xl`}),r[4]=l.upload.uid,r[5]=n),u=n}let d=u,f;r[6]===c?f=r[7]:(f=i([c],[[-1,-1,[`false`,-2,`true`,-3]]],[`teqSy jszkma eAZrqn gnlqYH jTWvec hYZFkb`,`teqSy jszkma eAZrqn gnlqYH jTWvec hYZFkb jBoIsN`,`teqSy jszkma eAZrqn gnlqYH jTWvec hYZFkb fzpbIC`],0),r[6]=c,r[7]=f);let p;r[8]!==l.type||r[9]!==d?(p=d?l?.type===`image`?(0,s.jsx)(`img`,{alt:``,className:`hYZFjI fXCUBF hYZFkb`,src:d}):(0,s.jsx)(`video`,{autoPlay:!0,className:`hYZFjI fXCUBF hYZFkb`,loop:!0,muted:!0,playsInline:!0,preload:`auto`,src:d}):(0,s.jsx)(`div`,{className:`dcFSAO hYZFjI hYZFkb`}),r[8]=l.type,r[9]=d,r[10]=p):p=r[10];let m;return r[11]!==f||r[12]!==p?(m=(0,s.jsx)(`div`,{className:f,children:p}),r[11]=f,r[12]=p,r[13]=m):m=r[13],m};export{MediaGalleryItem as t}; 4//# sourceMappingURL=MediaGalleryItem-CxKUjsg3.js.map 5//# debugId=4fc4923c-edec-5f6b-99fe-c2ea778cef63
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.