graphdb-workbench 2.8.8-TR2 → 2.8.9-RC1

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 (229) hide show
  1. package/dist/{10.5ddeb0c3a1fe59eae189.bundle.js → 10.d8d48ce0ca42085e7864.bundle.js} +1 -1
  2. package/dist/100.bf4a4f519b81c43fafc1.bundle.js +1 -0
  3. package/dist/{100.39911dc242bc083427b5.bundle.js → 101.444ee8c4ad450a80c227.bundle.js} +1 -1
  4. package/dist/{101.3c81e5463ac7bd87920b.bundle.js → 102.ec42287cf6022b9eb02f.bundle.js} +1 -1
  5. package/dist/{102.fe653ba57ff2b81cdf07.bundle.js → 103.82c4dfa967a6f2407f11.bundle.js} +1 -1
  6. package/dist/{103.663db6e061c3509a1f78.bundle.js → 104.cb138bb3b878e001e32f.bundle.js} +1 -1
  7. package/dist/{104.5bde157512536df59792.bundle.js → 105.8c2014a729e3e29b78ae.bundle.js} +1 -1
  8. package/dist/{105.af4d75298548559a6b91.bundle.js → 106.4aa823fde540a06e4083.bundle.js} +1 -1
  9. package/dist/{106.1c526cd8378b98858e06.bundle.js → 107.09c059b73119d06600c0.bundle.js} +1 -1
  10. package/dist/{107.4bf934d8a7d093ea4cd6.bundle.js → 108.3c5b6b3268b21218a7a5.bundle.js} +1 -1
  11. package/dist/{108.8ea1a51acbd345907740.bundle.js → 109.57128c0d6212e0a46ad3.bundle.js} +1 -1
  12. package/dist/{109.a71df4aa4e00b47f5616.bundle.js → 110.af42819ef3cf70e39b25.bundle.js} +1 -1
  13. package/dist/{110.94d5a65ffa5d8891406f.bundle.js → 111.f548b124aab10b4b1c9e.bundle.js} +1 -1
  14. package/dist/{111.a8212d3445aa614f99d9.bundle.js → 112.f754348fe5d0086f677e.bundle.js} +1 -1
  15. package/dist/{112.393b01f7630bb30617c9.bundle.js → 113.d7c1a18d18713eece29a.bundle.js} +1 -1
  16. package/dist/{113.cbdf7d68d2471ced1ef4.bundle.js → 114.f719039be05fc7b214c5.bundle.js} +1 -1
  17. package/dist/{114.85465110c4fbd79849c7.bundle.js → 115.8dab67853260483ced85.bundle.js} +1 -1
  18. package/dist/{115.a6c405de2fe018cc6033.bundle.js → 116.ed2bb3fba38737cd21a2.bundle.js} +1 -1
  19. package/dist/{116.227e24944ca1c987460c.bundle.js → 117.8dc1a253f70f4727c027.bundle.js} +1 -1
  20. package/dist/{117.125beedc641ab53f511f.bundle.js → 118.d197d3c97039ee68643d.bundle.js} +1 -1
  21. package/dist/{118.a6e09ae6273a9e7714ff.bundle.js → 119.ee1dd79fb171af44577c.bundle.js} +1 -1
  22. package/dist/{12.8078044ba9dc5aefb919.bundle.js → 12.ed4bc07d06db664a8a2c.bundle.js} +1 -1
  23. package/dist/{119.f672e5bd50a1a9476dcc.bundle.js → 120.e25b821b13d853a321b5.bundle.js} +1 -1
  24. package/dist/{120.8725206e84a9f2b1fc44.bundle.js → 121.45b40da06cc7a71ae79f.bundle.js} +1 -1
  25. package/dist/{121.787215b44b2f8f4d2850.bundle.js → 122.4e50eaaadaf3dd57b2b2.bundle.js} +1 -1
  26. package/dist/{122.39e92001e2f86ed551f4.bundle.js → 123.2cc29edc9b32fcc35a5c.bundle.js} +1 -1
  27. package/dist/{123.30b2e28436b10116e05a.bundle.js → 124.5bf5f52df172c58b05d0.bundle.js} +1 -1
  28. package/dist/{124.ff59b5de798cc188f089.bundle.js → 125.53a564a1540cfbe90d0a.bundle.js} +1 -1
  29. package/dist/{125.04369aedfa25c24c03cf.bundle.js → 126.dc613e6d7c178aa1f71d.bundle.js} +1 -1
  30. package/dist/{126.20cf9bbd99138d8275e9.bundle.js → 127.aef2e7fa7136b5fb20dc.bundle.js} +1 -1
  31. package/dist/{127.fa70afe0caa6a82a487d.bundle.js → 128.c47682ae8c6f4827775e.bundle.js} +1 -1
  32. package/dist/{128.d6242296779b40ceee78.bundle.js → 129.79a97fa0c54c52a26f86.bundle.js} +1 -1
  33. package/dist/{13.e28878c924d54fd6affc.bundle.js → 13.49bf149227b1a2f915a6.bundle.js} +1 -1
  34. package/dist/{136.7045cfc939cc42c457de.bundle.js → 136.3b7b30e23a57edaccaad.bundle.js} +1 -1
  35. package/dist/{140.20b791dd9206aec902c3.bundle.js → 140.0824cff78d35896e19a1.bundle.js} +1 -1
  36. package/dist/{146.725d89d31b4a9b742d3f.bundle.js → 146.a0a2b0a47fa6363c2be0.bundle.js} +1 -1
  37. package/dist/{15.7ee3e6ec073366903f69.bundle.js → 15.2eabfe524e0689eb26e9.bundle.js} +1 -1
  38. package/dist/{16.cfcb97f2798c0f998b6d.bundle.js → 16.0ead6802df331f763762.bundle.js} +1 -1
  39. package/dist/{160.09bb953d13e3d63eed4f.bundle.js → 160.9df03bd5ab91e27a7e3c.bundle.js} +1 -1
  40. package/dist/{17.330b4db61f4286346e1d.bundle.js → 17.bcc91ddb954e2e1ee5a2.bundle.js} +1 -1
  41. package/dist/{18.131accbaf7a1f9d61001.bundle.js → 18.a4b27592c1b39f2b754b.bundle.js} +1 -1
  42. package/dist/186.d2a7c6668b2f2198549a.bundle.js +1 -1
  43. package/dist/{19.417d4a0cb5047abff48e.bundle.js → 19.33b6dc6ba1cea3b94465.bundle.js} +1 -1
  44. package/dist/{192.2d6358f31811ab3464ba.bundle.js → 192.a238bb9bb9a833ef304b.bundle.js} +1 -1
  45. package/dist/{198.f34180ba04b8f2d651ab.bundle.js → 198.568088e342b26f534c8f.bundle.js} +1 -1
  46. package/dist/{2.6684bcc4e367bcb9e628.bundle.js → 2.3837bd63288e2a826720.bundle.js} +1 -1
  47. package/dist/{20.ee5088425c87c66ae8d0.bundle.js → 20.204efddc3b65e3417f98.bundle.js} +1 -1
  48. package/dist/{200.7ff10cae741e1382bcb3.bundle.js → 200.6eee537413665b02c23f.bundle.js} +1 -1
  49. package/dist/{206.750777aab552b2c97c68.bundle.js → 206.7f16c0fcd5d65d82f869.bundle.js} +1 -1
  50. package/dist/{21.7ad047ae5bb8c0a68163.bundle.js → 21.bf90c5dbc6751926b09f.bundle.js} +1 -1
  51. package/dist/{217.76f3e1cda60f9abe1701.bundle.js → 217.57a8407776a632ad45ff.bundle.js} +1 -1
  52. package/dist/{226.a3b6f063cd117f6809e5.bundle.js → 226.914d0a244a06d6eff230.bundle.js} +1 -1
  53. package/dist/{23.56301f1a97cc94310f2d.bundle.js → 23.b57e6b08f36eaa6cfa1c.bundle.js} +1 -1
  54. package/dist/{234.a223a40490dbaf451cd7.bundle.js → 234.d92bb857de797a88568d.bundle.js} +1 -1
  55. package/dist/{235.2d41cfd545adcebf23d1.bundle.js → 235.1182f064fb17ad3f55d1.bundle.js} +1 -1
  56. package/dist/{24.0fee5a7050aa01c43593.bundle.js → 24.77404fb1a29f7448cfa9.bundle.js} +1 -1
  57. package/dist/{25.42411835319827f4bfc1.bundle.js → 25.fd2151cfa79bb46e568e.bundle.js} +1 -1
  58. package/dist/{250.f20ba52ca6ed81d5d179.bundle.js → 250.ad498a8076662df1ed87.bundle.js} +1 -1
  59. package/dist/{26.68da73b9eb0e20ef6a04.bundle.js → 26.b4cf5132c870052d06f3.bundle.js} +1 -1
  60. package/dist/{261.bb146605dd28d704aa16.bundle.js → 261.01d68aa8402ef6ac3a38.bundle.js} +1 -1
  61. package/dist/{266.929c96d6372d56668ae0.bundle.js → 266.6b132ba2f789d8526651.bundle.js} +1 -1
  62. package/dist/{27.9170cfa5bc0b60e51d82.bundle.js → 27.af756f3e9a79334cb6f9.bundle.js} +1 -1
  63. package/dist/{271.f51d241774a8df3f20c7.bundle.js → 271.57cac2aa90c6b4409f51.bundle.js} +1 -1
  64. package/dist/{273.235fcf7e993aace5557d.bundle.js → 273.532af8c0707be80576a4.bundle.js} +1 -1
  65. package/dist/{274.4489e0c0b2b5457a3513.bundle.js → 274.9e29d76ce7a1be779fe2.bundle.js} +1 -1
  66. package/dist/{28.decaa67e47ac79ba59a3.bundle.js → 28.f64cabb9e00e2f08ed6a.bundle.js} +1 -1
  67. package/dist/{288.b263f48bcaa5db590821.bundle.js → 288.942d138e6c489a3ff6df.bundle.js} +1 -1
  68. package/dist/{29.8b089f6adfabb19d8073.bundle.js → 29.073b9b1176718648e438.bundle.js} +1 -1
  69. package/dist/{293.88a6655ca50918b1edc4.bundle.js → 293.35cf89ffdbbcab6c39de.bundle.js} +1 -1
  70. package/dist/{3.31747e6f9dde0db936ea.bundle.js → 3.f26cefadb24ee2836b8a.bundle.js} +1 -1
  71. package/dist/{30.9345c96cc253adab0ae0.bundle.js → 30.3530af7acf6dd4af07b4.bundle.js} +1 -1
  72. package/dist/{302.2a26c6c4f78a037c6d3e.bundle.js → 302.9e008d753a24f66797ac.bundle.js} +1 -1
  73. package/dist/{307.d188e735148ef48fbe80.bundle.js → 307.99dec37cee341acf70d6.bundle.js} +1 -1
  74. package/dist/{31.614dbf7498a1552e355c.bundle.js → 31.19f116ce71f83ce6c3df.bundle.js} +1 -1
  75. package/dist/{319.53ee0f1a2a998747c6bd.bundle.js → 319.6ee5e4d0efbb256ad040.bundle.js} +1 -1
  76. package/dist/{32.a52b26adcd7755172626.bundle.js → 32.3649b0fc7e7136790d43.bundle.js} +1 -1
  77. package/dist/{320.80795d19cc7aa6ccaa28.bundle.js → 320.5cb0f10abd3ca266298e.bundle.js} +1 -1
  78. package/dist/{328.e966458d8c8ceca910de.bundle.js → 328.b769a2c7965fcc07d289.bundle.js} +1 -1
  79. package/dist/{33.db577a77e1237b4997ef.bundle.js → 33.d4864cfbed6bb7c30c95.bundle.js} +1 -1
  80. package/dist/{330.38fcfd70d382ec90607d.bundle.js → 330.f66ff693ab2f86440650.bundle.js} +1 -1
  81. package/dist/{34.12bd97ec9f0f5411ede8.bundle.js → 34.4a17e8b0f3f203963d5e.bundle.js} +1 -1
  82. package/dist/342.cead059cad2a860fb1db.bundle.js +1 -0
  83. package/dist/348.b09b5350639beca8034e.bundle.js +1 -1
  84. package/dist/{35.e22a1a214303b341a46d.bundle.js → 35.2920265e8348ab78e718.bundle.js} +1 -1
  85. package/dist/354.474aa50f195477e48af9.bundle.js +1 -1
  86. package/dist/357.603fceaaeb0992019407.bundle.js +1 -1
  87. package/dist/358.5398b6635b1fc42b581a.bundle.js +1 -1
  88. package/dist/359.a2f8d884c46015ae98ed.bundle.js +1 -1
  89. package/dist/{36.1092cd7bf5d220bb9063.bundle.js → 36.99a2c4a2393ff13ec514.bundle.js} +1 -1
  90. package/dist/360.40b2c9f3610b0f8dea80.bundle.js +1 -1
  91. package/dist/361.91ac80c8c5586b0546a5.bundle.js +1 -1
  92. package/dist/37.d519cb3af9d6205f0015.bundle.js +1 -0
  93. package/dist/{38.fb2659cad2c86b5ec58d.bundle.js → 38.23f902df4ed8fbfc7fcf.bundle.js} +1 -1
  94. package/dist/{39.96fb293a7ae3ef7a5ad9.bundle.js → 39.171886987f5ef7d17208.bundle.js} +1 -1
  95. package/dist/391.45bf699afe7aba531cd9.bundle.js +1 -1
  96. package/dist/{40.159ef797572a6c14eab5.bundle.js → 40.0937e585f9f5a7eaab82.bundle.js} +1 -1
  97. package/dist/403.61a61ce1c12385533859.bundle.js +1 -1
  98. package/dist/404.b53dc0ad0aaedcf3f809.bundle.js +1 -1
  99. package/dist/405.eb8906e00f241da08275.bundle.js +1 -1
  100. package/dist/406.48298a2b9c49b99170f8.bundle.js +1 -1
  101. package/dist/407.56a20539c08f5d616640.bundle.js +1 -1
  102. package/dist/409.72d548b44e2f1c414a24.bundle.js +1 -1
  103. package/dist/{41.8a09e7ba27f7614de053.bundle.js → 41.3b2afebd8ef778234327.bundle.js} +1 -1
  104. package/dist/410.df9406357dc52e98d0c4.bundle.js +1 -1
  105. package/dist/411.3a8907f7c02b1e9581e2.bundle.js +1 -1
  106. package/dist/412.5feece7f4c5164d2eadb.bundle.js +1 -1
  107. package/dist/{42.68cf9fea9586d95c7ef2.bundle.js → 42.51a2b146401e3d3c44fd.bundle.js} +1 -1
  108. package/dist/43.c3b8fc48a5d69126ff55.bundle.js +1 -0
  109. package/dist/{44.582668c8e60673ee9a89.bundle.js → 44.0b6f6369f9c157f2243c.bundle.js} +1 -1
  110. package/dist/46.5baa02d0ce0f4e4bec79.bundle.js +1 -0
  111. package/dist/{47.a0af564fb81592c87a50.bundle.js → 47.c7898dbc38a6a6e9321b.bundle.js} +1 -1
  112. package/dist/{48.067da85ef40da92d258a.bundle.js → 48.4a5b02907ad2d1a2792f.bundle.js} +1 -1
  113. package/dist/{49.ca18c72cba3d68131fdb.bundle.js → 49.143329d875c1714aec89.bundle.js} +1 -1
  114. package/dist/{50.271eee82fbebc9d53f38.bundle.js → 50.385486fe0efbefd5dfa9.bundle.js} +1 -1
  115. package/dist/{51.4ac9662be57037924446.bundle.js → 51.9f3c96f8a93b54423852.bundle.js} +1 -1
  116. package/dist/{52.1470d5ed8b99f64d5ce2.bundle.js → 52.ff20925f8f7656382d7b.bundle.js} +1 -1
  117. package/dist/{53.f13a957ecbd28e1125c7.bundle.js → 53.e286cd8cfb636fcec996.bundle.js} +1 -1
  118. package/dist/{54.c875b7240154b221bebb.bundle.js → 54.326b8c0143c463fc8e2d.bundle.js} +1 -1
  119. package/dist/55.4009a0d60dea722c108d.bundle.js +1 -0
  120. package/dist/{55.49f77e42bc983dcbfacc.bundle.js → 56.a581f6f1ded6a4d3d08b.bundle.js} +1 -1
  121. package/dist/{56.5a4901fea60239d0b3e0.bundle.js → 57.aa39c7d23ece602d952f.bundle.js} +1 -1
  122. package/dist/{57.1bb4040e33a9a35f5b9f.bundle.js → 58.fad69b0e6153a06c83b7.bundle.js} +1 -1
  123. package/dist/{58.394c32af3b117b179610.bundle.js → 59.84e7285984168a313d36.bundle.js} +1 -1
  124. package/dist/{6.f8af74652bcab7953736.bundle.js → 6.73f6adae3ab11729ebf2.bundle.js} +1 -1
  125. package/dist/{59.e50dc5ce41dd02cf3b3d.bundle.js → 60.ad49b739e4b8f2cdbce7.bundle.js} +1 -1
  126. package/dist/{60.95c6753d580f3a716b22.bundle.js → 61.ee14d8cda3708fe9c287.bundle.js} +1 -1
  127. package/dist/{61.f553a4c10a25b9af3cd7.bundle.js → 62.092aacacd064526783c0.bundle.js} +1 -1
  128. package/dist/{62.48b219154c6345908a80.bundle.js → 63.9537a1fd0366d5518114.bundle.js} +1 -1
  129. package/dist/64.1dd28ef2f60fe1ba23a5.bundle.js +1 -0
  130. package/dist/{64.04c60a42b228c234e2ad.bundle.js → 65.4c0218d3ba1faae1f6ad.bundle.js} +1 -1
  131. package/dist/{65.bb26ca0693ef27c414a7.bundle.js → 66.2a2d9bf0e595ca627c78.bundle.js} +1 -1
  132. package/dist/{66.f19c0287fadf05c84858.bundle.js → 67.a4e87ab3032de83a0d71.bundle.js} +1 -1
  133. package/dist/{67.6b37a09a02d11c37bcaa.bundle.js → 68.66efe1b03756e3052e35.bundle.js} +1 -1
  134. package/dist/{68.9ebaf6d51e22177c8ba2.bundle.js → 69.fd10e482a3491294f900.bundle.js} +1 -1
  135. package/dist/{7.e59eae3aa5e9e0ea5a0e.bundle.js → 7.c7a405d7dc99c9ebee48.bundle.js} +1 -1
  136. package/dist/70.38ae428de620fbf7602d.bundle.js +1 -0
  137. package/dist/{69.f3be67c2243892d32055.bundle.js → 71.e18795e8eaed8f747ce5.bundle.js} +1 -1
  138. package/dist/{70.415393ee813d58975172.bundle.js → 72.a53c1a358c3335c3eaa1.bundle.js} +1 -1
  139. package/dist/{71.e89efd706a10aea2074e.bundle.js → 73.d442bfb6f448e72c5bce.bundle.js} +1 -1
  140. package/dist/{72.6f58ccfef39ec2ee9614.bundle.js → 74.05569d4f46a43d6d56e4.bundle.js} +1 -1
  141. package/dist/{73.53bbbd74f7de2913152b.bundle.js → 75.e226c0d22ed7ff1b57ee.bundle.js} +1 -1
  142. package/dist/{74.184ffc6fc6053f5c645d.bundle.js → 76.afa96077de497c981882.bundle.js} +1 -1
  143. package/dist/{75.441343592edbcf27a029.bundle.js → 77.9fa02265d836024fdf79.bundle.js} +1 -1
  144. package/dist/{76.055e216b311e1817484e.bundle.js → 78.9f81b2060ae650976ae7.bundle.js} +1 -1
  145. package/dist/{77.c75c1df7b8e2c4855b17.bundle.js → 79.3fc17aa270c5a6477e9c.bundle.js} +1 -1
  146. package/dist/{8.28f2c0d888f5e99cfbc9.bundle.js → 8.18ec3a5b3f95a7965e71.bundle.js} +1 -1
  147. package/dist/{78.bd5758f93518290f477f.bundle.js → 80.7de02802c242d6cf125c.bundle.js} +1 -1
  148. package/dist/{79.1d57915d970df0a37229.bundle.js → 81.66b9a961188d712b1d48.bundle.js} +1 -1
  149. package/dist/{80.c83c5d743d89a63e7437.bundle.js → 82.8c402a2cedd2441c3f3c.bundle.js} +1 -1
  150. package/dist/{81.d04604229fe4fdd02601.bundle.js → 83.15cd8f06607b23e5e901.bundle.js} +1 -1
  151. package/dist/{82.a8e009ab0c08b859d2ce.bundle.js → 84.825f8eaa43e71f73f25d.bundle.js} +1 -1
  152. package/dist/{83.80c0e99346b0e55b33a5.bundle.js → 85.00ce4d8f4433d87bf54e.bundle.js} +1 -1
  153. package/dist/{84.891be8b57abdab473123.bundle.js → 86.ffeb1acd50a34948e089.bundle.js} +1 -1
  154. package/dist/{86.33c18744f8b1ae858a66.bundle.js → 87.9ac37a1a4a11ef7dfbac.bundle.js} +1 -1
  155. package/dist/{87.a623d6e7d303f6f34851.bundle.js → 88.5b052707f2cd26eb7890.bundle.js} +1 -1
  156. package/dist/{88.11dcfbd80b70ce8140af.bundle.js → 89.76461444a1cb2b2e1114.bundle.js} +1 -1
  157. package/dist/{9.4b42fc29ab253cd7ad0d.bundle.js → 9.d57134d0b4eb2e6f4ee6.bundle.js} +1 -1
  158. package/dist/{89.2c22dfa2ddf7c65e8f07.bundle.js → 90.7934551daab93be805ba.bundle.js} +1 -1
  159. package/dist/{90.d64c9e9798606a8a2488.bundle.js → 91.de9fe730d2b00227b9d4.bundle.js} +1 -1
  160. package/dist/{91.53d392a817902243fd14.bundle.js → 92.f4a3984a912edbb06838.bundle.js} +1 -1
  161. package/dist/{92.4c7f6ae785e5c2726adf.bundle.js → 93.e22a88d63bd4fc5f616c.bundle.js} +1 -1
  162. package/dist/{93.44989fd952e4ee29a14d.bundle.js → 94.f731de3062bce3990e2f.bundle.js} +1 -1
  163. package/dist/{94.8f5fc9e6922907cdf8d0.bundle.js → 95.5fdf43bda2882304ace9.bundle.js} +1 -1
  164. package/dist/{95.7a98715e44233a65f0b6.bundle.js → 96.21c753d787869238e5ed.bundle.js} +1 -1
  165. package/dist/{96.b2a0154600564a0bf2c8.bundle.js → 97.13cd4feb8916c17b8b20.bundle.js} +1 -1
  166. package/dist/{97.19320ba399d9b0bc4a3d.bundle.js → 98.6379c1708e09a721cc36.bundle.js} +1 -1
  167. package/dist/{98.53c28cc4683594868437.bundle.js → 99.bfe2ea3e30bb6b0e9045.bundle.js} +1 -1
  168. package/dist/{bundle.8b5133c2bd45c3446e7b.bundle.js → bundle.f1f997c1b702d546a4e1.bundle.js} +5 -5
  169. package/dist/css/autocomplete.css +5 -0
  170. package/dist/css/rdf-class-hierarchy.css +1 -1
  171. package/dist/index.html +3 -3
  172. package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
  173. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  174. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  175. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  176. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  177. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  178. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  179. package/dist/js/angular/security/templates/user.html +1 -1
  180. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  181. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  182. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  183. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  184. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  185. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  186. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +1 -1
  187. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  188. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  189. package/dist/license-checker.json +2 -2
  190. package/dist/pages/aclmanagement.html +2 -2
  191. package/dist/pages/autocomplete.html +1 -1
  192. package/dist/pages/choose-repository-type.html +1 -1
  193. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  194. package/dist/pages/create-index.html +1 -1
  195. package/dist/pages/dependencies.html +1 -1
  196. package/dist/pages/domainRangeInfo.html +2 -2
  197. package/dist/pages/edit.html +1 -1
  198. package/dist/pages/explore.html +1 -1
  199. package/dist/pages/export.html +1 -1
  200. package/dist/pages/find.html +1 -1
  201. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  202. package/dist/pages/graphs-visualizations.html +7 -7
  203. package/dist/pages/guides.html +1 -1
  204. package/dist/pages/import.html +2 -2
  205. package/dist/pages/jdbc-create.html +1 -1
  206. package/dist/pages/monitor/backup-and-restore.html +1 -1
  207. package/dist/pages/monitor/queries.html +1 -1
  208. package/dist/pages/monitor/resources.html +1 -1
  209. package/dist/pages/namespaces.html +2 -2
  210. package/dist/pages/plugins.html +1 -1
  211. package/dist/pages/rdfClassHierarchyInfo.html +8 -10
  212. package/dist/pages/rdfrank.html +2 -2
  213. package/dist/pages/repositories.html +1 -1
  214. package/dist/pages/repository.html +1 -1
  215. package/dist/pages/similarity-indexes.html +1 -1
  216. package/dist/pages/sparql-editor.html +1 -1
  217. package/dist/pages/sparql-template-create.html +1 -1
  218. package/dist/pages/ux-test1.html +2 -2
  219. package/dist/pages/webapi.html +2 -2
  220. package/dist/res/swagger5/index.html +12 -12
  221. package/package.json +1 -1
  222. package/dist/129.e20705a1f5be2410d666.bundle.js +0 -1
  223. package/dist/342.ca94acdc8de22e22241a.bundle.js +0 -1
  224. package/dist/37.fbd78997b9e6a3530e15.bundle.js +0 -1
  225. package/dist/43.53bafbaf1332f99c7e74.bundle.js +0 -1
  226. package/dist/46.eb3af10b1fccbfa2f5bf.bundle.js +0 -1
  227. package/dist/63.9c60525f7eed7756e83e.bundle.js +0 -1
  228. package/dist/85.945ee0e14f628a4fa4a1.bundle.js +0 -1
  229. package/dist/99.bc85d568135caa51630f.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[71,149,150],{139:function(e,r,n){"use strict";n.r(r),n.d(r,"markdownCodeCopyPlugin",(function(){return s}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,r){return r=_.merge({},t,r),(...n)=>{const[t,o]=n,s=t[o],l=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),c=e(...n);return"fence"===s.type&&c.trim()?`<div style="position: relative">\n ${c}\n <copy-to-clipboard\n style="${r.buttonStyle}"\n class="${r.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${l}">\n </copy-to-clipboard>\n </div>`:c}}const s=(e,r)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,r),e.renderer.rules.fence=o(e.renderer.rules.fence,r)}},140:function(e,r,n){"use strict";n.r(r),n.d(r,"markdownOpenInSparqlEditorPlugin",(function(){return s}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,r){return r=_.merge({},t,r),(...n)=>{const[t,o]=n,s=t[o],l=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),c=e(...n);return"fence"===s.type&&"sparql"===s.info&&c.trim()?`<div style="position: relative">\n ${c}\n <open-in-sparql-editor\n style="${r.buttonStyle}"\n class="${r.buttonClass}"\n execute-query="${r.executeQuery}"\n repository-id="${r.repositoryId}"\n query="${l}">\n </open-in-sparql-editor>\n </div>`:c}}const s=(e,r)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,r),e.renderer.rules.fence=o(e.renderer.rules.fence,r)}},161:function(e,r,n){"use strict";n.r(r);var t=n(608),o=n(139),s=n(140);const l={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function c(e){const r=Object(t.a)().use(o.markdownCodeCopyPlugin).use(s.markdownOpenInSparqlEditorPlugin,l);return{renderMarkdown:(n,c)=>{try{return e.trustAsHtml((e=>e?Object(t.a)().use(o.markdownCodeCopyPlugin,e).use(s.markdownOpenInSparqlEditorPlugin,_.merge({},l,e)):r)(c).render(n))}catch(r){return console.error("Error rendering markdown:",r),e.trustAsHtml(n)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",c),c.$inject=["$sce"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[73,149,150],{139:function(e,r,n){"use strict";n.r(r),n.d(r,"markdownCodeCopyPlugin",(function(){return s}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,r){return r=_.merge({},t,r),(...n)=>{const[t,o]=n,s=t[o],l=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),c=e(...n);return"fence"===s.type&&c.trim()?`<div style="position: relative">\n ${c}\n <copy-to-clipboard\n style="${r.buttonStyle}"\n class="${r.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${l}">\n </copy-to-clipboard>\n </div>`:c}}const s=(e,r)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,r),e.renderer.rules.fence=o(e.renderer.rules.fence,r)}},140:function(e,r,n){"use strict";n.r(r),n.d(r,"markdownOpenInSparqlEditorPlugin",(function(){return s}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,r){return r=_.merge({},t,r),(...n)=>{const[t,o]=n,s=t[o],l=t[o].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),c=e(...n);return"fence"===s.type&&"sparql"===s.info&&c.trim()?`<div style="position: relative">\n ${c}\n <open-in-sparql-editor\n style="${r.buttonStyle}"\n class="${r.buttonClass}"\n execute-query="${r.executeQuery}"\n repository-id="${r.repositoryId}"\n query="${l}">\n </open-in-sparql-editor>\n </div>`:c}}const s=(e,r)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,r),e.renderer.rules.fence=o(e.renderer.rules.fence,r)}},161:function(e,r,n){"use strict";n.r(r);var t=n(608),o=n(139),s=n(140);const l={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function c(e){const r=Object(t.a)().use(o.markdownCodeCopyPlugin).use(s.markdownOpenInSparqlEditorPlugin,l);return{renderMarkdown:(n,c)=>{try{return e.trustAsHtml((e=>e?Object(t.a)().use(o.markdownCodeCopyPlugin,e).use(s.markdownOpenInSparqlEditorPlugin,_.merge({},l,e)):r)(c).render(n))}catch(r){return console.error("Error rendering markdown:",r),e.trustAsHtml(n)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",c),c.$inject=["$sce"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72,186,188],{278:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},279:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.8.8-TR2">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},355:function(r,i,e){"use strict";e.r(i);e(9),e(40),e(266),e(278),e(279),e(319),e(41),e(83),e(84);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,186,188],{278:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},279:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.8.9-RC1">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},355:function(r,i,e){"use strict";e.r(i);e(9),e(40),e(266),e(278),e(279),e(319),e(41),e(83),e(84);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[73,96,205],{117:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(18),s=i(91);const o={USER:"user",SERVER:"server"};function c(e){let t=o.USER,i=[],c=[],r=[],a=!0,d=[];return{updateActiveTabId:function(i){t=i,e.emitSync("activeTabIdUpdated",p())},getActiveTabId:p,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const i=f();i.push(t),b(i),e.emitSync("fileAdded",Object(n.cloneDeep)(t))},updateFiles:b,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:m,updateImportedResources:function(t){i=t,e.emitSync("importedResourcesUpdated",m()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){a=t,e.emitSync("showLoaderUpdated",l())},getShowLoader:l,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){d=Object(n.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",u())},getSelectedFilesNames:u,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),i=t.find(({name:t})=>t===e.name);i?Object.assign(i,e):t.push(e);U(t)},getResourceForUpload:function(e){return Object(n.cloneDeep)(c.find(({name:t})=>t===e))},updateResourcesForUpload:U,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function u(){return Object(n.cloneDeep)(d)}function l(){return a}function p(){return t}function b(t){r=Object(n.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(n.cloneDeep)(r)}function m(){return Object(n.cloneDeep)(i)||[]}function R(){const e=m();let t=S();const i=[],n=[];return e.forEach(({name:e})=>{const o=t.find(({name:t})=>t===e);o&&(o.status===s.ImportResourceStatus.UPLOADED?i.push(o):n.push(o))}),i.length>0&&(t=t.filter(({name:e})=>!i.some(({name:t})=>t===e)),U(t,!1)),e.filter(({name:e})=>!n.some(t=>e===t)).concat(t)}function U(t,i=!0){c=Object(n.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),i&&e.emitSync("resourcesUpdated",R())}function S(){return Object(n.cloneDeep)(c)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",c),c.$inject=["EventEmitterService"]},269:function(e,t,i){"use strict";i.r(t);var n=i(117);function s(e,t,i){let s;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const c=()=>{if(s.isPristine(e.activeTabId)){const t=i.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=s.isHelpVisible(e.activeTabId)};e.openTab=e=>{i.updateActiveTabId(e)},e.toggleHelp=()=>{s.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),c()};const r=[];r.push(i.onActiveTabIdUpdated(i=>{e.activeTabId=i,t.hash(e.activeTabId),c()})),r.push(i.onResourcesUpdated(c));e.$on("$destroy",()=>r.forEach(e=>e())),(()=>{s=new o;const i=t.hash()||n.TABS.USER;e.openTab(i),c()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[n.TABS.USER]:{isHelpVisible:void 0},[n.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},91:function(e,t,i){"use strict";i.r(t),i.d(t,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,97,205],{119:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(18),s=i(91);const o={USER:"user",SERVER:"server"};function c(e){let t=o.USER,i=[],c=[],r=[],a=!0,d=[];return{updateActiveTabId:function(i){t=i,e.emitSync("activeTabIdUpdated",p())},getActiveTabId:p,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const i=f();i.push(t),b(i),e.emitSync("fileAdded",Object(n.cloneDeep)(t))},updateFiles:b,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:m,updateImportedResources:function(t){i=t,e.emitSync("importedResourcesUpdated",m()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){a=t,e.emitSync("showLoaderUpdated",l())},getShowLoader:l,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){d=Object(n.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",u())},getSelectedFilesNames:u,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),i=t.find(({name:t})=>t===e.name);i?Object.assign(i,e):t.push(e);U(t)},getResourceForUpload:function(e){return Object(n.cloneDeep)(c.find(({name:t})=>t===e))},updateResourcesForUpload:U,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function u(){return Object(n.cloneDeep)(d)}function l(){return a}function p(){return t}function b(t){r=Object(n.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(n.cloneDeep)(r)}function m(){return Object(n.cloneDeep)(i)||[]}function R(){const e=m();let t=S();const i=[],n=[];return e.forEach(({name:e})=>{const o=t.find(({name:t})=>t===e);o&&(o.status===s.ImportResourceStatus.UPLOADED?i.push(o):n.push(o))}),i.length>0&&(t=t.filter(({name:e})=>!i.some(({name:t})=>t===e)),U(t,!1)),e.filter(({name:e})=>!n.some(t=>e===t)).concat(t)}function U(t,i=!0){c=Object(n.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),i&&e.emitSync("resourcesUpdated",R())}function S(){return Object(n.cloneDeep)(c)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",c),c.$inject=["EventEmitterService"]},269:function(e,t,i){"use strict";i.r(t);var n=i(119);function s(e,t,i){let s;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const c=()=>{if(s.isPristine(e.activeTabId)){const t=i.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=s.isHelpVisible(e.activeTabId)};e.openTab=e=>{i.updateActiveTabId(e)},e.toggleHelp=()=>{s.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),c()};const r=[];r.push(i.onActiveTabIdUpdated(i=>{e.activeTabId=i,t.hash(e.activeTabId),c()})),r.push(i.onResourcesUpdated(c));e.$on("$destroy",()=>r.forEach(e=>e())),(()=>{s=new o;const i=t.hash()||n.TABS.USER;e.openTab(i),c()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[n.TABS.USER]:{isHelpVisible:void 0},[n.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},91:function(e,t,i){"use strict";i.r(t),i.d(t,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[74,193,195,196],{157:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},226:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(157),n=t(98);const s={getLegendNodes:function(){const e=[];return e.push({nodeState:N.NodeState.LEADER,customText:"node_state_leader"}),e.push({nodeState:N.NodeState.FOLLOWER,customText:"node_state_follower"}),e.push({nodeState:N.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),e.forEach((e,_)=>e.id=_),e},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3 fa-solid",icon:""}],getLegendLinks:function(){const e=[];return e.push({status:n.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),e.push({status:n.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),e.push({status:n.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),e.push({status:n.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),e.forEach((e,_)=>e.id=_),e},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},98:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N})),t.d(_,"RecoveryState",(function(){return n})),t.d(_,"LinkState",(function(){return s})),t.d(_,"TopologyState",(function(){return E}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},n={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},s={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"},E={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76,193,195,196],{157:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},226:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(157),n=t(98);const s={getLegendNodes:function(){const e=[];return e.push({nodeState:N.NodeState.LEADER,customText:"node_state_leader"}),e.push({nodeState:N.NodeState.FOLLOWER,customText:"node_state_follower"}),e.push({nodeState:N.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),e.forEach((e,_)=>e.id=_),e},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3 fa-solid",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3 fa-solid",icon:""}],getLegendLinks:function(){const e=[];return e.push({status:n.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),e.push({status:n.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),e.push({status:n.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),e.push({status:n.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),e.forEach((e,_)=>e.id=_),e},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},98:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N})),t.d(_,"RecoveryState",(function(){return n})),t.d(_,"LinkState",(function(){return s})),t.d(_,"TopologyState",(function(){return E}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},n={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},s={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"},E={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[75,199,321],{202:function(e,t,n){"use strict";n.r(t);var a=n(93),s=n(88);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=a=>{if(E(a),n.selectedAgent=a,e.selectAgent(a),a.isRepositoryDeleted){const n=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),E=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(n,E,()=>e.emit(s.TTYGEventName.EDIT_AGENT,a))}};const E=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},l=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{l(e)})),c.push(e.subscribe(s.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{E(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]},88:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var a=n(18);function s(e){let t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1;const d=()=>Object(a.cloneDeep)(t),o=()=>Object(a.cloneDeep)(n),A=e=>{n=Object(a.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,o())},T=()=>Object(a.cloneDeep)(s),u=()=>Object(a.cloneDeep)(E),g=()=>Object(a.cloneDeep)(l),r=e=>!!l[e],C=()=>_,h=(t,n)=>{e.emitSync(t,Object(a.cloneDeep)(n))},D=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1},emit:h,subscribe:D,getChats:o,updateChats:A,addChat:e=>{n.appendChat(e),A(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),A(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(o()),D(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:T,selectChat:e=>{s&&s.id===e.id||(s=Object(a.cloneDeep)(e),h(i.SELECT_CHAT,T()))},deselectChat:()=>{s=void 0,h(i.SELECT_CHAT,T())},deleteChat:e=>{n.deleteChat(e),A(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(T()),D(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{s&&s.id&&e&&s.id!==e.id||(s=Object(a.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,T()))},onSelectedChatUpdated:e=>(s&&angular.isFunction(e)&&e(T()),D(i.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(s&&angular.isFunction(e)&&e(T()),D(i.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),D(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(a.cloneDeep)(t.getAgent(e))},selectAgent:e=>{E=Object(a.cloneDeep)(e),h(i.AGENT_SELECTED,u())},getSelectedAgent:u,onSelectedAgentChanged:e=>(E&&angular.isFunction(e)&&e(u()),D(i.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(a.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{_=Object(a.cloneDeep)(e),h(i.CAN_MODIFY_AGENT_UPDATED,C())},getCanModifyAgent:C,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(C()),D(i.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:r,toggleExplainResponse:e=>{r(e)&&(l[e].expanded=!l[e].expanded,h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g()))},getExplainResponse:e=>Object(a.cloneDeep)(l[e]),addExplainResponseCache:e=>{l[e.answerId]=Object(a.cloneDeep)(e),h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(g()),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",s),s.$inject=["EventEmitterService","TTYGService"];const i={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",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",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",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"SelectMenuOptionsModel",(function(){return a})),n.d(t,"TextFieldModel",(function(){return s})),n.d(t,"NumericRangeModel",(function(){return i}));class a{constructor({label:e,value:t,selected:n=!1,data:a={}}){this._label=e,this._value=t,this._selected=n,this._data=a}get label(){return this._label}set label(e){this._label=e}get value(){return this._value}set value(e){this._value=e}get selected(){return this._selected}set selected(e){this._selected=e}get data(){return this._data}set data(e){this._data=e}}class s{constructor(e){this._value=e.value,this._minLength=e.minLength,this._maxLength=e.maxLength}get value(){return this._value}set value(e){this._value=e}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e}get minLength(){return this._minLength}set minLength(e){this._minLength=e}}class i{constructor(e){this._value=e.value,this._minValue=e.minValue,this._maxValue=e.maxValue,this._step=e.step}get value(){return this._value}set value(e){this._value=e}get minValue(){return this._minValue}set minValue(e){this._minValue=e}get maxValue(){return this._maxValue}set maxValue(e){this._maxValue=e}get step(){return this._step}set step(e){this._step=e}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[77,199,321],{202:function(e,t,n){"use strict";n.r(t);var a=n(93),s=n(88);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=a=>{if(E(a),n.selectedAgent=a,e.selectAgent(a),a.isRepositoryDeleted){const n=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),E=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(n,E,()=>e.emit(s.TTYGEventName.EDIT_AGENT,a))}};const E=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},l=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{l(e)})),c.push(e.subscribe(s.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{E(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]},88:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var a=n(18);function s(e){let t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1;const d=()=>Object(a.cloneDeep)(t),o=()=>Object(a.cloneDeep)(n),A=e=>{n=Object(a.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,o())},T=()=>Object(a.cloneDeep)(s),u=()=>Object(a.cloneDeep)(E),g=()=>Object(a.cloneDeep)(l),r=e=>!!l[e],C=()=>_,h=(t,n)=>{e.emitSync(t,Object(a.cloneDeep)(n))},D=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1},emit:h,subscribe:D,getChats:o,updateChats:A,addChat:e=>{n.appendChat(e),A(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),A(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(o()),D(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:T,selectChat:e=>{s&&s.id===e.id||(s=Object(a.cloneDeep)(e),h(i.SELECT_CHAT,T()))},deselectChat:()=>{s=void 0,h(i.SELECT_CHAT,T())},deleteChat:e=>{n.deleteChat(e),A(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(T()),D(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{s&&s.id&&e&&s.id!==e.id||(s=Object(a.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,T()))},onSelectedChatUpdated:e=>(s&&angular.isFunction(e)&&e(T()),D(i.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(s&&angular.isFunction(e)&&e(T()),D(i.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),D(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(a.cloneDeep)(t.getAgent(e))},selectAgent:e=>{E=Object(a.cloneDeep)(e),h(i.AGENT_SELECTED,u())},getSelectedAgent:u,onSelectedAgentChanged:e=>(E&&angular.isFunction(e)&&e(u()),D(i.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(a.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{_=Object(a.cloneDeep)(e),h(i.CAN_MODIFY_AGENT_UPDATED,C())},getCanModifyAgent:C,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(C()),D(i.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:r,toggleExplainResponse:e=>{r(e)&&(l[e].expanded=!l[e].expanded,h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g()))},getExplainResponse:e=>Object(a.cloneDeep)(l[e]),addExplainResponseCache:e=>{l[e.answerId]=Object(a.cloneDeep)(e),h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(g()),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",s),s.$inject=["EventEmitterService","TTYGService"];const i={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",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",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",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"SelectMenuOptionsModel",(function(){return a})),n.d(t,"TextFieldModel",(function(){return s})),n.d(t,"NumericRangeModel",(function(){return i}));class a{constructor({label:e,value:t,selected:n=!1,data:a={}}){this._label=e,this._value=t,this._selected=n,this._data=a}get label(){return this._label}set label(e){this._label=e}get value(){return this._value}set value(e){this._value=e}get selected(){return this._selected}set selected(e){this._selected=e}get data(){return this._data}set data(e){this._data=e}}class s{constructor(e){this._value=e.value,this._minLength=e.minLength,this._maxLength=e.maxLength}get value(){return this._value}set value(e){this._value=e}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e}get minLength(){return this._minLength}set minLength(e){this._minLength=e}}class i{constructor(e){this._value=e.value,this._minValue=e.minValue,this._maxValue=e.maxValue,this._step=e.step}get value(){return this._value}set value(e){this._value=e}get minValue(){return this._minValue}set minValue(e){this._minValue=e}get maxValue(){return this._maxValue}set maxValue(e){this._maxValue=e}get step(){return this._step}set step(e){this._step=e}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,98,200],{112:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,n=!0,u,o,p,h,c,d,y,Q,l,g,_,I,f,m,D){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=n,this._startGraphQuery=u,this._startIRI=o,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=c,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=Q,this._description=l,this._hint=g,this._startGraphQueryDescription=_,this._expandQueryDescription=I,this._resourceQueryDescription=f,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=D}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},133:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return n}));var s=t(112);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),n=e=>e.map(e=>a(e))},252:function(e,r,t){"use strict";t.r(r);var s=t(133);angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",i);function i(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,t,s,i){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${t}&linksLimit=${s}&sameAsState=${i}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r)).then(e=>Object(s.mapGraphsConfigResponseToModel)(e.data))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return console.log("rest update",r),e.put("rest/explore-graph/config/"+encodeURIComponent(r.id),r)},deleteGraphConfig:function(r){return e.delete("rest/explore-graph/config/"+encodeURIComponent(r.id))},validateQuery:function(r,t,s,i,a){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:t,params:s,all:i,oneOf:a}})}}}i.$inject=["$http"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[78,99,200],{114:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,n=!0,u,o,p,h,c,d,y,Q,l,g,_,I,f,m,D){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=n,this._startGraphQuery=u,this._startIRI=o,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=c,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=Q,this._description=l,this._hint=g,this._startGraphQueryDescription=_,this._expandQueryDescription=I,this._resourceQueryDescription=f,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=D}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},134:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return n}));var s=t(114);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),n=e=>e.map(e=>a(e))},252:function(e,r,t){"use strict";t.r(r);var s=t(134);angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",i);function i(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,t,s,i){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${t}&linksLimit=${s}&sameAsState=${i}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r)).then(e=>Object(s.mapGraphsConfigResponseToModel)(e.data))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return console.log("rest update",r),e.put("rest/explore-graph/config/"+encodeURIComponent(r.id),r)},deleteGraphConfig:function(r){return e.delete("rest/explore-graph/config/"+encodeURIComponent(r.id))},validateQuery:function(r,t,s,i,a){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:t,params:s,all:i,oneOf:a}})}}}i.$inject=["$http"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,250,251],{123:function(t,i,e){"use strict";e.r(i),e.d(i,"ContextType",(function(){return s})),e.d(i,"ContextTypes",(function(){return n}));class s{constructor(t,i){this.id=t,this.labelKey=i}static getAllType(){return[n.ALL,n.EXPLICIT,n.IMPLICIT]}static getContextType(t){return this.getAllType().find(i=>i.id===t)}}const n={ALL:new s("all","explore.explicit.implicit"),EXPLICIT:new s("explicit","explore.explicit"),IMPLICIT:new s("implicit","explore.implicit")}},145:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},175:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceInfo",(function(){return o}));var s=e(145),n=e(123);class o{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=n.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new s.ResourceDetails,this.blanks=!0}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[79,250,251],{124:function(t,i,e){"use strict";e.r(i),e.d(i,"ContextType",(function(){return s})),e.d(i,"ContextTypes",(function(){return n}));class s{constructor(t,i){this.id=t,this.labelKey=i}static getAllType(){return[n.ALL,n.EXPLICIT,n.IMPLICIT]}static getContextType(t){return this.getAllType().find(i=>i.id===t)}}const n={ALL:new s("all","explore.explicit.implicit"),EXPLICIT:new s("explicit","explore.explicit"),IMPLICIT:new s("implicit","explore.implicit")}},145:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},175:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceInfo",(function(){return o}));var s=e(145),n=e(124);class o{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=n.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new s.ResourceDetails,this.blanks=!0}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,56,71,145,149,150,321,323],{139:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownCodeCopyPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),s=e(...n);return"fence"===a.type&&s.trim()?`<div style="position: relative">\n ${s}\n <copy-to-clipboard\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${i}">\n </copy-to-clipboard>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},140:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownOpenInSparqlEditorPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),s=e(...n);return"fence"===a.type&&"sparql"===a.info&&s.trim()?`<div style="position: relative">\n ${s}\n <open-in-sparql-editor\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n execute-query="${t.executeQuery}"\n repository-id="${t.repositoryId}"\n query="${i}">\n </open-in-sparql-editor>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},147:function(e,t,n){"use strict";n.r(t),n.d(t,"getHumanReadableTimestamp",(function(){return o}));const o=(e,t,n,o={})=>{if(!n)return"";const r=new Date(n),a=new Date,i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),s=new Date(i);s.setDate(i.getDate()-1);const c=new Date(r.getFullYear(),r.getMonth(),r.getDate()),l=o.timeFormat?t("date")(r,o.timeFormat):"";if(c.getTime()===i.getTime())return e.instant("common.dates.today")+l;if(c.getTime()===s.getTime())return e.instant("common.dates.yesterday")+l;{const e=o.dateFormat||"yyyy-MM-dd";return t("date")(r,e)+l}}},161:function(e,t,n){"use strict";n.r(t);var o=n(608),r=n(139),a=n(140);const i={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function s(e){const t=Object(o.a)().use(r.markdownCodeCopyPlugin).use(a.markdownOpenInSparqlEditorPlugin,i);return{renderMarkdown:(n,s)=>{try{return e.trustAsHtml((e=>e?Object(o.a)().use(r.markdownCodeCopyPlugin,e).use(a.markdownOpenInSparqlEditorPlugin,_.merge({},i,e)):t)(s).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",s),s.$inject=["$sce"]},210:function(e,t,n){"use strict";n.r(t);n(231),n(232);var o=n(88),r=n(132),a=n(147);function i(e,t,n,i,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(c,l,d)=>{c.ExplainQueryType=r.ExplainQueryType,c.repositoryId=void 0,c.markdownContentOptions=void 0,c.agentNameByIdMap={},c.explainResponseModel={},c.loadingExplainResponse={},c.regenerateQuestion=()=>{c.onRegenerateQuestion({chatItem:c.chatItemDetail})},c.explainResponse=o=>{n.hasExplainResponse(o)?n.toggleExplainResponse(o):(c.loadingExplainResponse[o]=!0,i.explainResponse(c.chatItemDetail,o).then(e=>{n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>c.loadingExplainResponse[o]=!1))},c.onAskHowAnswerWasDerived=()=>{c.onAskHowDeliveredAnswer()},c.onOpenInSparqlEditor=e=>{c.chatItemDetail.agentId&&n.emit(o.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:c.repositoryId})},c.showRawQuery=e=>{const t=e.rawQuery.replace(/\s+/g,""),n=e.query.replace(/\s+/g,"");return t&&t!==n},c.getRepositoryId=e=>{const t=n.getAgent(c.chatItemDetail.agentId);return t?t.repositoryId:""},c.getHumanReadableQuestionTimestamp=e=>Object(a.getHumanReadableTimestamp)(t,s,e);const p=()=>{c.chatItemDetail.answers.forEach(e=>{c.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},E=[];E.push(n.onExplainResponseCacheUpdated(()=>{p()})),E.push(n.onAgentsListChanged(()=>{c.agentNameByIdMap=n.getAgents().agentNameByIdMap})),c.$on("$destroy",()=>{E.forEach(e=>e())}),c.repositoryId=c.getRepositoryId(),c.markdownContentOptions={repositoryId:c.repositoryId},p()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.directives.open-in-sparql-editor","graphdb.framework.core.directives.markdown-content"]).directive("chatItemDetail",i),i.$inject=["toastr","$translate","TTYGContextService","TTYGService","$filter"]},231:function(e,t,n){"use strict";n.r(t);n(161);function o(e,t){return{template:'<div class="markdown-content" ng-bind-html="markdownContent"></div>',restrict:"E",scope:{content:"@",options:"="},link:function(n,o){n.markdownContent=void 0;const r=()=>{n.$evalAsync(()=>{const t=o.find(".markdown-content");e(angular.element(t).contents())(n)})};n.markdownContent=t.renderMarkdown(n.content,n.options),r()}}}angular.module("graphdb.framework.core.directives.markdown-content",["graphdb.framework.core.services.markdown-service"]).directive("markdownContent",o),o.$inject=["$compile","MarkdownService"]},232:function(e,t,n){"use strict";n.r(t);var o=n(0);function r(e,t,n,r){return{template:'\n <style>\n .open-in-sparql-editor-btn {\n line-height: 0.75;\n }\n .open-in-sparql-editor-btn .fa:nth-child(2) {\n margin-left: -0.2em;\n margin-right: -0.2em;\n font-size: 0.9em;\n }\n </style>\n <button class="btn btn-link btn-sm open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()">\n <i class="fa fa-bracket-curly"></i><i class="fa fa-ellipsis"></i><i class="fa fa-bracket-curly-right"></i>\n </button>\n ',restrict:"E",scope:{query:"@",repositoryId:"@",executeQuery:"@"},link:function(a,i){a.tooltipText="ttyg.chat_panel.btn.open_in_sparql_editor.tooltip";const s="true"===a.executeQuery;a.onGoToSparqlEditorView=()=>{const r=e.getActiveRepository();r&&r===a.repositoryId?c(a.query):n.openConfirmationModal({title:t.instant("common.confirm"),message:Object(o.decodeHTML)(t.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:a.repositoryId})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{e.setRepository(e.getRepository(a.repositoryId)),c(a.query)})};const c=e=>{r.open(`/sparql?query=${encodeURIComponent(e)}&execute=${s}`,"_blank")}}}}angular.module("graphdb.framework.core.directives.open-in-sparql-editor",[]).directive("openInSparqlEditor",r),r.$inject=["$repositories","$translate","ModalService","$window"]},88:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return a}));var o=n(18);function r(e){let t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1;const d=()=>Object(o.cloneDeep)(t),p=()=>Object(o.cloneDeep)(n),E=e=>{n=Object(o.cloneDeep)(e),_(a.CHAT_LIST_UPDATED,p())},u=()=>Object(o.cloneDeep)(r),g=()=>Object(o.cloneDeep)(i),A=()=>Object(o.cloneDeep)(s),C=e=>!!s[e],T=()=>l,_=(t,n)=>{e.emitSync(t,Object(o.cloneDeep)(n))},m=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1},emit:_,subscribe:m,getChats:p,updateChats:E,addChat:e=>{n.appendChat(e),E(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),E(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(p()),m(a.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:u,selectChat:e=>{r&&r.id===e.id||(r=Object(o.cloneDeep)(e),_(a.SELECT_CHAT,u()))},deselectChat:()=>{r=void 0,_(a.SELECT_CHAT,u())},deleteChat:e=>{n.deleteChat(e),E(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(u()),m(a.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(o.cloneDeep)(e),_(a.SELECTED_CHAT_UPDATED,u()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(u()),m(a.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(r&&angular.isFunction(e)&&e(u()),m(a.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(o.cloneDeep)(e),_(a.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),m(a.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(o.cloneDeep)(t.getAgent(e))},selectAgent:e=>{i=Object(o.cloneDeep)(e),_(a.AGENT_SELECTED,g())},getSelectedAgent:g,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(g()),m(a.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(o.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(o.cloneDeep)(e),_(a.CAN_MODIFY_AGENT_UPDATED,T())},getCanModifyAgent:T,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(T()),m(a.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:C,toggleExplainResponse:e=>{C(e)&&(s[e].expanded=!s[e].expanded,_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A()))},getExplainResponse:e=>Object(o.cloneDeep)(s[e]),addExplainResponseCache:e=>{s[e.answerId]=Object(o.cloneDeep)(e),_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(A()),m(a.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",r),r.$inject=["EventEmitterService","TTYGService"];const a={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",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",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",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8,57,73,145,149,150,321,323],{139:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownCodeCopyPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),s=e(...n);return"fence"===a.type&&s.trim()?`<div style="position: relative">\n ${s}\n <copy-to-clipboard\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${i}">\n </copy-to-clipboard>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},140:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownOpenInSparqlEditorPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',"&quot;").replaceAll("'","&apos;"),s=e(...n);return"fence"===a.type&&"sparql"===a.info&&s.trim()?`<div style="position: relative">\n ${s}\n <open-in-sparql-editor\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n execute-query="${t.executeQuery}"\n repository-id="${t.repositoryId}"\n query="${i}">\n </open-in-sparql-editor>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},147:function(e,t,n){"use strict";n.r(t),n.d(t,"getHumanReadableTimestamp",(function(){return o}));const o=(e,t,n,o={})=>{if(!n)return"";const r=new Date(n),a=new Date,i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),s=new Date(i);s.setDate(i.getDate()-1);const c=new Date(r.getFullYear(),r.getMonth(),r.getDate()),l=o.timeFormat?t("date")(r,o.timeFormat):"";if(c.getTime()===i.getTime())return e.instant("common.dates.today")+l;if(c.getTime()===s.getTime())return e.instant("common.dates.yesterday")+l;{const e=o.dateFormat||"yyyy-MM-dd";return t("date")(r,e)+l}}},161:function(e,t,n){"use strict";n.r(t);var o=n(608),r=n(139),a=n(140);const i={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function s(e){const t=Object(o.a)().use(r.markdownCodeCopyPlugin).use(a.markdownOpenInSparqlEditorPlugin,i);return{renderMarkdown:(n,s)=>{try{return e.trustAsHtml((e=>e?Object(o.a)().use(r.markdownCodeCopyPlugin,e).use(a.markdownOpenInSparqlEditorPlugin,_.merge({},i,e)):t)(s).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",s),s.$inject=["$sce"]},210:function(e,t,n){"use strict";n.r(t);n(231),n(232);var o=n(88),r=n(133),a=n(147);function i(e,t,n,i,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(c,l,d)=>{c.ExplainQueryType=r.ExplainQueryType,c.repositoryId=void 0,c.markdownContentOptions=void 0,c.agentNameByIdMap={},c.explainResponseModel={},c.loadingExplainResponse={},c.regenerateQuestion=()=>{c.onRegenerateQuestion({chatItem:c.chatItemDetail})},c.explainResponse=o=>{n.hasExplainResponse(o)?n.toggleExplainResponse(o):(c.loadingExplainResponse[o]=!0,i.explainResponse(c.chatItemDetail,o).then(e=>{n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>c.loadingExplainResponse[o]=!1))},c.onAskHowAnswerWasDerived=()=>{c.onAskHowDeliveredAnswer()},c.onOpenInSparqlEditor=e=>{c.chatItemDetail.agentId&&n.emit(o.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:c.repositoryId})},c.showRawQuery=e=>{const t=e.rawQuery.replace(/\s+/g,""),n=e.query.replace(/\s+/g,"");return t&&t!==n},c.getRepositoryId=e=>{const t=n.getAgent(c.chatItemDetail.agentId);return t?t.repositoryId:""},c.getHumanReadableQuestionTimestamp=e=>Object(a.getHumanReadableTimestamp)(t,s,e);const p=()=>{c.chatItemDetail.answers.forEach(e=>{c.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},E=[];E.push(n.onExplainResponseCacheUpdated(()=>{p()})),E.push(n.onAgentsListChanged(()=>{c.agentNameByIdMap=n.getAgents().agentNameByIdMap})),c.$on("$destroy",()=>{E.forEach(e=>e())}),c.repositoryId=c.getRepositoryId(),c.markdownContentOptions={repositoryId:c.repositoryId},p()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.directives.open-in-sparql-editor","graphdb.framework.core.directives.markdown-content"]).directive("chatItemDetail",i),i.$inject=["toastr","$translate","TTYGContextService","TTYGService","$filter"]},231:function(e,t,n){"use strict";n.r(t);n(161);function o(e,t){return{template:'<div class="markdown-content" ng-bind-html="markdownContent"></div>',restrict:"E",scope:{content:"@",options:"="},link:function(n,o){n.markdownContent=void 0;const r=()=>{n.$evalAsync(()=>{const t=o.find(".markdown-content");e(angular.element(t).contents())(n)})};n.markdownContent=t.renderMarkdown(n.content,n.options),r()}}}angular.module("graphdb.framework.core.directives.markdown-content",["graphdb.framework.core.services.markdown-service"]).directive("markdownContent",o),o.$inject=["$compile","MarkdownService"]},232:function(e,t,n){"use strict";n.r(t);var o=n(0);function r(e,t,n,r){return{template:'\n <style>\n .open-in-sparql-editor-btn {\n line-height: 0.75;\n }\n .open-in-sparql-editor-btn .fa:nth-child(2) {\n margin-left: -0.2em;\n margin-right: -0.2em;\n font-size: 0.9em;\n }\n </style>\n <button class="btn btn-link btn-sm open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()">\n <i class="fa fa-bracket-curly"></i><i class="fa fa-ellipsis"></i><i class="fa fa-bracket-curly-right"></i>\n </button>\n ',restrict:"E",scope:{query:"@",repositoryId:"@",executeQuery:"@"},link:function(a,i){a.tooltipText="ttyg.chat_panel.btn.open_in_sparql_editor.tooltip";const s="true"===a.executeQuery;a.onGoToSparqlEditorView=()=>{const r=e.getActiveRepository();r&&r===a.repositoryId?c(a.query):n.openConfirmationModal({title:t.instant("common.confirm"),message:Object(o.decodeHTML)(t.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:a.repositoryId})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{e.setRepository(e.getRepository(a.repositoryId)),c(a.query)})};const c=e=>{r.open(`/sparql?query=${encodeURIComponent(e)}&execute=${s}`,"_blank")}}}}angular.module("graphdb.framework.core.directives.open-in-sparql-editor",[]).directive("openInSparqlEditor",r),r.$inject=["$repositories","$translate","ModalService","$window"]},88:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return a}));var o=n(18);function r(e){let t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1;const d=()=>Object(o.cloneDeep)(t),p=()=>Object(o.cloneDeep)(n),E=e=>{n=Object(o.cloneDeep)(e),_(a.CHAT_LIST_UPDATED,p())},u=()=>Object(o.cloneDeep)(r),g=()=>Object(o.cloneDeep)(i),A=()=>Object(o.cloneDeep)(s),C=e=>!!s[e],T=()=>l,_=(t,n)=>{e.emitSync(t,Object(o.cloneDeep)(n))},m=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1},emit:_,subscribe:m,getChats:p,updateChats:E,addChat:e=>{n.appendChat(e),E(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),E(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(p()),m(a.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:u,selectChat:e=>{r&&r.id===e.id||(r=Object(o.cloneDeep)(e),_(a.SELECT_CHAT,u()))},deselectChat:()=>{r=void 0,_(a.SELECT_CHAT,u())},deleteChat:e=>{n.deleteChat(e),E(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(u()),m(a.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(o.cloneDeep)(e),_(a.SELECTED_CHAT_UPDATED,u()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(u()),m(a.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(r&&angular.isFunction(e)&&e(u()),m(a.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(o.cloneDeep)(e),_(a.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),m(a.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(o.cloneDeep)(t.getAgent(e))},selectAgent:e=>{i=Object(o.cloneDeep)(e),_(a.AGENT_SELECTED,g())},getSelectedAgent:g,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(g()),m(a.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(o.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(o.cloneDeep)(e),_(a.CAN_MODIFY_AGENT_UPDATED,T())},getCanModifyAgent:T,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(T()),m(a.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:C,toggleExplainResponse:e=>{C(e)&&(s[e].expanded=!s[e].expanded,_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A()))},getExplainResponse:e=>Object(o.cloneDeep)(s[e]),addExplainResponseCache:e=>{s[e.answerId]=Object(o.cloneDeep)(e),_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(A()),m(a.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",r),r.$inject=["EventEmitterService","TTYGService"];const a={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",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",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",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[78,257,258],{92:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},94:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},95:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(92),a=s(94);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.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)}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[80,257,258],{92:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},94:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},95:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(92),a=s(94);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.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)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[79,105,272],{111:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return h})),e.d(s,"ChatByDayModel",(function(){return n})),e.d(s,"ChatsListModel",(function(){return r}));var i=e(96),a=e(20);class h{static getEmptyChat(){const t={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new h(t,Object(a.md5HashGenerator)())}constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory||new i.ChatItemsListModel,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 n{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 r{constructor(t){this._chats=t||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((t,s)=>s.timestamp-t.timestamp)}updateChatTimestamp(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.timestamp=s,this.sortByTime(),this.updateChatsByDay())}updateChatName(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.name=s)}deleteChat(t){this._chats=this._chats.filter(s=>s.id!==t.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){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 n({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}appendChat(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}replaceChat(t,s){this._chats=this._chats.map(e=>e.id===s.id?t:e),this.sortByTime(),this.updateChatsByDay()}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)}getNonPersistedChat(){return this._chats.find(t=>!t.id)}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}}},89: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=1e3*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"}},96: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(89);class a{constructor(t,s){this._chatId=t,this._agentId=void 0,this._question=s,this._answers=[]}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 answers(){return this._answers}set answers(t){this._answers=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,tzOffset:-(new Date).getTimezoneOffset()}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}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||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[81,106,272],{113:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return h})),e.d(s,"ChatByDayModel",(function(){return n})),e.d(s,"ChatsListModel",(function(){return r}));var i=e(96),a=e(20);class h{static getEmptyChat(){const t={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new h(t,Object(a.md5HashGenerator)())}constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory||new i.ChatItemsListModel,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 n{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 r{constructor(t){this._chats=t||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((t,s)=>s.timestamp-t.timestamp)}updateChatTimestamp(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.timestamp=s,this.sortByTime(),this.updateChatsByDay())}updateChatName(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.name=s)}deleteChat(t){this._chats=this._chats.filter(s=>s.id!==t.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){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 n({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}appendChat(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}replaceChat(t,s){this._chats=this._chats.map(e=>e.id===s.id?t:e),this.sortByTime(),this.updateChatsByDay()}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)}getNonPersistedChat(){return this._chats.find(t=>!t.id)}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}}},89: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=1e3*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"}},96: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(89);class a{constructor(t,s){this._chatId=t,this._agentId=void 0,this._question=s,this._answers=[]}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 answers(){return this._answers}set answers(t){this._answers=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,tzOffset:-(new Date).getTimezoneOffset()}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}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||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[80,106,272],{121:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var r=n(18),s=n(89);class a{constructor(){this.conversations=[...o]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(r.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(r.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const n=this.conversations.find(t=>t.id===e);return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}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:""+e.question,role:s.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},n=this.conversations.find(t=>t.id===e.conversationId),r={id:e.conversationId,name:n?n.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return n&&(n.messages.push(t),n.messages.push(...r.messages)),new Promise(e=>setTimeout(()=>e({data:r}),2e3))}continueChatRun(e){alert("continueChatRun() not implemented")}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...i]}),2e3))}getAgent(e){return Promise.resolve({data:Object(r.cloneDeep)(i.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i=i.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return i=i.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}explainAgentSettings(){return Promise.resolve({data:{}})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}const o=[{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 i=[{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:"Non existing repo",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},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}];const l={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},143:function(e,t,n){"use strict";n.r(t);var r=n(121);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",s),s.$inject=["$http"];function s(e){new r.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,n)=>e.put("rest/chat/conversations/"+t,n),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),continueChatRun:t=>e.post("rest/chat/conversations/continue",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),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default"),explainAgentSettings:t=>e.post("rest/chat/agents/explain",t)}}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ChatMessageModel",(function(){return r})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return s}));class r{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*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 s={USER:"user",ASSISTANT:"assistant"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[82,107,272],{122:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var r=n(18),s=n(89);class a{constructor(){this.conversations=[...o]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(r.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(r.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const n=this.conversations.find(t=>t.id===e);return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}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:""+e.question,role:s.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},n=this.conversations.find(t=>t.id===e.conversationId),r={id:e.conversationId,name:n?n.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return n&&(n.messages.push(t),n.messages.push(...r.messages)),new Promise(e=>setTimeout(()=>e({data:r}),2e3))}continueChatRun(e){alert("continueChatRun() not implemented")}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...i]}),2e3))}getAgent(e){return Promise.resolve({data:Object(r.cloneDeep)(i.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i=i.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return i=i.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}explainAgentSettings(){return Promise.resolve({data:{}})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}const o=[{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 i=[{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:"Non existing repo",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},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}];const l={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},143:function(e,t,n){"use strict";n.r(t);var r=n(122);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",s),s.$inject=["$http"];function s(e){new r.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,n)=>e.put("rest/chat/conversations/"+t,n),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),continueChatRun:t=>e.post("rest/chat/conversations/continue",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),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default"),explainAgentSettings:t=>e.post("rest/chat/agents/explain",t)}}},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ChatMessageModel",(function(){return r})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return s}));class r{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*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 s={USER:"user",ASSISTANT:"assistant"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[81,119,289],{154:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(87);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)}}},284:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(154);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}configureSubtitle(t){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.non_heap.max"),value:r.HeapMemoryChart.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.nonHeapMemoryUsage}}},87:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(541);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([[83,120,289],{154:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(87);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)}}},284:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(154);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}configureSubtitle(t){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.non_heap.max"),value:r.HeapMemoryChart.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.nonHeapMemoryUsage}}},87:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(541);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([[82],{395:function(e,t,n){"use strict";n.r(t);n(9),n(40),n(320),n(321),n(42),n(573);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.security.controllers.user-settings","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth","graphdb.framework.security.directives"])},573:function(e,t){
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[84],{395:function(e,t,n){"use strict";n.r(t);n(9),n(40),n(320),n(321),n(42),n(573);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.security.controllers.user-settings","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth","graphdb.framework.security.directives"])},573: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([[83,126],{215:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRoleHandler",(function(){return{restrict:"A",require:"ngModel",link:function(r,e,t,a){const n=[];function o(r,e){if(!r||"*"===r)return r;const t=r.startsWith("!"),a=t?"!CUSTOM_":"CUSTOM_";return e?a+r.replace(/^!/,""):t?"!"+r.replace(a,""):r.replace(a,"")}a.$parsers.push((function(r){var e;return a.$warning=!!(r&&(e=r,e.toUpperCase().startsWith("CUSTOM_")||e.toUpperCase().startsWith("!CUSTOM_"))),r})),a.$formatters.push((function(r){return o(r,!1)})),a.$parsers.push((function(r){return o(r,!0)})),a.$validators.customRoleValidator=function(r){if(!r)return!0;const e=r.replace(/^(!CUSTOM_|CUSTOM_)/,"");return"*"===e||e.length>=2};n.push(r.$on("$destroy",()=>{n.forEach(r=>r())}))}}}))},325:function(r,e,t){"use strict";t.r(e);t(9),t(40),t(46),t(156),t(316),t(41),t(215);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([[85,127],{215:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRoleHandler",(function(){return{restrict:"A",require:"ngModel",link:function(r,e,t,a){const n=[];function o(r,e){if(!r||"*"===r)return r;const t=r.startsWith("!"),a=t?"!CUSTOM_":"CUSTOM_";return e?a+r.replace(/^!/,""):t?"!"+r.replace(a,""):r.replace(a,"")}a.$parsers.push((function(r){var e;return a.$warning=!!(r&&(e=r,e.toUpperCase().startsWith("CUSTOM_")||e.toUpperCase().startsWith("!CUSTOM_"))),r})),a.$formatters.push((function(r){return o(r,!1)})),a.$parsers.push((function(r){return o(r,!0)})),a.$validators.customRoleValidator=function(r){if(!r)return!0;const e=r.replace(/^(!CUSTOM_|CUSTOM_)/,"");return"*"===e||e.length>=2};n.push(r.$on("$destroy",()=>{n.forEach(r=>r())}))}}}))},325:function(r,e,t){"use strict";t.r(e);t(9),t(40),t(46),t(156),t(316),t(41),t(215);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([[84,127],{149: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(18);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"}]},214:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(149);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([[86,128],{149: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(18);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"}]},214:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(149);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([[86,131],{217: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"]},329:function(o,e,n){"use strict";n.r(e);n(217);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[87,131],{217: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"]},329:function(o,e,n){"use strict";n.r(e);n(217);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[87,293],{114: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/httpConfig",t)},updateClusterConfiguration: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)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},220:function(e,t,r){"use strict";r.r(t);r(114);function n(e,t,r,n,o,a,i){e.pageTitle=a.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(i.clusterConfiguration),e.loader=!1,e.configFields=[{id:"election-minimum-timeout",name:"electionMinTimeout",label:"cluster_management.cluster_configuration_properties.election_min_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_min_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"election-range-timeout",name:"electionRangeTimeout",label:"cluster_management.cluster_configuration_properties.election_range_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_range_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"heartbeat-interval",name:"heartbeatInterval",label:"cluster_management.cluster_configuration_properties.heartbeat_interval",tooltip:"cluster_management.cluster_configuration_properties.heartbeat_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"message-size",name:"messageSizeKB",label:"cluster_management.cluster_configuration_properties.message_size_kb",tooltip:"cluster_management.cluster_configuration_properties.message_size_kb_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"verification-timeout",name:"verificationTimeout",label:"cluster_management.cluster_configuration_properties.verification_timeout",tooltip:"cluster_management.cluster_configuration_properties.verification_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"transaction-log-max-size",name:"transactionLogMaximumSizeGB",label:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb",tooltip:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb_tooltip",pattern:"-?[1-9][0-9]*(\\.[0-9]+)?",errorMsg:"cluster_management.cluster_page.errors.small_transaction_log_max_size"},{id:"batch-update-interval",name:"batchUpdateInterval",label:"cluster_management.cluster_configuration_properties.batch_update_interval",tooltip:"cluster_management.cluster_configuration_properties.batch_update_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"}],e.updateClusterConfiguration=()=>(e.setLoader(!0,a.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateClusterConfiguration(e.clusterConfiguration).then(()=>{o.success(a.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){s(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.updateClusterConfiguration():o.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")},e.onClick=e=>{e.stopPropagation()};const s=(t,r)=>{delete e.preconditionErrors,o.error(a.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"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[88,293],{116: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/httpConfig",t)},updateClusterConfiguration: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)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},220:function(e,t,r){"use strict";r.r(t);r(116);function n(e,t,r,n,o,a,i){e.pageTitle=a.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(i.clusterConfiguration),e.loader=!1,e.configFields=[{id:"election-minimum-timeout",name:"electionMinTimeout",label:"cluster_management.cluster_configuration_properties.election_min_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_min_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"election-range-timeout",name:"electionRangeTimeout",label:"cluster_management.cluster_configuration_properties.election_range_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_range_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"heartbeat-interval",name:"heartbeatInterval",label:"cluster_management.cluster_configuration_properties.heartbeat_interval",tooltip:"cluster_management.cluster_configuration_properties.heartbeat_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"message-size",name:"messageSizeKB",label:"cluster_management.cluster_configuration_properties.message_size_kb",tooltip:"cluster_management.cluster_configuration_properties.message_size_kb_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"verification-timeout",name:"verificationTimeout",label:"cluster_management.cluster_configuration_properties.verification_timeout",tooltip:"cluster_management.cluster_configuration_properties.verification_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"transaction-log-max-size",name:"transactionLogMaximumSizeGB",label:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb",tooltip:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb_tooltip",pattern:"-?[1-9][0-9]*(\\.[0-9]+)?",errorMsg:"cluster_management.cluster_page.errors.small_transaction_log_max_size"},{id:"batch-update-interval",name:"batchUpdateInterval",label:"cluster_management.cluster_configuration_properties.batch_update_interval",tooltip:"cluster_management.cluster_configuration_properties.batch_update_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"}],e.updateClusterConfiguration=()=>(e.setLoader(!0,a.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateClusterConfiguration(e.clusterConfiguration).then(()=>{o.success(a.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){s(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.updateClusterConfiguration():o.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")},e.onClick=e=>{e.stopPropagation()};const s=(t,r)=>{delete e.preconditionErrors,o.error(a.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"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[88,136],{109:function(e,t,r){"use strict";r.r(t),r.d(t,"UPDATE_CLUSTER",(function(){return n})),r.d(t,"DELETE_CLUSTER",(function(){return l})),r.d(t,"CLICK_IN_VIEW",(function(){return i})),r.d(t,"NODE_SELECTED",(function(){return u})),r.d(t,"CREATE_CLUSTER",(function(){return o})),r.d(t,"MODEL_UPDATED",(function(){return s}));const n="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",s="modelUpdated"},158:function(e,t,r){"use strict";r.r(t);var n=r(109);function l(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:r=>{r.isAdmin=!1,r.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:r.clusterConfiguration})}}).result.finally((function(){r.$emit(n.UPDATE_CLUSTER,{force:!0})}))},r.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{r.$emit(n.DELETE_CLUSTER,{force:e})})};r.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",l),l.$inject=["$jwtAuth","$uibModal"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[89,136],{111:function(e,t,r){"use strict";r.r(t),r.d(t,"UPDATE_CLUSTER",(function(){return n})),r.d(t,"DELETE_CLUSTER",(function(){return l})),r.d(t,"CLICK_IN_VIEW",(function(){return i})),r.d(t,"NODE_SELECTED",(function(){return u})),r.d(t,"CREATE_CLUSTER",(function(){return o})),r.d(t,"MODEL_UPDATED",(function(){return s}));const n="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",s="modelUpdated"},158:function(e,t,r){"use strict";r.r(t);var n=r(111);function l(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:r=>{r.isAdmin=!1,r.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:r.clusterConfiguration})}}).result.finally((function(){r.$emit(n.UPDATE_CLUSTER,{force:!0})}))},r.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{r.$emit(n.DELETE_CLUSTER,{force:e})})};r.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",l),l.$inject=["$jwtAuth","$uibModal"]}}]);