graphdb-workbench 2.8.0-TR3 → 2.8.0-TR4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (445) hide show
  1. package/dist/{0.c57f2f68d367a4c218fc.bundle.js → 0.b771c387eb20bde9a6ea.bundle.js} +3 -3
  2. package/dist/{1.2dda9a5cb7583ef78f5c.bundle.js → 1.1a45680f3bec35238550.bundle.js} +1 -1
  3. package/dist/{10.d5925e58aa46c190355c.bundle.js → 10.bd27851334b1c8d91900.bundle.js} +1 -1
  4. package/dist/{100.2d727ff763d70314a344.bundle.js → 100.7f26323156afd3feba54.bundle.js} +1 -1
  5. package/dist/{101.36c2d56e11e392b20f52.bundle.js → 101.17b056cee15358cbc0a7.bundle.js} +1 -1
  6. package/dist/{102.23581665e40a3c38bdc4.bundle.js → 102.8a0ce8ba413e7ea86257.bundle.js} +1 -1
  7. package/dist/{103.bec4bbe3c8edafaf0938.bundle.js → 103.6ae9591418ef71bbb36d.bundle.js} +1 -1
  8. package/dist/{104.4f6d66b077a66f66b880.bundle.js → 104.dc01d9de825caa974509.bundle.js} +1 -1
  9. package/dist/{105.2d79cd219effe43091f8.bundle.js → 105.c7c1ae143ee3a8dd99f2.bundle.js} +1 -1
  10. package/dist/{106.69ce103db4da1e272b72.bundle.js → 106.ea5c53069820d041c2cf.bundle.js} +1 -1
  11. package/dist/{107.b3378ee27a543e47234c.bundle.js → 107.9c76b13718754b7183b5.bundle.js} +1 -1
  12. package/dist/{108.c9936ab2e1547962c2bc.bundle.js → 108.fdebacb3ded74d19301d.bundle.js} +1 -1
  13. package/dist/{109.3af142a701cf0ce3ac3e.bundle.js → 109.9a8dd93a3ea7e7110f5f.bundle.js} +1 -1
  14. package/dist/{11.7dd13f73090a380d7884.bundle.js → 11.df90fccb3ff14cb166d8.bundle.js} +11 -11
  15. package/dist/{110.30cfa414191b314a261b.bundle.js → 110.88abaf0bf128a31fe04f.bundle.js} +1 -1
  16. package/dist/{111.50a450e85aba9de91fdc.bundle.js → 111.e8a5b4b837c49f1c50e9.bundle.js} +1 -1
  17. package/dist/{112.b07ed5633bcc5388a2ba.bundle.js → 112.6c477f41f1ebb640b827.bundle.js} +1 -1
  18. package/dist/{113.6823f4e7dc7b7c6a02d3.bundle.js → 113.6e2337d9644091e29855.bundle.js} +1 -1
  19. package/dist/{114.c577fe3214041daecdf5.bundle.js → 114.bf357cd566fb0d7f6ff0.bundle.js} +1 -1
  20. package/dist/{117.c4a9a26113e943e9e762.bundle.js → 117.713664012b6dfd281e0d.bundle.js} +1 -1
  21. package/dist/{118.fd44c264becff4a1797c.bundle.js → 118.1342e18ec64449b19f6a.bundle.js} +1 -1
  22. package/dist/{119.daaf67dc419095bd957c.bundle.js → 119.cad78d6d421057850b36.bundle.js} +1 -1
  23. package/dist/{12.173d48c02678a24fe199.bundle.js → 12.1c8de7c348eb25c8164b.bundle.js} +1 -1
  24. package/dist/{120.8e52ba856d40cd8864d9.bundle.js → 120.1ea37f7c308bcd1d3e3d.bundle.js} +1 -1
  25. package/dist/{121.db7131aafbfbe030ea35.bundle.js → 121.d8cd4bdf5336330ad171.bundle.js} +1 -1
  26. package/dist/{122.84e526566281dfe79ede.bundle.js → 122.10dfb4139bd5b1fc0994.bundle.js} +1 -1
  27. package/dist/{123.c71d121e1573d4e732c0.bundle.js → 123.4076684ffef33bbf0d4b.bundle.js} +1 -1
  28. package/dist/{125.400f68c00301d92445d4.bundle.js → 125.88574f352ebbc5799e78.bundle.js} +1 -1
  29. package/dist/{126.647aad60fac180a58296.bundle.js → 126.2b01a012a14a746753a6.bundle.js} +1 -1
  30. package/dist/{129.2bb252b6083db5cbfccf.bundle.js → 129.4bfaa1c1d7e341a1ed06.bundle.js} +1 -1
  31. package/dist/{13.06c49327a3b1a4c80ad6.bundle.js → 13.59de37f004085772ef6c.bundle.js} +1 -1
  32. package/dist/{133.a9589d4a3884fface583.bundle.js → 132.c5faf2429dd401f2ef0a.bundle.js} +1 -1
  33. package/dist/{134.4db49e7aeaad82c760a6.bundle.js → 133.678a2ade8fb91b5497d7.bundle.js} +1 -1
  34. package/dist/{135.91959568020b889bb345.bundle.js → 134.b1cefe8fe02520d788c2.bundle.js} +1 -1
  35. package/dist/{136.22b5615ae37d7e80a08f.bundle.js → 135.219d64990a02f7c93c9c.bundle.js} +1 -1
  36. package/dist/{137.9827883dd192444a74fb.bundle.js → 136.40b90ddc2d688af4c33f.bundle.js} +1 -1
  37. package/dist/{138.96826465cc9a16b82556.bundle.js → 137.379a388eba6b32d996ee.bundle.js} +1 -1
  38. package/dist/{139.2cb69ff75bf32a7bcb56.bundle.js → 138.aa7a34b1e2fec5ea652d.bundle.js} +1 -1
  39. package/dist/{140.fa447907c59d17ea6889.bundle.js → 139.cc7ae06c97f6b630db4a.bundle.js} +1 -1
  40. package/dist/{14.2595a3b694cb9dc1f604.bundle.js → 14.14d3683da668325381d3.bundle.js} +2 -2
  41. package/dist/{141.0817f727da63a4010f1c.bundle.js → 140.09159c313ee474b77d9d.bundle.js} +1 -1
  42. package/dist/{142.ee1fa4586e90d701b89d.bundle.js → 141.12a35752b5cebfafb18a.bundle.js} +1 -1
  43. package/dist/{143.03a96c94ac2f1e76af74.bundle.js → 142.cb26db2d36bcddb783d7.bundle.js} +1 -1
  44. package/dist/{144.acc869ff4afdfbc7b569.bundle.js → 143.ccd119624a493bb1cb42.bundle.js} +1 -1
  45. package/dist/{145.9d4717d4ce872f9d7115.bundle.js → 144.274b18f4ce93e3fc5fd0.bundle.js} +1 -1
  46. package/dist/{146.115618c61ec69e872444.bundle.js → 145.ef704ce34d4873d7571e.bundle.js} +1 -1
  47. package/dist/{147.e16c4c0feef631a4326f.bundle.js → 146.06ec94074395141ca9ea.bundle.js} +1 -1
  48. package/dist/{148.0eb58cc95c0ecbcf17b1.bundle.js → 147.b96cf3fdb22423f27fb6.bundle.js} +1 -1
  49. package/dist/{149.9789710206b4d96b57c9.bundle.js → 148.a2f96bd51dc88c690e46.bundle.js} +1 -1
  50. package/dist/{150.35e41f0d3f0126bb0e22.bundle.js → 149.23ba51de78896cd3bd25.bundle.js} +1 -1
  51. package/dist/{15.2baef0055d58658c7ea8.bundle.js → 15.0b152cd39a88fc6856bc.bundle.js} +1 -1
  52. package/dist/{151.ccd788d21a4b850b4498.bundle.js → 150.2a6eeac996eb6221b925.bundle.js} +1 -1
  53. package/dist/{152.347075daa3636c189b5a.bundle.js → 151.dac623f30a505b8f48f9.bundle.js} +1 -1
  54. package/dist/{153.7e378999ca9460fdeb20.bundle.js → 152.0ff58e14a1559a4c5f5f.bundle.js} +1 -1
  55. package/dist/{154.ae457607bebe60643d4f.bundle.js → 153.ecf1c83a52cfffa6c26f.bundle.js} +1 -1
  56. package/dist/{155.5e1d88e98437e5f4bf53.bundle.js → 154.b0701c5daa0497e176e7.bundle.js} +1 -1
  57. package/dist/{156.a317651a9d328a0b9255.bundle.js → 155.f27f0a946702a5076313.bundle.js} +1 -1
  58. package/dist/{157.74c735071d16b0c93df1.bundle.js → 156.fba8b767ced422f459a2.bundle.js} +1 -1
  59. package/dist/{158.65f735aa3d785816234f.bundle.js → 157.a0f3360e0b6082486c12.bundle.js} +1 -1
  60. package/dist/{159.0d1b5f2a73b45b4ca07e.bundle.js → 158.029fb4e807d37a3e5329.bundle.js} +1 -1
  61. package/dist/{160.1be8e3ed4f049bd912c6.bundle.js → 159.0b667773afee1890caa5.bundle.js} +1 -1
  62. package/dist/{16.cdbcf340f02b0c8977b8.bundle.js → 16.d382f943f0121874fd1e.bundle.js} +1 -1
  63. package/dist/{161.a6b6c6e1a56257d6835a.bundle.js → 160.2aa35b2e5d2a0c988459.bundle.js} +1 -1
  64. package/dist/{162.c175bd3e48b719d9c894.bundle.js → 161.869e0c7ce82f35dbb91c.bundle.js} +1 -1
  65. package/dist/{163.e191b04c452053f521aa.bundle.js → 162.693032a729e709d1deac.bundle.js} +1 -1
  66. package/dist/{164.9044e5dec55b3f5a6cda.bundle.js → 163.932e1cbe6c7ca46b2cc4.bundle.js} +1 -1
  67. package/dist/{165.eaf6deb8350b98160966.bundle.js → 164.c1e08572ede9625177a0.bundle.js} +1 -1
  68. package/dist/{166.8bd61601bf2aeb3077c0.bundle.js → 165.11214d1c15cd00f920b4.bundle.js} +1 -1
  69. package/dist/{167.13e35aa71b5812c20d29.bundle.js → 166.b5f3f6286f197b5d7dfc.bundle.js} +1 -1
  70. package/dist/{168.7fe1f6eb6698093fa80c.bundle.js → 167.d4b7fc5fa09527e47466.bundle.js} +1 -1
  71. package/dist/{169.14f519fa81a573d8542a.bundle.js → 168.f04bc0534788c07907c6.bundle.js} +1 -1
  72. package/dist/{170.dc1c139ea471ee4b75fd.bundle.js → 169.322c21e85b3a434daad6.bundle.js} +1 -1
  73. package/dist/{17.2310d8a43230a4a587cc.bundle.js → 17.c3a499e5391e06c764e8.bundle.js} +1 -1
  74. package/dist/{171.47f9f78df56ca774432e.bundle.js → 170.f28ed2ea2bd3d484a998.bundle.js} +1 -1
  75. package/dist/{172.ad983564793860cbc3e3.bundle.js → 171.e825625eee38003a9c09.bundle.js} +1 -1
  76. package/dist/{173.ff64a189cbdbbe1dd96d.bundle.js → 172.4048014207111dd465a8.bundle.js} +1 -1
  77. package/dist/{174.6ad666a27da6ab0b77ac.bundle.js → 173.7c1c7d7e43a83800bcc5.bundle.js} +1 -1
  78. package/dist/{175.0914e983d8d96502e204.bundle.js → 174.6cd463bcab68410bad02.bundle.js} +1 -1
  79. package/dist/{176.962b33b52428b36072bd.bundle.js → 175.372886e33b57422185a4.bundle.js} +1 -1
  80. package/dist/{177.469270bdac920bff879c.bundle.js → 176.7e0c9b5eb6fd1dbb9359.bundle.js} +1 -1
  81. package/dist/{178.9b1842e598ad462cd17b.bundle.js → 177.7a137d51259ef61ce5e5.bundle.js} +1 -1
  82. package/dist/{179.e5b4cccecf38f13f6a41.bundle.js → 178.11f2eb8a371403f292b3.bundle.js} +1 -1
  83. package/dist/{180.63229bd4c96385b5e328.bundle.js → 179.5b90d2e399a2fdac1c25.bundle.js} +1 -1
  84. package/dist/{18.bbbc086a88d188729ac0.bundle.js → 18.9d2448dd2d3ec3631580.bundle.js} +1 -1
  85. package/dist/{181.2055f375b339e25cd8ce.bundle.js → 180.c448596c4e028ad5bdf3.bundle.js} +1 -1
  86. package/dist/{182.5ad9217095176d8833ee.bundle.js → 181.30a474897d97b2d02822.bundle.js} +1 -1
  87. package/dist/{183.16dc05d0e4276155a8bb.bundle.js → 182.dc7920a78d0d736d4f4e.bundle.js} +1 -1
  88. package/dist/{184.6ca8a534a2bd9c8e1181.bundle.js → 183.19aabd1e5e39cc8e83dc.bundle.js} +1 -1
  89. package/dist/{185.12a376642e6930274397.bundle.js → 184.540e1daa09ad0bf278c3.bundle.js} +1 -1
  90. package/dist/{186.0969b66c3a149529f828.bundle.js → 185.16b5a5bd58ff9bedcc7a.bundle.js} +1 -1
  91. package/dist/{187.5a7992e400ef07f94f16.bundle.js → 186.f9689bf33815bda7ac3c.bundle.js} +1 -1
  92. package/dist/{188.0dd8a7f601f6d2ebc6a7.bundle.js → 187.9e42da5cdc1bf9ebb96e.bundle.js} +1 -1
  93. package/dist/{189.ccc44faa2fc4cca06c72.bundle.js → 188.b80e869e07dca3da01a7.bundle.js} +1 -1
  94. package/dist/{190.dff617079c829ec6d17d.bundle.js → 189.cb382ef7332d62a304c2.bundle.js} +1 -1
  95. package/dist/{19.f30c48aa8a599e62fc76.bundle.js → 19.70b96c19d7848640dbb9.bundle.js} +1 -1
  96. package/dist/{191.ea991b8037f39257f684.bundle.js → 190.2c27b901c1e33c268e1b.bundle.js} +1 -1
  97. package/dist/{192.d804999372c58f33681a.bundle.js → 191.36cb3368edee2fd7fabd.bundle.js} +1 -1
  98. package/dist/{193.43049c97c19dbd1c41f0.bundle.js → 192.f345d24a0bf15aeb0b62.bundle.js} +1 -1
  99. package/dist/{194.d7958e6927a6b08b0328.bundle.js → 193.35391d9216d14ac0bf3e.bundle.js} +1 -1
  100. package/dist/{195.c3e3cc656951aa456f64.bundle.js → 194.62ccc8391956bbf0d069.bundle.js} +1 -1
  101. package/dist/{196.0d98ec3b872108f046bc.bundle.js → 195.8652779019d20199ee0e.bundle.js} +1 -1
  102. package/dist/{197.e344caec4f0cb4d2012b.bundle.js → 196.c22cb6fdb66bea1455c4.bundle.js} +1 -1
  103. package/dist/{198.1bd94bb0be99782ea98c.bundle.js → 197.5abc2b7e62e56bf86060.bundle.js} +1 -1
  104. package/dist/{199.b43a12bd069705c3c29f.bundle.js → 198.d9bbf27bcb13c5dd78d1.bundle.js} +1 -1
  105. package/dist/199.51811bb9e2e77cf4d2ea.bundle.js +1 -0
  106. package/dist/{2.83ac91f6c9d0d7ab1819.bundle.js → 2.9770846cbe686a33e4f8.bundle.js} +2 -2
  107. package/dist/{20.5be549e284f9d9ef9e79.bundle.js → 20.6f75ff85c57c42f30433.bundle.js} +1 -1
  108. package/dist/{201.462d8ff94af160e4e59a.bundle.js → 200.e6d409c5925a76e58e72.bundle.js} +1 -1
  109. package/dist/{202.d24f184ca1d6c5ffa2e5.bundle.js → 201.9d82b44c237290e04aea.bundle.js} +1 -1
  110. package/dist/{203.16c8fa81cbed63945f95.bundle.js → 202.3dfb4af2249898ed3fc9.bundle.js} +1 -1
  111. package/dist/{204.a0112c3e522d5805c8aa.bundle.js → 203.2da0c27b1d0ab513e4e7.bundle.js} +1 -1
  112. package/dist/{205.6c74e9480df3f72a358f.bundle.js → 204.9b4c2de63ab9028d7d97.bundle.js} +1 -1
  113. package/dist/{206.eb4b6574ecf62dd4ec2c.bundle.js → 205.c58772214c94ed3afea3.bundle.js} +1 -1
  114. package/dist/{207.9ead4a33702a134fca3b.bundle.js → 206.e7c97cc504ac442c75bc.bundle.js} +1 -1
  115. package/dist/{208.6669833033e12d867018.bundle.js → 207.00de0a8515de06ef0fb7.bundle.js} +1 -1
  116. package/dist/{209.c92981001b844f410bfa.bundle.js → 208.a72a2586de056c048102.bundle.js} +1 -1
  117. package/dist/{210.e699f4cd7167f90ecc5c.bundle.js → 209.9dea550a4bf6f086cad1.bundle.js} +1 -1
  118. package/dist/{21.6bffc436fdd37503c522.bundle.js → 21.39dffe7ceff8f6658a56.bundle.js} +1 -1
  119. package/dist/{211.cb1c1240f7cd19ed77b3.bundle.js → 210.050643db12705405adcc.bundle.js} +1 -1
  120. package/dist/{212.7b202219bd0640d3507e.bundle.js → 211.9d7c7e9982c0561da76f.bundle.js} +1 -1
  121. package/dist/{213.4e5867645049ff1e5184.bundle.js → 212.5a2ba04f1d462a112657.bundle.js} +1 -1
  122. package/dist/{214.3a9d944eb79dc5fb6dba.bundle.js → 213.db0539f7cf1f77976f20.bundle.js} +1 -1
  123. package/dist/{215.30a15a3516992764cfc8.bundle.js → 214.f674735412e7fdfd871f.bundle.js} +1 -1
  124. package/dist/{216.c95a7c28927c92f3b5c4.bundle.js → 215.e780ea6c4aadb41aef3c.bundle.js} +1 -1
  125. package/dist/{217.6cc9c2234df3d452bbab.bundle.js → 216.734785a55884f809069a.bundle.js} +1 -1
  126. package/dist/{218.c9161fe2977a98ac4691.bundle.js → 217.a0bfba5b23d72aad2861.bundle.js} +1 -1
  127. package/dist/{219.3ffd3b41407c3e174fe6.bundle.js → 218.d1c1a80db4bfb412c6c7.bundle.js} +1 -1
  128. package/dist/219.695162958f2fd3fd1cdd.bundle.js +1 -0
  129. package/dist/{22.8dccb31dce30f0b00d7f.bundle.js → 22.3c4fa5af09169a47d8a2.bundle.js} +1 -1
  130. package/dist/{221.ad9187e7128163257e6e.bundle.js → 220.d00c6328f9fe29da03d5.bundle.js} +1 -1
  131. package/dist/221.72958b03d597ceecfe50.bundle.js +1 -0
  132. package/dist/{223.e5f58b0691d3d21099dd.bundle.js → 222.b064e1013cc5c12917cc.bundle.js} +1 -1
  133. package/dist/{224.bbb1ab875351949e8262.bundle.js → 223.d3032b152d950ff8967b.bundle.js} +1 -1
  134. package/dist/{225.8a652415e4cd7b115ea1.bundle.js → 224.c28b4c3d0b2d55b6f023.bundle.js} +1 -1
  135. package/dist/{226.458321d164f5f42bba06.bundle.js → 225.8bf0aec084863fc95414.bundle.js} +1 -1
  136. package/dist/{227.978bb5223109ac854464.bundle.js → 226.9de98c97cf870a77efbf.bundle.js} +1 -1
  137. package/dist/{228.68ba7dd55d304641ff68.bundle.js → 227.a7ae559b03897d292b39.bundle.js} +1 -1
  138. package/dist/{229.3dd9c23a3b95ffa6e948.bundle.js → 228.f8555ecfdf9f553c7845.bundle.js} +1 -1
  139. package/dist/{230.28deb650d81d3ce40fdc.bundle.js → 229.a2d575f36de5f1763342.bundle.js} +1 -1
  140. package/dist/{23.d27e1bdf1f2e6bb62fa4.bundle.js → 23.9d9bea64ee0f22ec8159.bundle.js} +2 -2
  141. package/dist/{231.1bd697a441224f2fccfe.bundle.js → 230.4d5c3a00d39fbdd6d152.bundle.js} +1 -1
  142. package/dist/{232.566b87ef4976f79cea65.bundle.js → 231.434597b10f9e7fb259df.bundle.js} +1 -1
  143. package/dist/232.8815712672db26258aa6.bundle.js +1 -0
  144. package/dist/233.f3bb4e8d76549cfabee1.bundle.js +1 -0
  145. package/dist/{235.43d04e575269c106efe9.bundle.js → 234.863ddddb8449ed7c0ee1.bundle.js} +1 -1
  146. package/dist/{236.7198f0e3c4e0aba1b711.bundle.js → 235.956f01dae59a47f998b5.bundle.js} +1 -1
  147. package/dist/{237.8182429a519c72f50b3e.bundle.js → 236.36baaaeee73e76c481c7.bundle.js} +1 -1
  148. package/dist/{238.5e228bd5c12ece1093cc.bundle.js → 237.5bce30c4e82980e9754f.bundle.js} +1 -1
  149. package/dist/{239.8e061122b61743b3465f.bundle.js → 238.331be8ca0bb118630e24.bundle.js} +1 -1
  150. package/dist/{240.0b1616112ed290e78ab7.bundle.js → 239.db5085cb5625931497c1.bundle.js} +1 -1
  151. package/dist/{24.92bf4e49692b9c75a55d.bundle.js → 24.d59101c362ac2970a6b9.bundle.js} +1 -1
  152. package/dist/240.fecfcc8370363c1b7687.bundle.js +1 -0
  153. package/dist/{242.c3f7c90837740f461b3b.bundle.js → 241.5f31e65b530c9c673af3.bundle.js} +1 -1
  154. package/dist/242.1e45789ff34bf3d1d6ec.bundle.js +1 -0
  155. package/dist/{244.3110bb5a8300d195e1f2.bundle.js → 243.39f5289044a150487acb.bundle.js} +1 -1
  156. package/dist/{245.f7d3853ef4b296d49ac2.bundle.js → 244.3e3b0217ad8558015878.bundle.js} +1 -1
  157. package/dist/{246.2d6e5f29e5f75762eb07.bundle.js → 245.12f6b1e768771000f1f3.bundle.js} +1 -1
  158. package/dist/246.f10a2aae2e116152dc7c.bundle.js +1 -0
  159. package/dist/{248.037043809398c10fc5ef.bundle.js → 247.be423d9800ef044d2a33.bundle.js} +1 -1
  160. package/dist/{249.708995171b1ef0a960f8.bundle.js → 248.6fb8d92b19677312ec2f.bundle.js} +1 -1
  161. package/dist/{250.abf997bb3a868bcffa61.bundle.js → 249.361380fd0c4d2710e06b.bundle.js} +1 -1
  162. package/dist/{25.76313d3de180de838f79.bundle.js → 25.199fc623310cefd2f4ad.bundle.js} +1 -1
  163. package/dist/{251.bf23de4a477a3d6ff964.bundle.js → 250.9cc0025717bda9ff85ac.bundle.js} +1 -1
  164. package/dist/{252.dbcb6f45c195255004e5.bundle.js → 251.7bd7c734de38e195da15.bundle.js} +1 -1
  165. package/dist/{253.be100e16651d601f687f.bundle.js → 252.8afa7a1e2a6e4c5a926d.bundle.js} +1 -1
  166. package/dist/{254.fb1530fc3e147cacad71.bundle.js → 253.b9409aa29124da201410.bundle.js} +1 -1
  167. package/dist/{255.30a3e052d8e9e7982063.bundle.js → 254.42a241c6856d1a55afa8.bundle.js} +1 -1
  168. package/dist/{256.91ebaee133283c39881d.bundle.js → 255.a0c66c6f832d20e3397e.bundle.js} +1 -1
  169. package/dist/{257.3e570aa4e758fac2b2f0.bundle.js → 256.a8fd6ef683a6fb3742db.bundle.js} +1 -1
  170. package/dist/{258.39e96f0c5de71c54e796.bundle.js → 257.44e7db279a0efb0018ff.bundle.js} +1 -1
  171. package/dist/{259.f5b9d6459c55aff64dcd.bundle.js → 258.d79f5ef6319cb30b0118.bundle.js} +1 -1
  172. package/dist/{260.593a7610b3df4ae713c9.bundle.js → 259.8a37906084ccf1911e30.bundle.js} +1 -1
  173. package/dist/{26.babc1c6662b9ba067177.bundle.js → 26.ddaf300ca3cebd842a06.bundle.js} +1 -1
  174. package/dist/{261.48c648ab8355d092fe8f.bundle.js → 260.75e33fe1306bc28415b9.bundle.js} +1 -1
  175. package/dist/{262.65c73cb5d0fbefe0baf4.bundle.js → 261.87ee58d6687591dbc53d.bundle.js} +1 -1
  176. package/dist/{263.2ff1f20fd7dc88370164.bundle.js → 262.53c026834f1a7c31cff4.bundle.js} +1 -1
  177. package/dist/{264.f6d6d64d76e3dfe04fa1.bundle.js → 263.ac0888e10472290fd5cd.bundle.js} +1 -1
  178. package/dist/{265.2ea8090292a86db73bed.bundle.js → 264.4206d53ab8da96bc5375.bundle.js} +1 -1
  179. package/dist/{266.9465da3286b0b5e059b2.bundle.js → 265.ca35e25f40cc557e9326.bundle.js} +1 -1
  180. package/dist/{267.5f65d2ac3a94255050c6.bundle.js → 266.549fcc29307b61d6b427.bundle.js} +1 -1
  181. package/dist/{268.b56d0649d9e78844c830.bundle.js → 267.e5b8430e17b550a89458.bundle.js} +1 -1
  182. package/dist/{269.a00401c177fd14ae0c1f.bundle.js → 268.f9bbc4810ebb192a1432.bundle.js} +1 -1
  183. package/dist/{270.df0269e47d234e3c7b53.bundle.js → 269.f8aba27c315f1a1b4484.bundle.js} +1 -1
  184. package/dist/{27.ed092438f83fe9075f02.bundle.js → 27.b6ec15df0eb1e0c65f9b.bundle.js} +1 -1
  185. package/dist/{271.8581a9231b36d0f97e00.bundle.js → 270.f4c88d06faa70fe73cd9.bundle.js} +1 -1
  186. package/dist/{272.9241175b9f6526de0f2a.bundle.js → 271.398aaa6c01600df61c6b.bundle.js} +1 -1
  187. package/dist/{273.395881adba4e9ec1c60f.bundle.js → 272.414a02980b8cb5dc2380.bundle.js} +1 -1
  188. package/dist/{274.660cbfc53dfbe8e406af.bundle.js → 273.13cc72edc9ab16311f3a.bundle.js} +1 -1
  189. package/dist/{275.963caf205807a9629ce2.bundle.js → 274.5683e1f4c2c1f6902888.bundle.js} +1 -1
  190. package/dist/{276.48625189c1286a05fd4c.bundle.js → 275.fff6b0befb4b17f37eda.bundle.js} +1 -1
  191. package/dist/{277.9c19fa229933c6222b17.bundle.js → 276.99cdf1dff924b1f9c64c.bundle.js} +1 -1
  192. package/dist/{278.aac622323c504e577b2a.bundle.js → 277.f02152d211fea267e0ed.bundle.js} +1 -1
  193. package/dist/{279.6745fa845fbfa74e75bb.bundle.js → 278.22ea31506084cf22b1d2.bundle.js} +1 -1
  194. package/dist/{280.443811921e18f3043058.bundle.js → 279.a84df2f197ed43f54e65.bundle.js} +1 -1
  195. package/dist/{28.48b50b803b4baaa34846.bundle.js → 28.af295559f3ec77d40839.bundle.js} +1 -1
  196. package/dist/{281.d28c664e6a570fc84f12.bundle.js → 280.f1354e40d7a16b412e88.bundle.js} +1 -1
  197. package/dist/{282.dd2315477a98a3ff5f83.bundle.js → 281.5683a8f152dcc8f75e4d.bundle.js} +1 -1
  198. package/dist/{283.e118d0da0229e1ff6279.bundle.js → 282.4aae3dba3b35ea673c13.bundle.js} +1 -1
  199. package/dist/{284.b354586b137e9d897700.bundle.js → 283.ce463e4cfa59e37d607b.bundle.js} +1 -1
  200. package/dist/284.1ce80efe24b24204cb01.bundle.js +1 -0
  201. package/dist/{286.da86b665251df217c00a.bundle.js → 285.a1fd5a729eebc9586f96.bundle.js} +1 -1
  202. package/dist/{287.e06fcbe992886459fc4a.bundle.js → 286.b4d04aefb9c8758eb72c.bundle.js} +1 -1
  203. package/dist/{288.7b8342ef2f06c297efa8.bundle.js → 287.869b9eda721edd0d7042.bundle.js} +1 -1
  204. package/dist/{289.58a7e6ee8c3e123dc429.bundle.js → 288.c079bcb1e2518d4b2813.bundle.js} +1 -1
  205. package/dist/{290.146ba3fdfbe710791cba.bundle.js → 289.71c26b5ffaa393ece793.bundle.js} +1 -1
  206. package/dist/{29.55c290bfb5c4616d2d81.bundle.js → 29.dea0307e0502c61e2610.bundle.js} +1 -1
  207. package/dist/290.83a1baddc302c385a207.bundle.js +1 -0
  208. package/dist/{292.3ccfe3e09f4f60976994.bundle.js → 291.e69fc89f2f1c20f53684.bundle.js} +1 -1
  209. package/dist/{293.24d7d7b5ee0dc6abf357.bundle.js → 292.c20bfd9c5c2dc21cbfe5.bundle.js} +1 -1
  210. package/dist/293.90f1abeb090649362253.bundle.js +1 -0
  211. package/dist/{295.d73226da95f8b1c5729c.bundle.js → 294.2d7d4a8da28fc02d3ba0.bundle.js} +1 -1
  212. package/dist/{296.547cf6617c31df5cc90e.bundle.js → 295.0c580d314b031753d9b5.bundle.js} +1 -1
  213. package/dist/{297.667086f08d35fbf48395.bundle.js → 296.214f47f8d04f8172325a.bundle.js} +1 -1
  214. package/dist/{298.dba77c4207a920d56f6b.bundle.js → 297.150d2e735d97469bc97a.bundle.js} +1 -1
  215. package/dist/{299.2e9e96c44921369b1b19.bundle.js → 298.e0fe45df8f4d8971c381.bundle.js} +1 -1
  216. package/dist/{300.e1c2fa76ba52143d0321.bundle.js → 299.3499097fbb66b52fc421.bundle.js} +1 -1
  217. package/dist/{3.6333d6a0418e5320bf56.bundle.js → 3.bf5407fd4f31a2fb73fb.bundle.js} +1 -1
  218. package/dist/{30.1b73d7094674c61834ba.bundle.js → 30.83358047fbcc339d474f.bundle.js} +1 -1
  219. package/dist/{301.95db4a50bfc24f68ac2e.bundle.js → 300.39de47db08587229ef0e.bundle.js} +1 -1
  220. package/dist/{302.89060f1450aaaa8329bf.bundle.js → 301.1343a9b079798562aa6a.bundle.js} +1 -1
  221. package/dist/{303.c822e7199ecac39adcfb.bundle.js → 302.750cbc741f3c77e99e81.bundle.js} +1 -1
  222. package/dist/{304.65aa89b76b934124dbee.bundle.js → 303.e44f63ffeda3cbf7ae16.bundle.js} +1 -1
  223. package/dist/{305.2eeb37b548e027712722.bundle.js → 304.2d3ac502aa624081b1e5.bundle.js} +1 -1
  224. package/dist/{31.85e82cea20093fb38001.bundle.js → 31.44a332e103ab9b33000d.bundle.js} +1 -1
  225. package/dist/{311.2b9993e11f4cef6911a5.bundle.js → 310.82c1148db42192c0090c.bundle.js} +1 -1
  226. package/dist/{312.a511ecbbbcfe8341e517.bundle.js → 311.9874544df1bbafd10692.bundle.js} +1 -1
  227. package/dist/{313.ecb3eb64bb8dc315e292.bundle.js → 312.e1b40283b695dcb101b0.bundle.js} +1 -1
  228. package/dist/{314.a4ad30cde3d6dff34628.bundle.js → 313.d9cca6e410a0f1a448bb.bundle.js} +1 -1
  229. package/dist/{315.1f1cf5c188d94b8d4e14.bundle.js → 314.f597d0c2a2be830776de.bundle.js} +1 -1
  230. package/dist/{316.2f4496d2edbc7fc747b7.bundle.js → 315.58bc5637ceb47626bde3.bundle.js} +1 -1
  231. package/dist/{317.209dc16df0afb578e39e.bundle.js → 316.4f9a18e26bbe0f0adbe6.bundle.js} +1 -1
  232. package/dist/{318.e6ddb4a1c9843e7771f1.bundle.js → 317.979f24ed265641b8ddc1.bundle.js} +1 -1
  233. package/dist/{319.a27170539b52cb9dab92.bundle.js → 318.f5c05dd1599c529762e4.bundle.js} +1 -1
  234. package/dist/{320.dfb7824d64eb50a53144.bundle.js → 319.cccd7fb2eaa18f65e716.bundle.js} +1 -1
  235. package/dist/{32.febd6dc42d5e2a4244c8.bundle.js → 32.be13f368fa0460e227a7.bundle.js} +1 -1
  236. package/dist/{321.a0c97ce6d54400967ab1.bundle.js → 320.0d9f2f2aeda450f2f0a7.bundle.js} +1 -1
  237. package/dist/{322.25cddf396e5160617a9a.bundle.js → 321.2f817913ca2f9cd27812.bundle.js} +1 -1
  238. package/dist/{323.5484fbc2febd83f8d00e.bundle.js → 322.ad2b9395bfbc385119fe.bundle.js} +1 -1
  239. package/dist/{324.521f021f636c10821162.bundle.js → 323.7b979063981cd58478be.bundle.js} +1 -1
  240. package/dist/{325.08b69bd9b1a34cc35d67.bundle.js → 324.37c3249317427c3878c6.bundle.js} +1 -1
  241. package/dist/{326.8a369e8cb3db85e5fd21.bundle.js → 325.993f7143c5d5592ab355.bundle.js} +1 -1
  242. package/dist/{327.9a1305561b9ee871f677.bundle.js → 326.e5ce686fb321b3922da0.bundle.js} +1 -1
  243. package/dist/{328.0e4ebf7e474a23cf0aa8.bundle.js → 327.40d5727ccb824f68ecd1.bundle.js} +1 -1
  244. package/dist/{329.95f8d46ef472c45724ef.bundle.js → 328.c8475579baf28af54890.bundle.js} +1 -1
  245. package/dist/{330.b557e07136977ad81a04.bundle.js → 329.29a283ec1f3ceb4adb26.bundle.js} +1 -1
  246. package/dist/{33.94d61e47c49d1dc0d799.bundle.js → 33.34c20158a0c7476d953f.bundle.js} +1 -1
  247. package/dist/{331.70b775db910815aec7d5.bundle.js → 330.4e27caee2a547aeaf45b.bundle.js} +1 -1
  248. package/dist/{332.6174c9a0244faea483d8.bundle.js → 331.8e2eed9790d553e91940.bundle.js} +1 -1
  249. package/dist/{333.c46d92559385a3ec4ea7.bundle.js → 332.6b6043fc84aa75c59a29.bundle.js} +1 -1
  250. package/dist/{334.54392f7f0e16887b2f41.bundle.js → 333.1629c955f4780836ba1e.bundle.js} +1 -1
  251. package/dist/{335.bdec765f2598123058be.bundle.js → 334.820bf9aa8aca42035920.bundle.js} +1 -1
  252. package/dist/{336.4af91442c99d4ec1a557.bundle.js → 335.441f2c1b005bf4da9da9.bundle.js} +1 -1
  253. package/dist/{337.9b0aefa9e9997e8bb366.bundle.js → 336.2e620911b9848d22d0bc.bundle.js} +1 -1
  254. package/dist/{338.6ea16c3d7f81ea4d3d58.bundle.js → 337.dd96b11f66d00f3c11d8.bundle.js} +1 -1
  255. package/dist/{339.9059878c18fa2c749de8.bundle.js → 338.31ccf952930ab1a64141.bundle.js} +1 -1
  256. package/dist/{340.13712037d8e707ae11ef.bundle.js → 339.8e581416b7b86cfd8829.bundle.js} +1 -1
  257. package/dist/{34.1fd643b9432470f8a604.bundle.js → 34.cec479590af17a5f1b17.bundle.js} +1 -1
  258. package/dist/{341.50bccf91ec47cd6b9470.bundle.js → 340.2a9bbb58af2ebd5eaad8.bundle.js} +1 -1
  259. package/dist/{342.84abf16d1ae0f3fa58e3.bundle.js → 341.2e30539f06783590237c.bundle.js} +1 -1
  260. package/dist/{343.8f3430d930b608c20751.bundle.js → 342.881d5df270fb6891b5aa.bundle.js} +1 -1
  261. package/dist/{344.9387f3ddd773381699bb.bundle.js → 343.a197d3c62465378339aa.bundle.js} +1 -1
  262. package/dist/{345.129967192316e48437d4.bundle.js → 344.03eeb3da1ab8be45223d.bundle.js} +1 -1
  263. package/dist/{346.26d147e0f77ff069acbd.bundle.js → 345.5f48e10965bfdaca076a.bundle.js} +1 -1
  264. package/dist/{347.3ee25a23ffcb21051539.bundle.js → 346.222128167abd9e37a506.bundle.js} +1 -1
  265. package/dist/{348.32f9dbf6dd88ef9ef2fa.bundle.js → 347.a43c655bcfb27aebf21f.bundle.js} +1 -1
  266. package/dist/{349.6b417c71a22af055359f.bundle.js → 348.fc0a1d8a9f0c832aa8ab.bundle.js} +1 -1
  267. package/dist/{350.0cb56b29da5fdb977c3d.bundle.js → 349.6fffb3cae65ee940693a.bundle.js} +1 -1
  268. package/dist/{35.af4ea855fb946c6455a8.bundle.js → 35.2d8679e695ed60ffd6cb.bundle.js} +1 -1
  269. package/dist/{351.45e2fa352cb26a0826c4.bundle.js → 350.46496fb9ac596d87a6dd.bundle.js} +1 -1
  270. package/dist/{352.b8833055f446b4432a51.bundle.js → 351.c0d2293d07f7b3fe2e1e.bundle.js} +1 -1
  271. package/dist/{353.35379a499cac3a62bc55.bundle.js → 352.ce177c6de5a67a54fa09.bundle.js} +1 -1
  272. package/dist/{354.0481230d0681abc066ea.bundle.js → 353.062e7407b1897bf7cc94.bundle.js} +1 -1
  273. package/dist/{355.c1251d26aa986c6b579d.bundle.js → 354.f93c5a2afd738d69c647.bundle.js} +1 -1
  274. package/dist/{356.03c285ab5bdf2bd3e12d.bundle.js → 355.1f8e35f904433628b5f6.bundle.js} +1 -1
  275. package/dist/{357.8685dd981d95da81248a.bundle.js → 356.ec6765fff7de228d9851.bundle.js} +1 -1
  276. package/dist/{358.86b09694d2d0700f75ed.bundle.js → 357.080f7f0713070c48821d.bundle.js} +1 -1
  277. package/dist/{359.fac3bcab66e2baa83202.bundle.js → 358.0f1231c8453e8a211b66.bundle.js} +1 -1
  278. package/dist/{360.f21e8815aea4c61d4de1.bundle.js → 359.5e4939ee985e5ee4aa08.bundle.js} +1 -1
  279. package/dist/{36.0530100261e4e11638bf.bundle.js → 36.e08e03897ba4766efbb2.bundle.js} +1 -1
  280. package/dist/{361.48dd1b79917eaa9b7e6a.bundle.js → 360.c02645ba0f7ccc709bd3.bundle.js} +1 -1
  281. package/dist/{362.23ea58a6d71ace84a1a6.bundle.js → 361.7d22ee4c5cc1f0f62847.bundle.js} +1 -1
  282. package/dist/{363.d035bde2a6e524abebbb.bundle.js → 362.1bacdbc961d8d9340b05.bundle.js} +1 -1
  283. package/dist/{364.ca825d61b795d834659a.bundle.js → 363.d56197d81f8b906de505.bundle.js} +1 -1
  284. package/dist/{365.d6f8aadf1c0a634b8461.bundle.js → 364.f7d8a7e79c6918701b69.bundle.js} +1 -1
  285. package/dist/{366.86e8279bfe0cf51b6511.bundle.js → 365.e75d8e89ce4fbe893c53.bundle.js} +1 -1
  286. package/dist/{367.044c0183e4b99a0b6345.bundle.js → 366.4a672b01bd6827f8fb5b.bundle.js} +1 -1
  287. package/dist/{368.9f4b02a874a9456d77ed.bundle.js → 367.c7afbfe177106f5da484.bundle.js} +1 -1
  288. package/dist/{369.ab4263bb42d3f317264b.bundle.js → 368.c422af78aedc9c0aa9fb.bundle.js} +1 -1
  289. package/dist/{370.74ea79a0e3815a78e966.bundle.js → 369.36c2e57f36dbbdb0244d.bundle.js} +1 -1
  290. package/dist/{37.8cd574980043ce8ce2c5.bundle.js → 37.cfe4a522de85d5c655e4.bundle.js} +1 -1
  291. package/dist/{371.ae1a62cc1a69115e3f8f.bundle.js → 370.323b8d44f600bf312ca8.bundle.js} +1 -1
  292. package/dist/{372.5e3859739cd36c6ffd8a.bundle.js → 371.4ac7a2c3459079f9fb6a.bundle.js} +1 -1
  293. package/dist/{373.6e2258b5ab6ced0f532d.bundle.js → 372.8c2b50c5a331ae2b9c70.bundle.js} +1 -1
  294. package/dist/373.9ed7674129588e479e21.bundle.js +1 -0
  295. package/dist/{375.fd66d9e99c21bb8621a7.bundle.js → 374.b8ba6d28714210a3468b.bundle.js} +1 -1
  296. package/dist/{376.5e3632f2491cea9e0c8f.bundle.js → 375.3273381131fe2a8a2d6a.bundle.js} +1 -1
  297. package/dist/{377.ef5f3c3684072649f0d0.bundle.js → 376.4abc77ce350e98e61006.bundle.js} +1 -1
  298. package/dist/{378.655ee2a6b9445fb98536.bundle.js → 377.ae7fb3655af86acf9cd8.bundle.js} +1 -1
  299. package/dist/{379.6703214bd0a62d6bba1b.bundle.js → 378.13c8331f50dd6a1792d7.bundle.js} +1 -1
  300. package/dist/{380.a1095e01a9df1355fd0a.bundle.js → 379.cee485c49fe7cbbf1b00.bundle.js} +1 -1
  301. package/dist/{38.50c1f0dadd0b2a1f2d5b.bundle.js → 38.5454bca277ba64dc0b9c.bundle.js} +1 -1
  302. package/dist/{381.d57b46174191d9f426e9.bundle.js → 380.19a7d7b2178f303269b4.bundle.js} +1 -1
  303. package/dist/381.342f1effca225442db3a.bundle.js +1 -0
  304. package/dist/382.df1f73b97648ec3852ed.bundle.js +1 -0
  305. package/dist/{384.4e40e9fcefcecfc9ed70.bundle.js → 383.233b1f1c05d6a41ca667.bundle.js} +1 -1
  306. package/dist/{385.6ed894fe60872f194c7a.bundle.js → 384.8974dcb54aa79ecfa41d.bundle.js} +1 -1
  307. package/dist/{386.f6e72f5f0006f45ca17a.bundle.js → 385.991354ffdbbbef4b03cd.bundle.js} +1 -1
  308. package/dist/{387.07a6d582350bf2ffff56.bundle.js → 386.fb346c88e1a04097ea31.bundle.js} +1 -1
  309. package/dist/{39.17dd78ea525a513bc542.bundle.js → 39.6f313b421b3223b413e9.bundle.js} +1 -1
  310. package/dist/{4.9a24659420974a60e2bd.bundle.js → 4.3aa2978368a7d1c55d97.bundle.js} +1 -1
  311. package/dist/{40.135a8b3dbb9bfe3a30b4.bundle.js → 40.8d1fe07eea5143d01072.bundle.js} +1 -1
  312. package/dist/{41.b736d1963250d40b37f8.bundle.js → 41.6d31d16cd2e148da0781.bundle.js} +1 -1
  313. package/dist/{42.edb1b0aa4f57312318a3.bundle.js → 42.48329e6d142b4e520134.bundle.js} +1 -1
  314. package/dist/{43.b67550476de4e84f6d54.bundle.js → 43.5bbca603ca6ec5a5068e.bundle.js} +1 -1
  315. package/dist/{44.0dcf36e865d7ccc58a98.bundle.js → 44.00252a53efa0a86deb44.bundle.js} +1 -1
  316. package/dist/{45.27d67df97d00698f054a.bundle.js → 45.d5bab5f557f0839e6056.bundle.js} +1 -1
  317. package/dist/{47.d1aedf3c8b21df0c0db6.bundle.js → 46.a801a28fe2168e6c723c.bundle.js} +1 -1
  318. package/dist/{48.d80d61369975c89e80db.bundle.js → 47.059fd9cc3b179ebed65d.bundle.js} +1 -1
  319. package/dist/{49.d23a9330be7f04d859de.bundle.js → 48.54707551ab8a11198afc.bundle.js} +1 -1
  320. package/dist/{50.ec14ac614772913e0be0.bundle.js → 49.1d0155d2196c26d66a02.bundle.js} +1 -1
  321. package/dist/{5.016cab5488e6dabbbcb7.bundle.js → 5.ebb8b6aea672c64029b1.bundle.js} +1 -1
  322. package/dist/{51.ea2981187a41b2830b12.bundle.js → 50.c4d3b40295500a0c33ad.bundle.js} +1 -1
  323. package/dist/{52.a38b6e76a6402b2e5b78.bundle.js → 51.8fa369af0c8b5e11d04c.bundle.js} +1 -1
  324. package/dist/{53.9230da51045afcd8b497.bundle.js → 52.29052e36a74030d9e41a.bundle.js} +1 -1
  325. package/dist/{54.9b232eafefbda85cc4bd.bundle.js → 53.a61647e9e6eac009a7ae.bundle.js} +1 -1
  326. package/dist/{55.8ada9bc7e9011b6e7c21.bundle.js → 54.1a6e4ada1e69a58b2b52.bundle.js} +1 -1
  327. package/dist/{56.302766c61395b663e4c3.bundle.js → 55.2807daccad98b7aa15f2.bundle.js} +2 -2
  328. package/dist/{57.eeae8574f1671e69cc95.bundle.js → 56.7452b2314534830e98ad.bundle.js} +1 -1
  329. package/dist/{58.bca4759e835334e5e710.bundle.js → 57.a23e424da1d5d3b5ae86.bundle.js} +1 -1
  330. package/dist/58.463fc66ca234d1129da3.bundle.js +1 -0
  331. package/dist/{59.aa594f0e5ea5ef6ab2a2.bundle.js → 59.351c47755bb06aaa8331.bundle.js} +1 -1
  332. package/dist/{6.b9f1177353b195a6d88e.bundle.js → 6.2cf11b39c0980889d446.bundle.js} +1 -1
  333. package/dist/{60.039181bd14444d1ea257.bundle.js → 60.3df0dcd9af2fa4c7ce34.bundle.js} +1 -1
  334. package/dist/{61.7736faf8cd8733139f11.bundle.js → 61.e8a681d3549fc169ec69.bundle.js} +1 -1
  335. package/dist/{62.a1550d756c7796721dc1.bundle.js → 62.b927e1ec0b1ff61e718b.bundle.js} +1 -1
  336. package/dist/{63.57c05d1f522958467257.bundle.js → 63.fdf8c8063ae9069e4f52.bundle.js} +1 -1
  337. package/dist/{64.3d6c08808a56fda8c18a.bundle.js → 64.79f5587fd87a655b6f69.bundle.js} +1 -1
  338. package/dist/{65.530bfe6d5589879af56a.bundle.js → 65.1fe55cdf3db59639e085.bundle.js} +1 -1
  339. package/dist/{66.592b440583a6e7c48336.bundle.js → 66.56fb556d0519aa95d8f4.bundle.js} +1 -1
  340. package/dist/{67.2f9547fd1b14efa12158.bundle.js → 67.e6fb2cb180cf6dbadef7.bundle.js} +1 -1
  341. package/dist/{68.55c008fb3a0efa470906.bundle.js → 68.e7d9be16a37b8887a931.bundle.js} +1 -1
  342. package/dist/{69.44cd46e87a6df00420b5.bundle.js → 69.107d812cd5ebbf60fc94.bundle.js} +1 -1
  343. package/dist/{7.542348a49b096f91f943.bundle.js → 7.a93531535990ecc25f07.bundle.js} +1 -1
  344. package/dist/{70.b7bc7b875addfff41525.bundle.js → 70.05fb2a311f0b1542c9e3.bundle.js} +1 -1
  345. package/dist/{71.c8ee9a76c64455ab9c8f.bundle.js → 71.1d860f6f8ae3d0192c80.bundle.js} +1 -1
  346. package/dist/{72.b97671744c9618e13a10.bundle.js → 72.a4d0ad3506f133140cec.bundle.js} +1 -1
  347. package/dist/{73.96f11c5b82fd5a7fd278.bundle.js → 73.403c9b3c8405eae5d293.bundle.js} +1 -1
  348. package/dist/{74.b027d1ed936bc8477060.bundle.js → 74.246979b1c0e7a79cbb85.bundle.js} +1 -1
  349. package/dist/{75.46b361955c7b29de651b.bundle.js → 75.dc785f04f93ebfbe0f30.bundle.js} +1 -1
  350. package/dist/{76.a33b72d5a897ff6f997e.bundle.js → 76.8a8f93d40dcf4291240b.bundle.js} +1 -1
  351. package/dist/{77.66e2f439385f8b80c2d0.bundle.js → 77.9cb29b89a66fd100e00b.bundle.js} +1 -1
  352. package/dist/{78.1e4e853ae303c2980a07.bundle.js → 78.783bd0d21bd685c73354.bundle.js} +1 -1
  353. package/dist/{79.91afac30b1857d2c92a7.bundle.js → 79.dbd2c812fd44a8c1ea2e.bundle.js} +1 -1
  354. package/dist/8.7f0f98ff96fac525fd5a.bundle.js +1 -0
  355. package/dist/{80.13225c4f7ca42fa0d371.bundle.js → 80.0dce75d76715811e2a2d.bundle.js} +1 -1
  356. package/dist/{81.cc5452e74f002eb3fc9d.bundle.js → 81.f11e24e42a58eddb7cbc.bundle.js} +1 -1
  357. package/dist/{82.bb1512ea446fc990ee27.bundle.js → 82.2388472786ba09a073ac.bundle.js} +1 -1
  358. package/dist/{83.ddb9d63112221a854b07.bundle.js → 83.8225300dc7f6501d3272.bundle.js} +1 -1
  359. package/dist/{84.7979d2956e92650723eb.bundle.js → 84.61195a0da3027c477514.bundle.js} +1 -1
  360. package/dist/{85.f16029ac40b8d3d39fc0.bundle.js → 85.d4f4cc98d3ff4c390902.bundle.js} +1 -1
  361. package/dist/{86.3e1118b3b3b2afa9bb66.bundle.js → 86.a2249c525b967ba8b763.bundle.js} +1 -1
  362. package/dist/{87.678958410087d805075c.bundle.js → 87.5aec7ee5fcb238104d38.bundle.js} +1 -1
  363. package/dist/{88.49ed0628c81926c98925.bundle.js → 88.55adafc6fc56ada49607.bundle.js} +1 -1
  364. package/dist/{89.6ac5c16928e147cba2dc.bundle.js → 89.b6489d83523f9191b801.bundle.js} +1 -1
  365. package/dist/{9.d94d4bf6e7269f1f1727.bundle.js → 9.385a4c21f00bcb09a7bc.bundle.js} +1 -1
  366. package/dist/{90.1e1e6b754b039dd0b8de.bundle.js → 90.10abbbaca2bb8d1a79fe.bundle.js} +1 -1
  367. package/dist/{91.e3a89118ae2dc2f1dc0f.bundle.js → 91.1df650208fadeee9f58b.bundle.js} +1 -1
  368. package/dist/{92.6c45ec02f991fb9e0343.bundle.js → 92.06409c8e211adeee4d3e.bundle.js} +1 -1
  369. package/dist/{93.a1f7a0484491627fbcc7.bundle.js → 93.b392be47708365adb665.bundle.js} +1 -1
  370. package/dist/{94.3b61b1bbef667eb95aca.bundle.js → 94.78366351a9e8b6118152.bundle.js} +1 -1
  371. package/dist/{95.4901c21c6119f2dcf99c.bundle.js → 95.d4c56863599ed79076dd.bundle.js} +1 -1
  372. package/dist/{96.48ec2dc5cafc428581d6.bundle.js → 96.63d23375f0483dd84c16.bundle.js} +1 -1
  373. package/dist/{97.bac15331c44cf11b7d7c.bundle.js → 97.e18facc2d4c43d1ce376.bundle.js} +1 -1
  374. package/dist/{98.7bac7bac2ad7abf2e083.bundle.js → 98.8db4998c638e9a3d3566.bundle.js} +1 -1
  375. package/dist/{99.e7ceaa6c9c8bd7672878.bundle.js → 99.5a00b0fcadc5efe1407e.bundle.js} +1 -1
  376. package/dist/{bundle.08cbe1859ba528283283.bundle.js → bundle.202db8517acfc0d257cd.bundle.js} +13 -13
  377. package/dist/index.html +4 -4
  378. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  379. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  380. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  381. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  382. package/dist/js/angular/security/templates/user.html +1 -1
  383. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  384. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  385. package/dist/js/angular/ttyg/templates/chat-list.html +2 -2
  386. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  387. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  388. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  389. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  390. package/dist/license-checker.json +2 -2
  391. package/dist/{main.3c684afa9035e26698d0.bundle.js → main.269962097c8301c719bd.bundle.js} +1 -1
  392. package/dist/pages/aclmanagement.html +2 -2
  393. package/dist/pages/autocomplete.html +1 -1
  394. package/dist/pages/choose-repository-type.html +1 -1
  395. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  396. package/dist/pages/create-index.html +1 -1
  397. package/dist/pages/dependencies.html +1 -1
  398. package/dist/pages/domainRangeInfo.html +2 -2
  399. package/dist/pages/edit.html +1 -1
  400. package/dist/pages/explore.html +1 -1
  401. package/dist/pages/export.html +1 -1
  402. package/dist/pages/find.html +1 -1
  403. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  404. package/dist/pages/graphs-visualizations.html +7 -7
  405. package/dist/pages/guides.html +1 -1
  406. package/dist/pages/import.html +2 -2
  407. package/dist/pages/jdbc-create.html +1 -1
  408. package/dist/pages/monitor/backup-and-restore.html +1 -1
  409. package/dist/pages/monitor/queries.html +1 -1
  410. package/dist/pages/monitor/resources.html +1 -1
  411. package/dist/pages/namespaces.html +2 -2
  412. package/dist/pages/plugins.html +1 -1
  413. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  414. package/dist/pages/rdfrank.html +2 -2
  415. package/dist/pages/repositories.html +1 -1
  416. package/dist/pages/repository.html +1 -1
  417. package/dist/pages/similarity-indexes.html +1 -1
  418. package/dist/pages/sparql-editor.html +1 -1
  419. package/dist/pages/sparql-template-create.html +1 -1
  420. package/dist/pages/ux-test1.html +2 -2
  421. package/dist/pages/webapi.html +2 -2
  422. package/dist/{polyfills-dom.2e911e88416db513165d.bundle.js → polyfills-dom.05a7770bb435a0b38fc6.bundle.js} +1 -1
  423. package/dist/res/swagger5/index.html +12 -12
  424. package/dist/vendor.0dbd09f6d69e78b19728.css +25 -0
  425. package/dist/{vendor.c8de9e8334756c4117a7.bundle.js → vendor.70a25ea39bd7c73a002b.bundle.js} +4 -4
  426. package/dist/{vendors~polyfills-core-js.b457b41cf3ac34b0e840.bundle.js → vendors~polyfills-core-js.82092a0fe7a70177b16e.bundle.js} +1 -1
  427. package/package.json +2 -1
  428. package/dist/132.944ecc91b5233d778847.bundle.js +0 -1
  429. package/dist/200.4c9bc00fd17bb2192bd9.bundle.js +0 -1
  430. package/dist/220.021899f905b9ad3d6a2f.bundle.js +0 -1
  431. package/dist/222.180b7745dd350d7e0e40.bundle.js +0 -1
  432. package/dist/233.d221cf4fc26c61fad24c.bundle.js +0 -1
  433. package/dist/234.f32797efb10ecea1afc8.bundle.js +0 -1
  434. package/dist/241.f9f39df3f0ec396ae5b5.bundle.js +0 -1
  435. package/dist/243.d4b2847d8cb1af74a2ac.bundle.js +0 -1
  436. package/dist/247.5b2fe2937e878cd03e99.bundle.js +0 -1
  437. package/dist/285.fe1f3516ae2d0723a085.bundle.js +0 -1
  438. package/dist/291.453ba8701e97d5e0e9f2.bundle.js +0 -1
  439. package/dist/294.b7b4f37beb07369dd85e.bundle.js +0 -1
  440. package/dist/374.9e21d915726536564967.bundle.js +0 -1
  441. package/dist/382.78ab349878afa6f19d97.bundle.js +0 -1
  442. package/dist/383.fd4a62cce2cb093fdb90.bundle.js +0 -1
  443. package/dist/46.a61ad257a02ee69f07de.bundle.js +0 -1
  444. package/dist/8.f209baf701ce824606aa.bundle.js +0 -1
  445. package/dist/vendor.c3e18291118da6a85719.css +0 -20
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[68,97,249],{116:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return a})),e.d(s,"ChatByDayModel",(function(){return h})),e.d(s,"ChatsListModel",(function(){return n}));var i=e(79);class a{constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this.generateHash(),this._name=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chatHistory(){return this._chatHistory}set chatHistory(t){this._chatHistory=t||new i.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class h{constructor(t){this._day=t.day,this._timestamp=t.timestamp,this._chats=t.chats}get day(){return this._day}set day(t){this._day=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chats(){return this._chats}set chats(t){this._chats=t}}class n{constructor(t){this._chats=t||[],this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),e=this._chatsByDay.find(t=>t.day===s);e?e.chats.push(t):this._chatsByDay.push(new h({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(t=>{t.selected=!1})}selectChat(t){this.deselectAll(),this._chats.forEach(s=>{s.selected=s.id===t.id})}getChat(t){return this._chats.find(s=>s.id===t)}renameChat(t){const s=this._chats.find(s=>s.id===t.id);s&&(s.name=t.name)}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}},72:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},79:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return a})),e.d(s,"ChatItemsListModel",(function(){return h}));var i=e(72);class a{constructor(t,s,e,i){this._chatId=t,this._agentId=s,this._question=e,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class h{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[68,97,248],{116:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return a})),e.d(s,"ChatByDayModel",(function(){return h})),e.d(s,"ChatsListModel",(function(){return n}));var i=e(79);class a{constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this.generateHash(),this._name=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chatHistory(){return this._chatHistory}set chatHistory(t){this._chatHistory=t||new i.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class h{constructor(t){this._day=t.day,this._timestamp=t.timestamp,this._chats=t.chats}get day(){return this._day}set day(t){this._day=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chats(){return this._chats}set chats(t){this._chats=t}}class n{constructor(t){this._chats=t||[],this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),e=this._chatsByDay.find(t=>t.day===s);e?e.chats.push(t):this._chatsByDay.push(new h({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(t=>{t.selected=!1})}selectChat(t){this.deselectAll(),this._chats.forEach(s=>{s.selected=s.id===t.id})}getChat(t){return this._chats.find(s=>s.id===t)}renameChat(t){const s=this._chats.find(s=>s.id===t.id);s&&(s.name=t.name)}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}},72:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},79:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return a})),e.d(s,"ChatItemsListModel",(function(){return h}));var i=e(72);class a{constructor(t,s,e,i){this._chatId=t,this._agentId=s,this._question=e,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class h{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[69,97,249],{117:function(t,e,s){"use strict";s.r(e),s.d(e,"chatMessageModelListMapper",(function(){return a})),s.d(e,"chatItemsModelMapper",(function(){return r})),s.d(e,"chatMessageModelMapper",(function(){return o}));var i=s(72),n=s(79);const a=t=>t?t.map(t=>o(t)):[],r=(t=[])=>{const e=[];let s;return t.forEach(t=>{if(i.CHAT_MESSAGE_ROLE.USER===t.role){s&&e.push(s);const i=t.conversationId,a=t.agentId;s=new n.ChatItemModel(i,a,t)}else s.answer=t}),s&&e.push(s),new n.ChatItemsListModel(e)},o=t=>{if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})}},72:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return i})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return n}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},79:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return n})),s.d(e,"ChatItemsListModel",(function(){return a}));var i=s(72);class n{constructor(t,e,s,i){this._chatId=t,this._agentId=e,this._question=s,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class a{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[69,97,248],{117:function(t,e,s){"use strict";s.r(e),s.d(e,"chatMessageModelListMapper",(function(){return a})),s.d(e,"chatItemsModelMapper",(function(){return r})),s.d(e,"chatMessageModelMapper",(function(){return o}));var i=s(72),n=s(79);const a=t=>t?t.map(t=>o(t)):[],r=(t=[])=>{const e=[];let s;return t.forEach(t=>{if(i.CHAT_MESSAGE_ROLE.USER===t.role){s&&e.push(s);const i=t.conversationId,a=t.agentId;s=new n.ChatItemModel(i,a,t)}else s.answer=t}),s&&e.push(s),new n.ChatItemsListModel(e)},o=t=>{if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})}},72:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return i})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return n}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},79:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return n})),s.d(e,"ChatItemsListModel",(function(){return a}));var i=s(72);class n{constructor(t,e,s,i){this._chatId=t,this._agentId=e,this._question=s,this._answer=i}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class a{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[7,60,85,263,304],{103:function(e,o,t){"use strict";t.r(o),t.d(o,"STATIC_RULESETS",(function(){return i})),t.d(o,"REPOSITORY_TYPES",(function(){return n})),t.d(o,"FILENAME_PATTERN",(function(){return r})),t.d(o,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},104:function(e,o,t){"use strict";t.r(o),t.d(o,"UrlUtils",(function(){return n}));const i=/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i;class n{static isValidUrl(e){return i.test(e)}}},123:function(e,o,t){"use strict";t.r(o),t.d(o,"getFileName",(function(){return a}));var i=t(103),n=t(0),r=(t(165),t(20));const a=function(e){let o=e.lastIndexOf("/");-1===o&&(o=e.lastIndexOf("\\"));let t=e;return-1!==o&&(t=t.substring(o+1)),t},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const o=e.getAttribute("aria-expanded");if(o&&"true"===o)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,o){e.queryTimeout&&(o.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(o.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),o.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),o.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(o.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),o.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),o.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),o.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},d=function(e,o){return"isInvalidQueryLimit"===e?o.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?o.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?o.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?o.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?o.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?o.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?o.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?o.instant("invalid.bound.join.block.size"):void 0},u=function(e,o){const t=Object.keys(e),i=Object.values(e);for(let e=0;e<t.length;e++)if(i[e])return d(t[e],o);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,o,t,a,s,l,c,d,u,p,f,m,y){e.RemoteLocationType=r.RemoteLocationType,e.loader=!0,e.locations=[],e.isLocationInactive=function(o){return!o.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(o=>(e.locations=o,o)).finally(()=>e.loader=!1)}e.getLocalLocation=(o,t)=>e.locations.filter(e=>{let i=!0;return t&&(i=e.locationType===t),i&&e.local===o}),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(o){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:o}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(o).finally(()=>R())}))},e.addLocationHttp=function(o){e.loader=!0,d.addLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=o=>{void 0===o.locationType&&(o.locationType=r.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(o)},e.openRemoteLocationDialog=o=>{t.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:o})}}).result.then(t=>{o?e.editLocationHttp(t):e.addLocationHttp(t)})},e.editLocationHttp=function(o){e.loader=!0,d.editLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(o){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(n.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(o).finally(()=>{R(),e.loader=!1}),function(e){const o="dependencies-selectedGraph-"+e.id,t="classHierarchy-selectedGraph-"+e.id;angular.forEach(u.keys(),(function(e){(e.startsWith(t)||e.startsWith(o))&&u.remove(e)}))}(o)}))},e.restartRepository=function(o){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(o).finally(()=>R())}))},e.toggleDefaultRepository=function(o){e.getDefaultRepository()===o?s.setDefaultRepository(null):s.setDefaultRepository(o)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let o=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const t=c.getAuthToken();return t&&(o=`${o}&authToken=${encodeURIComponent(t)}`),o},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){t.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){t.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R();const T=p((function(){y.isActive()&&!o.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function y(e,o,t,i,n){e.upload=function(o){o&&o.length&&(e.uploadFile=o[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,t.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,o.close()})).error((function(o){const t=getError(o);i.error(t,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){o.dismiss("cancel")}}function v(e,o,t,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?o.close(e.newLocation):t.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){o.dismiss("cancel")}}function R(e,o,t,i){e.editedLocation=_.cloneDeep(t),e.docBase=p(i),e.ok=function(){o.close(e.editedLocation)},e.cancel=function(){o.dismiss("cancel")}}function T(e,o){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){o.path(`${o.path()}/${e}`)}}function g(e,o,t,n,r,a,d,p,m,y){function v(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:o.pageTitle=y.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:o.pageTitle=y.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:o.pageTitle=y.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.params=p,o.repositoryType=p.repositoryType,o.enable=!0,o.loader=!0,o.pageTitle=y.instant("view.create.repo.title"),o.repositoryInfo={id:"",params:{},title:"",type:"",location:""},o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(n).then(e=>{o.locations=e}),o.changedLocation=function(){o.$broadcast("changedLocation")},o.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const t=e.data;var i;o.repositoryInfo.params=t.params,o.repositoryInfo.type=t.type,s(o.repositoryInfo.params),(i=o.repositoryInfo.params)&&i.member&&(i.member.value=[]),o.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.loader=!1}))},o.repositoryType&&(function(e){return o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=o.repositoryType)||function(e){return!o.isFreeEdition()&&!o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return o.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(o.repositoryInfo.type=o.repositoryType,o.getConfig(o.repositoryType),v(o.repositoryType)):r.path("/repository/create"),o.hasActiveLocation=function(){return n.hasActiveLocation()},o.activeLocation=function(){return n.getActiveLocation()};let T=!1;o.uploadRuleset=function(e){e&&e.length&&(o.uploadFile=e[0],o.uploadFileLoader=!0,d.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:o.uploadFile,location:o.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){T=!1;const t=o.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+t};o.rulesetPie?o.rulesets[0]=i:o.rulesets.unshift(i),o.rulesetPie=e.fileLocation,o.rulesetPieFile=t,o.repositoryInfo.params.ruleset.value=o.rulesetPie}else t.error(e.errorMessage),T=!0,o.uploadFile="";o.uploadFileLoader=!1})).error((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.uploadFile="",o.uploadFileLoader=!1,T=!0})))},o.noMembersError=function(){t.error(y.instant("fedx.create.repo.no.members.warning"))},o.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete r.$$search.previous,r.path("/")):r.path("/repository")},o.createRepoHttp=function(){o.loader=!0,m.createRepository(o.repositoryInfo).then((function(){return t.success(y.instant("created.repo.success.msg",{repoId:o.repositoryInfo.id})),n.init()})).then(()=>o.goBackToPreviousLocation()).catch((function(e){const o=getError(e.data);t.error(o,y.instant("common.error"))})).finally(()=>{o.loader=!1})},o.createRepo=function(){if(!o.repositoryInfo.id)return void t.error(y.instant("empty.repoid.warning"));o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,y);T?t.error(y.instant("invalid.ruleset.file.error")):o.isInvalidRepoName?t.error(y.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?t.error(e):o.createRepoHttp()},o.rulesetWarning=function(){const e=o.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===o.rulesetPie?y.instant("repoTooltips.rulesetWarnings.customRuleset"):""},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()},o.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{v(o.repositoryType)});o.$on("$destroy",()=>{g()})}function L(e,o,t,i,n,r,a){e.dialogTitle=a||r.instant("update.file.content.header"),i&&t.getRepositoryFileContent(i).success((function(o){e.fileContent=o})).error((function(e){const o=getError(e);n.error(o,r.instant("common.error"))})),e.ok=function(){o.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){o.dismiss("cancel")}}function I(e,o,t,r,d,p,m,y,v,R){o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.editRepoPage=!0,o.canEditRepoId=!1,o.isRepoInCluster=!0,o.params=t,o.loader=!0,o.repositoryInfo={},o.repositoryInfo.id=o.params.repositoryId,o.repositoryInfo.location=o.params.location,o.repositoryInfo.restartRequested=!1,o.repositoryType="",o.saveRepoId=o.params.repositoryId,o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId}),o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},o.hasActiveLocation=function(){return d.hasActiveLocation()};o.$watch(o.hasActiveLocation,(function(){if(o.hasActiveLocation){let e;f(d).then(e=>(o.locations=e,y.getRepository(o.repositoryInfo))).then(t=>(e=t,R.monitorActiveOperations(o.repositoryInfo.id))).then(e=>{o.isRepoInCluster=e.hasClusterOperation()}).catch(t=>e?Promise.resolve():(o.repositoryInfo=void 0,Promise.reject(t))).then(()=>{(e=>{const t=e.data;if(angular.isDefined(t.params.ruleset)){let e=!1;if(angular.forEach(o.rulesets,(function(o){o.id===t.params.ruleset.value&&(e=!0)})),t.params.ruleset&&!e){const e=a(t.params.ruleset.value);o.rulesets.unshift({id:t.params.ruleset.value,name:"Custom: "+e})}}o.repositoryInfo=t,o.setRepositoryType(t.type),s(o.repositoryInfo.params),o.repositoryInfo.saveId=o.saveRepoId,o.loader=!1})(e)}).catch(e=>{const i=e.data,a=e.status,s=t.repositoryId;let l;l=404===a&&"system"!==s?Object(n.decodeHTML)(v.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(n.decodeHTML)(v.instant("edit.system.repo.warning")):getError(i),r.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){o.loader=!1,p.path("repository")}),1e3):o.loader=!1})}})),o.setRepositoryType=function(e){o.repositoryType=e},o.noMembersError=function(){r.error(v.instant("fedx.create.repo.no.members.warning"))},o.editRepoHttp=function(){o.loader=!0,y.editRepository(o.repositoryInfo.saveId,o.repositoryInfo).success((function(){r.success(v.instant("edit.repo.success.msg",{saveId:o.repositoryInfo.saveId})),d.init().finally(()=>o.goBackToPreviousLocation()),o.repositoryInfo.saveId===o.repositoryInfo.id&&o.repositoryInfo.restartRequested&&d.restartRepository(o.repositoryInfo)})).error((function(e){const t=getError(e);r.error(t,v.instant("common.error")),o.loader=!1}))},o.editRepository=function(){o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,v);let t=Object(n.decodeHTML)(v.instant("edit.repo.save.changes.msg",{repoId:o.repositoryInfo.id}));o.repositoryInfo.saveId!==o.repositoryInfo.id?t+=Object(n.decodeHTML)(v.instant("edit.repo.rename.changes.msg")):o.repositoryInfo.restartRequested?t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.requested.msg")):t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.needed.msg")),o.isInvalidRepoName?r.error(v.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?r.error(e):m.openSimpleModal({title:v.instant("common.confirm.save"),message:t,warning:!0}).result.then((function(){o.editRepoHttp()}))},o.editRepositoryId=function(){if(o.isRepoInCluster)return;let e=Object(n.decodeHTML)(v.instant("edit.repo.id.warning.msg"));o.isEnterprise()&&(e+=Object(n.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:v.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){o.canEditRepoId=!0}))},o.goBackToPreviousLocation=function(){angular.isDefined(t.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()};const T=e.$on("$translateChangeSuccess",()=>{o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId})});o.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",v).controller("EditLocationCtrl",R).controller("ChooseRepositoryCtrl",T).controller("AddRepositoryCtrl",g).controller("EditRepositoryCtrl",I).controller("EditRepositoryFileCtrl",L).controller("UploadRepositoryConfigCtrl",y),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],y.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],R.$inject=["$scope","$uibModalInstance","location","productInfo"],T.$inject=["$scope","$location"],g.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],L.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],I.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},124:function(e,o,t){"use strict";t.r(o);var i=t(104);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,o,t,n){n.$validators.validUrl=function(e,o){return!!n.$isEmpty(e)||i.UrlUtils.isValidUrl(o)}}}}))},165:function(e,o,t){"use strict";t.r(o);var i=t(20);t(124);function n(e,o,t,n){e.RemoteLocationType=i.RemoteLocationType,e.RemoteLocationAuthType=i.RemoteLocationAuthType,e.isEdit=!!n.remoteLocation,e.remoteLocation=n.remoteLocation?new i.RemoteLocationModel({...n.remoteLocation}):new i.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+t.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||o.close(e.remoteLocation)},e.cancel=()=>{o.dismiss("cancel")},e.onLocationTypeChanged=()=>{i.RemoteLocationType.ONTOPIC===e.remoteLocation.locationType?e.remoteLocation.authType=i.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=i.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",n),n.$inject=["$scope","$uibModalInstance","productInfo","data"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[7,60,85,262,303],{103:function(e,o,t){"use strict";t.r(o),t.d(o,"STATIC_RULESETS",(function(){return i})),t.d(o,"REPOSITORY_TYPES",(function(){return n})),t.d(o,"FILENAME_PATTERN",(function(){return r})),t.d(o,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},104:function(e,o,t){"use strict";t.r(o),t.d(o,"UrlUtils",(function(){return n}));const i=/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i;class n{static isValidUrl(e){return i.test(e)}}},123:function(e,o,t){"use strict";t.r(o),t.d(o,"getFileName",(function(){return a}));var i=t(103),n=t(0),r=(t(164),t(20));const a=function(e){let o=e.lastIndexOf("/");-1===o&&(o=e.lastIndexOf("\\"));let t=e;return-1!==o&&(t=t.substring(o+1)),t},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const o=e.getAttribute("aria-expanded");if(o&&"true"===o)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,o){e.queryTimeout&&(o.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(o.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),o.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),o.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(o.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),o.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),o.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),o.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},d=function(e,o){return"isInvalidQueryLimit"===e?o.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?o.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?o.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?o.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?o.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?o.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?o.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?o.instant("invalid.bound.join.block.size"):void 0},u=function(e,o){const t=Object.keys(e),i=Object.values(e);for(let e=0;e<t.length;e++)if(i[e])return d(t[e],o);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,o,t,a,s,l,c,d,u,p,f,m,y){e.RemoteLocationType=r.RemoteLocationType,e.loader=!0,e.locations=[],e.isLocationInactive=function(o){return!o.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(o=>(e.locations=o,o)).finally(()=>e.loader=!1)}e.getLocalLocation=(o,t)=>e.locations.filter(e=>{let i=!0;return t&&(i=e.locationType===t),i&&e.local===o}),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(o){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:o}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(o).finally(()=>R())}))},e.addLocationHttp=function(o){e.loader=!0,d.addLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=o=>{void 0===o.locationType&&(o.locationType=r.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(o)},e.openRemoteLocationDialog=o=>{t.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:o})}}).result.then(t=>{o?e.editLocationHttp(t):e.addLocationHttp(t)})},e.editLocationHttp=function(o){e.loader=!0,d.editLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(o){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(n.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(o).finally(()=>{R(),e.loader=!1}),function(e){const o="dependencies-selectedGraph-"+e.id,t="classHierarchy-selectedGraph-"+e.id;angular.forEach(u.keys(),(function(e){(e.startsWith(t)||e.startsWith(o))&&u.remove(e)}))}(o)}))},e.restartRepository=function(o){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(o).finally(()=>R())}))},e.toggleDefaultRepository=function(o){e.getDefaultRepository()===o?s.setDefaultRepository(null):s.setDefaultRepository(o)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let o=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const t=c.getAuthToken();return t&&(o=`${o}&authToken=${encodeURIComponent(t)}`),o},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){t.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){t.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R();const T=p((function(){y.isActive()&&!o.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function y(e,o,t,i,n){e.upload=function(o){o&&o.length&&(e.uploadFile=o[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,t.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,o.close()})).error((function(o){const t=getError(o);i.error(t,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){o.dismiss("cancel")}}function v(e,o,t,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?o.close(e.newLocation):t.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){o.dismiss("cancel")}}function R(e,o,t,i){e.editedLocation=_.cloneDeep(t),e.docBase=p(i),e.ok=function(){o.close(e.editedLocation)},e.cancel=function(){o.dismiss("cancel")}}function T(e,o){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){o.path(`${o.path()}/${e}`)}}function g(e,o,t,n,r,a,d,p,m,y){function v(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:o.pageTitle=y.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:o.pageTitle=y.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:o.pageTitle=y.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.params=p,o.repositoryType=p.repositoryType,o.enable=!0,o.loader=!0,o.pageTitle=y.instant("view.create.repo.title"),o.repositoryInfo={id:"",params:{},title:"",type:"",location:""},o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(n).then(e=>{o.locations=e}),o.changedLocation=function(){o.$broadcast("changedLocation")},o.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const t=e.data;var i;o.repositoryInfo.params=t.params,o.repositoryInfo.type=t.type,s(o.repositoryInfo.params),(i=o.repositoryInfo.params)&&i.member&&(i.member.value=[]),o.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.loader=!1}))},o.repositoryType&&(function(e){return o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=o.repositoryType)||function(e){return!o.isFreeEdition()&&!o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return o.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(o.repositoryInfo.type=o.repositoryType,o.getConfig(o.repositoryType),v(o.repositoryType)):r.path("/repository/create"),o.hasActiveLocation=function(){return n.hasActiveLocation()},o.activeLocation=function(){return n.getActiveLocation()};let T=!1;o.uploadRuleset=function(e){e&&e.length&&(o.uploadFile=e[0],o.uploadFileLoader=!0,d.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:o.uploadFile,location:o.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){T=!1;const t=o.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+t};o.rulesetPie?o.rulesets[0]=i:o.rulesets.unshift(i),o.rulesetPie=e.fileLocation,o.rulesetPieFile=t,o.repositoryInfo.params.ruleset.value=o.rulesetPie}else t.error(e.errorMessage),T=!0,o.uploadFile="";o.uploadFileLoader=!1})).error((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.uploadFile="",o.uploadFileLoader=!1,T=!0})))},o.noMembersError=function(){t.error(y.instant("fedx.create.repo.no.members.warning"))},o.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete r.$$search.previous,r.path("/")):r.path("/repository")},o.createRepoHttp=function(){o.loader=!0,m.createRepository(o.repositoryInfo).then((function(){return t.success(y.instant("created.repo.success.msg",{repoId:o.repositoryInfo.id})),n.init()})).then(()=>o.goBackToPreviousLocation()).catch((function(e){const o=getError(e.data);t.error(o,y.instant("common.error"))})).finally(()=>{o.loader=!1})},o.createRepo=function(){if(!o.repositoryInfo.id)return void t.error(y.instant("empty.repoid.warning"));o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,y);T?t.error(y.instant("invalid.ruleset.file.error")):o.isInvalidRepoName?t.error(y.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?t.error(e):o.createRepoHttp()},o.rulesetWarning=function(){const e=o.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===o.rulesetPie?y.instant("repoTooltips.rulesetWarnings.customRuleset"):""},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()},o.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{v(o.repositoryType)});o.$on("$destroy",()=>{g()})}function L(e,o,t,i,n,r,a){e.dialogTitle=a||r.instant("update.file.content.header"),i&&t.getRepositoryFileContent(i).success((function(o){e.fileContent=o})).error((function(e){const o=getError(e);n.error(o,r.instant("common.error"))})),e.ok=function(){o.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){o.dismiss("cancel")}}function I(e,o,t,r,d,p,m,y,v,R){o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.editRepoPage=!0,o.canEditRepoId=!1,o.isRepoInCluster=!0,o.params=t,o.loader=!0,o.repositoryInfo={},o.repositoryInfo.id=o.params.repositoryId,o.repositoryInfo.location=o.params.location,o.repositoryInfo.restartRequested=!1,o.repositoryType="",o.saveRepoId=o.params.repositoryId,o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId}),o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},o.hasActiveLocation=function(){return d.hasActiveLocation()};o.$watch(o.hasActiveLocation,(function(){if(o.hasActiveLocation){let e;f(d).then(e=>(o.locations=e,y.getRepository(o.repositoryInfo))).then(t=>(e=t,R.monitorActiveOperations(o.repositoryInfo.id))).then(e=>{o.isRepoInCluster=e.hasClusterOperation()}).catch(t=>e?Promise.resolve():(o.repositoryInfo=void 0,Promise.reject(t))).then(()=>{(e=>{const t=e.data;if(angular.isDefined(t.params.ruleset)){let e=!1;if(angular.forEach(o.rulesets,(function(o){o.id===t.params.ruleset.value&&(e=!0)})),t.params.ruleset&&!e){const e=a(t.params.ruleset.value);o.rulesets.unshift({id:t.params.ruleset.value,name:"Custom: "+e})}}o.repositoryInfo=t,o.setRepositoryType(t.type),s(o.repositoryInfo.params),o.repositoryInfo.saveId=o.saveRepoId,o.loader=!1})(e)}).catch(e=>{const i=e.data,a=e.status,s=t.repositoryId;let l;l=404===a&&"system"!==s?Object(n.decodeHTML)(v.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(n.decodeHTML)(v.instant("edit.system.repo.warning")):getError(i),r.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){o.loader=!1,p.path("repository")}),1e3):o.loader=!1})}})),o.setRepositoryType=function(e){o.repositoryType=e},o.noMembersError=function(){r.error(v.instant("fedx.create.repo.no.members.warning"))},o.editRepoHttp=function(){o.loader=!0,y.editRepository(o.repositoryInfo.saveId,o.repositoryInfo).success((function(){r.success(v.instant("edit.repo.success.msg",{saveId:o.repositoryInfo.saveId})),d.init().finally(()=>o.goBackToPreviousLocation()),o.repositoryInfo.saveId===o.repositoryInfo.id&&o.repositoryInfo.restartRequested&&d.restartRepository(o.repositoryInfo)})).error((function(e){const t=getError(e);r.error(t,v.instant("common.error")),o.loader=!1}))},o.editRepository=function(){o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,v);let t=Object(n.decodeHTML)(v.instant("edit.repo.save.changes.msg",{repoId:o.repositoryInfo.id}));o.repositoryInfo.saveId!==o.repositoryInfo.id?t+=Object(n.decodeHTML)(v.instant("edit.repo.rename.changes.msg")):o.repositoryInfo.restartRequested?t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.requested.msg")):t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.needed.msg")),o.isInvalidRepoName?r.error(v.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?r.error(e):m.openSimpleModal({title:v.instant("common.confirm.save"),message:t,warning:!0}).result.then((function(){o.editRepoHttp()}))},o.editRepositoryId=function(){if(o.isRepoInCluster)return;let e=Object(n.decodeHTML)(v.instant("edit.repo.id.warning.msg"));o.isEnterprise()&&(e+=Object(n.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:v.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){o.canEditRepoId=!0}))},o.goBackToPreviousLocation=function(){angular.isDefined(t.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()};const T=e.$on("$translateChangeSuccess",()=>{o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId})});o.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",v).controller("EditLocationCtrl",R).controller("ChooseRepositoryCtrl",T).controller("AddRepositoryCtrl",g).controller("EditRepositoryCtrl",I).controller("EditRepositoryFileCtrl",L).controller("UploadRepositoryConfigCtrl",y),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],y.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],R.$inject=["$scope","$uibModalInstance","location","productInfo"],T.$inject=["$scope","$location"],g.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],L.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],I.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},124:function(e,o,t){"use strict";t.r(o);var i=t(104);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,o,t,n){n.$validators.validUrl=function(e,o){return!!n.$isEmpty(e)||i.UrlUtils.isValidUrl(o)}}}}))},164:function(e,o,t){"use strict";t.r(o);var i=t(20);t(124);function n(e,o,t,n){e.RemoteLocationType=i.RemoteLocationType,e.RemoteLocationAuthType=i.RemoteLocationAuthType,e.isEdit=!!n.remoteLocation,e.remoteLocation=n.remoteLocation?new i.RemoteLocationModel({...n.remoteLocation}):new i.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+t.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||o.close(e.remoteLocation)},e.cancel=()=>{o.dismiss("cancel")},e.onLocationTypeChanged=()=>{i.RemoteLocationType.ONTOPIC===e.remoteLocation.locationType?e.remoteLocation.authType=i.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=i.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",n),n.$inject=["$scope","$uibModalInstance","productInfo","data"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[70,98,249],{142:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var n=s(30),r=s(72);class a{constructor(){this.conversations=[...i]}getConversations(){return new Promise(e=>{e({data:Object(n.cloneDeep)(this.conversations)})})}getConversation(e){return Promise.resolve({data:Object(n.cloneDeep)(this.conversations.find(t=>t.id===e))})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(n.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:r.CHAT_MESSAGE_ROLE.USER,timestamp:Date.now()},s={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:r.CHAT_MESSAGE_ROLE.ASSISTANT,timestamp:Date.now()},n=this.conversations.find(t=>t.id===e.conversationId);return n&&(n.messages.push(s),n.messages.push(t)),Promise.resolve({data:s})}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),Promise.resolve()}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Date.now(),messages:[]};this.conversations.unshift(t);const s=Object(n.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s).then(()=>({data:{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:t.id,agentId:e.agentId}}))}getAgents(){return Promise.resolve({data:[...o]})}getAgent(e){return Promise.resolve({data:Object(n.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return o.push(e),Promise.resolve({data:e})}editAgent(e){return o=o.map(t=>t.id===e.id?e:t),Promise.resolve({data:e})}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}}const i=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}]},190:function(e,t,s){"use strict";s.r(t);var n=s(142);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",r),r.$inject=["$http"];function r(e){new n.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,s)=>e.put("rest/chat/conversations/"+t,s),exportConversation:t=>e.post("rest/chat/conversations/export/"+t),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t)}}},72:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return n})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return r}));class n{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const r={USER:"user",ASSISTANT:"assistant"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[70,98,248],{141:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var n=s(30),r=s(72);class a{constructor(){this.conversations=[...i]}getConversations(){return new Promise(e=>{e({data:Object(n.cloneDeep)(this.conversations)})})}getConversation(e){return Promise.resolve({data:Object(n.cloneDeep)(this.conversations.find(t=>t.id===e))})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(n.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:r.CHAT_MESSAGE_ROLE.USER,timestamp:Date.now()},s={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:`Reply to '${e.question}'`,role:r.CHAT_MESSAGE_ROLE.ASSISTANT,timestamp:Date.now()},n=this.conversations.find(t=>t.id===e.conversationId);return n&&(n.messages.push(s),n.messages.push(t)),Promise.resolve({data:s})}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),Promise.resolve()}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Date.now(),messages:[]};this.conversations.unshift(t);const s=Object(n.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s).then(()=>({data:{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:t.id,agentId:e.agentId}}))}getAgents(){return Promise.resolve({data:[...o]})}getAgent(e){return Promise.resolve({data:Object(n.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return o.push(e),Promise.resolve({data:e})}editAgent(e){return o=o.map(t=>t.id===e.id?e:t),Promise.resolve({data:e})}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}}const i=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}]},189:function(e,t,s){"use strict";s.r(t);var n=s(141);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",r),r.$inject=["$http"];function r(e){new n.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,s)=>e.put("rest/chat/conversations/"+t,s),exportConversation:t=>e.post("rest/chat/conversations/export/"+t),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t)}}},72:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return n})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return r}));class n{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const r={USER:"user",ASSISTANT:"assistant"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[71,110,264],{121:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},233:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(121);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}parseData(t){return t.nonHeapMemoryUsage}}},69:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(492);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[71,110,263],{121:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},232:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(121);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}parseData(t){return t.nonHeapMemoryUsage}}},69:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(491);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72],{352:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(277),n(33),n(525);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"])},525:function(e,t){
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[72],{351:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(276),n(33),n(524);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"])},524:function(e,t){
2
2
  /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,a=32,r=38,o=40,s=37,u=39,l=46,c=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,r,o,p,f){function m(e,t,n,i){var a,r,s,u,l={};return a=function(t){return f.safeToString(t[e.displayProperty])},r=function(t,n){t[e.displayProperty]=n},s=function(t){var i=a(t),r=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!f.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return o.when(r&&n({$tag:t})).then(f.promisifyValue)},u=function(e){return o.when(i({$tag:e})).then(f.promisifyValue)},l.items=[],l.addText=function(e){var t={};return r(t,e),l.add(t)},l.add=function(n){var i=a(n);return e.replaceSpacesWithDashes&&(i=f.replaceSpacesWithDashes(i)),r(n,i),s(n).then((function(){l.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){i&&t.trigger("invalid-tag",{$tag:n})}))},l.remove=function(e){var n=l.items[e];return u(n).then((function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(a):l.items},l.clearSelection(),l}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,g,d,p){var m,h,v=[n,c,a,e,l,s,u],T=o.tagList,y=o.events,$=o.options,x=g.find("input"),b=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=$.maxTags),p.$setValidity("minTags",T.items.length>=$.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!$.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){x[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[$.keyProperty||$.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,$.displayProperty),$.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===x[0],n=g[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):r.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==b.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){$.addOnBlur&&!$.addFromAutocompleteOnly&&T.addText(o.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var i,r,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=$.addOnEnter,m[c]=$.addOnComma,m[a]=$.addOnSpace,i=!$.addFromAutocompleteOnly&&m[p],r=(p===e||p===l)&&T.selected,d=p===e&&0===o.newTag.text().length&&$.enableEditingLastTag,g=(p===e||p===s||p===u)&&0===o.newTag.text().length&&!$.enableEditingLastTag,i?T.addText(o.newTag.text()):d?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[$.displayProperty])}))):r?T.removeSelected():g&&(p===s||p===e?T.selectPrior():p===u&&T.selectNext()),(i||g||r||d)&&t.preventDefault())})).on("input-paste",(function(e){if($.addOnPaste){var t=e.getTextData().split($.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,i,a){var r=a.registerTagItem(),o=r.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){r.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,a,s,u,l,c){function g(e,t,n){var i,a,r,o={};return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,r(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},o.reset=function(){a=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=c.debounce((function(n,s){o.query=n;var l=u.when(e({$query:n}));a=l,l.then((function(e){l===a&&(e=c.makeObjectArray(e.data||e,r()),e=i(e,s),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=c.simplePubSub(),l.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,a,s,u){var l,g=[n,t,i,r,o],d=e.suggestionList,p=u.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var i=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:i}),{selected:i}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){l(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(a){var s=a.keyCode,u=!1;if(!c.isModifierOn(a)&&-1!==g.indexOf(s))return d.visible?s===o?(d.selectNext(),u=!0):s===r?(d.selectPrior(),u=!0):s===i?(d.reset(),u=!0):(s===n||s===t)&&(u=e.addSuggestion()):s===o&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),u=!0),u?(a.preventDefault(),a.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),a=n.prop("offsetTop"),r=n.prop("offsetHeight"),o=i.prop("clientHeight"),s=i.prop("scrollTop");s>a?i.prop("scrollTop",a):a+r>o+s&&i.prop("scrollTop",a+r-o)}(a,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,i,a,r){var o=r.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,a){a((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,a){var r,o,s=e.getTextAutosizeThreshold();(r=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(r),o=function(e){var t,a=e;return angular.isString(a)&&0===a.length&&(a=i.placeholder),a&&(r.text(a),r.css("display",""),t=r.prop("offsetWidth"),r.css("display","none")),n.css("width",t?t+s+"px":""),e},a.$parsers.unshift(o),a.$formatters.unshift(o),i.$observe("placeholder",(function(e){a.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(i){var a={};return a[String]=function(e){return e},a[Number]=function(e){return parseInt(e,10)},a[Boolean]=function(e){return"true"===e.toLowerCase()},a[RegExp]=function(e){return new RegExp(e)},{load:function(n,r,o,s){var u=function(){return!0};r.options={},angular.forEach(s,(function(s,l){var c,g,d,p,f,m;c=s[0],g=s[1],d=s[2]||u,p=a[c],f=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:g},m=function(e){r.options[l]=e&&d(e)?p(e):f()},t[n]&&t[n][l]?o.$observe(l,(function(e){m(e),r.events.trigger("option-change",{name:l,newValue:e})})):m(o[l]&&i(o[l])(r.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var a=arguments;e.cancel(i),i=e((function(){t.apply(null,a)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var i={};i[t]=e,n.push(i)})),n},findInObjectArray:function(e,t,i,a){var r=null;return a=a||n.defaultComparer,e.some((function(e){return a(e[i],t[i])?(r=e,!0):void 0})),r},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var i=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(i,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,i){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(i?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,i){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(i)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[73,115],{125:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,n){const t=[];function a(r,e){if(!r||"*"===r)return r;const n=r.startsWith("!"),t=n?"!CUSTOM_":"CUSTOM_";return e?t+r.replace(/^!/,""):n?"!"+r.replace(t,""):r.replace(t,"")}function o(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const s="tags-input"===e[0].nodeName.toLowerCase();if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName||s)&&n.ngModel){const i=e.controller("ngModel");s?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>o(r))),r})),t.push(r.$watch(n.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>o(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!o(r)),r})),i.$formatters.push((function(r){return a(r,!1)})),i.$parsers.push((function(r){return a(r,!0)})))}t.push(r.$on("$destroy",()=>{t.forEach(r=>r())}))}}}))},282:function(r,e,n){"use strict";n.r(e);n(7),n(31),n(37),n(123),n(272),n(32),n(125);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[73,115],{125:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,n){const t=[];function a(r,e){if(!r||"*"===r)return r;const n=r.startsWith("!"),t=n?"!CUSTOM_":"CUSTOM_";return e?t+r.replace(/^!/,""):n?"!"+r.replace(t,""):r.replace(t,"")}function o(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const s="tags-input"===e[0].nodeName.toLowerCase();if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName||s)&&n.ngModel){const i=e.controller("ngModel");s?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>o(r))),r})),t.push(r.$watch(n.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>o(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!o(r)),r})),i.$formatters.push((function(r){return a(r,!1)})),i.$parsers.push((function(r){return a(r,!0)})))}t.push(r.$on("$destroy",()=>{t.forEach(r=>r())}))}}}))},281:function(r,e,n){"use strict";n.r(e);n(7),n(31),n(37),n(123),n(271),n(32),n(125);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[74,116],{115:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return l})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return f}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,c,l){const u=a.createRule(e,t,s,r,i,o,n,c,l);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,p,h){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,p,r);case _.PLUGIN:return new c(s,t,h,r);case _.CLEAR_GRAPH:return new l(s,t,p);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],f=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},167:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(115);const i=e=>{const t=new r.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,116],{115:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return l})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return f}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,c,l){const u=a.createRule(e,t,s,r,i,o,n,c,l);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,p,h){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,p,r);case _.PLUGIN:return new c(s,t,h,r);case _.CLEAR_GRAPH:return new l(s,t,p);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],f=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},166:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(115);const i=e=>{const t=new r.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[75,275],{168:function(e,t,o){"use strict";o.r(t);o(41);var n=o(89),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},89:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,274],{167:function(e,t,o){"use strict";o.r(t);o(41);var n=o(89),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},89:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,119],{169:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},286:function(o,e,n){"use strict";n.r(e);n(169);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76,119],{168:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},285:function(o,e,n){"use strict";n.r(e);n(168);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,127],{176:function(t,o,e){"use strict";e.r(o);e(90);function n(t,o,e,n,r){let a,s;t.nodes=[],t.clusterNodes=[],t.locations=[],t.deleteLocation=(o,n)=>{o.preventDefault(),o.stopPropagation(),e.deleteLocation(n).then(()=>t.locations=t.locations.filter(t=>t.endpoint!==n.endpoint))},t.addNodeToList=o=>{o.rpcAddress&&(t.nodes.push(o),t.locations=t.locations.filter(t=>t.endpoint!==o.endpoint))},t.removeNodeFromList=(o,e)=>{t.nodes.splice(o,1),t.locations.push(e)},t.addLocation=()=>{r.addLocation().then(o=>{o&&t.locations.push(o)})},t.ok=()=>{o.close(t.nodes)},t.cancel=()=>{o.dismiss("cancel")};a=_.cloneDeep(e.clusterModel),t.clusterNodes=a.nodes.map(t=>({rpcAddress:t.address,endpoint:t.endpoint})),s=t.clusterNodes.map(t=>t.endpoint),t.locations=a.locations.filter(t=>!s.includes(t.endpoint)),t.locations.forEach(t=>t.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},90:function(t,o,e){"use strict";e.r(o);e(39);function n(t,o,e,n,r){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return o.error(e,r.instant("common.error")),!1}).then(t=>!!t&&a()).then(o=>{if(!1!==o)return e=o.find(o=>o.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);o.error(e,r.instant("common.error"))})).then(t=>{if(t)return function(t){const o=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(o=>(t.rpcAddress=o.data,t.isAvailable=!0,t)).catch(o=>{t.isAvailable=!1,t.error=getError(o.data,o.status)}));return Promise.allSettled(o).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[77,127],{175:function(t,o,e){"use strict";e.r(o);e(90);function n(t,o,e,n,r){let a,s;t.nodes=[],t.clusterNodes=[],t.locations=[],t.deleteLocation=(o,n)=>{o.preventDefault(),o.stopPropagation(),e.deleteLocation(n).then(()=>t.locations=t.locations.filter(t=>t.endpoint!==n.endpoint))},t.addNodeToList=o=>{o.rpcAddress&&(t.nodes.push(o),t.locations=t.locations.filter(t=>t.endpoint!==o.endpoint))},t.removeNodeFromList=(o,e)=>{t.nodes.splice(o,1),t.locations.push(e)},t.addLocation=()=>{r.addLocation().then(o=>{o&&t.locations.push(o)})},t.ok=()=>{o.close(t.nodes)},t.cancel=()=>{o.dismiss("cancel")};a=_.cloneDeep(e.clusterModel),t.clusterNodes=a.nodes.map(t=>({rpcAddress:t.address,endpoint:t.endpoint})),s=t.clusterNodes.map(t=>t.endpoint),t.locations=a.locations.filter(t=>!s.includes(t.endpoint)),t.locations.forEach(t=>t.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},90:function(t,o,e){"use strict";e.r(o);e(39);function n(t,o,e,n,r){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return o.error(e,r.instant("common.error")),!1}).then(t=>!!t&&a()).then(o=>{if(!1!==o)return e=o.find(o=>o.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);o.error(e,r.instant("common.error"))})).then(t=>{if(t)return function(t){const o=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(o=>(t.rpcAddress=o.data,t.isAvailable=!0,t)).catch(o=>{t.isAvailable=!1,t.error=getError(o.data,o.status)}));return Promise.allSettled(o).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[78,268],{172:function(e,t,o){"use strict";o.r(t);o(81);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,c,i,l,u){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=c.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=c.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),c.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){d(e.data,e.status)})).finally(()=>{e.setLoader(!1),u.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{l.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const d=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[78,267],{171:function(e,t,o){"use strict";o.r(t);o(81);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,c,i,l,u){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=c.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=c.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),c.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){d(e.data,e.status)})).finally(()=>{e.setLoader(!1),u.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{l.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const d=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[79,268],{173:function(e,t,r){"use strict";r.r(t);r(81);function n(e,t,r,n,s,o,a){e.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{r.cancel(e.loaderTimeout),t?e.loaderTimeout=r(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,r)=>{delete e.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t?e.errors.push(t):412===r?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===r&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const r=$.param({force:t});return e.delete("rest/cluster/config?"+r)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[79,267],{172:function(e,t,r){"use strict";r.r(t);r(81);function n(e,t,r,n,s,o,a){e.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{r.cancel(e.loaderTimeout),t?e.loaderTimeout=r(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,r)=>{delete e.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t?e.errors.push(t):412===r?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===r&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const r=$.param({force:t});return e.delete("rest/cluster/config?"+r)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8,53,58,67,90,113,114,130,177,234,235,268,277,294,295],{110:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return a})),n.d(t,"connectorsMapper",(function(){return r}));var s=n(93);const a=e=>{const t=new s.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new s.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},r=e=>{const t=new s.ConnectorListModel;return e?(t.connectors=e.map(e=>new s.ConnectorModel(e)),t):t}},127:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const s=[];let a;t.onKeydown=e=>{"Enter"===e.key?(i(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&r()},t.onCancelEditing=()=>{r()},t.onSelect=()=>{a?(i(),t.onDblclick({source:t.source})):a=e((function(){t.onClick({source:t.source}),i()}),250)};const r=()=>{i(),t.onCancel()},i=()=>{e.cancel(a),a=void 0};s.push(t.$watch("isEditing",s=>{s&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{s.forEach(e=>e()),i()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]},139:function(e,t,n){"use strict";n.r(t);n(82);var s=n(110),a=n(77);function r(e){const t=()=>e.getConnectors().then(e=>Object(s.connectorTypesListMapper)(e.data)),n=t=>e.hasConnector(encodeURIComponent(t)).then(e=>Object(s.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:e=>t().then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:e=>n(e).then(e=>e.connectors.map(e=>new a.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",r),r.$inject=["ConnectorsRestService"]},140:function(e,t,n){"use strict";n.r(t);n(94);var s=n(84),a=n(77);function r(e){const t=()=>e.getIndexes().then(e=>Object(s.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:()=>t().then(e=>e.map(e=>new a.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",r),r.$inject=["SimilarityRestService"]},262:function(e,t,n){"use strict";n.r(t);n(263),n(264),n(265),n(266),n(267),n(268),n(273);var s=n(75),a=(n(269),n(101)),r=n(111),i=n(116),o=n(190),c=n(77),l=n(21);function d(e,t,n,d,g,u,h,m,T,E,p,A,C){const y=[],S={filter_all:g.instant("ttyg.agent.btn.filter.all")};t.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",t.showChats=!0,t.showAgents=!0,t.chats=void 0,t.loadingChats=!1,t.loadingChat=!1,t.agents=void 0,t.loadingAgents=!1,t.reloadingAgents=!1,t.creatingAgent=!1,t.connectorID=void 0,t.agentListFilterModel=[],t.activeRepositoryList=[],t.history=[],t.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},t.startNewChat=()=>{A.selectChat(void 0)},t.onopen=t.onclose=()=>angular.noop(),t.toggleChatsListSidebar=()=>{t.showChats=!t.showChats},t.toggleAgentsListSidebar=()=>{t.showAgents=!t.showAgents},t.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",t.clear=()=>{T.openSimpleModal({title:g.instant("common.confirm"),message:g.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){t.history=[],_()}))},t.openSettings=()=>{u.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:t.askSettings,connectorID:t.connectorID}}}}).result.then((function(e){t.connectorID=e.connectorID,t.askSettings=e.askSettings,_()}))},t.onExportSelectedChat=()=>{I(A.getSelectedChat())},t.onCreateAgent=()=>{const e=Object(l.repositoryInfoMapper)(h.getActiveRepositoryObject()),n={templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return{activeRepositoryInfo:e,activeRepositoryList:t.activeRepositoryList,agentFormModel:Object(o.newAgentFormModelProvider)()}}},size:"lg"};u.open(n).result.then(e=>{b(e)},e=>{console.log("create agent rejected",e)})},t.onEditAgent=e=>{let n=e;n||(n=A.getSelectedAgent());const s=Object(o.agentFormModelMapper)(n),a=Object(l.repositoryInfoMapper)(h.getActiveRepositoryObject()),r={templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return{activeRepositoryInfo:a,activeRepositoryList:t.activeRepositoryList,agentFormModel:s}}},size:"lg"};u.open(r).result.then(e=>{p.editAgent(e).then(t=>{m.success(g.instant("ttyg.agent.messages.agent_save_successfully",{agentName:t.name}));const n=A.getSelectedAgent();n&&e.id===n.id&&A.selectAgent(t),f(!1)}).catch(()=>{m.error(g.instant("ttyg.agent.messages.agent_save_failure",{agentName:e.name}))})})};const _=()=>{const e=E.get("ttyg")||{};e[h.getActiveRepository()]={history:t.history,connectorID:t.connectorID,askSettings:t.askSettings},E.set("ttyg",e)},v=()=>(t.loadingChats=!0,p.getConversations().then(e=>A.updateChats(e)).catch(e=>{m.error(getError(e,0,100)),L(new i.ChatsListModel)}).finally(()=>{t.loadingChats=!1})),f=(e=!0)=>(t.loadingAgents=e,p.getAgents().then(e=>A.updateAgents(e)).catch(e=>{m.error(getError(e,0,100))}).finally(()=>{t.loadingAgents=!1})),L=e=>{e.isEmpty()?t.showChats=!1:(t.showChats=!0,A.getSelectedChat()||A.selectChat(t.chats.getFirstChat()))},I=e=>{p.exportConversation(e.id).then(()=>{A.emit(s.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e),A.emit(s.TTYGEventName.LOAD_CHAT)}).catch(e=>{A.emit(s.TTYGEventName.CHAT_EXPORT_FAILURE),m.error(g.instant("ttyg.chat.messages.export_failure"))})},b=e=>{t.creatingAgent=!0,p.createAgent(e).then(e=>f()).then(()=>{}).catch(e=>{m.error(getError(e,0,100))}).finally(()=>{t.creatingAgent=!1})},R=()=>{const e=h.getActiveRepository(),n=h.getReadableRepositories().map(t=>new r.AgentListFilterModel(t.id,t.id,t.id===e));t.agentListFilterModel=[new r.AgentListFilterModel(a.AGENTS_FILTER_ALL_KEY,S.filter_all),...n]};y.push(t.$watch(t.getActiveRepositoryObject,e=>{e&&((()=>{const e=C.getAgentId();e&&p.getAgent(e).then(e=>{e&&A.selectAgent(e)})})(),t.activeRepositoryList=h.getReadableRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id})),f().then(()=>(R(),v())),(()=>{const e=h.getActiveRepository();if(e){const n=E.get("ttyg");if(n&&n[e]){const s=n[e];s.history&&(t.history=s.history),t.connectorID=s.connectorID,s.askSettings&&(t.askSettings=s.askSettings)}}})())})),y.push(A.onSelectedChatChanged(e=>{e?p.getConversation(e.id).then(e=>{A.updateSelectedChat(e)}):A.updateSelectedChat(e)})),y.push(A.onChatsListChanged(e=>{t.chats=e,L(e)})),y.push(A.subscribe(A.onAgentsListChanged(e=>{t.agents=e,e.isEmpty()?t.showAgents=!1:t.showAgents=!0}))),y.push(A.subscribe(s.TTYGEventName.CREATE_CHAT,e=>{p.createConversation(e).then(e=>{A.emit(s.TTYGEventName.CREATE_CHAT_SUCCESSFUL),A.selectChat(A.getChats().getChat(e)),A.emit(s.TTYGEventName.LOAD_CHAT)}).catch(e=>{A.emit(s.TTYGEventName.CREATE_CHAT_FAILURE),m.error(g.instant("ttyg.chat.messages.create_failure"))})})),y.push(A.subscribe(s.TTYGEventName.RENAME_CHAT,e=>{p.renameConversation(e).then(()=>{A.emit(s.TTYGEventName.RENAME_CHAT_SUCCESSFUL),A.emit(s.TTYGEventName.LOAD_CHAT)}).catch(e=>{A.emit(s.TTYGEventName.RENAME_CHAT_FAILURE),m.error(g.instant("ttyg.chat.messages.rename_failure"))})})),y.push(A.subscribe(s.TTYGEventName.DELETE_CHAT,e=>{p.deleteConversation(e.id).then(()=>{A.emit(s.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e),A.emit(s.TTYGEventName.LOAD_CHAT)}).catch(e=>{A.emit(s.TTYGEventName.DELETE_CHAT_FAILURE),m.error(g.instant("ttyg.chat.messages.delete_failure"))})})),y.push(A.subscribe(s.TTYGEventName.CHAT_EXPORT,I)),y.push(A.subscribe(s.TTYGEventName.ASK_QUESTION,e=>{p.askQuestion(e).then(t=>{const n=A.getSelectedChat();if(n&&n.id===e.chatId){const s=e;s.answer=t,n.chatHistory.appendItem(s),A.updateSelectedChat(n)}}).catch(e=>m.error(getError(e,0,100)))})),y.push(A.subscribe(s.TTYGEventName.LOAD_CHAT,v)),y.push(A.subscribe(s.TTYGEventName.CREATE_AGENT,t.onCreateAgent)),y.push(A.subscribe(s.TTYGEventName.EDIT_AGENT,t.onEditAgent)),y.push(A.subscribe(s.TTYGEventName.DELETE_AGENT,e=>{A.emit(s.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),p.deleteAgent(e.id).then(()=>(t.reloadingAgents=!0,p.getAgents().then(e=>A.updateAgents(e)).catch(e=>{m.error(getError(e,0,100))}).finally(()=>{t.reloadingAgents=!1}))).then(()=>{A.emit(s.TTYGEventName.AGENT_DELETED,e)}).catch(e=>{m.error(getError(e,0,100))}).finally(()=>{A.emit(s.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),y.push(A.subscribe(s.TTYGEventName.AGENT_SELECTED,e=>{C.saveAgent(e)})),y.push(A.subscribe(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD,e=>{navigator.clipboard&&navigator.clipboard.writeText(e.answer.message).then(()=>A.emit(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL)).catch(()=>A.emit(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_FAILURE))})),y.push(e.$on("$translateChangeSuccess",()=>{S.filter_all=g.instant("ttyg.agent.btn.filter.all"),R()})),t.$on("$destroy",(function(){y.forEach(e=>e())}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",d),d.$inject=["$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},263:function(e,t,n){"use strict";n.r(t);n(127);var s=n(0),a=n(75);function r(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",scope:{chatList:"="},link:(r,i,o)=>{r.selectedChat=void 0,r.renamedChat=void 0,r.onSelectChatForRenaming=e=>{r.renamedChat=e},r.onSelectChat=t=>{r.selectedChat&&r.selectedChat.id===t.id||(e.selectChat(t),r.renamedChat=void 0)},r.onDeleteChat=r=>{const i=n.instant("ttyg.dialog.delete.title"),o=Object(s.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:r.name}));t.openConfirmation(i,o,()=>e.emit(a.TTYGEventName.DELETE_CHAT,r))},r.onRenameChat=(t,n)=>{n.name=t,r.renamedChat=void 0,e.emit(a.TTYGEventName.RENAME_CHAT,n)},r.onExportChat=t=>{e.emit(a.TTYGEventName.CHAT_EXPORT,t)},r.onCancelChatRenaming=()=>{r.renamedChat=void 0};const c=[];c.push(e.onSelectedChatChanged(e=>{r.selectedChat=e})),r.$on("$destroy",()=>{c.forEach(e=>e())}),console.log("ChatListComponent initialized")}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",r),r.$inject=["TTYGContextService","ModalService","$translate"]},264:function(e,t,n){"use strict";n.r(t);var s=n(75),a=n(72),r=n(79);function i(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(i,o,c)=>{i.chat=void 0,i.selectedAgent=void 0,i.chatItem=void 0,i.ask=()=>{i.chatItem.chatId?d(i.chatItem):l()},i.regenerateQuestion=e=>{const t=g();t.setQuestionMessage(e.getQuestionMessage()),d(t)},i.copyAnswerToClipboard=e=>{n.emit(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD,e)};const l=()=>{n.emit(s.TTYGEventName.CREATE_CHAT,i.chatItem)},d=e=>{n.emit(s.TTYGEventName.ASK_QUESTION,e)},g=()=>{const e=new r.ChatItemModel;return e.question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER}),i.chat&&(e.chatId=i.chat.id),i.selectedAgent&&(e.agentId=i.selectedAgent.id),e},u=[];u.push(i.$watchCollection("chat.chatHistory.items",()=>{const e=o.find(".chat-details")[0];e.scrollTop=e.scrollHeight})),u.push(n.onSelectedChatUpdated(e=>{i.chat=e,i.chatItem=g()})),u.push(n.onSelectedAgentChanged(e=>{i.selectedAgent=e,i.selectedAgent&&(i.chatItem.agentId=i.selectedAgent.id)})),u.push(n.subscribe(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_successful"))})),u.push(n.subscribe(s.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_FAILURE,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_failed"))})),i.$on("$destroy",()=>{u.forEach(e=>e())}),i.chatItem=g()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",[]).directive("chatPanel",i),i.$inject=["toastr","$translate","TTYGContextService"]},265:function(e,t,n){"use strict";n.r(t);var s=n(0),a=n(75);function r(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(r,i,o)=>{r.selectedAgent=void 0,r.selectedAgentsFilter=void 0,r.deletingAgent=void 0,r.onEditAgent=t=>{e.emit(a.TTYGEventName.EDIT_AGENT,t)},r.onCloneAgent=e=>{console.log("Clone agent",e)},r.onDeleteAgent=r=>{const i=n.instant("ttyg.agent.delete_agent_modal.title"),o=Object(s.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:r.name}));t.openConfirmation(i,o,()=>e.emit(a.TTYGEventName.DELETE_AGENT,r))},r.onAgentsFilterChange=e=>{r.selectedAgentsFilter=e,r.agentList.filterByRepository(r.selectedAgentsFilter.key)};const c=()=>{const e=r.agentListFilterModel.find(e=>e.selected);r.selectedAgentsFilter=e||r.agentListFilterModel[0],r.onAgentsFilterChange(r.selectedAgentsFilter)},l=[];l.push(r.$watch("agentListFilterModel",c)),l.push(e.subscribe(a.TTYGEventName.DELETING_AGENT,e=>{r.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{r.selectedAgent=e})),r.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",r),r.$inject=["TTYGContextService","ModalService","$translate"]},266:function(e,t,n){"use strict";n.r(t);var s=n(77),a=n(75);function r(e,t,n,r){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{i(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=s=>{const o=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");r.openConfirmation(o,c,()=>e.emit(a.TTYGEventName.EDIT_AGENT,s.data.agent)),i(s),n.selectedAgent=s.data.agent,e.selectAgent(s.data.agent)};const i=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},o=e=>{n.agentOptionsList=e.agents.map(e=>new s.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{o(e)})),c.push(e.subscribe(a.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{i(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",r),r.$inject=["TTYGContextService","$translate","$sce","ModalService"]},267:function(e,t,n){"use strict";n.r(t);var s=n(75);function a(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,n,a)=>{t.onCreateAgent=()=>{e.emit(s.TTYGEventName.CREATE_AGENT)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",a),a.$inject=["TTYGContextService"]},268:function(e,t,n){"use strict";n.r(t);var s=n(0),a=n(111),r=(n(140),n(139),n(19),n(8));function i(e,t,n,i,o,c,l,d,g,u){e.agentFormModel=u.agentFormModel,e.isEdit=!!e.agentFormModel.id,e.activeRepositoryInfo=u.activeRepositoryInfo,e.extractionMethodLoaderFlags={[a.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=u.activeRepositoryList,e.extractionMethods=a.ExtractionMethod,e.showAdvancedSettings=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=()=>{e.agentSettingsForm.extractionMethods.$setTouched(),m()},e.onExtractionMethodPanelToggle=e=>{E[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(s.decodeHTML)(g.instant("ttyg.agent.create_agent_modal.form.model.hint"));return c.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(s.decodeHTML)(g.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.activeRepositoryInfo.id}));return c.trustAsHtml(t)},e.getNoSimilarityIndexHelpMessage=()=>{const e=Object(s.decodeHTML)(g.instant("ttyg.agent.create_agent_modal.form.similarity_index.no_similarity_index_message",{similarityIndexPage:"#/similarity"}));return c.trustAsHtml(e)},e.getNoRetrievalConnectorHelpMessage=()=>{const e=Object(s.decodeHTML)(g.instant("ttyg.agent.create_agent_modal.form.retrieval_search.no_retrieval_connectors_message",{retrievalConnectorPage:"#/connectors"}));return c.trustAsHtml(e)},e.ok=()=>{const n=e.agentFormModel.toPayload();t.close(n)},e.cancel=function(){t.dismiss({})},e.close=function(){t.dismiss({})},e.onRepositoryChange=()=>{T()};const h=(e,t)=>{console.error(e),l.error(g.instant(t))},m=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},T=()=>{e.agentFormModel.repositoryId&&o.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(r.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{h(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[a.ExtractionMethod.FTS_SEARCH]=!1})},E={[a.ExtractionMethod.FTS_SEARCH]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,T()})(t),[a.ExtractionMethod.SPARQL]:e=>{},[a.ExtractionMethod.SIMILARITY]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,n.getIndexesAsMenuModel().then(t=>{e.similarityIndexes=t}).catch(e=>{h(e,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})})(t),[a.ExtractionMethod.RETRIEVAL]:t=>(t=>{e.extractionMethodLoaderFlags[t.method]=!0,i.getConnectorPrefixByName("ChatGPT Retrieval").then(e=>i.getConnectorsByTypeAsSelectMenuOptions(e)).then(t=>{e.retrievalConnectors=t}).catch(e=>{h(e,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})})(t)};setTimeout(m,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service"]).controller("AgentSettingsModalController",i),i.$inject=["$scope","$uibModalInstance","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel"]},269:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},s=()=>{let s=e.get(t.TTYG);return s||(s=n),s.agent||(s.agent={}),s.chat||(s.chat={}),s};return{saveAgent:function(n){const a=s();a.agent.id=n.id,e.set(t.TTYG,a)},getAgentId:function(){const e=s();if(e.agent)return e.agent.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},73:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return s}));const s={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>s.TEXT===e,isTextLiteralType:e=>s.TEXT_LITERAL===e,isPredicationType:e=>s.PREDICATION===e}},74:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return s}));const s={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>s.CREATING===e,isBuildingStatus:e=>s.BUILDING===e,isBuiltStatus:e=>s.BUILT===e,isRebuildingStatus:e=>s.REBUILDING===e,isOutdatedStatus:e=>s.OUTDATED===e,isInterruptedStatus:e=>s.INTERRUPTED===e,isObsoleteStatus:e=>s.OBSOLETE===e,isFailedStatus:e=>s.FAILED===e}},75:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return r}));var s=n(30);function a(e){let t=void 0,n=void 0,a=void 0,i=void 0;const o=()=>Object(s.cloneDeep)(t),c=()=>Object(s.cloneDeep)(n),l=()=>Object(s.cloneDeep)(a),d=()=>Object(s.cloneDeep)(i),g=(t,n)=>{e.emitSync(t,Object(s.cloneDeep)(n))},u=(t,n)=>e.subscribeSync(t,e=>n(e));return{emit:g,subscribe:u,getChats:c,updateChats:e=>{n=Object(s.cloneDeep)(e),g(r.CHAT_LIST_UPDATED,c())},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(c()),u(r.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:l,selectChat:e=>{a&&a.id===e||(a=Object(s.cloneDeep)(e),g(r.SELECT_CHAT,l()))},onSelectedChatChanged:e=>(a&&angular.isFunction(e)&&e(l()),u(r.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{a&&a.id!==e.id||(a=Object(s.cloneDeep)(e),g(r.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:e=>(a&&angular.isFunction(e)&&e(l()),u(r.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(s.cloneDeep)(e),g(r.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(o()),u(r.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,selectAgent:e=>{i=Object(s.cloneDeep)(e),g(r.AGENT_SELECTED,d())},getSelectedAgent:d,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(d()),u(r.AGENT_SELECTED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService"];const r={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",LOAD_CHAT:"loadChat",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",COPY_ANSWER_TO_CLIPBOARD:"copyAnswerToClipboard",COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL:"copyAnswerToClipboardSuccess",COPY_ANSWER_TO_CLIPBOARD_FAILURE:"copyAnswerToClipboardFailure"}},78:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return r}));var s=n(73),a=n(74);class r{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=s.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return s.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return s.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return s.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},82:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(){return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t){return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var s=n(78);const a=e=>e.map(e=>{const t=new s.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},93:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return s})),n.d(t,"ConnectorTypeModel",(function(){return a})),n.d(t,"ConnectorListModel",(function(){return r})),n.d(t,"ConnectorModel",(function(){return i})),n.d(t,"ConnectorSettingsModel",(function(){return o}));class s{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class a{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class r{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class i{constructor(e){this._name=e.name,this._settings=new o(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class o{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},94:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(){return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,s,a,r,i,o,c,l,d,g){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:s,selectQuery:a,stopList:o,infer:c,sameAs:l,type:d,analyzer:g,searchQuery:r,analogicalQuery:i}})}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[80,124],{181:function(e,t,n){"use strict";n.r(t);var r=n(91);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[80,124],{180:function(e,t,n){"use strict";n.r(t);var r=n(91);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[81,124],{178:function(e,t,n){"use strict";n.r(t);n(11),n(179);var o=n(98),r=n(30),s=n(91);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},91:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[81,124],{177:function(e,t,n){"use strict";n.r(t);n(11),n(178);var o=n(98),r=n(30),s=n(91);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},91:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);