webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
Nodes: "+ye.nodes().length+"
Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r