graphdb-workbench 2.8.0-TR11 → 2.8.0-TR13

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 (375) hide show
  1. package/dist/{0.222642ac8a834644de39.bundle.js → 0.c12880b944139d726364.bundle.js} +3 -3
  2. package/dist/{1.ebb46b40f04cba034e61.bundle.js → 1.b5ab0c81ff05d97d9212.bundle.js} +1 -1
  3. package/dist/10.1179c6bc53d65a3018b4.bundle.js +1 -0
  4. package/dist/{101.04ecbbc205f9cce449e2.bundle.js → 100.6ec3d989e75140cf46ca.bundle.js} +1 -1
  5. package/dist/{102.0f9a64ceb323e719fb9e.bundle.js → 101.f066daa3cfc930d79302.bundle.js} +1 -1
  6. package/dist/102.791468df396a09a31d71.bundle.js +1 -0
  7. package/dist/{104.c6fa28ded1a4c26bc1a2.bundle.js → 103.37921e51177a654d75ac.bundle.js} +1 -1
  8. package/dist/{105.1f6013e09a913230f5a0.bundle.js → 104.e3e2867c1b690c43f489.bundle.js} +1 -1
  9. package/dist/{106.db2a24b8b831a9a41730.bundle.js → 105.f8bc439e384e9f5110fe.bundle.js} +1 -1
  10. package/dist/{107.76a892fb4131d6fb5c6a.bundle.js → 106.8c2ba58b4f242956a82c.bundle.js} +1 -1
  11. package/dist/{108.a86e28984373a10ed377.bundle.js → 107.4315a0c3620f546dd600.bundle.js} +1 -1
  12. package/dist/{109.396369e9ad1d6ac8515c.bundle.js → 108.02aeec3c92b68ce6c35e.bundle.js} +1 -1
  13. package/dist/{110.74113301e9bf04aa532c.bundle.js → 109.e0e1046fdb1e8ecd59f8.bundle.js} +1 -1
  14. package/dist/{10.84c92cce7ac26f335dd1.bundle.js → 11.731ed4f7b67ece4fb109.bundle.js} +1 -1
  15. package/dist/{111.577f12afd89f88ff3c41.bundle.js → 110.d51e761889fe08e2c49d.bundle.js} +1 -1
  16. package/dist/{112.97780a4fe36300f514c5.bundle.js → 111.da72110e4ddfe486912a.bundle.js} +1 -1
  17. package/dist/{113.5c183cbd72f4e91deeee.bundle.js → 112.77a36111c9f4da94f2d0.bundle.js} +1 -1
  18. package/dist/{114.f44bf4f49655b843752b.bundle.js → 113.d5bd3f0ad7bd8c52abe1.bundle.js} +1 -1
  19. package/dist/{115.60bf043f46bdeb922372.bundle.js → 114.2f6bdd6b8c8dd9f01217.bundle.js} +1 -1
  20. package/dist/{116.9d728768854e290a2653.bundle.js → 115.b9393bf71391a3f494da.bundle.js} +1 -1
  21. package/dist/{117.295086c4cd54397c56df.bundle.js → 116.54e31b6224e208e4c423.bundle.js} +1 -1
  22. package/dist/{118.6ab3f8f724a06905c5cf.bundle.js → 117.38e2c564034dc25c4815.bundle.js} +1 -1
  23. package/dist/{119.2f144c11c33a3bbeda21.bundle.js → 118.09e66dd3b083f2d36696.bundle.js} +1 -1
  24. package/dist/{120.440d48a02219554f0af0.bundle.js → 119.131ce05ec4fa52bfaf2a.bundle.js} +1 -1
  25. package/dist/{11.347714ca41cef8ea7f1e.bundle.js → 12.006922371a75c0e8f3aa.bundle.js} +1 -1
  26. package/dist/{121.b9f200eec8693987cd2b.bundle.js → 120.2fe6c930b40edfc70a3f.bundle.js} +1 -1
  27. package/dist/{122.10eda802eaaa781ea566.bundle.js → 121.4f96e05a93da0d050583.bundle.js} +1 -1
  28. package/dist/{123.1548ca1c0632bc3dcfeb.bundle.js → 122.14c6539a5cf5826291f1.bundle.js} +1 -1
  29. package/dist/{124.05248e4fa4e72076f8e1.bundle.js → 123.75914b050247dec2f47a.bundle.js} +1 -1
  30. package/dist/{125.117e9b10046dea563e1b.bundle.js → 124.db458d12650e11836826.bundle.js} +1 -1
  31. package/dist/{126.f1a86f86018b7c58852d.bundle.js → 125.653e9a40b0339268bfa4.bundle.js} +1 -1
  32. package/dist/{127.0124928e6c0f7cf3f6c4.bundle.js → 126.bc9af544cdeef53a98a4.bundle.js} +1 -1
  33. package/dist/{129.3e71e14cf51fed8b7fb8.bundle.js → 127.20092c02c9853f630785.bundle.js} +1 -1
  34. package/dist/128.d7b62fe06971afd880da.bundle.js +1 -0
  35. package/dist/{131.45f6c9b55329c691d5eb.bundle.js → 129.676c2740eba42a5189ae.bundle.js} +1 -1
  36. package/dist/{12.208a25d54fad54ce23f5.bundle.js → 13.76fc57fe53ba53fb2c7f.bundle.js} +1 -1
  37. package/dist/{132.423a880945adb530ff42.bundle.js → 130.ef294422e321cdff61f3.bundle.js} +1 -1
  38. package/dist/{133.d59607c90abb5c88f92c.bundle.js → 131.aaa123afc12ca4bdf46e.bundle.js} +1 -1
  39. package/dist/132.88ff26b2f0d1d51bad52.bundle.js +1 -0
  40. package/dist/{135.2c26864970bac0810793.bundle.js → 133.4847df13c0867a84a713.bundle.js} +1 -1
  41. package/dist/{136.9320c511cc2742542367.bundle.js → 134.20c075955d10d6925a62.bundle.js} +1 -1
  42. package/dist/135.5e771c47f8d09d2854fc.bundle.js +1 -0
  43. package/dist/{138.2faf8c3516d4c4f72ff0.bundle.js → 136.92a341f0772ee65da7d6.bundle.js} +1 -1
  44. package/dist/{139.6738727d298cb82cdd13.bundle.js → 137.7330e14ed6a57aad5f94.bundle.js} +1 -1
  45. package/dist/138.43357891c8faa58707b4.bundle.js +1 -0
  46. package/dist/{140.8aec03c5b38c631d6c1e.bundle.js → 139.2277d7941d2756767afe.bundle.js} +1 -1
  47. package/dist/{13.a73763d3c6e0578c2af1.bundle.js → 14.a8fc6ef8dc6fa2f2816a.bundle.js} +11 -11
  48. package/dist/{141.32117cd8775dbe8fcbae.bundle.js → 140.2bf9ff7d38dd8ff616af.bundle.js} +1 -1
  49. package/dist/{142.15e37af8c96cf9dc3e7f.bundle.js → 141.f710186615c337b2fae6.bundle.js} +1 -1
  50. package/dist/{143.fdd4fcbb5282cd2dd46b.bundle.js → 142.fd312126fe70574b15e3.bundle.js} +1 -1
  51. package/dist/{144.7cb8a8402955c6168ecb.bundle.js → 143.b31bed2d13b249d84ad0.bundle.js} +1 -1
  52. package/dist/{145.3fa30ed06e9163633a2e.bundle.js → 144.9f1e5dd5f0d1e6f382fd.bundle.js} +1 -1
  53. package/dist/{146.68ce65959f5884311fde.bundle.js → 145.33d55443d1dd19a0bacb.bundle.js} +1 -1
  54. package/dist/{147.ed592ab631dcbf041ddf.bundle.js → 146.7765ae4e0ecce35603f4.bundle.js} +1 -1
  55. package/dist/{148.97728d94afb4d290c123.bundle.js → 147.5d44d89036a267b899c1.bundle.js} +1 -1
  56. package/dist/{149.1201e5f6027054c6193b.bundle.js → 148.f25d2d396c86c31714f6.bundle.js} +1 -1
  57. package/dist/{150.c93958d2d24c3a9df09c.bundle.js → 149.f7dbe3a9918a4684fa64.bundle.js} +1 -1
  58. package/dist/{15.1fef7c75d6d3884c7477.bundle.js → 15.5e160943e2ce5fc32b3f.bundle.js} +1 -1
  59. package/dist/{151.18c5954b695558d8a75a.bundle.js → 150.c69c89d996b1a696f1b1.bundle.js} +1 -1
  60. package/dist/{152.d6af0cde3e1dd9fc8c1d.bundle.js → 151.23df73ebedae9acb9f8a.bundle.js} +1 -1
  61. package/dist/{153.eea3436e5f2ed6af5805.bundle.js → 152.050964735a12306f4d8d.bundle.js} +1 -1
  62. package/dist/{154.43b33419d000ca35797f.bundle.js → 153.450de3a974ca576d4f76.bundle.js} +1 -1
  63. package/dist/{155.8d7e2682ad34c9270fe0.bundle.js → 154.e4cfb640ab1ca3cd4286.bundle.js} +1 -1
  64. package/dist/{156.c27889fee0b5465eb925.bundle.js → 155.e07768c450476750f15e.bundle.js} +1 -1
  65. package/dist/{157.a9267e161a99f7c397f0.bundle.js → 156.0eea43daab882951002d.bundle.js} +1 -1
  66. package/dist/{158.19fb300f24fd7a14210a.bundle.js → 157.8647e0cfa6d9b22fba1c.bundle.js} +1 -1
  67. package/dist/{159.ceb87dd0c514721e6f26.bundle.js → 158.e2eb018ac1b578ce4b4e.bundle.js} +1 -1
  68. package/dist/{160.2eade0d127800de8d588.bundle.js → 159.a377c78f9b79f34833cd.bundle.js} +1 -1
  69. package/dist/16.72c5de6792b2fb3d40cb.bundle.js +1 -0
  70. package/dist/{161.294da81ed3f45c1250a1.bundle.js → 160.4f9ada4c29a100824fb1.bundle.js} +1 -1
  71. package/dist/{162.a75b63430f79142fcc5d.bundle.js → 161.d048c37d7e9b3ee1528b.bundle.js} +1 -1
  72. package/dist/{163.c1a4bf8dab21603362fb.bundle.js → 162.f08b5bef113ac7ac925d.bundle.js} +1 -1
  73. package/dist/{164.17088ebd990ca168d11d.bundle.js → 163.efa08aaff2e3cdda3711.bundle.js} +1 -1
  74. package/dist/{165.9d560c84a71954a90956.bundle.js → 164.1654634aa86b14797f13.bundle.js} +1 -1
  75. package/dist/{166.4da4ef4df1cd67bf395a.bundle.js → 165.3e5cfde1214c42087e41.bundle.js} +1 -1
  76. package/dist/{167.c132aacfb909005eccc6.bundle.js → 166.bb6f7d1b5cc9bc3ac381.bundle.js} +1 -1
  77. package/dist/{168.a4c723a0068a42dad17b.bundle.js → 167.7c7fd26d09c91dbd9c55.bundle.js} +1 -1
  78. package/dist/{169.06b8e5fedae202dcff73.bundle.js → 168.6a3e67fea55b932f3090.bundle.js} +1 -1
  79. package/dist/{170.26d8ef1cedc67545299a.bundle.js → 169.a9310a747d8bf7366f97.bundle.js} +1 -1
  80. package/dist/{16.bd171e40126f074bf5d9.bundle.js → 17.ce810873458ff1ffca06.bundle.js} +2 -2
  81. package/dist/{171.fd8a4420cd7a4b283b3f.bundle.js → 170.cf2599059e3e923207a4.bundle.js} +1 -1
  82. package/dist/{172.a8bd733aa0e091a38664.bundle.js → 171.a1608fd5e4c899b96352.bundle.js} +1 -1
  83. package/dist/{173.d3a4eb2812be244a1d32.bundle.js → 172.c42d95c2edad241cf688.bundle.js} +1 -1
  84. package/dist/{174.d794bc6b1c46138c6613.bundle.js → 173.18301f20eb503ef8a27a.bundle.js} +1 -1
  85. package/dist/{175.5e8c384818bb17dd9aab.bundle.js → 174.4a15711f0dd5f8ce0919.bundle.js} +1 -1
  86. package/dist/{176.746d6385829d2a680cd1.bundle.js → 175.a73ae90b613da5e597c5.bundle.js} +1 -1
  87. package/dist/{177.86021de382ed87019173.bundle.js → 176.4f84bdfcc0197d750474.bundle.js} +1 -1
  88. package/dist/{178.b7569fc8228e2ef12525.bundle.js → 177.080a382546a2c07c54c8.bundle.js} +1 -1
  89. package/dist/{179.631668faa65967a635b9.bundle.js → 178.456581d02bb705a29124.bundle.js} +1 -1
  90. package/dist/{180.6551aa17a9e417574db2.bundle.js → 179.9cd9059a32896097ca5f.bundle.js} +1 -1
  91. package/dist/{17.68b542dd822f35968787.bundle.js → 18.05b6388e2622fda2a4e1.bundle.js} +1 -1
  92. package/dist/{181.5f8b15d991de41170b3c.bundle.js → 180.5e55e866b1afe07594b5.bundle.js} +1 -1
  93. package/dist/181.95f7ef7fc792b50c2cc6.bundle.js +1 -0
  94. package/dist/{184.805cf439b2adef6bb8a7.bundle.js → 184.badf1727b917eb1cc3a3.bundle.js} +1 -1
  95. package/dist/{185.83602499d7b5740b0232.bundle.js → 185.dd5dc8cbc36ea29c75d1.bundle.js} +1 -1
  96. package/dist/{187.35cfddfd9308fabd0798.bundle.js → 187.cd3cd4940779cc26c789.bundle.js} +1 -1
  97. package/dist/{189.b0bac492836f82dcdfc8.bundle.js → 189.ba20e7d03ba9d5662145.bundle.js} +1 -1
  98. package/dist/{18.953ec403f684734e2311.bundle.js → 19.a017cb971598b8f97d9d.bundle.js} +1 -1
  99. package/dist/{195.3d16b1e1b1d2dafd9cc4.bundle.js → 195.a88587cea9417bf47167.bundle.js} +1 -1
  100. package/dist/{2.0d59ab629b316a74f299.bundle.js → 2.b24d9c8f4b672452f0cf.bundle.js} +2 -2
  101. package/dist/{19.09865b8ff553217fec92.bundle.js → 20.8ab4bf04280797eee840.bundle.js} +1 -1
  102. package/dist/{206.092c305505663ce80fac.bundle.js → 206.a4ee3c3fffdf85a82752.bundle.js} +1 -1
  103. package/dist/{20.570db04dfd68538d4a39.bundle.js → 21.a563810cf92e995c13c3.bundle.js} +1 -1
  104. package/dist/{215.5b427a823993da06a4ec.bundle.js → 215.658744c3b46d8dc85366.bundle.js} +1 -1
  105. package/dist/{21.62ad93276e37e4ac702f.bundle.js → 22.f7fed8a367c43a44d346.bundle.js} +2 -2
  106. package/dist/23.f3a3443a579f798ac397.bundle.js +2 -0
  107. package/dist/{239.7847b00aedc190fd0c6a.bundle.js → 239.b02f686988986a34e9b7.bundle.js} +1 -1
  108. package/dist/24.89d0c908a57f6cc21ce1.bundle.js +2 -0
  109. package/dist/{247.f993b0c29022d6f15136.bundle.js → 247.70459005b0d253fcecb7.bundle.js} +1 -1
  110. package/dist/{249.bcb3610366e645f33995.bundle.js → 249.9a6257284542082278c2.bundle.js} +1 -1
  111. package/dist/25.1679fde85cc933df66f0.bundle.js +2 -0
  112. package/dist/{25.a16bf1536f9beb3a61c8.bundle.js → 26.fe862a850ff9f06e4945.bundle.js} +1 -1
  113. package/dist/{263.3335aaa1b90fea9ad424.bundle.js → 263.87b1d661b837f6acba82.bundle.js} +1 -1
  114. package/dist/{268.35a3fd52026094e7d15b.bundle.js → 268.1760717d55d1cce059d8.bundle.js} +1 -1
  115. package/dist/{26.e292a4da414e671fbe56.bundle.js → 27.3b2aa542f87461dc430e.bundle.js} +2 -2
  116. package/dist/{276.6c6b691f8eee5a07acbb.bundle.js → 276.9414df55f6f14dff2306.bundle.js} +1 -1
  117. package/dist/{277.fc89f60cb5c8b0755f15.bundle.js → 277.a91dd1008205eb4f5162.bundle.js} +1 -1
  118. package/dist/{27.0ef07ce77591c681e79d.bundle.js → 28.a4203eb16286d27639bd.bundle.js} +1 -1
  119. package/dist/280.4e90409f55584b089387.bundle.js +1 -0
  120. package/dist/{284.6a0d07f30f21f0f4be50.bundle.js → 284.30dc35180864dfbc2927.bundle.js} +1 -1
  121. package/dist/{28.070e1e29848334dc9ebb.bundle.js → 29.d7f53701e435afe11038.bundle.js} +1 -1
  122. package/dist/{290.490de8b61f494279836a.bundle.js → 290.d1f08b23cd58260b1226.bundle.js} +1 -1
  123. package/dist/{3.8428e684412876d7abd1.bundle.js → 3.325ae6955d167cf629b6.bundle.js} +1 -1
  124. package/dist/30.dfba97d073872a68a48b.bundle.js +1 -0
  125. package/dist/304.b6372799dca7f4e9f712.bundle.js +1 -0
  126. package/dist/{30.1f68f17a4430a7df9cd9.bundle.js → 31.efc8d1b5a18dbec9a9aa.bundle.js} +1 -1
  127. package/dist/{310.a44534336e78f61eb546.bundle.js → 310.484b2c9a5912e27c15b1.bundle.js} +1 -1
  128. package/dist/315.d4c6d40909267d14a01b.bundle.js +1 -0
  129. package/dist/{31.c1cda21566969e913a57.bundle.js → 32.39304475fbf4b36b2a43.bundle.js} +1 -1
  130. package/dist/{322.7c4db969edcd5ded15fa.bundle.js → 322.36a6899c0565b022e54d.bundle.js} +1 -1
  131. package/dist/{323.d4666997f49a2f813fc2.bundle.js → 323.dcb289cffe4ff71d53a4.bundle.js} +1 -1
  132. package/dist/{324.020e9c4d1e9873cd9e3e.bundle.js → 324.180650d6f3bd6b4adb4d.bundle.js} +1 -1
  133. package/dist/{325.52a67b5eb37e212db794.bundle.js → 325.b4db54955a4ce097ad2f.bundle.js} +1 -1
  134. package/dist/{326.73f77ba8f2c8871554a0.bundle.js → 326.c5d3853822abe1e86a44.bundle.js} +1 -1
  135. package/dist/{32.5b1d35866a8521c0ddd8.bundle.js → 33.750b03f61268eaf2623b.bundle.js} +1 -1
  136. package/dist/330.bb63d5fc20b2bcd4d339.bundle.js +1 -0
  137. package/dist/{332.290a55c149676f8b12bc.bundle.js → 331.dcf5bf6589ac6508f678.bundle.js} +1 -1
  138. package/dist/{333.c68c64b311929e005970.bundle.js → 332.9d03e71ea008a855fa21.bundle.js} +1 -1
  139. package/dist/333.0b9d6cf9eaddcf7fced8.bundle.js +1 -0
  140. package/dist/{336.85b41400f26a45c913d2.bundle.js → 334.594168bf09ec20c0a3ca.bundle.js} +1 -1
  141. package/dist/{337.be3ec594318206dc00e8.bundle.js → 335.8ba957523219aa412abc.bundle.js} +1 -1
  142. package/dist/{338.915990e8e5e0ee62b4d1.bundle.js → 336.34e1704cf1ebe667954f.bundle.js} +1 -1
  143. package/dist/{339.b0202e92037aba9cb17d.bundle.js → 337.8481172aedfa9b3e2ae5.bundle.js} +1 -1
  144. package/dist/{340.90a0259ff21debda0ed7.bundle.js → 338.f28c4ee33fc99bbfb9d0.bundle.js} +1 -1
  145. package/dist/{341.6f383e4e7b8992f8aea6.bundle.js → 339.c669b86c15f773126998.bundle.js} +1 -1
  146. package/dist/34.cf1c5d51e0bfbf10fe2e.bundle.js +1 -0
  147. package/dist/{342.1da6fe384b21e903637d.bundle.js → 340.72090fb9be58672bf42d.bundle.js} +1 -1
  148. package/dist/{343.5d92dd5674501400d188.bundle.js → 341.97cd72809c4207c6d1da.bundle.js} +1 -1
  149. package/dist/{344.43a9237134f205770ce2.bundle.js → 342.865fb5893eb67ed6ac7c.bundle.js} +1 -1
  150. package/dist/{345.01c18050b4be81825691.bundle.js → 343.1e0cb72cc52ef6f3a593.bundle.js} +1 -1
  151. package/dist/{346.cdbb73c02ebb13454de5.bundle.js → 344.37dde32d5cb2fdbf6630.bundle.js} +1 -1
  152. package/dist/{347.48420a4e8b6af4c30cf5.bundle.js → 345.7b096bd8435e4ab16889.bundle.js} +1 -1
  153. package/dist/{348.eb0c9e5cf2e6f0e66bf2.bundle.js → 346.a4cd577a9e8aa56875d2.bundle.js} +1 -1
  154. package/dist/{349.62cda39dc01594143a0b.bundle.js → 347.35843e38ac1e710251fb.bundle.js} +1 -1
  155. package/dist/{350.015bc2bbf9e045ebea7e.bundle.js → 348.54a4ceaed66e168609a7.bundle.js} +1 -1
  156. package/dist/{351.fff6d1022304bda921f0.bundle.js → 349.2b5a807450bcf89aa7a3.bundle.js} +1 -1
  157. package/dist/{33.6f0a59e5fd188a8ce2fc.bundle.js → 35.ec76ac07567c2d176a4b.bundle.js} +1 -1
  158. package/dist/{352.5a29fe2cc31e8c3d7b5d.bundle.js → 350.5bba8d09243b3ffc8d27.bundle.js} +1 -1
  159. package/dist/{353.9c0c64bdfd84177d3c1b.bundle.js → 351.00c6d019c3ee260bbbb7.bundle.js} +1 -1
  160. package/dist/{354.cbb2e30901240d068afc.bundle.js → 352.216f8da48bf6779cbe8a.bundle.js} +1 -1
  161. package/dist/{355.92484d90d33cb01731cd.bundle.js → 353.8c810994084e57e681af.bundle.js} +1 -1
  162. package/dist/{356.c9f3f2d892ee4ae0f994.bundle.js → 354.7e3a75ab06e7bbc6e391.bundle.js} +1 -1
  163. package/dist/{357.9ba93f216d695ec04f0e.bundle.js → 355.4bf835922000865b78ff.bundle.js} +1 -1
  164. package/dist/{358.f54aa69efc0ddeea425d.bundle.js → 356.2fb2e095f752291fc36a.bundle.js} +1 -1
  165. package/dist/{359.7c5836271c880c903e3e.bundle.js → 357.7a005297fb7a35544edd.bundle.js} +1 -1
  166. package/dist/{360.fd188c7eb77ecf4bc041.bundle.js → 358.b81cae8ad3c6d372d78a.bundle.js} +1 -1
  167. package/dist/{361.38d8e51020cd5de85195.bundle.js → 359.da5bb8979c09500c9731.bundle.js} +1 -1
  168. package/dist/{34.f5a79845264515ae6574.bundle.js → 36.5ce24e912050a85868aa.bundle.js} +1 -1
  169. package/dist/{362.dc87ac4c16d14af79658.bundle.js → 360.b82aba282a9d8061d236.bundle.js} +1 -1
  170. package/dist/{363.1f0c267f2e8149e447d5.bundle.js → 361.bf3bd5dac44b4779b072.bundle.js} +1 -1
  171. package/dist/{364.6decef5064677280593e.bundle.js → 362.18f0adca82e101c4e5b9.bundle.js} +1 -1
  172. package/dist/{365.ab9b6229226d0d8c3c90.bundle.js → 363.242e5a4aba7c76394d71.bundle.js} +1 -1
  173. package/dist/{366.a8401578ca9a025b7bbf.bundle.js → 364.c8b7a1ca0adf6f6ab5d1.bundle.js} +1 -1
  174. package/dist/{367.476201de3d45ce3d4363.bundle.js → 365.da6f9e3b79056fbc9935.bundle.js} +1 -1
  175. package/dist/{368.1547e3f6478d479da027.bundle.js → 366.933e620636c9518da77e.bundle.js} +1 -1
  176. package/dist/{369.d3c2d2e8c3127df3db3d.bundle.js → 367.333dbacb07d920cb4f35.bundle.js} +1 -1
  177. package/dist/{370.34bec85793d564dbc5ee.bundle.js → 368.b996e000118fd2d48023.bundle.js} +1 -1
  178. package/dist/{371.d215bb7b41b208637d88.bundle.js → 369.e9f183ffff429673e575.bundle.js} +1 -1
  179. package/dist/{35.cb4a1994570fcd048ff3.bundle.js → 37.31c75f57d06df83316c6.bundle.js} +1 -1
  180. package/dist/{372.c76dbc1f58c39ef9e9c9.bundle.js → 370.2df5d6d470f8c4cf16de.bundle.js} +1 -1
  181. package/dist/{373.d7b80790d7ceeb3e66c8.bundle.js → 371.6e98e61425dae465956a.bundle.js} +1 -1
  182. package/dist/{374.a78220a75a28b71edd15.bundle.js → 372.8dc712fa11b03b7cb4a0.bundle.js} +1 -1
  183. package/dist/{375.ad5936cde217fd1cd24b.bundle.js → 373.23df17a1f315ef2daedf.bundle.js} +1 -1
  184. package/dist/{376.b56eccfc38f4ff00dcac.bundle.js → 374.4dd4eb5cc82b451d8945.bundle.js} +1 -1
  185. package/dist/{377.0307f5e28ae10b2e5559.bundle.js → 375.d5b1e69a6423a38c9caf.bundle.js} +1 -1
  186. package/dist/{378.8a0d517c55b0350a47a2.bundle.js → 376.be83e1d73d4b5595017c.bundle.js} +1 -1
  187. package/dist/{379.baebd3f64a0c560ac950.bundle.js → 377.43c7d29f15618ab44a3d.bundle.js} +1 -1
  188. package/dist/{380.765f42a738c22bda1042.bundle.js → 378.a5375562ce0b67f8382b.bundle.js} +1 -1
  189. package/dist/{381.bbf26c624dea07cfb7a8.bundle.js → 379.42bcccb9366be5787688.bundle.js} +1 -1
  190. package/dist/38.1dfb5763064c2adaebd6.bundle.js +1 -0
  191. package/dist/{382.d6ca2271ad6cf3b331da.bundle.js → 380.fbd0b1c517e7f117b69c.bundle.js} +1 -1
  192. package/dist/{383.53043bc87ea19731b4a6.bundle.js → 381.f5f789cf35400f2c9639.bundle.js} +1 -1
  193. package/dist/{384.ea90d9b7352ddcef14a8.bundle.js → 382.421cd82a9eb002f6843c.bundle.js} +1 -1
  194. package/dist/{385.b006e205b113c4fce1cb.bundle.js → 383.e5540db47682edab834d.bundle.js} +1 -1
  195. package/dist/{386.2f621d0ba89b312ca82a.bundle.js → 384.f1c40e0e60f01d8aba9a.bundle.js} +1 -1
  196. package/dist/{387.4ba6cbc984854dba5fe8.bundle.js → 385.48c5e5379f7dfac726ab.bundle.js} +1 -1
  197. package/dist/{388.efbe814406005b02e54c.bundle.js → 386.7e64e8d9c4aac0bbdb45.bundle.js} +1 -1
  198. package/dist/{389.64fbc1cce1d5fee57949.bundle.js → 387.e9a84b8c2892dda2f650.bundle.js} +1 -1
  199. package/dist/388.2e6dfb15fbcd6462c3d3.bundle.js +1 -0
  200. package/dist/{391.9ea58d3642d9ee8cc0b1.bundle.js → 389.5b0ede46232d8f8f4d66.bundle.js} +1 -1
  201. package/dist/39.78d988e336bd9d4f7cd4.bundle.js +1 -0
  202. package/dist/{392.9afe6ea9382e0fbe82db.bundle.js → 390.6036e2ff582e87acaec1.bundle.js} +1 -1
  203. package/dist/{393.a8e39fc0249cbb7db9bc.bundle.js → 391.90a84270ddca2ebe03eb.bundle.js} +1 -1
  204. package/dist/392.e0c451e90d8b605ed2bd.bundle.js +1 -0
  205. package/dist/393.3bfc31b44bfdba16d49c.bundle.js +1 -0
  206. package/dist/{396.547c7fde7bc12cc9d3db.bundle.js → 394.97f198143c473525a230.bundle.js} +1 -1
  207. package/dist/{397.0a97a309be2c1da989ab.bundle.js → 395.6ce498a744a986e8ff86.bundle.js} +1 -1
  208. package/dist/{398.6badaf34f20203bada77.bundle.js → 396.aefb86d4ebef8ff2a297.bundle.js} +1 -1
  209. package/dist/{399.f12d38319a9a79933e5a.bundle.js → 397.79cd207a9f02d868df10.bundle.js} +1 -1
  210. package/dist/4.6e3aeb8eee6cde5ba990.bundle.js +1 -0
  211. package/dist/{38.a8c8099f2e8a4f3c778f.bundle.js → 40.4cc11d63e6bcfb257927.bundle.js} +1 -1
  212. package/dist/{39.c95b44b1252f8486526f.bundle.js → 41.8564cea4b8d2e978c0fa.bundle.js} +1 -1
  213. package/dist/{40.945b15bca4903efd9b71.bundle.js → 42.d7e29d98febe1327f20d.bundle.js} +1 -1
  214. package/dist/{41.b8d121d5ec004cf9dea1.bundle.js → 43.970f6e2bb8846b2712b8.bundle.js} +1 -1
  215. package/dist/{42.82eacf4859c6cbd5f51f.bundle.js → 44.bcc6eace48b1d6434e62.bundle.js} +1 -1
  216. package/dist/{43.2b4a9d33022e90ac0be2.bundle.js → 45.9b655ea07221e5e2a517.bundle.js} +1 -1
  217. package/dist/{44.595e88a34ef82254fe25.bundle.js → 46.a29d923276330b841abe.bundle.js} +1 -1
  218. package/dist/{45.c470ec6048e1039fd0aa.bundle.js → 47.ba8a59361b7bef07c6a4.bundle.js} +1 -1
  219. package/dist/{46.d0220c9f624074d7bfd4.bundle.js → 48.c31e4bbc3f21fe58fd65.bundle.js} +1 -1
  220. package/dist/{47.060a414a4eaf36ed34cb.bundle.js → 49.929061b5beba2ec97451.bundle.js} +1 -1
  221. package/dist/{5.cb396084f605672543e7.bundle.js → 5.b2096856419b1a06ea75.bundle.js} +1 -1
  222. package/dist/{48.d5bc567583d5e25547dc.bundle.js → 50.20572266650787d7ee91.bundle.js} +1 -1
  223. package/dist/{49.6ec3a9dc86537f805bde.bundle.js → 51.920803b51e86c1f8d45a.bundle.js} +1 -1
  224. package/dist/{50.82e0737143a579ac7908.bundle.js → 52.42e7bb5a56f5f4c75241.bundle.js} +1 -1
  225. package/dist/{51.6de9a6ab46d8827104d0.bundle.js → 53.ffce7c0ac6b025c53b75.bundle.js} +1 -1
  226. package/dist/{53.bb3c7f37e60f65c29021.bundle.js → 54.ee14bd02621e6b4667b8.bundle.js} +1 -1
  227. package/dist/{54.67e090bb4a052816c714.bundle.js → 55.409784fff5aff351a7fe.bundle.js} +1 -1
  228. package/dist/{55.c55aabd6a1f8b25f2580.bundle.js → 56.b8582f61d881c1cad5e7.bundle.js} +1 -1
  229. package/dist/{56.5e98db705e0a6efb1d07.bundle.js → 57.a298ee7bb5d22e8419f8.bundle.js} +1 -1
  230. package/dist/{57.abc7849d969a76057940.bundle.js → 58.e8c5b3956ece53354494.bundle.js} +1 -1
  231. package/dist/{58.50571f2fffe2f1460096.bundle.js → 59.6b5fd868c31cfb6a2762.bundle.js} +1 -1
  232. package/dist/6.fa03286d27c8ae9a8ab2.bundle.js +1 -0
  233. package/dist/{59.f2dbfcba177233488235.bundle.js → 60.686d916962bfb4056a6c.bundle.js} +1 -1
  234. package/dist/{60.7ad08e1ea896217fdac9.bundle.js → 61.0f5b5f053325f96a3f34.bundle.js} +1 -1
  235. package/dist/{61.d7f4da04650e800f1f36.bundle.js → 62.b60e36b63fe11c962d52.bundle.js} +1 -1
  236. package/dist/{62.1dc54be1544831eb448b.bundle.js → 63.732d2a81f1389f90c8c9.bundle.js} +1 -1
  237. package/dist/{63.4aa2e5a87569d01c0ed7.bundle.js → 64.f3a6be2dd7fa51c4f3d4.bundle.js} +1 -1
  238. package/dist/{64.36ebe11edac1da1b0d98.bundle.js → 65.72826a0c206575c1e2b0.bundle.js} +2 -2
  239. package/dist/{65.896a3eaa522be746be60.bundle.js → 66.2d6293e2aff634d498fe.bundle.js} +1 -1
  240. package/dist/{67.83356de3de8509b1e165.bundle.js → 67.ada6349f0f83da3f3256.bundle.js} +1 -1
  241. package/dist/68.7237eac2d4aeac9a56bd.bundle.js +1 -0
  242. package/dist/{69.a739e488b08255da4565.bundle.js → 69.07b17e35f4356b0316a6.bundle.js} +1 -1
  243. package/dist/{7.07d30055aad7da6c8fcf.bundle.js → 7.cd9f66de5a80daeb89da.bundle.js} +1 -1
  244. package/dist/{70.1a91b4a4b85d13a69710.bundle.js → 70.857ff29191ca36ed5b48.bundle.js} +1 -1
  245. package/dist/{71.43ffebf29bde40ba3f77.bundle.js → 71.55f2d00c428565282880.bundle.js} +1 -1
  246. package/dist/{72.9f992138ec54216a251f.bundle.js → 72.aec349c178c91727485d.bundle.js} +1 -1
  247. package/dist/{74.291594bc989e21f2aba6.bundle.js → 74.ba6d30bda6286ae239d5.bundle.js} +1 -1
  248. package/dist/{75.676ae7a419fe23e4a872.bundle.js → 75.8020265074f8b85a9038.bundle.js} +1 -1
  249. package/dist/{77.8cbbc8fec14ad506f2f1.bundle.js → 77.5dd4b9ee10abc4d51d9d.bundle.js} +1 -1
  250. package/dist/{78.f22bca93459642c8f680.bundle.js → 78.4a3b2d46d28b4844917e.bundle.js} +1 -1
  251. package/dist/{79.bfb074733534a6247c06.bundle.js → 79.fcb63f57ab3b465fe83a.bundle.js} +1 -1
  252. package/dist/8.61d7d1eb310f8cdc62a6.bundle.js +1 -0
  253. package/dist/{80.cc1cebcc79df1bfccc83.bundle.js → 80.ed230d0ab87e71ce20a0.bundle.js} +1 -1
  254. package/dist/{81.d8af8695c90555e2969a.bundle.js → 81.a5122117f8d64f9e4593.bundle.js} +1 -1
  255. package/dist/{82.79dcf025720340cc80be.bundle.js → 82.8d0172da4ec38841ff65.bundle.js} +1 -1
  256. package/dist/{83.e40c2ed0a82336d2a200.bundle.js → 83.06f9155fd9d2840c9e0d.bundle.js} +1 -1
  257. package/dist/84.7a6bd4dcc42d89095d9d.bundle.js +1 -0
  258. package/dist/{87.3b21eccdeca424f07078.bundle.js → 85.7c2f09c86407294a40ba.bundle.js} +1 -1
  259. package/dist/{88.591fff6c8f27d6dada6f.bundle.js → 86.80e2092b94da006fef06.bundle.js} +1 -1
  260. package/dist/87.81bb296620f4b3a5fddd.bundle.js +1 -0
  261. package/dist/{89.fd4df0be29181be0c0ea.bundle.js → 88.ea0225ac48d9f5b7b8ee.bundle.js} +1 -1
  262. package/dist/{90.eec16c54cc9f9015f59f.bundle.js → 89.dcb04f91d7e151b1a309.bundle.js} +1 -1
  263. package/dist/9.fec09ce429afc7d37e5c.bundle.js +1 -0
  264. package/dist/{91.1325c47ab1e1bde6f2f4.bundle.js → 90.0b163611c3037b07a007.bundle.js} +1 -1
  265. package/dist/91.ae39d2216929928ed44e.bundle.js +1 -0
  266. package/dist/{93.de6030748b9e71e4f2cb.bundle.js → 92.e809512eeabf7ebef765.bundle.js} +1 -1
  267. package/dist/{94.8d63afe2e8cf0489199a.bundle.js → 93.eacf11b216749ef24662.bundle.js} +1 -1
  268. package/dist/{95.565e12014a029895a47e.bundle.js → 94.ea51ce6e0a719f162375.bundle.js} +1 -1
  269. package/dist/{96.43c4ab175d5100f42417.bundle.js → 95.0dc5550911d3d0d871da.bundle.js} +1 -1
  270. package/dist/{97.2aa9813bb8e2ddcf9e41.bundle.js → 96.f35153db1bf3b90d2abc.bundle.js} +1 -1
  271. package/dist/{98.fbabe5fb9ba60ec4359f.bundle.js → 97.5f0cbc7c62c5871a1dbb.bundle.js} +1 -1
  272. package/dist/{99.3058922e7c3afd38944e.bundle.js → 98.6711ad20bbd77dd418d8.bundle.js} +1 -1
  273. package/dist/99.35c79bc748869bc79a91.bundle.js +1 -0
  274. package/dist/{bundle.a729bbd26d7db7b7c024.bundle.js → bundle.f19c8bb3b73aeddf1f27.bundle.js} +5 -5
  275. package/dist/css/bootstrap-graphdb-theme.css +4 -0
  276. package/dist/css/cluster-nodes-configuration.css +100 -0
  277. package/dist/css/clustermanagement.css +80 -0
  278. package/dist/css/ttyg/agent-list.css +3 -1
  279. package/dist/css/ttyg/agent-settings-modal.css +5 -0
  280. package/dist/css/ttyg/chat-panel.css +51 -1
  281. package/dist/i18n/locale-en.json +48 -35
  282. package/dist/i18n/locale-fr.json +48 -35
  283. package/dist/index.html +6 -6
  284. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +368 -0
  285. package/dist/js/angular/clustermanagement/templates/modal/edit-cluster-nodes-modal.html +17 -0
  286. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  287. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  288. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  289. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  290. package/dist/js/angular/security/templates/user.html +1 -1
  291. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  292. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  293. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  294. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  295. package/dist/js/angular/ttyg/templates/chat-panel.html +2 -2
  296. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +17 -5
  297. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  298. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  299. package/dist/license-checker.json +2 -2
  300. package/dist/main.004a8c0b1d1bb1fa006f.css +1 -0
  301. package/dist/pages/aclmanagement.html +2 -2
  302. package/dist/pages/autocomplete.html +1 -1
  303. package/dist/pages/choose-repository-type.html +1 -1
  304. package/dist/pages/cluster-management/clusterInfo.html +7 -17
  305. package/dist/pages/create-index.html +1 -1
  306. package/dist/pages/dependencies.html +1 -1
  307. package/dist/pages/domainRangeInfo.html +2 -2
  308. package/dist/pages/edit.html +1 -1
  309. package/dist/pages/explore.html +1 -1
  310. package/dist/pages/export.html +1 -1
  311. package/dist/pages/find.html +1 -1
  312. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  313. package/dist/pages/graphs-visualizations.html +7 -7
  314. package/dist/pages/guides.html +1 -1
  315. package/dist/pages/import.html +6 -4
  316. package/dist/pages/jdbc-create.html +1 -1
  317. package/dist/pages/login.html +1 -1
  318. package/dist/pages/monitor/backup-and-restore.html +1 -1
  319. package/dist/pages/monitor/queries.html +1 -1
  320. package/dist/pages/monitor/resources.html +1 -1
  321. package/dist/pages/namespaces.html +2 -2
  322. package/dist/pages/plugins.html +1 -1
  323. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  324. package/dist/pages/rdfrank.html +2 -2
  325. package/dist/pages/repositories.html +1 -1
  326. package/dist/pages/repository.html +1 -1
  327. package/dist/pages/similarity-indexes.html +1 -1
  328. package/dist/pages/sparql-editor.html +1 -1
  329. package/dist/pages/sparql-template-create.html +1 -1
  330. package/dist/pages/ux-test1.html +2 -2
  331. package/dist/pages/webapi.html +2 -2
  332. package/dist/{polyfills-dom.713c6eb5d06e88d29f04.bundle.js → polyfills-dom.798fd2050f81c0dff613.bundle.js} +1 -1
  333. package/dist/res/swagger5/index.html +12 -12
  334. package/dist/{vendors~polyfills-core-js.96a1bbab5b3376633c87.bundle.js → vendors~polyfills-core-js.b7d53dddc781f5fdc222.bundle.js} +1 -1
  335. package/package.json +1 -1
  336. package/dist/100.3d74de00f030601e9489.bundle.js +0 -1
  337. package/dist/103.e7244da5740a04da19e5.bundle.js +0 -1
  338. package/dist/128.fa3084ee3aa636a6943d.bundle.js +0 -1
  339. package/dist/130.70c607ca456d4d3e4425.bundle.js +0 -1
  340. package/dist/134.95838ee457c1daabe365.bundle.js +0 -1
  341. package/dist/137.365af441e64339f760a1.bundle.js +0 -1
  342. package/dist/14.50fce7384e1b3706c9ce.bundle.js +0 -1
  343. package/dist/22.90f57da0d101ba05a3d0.bundle.js +0 -2
  344. package/dist/23.419ed8a42c157f60fd4c.bundle.js +0 -2
  345. package/dist/24.a688d2cf70edf07b70da.bundle.js +0 -2
  346. package/dist/280.7a1fff29dbaae2ab91a2.bundle.js +0 -1
  347. package/dist/29.a86d9d0af0b450c51ec6.bundle.js +0 -1
  348. package/dist/304.ac7b142113801e8e627c.bundle.js +0 -1
  349. package/dist/315.b56535ccf659e0dc2b00.bundle.js +0 -1
  350. package/dist/330.54d08af7ae2a1b1543d4.bundle.js +0 -1
  351. package/dist/331.7ad05387c5ea80f14b3b.bundle.js +0 -1
  352. package/dist/334.b18e698ff9268dd2f3c0.bundle.js +0 -1
  353. package/dist/335.283607f4b4419c912c3a.bundle.js +0 -1
  354. package/dist/36.6b37b8a1eb9f42181b77.bundle.js +0 -1
  355. package/dist/37.36f01213afb3bece36cc.bundle.js +0 -1
  356. package/dist/390.d36f1c675013d10bcfb4.bundle.js +0 -1
  357. package/dist/394.488259a20fcc3f78c877.bundle.js +0 -1
  358. package/dist/395.6a033799cf93451ad83f.bundle.js +0 -1
  359. package/dist/4.f38e704c5745f63d3884.bundle.js +0 -1
  360. package/dist/52.b8414a9fb196b747d2a6.bundle.js +0 -1
  361. package/dist/6.7898509555e816ce326d.bundle.js +0 -1
  362. package/dist/66.f7242d9a5ed559431ea7.bundle.js +0 -1
  363. package/dist/68.270fc7723abcb2e37f46.bundle.js +0 -1
  364. package/dist/8.861e38cf9146e3e75649.bundle.js +0 -1
  365. package/dist/84.564dbdaadac4d8f943e6.bundle.js +0 -1
  366. package/dist/85.a26dd294cbde346e535a.bundle.js +0 -1
  367. package/dist/86.a0e03ca9e6b275e5d86c.bundle.js +0 -1
  368. package/dist/9.ef09c58a5a6d39c69a24.bundle.js +0 -1
  369. package/dist/92.9f757b1920f681d4001a.bundle.js +0 -1
  370. package/dist/js/angular/clustermanagement/templates/modal/add-nodes-dialog.html +0 -67
  371. package/dist/js/angular/clustermanagement/templates/modal/cluster-create-dialog.html +0 -173
  372. package/dist/js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html +0 -39
  373. package/dist/js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html +0 -86
  374. package/dist/main.4a2c53e12c5400301af1.css +0 -1
  375. /package/dist/{vendor.097ea64a1a6385ba13cb.bundle.js → vendor.3ae36bbbdf44fc52984f.bundle.js} +0 -0
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[61,103,259,305],{159:function(e,t,r){"use strict";r.r(t),r.d(t,"TtygRestServiceFakeBackend",(function(){return i}));var s=r(30),n=r(73);r(81);class i{constructor(){this.conversations=[...a]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(s.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(s.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const r=this.conversations.find(t=>t.id===e);return r&&(r.name=t.name),Promise.resolve({data:Object(s.cloneDeep)(r)})}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:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find(t=>t.id===e.conversationId),s={id:e.conversationId,name:r?r.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:n.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:n.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 r&&(r.messages.push(...s.messages),r.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:s}),2e3))}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 r=Object(s.cloneDeep)(e);return r.conversationId=t.id,this.askQuestion(r)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(s.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.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)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}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}]}})}}const a=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];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"}]}},73:function(e,t,r){"use strict";r.r(t),r.d(t,"ChatMessageModel",(function(){return s})),r.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class s{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},81:function(e,t,r){"use strict";r.r(t),r.d(t,"AgentModel",(function(){return i})),r.d(t,"AgentInstructionsModel",(function(){return a})),r.d(t,"ExtractionMethodModel",(function(){return o})),r.d(t,"AdditionalExtractionMethodsModel",(function(){return l})),r.d(t,"AdditionalExtractionMethodModel",(function(){return d})),r.d(t,"AgentListModel",(function(){return h})),r.d(t,"ExtractionMethod",(function(){return u})),r.d(t,"AdditionalExtractionMethod",(function(){return c})),r.d(t,"AgentListFilterModel",(function(){return m}));var s=r(30),n=r(84);class i{constructor(e,t){this.hashGenerator=t,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get repositoryId(){return this._repositoryId}set repositoryId(e){this._repositoryId=e}get model(){return this._model}set model(e){this._model=e}get temperature(){return this._temperature}set temperature(e){this._temperature=e}get topP(){return this._topP}set topP(e){this._topP=e}get seed(){return this._seed}set seed(e){this._seed=e}get instructions(){return this._instructions}set instructions(e){this._instructions=e}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(e){this._assistantExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class a{constructor(e){this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(e){this._systemInstruction=e}get userInstruction(){return this._userInstruction}set userInstruction(e){this._userInstruction=e}}class o{constructor(e){this._method=e.method,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}get method(){return this._method}set method(e){this._method=e}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(e){this._sparqlQuery=e}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(e){this._ontologyGraph=e}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(e){this._maxNumberOfTriplesPerCall=e}get similarityIndex(){return this._similarityIndex}set similarityIndex(e){this._similarityIndex=e}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(e){this._similarityIndexThreshold=e}get queryTemplate(){return this._queryTemplate}set queryTemplate(e){this._queryTemplate=e}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(e){this._retrievalConnectorInstance=e}}class l{constructor(e){this._additionalExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class d{constructor(e){this._method=e.method}get method(){return this._method}set method(e){this._method=e}}class h{constructor(e=[]){this._agents=e,this._filterableAgents=Object(s.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((e,t)=>(e[t.id]=t.name,e),{})}isEmpty(){return 0===this._agents.length}filterByRepository(e){this._filterableAgents=this._agents.filter(t=>e===n.AGENTS_FILTER_ALL_KEY||(t.repositoryId===e?t:void 0))}getAgent(e){return this._agents.find(t=>t.id===e)}get agents(){return this._agents}set agents(e){this._agents=e}get filterableAgents(){return this._filterableAgents}set filterableAgents(e){this._filterableAgents=e}get agentNameByIdMap(){return Object(s.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(e){this._agentNameByIdMap=e}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(e,t,r=!1){this._key=e,this._label=t,this._selected=r}get key(){return this._key}set key(e){this._key=e}get label(){return this._label}set label(e){this._label=e}get selected(){return this._selected}set selected(e){this._selected=e}}},84:function(e,t,r){"use strict";r.r(t),r.d(t,"TTYG_ERROR_MSG_LENGTH",(function(){return s})),r.d(t,"AGENTS_FILTER_ALL_KEY",(function(){return n})),r.d(t,"AGENT_OPERATION",(function(){return i}));const s=100,n="ALL",i={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[62,102,259,305],{159:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return i}));var r=s(30),n=s(73);s(81);class i{constructor(){this.conversations=[...a]}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 s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},s=this.conversations.find(t=>t.id===e.conversationId),r={id:e.conversationId,name:s?s.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:n.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:n.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 s&&(s.messages.push(...r.messages),s.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:r}),2e3))}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 s=Object(r.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(r.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.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)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:d})}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}]}})}}const a=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const d={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"}]}},73:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return r})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class r{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},81:function(e,t,s){"use strict";s.r(t),s.d(t,"AgentModel",(function(){return i})),s.d(t,"AgentInstructionsModel",(function(){return a})),s.d(t,"ExtractionMethodModel",(function(){return o})),s.d(t,"AdditionalExtractionMethodsModel",(function(){return d})),s.d(t,"AdditionalExtractionMethodModel",(function(){return l})),s.d(t,"AgentListModel",(function(){return h})),s.d(t,"ExtractionMethod",(function(){return u})),s.d(t,"AdditionalExtractionMethod",(function(){return c})),s.d(t,"AgentListFilterModel",(function(){return m}));var r=s(30),n=s(84);class i{constructor(e,t){this.hashGenerator=t,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get repositoryId(){return this._repositoryId}set repositoryId(e){this._repositoryId=e}get model(){return this._model}set model(e){this._model=e}get temperature(){return this._temperature}set temperature(e){this._temperature=e}get topP(){return this._topP}set topP(e){this._topP=e}get seed(){return this._seed}set seed(e){this._seed=e}get instructions(){return this._instructions}set instructions(e){this._instructions=e}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(e){this._assistantExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class a{constructor(e){this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(e){this._systemInstruction=e}get userInstruction(){return this._userInstruction}set userInstruction(e){this._userInstruction=e}}class o{constructor(e){this._method=e.method,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}get method(){return this._method}set method(e){this._method=e}get addMissingNamespaces(){return this._addMissingNamespaces}set addMissingNamespaces(e){this._addMissingNamespaces=e}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(e){this._sparqlQuery=e}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(e){this._ontologyGraph=e}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(e){this._maxNumberOfTriplesPerCall=e}get similarityIndex(){return this._similarityIndex}set similarityIndex(e){this._similarityIndex=e}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(e){this._similarityIndexThreshold=e}get queryTemplate(){return this._queryTemplate}set queryTemplate(e){this._queryTemplate=e}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(e){this._retrievalConnectorInstance=e}}class d{constructor(e){this._additionalExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class l{constructor(e){this._method=e.method}get method(){return this._method}set method(e){this._method=e}}class h{constructor(e=[]){this._agents=e,this._filterableAgents=Object(r.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((e,t)=>(e[t.id]=t.name,e),{})}isEmpty(){return 0===this._agents.length}filterByRepository(e){this._filterableAgents=this._agents.filter(t=>e===n.AGENTS_FILTER_ALL_KEY||(t.repositoryId===e?t:void 0))}getAgent(e){return this._agents.find(t=>t.id===e)}get agents(){return this._agents}set agents(e){this._agents=e}get filterableAgents(){return this._filterableAgents}set filterableAgents(e){this._filterableAgents=e}get agentNameByIdMap(){return Object(r.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(e){this._agentNameByIdMap=e}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(e,t,s=!1){this._key=e,this._label=t,this._selected=s}get key(){return this._key}set key(e){this._key=e}get label(){return this._label}set label(e){this._label=e}get selected(){return this._selected}set selected(e){this._selected=e}}},84:function(e,t,s){"use strict";s.r(t),s.d(t,"TTYG_ERROR_MSG_LENGTH",(function(){return r})),s.d(t,"AGENTS_FILTER_ALL_KEY",(function(){return n})),s.d(t,"AGENT_OPERATION",(function(){return i}));const r=100,n="ALL",i={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[62,104,258,259],{122:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatAnswerModel",(function(){return i}));class i{constructor(t={}){this._chatId=t.chatId,this._chatName=t.chatName||"",this._timestamp=t.timestamp,this._messages=t.messages||[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get chatName(){return this._chatName}set chatName(t){this._chatName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get messages(){return this._messages}set messages(t){this._messages=t}}},137:function(t,e,s){"use strict";s.r(e),s.d(e,"chatMessageModelListMapper",(function(){return r})),s.d(e,"chatItemsModelMapper",(function(){return h})),s.d(e,"chatMessageModelMapper",(function(){return o})),s.d(e,"chatAnswerModelMapper",(function(){return m}));var i=s(73),a=s(80),n=s(122);const r=t=>t?t.map(t=>o(t)):[],h=(t=[])=>{const e=[];let s;return t.forEach(t=>{if(i.CHAT_MESSAGE_ROLE.USER===t.role){s&&e.push(s);const i=t.conversationId;s=new a.ChatItemModel(i,o(t))}else s.answers.push(o(t)),s.agentId=t.agentId}),s&&e.push(s),new a.ChatItemsListModel(e)},o=t=>{if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},m=t=>{if(t)return new n.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:r(t.messages)})}},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return i})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return a})),s.d(e,"ChatItemsListModel",(function(){return n}));var i=s(73);class a{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,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}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class n{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([[63,103,258,259],{122:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatAnswerModel",(function(){return i}));class i{constructor(t={}){this._chatId=t.chatId,this._chatName=t.chatName||"",this._timestamp=t.timestamp,this._messages=t.messages||[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get chatName(){return this._chatName}set chatName(t){this._chatName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get messages(){return this._messages}set messages(t){this._messages=t}}},138:function(t,e,s){"use strict";s.r(e),s.d(e,"chatMessageModelListMapper",(function(){return r})),s.d(e,"chatItemsModelMapper",(function(){return h})),s.d(e,"chatMessageModelMapper",(function(){return o})),s.d(e,"chatAnswerModelMapper",(function(){return m}));var i=s(73),a=s(80),n=s(122);const r=t=>t?t.map(t=>o(t)):[],h=(t=[])=>{const e=[];let s;return t.forEach(t=>{if(i.CHAT_MESSAGE_ROLE.USER===t.role){s&&e.push(s);const i=t.conversationId;s=new a.ChatItemModel(i,o(t))}else s.answers.push(o(t)),s.agentId=t.agentId}),s&&e.push(s),new a.ChatItemsListModel(e)},o=t=>{if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},m=t=>{if(t)return new n.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:r(t.messages)})}},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return i})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return a})),s.d(e,"ChatItemsListModel",(function(){return n}));var i=s(73);class a{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,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}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class n{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([[63,104,259,260,261],{114:function(t,e,s){"use strict";s.r(e),s.d(e,"ExplainResponseModel",(function(){return a})),s.d(e,"ExplainQueryMethodsListModel",(function(){return n})),s.d(e,"ExplainQueryMethodModel",(function(){return i})),s.d(e,"ExplainQueryType",(function(){return r}));class a{constructor(t={}){this._chatId=t.chatId,this._answerId=t.answerId,this._queryMethods=t.queryMethods,this._expanded=void 0===t.expanded||t.expanded}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get answerId(){return this._answerId}set answerId(t){this._answerId=t}get queryMethods(){return this._queryMethods}set queryMethods(t){this._queryMethods=t}get expanded(){return this._expanded}set expanded(t){this._expanded=t}}class n{constructor(t=[]){this._items=t}get items(){return this._items}set items(t){this._items=t}}class i{constructor(t={}){this._name=t.name,this._rawQuery=t.rawQuery,this._query=t.query,this._queryType=t.queryType,this._errorMessage=t.errorOutput}get name(){return this._name}set name(t){this._name=t}get rawQuery(){return this._rawQuery}set rawQuery(t){this._rawQuery=t}get query(){return this._query}set query(t){this._query=t}get queryType(){return this._queryType}set queryType(t){this._queryType=t}get errorMessage(){return this._errorMessage}set errorMessage(t){this._errorMessage=t}}const r={SPARQL:"sparql",JSON:"json",OTHER:"other"}},128:function(t,e,s){"use strict";s.r(e);s(183);var a=s(71),n=s(73),i=s(80),r=s(30),h=s(0);function o(t,e,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(t,o,d)=>{t.chat=void 0,t.selectedAgent=void 0,t.chatItem=void 0,t.askingChatItem=void 0,t.loadingChat=!1,t.ask=()=>{t.askingChatItem=Object(r.cloneDeep)(t.chatItem),t.chatItem.chatId?c(t.chatItem):u(),t.chatItem=_(),l(),m()},t.regenerateQuestion=e=>{const s=_();s.setQuestionMessage(e.getQuestionMessage()),t.askingChatItem=s,c(s),l()},t.onKeypressOnInput=e=>{"Enter"!==e.key||e.shiftKey||e.ctrlKey||t.ask()},t.onAskHowDeliveredAnswer=()=>{const s=_();s.setQuestionMessage(e.instant("ttyg.chat_panel.btn.derive_answer.label")),t.askingChatItem=Object(r.cloneDeep)(s),c(s),l()},t.getAgentName=t=>{const a=s.getAgent(t);return a?a.name:Object(h.decodeHTML)(e.instant("ttyg.chat_panel.deleted_agent"))};const u=()=>{s.emit(a.TTYGEventName.CREATE_CHAT,t.chatItem)},c=t=>{s.emit(a.TTYGEventName.ASK_QUESTION,t)},g=()=>{t.chatItem=Object(r.cloneDeep)(t.askingChatItem),t.askingChatItem=void 0},_=()=>{const e=new i.ChatItemModel;return e.question=new n.ChatMessageModel({role:n.CHAT_MESSAGE_ROLE.USER}),t.chat&&(e.chatId=t.chat.id),t.selectedAgent&&(e.agentId=t.selectedAgent.id),e},m=()=>{o.find(".question-input")[0].focus()},l=()=>{setTimeout(()=>{const t=o.find(".chat-details")[0];t.scrollTop=t.scrollHeight})},I=()=>{t.chat=void 0,t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,m()},p=[];p.push(t.$watchCollection("chat.chatHistory.items",l)),p.push(s.onSelectedChatUpdated(e=>{if(t.chat=e,e.id||!t.askingChatItem){if(t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,t.chat){const e=t.chat.chatHistory.getLast();e&&e.agentId&&s.selectAgent(s.getAgent(e.agentId))}m()}})),p.push(s.onSelectedAgentChanged(e=>{t.selectedAgent=e,t.selectedAgent&&t.chatItem&&(t.chatItem.agentId=t.selectedAgent.id)})),p.push(s.onSelectedChatChanged(e=>{t.loadingChat=e&&e.id,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{t.loadingChat=!1,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e=>{t.chat&&e.id===t.chat.id&&I()})),t.$on("$destroy",()=>{p.forEach(t=>t())}),t.chatItem=_(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",o),o.$inject=["toastr","$translate","TTYGContextService"]},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return a})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return n})),s.d(e,"ChatItemsListModel",(function(){return i}));var a=s(73);class n{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,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 a.ChatMessageModel({role:a.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}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class i{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([[64,103,259,260,261],{114:function(t,e,s){"use strict";s.r(e),s.d(e,"ExplainResponseModel",(function(){return a})),s.d(e,"ExplainQueryMethodsListModel",(function(){return n})),s.d(e,"ExplainQueryMethodModel",(function(){return i})),s.d(e,"ExplainQueryType",(function(){return r}));class a{constructor(t={}){this._chatId=t.chatId,this._answerId=t.answerId,this._queryMethods=t.queryMethods,this._expanded=void 0===t.expanded||t.expanded}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get answerId(){return this._answerId}set answerId(t){this._answerId=t}get queryMethods(){return this._queryMethods}set queryMethods(t){this._queryMethods=t}get expanded(){return this._expanded}set expanded(t){this._expanded=t}}class n{constructor(t=[]){this._items=t}get items(){return this._items}set items(t){this._items=t}}class i{constructor(t={}){this._name=t.name,this._rawQuery=t.rawQuery,this._query=t.query,this._queryType=t.queryType,this._errorMessage=t.errorOutput}get name(){return this._name}set name(t){this._name=t}get rawQuery(){return this._rawQuery}set rawQuery(t){this._rawQuery=t}get query(){return this._query}set query(t){this._query=t}get queryType(){return this._queryType}set queryType(t){this._queryType=t}get errorMessage(){return this._errorMessage}set errorMessage(t){this._errorMessage=t}}const r={SPARQL:"sparql",JSON:"json",OTHER:"other"}},128:function(t,e,s){"use strict";s.r(e);s(183);var a=s(71),n=s(73),i=s(80),r=s(30),h=s(0);function o(t,e,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(t,o,d)=>{t.chat=void 0,t.selectedAgent=void 0,t.chatItem=void 0,t.askingChatItem=void 0,t.loadingChat=!1,t.ask=()=>{t.askingChatItem=Object(r.cloneDeep)(t.chatItem),t.chatItem.chatId?c(t.chatItem):u(),t.chatItem=_(),l(),m()},t.regenerateQuestion=e=>{const s=_();s.setQuestionMessage(e.getQuestionMessage()),t.askingChatItem=s,c(s),l()},t.onKeypressOnInput=e=>{"Enter"!==e.key||e.shiftKey||e.ctrlKey||t.ask()},t.onAskHowDeliveredAnswer=()=>{const s=_();s.setQuestionMessage(e.instant("ttyg.chat_panel.btn.derive_answer.label")),t.askingChatItem=Object(r.cloneDeep)(s),c(s),l()},t.getAgentName=t=>{const a=s.getAgent(t);return a?a.name:Object(h.decodeHTML)(e.instant("ttyg.chat_panel.deleted_agent"))};const u=()=>{s.emit(a.TTYGEventName.CREATE_CHAT,t.chatItem)},c=t=>{s.emit(a.TTYGEventName.ASK_QUESTION,t)},g=()=>{t.chatItem=Object(r.cloneDeep)(t.askingChatItem),t.askingChatItem=void 0},_=()=>{const e=new i.ChatItemModel;return e.question=new n.ChatMessageModel({role:n.CHAT_MESSAGE_ROLE.USER}),t.chat&&(e.chatId=t.chat.id),t.selectedAgent&&(e.agentId=t.selectedAgent.id),e},m=()=>{o.find(".question-input")[0].focus()},l=()=>{setTimeout(()=>{const t=o.find(".chat-details")[0];t.scrollTop=t.scrollHeight})},I=()=>{t.chat=void 0,t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,m()},p=[];p.push(t.$watchCollection("chat.chatHistory.items",l)),p.push(s.onSelectedChatUpdated(e=>{if(t.chat=e,e.id||!t.askingChatItem){if(t.loadingChat=!1,t.chatItem=_(),t.askingChatItem=void 0,t.chat){const e=t.chat.chatHistory.getLast();e&&e.agentId&&s.selectAgent(s.getAgent(e.agentId))}m()}})),p.push(s.onSelectedAgentChanged(e=>{t.selectedAgent=e,t.selectedAgent&&t.chatItem&&(t.chatItem.agentId=t.selectedAgent.id)})),p.push(s.onSelectedChatChanged(e=>{t.loadingChat=e&&e.id,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{t.loadingChat=!1,t.chatItem=_(),m()})),p.push(s.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,g)),p.push(s.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e=>{t.chat&&e.id===t.chat.id&&I()})),t.$on("$destroy",()=>{p.forEach(t=>t())}),t.chatItem=_(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",o),o.$inject=["toastr","$translate","TTYGContextService"]},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatMessageModel",(function(){return a})),s.d(e,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const n={USER:"user",ASSISTANT:"assistant"}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"ChatItemModel",(function(){return n})),s.d(e,"ChatItemsListModel",(function(){return i}));var a=s(73);class n{constructor(t,e){this._chatId=t,this._agentId=void 0,this._question=e,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 a.ChatMessageModel({role:a.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}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class i{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,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[64],{538:function(e,t){
2
- /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,r=32,o=38,a=40,u=37,s=39,l=46,c=188,f=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,o,a,p,g){function h(e,t,n,i){var r,o,u,s,l={};return r=function(t){return g.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},u=function(t){var i=r(t),o=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!g.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(g.promisifyValue)},s=function(e){return a.when(i({$tag:e})).then(g.promisifyValue)},l.items=[],l.addText=function(e){var t={};return o(t,e),l.add(t)},l.add=function(n){var i=r(n);return e.replaceSpacesWithDashes&&(i=g.replaceSpacesWithDashes(i)),o(n,i),u(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 s(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(r):l.items},l.clearSelection(),l}function m(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=g.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",m],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,f],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,f],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new h(e.options,e.events,g.handleUndefinedResult(e.onTagAdding,!0),g.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(a,f,d,p){var h,m,v=[n,c,r,e,l,u,s],y=a.tagList,b=a.events,x=a.options,T=f.find("input"),w=["minTags","maxTags","allowLeftoverText"];h=function(){p.$setValidity("maxTags",y.items.length<=x.maxTags),p.$setValidity("minTags",y.items.length>=x.minTags),p.$setValidity("leftoverText",!(!a.hasFocus&&!x.allowLeftoverText)||!a.newTag.text())},m=function(){t((function(){T[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},a.newTag={text:function(e){return angular.isDefined(e)?(a.text=e,void b.trigger("input-change",e)):a.text||""},invalid:null},a.track=function(e){return e[x.keyProperty||x.displayProperty]},a.getTagClass=function(e,t){var n=e===y.selected;return[a.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},a.$watch("tags",(function(e){if(e){if(y.items=g.makeObjectArray(e,x.displayProperty),x.useStrings)return;a.tags=y.items}else y.items=[]})),a.$watch("tags.length",(function(){h(),p.$validate()})),d.$observe("disabled",(function(e){a.disabled=e})),a.eventHandlers={input:{keydown:function(e){b.trigger("input-keydown",e)},focus:function(){a.hasFocus||(a.hasFocus=!0,b.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===T[0],n=f[0].contains(e);(t||!n)&&(a.hasFocus=!1,b.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):o.clipboardData.getData("Text")},b.trigger("input-paste",e)}},host:{click:function(){a.disabled||m()}},tag:{click:function(e){b.trigger("tag-clicked",{$tag:e})}}},b.on("tag-added",a.onTagAdded).on("invalid-tag",a.onInvalidTag).on("tag-removed",a.onTagRemoved).on("tag-clicked",a.onTagClicked).on("tag-added",(function(){a.newTag.text("")})).on("tag-added tag-removed",(function(){a.tags=y.getItems(),p.$setDirty(),m()})).on("invalid-tag",(function(){a.newTag.invalid=!0})).on("option-change",(function(e){-1!==w.indexOf(e.name)&&h()})).on("input-change",(function(){y.clearSelection(),a.newTag.invalid=null})).on("input-focus",(function(){f.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&y.addText(a.newTag.text()),f.triggerHandler("blur"),h()})).on("input-keydown",(function(t){var i,o,f,d,p=t.keyCode,h={};g.isModifierOn(t)||-1===v.indexOf(p)||(h[n]=x.addOnEnter,h[c]=x.addOnComma,h[r]=x.addOnSpace,i=!x.addFromAutocompleteOnly&&h[p],o=(p===e||p===l)&&y.selected,d=p===e&&0===a.newTag.text().length&&x.enableEditingLastTag,f=(p===e||p===u||p===s)&&0===a.newTag.text().length&&!x.enableEditingLastTag,i?y.addText(a.newTag.text()):d?(y.selectPrior(),y.removeSelected().then((function(e){e&&a.newTag.text(e[x.displayProperty])}))):o?y.removeSelected():f&&(p===u||p===e?y.selectPrior():p===s&&y.selectNext()),(i||f||o||d)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){y.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,r){var o=r.registerTagItem(),a=o.getOptions();t.$$template=a.template,t.$$removeTagSymbol=a.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[a.displayProperty])},t.$removeTag=function(){o.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,r,u,s,l,c){function f(e,t,n){var i,r,o,a={};return o=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,o(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},a.reset=function(){r=null,a.items=[],a.visible=!1,a.index=-1,a.selected=null,a.query=null},a.show=function(){t.selectFirstMatch?a.select(0):a.selected=null,a.visible=!0},a.load=c.debounce((function(n,u){a.query=n;var l=s.when(e({$query:n}));r=l,l.then((function(e){l===r&&(e=c.makeObjectArray(e.data||e,o()),e=i(e,u),a.items=e.slice(0,t.maxResultsToShow),a.items.length>0?a.show():a.reset())}))}),t.debounceDelay),a.selectNext=function(){a.select(++a.index)},a.selectPrior=function(){a.select(--a.index)},a.select=function(e){0>e?e=a.items.length-1:e>=a.items.length&&(e=0),a.index=e,a.selected=a.items[e],n.trigger("suggestion-selected",e)},a.reset(),a}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 f(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,r,u,s){var l,f=[n,t,i,o,a],d=e.suggestionList,p=s.registerAutocomplete(),g=e.options,h=e.events;g.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=g.minLength||!e&&g.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[g.tagsInput.keyProperty||g.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();g.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(r){var u=r.keyCode,s=!1;if(!c.isModifierOn(r)&&-1!==f.indexOf(u))return d.visible?u===a?(d.selectNext(),s=!0):u===o?(d.selectPrior(),s=!0):u===i?(d.reset(),s=!0):(u===n||u===t)&&(s=e.addSuggestion()):u===a&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(r.preventDefault(),r.stopImmediatePropagation(),!1):void 0})),h.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),r=n.prop("offsetTop"),o=n.prop("offsetHeight"),a=i.prop("clientHeight"),u=i.prop("scrollTop");u>r?i.prop("scrollTop",r):r+o>a+u&&i.prop("scrollTop",r+o-a)}(r,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,r,o){var a=o.registerAutocompleteMatch(),u=a.getOptions();n.$$template=u.template,n.$index=n.$parent.$index,n.$highlight=function(n){return u.highlightMatchedText&&(n=t.safeHighlight(n,a.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[u.displayProperty||u.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,r){r((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,r){var o,a,u=e.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(o),a=function(e){var t,r=e;return angular.isString(r)&&0===r.length&&(r=i.placeholder),r&&(o.text(r),o.css("display",""),t=o.prop("offsetWidth"),o.css("display","none")),n.css("width",t?t+u+"px":""),e},r.$parsers.unshift(a),r.$formatters.unshift(a),i.$observe("placeholder",(function(e){r.$modelValue||a(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 r={};return r[String]=function(e){return e},r[Number]=function(e){return parseInt(e,10)},r[Boolean]=function(e){return"true"===e.toLowerCase()},r[RegExp]=function(e){return new RegExp(e)},{load:function(n,o,a,u){var s=function(){return!0};o.options={},angular.forEach(u,(function(u,l){var c,f,d,p,g,h;c=u[0],f=u[1],d=u[2]||s,p=r[c],g=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:f},h=function(e){o.options[l]=e&&d(e)?p(e):g()},t[n]&&t[n][l]?a.$observe(l,(function(e){h(e),o.events.trigger("option-change",{name:l,newValue:e})})):h(a[l]&&i(a[l])(o.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var r=arguments;e.cancel(i),i=e((function(){t.apply(null,r)}),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,r){var o=null;return r=r||n.defaultComparer,e.some((function(e){return r(e[i],t[i])?(o=e,!0):void 0})),o},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>')}])}()},772:function(e,t){!function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,u=[],s=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(u.push(i.value),u.length!==t);s=!0);}catch(e){l=!0,r=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function i(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,o=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n);if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key,"string"),"symbol"===e(o)?o:String(o)),r)}var o}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,r;return n=e,(r=[{key:"registerFor",value:function(e){var n,i,r,o;function a(e,n,i){var r=e[0],a=t({top:["scrollTop","pageYOffset","scrollLeft"],left:["scrollLeft","pageXOffset","scrollTop"]}[n],3),u=a[0],s=a[1],l=a[2],c=void 0!==i;return o(r)?c?r.scrollTo(e[l].call(e),i):s in r?r[s]:r.document.documentElement[u]:(c&&(r[u]=i),r[u])}function u(e,i,a){var u,s=function(e,i){var a,u,s,l,c,f,d,p,g,h;if(o(e))return{base:a=document.documentElement[{height:"clientHeight",width:"clientWidth"}[i]],padding:0,border:0,margin:0};var m=t({width:[e.offsetWidth,"Left","Right"],height:[e.offsetHeight,"Top","Bottom"]}[i],3);return a=m[0],d=m[1],p=m[2],f=r(e),g=n(e,f["padding"+d])||0,h=n(e,f["padding"+p])||0,u=n(e,f["border"+d+"Width"])||0,s=n(e,f["border"+p+"Width"])||0,l=f["margin"+d],c=f["margin"+p],{base:a,padding:g+h,border:u+s,margin:(n(e,l)||0)+(n(e,c)||0)}}(e,i);return s.base>0?{base:s.base-s.padding-s.border,outer:s.base,outerfull:s.base+s.margin}[a]:(((u=r(e)[i])<0||null===u)&&(u=e.style[i]||0),{base:(u=parseFloat(u)||0)-s.padding-s.border,outer:u,outerfull:u+s.padding+s.border+s.margin}[a])}return i=angular.element.prototype.css,e.prototype.css=function(e,t){var n=this[0];if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style)return i.call(this,e,t)},o=function(e){return e&&e.document&&e.location&&e.alert&&e.setInterval},window.getComputedStyle?(r=function(e){return window.getComputedStyle(e,null)},n=function(e,t){return parseFloat(t)}):(r=function(e){return e.currentStyle},n=function(e,t){var n,i,r,o,a;return new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i").test(t)?(n=(a=e.style).left,o=(r=e.runtimeStyle)&&r.left,r&&(r.left=a.left),a.left=t,i=a.pixelLeft,a.left=n,o&&(r.left=o),i):parseFloat(t)}),angular.forEach({before:function(e){var t,n,i,r,o,a;if(n=this[0],(t=(o=this.parent()).contents())[0]===n)return o.prepend(e);for(i=r=1,a=t.length-1;1<=a?r<=a:r>=a;i=1<=a?++r:--r)if(t[i]===n)return void angular.element(t[i-1]).after(e);throw new Error("invalid DOM structure "+n.outerHTML)},height:function(e){return void 0!==e?(angular.isNumber(e)&&(e+="px"),i.call(this,"height",e)):u(this[0],"height","base")},outerHeight:function(e){return u(this[0],"height",e?"outerfull":"outer")},outerWidth:function(e){return u(this[0],"width",e?"outerfull":"outer")},offset:function(e){var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(arguments.length){if(void 0===e)return this;throw new Error("offset setter method is not implemented")}if(o)return t=o.documentElement,null!=r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=o.defaultView||o.parentWindow,{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},scrollTop:function(e){return a(this,"top",e)},scrollLeft:function(e){return a(this,"left",e)}},(function(t,n){if(!e.prototype[n])return e.prototype[n]=t}))}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===o(r)?r:String(r)),i)}var r}var u="ng-ui-scroll-hide",s=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$animate=t.has&&t.has("$animate")?t.get("$animate"):null,this.isAngularVersionLessThen1_3=1===angular.version.major&&angular.version.minor<3,this.$q=n}var t,n,i;return t=e,i=[{key:"addCSSRules",value:function(){var e,t="."+u,n="display: none",i=document.styleSheets[0];try{e=i.cssRules.length}catch(t){e=0}"insertRule"in i?i.insertRule(t+"{"+n+"}",e):"addRule"in i&&i.addRule(t,n,e)}}],(n=[{key:"hideElement",value:function(e){e.element.addClass(u)}},{key:"showElement",value:function(e){e.element.removeClass(u)}},{key:"insertElement",value:function(e,t){return t.after(e),[]}},{key:"removeElement",value:function(e){return e.element.remove(),e.scope.$destroy(),[]}},{key:"insertElementAnimated",value:function(e,t){if(!this.$animate)return this.insertElement(e,t);if(this.isAngularVersionLessThen1_3){var n=this.$q.defer();return this.$animate.enter(e,null,t,(function(){return n.resolve()})),[n.promise]}return[this.$animate.enter(e,null,t)]}},{key:"removeElementAnimated",value:function(e){if(!this.$animate)return this.removeElement(e);if(this.isAngularVersionLessThen1_3){var t=this.$q.defer();return this.$animate.leave(e.element,(function(){return e.scope.$destroy(),t.resolve()})),[t.promise]}return[this.$animate.leave(e.element).then((function(){return e.scope.$destroy()}))]}}])&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),l="prepend",c="append",f="insert",d="remove",p="none";function g(e,t,n){var i=Object.create(Array.prototype);return angular.extend(i,{size:t,reset:function(e){i.remove(0,i.length),i.eof=!1,i.bof=!1,i.first=e,i.next=e,i.minIndex=e,i.maxIndex=e,i.minIndexUser=null,i.maxIndexUser=null},append:function(e){e.forEach((function(e){++i.next,i.insert(c,e)})),i.maxIndex=i.eof?i.next-1:Math.max(i.next-1,i.maxIndex)},prepend:function(e,t){e.reverse().forEach((function(e){t?++i.next:--i.first,i.insert(l,e)})),i.minIndex=i.bof?i.minIndex=i.first:Math.min(i.first,i.minIndex)},insert:function(e,t,n){var r={item:t};if(e%1==0)r.op=f,i.splice(e,0,r),n?i.first--:i.next++;else switch(r.op=e,e){case c:i.push(r);break;case l:i.unshift(r)}},remove:function(t,n){if(angular.isNumber(t)){for(var r=t;r<n;r++)e.removeElement(i[r]);return i.splice(t,n-t)}return i.splice(i.indexOf(t),1),t.shiftTop&&i.first===this.getAbsMinIndex()?this.incrementMinIndex():this.decrementMaxIndex(),t.shiftTop?i.first++:i.next--,i.length||(i.minIndex=Math.min(i.maxIndex,i.minIndex)),e.removeElementAnimated(t)},incrementMinIndex:function(){if(null!==i.minIndexUser){if(i.minIndex>i.minIndexUser)return void i.minIndexUser++;i.minIndex===i.minIndexUser&&i.minIndexUser++}i.minIndex++},decrementMaxIndex:function(){null!==i.maxIndexUser&&i.maxIndex<=i.maxIndexUser&&i.maxIndexUser--,i.maxIndex--},getAbsMinIndex:function(){return null!==i.minIndexUser?Math.min(i.minIndexUser,i.minIndex):i.minIndex},getAbsMaxIndex:function(){return null!==i.maxIndexUser?Math.max(i.maxIndexUser,i.maxIndex):i.maxIndex},effectiveHeight:function(e){if(!e.length)return 0;var t=Number.MAX_VALUE,n=Number.NEGATIVE_INFINITY;return e.forEach((function(e){e.element[0].offsetParent&&(t=Math.min(t,e.element.offset().top),n=Math.max(n,e.element.offset().top+e.element.outerHeight(!0)))})),Math.max(0,n-t)},getItems:function(){return i.filter((function(e){return e.op===p}))},getFirstItem:function(){var e=i.getItems();return e.length?e[0].item:null},getLastItem:function(){var e=i.getItems();return e.length?e[e.length-1].item:null}}),i.reset(n),i}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==h(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===h(r)?r:String(r)),i)}var r}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var b=function(){function e(){m(this,e)}return y(e,[{key:"add",value:function(e){for(var t=this.length-1;t>=0;t--)if(this[t].index===e.scope.$index)return void(this[t].height=e.element.outerHeight());this.push({index:e.scope.$index,height:e.element.outerHeight()}),this.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}))}},{key:"remove",value:function(e,t){for(var n=e%1==0?e:e.scope.$index,i=e%1==0?t:e.shiftTop,r=this.length-1;r>=0;r--)if(this[r].index===n){this.splice(r,1);break}if(!i)for(var o=this.length-1;o>=0;o--)this[o].index>n&&this[o].index--}},{key:"clear",value:function(){this.length=0}}]),e}();function x(){var e=[];return e.push.apply(e,arguments),Object.setPrototypeOf(e,x.prototype),e}x.prototype=Object.create(Array.prototype),Object.getOwnPropertyNames(b.prototype).forEach((function(e){return x.prototype[e]=b.prototype[e]}));var T=function(){function e(t){m(this,e),this.element=function(e){if(e.nodeType!==Node.ELEMENT_NODE)throw new Error("ui-scroll directive requires an Element node for templating the view");var t;switch(e.tagName.toLowerCase()){case"dl":throw new Error("ui-scroll directive does not support <".concat(e.tagName,"> as a repeating tag: ").concat(e.outerHTML));case"tr":t=angular.element("<table><tr><td><div></div></td></tr></table>").find("tr");break;case"li":t=angular.element("<li></li>");break;default:t=angular.element("<div></div>")}return t}(t),this.cache=new x}return y(e,[{key:"height",value:function(){return this.element.height.apply(this.element,arguments)}}]),e}();function w(e,t,n,i,r,o){var a=null,u=null,s=i&&i.viewport?i.viewport:angular.element(window),l=i&&i.container?i.container:void 0,c=i&&i.scope?i.scope:r;function f(){return s.outerHeight()*o}return s.css({"overflow-anchor":"none","overflow-y":"auto",display:"block"}),angular.extend(s,{getScope:function(){return c},createPaddingElements:function(e){a=new T(e),u=new T(e),n.before(a.element),n.after(u.element),a.height(0),u.height(0)},applyContainerStyle:function(){return!l||(l!==s&&s.css("height",window.getComputedStyle(l[0]).height),s.height()>0)},bottomDataPos:function(){var e=s[0].scrollHeight;return(e=null!=e?e:s[0].document.documentElement.scrollHeight)-u.height()},topDataPos:function(){return a.height()},bottomVisiblePos:function(){return s.scrollTop()+s.outerHeight()},topVisiblePos:function(){return s.scrollTop()},insertElement:function(t,n){return e.insertElement(t,n||a.element)},insertElementAnimated:function(t,n){return e.insertElementAnimated(t,n||a.element)},shouldLoadBottom:function(){return!t.eof&&s.bottomDataPos()<s.bottomVisiblePos()+f()},clipBottom:function(){for(var e=0,n=0,i=0,r=s.bottomDataPos()-s.bottomVisiblePos()-f(),o=t.length-1;o>=0&&!(n+(i=t[o].element.outerHeight(!0))>r);o--)u.cache.add(t[o]),n+=i,e++;e>0&&(t.eof=!1,t.remove(t.length-e,t.length),t.next-=e,s.adjustPaddings())},shouldLoadTop:function(){return!t.bof&&s.topDataPos()>s.topVisiblePos()-f()},clipTop:function(){for(var e=0,n=0,i=0,r=s.topVisiblePos()-s.topDataPos()-f(),o=0;o<t.length&&!(n+(i=t[o].element.outerHeight(!0))>r);o++)a.cache.add(t[o]),n+=i,e++;e>0&&(a.height(a.height()+n),t.bof=!1,t.remove(0,e),t.first+=e)},adjustPaddings:function(){if(t.length){var e=t.reduce((function(e,t){return e+t.element.outerHeight(!0)}),0),n=0,i=0;a.cache.forEach((function(e){e.index<t.first&&(n+=e.height,i++)}));var r=0,o=0;u.cache.forEach((function(e){e.index>=t.next&&(r+=e.height,o++)}));var s=(e+n+r)/(i+o+t.length),l=null!==t.minIndexUser&&t.minIndex>t.minIndexUser,c=null!==t.maxIndexUser&&t.maxIndex<t.maxIndexUser,f=l?(t.minIndex-t.minIndexUser)*s:0,d=c?(t.maxIndexUser-t.maxIndex)*s:0;a.height(n+f),u.height(r+d)}},onAfterMinIndexSet:function(e){if(null!==t.minIndexUser&&t.minIndex>t.minIndexUser){var n=a.height()-e;for(s.scrollTop(s.scrollTop()+n);(n-=s.scrollTop())>0;)u.height(u.height()+n),s.scrollTop(s.scrollTop()+n)}},onAfterPrepend:function(e){if(e.prepended.length){var n=t.effectiveHeight(e.prepended),i=a.height()-n;if(i>=0)a.height(i);else{var r=s.scrollTop(),o=r-i;s.synthetic={previous:r,next:o},a.height(0),s.scrollTop(o)}}},resetTopPadding:function(){a.height(0),a.cache.clear()},resetBottomPadding:function(){u.height(0),u.cache.clear()},removeCacheItem:function(e,t){a.cache.remove(e,t),u.cache.remove(e,t)},removeItem:function(e){return this.removeCacheItem(e),t.remove(e)}}),s}function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==$(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===$(r)?r:String(r)),i)}var r}var I=function(){function e(t,n,i,r,o,a,u){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$parse=n,this.$attr=i,this.viewport=r,this.buffer=o,this.doAdjust=a,this.reload=u,this.isLoading=!1,this.disabled=!1;var s=r.getScope();this.startScope=s.$parent?s:t,this.publicContext={},this.assignAdapter(i.adapter),this.generatePublicContext()}var t,n;return t=e,(n=[{key:"assignAdapter",value:function(e){if(e&&(e=e.replace(/^\s+|\s+$/gm,""))){var t;try{this.$parse(e).assign(this.startScope,{}),t=this.$parse(e)(this.startScope)}catch(t){throw t.message="Angular ui-scroll Adapter assignment exception.\n"+"Can't parse \"".concat(e,'" expression.\n')+t.message,t}angular.extend(t,this.publicContext),this.publicContext=t}}},{key:"generatePublicContext",value:function(){for(var e=this,t=["reload","applyUpdates","append","prepend","isBOF","isEOF","isEmpty"],n=t.length-1;n>=0;n--)this.publicContext[t[n]]=this[t[n]].bind(this);for(var i=["isLoading","topVisible","topVisibleElement","topVisibleScope","bottomVisible","bottomVisibleElement","bottomVisibleScope"],r=function(t){var n,r=e.$attr[i[t]];Object.defineProperty(e,i[t],{get:function(){return n},set:function(o){n=o,e.publicContext[i[t]]=o,r&&e.$parse(r).assign(e.startScope,o)}})},o=i.length-1;o>=0;o--)r(o);for(var a=["bufferFirst","bufferLast","bufferLength"],u=function(t){Object.defineProperty(e.publicContext,a[t],{get:function(){return e[a[t]]}})},s=a.length-1;s>=0;s--)u(s);Object.defineProperty(this.publicContext,"disabled",{get:function(){return e.disabled},set:function(t){return(e.disabled=t)?null:e.doAdjust()}})}},{key:"loading",value:function(e){this.isLoading=e}},{key:"isBOF",value:function(){return this.buffer.bof}},{key:"isEOF",value:function(){return this.buffer.eof}},{key:"isEmpty",value:function(){return!this.buffer.length}},{key:"bufferLength",get:function(){return this.buffer.getItems().length}},{key:"bufferFirst",get:function(){return this.buffer.getFirstItem()}},{key:"bufferLast",get:function(){return this.buffer.getLastItem()}},{key:"append",value:function(e){this.buffer.append(e),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"prepend",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.prepend(e,t.immutableTop),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"applyUpdates",value:function(e,t,n){"function"==typeof e?this.applyUpdatesFunc(e,t):this.applyUpdatesIndex(e,t,n),this.doAdjust()}},{key:"applyUpdatesFunc",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.slice(0).forEach((function(i){t.applyUpdate(i,e(i.item,i.scope,i.element),n)}))}},{key:"applyUpdatesIndex",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e%1!=0)throw new Error("applyUpdates - "+e+" is not a valid index (should be an integer)");var i=e-this.buffer.first;i>=0&&i<this.buffer.length?this.applyUpdate(this.buffer[i],t,n):e>=this.buffer.getAbsMinIndex()&&e<=this.buffer.getAbsMaxIndex()&&angular.isArray(t)&&!t.length&&(this.viewport.removeCacheItem(e,!n.immutableTop&&e===this.buffer.minIndex),n.immutableTop||e!==this.buffer.getAbsMinIndex()?this.buffer.decrementMaxIndex():this.buffer.incrementMinIndex())}},{key:"applyUpdate",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(angular.isArray(t)){var r=this.buffer.indexOf(e);t.reverse().some((function(t){return t===e.item}))||(e.op=d,i.immutableTop||t.length||(0===r&&this.buffer.bof||0!==r&&this.buffer[r-1].shiftTop)&&(e.shiftTop=!0)),t.forEach((function(t){t===e.item?r--:n.buffer.insert(r+1,t,!i.immutableTop&&-1===r)}))}}},{key:"calculateProperties",value:function(){for(var e=null,t=0,n=!1,i=!1,r=this.buffer.length,o=0;o<r;o++){var a=this.buffer[o],u=a.element.offset().top;if(e!==u){var s=a.element.outerHeight(!0),l=this.viewport.topDataPos()+t+s;!n&&l>this.viewport.topVisiblePos()&&(n=!0,this.topVisible=a.item,this.topVisibleElement=a.element,this.topVisibleScope=a.scope),!i&&(l>=this.viewport.bottomVisiblePos()||o===r-1&&this.isEOF())&&(i=!0,this.bottomVisible=a.item,this.bottomVisibleElement=a.element,this.bottomVisibleScope=a.scope),t+=s}if(e=u,n&&i)break}}}])&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();angular.module("ui.scroll",[]).constant("JQLiteExtras",r).run(["JQLiteExtras",function(e){var t=angular.element;!(window.jQuery&&t.fn&&t.fn.jquery)&&(new e).registerFor(t),s.addCSSRules()}]).directive("uiScrollViewport",(function(){return{restrict:"A",controller:["$scope","$element",function(e,t){var n=this;return this.container=t,this.viewport=t,this.scope=e,angular.forEach(t.children(),(function(e){"tbody"===e.tagName.toLowerCase()&&(n.viewport=angular.element(e))})),this}]}})).directive("uiScroll",["$log","$injector","$rootScope","$timeout","$interval","$q","$parse",function(e,t,n,i,r,o,a){return{require:["?^uiScrollViewport"],restrict:"A",transclude:"element",priority:1e3,terminal:!0,link:function(e,u,h,m,v){var y=h.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);if(!y)throw new Error("Expected uiScroll in form of '_item_ in _datasource_' but got '"+h.uiScroll+"'");function b(e,t,n){return n||(e=null===e?t:Math.floor(e)),isNaN(e)?t:e}function x(t,n,i){return b(a(t)(e),n,i)}var T,$,S=null,E=y[1],P=y[2],k=m[0],O=Math.max(3,x(h.bufferSize,10)),A=Math.max(.3,x(h.padding,.5,!0)),C=(T=h.handleInertia,!0,"boolean"!=typeof($=a(T)(e))||$),L=x(h.startIndex,1),j=0,U=[],M=new s(t,o),D=new g(M,O,L),V=new w(M,D,u,k,n,A),H=new I(e,a,h,V,D,Z,(function(){_(),V.resetTopPadding(),V.resetBottomPadding(),arguments.length&&(L=b(arguments[0],1,!1)),D.reset(L),F(S,"minIndex"),F(S,"maxIndex"),Z()}));k&&(k.adapter=H);var B=function(){return"[object Object]"===Object.prototype.toString.call(S)&&"function"==typeof S.get};if(S=a(P)(e),!B()&&(S=t.get(P),!B()))throw new Error(P+" is not a valid datasource");var N=[];function F(e,t){var n;angular.isNumber(e[t])&&(n=e[t],angular.isNumber(n)&&(N=N.filter((function(e){return e.id!==t}))).push({id:t,run:function(){return e[t]=n}}))}function R(e,t,n){var i,r=Object.getOwnPropertyDescriptor(e,t);r&&(r.set||r.get)||(F(e,t),Object.defineProperty(e,t,{set:function(r){if(i=r,!U.length||D.length){D[n]=r;var o=V.topDataPos();V.adjustPaddings(),"minIndex"===t&&V.onAfterMinIndexSet(o)}else F(e,t)},get:function(){return i}}))}R(S,"minIndex","minIndexUser"),R(S,"maxIndex","maxIndexUser");var q=2!==S.get.length?function(e){return S.get(D.next,O,e)}:function(e){S.get({index:D.next,append:D.length?D[D.length-1].item:void 0,count:O},e)},W=2!==S.get.length?function(e){return S.get(D.first-O,O,e)}:function(e){S.get({index:D.first-O,prepend:D.length?D[0].item:void 0,count:O},e)};function z(t){return t&&t!==j||e.$$destroyed}function _(){V.off("resize",ne),V.off("scroll",ne)}function Q(e){return e.element.height()&&e.element[0].offsetParent}function J(e,t){K(e,t,V.insertElement),Q(e)||(e.unregisterVisibilityWatcher=e.scope.$watch((function(){return function(e){Q(e)&&(D.forEach((function(e){"function"==typeof e.unregisterVisibilityWatcher&&(e.unregisterVisibilityWatcher(),delete e.unregisterVisibilityWatcher)})),U.length||i((function(){return Z()})))}(e)}))),M.hideElement(e)}function K(e,t,n){var i=null,r=t>0?D[t-1].element:void 0;if(v((function(t,o){i=n(t,r),e.element=t,e.scope=o,o[E]=e.item})),H.transform){var o=e.scope.uiScrollTdInitializer;o&&o.linking?H.transform(e.scope,e.element):e.scope.uiScrollTdInitializer={onLink:function(){return H.transform(e.scope,e.element)},scope:e.scope}}return i}function X(e,t){t.animated.length?o.all(t.animated).then((function(){V.adjustPaddings(),Z(e)})):V.adjustPaddings()}function Y(e,t){V.shouldLoadBottom()?(!t||D.effectiveHeight(t.inserted)>0)&&1===U.push(!0)&&(H.loading(!0),te(e)):V.shouldLoadTop()&&(!t||D.effectiveHeight(t.prepended)>0||U[0])&&1===U.push(!1)&&(H.loading(!0),te(e))}function G(){var t,i,r,o,a=(t=[],i=[],r=[],o=[],D.forEach((function(e,n){switch(e.op){case l:i.unshift(e);break;case c:J(e,n),e.op=p,o.push(e);break;case f:t=t.concat(K(e,n,V.insertElementAnimated)),e.op=p,o.push(e);break;case d:r.push(e)}})),r.forEach((function(e){return t=t.concat(V.removeItem(e))})),i.length&&i.forEach((function(e){J(e),e.op=p})),D.forEach((function(e,t){return e.scope.$index=D.first+t})),{prepended:i,removed:r,inserted:o,animated:t});return!e.$$phase&&!n.$$phase&&e.$digest(),a.inserted.forEach((function(e){return M.showElement(e)})),a.prepended.forEach((function(e){return M.showElement(e)})),a}function Z(e){e||(U=[],e=++j);var t=G();z(e)||(X(e,t),Y(e),U.length||H.calculateProperties())}function ee(e){var t=G();V.onAfterPrepend(t),z(e)||(X(e,t),N.forEach((function(e){return e.run()})),N=[],Y(e,t),U.shift(),U.length?te(e):(H.loading(!1),V.on("resize",ne),V.on("scroll",ne),H.calculateProperties()))}function te(e){U[0]?D.length&&!V.shouldLoadBottom()?ee(e):q((function(t){z(e)||(t.length<O&&(D.eof=!0),t.length>0&&(V.clipTop(),D.append(t)),ee(e))})):D.length&&!V.shouldLoadTop()?ee(e):W((function(t){z(e)||(t.length<O&&(D.bof=!0),t.length>0&&(D.length&&V.clipBottom(),D.prepend(t)),ee(e))}))}function ne(){C&&function(){if(V.synthetic){var e=V.synthetic.previous,t=V.synthetic.next;if(V.scrollTop()!==t)return requestAnimationFrame((function(){var n=V.scrollTop(),i=e-n;i>0?V.scrollTop(t-i):V.scrollTop(t),V.synthetic=null})),!0;V.synthetic=null}}()||n.$$phase||H.isLoading||H.disabled||(Y(j),U.length?_():(H.calculateProperties(),!e.$$phase&&e.$digest()))}function ie(e){if(!H.disabled){var t=V[0].scrollTop,n=V[0].scrollHeight-V[0].clientHeight;(0===t&&!D.bof||t===n&&!D.eof)&&e.preventDefault()}}v((function(e,t){V.createPaddingElements(e[0]),t.$destroy(),e.remove()})),e.$on("$destroy",(function(){_(),V.off("mousewheel",ie)})),V.on("mousewheel",ie),function(){var e=0;if(V.applyContainerStyle())Z();else var t=r((function(){if(e++,V.applyContainerStyle()&&(r.cancel(t),Z()),50*e>=500)throw r.cancel(t),Error("ui-scroll directive requires a viewport with non-zero height in ".concat(500,"ms"))}),50)}()}}}])}()},773:function(e,t){!function(){"use strict";angular.module("ui.scroll.jqlite",[])}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[65],{536:function(e,t){
2
+ /*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,r=32,o=38,a=40,u=37,s=39,l=46,c=188,f=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,o,a,p,g){function h(e,t,n,i){var r,o,u,s,l={};return r=function(t){return g.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},u=function(t){var i=r(t),o=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!g.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(g.promisifyValue)},s=function(e){return a.when(i({$tag:e})).then(g.promisifyValue)},l.items=[],l.addText=function(e){var t={};return o(t,e),l.add(t)},l.add=function(n){var i=r(n);return e.replaceSpacesWithDashes&&(i=g.replaceSpacesWithDashes(i)),o(n,i),u(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 s(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(r):l.items},l.clearSelection(),l}function m(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=g.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",m],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,f],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,f],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new h(e.options,e.events,g.handleUndefinedResult(e.onTagAdding,!0),g.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(a,f,d,p){var h,m,v=[n,c,r,e,l,u,s],y=a.tagList,b=a.events,x=a.options,T=f.find("input"),w=["minTags","maxTags","allowLeftoverText"];h=function(){p.$setValidity("maxTags",y.items.length<=x.maxTags),p.$setValidity("minTags",y.items.length>=x.minTags),p.$setValidity("leftoverText",!(!a.hasFocus&&!x.allowLeftoverText)||!a.newTag.text())},m=function(){t((function(){T[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},a.newTag={text:function(e){return angular.isDefined(e)?(a.text=e,void b.trigger("input-change",e)):a.text||""},invalid:null},a.track=function(e){return e[x.keyProperty||x.displayProperty]},a.getTagClass=function(e,t){var n=e===y.selected;return[a.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},a.$watch("tags",(function(e){if(e){if(y.items=g.makeObjectArray(e,x.displayProperty),x.useStrings)return;a.tags=y.items}else y.items=[]})),a.$watch("tags.length",(function(){h(),p.$validate()})),d.$observe("disabled",(function(e){a.disabled=e})),a.eventHandlers={input:{keydown:function(e){b.trigger("input-keydown",e)},focus:function(){a.hasFocus||(a.hasFocus=!0,b.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===T[0],n=f[0].contains(e);(t||!n)&&(a.hasFocus=!1,b.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):o.clipboardData.getData("Text")},b.trigger("input-paste",e)}},host:{click:function(){a.disabled||m()}},tag:{click:function(e){b.trigger("tag-clicked",{$tag:e})}}},b.on("tag-added",a.onTagAdded).on("invalid-tag",a.onInvalidTag).on("tag-removed",a.onTagRemoved).on("tag-clicked",a.onTagClicked).on("tag-added",(function(){a.newTag.text("")})).on("tag-added tag-removed",(function(){a.tags=y.getItems(),p.$setDirty(),m()})).on("invalid-tag",(function(){a.newTag.invalid=!0})).on("option-change",(function(e){-1!==w.indexOf(e.name)&&h()})).on("input-change",(function(){y.clearSelection(),a.newTag.invalid=null})).on("input-focus",(function(){f.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&y.addText(a.newTag.text()),f.triggerHandler("blur"),h()})).on("input-keydown",(function(t){var i,o,f,d,p=t.keyCode,h={};g.isModifierOn(t)||-1===v.indexOf(p)||(h[n]=x.addOnEnter,h[c]=x.addOnComma,h[r]=x.addOnSpace,i=!x.addFromAutocompleteOnly&&h[p],o=(p===e||p===l)&&y.selected,d=p===e&&0===a.newTag.text().length&&x.enableEditingLastTag,f=(p===e||p===u||p===s)&&0===a.newTag.text().length&&!x.enableEditingLastTag,i?y.addText(a.newTag.text()):d?(y.selectPrior(),y.removeSelected().then((function(e){e&&a.newTag.text(e[x.displayProperty])}))):o?y.removeSelected():f&&(p===u||p===e?y.selectPrior():p===s&&y.selectNext()),(i||f||o||d)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){y.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,r){var o=r.registerTagItem(),a=o.getOptions();t.$$template=a.template,t.$$removeTagSymbol=a.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[a.displayProperty])},t.$removeTag=function(){o.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,r,u,s,l,c){function f(e,t,n){var i,r,o,a={};return o=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,o(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},a.reset=function(){r=null,a.items=[],a.visible=!1,a.index=-1,a.selected=null,a.query=null},a.show=function(){t.selectFirstMatch?a.select(0):a.selected=null,a.visible=!0},a.load=c.debounce((function(n,u){a.query=n;var l=s.when(e({$query:n}));r=l,l.then((function(e){l===r&&(e=c.makeObjectArray(e.data||e,o()),e=i(e,u),a.items=e.slice(0,t.maxResultsToShow),a.items.length>0?a.show():a.reset())}))}),t.debounceDelay),a.selectNext=function(){a.select(++a.index)},a.selectPrior=function(){a.select(--a.index)},a.select=function(e){0>e?e=a.items.length-1:e>=a.items.length&&(e=0),a.index=e,a.selected=a.items[e],n.trigger("suggestion-selected",e)},a.reset(),a}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 f(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,r,u,s){var l,f=[n,t,i,o,a],d=e.suggestionList,p=s.registerAutocomplete(),g=e.options,h=e.events;g.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=g.minLength||!e&&g.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[g.tagsInput.keyProperty||g.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();g.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(r){var u=r.keyCode,s=!1;if(!c.isModifierOn(r)&&-1!==f.indexOf(u))return d.visible?u===a?(d.selectNext(),s=!0):u===o?(d.selectPrior(),s=!0):u===i?(d.reset(),s=!0):(u===n||u===t)&&(s=e.addSuggestion()):u===a&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(r.preventDefault(),r.stopImmediatePropagation(),!1):void 0})),h.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),r=n.prop("offsetTop"),o=n.prop("offsetHeight"),a=i.prop("clientHeight"),u=i.prop("scrollTop");u>r?i.prop("scrollTop",r):r+o>a+u&&i.prop("scrollTop",r+o-a)}(r,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,r,o){var a=o.registerAutocompleteMatch(),u=a.getOptions();n.$$template=u.template,n.$index=n.$parent.$index,n.$highlight=function(n){return u.highlightMatchedText&&(n=t.safeHighlight(n,a.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[u.displayProperty||u.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,r){r((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,r){var o,a,u=e.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(o),a=function(e){var t,r=e;return angular.isString(r)&&0===r.length&&(r=i.placeholder),r&&(o.text(r),o.css("display",""),t=o.prop("offsetWidth"),o.css("display","none")),n.css("width",t?t+u+"px":""),e},r.$parsers.unshift(a),r.$formatters.unshift(a),i.$observe("placeholder",(function(e){r.$modelValue||a(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 r={};return r[String]=function(e){return e},r[Number]=function(e){return parseInt(e,10)},r[Boolean]=function(e){return"true"===e.toLowerCase()},r[RegExp]=function(e){return new RegExp(e)},{load:function(n,o,a,u){var s=function(){return!0};o.options={},angular.forEach(u,(function(u,l){var c,f,d,p,g,h;c=u[0],f=u[1],d=u[2]||s,p=r[c],g=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:f},h=function(e){o.options[l]=e&&d(e)?p(e):g()},t[n]&&t[n][l]?a.$observe(l,(function(e){h(e),o.events.trigger("option-change",{name:l,newValue:e})})):h(a[l]&&i(a[l])(o.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var r=arguments;e.cancel(i),i=e((function(){t.apply(null,r)}),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,r){var o=null;return r=r||n.defaultComparer,e.some((function(e){return r(e[i],t[i])?(o=e,!0):void 0})),o},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>')}])}()},770:function(e,t){!function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,u=[],s=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(u.push(i.value),u.length!==t);s=!0);}catch(e){l=!0,r=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function i(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,o=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n);if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key,"string"),"symbol"===e(o)?o:String(o)),r)}var o}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,r;return n=e,(r=[{key:"registerFor",value:function(e){var n,i,r,o;function a(e,n,i){var r=e[0],a=t({top:["scrollTop","pageYOffset","scrollLeft"],left:["scrollLeft","pageXOffset","scrollTop"]}[n],3),u=a[0],s=a[1],l=a[2],c=void 0!==i;return o(r)?c?r.scrollTo(e[l].call(e),i):s in r?r[s]:r.document.documentElement[u]:(c&&(r[u]=i),r[u])}function u(e,i,a){var u,s=function(e,i){var a,u,s,l,c,f,d,p,g,h;if(o(e))return{base:a=document.documentElement[{height:"clientHeight",width:"clientWidth"}[i]],padding:0,border:0,margin:0};var m=t({width:[e.offsetWidth,"Left","Right"],height:[e.offsetHeight,"Top","Bottom"]}[i],3);return a=m[0],d=m[1],p=m[2],f=r(e),g=n(e,f["padding"+d])||0,h=n(e,f["padding"+p])||0,u=n(e,f["border"+d+"Width"])||0,s=n(e,f["border"+p+"Width"])||0,l=f["margin"+d],c=f["margin"+p],{base:a,padding:g+h,border:u+s,margin:(n(e,l)||0)+(n(e,c)||0)}}(e,i);return s.base>0?{base:s.base-s.padding-s.border,outer:s.base,outerfull:s.base+s.margin}[a]:(((u=r(e)[i])<0||null===u)&&(u=e.style[i]||0),{base:(u=parseFloat(u)||0)-s.padding-s.border,outer:u,outerfull:u+s.padding+s.border+s.margin}[a])}return i=angular.element.prototype.css,e.prototype.css=function(e,t){var n=this[0];if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style)return i.call(this,e,t)},o=function(e){return e&&e.document&&e.location&&e.alert&&e.setInterval},window.getComputedStyle?(r=function(e){return window.getComputedStyle(e,null)},n=function(e,t){return parseFloat(t)}):(r=function(e){return e.currentStyle},n=function(e,t){var n,i,r,o,a;return new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i").test(t)?(n=(a=e.style).left,o=(r=e.runtimeStyle)&&r.left,r&&(r.left=a.left),a.left=t,i=a.pixelLeft,a.left=n,o&&(r.left=o),i):parseFloat(t)}),angular.forEach({before:function(e){var t,n,i,r,o,a;if(n=this[0],(t=(o=this.parent()).contents())[0]===n)return o.prepend(e);for(i=r=1,a=t.length-1;1<=a?r<=a:r>=a;i=1<=a?++r:--r)if(t[i]===n)return void angular.element(t[i-1]).after(e);throw new Error("invalid DOM structure "+n.outerHTML)},height:function(e){return void 0!==e?(angular.isNumber(e)&&(e+="px"),i.call(this,"height",e)):u(this[0],"height","base")},outerHeight:function(e){return u(this[0],"height",e?"outerfull":"outer")},outerWidth:function(e){return u(this[0],"width",e?"outerfull":"outer")},offset:function(e){var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(arguments.length){if(void 0===e)return this;throw new Error("offset setter method is not implemented")}if(o)return t=o.documentElement,null!=r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=o.defaultView||o.parentWindow,{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},scrollTop:function(e){return a(this,"top",e)},scrollLeft:function(e){return a(this,"left",e)}},(function(t,n){if(!e.prototype[n])return e.prototype[n]=t}))}}])&&i(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===o(r)?r:String(r)),i)}var r}var u="ng-ui-scroll-hide",s=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$animate=t.has&&t.has("$animate")?t.get("$animate"):null,this.isAngularVersionLessThen1_3=1===angular.version.major&&angular.version.minor<3,this.$q=n}var t,n,i;return t=e,i=[{key:"addCSSRules",value:function(){var e,t="."+u,n="display: none",i=document.styleSheets[0];try{e=i.cssRules.length}catch(t){e=0}"insertRule"in i?i.insertRule(t+"{"+n+"}",e):"addRule"in i&&i.addRule(t,n,e)}}],(n=[{key:"hideElement",value:function(e){e.element.addClass(u)}},{key:"showElement",value:function(e){e.element.removeClass(u)}},{key:"insertElement",value:function(e,t){return t.after(e),[]}},{key:"removeElement",value:function(e){return e.element.remove(),e.scope.$destroy(),[]}},{key:"insertElementAnimated",value:function(e,t){if(!this.$animate)return this.insertElement(e,t);if(this.isAngularVersionLessThen1_3){var n=this.$q.defer();return this.$animate.enter(e,null,t,(function(){return n.resolve()})),[n.promise]}return[this.$animate.enter(e,null,t)]}},{key:"removeElementAnimated",value:function(e){if(!this.$animate)return this.removeElement(e);if(this.isAngularVersionLessThen1_3){var t=this.$q.defer();return this.$animate.leave(e.element,(function(){return e.scope.$destroy(),t.resolve()})),[t.promise]}return[this.$animate.leave(e.element).then((function(){return e.scope.$destroy()}))]}}])&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),l="prepend",c="append",f="insert",d="remove",p="none";function g(e,t,n){var i=Object.create(Array.prototype);return angular.extend(i,{size:t,reset:function(e){i.remove(0,i.length),i.eof=!1,i.bof=!1,i.first=e,i.next=e,i.minIndex=e,i.maxIndex=e,i.minIndexUser=null,i.maxIndexUser=null},append:function(e){e.forEach((function(e){++i.next,i.insert(c,e)})),i.maxIndex=i.eof?i.next-1:Math.max(i.next-1,i.maxIndex)},prepend:function(e,t){e.reverse().forEach((function(e){t?++i.next:--i.first,i.insert(l,e)})),i.minIndex=i.bof?i.minIndex=i.first:Math.min(i.first,i.minIndex)},insert:function(e,t,n){var r={item:t};if(e%1==0)r.op=f,i.splice(e,0,r),n?i.first--:i.next++;else switch(r.op=e,e){case c:i.push(r);break;case l:i.unshift(r)}},remove:function(t,n){if(angular.isNumber(t)){for(var r=t;r<n;r++)e.removeElement(i[r]);return i.splice(t,n-t)}return i.splice(i.indexOf(t),1),t.shiftTop&&i.first===this.getAbsMinIndex()?this.incrementMinIndex():this.decrementMaxIndex(),t.shiftTop?i.first++:i.next--,i.length||(i.minIndex=Math.min(i.maxIndex,i.minIndex)),e.removeElementAnimated(t)},incrementMinIndex:function(){if(null!==i.minIndexUser){if(i.minIndex>i.minIndexUser)return void i.minIndexUser++;i.minIndex===i.minIndexUser&&i.minIndexUser++}i.minIndex++},decrementMaxIndex:function(){null!==i.maxIndexUser&&i.maxIndex<=i.maxIndexUser&&i.maxIndexUser--,i.maxIndex--},getAbsMinIndex:function(){return null!==i.minIndexUser?Math.min(i.minIndexUser,i.minIndex):i.minIndex},getAbsMaxIndex:function(){return null!==i.maxIndexUser?Math.max(i.maxIndexUser,i.maxIndex):i.maxIndex},effectiveHeight:function(e){if(!e.length)return 0;var t=Number.MAX_VALUE,n=Number.NEGATIVE_INFINITY;return e.forEach((function(e){e.element[0].offsetParent&&(t=Math.min(t,e.element.offset().top),n=Math.max(n,e.element.offset().top+e.element.outerHeight(!0)))})),Math.max(0,n-t)},getItems:function(){return i.filter((function(e){return e.op===p}))},getFirstItem:function(){var e=i.getItems();return e.length?e[0].item:null},getLastItem:function(){var e=i.getItems();return e.length?e[e.length-1].item:null}}),i.reset(n),i}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==h(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===h(r)?r:String(r)),i)}var r}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var b=function(){function e(){m(this,e)}return y(e,[{key:"add",value:function(e){for(var t=this.length-1;t>=0;t--)if(this[t].index===e.scope.$index)return void(this[t].height=e.element.outerHeight());this.push({index:e.scope.$index,height:e.element.outerHeight()}),this.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}))}},{key:"remove",value:function(e,t){for(var n=e%1==0?e:e.scope.$index,i=e%1==0?t:e.shiftTop,r=this.length-1;r>=0;r--)if(this[r].index===n){this.splice(r,1);break}if(!i)for(var o=this.length-1;o>=0;o--)this[o].index>n&&this[o].index--}},{key:"clear",value:function(){this.length=0}}]),e}();function x(){var e=[];return e.push.apply(e,arguments),Object.setPrototypeOf(e,x.prototype),e}x.prototype=Object.create(Array.prototype),Object.getOwnPropertyNames(b.prototype).forEach((function(e){return x.prototype[e]=b.prototype[e]}));var T=function(){function e(t){m(this,e),this.element=function(e){if(e.nodeType!==Node.ELEMENT_NODE)throw new Error("ui-scroll directive requires an Element node for templating the view");var t;switch(e.tagName.toLowerCase()){case"dl":throw new Error("ui-scroll directive does not support <".concat(e.tagName,"> as a repeating tag: ").concat(e.outerHTML));case"tr":t=angular.element("<table><tr><td><div></div></td></tr></table>").find("tr");break;case"li":t=angular.element("<li></li>");break;default:t=angular.element("<div></div>")}return t}(t),this.cache=new x}return y(e,[{key:"height",value:function(){return this.element.height.apply(this.element,arguments)}}]),e}();function w(e,t,n,i,r,o){var a=null,u=null,s=i&&i.viewport?i.viewport:angular.element(window),l=i&&i.container?i.container:void 0,c=i&&i.scope?i.scope:r;function f(){return s.outerHeight()*o}return s.css({"overflow-anchor":"none","overflow-y":"auto",display:"block"}),angular.extend(s,{getScope:function(){return c},createPaddingElements:function(e){a=new T(e),u=new T(e),n.before(a.element),n.after(u.element),a.height(0),u.height(0)},applyContainerStyle:function(){return!l||(l!==s&&s.css("height",window.getComputedStyle(l[0]).height),s.height()>0)},bottomDataPos:function(){var e=s[0].scrollHeight;return(e=null!=e?e:s[0].document.documentElement.scrollHeight)-u.height()},topDataPos:function(){return a.height()},bottomVisiblePos:function(){return s.scrollTop()+s.outerHeight()},topVisiblePos:function(){return s.scrollTop()},insertElement:function(t,n){return e.insertElement(t,n||a.element)},insertElementAnimated:function(t,n){return e.insertElementAnimated(t,n||a.element)},shouldLoadBottom:function(){return!t.eof&&s.bottomDataPos()<s.bottomVisiblePos()+f()},clipBottom:function(){for(var e=0,n=0,i=0,r=s.bottomDataPos()-s.bottomVisiblePos()-f(),o=t.length-1;o>=0&&!(n+(i=t[o].element.outerHeight(!0))>r);o--)u.cache.add(t[o]),n+=i,e++;e>0&&(t.eof=!1,t.remove(t.length-e,t.length),t.next-=e,s.adjustPaddings())},shouldLoadTop:function(){return!t.bof&&s.topDataPos()>s.topVisiblePos()-f()},clipTop:function(){for(var e=0,n=0,i=0,r=s.topVisiblePos()-s.topDataPos()-f(),o=0;o<t.length&&!(n+(i=t[o].element.outerHeight(!0))>r);o++)a.cache.add(t[o]),n+=i,e++;e>0&&(a.height(a.height()+n),t.bof=!1,t.remove(0,e),t.first+=e)},adjustPaddings:function(){if(t.length){var e=t.reduce((function(e,t){return e+t.element.outerHeight(!0)}),0),n=0,i=0;a.cache.forEach((function(e){e.index<t.first&&(n+=e.height,i++)}));var r=0,o=0;u.cache.forEach((function(e){e.index>=t.next&&(r+=e.height,o++)}));var s=(e+n+r)/(i+o+t.length),l=null!==t.minIndexUser&&t.minIndex>t.minIndexUser,c=null!==t.maxIndexUser&&t.maxIndex<t.maxIndexUser,f=l?(t.minIndex-t.minIndexUser)*s:0,d=c?(t.maxIndexUser-t.maxIndex)*s:0;a.height(n+f),u.height(r+d)}},onAfterMinIndexSet:function(e){if(null!==t.minIndexUser&&t.minIndex>t.minIndexUser){var n=a.height()-e;for(s.scrollTop(s.scrollTop()+n);(n-=s.scrollTop())>0;)u.height(u.height()+n),s.scrollTop(s.scrollTop()+n)}},onAfterPrepend:function(e){if(e.prepended.length){var n=t.effectiveHeight(e.prepended),i=a.height()-n;if(i>=0)a.height(i);else{var r=s.scrollTop(),o=r-i;s.synthetic={previous:r,next:o},a.height(0),s.scrollTop(o)}}},resetTopPadding:function(){a.height(0),a.cache.clear()},resetBottomPadding:function(){u.height(0),u.cache.clear()},removeCacheItem:function(e,t){a.cache.remove(e,t),u.cache.remove(e,t)},removeItem:function(e){return this.removeCacheItem(e),t.remove(e)}}),s}function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!==$(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key,"string"),"symbol"===$(r)?r:String(r)),i)}var r}var I=function(){function e(t,n,i,r,o,a,u){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$parse=n,this.$attr=i,this.viewport=r,this.buffer=o,this.doAdjust=a,this.reload=u,this.isLoading=!1,this.disabled=!1;var s=r.getScope();this.startScope=s.$parent?s:t,this.publicContext={},this.assignAdapter(i.adapter),this.generatePublicContext()}var t,n;return t=e,(n=[{key:"assignAdapter",value:function(e){if(e&&(e=e.replace(/^\s+|\s+$/gm,""))){var t;try{this.$parse(e).assign(this.startScope,{}),t=this.$parse(e)(this.startScope)}catch(t){throw t.message="Angular ui-scroll Adapter assignment exception.\n"+"Can't parse \"".concat(e,'" expression.\n')+t.message,t}angular.extend(t,this.publicContext),this.publicContext=t}}},{key:"generatePublicContext",value:function(){for(var e=this,t=["reload","applyUpdates","append","prepend","isBOF","isEOF","isEmpty"],n=t.length-1;n>=0;n--)this.publicContext[t[n]]=this[t[n]].bind(this);for(var i=["isLoading","topVisible","topVisibleElement","topVisibleScope","bottomVisible","bottomVisibleElement","bottomVisibleScope"],r=function(t){var n,r=e.$attr[i[t]];Object.defineProperty(e,i[t],{get:function(){return n},set:function(o){n=o,e.publicContext[i[t]]=o,r&&e.$parse(r).assign(e.startScope,o)}})},o=i.length-1;o>=0;o--)r(o);for(var a=["bufferFirst","bufferLast","bufferLength"],u=function(t){Object.defineProperty(e.publicContext,a[t],{get:function(){return e[a[t]]}})},s=a.length-1;s>=0;s--)u(s);Object.defineProperty(this.publicContext,"disabled",{get:function(){return e.disabled},set:function(t){return(e.disabled=t)?null:e.doAdjust()}})}},{key:"loading",value:function(e){this.isLoading=e}},{key:"isBOF",value:function(){return this.buffer.bof}},{key:"isEOF",value:function(){return this.buffer.eof}},{key:"isEmpty",value:function(){return!this.buffer.length}},{key:"bufferLength",get:function(){return this.buffer.getItems().length}},{key:"bufferFirst",get:function(){return this.buffer.getFirstItem()}},{key:"bufferLast",get:function(){return this.buffer.getLastItem()}},{key:"append",value:function(e){this.buffer.append(e),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"prepend",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.prepend(e,t.immutableTop),this.doAdjust(),this.viewport.clipTop(),this.viewport.clipBottom()}},{key:"applyUpdates",value:function(e,t,n){"function"==typeof e?this.applyUpdatesFunc(e,t):this.applyUpdatesIndex(e,t,n),this.doAdjust()}},{key:"applyUpdatesFunc",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.buffer.slice(0).forEach((function(i){t.applyUpdate(i,e(i.item,i.scope,i.element),n)}))}},{key:"applyUpdatesIndex",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e%1!=0)throw new Error("applyUpdates - "+e+" is not a valid index (should be an integer)");var i=e-this.buffer.first;i>=0&&i<this.buffer.length?this.applyUpdate(this.buffer[i],t,n):e>=this.buffer.getAbsMinIndex()&&e<=this.buffer.getAbsMaxIndex()&&angular.isArray(t)&&!t.length&&(this.viewport.removeCacheItem(e,!n.immutableTop&&e===this.buffer.minIndex),n.immutableTop||e!==this.buffer.getAbsMinIndex()?this.buffer.decrementMaxIndex():this.buffer.incrementMinIndex())}},{key:"applyUpdate",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(angular.isArray(t)){var r=this.buffer.indexOf(e);t.reverse().some((function(t){return t===e.item}))||(e.op=d,i.immutableTop||t.length||(0===r&&this.buffer.bof||0!==r&&this.buffer[r-1].shiftTop)&&(e.shiftTop=!0)),t.forEach((function(t){t===e.item?r--:n.buffer.insert(r+1,t,!i.immutableTop&&-1===r)}))}}},{key:"calculateProperties",value:function(){for(var e=null,t=0,n=!1,i=!1,r=this.buffer.length,o=0;o<r;o++){var a=this.buffer[o],u=a.element.offset().top;if(e!==u){var s=a.element.outerHeight(!0),l=this.viewport.topDataPos()+t+s;!n&&l>this.viewport.topVisiblePos()&&(n=!0,this.topVisible=a.item,this.topVisibleElement=a.element,this.topVisibleScope=a.scope),!i&&(l>=this.viewport.bottomVisiblePos()||o===r-1&&this.isEOF())&&(i=!0,this.bottomVisible=a.item,this.bottomVisibleElement=a.element,this.bottomVisibleScope=a.scope),t+=s}if(e=u,n&&i)break}}}])&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();angular.module("ui.scroll",[]).constant("JQLiteExtras",r).run(["JQLiteExtras",function(e){var t=angular.element;!(window.jQuery&&t.fn&&t.fn.jquery)&&(new e).registerFor(t),s.addCSSRules()}]).directive("uiScrollViewport",(function(){return{restrict:"A",controller:["$scope","$element",function(e,t){var n=this;return this.container=t,this.viewport=t,this.scope=e,angular.forEach(t.children(),(function(e){"tbody"===e.tagName.toLowerCase()&&(n.viewport=angular.element(e))})),this}]}})).directive("uiScroll",["$log","$injector","$rootScope","$timeout","$interval","$q","$parse",function(e,t,n,i,r,o,a){return{require:["?^uiScrollViewport"],restrict:"A",transclude:"element",priority:1e3,terminal:!0,link:function(e,u,h,m,v){var y=h.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);if(!y)throw new Error("Expected uiScroll in form of '_item_ in _datasource_' but got '"+h.uiScroll+"'");function b(e,t,n){return n||(e=null===e?t:Math.floor(e)),isNaN(e)?t:e}function x(t,n,i){return b(a(t)(e),n,i)}var T,$,S=null,E=y[1],P=y[2],k=m[0],O=Math.max(3,x(h.bufferSize,10)),A=Math.max(.3,x(h.padding,.5,!0)),C=(T=h.handleInertia,!0,"boolean"!=typeof($=a(T)(e))||$),L=x(h.startIndex,1),j=0,U=[],M=new s(t,o),D=new g(M,O,L),V=new w(M,D,u,k,n,A),H=new I(e,a,h,V,D,Z,(function(){_(),V.resetTopPadding(),V.resetBottomPadding(),arguments.length&&(L=b(arguments[0],1,!1)),D.reset(L),F(S,"minIndex"),F(S,"maxIndex"),Z()}));k&&(k.adapter=H);var B=function(){return"[object Object]"===Object.prototype.toString.call(S)&&"function"==typeof S.get};if(S=a(P)(e),!B()&&(S=t.get(P),!B()))throw new Error(P+" is not a valid datasource");var N=[];function F(e,t){var n;angular.isNumber(e[t])&&(n=e[t],angular.isNumber(n)&&(N=N.filter((function(e){return e.id!==t}))).push({id:t,run:function(){return e[t]=n}}))}function R(e,t,n){var i,r=Object.getOwnPropertyDescriptor(e,t);r&&(r.set||r.get)||(F(e,t),Object.defineProperty(e,t,{set:function(r){if(i=r,!U.length||D.length){D[n]=r;var o=V.topDataPos();V.adjustPaddings(),"minIndex"===t&&V.onAfterMinIndexSet(o)}else F(e,t)},get:function(){return i}}))}R(S,"minIndex","minIndexUser"),R(S,"maxIndex","maxIndexUser");var q=2!==S.get.length?function(e){return S.get(D.next,O,e)}:function(e){S.get({index:D.next,append:D.length?D[D.length-1].item:void 0,count:O},e)},W=2!==S.get.length?function(e){return S.get(D.first-O,O,e)}:function(e){S.get({index:D.first-O,prepend:D.length?D[0].item:void 0,count:O},e)};function z(t){return t&&t!==j||e.$$destroyed}function _(){V.off("resize",ne),V.off("scroll",ne)}function Q(e){return e.element.height()&&e.element[0].offsetParent}function J(e,t){K(e,t,V.insertElement),Q(e)||(e.unregisterVisibilityWatcher=e.scope.$watch((function(){return function(e){Q(e)&&(D.forEach((function(e){"function"==typeof e.unregisterVisibilityWatcher&&(e.unregisterVisibilityWatcher(),delete e.unregisterVisibilityWatcher)})),U.length||i((function(){return Z()})))}(e)}))),M.hideElement(e)}function K(e,t,n){var i=null,r=t>0?D[t-1].element:void 0;if(v((function(t,o){i=n(t,r),e.element=t,e.scope=o,o[E]=e.item})),H.transform){var o=e.scope.uiScrollTdInitializer;o&&o.linking?H.transform(e.scope,e.element):e.scope.uiScrollTdInitializer={onLink:function(){return H.transform(e.scope,e.element)},scope:e.scope}}return i}function X(e,t){t.animated.length?o.all(t.animated).then((function(){V.adjustPaddings(),Z(e)})):V.adjustPaddings()}function Y(e,t){V.shouldLoadBottom()?(!t||D.effectiveHeight(t.inserted)>0)&&1===U.push(!0)&&(H.loading(!0),te(e)):V.shouldLoadTop()&&(!t||D.effectiveHeight(t.prepended)>0||U[0])&&1===U.push(!1)&&(H.loading(!0),te(e))}function G(){var t,i,r,o,a=(t=[],i=[],r=[],o=[],D.forEach((function(e,n){switch(e.op){case l:i.unshift(e);break;case c:J(e,n),e.op=p,o.push(e);break;case f:t=t.concat(K(e,n,V.insertElementAnimated)),e.op=p,o.push(e);break;case d:r.push(e)}})),r.forEach((function(e){return t=t.concat(V.removeItem(e))})),i.length&&i.forEach((function(e){J(e),e.op=p})),D.forEach((function(e,t){return e.scope.$index=D.first+t})),{prepended:i,removed:r,inserted:o,animated:t});return!e.$$phase&&!n.$$phase&&e.$digest(),a.inserted.forEach((function(e){return M.showElement(e)})),a.prepended.forEach((function(e){return M.showElement(e)})),a}function Z(e){e||(U=[],e=++j);var t=G();z(e)||(X(e,t),Y(e),U.length||H.calculateProperties())}function ee(e){var t=G();V.onAfterPrepend(t),z(e)||(X(e,t),N.forEach((function(e){return e.run()})),N=[],Y(e,t),U.shift(),U.length?te(e):(H.loading(!1),V.on("resize",ne),V.on("scroll",ne),H.calculateProperties()))}function te(e){U[0]?D.length&&!V.shouldLoadBottom()?ee(e):q((function(t){z(e)||(t.length<O&&(D.eof=!0),t.length>0&&(V.clipTop(),D.append(t)),ee(e))})):D.length&&!V.shouldLoadTop()?ee(e):W((function(t){z(e)||(t.length<O&&(D.bof=!0),t.length>0&&(D.length&&V.clipBottom(),D.prepend(t)),ee(e))}))}function ne(){C&&function(){if(V.synthetic){var e=V.synthetic.previous,t=V.synthetic.next;if(V.scrollTop()!==t)return requestAnimationFrame((function(){var n=V.scrollTop(),i=e-n;i>0?V.scrollTop(t-i):V.scrollTop(t),V.synthetic=null})),!0;V.synthetic=null}}()||n.$$phase||H.isLoading||H.disabled||(Y(j),U.length?_():(H.calculateProperties(),!e.$$phase&&e.$digest()))}function ie(e){if(!H.disabled){var t=V[0].scrollTop,n=V[0].scrollHeight-V[0].clientHeight;(0===t&&!D.bof||t===n&&!D.eof)&&e.preventDefault()}}v((function(e,t){V.createPaddingElements(e[0]),t.$destroy(),e.remove()})),e.$on("$destroy",(function(){_(),V.off("mousewheel",ie)})),V.on("mousewheel",ie),function(){var e=0;if(V.applyContainerStyle())Z();else var t=r((function(){if(e++,V.applyContainerStyle()&&(r.cancel(t),Z()),50*e>=500)throw r.cancel(t),Error("ui-scroll directive requires a viewport with non-zero height in ".concat(500,"ms"))}),50)}()}}}])}()},771:function(e,t){!function(){"use strict";angular.module("ui.scroll.jqlite",[])}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[65,82,287],{190:function(e,t,o){"use strict";o.r(t);o(41);var n=o(97),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(R(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const h=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}));const R=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},296:function(e,t,o){"use strict";o.r(t);o(190);angular.module("graphdb.framework.autocomplete",["ngRoute","graphdb.framework.autocomplete.controllers"])},97:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[66,82,287],{190:function(e,t,o){"use strict";o.r(t);o(40);var n=o(97),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(R(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const h=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}));const R=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},296:function(e,t,o){"use strict";o.r(t);o(190);angular.module("graphdb.framework.autocomplete",["ngRoute","graphdb.framework.autocomplete.controllers"])},97:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[67,91,139],{101:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])},238:function(e,i,a){"use strict";a.r(i);a(42),a(101);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},310:function(e,i,a){"use strict";a.r(i);a(238);angular.module("graphdb.framework.guides",["ui.bootstrap","graphdb.framework.guides.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[67,90,137],{100:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])},238:function(e,i,a){"use strict";a.r(i);a(42),a(100);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},310:function(e,i,a){"use strict";a.r(i);a(238);angular.module("graphdb.framework.guides",["ui.bootstrap","graphdb.framework.guides.controllers"])}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[68,91,315],{117:function(t,o,e){"use strict";e.r(o);var i=e(96);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(t,o,e,r){r.$validators.validUrl=function(t,o){if(r.$isEmpty(o))return"false"!==e.allowEmpty;if(!i.UrlUtils.isValidUrl(o))return!1;if(e.exclude&&!i.UrlUtils.doesNotContain(o,e.exclude))return!1;if(e.excludeProtocol){const t=e.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(o,t))return!1}return!0}}}}))},187:function(t,o,e){"use strict";e.r(o);var i=e(21);e(117);function r(t,o,e,r){t.RemoteLocationType=i.RemoteLocationType,t.RemoteLocationAuthType=i.RemoteLocationAuthType,t.isEdit=!!r.remoteLocation,t.remoteLocation=r.remoteLocation?new i.RemoteLocationModel({...r.remoteLocation}):new i.RemoteLocationModel,t.docBase="https://graphdb.ontotext.com/documentation/"+e.productShortVersion,t.ok=()=>{t.remoteLocationForm.$pristine||t.remoteLocationForm.$invalid||o.close(t.remoteLocation)},t.cancel=()=>{o.dismiss("cancel")},t.onLocationTypeChanged=()=>{i.RemoteLocationType.ONTOPIC===t.remoteLocation.locationType?t.remoteLocation.authType=i.RemoteLocationAuthType.BASIC:t.remoteLocation.authType=i.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",r),r.$inject=["$scope","$uibModalInstance","productInfo","data"]},96:function(t,o,e){"use strict";e.r(o),e.d(o,"UrlUtils",(function(){return n}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,r=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class n{static isValidUrl(t){return i.test(t)||r.test(t)}static doesNotContain(t,o){return!new RegExp(o).test(t)}static doesNotUseProtocol(t,o){return!new RegExp("^("+o.join("|")+")://","i").test(t)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[69,141,142],{118: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)}},119: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)}},148:function(e,r,n){"use strict";n.r(r);var t=n(573),o=n(118),s=n(119);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([[69,140,141],{118: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)}},119: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)}},148:function(e,r,n){"use strict";n.r(r);var t=n(571),o=n(118),s=n(119);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([[7,53,69,138,141,142,306],{118: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)}},119: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)}},148:function(e,t,n){"use strict";n.r(t);var o=n(573),r=n(118),a=n(119);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"]},183:function(e,t,n){"use strict";n.r(t);n(205),n(206);var o=n(71),r=n(114);function a(e,t,n,a){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(i,s,c)=>{i.ExplainQueryType=r.ExplainQueryType,i.repositoryId=void 0,i.markdownContentOptions=void 0,i.agentNameByIdMap={},i.explainResponseModel={},i.loadingExplainResponse={},i.regenerateQuestion=()=>{i.onRegenerateQuestion({chatItem:i.chatItemDetail})},i.explainResponse=o=>{n.hasExplainResponse(o)?n.toggleExplainResponse(o):(i.loadingExplainResponse[o]=!0,a.explainResponse(i.chatItemDetail,o).then(e=>{n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>i.loadingExplainResponse[o]=!1))},i.onAskHowAnswerWasDerived=()=>{i.onAskHowDeliveredAnswer({chatItem:i.chatItemDetail})},i.onOpenInSparqlEditor=e=>{i.chatItemDetail.agentId&&n.emit(o.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:i.repositoryId})},i.showRawQuery=e=>{const t=e.rawQuery.replace(/\s+/g,""),n=e.query.replace(/\s+/g,"");return t&&t!==n},i.getRepositoryId=e=>{const t=n.getAgent(i.chatItemDetail.agentId);return t?t.repositoryId:""};const l=()=>{i.chatItemDetail.answers.forEach(e=>{i.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},d=[];d.push(n.onExplainResponseCacheUpdated(()=>{l()})),d.push(n.onAgentsListChanged(()=>{i.agentNameByIdMap=n.getAgents().agentNameByIdMap})),i.$on("$destroy",()=>{d.forEach(e=>e())}),i.repositoryId=i.getRepositoryId(),i.markdownContentOptions={repositoryId:i.repositoryId},l()}}}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",a),a.$inject=["toastr","$translate","TTYGContextService","TTYGService"]},205:function(e,t,n){"use strict";n.r(t);n(148);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"]},206:function(e,t,n){"use strict";n.r(t);var o=n(0);function r(e,t,n,r){return{template:'<button class="open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()"><i class="icon-sparql"></i></button>',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"]},71:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return a}));var o=n(30);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),T(a.CHAT_LIST_UPDATED,p())},u=()=>Object(o.cloneDeep)(r),A=()=>Object(o.cloneDeep)(i),g=()=>Object(o.cloneDeep)(s),C=e=>!!s[e],_=()=>l,T=(t,n)=>{e.emitSync(t,Object(o.cloneDeep)(n))},h=(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:T,subscribe:h,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()),h(a.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:u,selectChat:e=>{r&&r.id===e.id||(r=Object(o.cloneDeep)(e),T(a.SELECT_CHAT,u()))},deleteChat:e=>{n.deleteChat(e),E(n)},onSelectedChatChanged:e=>(r&&angular.isFunction(e)&&e(u()),h(a.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(o.cloneDeep)(e),T(a.SELECTED_CHAT_UPDATED,u()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(u()),h(a.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(o.cloneDeep)(e),T(a.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),h(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),T(a.AGENT_SELECTED,A())},getSelectedAgent:A,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(A()),h(a.AGENT_SELECTED,t=>e(t))),hasExplainResponse:C,toggleExplainResponse:e=>{C(e)&&(s[e].expanded=!s[e].expanded,T(a.EXPLAIN_RESPONSE_CACHE_UPDATED,g()))},getExplainResponse:e=>Object(o.cloneDeep)(s[e]),addExplainResponseCache:e=>{s[e.answerId]=Object(o.cloneDeep)(e),T(a.EXPLAIN_RESPONSE_CACHE_UPDATED,g())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(g()),h(a.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(o.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(o.cloneDeep)(e),T(a.CAN_MODIFY_AGENT_UPDATED,_())},getCanModifyAgent:_,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(_()),h(a.CAN_MODIFY_AGENT_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",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",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([[7,54,69,136,140,141,306],{118: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)}},119: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)}},148:function(e,t,n){"use strict";n.r(t);var o=n(571),r=n(118),a=n(119);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"]},183:function(e,t,n){"use strict";n.r(t);n(205),n(206);var o=n(71),r=n(114);function a(e,t,n,a){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(i,s,c)=>{i.ExplainQueryType=r.ExplainQueryType,i.repositoryId=void 0,i.markdownContentOptions=void 0,i.agentNameByIdMap={},i.explainResponseModel={},i.loadingExplainResponse={},i.regenerateQuestion=()=>{i.onRegenerateQuestion({chatItem:i.chatItemDetail})},i.explainResponse=o=>{n.hasExplainResponse(o)?n.toggleExplainResponse(o):(i.loadingExplainResponse[o]=!0,a.explainResponse(i.chatItemDetail,o).then(e=>{n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>i.loadingExplainResponse[o]=!1))},i.onAskHowAnswerWasDerived=()=>{i.onAskHowDeliveredAnswer({chatItem:i.chatItemDetail})},i.onOpenInSparqlEditor=e=>{i.chatItemDetail.agentId&&n.emit(o.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:i.repositoryId})},i.showRawQuery=e=>{const t=e.rawQuery.replace(/\s+/g,""),n=e.query.replace(/\s+/g,"");return t&&t!==n},i.getRepositoryId=e=>{const t=n.getAgent(i.chatItemDetail.agentId);return t?t.repositoryId:""};const l=()=>{i.chatItemDetail.answers.forEach(e=>{i.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},d=[];d.push(n.onExplainResponseCacheUpdated(()=>{l()})),d.push(n.onAgentsListChanged(()=>{i.agentNameByIdMap=n.getAgents().agentNameByIdMap})),i.$on("$destroy",()=>{d.forEach(e=>e())}),i.repositoryId=i.getRepositoryId(),i.markdownContentOptions={repositoryId:i.repositoryId},l()}}}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",a),a.$inject=["toastr","$translate","TTYGContextService","TTYGService"]},205:function(e,t,n){"use strict";n.r(t);n(148);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"]},206:function(e,t,n){"use strict";n.r(t);var o=n(0);function r(e,t,n,r){return{template:'<button class="open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()"><i class="icon-sparql"></i></button>',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"]},71:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return a}));var o=n(30);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),T(a.CHAT_LIST_UPDATED,p())},u=()=>Object(o.cloneDeep)(r),A=()=>Object(o.cloneDeep)(i),g=()=>Object(o.cloneDeep)(s),C=e=>!!s[e],_=()=>l,T=(t,n)=>{e.emitSync(t,Object(o.cloneDeep)(n))},h=(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:T,subscribe:h,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()),h(a.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:u,selectChat:e=>{r&&r.id===e.id||(r=Object(o.cloneDeep)(e),T(a.SELECT_CHAT,u()))},deleteChat:e=>{n.deleteChat(e),E(n)},onSelectedChatChanged:e=>(r&&angular.isFunction(e)&&e(u()),h(a.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(o.cloneDeep)(e),T(a.SELECTED_CHAT_UPDATED,u()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(u()),h(a.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(o.cloneDeep)(e),T(a.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),h(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),T(a.AGENT_SELECTED,A())},getSelectedAgent:A,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(A()),h(a.AGENT_SELECTED,t=>e(t))),hasExplainResponse:C,toggleExplainResponse:e=>{C(e)&&(s[e].expanded=!s[e].expanded,T(a.EXPLAIN_RESPONSE_CACHE_UPDATED,g()))},getExplainResponse:e=>Object(o.cloneDeep)(s[e]),addExplainResponseCache:e=>{s[e.answerId]=Object(o.cloneDeep)(e),T(a.EXPLAIN_RESPONSE_CACHE_UPDATED,g())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(g()),h(a.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(o.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(o.cloneDeep)(e),T(a.CAN_MODIFY_AGENT_UPDATED,_())},getCanModifyAgent:_,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(_()),h(a.CAN_MODIFY_AGENT_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",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",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([[70,177,179],{251: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"]},252: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.0-TR11">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},324:function(r,i,e){"use strict";e.r(i);e(7),e(31),e(239),e(251),e(252),e(289),e(32),e(67),e(68);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([[70,176,178],{251: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"]},252: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.0-TR13">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},324:function(r,i,e){"use strict";e.r(i);e(7),e(31),e(239),e(251),e(252),e(289),e(32),e(67),e(68);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([[71,96,194],{242:function(e,t,i){"use strict";i.r(t);var n=i(96);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}}},75: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"}},96:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(30),s=i(75);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"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[71,95,194],{242:function(e,t,i){"use strict";i.r(t);var n=i(95);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}}},75: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"}},95:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(30),s=i(75);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"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72,182,184,185],{147: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"}},202:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(147),n=t(92);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",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",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}},92: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}));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"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[72,182,184,185],{147: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"}},200:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(147),n=t(91);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",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",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}},91: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}));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"}}}]);