1import{$ as o,e as u,d as n,bY as s,aI as c}from"./BSk9Edm7.js";function f(t){const e=t.customData;if(!e||typeof e!="object")return;const r=e[c];return typeof r=="string"&&r.length>0?r:void 0}function m(t,e){return!(!t||t.length<=1||e?.excludeServiceGroups&&s(t))}function d(t){const e=new Set;return t.filter(r=>e.has(r.variant.id)?!1:(e.add(r.variant.id),!0))}function p(t){const e=t.find(r=>r.itemGroup?.isMainItem);for(const r of e?[e,...t]:t){const i=f(r);if(i)return i}if(e){const r=n(e.product,"masterTitle");if(r)return r}for(const r of t){const i=n(r.product,"masterTitle");if(i)return i}}function b(t,e){const r=o(t.attributes,"name")?.label;if(r)return r;const i=u(t,e),a=n(t,"masterTitle");return a&&i?`${a} | ${i}`:i||a||"Product"}function T(t){const e=n(t,"variantArticleNumber");return e?`Art. ${e}`:""}export{T as a,p as b,d as c,b as g,m as i};
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.