1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[82],{hzow:function(e,t,n){"use strict";n.r(t);var i,a,o,c,r,l,b,d,s,u,p,O,f,j,g,h,v,m,x,y,w,k,_,I,D=n("UutA"),E=n("UO5U"),C=n("mXGw"),F=n.n(C),N=n("Ns/9"),S=n("714/"),A=n("Z1JM"),z=n("6EqO"),L=n("/m4v"),P=n("yxw4"),B=n.n(P),G=n("aD51"),T=n("mReo"),q=n.n(T),M=n("rOcY"),U=n("zqfq"),V=n("/eOC"),H=n("lxGZ"),R=n("p5tP"),W=n("gO+7"),Y=n("8QMS"),J=n("6ODA"),X=n("gpse"),K=n("llgV"),Q=n("Fcif"),Z=n("BQn0"),$=F.a.createElement,ee=function(e){return $(Z.a,Object(Q.a)({component:"div",bgcolor:"#F7CC3A",padding:"2px 4px",fontSize:"11px",display:"inline-block",fontWeight:600,marginLeft:"5px",color:"#24252C"},e),"URGENT")},te=n("Xfll"),ne=n("ECar"),ie=n("sGQg"),ae=n("/klO"),oe=n("TYfv"),ce=n("GYT4"),re=n("lc+9"),le=n("hpUO"),be=(F.a.createElement,function(e){return Object(G.b)("svg",e,Object(G.b)("path",{fill:"none",d:"M0 0h24v24H0zm10 5h4v2h-4zm0 0h4v2h-4z"}),Object(G.b)("path",{d:"M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-6 0h-4V5h4v2z"}))});be.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};var de=q()((function(){return n.e(43).then(n.bind(null,"v7FI"))}),{ssr:!1,loadableGenerated:{webpack:function(){return["v7FI"]},modules:["components/ErrorDialog"]}}),se=Object(N.a)((function(){return Object(S.a)({image:{maxWidth:"100%",height:"100%",objectFit:"contain"},imageLink:{display:"flex",height:"100%",width:"100%",overflow:"hidden",justifyContent:"center",alignItems:"center",backgroundColor:"#F1F1F1"},link:function(e){var t=e.hasPsHighlight;return{padding:t?"6px":"13.5px 0 15.5px",backgroundColor:t?"#FFFCC9":"transparent",borderBottom:t?void 0:"1px solid #EDEDED",border:t?"1px solid #F7983A":void 0}},imageHighlight:{width:"100%",height:"100%"},subjectLink:{wordBreak:"break-word",textOverflow:"ellipsis",textDecoration:"none",marginTop:"4.5px",fontSize:"14px",lineHeight:"21px",marginBottom:"6px",color:"#24252C",fontWeight:600,"&:hover,&:focus":{textDecoration:"underline"}},bodyText:{overflow:"hidden",wordBreak:"break-word",display:"-webkit-box",textOverflow:"ellipsis","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",fontSize:"12px",maxHeight:"34px",marginBottom:"9px"},favoriteButton:{position:"absolute",right:"6px",top:"6px",opacity:"0.8",lineHeight:"0",cursor:"pointer"},icon:{flex:"none",width:"18px",height:"18px"},markdownPrice:{textDecoration:"line-through",fontSize:12,fontWeight:600,color:"#777777",marginRight:"4px"},companyName:{overflow:"hidden",wordBreak:"break-word",display:"-webkit-box",textOverflow:"ellipsis","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",maxHeight:"38px"}})})),ue=D.b.button.withConfig({displayName:"ListingAdItem__StyledBtn",componentId:"sc-1nktjpg-0"})(["position:absolute;right:6px;top:6px;opacity:0.8;line-height:0;cursor:pointer;background:none;border:none;padding:0;outline:none;"]),pe=Object(X.c)(ue,(function(e){return{event:"track_event",category:"ad_list_section",action:e["data-action"],label:e["data-label"]}})),Oe=function(e){var t=e.date,i=e.regionName,a=e.companyAd,o=e.categoryId,c=e.companyName,r=e.isVerified,l=o+""===ne.s+"";return Object(G.b)(fe,null,Object(G.b)(je,null,Object(G.b)(ge,null,Object(G.b)("img",{src:n("w40O"),width:"18",height:"18",alt:"Post Time"}),Object(G.b)(he,null,Object(U.a)(t))),Object(G.b)(ve,{title:"Region"},Object(G.b)("img",{src:n("nPN+"),width:"18",height:"18",alt:"Location"}),Object(G.b)(me,null,i))),Object(G.b)(xe,null,r&&Object(G.b)(ye,null,Object(G.b)(A.Icon,{path:z.h,color:"#00a0e4",size:.7})),Object(G.b)(we,null,a?Object(G.b)(R.a,{title:Object(G.b)(ke,null,Object(G.b)(A.Icon,{size:.5,path:z.t,color:"#3abf28"}),Object(G.b)("span",{style:{marginLeft:"2px"}},"Company")),arrow:!0},Object(G.b)("div",null,Object(G.b)(be,{fill:"white",width:"10",height:"10","data-testid":"company-icon"}))):Object(G.b)(R.a,{title:Object(G.b)(_e,null,Object(G.b)(A.Icon,{size:.5,path:z.t,color:"#3abf28"}),Object(G.b)("span",{style:{marginLeft:"2px"}},"Private seller")),arrow:!0},Object(G.b)(A.Icon,{path:z.a,color:"white",size:.5,"data-testid":"private-icon"}))),l&&Object(G.b)(Ie,{title:c},c)))},fe=(t.default=function(e){var t,i,a,o,c,r,l=e.id,b=e.attributes,d=b.adId,s=b.image,u=b.subject,p=b.date,O=b.storeVerified,f=b.yearVerified,j=b.imageCountBold,g=b.mediaCount,h=b.hasVideo,v=b.categoryId,m=b.companyAd,x=b.regi
1onName,y=b.subareaName,w=b.hasPsUrgent,k=b.hasPsHighlight,_=b.extraImages,I=b.oldPrice,D=b.priceLabel,E=b.rank,N=b.priceSuffix,S=b.priceMarkdown,P=b.body,T=b.companyName,q=b.listId,U=b.adBadges,R=b.typeName,X=b.regionId,Q=b.subareaId,Z=b.adviewUrl,$=Object(L.e)(te.c.selectedFiltersSelector),be=Object(L.e)((function(e){return e.adFavs.errorByID[l]})),ue=null===be||void 0===be||null===(t=be.errors)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.detail,fe=$.category,je=$.region,ge=$[ne.B]===ne.C,he=v+""===ne.s+"",ve=Object(K.a)({ad:e,selectedCategory:parseInt(fe||0)}),me=se({hasPsHighlight:k}),xe=Object(H.a)(v,u),ye=s?M.ListingImgSrcURL+s:M.NoImgSrcListing,we=Object(L.e)((function(e){return B()(e,"filter.selectedFilters.adsby",!1)})),ke=ne.ab.includes(parseInt(v)),_e=ne.eb.includes(parseInt(v)),Ie="verified"===O&&ke&&we,Te=Ie&&parseInt(v)>=2e3&&parseInt(v)<3e3,qe=Object(L.e)(te.c.selectedFiltersSelector),Me=Object(L.e)(oe.categoriesSelector),Ue=Object(L.e)(oe.filterOptionsSelector),Ve=Object(C.useMemo)((function(){return je&&!ge?y:x}),[je,y,x,ge]),He="",Re=null===Me||void 0===Me?void 0:Me.find((function(e){var t,n=null===e||void 0===e||null===(t=e.subcategory)||void 0===t?void 0:t.find((function(e){return e.id.toString()===v}));return He=null!==n&&void 0!==n&&n.id?"".concat(null===n||void 0===n?void 0:n.id," | ").concat(Object(re.c)(null===n||void 0===n?void 0:n.name)):"0 | all_categories",!!n})),We=Object(oe.getItemCategory3Value)(Ue,qe),Ye=Re?"".concat(Re.id," | ").concat(Re.slug):"none",Je=R,Xe="undefined"!==typeof(null===E||void 0===E?void 0:E.position)?E.position:0,Ke=qe.o||1,Qe=Object(L.e)((function(e){var t;return null===(t=e.adListing.meta)||void 0===t?void 0:t.search_type}))||"none",Ze="object"===typeof(null===E||void 0===E?void 0:E.qry)&&null!==(null===E||void 0===E?void 0:E.qry)&&Array.isArray(E.qry.q)&&E.qry.q.length>0?E.qry.q[0]:"none",$e=(null===(a=Ue.brand)||void 0===a||null===(o=a.values.find((function(e){return e.id===(null===qe||void 0===qe?void 0:qe.phone_brand_id)})))||void 0===o?void 0:o.name)||"",et=(null===(c=Ue.phone_storage)||void 0===c||null===(r=c.values.find((function(e){return e.id===(null===qe||void 0===qe?void 0:qe.phone_storage_id)})))||void 0===r?void 0:r.name)||"",tt=$e?"".concat(null===qe||void 0===qe?void 0:qe.phone_brand_id," | ").concat(Object(re.c)($e)):"none",nt=et?"".concat(null===qe||void 0===qe?void 0:qe.phone_storage_id," | ").concat(Object(re.c)(et)):"none";return Object(G.b)(F.a.Fragment,null,Object(G.b)(De,{"data-testid":"listing-ad-item-".concat(l),onClick:function(){return Object(re.h)((function(){Object(ce.e)({adId:d,listId:q,interactionType:"adlist",mainCategoryAd:Ye,itemCategory:He,itemCategory2:Je,itemCategory3:We,position:Xe,pageNumber:Ke,searchType:Qe,searchTerm:Ze,electronicsBrand:tt,electronicsStorage:nt})}))},_css:{gap:"0.625rem",display:"flex",padding:k?"6px":"13.5px 0 15.5px",backgroundColor:k?"#FFFCC9":"transparent",borderBottom:k?void 0:"1px solid #EDEDED",border:k?"1px solid #F7983A":void 0}},Object(G.b)(Ee,null,Object(G.b)(Ce,null,Object(G.b)(Fe,{href:Z,title:u,_css2:{display:"flex",height:"100%",width:"100%",overflow:"hidden",justifyContent:"center",alignItems:"center",backgroundColor:"#F1F1F1"}},Object(G.b)("img",{src:ye,className:me.image,"data-testid":"cover-image",alt:u,loading:"lazy"}),h&&Object(G.b)(Ne,{src:n("DWuO"),width:"48",height:"48","data-testid":"has-video",alt:"Video Ad",_css3:{position:"absolute"}})),Object(G.b)(J.a,{listId:e.id,adId:e.attributes.adId},(function(t){var n=t.isAdFavourited,i=t.onClick;return Object(G.b)(pe,{"data-action":n?"remove_from_favorite":"add_to_favorite","data-label":"".concat(l," | ").concat(u),"data-testid":"fav-button-".concat(l),onClick:function(t){t.stopPropagation(),i(t),Object(ae.f)({event:"adlist_section",item_id:"a_".concat(e.attributes.adId),interaction_type:n?"unfav_ad":"fav_ad",main_category:null!==Re&&void 0!==Re&&Re.id?"".concat(null===Re||void 0===Re?void 0:Re.id," | ").concat(Object(re.c)(null===Re||void 0===Re?void 0:Re.name)):"0 | all_categories",item_category:He,item_category2:R||"none",item_category3:We,price:"".concat(e.attributes.price),region:X?"".concat(X," | ").concat(x):"0 | entire_malaysia",subarea:Q?"".concat(Q," | ").concat(Object(re.c)(y)):"none",item_seller_type:void 0===qe.adsby?"all":"true"===qe.adsby?"company":"private",page_type:"adlist",description:"".concat(n?"Unfavorite":"Favorite"," Ad on adlist")})},className:me.favoriteButton},Object(G.b)(Y.a,{stroke:"#C80018",fill:n?"#C80018":"white"}))})),g>1&&Object(G.b)(Se,{"data-testid":"media-count"},Object(G.b)(W.a,{number:g,showYellowIcon:j}))),k&&(_||[]).length>0&&Object(G.b)(Ae,null,_.slice(0,3).map((function(e){return Object(G.b)(ze,{key:e},Object(G.b)("img",{loading:"lazy",src:M.ListingImgSrcURL+e,className:me.imageHighlight,alt:u}))})))),Object(G.b)("div",{className:"flex flex-col flex-1 gap-2 ".concat(k?""
1:"self-center")},Object(G.b)("div",{className:"flex flex-col"},Object(G.b)(Le,{href:Z,title:xe,_css4:{wordBreak:"break-word",textOverflow:"ellipsis",textDecoration:"none",fontSize:"14px",lineHeight:"21px",color:"#24252C",fontWeight:600,"&:hover,&:focus":{textDecoration:"underline"}}},Object(G.b)("h2",null,xe)),Object(G.b)("div",{className:"flex items-center flex-wrap"},I&&S&&Object(G.b)("span",{className:"whitespace-nowrap line-through text-sm font-semibold text-[#777777] mr-1"},"RM "+Object(V.a)(I)),Object(G.b)("div",{className:"text-sm text-[#E21E30] font-bold"},D," ",N||""))),Object(G.b)(ie.b,{adBadges:null===U||void 0===U?void 0:U.data}),he&&Object(G.b)(Pe,null,P.replace(/(<([^>]+)>)/gi,"")),Object(G.b)("div",{className:"gap-2 grid grid-cols-2 mt-2"},ve.map((function(e,t){var i=e.icon,a=e.key,o=e.label,c=e.title,r="manufacturedYear"===a&&_e&&f;return Object(G.b)(C.Fragment,{key:"listitem-".concat(q,"-").concat(t)},Object(G.b)("div",{className:"flex items-center gap-1",title:r?void 0:c},r?Object(G.b)(le.a,{label:o,highlight:"#DDEFFD",tooltip:"Manufacturing Year verified based on information submitted by the seller"}):Object(G.b)(F.a.Fragment,null,Object(G.b)("img",{className:me.icon,src:n("30Fu")("./".concat(i,".svg")),alt:"".concat(o)}),Object(G.b)("div",{className:"flex items-center text-[11px] text-black font-normal"},o))))}))),Te&&Object(G.b)(Be,null,Object(G.b)(A.Icon,{path:z.h,color:"#00a0e4",size:.7}),Object(G.b)(Ge,null,"Agent ID Checked")),w&&Object(G.b)(ee,{width:"52px",ml:"0",mt:Ie?"11px":"6px"})),Object(G.b)(Oe,{categoryId:v,companyName:T,pt:k?"13px":void 0,date:p,regionName:Ve,companyAd:m,isVerified:Ie})),ue&&Object(G.b)(de,{title:"Unable to save this information",message:ue,closeBtnText:"OK",defaultOpen:!0}))},Object(D.b)("div")(i||(i=Object(E.a)(["\n display: flex;\n flex: none;\n flex-direction: column;\n justify-content: space-between;\n max-height: 110px;\n "])))),je=Object(D.b)("div")(a||(a=Object(E.a)(["\n display: flex;\n flex-direction: column;\n font-family: Open Sans;\n font-size: 12px;\n line-height: 17px;\n color: #24252c;\n "]))),ge=Object(D.b)("span")(o||(o=Object(E.a)(["\n margin-bottom: 12px;\n display: inline-flex;\n align-items: center;\n "]))),he=Object(D.b)("span")(c||(c=Object(E.a)(["\n margin-left: 9px;\n width: 89px;\n "]))),ve=Object(D.b)("span")(r||(r=Object(E.a)(["\n display: inline-flex;\n align-items: center;\n "]))),me=Object(D.b)("span")(l||(l=Object(E.a)(["\n margin-left: 9px;\n width: 89px;\n "]))),xe=Object(D.b)("div")(b||(b=Object(E.a)(["\n display: flex;\n justify-content: flex-end;\n align-items: flex-end;\n "]))),ye=Object(D.b)("span")(d||(d=Object(E.a)(["\n line-height: 0;\n margin-right: 2px;\n "]))),we=Object(D.b)("div")(s||(s=Object(E.a)(["\n flex: none;\n component: span;\n width: 18px;\n height: 18px;\n overflow: hidden;\n border-radius: 50%;\n background-color: #b4b4b4;\n display: flex;\n align-items: center;\n justify-content: center;\n "]))),ke=Object(D.b)("div")(u||(u=Object(E.a)(["\n display: flex;\n align-items: center;\n justify-content: center;\n "]))),_e=Object(D.b)("div")(p||(p=Object(E.a)(["\n display: flex;\n align-items: center;\n justify-content: center;\n "]))),Ie=Object(D.b)("span")(O||(O=Object(E.a)(["\n margin-left: 9px;\n width: 89px;\n overflow: hidden;\n wordbreak: break-word;\n display: -webkit-box;\n textoverflow: ellipsis;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n max-height: 38px;\n "]))),De=Object(D.b)("div")(f||(f=Object(E.a)(["",""])),(function(e){return e._css})),Ee=Object(D.b)("div")(j||(j=Object(E.a)(["\n display: inline-flex;\n flex-direction: column;\n line-height: 1;\n "]))),Ce=Object(D.b)("div")(g||(g=Object(E.a)(["\n width: 145px;\n height: 110px;\n display: inline-flex;\n position: relative;\n background-color: #f1f1f1;\n justify-content: center;\n\n overflow: hidden;\n border: 1px solid #e1e1e1;\n "]))),Fe=Object(D.b)("a")(h||(h=Object(E.a)(["",""])),(function(e){return e._css2})),Ne=Object(D.b)("img")(v||(v=Object(E.a)(["",""])),(function(e){return e._css3})),Se=Object(D.b)("div")(m||(m=Object(E.a)(["\n position: absolute;\n right: 0;\n bottom: 0;\n "]))),Ae=Object(D.b)("div")(x||(x=Object(E.a)(["\n margin: 5px
1-2.5px;\n display: flex;\n "]))),ze=Object(D.b)("div")(y||(y=Object(E.a)(["\n width: 50px;\n height: 36px;\n overflow: hidden;\n display: inline-flex;\n padding-left: 2.5px;\n padding-right: 2.5px;\n "]))),Le=Object(D.b)("a")(w||(w=Object(E.a)(["",""])),(function(e){return e._css4})),Pe=Object(D.b)("div")(k||(k=Object(E.a)(["\n overflow: hidden;\n word-break: break-word;\n display: -webkit-box;\n text-overflow: ellipsis;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n font-size: 12px;\n max-height: 34px;\n margin-bottom: 9px;\n "]))),Be=Object(D.b)("div")(_||(_=Object(E.a)(["\n display: flex;\n align-items: center;\n "]))),Ge=Object(D.b)("span")(I||(I=Object(E.a)(["\n font-size: 11px;\n margin-left: 4px;\n display: inline-block;\n "])))},p5tP:function(e,t,n){"use strict";var i=n("Fcif"),a=n("dV/x"),o=n("mXGw"),c=n.n(o),r=n("wGBp"),l=n("gbh0"),b=["title","children"],d=c.a.createElement,s=Object(l.a)((function(){return{tooltip:{backgroundColor:"white",color:"black",border:"1px solid #EDEDED",padding:"4px",maxWidth:"none"},arrow:{color:"#EDEDED"},tooltipArrow:{backgroundColor:"white",border:"1px solid #EDEDED"}}}))(r.a);t.a=function(e){var t=e.title,n=e.children,o=Object(a.a)(e,b);return d(s,Object(i.a)({title:t},o),n)}},q8zc:function(e,t,n){"use strict";n.r(t);var i,a,o,c,r,l,b,d,s,u,p,O,f,j,g,h,v=n("Fcif"),m=n("UutA"),x=n("6CzD"),y=n("UO5U"),w=n("eijD"),k=n("aNYv"),_=n("mK0O"),I=n("mXGw"),D=n.n(I),E=n("/m4v"),C=n("mReo"),F=n.n(C),N=n("G/4s"),S=n("2W1i"),A=n.n(S),z=n("aD51"),L=n("7MHE"),P=D.a.createElement,B=F()((function(){return Promise.resolve().then(n.bind(null,"hzow"))}),{loadableGenerated:{webpack:function(){return["hzow"]},modules:["./ListingAdItem"]}}),G=function(e){return P(B,e)},T=(n("hzow"),n("9dpD")),q=n("ECar"),M=(D.a.createElement,function(){return Object(z.b)(U,null,Object(z.b)(V,null,Object(z.b)(H,null,Object(z.b)(R,null,Object(z.b)(T.a,{variant:"rect",width:"100%",height:"80%"})),Object(z.b)(W,null,Object(z.b)(Y,null,Object(z.b)(J,{variant:"rect",width:"100%",height:"16px"}),Object(z.b)(T.a,{variant:"rect",width:"25%",height:"12px"})),Object(z.b)(X,null,Object(z.b)(K,null,Object(z.b)(Q,null,Object(z.b)(T.a,{variant:"rect",width:"80%",height:"16px"})),Object(z.b)(Z,null,Object(z.b)(T.a,{variant:"rect",width:"80%",height:"16px"})),Object(z.b)($,null,Object(z.b)(T.a,{variant:"rect",width:"80%",height:"16px"})),Object(z.b)(ee,null,Object(z.b)(T.a,{variant:"rect",width:"80%",height:"16px"})))))),Object(z.b)(te,null,Object(z.b)(ne,null,Object(z.b)(ie,{variant:"rect",width:"70%",height:"16px"}),Object(z.b)(T.a,{variant:"rect",width:"50%",height:"16px"})),Object(z.b)(ae,null,Object(z.b)(T.a,{variant:"rect",width:"16px",height:"16px"})))))}),U=Object(m.b)("div")(i||(i=Object(y.a)(["\n height: ",";\n width: 100%;\n "])),q.a),V=Object(m.b)("div")(a||(a=Object(y.a)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n "]))),H=Object(m.b)("div")(o||(o=Object(y.a)(["\n display: flex;\n width: 70%;\n "]))),R=Object(m.b)("div")(c||(c=Object(y.a)(["\n height: 100%;\n width: 20%;\n margin-right: 8px;\n "]))),W=Object(m.b)("div")(r||(r=Object(y.a)(["\n height: 100%;\n width: 80%;\n display: flex;\n flex-direction: column;\n "]))),Y=Object(m.b)("div")(l||(l=Object(y.a)(["\n display: flex;\n flex-direction: column;\n height: 50%;\n margin-bottom: 8px;\n "]))),J=Object(m.b)(T.a)(b||(b=Object(y.a)(["\n margin-bottom: 8px;\n "]))),X=Object(m.b)("div")(d||(d=Object(y.a)(["\n width: 50%;\n "]))),K=Object(m.b)("div")(s||(s=Object(y.a)(["\n display: flex;\n flex-wrap: wrap;\n "]))),Q=Object(m.b)("div")(u||(u=Object(y.a)(["\n width: 50%;\n margin-bottom: 8px;\n "]))),Z=Object(m.b)("div")(p||(p=Object(y.a)(["\n width: 50%;\n margin-bottom: 8px;\n "]))),$=Object(m.b)("div")(O||(O=Object(y.a)(["\n width: 50%;\n "]))),ee=Object(m.b)("div")(f||(f=Object(y.a)(["\n width: 50%;\n "]))),te=Object(m.b)("div")(j||(j=Object(y.a)(["\n display: flex;\n flex-direction: column;\n width: 20%;\n "]))),ne=Object(m.b)("div")(g||(g=Object(y.a)(["\n width: 100%;\n height: 6.4px;\n & > *: {\n margin-bottom: 8px;\n }\n "]))),ie=Object(m.b)(T.a)(h||(h=Object(y.a)(["\n margin-bottom: 8px;\n "]))),ae=Object(m.b)("div").withConfig({displayName:"Skeleton___StyledDiv13",componentId:"sc-1952csq-0"})(["display:flex;justify-content:flex-end;height:1.6px;& > *:{margin-bottom:8px;}"]),oe=D.a.createElement,ce=D.a.forwardRef((function(e,t){return oe(G,Object(v.a)({},e,{forwardedRef:t}))}));ce.displayName="ListingAdItemForwardedRef";var re,le,be,de,se,ue,pe,Oe=ce,fe=n("GBm4"),je=n("dpgQ"),ge=n("mFv7"),he=n("rOcY"),ve=n("0XlX"),me=n("Vt2/"),xe=n.n(me),ye=n("8MhW"),we=n("NU6J");D.a.createElement;function ke(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(n,i,a,o){var l=i&&i.prototype instanceof r?i:r,b=Object.create(l.prototype);return _e(b,"_invoke",function(n,i,a){var o,r,l,b=0,d=a||[],s=!1,u={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,r=0,l=e,u.n=n,c}};function p(n,i){for(r=n,l=i,t=0;!s&&b&&!a&&t<d.length;t++){var a,o=d[t],p=u.p,O=o[2];n>3?(a=O===i)&&(l=o[(r=o[4])?5:(r=3,3)],o[4]=o[5]=e):o[0]<=p&&((a=n<2&&p<o[1])?(r=0,u.v=i,u.n=o[1]):p<O&&(a=n<3||o[0]>i||i>O)&&(o[4]=n,o[5]=i,u.n=O,r=0))}if(a||n>1)return c;throw s=!0,i}return function(a,d,O){if(b>1)throw TypeError("Generator is already running");
1for(s&&1===d&&p(d,O),r=d,l=O;(t=r<2?e:l)||!s;){o||(r?r<3?(r>1&&(u.n=-1),p(r,l)):u.n=l:u.v=l);try{if(b=2,o){if(r||(a="next"),t=o[a]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,r<2&&(r=0)}else 1===r&&(t=o.return)&&t.call(o),r<2&&(l=TypeError("The iterator does not provide a '"+a+"' method"),r=1);o=e}else if((t=(s=u.n<0)?l:n.call(i,u))!==c)break}catch(t){o=e,r=1,l=t}finally{b=1}}return{value:t,done:s}}}(n,a,o),!0),b}var c={};function r(){}function l(){}function b(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(_e(t={},i,(function(){return this})),t),s=b.prototype=r.prototype=Object.create(d);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,_e(e,a,"GeneratorFunction")),e.prototype=Object.create(s),e}return l.prototype=b,_e(s,"constructor",b),_e(b,"constructor",l),l.displayName="GeneratorFunction",_e(b,a,"GeneratorFunction"),_e(s),_e(s,a,"Generator"),_e(s,i,(function(){return this})),_e(s,"toString",(function(){return"[object Generator]"})),(ke=function(){return{w:o,m:u}})()}function _e(e,t,n,i){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(_e=function(e,t,n,i){function o(t,n){_e(e,t,(function(e){return this._invoke(t,n,e)}))}t?a?a(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(o("next",0),o("throw",1),o("return",2))})(e,t,n,i)}function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(n),!0).forEach((function(t){Object(_.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=F()((function(){return n.e(99).then(n.bind(null,"qKMc"))}),{loadableGenerated:{webpack:function(){return["qKMc"]},modules:["@dlist/FeaturedAds"]}}),Ce=F()((function(){return n.e(42).then(n.bind(null,"1Be2"))}),{loadableGenerated:{webpack:function(){return["1Be2"]},modules:["@dshared/NearbyApartments"]}}),Fe=function(e){return Object(ye.a)(De({fileName:"Survey"},e))},Ne="MOBILE"===((null===(re=xe()())||void 0===re||null===(le=re.publicRuntimeConfig)||void 0===le?void 0:le.platform)||"MOBILE"),Se=(t.default=function(e){var t=e.loading,n=e.showAfs,i=e.featuredAdsListing,a=Object(ve.b)(he.searchSurveyID),o=Object(k.a)(a,4),c=(o[0],o[1]),r=o[2],l=o[3],b=Object(E.e)(L.b.adDetailsAllIDSelector),d=Object(E.e)(L.b.adDetailsSelector),s=0,u=b,p=b.length>12;b.length>15&&(u=N.a(15,"featured",u)),p&&(u=N.a(5,"dfp",u),u=N.a(30,"dfp",u));var O=Object(E.e)((function(e){return e.filter.selectedFilters})),f=+O.category===q.e&&["sell","let"].includes(O.type)&&!!O.region,j=Object(I.useState)([]),g=j[0],h=j[1],m=Object(I.useState)([]),y=m[0],_=m[1],C=Object(I.useState)([]),F=C[0],S=C[1],P=b.length<20?3:6;return Object(I.useEffect)((function(){Object(w.a)(ke().m((function e(){var t;return ke().w((function(e){for(;;)switch(e.n){case 0:if(["sell","let"].includes(null===O||void 0===O?void 0:O.type)){e.n=1;break}return e.a(2);case 1:if("2020"===O.category){e.n=2;break}return e.a(2);case 2:return e.n=3,Object(we.a)(P,null===O||void 0===O?void 0:O.region,null===O||void 0===O?void 0:O.subarea,"sell"===(null===O||void 0===O?void 0:O.type)?"s":"let"===(null===O||void 0===O?void 0:O.type)?"u":"",null===O||void 0===O?void 0:O.q);case 3:t=e.v,h(t);case 4:return e.a(2)}}),e)})))()}),[P,O]),Object(I.useEffect)((function(){6===P?(_(null===g||void 0===g?void 0:g.slice(0,3)),S(null===g||void 0===g?void 0:g.slice(3))):(_([]),S(g))}),[g,P]),Object(I.useEffect)((function(){var e=O.o;A.a.remove("automall_landing_filters",{path:"/"}),"undefined"===typeof e?A.a.set("filters",JSON.stringify(De(De({},O),{},{o:1}))):A.a.set("filters",JSON.stringify(O))}),[O]),t?Object(z.b)(D.a.Fragment,null,Object(z.b)(Se,null,Object(x.a)(Array(3).keys()).map((function(e){return Object(z.b)(Ae,{key:"featured-skeleton-".concat(e),"data-testid":"featured-skeleton"},Object(z.b)(fe.a,null))}))),Object(x.a)(Array(3).keys()).map((function(e){return Object(z.b)(ze,{key:"skeleton-".concat(e),"data-testid":"skeleton"},Object(z.b)(M,null))}))):Object(z.b)(D.a.Fragment,null,Object(z.b)(Ee,{page:1,featuredAdsListing:i}),u.map((function(e,a){var o=[];return"dfp"===e&&(5===a?o.push(Object(z.b)(Le,{key:"ListingAds-".concat(e,"-").concat(a)},n?Object(z.b)(ge.a,{adTag:!0,container:"listingmidtop"}):Object(z.b)(je.default,{position:"midbanner_top"}))):(!n||n&&a+1<u.length)&&o.push(Object(z.b)(Pe,{key:"ListingAds-".concat(e,"-").concat(a)},Object(z.b)(je.default,{position:"midbanner_bottom"})))),"featured"===e&&o.push(Object(z.b)(Ee,{key:"featured-ad-".concat(e),page:2,featuredAdsListing:i})),"featured"!==e&&"dfp"!==e&&(s+=1,o.push(Object(z.b)(Oe,Object(v.a)({key:"ListingAds-".concat(e,"-").concat(a),id:e},d[e],{loading:t})))),10==s&&f&&o.push(Object(z.b)(Ce,{items:y,type:null===O||void 0===O?void 0:O.type,page:"list",title:"Nearby Apartments"})),20==s&&c(u.length||0)&&o.push(Object(z.b)(Fe,{env:he.GlobalENV,isMobile:Ne,isLogin:l,surveyID:he.searchSurveyID,postSurveyCTA:r})),u.length<21&&u.length==a+1&&c(u.length||0)&&o.push(Object(z.b)(Fe,{env:he.GlobalENV,isMobile:Ne,isLogin:l,surveyID:he.searchSurveyID,postSurveyCTA:r})),n&&u.length===a+1&&o.push(Object(z.b)(ge.a,{adTag:!0,container:"listingmidbottom",cssProp:{marginTop:"10px"}})),o})),f&&Object(z.b)(Ce,{items:F,type:null===O||void 0===O?void 0:O.type,page:"list",title:"Nearby Apartments"}))},Object(m.b)("div")(be||(be=Object(y.a)(["\n display: flex;\n flex-direction: row;\n margin: 9px -5.5px;\n "])))),Ae=Object(m.b)("div")(de||(de=Object(y.a)(["\n width: calc(100% / ",");\n "])),3),ze=Object(m.b)("div")(se||(se=Object(y.a)(["\n display: flex;\n margin-top: 8px;\n margin-bottom: 8px;\n height: 120px;\n "]))),Le=Object(m.b)("div")(ue||(ue=Object(y.a)(["\n border-bottom: 1px solid #ededed;\n padding-top: 13.5px;\n padding-bottom: 15.5px;\n "]))),Pe=Object(m.b)("div")(pe||(pe=Object(y.a)(["\n border-bottom: 1px solid #ededed;\n padding-top: 13.5px;\n padding-bottom: 15.5px;\n "])))}}]);
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.