1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[254],{8254:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var n=a(7876),r=a(9081),i=a(893),o=a(4232),s=a(9878),l=a(7166),d=a(5041),p=a(4019),c=a(5557);function m({story:e}){let t=(0,s.A)(),a=l.yz?t:d,m=(e?.content?.schemas||a?.legal_service)?.[0]||[],y=e=>{if(e&&e.length)return e.map(e=>({addressRegion:e.address_region||e.addressRegion||"",streetAddress:e.street_address,addressLocality:e.address_locality,postalCode:e.postal_code||e.postalCode||e.postcode||e.eircode||e.address_region||e.addressRegion||"",addressCountry:e.address_country,...e.telephone&&{telephone:e.telephone},...e.geo_latitude&&e.geo_longitude&&{geo:{"@type":"GeoCoordinates",latitude:e.geo_latitude,longitude:e.geo_longitude}}}))},g=e=>{if(e&&e.length)return e.map(e=>({"@type":"ContactPoint",name:e.name,contactType:e.name,url:`${"ContactPoint"===e.service_type?"tel:":e.service_type}${e.service}`,..."tel:"===e.service_type||"ContactPoint"===e.service_type?{telephone:e.service}:{}}))},f={name:`${e.name} Solicitors | Lavelle Partners`,description:m?.description||"An Award-Winning Irish law firm specialising in personal injury, medical negligence, corporate law and dispute resolution with over 35 years of experience.",parentOrganization:{"@type":"Organization",name:"Lavelle Partners LLP",url:"https://www.lavellepartners.ie/",telephone:"+353 1 644 5800",email:"[email protected]"},legalName:"Lavelle Partners LLP",serviceType:e.name,hasOfferCatalog:{"@type":"OfferCatalog",name:"Legal Services",itemListElement:[{"@type":"ListItem",position:1,item:{"@type":"Offer",itemOffered:{"@type":"Service",name:e.name,description:m?.description||"Legal services in "+e.name}}}]},areaServed:{"@type":"AdministrativeArea",name:"Ireland"},...a?.legal_service?.[0]?.address?.[0]&&{address:y(a?.legal_service?.[0]?.address)},...m?.available_channel?.[0]&&{contactPoint:g(m?.available_channel)}},u={name:`Lavelle Partners - ${e.name}`,description:m?.general?.[0]?.description||"An Award-Winning Irish law firm specialising in personal injury, medical negligence, corporate law and dispute resolution with over 35 years of experience.",telephone:m?.general?.[0]?.telephone||"+353 1 644 5800",email:m?.general?.[0]?.email||"[email protected]",...m?.address?.[0]&&{address:y(m?.address)},...m?.service_area?.[0]&&{serviceArea:m?.service_area?.map(e=>e.area)},...m?.opening_hours?.[0]&&{openingHours:m?.opening_hours?.map(e=>({dayOfWeek:e.day_of_week,opens:e.opens,closes:e.closes}))},...m?.available_channel?.[0]&&{contactPoint:g(m?.available_channel)},...m?.has_offer_catalog?.[0]?.pages?.[0]&&{hasOfferCatalog:{"@type":"OfferCatalog",name:"Legal Services Catalog",itemListElement:m?.has_offer_catalog?.[0]?.pages?.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"Offer",itemOffered:{"@type":"Service",name:e.name,description:e.content?.content?.find(e=>"blocks/practice-area-content-area"===e.component)?.content.find(e=>"content/text"===e.component)?.content.content?.[0]?.content?.[0]?.text,url:`${i.$W.url}${e.full_slug?.replace(/\/$/,"")}`}}}))}},...m?.attorneys?.[0]?.attorneys?.[0]&&{attorneys:m?.attorneys?.[0]?.attorneys?.map(e=>{let t={name:e.name,jobTitle:e.position,description:e.content?.content_area?.find(e=>"blocks/content-area"===e.component)?.content.find(e=>"content/text"===e.component)?.content.content?.[0]?.content?.[0]?.text,image:e.content?.image?.filename,telephone:e.content?.phone,email:e.content?.email,url:`${i.$W?.url}${e?.full_slug?.replace(/\/$/,"")}`};return m?.address?.[0]&&(t.address=m?.address?.map(e=>({"@type":"PostalAddress",addressRegion:e.address_region||e.addressRegion||"",streetAddress:e.street_address,addressLocality:e.address_locality,postalCode:e.postal_code||e.postalCode||e.postcode||e.eircode||e.address_region||e.addressRegion||"",addressCountry:e.address_country}))),t})}};return((e,t={})=>{let{scriptId:a="legal-service-schema-jsonld"}=t;(0,o.useEffect)(()=>{if(!e||!e.name)return;let t=document.getElementById(a);t||((t=document.createElement("script")).id=a,t.type="application/ld+json",document.head.appendChild(t));let n={"@context":"https://schema.org","@type":"WebPage",mainEntity:{"@type":"LegalService",name:e.name,description:e.description||"",url:e.url||window.location.href}};if(e.image&&(n.mainEntity.image=Array.isArray(e.image)?e.image:[e.image]),e.telephone&&(n.mainEntity.telephone=e.telephone),e.email&&(n.mainEntity.email=e.email),e.priceRange&&(n.mainEntity.priceRange=e.priceRange),e.provider&&(n.mainEntity.parentOrganization={"@type":"Organization",name:e.provider.name||"Lavelle Partners LLP",url:e.provider.url||"https://www.lavellepartners.ie/",telephone:e.provider.telephone||"+353 1 644 5800",email:e.provider.email||"[email protected]"},n.mainEntity.legalName=e.provider.name||"Lavelle Partners LLP"),e.specialty&&(n.mainEntity.serviceType=e.specialty,n.mainEntity.hasOfferCatalog||(n.mainEntity.hasOfferCatalog={"@type":"OfferCatalog",name:"Legal Services",itemListElement:[{"@type":"ListItem",position:1,item:{"@type":"Offer",itemOffered:{"@type":"Service",name:e.specialty}}}]})),e.specialty&&(n.mainEntity.serviceType=e.specialty,n.mainEntity.makesOffer||(n.mainEntity.makesOffer={"@type":"Offer",itemOffered:{"@type":"Service",name:e.specialty}})),e.address&&!Array.isArray(e.address)){let t={"@type":"Place",address:{"@type":"PostalAddress",...e.address}};
1e.address.telephone&&(t.telephone=e.address.telephone,delete t.address.telephone),n.mainEntity.location=t}if(e.address&&Array.isArray(e.address)&&(n.mainEntity.location=e.address.map(e=>{let t=e.addressRegion||e.address_region||"",a=e.postalCode||e.postal_code||e.postcode||e.eircode||t||"",n={"@type":"Place",address:{"@type":"PostalAddress",streetAddress:e.streetAddress||"",addressLocality:e.addressLocality||"",addressRegion:t,postalCode:a,addressCountry:e.addressCountry||""}};return e.telephone&&(n.telephone=e.telephone),e.geo?.latitude&&e.geo?.longitude&&(n.geo={"@type":"GeoCoordinates",latitude:e.geo.latitude,longitude:e.geo.longitude}),n})),e.geo&&!e.address)if(Array.isArray(e.geo))n.mainEntity.location=e.geo.map(e=>({"@type":"Place",geo:{"@type":"GeoCoordinates",...e}}));else{let t={"@type":"Place",geo:{"@type":"GeoCoordinates",...e.geo}};n.mainEntity.location=t}return e.openingHours&&Array.isArray(e.openingHours)&&(n.mainEntity.openingHoursSpecification=e.openingHours.map(e=>({"@type":"OpeningHoursSpecification",...e}))),e.serviceArea&&Array.isArray(e.serviceArea)&&(n.mainEntity.areaServed=e.serviceArea.map(e=>"string"==typeof e?e:{"@type":"GeoCircle",...e})),e.availableChannel&&Array.isArray(e.availableChannel)&&(n.mainEntity.contactPoint=e.availableChannel.map(e=>({"@type":"ContactPoint",name:e.name||"",url:e.serviceUrl||"",telephone:e.servicePhone||"",contactType:e.name||"Customer Service"}))),e.contactPoint&&Array.isArray(e.contactPoint)&&(n.mainEntity.contactPoint=e.contactPoint.map(e=>({"@type":"ContactPoint",...e}))),e.hasOfferCatalog&&Array.isArray(e.hasOfferCatalog)&&(n.mainEntity.hasOfferCatalog={"@type":"OfferCatalog",name:"Legal Services Catalog",itemListElement:e.hasOfferCatalog.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"Offer",itemOffered:{"@type":"Service",...e}}}))}),e.employees&&Array.isArray(e.employees)&&(n.mainEntity.employee=e.employees.map(e=>({"@type":"Person",...e}))),e.reviews&&Array.isArray(e.reviews)&&(n.mainEntity.review=e.reviews.map(e=>({"@type":"Review",...e}))),e.aggregateRating&&(n.mainEntity.aggregateRating={"@type":"AggregateRating",...e.aggregateRating}),t.textContent=JSON.stringify(n),()=>{let e=document.getElementById(a);e&&document.head.removeChild(e)}},[e,a])})(m?.component==="legal-service-specific-schema"?f:u),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.default,{}),e.content.content?.length?e.content.content.map(e=>{if(void 0===p.d[e.component])return null;let t=p.d[e.component];return(0,n.jsx)(t,{...e},e._uid)}):null,(0,r.K)(e.content.schemas)]})}}}]);
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.