(window.webpackJsonp=window.webpackJsonp||[]).push([[29,66,152,160,161,191,193,236],{78:function(e,n,r){"use strict";r.r(n),r.d(n,"EventDataType",(function(){return t}));const t={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},83:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return t}));const t={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},84:function(e,n,r){"use strict";r.r(n),r.d(n,"TabQueryModel",(function(){return t}));class t{constructor(e,n,r,t=!0){this.queryName=e,this.query=n,this.owner=r,this.isPublic=t}}},85:function(e,n,r){"use strict";r.r(n),r.d(n,"QueryType",(function(){return t}));const t={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},86:function(e,n,r){"use strict";r.r(n),r.d(n,"VIEW_SPARQL_EDITOR",(function(){return t}));const t="graphdb-workbench-sparql-editor"},97:function(e,n,r){"use strict";r.r(n),r.d(n,"buildQueryModel",(function(){return u})),r.d(n,"savedQueriesResponseMapper",(function(){return a})),r.d(n,"savedQueryResponseMapper",(function(){return o})),r.d(n,"queryPayloadFromEvent",(function(){return s}));var t=r(84);const u=(e,n,r,u)=>new t.TabQueryModel(n,e,r,u),a=e=>e&&e.data?e.data.map?e.data.map(e=>u(e.body,e.name,e.owner,e.shared)):[u(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],o=e=>{const n=a(e);return n.length?n[0]:null},s=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);