PageSourceSearch

https://poundpig.ru/_nuxt/Dp3cDXBX.js

js poundpig.ru collected 2026-10-04 23:15:30 UTC 6,024 bytes, 1 lines download raw bytes

1import{_ as w}from"./Bz8WQO_2.js";import{_ as B}from"./CYZfP9Nn.js";import{u as j,w as N,a as C,c as r,b as e,d as t,F as _,e as $,t as l,r as m,f as i,g as z,h,i as F,o,n as V}from"./CI0_7t_8.js";import{u as R}from"./BUAzMAA-.js";import{u as G}from"./CMyfdHqH.js";const P={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"},q={key:0,class:"text-center py-16"},E={class:"flex items-center gap-2 text-sm text-gray-500 mb-8 flex-wrap"},M={class:"text-gray-400 line-clamp-1"},S={class:"grid lg:grid-cols-2 gap-8 mb-12"},D={class:"space-y-3"},U={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-4 aspect-square flex items-center justify-center"},A=["src","alt"],H={key:0,class:"grid grid-cols-4 sm:grid-cols-5 gap-2"},I=["onClick"],L=["src","alt"],W={class:"space-y-5"},J={class:"flex items-center gap-3"},K={class:"text-sm font-semibold text-gray-500"},O={class:"text-2xl md:text-3xl font-extrabold text-gray-900 leading-tight"},Q={key:0,class:"text-sm text-gray-500"},T={class:"flex items-baseline gap-3"},X={class:"text-3xl font-extrabold text-gray-900"},Y={key:0,class:"text-lg text-gray-400 line-through"},Z={class:"grid grid-cols-2 gap-3 text-sm"},tt={key:0,class:"bg-gray-50 rounded-xl p-3"},et={class:"font-semibold text-gray-800"},st={key:1,class:"bg-gray-50 rounded-xl p-3"},ot={class:"font-semibold text-gray-800"},rt={key:2,class:"bg-gray-50 rounded-xl p-3"},at={class:"font-semibold text-gray-800"},lt={key:3,class:"bg-gray-50 rounded-xl p-3 col-span-2"},nt={class:"font-semibold text-gray-800"},it={key:2,class:"text-gray-600 leading-relaxed whitespace-pre-line"},dt={key:0},ct={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},ut=["href"],gt={class:"aspect-square bg-gray-50 p-2"},xt=["src","alt"],_t={class:"p-3"},pt={class:"text-sm font-semibold text-gray-800 line-clamp-2 min-h-[2.5rem]"},mt={class:"mt-1 font-bold text-gray-900"},Bt={__name:"[slug]",async setup(ht){let c,p;const y=j(),f=h(()=>String(y.params.slug||"")),{data:u,error:b}=([c,p]=N(()=>R(()=>`/api/geox/product/${f.value}`,{server:!0},"$EWVk_tFVRB")),c=await c,p(),c),s=h(()=>u.value?.product),g=F("");C(()=>{s.value?.picture&&(g.value=s.value.picture)}),G(s,d=>`/brand/geox/tovar/${d}/`,"Каталог оригинальной обуви Geox с фото и ценами. Кроссовки, ботинки и лоферы из Rendez-Vous.");function x(d){return d==null||Number.isNaN(Number(d))?"":new Intl.NumberFormat("ru-RU",{style:"currency",currency:"RUB",maximumFractionDigits:0}).format(Number(d))}return(d,a)=>{const v=w;return o(),r("div",P,[e(b)?(o(),r("div",q,[...a[0]||(a[0]=[t("h1",{class:"text-2xl font-bold text-gray-800 mb-4"},"Товар не найден",-1),t("a",{href:"/brand/geox/",class:"text-indigo-600 font-semibold"},"← К каталогу Geox",-1)])])):e(u)?.product?(o(),r(_,{key:1},[t("nav",E,[a[1]||(a[1]=$('<a href="/" class="hover:text-indigo-600 transition-colors">Главная</a><svg class="w-4 h-4 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg><a href="/brand/" class="hover:text-indigo-600 transition-colors">Бренды</a><svg class="w-4 h-4 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg><a href="/brand/geox/" class="hover:text-indigo-600 transition-colors">Geox</a><svg class="w-4 h-4 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',6)),t("span",M,l(e(s).name),1)]),t("div",S,[t("div",D,[t("div",U,[t("img",{src:e(g),alt:e(s).name,class:"max-w-full max-h-full object-contain"},null,8,A)]),e(s).pictures.length>1?(o(),r("div",H,[(o(!0),r(_,null,m(e(s).pictures,(n,k)=>(o(),r("button",{key:n,type:"button",class:V(["aspect-square rounded-xl border bg-white p-1 overflow-hidden",n===e(g)?"border-indigo-500":"border-gray-100"]),onClick:yt=>g.value=n},[t("img",{src:n,alt:`${e(s).name} ${k+1}`,class:"w-full h-full object-contain",loading:"lazy"},null,8,L)],10,I))),128))])):i("",!0)]),t("div",W,[t("div",J,[a[2]||(a[2]=t("img",{src:B,alt:"Geox",class:"w-12 h-12 object-contain"},null,-1)),t("span",K,l(e(s).vendor),1)]),t("h1",O,l(e(s).name),1),e(s).category_name?(o(),r("p",Q,l(e(s).category_name),1)):i("",!0),t("div",T,[t("span",X,l(x(e(s).price)),1),e(s).old_price?(o(),r("span",Y,l(x(e(s).old_price)),1)):i("",!0)]),t("dl",Z,[e(s).articul?(o(),r("div",tt,[a[3]||(a[3]=t("dt",{class:"text-gray-400"}
1,"Артикул",-1)),t("dd",et,l(e(s).articul),1)])):i("",!0),e(s).color?(o(),r("div",st,[a[4]||(a[4]=t("dt",{class:"text-gray-400"},"Цвет",-1)),t("dd",ot,l(e(s).color),1)])):i("",!0),e(s).gender?(o(),r("div",rt,[a[5]||(a[5]=t("dt",{class:"text-gray-400"},"Пол",-1)),t("dd",at,l(e(s).gender),1)])):i("",!0),e(s).size?(o(),r("div",lt,[a[6]||(a[6]=t("dt",{class:"text-gray-400"},"Размеры",-1)),t("dd",nt,l(e(s).size),1)])):i("",!0)]),e(s).has_shop?(o(),z(v,{key:1,label:"Купить оригинал",class:"inline-flex items-center justify-center w-full sm:w-auto px-8 py-3.5 rounded-xl bg-slate-900 hover:bg-black text-white text-base font-bold transition-colors shadow-sm"})):i("",!0),e(s).description?(o(),r("p",it,l(e(s).description),1)):i("",!0)])]),e(u).related?.length?(o(),r("div",dt,[a[7]||(a[7]=t("h2",{class:"text-xl font-bold text-gray-900 mb-5"},"Похожие товары",-1)),t("div",ct,[(o(!0),r(_,null,m(e(u).related,n=>(o(),r("a",{key:n.id,href:`/brand/geox/tovar/${n.slug}/`,class:"group bg-white rounded-2xl border border-gray-100 shadow-sm hover:shadow-md overflow-hidden transition-all"},[t("div",gt,[n.picture?(o(),r("img",{key:0,src:n.picture,alt:n.name,class:"w-full h-full object-contain",loading:"lazy"},null,8,xt)):i("",!0)]),t("div",_t,[t("h3",pt,l(n.name),1),t("p",mt,l(x(n.price)),1)])],8,ut))),128))])])):i("",!0)],64)):i("",!0)])}}};export{Bt 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.