PageSourceSearch

https://www.sellpy.pl/market/PressImages.CX5aEgpc.bundle.js

js sellpy.pl collected 2026-10-04 17:32:14 UTC 4,369 bytes, 79 lines download raw bytes

1import{j as o,a6 as y,P as x,G as c,c as h,R as w,H as j}from"./npm.sellpy-design-system.CEBV0qn4.bundle.js";import{g as n}from"./npm.styled-components.-ucAPtMy.bundle.js";import{a as _}from"./npm.react-router.BDfxye5A.bundle.js";import"./npm.react-hook-form.HNw-giVQ.bundle.js";import{aw as P,m as i}from"./index.BLgdzNgP.bundle.js";import{h as I,e as M}from"./npm.apollo-client.CXJpJPbe.bundle.js";import"./npm.lodash.DxN61Y-S.bundle.js";import{u as $}from"./npm.react-i18next.BwOa93YU.bundle.js";import"./npm.react-dom.DlIYrMBD.bundle.js";import"./npm.sellpy-commons.B413ARrd.bundle.js";import"./npm.immutable.DTQZtUT4.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.parse.BcWrqAIh.bundle.js";import"./npm.sentry-react.Z7tY98T1.bundle.js";import"./npm.swr.UPzyFI9h.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.9qu-zNA4.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1015ce4f-2fb5-4a68-a0f1-bab7791ef7cb",e._sentryDebugIdIdentifier="sentry-dbid-1015ce4f-2fb5-4a68-a0f1-bab7791ef7cb")}catch(e){}{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const k=n.div`
2  grid-column: 2 / span 10;
3  ${i.tablet} {
4    grid-column: 1 / span 12;
5  }
6  margin-left: -12px;
7`,v=n(c)`
8  grid-row-gap: 32px;
9  padding: 32px;
10  grid-auto-flow: row;
11`,C=n.div`
12  grid-column: 2 / span 10;
13  text-align: left;
14  margin-bottom: 16px;
15  ${i.tablet} {
16    grid-column: 1 / span 12;
17    margin-bottom: 16px;
18  }
19`,R=n(h)`
20  grid-column: span 12;
21  grid-row: 1 / span 1;
22`,T=n.a`
23  max-height: 400px;
24  background-color: ${({theme:e})=>e.color.grey.shade8};
25  :hover {
26    opacity: 0.8;
27  }
28  ${({isOpaque:e})=>!e&&"padding: 16px;"}
29  box-sizing: border-box;
30  display: flex;
31`,D=n.div`
32  display: flex;
33  flex-direction: column;
34  grid-column: span 3;
35  ${i.tablet} {
36    grid-column: span 6;
37  }
38  ${i.phone} {
39    grid-column: span 12;
40  }
41`,E=n(w)`
42  object-fit: contain;
43  aspect-ratio: 1 / 1;
44`,G=n(j)`
45  grid-column: span 12;
46  text-align: left;
47  margin-bottom: 16px;
48`,O=n(c)`
49  grid-row-gap: 24px;
50  column-gap: 24px;
51  ${i.tablet} {
52    grid-row-gap: 16px;
53    column-gap: 16px;
54  }
55  margin-top: 16px;
56  grid-auto-rows: min-content;
57`,H=M`
58  query pressPhotoCategoryQuery($id: ID!) {
59    PressPhotoCategory(id: $id) {
60      _id
61      imageCollection {
62        _id
63        title
64        images {
65          asset {
66            url
67            originalFilename
68            metadata {
69              isOpaque
70            }
71          }
72          alt
73          caption
74        }
75      }
76    }
77  }
78`,ne=()=>{var m;const e=P(),{imageCategory:t}=_(),{t:d}=$("pressLanding"),{data:s}=I(H,{variables:{id:e.sanityDraftId||t},context:{api:"sanity",preview:!!e.sanityDraftId}}),l=(m=s==null?void 0:s.PressPhotoCategory)==null?void 0:m.imageCollection;return o.jsxs(v,{children:[o.jsx(R,{noMargin:!0,center:!0,children:d("imageCategories."+t)}),o.jsx(k,{children:o.jsx(y,{options:[{label:d("pageName"),link:"/press"},{label:d("imageCategories."+t),link:`/press/images/${t}`}]})}),l==null?void 0:l.map(({title:p,images:g})=>o.jsxs(C,{children:[o.jsx(G,{children:p}),o.jsx(O,{noPadding:!0,children:g==null?void 0:g.map(({asset:r,caption:a,alt:f},b)=>{var u;return o.jsxs(D,{category:p,children:[o.jsx(T,{target:"_blank",href:(r==null?void 0:r.url)+"?dl",rel:"noopener noreferrer",isOpaque:(u=r==null?void 0:r.metadata)==null?void 0:u.isOpaque,children:o.jsx(E,{src:r==null?void 0:r.url,mobileWidth:"90vw",desktopWidth:"25vw",options:{format:(r==null?void 0:r.originalFilename.split(".").pop())==="png"?"png":"jpg"},alt:f})}),o.jsx(x,{noMargin:!0,design:"body3",style:a!=null&&a.length?{marginTop:"16px"}:null,children:a})]},b)})},1)]},p))]})};export{ne as default};
79//# sourceMappingURL=PressImages.CX5aEgpc.bundle.js.map

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.