1import{l as u,b as w,m as b}from"./ByksiL8Q.js";import{_ as v}from"./CZygebR5.js";import{r as P,a as $,b as j}from"./DDXwpYcU.js";import{a as B,r as C}from"./pbEI7UoE.js";import{j as N,y as a,K as m,ae as g,z as e,E as r,A as l,B as o,u as i,ab as c,F as d,D as y,I as V}from"./BqwoF_p2.js";const z={role:"list"},A={key:0,class:"relative pt-5"},D={key:0,class:"absolute inset-0 flex items-center","aria-hidden":"true"},E={key:1,class:"relative flex justify-start"},F={class:"pr-3 text-lg font-medium text-gray-900 bg-gray-50"},I={key:2,class:"relative flex justify-start"},L={class:"pr-3 text-lg font-semibold text-gray-900"},q={key:1,class:"py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4"},H={class:"mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-4"},K={key:0,class:"flex items-center flex-1 w-0"},O={class:"flex-1 w-0 ml-2"},S=["href","target"],G={key:1,class:"flex items-center flex-1 w-full"},J={class:"flex-1 w-full ml-2"},Q=["href","target"],R={class:"ml-3"},T={key:2,class:"w-full"},U={class:"w-full aspect-w-16 aspect-h-9"},W=["src"],X={key:3,class:"w-full"},Y={key:0,class:"relative flex justify-start"},Z={class:"text-xl font-bold text-gray-900"},M={key:4,class:"w-full pl-1 ml-6"},tt=N({__name:"MaterialModules",props:{modules:{type:Array,required:!0}},setup(p){const f=u(),{locale:n}=w();return(h,_)=>{const x=b,k=v;return e(),a("ul",z,[(e(!0),a(m,null,g(p.modules,t=>(e(),a("li",{key:t.id},[t.resources.length>0?(e(),a("div",A,[t.category.slug!=="egyedi-tartalom"?(e(),a("div",D,[..._[0]||(_[0]=[l("div",{class:"w-full border-t border-gray-300"},null,-1)])])):r("",!0),t.category.slug!=="egyedi-tartalom"?(e(),a("div",E,[l("span",F,o(t.category.title[i(n)]),1)])):t.title&&t.title[i(n)]?(e(),a("div",I,[l("span",L,o(t.title[i(n)]),1)])):r("",!0)])):r("",!0),t.resources.length>0?(e(),a("div",q,[l("dd",H,[l("ul",{role:"list",class:c({"border border-gray-200 rounded-md divide-y divide-gray-200":t.category.slug!=="egyedi-tartalom"})},[(e(!0),a(m,null,g(t.resources,s=>(e(),a("li",{key:s.id,class:"flex flex-wrap items-center justify-between py-3 pl-3 pr-4 text-base"},[s.category.slug==="link"?(e(),a("div",K,[d(i(P),{class:"w-5 h-5 text-gray-400 shrink-0","aria-hidden":"true"}),l("div",O,[s.category.slug==="link"?(e(),a("a",{key:0,href:t.isPaid?"":s.data,target:t.isPaid?"":"_blank",class:c(["float-left font-semibold cursor-pointer",t.isPaid?"cursor-not-allowed text-gray-400":"text-indigo-600 hover:text-morange-600"])},o(s.title[i(n)]),11,S)):r("",!0)])])):r("",!0),s.category.slug==="document"?(e(),a("div",G,[d(i(B),{class:"w-5 h-5 text-gray-400 shrink-0","aria-hidden":"true"}),l("div",J,[l("a",{href:t.isPaid?"":s.data,target:t.isPaid?"":"_blank",class:c(["float-left font-semibold cursor-pointer",t.isPaid?"cursor-not-allowed text-gray-400":"text-indigo-600 hover:text-morange-600"])},o(s.title[i(n)]),11,Q),t.isPaid?(e(),y(i($),{key:0,class:"float-left w-5 h-5 ml-4 text-gray-400 shrink-0"})):r("",!0),t.isPaid&&t.product?(e(),y(x,{key:1,to:i(f)(`/webshop/termekek/${t.product.category.slug}/${t.product.slug}`),class:"flex float-right text-indigo-600 hover:text-indigo-500"},{default:V(()=>[d(i(j),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"}),l("span",R,o(h.$t("webshop.buy")),1)]),_:1},8,["to"])):r("",!0)])])):s.category.slug==="video"?(e(),a("div",T,[d(i(C),{class:"w-5 h-5 mb-4 text-gray-400 shrink-0","aria-hidden":"true"}),l("div",U,[l("iframe",{src:s.data,frameborder:"0",allow:` 2 accelerometer; 3 autoplay; 4 clipboard-write; 5 encrypted-media; 6 gyroscope; 7 picture-in-picture; 8 `,allowfullscreen:""},null,8,W)])])):s.category.slug==="content"&&s.data[i(n)]?(e(),a("div",X,[s.title[i(n)]?(e(),a("div",Y,[l("span",Z,o(s.title[i(n)]),1)])):r("",!0),d(k,{content:s.data[i(n)]},null,8,["content"])])):r("",!0),s.description&&s.description[i(n)]?(e(),a("p",M,o(s.description[i(n)]),1)):r("",!0)]))),128))],2)])])):r("",!0)]))),128))])}}}),nt=Object.assign(tt,{__name:"MaterialModules"});export{nt as _};
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.