(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{408:function(e,t,c){"use strict";c.r(t),c.d(t,"preload",(function(){return n}));var b=c(0),s=c(5),l=c(6),j=c(4);function O(e,t,c){const b=e.slice();return b[6]=t[c],b}function a(e){let t,c,s,l,j,O,a,r,n,o,f=e[6].subject.value+"",h=e[6].predicate.value+"",d=e[6].object.value+"";return{c(){t=Object(b.z)("tr"),c=Object(b.z)("td"),s=Object(b.db)(f),l=Object(b.ab)(),j=Object(b.z)("td"),O=Object(b.db)(h),a=Object(b.ab)(),r=Object(b.z)("td"),n=Object(b.db)(d),o=Object(b.ab)(),this.h()},l(e){t=Object(b.n)(e,"TR",{});var i=Object(b.l)(t);c=Object(b.n)(i,"TD",{class:!0});var u=Object(b.l)(c);s=Object(b.p)(u,f),u.forEach(b.y),l=Object(b.o)(i),j=Object(b.n)(i,"TD",{class:!0});var p=Object(b.l)(j);O=Object(b.p)(p,h),p.forEach(b.y),a=Object(b.o)(i),r=Object(b.n)(i,"TD",{class:!0});var v=Object(b.l)(r);n=Object(b.p)(v,d),v.forEach(b.y),o=Object(b.o)(i),i.forEach(b.y),this.h()},h(){Object(b.h)(c,"class","svelte-m3q90x"),Object(b.h)(j,"class","svelte-m3q90x"),Object(b.h)(r,"class","svelte-m3q90x")},m(e,f){Object(b.I)(e,t,f),Object(b.f)(t,c),Object(b.f)(c,s),Object(b.f)(t,l),Object(b.f)(t,j),Object(b.f)(j,O),Object(b.f)(t,a),Object(b.f)(t,r),Object(b.f)(r,n),Object(b.f)(t,o)},p(e,t){1&t&&f!==(f=e[6].subject.value+"")&&Object(b.W)(s,f),1&t&&h!==(h=e[6].predicate.value+"")&&Object(b.W)(O,h),1&t&&d!==(d=e[6].object.value+"")&&Object(b.W)(n,d)},d(e){e&&Object(b.y)(t)}}}function r(e){let t,c,s,l,j,r,n,o,f,h,d,i,u,p,v,m,x,g,q;document.title=t="Description of "+e[2]+" ";let y=e[0].results.bindings,E=[];for(let t=0;t<y.length;t+=1)E[t]=a(O(e,y,t));return{c(){c=Object(b.ab)(),s=Object(b.z)("div"),l=Object(b.z)("h1"),j=Object(b.db)("Graph entries for: "),r=Object(b.db)(e[2]),n=Object(b.ab)(),o=Object(b.z)("table"),f=Object(b.z)("thead"),h=Object(b.z)("th"),d=Object(b.db)("subject"),i=Object(b.ab)(),u=Object(b.z)("th"),p=Object(b.db)("predicate"),v=Object(b.ab)(),m=Object(b.z)("th"),x=Object(b.db)("object"),g=Object(b.ab)(),q=Object(b.z)("tbody");for(let e=0;e<E.length;e+=1)E[e].c();this.h()},l(t){Object(b.S)('[data-svelte="svelte-1wfy8hw"]',document.head).forEach(b.y),c=Object(b.o)(t),s=Object(b.n)(t,"DIV",{class:!0});var O=Object(b.l)(s);l=Object(b.n)(O,"H1",{class:!0});var a=Object(b.l)(l);j=Object(b.p)(a,"Graph entries for: "),r=Object(b.p)(a,e[2]),a.forEach(b.y),n=Object(b.o)(O),o=Object(b.n)(O,"TABLE",{class:!0});var y=Object(b.l)(o);f=Object(b.n)(y,"THEAD",{});var z=Object(b.l)(f);h=Object(b.n)(z,"TH",{class:!0});var w=Object(b.l)(h);d=Object(b.p)(w,"subject"),w.forEach(b.y),i=Object(b.o)(z),u=Object(b.n)(z,"TH",{class:!0});var T=Object(b.l)(u);p=Object(b.p)(T,"predicate"),T.forEach(b.y),v=Object(b.o)(z),m=Object(b.n)(z,"TH",{class:!0});var D=Object(b.l)(m);x=Object(b.p)(D,"object"),D.forEach(b.y),z.forEach(b.y),g=Object(b.o)(y),q=Object(b.n)(y,"TBODY",{});var H=Object(b.l)(q);for(let e=0;e<E.length;e+=1)E[e].l(H);H.forEach(b.y),y.forEach(b.y),O.forEach(b.y),this.h()},h(){Object(b.h)(l,"class","text-center"),Object(b.h)(h,"class","svelte-m3q90x"),Object(b.h)(u,"class","svelte-m3q90x"),Object(b.h)(m,"class","svelte-m3q90x"),Object(b.h)(o,"class","font-small bg-light center svelte-m3q90x"),Object(b.h)(s,"class","content svelte-m3q90x")},m(e,t){Object(b.I)(e,c,t),Object(b.I)(e,s,t),Object(b.f)(s,l),Object(b.f)(l,j),Object(b.f)(l,r),Object(b.f)(s,n),Object(b.f)(s,o),Object(b.f)(o,f),Object(b.f)(f,h),Object(b.f)(h,d),Object(b.f)(f,i),Object(b.f)(f,u),Object(b.f)(u,p),Object(b.f)(f,v),Object(b.f)(f,m),Object(b.f)(m,x),Object(b.f)(o,g),Object(b.f)(o,q);for(let e=0;e<E.length;e+=1)E[e].m(q,null)},p(e,[c]){if(4&c&&t!==(t="Description of "+e[2]+" ")&&(document.title=t),1&c){let t;for(y=e[0].results.bindings,t=0;t<y.length;t+=1){const b=O(e,y,t);E[t]?E[t].p(b,c):(E[t]=a(b),E[t].c(),E[t].m(q,null))}for(;t<E.length;t+=1)E[t].d(1);E.length=y.length}},i:b.N,o:b.N,d(e){e&&Object(b.y)(c),e&&Object(b.y)(s),Object(b.x)(E,e)}}}async function n({params:e,query:t}){let c=s.a.backend+"/ontology/describe/"+e.slug;const b=await this.fetch(c),l=await b.json();if(200===b.status)return{sparql_result:l};this.error(b.status,l.message)}function o(e,t,c){let s;const{preloading:O,page:a,session:r}=Object(l.c)();Object(b.q)(e,a,(e=>c(3,s=e)));let{sparql_result:n}=t,o=s.params.slug;return Object(j.d)((async()=>{})),e.$$set=e=>{"sparql_result"in e&&c(0,n=e.sparql_result)},[n,a,o]}class f extends b.b{constructor(e){var t;super(),document.getElementById("svelte-m3q90x-style")||((t=Object(b.z)("style")).id="svelte-m3q90x-style",t.textContent=".content.svelte-m3q90x h2{font-size:1.4em;font-weight:500}.content.svelte-m3q90x pre{background-color:#f9f9f9;box-shadow:inset 1px 1px 5px rgba(0,0,0,0.05);padding:0.5em;border-radius:2px;overflow-x:auto}.content.svelte-m3q90x pre code{background-color:transparent;padding:0}.content.svelte-m3q90x ul{line-height:1.5}.content.svelte-m3q90x li{margin:0 0 0.5em 0}table.svelte-m3q90x{border-collapse:collapse}table.svelte-m3q90x,th.svelte-m3q90x,td.svelte-m3q90x{border:2px solid lightgray}td.svelte-m3q90x,th.svelte-m3q90x{padding:.35rem 3rem}",Object(b.f)(document.head,t)),Object(b.H)(this,e,o,r,b.U,{sparql_result:0})}}t.default=f}}]);