/*! For license information please see 70738.3d69dcfb7b2612b21aa5.bundle.js.LICENSE.txt */
export const __webpack_esm_id__=70738;export const __webpack_esm_ids__=[70738,82380];export const __webpack_esm_modules__={82380(e,t,n){function o(e,t,n,o,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce(function(e,t){return e[t.name]=t.name,e},{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,t,r){n.set(o.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:t,jsonldLink:r}))},e.cancel=function(){t.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),t.close({currentMode:e.currentMode,link:e.link})},function(){const t=n.get(o.JSONLD_EXPORT_SETTINGS);t&&(e.currentMode=e.JSONLDModes.find(e=>e.name===t.jsonldFormName),e.link=t.jsonldLink)}()}n.d(t,{V:()=>o}),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",o),o.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]},47775(e,t,n){var o,r=r||function(e){if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r=e.webkitRequestFileSystem,a=e.requestFileSystem||r||e.mozRequestFileSystem,i=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},c="application/octet-stream",s=0,d=function(t){var o=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?o():setTimeout(o,500)},l=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var r=e["on"+t[o]];if("function"==typeof r)try{r.call(e,n||e)}catch(e){i(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},f=function(t,i){t=u(t);var f,m,p,w=this,S=t.type,N=!1,O=function(){l(w,"writestart progress write writeend".split(" "))},g=function(){!N&&f||(f=n().createObjectURL(t)),m?m.location.href=f:null==e.open(f,"_blank")&&"undefined"!=typeof safari&&(e.location.href=f),w.readyState=w.DONE,O(),d(f)},L=function(e){return function(){if(w.readyState!==w.DONE)return e.apply(this,arguments)}},k={create:!0,exclusive:!1};if(w.readyState=w.INIT,i||(i="download"),o)return f=n().createObjectURL(t),o.href=f,o.download=i,void setTimeout(function(){var e,t;e=o,t=new MouseEvent("click"),e.dispatchEvent(t),O(),d(f),w.readyState=w.DONE});e.chrome&&S&&S!==c&&(p=t.slice||t.webkitSlice,t=p.call(t,0,t.size,c),N=!0),r&&"download"!==i&&(i+=".download"),(S===c||r)&&(m=e),a?(s+=t.size,a(e.TEMPORARY,s,L(function(e){e.root.getDirectory("saved",k,L(function(e){var n=function(){e.getFile(i,k,L(function(e){e.createWriter(L(function(n){n.onwriteend=function(t){m.location.href=e.toURL(),w.readyState=w.DONE,l(w,"writeend",t),d(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&g()},"writestart progress write abort".split(" ").forEach(function(e){n["on"+e]=w["on"+e]}),n.write(t),w.abort=function(){n.abort(),w.readyState=w.DONE},w.readyState=w.WRITING}),g)}),g)};e.getFile(i,{create:!1},L(function(e){e.remove(),n()}),L(function(e){e.code===e.NOT_FOUND_ERR?n():g()}))}),g)}),g)):g()},m=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(u(e),t)}:(m.abort=function(){var e=this;e.readyState=e.DONE,l(e,"abort")},m.readyState=m.INIT=0,m.WRITING=1,m.DONE=2,m.error=m.onwritestart=m.onprogress=m.onwrite=m.onabort=m.onerror=m.onwriteend=null,function(e,t){return new f(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);e.exports?e.exports.saveAs=r:null!==n.amdD&&null!=n.amdO&&(void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o))}};
//# sourceMappingURL=70738.3d69dcfb7b2612b21aa5.bundle.js.map