graphdb-workbench 2.8.0-TR6 → 2.8.0-TR8

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 (515) hide show
  1. package/dist/{0.0a1170a45e17382e4a5d.bundle.js → 0.fe4729a97f549d99e76c.bundle.js} +3 -3
  2. package/dist/{1.c30be489ed39606b2f05.bundle.js → 1.7eaaf20521951cc7a34b.bundle.js} +1 -1
  3. package/dist/{92.85cd3847caf6206077c7.bundle.js → 10.1b9fbe84bc39ee775860.bundle.js} +1 -1
  4. package/dist/100.3c25fd5fbf68ae226f3d.bundle.js +1 -0
  5. package/dist/{100.ac947bd8c6a4ddb921a3.bundle.js → 101.efee805298ed9cca96df.bundle.js} +1 -1
  6. package/dist/102.ef703a292a5ee7aa66af.bundle.js +1 -0
  7. package/dist/103.f3f23e844de200847c30.bundle.js +1 -0
  8. package/dist/104.93934ce6ee9d1071af34.bundle.js +1 -0
  9. package/dist/{104.5aedd8bbdec3f65d8075.bundle.js → 105.52556dcf30d72aa57237.bundle.js} +1 -1
  10. package/dist/{105.efa7f6ae768f558255da.bundle.js → 106.b2e134406918991254c8.bundle.js} +1 -1
  11. package/dist/{106.1c2686a7db08aa33e094.bundle.js → 107.ad5741bd760d84cfc5e8.bundle.js} +1 -1
  12. package/dist/{107.05c1fa57812c93dee908.bundle.js → 108.5e35a9902a05a571a342.bundle.js} +1 -1
  13. package/dist/{108.158be0de3faa959ea085.bundle.js → 109.33f1be47a70db0de4dbb.bundle.js} +1 -1
  14. package/dist/{10.72feb8642673ff99c3da.bundle.js → 11.f585c7887b0c7058f132.bundle.js} +1 -1
  15. package/dist/{109.832fa2db484029ae6ac1.bundle.js → 110.88a666b809893a80ed10.bundle.js} +1 -1
  16. package/dist/{110.83bcc3c2b65bdf035da7.bundle.js → 111.5795ff600dae99d135b3.bundle.js} +1 -1
  17. package/dist/{111.f12532c15e219c23d5a1.bundle.js → 112.5d580a4e68f29bd96072.bundle.js} +1 -1
  18. package/dist/{112.4ff0e8c2ac67ad5cd08e.bundle.js → 113.dc84c0d9d10073168a66.bundle.js} +1 -1
  19. package/dist/{113.a00cdcd090f2985d4f29.bundle.js → 114.9c6c37cccff476323479.bundle.js} +1 -1
  20. package/dist/{114.d195868566828742895a.bundle.js → 115.f5db213caf686c4c4bf0.bundle.js} +1 -1
  21. package/dist/{115.fdc4bfe30f11c8ddf59f.bundle.js → 116.c14833d4340ae24b1add.bundle.js} +1 -1
  22. package/dist/117.5769784e4fe7d9b070ee.bundle.js +1 -0
  23. package/dist/{117.4910ccbeaf6fd451b718.bundle.js → 118.5565a6a7e6a6fd913f6c.bundle.js} +1 -1
  24. package/dist/119.71cacd8d5417aacdfee9.bundle.js +1 -0
  25. package/dist/{11.1322d3e0bab99b918c7f.bundle.js → 12.0312a2d90554c15d3009.bundle.js} +1 -1
  26. package/dist/120.cdf6131a41b72d728a14.bundle.js +1 -0
  27. package/dist/{120.881ed5b94615ce5aed9c.bundle.js → 121.493c36d2d1a28d55a109.bundle.js} +1 -1
  28. package/dist/{121.3af3488244cafeabadb1.bundle.js → 122.e789cad9a683b5eb05ce.bundle.js} +1 -1
  29. package/dist/{122.d33f91e410e0fd02775b.bundle.js → 123.b788446b2f91f3a5904b.bundle.js} +1 -1
  30. package/dist/{123.e5da21362b19df85f596.bundle.js → 124.686544ec11c83be3e837.bundle.js} +1 -1
  31. package/dist/{124.0fd77686faa2740e8e15.bundle.js → 125.671763e149e1f0d072c3.bundle.js} +1 -1
  32. package/dist/{125.e582125b0bc248be36b9.bundle.js → 126.dec860491ecb0179a5d6.bundle.js} +1 -1
  33. package/dist/{126.e3c07992a8c2297ab3ba.bundle.js → 127.b9d72edac7300bdf5465.bundle.js} +1 -1
  34. package/dist/{127.9c54fa4bd2fdb0b95cd8.bundle.js → 128.99cc83ce5b72779f96d1.bundle.js} +1 -1
  35. package/dist/{128.83168f47ace99f55b749.bundle.js → 129.2567d1b4e4f8da910706.bundle.js} +1 -1
  36. package/dist/{12.8462b9d8fa51db60a50d.bundle.js → 13.713ba0eb2efb2fae5581.bundle.js} +11 -11
  37. package/dist/{129.7ecff8ecf2d2d5d574e0.bundle.js → 130.4d28f0d6454349513e3b.bundle.js} +1 -1
  38. package/dist/{130.d61c14cf75b26f176fa5.bundle.js → 131.406a0bd6d18805b233bd.bundle.js} +1 -1
  39. package/dist/{131.a092d31500571d5559a2.bundle.js → 132.eeb929e6e556a5896695.bundle.js} +1 -1
  40. package/dist/{132.252aa274f5441069e887.bundle.js → 133.2527ae61d051ccc92449.bundle.js} +1 -1
  41. package/dist/{133.e7dff3c968b909c3f14a.bundle.js → 134.c8d1a0beb2c4135bee49.bundle.js} +1 -1
  42. package/dist/{134.795ce48dfe5c42858b5c.bundle.js → 135.e871091835d86128fdeb.bundle.js} +1 -1
  43. package/dist/{135.d8459891aab457980f3d.bundle.js → 136.dfc8598885e7413fddb2.bundle.js} +1 -1
  44. package/dist/{136.a2e66dd7c1802cf71923.bundle.js → 137.27be842f789ab617b72a.bundle.js} +1 -1
  45. package/dist/{137.cd0bd3c852d91cd52039.bundle.js → 138.3352262ff6ad4d8b1959.bundle.js} +1 -1
  46. package/dist/{138.392e19b553d396d3abf8.bundle.js → 139.49a76322eb779c1eef80.bundle.js} +1 -1
  47. package/dist/{13.4ad80d43dfe8b11cd336.bundle.js → 14.0a895a968a030eb0581c.bundle.js} +1 -1
  48. package/dist/{139.c06fdfc66490871efcba.bundle.js → 140.dbac87117c8e9e49228e.bundle.js} +1 -1
  49. package/dist/{140.aa3fc67ac98214208518.bundle.js → 141.054afe20ca27c6c05d43.bundle.js} +1 -1
  50. package/dist/{141.1b6a2011d56c43aacbb0.bundle.js → 142.3ccc1b25778c2c3b5a05.bundle.js} +1 -1
  51. package/dist/{142.36b7fef40b5e09859bd6.bundle.js → 143.bf5fd5ebf5352923407c.bundle.js} +1 -1
  52. package/dist/{143.79fab644a1361180938a.bundle.js → 144.fa80298e34eb03ee93ee.bundle.js} +1 -1
  53. package/dist/{144.8877519f3bd8ea7c0568.bundle.js → 145.d661c97bb62292f5bb80.bundle.js} +1 -1
  54. package/dist/{145.10fbb7d25cd97d85fef2.bundle.js → 146.518bf4c2d2cf71e19f4e.bundle.js} +1 -1
  55. package/dist/{146.7b84006e2a961f6f023b.bundle.js → 147.781930c4156e2696be30.bundle.js} +1 -1
  56. package/dist/{147.34fbf0960a2ce820c415.bundle.js → 148.093f49fb6e5e1d4df64b.bundle.js} +1 -1
  57. package/dist/{148.9c73e275c18413fe3efe.bundle.js → 149.6223eb2c20cab24ecb8d.bundle.js} +1 -1
  58. package/dist/{14.e52beb145d6035144888.bundle.js → 15.92b811f2e6eea4754d16.bundle.js} +1 -1
  59. package/dist/{149.97d1aa6bc64585e2e23d.bundle.js → 150.efc851a1070bd0fb5a86.bundle.js} +1 -1
  60. package/dist/{150.df6d28b1b46ca0bf38ef.bundle.js → 151.44aa4778a8a0f9da4676.bundle.js} +1 -1
  61. package/dist/{151.dff3fca027d218f50ed4.bundle.js → 152.4011d597b045cf49ec04.bundle.js} +1 -1
  62. package/dist/{152.4a999af7f3dc9e6c159f.bundle.js → 153.91676bcd55e8fa5f4068.bundle.js} +1 -1
  63. package/dist/{153.2dc0877cab53cb924cde.bundle.js → 154.82a197ccff717f884416.bundle.js} +1 -1
  64. package/dist/{154.26d1e0d5308232e88b69.bundle.js → 155.e5598e56d652d0e734e1.bundle.js} +1 -1
  65. package/dist/{155.e86fa748e7554cf097e3.bundle.js → 156.caaf5e2dc7ad352e4167.bundle.js} +1 -1
  66. package/dist/{156.e5172964d1412cefad39.bundle.js → 157.a9ac969b11cafb114fe6.bundle.js} +1 -1
  67. package/dist/{157.5a7f61f966b5a2eb4420.bundle.js → 158.d34c5e566402660056fd.bundle.js} +1 -1
  68. package/dist/{158.b2f1c58bc01dd26ca852.bundle.js → 159.37d0c0d38532bce4bd69.bundle.js} +1 -1
  69. package/dist/{15.90d54ab745b4267b8cf1.bundle.js → 16.fdb09f13284c6dc639fb.bundle.js} +2 -2
  70. package/dist/{159.80badfff4ffdfbcd46a7.bundle.js → 160.1d6d6162b3eb43dcefb3.bundle.js} +1 -1
  71. package/dist/{160.326fff68c80e555d90e7.bundle.js → 161.d771712f872e8f544c18.bundle.js} +1 -1
  72. package/dist/{161.dd36d91f4beb933e2c9d.bundle.js → 162.8429e153861fd2b302bb.bundle.js} +1 -1
  73. package/dist/{162.d0dbc522f3c9dc56bc28.bundle.js → 163.6e296e35e6932d5daca6.bundle.js} +1 -1
  74. package/dist/{163.d0c210b5a5ea1868d1ed.bundle.js → 164.d693d8a8bfa464acfc74.bundle.js} +1 -1
  75. package/dist/{164.ee0515a0cc9a0f2a552f.bundle.js → 165.c01039936fb423ccf51c.bundle.js} +1 -1
  76. package/dist/{165.0f4bc8028ad240b067fa.bundle.js → 166.3f358f4a87c4378ed5b9.bundle.js} +1 -1
  77. package/dist/{166.def18fe351170a84e86a.bundle.js → 167.42d50892a010d5a75c09.bundle.js} +1 -1
  78. package/dist/{167.30a2775fe78753b6ab44.bundle.js → 168.69f3b3a8a9791e2e5edc.bundle.js} +1 -1
  79. package/dist/{168.82cc64f579f71efa0f87.bundle.js → 169.a1195cdb8a0e5b2dfecd.bundle.js} +1 -1
  80. package/dist/{17.fa580868599e0c3532f8.bundle.js → 17.4dbd72d61bcedd36557b.bundle.js} +1 -1
  81. package/dist/{169.d21d5f6b6634970890a0.bundle.js → 170.1e2a82f30966c069477f.bundle.js} +1 -1
  82. package/dist/{170.ef2dd1938db8d42f4170.bundle.js → 171.dbc9f5b2817163416c56.bundle.js} +1 -1
  83. package/dist/{171.741ac4f6bd1f8720e3e3.bundle.js → 172.946bdd782f0275b9884f.bundle.js} +1 -1
  84. package/dist/{172.7daa5ea2d11254243b09.bundle.js → 173.b8b00521f95d4aba2f9f.bundle.js} +1 -1
  85. package/dist/{173.7679a569b2856271d02c.bundle.js → 174.911f8d2b06ca89f8c3a3.bundle.js} +1 -1
  86. package/dist/{174.6290a7e043902d841a22.bundle.js → 175.f582f57e61e06b61b4b4.bundle.js} +1 -1
  87. package/dist/{175.ab734ac53eda1ba41ccc.bundle.js → 176.d9fc0b81b2953b785f9e.bundle.js} +1 -1
  88. package/dist/{176.df8dc30bb3371efb0b84.bundle.js → 177.06beada483a3c4530d3e.bundle.js} +1 -1
  89. package/dist/{177.89fd2896caf754387b73.bundle.js → 178.dc278f0da09752d361cb.bundle.js} +1 -1
  90. package/dist/{178.b6538a0f9bf804cd2bc7.bundle.js → 179.f4e42a8c8b9eb5eaeb74.bundle.js} +1 -1
  91. package/dist/{18.d2a66ede807651fc37ed.bundle.js → 18.ee45f234dbf94c7e2814.bundle.js} +1 -1
  92. package/dist/{179.ad8a1782d49cb8e8c026.bundle.js → 180.9f2035bda77debb45e2c.bundle.js} +1 -1
  93. package/dist/{180.160549bca59487c2a43d.bundle.js → 181.82e19fa38f81c6b7df94.bundle.js} +1 -1
  94. package/dist/{181.ed2632b1f8ac34b94659.bundle.js → 182.4ed09656d9dcc45924ee.bundle.js} +1 -1
  95. package/dist/{182.778b4e67bc23fd060af4.bundle.js → 183.9a8142d365eab50ab7d6.bundle.js} +1 -1
  96. package/dist/{183.8e6b64734d649c39f021.bundle.js → 184.28e2a335ff27978d5a2a.bundle.js} +1 -1
  97. package/dist/{184.6c98d7df343301d1d4b6.bundle.js → 185.0d498f3347a0af3564e9.bundle.js} +1 -1
  98. package/dist/{185.25ba9c0786d908ccdc50.bundle.js → 186.38671edb0ea386d34b6f.bundle.js} +1 -1
  99. package/dist/187.c89f00b398527bee26ea.bundle.js +1 -0
  100. package/dist/{186.d15421a31f7f10340da4.bundle.js → 188.7e75f9c8409f9d908224.bundle.js} +1 -1
  101. package/dist/{187.904bd80a98ad539b2592.bundle.js → 189.58559840e81404c86872.bundle.js} +1 -1
  102. package/dist/{19.569028a02a8d77dd69cc.bundle.js → 19.547ac3d529d4741e0cff.bundle.js} +1 -1
  103. package/dist/{188.a56f0936629ccab35ca2.bundle.js → 190.23de1e648923c57c5de9.bundle.js} +1 -1
  104. package/dist/{189.873d9aa43dfe811ffa48.bundle.js → 191.5c22c7606d0119c6f454.bundle.js} +1 -1
  105. package/dist/{190.86ce0d4c0b0dc1a1fb23.bundle.js → 192.9b3ce93032a62d0486e8.bundle.js} +1 -1
  106. package/dist/{191.03abff482589f32b7f9c.bundle.js → 193.b5336580d9b1849b12d3.bundle.js} +1 -1
  107. package/dist/{192.a19f5585db9597f4f820.bundle.js → 194.755b8df4b2dd4fc1c5e4.bundle.js} +1 -1
  108. package/dist/{193.33bf94da78d90312eef3.bundle.js → 195.0928127a9c096b869019.bundle.js} +1 -1
  109. package/dist/{194.9707760a814efb506855.bundle.js → 196.75b2886d663b05f6e2e4.bundle.js} +1 -1
  110. package/dist/{195.104b381eda0ef9277da7.bundle.js → 197.38dcc5af239359644b83.bundle.js} +1 -1
  111. package/dist/{196.f11dd3333bb0445de17e.bundle.js → 198.442356545385965bbd9e.bundle.js} +1 -1
  112. package/dist/{197.6cf1498dbcfc760fd06d.bundle.js → 199.d0f52eae00e4997299fc.bundle.js} +1 -1
  113. package/dist/2.1045166ecba51c8b93e5.bundle.js +2 -0
  114. package/dist/{20.3d9c36dfa41a39fde200.bundle.js → 20.3ada5ce82eb84da122f8.bundle.js} +1 -1
  115. package/dist/{198.be8084629b80b14d4023.bundle.js → 200.f1b287b032cd4499dd12.bundle.js} +1 -1
  116. package/dist/{199.f2512e7b856b4e78dd1f.bundle.js → 201.b8d314499cb33b65585e.bundle.js} +1 -1
  117. package/dist/{200.e31d71adfe8af5b7bda5.bundle.js → 202.bf731cba90da2436ac3d.bundle.js} +1 -1
  118. package/dist/203.58086d3f02b6be55a6fd.bundle.js +1 -0
  119. package/dist/{202.4d12ae7a521ec4ecb697.bundle.js → 204.f781c5984d8060eb678f.bundle.js} +1 -1
  120. package/dist/{203.a149b7b9b48294d1a568.bundle.js → 205.05d4a4ac8e9123c7b500.bundle.js} +1 -1
  121. package/dist/{204.0f6c56736301d078f872.bundle.js → 206.6e7b582fb838b410fdeb.bundle.js} +1 -1
  122. package/dist/207.48cb3bd030543ce08b4d.bundle.js +1 -0
  123. package/dist/{206.15d1de79787c216601a7.bundle.js → 208.61b9626ef8371b3366d6.bundle.js} +1 -1
  124. package/dist/{207.b26bfd5bb6c5c8d1c9ff.bundle.js → 209.1e83cf061191f60bb5ee.bundle.js} +1 -1
  125. package/dist/{21.bed2d6df5d871e6e3c59.bundle.js → 21.7c74d95df583201a0699.bundle.js} +2 -2
  126. package/dist/{208.4a9c880a284a4e4fb40f.bundle.js → 210.b5bb325832f83596bccb.bundle.js} +1 -1
  127. package/dist/{209.e0891ad459f70f205eee.bundle.js → 211.f0b97ccd1215e8dd2f79.bundle.js} +1 -1
  128. package/dist/212.024ad15951d8dd1a5785.bundle.js +1 -0
  129. package/dist/{211.32e20a7e58bdb271853a.bundle.js → 213.04e0fadfdcb67c1ccc9d.bundle.js} +1 -1
  130. package/dist/{212.41276ef98d3d5f6afd71.bundle.js → 214.a761e9dbd6f032b694fa.bundle.js} +1 -1
  131. package/dist/{213.6759f7210457cb0d5146.bundle.js → 215.ce43c2db6d24089e5603.bundle.js} +1 -1
  132. package/dist/{214.9604307091b5f5ba76ed.bundle.js → 216.7515086f361a6245b09b.bundle.js} +1 -1
  133. package/dist/{215.fbb8b24f1b8c038182ca.bundle.js → 217.2e12a90085c042f971ee.bundle.js} +1 -1
  134. package/dist/{216.c97eb34eec625c81ba23.bundle.js → 218.31d21222e9978e8085c7.bundle.js} +1 -1
  135. package/dist/{217.886f3692cc9aa3a53e70.bundle.js → 219.88d5c34bccaf06fd6d0d.bundle.js} +1 -1
  136. package/dist/22.7a22f130166bbcfdb732.bundle.js +2 -0
  137. package/dist/{218.071a38664321f618ab1e.bundle.js → 220.b38cadb9facafaff76c0.bundle.js} +1 -1
  138. package/dist/{219.a08f6ea1d2038595bcd8.bundle.js → 221.84e5d84098df0f0ade09.bundle.js} +1 -1
  139. package/dist/{220.7b80583065875f30bdbb.bundle.js → 222.8ba561dc76b777bef340.bundle.js} +1 -1
  140. package/dist/{221.ffaddce1d0ae75b2f1c0.bundle.js → 223.4ceb027f84293f3b2eb9.bundle.js} +1 -1
  141. package/dist/{222.1a3aa503cc56d775dace.bundle.js → 224.ee51e5422a1dd53aeee3.bundle.js} +1 -1
  142. package/dist/{223.286fa893af9f9afd8c92.bundle.js → 225.b7e040f97b2ebc9a861c.bundle.js} +1 -1
  143. package/dist/{224.1121f671e1b6a08ec6b2.bundle.js → 226.154c9b61e401eff99e3f.bundle.js} +1 -1
  144. package/dist/227.3911bd60f0a93164efb7.bundle.js +1 -0
  145. package/dist/{226.2115665b253bb7d033b4.bundle.js → 228.3aa01cfaea6432f582c2.bundle.js} +1 -1
  146. package/dist/229.a6db6a971efdcd35f9d5.bundle.js +1 -0
  147. package/dist/23.095ef6bddb907243daba.bundle.js +2 -0
  148. package/dist/{228.597753e80634d51c71a6.bundle.js → 230.91d03e28517c7c97f0a3.bundle.js} +1 -1
  149. package/dist/{229.cc462aed4d32c542a22f.bundle.js → 231.7e3e47f031029b7a9b6a.bundle.js} +1 -1
  150. package/dist/{230.beb30a748147d535f158.bundle.js → 232.8aa23a2eee0888f61b8e.bundle.js} +1 -1
  151. package/dist/{231.c276c9532f44836654dc.bundle.js → 233.2d9399a6553b87d292ec.bundle.js} +1 -1
  152. package/dist/{232.62da43fcb09f04e81c7c.bundle.js → 234.4fa557a12b75a3baf485.bundle.js} +1 -1
  153. package/dist/{233.eaf04175e1ae92919f88.bundle.js → 235.32264adcbe959a115b68.bundle.js} +1 -1
  154. package/dist/{234.15deae35fbee401c5de1.bundle.js → 236.542d9c5f42d67a030c7e.bundle.js} +1 -1
  155. package/dist/{235.0364f71fb697fe6001f4.bundle.js → 237.399f3d86a51ecbadcd28.bundle.js} +1 -1
  156. package/dist/{236.6164dde1d14a9958dbe3.bundle.js → 238.0b98592bdbaf79ae0d7a.bundle.js} +1 -1
  157. package/dist/{237.f4167bccb6cc3098acf4.bundle.js → 239.b0dded9896beea2a05cd.bundle.js} +1 -1
  158. package/dist/24.ffb4eadf2878e827c89d.bundle.js +2 -0
  159. package/dist/240.397bbb478ff40d668bc5.bundle.js +1 -0
  160. package/dist/241.938f0e227f1f3761b18c.bundle.js +1 -0
  161. package/dist/{240.259c7aba5490d8f0b801.bundle.js → 242.fa38e02cc0ff632a9767.bundle.js} +1 -1
  162. package/dist/{241.ed67df23a8438bd541fc.bundle.js → 243.406933e4ff600625c87b.bundle.js} +1 -1
  163. package/dist/{242.80b4c1062c39d124482d.bundle.js → 244.593bad338bf30575a472.bundle.js} +1 -1
  164. package/dist/{243.2797e72f076d2d531556.bundle.js → 245.b20863a2ccbb64fe53a6.bundle.js} +1 -1
  165. package/dist/246.73d860fbadda4208c38f.bundle.js +1 -0
  166. package/dist/{245.af726a643fd5f141e2ad.bundle.js → 247.95963a9c901b345c2a9f.bundle.js} +1 -1
  167. package/dist/248.c2aeb2bcdfcb57a23a3f.bundle.js +1 -0
  168. package/dist/{247.9edfeccd89601ad98fe2.bundle.js → 249.52d524f77f6be60d49b0.bundle.js} +1 -1
  169. package/dist/{25.46a7eb669f635d567ce7.bundle.js → 25.b4ef0514cf67fa14dadd.bundle.js} +2 -2
  170. package/dist/250.8e3d6340175a20a61d25.bundle.js +1 -0
  171. package/dist/{249.50b3d12ac980097c58c7.bundle.js → 251.20f348c03876fd5f35f4.bundle.js} +1 -1
  172. package/dist/{250.50810c6bf9afb6732b26.bundle.js → 252.7635279320eb6a239ca1.bundle.js} +1 -1
  173. package/dist/{251.36c1c2df005d2ed6d5d4.bundle.js → 253.49400a681a73c49477aa.bundle.js} +1 -1
  174. package/dist/254.5ac93995961700e483f7.bundle.js +1 -0
  175. package/dist/{254.468c9ecc6b0c55102133.bundle.js → 255.d8ac37b36b2048c7e7ba.bundle.js} +1 -1
  176. package/dist/256.7f5642e727432bd6ff3d.bundle.js +1 -0
  177. package/dist/{255.c64487f249acf9172524.bundle.js → 257.0bc18837a59d02bcb767.bundle.js} +1 -1
  178. package/dist/{256.2a4dcf964f8f9823ea87.bundle.js → 258.468e5be7015024a40c88.bundle.js} +1 -1
  179. package/dist/{257.d972f52e0e7c5734f508.bundle.js → 259.0f461681b6909a59e29f.bundle.js} +1 -1
  180. package/dist/{26.1c83ef992fffd73d1243.bundle.js → 26.b09663905438d5e0e747.bundle.js} +2 -2
  181. package/dist/{258.1e4fa1c21f15bcd2a299.bundle.js → 260.9385058fed480ba9030f.bundle.js} +1 -1
  182. package/dist/{259.33e72474b9fb5dd79259.bundle.js → 261.b1e1eb194503a210dafd.bundle.js} +1 -1
  183. package/dist/{260.01b159571d499cfabd40.bundle.js → 262.aef3d631f6d18ab2210c.bundle.js} +1 -1
  184. package/dist/{261.2e7e0eb588a47182ac0e.bundle.js → 263.7a02fde0b7b038003886.bundle.js} +1 -1
  185. package/dist/{262.62b11c3cee19afce2e3f.bundle.js → 264.444a3cf33b22a6b61cb4.bundle.js} +1 -1
  186. package/dist/{263.41501892e03f9cdd31be.bundle.js → 265.ca67da93ec8846ee88f9.bundle.js} +1 -1
  187. package/dist/{264.4e93f511f8124added0e.bundle.js → 266.4af796128f0b3b91ee7e.bundle.js} +1 -1
  188. package/dist/{265.cb8b76c9b36537e854a2.bundle.js → 267.a440b39768214550147e.bundle.js} +1 -1
  189. package/dist/{266.fded0594ff94fbf19b96.bundle.js → 268.25d03ac949ce6865530d.bundle.js} +1 -1
  190. package/dist/{267.628a25b11f7a33fcff24.bundle.js → 269.68951622feff78bcb23d.bundle.js} +1 -1
  191. package/dist/27.d08a19ce94cd4c6c3d34.bundle.js +1 -0
  192. package/dist/{268.ff64ff06004b62b5611d.bundle.js → 270.760735c6f2fb27736669.bundle.js} +1 -1
  193. package/dist/{269.791351b99216622cb145.bundle.js → 271.48ef066c15b89c0ef5fc.bundle.js} +1 -1
  194. package/dist/{270.7443decd8c92834274fc.bundle.js → 272.b245c03cdaa0ad5072e7.bundle.js} +1 -1
  195. package/dist/{271.f513ed4052f334fc5d1a.bundle.js → 273.d9baafa2a8931439fbe3.bundle.js} +1 -1
  196. package/dist/{272.6b7242f3f4f40b4d32e9.bundle.js → 274.71db0c42104b588a6c4d.bundle.js} +1 -1
  197. package/dist/{273.767c40d9ab0683794017.bundle.js → 275.72a78697cab01477def9.bundle.js} +1 -1
  198. package/dist/276.79a816a8806d75e88497.bundle.js +1 -0
  199. package/dist/{275.fdc05b1c15c963298172.bundle.js → 277.89f5dd9ccd6e2f821274.bundle.js} +1 -1
  200. package/dist/{276.7f7e05c659737293c5d6.bundle.js → 278.61662f0bcb1a9671901a.bundle.js} +1 -1
  201. package/dist/{277.aeefb2e2230751d0a6cd.bundle.js → 279.dfb4b85aefb5818824e8.bundle.js} +1 -1
  202. package/dist/28.554c6d5d8a14a1ee7182.bundle.js +1 -0
  203. package/dist/{278.ea9f1652476f591efc66.bundle.js → 280.cf11048fde866074c4f3.bundle.js} +1 -1
  204. package/dist/{279.d67759d35a409e74a6cf.bundle.js → 281.840b86089e1b8bd080d8.bundle.js} +1 -1
  205. package/dist/{280.2a6a92493c2b8eb53de7.bundle.js → 282.a9a83c1abbe7c2153a49.bundle.js} +1 -1
  206. package/dist/{281.8ca4dfc70e6d75eaa25e.bundle.js → 283.b39b007262985068075e.bundle.js} +1 -1
  207. package/dist/{282.31327afb93e1b52f8f19.bundle.js → 284.62c192f1563600964bf6.bundle.js} +1 -1
  208. package/dist/285.b9425f91ce9fb23058ec.bundle.js +1 -0
  209. package/dist/{284.13eea8bdd7b3c7ca401b.bundle.js → 286.a9ab317f853da1d4333e.bundle.js} +1 -1
  210. package/dist/{285.a1fc5f7cbd7cc6d3a7c2.bundle.js → 287.034b587d54e4ab503952.bundle.js} +1 -1
  211. package/dist/{286.178d6ec580c5530e7c35.bundle.js → 288.7914bd27985475d11f05.bundle.js} +1 -1
  212. package/dist/289.da1df07952674740df5c.bundle.js +1 -0
  213. package/dist/29.91dc63db7647528ebd4e.bundle.js +1 -0
  214. package/dist/{288.4b34882ffa5fe1232b20.bundle.js → 290.ac405d3744deb57f4bf0.bundle.js} +1 -1
  215. package/dist/{289.82e1c2c605fdbb38ce8e.bundle.js → 291.30c6e26ef3089d2a6f87.bundle.js} +1 -1
  216. package/dist/{291.0254bcc0cd338b6e1fac.bundle.js → 292.21028c9b350fc161d4a8.bundle.js} +1 -1
  217. package/dist/{292.d912c7464e852a5dded1.bundle.js → 293.39714683e1f4eacc9325.bundle.js} +1 -1
  218. package/dist/{293.73aaa9854fde9946364e.bundle.js → 294.907c09b471f72da1d788.bundle.js} +1 -1
  219. package/dist/{294.6a1f0eeb8cfdef3192d4.bundle.js → 295.45c088acd720897346a0.bundle.js} +1 -1
  220. package/dist/{295.05f3f0f4fa85e5b141d9.bundle.js → 296.62c018f482a9330a2831.bundle.js} +1 -1
  221. package/dist/{296.868f14b9bd1b53a16a11.bundle.js → 297.377ad2cd881b4fe78f45.bundle.js} +1 -1
  222. package/dist/{297.e9b1c12ce25cc7be2d72.bundle.js → 298.4698889e39f751d943c7.bundle.js} +1 -1
  223. package/dist/{298.d40774bcdba10c5d2ebc.bundle.js → 299.fd53c0387b6faa81365f.bundle.js} +1 -1
  224. package/dist/{3.1677b68c47f7c79c00ff.bundle.js → 3.46387e7948bf0752336d.bundle.js} +2 -2
  225. package/dist/{29.da95f87aaa34ccf8f98f.bundle.js → 30.6c5b49074ac06af91049.bundle.js} +1 -1
  226. package/dist/300.e61864e8bc342274abd9.bundle.js +1 -0
  227. package/dist/301.4fb1fb7c212ac5fce386.bundle.js +1 -0
  228. package/dist/{301.476fd3a75e03f03860ac.bundle.js → 302.eba5cf7f0e5ff20aa3c0.bundle.js} +1 -1
  229. package/dist/{302.a565cb68a40f87aebea0.bundle.js → 303.740a5d2c455be704d879.bundle.js} +1 -1
  230. package/dist/{303.699b6974d96a62873716.bundle.js → 304.6ea4004c6da83008c7f1.bundle.js} +1 -1
  231. package/dist/{304.49f2e7808825a9be05ee.bundle.js → 305.60114e848d959fb56f52.bundle.js} +1 -1
  232. package/dist/{305.b1bb41c32f7fe619cba1.bundle.js → 306.c3588aa36cc751742b70.bundle.js} +1 -1
  233. package/dist/{306.507664ee51d0379932c2.bundle.js → 307.5cf989e284c672c7e62f.bundle.js} +1 -1
  234. package/dist/{307.fa58fde8655a882f9ccb.bundle.js → 308.8eb6581a6a087cf3beb1.bundle.js} +1 -1
  235. package/dist/{308.69a7f26516c5629c2288.bundle.js → 309.3b450562045747a430ec.bundle.js} +1 -1
  236. package/dist/31.c314747b9716e4173311.bundle.js +1 -0
  237. package/dist/{309.709585a817666bd3ea97.bundle.js → 310.a01265d3c0b260c052ff.bundle.js} +1 -1
  238. package/dist/{315.52f392ef91a926596c8d.bundle.js → 316.36e1f90aec20170f0aee.bundle.js} +1 -1
  239. package/dist/{316.8a37b5419fe1a8c09942.bundle.js → 317.98acd4037581c232c885.bundle.js} +1 -1
  240. package/dist/{317.b3355e812e0dbe84bbaa.bundle.js → 318.a05b290d37087e21d5b9.bundle.js} +1 -1
  241. package/dist/{318.985516a21ddb304f613e.bundle.js → 319.52d4c899fc21abb073a6.bundle.js} +1 -1
  242. package/dist/{31.f6e59c66649edd6a264c.bundle.js → 32.f247c759a308094e52ec.bundle.js} +1 -1
  243. package/dist/{319.08ac1b3691b48bd285a1.bundle.js → 320.5780cd7c15894fb7d5f3.bundle.js} +1 -1
  244. package/dist/{320.5a7c42a73bb68d70657b.bundle.js → 321.ccc9466dd7b50b58efd0.bundle.js} +1 -1
  245. package/dist/{321.f8ef6de623edd9d04b8e.bundle.js → 322.61882e32cb8ff5d0ac42.bundle.js} +1 -1
  246. package/dist/{322.f08dac69268b076c2919.bundle.js → 323.9cdc521583861ef7d691.bundle.js} +1 -1
  247. package/dist/{323.a044b7f7803f1f95826d.bundle.js → 324.18784e1b5b2d0abe1dd3.bundle.js} +1 -1
  248. package/dist/{324.2489213c43a115ec4a8e.bundle.js → 325.0ac20b17a40c08f4d02e.bundle.js} +1 -1
  249. package/dist/{325.82bd9fe7a732eb08cf8a.bundle.js → 326.7061b8ac29132fef01e8.bundle.js} +1 -1
  250. package/dist/{326.2b85a4ad715fb78944d6.bundle.js → 327.5324c193e9a1a272bcef.bundle.js} +1 -1
  251. package/dist/{327.bb3ddb0f4af2e3b1d2e5.bundle.js → 328.3af1aa532908e1a419c8.bundle.js} +1 -1
  252. package/dist/{328.98db2f4529a6eee55b55.bundle.js → 329.0a924dc3aa47965caed7.bundle.js} +1 -1
  253. package/dist/33.5b384171bc7249b55963.bundle.js +1 -0
  254. package/dist/{329.58f4110367458a8f506c.bundle.js → 330.212ca2f0efe3fdff1f28.bundle.js} +1 -1
  255. package/dist/{330.3e70a1666dd0786bc6fa.bundle.js → 331.ccc8a037fb43c77a30a9.bundle.js} +1 -1
  256. package/dist/{331.5122cfbe626e52fd02d1.bundle.js → 332.987a9a868c50f9f69bc6.bundle.js} +1 -1
  257. package/dist/{332.a273f6816278db249098.bundle.js → 333.95634a0b1e95c3da0e5e.bundle.js} +1 -1
  258. package/dist/{333.7797033996e875cef5e4.bundle.js → 334.b428358000898f716bb4.bundle.js} +1 -1
  259. package/dist/{334.f39f43aa65127d86c0de.bundle.js → 335.46132546438846af8acf.bundle.js} +1 -1
  260. package/dist/{335.bdf002d5311bbafa3b6b.bundle.js → 336.cd436b91dab720f38d7f.bundle.js} +1 -1
  261. package/dist/{336.046bf6011f6f55306f7d.bundle.js → 337.9c1364dcd6ad396b59c5.bundle.js} +1 -1
  262. package/dist/{337.f52bb6c2a48bfbae3e5d.bundle.js → 338.d74c5e4cb57553185e16.bundle.js} +1 -1
  263. package/dist/{338.9fd4917b8b109b611a9d.bundle.js → 339.62834d08f4919fcf0295.bundle.js} +1 -1
  264. package/dist/{33.fbf5953513194ec3f2dc.bundle.js → 34.a679acf3de6c9a78d4ab.bundle.js} +1 -1
  265. package/dist/{339.c1a491da5ccc1dda2d1a.bundle.js → 340.817b046248f6a225349c.bundle.js} +1 -1
  266. package/dist/{340.a2230a350b08b31e9dcc.bundle.js → 341.0b1619913d91524dc929.bundle.js} +1 -1
  267. package/dist/{341.6d7d6e2c347a5f7183ff.bundle.js → 342.bd8fe31e81474008c10c.bundle.js} +1 -1
  268. package/dist/{342.cec8ff30ba1b2f0db64c.bundle.js → 343.c8c94af8f79ad5d2e7bd.bundle.js} +1 -1
  269. package/dist/{343.39f84908d8aeac04de37.bundle.js → 344.126a4052cc71aed3c054.bundle.js} +1 -1
  270. package/dist/{344.32f2947e868b2ca1cf7c.bundle.js → 345.d06ff51c885469c2f459.bundle.js} +1 -1
  271. package/dist/{345.9519a0c1e8610d921507.bundle.js → 346.920c2338f0876455d1cd.bundle.js} +1 -1
  272. package/dist/{346.a234d0d7ab110f944600.bundle.js → 347.582553a13245778e20e4.bundle.js} +1 -1
  273. package/dist/{347.89e881a6a192dd983f60.bundle.js → 348.c6b1ac8d0432da01864d.bundle.js} +1 -1
  274. package/dist/{348.14ae3944ca71fc347833.bundle.js → 349.e8e86c44622b16114a53.bundle.js} +1 -1
  275. package/dist/35.85ac5e22c134d6a84fa6.bundle.js +1 -0
  276. package/dist/{349.606184ff5d01acc3e6b6.bundle.js → 350.8f33af1501b6b6d1608f.bundle.js} +1 -1
  277. package/dist/{350.9c44a2eddf2008a38a00.bundle.js → 351.d6c0e13ba99b9def2553.bundle.js} +1 -1
  278. package/dist/{351.23289a06b4697246ce9e.bundle.js → 352.c75bd217e6af63b9e1db.bundle.js} +1 -1
  279. package/dist/{352.3046ed1ee36a576d5c93.bundle.js → 353.8f37a5893488443f2e73.bundle.js} +1 -1
  280. package/dist/{353.af973c793bfa22e15fac.bundle.js → 354.7d52606017657766f54e.bundle.js} +1 -1
  281. package/dist/{354.fa248513f541c160e67c.bundle.js → 355.e8974bc859beb279dae7.bundle.js} +1 -1
  282. package/dist/{355.f524cdb727598e6d4fc3.bundle.js → 356.e847ac0bda9a3d3d6515.bundle.js} +1 -1
  283. package/dist/{356.0482816218131d48de41.bundle.js → 357.530b8eab5c9d6ec85bb4.bundle.js} +1 -1
  284. package/dist/{357.c4f789b05483439e31bf.bundle.js → 358.72a45fc49b5af56c8c83.bundle.js} +1 -1
  285. package/dist/{358.d057bdfaaf7136305108.bundle.js → 359.74a5aaf1f07331f0fce8.bundle.js} +1 -1
  286. package/dist/36.274634c99ad83311ecb5.bundle.js +1 -0
  287. package/dist/{359.9e68265babe6c3029901.bundle.js → 360.5ae2a7fa8276fd593054.bundle.js} +1 -1
  288. package/dist/{360.6644ba58cb7fa55434a1.bundle.js → 361.ee3de77e66f7aeeabbc9.bundle.js} +1 -1
  289. package/dist/{361.346b783405475ff949b3.bundle.js → 362.8064f0b57eabe8a22daa.bundle.js} +1 -1
  290. package/dist/{362.e2dea4b91c16395af08b.bundle.js → 363.25d8036dd1c6113142fa.bundle.js} +1 -1
  291. package/dist/{363.03cc3e776f5e7d936e62.bundle.js → 364.bac4e345df7064c7c831.bundle.js} +1 -1
  292. package/dist/{364.2b194c33842b7293286f.bundle.js → 365.2b5fb57c8ec547737679.bundle.js} +1 -1
  293. package/dist/{365.4b5c136170ff6bd5cfa5.bundle.js → 366.6ccd17f983a50aec2a68.bundle.js} +1 -1
  294. package/dist/{366.fb289ab7e21ccebf2e81.bundle.js → 367.bd054621a4d5a14440eb.bundle.js} +1 -1
  295. package/dist/{367.c2fdbfd858869b8cfa02.bundle.js → 368.c6f86cd91f7620d802bc.bundle.js} +1 -1
  296. package/dist/{368.88e91f9d577e4a24c393.bundle.js → 369.b3feddd586e2b74bca4d.bundle.js} +1 -1
  297. package/dist/37.29e0bf775d0f5f018502.bundle.js +1 -0
  298. package/dist/{369.42cd152c380da070e17d.bundle.js → 370.470582b1e445f6b8452a.bundle.js} +1 -1
  299. package/dist/{370.9854cfd406fdb9a960d1.bundle.js → 371.7af95b0719a21f2a3c5d.bundle.js} +1 -1
  300. package/dist/{371.162dd124d4ba999559f2.bundle.js → 372.93c770810fd312a80d57.bundle.js} +1 -1
  301. package/dist/{372.7ef0b402b34de8fa7de3.bundle.js → 373.9cd13cc8d3eb6a33cc4e.bundle.js} +1 -1
  302. package/dist/{373.9d1186f68be57f69bf19.bundle.js → 374.adecd7b8570e3a9af29a.bundle.js} +1 -1
  303. package/dist/{374.fcf294a736f3cbfb2abd.bundle.js → 375.93939a0b395afc7b8785.bundle.js} +1 -1
  304. package/dist/{375.61bfa3705d0a5b5e130f.bundle.js → 376.a99027c9da6e16e18ce3.bundle.js} +1 -1
  305. package/dist/377.7c982d01ad6902aa11fe.bundle.js +1 -0
  306. package/dist/{377.9e726e205a4febd06881.bundle.js → 378.c83a099fc04d829f42fa.bundle.js} +1 -1
  307. package/dist/379.6547fe36779f3b2f4a82.bundle.js +1 -0
  308. package/dist/{37.979dafa06b4ac706175f.bundle.js → 38.deabf19067d9014d2e47.bundle.js} +1 -1
  309. package/dist/380.4dbff3c0418f325f225b.bundle.js +1 -0
  310. package/dist/381.272e24d29dfe31967284.bundle.js +1 -0
  311. package/dist/{381.1c5879a7d41b1fc0811c.bundle.js → 382.0272ca71acd6c581c12e.bundle.js} +1 -1
  312. package/dist/{382.2e8bbae9cb4f64322dd7.bundle.js → 383.8c65069d2d28c8f447e7.bundle.js} +1 -1
  313. package/dist/384.3568a7e387ccb1a1a1e6.bundle.js +1 -0
  314. package/dist/{384.ac1029daf540d96ab1ba.bundle.js → 385.84d2d363225b87bdad81.bundle.js} +1 -1
  315. package/dist/386.cc46cb544e66bd95ba20.bundle.js +1 -0
  316. package/dist/387.4b3c3a13839e8ebffe53.bundle.js +1 -0
  317. package/dist/388.f3794c0b9cc5b82118d9.bundle.js +1 -0
  318. package/dist/389.b35dc3ef93611e0dd78a.bundle.js +1 -0
  319. package/dist/{38.6c4d98e2f8d52004ee09.bundle.js → 39.74d0147b651a2921bfa5.bundle.js} +1 -1
  320. package/dist/{389.3a0b6965084e6963a174.bundle.js → 390.f19d6f2c0fa69b846fac.bundle.js} +1 -1
  321. package/dist/{390.5c30dfdf6beb8fc1cfc5.bundle.js → 391.df84d8db6f80d1cfce85.bundle.js} +1 -1
  322. package/dist/{391.5e23157e8a90a7fc552f.bundle.js → 392.fe2934219941c93e53ab.bundle.js} +1 -1
  323. package/dist/{392.55fd2759761bf0209940.bundle.js → 393.a424b5a07cbc92499695.bundle.js} +1 -1
  324. package/dist/4.6874a674be5e66d6010d.bundle.js +1 -0
  325. package/dist/{39.df1815db4cd3cf39819f.bundle.js → 40.bae4d8b899e2260d4217.bundle.js} +1 -1
  326. package/dist/41.7f93ef52f04a6a8941a1.bundle.js +1 -0
  327. package/dist/{41.0d3377c5004cb06d9ec5.bundle.js → 42.c00198433fd0b776a783.bundle.js} +1 -1
  328. package/dist/{42.22de61ed85fccbb2f70f.bundle.js → 43.81cdf306217a195fe044.bundle.js} +1 -1
  329. package/dist/{43.134daf93e10cc14378bf.bundle.js → 44.477255f5019965fc8828.bundle.js} +1 -1
  330. package/dist/45.276ded2fb0f97d0174a0.bundle.js +1 -0
  331. package/dist/46.f67ae5c4ee8b09063342.bundle.js +1 -0
  332. package/dist/{46.4d533b484c1b03410eb3.bundle.js → 47.671b2dd510c22032ba65.bundle.js} +1 -1
  333. package/dist/{47.094ce29352480a54c186.bundle.js → 48.1ffb25241ca90bfd1074.bundle.js} +1 -1
  334. package/dist/49.f72052e5055b2af12b37.bundle.js +1 -0
  335. package/dist/{4.aff67673cf6b0533d362.bundle.js → 5.ffb1a5bbbd546de34e62.bundle.js} +1 -1
  336. package/dist/50.7df502b78e66a8cafea4.bundle.js +1 -0
  337. package/dist/{49.528a09f441b28bf08064.bundle.js → 51.238e197f2070ea110ff5.bundle.js} +1 -1
  338. package/dist/{50.bf792163b8764b926168.bundle.js → 52.2d89a2d4e1ef7f0084bb.bundle.js} +1 -1
  339. package/dist/{51.a90d10cc476db680948c.bundle.js → 53.e1d2a90d8734099f23fe.bundle.js} +1 -1
  340. package/dist/{53.96f2ad442baa9f720c6a.bundle.js → 54.b82f0985932100b7619f.bundle.js} +1 -1
  341. package/dist/{54.86a25a049a434243e725.bundle.js → 55.06c2948b92d3ea48b30d.bundle.js} +1 -1
  342. package/dist/{55.5a1aa4dcdd6933de413b.bundle.js → 56.6b4f9d5058cb928a5c1c.bundle.js} +1 -1
  343. package/dist/{56.59d91178e564f8808d62.bundle.js → 57.046acb83c27892958839.bundle.js} +1 -1
  344. package/dist/58.280625b370aecc781978.bundle.js +1 -0
  345. package/dist/{57.26d7d4f33d5f226943c6.bundle.js → 59.326d4c5c932c80e4e517.bundle.js} +1 -1
  346. package/dist/6.ccda5918e23a9aa6945c.bundle.js +1 -0
  347. package/dist/{58.e6cbcfea71d0f5dc97d8.bundle.js → 60.d8d342663dadd63c7d28.bundle.js} +1 -1
  348. package/dist/61.a294b07bd697d2f31d0c.bundle.js +1 -0
  349. package/dist/{59.421ee2b1ea2721dedac8.bundle.js → 62.a0e63e0984c332c50110.bundle.js} +2 -2
  350. package/dist/{60.da92690cb0d953cab0a1.bundle.js → 63.9cd306ea7fa604dd20e9.bundle.js} +1 -1
  351. package/dist/{61.b538e6950ca149a7e75b.bundle.js → 64.c66a8271861ff3be44dd.bundle.js} +1 -1
  352. package/dist/{62.e7161db8cb36f588edaf.bundle.js → 65.ce24a6b4c331abce8a87.bundle.js} +1 -1
  353. package/dist/{63.259cba761b15f620a198.bundle.js → 66.7f8a616898e1f7b82bcb.bundle.js} +1 -1
  354. package/dist/67.b717a0c68a33b11e4418.bundle.js +1 -0
  355. package/dist/{64.56aea2ad2c856287190c.bundle.js → 68.e6f360d874e28ec0172c.bundle.js} +1 -1
  356. package/dist/{65.98acc51a9d5dd9a86665.bundle.js → 69.37b0954aadcebf8d5dd8.bundle.js} +1 -1
  357. package/dist/{6.22d45d855c48545f09aa.bundle.js → 7.1ab6fd0419611ee43426.bundle.js} +1 -1
  358. package/dist/{66.7f4aa7b917ae36e0bae9.bundle.js → 70.661eb20259bb7fc8fb95.bundle.js} +1 -1
  359. package/dist/71.9843c14baa4bb2dde9e2.bundle.js +1 -0
  360. package/dist/{69.7d308309b390704d1493.bundle.js → 72.351c12ddb821e76d05c7.bundle.js} +1 -1
  361. package/dist/{70.d1b703ea44c96894d09e.bundle.js → 73.faf0eaf848b09bf956dc.bundle.js} +1 -1
  362. package/dist/{71.db1b70da8f6fefccf527.bundle.js → 74.d45f796b9a14f803536e.bundle.js} +1 -1
  363. package/dist/75.23f38593d25799d118cd.bundle.js +1 -0
  364. package/dist/76.ed46e801207efea41499.bundle.js +1 -0
  365. package/dist/{75.c1c8c7e9c459e0ee60c2.bundle.js → 77.5c32ef9bef825ac7a321.bundle.js} +1 -1
  366. package/dist/{76.53ea6c6f22d3681f8837.bundle.js → 78.c3adcb24a209da6c4cfb.bundle.js} +1 -1
  367. package/dist/{77.6611d9338986b1a12868.bundle.js → 79.27440c831f8bbc3a7b5a.bundle.js} +1 -1
  368. package/dist/8.5b802c6713ee7fb07b43.bundle.js +1 -0
  369. package/dist/{78.f6e3f127ae7da2f57ac3.bundle.js → 80.f647b339b6ba54089eeb.bundle.js} +1 -1
  370. package/dist/{79.1d3d629022ded5fbd984.bundle.js → 81.c4205dfc9a8892c0de65.bundle.js} +1 -1
  371. package/dist/{80.cc0811a26bf10316f9c7.bundle.js → 82.4b590557f3ba6dad7536.bundle.js} +1 -1
  372. package/dist/{81.4d6864805c077f3a633f.bundle.js → 83.8824ca32a8f597415688.bundle.js} +1 -1
  373. package/dist/{82.252c34f7f437d36937c0.bundle.js → 84.5a1dd7db83ee83d8c565.bundle.js} +1 -1
  374. package/dist/{83.fcffee43e09e1e76cc7d.bundle.js → 85.9233857e6859f31c7721.bundle.js} +1 -1
  375. package/dist/{84.d72d91884ff43e148b7b.bundle.js → 86.df715086cb3c4e8052dc.bundle.js} +1 -1
  376. package/dist/{85.97eaab6abd1ed466fc88.bundle.js → 87.9064bc5cde8d4fa97f59.bundle.js} +1 -1
  377. package/dist/{86.5a49f7e16001eb9e3c71.bundle.js → 88.4ef4cce091ae21c6140d.bundle.js} +1 -1
  378. package/dist/{87.a091d78e666c7408fc90.bundle.js → 89.82d7ddb3f05a0a5b5b3c.bundle.js} +1 -1
  379. package/dist/{9.d5f26ca3c7c77b6cc0ac.bundle.js → 9.55b9e707a7ef0f82bcd1.bundle.js} +1 -1
  380. package/dist/{88.a4d1f06b166b6572a071.bundle.js → 90.f6225d1b922aa62816fd.bundle.js} +1 -1
  381. package/dist/91.5226bd9321f33612c966.bundle.js +1 -0
  382. package/dist/{90.56c33a7601972e3e67d6.bundle.js → 92.defe00bf0a1f18255ab6.bundle.js} +1 -1
  383. package/dist/93.00fbb729c3de32014526.bundle.js +1 -0
  384. package/dist/{93.9e44d8527d129ad3acf1.bundle.js → 94.7d3d1427a56cecca82d3.bundle.js} +1 -1
  385. package/dist/{94.b2ff0d4f0f1446e34048.bundle.js → 95.2a9f51caabb7640acbc9.bundle.js} +1 -1
  386. package/dist/{95.49ca08a06e31cad93026.bundle.js → 96.7cc86300aeac5a8128eb.bundle.js} +1 -1
  387. package/dist/{96.034bd4c7e0e8c36d076f.bundle.js → 97.52921d26adcb097f4fa9.bundle.js} +1 -1
  388. package/dist/{97.b898cf5aacd5400a7410.bundle.js → 98.2905de59c59e79242346.bundle.js} +1 -1
  389. package/dist/99.081ae98c7bbd579a54d9.bundle.js +1 -0
  390. package/dist/{bundle.01968f2d52c2db24b8db.bundle.js → bundle.eb7cff0aedbdc947d0e2.bundle.js} +20 -20
  391. package/dist/css/common.css +10 -0
  392. package/dist/css/ttyg/agent-list.css +7 -1
  393. package/dist/css/ttyg/agent-settings-modal.css +56 -25
  394. package/dist/css/ttyg/chat-item-details.css +134 -0
  395. package/dist/css/ttyg/chat-list.css +12 -2
  396. package/dist/css/ttyg/chat-panel.css +8 -83
  397. package/dist/i18n/locale-en.json +137 -33
  398. package/dist/i18n/locale-fr.json +132 -33
  399. package/dist/index.html +4 -4
  400. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  401. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  402. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  403. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  404. package/dist/js/angular/core/templates/modal/modal-simple.html +1 -1
  405. package/dist/js/angular/import/templates/import-resource-status-info.html +1 -1
  406. package/dist/js/angular/security/templates/user.html +1 -1
  407. package/dist/js/angular/ttyg/templates/agent-list.html +2 -1
  408. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  409. package/dist/js/angular/ttyg/templates/chat-item-detail.html +55 -10
  410. package/dist/js/angular/ttyg/templates/chat-list.html +39 -33
  411. package/dist/js/angular/ttyg/templates/chat-panel.html +27 -8
  412. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +162 -65
  413. package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -1
  414. package/dist/js/angular/ttyg/templates/ttyg.html +17 -20
  415. package/dist/license-checker.json +2 -2
  416. package/dist/{main.9383f2ad934cf3bacb79.bundle.js → main.82de0694b7d19a4cab61.bundle.js} +1 -1
  417. package/dist/main.da1e35265d3539b9c0e3.css +1 -0
  418. package/dist/pages/aclmanagement.html +2 -2
  419. package/dist/pages/autocomplete.html +1 -1
  420. package/dist/pages/choose-repository-type.html +1 -1
  421. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  422. package/dist/pages/create-index.html +1 -1
  423. package/dist/pages/dependencies.html +1 -1
  424. package/dist/pages/domainRangeInfo.html +2 -2
  425. package/dist/pages/edit.html +1 -1
  426. package/dist/pages/explore.html +1 -1
  427. package/dist/pages/export.html +1 -1
  428. package/dist/pages/find.html +1 -1
  429. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  430. package/dist/pages/graphs-visualizations.html +7 -7
  431. package/dist/pages/guides.html +1 -1
  432. package/dist/pages/import.html +2 -2
  433. package/dist/pages/jdbc-create.html +1 -1
  434. package/dist/pages/monitor/backup-and-restore.html +1 -1
  435. package/dist/pages/monitor/queries.html +1 -1
  436. package/dist/pages/monitor/resources.html +1 -1
  437. package/dist/pages/namespaces.html +2 -2
  438. package/dist/pages/plugins.html +1 -1
  439. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  440. package/dist/pages/rdfrank.html +2 -2
  441. package/dist/pages/repositories.html +1 -1
  442. package/dist/pages/repository.html +1 -1
  443. package/dist/pages/similarity-indexes.html +1 -1
  444. package/dist/pages/sparql-editor.html +1 -1
  445. package/dist/pages/sparql-template-create.html +1 -1
  446. package/dist/pages/ux-test1.html +2 -2
  447. package/dist/pages/webapi.html +2 -2
  448. package/dist/{polyfills-dom.f5c2e0835a269ea70ac8.bundle.js → polyfills-dom.d1843ca566e17b4b1389.bundle.js} +1 -1
  449. package/dist/res/swagger5/index.html +12 -12
  450. package/dist/{vendor.30a6591bfdc394bd3913.bundle.js → vendor.04cef52d1346a38cf00c.bundle.js} +4 -4
  451. package/dist/{vendors~polyfills-core-js.e7feaf41f75b46b008db.bundle.js → vendors~polyfills-core-js.61f9dd1f3887c91e25bb.bundle.js} +1 -1
  452. package/package.json +1 -1
  453. package/dist/101.bf0fde51522a5d10b6ce.bundle.js +0 -1
  454. package/dist/102.93de8da2b05854b7a2f6.bundle.js +0 -1
  455. package/dist/103.ec756e552ca154fe9249.bundle.js +0 -1
  456. package/dist/116.6b7edf5d23952ca4ace3.bundle.js +0 -1
  457. package/dist/118.fa3d881d5580e05dbd05.bundle.js +0 -1
  458. package/dist/119.e7b8ff4c3358263cddb0.bundle.js +0 -1
  459. package/dist/16.49e725b3eb1bd20c2ff5.bundle.js +0 -1
  460. package/dist/2.5a076be9e6117cea6484.bundle.js +0 -2
  461. package/dist/201.c5c4eb20d791aa5a03ce.bundle.js +0 -1
  462. package/dist/205.5964d31ea49f335e2153.bundle.js +0 -1
  463. package/dist/210.a6bdca00a853c90fbe7f.bundle.js +0 -1
  464. package/dist/22.6ed49c9ec5c4f8bef98f.bundle.js +0 -2
  465. package/dist/225.12f1d1f6d09186dbeea7.bundle.js +0 -1
  466. package/dist/227.a4eb17ab2119a9a1c2e1.bundle.js +0 -1
  467. package/dist/23.5b4b7b30a9ee54898bbb.bundle.js +0 -2
  468. package/dist/238.c1d9ecf1f009436e1cd9.bundle.js +0 -1
  469. package/dist/239.750828c356c342abd9b0.bundle.js +0 -1
  470. package/dist/24.ef0d7437101e6a30dec7.bundle.js +0 -2
  471. package/dist/244.f957102de9568bd62a52.bundle.js +0 -1
  472. package/dist/246.11aa5e8c3a5cf4db5f89.bundle.js +0 -1
  473. package/dist/248.5a4d7374460366d79c15.bundle.js +0 -1
  474. package/dist/252.50b98b9146e2383548db.bundle.js +0 -1
  475. package/dist/253.44a6bda88d9ad7686933.bundle.js +0 -1
  476. package/dist/27.dc5c95d1588f782e31d0.bundle.js +0 -1
  477. package/dist/274.b145270cefa7deeabfba.bundle.js +0 -1
  478. package/dist/28.15f63a47c5b1011c2888.bundle.js +0 -1
  479. package/dist/283.0a03f90fa1c267819ffa.bundle.js +0 -1
  480. package/dist/287.ba6c7aff6284d841fdee.bundle.js +0 -1
  481. package/dist/290.e7c552655449d0a6ee1f.bundle.js +0 -1
  482. package/dist/299.8dda014cab35ba1815b1.bundle.js +0 -1
  483. package/dist/30.bba4de583145f2ece8c0.bundle.js +0 -1
  484. package/dist/300.4245627536cbeede19bf.bundle.js +0 -1
  485. package/dist/32.81c457d2ad85a3237199.bundle.js +0 -1
  486. package/dist/34.48c99bc7d0f5bcde9141.bundle.js +0 -1
  487. package/dist/35.ea0dce5bc217da95a8e4.bundle.js +0 -1
  488. package/dist/36.72b60f0dadcb9a3602c3.bundle.js +0 -1
  489. package/dist/376.bac4c4a317961264a74e.bundle.js +0 -1
  490. package/dist/378.50b7c82a6f2ba7f7f1a0.bundle.js +0 -1
  491. package/dist/379.d26f69a3e53fc29ff75c.bundle.js +0 -1
  492. package/dist/380.ebb4b20fc1dca83af7e0.bundle.js +0 -1
  493. package/dist/383.4dc06ae763671bc268a4.bundle.js +0 -1
  494. package/dist/385.dcf0f30562fec30d81ae.bundle.js +0 -1
  495. package/dist/386.ffabbaa1eeab0ec19e9d.bundle.js +0 -1
  496. package/dist/387.53c1171594a47e46d973.bundle.js +0 -1
  497. package/dist/388.5fc49decfc830a511eef.bundle.js +0 -1
  498. package/dist/40.63661029e5734fd5562f.bundle.js +0 -1
  499. package/dist/44.987d20d3ac6c478ae000.bundle.js +0 -1
  500. package/dist/45.e78d204e8b77f6c8378b.bundle.js +0 -1
  501. package/dist/48.68c92758daa2e09f72ed.bundle.js +0 -1
  502. package/dist/5.1aa40b3ef6411ef4e8bb.bundle.js +0 -1
  503. package/dist/52.2823d09c200882322ae5.bundle.js +0 -1
  504. package/dist/67.3160625ff03b48f4188d.bundle.js +0 -1
  505. package/dist/68.ad5a293f3cca442615c0.bundle.js +0 -1
  506. package/dist/7.a51db761d9c64e0ce870.bundle.js +0 -1
  507. package/dist/72.b5e64cea3d34ce9cfdd4.bundle.js +0 -1
  508. package/dist/73.a21b5393676f3e1707a2.bundle.js +0 -1
  509. package/dist/74.620c1813dfcb15bbbc24.bundle.js +0 -1
  510. package/dist/8.101df7c69717778e920f.bundle.js +0 -1
  511. package/dist/89.53fc565430f4836f7f2c.bundle.js +0 -1
  512. package/dist/91.bd0add73fd8dfcaaf5e7.bundle.js +0 -1
  513. package/dist/98.200bfd438d2ea40e05e0.bundle.js +0 -1
  514. package/dist/99.aa44f325807ab43663ef.bundle.js +0 -1
  515. package/dist/main.023ec298a5160f9f8cb5.css +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{94:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{94:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{291:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{294:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{180:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{185:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{93:function(t,r,e){"use strict";e.r(r);e(39);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{93:function(t,r,e){"use strict";e.r(r);e(38);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{102:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{104:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{192:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{197:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{96:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=n('<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>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{96:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=n('<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>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{86:function(r,n,e){"use strict";e.r(n);var t=e(526),o=e(524),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{87:function(r,n,e){"use strict";e.r(n);var t=e(529),o=e(527),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13,61,81,82,83,126,127,128,129,131,132,273],{180:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},181:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},182:function(e,t,o){"use strict";o.r(t);o(80);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},183:function(e,t,o){"use strict";o.r(t);o(80);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},184:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},185:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},186:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},187:function(e,t,o){"use strict";o.r(t);o(80),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},276:function(e,t,o){"use strict";o.r(t);o(80),o(93),o(180),o(181),o(182),o(183),o(184),o(185),o(186),o(187);var n=o(30),r=o(85),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},80:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14,64,83,84,85,127,128,129,130,132,133,275],{185:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},186:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},187:function(e,t,o){"use strict";o.r(t);o(83);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},188:function(e,t,o){"use strict";o.r(t);o(83);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},189:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},190:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},191:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},192:function(e,t,o){"use strict";o.r(t);o(83),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},280:function(e,t,o){"use strict";o.r(t);o(83),o(93),o(185),o(186),o(187),o(188),o(189),o(190),o(191),o(192);var n=o(30),r=o(86),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},83:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(38);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{193:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{198:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{206:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{212:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{293:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{296:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{204:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{210:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{295:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{298:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{208:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{214:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{297:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{300:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{215:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{221:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{214:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{220:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{213:function(e,r,t){"use strict";t.r(r);t(11);function n(e,r,t,n,s,a,o,i,c,l,u,p,d,h,g,f,m){e.classHierarchyData={},e.instancesObj={},e.instancesQueryObj={},e.instancesObj.items=[],e.instancesNotFiltered=[],e.isWarningShowed=!1,e.onopen=e.onclose=()=>angular.noop(),e.currentBrowserLimit=2e3,d.firefox?e.currentBrowserLimit=50:(d.safari||d.msie||d.msedge)&&(e.currentBrowserLimit=400);const C={};let y=0,S=0;r.key="",C.get=function(r,t,n){return c.initLazyList(r,t,n,y,e.instancesObj.items)};let w=allGraphs;const b=function(){if(e.getActiveRepository())return f.resolveGraphs(n.getActiveRepository()).success((function(r){e.graphsInRepo=r.results.bindings.length>1002?r.results.bindings.slice(0,1002):r.results.bindings,R()})).error((function(r){e.repositoryError=getError(r),o.error(getError(r),m.instant("graphexplore.error.getting.graphs"))}))},R=function(){const r=h.get("classHierarchy-selectedGraph-"+n.getActiveRepository());null!==r&&e.graphsInRepo.some(e=>e.contextID.uri===r.contextID.uri)?w=r:h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},v=function(){return e.instancesObj.items.length<1e3?m.instant("graphexplore.search.class.instances"):m.instant("graphexplore.search.first.class.instances")};r.$watch((function(){return r.key}),(function(){y=0,_.each(e.instancesObj.items,(function(e){r.key>e&&y++})),S++})),C.revision=function(){return S},e.adapterContainer={adapter:{remain:!0}};const E=[];E.push(e.$on("goToDomainRangeGraphView",(function(e,r){I(r)}))),E.push(e.$on("classCount",x)),E.push(e.$on("repositoryIsSet",(function(){if(!s.isLicenseValid())return;if(D===n.getActiveRepository())return;D=n.getActiveRepository();if(e.repositoryError=null,!D)return;w=allGraphs,b().then(O)}))),E.push(r.$on("$translateChangeSuccess",()=>{e.instancesSearchPlaceholder=v()}));function x(r,t,n){e.classCountSlider.options&&e.classCountSlider.options.ceil!==t&&(e.classCountSlider={});var s;e.classCountSlider.value||(e.showExternalElements=!0,e.classCountSlider={value:t,options:{floor:1,ceil:t,vertical:!0,showSelectionBar:!0,onChange:function(){u(L,100,!0)}}},null===h.get(g.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE)&&t>e.currentBrowserLimit&&(s=e.currentBrowserLimit,d.chrome?o.warning(m.instant("graphexplore.disabling.animations",{classLimit:s}),m.instant("graphexplore.reducing.visual.effects")):o.warning(m.instant("graphexplore.browser.performance",{browser:d.name,classLimit:s}),m.instant("graphexplore.reducing.visual.effects"))));const a=h.get(g.CLASS_HIERARCHY_SWITCH_PREFIXES);null!=a&&"true"!==a&&(e.showExternalElements=!0),n?e.classCountSlider.value=n:t>=1500&&(e.classCountSlider.value=1500,o.warning(m.instant("graphexplore.class.count.slider",{count:1500}),m.instant("graphexplore.reducing.class.count"))),t>=25&&!window.ActiveXObject&&"ActiveXObject"in window&&!e.isWarningShowed&&(e.classCountSlider.value=25,e.isWarningShowed=!0,o.warning(m.instant("graphexplore.class.count.browser",{count:25}),m.instant("graphexplore.reducing.class.count"))),u((function(){e.$broadcast("reCalcViewDimensions");const r=document.getElementById("rzslider");let t=0;r.addEventListener("wheel",(function(r){r.preventDefault(),r.stopPropagation();const n=(new Date).getTime();if(!(n-t>100))return;t=n;let s=e.classCountSlider.value;const a=e.classCountSlider.options.step||1;r.deltaY<=-1?s+=a:r.deltaY>=1&&(s-=a),s=Math.max(e.classCountSlider.options.floor,Math.min(e.classCountSlider.options.ceil,s)),s!==e.classCountSlider.value&&e.$apply((function(){e.classCountSlider.value=s,u(L,100,!0)}))}))}),200),L()}function L(){e.currentSliderValue=e.classCountSlider.value}function I(e){const r=e.data.fullName,n=e.data.name;i.checkDomainRangeData(r).success((function(e,s){204===s?o.warning(m.instant("graphexplore.no.domain.range",{name:n})):(h.set(g.CLASS_HIERARCHY_LAST_SELECTED_CLASS,t.hash()),t.hash("").path("domain-range-graph").search("uri",r).search("name",n))})).error((function(){o.error(m.instant("graphexplore.error.request.failed",{name:n}))}))}function A(){t.replace().hash("1"),e.instancesObj.items=[],e.showExternalElements=!1,e.showClassInfoPanel=!1,h.clearClassHieararchyState(),e.hidePrefixes="true"===h.get(g.CLASS_HIERARCHY_HIDE_PREFIXES),e.currentSliderValue=void 0,e.classHierarchyData={},r.$broadcast("angucomplete-alt:clearInput")}function H(){e.hasClassHierarchy()&&u((function(){$("#toolbar").removeClass("ng-hide")}),0)}E.push(e.$on("$destroy",()=>{E.forEach(e=>e())})),e.datasource=C,e.goToDomainRangeGraphView=I,e.toggleClassInfoSidePanel=function(){e.showClassInfoPanel=!e.showClassInfoPanel,r.$broadcast("sidePanelClosed")},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return n.getActiveRepository()},e.isSystemRepository=function(){return n.isSystemRepository()},e.confirmReloadClassHierarchy=function(){p.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.hierarchy"),warning:!0}).result.then((function(){A(),e.loader=!0,e.hierarchyError=!1,i.reloadClassHierarchy(w.contextID.uri).success((function(r){e.loader=!1,e.classHierarchyData=r,H(),x()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))}))}))},e.focusOnRoot=function(){e.$broadcast("rootFocus")},e.copyToClipboard=function(e){p.openCopyToClipboardModal(e)},e.searchedClassCallback=function(e){if(e){const t={name:e.title};r.$broadcast("searchedClass",t)}},e.instancesQueryObj.query="",e.instancesFilterFunc=function(r){return r.resolvedUri.toLowerCase().indexOf(e.instancesQueryObj.query.toLowerCase())>=0},b(),e.$watch("instancesObj.items",(function(){e.instancesObj.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedClass",(function(){e.showClassInfoPanel&&function(r){const t=r.data.fullName;let n=r.data.name;if(n===t){const e=n.lastIndexOf("#");n=n.substring(e+1)}e.encodedUri=encodeURIComponent(t);const s=encodeURIComponent("prefix onto:<http://www.ontotext.com/>\nselect ?s {\n ?s a <"+t+"> .\n}");e.viewInstancesUri="sparql?name="+n+"&infer=true&sameAs=false&query="+s+"&execute=true",i.getRdfsLabelAndComment(t).success((function(r){e.rdfsLabel=r.label,e.rdfsComment=r.comment,e.expanded=!1})).error((function(){o.error("Error getting rdfs:label and rdfs:comment")})),e.instancesQueryObj.query="",e.instancesLoader=!0,i.getClassInstances(t).success((function(r){e.instancesObj.items=[],_.each(r,(function(r,t){const n={};n.type=r.startsWith("<<")&&r.endsWith(">>")?"triple":"uri",n.absUri=encodeURIComponent(r),n.absUriNonEncoded=r,n.resolvedUri=t,e.instancesObj.items.push(n)})),e.instancesLoader=!1,e.instancesSearchPlaceholder=v(),e.instancesNotFiltered=e.instancesObj.items})).error((function(){o.error(m.instant("graphexplore.error.instances.request"))}))}(e.selectedClass)})),$(document).ready((function(){$(".prefix-toggle").click((function(){$(".tooltip").hide()}))}));let D=n.getActiveRepository();function O(){A(),!e.isSystemRepository()&&e.isLicenseValid()&&(e.hierarchyError=!1,e.loader=!0,i.getClassHierarchyData(w.contextID.uri).success((function(r,t){e.showExternalElements=!0,e.loader=!1,e.classHierarchyData=r,207===t&&o.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed")),H()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))})))}e.hasClassHierarchy=function(){return e.classHierarchyData.classCount&&e.getActiveRepositoryNoError()&&!e.isSystemRepository()},e.isLicenseValid=function(){return s.isLicenseValid()},e.chosenGraph=function(e){w=e,O(),h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},e.getSelGraphValue=function(){return w.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelGraphValue()}}angular.module("graphdb.framework.graphexplore.controllers.class",["pageslide-directive","ngAnimate","ui.scroll.jqlite","ui.scroll","angucomplete-alt","rzSlider","toastr","graphdb.framework.utils.localstorageadapter"]).controller("RdfClassHierarchyCtlr",n),n.$inject=["$scope","$rootScope","$location","$repositories","$licenseService","$window","toastr","GraphDataRestService","UiScrollService","RdfsLabelCommentService","$timeout","ModalService","bowser","LocalStorageAdapter","LSKeys","RDF4JRepositoriesRestService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{219:function(e,r,t){"use strict";t.r(r);t(11);function n(e,r,t,n,s,a,o,i,c,l,u,p,d,h,g,f,m){e.classHierarchyData={},e.instancesObj={},e.instancesQueryObj={},e.instancesObj.items=[],e.instancesNotFiltered=[],e.isWarningShowed=!1,e.onopen=e.onclose=()=>angular.noop(),e.currentBrowserLimit=2e3,d.firefox?e.currentBrowserLimit=50:(d.safari||d.msie||d.msedge)&&(e.currentBrowserLimit=400);const C={};let y=0,S=0;r.key="",C.get=function(r,t,n){return c.initLazyList(r,t,n,y,e.instancesObj.items)};let w=allGraphs;const b=function(){if(e.getActiveRepository())return f.resolveGraphs(n.getActiveRepository()).success((function(r){e.graphsInRepo=r.results.bindings.length>1002?r.results.bindings.slice(0,1002):r.results.bindings,R()})).error((function(r){e.repositoryError=getError(r),o.error(getError(r),m.instant("graphexplore.error.getting.graphs"))}))},R=function(){const r=h.get("classHierarchy-selectedGraph-"+n.getActiveRepository());null!==r&&e.graphsInRepo.some(e=>e.contextID.uri===r.contextID.uri)?w=r:h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},v=function(){return e.instancesObj.items.length<1e3?m.instant("graphexplore.search.class.instances"):m.instant("graphexplore.search.first.class.instances")};r.$watch((function(){return r.key}),(function(){y=0,_.each(e.instancesObj.items,(function(e){r.key>e&&y++})),S++})),C.revision=function(){return S},e.adapterContainer={adapter:{remain:!0}};const E=[];E.push(e.$on("goToDomainRangeGraphView",(function(e,r){I(r)}))),E.push(e.$on("classCount",x)),E.push(e.$on("repositoryIsSet",(function(){if(!s.isLicenseValid())return;if(D===n.getActiveRepository())return;D=n.getActiveRepository();if(e.repositoryError=null,!D)return;w=allGraphs,b().then(O)}))),E.push(r.$on("$translateChangeSuccess",()=>{e.instancesSearchPlaceholder=v()}));function x(r,t,n){e.classCountSlider.options&&e.classCountSlider.options.ceil!==t&&(e.classCountSlider={});var s;e.classCountSlider.value||(e.showExternalElements=!0,e.classCountSlider={value:t,options:{floor:1,ceil:t,vertical:!0,showSelectionBar:!0,onChange:function(){u(L,100,!0)}}},null===h.get(g.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE)&&t>e.currentBrowserLimit&&(s=e.currentBrowserLimit,d.chrome?o.warning(m.instant("graphexplore.disabling.animations",{classLimit:s}),m.instant("graphexplore.reducing.visual.effects")):o.warning(m.instant("graphexplore.browser.performance",{browser:d.name,classLimit:s}),m.instant("graphexplore.reducing.visual.effects"))));const a=h.get(g.CLASS_HIERARCHY_SWITCH_PREFIXES);null!=a&&"true"!==a&&(e.showExternalElements=!0),n?e.classCountSlider.value=n:t>=1500&&(e.classCountSlider.value=1500,o.warning(m.instant("graphexplore.class.count.slider",{count:1500}),m.instant("graphexplore.reducing.class.count"))),t>=25&&!window.ActiveXObject&&"ActiveXObject"in window&&!e.isWarningShowed&&(e.classCountSlider.value=25,e.isWarningShowed=!0,o.warning(m.instant("graphexplore.class.count.browser",{count:25}),m.instant("graphexplore.reducing.class.count"))),u((function(){e.$broadcast("reCalcViewDimensions");const r=document.getElementById("rzslider");let t=0;r.addEventListener("wheel",(function(r){r.preventDefault(),r.stopPropagation();const n=(new Date).getTime();if(!(n-t>100))return;t=n;let s=e.classCountSlider.value;const a=e.classCountSlider.options.step||1;r.deltaY<=-1?s+=a:r.deltaY>=1&&(s-=a),s=Math.max(e.classCountSlider.options.floor,Math.min(e.classCountSlider.options.ceil,s)),s!==e.classCountSlider.value&&e.$apply((function(){e.classCountSlider.value=s,u(L,100,!0)}))}))}),200),L()}function L(){e.currentSliderValue=e.classCountSlider.value}function I(e){const r=e.data.fullName,n=e.data.name;i.checkDomainRangeData(r).success((function(e,s){204===s?o.warning(m.instant("graphexplore.no.domain.range",{name:n})):(h.set(g.CLASS_HIERARCHY_LAST_SELECTED_CLASS,t.hash()),t.hash("").path("domain-range-graph").search("uri",r).search("name",n))})).error((function(){o.error(m.instant("graphexplore.error.request.failed",{name:n}))}))}function A(){t.replace().hash("1"),e.instancesObj.items=[],e.showExternalElements=!1,e.showClassInfoPanel=!1,h.clearClassHieararchyState(),e.hidePrefixes="true"===h.get(g.CLASS_HIERARCHY_HIDE_PREFIXES),e.currentSliderValue=void 0,e.classHierarchyData={},r.$broadcast("angucomplete-alt:clearInput")}function H(){e.hasClassHierarchy()&&u((function(){$("#toolbar").removeClass("ng-hide")}),0)}E.push(e.$on("$destroy",()=>{E.forEach(e=>e())})),e.datasource=C,e.goToDomainRangeGraphView=I,e.toggleClassInfoSidePanel=function(){e.showClassInfoPanel=!e.showClassInfoPanel,r.$broadcast("sidePanelClosed")},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return n.getActiveRepository()},e.isSystemRepository=function(){return n.isSystemRepository()},e.confirmReloadClassHierarchy=function(){p.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.hierarchy"),warning:!0}).result.then((function(){A(),e.loader=!0,e.hierarchyError=!1,i.reloadClassHierarchy(w.contextID.uri).success((function(r){e.loader=!1,e.classHierarchyData=r,H(),x()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))}))}))},e.focusOnRoot=function(){e.$broadcast("rootFocus")},e.copyToClipboard=function(e){p.openCopyToClipboardModal(e)},e.searchedClassCallback=function(e){if(e){const t={name:e.title};r.$broadcast("searchedClass",t)}},e.instancesQueryObj.query="",e.instancesFilterFunc=function(r){return r.resolvedUri.toLowerCase().indexOf(e.instancesQueryObj.query.toLowerCase())>=0},b(),e.$watch("instancesObj.items",(function(){e.instancesObj.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedClass",(function(){e.showClassInfoPanel&&function(r){const t=r.data.fullName;let n=r.data.name;if(n===t){const e=n.lastIndexOf("#");n=n.substring(e+1)}e.encodedUri=encodeURIComponent(t);const s=encodeURIComponent("prefix onto:<http://www.ontotext.com/>\nselect ?s {\n ?s a <"+t+"> .\n}");e.viewInstancesUri="sparql?name="+n+"&infer=true&sameAs=false&query="+s+"&execute=true",i.getRdfsLabelAndComment(t).success((function(r){e.rdfsLabel=r.label,e.rdfsComment=r.comment,e.expanded=!1})).error((function(){o.error("Error getting rdfs:label and rdfs:comment")})),e.instancesQueryObj.query="",e.instancesLoader=!0,i.getClassInstances(t).success((function(r){e.instancesObj.items=[],_.each(r,(function(r,t){const n={};n.type=r.startsWith("<<")&&r.endsWith(">>")?"triple":"uri",n.absUri=encodeURIComponent(r),n.absUriNonEncoded=r,n.resolvedUri=t,e.instancesObj.items.push(n)})),e.instancesLoader=!1,e.instancesSearchPlaceholder=v(),e.instancesNotFiltered=e.instancesObj.items})).error((function(){o.error(m.instant("graphexplore.error.instances.request"))}))}(e.selectedClass)})),$(document).ready((function(){$(".prefix-toggle").click((function(){$(".tooltip").hide()}))}));let D=n.getActiveRepository();function O(){A(),!e.isSystemRepository()&&e.isLicenseValid()&&(e.hierarchyError=!1,e.loader=!0,i.getClassHierarchyData(w.contextID.uri).success((function(r,t){e.showExternalElements=!0,e.loader=!1,e.classHierarchyData=r,207===t&&o.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed")),H()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))})))}e.hasClassHierarchy=function(){return e.classHierarchyData.classCount&&e.getActiveRepositoryNoError()&&!e.isSystemRepository()},e.isLicenseValid=function(){return s.isLicenseValid()},e.chosenGraph=function(e){w=e,O(),h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},e.getSelGraphValue=function(){return w.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelGraphValue()}}angular.module("graphdb.framework.graphexplore.controllers.class",["pageslide-directive","ngAnimate","ui.scroll.jqlite","ui.scroll","angucomplete-alt","rzSlider","toastr","graphdb.framework.utils.localstorageadapter"]).controller("RdfClassHierarchyCtlr",n),n.$inject=["$scope","$rootScope","$location","$repositories","$licenseService","$window","toastr","GraphDataRestService","UiScrollService","RdfsLabelCommentService","$timeout","ModalService","bowser","LocalStorageAdapter","LSKeys","RDF4JRepositoriesRestService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[14,43,58,71,220,228,239,240,241,242,245,304],{131:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},258:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},259:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(81),n=t(131),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},260:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},280:function(e,i,t){"use strict";t.r(i);t(79),t(11),t(17);var r=t(90),n=t(15),s=t(72),a=t(78),y=t(260),o=t(131),l=t(76),d=t(258),u=t(111),c=t(259);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},79:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},81:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(81);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15,44,60,74,222,230,241,242,243,244,247,305],{133:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},262:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},263:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(84),n=t(133),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},264:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},284:function(e,i,t){"use strict";t.r(i);t(82),t(11),t(17);var r=t(90),n=t(15),s=t(72),a=t(78),y=t(264),o=t(133),l=t(76),d=t(262),u=t(106),c=t(263);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},82:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},84:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(84);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{223:function(e,t){function r(){return{restrict:"AE",scope:{filterQueryObj:"=",filterFunction:"&",listItemsObj:"=",listItemsNotFiltered:"=",searchPlaceholder:"@"},templateUrl:"js/angular/graphexplore/templates/listItemsSearchFilterTemplate.html",link:function(e){e.filterFunction=e.filterFunction(),e.$watch("filterQueryObj.query",(function(){var t,r,i,l;e.listItemsObj.items=(t=e.filterQueryObj.query,r=e.listItemsObj.items,i=e.listItemsNotFiltered,l=e.filterFunction,t.length>0?_.filter(i,l):r.length!==i.length?i:r)}))}}}angular.module("graphdb.framework.graphexplore.directives.searchfilter",[]).directive("listItemsSearchFilter",r),r.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{229:function(e,t){function r(){return{restrict:"AE",scope:{filterQueryObj:"=",filterFunction:"&",listItemsObj:"=",listItemsNotFiltered:"=",searchPlaceholder:"@"},templateUrl:"js/angular/graphexplore/templates/listItemsSearchFilterTemplate.html",link:function(e){e.filterFunction=e.filterFunction(),e.$watch("filterQueryObj.query",(function(){var t,r,i,l;e.listItemsObj.items=(t=e.filterQueryObj.query,r=e.listItemsObj.items,i=e.listItemsNotFiltered,l=e.filterFunction,t.length>0?_.filter(i,l):r.length!==i.length?i:r)}))}}}angular.module("graphdb.framework.graphexplore.directives.searchfilter",[]).directive("listItemsSearchFilter",r),r.$inject=[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{221:function(e,n){function t(e){return{restrict:"AE",scope:{rdfsLabel:"=",rdfsComment:"=",expanded:"=",alwaysExpanded:"="},templateUrl:"js/angular/graphexplore/templates/rdfsCommentLabelTemplate.html",link:function(n,t){n.stringLimit=e,n.scrollToTop=function(){t[0].getElementsByClassName("rdfs-comment")[0].scrollTop=0},n.checkCommentLength=function(){return t[0].getElementsByClassName("rdfs-comment-text")[0].innerText.length<e},n.equalHeights=function(){const e=t[0].getElementsByClassName("rdfs-comment-text")[0].innerHeight;e<250&&n.expanded&&(t[0].getElementsByClassName("rdfs-comment")[0].innerHeight=e)},n.toggleFullComment=function(){n.expanded=!n.expanded},n.$watch("expanded || alwaysExpanded",(function(t){n.stringLimit=t?n.rdfsComment.length:e}))}}}angular.module("graphdb.framework.graphexplore.directives.rdfsdetails",[]).directive("rdfsCommentLabel",t).constant("SHORT_COMMENT_LENGTH",100),t.$inject=["SHORT_COMMENT_LENGTH"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{227:function(e,n){function t(e){return{restrict:"AE",scope:{rdfsLabel:"=",rdfsComment:"=",expanded:"=",alwaysExpanded:"="},templateUrl:"js/angular/graphexplore/templates/rdfsCommentLabelTemplate.html",link:function(n,t){n.stringLimit=e,n.scrollToTop=function(){t[0].getElementsByClassName("rdfs-comment")[0].scrollTop=0},n.checkCommentLength=function(){return t[0].getElementsByClassName("rdfs-comment-text")[0].innerText.length<e},n.equalHeights=function(){const e=t[0].getElementsByClassName("rdfs-comment-text")[0].innerHeight;e<250&&n.expanded&&(t[0].getElementsByClassName("rdfs-comment")[0].innerHeight=e)},n.toggleFullComment=function(){n.expanded=!n.expanded},n.$watch("expanded || alwaysExpanded",(function(t){n.stringLimit=t?n.rdfsComment.length:e}))}}}angular.module("graphdb.framework.graphexplore.directives.rdfsdetails",[]).directive("rdfsCommentLabel",t).constant("SHORT_COMMENT_LENGTH",100),t.$inject=["SHORT_COMMENT_LENGTH"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{224:function(e,n){function c(e,n){return{restrict:"AE",scope:{searchData:"=",searchFields:"@",titleField:"@",searchPlaceholder:"@",initialValue:"=",searchedObjCallback:"&"},templateUrl:"js/angular/graphexplore/templates/searchIconInputTemplate.html",link:function(c,s){c.searchedObjCallback=c.searchedObjCallback(),c.performSearchActionOnEnter=function(){e.$broadcast("onEnterKeypressSearchAction")},c.showInput=function(){$("#selectGraphDropdown").hide(),s.find("#search_input #search_input_value")[0].value="",s.find(".search-icon").addClass("animated bounceOut").css("z-index","-1"),s.find("#search_input .angucomplete-holder").css("display","block"),n((function(){s.find("#search_input .angucomplete-holder").css("width","250px").css("left","-215px"),n((function(){s.find(".close-icon").css("display","block").addClass("animated bounceIn").css("z-index","3"),s.find("#search_input #search_input_value").focus()}),200)}),1)},c.hideInput=function(){s.find("#search_input #search_input_value")[0].value="",s.find("#search_input .angucomplete-holder").css("width","0px").css("left","35px"),n((function(){s.find("#search_input .angucomplete-holder").css("display","none"),$("#selectGraphDropdown").show()}),250),s.find(".close-icon").addClass("animated bounceOut").removeClass("bounceOut").css("z-index","-1").css("display","none").click((function(){$(".tooltip").hide()})),n((function(){s.find(".search-icon").css("display","inline-block").removeClass("bounceOut").addClass("bounceIn").css("z-index","3")}),200)}}}}angular.module("graphdb.framework.graphexplore.directives.searchcontrols",[]).directive("searchIconInput",c),c.$inject=["$rootScope","$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[152],{230:function(e,n){function c(e,n){return{restrict:"AE",scope:{searchData:"=",searchFields:"@",titleField:"@",searchPlaceholder:"@",initialValue:"=",searchedObjCallback:"&"},templateUrl:"js/angular/graphexplore/templates/searchIconInputTemplate.html",link:function(c,s){c.searchedObjCallback=c.searchedObjCallback(),c.performSearchActionOnEnter=function(){e.$broadcast("onEnterKeypressSearchAction")},c.showInput=function(){$("#selectGraphDropdown").hide(),s.find("#search_input #search_input_value")[0].value="",s.find(".search-icon").addClass("animated bounceOut").css("z-index","-1"),s.find("#search_input .angucomplete-holder").css("display","block"),n((function(){s.find("#search_input .angucomplete-holder").css("width","250px").css("left","-215px"),n((function(){s.find(".close-icon").css("display","block").addClass("animated bounceIn").css("z-index","3"),s.find("#search_input #search_input_value").focus()}),200)}),1)},c.hideInput=function(){s.find("#search_input #search_input_value")[0].value="",s.find("#search_input .angucomplete-holder").css("width","0px").css("left","35px"),n((function(){s.find("#search_input .angucomplete-holder").css("display","none"),$("#selectGraphDropdown").show()}),250),s.find(".close-icon").addClass("animated bounceOut").removeClass("bounceOut").css("z-index","-1").css("display","none").click((function(){$(".tooltip").hide()})),n((function(){s.find(".search-icon").css("display","inline-block").removeClass("bounceOut").addClass("bounceIn").css("z-index","3")}),200)}}}}angular.module("graphdb.framework.graphexplore.directives.searchcontrols",[]).directive("searchIconInput",c),c.$inject=["$rootScope","$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[152],{220:function(e,r){function o(e,r){return{restrict:"A",scope:{},templateUrl:"js/angular/graphexplore/templates/systemRepoWarningTemplate.html",link:function(o){o.isSystemRepository=function(){return"SYSTEM"===e.getActiveRepository()},o.hasPermission=function(){return r.hasPermission()}}}}angular.module("graphdb.framework.graphexplore.directives.sysrepo",["graphdb.framework.graphexplore.controllers.class"]).directive("systemRepoWarning",o),o.$inject=["$repositories","$rootScope"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[153],{226:function(e,r){function o(e,r){return{restrict:"A",scope:{},templateUrl:"js/angular/graphexplore/templates/systemRepoWarningTemplate.html",link:function(o){o.isSystemRepository=function(){return"SYSTEM"===e.getActiveRepository()},o.hasPermission=function(){return r.hasPermission()}}}}angular.module("graphdb.framework.graphexplore.directives.sysrepo",["graphdb.framework.graphexplore.controllers.class"]).directive("systemRepoWarning",o),o.$inject=["$repositories","$rootScope"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[153],{299:function(e,a){PluginRegistry.add("route",[{url:"/hierarchy",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"hierarchy",controller:"RdfClassHierarchyCtlr",templateUrl:"pages/rdfClassHierarchyInfo.html",title:"view.class.hierarchy.title",reloadOnSearch:!1,helpInfo:"view.class.hierarchy.helpInfo"},{url:"/domain-range-graph",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"domain-range-graph",controller:"DomainRangeGraphCtlr",templateUrl:"pages/domainRangeInfo.html",title:"view.domain.range.graph.title",helpInfo:"view.domain.range.graph.helpInfo"},{url:"/relationships",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"relationships",controller:"DependenciesChordCtrl",templateUrl:"pages/dependencies.html",title:"view.class.relationships.title",helpInfo:"view.class.relationships.helpInfo"},{url:"/graphs-visualizations",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graphs-visualizations",controller:"GraphsVisualizationsCtrl",templateUrl:"pages/graphs-visualizations.html",title:"visual.graph.label",reloadOnSearch:!1,helpInfo:"view.visual.graph.helpInfo"},{url:"/graphs-visualizations/config/save/:configName?",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graph-config",controller:"GraphConfigCtrl",templateUrl:"pages/graph-config/saveGraphConfig.html",title:"view.create.visual.graph.title",helpInfo:"view.create.visual.graph.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Class relationships",labelKey:"menu.class.relationships.label",href:"relationships",order:2,parent:"Explore",guideSelector:"sub-menu-class-relationships"},{label:"Class hierarchy",labelKey:"menu.class.hierarchy.label",href:"hierarchy",order:1,parent:"Explore",guideSelector:"menu-class-hierarchy"},{label:"Visual graph",labelKey:"visual.graph.label",href:"graphs-visualizations",order:5,parent:"Explore",children:[{href:"graphs-visualizations/config/save",children:[]}],guideSelector:"sub-menu-visual-graph"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{302:function(e,a){PluginRegistry.add("route",[{url:"/hierarchy",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"hierarchy",controller:"RdfClassHierarchyCtlr",templateUrl:"pages/rdfClassHierarchyInfo.html",title:"view.class.hierarchy.title",reloadOnSearch:!1,helpInfo:"view.class.hierarchy.helpInfo"},{url:"/domain-range-graph",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"domain-range-graph",controller:"DomainRangeGraphCtlr",templateUrl:"pages/domainRangeInfo.html",title:"view.domain.range.graph.title",helpInfo:"view.domain.range.graph.helpInfo"},{url:"/relationships",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"relationships",controller:"DependenciesChordCtrl",templateUrl:"pages/dependencies.html",title:"view.class.relationships.title",helpInfo:"view.class.relationships.helpInfo"},{url:"/graphs-visualizations",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graphs-visualizations",controller:"GraphsVisualizationsCtrl",templateUrl:"pages/graphs-visualizations.html",title:"visual.graph.label",reloadOnSearch:!1,helpInfo:"view.visual.graph.helpInfo"},{url:"/graphs-visualizations/config/save/:configName?",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graph-config",controller:"GraphConfigCtrl",templateUrl:"pages/graph-config/saveGraphConfig.html",title:"view.create.visual.graph.title",helpInfo:"view.create.visual.graph.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Class relationships",labelKey:"menu.class.relationships.label",href:"relationships",order:2,parent:"Explore",guideSelector:"sub-menu-class-relationships"},{label:"Class hierarchy",labelKey:"menu.class.hierarchy.label",href:"hierarchy",order:1,parent:"Explore",guideSelector:"menu-class-hierarchy"},{label:"Visual graph",labelKey:"visual.graph.label",href:"graphs-visualizations",order:5,parent:"Explore",children:[{href:"graphs-visualizations/config/save",children:[]}],guideSelector:"sub-menu-visual-graph"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{210:function(e,n){angular.module("graphdb.framework.graphexplore.services.rdfsdetails",[]).factory("RdfsLabelCommentService",(function(){return{processAndFilterLabelAndComment:function(e){function n(e){const n={};for(let r in e)if(e.hasOwnProperty(r)){let a=r;r.indexOf(":")>-1&&(a=r,r=r.split(":")[1].toLowerCase()),n[r]=e[a]}return n}const r=e.results.bindings,a=[],t=[];_.each(r,(function(e){let r;angular.isUndefined(e.label)||(r=n(e.label),a.push(r)),angular.isUndefined(e.comment)||(r=n(e.comment),t.push(r))}));const l=function(e){return"en"===e.lang||"de"===e.lang},o=$.grep(a,l)[0],i=$.grep(t,l)[0],s=angular.isUndefined(o)?a.length>0?a[0].value:void 0:o.value,d=angular.isUndefined(i)?t.length>0?t[0].value:void 0:i.value;return{rdfsLabel:s,rdfsComment:d}}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{216:function(e,n){angular.module("graphdb.framework.graphexplore.services.rdfsdetails",[]).factory("RdfsLabelCommentService",(function(){return{processAndFilterLabelAndComment:function(e){function n(e){const n={};for(let r in e)if(e.hasOwnProperty(r)){let a=r;r.indexOf(":")>-1&&(a=r,r=r.split(":")[1].toLowerCase()),n[r]=e[a]}return n}const r=e.results.bindings,a=[],t=[];_.each(r,(function(e){let r;angular.isUndefined(e.label)||(r=n(e.label),a.push(r)),angular.isUndefined(e.comment)||(r=n(e.comment),t.push(r))}));const l=function(e){return"en"===e.lang||"de"===e.lang},o=$.grep(a,l)[0],i=$.grep(t,l)[0],s=angular.isUndefined(o)?a.length>0?a[0].value:void 0:o.value,d=angular.isUndefined(i)?t.length>0?t[0].value:void 0:i.value;return{rdfsLabel:s,rdfsComment:d}}}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{209:function(n,i){function r(n){return{initLazyList:function(i,r,e,o,t){return n((function(){const n=i+o-1,c=Math.max(0-o,n),a=Math.min(n+r-1,t.length);c>a?e([]):$.isArray(t)&&e(t.slice(c,a+1))}),100,!0)}}}angular.module("graphdb.framework.graphexplore.services.uiscroll",[]).factory("UiScrollService",r),r.$inject=["$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{215:function(n,i){function r(n){return{initLazyList:function(i,r,e,o,t){return n((function(){const n=i+o-1,c=Math.max(0-o,n),a=Math.min(n+r-1,t.length);c>a?e([]):$.isArray(t)&&e(t.slice(c,a+1))}),100,!0)}}}angular.module("graphdb.framework.graphexplore.services.uiscroll",[]).factory("UiScrollService",r),r.$inject=["$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{301:function(e,i){PluginRegistry.add("route",[{url:"/guides",module:"graphdb.framework.guides",path:"guides/app",templateUrl:"pages/guides.html",title:"view.guides.title",controller:"GuidesCtrl",helpInfo:"view.guides.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Guides",labelKey:"menu.guides.label",order:0,parent:"Help",icon:"paste",href:"guides",role:"ROLE_USER",guideSelector:"sub-menu-guide"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[157],{304:function(e,i){PluginRegistry.add("route",[{url:"/guides",module:"graphdb.framework.guides",path:"guides/app",templateUrl:"pages/guides.html",title:"view.guides.title",controller:"GuidesCtrl",helpInfo:"view.guides.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Guides",labelKey:"menu.guides.label",order:0,parent:"Help",icon:"paste",href:"guides",role:"ROLE_USER",guideSelector:"sub-menu-guide"}]})}}]);