"use strict"; !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="62c45e83-d02b-578b-b3f8-22efb2abfb5c")}catch(e){}}(); (self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[480,452,62],{1961:(e,t,s)=>{s.d(t,{Z:()=>r});var i=s(2),n=(s(0),s(1));const r=(0,i.ZP)({resolved:{},chunkName:()=>"dead-end-404-listing",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(741),s.e(349)]).then(s.bind(s,1651)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1651},{fallback:(0,n.jsx)("div",{})})},781:(e,t,s)=>{s.d(t,{Z:()=>r});var i=s(2),n=(s(0),s(1));const r=(0,i.ZP)({resolved:{},chunkName:()=>"dead-end-error",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.resolve().then(s.bind(s,410)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>410},{fallback:(0,n.jsx)("div",{})})},1356:(e,t,s)=>{s.d(t,{Z:()=>r}),s(0);var i=s(99),n=s(1);const r=function(e){const{className:t="",color:s,size:r=24}=e,o=(0,i._x)(),l=s??o.skyTeal80;return(0,n.jsx)("svg",{className:`${t} D_aRx`,fill:l,fillRule:"nonzero",height:r,viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M4.414 13l5.293 5.293a1 1 0 1 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 1.414L4.414 11H22a1 1 0 0 1 0 2H4.414z",id:"iconForward"})})}},1033:(e,t,s)=>{s.d(t,{Z:()=>r}),s(0);var i=s(1);const n="M20.364 4.851l.445-3.285a1 1 0 111.982.269l-.8 5.9a1 1 0 01-1.123.857l-6-.8a1 1 0 01.264-1.983l3.852.514C17.339 4.257 14.792 3 12 3c-4.948 0-9 4.053-9 9 0 4.948 4.052 9 9 9s9-4.052 9-9a1 1 0 112 0c0 6.053-4.948 11-11 11S1 18.053 1 12C1 5.948 5.948 1 12 1c3.307 0 6.341 1.45 8.364 3.851z";function r({color:e,size:t,className:s}){return(0,i.jsx)("svg",{className:s,fill:"none",height:t||16,viewBox:"0 0 24 24",width:t||16,xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:n,fill:e})})}},1215:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(0),n=s(2428),r=s(1);class o extends i.Component{constructor(e){super(e),this.onIntersectionObserve=(e,t)=>{if(!t.isIntersecting)return;const{loader:s}=this.props;s().then((e=>{this.setState({LoadedComponent:e.default})}))},this.state={LoadedComponent:null,actualRoot:null}}componentDidMount(){const{root:e}=this.props;this.setState({actualRoot:"string"==typeof e?document.querySelector(e):e})}render(){const{className:e,rootMargin:t,threshold:s,placeholder:i,...o}=this.props,{LoadedComponent:l}=this.state,a=l?(0,r.jsx)(l,{...o}):i??(0,r.jsx)("div",{});return(0,r.jsx)(n.df,{className:e,root:this.state.actualRoot,rootMargin:t,threshold:s,onChange:this.onIntersectionObserve,triggerOnce:!0,children:a})}}const l=o},1132:(e,t,s)=>{s.d(t,{Z:()=>r});var i=s(2),n=(s(0),s(1));const r=(0,i.ZP)({resolved:{},chunkName:()=>"listing-action-confirm-modal-desktop",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(1),s.e(30),s.e(821),s.e(450)]).then(s.bind(s,1096)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1096},{fallback:(0,n.jsx)("div",{})})},1207:(e,t,s)=>{s.r(t),s.d(t,{default:()=>ne}),s(0);var i=s(10),n=s(16),r=s(728),o=s(40),l=s(405),a=s(72),c=s(21),d=s(18),u=s(1);const p=e=>{const{items:t,className:s}=e,n=(0,i.v9)(c.l$);if(!t)return null;const p=e=>e.title?(0,u.jsxs)("div",{className:"D_azo",children:[e.value_proposition_icon_url?(0,u.jsx)(l.Z,{alt:e.title??n((0,d.ZP)("Value proposition icon")),cssHeight:o.spacing16,cssWidth:o.spacing16,src:e.value_proposition_icon_url}):null,(0,u.jsx)(a.Z,{size:"s",weight:"semibold",children:e.title})]}):null,h=e=>e.icon_array?(0,u.jsx)("div",{className:"D_azp",children:e.icon_array.map(((e,t)=>{const s=e.base_cdn_url?e.base_cdn_url:"https://sl3-cdn.karousell.com/components/";return(0,u.jsx)(l.Z,{alt:n((0,d.ZP)("Credit card")),cssHeight:"auto",cssWidth:o.spacing40,src:`${s}${e.web}`},t)}))}):null,m=e=>e.description?(0,u.jsxs)("div",{children:[(0,u.jsx)(a.Z,{className:"D_azq",inline:!0,size:"s",children:e.description}),e.learn_more_url_text&&e.learn_more_url?(0,u.jsx)(r.Z,{classNameText:"D_azr",size:"s",target:"_blank",to:e.learn_more_url,type:"textInline",children:e.learn_more_url_text}):null]}):null;return(0,u.jsx)("div",{className:s,children:t.map(((e,t)=>(0,u.jsxs)("div",{className:"D_azn",children:[p(e),h(e),m(e)]},t)))})};function h({me:e,listing:t}){return Boolean(e?.id&&t?.seller?.id===e.id)}function m(e){return Boolean(e&&"NOT_APPLICABLE"!==e.renewType)}function g(e){return Boolean(e&&"OFF"!==e.autoRenewalStatus)}var _=s(1025);const v=s(1333).Z;var f=s(1337);function y({actions:e,listing:t,autoRenewDiscoveryData:s,setConfirmationModalType:i,me:n}){return t&&e?h({listing:t,me:n})?(0,u.jsx)(v,{actions:e,autoRenewDiscoveryData:s,listing:t,setConfirmationModalType:i}):(0,u.jsx)(_.default,{actions:e,listing:t,me:n,phoneNumbersComponent:e.show_number_button?(0,u.jsx)(f.Z,{actions:e,listing:t}):void 0,type:"button"}):null}var x=s(99),T=s(909),E=s(1033),I=s(756),j=s(415),N="D_azs";function D({listing:e,me:t,autoRenewDiscoveryData:s}){const n=(0,x._x)(),r=function({listing:e,me:t,autoRenewDiscoveryData:s}){return h({listing:e,me:t})?e&&(0,j.Zt)(e.status)?"info":m(s)?s&&!s.expiredAt?"info":g(s)?"success":"warning":null:null}({autoRenewDiscoveryData:s,listing:e,me:t}),o=function({listing:e,me:t,autoRenewDiscoveryData:s}){const n=(0,i.v9)(c.l$),r=(0,i.v9)(c.MU);if(!h({listing:e,me:t}))return null;const o=s?.expiredAt?.seconds?r(new Date(1e3*s.expiredAt.seconds),"EEE MMM dd yyyy"):"...";return e&&(0,j.Zt)(e.status)?n((0,d.ZP)("This listing is inactive")):m(s)?s&&!s.expiredAt?n((0,d.ZP)("No expiry date")):g(s)?n((0,d.ZP)("Next renewal on %{listingExpiresAt}"),{listingExpiresAt:o}):n((0,d.ZP)("Expires on %{listingExpiresAt}"),{listingExpiresAt:o}):""}({autoRenewDiscoveryData:s,listing:e,me:t}),l=function({listing:e,me:t,autoRenewDiscoveryData:s,deprecatedTheme:i}){return h({listing:e,me:t})?e&&(0,j.Zt)(e.status)?null:m(s)?s&&!s.expiredAt?null:g(s)?(0,u.jsx)(E.Z,{color:i.skyTeal60,size:24}):(0,u.jsx)(T.Z,{color:i.orchidPurple50,size:24}):null:null}({autoRenewDiscoveryData:s,deprecatedTheme:n,listing:e,me:t});return r?(0,u.jsx)(I.Z,{className:N,customIcon:l,type:r,children:(0,u.jsx)(a.Z,{children:o})}):null}var P=s(9),Z=s.n(P),b=s(801),S=s(407),C=s(724),A=s(1131),w=s(397),k=s(404),R=s(723),O=s(17),L=s(882),M=s(824),z="D_ayQ",U="D_ayO",F="D_ayJ",G="D_ayH",$="D_ayI",H="D_ayK",B="D_ayP",W="D_ayL",q="D_ayM",K="D_ayN",V="D_ayF",Y="D_ayG",X="D_ayE";function J({listing:e}){const t=(0,i.v9)((t=>e?(0,L.TI)(t,{userId:`${e.seller.id}`}):null)),s=(0,R.c)("bf-11280-ldp-refactor","treatment_c"),r=(0,i.v9)(n.XM);if(!e||!e.seller)return null;const o=function({enabledChatExperiment:e,listing:t,me:s}){return(!t?.seller.id||-1===[24543898,42222233,2036345,3711613,253831,384360,35149100,845131,4944539,29626818,269081,6064896,956903,228012,32689412,322468,19725246,31229394,38279027,256108,37305895,5058396,17736479,848703,1113396,33374281,4184885,142618,466991,9710531,1555534,23297085,6491,34569079,22869,17923569,27020549,10960829,32957755,7297525,22227748,20962676,19643371,35916664,7449655,23736,11305911,43611474,5532341,19776626,29954259,1961334,5417573,4519892,18132706].indexOf(t.seller.id))&&!h({listing:t,me:s})&&e&&("true"===t?.smart_attributes?.is_bp_enabled??!1)}({enabledChatExperiment:s,listing:e,me:r});return(0,u.jsxs)("div",{className:Z()(G,{[$]:o}),"data-testid":C.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_DIV_SELLER_CONTACT_HEADER,children:[(0,u.jsx)(S.Z,{to:(0,O.J$)(e.seller.username),children:(0,u.jsx)(b.Z,{className:F,size:"XS",url:e.seller.profile.image_url})}),(0,u.jsxs)("div",{className:H,children:[(0,u.jsx)("div",{children:(0,u.jsxs)(S.Z,{className:Z()(W,{[B]:o}),to:(0,O.J$)(e.seller.username),children:[e.seller.first_name&&(0,u.jsxs)(a.Z,{className:q,inline:!0,weight:"semibold",children:[e.seller.first_name," ",e.seller.last_name]}),(0,u.jsxs)(a.Z,{className:K,inline:!0,children:["@",e.seller.username]})]})}),t?.feedbackCount?(0,u.jsxs)(a.Z,{className:X,inline:!0,size:"xs",children:[t.score.toFixed(1),(0,u.jsx)(M.ZP,{className:V,score:t.score,size:"s"}),(0,u.jsx)("span",{className:Y,children:(0,u.jsx)(w.Z,{id:(0,d.ZP)("(%{smart_count} review) |||| (%{smart_count} reviews)"),options:{smart_count:t.feedbackCount}})})]}):(0,u.jsx)(a.Z,{size:"s",children:(0,u.jsx)(w.Z,{id:(0,d.ZP)("No ratings yet")})}),(0,u.jsx)("div",{className:U})]}),o?(0,u.jsx)(_.default,{actionType:"view_offer",iconClassName:z,iconType:k.T.chat,listing:e,me:r,trackingData:{context:A.v.CTA_SIDE_PANEL},type:"icon_button"}):null]})}function Q({override:e}){const t=(0,i.v9)(c.l$),{username:s,userAvatar:n,sellerInfo:r}=e;return(0,u.jsxs)("div",{className:G,"data-testid":C.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_DIV_SELLER_CONTACT_HEADER,children:[n?(0,u.jsx)(l.Z,{alt:t((0,d.ZP)("Avatar")),className:F,cssHeight:"40px",cssWidth:"40px",src:n}):null,(0,u.jsx)("div",{className:H,children:s?(0,u.jsx)(a.Z,{className:K,inline:!0,weight:"semibold",children:s}):null}),r?(0,u.jsx)("div",{className:H,children:(0,u.jsx)(S.Z,{className:W,to:r.sellerLink,children:(0,u.jsx)(a.Z,{className:K,inline:!0,size:"s",children:r.description})})}):null,(0,u.jsx)("div",{className:U})]})}var ee=s(1132),te=s(1133),se=s(1075),ie="D_Xu";function ne({listing:e,actions:t,confirmationModalType:s,setConfirmationModalType:r,sellerSummaryOverride:o}){const l=(0,i.v9)(n.XM),a=e?.id.toString()??"-1",c=(0,i.v9)((e=>a?(0,se.KC)(e,parseInt(a,10)):null));return e?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:ie,"data-testid":C.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_DIV_SELLER_CONTACT_BOX,children:[o?(0,u.jsx)(Q,{override:o}):(0,u.jsx)(J,{listing:e}),(0,u.jsx)(y,{actions:t,autoRenewDiscoveryData:c,listing:e,me:l,setConfirmationModalType:r}),(0,u.jsx)(D,{autoRenewDiscoveryData:c,listing:e,me:l}),(0,u.jsx)(p,{items:e.on_platform_transaction_value_proposition?.items})]}),(0,u.jsx)(ee.Z,{listingId:a,sellerHasAcceptedOffer:!!e.accepted_offer_id,type:s,verticalAlign:"center"}),(0,u.jsx)(te.Z,{listingId:e.id})]}):null}},1133:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(2),n=(s(0),s(402)),r=s(1);const o=(0,i.ZP)({resolved:{},chunkName:()=>"mark-as-sold-options-modal",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(21),s.e(22),s.e(838),s.e(474)]).then(s.bind(s,1097)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1097},{fallback:(0,r.jsx)("div",{})}),l=(0,n.TE)("MARK_AS_SOLD_OPTIONS",o)},2e3:(e,t,s)=>{s.d(t,{Z:()=>r});var i=s(2),n=(s(0),s(1));const r=(0,i.ZP)({resolved:{},chunkName:()=>"new-listing-details-seller-promote-pane",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(843),s.e(94),s.e(479)]).then(s.bind(s,1670)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1670},{fallback:(0,n.jsx)("div",{})})},2001:(e,t,s)=>{s.d(t,{Z:()=>r});var i=s(2),n=(s(0),s(1));const r=(0,i.ZP)({resolved:{},chunkName:()=>"related-listings-bottom-sheet-desktop",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(134),s.e(966),s.e(618)]).then(s.bind(s,1671)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1671},{fallback:(0,n.jsx)(n.Fragment,{})})},2002:(e,t,s)=>{s.d(t,{Z:()=>c});var i=s(2),n=(s(0),s(10)),r=s(1215),o=s(8),l=s(1);const a=(0,i.ZP)({resolved:{},chunkName:()=>"related-listings-desktop-ssr",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(134),s.e(158)]).then(s.bind(s,1179)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1179},{fallback:(0,l.jsx)(l.Fragment,{}),ssr:!0}),c=e=>{const t=(0,n.v9)(o.Tv),i=(0,l.jsx)(l.Fragment,{});return t?(0,l.jsx)(a,{...e}):(0,l.jsx)(r.Z,{loader:()=>Promise.all([s.e(134),s.e(158)]).then(s.bind(s,1179)),placeholder:i,...e})}},925:(e,t,s)=>{s.d(t,{$8:()=>w,Dz:()=>D,E6:()=>L,G9:()=>R,GH:()=>d,IF:()=>n,IS:()=>y,IW:()=>T,JL:()=>_,Kx:()=>l,Nj:()=>S,O4:()=>Z,PL:()=>C,Pe:()=>M,QZ:()=>A,VU:()=>p,Wp:()=>v,Wr:()=>g,XL:()=>E,a_:()=>u,ae:()=>o,bk:()=>r,cQ:()=>j,cc:()=>m,dl:()=>a,g8:()=>h,hM:()=>F,js:()=>f,kj:()=>P,oQ:()=>z,tJ:()=>N,tK:()=>U,tx:()=>c,ue:()=>I,ur:()=>k,vk:()=>x,x6:()=>O,yg:()=>b});var i=s(18);const n="source",r="journey_id",o="PRICE_REVISION",l="60",a="85",c=3,d={Available:"Available",Sold:"Sold"},u={DURATION_UNIT_DAY:"DURATION_UNIT_DAY",DURATION_UNIT_HOUR:"DURATION_UNIT_HOUR",DURATION_UNIT_UNKNOWN:"DURATION_UNIT_UNKNOWN",DURATION_UNIT_WEEK:"DURATION_UNIT_WEEK"},p={DURATION_UNIT_DAY:"d",DURATION_UNIT_HOUR:"h",DURATION_UNIT_WEEK:"w"},h={ABOVE_PRICE:"ABOVE_PRICE",BELOW_PRICE:"BELOW_PRICE",NEGATIVE_PRICE:"NEGATIVE_PRICE"},m={GREEN:"GREEN",PURPLE:"PURPLE"},g={DESCRIPTION:(0,i.ZP)("List between %{currencyCode}%{priceRangeMin} - %{currencyCode}%{priceRangeMax} to stay competitive."),TITLE:(0,i.ZP)("Your price is %{overpricedBy} higher than most. It may take time to sell.")},_={DESCRIPTION:(0,i.ZP)("To attract more buyers, add photos that show details of your item."),TITLE:(0,i.ZP)("Your price is competitive. High chances of selling fast!")},v={DESCRIPTION:(0,i.ZP)("If you want to sell faster, undercut the competition."),TITLE:(0,i.ZP)("Your price is similar to most. Good luck!")},f={ERROR:(0,i.ZP)("We couldn’t update your price. Try again."),SUCCESS:(0,i.ZP)("We updated your price to %{currencyCode}%{updatedPrice}")},y=(0,i.ZP)("The information on this page is based on dynamic data and may vary over time."),x=(0,i.ZP)("Pricing Tip"),T=(0,i.ZP)("Not enough listings that match yours"),E=(0,i.ZP)("You may see listings of different brands or conditions"),I=(0,i.ZP)("Listings with similar titles and in the same condition as yours"),j=(0,i.ZP)("Listings similar to yours"),N=(0,i.ZP)("sold in %{duration}"),D=(0,i.ZP)("listed %{duration} ago"),P=(0,i.ZP)("Sold"),Z=(0,i.ZP)("Available"),b=(0,i.ZP)("%{likesCount} likes"),S=(0,i.ZP)("Mostly %{currencyCode}%{min}-%{currencyCode}%{max}"),C=((0,i.ZP)("Dismiss"),(0,i.ZP)("Limited matches")),A=(0,i.ZP)("Update"),w=(0,i.ZP)("Edit price here"),k={ABOVE:(0,i.ZP)("Price is higher than most similar listings."),BELOW:(0,i.ZP)("Great! Price is competitive."),FOCUS:(0,i.ZP)("Update your listing price directly here."),NEGATIVE:(0,i.ZP)("Invalid price")},R={BUTTON_LABEL:(0,i.ZP)("Go back"),SUB_TITLE:(0,i.ZP)("This page is no longer available"),TITLE:(0,i.ZP)("Oops, you got us")},O={BUTTON_LABEL:(0,i.ZP)("Refresh"),SUB_TITLE:(0,i.ZP)("Our engineers are on it, give it another go"),TITLE:(0,i.ZP)("Something’s wrong on our end")},L=3e3,M=-24;var z={PAGE_TYPE_ABOVE_SUGGESTED_RANGE:"PAGE_TYPE_ABOVE_SUGGESTED_RANGE",PAGE_TYPE_BELOW_SUGGESTED_RANGE:"PAGE_TYPE_BELOW_SUGGESTED_RANGE",PAGE_TYPE_UNKNOWN:"PAGE_TYPE_UNKNOWN",PAGE_TYPE_WITHIN_SUGGESTED_RANGE:"PAGE_TYPE_WITHIN_SUGGESTED_RANGE"};const U="sub_page",F="price-revision"},756:(e,t,s)=>{s.d(t,{Z:()=>d});var i=s(9),n=s.n(i),r=(s(0),s(72)),o=s(403),l=s(404),a=s(408),c=s(1);const d=function(e){const{children:t,className:s="",onClose:i,title:d,type:u,customIcon:p}=e,h=n()(s,"D_xj",{D_xs:"error"===u,D_xt:"info"===u,D_xu:"success"===u,D_xv:"warning"===u}),{className:m,name:g}=function(e){switch(e){case"error":return{className:"D_xm",name:l.T.alert};case"info":return{className:"D_xp",name:l.T.help};case"success":return{className:"D_xo",name:l.T.check_mark_c};case"warning":return{className:"D_xn",name:l.T.alert};default:return Sentry.captureMessage("Invalid CDS Alert type"),{className:"",name:l.T.alert}}}(u),_=p||(0,c.jsx)(o.Z,{className:m,name:g,size:24});return(0,c.jsxs)("div",{className:h,children:[(0,c.jsxs)("div",{className:"D_xk",children:[(0,c.jsx)("div",{className:"D_xl",children:_}),d?(0,c.jsxs)("div",{children:[(0,c.jsx)(r.Z,{className:"D_xq",hyphensNone:!0,responsive:!0,weight:"semibold",children:d}),t]}):t]}),i&&(0,c.jsx)(a.Z,{className:"D_xr",onClick:i,children:(0,c.jsx)(o.Z,{name:l.T.close,size:24})})]})}},1991:(e,t,s)=>{function i(e,t,s){const i={name:e,type:t};return s&&(i.properties=s),{payload:{track:i},type:"Track/trackBatchedEvent"}}function n(e){return i("action_button_tapped","action",e)}function r(e){return i("cancel_order_tapped","action",e)}function o(e){return i("cancel_return_request_submitted","action",e)}function l(e){return i("claim_warranty_tapped","action",e)}function a(e){return i("delivery_address_selection_loaded","screen",e)}function c(e){return i("delivery_pickup_prep_loaded","screen",e)}function d(e){return i("delivery_shipping_label_loaded","screen",e)}function u(e){return i("order_detail_status_page_loaded","screen",e)}function p(e){return i("order_request_page_loaded","screen",e)}function h(e){return i("order_request_submit_returned","action",e)}function m(e){return i("order_request_submit_tapped","action",e)}function g(e){return i("paynow_qrcode_popup_loaded","action",e)}function _(e){return i("pickup_faq_tapped","action",e)}function v(e){return i("ready_to_order_popup_loaded","action",e)}function f(e){return i("retry_payment_tapped","action",e)}function y(){return i("setup_debit_card_tapped","action",null)}function x(e){return i("view_awareness_banner","action",e)}function T(e){return i("view_breakdown_tapped","action",e)}function E(e){return i("view_delivery_option_popup_loaded","action",e)}s.d(t,{B1:()=>x,Dt:()=>g,MP:()=>h,X2:()=>a,bF:()=>d,d8:()=>p,hc:()=>v,kK:()=>o,lL:()=>y,lr:()=>m,ms:()=>E,n7:()=>T,p_:()=>n,rK:()=>_,sF:()=>f,uu:()=>r,vq:()=>c,wG:()=>u,zy:()=>l})},2003:(e,t,s)=>{s.d(t,{bH:()=>i,eT:()=>n});const i=e=>e?.component&&["header_1","header_2","paragraph"].includes(e.component)&&!!e.stringContent,n={NORMAL:0,PROPERTY:1,CARS:2,PAYABLE:3,AUTHENTICATED:4,INSPECTED:5,C2C:6,ESSENTIAL:7,RECOMMERCE:8,CERTIFIED_PRODUCT:9}},616:(e,t,s)=>{s.r(t),s.d(t,{default:()=>et});var i=s(9),n=s.n(i),r=s(0),o=s(2428),l=s(10),a=s(171),c=s(738),d=s(40),u=s(400),p=s(845),h=s(764),m=s(72),g=s(172),_=s(1961),v=s(781),f=s(863),y=s(754),x=s(1207),T=s(1517),E=s(419),I=s(75),j=s(8),N=s(21),D=s(15),P=s(17),Z=s(18),b=s(109),S=s(34),C=s(73),A=s(882),w=s(51),k=s(1);const R=["C","D","E","H","I","O","P","RMV","T","U"];class O extends r.PureComponent{render(){const{listing:e}=this.props;return null==e?null:(0,k.jsx)(E.ql,{title:this.getPageTitle(e),meta:this.getPageMeta(e),link:this.getLinks(e),script:[this.getStructuredData(e)]})}getStructuredData(e){const{sellerfeedback:t}=this.props,s={"@context":"https://schema.org/","@type":"Product",description:e.description,image:e.photos.map((e=>e.image_progressive_url?e.image_progressive_url:e.image_url)),name:e.title,offers:{"@type":"Offer",price:e.price,priceCurrency:I.kt[e.marketplace.country.code]}};return t?.score&&(s.aggregateRating={"@type":"AggregateRating",ratingValue:t.score,reviewCount:t.feedbackCount}),{innerHTML:(i=JSON.stringify(s),i.replace(//g,">")),type:"application/ld+json"};var i}getPageTitle(e){const{collectionWithAncestors:t,localizeText:s}=this.props,i=t.reduce(((e,t)=>`${e}, ${t.name}`),e.title);return s((0,Z.ZP)("%{listingTitle} on Carousell"),{listingTitle:i})}getPageDescription(e){const{localizeText:t}=this.props;let s=e.description.slice(0,160);const i=[],n=e.marketplace.country.name,r=e.marketplace.name;r.length>0&&i.push(r),n.length>0&&i.push(n);const o=i.join(",");return s=s.length>=120?t((0,Z.ZP)("Buy %{title} in %{location}. %{description} Chat to Buy"),{description:s,location:o,title:e.title}):t((0,Z.ZP)("Buy %{title} in %{location}. %{description} Get great deals on %{collection} Chat to Buy"),{collection:e.collection?e.collection.name:"",description:s,location:o,title:e.title}),s}getPageOGDescription(e){const{listingCondition:t,localizeText:s}=this.props;let i;return i=t&&e.description?s((0,Z.ZP)("%{currency}%{price} | Condition: %{condition} | %{description}"),{condition:t,currency:e.currency_symbol,description:e.description,price:e.price_formatted}):e.description?s((0,Z.ZP)("%{currency}%{price} | %{description}"),{currency:e.currency_symbol,description:e.description,price:e.price_formatted}):s((0,Z.ZP)("%{currency}%{price} | Condition: %{condition}"),{condition:t,currency:e.currency_symbol,price:e.price_formatted}),i}getPageMeta(e){return[{content:this.getPageDescription(e),name:"description"},...this.getFacebookMeta(e),...this.getTwitterMeta(e),...this.getProductDeeplinkMeta(e),...this.getKeywordsPageMeta(e),...this.getRobotsMeta(e)]}getKeywordsPageMeta(e){return[{content:this.getPageTitle(e),name:"keywords"}]}getFacebookMeta(e){let t=[{content:"carousell:item",property:"og:type"},{content:e.title,property:"og:title"},{content:`https://${this.props.host}${(0,P.Wm)(e.title,e.id)}`,property:"og:url"},{content:this.getPageOGDescription(e),property:"og:description"},{content:"Carousell",property:"og:site_name"},{content:S.$.facebookAppID,property:"fb:app_id"}];return e.photos.length>0&&(t=[...t,{content:e.photos[0].image_url,property:"og:image"},{content:"200",property:"og:image:width"},{content:"200",property:"og:image:height"}]),t}getTwitterMeta(e){let t=[{content:"product",name:"twitter:card"},{content:"@carousell",name:"twitter:site"},{content:e.title,name:"twitter:title"},{content:`${e.currency_symbol}${e.price_formatted}`,name:"twitter:data1"},{content:"PRICE",name:"twitter:label1"},{content:"LOCATION",name:"twitter:label2"}];return e.photos.length>0&&(t=[...t,{content:e.photos[0].image_url,name:"twitter:image"},{content:"640",name:"twitter:image:width"},{content:"640",name:"twitter:image:height"}]),t.push({content:this.getPageOGDescription(e),name:"twitter:description"}),e.location_address?t.push({content:`${e.location_address}, ${e.marketplace.name}`,name:"twitter:data2"}):t.push({content:e.marketplace.name,name:"twitter:data2"}),t}getProductDeeplinkMeta(e){return[{content:`carousell://p/${e.id}`,name:"branch:deeplink:$deeplink_path"}]}getLinks(e){const{host:t,isDesktop:s}=this.props,i=e.marketplace.country.code.toLowerCase(),n=(0,P.Wm)(e.title,e.id),r=[{href:`https://${(0,b.Fo)(i,t)}${n}`,rel:"canonical"}];return e?.photos?.length&&(e.photos[0].image_progressive_url&&r.push({as:"image",fetchpriority:"high",href:e.photos[0].image_progressive_url,rel:"preload"}),s&&e.photos[1]?.image_progressive_url&&r.push({as:"image",fetchpriority:"high",href:e.photos[1].image_progressive_url,rel:"preload"})),r}getRobotsMeta(e){const t=[];return R.includes(e.status)&&t.push({content:"noindex",name:"robots"}),t}}const L=(0,l.$j)((function(e,t){const{listing:s}=t,i=s?.collection?(0,C.TR)(e,{collectionID:s.collection.id}):[],n=t.listing?(0,A.TI)(e,{userId:String(t.listing.seller.id)}):null;return{collectionWithAncestors:i,host:(0,D.RR)(e),isDesktop:(0,j.Y6)(e),listingCondition:(0,w.CR)(e),localizeText:(0,N.l$)(e),sellerfeedback:n}}))(O);var M=s(1518),z=s(1525),U=s(99),F=s(724);const G=({screen:e})=>{const t=(0,U._x)(),s=(0,l.v9)(N.l$),i=e.meta,{default_value:n}=i;return(0,k.jsxs)(m.Z,{className:"D_aRv",size:"l",testId:F.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_TEXT_PRICE,children:[n?`${n.currency_symbol}${n.price_formatted}`:null,n&&null!=n.original_price_formatted?(0,k.jsxs)(m.Z,{ariaLabel:s((0,Z.ZP)("Stricken Price: %{strickenPrice}"),{strickenPrice:`${n.currency_symbol} ${n.original_price_formatted}`}),className:"D_aRw",color:t.urbanGrey60,decoration:"strikethrough",inline:!0,size:"l",children:[n.currency_symbol,n.original_price_formatted]}):null]})};var $=s(183);function H(e,t){return(0,k.jsx)(G,{journey:t,screen:e})}const B=({options:e,portalHeaderPhoto:t,portalHeaderInfoCard:s,listing:i})=>{const n=(0,l.v9)((e=>(0,w.Fw)(e,{journey:"listing"}))),r=(0,l.v9)((e=>(0,w.Jn)(e,{journey:"listing"}))),o=(0,l.v9)((e=>(0,w.Y2)(e,{journey:"listing"}))),a=i?.collection?.id,c=(0,l.v9)((e=>a?(0,C.v2)(e,{collectionID:a}):null));let d,u,p,h=!1;if("gallery"===e.mode)u={groupIds:["photo_group"],type:"includeOnly"},h=!0;else if("serviceTags"===e.mode){const e={};o&&o.fieldIds.map((e=>o.fieldsMap[e])).filter((e=>"service_tags"===e.component||"image_tag"===e.component&&!Object.values($.Fh).includes(e.meta.field_name))).forEach((t=>{e[t.parentId]=!0})),u={groupIds:Object.keys(e),type:"includeOnly"},h=!0}else if("keyAttributes"===e.mode){const e={};o&&o.fieldIds.map((e=>o.fieldsMap[e])).filter((e=>"sticky_info"===e.meta.field_name)).forEach((t=>{e[t.parentId]=!0})),u={groupIds:Object.keys(e),type:"includeOnly"},h=!0}else if("loanCalculatorLink"===e.mode){const e={};o&&o.fieldIds.map((e=>o.fieldsMap[e])).filter((e=>"loan_calculator"===e.meta.field_name)).forEach((t=>{e[t.parentId]=!0})),u={groupIds:Object.keys(e),type:"includeOnly"},h=!0,p="D_afT"}else if("price"===e.mode){const e={};o&&o.fieldIds.map((e=>o.fieldsMap[e])).filter((e=>"price"===e.meta.field_name)).forEach((t=>{e[t.parentId]=!0})),d=0===Object.keys(e).length?H:void 0,u={groupIds:Object.keys(e),type:"includeOnly"},h=!0}const m=M.u.bind(void 0,{collection:c,isDesktop:!0,options:e,portalHeaderInfoCard:s,portalHeaderPhoto:t});return(0,k.jsx)(z.Z,{className:p,disableDefaultFieldClass:h,groupHeaderClassName:"D_afS",groupOption:u,listing:i,renderField:m,renderScreen:d,values:{},visibleFieldIds:r,visibleGroupIds:n})};var W=s(1526),q=s(2e3),K=s(2001),V=s(2002),Y=s(790),X=s(67),J=s(398),Q=s(725),ee=s(730),te=s(397),se=s(16),ie=s(12),ne=s(33),re=s(961),oe=s(1356),le=s(892),ae=s(923),ce=s(1073);const de=(0,X.P1)([ce.RI],(e=>e?e.slice(0,6).map((e=>({...e,belowFold:e.belowFold.filter((e=>"header_1"===e.component||"header_2"===e.component))}))):null)),ue=({listingID:e,scrollTo:t})=>{const s=(0,l.I0)(),i=(0,l.v9)(de),n=null!=(0,l.v9)(se.XM),o="treatment"===(0,l.v9)((e=>(0,ie.Oe)(e,{experimentId:"bx-2834-similar-listings-above-product-page"}))),a=(0,l.v9)(ae.a),c=(0,l.v9)(ce.K_),d=(0,l.v9)(ce.tr),u=o&&a;(0,r.useEffect)((()=>{s((0,ie.pu)({experimentIds:["bx-2834-similar-listings-above-product-page"]}))}),[s]),(0,r.useEffect)((()=>{u&&s((0,ne.Vh)({name:"view_browse",properties:{browse_type:"item_item_rec",context:"top_of_page",product_id:`${e}`,request_id:c||"",source:"listing_page"},type:"screen"}))}),[s,e,c,u]);const p=(0,r.useRef)({componentName:"top-related-listing",isAboveTheFold:!0});return u?d||0===i?.length?(0,k.jsx)(k.Fragment,{}):(0,k.jsxs)(Q.Z,{border:"shadow",className:"D_afU",children:[(0,k.jsx)("div",{className:"D_afV",children:i?.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(m.Z,{weight:"semibold",children:(0,k.jsx)(te.Z,{id:(0,Z.ZP)("Similar listings")})}),(0,k.jsxs)(J.Z,{className:"D_afW",onClick:()=>{if(t.current){const{top:e}=t.current.getBoundingClientRect();window.scrollTo({behavior:"smooth",top:window.scrollY+e-100})}},type:"linkTeal",children:[(0,k.jsx)(te.Z,{id:(0,Z.ZP)("See more")}),(0,k.jsx)(oe.Z,{className:"D_afX",size:16})]})]}):(0,k.jsx)(ee.Z,{style:{borderRadius:"4px",height:"32px",marginLeft:"5px",width:"210px"}})}),(0,k.jsx)(re.Z.Provider,{value:p.current,children:(0,k.jsx)(le.ZP,{columns:6,listingCards:i||[],placeholderCount:6,showOptionsInCard:n,showSellerInCard:!1,trackingData:{referrer_context:"top_of_page",referrer_request_id:c||""}})})]}):null};var pe=s(925),he=s(749),me=s(41),ge=s(39),_e=s(406),ve=s(53),fe=s(869),ye=s(723),xe=s(173),Te=s(721),Ee=s(70),Ie=s(2475),je=s(2430),Ne=s(409),De=s(942),Pe=s(106),Ze=s(2003),be=s(4),Se=s(800),Ce=s(119),Ae=s(120),we=s(1075),ke=s(727),Re=s(1022);s(451),s(112);var Oe=s(902),Le=s(402),Me=s(1357);const ze=(0,Le.TE)("PRICE_REVISION",Me.Z);var Ue=s(1121),Fe=s(920),Ge=s(1205),$e=s(1213),He=s(823),Be=s(817),We=s(1062),qe=s(1947),Ke=s(1948),Ve=s(1125),Ye=s(415),Xe=s(2466);const Je="listing",Qe=e=>{const t=(0,l.I0)(),s=(0,g.Z)(),i=(0,ye.c)("uac-2274-ldp-interlinks"),E=(0,ye.c)("bx-7694-remall-web-ldp"),I=(0,xe.Z)(),b=(0,l.v9)(D.T7),S=(0,l.v9)(ae.a),A=(0,l.v9)(N.l$),R=(0,l.v9)(se.XM),O=!!R,M=(0,l.v9)(ve.ID),z=(0,l.v9)(Oe.SD),U=(0,l.v9)(D.o2),G=(0,l.v9)(j.Tv),$=(0,l.v9)(He.rF),{listingParam:H}=e.match.params,X=H&&(0,P.py)(H),J=(0,l.v9)((e=>X?(0,Pe.MO)(e,{listingID:parseInt(X,10)}):null))||null,Q=R&&J?.seller?.id===R.id,ee=(0,l.v9)(ce.Ie),re=(0,l.v9)(ce.qB),oe=(0,l.v9)(ae.C6),le=(0,l.v9)(ce.RI),de=(0,l.v9)(Pe.dc),be=!!J?.is_mall&&E,Se=(0,l.v9)((e=>(0,w.Y2)(e,{journey:Je}))),Ce=(0,l.v9)((e=>(0,w.zh)(e,{journey:Je}))),Ae=(0,l.v9)(C.R9),we=(0,l.v9)(Ne.zO),ke=(0,l.v9)(C.Z2),Re=(0,l.v9)((e=>J&&J.collection?(0,C.TR)(e,{collectionID:J.collection.id}):null))||[],Le=(0,Ye.kL)(de,Ae,ke),[Me]=(0,Te.$S)(De.$);(0,r.useEffect)((()=>{t(Me())}),[t,Me]);const Qe=(0,We.F)("listingDetailExternal","BTF_SLOT"),et=(0,We.F)("listingDetailExternal","ATF_SLOT"),tt=(0,We.F)("listingDetailExternal","ATF_FW_SLOT"),st=(0,We.F)("listingDetailExternal","SECTION_DIVIDER_FW_SLOT"),it=(0,We.F)("listingDetailExternal","BTF_FW_SLOT"),nt=(0,We.k)("listingDetailExternal","RB_SLOT").adSlots,rt=(0,r.useRef)(null),ot=(0,r.useRef)(null),lt=(0,l.v9)((e=>{if(null!=Se){const t=Se.screenIds;if(t.length>0){const s=t[0],i=(0,w.JL)(e,{journey:Je,screenId:s});if(null!=i)return i.ui_rules.actions}}return null})),at=(0,r.useRef)(null),ct=(0,r.useRef)(),dt=(0,r.useRef)(),[ut,pt]=(0,r.useState)("markAsSold"),[ht,mt]=(0,r.useState)(null),[gt,_t]=(0,r.useState)(!1),vt=(0,l.v9)((e=>J?(0,ae.jG)(e,{listing:J}):null)),ft=U[pe.tK]??"",yt=(0,r.useCallback)((e=>{const t=parseInt(d.globalNavBarDesktopHeightNewDesign,10);return(e?0:t)+parseInt(d.subNavBarDesktopHeight,10)}),[]),xt=(0,r.useRef)(null),Tt=(0,Ve.R)(xt,yt(),"bottom"),Et=(0,r.useRef)((0,Ee.z)(8));(0,r.useEffect)((()=>{oe&&J?.id&&J?.collection?.id&&re!==J.id&&t((0,ce.ne)({collectionID:J.collection.id,listingID:J.id}))}),[t,J,re,oe]),(0,r.useEffect)((()=>{if(J&&J.id!==ht&&-1!==J.collection?.cc_id&&(!oe||re===J.id&&!ee)){const e=(0,a.Z)();t((0,Pe.Ik)({trackingUUID:e})),t((0,ne.Vh)((0,ae.ad)(J,b,M,z,e))),t((0,_e.Xy)("executePageListingTrackingThirdParty",ae.Qy,J)),S&&t((0,ne.Vh)({name:"view_listing_from_search_engine",properties:{listing_status:J.status,product_id:`${J.id}`},type:"screen"})),mt(J.id)}}),[t,J,b,M,S,ht,z,oe,re,ee]),(0,r.useEffect)((()=>{t((0,ie.pu)({experimentIds:["uac-1534-ldp-similar-listings-bottom-sheet","bf-11280-ldp-refactor"]}))}),[t]),(0,r.useEffect)((()=>{ct.current=document.createElement("div"),dt.current=document.createElement("div")}),[]),(0,r.useEffect)((()=>{ft===pe.hM&&t((0,ge.Gu)(pe.ae))}),[t,ft]);const It=(0,r.useCallback)((e=>{if(J&&le&&le.length){const s=le[e].belowFold.find((e=>"header_1"===e.component));let i=null;s&&(0,Ze.bH)(s)&&(i=s);const n=i?i.stringContent:null;t((0,me.S6)([{eAction:"click",eCategory:"similarItems",eLabel:n,event:"similarlistingClick",listingCCId:J.collection?J.collection.cc_id:null,listingId:J.id,listingName:J.title,listingStatus:J.status}]))}}),[t,J,le]),jt=(()=>{const e=Se?.fieldsMap?.field_price;return!!e&&"bold"===e.ui_rules.font_weight})(),Nt=e=>X&&"true"!==J?.smart_attributes?.is_advance_promise_enabled?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{ref:at}),(0,k.jsx)(V.Z,{columns:e,listingCollectionWithAncestors:Re,listingID:parseInt(X,10),onRelatedListingCardClick:It,showOptionsInCard:O})]}):null,Dt=(0,r.useCallback)((()=>{_t(!0)}),[]),Pt=(0,r.useCallback)((()=>{_t(!1)}),[]),Zt=(0,qe.U)(),bt=Ce&&Ce?404===Ce.friendlyError?.httpCode?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(_.Z,{className:Xe.vY}),Nt(5)]}):(0,k.jsx)(v.Z,{className:Xe.nT}):null,St=!(0,l.v9)(He.Cr)&&!bt&&!be,Ct=tt?.adUnit&&!$.some((e=>e.adIndex===tt.adUnit&&!e.fillStatus)),{adTopFwbHeight:At,pageTopPadding:wt}=(0,Ke.Z)({adTopFwbRef:rt,atfFwbAdConfig:tt,containerRef:ot,showAds:St&&!!Ct}),kt=e=>{let t=null;if("center"===e&&(t=I?st:null),"bottom"===e&&(t=it),!t?.adUnit)return null;const s=J?.collection?`${J.collection.cc_id}`:void 0,i=(0,Be.a3)(R,s);return(0,k.jsx)("div",{children:(0,k.jsx)(Ue.Z,{fluidSizeMapping:t.fluidSizeMapping,id:t.adUnit,path:t.adUnit,sizeMapping:t.slotSizeMapping,sizes:t.slotSizes,targeting:i})})},Rt=null==Se?(0,k.jsx)(T.Z,{}):null,Ot=!1===J?.is_mall,Lt=Se?.groupIds?.some((e=>"group_listing_summary"===e));return(0,k.jsxs)(he.default,{containerRef:ot,className:Xe.nC,preTop:St?{component:(e=>{if(!tt?.adUnit||Zt)return null;const t=J?.collection?`${J.collection.cc_id}`:void 0,s=(0,Be.a3)(R,t);return(0,k.jsx)("div",{className:Xe.s5,ref:rt,children:(0,k.jsx)(Ge.Z,{content:e?"ad":"placeholder",fluidSizeMapping:tt.fluidSizeMapping,height:At,id:tt.adUnit,path:tt.adUnit,sizeMapping:tt.slotSizeMapping,sizes:tt.slotSizes,targeting:s})})})(Ot),height:Ct&&!Zt?wt:0}:void 0,stickyTop:St,top:{component:(0,k.jsxs)("div",{className:St?Xe.yD:"",children:[(0,k.jsx)(y.default,{shouldSlideUp:Tt}),(0,k.jsx)(Y.default,{hidden:Tt}),lt&&(0,k.jsx)(W.default,{actions:lt,hidden:!Tt,infoCardContainer:ct.current,listing:J,me:R,photoContainer:dt.current,setConfirmationModalType:pt})]}),height:`${yt()}`},children:[(0,k.jsx)(L,{listing:J}),St&&(()=>{if(!et?.adUnit)return null;const e=J?.collection?`${J.collection.cc_id}`:void 0,t=(0,Be.a3)(R,e);return(0,k.jsx)(Fe.Z,{id:et.adUnit,path:et.adUnit,productId:X,sizeMapping:et.slotSizeMapping,sizes:et.slotSizes,stretched:!0,targeting:t})})(),(()=>{let e=[];if(Re.length){const t=[];e=Re.map((e=>(t.push(e),{href:(0,P.vd)(t,{redirectToVerticalHomeScreen:!0}),text:e.name,type:"link"})))}const{category_info:t=[],filters:s=[]}=Le?.breadcrump_interlinks||{};if(i&&"CATFIT_FILTERS"===Le?.breadcrump_interlinks?.type&&t.length>1){const i=s.map(((e,i)=>{const n=s.slice(0,i+1);return{href:(0,P.Ff)(t[0],t[1],n),text:e,type:"link"}}));e=e.concat(i)}return(0,k.jsx)(fe.Z,{className:Xe.Kb,items:e,testId:F.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_BREADCUMBS})})(),(0,k.jsx)("div",{className:Xe.kQ,children:bt||Rt||(0,k.jsxs)(k.Fragment,{children:["doNotRender"===vt?(0,k.jsx)("div",{className:Xe.dP,children:J?.collection?(0,k.jsx)(ue,{listingID:J.id,scrollTo:at}):null}):null,(0,k.jsx)(B,{listing:J,options:{mode:"gallery"}}),(0,k.jsxs)("div",{className:Xe.FV,children:[(0,k.jsx)("div",{className:Xe.eC,children:(0,k.jsxs)("div",{children:[!Lt&&(()=>{const e=Se&&Se.fieldIds.map((e=>Se.fieldsMap[e])).filter((e=>"line_spacer"===e.meta.field_name)),t=Array.isArray(e)&&0===e.length;return(0,k.jsxs)("div",{className:n()({[Xe.K9]:t}),ref:xt,children:[(0,k.jsx)("div",{className:Xe.Si,children:(0,k.jsx)(B,{listing:J,options:{mode:"serviceTags"}})}),(0,k.jsx)(u.Z,{className:Xe.OS,level:"1",testId:F.ZT.NEW_LISTING_DETAILS_PAGE_DESKTOP_TEXT_TITLE,weight:jt?"regular":"semibold",children:J?J.title:null}),(0,k.jsxs)("div",{style:{display:"flex"},children:[(0,k.jsx)(B,{listing:J,options:{mode:"price"}}),(0,k.jsx)(B,{listing:J,options:{mode:"loanCalculatorLink"}})]}),(0,k.jsx)("div",{className:Xe.E2,children:(0,k.jsx)(B,{listing:J,options:{mode:"keyAttributes"}})})]})})(),gt?null:Se?(0,k.jsx)("div",{className:Xe.e8,children:J&&(0,k.jsx)(B,{listing:J,options:{mode:"body"},portalHeaderInfoCard:ct.current,portalHeaderPhoto:dt.current})}):null]})}),(0,k.jsxs)("div",{className:Xe.Xr,children:[(0,k.jsx)(x.default,{actions:lt,confirmationModalType:ut,listing:J,setConfirmationModalType:pt}),Q&&(0,k.jsx)(q.Z,{listing:J}),!be&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:Xe.TT}),(()=>{const e=nt.find((e=>!e.isSticky));if(!e?.adUnit)return null;const t=J?.collection?`${J.collection.cc_id}`:void 0,s=(0,Be.a3)(R,t);return(0,k.jsx)($e.Z,{className:Xe.A8,id:e.adUnit,path:e.adUnit,productId:X,sizeMapping:e.slotSizeMapping,sizes:e.slotSizes,targeting:s})})(),(()=>{const e=nt.find((e=>e.isSticky));if(!e?.adUnit)return null;const t=J?.collection?`${J.collection.cc_id}`:void 0,s=(0,Be.a3)(R,t);return(0,k.jsx)("div",{className:Xe.aH,style:{top:yt(Tt)},children:(0,k.jsx)($e.Z,{className:Xe.A8,height:600,id:e.adUnit,path:e.adUnit,productId:X,sizeMapping:e.slotSizeMapping,sizes:e.slotSizes,targeting:s})})})()]})]})]}),St&&le?.length?kt("center"):null,gt?null:(0,k.jsxs)(k.Fragment,{children:[(()=>{if(!Le?.suggested_keywords?.length||!i)return null;const e=(G?Le.suggested_keywords.filter((e=>"GLOBAL_SEARCH"!==e.type)):Le.suggested_keywords).map(((e,i)=>(0,k.jsx)(c.Z,{className:Xe.Dj,onClick:()=>((e,s)=>{t((0,je.Yv)({product_id:`${J?.id}`,search_query:e,tap_index:s}))})(e.keyword||"",i),to:`${(0,Ye.Ny)(e)}${G?"":`?referrer_source=interlink&source_product_id=${J?.id}`}`,children:(0,k.jsx)(p.Z,{color:s.urbanGrey20,text:e.keyword||""})},i)));return(0,k.jsx)(o.df,{onChange:(s,i)=>{i.isIntersecting&&t((0,Ie.jA)({event_id:Et.current,num_impressions:e.length,source_product_id:`${J?.id}`}))},children:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:Xe.wf}),(0,k.jsx)(m.Z,{className:Xe.CU,size:"l",weight:"semibold",children:(0,k.jsx)(te.Z,{id:(0,Z.ZP)("What others also search for")})}),(0,k.jsx)("div",{className:Xe.CC,children:e})]})})})(),(0,k.jsx)("div",{className:Xe.pt,children:Nt(4)})]})]})}),St&&(()=>{const e=J?.collection?`${J.collection.cc_id}`:void 0,t=(0,Be.a3)(R,e);return Qe?.adUnit?(0,k.jsx)(Fe.Z,{className:`${Xe.PM} ${Xe.Cd}`,id:Qe.adUnit,path:Qe.adUnit,productId:X,sizeMapping:Qe.slotSizeMapping,sizes:Qe.slotSizes,stretched:!0,targeting:t}):null})(),St&&kt("bottom"),(0,k.jsx)(f.default,{ccIDToID:Ae,collectionGroups:we,collections:ke}),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(h.Z,{message:A((0,Z.ZP)("Listing was reserved")),snackbarID:"LISTING_RESERVED"}),(0,k.jsx)(h.Z,{message:A((0,Z.ZP)("Listing was unreserved")),snackbarID:"LISTING_UNRESERVED"}),(0,k.jsx)(h.Z,{message:A((0,Z.ZP)("Listing was sold")),snackbarID:"LISTING_SOLD"}),(0,k.jsx)(h.Z,{message:A((0,Z.ZP)("Thanks for letting us know!")),snackbarID:"MARK_AS_SOLD_SURVEY_SUCCESS"}),(0,k.jsx)(h.Z,{message:A((0,Z.ZP)("Sorry, something went wrong on our end. Try again")),snackbarID:"LISTING_ACTION_ERROR"})]}),(0,k.jsx)(ze,{listingID:X}),J&&vt&&"doNotRender"!==vt?(0,k.jsx)(K.Z,{listing:J,listingCollectionWithAncestors:Re,onHide:Pt,onRelatedListingCardClick:It,onShow:Dt,showOptionsInCard:!1,size:vt}):null]})};Qe.fetchData=function*(e){const t=yield(0,be.Ys)(j.Tv);yield(0,be.rM)(Se.y7,(0,Se.sV)()),yield(0,be.gz)((0,Ce.Pr)(Ae.O.LDP));const{listingParam:s}=e.params,i=null!=s?(0,P.py)(s):null;if(t&&(yield*(0,De.$)()),null===i)return;yield*(0,ae.vu)(i),yield(0,be.Ys)(w.zh,{journey:"listing"});const n=yield(0,be.Ys)(Pe.MO,{listingID:parseInt(i,10)});if(!n)return;yield(0,be.RE)(ae.G2,n),yield(0,be.rM)(A.j5,(0,A.up)({parameters:{count:5,userId:String(n.seller.id)}}));const r=yield(0,be.Ys)(se.XM);r&&n.seller.id===r.id&&(yield(0,be.rM)(Re.WC,n.id),yield(0,be.rM)(ke.F6),yield(0,be.rM)(we.o2,(0,_e.M_)(),n.id))};const et=Qe},1357:(e,t,s)=>{s.d(t,{Z:()=>o});var i=s(2),n=(s(0),s(3)),r=s(1);const o=(0,i.ZP)({resolved:{},chunkName:()=>"price-revision",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(0),s.e(1),s.e(4),s.e(16),s.e(71),s.e(953),s.e(54),s.e(63),s.e(3),s.e(5),s.e(23),s.e(37),s.e(68),s.e(601)]).then(s.bind(s,1272)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve:()=>1272},{fallback:(0,r.jsx)(n.Z,{})})},1121:(e,t,s)=>{s.d(t,{Z:()=>h});var i=s(9),n=s.n(i),r=(s(0),s(10)),o=s(774),l=s(800),a=s(823),c=s(1947),d=s(850),u=s(851),p=s(1);const h=function(e){const{className:t="",fluidSizeMapping:s=[],id:i="AdFullWidthBannerDesktop",path:h,sizeMapping:m,sizes:g,targeting:_={}}=e,v=(0,r.v9)(a.Cr),f=(0,r.v9)(a.rF),y=(0,c.U)();if(v||y)return null;if(h===l.dq)return(0,p.jsx)(u.Z,{});const x=f?f.find((e=>e.adIndex===i&&e.adUnitId===h)):null,T=e=>{const r=n()("D_aht",t,{D_ahu:v||y||x&&!x.fillStatus});return(0,p.jsx)("div",{className:"D_ahs",children:(0,p.jsx)("div",{className:r,children:"placeholder"===e?null:(0,p.jsx)(d.Z,{id:i,path:h,sizeMapping:m,sizes:g,targeting:_,fluidSizeMapping:s,isFullWidthBanner:!0})})})};return(0,p.jsx)(o.Z,{placeholder:T("placeholder"),children:T("ad")})}},920:(e,t,s)=>{s.d(t,{Z:()=>_});var i=s(9),n=s.n(i),r=s(0),o=s(10),l=s(774),a=s(15),c=s(800),d=s(823),u=s(817),p=s(850),h=s(851),m=s(1);class g extends r.PureComponent{render(){return(0,m.jsx)(l.Z,{placeholder:this.renderContent("placeholder"),children:this.renderContent("ad")})}renderContent(e){const{adBlockerEnabled:t,adUnitStatus:s,className:i,labelColor:r,id:o,path:l,sizeMapping:a,sizes:d,stretched:g,targeting:_,productId:v,routerLocation:f}=this.props;if(l===c.dq)return(0,m.jsx)(h.Z,{});const y=(0,u.bG)(f),x=n()("D_Fc",i,{D_Ff:g},t||y||s&&!s.fillStatus?"D_Fe":"");return(0,m.jsx)("div",{className:x,children:"placeholder"===e?null:(0,m.jsx)(p.Z,{id:o,labelColor:r,path:l,productId:v,sizeMapping:a,sizes:d,targeting:_})})}}g.defaultProps={className:"",id:"adHomeLeaderboardDesktop",stretched:!1,targeting:{}};const _=(0,o.$j)((function(e,t){const s=t.id,i=t.path,n=(0,d.rF)(e),r=n?n.find((e=>e.adIndex===s&&e.adUnitId===i)):null;return{adBlockerEnabled:(0,d.Cr)(e),adUnitStatus:r,routerLocation:(0,a.Xt)(e)}}))(g)},1205:(e,t,s)=>{s.d(t,{Z:()=>y});var i=s(9),n=s.n(i),r=s(188),o=s.n(r),l=s(0),a=s(10),c=s(730),d=s(172),u=s(800),p=s(823),h=s(817),m=s(1947),g=s(100),_=s(850),v=s(851),f=s(1);const y=function(e){const{className:t="",content:s="ad",fluidSizeMapping:i=[],height:r,id:y="AdTopFixedFullWidthBannerDesktop",path:x,sizeMapping:T,sizes:E,targeting:I={}}=e,j=(0,l.useRef)(null),N=(0,d.Z)(),[D,P]=(0,l.useState)(0),Z=(0,g.D9)(D),b=(0,a.v9)(p.Cr),S=(0,a.v9)(p.rF),C=(0,l.useCallback)((()=>{const e=window.pageYOffset;P(e)}),[]);(0,l.useEffect)((()=>{const e=(0,h.gp)();if(e&&j.current){const t=T.find((t=>e>=t.height)),[s,i]=t?.slot?.[0]||[];j.current.style.width=`${s||0}px`,j.current.style.height=`${i||0}px`}}),[T,s]),(0,l.useEffect)((()=>{const e=o()(C,200);return window?.addEventListener("scroll",e,!1),()=>{window?.removeEventListener("scroll",e,!1)}}),[C]),(0,l.useEffect)((()=>{const e=r-D;(Z||0)=300?160:90)&&e>0&&window.scrollTo({behavior:"smooth",top:r})}),[Z,D,r]);const A=(0,m.U)(),w=(0,l.useMemo)((()=>"placeholder"===s?(0,h.k)(T):0),[s,T]);if(b||A)return null;if(x===u.dq)return(0,f.jsx)(v.Z,{});const k=S?S.find((e=>e.adIndex===y&&e.adUnitId===x)):null,R=n()("D_ahv",t,{D_ahw:b||k&&!k.fillStatus});return(0,f.jsx)("div",{className:R,id:"full-width-ad",children:"placeholder"===s?(0,f.jsx)("div",{style:{height:`${w}px`,width:"100%"},children:(0,f.jsx)(c.Z,{style:{height:"100%",width:"100%"}})}):(0,f.jsx)(_.Z,{id:y,path:x,sizeMapping:T,sizes:E,targeting:I,fluidSizeMapping:i,isFullWidthBanner:!0,shouldHoldRefreshing:D{s.d(t,{F:()=>o,k:()=>r});var i=s(10),n=s(800);function r(e,t){return(0,i.v9)((s=>(0,n.V)(s,e,t)))}function o(e,t){return r(e,t).adSlots[0]}},1947:(e,t,s)=>{s.d(t,{U:()=>o});var i=s(10),n=s(15),r=s(817);function o(){const e=(0,i.v9)(n.Xt);return(0,r.bG)(e)}},1124:(e,t,s)=>{s.d(t,{I:()=>r});var i=s(0),n=s(77);const r=({target:e,options:t,callback:s})=>{const r=(0,i.useMemo)((()=>n.yF?null:new MutationObserver((e=>{s&&s(e)}))),[s]);(0,i.useEffect)((()=>{const s=(e=>e&&"current"in e?e.current:e)(e);return!(!r||!s)&&(r.observe(s,t),()=>r.disconnect())}),[e,r,t])}},1948:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(0),n=s(1124),r=s(817),o=s(100);const l=({adTopFwbRef:e,atfFwbAdConfig:t,containerRef:s,showAds:l})=>{const[a,c]=(0,i.useState)((0,r.ce)(t?.slotSizeMapping)),[d,u]=(0,i.useState)("33vh"),[{maxHeight:p,minHeight:h},m]=(0,i.useState)({maxHeight:(0,r.ce)(t?.slotSizeMapping),minHeight:(0,r.tL)(t?.slotSizeMapping)});(0,o.LI)((()=>{if(!l)return;const e=(0,r.k)(t?.slotSizeMapping);s.current&&(s.current.style.paddingTop=`${e}px`),c(e),u(e);const i=(0,r.ce)(t?.slotSizeMapping),n=(0,r.tL)(t?.slotSizeMapping);m((e=>e.maxHeight!==i||e.minHeight!==n?{maxHeight:i,minHeight:n}:e))}),[t?.slotSizeMapping,l]),(0,i.useEffect)((()=>{setTimeout((()=>{s.current&&(s.current.style.transition="padding-top 0.5s ease")}),1e3)}),[s]);const g=(0,i.useCallback)((t=>{l&&t.forEach((()=>{const t=e.current?.querySelector("#full-width-ad");c(t?.clientHeight||0),u(t?.clientHeight||0)}))}),[e,l]);return(0,n.I)({callback:g,options:{attributes:!0,childList:!0,subtree:!0},target:e}),l&&a?{adTopFwbHeight:a,pageTopPadding:`max(min(${"number"==typeof d?`${d}px`:d}, ${p}px), ${h}px)`}:{adTopFwbHeight:0,pageTopPadding:0}}}}]); //# sourceMappingURL=https://mdev.llesuorac.com/01857052a1fbff6c7926249973b6164fd2b19d8b/169abc6e56698ea9.min.js.map //# debugId=62c45e83-d02b-578b-b3f8-22efb2abfb5c