1import{f as j}from"../chunks/BpDRo4U9.js";import{f as d,a as l,c as A}from"../chunks/eJSZ4Lup.js";import{p as T,a as w,e as F,s as _,c as v,aJ as K,r as p,f as x}from"../chunks/CxBxT_bf.js";import{i as g}from"../chunks/DZwSF9KH.js";import{h as E}from"../chunks/Bhw9SD66.js";import{T as M}from"../chunks/BDLabqPY.js";import{A as O}from"../chunks/DcWfpFTb.js";async function S({fetch:c,params:e,parent:s}){await s();try{const{terms:a}=await j("/akk/load_terms",{},["terms"],{fetchLib:c,showErrorToasts:!1}),t=e.tid||null;if(t&&Array.isArray(a)){const m=a.find(f=>f.term_id===t);m&&(m.open=!0)}return{terms:a,tid:t,loaded:!0}}catch(a){return console.error("Error loading terms:",a),{terms:[],tid:null,loaded:!1,error:a.message}}}const I=Object.freeze(Object.defineProperty({__proto__:null,load:S},Symbol.toStringTag,{value:"Module"}));var z=d('<div class="terms"><!></div>'),B=d("<p>Nincsenek elérhetÅ fogalmak.</p>"),D=d("<p>Betöltés...</p>"),J=d('<div class="terms-parent svelte-126nt1l"><!> <div class="container terms-body svelte-126nt1l"><h1 class="heading svelte-126nt1l">Fogalomtár</h1> <!></div></div>');function Q(c,e){T(e,!0);var s=J();E("126nt1l",r=>{F(()=>{K.title="Magyar ÃllampapÃr - Fogalomtár"})});var a=v(s);M(a,{image:"/kepek/fejlec/2021/fogalomtar-1440x300.jpg",alt:"Fogalomtár"});var t=_(a,2),m=_(v(t),2);{var f=r=>{var n=A(),u=x(n);{var y=o=>{var i=z(),k=v(i);O(k,{idKey:"term_id",get items(){return e.data.terms},headKey:"term_name",bodyKey:"description"}),p(i),l(o,i)},b=o=>{var i=B();l(o,i)};g(u,o=>{e.data.terms.length>0?o(y):o(b,-1)})}l(r,n)},h=r=>{var n=D();l(r,n)};g(m,r=>{e.data.loaded?r(f):r(h,-1)})}p(t),p(s),l(c,s),w()}export{Q as component,I as universal};
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.