PageSourceSearch

https://onskeskyen.dk/_next/static/chunks/pages/brand/[brandName]/popular-products-0ce48cf974ec039c.js

js onskeskyen.dk collected 2026-09-25 02:41:51 UTC 4,452 bytes, 1 lines download raw bytes

1!function(){try{var d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new d.Error).stack;n&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[n]="7010f449-bae7-48df-b469-94613b3be378",d._sentryDebugIdIdentifier="sentry-dbid-7010f449-bae7-48df-b469-94613b3be378")}catch(d){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8524],{7378:function(d,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/brand/[brandName]/popular-products",function(){return i(41196)}])},32573:function(d,n,i){"use strict";var l=i(85893),o=i(13433),e=i(57234),r=i(18357),u=i(86896),a=i(94589),t=i(25576),s=i(11880),v=i(17243),c=i(58367),f=i(51126),g=i(11304);let b=a.ZP.div.withConfig({displayName:"BrandPopularProducts__CarouselTitleWrapper",componentId:"sc-14e40dc6-0"})(["margin-bottom:12px;"]);n.Z=d=>{var n,i,a,p,_,y,h,P,w,S;let{gridView:m,onClickAll:x,slug:B,trendingProductsData:k,fetchMore:j,loading:C}=d,E=(0,u.Z)(),N=(0,o.l)(c.E_),O=null==N?void 0:null===(n=N.featureFlags)||void 0===n?void 0:n.includes(s.aYQ.BrandPopularProducts),{context:F,creatorMode:I}=(0,v.KC)(),M=void 0!==k||!O||I&&!F.headers["x-creator-id"],{data:R,fetchMore:D,loading:L}=(0,s.OLr)({skip:M,context:F,notifyOnNetworkStatusChange:!0,variables:{slug:B,pagination:{limit:20,cursor:0}}}),U=void 0!==k?k:R,Z=void 0!==j?j:D,T=void 0!==C?C:L,V=d=>{if(d&&Z){var n,i,l;Z({variables:{slug:B,pagination:{limit:20,cursor:(null==U?void 0:null===(l=U.brands)||void 0===l?void 0:null===(i=l.findBySlug)||void 0===i?void 0:null===(n=i.trendingProducts)||void 0===n?void 0:n.nextCursor)||0}}})}};return(null==U?void 0:null===(a=U.brands.findBySlug)||void 0===a?void 0:null===(i=a.trendingProducts)||void 0===i?void 0:i.data)&&(null==U?void 0:null===(y=U.brands)||void 0===y?void 0:null===(_=y.findBySlug)||void 0===_?void 0:null===(p=_.trendingProducts)||void 0===p?void 0:p.data.length)<1||!O?null:m?(0,l.jsxs)(e.ContextWrapper,{keyValue:s.z4_.PopularProducts,children:[(0,l.jsx)(b,{children:(0,l.jsx)(t.s8,{children:E.formatMessage({id:"FOR_YOU_OTHERS_WISHED_FOR"})})}),(0,l.jsx)(f.n,{products:(null==U?void 0:null===(S=U.brands)||void 0===S?void 0:null===(w=S.findBySlug)||void 0===w?void 0:null===(P=w.trendingProducts)||void 0===P?void 0:P.data)||[],metaDataSource:s.ta2.PopularProducts,isLoading:T,inViewCallback:V})]}):(0,l.jsx)(e.ContextWrapper,{keyValue:s.z4_.PopularProducts,children:(0,l.jsx)(g.Z,{source:"BrandPage - LatestProducts",itemsArray:(null==U?void 0:null===(h=U.brands.findBySlug)||void 0===h?void 0:h.trendingProducts.data)||[],onViewAll:x,loaderElement:T?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.df,{threshold:.05,as:"div",onChange:V,children:(0,l.jsx)(t.YM,{})})}):null,title:E.formatMessage({id:"FOR_YOU_OTHERS_WISHED_FOR"})})})}},41196:function(d,n,i){"use strict";i.r(n);var l=i(85893),o=i(13433),e=i(11163),r=i(25576),u=i(86464),a=i(19813),t=i(32573),s=i(91647),v=i(67885),c=i(11880),f=i(17243),g=i(28791),b=i(58367);n.default=()=>{var d,n,i,p,_,y,h,P,w,S,m;let x=(0,e.useRouter)(),B=(0,o.l)(b.E_),{isLoggedIn:k}=(0,v.a)(),{context:j,creatorMode:C}=(0,f.KC)(),E=null==B?void 0:null===(d=B.featureFlags)||void 0===d?void 0:d.includes(c.aYQ.BrandPopularProducts),N=encodeURIComponent(x.query.brandName)||"",{data:O}=(0,c.rNC)({skip:(()=>{if(k&&C){var d;return!(null==B?void 0:null===(d=B.creator)||void 0===d?void 0:d.id)}return!N})(),context:j,variables:{slug:N,useForMe:!0}});return E?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.wQ,{src:null!==(m=null==O?void 0:null===(i=O.brands)||void 0===i?void 0:null===(n=i.findBySlug)||void 0===n?void 0:n.coverImage)&&void 0!==m?m:s.bU,eMarket:null==O?void 0:null===(_=O.brands)||void 0===_?void 0:null===(p=_.findBySlug)||void 0===p?void 0:p.eMarketActive,eMarketSrc:null==O?void 0:null===(h=O.brands)||void 0===h?void 0:null===(y=h.findBySlug)||void 0===y?void 0:y.eMarketLogo,domainName:(null==O?void 0:null===(w=O.brands)||void 0===w?void 0:null===(P=w.findBySlug)||void 0===P?void 0:P.website)&&new URL(O.brands.findBySlug.website).hostname||""}),(0,l.jsx)(u.vC,{children:(0,l.jsxs)(r.vs,{children:[(null==O?void 0:null===(S=O.brands)||void 0===S?void 0:S.findBySlug)&&(0,l.jsx)(a.Z,{brand:O.brands.findBySlug,onGoBack:()=>void x.back(),isBrandFollowed:O.brands.findBySlug.iFollow}),(0,l.jsx)(t.Z,{slug:N,gridView:!0})]})})]}):(x.push(g.default.BRAND.SLUG(N)),null)}}},function(d){d.O(0,[9813,2888,9774,179],function(){return d(d.s=7378)}),_N_E=d.O()}]);

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.