1import{M as p,z as l,S as c,C as d}from"./storefrontApp.CsApItsi.min.js";import{w as u,$ as h,t as _}from"./chunk-vendor-lit.NvY0u02.js";import{D as n}from"./chunk-description_matcher_events.BjENLIz.js";import{S as m}from"./chunk-storefront_base_lit_element.lX23Jvc.js";import"./chunk-vendor-di.Bh23gdA.js";import"./chunk-storefront_settings_constants.DIF02Gz.js";import"./chunk-vendor-rxjs.Dp7kflo.js";import"./chunk-vendor-lodash.CWHFt7Z.js";import"./chunk-vendor-phoenix.cdKS79L.js";var E=Object.defineProperty,S=(s,t,i,D)=>{for(var e=void 0,r=s.length-1,o;r>=0;r--)(o=s[r])&&(e=o(t,i,e)||e);return e&&E(t,i,e),e};class a extends m{constructor(){super(),this._doesFullDescriptionExist=!1,this._showLinkToFullDescription=()=>{this._doesFullDescriptionExist=!0},this._messageStorageApi=this.getApiSync(p)}static{this.moduleName=l.component}connectedCallback(){super.connectedCallback();const t=this._messageStorageApi.getChannelMessages(n.fullDescriptionRendered);t&&t.length>0&&this._showLinkToFullDescription(),this.eventBus.on(n.fullDescriptionRendered,this._showLinkToFullDescription)}render(){return h`${this.getSlot("short-description")} ${this._doesFullDescriptionExist?this.getSlot("full-description-link"):u}`}}S([_()],a.prototype,"_doesFullDescriptionExist");class P extends c{static{this.featureName=l.feature}init(){return{cores:[{type:d,instance:a}]}}}export{P as ProductShortDescriptionInitializer};
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.