PageSourceSearch

https://www.sellpy.se/market/ContentPage.C-YVuluw.bundle.js

js sellpy.se collected 2026-10-02 03:01:23 UTC 6,300 bytes, 53 lines download raw bytes

1import{j as e,a3 as j,P as l,A as M,d as _,c as P,H as k}from"./npm.sellpy-design-system.DdsWMDHW.bundle.js";import{r as E}from"./npm.react-hook-form.HNw-giVQ.bundle.js";import{g as i,f}from"./npm.styled-components.CzYR6Qdp.bundle.js";import{l as $,b as w}from"./npm.react-router.BDfxye5A.bundle.js";import{ch as T,a8 as S,m as C,aC as I,S as H,J as c,y as B,ci as D,cj as A,ck as R}from"./index.DWkcZ-_z.bundle.js";import{M as W}from"./MetaTagPlacer.RJbhKlsg.bundle.js";import{b as q}from"./index.CJ-dL1Pw.bundle.js";import"./npm.apollo-client.CXJpJPbe.bundle.js";import{c as G}from"./ContentPageMapper.Dg5w1_eJ.bundle.js";import{c as L,E as N,d as O}from"./npm.sentry-react.Z7tY98T1.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.lodash.DxN61Y-S.bundle.js";import"./npm.parse.BcWrqAIh.bundle.js";import"./npm.swr.CiJqMJM6.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.react-i18next.BwOa93YU.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.B5c9TvV-.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./utils.DutWSyoJ.bundle.js";import"./MarketItemTile.EzOdm3nI.bundle.js";import"./tools.DUKVunGT.bundle.js";import"./utils.DGZXBK23.bundle.js";import"./errors.dMazk1gb.bundle.js";import"./itemStatus.BI0rbHvu.bundle.js";import"./ItemImage.CQuik_ly.bundle.js";import"./useImageAlt.BiVHU0of.bundle.js";import"./itemTitles.DPqsUG8J.bundle.js";import"./constants.CDq1pkzK.bundle.js";import"./useSanityStoreData.9-Q5H-F8.bundle.js";import"./useCategoryIcons.DsaRiBKa.bundle.js";import"./useCopyToClipboard.DAIMN_13.bundle.js";import"./getInternalLink.DWqdYguv.bundle.js";import"./getDefaultAlgoliaFilters.Bypt2EsX.bundle.js";import"./StoreItemSlider.Cf3rMugb.bundle.js";import"./usePersonalisedSearch.DaHUNodJ.bundle.js";import"./featureConfig.BK1sOa3P.bundle.js";import"./ItemSlider.DeYsBl7Q.bundle.js";import"./utils.lDoRF1Bx.bundle.js";import"./previouslyInCart.BW7EccyO.bundle.js";import"./useCartSliderItems.DXpsmEEF.bundle.js";import"./fetchSimilarBrands.B-N58ik2.bundle.js";import"./useSameSiteUprankingFilter.D14ObyWM.bundle.js";import"./requestSource.DkzemPHh.bundle.js";import"./useSimilarAlgoliaSliderItems.BPgZ6OGJ.bundle.js";import"./useSimilarItemIds.Bfi-AhrA.bundle.js";import"./useSimilarBrandsFromBrands.BAreGy5v.bundle.js";import"./validateBrandExistence.CXEK8dkk.bundle.js";import"./ChipsScrollSection.DioyD8lJ.bundle.js";import"./UserCategoriesByBaseCategory.C9iW3L6v.bundle.js";try{let t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="627c30eb-3435-4676-9bef-b8dccda8618b",t._sentryDebugIdIdentifier="sentry-dbid-627c30eb-3435-4676-9bef-b8dccda8618b")}catch(t){}{let t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=Object.assign({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const z=i.blockquote`
2  border-left: 4px solid #ccc;
3  margin: 1.5rem 0;
4  padding: 0.5rem 1rem;
5  color: #555;
6  font-style: italic;
7`,Q=({children:t,value:r})=>{const{href:d,onClick:o}=S(r==null?void 0:r.href);return e.jsx(M,{inline:!0,href:d,target:r!=null&&r.blank?"_blank":void 0,rel:r!=null&&r.blank?"noopener noreferrer":void 0,onClick:o,children:t})},m=f`
8  margin: 16px 0 8px;
9`,U=i(_)`
10  ${m}
11  font-size: 36px;
12  line-height: 40px;
13  ${C.phone} {
14    font-size: 28px;
15    line-height: 32px;
16  }
17`,F=i(P)`
18  ${m}
19`,Y=i(k)`
20  ${m}
21`,x=f`
22  margin: 8px 0;
23`,J=i.ul`
24  ${x}
25`,K=i.ol`
26  ${x}
27`,V={block:{h1:({children:t})=>e.jsx(U,{design:"h1",noMargin:!0,children:t}),h2:({children:t})=>e.jsx(F,{design:"h5",noMargin:!0,children:t}),h3:({children:t})=>e.jsx(Y,{design:"h7",noMargin:!0,children:t}),normal:({children:t})=>e.jsx(l,{design:"body1",noMargin:!0,children:t}),blockquote:({children:t})=>e.jsx(l,{design:"body1",noMargin:!0,children:e.jsx(z,{children:t})})},list:{bullet:({children:t})=>e.jsx(l,{design:"body1",noMargin:!0,children:e.jsx(J,{children:t})}),number:({children:t})=>e.jsx(l,{design:"body1",noMargin:!0,children:e.jsx(K,{children:t})})},marks:{strong:({children:t})=>e.jsx(j,{children:t}),link:Q}},X=({value:t})=>t?e.jsx(T,{value:t,components:V}):null,Z=i.div`
28  display: flex;
29  justify-content: center;
30`,v=i.div`
31  margin-top: 32px;
32  margin-bottom: 48px;
33  width: 100%;
34  max-width: ${({$isBlog:t})=>t?"800px":R};
35  box-sizing: border-box;
36  display: flex;
37  flex-direction: column;
38  gap: 16px 0;
39`,tt=i.div`
40  ${({theme:t})=>t.layout.contentPadding};
41  display: flex;
42  flex-direction: column;
43  ul,
44  ol {
45    margin: 8px 0;
46    padding-left: 16px;
47  }
48
49  li {
50    margin-bottom: 4px;
51  }
52`,ee=()=>{const{urlSlug:t,sanityDraftId:r}=$(),d=w(),{data:o,error:p,isLoading:b}=I(r?D:A,r?{$id:r,$locale:c}:{$titleSlug:t,$locale:c,$region:B()},{isPreview:!!r}),y=t.startsWith("/blog");return p||!(o!=null&&o.content)?(p&&L(p,{extra:{urlSlug:t}}),d("/not-found",{replace:!0}),null):b?e.jsx(H,{}):e.jsx(N,{onError:n=>{O(`[ContentPage]: contentPage ${t} failed to render, ${n.message}`)},children:e.jsxs(Z,{children:[e.jsx(W,{title:o.contentTitle||o.title,de
52scription:o.description,url:t,allowedRegions:o.regions,translatePath:({locale:n})=>{var s,a;return(a=(s=o.urlSlugs)==null?void 0:s[n])!=null?a:t},children:t.startsWith("/blog/")&&q({headline:o.contentTitle||o.title,description:o.description,url:t,datePublished:o._createdAt,dateModified:o._updatedAt,inLanguage:c})}),e.jsx(v,{$isBlog:y,children:o.content.map((n,s)=>{var g,u;if(n._type==="textContent")return e.jsx(tt,{children:e.jsx(X,{value:n.text})},n._key);if(!n._type)return null;const{shouldHavePaddingIfTopComponent:a,element:h}=(g=G(n,s))!=null?g:{};return e.jsxs(E.Fragment,{children:[s===0&&a&&e.jsx("div",{style:{height:"0px"}}),h]},(u=n._key)!=null?u:n._id)})})]})})};export{ee as default};
53//# sourceMappingURL=ContentPage.C-YVuluw.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.