PageSourceSearch

https://mfront.homeplus.co.kr/assets/js/index-Ch7FOGRW.js

js homeplus.co.kr collected 2026-09-24 10:14:35 UTC 2,286 bytes, 1 lines download raw bytes

1import{aE as t,af as a,cf as e,aF as i,cg as s,cc as o,k as n,y as d,z as r,aH as g,aP as p}from"./index-Db6MqYYx.js";import{r as c}from"./vendor-Cqib3ghv.js";import{L as l}from"./LoadingAndMore-ByU3cEnT.js";const m=t("div",{target:"emi6nsb1"})(a.desktop,"{padding-top:20px;width:1000px;}.unitItemWrap{padding-top:12px;padding-bottom:40px;.unitItem.typeC{&:first-of-type{padding-top:0;}.thumbWrap{min-height:107px;}}}"),h=t("div",{target:"emi6nsb0"})("position:relative;",a.desktop,"{display:block;text-align:center;}img{width:100%;",a.desktop,"{width:750px;}}"),u="/fixed-price/item.json",f=()=>{const t=n(),{isFetching:a,dataList:f,hasNextPage:x,fetchNextPage:P,pagination:v}=(()=>{var t,a;null==(a=null==(t=e().storeIds)?void 0:t.hyper)||a.storeId;const n=i(),d=Number(n.page)||1,{isFetching:r,isFetched:g,data:p,hasNextPage:c,fetchNextPage:l}=s({queryKey:["fixedfPrice",d],queryFn:async({pageParam:t=d})=>await o.get(u,{price:1e3,page:t,perPage:20}),getNextPageParam:t=>{var a,e,i,s;const o=null!=(e=null==(a=null==t?void 0:t.pagination)?void 0:a.page)?e:1;return o<(null!=(s=null==(i=null==t?void 0:t.pagination)?void 0:i.totalPage)?s:1)?o+1:void 0},staleTime:6e5,cacheTime:18e5}),m=()=>{const t={data:{dataList:[]},pagination:{offsetLimit:0,offsetStart:0,offsetTotalSize:0,page:1,perPage:20,totalCount:0,totalPage:0}};return p?p.pages.reduce((t,a)=>(a.data&&(t.data.dataList=t.data.dataList.concat(a.data.dataList),t.pagination=a.pagination),t),t):t};return{isFetching:r,dataList:m().data.dataList,pagination:m().pagination,hasNextPage:c,fetchNextPage:l}})(),L=c.useMemo(()=>({showEmblem:!0,showEventFlag:!0,showRecommend:!0,showCrossout:!0,showDcRate:!0,showUnitPrice:!0,showEventItemsButton:!0,showRelatedItemsButton:!0,showDeliveryFlag:!0,showRating:!0}),[]);return c.useEffect(()=>{t.common.setHeaderTitle("천원의 행복")},[]),d(m,{className:"content-container",children:[r(h,{children:r("img",{src:"/assets/images/top-Lz2t6IW2.jpg",alt:"천원의 행복"})}),r(p,{next:P,hasMore:!!x,loader:r(l,{isFetching:a,fetchNextPage:P,page:v.page-1,queryKey:["fixedPrice"]}),dataLength:f.length,children:r(g,{dataList:f,fromCategory:"메인 > 천원의행복",fromAction:"천원의행복 - 상품영역}",itemListName:"천원의행복",...L},"unitList")})]})};export{f as default};

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.