1import{a as x,b}from"./CkEJIH8z.js";import C from"./CcphXeqg.js";import{c as s,o as e,d as o,y as B,U as N,g as n,h as R,w as a,F as p,q as h,p as r,f as u,z as V,t as i,C as $}from"./K1b_ijTh.js";import{Q as j,V as D,N as F}from"./Cd6vnrSW.js";import"./BV8R5Bpk.js";import"./D7seIQ_o.js";import"./BQguEG_I.js";import"./BU96DBHG.js";import"./XUID70n1.js";import"./F-cZlZ27.js";import"./CQoHp_LM.js";function z(l,m){return e(),s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[o("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5 12h14"})])}function M(l,m){return e(),s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[o("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}const O={class:"divide-y divide-neutral-200 border-t border-neutral-200 mt-6"},P={key:0},U={class:"ml-6 flex items-center"},q={key:0,role:"list",class:"list-none p-0"},A={key:1},E={key:1,role:"list",class:"list-none p-0"},I={key:2,role:"list",class:"list-none p-0"},L={class:"py-3 px-0"},te={__name:"Dropdown",props:["product"],emits:["changeIsReviewFormOpen"],setup(l,{emit:m}){const v=l,{product:c}=B(v);return N(()=>{n(c)}),(f,Q)=>{const w=x,k=b,y=C,g=$;return e(),s("div",O,[R(g,null,{default:a(()=>[(e(!0),s(p,null,h(n(c)?.details,t=>(e(),r(n(F),{as:"div",key:t?.name},{default:a(({open:d})=>[t.name!=="gratis"?(e(),s("div",P,[o("h3",null,[t?.name!=="gratis"?(e(),r(n(j),{key:0,class:"group relative flex w-full items-center justify-between py-6 pl-4 text-left"},{default:a(()=>[o("span",{class:V([d?"text-primary":"text-neutral-900","text-sm font-medium transition"])},i(t?.display_name)+" "+i(t?.name==="reviews"?"("+t.content.length+")":null),3),o("span",U,[d?(e(),r(n(z),{key:1,class:"block h-6 w-6","aria-hidden":"true"})):(e(),r(n(M),{key:0,class:"block h-6 w-6 text-neutral-400 group-hover:text-neutral-500","aria-hidden":"true"}))])]),_:2},1024)):u("",!0)]),d?(e(),r(n(D),{key:0,as:"div",class:"prose prose-sm max-w-full pb-6"},{default:a(()=>[t.name==="reviews"?(e(),s("div",q,[t?.content&&t?.content.length>0?(e(),r(w,{key:0,reviews:t?.content,avgRating:n(c).rating},null,8,["reviews","avgRating"])):(e(),s("span",A,i(f.$t("product.No_reviews_found")),1))])):t.name==="videos"?(e(),s("div",E,[(e(!0),s(p,null,h(t?.content,_=>(e(),r(k,{key:_.url,video:_},null,8,["video"]))),128))])):t.name!=="attributes"&&t.name!=="videos"?(e(),s("ul",I,[o("li",L,i(t?.content),1)])):(e(),r(y,{key:3,options:t?.content},null,8,["options"]))]),_:2},1024)):u("",!0)])):u("",!0)]),_:2},1024))),128))]),_:1})])}}};export{te 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.