PageSourceSearch

https://di-volio.com/cz/_nuxt/DV2I_8-e.js

js di-volio.com collected 2026-10-05 05:35:20 UTC 2,956 bytes, 1 lines download raw bytes

1import{_ as A}from"./FXYoTY6c.js";import{aj as D,u as M,y as R,ag as U,U as O,c as u,o as a,d as o,h as n,w as v,g as t,_ as W,p as z,f as _,e as E,t as f,a6 as G,r as b,v as L}from"./K1b_ijTh.js";import{_ as q}from"./DoJpzkOO.js";import{u as H,b as J}from"./B1Fi2rw8.js";import{d as m}from"./XUID70n1.js";import"./BQguEG_I.js";import"./Zxf_Ata2.js";const K={class:"flex py-6 item"},Q={class:"h-24 w-24 flex-shrink-0 overflow-hidden rounded-md border border-neutral-200 relative"},X={class:"ml-4 flex flex-1 flex-col w-full"},Y={class:"flex flex-1 items-end justify-between text-sm"},Z={class:"flex p-1 rounded border hover:bg-neutral-100"},ee=["disabled"],te={key:0,class:"text-white bg-red-600 px-[2em] py-[0.3em] rounded"},oe={key:1,class:"flex"},se=["disabled"],re={__name:"FavoritesItem",props:["product","index"],setup(h){const{t:x}=M(),y=h,{product:e,index:s}=R(y),w=H(),{addToCart:k}=w,S=J(),{removeFromFavorites:C}=S,i=b(!1),d=b(!1),g=`${e.value.url}?source=sidebar_favorites`,c=G("isSidebarOpen"),{showSidebarWithMessage:F}=U(),P=()=>{c.value=!1,F()},$=async()=>{await C(e.value,d),m("remove_from_wishlist",{product:e.value,index:s.value,source:"sidebar_favorites",source_id:""})},j=async()=>{const l={name:"sidebar_favorites",id:""};await k(e.value,l,P,i),m("add_to_cart",{product:e.value,index:s.value,source:"sidebar_favorites",source_id:""})},B=()=>{t(e),t(s),t(i),t(d)},I=()=>{c.value=!1,m("select_item",{product:e.value,index:s.value,source:"sidebar_favorites",source_id:""})};return O(B),(l,r)=>{const T=A,p=W,N=q,V=L;return a(),u("li",K,[o("div",Q,[n(p,{to:g,onClick:I},{default:v(()=>[n(T,{product:t(e),styles:"h-full w-full object-contain object-center p-2",hideProductStatus:!0},null,8,["product"])]),_:1})]),o("div",X,[o("div",null,[n(p,{class:"block text-right text-sm font-semibold",href:t(e).href,onClick:r[0]||(r[0]=ae=>c.value=!1)},{default:v(()=>[E(f(t(e).name),1)]),_:1},8,["href"])]),t(e)?.offer?(a(),z(N,{key:0,class:"flex items-end justify-end scale-[.85] text-right w-full",price:t(e)?.offer?.price?parseFloat(t(e)?.offer?.price):9999,oldPrice:t(e)?.offer?.old_price?parseFloat(t(e)?.offer?.old_price):0,omnibusPrice:t(e)?.offer?.lowest_price_30_days?parseFloat(t(e)?.offer?.lowest_price_30_days):0},null,8,["price","oldPrice","omnibusPrice"])):_("",!0),o("div",Y,[o("div",Z,[o("button",{type:"button",class:"font-medium disabled:text-neutral-200 hover:text-error transition z-20",disabled:t(d),onClick:$},[r[1]||(r[1]=o("span",{class:"sr-only"},"Remove",-1)),n(V,{name:"tabler:trash",class:"w-5 h-5"})],8,ee)]),t(e)?.offer?_("",!0):(a(),u("p",te,f(l.$t("product.Unavailable")),1)),t(e)?.offer?(a(),u("div",oe,[o("button",{type:"button",disabled:t(i),class:"cta is-primary font-medium transition disabled:text-neutral-200 text-white bg-primary hover:bg-primary-dark py-2 px-4 rounded-md",onClick:j},f(t(x)("product.Add_to_cart")),9,se)])):_("",!0)])])])}}},fe=D(re,[["__scopeId","data-v-ed63b994"]]);export{fe 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.