1"use strict";(self.webpackChunkWebsite=self.webpackChunkWebsite||[]).push([[7345],{37345:function(t,e,r){r.r(e),r.d(e,{compareEntities:function(){return p},default:function(){return y},getComparables:function(){return l},healthCheck:function(){return h}});var n=r(96044),a=r(806),i=r(69834),o=r(23256);const s=t=>{let{entityType:e,fragmentChain:r,attributes:n}=t;const a=n&&n.length>0?`&additional=${n.join("&additional=")}`:"";return(0,i.Jt)(`${o.Bs}/compare?type=${e}&c=${r}${a}`)},c=t=>{let{entityType:e}=t;return(0,i.Jt)(`${o.Bs}/comparables/${e.toLowerCase()}`)},u=()=>(0,i.Jt)(`${o.Bs}/health`);const p=async t=>{let{entityType:e,fragmentChain:r,attributes:i}=t;try{return(await s({entityType:e.toLowerCase(),fragmentChain:r,attributes:i})).content||[]}catch(t){return a.A.error("Compare Service - compareEntities response ]",t,{productArea:n.B.COMPARE}),[]}},l=async t=>{let{entityType:e}=t;try{return((await c({entityType:e})).content||[]).filter(t=>!t.isDefault)}catch(t){return a.A.error("Compare Service - getComparables response ]",t,{productArea:n.B.COMPARE}),[]}},h=u;var y={compareEntities:p,getComparables:l,healthCheck:u}}}]);
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.