1import{A as e,H as t,Ht as n,Mn as r,P as i,Pt as a,Z as o,bt as s,it as c,tt as l,un as u}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{t as d}from"./WebBlueConicRecommendations-BWqFQ5mF.mjs";t(),a(),u();var f={__name:`BlueconicRecommendationsBlock`,props:{blockId:{type:String,required:!0},data:{type:Object,default:()=>{}},settings:{type:Object,required:!0,validator(e){return[`numberOfItems`,`method`].every(t=>t in e)}},page:{type:Object,required:!0,validator(e){return[`pageData`].every(t=>t in e)}}},emits:[`show`,`hide`],setup(t,{emit:a}){let u=a;t.settings.method===`event`&&u(`hide`);let f=s(`blueConic`),p=n(null);function m(){u(`show`)}l(()=>{p.value=new MutationObserver(m),p.value.observe(f.value,{childList:!0,subtree:!0})}),o(()=>{p.value&&p.value.disconnect()});function h(){return t.page.pageData.type===`Company`?t.page.pageData.name??``:``}return(n,a)=>{let o=d;return c(),e(`div`,{ref_key:`blueConic`,ref:f,class:`blueconic-recommendations`},[i(o,{method:t.settings?.method??`api`,"block-id":t.blockId,style:r(t.settings?.style??`standard`),"number-of-columns":t.settings?.numberOfColumns??1,"number-of-items":t.settings?.numberOfItems,"show-summary":!!t.settings?.showSummary,"teaser-display":t.settings?.teaserDisplay??`truncated`,"show-date":!!t.settings?.showDate,"image-position":t.settings?.imagePosition,"page-company-name":h(),"show-sponsored-label":t.settings?.showSponsoredLabel??!1,items:t.settings?.method===`api`?t.data?.items:[],"native-ad-slot-index":t.settings.nativeXAdSlotIndex??0,catalogs:t.settings.catalogs,"recommendation-type":t.settings.recommendationType},null,8,[`method`,`block-id`,`style`,`number-of-columns`,`number-of-items`,`show-summary`,`teaser-display`,`show-date`,`image-position`,`page-company-name`,`show-sponsored-label`,`items`,`native-ad-slot-index`,`catalogs`,`recommendation-type`])],512)}}};export{f as default};
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.