1import{j as i,c as h,l as p,p as d,r as y,s as z,O as $,f,m as v}from"./Text-jOWP8vaS.js";const j=({width:o,className:a,children:e})=>i.jsx("div",{className:h("flex w-full",!(a!=null&&a.includes("flex-row"))&&"flex-col",p.match(o).with("wide",()=>"max-w-[theme(space.layout-max-width-wide)]").with("medium",()=>"max-w-[theme(space.layout-max-width-medium)]").with("article",()=>"max-w-[theme(space.layout-max-width-article)]").with("article-promotional",()=>"max-w-[theme(space.layout-max-width-article-promotional)]").exhaustive(),a),children:e}),E=({negativeMargin:o,as:a="div",className:e,children:n})=>i.jsx(a,{className:h(p.match(o).with(void 0,()=>"px-layout-padding-horizontal-phone brand-tablet:px-layout-padding-horizontal-tablet").with("phone",()=>["-mx-layout-padding-horizontal-phone px-layout-padding-horizontal-phone","brand-tablet:mx-0 brand-tablet:px-0"]).with("phone-and-tablet",()=>["-mx-layout-padding-horizontal-phone px-layout-padding-horizontal-phone","brand-tablet:-mx-layout-padding-horizontal-tablet brand-tablet:px-layout-padding-horizontal-tablet","brand-desktop:mx-0 brand-desktop:px-0"]).with("all-devices",()=>["-mx-layout-padding-horizontal-phone px-layout-padding-horizontal-phone","brand-tablet:-mx-layout-padding-horizontal-tablet brand-tablet:px-layout-padding-horizontal-tablet"]).exhaustive(),e),children:n}),L=({url:o,width:a,height:e,mediaQueryImageSources:n,alt:x,onLoad:s,onError:m,className:u,classNameImg:c})=>{const w=d(n??[],v(({url:t,width:b,height:g,mediaMinWidth:l})=>({url:t,width:b,height:g,mediaMinWidth:l,srcSet:r(t),media:l?`(min-width: ${l/16}rem)`:void 0})),z([d($,f(({mediaMinWidth:t})=>t===null?0:t))]),y);return i.jsxs("picture",{className:h("h-fit w-fit",u),children:[w.map(t=>i.jsx("source",{media:t.media,srcSet:t.srcSet,width:t.width,height:t.height},`${t.width}-${t.height}-${t.url}`)),i.jsx("img",{srcSet:r(o),width:a,height:e,alt:x,onLoad:s,onError:m,className:c})]})},r=o=>{const[,a,e]=o.match(/^(.+)\.(.{3,4}?)$/)??[];return`${o} 1x, ${a}@2x.${e} 1.5x, ${a}@3x.${e} 2.5x`};export{L as I,E as L,j as a,r as u};
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.