diff --git a/dist/neovis-without-dependencies.js b/dist/neovis-without-dependencies.js index 7312635..774d008 100644 --- a/dist/neovis-without-dependencies.js +++ b/dist/neovis-without-dependencies.js @@ -1,2 +1,2 @@ -!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime-corejs3/core-js/get-iterator"),require("@babel/runtime-corejs3/core-js/get-iterator-method"),require("@babel/runtime-corejs3/core-js-stable/array/from"),require("@babel/runtime-corejs3/core-js-stable/instance/slice"),require("@babel/runtime-corejs3/core-js-stable/object/define-property"),require("@babel/runtime-corejs3/core-js-stable/object/define-properties"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor"),require("@babel/runtime-corejs3/core-js-stable/instance/filter"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.function.name.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("@babel/runtime-corejs3/core-js-stable/weak-map"),require("@babel/runtime-corejs3/core-js-stable/set-timeout"),require("@babel/runtime-corejs3/core-js-stable/promise"),require("@babel/runtime-corejs3/core-js-stable/object/values"),require("@babel/runtime-corejs3/core-js-stable/instance/map"),require("@babel/runtime-corejs3/core-js-stable/instance/concat"),require("@babel/runtime-corejs3/core-js-stable/array/is-array"),require("@babel/runtime-corejs3/helpers/typeof"),require("@babel/runtime-corejs3/regenerator"),require("@babel/runtime-corejs3/core-js-stable/instance/for-each"),require("regenerator-runtime/runtime.js"),require("@babel/runtime-corejs3/helpers/asyncToGenerator"),require("@babel/runtime-corejs3/core-js-stable/object/keys"),require("@babel/runtime-corejs3/helpers/classCallCheck"),require("@babel/runtime-corejs3/helpers/createClass"),require("@babel/runtime-corejs3/helpers/defineProperty"),require("@babel/runtime-corejs3/helpers/classPrivateFieldSet"),require("@babel/runtime-corejs3/helpers/classPrivateFieldGet"),require("@babel/runtime-corejs3/core-js-stable/symbol"),require("neo4j-driver"),require("vis-network/standalone"),require("deepmerge")):"function"==typeof define&&define.amd?define(["@babel/runtime-corejs3/core-js/get-iterator","@babel/runtime-corejs3/core-js/get-iterator-method","@babel/runtime-corejs3/core-js-stable/array/from","@babel/runtime-corejs3/core-js-stable/instance/slice","@babel/runtime-corejs3/core-js-stable/object/define-property","@babel/runtime-corejs3/core-js-stable/object/define-properties","@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors","@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor","@babel/runtime-corejs3/core-js-stable/instance/filter","@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols","core-js/modules/es.array.iterator.js","core-js/modules/es.function.name.js","core-js/modules/es.object.to-string.js","core-js/modules/es.promise.js","core-js/modules/es.string.iterator.js","core-js/modules/web.dom-collections.iterator.js","@babel/runtime-corejs3/core-js-stable/weak-map","@babel/runtime-corejs3/core-js-stable/set-timeout","@babel/runtime-corejs3/core-js-stable/promise","@babel/runtime-corejs3/core-js-stable/object/values","@babel/runtime-corejs3/core-js-stable/instance/map","@babel/runtime-corejs3/core-js-stable/instance/concat","@babel/runtime-corejs3/core-js-stable/array/is-array","@babel/runtime-corejs3/helpers/typeof","@babel/runtime-corejs3/regenerator","@babel/runtime-corejs3/core-js-stable/instance/for-each","regenerator-runtime/runtime.js","@babel/runtime-corejs3/helpers/asyncToGenerator","@babel/runtime-corejs3/core-js-stable/object/keys","@babel/runtime-corejs3/helpers/classCallCheck","@babel/runtime-corejs3/helpers/createClass","@babel/runtime-corejs3/helpers/defineProperty","@babel/runtime-corejs3/helpers/classPrivateFieldSet","@babel/runtime-corejs3/helpers/classPrivateFieldGet","@babel/runtime-corejs3/core-js-stable/symbol","neo4j-driver","vis-network/standalone","deepmerge"],r):"object"==typeof exports?exports.NeoVis=r(require("@babel/runtime-corejs3/core-js/get-iterator"),require("@babel/runtime-corejs3/core-js/get-iterator-method"),require("@babel/runtime-corejs3/core-js-stable/array/from"),require("@babel/runtime-corejs3/core-js-stable/instance/slice"),require("@babel/runtime-corejs3/core-js-stable/object/define-property"),require("@babel/runtime-corejs3/core-js-stable/object/define-properties"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor"),require("@babel/runtime-corejs3/core-js-stable/instance/filter"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.function.name.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("@babel/runtime-corejs3/core-js-stable/weak-map"),require("@babel/runtime-corejs3/core-js-stable/set-timeout"),require("@babel/runtime-corejs3/core-js-stable/promise"),require("@babel/runtime-corejs3/core-js-stable/object/values"),require("@babel/runtime-corejs3/core-js-stable/instance/map"),require("@babel/runtime-corejs3/core-js-stable/instance/concat"),require("@babel/runtime-corejs3/core-js-stable/array/is-array"),require("@babel/runtime-corejs3/helpers/typeof"),require("@babel/runtime-corejs3/regenerator"),require("@babel/runtime-corejs3/core-js-stable/instance/for-each"),require("regenerator-runtime/runtime.js"),require("@babel/runtime-corejs3/helpers/asyncToGenerator"),require("@babel/runtime-corejs3/core-js-stable/object/keys"),require("@babel/runtime-corejs3/helpers/classCallCheck"),require("@babel/runtime-corejs3/helpers/createClass"),require("@babel/runtime-corejs3/helpers/defineProperty"),require("@babel/runtime-corejs3/helpers/classPrivateFieldSet"),require("@babel/runtime-corejs3/helpers/classPrivateFieldGet"),require("@babel/runtime-corejs3/core-js-stable/symbol"),require("neo4j-driver"),require("vis-network/standalone"),require("deepmerge")):e.NeoVis=r(e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0])}(self,(function(e,r,t,n,o,s,i,a,c,l,u,b,d,j,p,f,v,h,m,y,g,_,x,k,q,w,O,E,N,S,C,A,T,L,P,I,F,V){return(()=>{"use strict";var D={625:(e,r,t)=>{t.r(r),t.d(r,{NEOVIS_ADVANCED_CONFIG:()=>xe,NEOVIS_DEFAULT_CONFIG:()=>_e,default:()=>we});var n=t(615),o=t.n(n),s=t(465),i=t.n(s),a=t(915),c=t.n(a),l=t(921),u=t.n(l),b=t(219),d=t.n(b),j=t(86),p=t.n(j),f=t(105),v=t.n(f),h=t(382),m=t.n(h),y=t(344),g=t.n(y),_=t(708),x=t.n(_),k=(t(441),t(301),t(853),t(701),t(259),t(182),t(602)),q=t.n(k),w=t(952),O=t.n(w),E=t(936),N=t.n(E),S=t(280),C=t.n(S),A=t(434),T=t.n(A),L=t(192),P=t.n(L),I=t(6),F=t.n(I),V=t(418),D=t.n(V),M=t(398),R=t.n(M),U=t(207),G=t.n(U),H=(t(474),t(764)),W=t.n(H),z=t(322),B=t.n(z),J=t(698),Q=t.n(J),Y=t(938),$=t.n(Y),K=t(845),X=t.n(K),Z=t(369),ee=t.n(Z),re=t(893),te=t.n(re),ne=t(673),oe=t.n(ne),se=t(235),ie=t.n(se),ae=t(903),ce={neo4j:{initialQuery:"MATCH (n) WHERE exists(n.pagerank)\n WITH (n), RAND() AS random\n ORDER BY random LIMIT 3000\n OPTIONAL MATCH (n)-[r]-(m)\n //WITH n,r,m WHERE exists(n.pagerank) AND exists(m.pagerank) AND exists(m.community)\n RETURN n, r, m;",neo4jUri:"bolt://localhost:7687",neo4jUser:"neo4j",neo4jPassword:"neo4j",encrypted:"ENCRYPTION_OFF",trust:"TRUST_ALL_CERTIFICATES"},visJs:{nodes:{font:{size:26,strokeWidth:7},scaling:{}},edges:{arrows:{to:{enabled:!1}},length:200},layout:{improvedLayout:!1,hierarchical:{enabled:!1,sortMethod:"hubsize"}},physics:{adaptiveTimestep:!0,stabilization:{iterations:200,fit:!0}}}};function le(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,b=!1;return{s:function(){t=o()(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){b=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(b)throw a}}}}(this._handlers[e]);try{for(n.s();!(t=n.n()).done;)(0,t.value)(r)}catch(e){n.e(e)}finally{n.f()}}}]),e}(),fe=t(53),ve=t.n(fe);function he(e,r){var t;if(void 0===oe()||null==i()(e)){if(F()(e)||(t=function(e,r){var t;if(e){if("string"==typeof e)return me(e,r);var n=u()(t=Object.prototype.toString.call(e)).call(t,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?c()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,s=function(){};return{s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,b=!1;return{s:function(){t=o()(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){b=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(b)throw a}}}}function me(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t1&&void 0!==arguments[1]?arguments[1]:"log";("log"!==r||this._config.console_debug)&&console[r](e)}},{key:"_init",value:function(e){var r,t,n,o,s,i,a,c,l,u,b;if(e.labels&&e.labels[_e])for(var d=0,j=B()(e.labels);d1){var n,o="".concat(e,":
    "),s=he(r);try{for(s.s();!(n=s.n()).done;){var i=n.value;o+="
  • ".concat(i,"
  • ")}}catch(e){s.e(e)}finally{s.f()}return o+"
"}return P()(t="".concat(e,": ")).call(t,r,"
")}},{key:"render",value:function(e){var r,t=this,n=0,o=e||this._query,s=this._driver.session(this._database&&{database:this._database}),i=[];s.run(o,{limit:30}).subscribe({onNext:function(e){var r;n++,t._consoleLog("CLASS NAME"),t._consoleLog(e&&e.constructor.name),t._consoleLog(e);var o=T()(r=C()(e.toObject())).call(r,function(){var e=W()(R().mark((function e(r){var n,o,s,i,a,c,l,u,b,d,j,p;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t._consoleLog("Constructor:"),t._consoleLog(r&&r.constructor.name),!(r instanceof ie().types.Node)){e.next=9;break}return e.next=5,t.buildNodeVisObject(r);case 5:n=e.sent;try{t._data.nodes.update(n)}catch(e){t._consoleLog(e,"error")}e.next=89;break;case 9:if(!(r instanceof ie().types.Relationship)){e.next=16;break}return e.next=12,t.buildEdgeVisObject(r);case 12:o=e.sent,t._data.edges.update(o),e.next=89;break;case 16:if(!(r instanceof ie().types.Path)){e.next=59;break}return t._consoleLog("PATH"),t._consoleLog(r),e.next=21,t.buildNodeVisObject(r.start);case 21:return s=e.sent,e.next=24,t.buildNodeVisObject(r.end);case 24:i=e.sent,t._data.nodes.update(s),t._data.nodes.update(i),a=he(r.segments),e.prev=28,a.s();case 30:if((c=a.n()).done){e.next=49;break}return l=c.value,e.t0=t._data.nodes,e.next=35,t.buildNodeVisObject(l.start);case 35:return e.t1=e.sent,e.t0.update.call(e.t0,e.t1),e.t2=t._data.nodes,e.next=40,t.buildNodeVisObject(l.end);case 40:return e.t3=e.sent,e.t2.update.call(e.t2,e.t3),e.t4=t._data.edges,e.next=45,t.buildEdgeVisObject(l.relationship);case 45:e.t5=e.sent,e.t4.update.call(e.t4,e.t5);case 47:e.next=30;break;case 49:e.next=54;break;case 51:e.prev=51,e.t6=e.catch(28),a.e(e.t6);case 54:return e.prev=54,a.f(),e.finish(54);case 57:e.next=89;break;case 59:if(!(r instanceof Array)){e.next=89;break}u=he(r),e.prev=61,u.s();case 63:if((b=u.n()).done){e.next=81;break}if(d=b.value,t._consoleLog("Array element constructor:"),t._consoleLog(d&&d.constructor.name),!(d instanceof ie().types.Node)){e.next=74;break}return e.next=70,t.buildNodeVisObject(d);case 70:j=e.sent,t._data.nodes.update(j),e.next=79;break;case 74:if(!(d instanceof ie().types.Relationship)){e.next=79;break}return e.next=77,t.buildEdgeVisObject(d);case 77:p=e.sent,t._data.edges.update(p);case 79:e.next=63;break;case 81:e.next=86;break;case 83:e.prev=83,e.t7=e.catch(61),u.e(e.t7);case 86:return e.prev=86,u.f(),e.finish(86);case 89:case"end":return e.stop()}}),e,null,[[28,51,54,57],[61,83,86,89]])})));return function(r){return e.apply(this,arguments)}}());i.push(N().all(o))},onCompleted:(r=W()(R().mark((function e(){var r,o,a,c,l;return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N().all(i);case 2:return e.next=4,s.close();case 4:(null===(r=te()(t,ke))||void 0===r?void 0:r.body.data.nodes.length)>0||(a=ve()(ce.visJs,null!==(o=t._config.visConfig)&&void 0!==o?o:{}),c=t._container,t._consoleLog(t._data.nodes),t._consoleLog(t._data.edges),ee()(t,ke,new ae.Network(c,t._data,a))),t._consoleLog("completed"),O()((function(){te()(t,ke).stopSimulation()}),1e4),te()(t,qe).generateEvent(ue,{record_count:n}),l=t,te()(t,ke).on("click",(function(e){if(e.nodes.length>0){var r=this.getNodeAt(e.pointer.DOM);te()(l,qe).generateEvent(be,{nodeId:r,node:l._nodes[r]})}else if(e.edges.length>0){var t=this.getEdgeAt(e.pointer.DOM);te()(l,qe).generateEvent(de,{edgeId:t,edge:l._edges[t]})}}));case 10:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)}),onError:function(e){t._consoleLog(e,"error"),te()(t,qe).generateEvent(je,{error_msg:e})}})}},{key:"clearNetwork",value:function(){this._neo4jNodes={},this._neo4jEdges={},this._nodes={},this._edges={},te()(this,ke).setData([])}},{key:"registerOnEvent",value:function(e,r){te()(this,qe).register(e,r)}},{key:"reinit",value:function(e){this._init(e),this.render()}},{key:"reload",value:function(){this.clearNetwork(),this.render()}},{key:"stabilize",value:function(){te()(this,ke).stopSimulation(),this._consoleLog("Calling stopSimulation")}},{key:"renderWithCypher",value:function(e){this.clearNetwork(),this._query=e,this.render()}},{key:"updateWithCypher",value:function(e){this.render(e)}},{key:"nodeToHtml",value:function(e,r){var t="";r||(r=B()(e.properties));var n,o=he(r);try{for(o.s();!(n=o.n()).done;){var s=n.value,i=this._retrieveProperty(s,e);i&&(t+=this.propertyToString(s,i))}}catch(e){o.e(e)}finally{o.f()}return t}}]),e}()},915:e=>{e.exports=t},6:e=>{e.exports=x},192:e=>{e.exports=_},344:e=>{e.exports=c},207:e=>{e.exports=w},434:e=>{e.exports=g},921:e=>{e.exports=n},86:e=>{e.exports=s},219:e=>{e.exports=o},382:e=>{e.exports=a},105:e=>{e.exports=i},708:e=>{e.exports=l},322:e=>{e.exports=N},280:e=>{e.exports=y},936:e=>{e.exports=m},952:e=>{e.exports=h},673:e=>{e.exports=P},602:e=>{e.exports=v},615:r=>{r.exports=e},465:e=>{e.exports=r},764:e=>{e.exports=E},698:e=>{e.exports=S},893:e=>{e.exports=L},369:e=>{e.exports=T},938:e=>{e.exports=C},845:e=>{e.exports=A},418:e=>{e.exports=k},398:e=>{e.exports=q},441:e=>{e.exports=u},301:e=>{e.exports=b},853:e=>{e.exports=d},701:e=>{e.exports=j},259:e=>{e.exports=p},182:e=>{e.exports=f},53:e=>{e.exports=V},235:e=>{e.exports=I},474:e=>{e.exports=O},903:e=>{e.exports=F}},M={};function R(e){if(M[e])return M[e].exports;var r=M[e]={exports:{}};return D[e](r,r.exports,R),r.exports}return R.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return R.d(r,{a:r}),r},R.d=(e,r)=>{for(var t in r)R.o(r,t)&&!R.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},R.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),R.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},R(625)})()})); +!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime-corejs3/core-js/get-iterator"),require("@babel/runtime-corejs3/core-js/get-iterator-method"),require("@babel/runtime-corejs3/core-js-stable/array/from"),require("@babel/runtime-corejs3/core-js-stable/instance/slice"),require("@babel/runtime-corejs3/core-js-stable/object/define-property"),require("@babel/runtime-corejs3/core-js-stable/object/define-properties"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor"),require("@babel/runtime-corejs3/core-js-stable/instance/filter"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.function.name.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("@babel/runtime-corejs3/core-js-stable/weak-map"),require("@babel/runtime-corejs3/core-js-stable/set-timeout"),require("@babel/runtime-corejs3/core-js-stable/promise"),require("@babel/runtime-corejs3/core-js-stable/object/values"),require("@babel/runtime-corejs3/core-js-stable/instance/map"),require("@babel/runtime-corejs3/core-js-stable/instance/concat"),require("@babel/runtime-corejs3/core-js-stable/array/is-array"),require("@babel/runtime-corejs3/helpers/typeof"),require("@babel/runtime-corejs3/regenerator"),require("@babel/runtime-corejs3/core-js-stable/instance/for-each"),require("regenerator-runtime/runtime.js"),require("@babel/runtime-corejs3/helpers/asyncToGenerator"),require("@babel/runtime-corejs3/core-js-stable/object/keys"),require("@babel/runtime-corejs3/helpers/classCallCheck"),require("@babel/runtime-corejs3/helpers/createClass"),require("@babel/runtime-corejs3/helpers/defineProperty"),require("@babel/runtime-corejs3/helpers/classPrivateFieldSet"),require("@babel/runtime-corejs3/helpers/classPrivateFieldGet"),require("@babel/runtime-corejs3/core-js-stable/symbol"),require("neo4j-driver"),require("vis-network/standalone"),require("deepmerge")):"function"==typeof define&&define.amd?define(["@babel/runtime-corejs3/core-js/get-iterator","@babel/runtime-corejs3/core-js/get-iterator-method","@babel/runtime-corejs3/core-js-stable/array/from","@babel/runtime-corejs3/core-js-stable/instance/slice","@babel/runtime-corejs3/core-js-stable/object/define-property","@babel/runtime-corejs3/core-js-stable/object/define-properties","@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors","@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor","@babel/runtime-corejs3/core-js-stable/instance/filter","@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols","core-js/modules/es.array.iterator.js","core-js/modules/es.function.name.js","core-js/modules/es.object.to-string.js","core-js/modules/es.promise.js","core-js/modules/es.string.iterator.js","core-js/modules/web.dom-collections.iterator.js","@babel/runtime-corejs3/core-js-stable/weak-map","@babel/runtime-corejs3/core-js-stable/set-timeout","@babel/runtime-corejs3/core-js-stable/promise","@babel/runtime-corejs3/core-js-stable/object/values","@babel/runtime-corejs3/core-js-stable/instance/map","@babel/runtime-corejs3/core-js-stable/instance/concat","@babel/runtime-corejs3/core-js-stable/array/is-array","@babel/runtime-corejs3/helpers/typeof","@babel/runtime-corejs3/regenerator","@babel/runtime-corejs3/core-js-stable/instance/for-each","regenerator-runtime/runtime.js","@babel/runtime-corejs3/helpers/asyncToGenerator","@babel/runtime-corejs3/core-js-stable/object/keys","@babel/runtime-corejs3/helpers/classCallCheck","@babel/runtime-corejs3/helpers/createClass","@babel/runtime-corejs3/helpers/defineProperty","@babel/runtime-corejs3/helpers/classPrivateFieldSet","@babel/runtime-corejs3/helpers/classPrivateFieldGet","@babel/runtime-corejs3/core-js-stable/symbol","neo4j-driver","vis-network/standalone","deepmerge"],r):"object"==typeof exports?exports.NeoVis=r(require("@babel/runtime-corejs3/core-js/get-iterator"),require("@babel/runtime-corejs3/core-js/get-iterator-method"),require("@babel/runtime-corejs3/core-js-stable/array/from"),require("@babel/runtime-corejs3/core-js-stable/instance/slice"),require("@babel/runtime-corejs3/core-js-stable/object/define-property"),require("@babel/runtime-corejs3/core-js-stable/object/define-properties"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor"),require("@babel/runtime-corejs3/core-js-stable/instance/filter"),require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.function.name.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("@babel/runtime-corejs3/core-js-stable/weak-map"),require("@babel/runtime-corejs3/core-js-stable/set-timeout"),require("@babel/runtime-corejs3/core-js-stable/promise"),require("@babel/runtime-corejs3/core-js-stable/object/values"),require("@babel/runtime-corejs3/core-js-stable/instance/map"),require("@babel/runtime-corejs3/core-js-stable/instance/concat"),require("@babel/runtime-corejs3/core-js-stable/array/is-array"),require("@babel/runtime-corejs3/helpers/typeof"),require("@babel/runtime-corejs3/regenerator"),require("@babel/runtime-corejs3/core-js-stable/instance/for-each"),require("regenerator-runtime/runtime.js"),require("@babel/runtime-corejs3/helpers/asyncToGenerator"),require("@babel/runtime-corejs3/core-js-stable/object/keys"),require("@babel/runtime-corejs3/helpers/classCallCheck"),require("@babel/runtime-corejs3/helpers/createClass"),require("@babel/runtime-corejs3/helpers/defineProperty"),require("@babel/runtime-corejs3/helpers/classPrivateFieldSet"),require("@babel/runtime-corejs3/helpers/classPrivateFieldGet"),require("@babel/runtime-corejs3/core-js-stable/symbol"),require("neo4j-driver"),require("vis-network/standalone"),require("deepmerge")):e.NeoVis=r(e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0],e[void 0])}(self,(function(e,r,t,n,o,s,i,a,c,l,u,b,d,j,p,f,v,h,m,y,g,_,x,k,q,w,O,E,S,N,C,A,T,L,P,I,F,V){return(()=>{"use strict";var M={625:(e,r,t)=>{t.r(r),t.d(r,{NEOVIS_ADVANCED_CONFIG:()=>xe,NEOVIS_DEFAULT_CONFIG:()=>_e,default:()=>we});var n=t(615),o=t.n(n),s=t(465),i=t.n(s),a=t(915),c=t.n(a),l=t(921),u=t.n(l),b=t(219),d=t.n(b),j=t(86),p=t.n(j),f=t(105),v=t.n(f),h=t(382),m=t.n(h),y=t(344),g=t.n(y),_=t(708),x=t.n(_),k=(t(441),t(301),t(853),t(701),t(259),t(182),t(602)),q=t.n(k),w=t(952),O=t.n(w),E=t(936),S=t.n(E),N=t(280),C=t.n(N),A=t(434),T=t.n(A),L=t(192),P=t.n(L),I=t(6),F=t.n(I),V=t(418),M=t.n(V),R=t(398),D=t.n(R),U=t(207),G=t.n(U),H=(t(474),t(764)),W=t.n(H),z=t(322),B=t.n(z),J=t(698),Q=t.n(J),Y=t(938),$=t.n(Y),K=t(845),X=t.n(K),Z=t(369),ee=t.n(Z),re=t(893),te=t.n(re),ne=t(673),oe=t.n(ne),se=t(235),ie=t.n(se),ae=t(903),ce={neo4j:{initialQuery:"MATCH (n) WHERE exists(n.pagerank)\n WITH (n), RAND() AS random\n ORDER BY random LIMIT 3000\n OPTIONAL MATCH (n)-[r]-(m)\n //WITH n,r,m WHERE exists(n.pagerank) AND exists(m.pagerank) AND exists(m.community)\n RETURN n, r, m;",neo4jUri:"bolt://localhost:7687",neo4jUser:"neo4j",neo4jPassword:"neo4j",encrypted:"ENCRYPTION_OFF",trust:"TRUST_ALL_CERTIFICATES"},visJs:{nodes:{font:{size:26,strokeWidth:7},scaling:{}},edges:{arrows:{to:{enabled:!1}},length:200},layout:{improvedLayout:!1,hierarchical:{enabled:!1,sortMethod:"hubsize"}},physics:{adaptiveTimestep:!0,stabilization:{iterations:200,fit:!0}}}};function le(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,b=!1;return{s:function(){t=o()(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){b=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(b)throw a}}}}(this._handlers[e]);try{for(n.s();!(t=n.n()).done;)(0,t.value)(r)}catch(e){n.e(e)}finally{n.f()}}}]),e}(),fe=t(53),ve=t.n(fe);function he(e,r){var t;if(void 0===oe()||null==i()(e)){if(F()(e)||(t=function(e,r){var t;if(e){if("string"==typeof e)return me(e,r);var n=u()(t=Object.prototype.toString.call(e)).call(t,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?c()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,s=function(){};return{s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,b=!1;return{s:function(){t=o()(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){b=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(b)throw a}}}}function me(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t1&&void 0!==arguments[1]?arguments[1]:"log";("log"!==r||this._config.console_debug)&&console[r](e)}},{key:"_init",value:function(e){var r,t,n,o,s,i,a,c,l,u,b;if(e.labels&&e.labels[_e])for(var d=0,j=B()(e.labels);d1){var n,o="".concat(e,":
    "),s=he(r);try{for(s.s();!(n=s.n()).done;){var i=n.value;o+="
  • ".concat(i,"
  • ")}}catch(e){s.e(e)}finally{s.f()}return o+"
"}return P()(t="".concat(e,": ")).call(t,r,"
")}},{key:"render",value:function(e){var r,t=this,n=0,o=e||this._query,s=this._driver.session(this._database&&{database:this._database}),i=[];s.run(o,{limit:30}).subscribe({onNext:function(e){var r;n++,t._consoleLog("CLASS NAME"),t._consoleLog(e&&e.constructor.name),t._consoleLog(e);var o=T()(r=C()(e.toObject())).call(r,function(){var e=W()(D().mark((function e(r){var n,o,s,i,a,c,l,u,b,d,j,p;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t._consoleLog("Constructor:"),t._consoleLog(r&&r.constructor.name),!(r instanceof ie().types.Node)){e.next=9;break}return e.next=5,t.buildNodeVisObject(r);case 5:n=e.sent;try{t._data.nodes.update(n)}catch(e){t._consoleLog(e,"error")}e.next=89;break;case 9:if(!(r instanceof ie().types.Relationship)){e.next=16;break}return e.next=12,t.buildEdgeVisObject(r);case 12:o=e.sent,t._data.edges.update(o),e.next=89;break;case 16:if(!(r instanceof ie().types.Path)){e.next=59;break}return t._consoleLog("PATH"),t._consoleLog(r),e.next=21,t.buildNodeVisObject(r.start);case 21:return s=e.sent,e.next=24,t.buildNodeVisObject(r.end);case 24:i=e.sent,t._data.nodes.update(s),t._data.nodes.update(i),a=he(r.segments),e.prev=28,a.s();case 30:if((c=a.n()).done){e.next=49;break}return l=c.value,e.t0=t._data.nodes,e.next=35,t.buildNodeVisObject(l.start);case 35:return e.t1=e.sent,e.t0.update.call(e.t0,e.t1),e.t2=t._data.nodes,e.next=40,t.buildNodeVisObject(l.end);case 40:return e.t3=e.sent,e.t2.update.call(e.t2,e.t3),e.t4=t._data.edges,e.next=45,t.buildEdgeVisObject(l.relationship);case 45:e.t5=e.sent,e.t4.update.call(e.t4,e.t5);case 47:e.next=30;break;case 49:e.next=54;break;case 51:e.prev=51,e.t6=e.catch(28),a.e(e.t6);case 54:return e.prev=54,a.f(),e.finish(54);case 57:e.next=89;break;case 59:if(!(r instanceof Array)){e.next=89;break}u=he(r),e.prev=61,u.s();case 63:if((b=u.n()).done){e.next=81;break}if(d=b.value,t._consoleLog("Array element constructor:"),t._consoleLog(d&&d.constructor.name),!(d instanceof ie().types.Node)){e.next=74;break}return e.next=70,t.buildNodeVisObject(d);case 70:j=e.sent,t._data.nodes.update(j),e.next=79;break;case 74:if(!(d instanceof ie().types.Relationship)){e.next=79;break}return e.next=77,t.buildEdgeVisObject(d);case 77:p=e.sent,t._data.edges.update(p);case 79:e.next=63;break;case 81:e.next=86;break;case 83:e.prev=83,e.t7=e.catch(61),u.e(e.t7);case 86:return e.prev=86,u.f(),e.finish(86);case 89:case"end":return e.stop()}}),e,null,[[28,51,54,57],[61,83,86,89]])})));return function(r){return e.apply(this,arguments)}}());i.push(S().all(o))},onCompleted:(r=W()(D().mark((function e(){var r,o,a,c,l;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S().all(i);case 2:return e.next=4,s.close();case 4:(null===(r=te()(t,ke))||void 0===r?void 0:r.body.data.nodes.length)>0||(a=ve()(ce.visJs,null!==(o=t._config.visConfig)&&void 0!==o?o:{}),c=t._container,t._consoleLog(t._data.nodes),t._consoleLog(t._data.edges),ee()(t,ke,new ae.Network(c,t._data,a))),t._consoleLog("completed"),O()((function(){te()(t,ke).stopSimulation()}),1e4),te()(t,qe).generateEvent(ue,{record_count:n}),l=t,te()(t,ke).on("click",(function(e){if(e.nodes.length>0){var r=this.getNodeAt(e.pointer.DOM);te()(l,qe).generateEvent(be,{nodeId:r,node:l._data.nodes.get(r)})}else if(e.edges.length>0){var t=this.getEdgeAt(e.pointer.DOM);te()(l,qe).generateEvent(de,{edgeId:t,edge:l._data.edges.get(t)})}}));case 10:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)}),onError:function(e){t._consoleLog(e,"error"),te()(t,qe).generateEvent(je,{error_msg:e})}})}},{key:"clearNetwork",value:function(){this._data.nodes.clear(),this._data.edges.clear()}},{key:"registerOnEvent",value:function(e,r){te()(this,qe).register(e,r)}},{key:"reinit",value:function(e){this._init(e),this.render()}},{key:"reload",value:function(){this.clearNetwork(),this.render()}},{key:"stabilize",value:function(){te()(this,ke).stopSimulation(),this._consoleLog("Calling stopSimulation")}},{key:"renderWithCypher",value:function(e){this.clearNetwork(),this._query=e,this.render()}},{key:"updateWithCypher",value:function(e){this.render(e)}},{key:"nodeToHtml",value:function(e,r){var t="";r||(r=B()(e.properties));var n,o=he(r);try{for(o.s();!(n=o.n()).done;){var s=n.value,i=this._retrieveProperty(s,e);i&&(t+=this.propertyToString(s,i))}}catch(e){o.e(e)}finally{o.f()}return t}}]),e}()},915:e=>{e.exports=t},6:e=>{e.exports=x},192:e=>{e.exports=_},344:e=>{e.exports=c},207:e=>{e.exports=w},434:e=>{e.exports=g},921:e=>{e.exports=n},86:e=>{e.exports=s},219:e=>{e.exports=o},382:e=>{e.exports=a},105:e=>{e.exports=i},708:e=>{e.exports=l},322:e=>{e.exports=S},280:e=>{e.exports=y},936:e=>{e.exports=m},952:e=>{e.exports=h},673:e=>{e.exports=P},602:e=>{e.exports=v},615:r=>{r.exports=e},465:e=>{e.exports=r},764:e=>{e.exports=E},698:e=>{e.exports=N},893:e=>{e.exports=L},369:e=>{e.exports=T},938:e=>{e.exports=C},845:e=>{e.exports=A},418:e=>{e.exports=k},398:e=>{e.exports=q},441:e=>{e.exports=u},301:e=>{e.exports=b},853:e=>{e.exports=d},701:e=>{e.exports=j},259:e=>{e.exports=p},182:e=>{e.exports=f},53:e=>{e.exports=V},235:e=>{e.exports=I},474:e=>{e.exports=O},903:e=>{e.exports=F}},R={};function D(e){if(R[e])return R[e].exports;var r=R[e]={exports:{}};return M[e](r,r.exports,D),r.exports}return D.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return D.d(r,{a:r}),r},D.d=(e,r)=>{for(var t in r)D.o(r,t)&&!D.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},D.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),D.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},D(625)})()})); //# sourceMappingURL=neovis-without-dependencies.js.map \ No newline at end of file diff --git a/dist/neovis-without-dependencies.js.map b/dist/neovis-without-dependencies.js.map index 365c09f..02ef8c4 100644 --- a/dist/neovis-without-dependencies.js.map +++ b/dist/neovis-without-dependencies.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://NeoVis/webpack/universalModuleDefinition","webpack://NeoVis/./src/defaults.js","webpack://NeoVis/./src/events.js","webpack://NeoVis/./src/neovis.js","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/array/from\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/array/from\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/array/from\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/map\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/map\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/map\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/keys\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/keys\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/keys\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/values\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/values\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/values\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/promise\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/promise\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/promise\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/symbol\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/symbol\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/symbol\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/weak-map\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/weak-map\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/weak-map\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js/get-iterator\",\"commonjs2\":\"@babel/runtime-corejs3/core-js/get-iterator\",\"amd\":\"@babel/runtime-corejs3/core-js/get-iterator\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js/get-iterator-method\",\"commonjs2\":\"@babel/runtime-corejs3/core-js/get-iterator-method\",\"amd\":\"@babel/runtime-corejs3/core-js/get-iterator-method\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\",\"amd\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classCallCheck\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classCallCheck\",\"amd\":\"@babel/runtime-corejs3/helpers/classCallCheck\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\",\"amd\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\",\"amd\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/createClass\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/createClass\",\"amd\":\"@babel/runtime-corejs3/helpers/createClass\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/defineProperty\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/defineProperty\",\"amd\":\"@babel/runtime-corejs3/helpers/defineProperty\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/typeof\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/typeof\",\"amd\":\"@babel/runtime-corejs3/helpers/typeof\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/regenerator\",\"commonjs2\":\"@babel/runtime-corejs3/regenerator\",\"amd\":\"@babel/runtime-corejs3/regenerator\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.array.iterator.js\",\"commonjs2\":\"core-js/modules/es.array.iterator.js\",\"amd\":\"core-js/modules/es.array.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.function.name.js\",\"commonjs2\":\"core-js/modules/es.function.name.js\",\"amd\":\"core-js/modules/es.function.name.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.object.to-string.js\",\"commonjs2\":\"core-js/modules/es.object.to-string.js\",\"amd\":\"core-js/modules/es.object.to-string.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.promise.js\",\"commonjs2\":\"core-js/modules/es.promise.js\",\"amd\":\"core-js/modules/es.promise.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.string.iterator.js\",\"commonjs2\":\"core-js/modules/es.string.iterator.js\",\"amd\":\"core-js/modules/es.string.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/web.dom-collections.iterator.js\",\"commonjs2\":\"core-js/modules/web.dom-collections.iterator.js\",\"amd\":\"core-js/modules/web.dom-collections.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"deepmerge\",\"commonjs2\":\"deepmerge\",\"amd\":\"deepmerge\"}","webpack://NeoVis/external {\"commonjs\":\"neo4j-driver\",\"commonjs2\":\"neo4j-driver\",\"amd\":\"neo4j-driver\"}","webpack://NeoVis/external {\"commonjs\":\"regenerator-runtime/runtime.js\",\"commonjs2\":\"regenerator-runtime/runtime.js\",\"amd\":\"regenerator-runtime/runtime.js\"}","webpack://NeoVis/external {\"commonjs\":\"vis-network/standalone\",\"commonjs2\":\"vis-network/standalone\",\"amd\":\"vis-network/standalone\"}","webpack://NeoVis/webpack/bootstrap","webpack://NeoVis/webpack/startup","webpack://NeoVis/webpack/runtime/compat get default export","webpack://NeoVis/webpack/runtime/define property getters","webpack://NeoVis/webpack/runtime/hasOwnProperty shorthand","webpack://NeoVis/webpack/runtime/make namespace object"],"names":["root","factory","exports","module","require","define","amd","undefined","self","__WEBPACK_EXTERNAL_MODULE__615__","__WEBPACK_EXTERNAL_MODULE__465__","__WEBPACK_EXTERNAL_MODULE__915__","__WEBPACK_EXTERNAL_MODULE__921__","__WEBPACK_EXTERNAL_MODULE__219__","__WEBPACK_EXTERNAL_MODULE__86__","__WEBPACK_EXTERNAL_MODULE__105__","__WEBPACK_EXTERNAL_MODULE__382__","__WEBPACK_EXTERNAL_MODULE__344__","__WEBPACK_EXTERNAL_MODULE__708__","__WEBPACK_EXTERNAL_MODULE__441__","__WEBPACK_EXTERNAL_MODULE__301__","__WEBPACK_EXTERNAL_MODULE__853__","__WEBPACK_EXTERNAL_MODULE__701__","__WEBPACK_EXTERNAL_MODULE__259__","__WEBPACK_EXTERNAL_MODULE__182__","__WEBPACK_EXTERNAL_MODULE__602__","__WEBPACK_EXTERNAL_MODULE__952__","__WEBPACK_EXTERNAL_MODULE__936__","__WEBPACK_EXTERNAL_MODULE__280__","__WEBPACK_EXTERNAL_MODULE__434__","__WEBPACK_EXTERNAL_MODULE__192__","__WEBPACK_EXTERNAL_MODULE__6__","__WEBPACK_EXTERNAL_MODULE__418__","__WEBPACK_EXTERNAL_MODULE__398__","__WEBPACK_EXTERNAL_MODULE__207__","__WEBPACK_EXTERNAL_MODULE__474__","__WEBPACK_EXTERNAL_MODULE__764__","__WEBPACK_EXTERNAL_MODULE__322__","__WEBPACK_EXTERNAL_MODULE__698__","__WEBPACK_EXTERNAL_MODULE__938__","__WEBPACK_EXTERNAL_MODULE__845__","__WEBPACK_EXTERNAL_MODULE__369__","__WEBPACK_EXTERNAL_MODULE__893__","__WEBPACK_EXTERNAL_MODULE__673__","__WEBPACK_EXTERNAL_MODULE__235__","__WEBPACK_EXTERNAL_MODULE__903__","__WEBPACK_EXTERNAL_MODULE__53__","defaults","neo4j","initialQuery","neo4jUri","neo4jUser","neo4jPassword","encrypted","trust","visJs","nodes","font","size","strokeWidth","scaling","edges","arrows","to","enabled","length","layout","improvedLayout","hierarchical","sortMethod","physics","adaptiveTimestep","stabilization","iterations","fit","CompletionEvent","ClickNodeEvent","ClickEdgeEvent","ErrorEvent","EventController","this","_handlers","eventType","handler","Error","push","values","NEOVIS_DEFAULT_CONFIG","NEOVIS_ADVANCED_CONFIG","NeoVis","config","vis","_init","_consoleLog","_data","message","level","_config","console_debug","console","labels","key","relationships","_driver","Neo4j","server_url","server_user","server_password","maxConnectionPoolSize","connectionAcquisitionTimeout","disableLosslessIntegers","_database","server_database","_query","initial_cypher","_container","document","getElementById","container_id","cypher","id","session","database","results","readTransaction","tx","run","result","records","record","v","close","pop","func","node","prop","properties","staticConfig","object","value","_buildStaticObject","propertyNameConfig","neo4jObj","_retrieveProperty","cypherConfig","_buildCypherObject","_runCypher","functionConfig","_buildFunctionObject","_runFunction","neo4jNode","label","labelConfig","advancedConfig","identity","raw","_buildPropertyNameObject","static","function","r","nodeTypeConfig","type","edge","from","start","end","out","val","query","recordCount","dataBuildPromises","limit","subscribe","onNext","constructor","name","dataPromises","toObject","buildNodeVisObject","update","e","buildEdgeVisObject","startNode","endNode","segments","obj","relationship","Array","onCompleted","body","data","options","deepmerge","visConfig","container","stopSimulation","generateEvent","record_count","neoVis","on","params","nodeId","getNodeAt","pointer","DOM","_nodes","edgeId","getEdgeAt","_edges","onError","error","error_msg","_neo4jNodes","_neo4jEdges","setData","register","render","clearNetwork","title_properties","title","propVal","propertyToString","__webpack_module_cache__","__webpack_require__","moduleId","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","prototype","hasOwnProperty","call","Symbol","toStringTag"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,+CAAgDA,QAAQ,sDAAuDA,QAAQ,oDAAqDA,QAAQ,wDAAyDA,QAAQ,gEAAiEA,QAAQ,kEAAmEA,QAAQ,6EAA8EA,QAAQ,4EAA6EA,QAAQ,yDAA0DA,QAAQ,yEAA0EA,QAAQ,wCAAyCA,QAAQ,uCAAwCA,QAAQ,0CAA2CA,QAAQ,iC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AACnO,EAASqO,KACjC,IAAI,IAAIlI,KAAOkI,EACXR,EAAoBS,EAAED,EAAYlI,KAAS0H,EAAoBS,EAAEtO,EAASmG,IAC5EoI,OAAOC,eAAexO,EAASmG,EAAK,CAAEsI,YAAY,EAAMC,IAAKL,EAAWlI,MCJ3E0H,EAAoBS,EAAI,CAAC/C,EAAKlD,IAAUkG,OAAOI,UAAUC,eAAeC,KAAKtD,EAAKlD,GCClFwF,EAAoBhE,EAAK7J,IACH,oBAAX8O,QAA0BA,OAAOC,aAC1CR,OAAOC,eAAexO,EAAS8O,OAAOC,YAAa,CAAEtG,MAAO,WAE7D8F,OAAOC,eAAexO,EAAS,aAAc,CAAEyI,OAAO,KJFhDoF,EAAoB,M","file":"neovis-without-dependencies.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@babel/runtime-corejs3/core-js/get-iterator\"), require(\"@babel/runtime-corejs3/core-js/get-iterator-method\"), require(\"@babel/runtime-corejs3/core-js-stable/array/from\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/slice\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-property\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/filter\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"), require(\"core-js/modules/es.array.iterator.js\"), require(\"core-js/modules/es.function.name.js\"), require(\"core-js/modules/es.object.to-string.js\"), require(\"core-js/modules/es.promise.js\"), require(\"core-js/modules/es.string.iterator.js\"), require(\"core-js/modules/web.dom-collections.iterator.js\"), require(\"@babel/runtime-corejs3/core-js-stable/weak-map\"), require(\"@babel/runtime-corejs3/core-js-stable/set-timeout\"), require(\"@babel/runtime-corejs3/core-js-stable/promise\"), require(\"@babel/runtime-corejs3/core-js-stable/object/values\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/map\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/concat\"), require(\"@babel/runtime-corejs3/core-js-stable/array/is-array\"), require(\"@babel/runtime-corejs3/helpers/typeof\"), require(\"@babel/runtime-corejs3/regenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"), require(\"regenerator-runtime/runtime.js\"), require(\"@babel/runtime-corejs3/helpers/asyncToGenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/object/keys\"), require(\"@babel/runtime-corejs3/helpers/classCallCheck\"), require(\"@babel/runtime-corejs3/helpers/createClass\"), require(\"@babel/runtime-corejs3/helpers/defineProperty\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"), require(\"@babel/runtime-corejs3/core-js-stable/symbol\"), require(\"neo4j-driver\"), require(\"vis-network/standalone\"), require(\"deepmerge\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"@babel/runtime-corejs3/core-js/get-iterator\", \"@babel/runtime-corejs3/core-js/get-iterator-method\", \"@babel/runtime-corejs3/core-js-stable/array/from\", \"@babel/runtime-corejs3/core-js-stable/instance/slice\", \"@babel/runtime-corejs3/core-js-stable/object/define-property\", \"@babel/runtime-corejs3/core-js-stable/object/define-properties\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\", \"@babel/runtime-corejs3/core-js-stable/instance/filter\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\", \"core-js/modules/es.array.iterator.js\", \"core-js/modules/es.function.name.js\", \"core-js/modules/es.object.to-string.js\", \"core-js/modules/es.promise.js\", \"core-js/modules/es.string.iterator.js\", \"core-js/modules/web.dom-collections.iterator.js\", \"@babel/runtime-corejs3/core-js-stable/weak-map\", \"@babel/runtime-corejs3/core-js-stable/set-timeout\", \"@babel/runtime-corejs3/core-js-stable/promise\", \"@babel/runtime-corejs3/core-js-stable/object/values\", \"@babel/runtime-corejs3/core-js-stable/instance/map\", \"@babel/runtime-corejs3/core-js-stable/instance/concat\", \"@babel/runtime-corejs3/core-js-stable/array/is-array\", \"@babel/runtime-corejs3/helpers/typeof\", \"@babel/runtime-corejs3/regenerator\", \"@babel/runtime-corejs3/core-js-stable/instance/for-each\", \"regenerator-runtime/runtime.js\", \"@babel/runtime-corejs3/helpers/asyncToGenerator\", \"@babel/runtime-corejs3/core-js-stable/object/keys\", \"@babel/runtime-corejs3/helpers/classCallCheck\", \"@babel/runtime-corejs3/helpers/createClass\", \"@babel/runtime-corejs3/helpers/defineProperty\", \"@babel/runtime-corejs3/helpers/classPrivateFieldSet\", \"@babel/runtime-corejs3/helpers/classPrivateFieldGet\", \"@babel/runtime-corejs3/core-js-stable/symbol\", \"neo4j-driver\", \"vis-network/standalone\", \"deepmerge\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"NeoVis\"] = factory(require(\"@babel/runtime-corejs3/core-js/get-iterator\"), require(\"@babel/runtime-corejs3/core-js/get-iterator-method\"), require(\"@babel/runtime-corejs3/core-js-stable/array/from\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/slice\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-property\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/filter\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"), require(\"core-js/modules/es.array.iterator.js\"), require(\"core-js/modules/es.function.name.js\"), require(\"core-js/modules/es.object.to-string.js\"), require(\"core-js/modules/es.promise.js\"), require(\"core-js/modules/es.string.iterator.js\"), require(\"core-js/modules/web.dom-collections.iterator.js\"), require(\"@babel/runtime-corejs3/core-js-stable/weak-map\"), require(\"@babel/runtime-corejs3/core-js-stable/set-timeout\"), require(\"@babel/runtime-corejs3/core-js-stable/promise\"), require(\"@babel/runtime-corejs3/core-js-stable/object/values\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/map\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/concat\"), require(\"@babel/runtime-corejs3/core-js-stable/array/is-array\"), require(\"@babel/runtime-corejs3/helpers/typeof\"), require(\"@babel/runtime-corejs3/regenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"), require(\"regenerator-runtime/runtime.js\"), require(\"@babel/runtime-corejs3/helpers/asyncToGenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/object/keys\"), require(\"@babel/runtime-corejs3/helpers/classCallCheck\"), require(\"@babel/runtime-corejs3/helpers/createClass\"), require(\"@babel/runtime-corejs3/helpers/defineProperty\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"), require(\"@babel/runtime-corejs3/core-js-stable/symbol\"), require(\"neo4j-driver\"), require(\"vis-network/standalone\"), require(\"deepmerge\"));\n\telse\n\t\troot[\"NeoVis\"] = factory(root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__615__, __WEBPACK_EXTERNAL_MODULE__465__, __WEBPACK_EXTERNAL_MODULE__915__, __WEBPACK_EXTERNAL_MODULE__921__, __WEBPACK_EXTERNAL_MODULE__219__, __WEBPACK_EXTERNAL_MODULE__86__, __WEBPACK_EXTERNAL_MODULE__105__, __WEBPACK_EXTERNAL_MODULE__382__, __WEBPACK_EXTERNAL_MODULE__344__, __WEBPACK_EXTERNAL_MODULE__708__, __WEBPACK_EXTERNAL_MODULE__441__, __WEBPACK_EXTERNAL_MODULE__301__, __WEBPACK_EXTERNAL_MODULE__853__, __WEBPACK_EXTERNAL_MODULE__701__, __WEBPACK_EXTERNAL_MODULE__259__, __WEBPACK_EXTERNAL_MODULE__182__, __WEBPACK_EXTERNAL_MODULE__602__, __WEBPACK_EXTERNAL_MODULE__952__, __WEBPACK_EXTERNAL_MODULE__936__, __WEBPACK_EXTERNAL_MODULE__280__, __WEBPACK_EXTERNAL_MODULE__434__, __WEBPACK_EXTERNAL_MODULE__192__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__418__, __WEBPACK_EXTERNAL_MODULE__398__, __WEBPACK_EXTERNAL_MODULE__207__, __WEBPACK_EXTERNAL_MODULE__474__, __WEBPACK_EXTERNAL_MODULE__764__, __WEBPACK_EXTERNAL_MODULE__322__, __WEBPACK_EXTERNAL_MODULE__698__, __WEBPACK_EXTERNAL_MODULE__938__, __WEBPACK_EXTERNAL_MODULE__845__, __WEBPACK_EXTERNAL_MODULE__369__, __WEBPACK_EXTERNAL_MODULE__893__, __WEBPACK_EXTERNAL_MODULE__673__, __WEBPACK_EXTERNAL_MODULE__235__, __WEBPACK_EXTERNAL_MODULE__903__, __WEBPACK_EXTERNAL_MODULE__53__) {\nreturn ","const defaults = {\r\n\r\n\tneo4j: {\r\n\t\tinitialQuery: `MATCH (n) WHERE exists(n.pagerank)\r\n WITH (n), RAND() AS random\r\n ORDER BY random LIMIT 3000\r\n OPTIONAL MATCH (n)-[r]-(m)\r\n //WITH n,r,m WHERE exists(n.pagerank) AND exists(m.pagerank) AND exists(m.community)\r\n RETURN n, r, m;`,\r\n\t\tneo4jUri: 'bolt://localhost:7687',\r\n\t\tneo4jUser: 'neo4j',\r\n\t\tneo4jPassword: 'neo4j',\r\n\t\tencrypted: 'ENCRYPTION_OFF',\r\n\t\ttrust: 'TRUST_ALL_CERTIFICATES'\r\n\t},\r\n\r\n\tvisJs: {\r\n\t\tnodes: {\r\n\t\t\tfont: {\r\n\t\t\t\tsize: 26,\r\n\t\t\t\tstrokeWidth: 7\r\n\t\t\t},\r\n\t\t\tscaling: {}\r\n\t\t},\r\n\t\tedges: {\r\n\t\t\tarrows: {\r\n\t\t\t\tto: { enabled: false } // FIXME: handle default value\r\n\t\t\t},\r\n\t\t\tlength: 200\r\n\t\t},\r\n\t\tlayout: {\r\n\t\t\timprovedLayout: false,\r\n\t\t\thierarchical: {\r\n\t\t\t\tenabled: false,\r\n\t\t\t\tsortMethod: 'hubsize'\r\n\t\t\t}\r\n\t\t},\r\n\t\tphysics: { // TODO: adaptive physics settings based on size of graph rendered\r\n\t\t\t// enabled: true,\r\n\t\t\t// timestep: 0.5,\r\n\t\t\t// stabilization: {\r\n\t\t\t// iterations: 10\r\n\t\t\t// }\r\n\r\n\t\t\tadaptiveTimestep: true,\r\n\t\t\t// barnesHut: {\r\n\t\t\t// gravitationalConstant: -8000,\r\n\t\t\t// springConstant: 0.04,\r\n\t\t\t// springLength: 95\r\n\t\t\t// },\r\n\t\t\tstabilization: {\r\n\t\t\t\titerations: 200,\r\n\t\t\t\tfit: true\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n\r\nexport { defaults };","export const CompletionEvent = 'completed';\r\nexport const ClickNodeEvent = 'clickNode';\r\nexport const ClickEdgeEvent = 'clickEdge';\r\nexport const ErrorEvent = 'error';\r\n\r\nexport class EventController {\r\n\r\n\tconstructor() {\r\n\t\tthis._handlers = {\r\n\t\t\t[CompletionEvent]: [],\r\n\t\t\t[ErrorEvent]: [],\r\n\t\t\t[ClickNodeEvent]: [],\r\n\t\t\t[ClickEdgeEvent]: [],\r\n\t\t};\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType - Type of the event to be handled\r\n\t * @param {callback} handler - Handler to manage the event\r\n\t */\r\n\tregister(eventType, handler) {\r\n\t\tif (this._handlers[eventType] === undefined) {\r\n\t\t\tthrow new Error('Unknown event: ' + eventType);\r\n\t\t}\r\n\r\n\t\tthis._handlers[eventType].push(handler);\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType - Type of the event generated\r\n\t * @param {object} values - Values associated to the event\r\n\t */\r\n\tgenerateEvent(eventType, values) {\r\n\t\tif (this._handlers[eventType] === undefined) {\r\n\t\t\tthrow new Error('Unknown event: ' + eventType);\r\n\t\t}\r\n\r\n\t\tfor (const handler of this._handlers[eventType]) {\r\n\t\t\thandler(values);\r\n\t\t}\r\n\t}\r\n}\r\n","'use strict';\r\n\r\nimport Neo4j from 'neo4j-driver';\r\nimport * as vis from 'vis-network/standalone';\r\nimport { defaults } from './defaults';\r\nimport { ClickEdgeEvent, ClickNodeEvent, CompletionEvent, ErrorEvent, EventController } from './events';\r\nimport deepmerge from 'deepmerge';\r\n\r\nexport const NEOVIS_DEFAULT_CONFIG = Symbol();\r\nexport const NEOVIS_ADVANCED_CONFIG = Symbol();\r\n\r\nexport default class NeoVis {\r\n\t_data = {\r\n\t\tnodes: new vis.DataSet(),\r\n\t\tedges: new vis.DataSet()\r\n\t};\r\n\t#network = null;\r\n\t#events = new EventController();\r\n\r\n\t/**\r\n\t * Get current vis nodes from the graph\r\n\t */\r\n\tget nodes() {\r\n\t\treturn this._data.nodes;\r\n\t}\r\n\r\n\t/**\r\n\t * Get current vis edges from the graph\r\n\t */\r\n\tget edges() {\r\n\t\treturn this._data.edges;\r\n\t}\r\n\r\n\t/**\r\n\t * Get current network\r\n\t */\r\n\tget network() {\r\n\t\treturn this.#network;\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @constructor\r\n\t * @param {object} config - configures the visualization and Neo4j server connection\r\n\t * {\r\n\t * container:\r\n\t * server_url:\r\n\t * server_password?:\r\n\t * server_username?:\r\n\t * server_database?:\r\n\t * labels:\r\n\t *\r\n\t * }\r\n\t *\r\n\t */\r\n\tconstructor(config) {\r\n\t\tthis._init(config);\r\n\r\n\t\tthis._consoleLog(config);\r\n\t\tthis._consoleLog(defaults);\r\n\t}\r\n\r\n\t_consoleLog(message, level = 'log') {\r\n\t\tif (level !== 'log' || this._config.console_debug) {\r\n\t\t\t// eslint-disable-next-line no-console\r\n\t\t\tconsole[level](message);\r\n\t\t}\r\n\t}\r\n\r\n\t_init(config) {\r\n\r\n\t\tif (config.labels && config.labels[NEOVIS_DEFAULT_CONFIG]) {\r\n\t\t\tfor (let key of Object.keys(config.labels)) {\r\n\t\t\t\t// getting out of my for not changing the original config object\r\n\t\t\t\tconfig = {\r\n\t\t\t\t\t...config,\r\n\t\t\t\t\tlabels: {\r\n\t\t\t\t\t\t...config.labels,\r\n\t\t\t\t\t\t[key]: { ...config.labels[NEOVIS_DEFAULT_CONFIG], ...config.labels[key] }\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (config.relationships && config.relationships[NEOVIS_DEFAULT_CONFIG]) {\r\n\t\t\t// getting out of my for not changing the original config object\r\n\t\t\tfor (let key of Object.keys(config.relationships)) {\r\n\t\t\t\tconfig = {\r\n\t\t\t\t\t...config,\r\n\t\t\t\t\trelationships: {\r\n\t\t\t\t\t\t...config.relationships,\r\n\t\t\t\t\t\t[key]: { ...config.relationships[NEOVIS_DEFAULT_CONFIG], ...config.relationships[key] }\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis._config = config;\r\n\t\tthis._driver = config.neo4j instanceof Neo4j.driver ? config.neo4j : Neo4j.driver(\r\n\t\t\tconfig.neo4j?.server_url ?? defaults.neo4jUri,\r\n\t\t\tNeo4j.auth.basic(\r\n\t\t\t\tconfig.neo4j?.server_user ?? defaults.neo4j.neo4jUser,\r\n\t\t\t\tconfig.neo4j?.server_password ?? defaults.neo4j.neo4jPassword\r\n\t\t\t),\r\n\t\t\t{\r\n\t\t\t\tencrypted: config.neo4j?.encrypted ?? defaults.neo4j.encrypted,\r\n\t\t\t\ttrust: config.neo4j?.trust ?? defaults.neo4j.trust,\r\n\t\t\t\tmaxConnectionPoolSize: 100,\r\n\t\t\t\tconnectionAcquisitionTimeout: 10000,\r\n\t\t\t\tdisableLosslessIntegers: true,\r\n\t\t\t}\r\n\t\t);\r\n\t\tthis._database = config.server_database;\r\n\t\tthis._query = config.initial_cypher ?? defaults.neo4j.initialQuery;\r\n\t\tthis._container = document.getElementById(config.container_id);\r\n\t}\r\n\r\n\tasync _runCypher(cypher, id) {\r\n\t\tconst session = this._driver.session(this._database && { database: this._database });\r\n\t\tlet results = [];\r\n\r\n\t\ttry {\r\n\t\t\tconst result = await session.readTransaction(tx => tx.run(cypher, { id: id }));\r\n\t\t\tfor (let record of result.records) {\r\n\t\t\t\trecord.forEach((v) => {\r\n\t\t\t\t\tresults.push(v);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tawait session.close();\r\n\t\t}\r\n\r\n\t\tif (results.length === 0) {\r\n\t\t\treturn undefined;\r\n\t\t} else if (results.length === 1) {\r\n\t\t\treturn results.pop();\r\n\t\t}\r\n\r\n\t\treturn results;\r\n\t}\r\n\r\n\t_runFunction(func, node) {\r\n\t\tif (typeof func === 'function') {\r\n\t\t\treturn func(node);\r\n\t\t}\r\n\t\tthrow new Error('Function type property field must be a function');\r\n\t}\r\n\r\n\t_retrieveProperty(prop, node) {\r\n\t\tif (typeof node === 'object' && typeof node.properties === 'object') {\r\n\t\t\treturn node.properties[prop];\r\n\t\t}\r\n\t\tthrow new Error('Neo4j node is not properly constructed');\r\n\t}\r\n\r\n\t_buildStaticObject(staticConfig, object) {\r\n\t\tif (staticConfig && typeof staticConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(staticConfig)) {\r\n\t\t\t\tconst value = staticConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildStaticObject(value, object[prop]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = value;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t_buildPropertyNameObject(propertyNameConfig, object, neo4jObj) {\r\n\t\tif (propertyNameConfig && typeof propertyNameConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(propertyNameConfig)) {\r\n\t\t\t\tconst value = propertyNameConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildStaticObject(value, object[prop], neo4jObj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconst value = propertyNameConfig[prop];\r\n\t\t\t\t\tobject[prop] = this._retrieveProperty(value, neo4jObj);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tasync _buildCypherObject(cypherConfig, object, id) {\r\n\t\tif (cypherConfig && typeof cypherConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(cypherConfig)) {\r\n\t\t\t\tconst value = cypherConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tawait this._buildCypherObject(value, object[prop], id);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = await this._runCypher(value, id);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t_buildFunctionObject(functionConfig, object, neo4jObj) {\r\n\t\tif (functionConfig && typeof functionConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(functionConfig)) {\r\n\t\t\t\tconst value = functionConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildFunctionObject(value, object[prop], neo4jObj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = this._runFunction(value, neo4jObj);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Build node object for vis from a neo4j Node\r\n\t * FIXME: use config\r\n\t * FIXME: move to private api\r\n\t * @param neo4jNode\r\n\t * @returns {{}}\r\n\t */\r\n\tasync buildNodeVisObject(neo4jNode) {\r\n\t\tlet node = {};\r\n\t\tlet label = neo4jNode.labels[0];\r\n\r\n\t\tlet labelConfig = this._config && this._config.labels && (this._config.labels[label] || this._config.labels[NEOVIS_DEFAULT_CONFIG]);\r\n\r\n\t\tconst advancedConfig = labelConfig && labelConfig[NEOVIS_ADVANCED_CONFIG];\r\n\r\n\t\tnode.id = neo4jNode.identity;\r\n\t\tnode.raw = neo4jNode;\r\n\r\n\t\tthis._buildPropertyNameObject(labelConfig, node, neo4jNode);\r\n\t\tif (advancedConfig !== undefined && typeof advancedConfig != 'object') {\r\n\t\t\tthrow new Error('Advanced config should be an object. See documentation for details.');\r\n\t\t}\r\n\t\tif (advancedConfig && typeof advancedConfig === 'object') {\r\n\t\t\tconst staticConfig = advancedConfig.static;\r\n\t\t\tthis._buildStaticObject(staticConfig, node);\r\n\r\n\t\t\tconst cypherConfig = advancedConfig.cypher;\r\n\t\t\tawait this._buildCypherObject(cypherConfig, node, node.id);\r\n\r\n\t\t\tconst functionConfig = advancedConfig.function;\r\n\t\t\tthis._buildFunctionObject(functionConfig, node, neo4jNode);\r\n\t\t}\r\n\t\treturn node;\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Build edge object for vis from a neo4j Relationship\r\n\t * @param r\r\n\t * @returns {{}}\r\n\t */\r\n\tasync buildEdgeVisObject(r) {\r\n\t\tconst nodeTypeConfig = this._config && this._config.relationships &&\r\n\t\t\t(this._config.relationships[r.type] || this._config.relationships[NEOVIS_DEFAULT_CONFIG]);\r\n\r\n\t\tconst advancedConfig = nodeTypeConfig && nodeTypeConfig[NEOVIS_ADVANCED_CONFIG];\r\n\r\n\t\tlet edge = {};\r\n\t\tedge.id = r.identity;\r\n\t\tedge.from = r.start;\r\n\t\tedge.to = r.end;\r\n\t\tedge.raw = r;\r\n\r\n\t\tthis._buildPropertyNameObject(nodeTypeConfig, edge, r);\r\n\t\tif (advancedConfig !== undefined && typeof advancedConfig != 'object') {\r\n\t\t\tthrow new Error('Advanced config should be an object. See documentation for details.');\r\n\t\t}\r\n\t\tif (advancedConfig && typeof advancedConfig === 'object') {\r\n\t\t\tconst staticConfig = advancedConfig.static;\r\n\t\t\tthis._buildStaticObject(staticConfig, edge);\r\n\r\n\t\t\tconst cypherConfig = advancedConfig.cypher;\r\n\t\t\tawait this._buildCypherObject(cypherConfig, edge, edge.id);\r\n\r\n\t\t\tconst functionConfig = advancedConfig.function;\r\n\t\t\tthis._buildFunctionObject(functionConfig, edge, r);\r\n\t\t}\r\n\r\n\t\treturn edge;\r\n\t}\r\n\r\n\tpropertyToString(key, value) {\r\n\t\tif (Array.isArray(value) && value.length > 1) {\r\n\t\t\tlet out = `${key}:
    `;\r\n\t\t\tfor (let val of value) {\r\n\t\t\t\tout += `
  • ${val}
  • `;\r\n\t\t\t}\r\n\t\t\treturn out + '
';\r\n\t\t}\r\n\t\treturn `${key}: ${value}
`;\r\n\t}\r\n\r\n\t// public API\r\n\r\n\trender(query) {\r\n\r\n\t\t// connect to Neo4j instance\r\n\t\t// run query\r\n\t\tlet recordCount = 0;\r\n\t\tconst _query = query || this._query;\r\n\t\tconst session = this._driver.session(this._database && { database: this._database });\r\n\t\tconst dataBuildPromises = [];\r\n\t\tsession\r\n\t\t\t.run(_query, { limit: 30 })\r\n\t\t\t.subscribe({\r\n\t\t\t\tonNext: (record) => {\r\n\t\t\t\t\trecordCount++;\r\n\r\n\t\t\t\t\tthis._consoleLog('CLASS NAME');\r\n\t\t\t\t\tthis._consoleLog(record && record.constructor.name);\r\n\t\t\t\t\tthis._consoleLog(record);\r\n\r\n\t\t\t\t\tconst dataPromises = Object.values(record.toObject()).map(async (v) => {\r\n\t\t\t\t\t\tthis._consoleLog('Constructor:');\r\n\t\t\t\t\t\tthis._consoleLog(v && v.constructor.name);\r\n\t\t\t\t\t\tif (v instanceof Neo4j.types.Node) {\r\n\t\t\t\t\t\t\tlet node = await this.buildNodeVisObject(v);\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(node);\r\n\t\t\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\t\t\tthis._consoleLog(e, 'error');\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Neo4j.types.Relationship) {\r\n\t\t\t\t\t\t\tlet edge = await this.buildEdgeVisObject(v);\r\n\t\t\t\t\t\t\tthis._data.edges.update(edge);\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Neo4j.types.Path) {\r\n\t\t\t\t\t\t\tthis._consoleLog('PATH');\r\n\t\t\t\t\t\t\tthis._consoleLog(v);\r\n\t\t\t\t\t\t\tlet startNode = await this.buildNodeVisObject(v.start);\r\n\t\t\t\t\t\t\tlet endNode = await this.buildNodeVisObject(v.end);\r\n\r\n\t\t\t\t\t\t\tthis._data.nodes.update(startNode);\r\n\t\t\t\t\t\t\tthis._data.nodes.update(endNode);\r\n\r\n\t\t\t\t\t\t\tfor (let obj of v.segments) {\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(await this.buildNodeVisObject(obj.start));\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(await this.buildNodeVisObject(obj.end));\r\n\t\t\t\t\t\t\t\tthis._data.edges.update(await this.buildEdgeVisObject(obj.relationship));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Array) {\r\n\t\t\t\t\t\t\tfor (let obj of v) {\r\n\t\t\t\t\t\t\t\tthis._consoleLog('Array element constructor:');\r\n\t\t\t\t\t\t\t\tthis._consoleLog(obj && obj.constructor.name);\r\n\t\t\t\t\t\t\t\tif (obj instanceof Neo4j.types.Node) {\r\n\t\t\t\t\t\t\t\t\tlet node = await this.buildNodeVisObject(obj);\r\n\t\t\t\t\t\t\t\t\tthis._data.nodes.update(node);\r\n\r\n\t\t\t\t\t\t\t\t} else if (obj instanceof Neo4j.types.Relationship) {\r\n\t\t\t\t\t\t\t\t\tlet edge = await this.buildEdgeVisObject(obj);\r\n\r\n\t\t\t\t\t\t\t\t\tthis._data.edges.update(edge);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tdataBuildPromises.push(Promise.all(dataPromises));\r\n\t\t\t\t},\r\n\t\t\t\tonCompleted: async () => {\r\n\t\t\t\t\tawait Promise.all(dataBuildPromises);\r\n\t\t\t\t\tawait session.close();\r\n\r\n\t\t\t\t\tif (!(this.#network?.body.data.nodes.length > 0)) {\r\n\t\t\t\t\t\tlet options = deepmerge(defaults.visJs, this._config.visConfig ?? {});\r\n\r\n\t\t\t\t\t\tconst container = this._container;\r\n\r\n\t\t\t\t\t\tthis._consoleLog(this._data.nodes);\r\n\t\t\t\t\t\tthis._consoleLog(this._data.edges);\r\n\r\n\t\t\t\t\t\tthis.#network = new vis.Network(container, this._data, options);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._consoleLog('completed');\r\n\t\t\t\t\tsetTimeout(\r\n\t\t\t\t\t\t() => {\r\n\t\t\t\t\t\t\tthis.#network.stopSimulation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t10000\r\n\t\t\t\t\t);\r\n\t\t\t\t\tthis.#events.generateEvent(CompletionEvent, { record_count: recordCount });\r\n\r\n\t\t\t\t\tlet neoVis = this;\r\n\t\t\t\t\tthis.#network.on('click', function (params) {\r\n\t\t\t\t\t\tif (params.nodes.length > 0) {\r\n\t\t\t\t\t\t\tlet nodeId = this.getNodeAt(params.pointer.DOM);\r\n\t\t\t\t\t\t\tneoVis.#events.generateEvent(ClickNodeEvent, {\r\n\t\t\t\t\t\t\t\tnodeId: nodeId,\r\n\t\t\t\t\t\t\t\tnode: neoVis._nodes[nodeId]\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else if (params.edges.length > 0) {\r\n\t\t\t\t\t\t\tlet edgeId = this.getEdgeAt(params.pointer.DOM);\r\n\t\t\t\t\t\t\tneoVis.#events.generateEvent(ClickEdgeEvent, {\r\n\t\t\t\t\t\t\t\tedgeId: edgeId,\r\n\t\t\t\t\t\t\t\tedge: neoVis._edges[edgeId]\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\tonError: (error) => {\r\n\t\t\t\t\tthis._consoleLog(error, 'error');\r\n\t\t\t\t\tthis.#events.generateEvent(ErrorEvent, { error_msg: error });\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Clear the data for the visualization\r\n\t */\r\n\tclearNetwork() {\r\n\t\tthis._neo4jNodes = {};\r\n\t\tthis._neo4jEdges = {};\r\n\t\tthis._nodes = {};\r\n\t\tthis._edges = {};\r\n\t\tthis.#network.setData([]);\r\n\t}\r\n\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType Event type to be handled\r\n\t * @param {callback} handler Handler to manage the event\r\n\t */\r\n\tregisterOnEvent(eventType, handler) {\r\n\t\tthis.#events.register(eventType, handler);\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Reset the config object and reload data\r\n\t * @param config\r\n\t */\r\n\treinit(config) {\r\n\t\tthis._init(config);\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Fetch live data form the server and reload the visualization\r\n\t */\r\n\treload() {\r\n\t\tthis.clearNetwork();\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Stabilize the visualization\r\n\t */\r\n\tstabilize() {\r\n\t\tthis.#network.stopSimulation();\r\n\t\tthis._consoleLog('Calling stopSimulation');\r\n\t}\r\n\r\n\t/**\r\n\t * Execute an arbitrary Cypher query and re-render the visualization\r\n\t * @param query\r\n\t */\r\n\trenderWithCypher(query) {\r\n\t\t// this._config.initial_cypher = query;\r\n\t\tthis.clearNetwork();\r\n\t\tthis._query = query;\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Execute an arbitrary Cypher query and update the current visualization, retaning current nodes\r\n\t * This function will not change the original query given by renderWithCypher or the inital cypher.\r\n\t * @param query\r\n\t */\r\n\tupdateWithCypher(query) {\r\n\t\tthis.render(query);\r\n\t}\r\n\r\n\tnodeToHtml(neo4jNode, title_properties) {\r\n\t\tlet title = '';\r\n\t\tif (!title_properties) {\r\n\t\t\ttitle_properties = Object.keys(neo4jNode.properties);\r\n\t\t}\r\n\t\tfor (const key of title_properties) {\r\n\t\t\tconst propVal = this._retrieveProperty(key, neo4jNode);\r\n\t\t\tif (propVal) {\r\n\t\t\t\ttitle += this.propertyToString(key, propVal);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn title;\r\n\t}\r\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__915__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6__;","module.exports = __WEBPACK_EXTERNAL_MODULE__192__;","module.exports = __WEBPACK_EXTERNAL_MODULE__344__;","module.exports = __WEBPACK_EXTERNAL_MODULE__207__;","module.exports = __WEBPACK_EXTERNAL_MODULE__434__;","module.exports = __WEBPACK_EXTERNAL_MODULE__921__;","module.exports = __WEBPACK_EXTERNAL_MODULE__86__;","module.exports = __WEBPACK_EXTERNAL_MODULE__219__;","module.exports = __WEBPACK_EXTERNAL_MODULE__382__;","module.exports = __WEBPACK_EXTERNAL_MODULE__105__;","module.exports = __WEBPACK_EXTERNAL_MODULE__708__;","module.exports = __WEBPACK_EXTERNAL_MODULE__322__;","module.exports = __WEBPACK_EXTERNAL_MODULE__280__;","module.exports = __WEBPACK_EXTERNAL_MODULE__936__;","module.exports = __WEBPACK_EXTERNAL_MODULE__952__;","module.exports = __WEBPACK_EXTERNAL_MODULE__673__;","module.exports = __WEBPACK_EXTERNAL_MODULE__602__;","module.exports = __WEBPACK_EXTERNAL_MODULE__615__;","module.exports = __WEBPACK_EXTERNAL_MODULE__465__;","module.exports = __WEBPACK_EXTERNAL_MODULE__764__;","module.exports = __WEBPACK_EXTERNAL_MODULE__698__;","module.exports = __WEBPACK_EXTERNAL_MODULE__893__;","module.exports = __WEBPACK_EXTERNAL_MODULE__369__;","module.exports = __WEBPACK_EXTERNAL_MODULE__938__;","module.exports = __WEBPACK_EXTERNAL_MODULE__845__;","module.exports = __WEBPACK_EXTERNAL_MODULE__418__;","module.exports = __WEBPACK_EXTERNAL_MODULE__398__;","module.exports = __WEBPACK_EXTERNAL_MODULE__441__;","module.exports = __WEBPACK_EXTERNAL_MODULE__301__;","module.exports = __WEBPACK_EXTERNAL_MODULE__853__;","module.exports = __WEBPACK_EXTERNAL_MODULE__701__;","module.exports = __WEBPACK_EXTERNAL_MODULE__259__;","module.exports = __WEBPACK_EXTERNAL_MODULE__182__;","module.exports = __WEBPACK_EXTERNAL_MODULE__53__;","module.exports = __WEBPACK_EXTERNAL_MODULE__235__;","module.exports = __WEBPACK_EXTERNAL_MODULE__474__;","module.exports = __WEBPACK_EXTERNAL_MODULE__903__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\nreturn __webpack_require__(625);\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://NeoVis/webpack/universalModuleDefinition","webpack://NeoVis/./src/defaults.js","webpack://NeoVis/./src/events.js","webpack://NeoVis/./src/neovis.js","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/array/from\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/array/from\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/array/from\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/array/is-array\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/concat\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/filter\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/map\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/map\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/map\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/instance/slice\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/define-property\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/keys\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/keys\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/keys\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/object/values\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/object/values\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/object/values\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/promise\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/promise\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/promise\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/set-timeout\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/symbol\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/symbol\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/symbol\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js-stable/weak-map\",\"commonjs2\":\"@babel/runtime-corejs3/core-js-stable/weak-map\",\"amd\":\"@babel/runtime-corejs3/core-js-stable/weak-map\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js/get-iterator\",\"commonjs2\":\"@babel/runtime-corejs3/core-js/get-iterator\",\"amd\":\"@babel/runtime-corejs3/core-js/get-iterator\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/core-js/get-iterator-method\",\"commonjs2\":\"@babel/runtime-corejs3/core-js/get-iterator-method\",\"amd\":\"@babel/runtime-corejs3/core-js/get-iterator-method\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\",\"amd\":\"@babel/runtime-corejs3/helpers/asyncToGenerator\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classCallCheck\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classCallCheck\",\"amd\":\"@babel/runtime-corejs3/helpers/classCallCheck\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\",\"amd\":\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\",\"amd\":\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/createClass\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/createClass\",\"amd\":\"@babel/runtime-corejs3/helpers/createClass\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/defineProperty\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/defineProperty\",\"amd\":\"@babel/runtime-corejs3/helpers/defineProperty\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/helpers/typeof\",\"commonjs2\":\"@babel/runtime-corejs3/helpers/typeof\",\"amd\":\"@babel/runtime-corejs3/helpers/typeof\"}","webpack://NeoVis/external {\"commonjs\":\"@babel/runtime-corejs3/regenerator\",\"commonjs2\":\"@babel/runtime-corejs3/regenerator\",\"amd\":\"@babel/runtime-corejs3/regenerator\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.array.iterator.js\",\"commonjs2\":\"core-js/modules/es.array.iterator.js\",\"amd\":\"core-js/modules/es.array.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.function.name.js\",\"commonjs2\":\"core-js/modules/es.function.name.js\",\"amd\":\"core-js/modules/es.function.name.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.object.to-string.js\",\"commonjs2\":\"core-js/modules/es.object.to-string.js\",\"amd\":\"core-js/modules/es.object.to-string.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.promise.js\",\"commonjs2\":\"core-js/modules/es.promise.js\",\"amd\":\"core-js/modules/es.promise.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/es.string.iterator.js\",\"commonjs2\":\"core-js/modules/es.string.iterator.js\",\"amd\":\"core-js/modules/es.string.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"core-js/modules/web.dom-collections.iterator.js\",\"commonjs2\":\"core-js/modules/web.dom-collections.iterator.js\",\"amd\":\"core-js/modules/web.dom-collections.iterator.js\"}","webpack://NeoVis/external {\"commonjs\":\"deepmerge\",\"commonjs2\":\"deepmerge\",\"amd\":\"deepmerge\"}","webpack://NeoVis/external {\"commonjs\":\"neo4j-driver\",\"commonjs2\":\"neo4j-driver\",\"amd\":\"neo4j-driver\"}","webpack://NeoVis/external {\"commonjs\":\"regenerator-runtime/runtime.js\",\"commonjs2\":\"regenerator-runtime/runtime.js\",\"amd\":\"regenerator-runtime/runtime.js\"}","webpack://NeoVis/external {\"commonjs\":\"vis-network/standalone\",\"commonjs2\":\"vis-network/standalone\",\"amd\":\"vis-network/standalone\"}","webpack://NeoVis/webpack/bootstrap","webpack://NeoVis/webpack/startup","webpack://NeoVis/webpack/runtime/compat get default export","webpack://NeoVis/webpack/runtime/define property getters","webpack://NeoVis/webpack/runtime/hasOwnProperty shorthand","webpack://NeoVis/webpack/runtime/make namespace object"],"names":["root","factory","exports","module","require","define","amd","undefined","self","__WEBPACK_EXTERNAL_MODULE__615__","__WEBPACK_EXTERNAL_MODULE__465__","__WEBPACK_EXTERNAL_MODULE__915__","__WEBPACK_EXTERNAL_MODULE__921__","__WEBPACK_EXTERNAL_MODULE__219__","__WEBPACK_EXTERNAL_MODULE__86__","__WEBPACK_EXTERNAL_MODULE__105__","__WEBPACK_EXTERNAL_MODULE__382__","__WEBPACK_EXTERNAL_MODULE__344__","__WEBPACK_EXTERNAL_MODULE__708__","__WEBPACK_EXTERNAL_MODULE__441__","__WEBPACK_EXTERNAL_MODULE__301__","__WEBPACK_EXTERNAL_MODULE__853__","__WEBPACK_EXTERNAL_MODULE__701__","__WEBPACK_EXTERNAL_MODULE__259__","__WEBPACK_EXTERNAL_MODULE__182__","__WEBPACK_EXTERNAL_MODULE__602__","__WEBPACK_EXTERNAL_MODULE__952__","__WEBPACK_EXTERNAL_MODULE__936__","__WEBPACK_EXTERNAL_MODULE__280__","__WEBPACK_EXTERNAL_MODULE__434__","__WEBPACK_EXTERNAL_MODULE__192__","__WEBPACK_EXTERNAL_MODULE__6__","__WEBPACK_EXTERNAL_MODULE__418__","__WEBPACK_EXTERNAL_MODULE__398__","__WEBPACK_EXTERNAL_MODULE__207__","__WEBPACK_EXTERNAL_MODULE__474__","__WEBPACK_EXTERNAL_MODULE__764__","__WEBPACK_EXTERNAL_MODULE__322__","__WEBPACK_EXTERNAL_MODULE__698__","__WEBPACK_EXTERNAL_MODULE__938__","__WEBPACK_EXTERNAL_MODULE__845__","__WEBPACK_EXTERNAL_MODULE__369__","__WEBPACK_EXTERNAL_MODULE__893__","__WEBPACK_EXTERNAL_MODULE__673__","__WEBPACK_EXTERNAL_MODULE__235__","__WEBPACK_EXTERNAL_MODULE__903__","__WEBPACK_EXTERNAL_MODULE__53__","defaults","neo4j","initialQuery","neo4jUri","neo4jUser","neo4jPassword","encrypted","trust","visJs","nodes","font","size","strokeWidth","scaling","edges","arrows","to","enabled","length","layout","improvedLayout","hierarchical","sortMethod","physics","adaptiveTimestep","stabilization","iterations","fit","CompletionEvent","ClickNodeEvent","ClickEdgeEvent","ErrorEvent","EventController","this","_handlers","eventType","handler","Error","push","values","NEOVIS_DEFAULT_CONFIG","NEOVIS_ADVANCED_CONFIG","NeoVis","config","vis","_init","_consoleLog","_data","message","level","_config","console_debug","console","labels","key","relationships","_driver","Neo4j","server_url","server_user","server_password","maxConnectionPoolSize","connectionAcquisitionTimeout","disableLosslessIntegers","_database","server_database","_query","initial_cypher","_container","document","getElementById","container_id","cypher","id","session","database","results","readTransaction","tx","run","result","records","record","v","close","pop","func","node","prop","properties","staticConfig","object","value","_buildStaticObject","propertyNameConfig","neo4jObj","_retrieveProperty","cypherConfig","_buildCypherObject","_runCypher","functionConfig","_buildFunctionObject","_runFunction","neo4jNode","label","labelConfig","advancedConfig","identity","raw","_buildPropertyNameObject","static","function","r","nodeTypeConfig","type","edge","from","start","end","out","val","query","recordCount","dataBuildPromises","limit","subscribe","onNext","constructor","name","dataPromises","toObject","buildNodeVisObject","update","e","buildEdgeVisObject","startNode","endNode","segments","obj","relationship","Array","onCompleted","body","data","options","deepmerge","visConfig","container","stopSimulation","generateEvent","record_count","neoVis","on","params","nodeId","getNodeAt","pointer","DOM","get","edgeId","getEdgeAt","onError","error","error_msg","clear","register","render","clearNetwork","title_properties","title","propVal","propertyToString","__webpack_module_cache__","__webpack_require__","moduleId","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","prototype","hasOwnProperty","call","Symbol","toStringTag"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,+CAAgDA,QAAQ,sDAAuDA,QAAQ,oDAAqDA,QAAQ,wDAAyDA,QAAQ,gEAAiEA,QAAQ,kEAAmEA,QAAQ,6EAA8EA,QAAQ,4EAA6EA,QAAQ,yDAA0DA,QAAQ,yEAA0EA,QAAQ,wCAAyCA,QAAQ,uCAAwCA,QAAQ,0CAA2CA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ASkO,KACjC,IAAI,IAAI/H,KAAO+H,EACXR,EAAoBS,EAAED,EAAY/H,KAASuH,EAAoBS,EAAEnO,EAASmG,IAC5EiI,OAAOC,eAAerO,EAASmG,EAAK,CAAEmI,YAAY,EAAM3B,IAAKuB,EAAW/H,MCJ3EuH,EAAoBS,EAAI,CAAC5C,EAAKlD,IAAU+F,OAAOG,UAAUC,eAAeC,KAAKlD,EAAKlD,GCClFqF,EAAoB7D,EAAK7J,IACH,oBAAX0O,QAA0BA,OAAOC,aAC1CP,OAAOC,eAAerO,EAAS0O,OAAOC,YAAa,CAAElG,MAAO,WAE7D2F,OAAOC,eAAerO,EAAS,aAAc,CAAEyI,OAAO,KJFhDiF,EAAoB,M","file":"neovis-without-dependencies.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@babel/runtime-corejs3/core-js/get-iterator\"), require(\"@babel/runtime-corejs3/core-js/get-iterator-method\"), require(\"@babel/runtime-corejs3/core-js-stable/array/from\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/slice\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-property\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/filter\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"), require(\"core-js/modules/es.array.iterator.js\"), require(\"core-js/modules/es.function.name.js\"), require(\"core-js/modules/es.object.to-string.js\"), require(\"core-js/modules/es.promise.js\"), require(\"core-js/modules/es.string.iterator.js\"), require(\"core-js/modules/web.dom-collections.iterator.js\"), require(\"@babel/runtime-corejs3/core-js-stable/weak-map\"), require(\"@babel/runtime-corejs3/core-js-stable/set-timeout\"), require(\"@babel/runtime-corejs3/core-js-stable/promise\"), require(\"@babel/runtime-corejs3/core-js-stable/object/values\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/map\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/concat\"), require(\"@babel/runtime-corejs3/core-js-stable/array/is-array\"), require(\"@babel/runtime-corejs3/helpers/typeof\"), require(\"@babel/runtime-corejs3/regenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"), require(\"regenerator-runtime/runtime.js\"), require(\"@babel/runtime-corejs3/helpers/asyncToGenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/object/keys\"), require(\"@babel/runtime-corejs3/helpers/classCallCheck\"), require(\"@babel/runtime-corejs3/helpers/createClass\"), require(\"@babel/runtime-corejs3/helpers/defineProperty\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"), require(\"@babel/runtime-corejs3/core-js-stable/symbol\"), require(\"neo4j-driver\"), require(\"vis-network/standalone\"), require(\"deepmerge\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"@babel/runtime-corejs3/core-js/get-iterator\", \"@babel/runtime-corejs3/core-js/get-iterator-method\", \"@babel/runtime-corejs3/core-js-stable/array/from\", \"@babel/runtime-corejs3/core-js-stable/instance/slice\", \"@babel/runtime-corejs3/core-js-stable/object/define-property\", \"@babel/runtime-corejs3/core-js-stable/object/define-properties\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\", \"@babel/runtime-corejs3/core-js-stable/instance/filter\", \"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\", \"core-js/modules/es.array.iterator.js\", \"core-js/modules/es.function.name.js\", \"core-js/modules/es.object.to-string.js\", \"core-js/modules/es.promise.js\", \"core-js/modules/es.string.iterator.js\", \"core-js/modules/web.dom-collections.iterator.js\", \"@babel/runtime-corejs3/core-js-stable/weak-map\", \"@babel/runtime-corejs3/core-js-stable/set-timeout\", \"@babel/runtime-corejs3/core-js-stable/promise\", \"@babel/runtime-corejs3/core-js-stable/object/values\", \"@babel/runtime-corejs3/core-js-stable/instance/map\", \"@babel/runtime-corejs3/core-js-stable/instance/concat\", \"@babel/runtime-corejs3/core-js-stable/array/is-array\", \"@babel/runtime-corejs3/helpers/typeof\", \"@babel/runtime-corejs3/regenerator\", \"@babel/runtime-corejs3/core-js-stable/instance/for-each\", \"regenerator-runtime/runtime.js\", \"@babel/runtime-corejs3/helpers/asyncToGenerator\", \"@babel/runtime-corejs3/core-js-stable/object/keys\", \"@babel/runtime-corejs3/helpers/classCallCheck\", \"@babel/runtime-corejs3/helpers/createClass\", \"@babel/runtime-corejs3/helpers/defineProperty\", \"@babel/runtime-corejs3/helpers/classPrivateFieldSet\", \"@babel/runtime-corejs3/helpers/classPrivateFieldGet\", \"@babel/runtime-corejs3/core-js-stable/symbol\", \"neo4j-driver\", \"vis-network/standalone\", \"deepmerge\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"NeoVis\"] = factory(require(\"@babel/runtime-corejs3/core-js/get-iterator\"), require(\"@babel/runtime-corejs3/core-js/get-iterator-method\"), require(\"@babel/runtime-corejs3/core-js-stable/array/from\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/slice\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-property\"), require(\"@babel/runtime-corejs3/core-js-stable/object/define-properties\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/filter\"), require(\"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols\"), require(\"core-js/modules/es.array.iterator.js\"), require(\"core-js/modules/es.function.name.js\"), require(\"core-js/modules/es.object.to-string.js\"), require(\"core-js/modules/es.promise.js\"), require(\"core-js/modules/es.string.iterator.js\"), require(\"core-js/modules/web.dom-collections.iterator.js\"), require(\"@babel/runtime-corejs3/core-js-stable/weak-map\"), require(\"@babel/runtime-corejs3/core-js-stable/set-timeout\"), require(\"@babel/runtime-corejs3/core-js-stable/promise\"), require(\"@babel/runtime-corejs3/core-js-stable/object/values\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/map\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/concat\"), require(\"@babel/runtime-corejs3/core-js-stable/array/is-array\"), require(\"@babel/runtime-corejs3/helpers/typeof\"), require(\"@babel/runtime-corejs3/regenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/instance/for-each\"), require(\"regenerator-runtime/runtime.js\"), require(\"@babel/runtime-corejs3/helpers/asyncToGenerator\"), require(\"@babel/runtime-corejs3/core-js-stable/object/keys\"), require(\"@babel/runtime-corejs3/helpers/classCallCheck\"), require(\"@babel/runtime-corejs3/helpers/createClass\"), require(\"@babel/runtime-corejs3/helpers/defineProperty\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldSet\"), require(\"@babel/runtime-corejs3/helpers/classPrivateFieldGet\"), require(\"@babel/runtime-corejs3/core-js-stable/symbol\"), require(\"neo4j-driver\"), require(\"vis-network/standalone\"), require(\"deepmerge\"));\n\telse\n\t\troot[\"NeoVis\"] = factory(root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined], root[undefined]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__615__, __WEBPACK_EXTERNAL_MODULE__465__, __WEBPACK_EXTERNAL_MODULE__915__, __WEBPACK_EXTERNAL_MODULE__921__, __WEBPACK_EXTERNAL_MODULE__219__, __WEBPACK_EXTERNAL_MODULE__86__, __WEBPACK_EXTERNAL_MODULE__105__, __WEBPACK_EXTERNAL_MODULE__382__, __WEBPACK_EXTERNAL_MODULE__344__, __WEBPACK_EXTERNAL_MODULE__708__, __WEBPACK_EXTERNAL_MODULE__441__, __WEBPACK_EXTERNAL_MODULE__301__, __WEBPACK_EXTERNAL_MODULE__853__, __WEBPACK_EXTERNAL_MODULE__701__, __WEBPACK_EXTERNAL_MODULE__259__, __WEBPACK_EXTERNAL_MODULE__182__, __WEBPACK_EXTERNAL_MODULE__602__, __WEBPACK_EXTERNAL_MODULE__952__, __WEBPACK_EXTERNAL_MODULE__936__, __WEBPACK_EXTERNAL_MODULE__280__, __WEBPACK_EXTERNAL_MODULE__434__, __WEBPACK_EXTERNAL_MODULE__192__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__418__, __WEBPACK_EXTERNAL_MODULE__398__, __WEBPACK_EXTERNAL_MODULE__207__, __WEBPACK_EXTERNAL_MODULE__474__, __WEBPACK_EXTERNAL_MODULE__764__, __WEBPACK_EXTERNAL_MODULE__322__, __WEBPACK_EXTERNAL_MODULE__698__, __WEBPACK_EXTERNAL_MODULE__938__, __WEBPACK_EXTERNAL_MODULE__845__, __WEBPACK_EXTERNAL_MODULE__369__, __WEBPACK_EXTERNAL_MODULE__893__, __WEBPACK_EXTERNAL_MODULE__673__, __WEBPACK_EXTERNAL_MODULE__235__, __WEBPACK_EXTERNAL_MODULE__903__, __WEBPACK_EXTERNAL_MODULE__53__) {\nreturn ","const defaults = {\r\n\r\n\tneo4j: {\r\n\t\tinitialQuery: `MATCH (n) WHERE exists(n.pagerank)\r\n WITH (n), RAND() AS random\r\n ORDER BY random LIMIT 3000\r\n OPTIONAL MATCH (n)-[r]-(m)\r\n //WITH n,r,m WHERE exists(n.pagerank) AND exists(m.pagerank) AND exists(m.community)\r\n RETURN n, r, m;`,\r\n\t\tneo4jUri: 'bolt://localhost:7687',\r\n\t\tneo4jUser: 'neo4j',\r\n\t\tneo4jPassword: 'neo4j',\r\n\t\tencrypted: 'ENCRYPTION_OFF',\r\n\t\ttrust: 'TRUST_ALL_CERTIFICATES'\r\n\t},\r\n\r\n\tvisJs: {\r\n\t\tnodes: {\r\n\t\t\tfont: {\r\n\t\t\t\tsize: 26,\r\n\t\t\t\tstrokeWidth: 7\r\n\t\t\t},\r\n\t\t\tscaling: {}\r\n\t\t},\r\n\t\tedges: {\r\n\t\t\tarrows: {\r\n\t\t\t\tto: { enabled: false }\r\n\t\t\t},\r\n\t\t\tlength: 200\r\n\t\t},\r\n\t\tlayout: {\r\n\t\t\timprovedLayout: false,\r\n\t\t\thierarchical: {\r\n\t\t\t\tenabled: false,\r\n\t\t\t\tsortMethod: 'hubsize'\r\n\t\t\t}\r\n\t\t},\r\n\t\tphysics: { // TODO: adaptive physics settings based on size of graph rendered\r\n\t\t\t// enabled: true,\r\n\t\t\t// timestep: 0.5,\r\n\t\t\t// stabilization: {\r\n\t\t\t// iterations: 10\r\n\t\t\t// }\r\n\r\n\t\t\tadaptiveTimestep: true,\r\n\t\t\t// barnesHut: {\r\n\t\t\t// gravitationalConstant: -8000,\r\n\t\t\t// springConstant: 0.04,\r\n\t\t\t// springLength: 95\r\n\t\t\t// },\r\n\t\t\tstabilization: {\r\n\t\t\t\titerations: 200,\r\n\t\t\t\tfit: true\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n\r\nexport { defaults };","export const CompletionEvent = 'completed';\r\nexport const ClickNodeEvent = 'clickNode';\r\nexport const ClickEdgeEvent = 'clickEdge';\r\nexport const ErrorEvent = 'error';\r\n\r\nexport class EventController {\r\n\r\n\tconstructor() {\r\n\t\tthis._handlers = {\r\n\t\t\t[CompletionEvent]: [],\r\n\t\t\t[ErrorEvent]: [],\r\n\t\t\t[ClickNodeEvent]: [],\r\n\t\t\t[ClickEdgeEvent]: [],\r\n\t\t};\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType - Type of the event to be handled\r\n\t * @param {callback} handler - Handler to manage the event\r\n\t */\r\n\tregister(eventType, handler) {\r\n\t\tif (this._handlers[eventType] === undefined) {\r\n\t\t\tthrow new Error('Unknown event: ' + eventType);\r\n\t\t}\r\n\r\n\t\tthis._handlers[eventType].push(handler);\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType - Type of the event generated\r\n\t * @param {object} values - Values associated to the event\r\n\t */\r\n\tgenerateEvent(eventType, values) {\r\n\t\tif (this._handlers[eventType] === undefined) {\r\n\t\t\tthrow new Error('Unknown event: ' + eventType);\r\n\t\t}\r\n\r\n\t\tfor (const handler of this._handlers[eventType]) {\r\n\t\t\thandler(values);\r\n\t\t}\r\n\t}\r\n}\r\n","'use strict';\r\n\r\nimport Neo4j from 'neo4j-driver';\r\nimport * as vis from 'vis-network/standalone';\r\nimport { defaults } from './defaults';\r\nimport { ClickEdgeEvent, ClickNodeEvent, CompletionEvent, ErrorEvent, EventController } from './events';\r\nimport deepmerge from 'deepmerge';\r\n\r\nexport const NEOVIS_DEFAULT_CONFIG = Symbol();\r\nexport const NEOVIS_ADVANCED_CONFIG = Symbol();\r\n\r\nexport default class NeoVis {\r\n\t_data = {\r\n\t\tnodes: new vis.DataSet(),\r\n\t\tedges: new vis.DataSet()\r\n\t};\r\n\t#network = null;\r\n\t#events = new EventController();\r\n\r\n\t/**\r\n\t * Get current vis nodes from the graph\r\n\t */\r\n\tget nodes() {\r\n\t\treturn this._data.nodes;\r\n\t}\r\n\r\n\t/**\r\n\t * Get current vis edges from the graph\r\n\t */\r\n\tget edges() {\r\n\t\treturn this._data.edges;\r\n\t}\r\n\r\n\t/**\r\n\t * Get current network\r\n\t */\r\n\tget network() {\r\n\t\treturn this.#network;\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @constructor\r\n\t * @param {object} config - configures the visualization and Neo4j server connection\r\n\t * {\r\n\t * container:\r\n\t * server_url:\r\n\t * server_password?:\r\n\t * server_username?:\r\n\t * server_database?:\r\n\t * labels:\r\n\t *\r\n\t * }\r\n\t *\r\n\t */\r\n\tconstructor(config) {\r\n\t\tthis._init(config);\r\n\r\n\t\tthis._consoleLog(config);\r\n\t\tthis._consoleLog(defaults);\r\n\t}\r\n\r\n\t_consoleLog(message, level = 'log') {\r\n\t\tif (level !== 'log' || this._config.console_debug) {\r\n\t\t\t// eslint-disable-next-line no-console\r\n\t\t\tconsole[level](message);\r\n\t\t}\r\n\t}\r\n\r\n\t_init(config) {\r\n\r\n\t\tif (config.labels && config.labels[NEOVIS_DEFAULT_CONFIG]) {\r\n\t\t\tfor (let key of Object.keys(config.labels)) {\r\n\t\t\t\t// getting out of my for not changing the original config object\r\n\t\t\t\tconfig = {\r\n\t\t\t\t\t...config,\r\n\t\t\t\t\tlabels: {\r\n\t\t\t\t\t\t...config.labels,\r\n\t\t\t\t\t\t[key]: { ...config.labels[NEOVIS_DEFAULT_CONFIG], ...config.labels[key] }\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (config.relationships && config.relationships[NEOVIS_DEFAULT_CONFIG]) {\r\n\t\t\t// getting out of my for not changing the original config object\r\n\t\t\tfor (let key of Object.keys(config.relationships)) {\r\n\t\t\t\tconfig = {\r\n\t\t\t\t\t...config,\r\n\t\t\t\t\trelationships: {\r\n\t\t\t\t\t\t...config.relationships,\r\n\t\t\t\t\t\t[key]: { ...config.relationships[NEOVIS_DEFAULT_CONFIG], ...config.relationships[key] }\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis._config = config;\r\n\t\tthis._driver = config.neo4j instanceof Neo4j.driver ? config.neo4j : Neo4j.driver(\r\n\t\t\tconfig.neo4j?.server_url ?? defaults.neo4jUri,\r\n\t\t\tNeo4j.auth.basic(\r\n\t\t\t\tconfig.neo4j?.server_user ?? defaults.neo4j.neo4jUser,\r\n\t\t\t\tconfig.neo4j?.server_password ?? defaults.neo4j.neo4jPassword\r\n\t\t\t),\r\n\t\t\t{\r\n\t\t\t\tencrypted: config.neo4j?.encrypted ?? defaults.neo4j.encrypted,\r\n\t\t\t\ttrust: config.neo4j?.trust ?? defaults.neo4j.trust,\r\n\t\t\t\tmaxConnectionPoolSize: 100,\r\n\t\t\t\tconnectionAcquisitionTimeout: 10000,\r\n\t\t\t\tdisableLosslessIntegers: true,\r\n\t\t\t}\r\n\t\t);\r\n\t\tthis._database = config.server_database;\r\n\t\tthis._query = config.initial_cypher ?? defaults.neo4j.initialQuery;\r\n\t\tthis._container = document.getElementById(config.container_id);\r\n\t}\r\n\r\n\tasync _runCypher(cypher, id) {\r\n\t\tconst session = this._driver.session(this._database && { database: this._database });\r\n\t\tlet results = [];\r\n\r\n\t\ttry {\r\n\t\t\tconst result = await session.readTransaction(tx => tx.run(cypher, { id: id }));\r\n\t\t\tfor (let record of result.records) {\r\n\t\t\t\trecord.forEach((v) => {\r\n\t\t\t\t\tresults.push(v);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tawait session.close();\r\n\t\t}\r\n\r\n\t\tif (results.length === 0) {\r\n\t\t\treturn undefined;\r\n\t\t} else if (results.length === 1) {\r\n\t\t\treturn results.pop();\r\n\t\t}\r\n\r\n\t\treturn results;\r\n\t}\r\n\r\n\t_runFunction(func, node) {\r\n\t\tif (typeof func === 'function') {\r\n\t\t\treturn func(node);\r\n\t\t}\r\n\t\tthrow new Error('Function type property field must be a function');\r\n\t}\r\n\r\n\t_retrieveProperty(prop, node) {\r\n\t\tif (typeof node === 'object' && typeof node.properties === 'object') {\r\n\t\t\treturn node.properties[prop];\r\n\t\t}\r\n\t\tthrow new Error('Neo4j node is not properly constructed');\r\n\t}\r\n\r\n\t_buildStaticObject(staticConfig, object) {\r\n\t\tif (staticConfig && typeof staticConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(staticConfig)) {\r\n\t\t\t\tconst value = staticConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildStaticObject(value, object[prop]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = value;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t_buildPropertyNameObject(propertyNameConfig, object, neo4jObj) {\r\n\t\tif (propertyNameConfig && typeof propertyNameConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(propertyNameConfig)) {\r\n\t\t\t\tconst value = propertyNameConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildStaticObject(value, object[prop], neo4jObj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconst value = propertyNameConfig[prop];\r\n\t\t\t\t\tobject[prop] = this._retrieveProperty(value, neo4jObj);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tasync _buildCypherObject(cypherConfig, object, id) {\r\n\t\tif (cypherConfig && typeof cypherConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(cypherConfig)) {\r\n\t\t\t\tconst value = cypherConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tawait this._buildCypherObject(value, object[prop], id);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = await this._runCypher(value, id);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t_buildFunctionObject(functionConfig, object, neo4jObj) {\r\n\t\tif (functionConfig && typeof functionConfig === 'object') {\r\n\t\t\tfor (const prop of Object.keys(functionConfig)) {\r\n\t\t\t\tconst value = functionConfig[prop];\r\n\t\t\t\tif (value && typeof value === 'object') {\r\n\t\t\t\t\tif (!object[prop]) {\r\n\t\t\t\t\t\tobject[prop] = {};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._buildFunctionObject(value, object[prop], neo4jObj);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tobject[prop] = this._runFunction(value, neo4jObj);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Build node object for vis from a neo4j Node\r\n\t * FIXME: use config\r\n\t * FIXME: move to private api\r\n\t * @param neo4jNode\r\n\t * @returns {{}}\r\n\t */\r\n\tasync buildNodeVisObject(neo4jNode) {\r\n\t\tlet node = {};\r\n\t\tlet label = neo4jNode.labels[0];\r\n\r\n\t\tlet labelConfig = this._config && this._config.labels && (this._config.labels[label] || this._config.labels[NEOVIS_DEFAULT_CONFIG]);\r\n\r\n\t\tconst advancedConfig = labelConfig && labelConfig[NEOVIS_ADVANCED_CONFIG];\r\n\r\n\t\tnode.id = neo4jNode.identity;\r\n\t\tnode.raw = neo4jNode;\r\n\r\n\t\tthis._buildPropertyNameObject(labelConfig, node, neo4jNode);\r\n\t\tif (advancedConfig !== undefined && typeof advancedConfig != 'object') {\r\n\t\t\tthrow new Error('Advanced config should be an object. See documentation for details.');\r\n\t\t}\r\n\t\tif (advancedConfig && typeof advancedConfig === 'object') {\r\n\t\t\tconst staticConfig = advancedConfig.static;\r\n\t\t\tthis._buildStaticObject(staticConfig, node);\r\n\r\n\t\t\tconst cypherConfig = advancedConfig.cypher;\r\n\t\t\tawait this._buildCypherObject(cypherConfig, node, node.id);\r\n\r\n\t\t\tconst functionConfig = advancedConfig.function;\r\n\t\t\tthis._buildFunctionObject(functionConfig, node, neo4jNode);\r\n\t\t}\r\n\t\treturn node;\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Build edge object for vis from a neo4j Relationship\r\n\t * @param r\r\n\t * @returns {{}}\r\n\t */\r\n\tasync buildEdgeVisObject(r) {\r\n\t\tconst nodeTypeConfig = this._config && this._config.relationships &&\r\n\t\t\t(this._config.relationships[r.type] || this._config.relationships[NEOVIS_DEFAULT_CONFIG]);\r\n\r\n\t\tconst advancedConfig = nodeTypeConfig && nodeTypeConfig[NEOVIS_ADVANCED_CONFIG];\r\n\r\n\t\tlet edge = {};\r\n\t\tedge.id = r.identity;\r\n\t\tedge.from = r.start;\r\n\t\tedge.to = r.end;\r\n\t\tedge.raw = r;\r\n\r\n\t\tthis._buildPropertyNameObject(nodeTypeConfig, edge, r);\r\n\t\tif (advancedConfig !== undefined && typeof advancedConfig != 'object') {\r\n\t\t\tthrow new Error('Advanced config should be an object. See documentation for details.');\r\n\t\t}\r\n\t\tif (advancedConfig && typeof advancedConfig === 'object') {\r\n\t\t\tconst staticConfig = advancedConfig.static;\r\n\t\t\tthis._buildStaticObject(staticConfig, edge);\r\n\r\n\t\t\tconst cypherConfig = advancedConfig.cypher;\r\n\t\t\tawait this._buildCypherObject(cypherConfig, edge, edge.id);\r\n\r\n\t\t\tconst functionConfig = advancedConfig.function;\r\n\t\t\tthis._buildFunctionObject(functionConfig, edge, r);\r\n\t\t}\r\n\r\n\t\treturn edge;\r\n\t}\r\n\r\n\tpropertyToString(key, value) {\r\n\t\tif (Array.isArray(value) && value.length > 1) {\r\n\t\t\tlet out = `${key}:
    `;\r\n\t\t\tfor (let val of value) {\r\n\t\t\t\tout += `
  • ${val}
  • `;\r\n\t\t\t}\r\n\t\t\treturn out + '
';\r\n\t\t}\r\n\t\treturn `${key}: ${value}
`;\r\n\t}\r\n\r\n\t// public API\r\n\r\n\trender(query) {\r\n\r\n\t\t// connect to Neo4j instance\r\n\t\t// run query\r\n\t\tlet recordCount = 0;\r\n\t\tconst _query = query || this._query;\r\n\t\tconst session = this._driver.session(this._database && { database: this._database });\r\n\t\tconst dataBuildPromises = [];\r\n\t\tsession\r\n\t\t\t.run(_query, { limit: 30 })\r\n\t\t\t.subscribe({\r\n\t\t\t\tonNext: (record) => {\r\n\t\t\t\t\trecordCount++;\r\n\r\n\t\t\t\t\tthis._consoleLog('CLASS NAME');\r\n\t\t\t\t\tthis._consoleLog(record && record.constructor.name);\r\n\t\t\t\t\tthis._consoleLog(record);\r\n\r\n\t\t\t\t\tconst dataPromises = Object.values(record.toObject()).map(async (v) => {\r\n\t\t\t\t\t\tthis._consoleLog('Constructor:');\r\n\t\t\t\t\t\tthis._consoleLog(v && v.constructor.name);\r\n\t\t\t\t\t\tif (v instanceof Neo4j.types.Node) {\r\n\t\t\t\t\t\t\tlet node = await this.buildNodeVisObject(v);\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(node);\r\n\t\t\t\t\t\t\t} catch (e) {\r\n\t\t\t\t\t\t\t\tthis._consoleLog(e, 'error');\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Neo4j.types.Relationship) {\r\n\t\t\t\t\t\t\tlet edge = await this.buildEdgeVisObject(v);\r\n\t\t\t\t\t\t\tthis._data.edges.update(edge);\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Neo4j.types.Path) {\r\n\t\t\t\t\t\t\tthis._consoleLog('PATH');\r\n\t\t\t\t\t\t\tthis._consoleLog(v);\r\n\t\t\t\t\t\t\tlet startNode = await this.buildNodeVisObject(v.start);\r\n\t\t\t\t\t\t\tlet endNode = await this.buildNodeVisObject(v.end);\r\n\r\n\t\t\t\t\t\t\tthis._data.nodes.update(startNode);\r\n\t\t\t\t\t\t\tthis._data.nodes.update(endNode);\r\n\r\n\t\t\t\t\t\t\tfor (let obj of v.segments) {\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(await this.buildNodeVisObject(obj.start));\r\n\t\t\t\t\t\t\t\tthis._data.nodes.update(await this.buildNodeVisObject(obj.end));\r\n\t\t\t\t\t\t\t\tthis._data.edges.update(await this.buildEdgeVisObject(obj.relationship));\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t} else if (v instanceof Array) {\r\n\t\t\t\t\t\t\tfor (let obj of v) {\r\n\t\t\t\t\t\t\t\tthis._consoleLog('Array element constructor:');\r\n\t\t\t\t\t\t\t\tthis._consoleLog(obj && obj.constructor.name);\r\n\t\t\t\t\t\t\t\tif (obj instanceof Neo4j.types.Node) {\r\n\t\t\t\t\t\t\t\t\tlet node = await this.buildNodeVisObject(obj);\r\n\t\t\t\t\t\t\t\t\tthis._data.nodes.update(node);\r\n\r\n\t\t\t\t\t\t\t\t} else if (obj instanceof Neo4j.types.Relationship) {\r\n\t\t\t\t\t\t\t\t\tlet edge = await this.buildEdgeVisObject(obj);\r\n\r\n\t\t\t\t\t\t\t\t\tthis._data.edges.update(edge);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tdataBuildPromises.push(Promise.all(dataPromises));\r\n\t\t\t\t},\r\n\t\t\t\tonCompleted: async () => {\r\n\t\t\t\t\tawait Promise.all(dataBuildPromises);\r\n\t\t\t\t\tawait session.close();\r\n\r\n\t\t\t\t\tif (!(this.#network?.body.data.nodes.length > 0)) {\r\n\t\t\t\t\t\tlet options = deepmerge(defaults.visJs, this._config.visConfig ?? {});\r\n\r\n\t\t\t\t\t\tconst container = this._container;\r\n\r\n\t\t\t\t\t\tthis._consoleLog(this._data.nodes);\r\n\t\t\t\t\t\tthis._consoleLog(this._data.edges);\r\n\r\n\t\t\t\t\t\tthis.#network = new vis.Network(container, this._data, options);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis._consoleLog('completed');\r\n\t\t\t\t\tsetTimeout(\r\n\t\t\t\t\t\t() => {\r\n\t\t\t\t\t\t\tthis.#network.stopSimulation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t10000\r\n\t\t\t\t\t);\r\n\t\t\t\t\tthis.#events.generateEvent(CompletionEvent, { record_count: recordCount });\r\n\r\n\t\t\t\t\tlet neoVis = this;\r\n\t\t\t\t\tthis.#network.on('click', function (params) {\r\n\t\t\t\t\t\tif (params.nodes.length > 0) {\r\n\t\t\t\t\t\t\tlet nodeId = this.getNodeAt(params.pointer.DOM);\r\n\t\t\t\t\t\t\tneoVis.#events.generateEvent(ClickNodeEvent, {\r\n\t\t\t\t\t\t\t\tnodeId: nodeId,\r\n\t\t\t\t\t\t\t\tnode: neoVis._data.nodes.get(nodeId)\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else if (params.edges.length > 0) {\r\n\t\t\t\t\t\t\tlet edgeId = this.getEdgeAt(params.pointer.DOM);\r\n\t\t\t\t\t\t\tneoVis.#events.generateEvent(ClickEdgeEvent, {\r\n\t\t\t\t\t\t\t\tedgeId: edgeId,\r\n\t\t\t\t\t\t\t\tedge: neoVis._data.edges.get(edgeId)\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\tonError: (error) => {\r\n\t\t\t\t\tthis._consoleLog(error, 'error');\r\n\t\t\t\t\tthis.#events.generateEvent(ErrorEvent, { error_msg: error });\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Clear the data for the visualization\r\n\t */\r\n\tclearNetwork() {\r\n\t\tthis._data.nodes.clear();\r\n\t\tthis._data.edges.clear();\r\n\t}\r\n\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} eventType Event type to be handled\r\n\t * @param {callback} handler Handler to manage the event\r\n\t */\r\n\tregisterOnEvent(eventType, handler) {\r\n\t\tthis.#events.register(eventType, handler);\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Reset the config object and reload data\r\n\t * @param config\r\n\t */\r\n\treinit(config) {\r\n\t\tthis._init(config);\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Fetch live data form the server and reload the visualization\r\n\t */\r\n\treload() {\r\n\t\tthis.clearNetwork();\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Stabilize the visualization\r\n\t */\r\n\tstabilize() {\r\n\t\tthis.#network.stopSimulation();\r\n\t\tthis._consoleLog('Calling stopSimulation');\r\n\t}\r\n\r\n\t/**\r\n\t * Execute an arbitrary Cypher query and re-render the visualization\r\n\t * @param query\r\n\t */\r\n\trenderWithCypher(query) {\r\n\t\t// this._config.initial_cypher = query;\r\n\t\tthis.clearNetwork();\r\n\t\tthis._query = query;\r\n\t\tthis.render();\r\n\t}\r\n\r\n\t/**\r\n\t * Execute an arbitrary Cypher query and update the current visualization, retaning current nodes\r\n\t * This function will not change the original query given by renderWithCypher or the inital cypher.\r\n\t * @param query\r\n\t */\r\n\tupdateWithCypher(query) {\r\n\t\tthis.render(query);\r\n\t}\r\n\r\n\tnodeToHtml(neo4jNode, title_properties) {\r\n\t\tlet title = '';\r\n\t\tif (!title_properties) {\r\n\t\t\ttitle_properties = Object.keys(neo4jNode.properties);\r\n\t\t}\r\n\t\tfor (const key of title_properties) {\r\n\t\t\tconst propVal = this._retrieveProperty(key, neo4jNode);\r\n\t\t\tif (propVal) {\r\n\t\t\t\ttitle += this.propertyToString(key, propVal);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn title;\r\n\t}\r\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__915__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6__;","module.exports = __WEBPACK_EXTERNAL_MODULE__192__;","module.exports = __WEBPACK_EXTERNAL_MODULE__344__;","module.exports = __WEBPACK_EXTERNAL_MODULE__207__;","module.exports = __WEBPACK_EXTERNAL_MODULE__434__;","module.exports = __WEBPACK_EXTERNAL_MODULE__921__;","module.exports = __WEBPACK_EXTERNAL_MODULE__86__;","module.exports = __WEBPACK_EXTERNAL_MODULE__219__;","module.exports = __WEBPACK_EXTERNAL_MODULE__382__;","module.exports = __WEBPACK_EXTERNAL_MODULE__105__;","module.exports = __WEBPACK_EXTERNAL_MODULE__708__;","module.exports = __WEBPACK_EXTERNAL_MODULE__322__;","module.exports = __WEBPACK_EXTERNAL_MODULE__280__;","module.exports = __WEBPACK_EXTERNAL_MODULE__936__;","module.exports = __WEBPACK_EXTERNAL_MODULE__952__;","module.exports = __WEBPACK_EXTERNAL_MODULE__673__;","module.exports = __WEBPACK_EXTERNAL_MODULE__602__;","module.exports = __WEBPACK_EXTERNAL_MODULE__615__;","module.exports = __WEBPACK_EXTERNAL_MODULE__465__;","module.exports = __WEBPACK_EXTERNAL_MODULE__764__;","module.exports = __WEBPACK_EXTERNAL_MODULE__698__;","module.exports = __WEBPACK_EXTERNAL_MODULE__893__;","module.exports = __WEBPACK_EXTERNAL_MODULE__369__;","module.exports = __WEBPACK_EXTERNAL_MODULE__938__;","module.exports = __WEBPACK_EXTERNAL_MODULE__845__;","module.exports = __WEBPACK_EXTERNAL_MODULE__418__;","module.exports = __WEBPACK_EXTERNAL_MODULE__398__;","module.exports = __WEBPACK_EXTERNAL_MODULE__441__;","module.exports = __WEBPACK_EXTERNAL_MODULE__301__;","module.exports = __WEBPACK_EXTERNAL_MODULE__853__;","module.exports = __WEBPACK_EXTERNAL_MODULE__701__;","module.exports = __WEBPACK_EXTERNAL_MODULE__259__;","module.exports = __WEBPACK_EXTERNAL_MODULE__182__;","module.exports = __WEBPACK_EXTERNAL_MODULE__53__;","module.exports = __WEBPACK_EXTERNAL_MODULE__235__;","module.exports = __WEBPACK_EXTERNAL_MODULE__474__;","module.exports = __WEBPACK_EXTERNAL_MODULE__903__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\nreturn __webpack_require__(625);\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/neovis.js b/dist/neovis.js index 64c1ee7..e561949 100644 --- a/dist/neovis.js +++ b/dist/neovis.js @@ -1,3 +1,3 @@ /*! For license information please see neovis.js.LICENSE.txt */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.NeoVis=e():t.NeoVis=e()}(self,(function(){return(()=>{var t={66419:(t,e,n)=>{t.exports=n(27698)},41511:(t,e,n)=>{t.exports=n(83363)},77766:(t,e,n)=>{t.exports=n(8065)},20116:(t,e,n)=>{t.exports=n(11955)},78914:(t,e,n)=>{t.exports=n(46279)},2991:(t,e,n)=>{t.exports=n(61798)},3649:(t,e,n)=>{t.exports=n(82073)},20368:(t,e,n)=>{t.exports=n(57396)},63978:(t,e,n)=>{t.exports=n(41910)},34074:(t,e,n)=>{t.exports=n(79427)},39649:(t,e,n)=>{t.exports=n(62857)},14310:(t,e,n)=>{t.exports=n(9534)},86902:(t,e,n)=>{t.exports=n(23059)},20455:(t,e,n)=>{t.exports=n(47795)},93476:(t,e,n)=>{t.exports=n(27460)},33032:(t,e,n)=>{t.exports=n(27989)},65420:(t,e,n)=>{t.exports=n(92547)},52424:(t,e,n)=>{t.exports=n(72010)},19996:(t,e,n)=>{t.exports=n(32209)},16976:(t,e,n)=>{t.exports=n(1258)},44341:(t,e,n)=>{t.exports=n(73685)},69798:(t,e,n)=>{t.exports=n(29531)},51446:(t,e,n)=>{t.exports=n(86600)},23882:(t,e,n)=>{t.exports=n(9759)},51161:(t,e,n)=>{var i=n(69798);function r(t,e,n,r,o,g,A){try{var s=t[g](A),C=s.value}catch(t){return void n(t)}s.done?e(C):i.resolve(C).then(r,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new i((function(i,o){var g=t.apply(e,n);function A(t){r(g,i,o,A,s,"next",t)}function s(t){r(g,i,o,A,s,"throw",t)}A(void 0)}))}}},26394:t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},26337:t=>{t.exports=function(t,e){var n=e.get(t);if(!n)throw new TypeError("attempted to get private field on non-instance");return n.get?n.get.call(t):n.value}},86045:t=>{t.exports=function(t,e,n){var i=e.get(t);if(!i)throw new TypeError("attempted to set private field on non-instance");if(i.set)i.set.call(t,n);else{if(!i.writable)throw new TypeError("attempted to set read only private field");i.value=n}return n}},69198:(t,e,n)=>{var i=n(44341);function r(t,e){for(var n=0;n{var i=n(44341);t.exports=function(t,e,n){return e in t?i(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},23765:(t,e,n)=>{var i=n(23882),r=n(51446);function o(e){return t.exports=o="function"==typeof r&&"symbol"==typeof i?function(t){return typeof t}:function(t){return t&&"function"==typeof r&&t.constructor===r&&t!==r.prototype?"symbol":typeof t},o(e)}t.exports=o},63109:(t,e,n)=>{t.exports=n(35666)},67228:t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n{t.exports=function(t){if(Array.isArray(t))return t}},23646:(t,e,n)=>{var i=n(67228);t.exports=function(t){if(Array.isArray(t))return i(t)}},81506:t=>{t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},48926:t=>{function e(t,e,n,i,r,o,g){try{var A=t[o](g),s=A.value}catch(t){return void n(t)}A.done?e(s):Promise.resolve(s).then(i,r)}t.exports=function(t){return function(){var n=this,i=arguments;return new Promise((function(r,o){var g=t.apply(n,i);function A(t){e(g,r,o,A,s,"next",t)}function s(t){e(g,r,o,A,s,"throw",t)}A(void 0)}))}}},34575:t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},69100:(t,e,n)=>{var i=n(99489),r=n(57067);function o(e,n,g){return r()?t.exports=o=Reflect.construct:t.exports=o=function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&i(o,n.prototype),o},o.apply(null,arguments)}t.exports=o},93913:t=>{function e(t,e){for(var n=0;n{t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},16525:(t,e,n)=>{var i=n(58331);function r(e,n,o){return"undefined"!=typeof Reflect&&Reflect.get?t.exports=r=Reflect.get:t.exports=r=function(t,e,n){var r=i(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}},r(e,n,o||e)}t.exports=r},29754:t=>{function e(n){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},e(n)}t.exports=e},2205:(t,e,n)=>{var i=n(99489);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}},95318:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}}},20862:(t,e,n)=>{var i=n(50008);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in t)if(Object.prototype.hasOwnProperty.call(t,g)){var A=o?Object.getOwnPropertyDescriptor(t,g):null;A&&(A.get||A.set)?Object.defineProperty(n,g,A):n[g]=t[g]}return n.default=t,e&&e.set(t,n),n}},70430:t=>{t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}},57067:t=>{t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}},46860:t=>{t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},13884:t=>{t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var g,A=t[Symbol.iterator]();!(i=(g=A.next()).done)&&(n.push(g.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==A.return||A.return()}finally{if(r)throw o}}return n}}},80521:t=>{t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},98206:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},78585:(t,e,n)=>{var i=n(50008),r=n(81506);t.exports=function(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?r(t):e}},99489:t=>{function e(n,i){return t.exports=e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(n,i)}t.exports=e},63038:(t,e,n)=>{var i=n(22858),r=n(13884),o=n(60379),g=n(80521);t.exports=function(t,e){return i(t)||r(t,e)||o(t,e)||g()}},58331:(t,e,n)=>{var i=n(29754);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}},319:(t,e,n)=>{var i=n(23646),r=n(46860),o=n(60379),g=n(98206);t.exports=function(t){return i(t)||r(t)||o(t)||g()}},50008:t=>{function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=e=function(t){return typeof t}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(n)}t.exports=e},60379:(t,e,n)=>{var i=n(67228);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}},65957:(t,e,n)=>{var i=n(29754),r=n(99489),o=n(70430),g=n(69100);function A(e){var n="function"==typeof Map?new Map:void 0;return t.exports=A=function(t){if(null===t||!o(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return g(t,arguments,i(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r(e,t)},A(e)}t.exports=A},87757:(t,e,n)=>{t.exports=n(35666)},33063:(t,e,n)=>{"use strict";n.r(e),n.d(e,{NEOVIS_ADVANCED_CONFIG:()=>wh,NEOVIS_DEFAULT_CONFIG:()=>mh,default:()=>_h});var i=n(16976),r=n.n(i),o=n(19996),g=n.n(o),A=n(66419),s=n.n(A),C=n(3649),I=n.n(C),a=n(63978),u=n.n(a),c=n(20368),l=n.n(c),h=n(39649),d=n.n(h),f=n(34074),p=n.n(f),v=n(20116),y=n.n(v),b=n(14310),m=n.n(b),w=(n(66992),n(68309),n(41539),n(88674),n(78783),n(33948),n(52424)),k=n.n(w),x=n(33032),_=n.n(x),E=n(93476),O=n.n(E),T=n(20455),S=n.n(T),N=n(2991),R=n.n(N),D=n(77766),P=n.n(D),M=n(41511),j=n.n(M),L=n(23765),z=n.n(L),F=n(63109),B=n.n(F),Z=n(78914),V=n.n(Z),G=(n(35666),n(51161)),U=n.n(G),W=n(86902),Y=n.n(W),H=n(26394),K=n.n(H),Q=n(69198),X=n.n(Q),q=n(87672),J=n.n(q),$=n(86045),tt=n.n($),et=n(26337),nt=n.n(et),it=n(65420),rt=n.n(it),ot=n(37499),gt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function At(t){var e={exports:{}};return t(e,e.exports),e.exports}var st=function(t){return t&&t.Math==Math&&t},Ct=st("object"==typeof globalThis&&globalThis)||st("object"==typeof window&&window)||st("object"==typeof self&&self)||st("object"==typeof gt&>)||function(){return this}()||Function("return this")(),It=function(t){try{return!!t()}catch(t){return!0}},at=!It((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),ut={}.propertyIsEnumerable,ct=Object.getOwnPropertyDescriptor,lt={f:ct&&!ut.call({1:2},1)?function(t){var e=ct(this,t);return!!e&&e.enumerable}:ut},ht=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},dt={}.toString,ft=function(t){return dt.call(t).slice(8,-1)},pt="".split,vt=It((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==ft(t)?pt.call(t,""):Object(t)}:Object,yt=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},bt=function(t){return vt(yt(t))},mt=function(t){return"object"==typeof t?null!==t:"function"==typeof t},wt=function(t,e){if(!mt(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!mt(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!mt(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!mt(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")},kt={}.hasOwnProperty,xt=function(t,e){return kt.call(t,e)},_t=Ct.document,Et=mt(_t)&&mt(_t.createElement),Ot=function(t){return Et?_t.createElement(t):{}},Tt=!at&&!It((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),St=Object.getOwnPropertyDescriptor,Nt={f:at?St:function(t,e){if(t=bt(t),e=wt(e,!0),Tt)try{return St(t,e)}catch(t){}if(xt(t,e))return ht(!lt.f.call(t,e),t[e])}},Rt=/#|\.prototype\./,Dt=function(t,e){var n=Mt[Pt(t)];return n==Lt||n!=jt&&("function"==typeof e?It(e):!!e)},Pt=Dt.normalize=function(t){return String(t).replace(Rt,".").toLowerCase()},Mt=Dt.data={},jt=Dt.NATIVE="N",Lt=Dt.POLYFILL="P",zt=Dt,Ft={},Bt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Zt=function(t,e,n){if(Bt(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}},Vt=function(t){if(!mt(t))throw TypeError(String(t)+" is not an object");return t},Gt=Object.defineProperty,Ut={f:at?Gt:function(t,e,n){if(Vt(t),e=wt(e,!0),Vt(n),Tt)try{return Gt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Wt=at?function(t,e,n){return Ut.f(t,e,ht(1,n))}:function(t,e,n){return t[e]=n,t},Yt=Nt.f,Ht=function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},Kt=function(t,e){var n,i,r,o,g,A,s,C,I=t.target,a=t.global,u=t.stat,c=t.proto,l=a?Ct:u?Ct[I]:(Ct[I]||{}).prototype,h=a?Ft:Ft[I]||(Ft[I]={}),d=h.prototype;for(r in e)n=!zt(a?r:I+(u?".":"#")+r,t.forced)&&l&&xt(l,r),g=h[r],n&&(A=t.noTargetGet?(C=Yt(l,r))&&C.value:l[r]),o=n&&A?A:e[r],n&&typeof g==typeof o||(s=t.bind&&n?Zt(o,Ct):t.wrap&&n?Ht(o):c&&"function"==typeof o?Zt(Function.call,o):o,(t.sham||o&&o.sham||g&&g.sham)&&Wt(s,"sham",!0),h[r]=s,c&&(xt(Ft,i=I+"Prototype")||Wt(Ft,i,{}),Ft[i][r]=o,t.real&&d&&!d[r]&&Wt(d,r,o)))},Qt=[].slice,Xt={},qt=function(t,e,n){if(!(e in Xt)){for(var i=[],r=0;r0?re:ie)(t)},ge=Math.min,Ae=function(t){return t>0?ge(oe(t),9007199254740991):0},se=Math.max,Ce=Math.min,Ie=function(t,e){var n=oe(t);return n<0?se(n+e,0):Ce(n,e)},ae=function(t){return function(e,n,i){var r,o=bt(e),g=Ae(o.length),A=Ie(i,g);if(t&&n!=n){for(;g>A;)if((r=o[A++])!=r)return!0}else for(;g>A;A++)if((t||A in o)&&o[A]===n)return t||A||0;return!t&&-1}},ue={includes:ae(!0),indexOf:ae(!1)},ce={},le=ue.indexOf,he=function(t,e){var n,i=bt(t),r=0,o=[];for(n in i)!xt(ce,n)&&xt(i,n)&&o.push(n);for(;e.length>r;)xt(i,n=e[r++])&&(~le(o,n)||o.push(n));return o},de=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fe=Object.keys||function(t){return he(t,de)},pe={f:Object.getOwnPropertySymbols},ve=function(t){return Object(yt(t))},ye=Object.assign,be=Object.defineProperty,me=!ye||It((function(){if(at&&1!==ye({b:1},ye(be({},"a",{enumerable:!0,get:function(){be(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=ye({},t)[n]||fe(ye({},e)).join("")!=i}))?function(t,e){for(var n=ve(t),i=arguments.length,r=1,o=pe.f,g=lt.f;i>r;)for(var A,s=vt(arguments[r++]),C=o?fe(s).concat(o(s)):fe(s),I=C.length,a=0;I>a;)A=C[a++],at&&!g.call(s,A)||(n[A]=s[A]);return n}:ye;Kt({target:"Object",stat:!0,forced:Object.assign!==me},{assign:me});var we=Ft.Object.assign;function ke(t,e,n,i){t.beginPath(),t.arc(e,n,i,0,2*Math.PI,!1),t.closePath()}function xe(t,e,n,i,r,o){var g=Math.PI/180;i-2*o<0&&(o=i/2),r-2*o<0&&(o=r/2),t.beginPath(),t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.arc(e+i-o,n+o,o,270*g,360*g,!1),t.lineTo(e+i,n+r-o),t.arc(e+i-o,n+r-o,o,0,90*g,!1),t.lineTo(e+o,n+r),t.arc(e+o,n+r-o,o,90*g,180*g,!1),t.lineTo(e,n+o),t.arc(e+o,n+o,o,180*g,270*g,!1),t.closePath()}function _e(t,e,n,i,r){var o=.5522848,g=i/2*o,A=r/2*o,s=e+i,C=n+r,I=e+i/2,a=n+r/2;t.beginPath(),t.moveTo(e,a),t.bezierCurveTo(e,a-A,I-g,n,I,n),t.bezierCurveTo(I+g,n,s,a-A,s,a),t.bezierCurveTo(s,a+A,I+g,C,I,C),t.bezierCurveTo(I-g,C,e,a+A,e,a),t.closePath()}function Ee(t,e,n,i,r){var o=r*(1/3),g=.5522848,A=i/2*g,s=o/2*g,C=e+i,I=n+o,a=e+i/2,u=n+o/2,c=n+(r-o/2),l=n+r;t.beginPath(),t.moveTo(C,u),t.bezierCurveTo(C,u+s,a+A,I,a,I),t.bezierCurveTo(a-A,I,e,u+s,e,u),t.bezierCurveTo(e,u-s,a-A,n,a,n),t.bezierCurveTo(a+A,n,C,u-s,C,u),t.lineTo(C,c),t.bezierCurveTo(C,c+s,a+A,l,a,l),t.bezierCurveTo(a-A,l,e,c+s,e,c),t.lineTo(e,u)}function Oe(t,e,n,i,r,o){t.beginPath(),t.moveTo(e,n);for(var g=o.length,A=i-e,s=r-n,C=s/A,I=Math.sqrt(A*A+s*s),a=0,u=!0,c=0,l=+o[0];I>=.1;)(l=+o[a++%g])>I&&(l=I),c=Math.sqrt(l*l/(1+C*C)),e+=c=A<0?-c:c,n+=C*c,!0===u?t.lineTo(e,n):t.moveTo(e,n),I-=l,u=!u}var Te={circle:ke,dashedLine:Oe,database:Ee,diamond:function(t,e,n,i){t.beginPath(),t.lineTo(e,n+i),t.lineTo(e+i,n),t.lineTo(e,n-i),t.lineTo(e-i,n),t.closePath()},ellipse:_e,ellipse_vis:_e,hexagon:function(t,e,n,i){t.beginPath();var r=2*Math.PI/6;t.moveTo(e+i,n);for(var o=1;o<6;o++)t.lineTo(e+i*Math.cos(r*o),n+i*Math.sin(r*o));t.closePath()},roundRect:xe,square:function(t,e,n,i){t.beginPath(),t.rect(e-i,n-i,2*i,2*i),t.closePath()},star:function(t,e,n,i){t.beginPath(),n+=.1*(i*=.82);for(var r=0;r<10;r++){var o=r%2==0?1.3*i:.5*i;t.lineTo(e+o*Math.sin(2*r*Math.PI/10),n-o*Math.cos(2*r*Math.PI/10))}t.closePath()},triangle:function(t,e,n,i){t.beginPath(),n+=.275*(i*=1.15);var r=2*i,o=r/2,g=Math.sqrt(3)/6*r,A=Math.sqrt(r*r-o*o);t.moveTo(e,n-(A-g)),t.lineTo(e+o,n+g),t.lineTo(e-o,n+g),t.lineTo(e,n-(A-g)),t.closePath()},triangleDown:function(t,e,n,i){t.beginPath(),n-=.275*(i*=1.15);var r=2*i,o=r/2,g=Math.sqrt(3)/6*r,A=Math.sqrt(r*r-o*o);t.moveTo(e,n+(A-g)),t.lineTo(e+o,n-g),t.lineTo(e-o,n-g),t.lineTo(e,n+(A-g)),t.closePath()}};function Se(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Se(".vis-overlay {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n\n /* Must be displayed above for example selected Timeline items */\n z-index: 10;\n}\n\n.vis-active {\n box-shadow: 0 0 10px #86d5f8;\n}\n"),Se('/* override some bootstrap styles screwing up the timelines css */\n\n.vis [class*="span"] {\n min-height: 0;\n width: auto;\n}\n'),Se("div.vis-color-picker {\n position: absolute;\n top: 0px;\n left: 30px;\n margin-top: -140px;\n margin-left: 30px;\n width: 310px;\n height: 444px;\n z-index: 1;\n padding: 10px;\n border-radius: 15px;\n background-color: #ffffff;\n display: none;\n box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;\n}\n\ndiv.vis-color-picker div.vis-arrow {\n position: absolute;\n top: 147px;\n left: 5px;\n}\n\ndiv.vis-color-picker div.vis-arrow::after,\ndiv.vis-color-picker div.vis-arrow::before {\n right: 100%;\n top: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\ndiv.vis-color-picker div.vis-arrow:after {\n border-color: rgba(255, 255, 255, 0);\n border-right-color: #ffffff;\n border-width: 30px;\n margin-top: -30px;\n}\n\ndiv.vis-color-picker div.vis-color {\n position: absolute;\n width: 289px;\n height: 289px;\n cursor: pointer;\n}\n\ndiv.vis-color-picker div.vis-brightness {\n position: absolute;\n top: 313px;\n}\n\ndiv.vis-color-picker div.vis-opacity {\n position: absolute;\n top: 350px;\n}\n\ndiv.vis-color-picker div.vis-selector {\n position: absolute;\n top: 137px;\n left: 137px;\n width: 15px;\n height: 15px;\n border-radius: 15px;\n border: 1px solid #ffffff;\n background: #4c4c4c; /* Old browsers */\n background: -moz-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #4c4c4c),\n color-stop(12%, #595959),\n color-stop(25%, #666666),\n color-stop(39%, #474747),\n color-stop(50%, #2c2c2c),\n color-stop(51%, #000000),\n color-stop(60%, #111111),\n color-stop(76%, #2b2b2b),\n color-stop(91%, #1c1c1c),\n color-stop(100%, #131313)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(\n top,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* IE10+ */\n background: linear-gradient(\n to bottom,\n #4c4c4c 0%,\n #595959 12%,\n #666666 25%,\n #474747 39%,\n #2c2c2c 50%,\n #000000 51%,\n #111111 60%,\n #2b2b2b 76%,\n #1c1c1c 91%,\n #131313 100%\n ); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */\n}\n\ndiv.vis-color-picker div.vis-new-color {\n position: absolute;\n width: 140px;\n height: 20px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n top: 380px;\n left: 159px;\n text-align: right;\n padding-right: 2px;\n font-size: 10px;\n color: rgba(0, 0, 0, 0.4);\n vertical-align: middle;\n line-height: 20px;\n}\n\ndiv.vis-color-picker div.vis-initial-color {\n position: absolute;\n width: 140px;\n height: 20px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n top: 380px;\n left: 10px;\n text-align: left;\n padding-left: 2px;\n font-size: 10px;\n color: rgba(0, 0, 0, 0.4);\n vertical-align: middle;\n line-height: 20px;\n}\n\ndiv.vis-color-picker div.vis-label {\n position: absolute;\n width: 300px;\n left: 10px;\n}\n\ndiv.vis-color-picker div.vis-label.vis-brightness {\n top: 300px;\n}\n\ndiv.vis-color-picker div.vis-label.vis-opacity {\n top: 338px;\n}\n\ndiv.vis-color-picker div.vis-button {\n position: absolute;\n width: 68px;\n height: 25px;\n border-radius: 10px;\n vertical-align: middle;\n text-align: center;\n line-height: 25px;\n top: 410px;\n border: 2px solid #d9d9d9;\n background-color: #f7f7f7;\n cursor: pointer;\n}\n\ndiv.vis-color-picker div.vis-button.vis-cancel {\n /*border:2px solid #ff4e33;*/\n /*background-color: #ff7761;*/\n left: 5px;\n}\ndiv.vis-color-picker div.vis-button.vis-load {\n /*border:2px solid #a153e6;*/\n /*background-color: #cb8dff;*/\n left: 82px;\n}\ndiv.vis-color-picker div.vis-button.vis-apply {\n /*border:2px solid #4588e6;*/\n /*background-color: #82b6ff;*/\n left: 159px;\n}\ndiv.vis-color-picker div.vis-button.vis-save {\n /*border:2px solid #45e655;*/\n /*background-color: #6dff7c;*/\n left: 236px;\n}\n\ndiv.vis-color-picker input.vis-range {\n width: 290px;\n height: 20px;\n}\n\n/* TODO: is this redundant?\ndiv.vis-color-picker input.vis-range-brightness {\n width: 289px !important;\n}\n\n\ndiv.vis-color-picker input.vis-saturation-range {\n width: 289px !important;\n}*/\n"),Se("div.vis-configuration {\n position: relative;\n display: block;\n float: left;\n font-size: 12px;\n}\n\ndiv.vis-configuration-wrapper {\n display: block;\n width: 700px;\n}\n\ndiv.vis-configuration-wrapper::after {\n clear: both;\n content: \"\";\n display: block;\n}\n\ndiv.vis-configuration.vis-config-option-container {\n display: block;\n width: 495px;\n background-color: #ffffff;\n border: 2px solid #f7f8fa;\n border-radius: 4px;\n margin-top: 20px;\n left: 10px;\n padding-left: 5px;\n}\n\ndiv.vis-configuration.vis-config-button {\n display: block;\n width: 495px;\n height: 25px;\n vertical-align: middle;\n line-height: 25px;\n background-color: #f7f8fa;\n border: 2px solid #ceced0;\n border-radius: 4px;\n margin-top: 20px;\n left: 10px;\n padding-left: 5px;\n cursor: pointer;\n margin-bottom: 30px;\n}\n\ndiv.vis-configuration.vis-config-button.hover {\n background-color: #4588e6;\n border: 2px solid #214373;\n color: #ffffff;\n}\n\ndiv.vis-configuration.vis-config-item {\n display: block;\n float: left;\n width: 495px;\n height: 25px;\n vertical-align: middle;\n line-height: 25px;\n}\n\ndiv.vis-configuration.vis-config-item.vis-config-s2 {\n left: 10px;\n background-color: #f7f8fa;\n padding-left: 5px;\n border-radius: 3px;\n}\ndiv.vis-configuration.vis-config-item.vis-config-s3 {\n left: 20px;\n background-color: #e4e9f0;\n padding-left: 5px;\n border-radius: 3px;\n}\ndiv.vis-configuration.vis-config-item.vis-config-s4 {\n left: 30px;\n background-color: #cfd8e6;\n padding-left: 5px;\n border-radius: 3px;\n}\n\ndiv.vis-configuration.vis-config-header {\n font-size: 18px;\n font-weight: bold;\n}\n\ndiv.vis-configuration.vis-config-label {\n width: 120px;\n height: 25px;\n line-height: 25px;\n}\n\ndiv.vis-configuration.vis-config-label.vis-config-s3 {\n width: 110px;\n}\ndiv.vis-configuration.vis-config-label.vis-config-s4 {\n width: 100px;\n}\n\ndiv.vis-configuration.vis-config-colorBlock {\n top: 1px;\n width: 30px;\n height: 19px;\n border: 1px solid #444444;\n border-radius: 2px;\n padding: 0px;\n margin: 0px;\n cursor: pointer;\n}\n\ninput.vis-configuration.vis-config-checkbox {\n left: -5px;\n}\n\ninput.vis-configuration.vis-config-rangeinput {\n position: relative;\n top: -5px;\n width: 60px;\n /*height:13px;*/\n padding: 1px;\n margin: 0;\n pointer-events: none;\n}\n\ninput.vis-configuration.vis-config-range {\n /*removes default webkit styles*/\n -webkit-appearance: none;\n\n /*fix for FF unable to apply focus style bug */\n border: 0px solid white;\n background-color: rgba(0, 0, 0, 0);\n\n /*required for proper track sizing in FF*/\n width: 300px;\n height: 20px;\n}\ninput.vis-configuration.vis-config-range::-webkit-slider-runnable-track {\n width: 300px;\n height: 5px;\n background: #dedede; /* Old browsers */\n background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #dedede),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #dedede 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n\n border: 1px solid #999999;\n box-shadow: #aaaaaa 0px 0px 3px 0px;\n border-radius: 3px;\n}\ninput.vis-configuration.vis-config-range::-webkit-slider-thumb {\n -webkit-appearance: none;\n border: 1px solid #14334b;\n height: 17px;\n width: 17px;\n border-radius: 50%;\n background: #3876c2; /* Old browsers */\n background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #3876c2),\n color-stop(100%, #385380)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #3876c2 0%,\n #385380 100%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #3876c2 0%,\n #385380 100%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #3876c2 0%, #385380 100%); /* IE10+ */\n background: linear-gradient(to bottom, #3876c2 0%, #385380 100%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */\n box-shadow: #111927 0px 0px 1px 0px;\n margin-top: -7px;\n}\ninput.vis-configuration.vis-config-range:focus {\n outline: none;\n}\ninput.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track {\n background: #9d9d9d; /* Old browsers */\n background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #9d9d9d),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #9d9d9d 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #9d9d9d 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #9d9d9d 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n}\n\ninput.vis-configuration.vis-config-range::-moz-range-track {\n width: 300px;\n height: 10px;\n background: #dedede; /* Old browsers */\n background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */\n background: -webkit-gradient(\n linear,\n left top,\n left bottom,\n color-stop(0%, #dedede),\n color-stop(99%, #c8c8c8)\n ); /* Chrome,Safari4+ */\n background: -webkit-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Chrome10+,Safari5.1+ */\n background: -o-linear-gradient(\n top,\n #dedede 0%,\n #c8c8c8 99%\n ); /* Opera 11.10+ */\n background: -ms-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* IE10+ */\n background: linear-gradient(to bottom, #dedede 0%, #c8c8c8 99%); /* W3C */\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */\n\n border: 1px solid #999999;\n box-shadow: #aaaaaa 0px 0px 3px 0px;\n border-radius: 3px;\n}\ninput.vis-configuration.vis-config-range::-moz-range-thumb {\n border: none;\n height: 16px;\n width: 16px;\n\n border-radius: 50%;\n background: #385380;\n}\n\n/*hide the outline behind the border*/\ninput.vis-configuration.vis-config-range:-moz-focusring {\n outline: 1px solid white;\n outline-offset: -1px;\n}\n\ninput.vis-configuration.vis-config-range::-ms-track {\n width: 300px;\n height: 5px;\n\n /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */\n background: transparent;\n\n /*leave room for the larger thumb to overflow with a transparent border */\n border-color: transparent;\n border-width: 6px 0;\n\n /*remove default tick marks*/\n color: transparent;\n}\ninput.vis-configuration.vis-config-range::-ms-fill-lower {\n background: #777;\n border-radius: 10px;\n}\ninput.vis-configuration.vis-config-range::-ms-fill-upper {\n background: #ddd;\n border-radius: 10px;\n}\ninput.vis-configuration.vis-config-range::-ms-thumb {\n border: none;\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: #385380;\n}\ninput.vis-configuration.vis-config-range:focus::-ms-fill-lower {\n background: #888;\n}\ninput.vis-configuration.vis-config-range:focus::-ms-fill-upper {\n background: #ccc;\n}\n\n.vis-configuration-popup {\n position: absolute;\n background: rgba(57, 76, 89, 0.85);\n border: 2px solid #f2faff;\n line-height: 30px;\n height: 30px;\n width: 150px;\n text-align: center;\n color: #ffffff;\n font-size: 14px;\n border-radius: 4px;\n -webkit-transition: opacity 0.3s ease-in-out;\n -moz-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n}\n.vis-configuration-popup:after,\n.vis-configuration-popup:before {\n left: 100%;\n top: 50%;\n border: solid transparent;\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.vis-configuration-popup:after {\n border-color: rgba(136, 183, 213, 0);\n border-left-color: rgba(57, 76, 89, 0.85);\n border-width: 8px;\n margin-top: -8px;\n}\n.vis-configuration-popup:before {\n border-color: rgba(194, 225, 245, 0);\n border-left-color: #f2faff;\n border-width: 12px;\n margin-top: -12px;\n}\n"),Se("div.vis-tooltip {\n position: absolute;\n visibility: hidden;\n padding: 5px;\n white-space: nowrap;\n\n font-family: verdana;\n font-size: 14px;\n color: #000000;\n background-color: #f5f4ed;\n\n -moz-border-radius: 3px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n border: 1px solid #808074;\n\n box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n\n z-index: 5;\n}\n");var Ne=At((function(t){function e(t){if(t)return function(t){for(var n in e.prototype)t[n]=e.prototype[n];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r=0;ro;)Ut.f(t,n=i[o++],e[n]);return t};Kt({target:"Object",stat:!0,forced:!at,sham:!at},{defineProperties:Pe});var Me=At((function(t){var e=Ft.Object,n=t.exports=function(t,n){return e.defineProperties(t,n)};e.defineProperties.sham&&(n.sham=!0)})),je=function(t){return"function"==typeof t?t:void 0},Le=function(t,e){return arguments.length<2?je(Ft[t])||je(Ct[t]):Ft[t]&&Ft[t][e]||Ct[t]&&Ct[t][e]},ze=de.concat("length","prototype"),Fe={f:Object.getOwnPropertyNames||function(t){return he(t,ze)}},Be=Le("Reflect","ownKeys")||function(t){var e=Fe.f(Vt(t)),n=pe.f;return n?e.concat(n(t)):e},Ze=function(t,e,n){var i=wt(e);i in t?Ut.f(t,i,ht(0,n)):t[i]=n};Kt({target:"Object",stat:!0,sham:!at},{getOwnPropertyDescriptors:function(t){for(var e,n,i=bt(t),r=Nt.f,o=Be(i),g={},A=0;o.length>A;)void 0!==(n=r(i,e=o[A++]))&&Ze(g,e,n);return g}});var Ve=Ft.Object.getOwnPropertyDescriptors,Ge=Nt.f,Ue=It((function(){Ge(1)}));Kt({target:"Object",stat:!0,forced:!at||Ue,sham:!at},{getOwnPropertyDescriptor:function(t,e){return Ge(bt(t),e)}});var We,Ye=At((function(t){var e=Ft.Object,n=t.exports=function(t,n){return e.getOwnPropertyDescriptor(t,n)};e.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),He=Ye,Ke=!!Object.getOwnPropertySymbols&&!It((function(){return!String(Symbol())})),Qe=Ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Xe=Array.isArray||function(t){return"Array"==ft(t)},qe=Le("document","documentElement"),Je="__core-js_shared__",$e=Ct[Je]||function(t,e){try{Wt(Ct,t,e)}catch(n){Ct[t]=e}return e}(Je,{}),tn=At((function(t){(t.exports=function(t,e){return $e[t]||($e[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),en=0,nn=Math.random(),rn=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++en+nn).toString(36)},on=tn("keys"),gn=function(t){return on[t]||(on[t]=rn(t))},An=gn("IE_PROTO"),sn=function(){},Cn=function(t){return"