PageSourceSearch

https://www.dentalpost.net/component---src-templates-classified-tsx-e30db76bcc3bb02c8a46.js

js dentalpost.net collected 2026-10-02 05:57:09 UTC 4,614 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdentalpost_web=self.webpackChunkdentalpost_web||[]).push([[45],{26205:function(e,t,s){s.r(t),s.d(t,{Head:function(){return m}});var a=s(96540),i=s(55268),n=s(35169),l=s(17917),r=s(65378),c=s(61876),d=s(91272),o=s(98027),h=s(36365),u=s(74512),x=s(74848);t.default=e=>{const t=e.data.classified,s=e.data.allClassifiedPhotosCsv.nodes,c=(0,a.useContext)(u.Rs).user;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(n.A,{children:[(0,x.jsxs)("div",{className:"w-100 my-4 d-flex justify-content-between align-items-center",children:[(0,x.jsxs)(l.A,{onClick:()=>(0,i.navigate)((0,r.aIt)()),color:"link",className:"text-start",children:[(0,x.jsx)(o.QVr,{})," Back to Classifieds"]}),(0,x.jsx)(l.A,{color:"primary",outline:!0,onClick:()=>(0,i.navigate)(c?r.TGW:r.QWL),children:"Post new Listing"})]}),(0,x.jsx)(d.A,{additionalPhotos:s,listing:t})]})," "]})};function m(e){const t=e.data.classified;return(0,x.jsx)(h.A,{title:(0,c.x)(t.type)+" in "+t.city+", "+t.state+" | "+t.classifiedId,description:t.description.substring(0,250)+" | "+t.classifiedId,image:"https://wwwapis.dentalpost.net/api9"+t.photoUrl})}},61876:function(e,t,s){s.d(t,{H5:function(){return c},x:function(){return r}});const a="OFFICE",i="EQUIPMENT",n="OFF_WANTED",l="EQT_WANTED",r=e=>{switch(e){case a:return"Office For Sale";case i:return"Equipment For Sale";case n:return"Office Wanted";case l:return"Equipment Wanted";default:return"--"}},c=e=>{switch(e){case a:return"OFFICE";case i:return"EQUIPMENT";case n:return"OFFICE";case l:return"EQUIPMENT";default:return"--"}}},91272:function(e,t,s){var a=s(96540),i=s(74758),n=s(87959),l=s(5826),r=s(39704),c=s(55606),d=s(85052),o=s(98394),h=s(74353),u=s.n(h),x=s(85045),m=s(58275),p=s(74848);function f(e){return!!e&&"classifiedId"in e}t.A=e=>{const t=e.listing,s=(0,a.useState)(e.additionalPhotos),h=s[0],j=s[1],w=(0,a.useState)(""),g=w[0],A=w[1];return(0,a.useEffect)(()=>{f(t)||x.A.Classifieds.getAdditionalPhotos(t.id).then(e=>{j(e.data)}).catch(e=>{A(e.message)})},[]),(0,p.jsxs)(i.A,{className:"mb-3 mx-auto",children:[(0,p.jsx)(n.A,{className:"bg-info",children:(0,p.jsxs)(l.A,{children:[(0,p.jsxs)(r.A,{className:"text-start",children:["Status: ",t.status]}),(0,p.jsxs)(r.A,{className:"text-end",children:["ID: ",f(t)?t.classifiedId:t.id]})]})}),(0,p.jsx)(c.A,{className:"text-start d-flex flex-wrap",children:(0,p.jsxs)(r.A,{className:"mx-auto",children:[(0,p.jsxs)(l.A,{className:"d-flex flex-wrap mb-3 mx-auto justify-content-between",children:[(0,p.jsxs)(r.A,{md:"10",lg:"7",className:"m-auto",children:[(0,p.jsx)("h1",{className:"h3 fw-bold mb-0",children:t.title}),(0,p.jsxs)("div",{children:[t.city,", ",t.state," ",t.zip]}),(0,p.jsxs)("p",{children:["Posted"," ",u()(f(t)?t.postingDate:t.createdDate).format("MMM D, YYYY")]}),(0,p.jsx)("b",{className:"text-dark",children:" Contact info"}),(0,p.jsx)("p",{className:"mb-0",children:t.contact}),(0,p.jsxs)("a",{href:"tel:"+t.phone,children:[" ",t.phone]}),(0,p.jsx)("br",{}),(0,p.jsxs)("a",{href:"mailto:"+t.email,children:[" ",t.email]})]}),(0,p.jsx)(r.A,{md:"10",lg:"4",className:"mb-3 order-lg-2 p-0 m-auto",children:(0,p.jsx)("img",{src:"https://wwwapis.dentalpost.net/"+("api9"+(f(t)?t.photoUrl:t.photoUrlFull)).replace("thumb","full"),alt:"classified listing",width:500,height:500,style:{width:"100%",height:"auto",objectFit:"contain"}})})]}),(0,p.jsxs)(l.A,{className:"d-flex flex-wrap mx-auto justify-content-between",children:[(0,p.jsxs)(r.A,{md:"10",lg:"4",className:"order-lg-2 p-0 mx-auto",children:[!!h&&h.length>0&&(0,p.jsx)(l.A,{className:"d-flex flex-wrap justify-content-between mb-3",children:h.map(e=>(0,p.jsx)(r.A,{xs:"4",className:"text-center mx-auto mb-3",tag:m.A,href:"https://wwwapis.dentalpost.net/api9"+("photoUrl"in e?e.photoUrl:e.additionalPhotoUrl),children:(0,p.jsx)("img",{src:"https://wwwapis.dentalpost.net/"+("api9"+("photoUrl"in e?e.photoUrl:e.additionalPhotoUrl)).replace("full","thumb"),alt:e.description,width:150,height:150,className:"img-fluid",title:e.description,style:{objectFit:"contain"}})},"id"in e?e.id:e.classifiedPhotoId))}),(0,p.jsx)(d.A,{fade:!1,isOpen:!!g,color:"danger",children:g})]}),(0,p.jsxs)(r.A,{md:"10",lg:"7",className:"order-lg-1 mx-auto",children:[(0,p.jsx)("b",{className:"text-dark",children:" Description"}),(0,p.jsx)("p",{className:"mb-3",children:t.description}),f(t)&&(0,p.jsx)("div",{className:"d-flex justify-content-start align-items-center",children:(0,p.jsx)(o.A,{url:"https://www.dentalpost.net/dental-jobs/"+t.url+"/"})})]})]})]})})]})}}}]);
2//# sourceMappingURL=component---src-templates-classified-tsx-e30db76bcc3bb02c8a46.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.