1var P=Object.defineProperty,S=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var u=(t,e,r)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,s=(t,e)=>{for(var r in e||(e={}))k.call(e,r)&&u(t,r,e[r]);if(d)for(var r of d(e))C.call(e,r)&&u(t,r,e[r]);return t},p=(t,e)=>S(t,F(e));import{O as b,L as m,x,j as z,m as l,a2 as H,Q as L,R as V,a0 as B,cp as w,t as D,n as a,l as o,k as n,y as f,z as g,A as _}from"./entry-client-BrUM5sfG.js";import{a as G,C as I}from"./ProductGrid-CRPhLNvO.js";import{_ as K}from"./ProductDialog.vue_vue_type_script_setup_true_lang-COBiA-VV.js";import"./smileys-XwzYmprW.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./style-D2xq6T_O.js";import"./ContentPageCard-BryX7FIO.js";import"./createLucideIcon-BOGjAOEX.js";import"./widget-DlOM1wz-.js";import"./DialogTitle-D3DCYgda.js";import"./useForwardExpose-DvMoNgCR.js";import"./Primitive-DjG3avXY.js";import"./Presence-Dr_Sc5Zg.js";import"./FocusScope-BJZAYxwq.js";import"./Teleport-v4Vzsudd.js";import"./getActiveElement-FUKBWQwh.js";import"./useId-DyGJ2J4b.js";import"./VisuallyHidden-0oFzMYpb.js";import"./FaCircleNotch-8Vtj5frF.js";const N={name:"StoreEnterpriseSmileysProductFavoritesView",components:{CategoryHero:I,CategoryProductGrid:G,ProductDialog:K},computed:p(s(s(s({},m(D,{__:"trans"})),m(w,{productFavorites:"allProductFavorites"})),b({fetchingMenu:"store:fetch-menu"})),{hasProductFavorites(){return this.productFavorites.length>0},products(){const t=B();return this.productFavorites.reduce((e,r)=>{const i=t.byId(r);return i!==null&&e.push(i),e},[])}}),mounted(){const t=V();this.hasProductFavorites&&t.fetchMenu()},beforeRouteEnter(t,e){if(!L().isValid)return{name:"session-expired",params:{store:t.params.store}}}},R={class:"category"};function $(t,e,r,i,E,c){const h=a("CategoryHero"),v=a("CategoryProductGrid"),y=a("ProductDialog");return z(),x(H,null,{default:l(()=>[o("div",R,[n(h,f(g({title:"Lieblinge",description:"Hier findest du deine Lieblingsprodukte auf einen Blick. Füge mehr Produkte mit einem Klick aufs Herz hinzu."})),null,16),n(v,f(g({config:{entries:"ordered",columns:3,products:"withImage"},products:c.products,loading:c.hasProductFavorites&&t.fetchingMenu,available:!0})),{empty:l(()=>e[0]||(e[0]=[o("div",{class:"empty-card"},[o("div",{class:"empty-card-title"},"Keine Lieblinge?"),o("div",{class:"empty-card-copy"},[_(" Like deine Favoriten mit einem Klick aufs Herz und stelle dir hier"),o("br"),_(" deine Lieblingsprodukte zusammen. ")])],-1)])),_:1},16),n(y)])],void 0),_:1})}const ce=M(N,[["render",$],["__scopeId","data-v-05180204"]]);export{ce as default}; 2//# sourceMappingURL=ProductFavorites-DZ7TwS4C.js.map
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.