graphdb-workbench 3.0.1 → 3.0.2-TR1

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 (276) hide show
  1. package/dist/{1.4557dfdb926ba6471bb3.bundle.js → 1.39c8f2b09d3018e6a9cd.bundle.js} +1 -1
  2. package/dist/{10.8a76ef708b5c69241c68.bundle.js → 10.4f80be12b2cd899d4fc2.bundle.js} +1 -1
  3. package/dist/100.2daf71ab49c93a1c9d40.bundle.js +1 -0
  4. package/dist/{99.a745a27e01490b0d843d.bundle.js → 101.70d205b9691d74539dd7.bundle.js} +1 -1
  5. package/dist/{100.c4aaa3d10f570dba12a9.bundle.js → 102.8b6782cd3c24d47c87d2.bundle.js} +1 -1
  6. package/dist/{101.8f0b38c2e58132599194.bundle.js → 103.ff8e7dd53d94f93552bf.bundle.js} +1 -1
  7. package/dist/{103.96f2287dde7e4fc25c9d.bundle.js → 104.a1b5b2e868eb117b48ac.bundle.js} +1 -1
  8. package/dist/{104.ddeb2cb5758d1ed52b33.bundle.js → 105.0121f779d777d869ce4e.bundle.js} +1 -1
  9. package/dist/{105.e8302c421c3d7b516b4c.bundle.js → 106.55cf93dab531f6120a6e.bundle.js} +1 -1
  10. package/dist/{106.00a983e1594a051a5fe7.bundle.js → 107.c0d5d1b4a12c8a01745e.bundle.js} +1 -1
  11. package/dist/{107.7b548755171f42f06352.bundle.js → 108.9ca7ca14da8593ef91ba.bundle.js} +1 -1
  12. package/dist/{108.160515780d319edefb5c.bundle.js → 109.1c877e801581e1f60bf8.bundle.js} +1 -1
  13. package/dist/11.cc21bcbc41edfd865a48.bundle.js +1 -0
  14. package/dist/{109.1da75239f8e2a5d63b23.bundle.js → 110.3740001dabee596bbf71.bundle.js} +1 -1
  15. package/dist/{110.780a31b32e116f49a75f.bundle.js → 111.f0ae6a0107628aaeef02.bundle.js} +1 -1
  16. package/dist/{111.7e3057275034cb5dc5a6.bundle.js → 112.ed43d212e04e37907453.bundle.js} +1 -1
  17. package/dist/{112.22145690dd697aa9275d.bundle.js → 113.0b94d0e087a818cf9d4c.bundle.js} +1 -1
  18. package/dist/{113.c135232a9177d596406c.bundle.js → 114.88b6c5ce916e956cc2e5.bundle.js} +1 -1
  19. package/dist/{114.b2c0df64a560a8dd5ae0.bundle.js → 115.3a159adc54ebc83243cd.bundle.js} +1 -1
  20. package/dist/{115.543de06ecb5553155522.bundle.js → 116.b75b69c7fe15583deb8a.bundle.js} +1 -1
  21. package/dist/{116.79b9b3abc0b03e8b7924.bundle.js → 117.a3706ff54783c451de62.bundle.js} +1 -1
  22. package/dist/{117.ae87c77380fb7660d9ec.bundle.js → 118.e93de50f0149eb2931a4.bundle.js} +1 -1
  23. package/dist/{118.6756956bb51b3350690d.bundle.js → 119.e5733c827c71ba3106fc.bundle.js} +1 -1
  24. package/dist/12.5d075599ef637022c23c.bundle.js +1 -0
  25. package/dist/{119.c8e77171125b6497990a.bundle.js → 120.346f38c1b8fa9bb399aa.bundle.js} +1 -1
  26. package/dist/{120.1484bac063921edb7a2c.bundle.js → 121.0a271d2bfea3fc050225.bundle.js} +1 -1
  27. package/dist/{121.6a0ffc9dfc3ea14fd0d3.bundle.js → 122.6812fc0e3f6f60eec16d.bundle.js} +1 -1
  28. package/dist/{122.13363b4c4f89776fa1b5.bundle.js → 123.31d75efb53b4049f1b67.bundle.js} +1 -1
  29. package/dist/{123.616625d0908d7e6eab3d.bundle.js → 124.2e17f7bde4612462c957.bundle.js} +1 -1
  30. package/dist/{124.924dce24aad641d1dd23.bundle.js → 125.f74277a2a44949ca0b4c.bundle.js} +1 -1
  31. package/dist/{125.d86cff2a5cc679dc20d9.bundle.js → 126.63677abd348f7f462e66.bundle.js} +1 -1
  32. package/dist/{126.ff5a04a468a8a8d1a99a.bundle.js → 127.41cba8bf8e30ac29ab7e.bundle.js} +1 -1
  33. package/dist/{127.954cf8032872deba10e6.bundle.js → 128.2ec10c750cf6d0f151f4.bundle.js} +1 -1
  34. package/dist/{128.639a495883f611c4691e.bundle.js → 129.7b10d7005f33d6187a4b.bundle.js} +1 -1
  35. package/dist/{13.c904bbb863125c4ff6cc.bundle.js → 13.c1f8c588c7fc852bbe1d.bundle.js} +1 -1
  36. package/dist/{129.5d11264c418527e53342.bundle.js → 130.6eaf3aa6daac5859f7d7.bundle.js} +1 -1
  37. package/dist/{130.82fe31a14b953086bb45.bundle.js → 131.45ae15011beefb1ec398.bundle.js} +1 -1
  38. package/dist/{131.e4be75b25c9eb85db5a8.bundle.js → 132.f675fe2fd349527933b3.bundle.js} +1 -1
  39. package/dist/{132.364bb39217e31f46480f.bundle.js → 133.1efc1419d69e84db2b4b.bundle.js} +1 -1
  40. package/dist/{133.df86fdb8d83ca7237793.bundle.js → 134.01ec95b828ad09fcb1a9.bundle.js} +1 -1
  41. package/dist/{134.33804d658ebadcbc3b55.bundle.js → 135.7d15f409bdb1e8630623.bundle.js} +1 -1
  42. package/dist/{135.797fc168b7a948df2ccb.bundle.js → 136.1ff57ae90902aff352e4.bundle.js} +1 -1
  43. package/dist/{136.5ca50393ed4761535bfe.bundle.js → 137.044a888e82e4ac13cbed.bundle.js} +1 -1
  44. package/dist/{137.d8b48c06ecd279c12ca7.bundle.js → 138.f910e9be040100f08326.bundle.js} +1 -1
  45. package/dist/{138.3bb6b7be471eb2d04c6e.bundle.js → 139.7e7adea811551510d1d4.bundle.js} +1 -1
  46. package/dist/{14.d0ab3c83926b616e7354.bundle.js → 14.d0c7642a1a7041f50137.bundle.js} +1 -1
  47. package/dist/{139.ea151aec614a76870451.bundle.js → 140.3e12b1909d34b2b23d66.bundle.js} +1 -1
  48. package/dist/{140.6583cf41ab8e891ebbb6.bundle.js → 141.022a52911a1fba3e9273.bundle.js} +1 -1
  49. package/dist/{141.af39fc3a6dc1dafdb5ab.bundle.js → 142.9b8ed6c5c8e7a9f5de47.bundle.js} +1 -1
  50. package/dist/{142.c2392a48e4d3a2a16866.bundle.js → 143.81cfe46fdf48ae310839.bundle.js} +1 -1
  51. package/dist/{143.e4511e1698aca68814e3.bundle.js → 144.fbf7737acce465cf274d.bundle.js} +1 -1
  52. package/dist/{144.f58114954e257cb77bde.bundle.js → 145.72459692d3c167aee55e.bundle.js} +1 -1
  53. package/dist/{145.d558ac05737ca5ef00a4.bundle.js → 146.e435b2bdae83a56537f6.bundle.js} +1 -1
  54. package/dist/{146.de12b58d856c54decc0b.bundle.js → 147.f4e3eb741619b49bcc80.bundle.js} +1 -1
  55. package/dist/{147.6faf4e13462207010d38.bundle.js → 148.44ea646c66b6b0e8f996.bundle.js} +1 -1
  56. package/dist/{148.25167c5ae125b23811c9.bundle.js → 149.0c8405d83935b512abfb.bundle.js} +1 -1
  57. package/dist/{15.8ab8b6f8c611ec1dfddc.bundle.js → 15.79a075c0e170b3066b07.bundle.js} +1 -1
  58. package/dist/{149.9629d0dfe4f62aa15bba.bundle.js → 150.fb80c0c92d602a623c36.bundle.js} +1 -1
  59. package/dist/{150.c8bf724fbe76d0e0696d.bundle.js → 151.0b79280f2a959473ff16.bundle.js} +1 -1
  60. package/dist/{151.4970e08b91e9849ae5e3.bundle.js → 152.410c52dad18a5a3961f6.bundle.js} +1 -1
  61. package/dist/{152.8a1ea0a8d04e0873f67b.bundle.js → 153.cb649018e1db6b8c4f1c.bundle.js} +1 -1
  62. package/dist/{153.64e4e15ca8abeb5268e3.bundle.js → 154.a96812700b8b52d10e57.bundle.js} +1 -1
  63. package/dist/160.1e607beff0e4f8e426cf.bundle.js +1 -0
  64. package/dist/{161.228b61b39d936f8fca31.bundle.js → 161.2a41444b94b2db7dd638.bundle.js} +1 -1
  65. package/dist/{163.716d49313f3e196497dd.bundle.js → 163.9c8a1cb6d8692b5347a4.bundle.js} +1 -1
  66. package/dist/{166.31241e54608319e510e2.bundle.js → 166.c08c74fdaa7965adecbc.bundle.js} +1 -1
  67. package/dist/{17.019de109eebe6b7563fe.bundle.js → 17.e163dfcc19d77667295a.bundle.js} +1 -1
  68. package/dist/{173.425381e5433b54da911c.bundle.js → 173.4fb35b26d3b118d10626.bundle.js} +1 -1
  69. package/dist/{175.b94e42f1b1b7479f46ad.bundle.js → 175.ec71d7bdff18c571a78e.bundle.js} +1 -1
  70. package/dist/{179.63500ae70b7715467e79.bundle.js → 179.be20755cb9848e72b319.bundle.js} +1 -1
  71. package/dist/{18.6722328814b9fcee2f6e.bundle.js → 18.b09e14d8a204a28fb95b.bundle.js} +1 -1
  72. package/dist/{180.a91ac4fc484a71bd5ed8.bundle.js → 180.a82dac6c561436705ae7.bundle.js} +1 -1
  73. package/dist/{19.a0af0ec7c0e4eb7ab20c.bundle.js → 19.407c7beb11ea143e1f9e.bundle.js} +1 -1
  74. package/dist/{2.354e410d4fb45ab44420.bundle.js → 2.842d68f9e1fac66644aa.bundle.js} +1 -1
  75. package/dist/{20.b2e6e5248ede44286621.bundle.js → 20.d9c0a2300fac55616a64.bundle.js} +1 -1
  76. package/dist/{21.6de69abd52835f511f89.bundle.js → 21.db9a15c2ce6264384788.bundle.js} +1 -1
  77. package/dist/{22.035be7329fd099903c2b.bundle.js → 22.1408d06830b72a459d6a.bundle.js} +1 -1
  78. package/dist/{23.f499db643c1d187eefe1.bundle.js → 23.e6835ca70f33d8babcca.bundle.js} +1 -1
  79. package/dist/231.909faa919088245e9988.bundle.js +1 -1
  80. package/dist/{24.057be6f617f4e3f35691.bundle.js → 24.8fbf33e98e7c306e8ea8.bundle.js} +1 -1
  81. package/dist/{242.c2143bfd879222a393dc.bundle.js → 242.2aceac5a4d9f377f3553.bundle.js} +1 -1
  82. package/dist/{243.ed8bd30b9501bcb22fd3.bundle.js → 243.35701551c53ddd41d3e2.bundle.js} +1 -1
  83. package/dist/{248.35714eeadd519aa9dfcf.bundle.js → 248.b1fb4b93555c3f69bc46.bundle.js} +1 -1
  84. package/dist/{25.25d1fdcb1cbeafd51681.bundle.js → 25.6f945a6e26e6daa27763.bundle.js} +1 -1
  85. package/dist/{258.af0b3d78c0f9b4c4b483.bundle.js → 258.fc7172db37e5b0ca1279.bundle.js} +1 -1
  86. package/dist/{26.3aa8a6a7f10039840838.bundle.js → 26.76be6828c642933221c3.bundle.js} +1 -1
  87. package/dist/{264.c6d038d027b8f5579b62.bundle.js → 264.8e759dd1686c37c32b07.bundle.js} +1 -1
  88. package/dist/{287.4f8a30c6c6c72ebafedb.bundle.js → 287.a750fc40fa90418f3d6d.bundle.js} +1 -1
  89. package/dist/{29.33b92413c2f0a708b821.bundle.js → 29.1f79f4caa66f63bd6611.bundle.js} +1 -1
  90. package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
  91. package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.2125e28509307f3a225f.bundle.js} +1 -1
  92. package/dist/31.e0747ab3d38bd6efa832.bundle.js +2 -0
  93. package/dist/{312.0e853d11527c8a2fc070.bundle.js → 312.c03a255fbafa0d4335b7.bundle.js} +1 -1
  94. package/dist/{32.e14fc108d80a26925f88.bundle.js → 32.14b30077e63f4b1b729a.bundle.js} +1 -1
  95. package/dist/{322.6524ee61a5bbcdc82bad.bundle.js → 322.34c7ffacecadc1dff436.bundle.js} +1 -1
  96. package/dist/{33.fec387c3be8b00368957.bundle.js → 33.da597e608351b4872771.bundle.js} +1 -1
  97. package/dist/{332.2db32da5af5ac8856a0c.bundle.js → 332.eb8ac0b7d982535eb48b.bundle.js} +1 -1
  98. package/dist/{334.2970372fd546db2cd792.bundle.js → 334.85e45ef3709738a8c800.bundle.js} +1 -1
  99. package/dist/{335.b445bf889c4bfaa20ded.bundle.js → 335.5a6a3768096f7e02a5a3.bundle.js} +1 -1
  100. package/dist/{34.61223a86d6cb125fc2c8.bundle.js → 34.51476f9015bca2457953.bundle.js} +1 -1
  101. package/dist/{348.a113e5a47d253a04ee81.bundle.js → 348.da14c1b3111036fe2e02.bundle.js} +1 -1
  102. package/dist/{35.1b457bfdeea08b897d25.bundle.js → 35.dec1963ba9e2a21fdbec.bundle.js} +1 -1
  103. package/dist/{353.8dbc0f6a10d578ed65d8.bundle.js → 353.5ca0dd499b0e4ec5a228.bundle.js} +1 -1
  104. package/dist/{36.54cce0e26c592b832258.bundle.js → 36.5bdd80f32426b30c458d.bundle.js} +1 -1
  105. package/dist/{363.7a3d9b6e636d736c57b1.bundle.js → 363.fe7a10fbfe3ad1a31725.bundle.js} +1 -1
  106. package/dist/{37.be47535106d4b3dbc077.bundle.js → 37.3e74a6a07640c4d8db96.bundle.js} +1 -1
  107. package/dist/{381.aea7ee474ca60accc01b.bundle.js → 381.7705312c8cedfe733a17.bundle.js} +1 -1
  108. package/dist/{382.c69f3647cc33ace74db4.bundle.js → 382.3b6533fe63bb7b89d2a6.bundle.js} +1 -1
  109. package/dist/{385.559499835625e3e755d3.bundle.js → 385.93498ab442f8c50fadbc.bundle.js} +1 -1
  110. package/dist/{39.051d67965709d49db0ab.bundle.js → 39.8be9b0247c3518abbf8b.bundle.js} +1 -1
  111. package/dist/{392.96254712f6158ac44044.bundle.js → 392.fd509c86891257f9777f.bundle.js} +1 -1
  112. package/dist/399.0a3aec07fe2383cc35ba.bundle.js +1 -0
  113. package/dist/{40.9208517ef50b6f8024c6.bundle.js → 40.2747ad0262dc133c782c.bundle.js} +1 -1
  114. package/dist/404.163e08fb2eeea2362f8a.bundle.js +1 -0
  115. package/dist/410.b74d59055b7cf830abe5.bundle.js +1 -0
  116. package/dist/416.68f6286f80654cdbe4e4.bundle.js +1 -1
  117. package/dist/417.70adf0a6f0571c394764.bundle.js +1 -1
  118. package/dist/42.baaa159c3b1e81422600.bundle.js +1 -0
  119. package/dist/423.6edb13ec0cf08388c947.bundle.js +1 -1
  120. package/dist/424.725b821051516e73783a.bundle.js +1 -1
  121. package/dist/425.03fcf969da1a4e92fec3.bundle.js +1 -1
  122. package/dist/426.aa6924f6f1192d037009.bundle.js +1 -1
  123. package/dist/427.5c7b72141707b841e8a3.bundle.js +1 -1
  124. package/dist/428.0d471ce7c68654947c04.bundle.js +1 -1
  125. package/dist/{43.96e8540045f061114280.bundle.js → 43.46cf7aa71531400f5ce3.bundle.js} +1 -1
  126. package/dist/443.969280af4067a22d1a8b.bundle.js +1 -1
  127. package/dist/444.a5971579184b091ed392.bundle.js +1 -1
  128. package/dist/445.2b20cb9e68a11879f6c4.bundle.js +1 -1
  129. package/dist/446.fe3cf3d6e288c8c4444b.bundle.js +1 -1
  130. package/dist/447.d1d078921f6f28e2fa38.bundle.js +1 -1
  131. package/dist/448.d6c9bed6d99b8b23619f.bundle.js +1 -1
  132. package/dist/{45.8c13732f2859713c90c4.bundle.js → 45.e79cfcb4606177c83d29.bundle.js} +1 -1
  133. package/dist/{46.f04ca39b752caadd9714.bundle.js → 46.db4b433aebdbb6965f9d.bundle.js} +1 -1
  134. package/dist/468.8e259940c62a68ef3055.bundle.js +1 -1
  135. package/dist/{47.5773e1581c385ba39851.bundle.js → 47.89ad9da6a07545789631.bundle.js} +1 -1
  136. package/dist/{48.06454bbe08df5938e67a.bundle.js → 48.ba4cec793ef54b1611e5.bundle.js} +1 -1
  137. package/dist/480.379bf3b338e0a3224a1f.bundle.js +1 -1
  138. package/dist/481.0387239b174f787e70ea.bundle.js +1 -1
  139. package/dist/483.c81275cb05dd78ce389f.bundle.js +1 -1
  140. package/dist/484.25a82c267c3a705d2a65.bundle.js +1 -1
  141. package/dist/485.91cbfbfd37eccde375c9.bundle.js +1 -1
  142. package/dist/488.a69dcce23066c0dafdf7.bundle.js +1 -1
  143. package/dist/489.a976085b601cccf438d4.bundle.js +1 -1
  144. package/dist/49.ec8921fc54aaae50ca52.bundle.js +1 -0
  145. package/dist/490.d3e0f3e499b5a24f6808.bundle.js +1 -1
  146. package/dist/491.62c185868f9d99dd5713.bundle.js +1 -1
  147. package/dist/5.163df03f5440d982d268.bundle.js +2 -0
  148. package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +1 -1
  149. package/dist/{51.676e3d8a0e328ad836ed.bundle.js → 51.014f0ee2c2a7ff9ce3ff.bundle.js} +1 -1
  150. package/dist/{52.cfdfa7095a554e758861.bundle.js → 52.85c3ec8030d92959e556.bundle.js} +1 -1
  151. package/dist/{55.fb160be660f713a3d6a1.bundle.js → 55.3262334c9d8a63b347ab.bundle.js} +1 -1
  152. package/dist/{56.a97521bde50d8e02ab1d.bundle.js → 56.f9d140f83b5462444e57.bundle.js} +1 -1
  153. package/dist/{57.ec17cacc850ae1904aeb.bundle.js → 57.fcd6814bee867f2345e7.bundle.js} +1 -1
  154. package/dist/{58.0c8ce6607800bf7ff0ac.bundle.js → 58.914f27e1a230e164d29b.bundle.js} +1 -1
  155. package/dist/{59.47183b72936629232e7f.bundle.js → 59.a7f0559fb46565813cf0.bundle.js} +1 -1
  156. package/dist/{6.33f8c6c7e324640238de.bundle.js → 6.0bfc114054ad3b233305.bundle.js} +1 -1
  157. package/dist/{60.046829a1be3f196bef1c.bundle.js → 60.6c9b4c93b093288c7649.bundle.js} +1 -1
  158. package/dist/{61.f625328fcc0d35aa07a4.bundle.js → 61.424616e10051d7cdbc93.bundle.js} +1 -1
  159. package/dist/{62.842d67b8758eed682f2c.bundle.js → 62.c335ec2480066d4422a9.bundle.js} +1 -1
  160. package/dist/63.e55beded50a778a97299.bundle.js +1 -0
  161. package/dist/{63.c3630cbfa8f6884a417d.bundle.js → 64.7a62b6f780380840f244.bundle.js} +1 -1
  162. package/dist/{64.91ba76d42905a3d9afbe.bundle.js → 65.8d5f1b79d228176db399.bundle.js} +1 -1
  163. package/dist/{65.198a4d69873309746593.bundle.js → 66.75d04ae3be915ecd5afe.bundle.js} +1 -1
  164. package/dist/{66.b7385a74d4f3287237ba.bundle.js → 67.dbc1e4410498f4ceae46.bundle.js} +1 -1
  165. package/dist/{67.3488f2543baf36d3c494.bundle.js → 68.aeae93de29be6d346977.bundle.js} +1 -1
  166. package/dist/{68.4e51b896e74fbd145701.bundle.js → 69.3024e70e93884b7138eb.bundle.js} +1 -1
  167. package/dist/{69.a2244fec1e7110f5aeec.bundle.js → 70.f982fe4a8c44d2ef72a6.bundle.js} +1 -1
  168. package/dist/{70.0b30be583854923aadc1.bundle.js → 71.8ffc1c2036362cf40526.bundle.js} +1 -1
  169. package/dist/{71.24d20933fd9614cf27af.bundle.js → 72.a47d3fdd3239098987a8.bundle.js} +1 -1
  170. package/dist/{72.5d2f018d17e995bc6455.bundle.js → 73.1d8cf985f584d6a29f1b.bundle.js} +1 -1
  171. package/dist/{73.3f407c010a17e4a109b9.bundle.js → 74.70762fed64c1503da986.bundle.js} +1 -1
  172. package/dist/{74.1d496e6a8dc0abfcbe04.bundle.js → 75.e464e055d7b66bf2fc93.bundle.js} +1 -1
  173. package/dist/76.fc1058890354a7ee6abe.bundle.js +1 -0
  174. package/dist/{76.9ca923a9265537ac7be4.bundle.js → 77.bf8560beda63d53b83c2.bundle.js} +1 -1
  175. package/dist/{77.f53fbf119a8b73148a25.bundle.js → 78.eecf35e4f25434df649e.bundle.js} +1 -1
  176. package/dist/{78.933cb90bda144ed95290.bundle.js → 79.074403a4200f684a0945.bundle.js} +1 -1
  177. package/dist/{8.3cf83e59a56858648ad9.bundle.js → 8.e3c3c3676785a030527d.bundle.js} +1 -1
  178. package/dist/{79.6e0224e241895965a9d3.bundle.js → 80.07a80c5fe69c039db15d.bundle.js} +1 -1
  179. package/dist/{80.f7d6d3108e6d18b96cd7.bundle.js → 81.234a3c0b3136c4a55730.bundle.js} +1 -1
  180. package/dist/{81.b79dd505cb205eb7eff0.bundle.js → 82.3e71f24921a2283967c3.bundle.js} +1 -1
  181. package/dist/{82.cd869e55416407b078e0.bundle.js → 83.cf2e3938d315b0470906.bundle.js} +1 -1
  182. package/dist/{83.b085735389d935aa6f42.bundle.js → 84.c1e18d720b266e35aec2.bundle.js} +1 -1
  183. package/dist/{84.7f9377fc605aff3f0d48.bundle.js → 85.7dc677e973a2dfcddfea.bundle.js} +1 -1
  184. package/dist/86.adb4b3504c93eb726fcd.bundle.js +1 -0
  185. package/dist/{85.8a74811c261c635235f7.bundle.js → 87.ddab9647e5ff9f432212.bundle.js} +1 -1
  186. package/dist/{86.c491436398aef8142dc3.bundle.js → 88.e04e9207f68a222a8a64.bundle.js} +1 -1
  187. package/dist/{87.cf9f719c3dd04bc64102.bundle.js → 89.51eac4bd9aa2668b96fb.bundle.js} +1 -1
  188. package/dist/{88.7d844f12b9d68b0be1d7.bundle.js → 90.ac1501d736615a2bc7f6.bundle.js} +1 -1
  189. package/dist/{89.2c1bcd6a70ba8769b6b9.bundle.js → 91.4c80dbc7c0af8d2d07f5.bundle.js} +1 -1
  190. package/dist/{90.b93a0ecac4f5bcfeed0f.bundle.js → 92.69c6a0625b9e94d1a9df.bundle.js} +1 -1
  191. package/dist/{91.44e1598ed46ac2197521.bundle.js → 93.4e0f1104ab14c3dfae71.bundle.js} +1 -1
  192. package/dist/{92.e81e734ef32fe8b56d78.bundle.js → 94.62f609daaeaf1e0b9f63.bundle.js} +1 -1
  193. package/dist/{93.6486890affff9e0f6ca8.bundle.js → 95.2c784e759051491850fb.bundle.js} +1 -1
  194. package/dist/{94.13212f8f2d50c66cb482.bundle.js → 96.22c66e3781a4afc22d1a.bundle.js} +1 -1
  195. package/dist/{95.6fe91e68bef2c41f2645.bundle.js → 97.856052734f379717d4cc.bundle.js} +1 -1
  196. package/dist/{96.4bd66eace72867bf76e1.bundle.js → 98.be86330473bf291530fa.bundle.js} +1 -1
  197. package/dist/{97.4cfafc4c6cedd50e973e.bundle.js → 99.6af4734887301734ebbe.bundle.js} +1 -1
  198. package/dist/{bundle.e7ff3a088b4fc9e2ec9e.bundle.js → bundle.6c88507cb6367ac80d16.bundle.js} +19 -19
  199. package/dist/css/autocomplete.css +5 -0
  200. package/dist/css/clustermanagement.css +10 -7
  201. package/dist/i18n/locale-en.json +11 -1
  202. package/dist/i18n/locale-fr.json +11 -1
  203. package/dist/index.html +3 -3
  204. package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
  205. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +16 -7
  206. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  207. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  208. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  209. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  210. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  211. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  212. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  213. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  214. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  215. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  216. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  217. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  218. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  219. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  220. package/dist/js/angular/security/templates/user.html +2 -2
  221. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  222. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  223. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  224. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  225. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  226. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  227. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  228. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  229. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  230. package/dist/license-checker.json +4 -4
  231. package/dist/pages/aclmanagement.html +2 -2
  232. package/dist/pages/autocomplete.html +1 -1
  233. package/dist/pages/choose-repository-type.html +1 -1
  234. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  235. package/dist/pages/create-index.html +1 -1
  236. package/dist/pages/dependencies.html +1 -1
  237. package/dist/pages/domainRangeInfo.html +2 -2
  238. package/dist/pages/edit.html +1 -1
  239. package/dist/pages/explore.html +1 -1
  240. package/dist/pages/export.html +1 -1
  241. package/dist/pages/find.html +1 -1
  242. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  243. package/dist/pages/graphs-visualizations.html +7 -7
  244. package/dist/pages/guides.html +1 -1
  245. package/dist/pages/import.html +2 -2
  246. package/dist/pages/jdbc-create.html +1 -1
  247. package/dist/pages/monitor/backup-and-restore.html +1 -1
  248. package/dist/pages/monitor/queries.html +1 -1
  249. package/dist/pages/monitor/resources.html +1 -1
  250. package/dist/pages/namespaces.html +2 -2
  251. package/dist/pages/plugins.html +1 -1
  252. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  253. package/dist/pages/rdfrank.html +2 -2
  254. package/dist/pages/repositories.html +1 -1
  255. package/dist/pages/repository.html +1 -1
  256. package/dist/pages/similarity-indexes.html +1 -1
  257. package/dist/pages/sparql-editor.html +1 -1
  258. package/dist/pages/sparql-template-create.html +1 -1
  259. package/dist/pages/ux-test1.html +2 -2
  260. package/dist/pages/webapi.html +2 -2
  261. package/dist/res/swagger5/index.html +12 -12
  262. package/package.json +2 -2
  263. package/dist/102.2b1c8399187ccefe5a4f.bundle.js +0 -1
  264. package/dist/11.7343b4e08a786f0a1eab.bundle.js +0 -1
  265. package/dist/12.3669f82ad6489ffeb12b.bundle.js +0 -1
  266. package/dist/154.89f16e758f1caaae814c.bundle.js +0 -1
  267. package/dist/160.90a42dd6a992307c602d.bundle.js +0 -1
  268. package/dist/31.721783158dcfdee0b882.bundle.js +0 -2
  269. package/dist/399.b13be7ef0c258335c762.bundle.js +0 -1
  270. package/dist/404.00ef41fe988cd9161359.bundle.js +0 -1
  271. package/dist/410.a86d6bdafde1b951e239.bundle.js +0 -1
  272. package/dist/42.0147219d61d3814c266c.bundle.js +0 -1
  273. package/dist/49.6b885bb67696745b1634.bundle.js +0 -1
  274. package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
  275. package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
  276. package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[73,114,186,354],{111:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(n,t){if(n)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":t}});return e.get("rest/connectors")},initConnector:function(n){return e.get("".concat("rest/connectors","/options?prefix=").concat(n))},hasConnector:function(n,t,r){if(t)return e.get("".concat("rest/connectors","/existing?prefix=").concat(n),{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":r}});return e.get("".concat("rest/connectors","/existing?prefix=").concat(n))},checkConnector:function(n){return e.post("".concat("rest/connectors","/check"),n,{headers:{"Content-Type":"text/plain"}})}}}},219:function(e,n,t){"use strict";t.r(n);t(59),t(111);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function a(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(var o=0;o<r.__childOptions.length;o++){var a=r.__childOptions[o];if("Boolean"===a.__type)for(var i=0;i<e[r.__name].length;i++){var c=e[r.__name][i];!c.hasOwnProperty([a.__name])&&angular.isDefined(a.__defaultValue)&&(c[a.__name]=a.__defaultValue)}}else{e[r.__name]=[];for(var s={},l=0;l<r.__childOptions.length;l++){var u=r.__childOptions[l];"StringArray"===u.__type?s[u.__name]=[""]:s[u.__name]=angular.isUndefined(u.__defaultValue)?"":u.__defaultValue}e[r.__name].push(s)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(p=e[r.__name],_.map(p,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var p;return e}function c(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function l(e,n,t,o,i){for(var c=function e(n,t){var r={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(r[t.__name]=[],_.each(n[t.__name],(function(n){r[t.__name].push(e(n,t.__childOptions))}))):r[t.__name]=_.cloneDeep(n[t.__name]))})),r}(t,o),l=0;l<o.length;l++)try{"Map"===o[l].__type?c[o[l].__name]=a(c[o[l].__name],$translate):"JsonString"===o[l].__type&&(c[o[l].__name]=angular.fromJson(c[o[l].__name]))}catch(e){return i(o[l].__label,e.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"===r(n[t])&&(n[t]=e(n[t])):delete n[t]})),n}(c);var u="";return u+="PREFIX :<"+n+">\n",u+="PREFIX inst:<"+s(n)+">\n",u+="INSERT DATA {\n",u+="\tinst:"+e+" :createConnector '''\n",u+=angular.toJson(c,2),u=(u+="\n''' .\n}\n").replace(/\\/g,"\\\\\\")}function u(e,n,t,r,a,u,p,f,d,g){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function v(n,r,i){var c=y(n.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),a.success(g.instant("created.connector",{name:r.name}))}),(function(e){a.error(getError(e)),i()})).finally((function(){c.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){var n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n),r="";return r=e.progressMessage?e.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(r+="\n"+e.extraMessage),r},e.setLoader=function(n,t,r){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=r):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return d.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(r){e.connectors=Object.keys(r.data).map((function(e){return{key:e,value:r.data[e]}})),p.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();var r,o,a=(r=e.connectors,(o=_.map(r,(function(e){return"<"+e.value+"connectorStatus>"})).join("|"))?"SELECT ?connector ?status { ?connector "+o+" ?status }":null);a?function(e){return c(n,t.getActiveRepository(),e)}(a).then((function(n){var t,r,o=function(e){if(e.bindings)for(var n=0;n<e.bindings.length;n++)try{var t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(o.connector){var a=o.connector.split(/#/);a[0]=a[0].replace(/\/instance$/,"#"),t=a[0],r=a[1],m(),$.extend(e.beingBuiltConnector,{iri:s(t)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),a.error(getError(n),g.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){var o;angular.isUndefined(t)||((o=_.cloneDeep(t)).name=o.name+"-copy"),r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){var i,c,l=y(r.value,n.name,!0),u=(i=n.name,"PREFIX prefix:<"+(c=r.value)+">\nINSERT DATA {\n\t<"+s(c)+i+'> prefix:repairConnector ""\n}');f.addStatements(t.getActiveRepository(),o({update:u})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),a.success(g.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){l.dismiss("cancel")}))}))},e.delete=function(n,i){var c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){e.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:n.name}),g.instant("externalsync.extra.message.warning"));var s=function(e,n,t){var r=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+r+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:s})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(n){e.existing[i.key]=n.data}))})),r?(a.success(g.instant("externalsync.delete.force.success.msg",{name:n.name})),c&&a.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):a.success(g.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){var r=e.getOptions(n);return l(t.name,n.value,i(t.values,r),r)}}})}}function p(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function f(e,n,t,r,o){function a(){return l(e.name,t.value,e.values,e.options,(function(e,n){o.error(n,e)}))}e.connector=t,e.addField=function(n,t){var r=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,r)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){var t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){var e=a();e&&r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function d(e,n,t,r,o,a,c,s){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:r,connector:o,$uibModal:a})),e.values=c.values,e.options=s,e.name=c.name,c.skipConversion||(e.values=i(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,r,o){function a(){var a,i,s,l=(a=e.beingBuiltConnector.iri,i=a.replace(/\/instance#.+$/,"#connectorStatus"),s="",s+="SELECT ?status {\n",s+="\t<"+a+"> <"+i+"> ?status",s+="\n}");e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return c(t,r.getActiveRepository(),e)})(l).then((function(t){var r=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===r.status?(e.beingBuiltConnector.status=r,e.beingBuiltConnector.percentDone=(100*r.processedEntities/r.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(r.etaSeconds),e.beingBuiltConnector.actionName=r.repair?o.instant("externalsync.repairing"):o.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==r.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",d).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",p).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],p.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],d.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},294:function(e,n,t){"use strict";t.r(n);t(10);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},397:function(e,n,t){"use strict";t.r(n);t(10),t(52),t(58),t(219),t(294);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(e){return angular.isUndefined(e)?e:e.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,115,186,354],{111:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(n,t){if(n)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":t}});return e.get("rest/connectors")},initConnector:function(n){return e.get("".concat("rest/connectors","/options?prefix=").concat(n))},hasConnector:function(n,t,r){if(t)return e.get("".concat("rest/connectors","/existing?prefix=").concat(n),{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":r}});return e.get("".concat("rest/connectors","/existing?prefix=").concat(n))},checkConnector:function(n){return e.post("".concat("rest/connectors","/check"),n,{headers:{"Content-Type":"text/plain"}})}}}},219:function(e,n,t){"use strict";t.r(n);t(59),t(111);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function a(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(var o=0;o<r.__childOptions.length;o++){var a=r.__childOptions[o];if("Boolean"===a.__type)for(var i=0;i<e[r.__name].length;i++){var c=e[r.__name][i];!c.hasOwnProperty([a.__name])&&angular.isDefined(a.__defaultValue)&&(c[a.__name]=a.__defaultValue)}}else{e[r.__name]=[];for(var s={},l=0;l<r.__childOptions.length;l++){var u=r.__childOptions[l];"StringArray"===u.__type?s[u.__name]=[""]:s[u.__name]=angular.isUndefined(u.__defaultValue)?"":u.__defaultValue}e[r.__name].push(s)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(p=e[r.__name],_.map(p,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var p;return e}function c(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function l(e,n,t,o,i){for(var c=function e(n,t){var r={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(r[t.__name]=[],_.each(n[t.__name],(function(n){r[t.__name].push(e(n,t.__childOptions))}))):r[t.__name]=_.cloneDeep(n[t.__name]))})),r}(t,o),l=0;l<o.length;l++)try{"Map"===o[l].__type?c[o[l].__name]=a(c[o[l].__name],$translate):"JsonString"===o[l].__type&&(c[o[l].__name]=angular.fromJson(c[o[l].__name]))}catch(e){return i(o[l].__label,e.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"===r(n[t])&&(n[t]=e(n[t])):delete n[t]})),n}(c);var u="";return u+="PREFIX :<"+n+">\n",u+="PREFIX inst:<"+s(n)+">\n",u+="INSERT DATA {\n",u+="\tinst:"+e+" :createConnector '''\n",u+=angular.toJson(c,2),u=(u+="\n''' .\n}\n").replace(/\\/g,"\\\\\\")}function u(e,n,t,r,a,u,p,f,d,g){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function v(n,r,i){var c=y(n.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),a.success(g.instant("created.connector",{name:r.name}))}),(function(e){a.error(getError(e)),i()})).finally((function(){c.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){var n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n),r="";return r=e.progressMessage?e.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(r+="\n"+e.extraMessage),r},e.setLoader=function(n,t,r){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=r):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return d.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(r){e.connectors=Object.keys(r.data).map((function(e){return{key:e,value:r.data[e]}})),p.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();var r,o,a=(r=e.connectors,(o=_.map(r,(function(e){return"<"+e.value+"connectorStatus>"})).join("|"))?"SELECT ?connector ?status { ?connector "+o+" ?status }":null);a?function(e){return c(n,t.getActiveRepository(),e)}(a).then((function(n){var t,r,o=function(e){if(e.bindings)for(var n=0;n<e.bindings.length;n++)try{var t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(o.connector){var a=o.connector.split(/#/);a[0]=a[0].replace(/\/instance$/,"#"),t=a[0],r=a[1],m(),$.extend(e.beingBuiltConnector,{iri:s(t)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),a.error(getError(n),g.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){var o;angular.isUndefined(t)||((o=_.cloneDeep(t)).name=o.name+"-copy"),r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){var i,c,l=y(r.value,n.name,!0),u=(i=n.name,"PREFIX prefix:<"+(c=r.value)+">\nINSERT DATA {\n\t<"+s(c)+i+'> prefix:repairConnector ""\n}');f.addStatements(t.getActiveRepository(),o({update:u})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),a.success(g.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){l.dismiss("cancel")}))}))},e.delete=function(n,i){var c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){e.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:n.name}),g.instant("externalsync.extra.message.warning"));var s=function(e,n,t){var r=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+r+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:s})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(n){e.existing[i.key]=n.data}))})),r?(a.success(g.instant("externalsync.delete.force.success.msg",{name:n.name})),c&&a.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):a.success(g.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){var r=e.getOptions(n);return l(t.name,n.value,i(t.values,r),r)}}})}}function p(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function f(e,n,t,r,o){function a(){return l(e.name,t.value,e.values,e.options,(function(e,n){o.error(n,e)}))}e.connector=t,e.addField=function(n,t){var r=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,r)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){var t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){var e=a();e&&r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function d(e,n,t,r,o,a,c,s){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:r,connector:o,$uibModal:a})),e.values=c.values,e.options=s,e.name=c.name,c.skipConversion||(e.values=i(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,r,o){function a(){var a,i,s,l=(a=e.beingBuiltConnector.iri,i=a.replace(/\/instance#.+$/,"#connectorStatus"),s="",s+="SELECT ?status {\n",s+="\t<"+a+"> <"+i+"> ?status",s+="\n}");e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return c(t,r.getActiveRepository(),e)})(l).then((function(t){var r=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===r.status?(e.beingBuiltConnector.status=r,e.beingBuiltConnector.percentDone=(100*r.processedEntities/r.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(r.etaSeconds),e.beingBuiltConnector.actionName=r.repair?o.instant("externalsync.repairing"):o.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==r.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",d).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",p).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],p.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],d.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},294:function(e,n,t){"use strict";t.r(n);t(10);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},397:function(e,n,t){"use strict";t.r(n);t(10),t(52),t(58),t(219),t(294);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(e){return angular.isUndefined(e)?e:e.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[74,357],{185:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("".concat("rest/class-hierarchy","/class-instances"),{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("".concat("rest/dependencies","/matrix"),{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("".concat("rest/dependencies","/classes"),{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("".concat("rest/dependencies","/status"),{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("".concat("rest/dependencies","/update"),{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("".concat("rest/dependencies","/predicates"),{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("".concat("rest/explore-graph","/node"),{params:t})},getInstanceNodeLinks:function(t){return e.get("".concat("rest/explore-graph","/links"),{params:t})},getProperties:function(t){return e.get("".concat("rest/explore-graph","/properties"),{params:t})},updateGraph:function(t){var n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("".concat("rest/explore-graph","/graph"),n)},getRdfsLabelAndComment:function(t,n,r){var a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},308:function(e,t,n){"use strict";n.r(t);var r=n(648);n(185);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){var o=n.dependenciesData;!function(o,i){if(!function(){var e,t=!0,n=a(o);try{for(n.s();!(e=n.n()).done;){if(e.value.some((function(e){return 0!==e}))){t=!1;break}}}catch(e){n.e(e)}finally{n.f()}return t}()){var s=d3.scaleOrdinal(d3.schemeCategory10),c=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){c.style("opacity",0)}));var d=Math.min(800,800)/2.8,l=d-24,p=d3.arc().innerRadius(l).outerRadius(d),u=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),f=d3.ribbon().radius(l),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",d).style("fill","none");var h=u(o),m=g.selectAll(".group").data(h.groups).enter().append("g").attr("class","group").on("mouseover",(function(){var e=m.nodes().indexOf(this);v.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));m.append("title").text((function(e,t){return i[t]})),m.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return s(t)})),m.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(l+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return i[e.index]}));var v=g.selectAll(".chord").data(h).enter().append("path").attr("class","chord").style("fill",(function(e){return s(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",f);v.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),v.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),v.on("click",(function(e,r){var a=i[r.source.index],o=i[r.target.index],s=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){var t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){var t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",c.html(t).style("left",s+"px").style("top",d+"px")})),c.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){var t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}}(o.matrix,o.nodes,o.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",i),i.$inject=["$repositories","GraphDataRestService"]},634:function(e,t,n){var r,a;r=[n(644)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(644)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},648:function(e,t,n){"use strict";n(634);var r=r||{};r.Export={getCSSRules:function(e){var t=$('link[href="'+e+'"]')[0].sheet.rules,n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");var t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,357],{185:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("".concat("rest/class-hierarchy","/class-instances"),{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("".concat("rest/dependencies","/matrix"),{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("".concat("rest/dependencies","/classes"),{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("".concat("rest/dependencies","/status"),{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("".concat("rest/dependencies","/update"),{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("".concat("rest/dependencies","/predicates"),{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("".concat("rest/explore-graph","/node"),{params:t})},getInstanceNodeLinks:function(t){return e.get("".concat("rest/explore-graph","/links"),{params:t})},getProperties:function(t){return e.get("".concat("rest/explore-graph","/properties"),{params:t})},updateGraph:function(t){var n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("".concat("rest/explore-graph","/graph"),n)},getRdfsLabelAndComment:function(t,n,r){var a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},308:function(e,t,n){"use strict";n.r(t);var r=n(648);n(185);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){var o=n.dependenciesData;!function(o,i){if(!function(){var e,t=!0,n=a(o);try{for(n.s();!(e=n.n()).done;){if(e.value.some((function(e){return 0!==e}))){t=!1;break}}}catch(e){n.e(e)}finally{n.f()}return t}()){var s=d3.scaleOrdinal(d3.schemeCategory10),c=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){c.style("opacity",0)}));var d=Math.min(800,800)/2.8,l=d-24,p=d3.arc().innerRadius(l).outerRadius(d),u=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),f=d3.ribbon().radius(l),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",d).style("fill","none");var h=u(o),m=g.selectAll(".group").data(h.groups).enter().append("g").attr("class","group").on("mouseover",(function(){var e=m.nodes().indexOf(this);v.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));m.append("title").text((function(e,t){return i[t]})),m.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return s(t)})),m.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(l+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return i[e.index]}));var v=g.selectAll(".chord").data(h).enter().append("path").attr("class","chord").style("fill",(function(e){return s(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",f);v.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),v.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),v.on("click",(function(e,r){var a=i[r.source.index],o=i[r.target.index],s=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){var t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){var t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",c.html(t).style("left",s+"px").style("top",d+"px")})),c.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){var t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}}(o.matrix,o.nodes,o.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",i),i.$inject=["$repositories","GraphDataRestService"]},634:function(e,t,n){var r,a;r=[n(644)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(644)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},648:function(e,t,n){"use strict";n(634);var r=r||{};r.Export={getCSSRules:function(e){var t=$('link[href="'+e+'"]')[0].sheet.rules,n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");var t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76],{305:function(t,e,r){"use strict";r.r(e);var a=r(648),n=r(647);r(15);function o(t,e,r,o,s,i,c,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){var p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=a.a.Export.getCSSRules("css/domain-range-graph.css?v=3.0.2-TR1");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=a.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name,k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){i.set(c.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(i.set(c.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==i.get(c.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),i.remove(c.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=function(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")},a=function(){$.isEmptyObject(E)||(E.text.style("fill","black"),E.background.style("fill","#f0f0f0"))},o=function(t,e){a(),E.text=d3.select(this),E.background=d3.select(this.previousSibling),E.text.style("fill","white"),E.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()},i=_.cloneDeep(u.domainRangeGraphData),c=i.nodes,d=i.links;g.nodes(c).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(d).distance(1200/3.5));var x,k,b=p.selectAll(".link").data(d).enter().append("g"),w=0;b.each((function(t){if(t.objectPropNodeClassUri!==m)x=b.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?r(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(k)){k=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(w+=t.targetNodeEdgeCount)>1&&r(d3.select(".loop-link"))}}));var E={};$("document").ready((function(){$("#domain-range").bind("click",a)}));var N=b.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));N.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",o):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var R=2,C=b.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+2*R})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+R})).attr("transform",(function(t){var e=R-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(R+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),T=p.selectAll(".node").data(c).enter().append("g"),A=T.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,a){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,a)}))})),T.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var L=T.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return n.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var M=p.select(".class-node + text"),U=d3.select(".class-node"),P=d3.selectAll(".loop-link-background"),j=d3.selectAll(".loop-link-property-name");if(N=d3.selectAll(".property-name"),!angular.isUndefined(k)){var O=[];P.each((function(t,e){d3.select(this);O.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var a=[];P.each((function(n,o){a.push(n),o<h?function(a,n){var o=$.grep(O,(function(t){return t.idx==n}));n>0&&(e+=parseFloat(n*(o[0].height/(n/1.4)))),a.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",o),d3.select(".view-more-preds-rect").attr("height",e+2*R)}(a)}x.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),A.each((function(t){"main"!==t.classPosition||angular.isUndefined(k)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;k.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var a=$.grep(O,(function(t){return t.idx==r})),n=0;r>0&&(n=parseFloat(2*r*(a[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-n;e.attrs({x:o,y:s}).moveToFront()}j.each((function(t,r){var a=d3.select(this),n=j.size()-h;n<0?e(a,r):(0==r&&!u.collapseEdges&&n>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(a,d3.select(this.nextSibling),n),e(a,r)),r<h?e(a,r):a.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=U.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),M.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),C.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),N.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),L.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));var b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},634:function(t,e,r){var a,n;a=[r(644)],void 0===(n=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var a in t)r.attr(a,t[a])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(644)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,a))||(t.exports=n)},647:function(t,e,r){"use strict";r(634);var a=a||{};a.Text=function(){function t(t,e,r,a){r=r||10;var n=e/3;return"string"==typeof t?(n*=10/(t.substring(0,e/3).length+1.5),n+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(n*=.6),n<r&&(n=r),Math.round(n)):(n<r&&(n=r),Math.round(n))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,a,n){return t(e,r,a)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),a.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},a.Click=function(){var t=function(t,r){for(var a,n=1,o=arguments.length;++n<o;)t[a=arguments[n]]=e(t,r,r[a]);return t};function e(t,e,r){return function(){var a=r.apply(e,arguments);return a===e?t:a}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,a=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,n){var o,s,i;(s=r,i=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-i[0],2),Math.pow(s[1]-i[1],2))>5)||(a?(window.clearTimeout(a),a=null,e.call("dblclick",t,t,n)):a=window.setTimeout((o=t,function(){e.call("click",o,o,n),a=null}),250))}))}),e,"on")}}}(),e.a=a},648:function(t,e,r){"use strict";r(634);var a=a||{};a.Export={getCSSRules:function(t){var e=$('link[href="'+t+'"]')[0].sheet.rules,r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");var e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=a}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,115,199,249],{113:function(t,e,n){"use strict";n.r(e),n.d(e,"resolveGraphqlEndpoint",(function(){return o})),n.d(e,"resolvePlaygroundUrlWithEndpoint",(function(){return s}));var i=n(114),r=n(26),o=function(t,e){return"".concat(r.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(e)},s=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},114:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},119:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){r(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){r(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},174:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointGenerationReportListMapper",(function(){return o})),n.d(e,"endpointGenerationReportMapper",(function(){return s})),n.d(e,"importEndpointDefinitionReportMapper",(function(){return u}));var i=n(119),r=n(113),o=function(t,e){if(!t)return new i.EndpointGenerationReportList;var n=t.map((function(t){return s(t,e)}));return new i.EndpointGenerationReportList(n)},s=function(t,e){return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),active:t.active,default:t.default,label:t.label,description:t.description,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors,messages:t.messages})},u=function(t,e,n){var o,s,u=t.messages?null===(o=t.messages.errors)||void 0===o?void 0:o.length:0,c=t.messages?null===(s=t.messages.warnings)||void 0===s?void 0:s.length:0;return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(n,t.id),warnings:c,errors:u,messages:t.messages})}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[77,116,199,249],{113:function(t,e,n){"use strict";n.r(e),n.d(e,"resolveGraphqlEndpoint",(function(){return o})),n.d(e,"resolvePlaygroundUrlWithEndpoint",(function(){return s}));var i=n(114),r=n(26),o=function(t,e){return"".concat(r.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(e)},s=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},114:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},119:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){r(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){r(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},174:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointGenerationReportListMapper",(function(){return o})),n.d(e,"endpointGenerationReportMapper",(function(){return s})),n.d(e,"importEndpointDefinitionReportMapper",(function(){return u}));var i=n(119),r=n(113),o=function(t,e){if(!t)return new i.EndpointGenerationReportList;var n=t.map((function(t){return s(t,e)}));return new i.EndpointGenerationReportList(n)},s=function(t,e){return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),active:t.active,default:t.default,label:t.label,description:t.description,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors,messages:t.messages})},u=function(t,e,n){var o,s,u=t.messages?null===(o=t.messages.errors)||void 0===o?void 0:o.length:0,c=t.messages?null===(s=t.messages.warnings)||void 0===s?void 0:s.length:0;return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(n,t.id),warnings:c,errors:u,messages:t.messages})}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,115,199,251],{113:function(n,t,e){"use strict";e.r(t),e.d(t,"resolveGraphqlEndpoint",(function(){return r})),e.d(t,"resolvePlaygroundUrlWithEndpoint",(function(){return u}));var i=e(114),o=e(26),r=function(n,t){return"".concat(o.REPOSITORIES_ENDPOINT,"/").concat(n,"/graphql/").concat(t)},u=function(n){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(n)}},114:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},211:function(n,t,e){"use strict";function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,c(i.key),i)}}function u(n,t,e){return t&&r(n.prototype,t),e&&r(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function c(n){var t=function(n,t){if("object"!=i(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==i(t)?t:t+""}e.r(t),e.d(t,"GraphqlEndpoint",(function(){return p})),e.d(t,"GraphqlEndpointList",(function(){return a}));var p=function(){return u((function n(t){o(this,n),this._endpointId=t.endpointId,this._endpointURI=t.endpointURI,this._active=t.active,this._default=t.default}),[{key:"endpointId",get:function(){return this._endpointId},set:function(n){this._endpointId=n}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(n){this._endpointURI=n}},{key:"default",get:function(){return this._default},set:function(n){this._default=n}},{key:"active",get:function(){return this._active},set:function(n){this._active=n}}])}(),a=function(){return u((function n(t){o(this,n),this._endpoints=t||[]}),[{key:"endpoints",get:function(){return this._endpoints},set:function(n){this._endpoints=n}}])}()},277:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointListMapper",(function(){return u})),e.d(t,"endpointModelMapper",(function(){return c})),e.d(t,"endpointsToSelectMenuOptionsMapper",(function(){return p}));var i=e(211),o=e(25),r=e(113),u=function(n){if(!n||!n.endpoints)return new i.GraphqlEndpointList;var t=n.endpoints.map((function(n){return c(n)}));return new i.GraphqlEndpointList(t)},c=function(n){if(n)return new i.GraphqlEndpoint({endpointId:n.endpointId,endpointURI:n.endpointURI,active:n.active,default:n.default})},p=function(n,t){return n&&n.length?n.map((function(n){return new o.SelectMenuOptionsModel({value:Object(r.resolveGraphqlEndpoint)(t,n.id),label:n.id,selected:n.default,data:{active:n.active,default:n.default}})})):[]}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[78,116,199,251],{113:function(n,t,e){"use strict";e.r(t),e.d(t,"resolveGraphqlEndpoint",(function(){return r})),e.d(t,"resolvePlaygroundUrlWithEndpoint",(function(){return u}));var i=e(114),o=e(26),r=function(n,t){return"".concat(o.REPOSITORIES_ENDPOINT,"/").concat(n,"/graphql/").concat(t)},u=function(n){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(n)}},114:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},211:function(n,t,e){"use strict";function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,c(i.key),i)}}function u(n,t,e){return t&&r(n.prototype,t),e&&r(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function c(n){var t=function(n,t){if("object"!=i(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==i(t)?t:t+""}e.r(t),e.d(t,"GraphqlEndpoint",(function(){return p})),e.d(t,"GraphqlEndpointList",(function(){return a}));var p=function(){return u((function n(t){o(this,n),this._endpointId=t.endpointId,this._endpointURI=t.endpointURI,this._active=t.active,this._default=t.default}),[{key:"endpointId",get:function(){return this._endpointId},set:function(n){this._endpointId=n}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(n){this._endpointURI=n}},{key:"default",get:function(){return this._default},set:function(n){this._default=n}},{key:"active",get:function(){return this._active},set:function(n){this._active=n}}])}(),a=function(){return u((function n(t){o(this,n),this._endpoints=t||[]}),[{key:"endpoints",get:function(){return this._endpoints},set:function(n){this._endpoints=n}}])}()},277:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointListMapper",(function(){return u})),e.d(t,"endpointModelMapper",(function(){return c})),e.d(t,"endpointsToSelectMenuOptionsMapper",(function(){return p}));var i=e(211),o=e(25),r=e(113),u=function(n){if(!n||!n.endpoints)return new i.GraphqlEndpointList;var t=n.endpoints.map((function(n){return c(n)}));return new i.GraphqlEndpointList(t)},c=function(n){if(n)return new i.GraphqlEndpoint({endpointId:n.endpointId,endpointURI:n.endpointURI,active:n.active,default:n.default})},p=function(n,t){return n&&n.length?n.map((function(n){return new o.SelectMenuOptionsModel({value:Object(r.resolveGraphqlEndpoint)(t,n.id),label:n.id,selected:n.default,data:{active:n.active,default:n.default}})})):[]}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[78,228,263,391],{105:function(e,r,o){"use strict";o.r(r),o.d(r,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},120:function(e,r,o){"use strict";o.r(r),o.d(r,"removeSpecialChars",(function(){return s})),o.d(r,"toBoolean",(function(){return n})),o.d(r,"toTitleCase",(function(){return i}));var t=o(24),s=function(e){return e.replace(/[()']/g,"")},n=function(e){return"string"==typeof e?"true"===e:Boolean(e)},i=function(e){return e?Object(t.upperFirst)(e.toLowerCase()):e}},178:function(e,r){function o(e,r,o,t,s){e.message=s,e.close=function(){r.dismiss()},e.copyToClipboard=function(){navigator.clipboard.writeText(e.message).then((function(){t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()}),(function(e){console.error("Could not copy text: ",e)}))}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",o),o.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},225:function(e,r,o){"use strict";o.r(r);o(178);var t=o(105),s=o(120);function n(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:function(r){r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=function(e){return s.toTitleCase(e)},r.showMessage=function(r){e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",n),n.$inject=["$uibModal"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[79,228,263,391],{105:function(e,r,o){"use strict";o.r(r),o.d(r,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},120:function(e,r,o){"use strict";o.r(r),o.d(r,"removeSpecialChars",(function(){return s})),o.d(r,"toBoolean",(function(){return n})),o.d(r,"toTitleCase",(function(){return i}));var t=o(24),s=function(e){return e.replace(/[()']/g,"")},n=function(e){return"string"==typeof e?"true"===e:Boolean(e)},i=function(e){return e?Object(t.upperFirst)(e.toLowerCase()):e}},178:function(e,r){function o(e,r,o,t,s){e.message=s,e.close=function(){r.dismiss()},e.copyToClipboard=function(){navigator.clipboard.writeText(e.message).then((function(){t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()}),(function(e){console.error("Could not copy text: ",e)}))}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",o),o.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},225:function(e,r,o){"use strict";o.r(r);o(178);var t=o(105),s=o(120);function n(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:function(r){r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=function(e){return s.toTitleCase(e)},r.showMessage=function(r){e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",n),n.$inject=["$uibModal"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,132,333],{108:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,"ChatMessageModel",(function(){return s})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return i}));var s=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=1e3*t.timestamp},(t=[{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"role",get:function(){return this._role},set:function(e){this._role=e}},{key:"message",get:function(){return this._message},set:function(e){this._message=e}},{key:"timestamp",get:function(){return this._timestamp},set:function(e){this._timestamp=e}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),i={USER:"user",ASSISTANT:"assistant"}},286:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return l}));var r=n(24),o=n(108);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.conversations=[].concat(m)},(t=[{key:"getConversations",value:function(){var e=this;return new Promise((function(t){setTimeout((function(){return t({data:Object(r.cloneDeep)(e.conversations)})}),2e3)}))}},{key:"getConversation",value:function(e){var t=this;return new Promise((function(n){setTimeout((function(){return n({data:Object(r.cloneDeep)(t.conversations.find((function(t){return t.id===e})))})}),2e3)}))}},{key:"renameConversation",value:function(e,t){var n=this.conversations.find((function(t){return t.id===e}));return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}},{key:"exportConversation",value:function(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}},{key:"askQuestion",value:function(e){var t,n={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:"".concat(e.question),role:o.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find((function(t){return t.id===e.conversationId})),a={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:"Reply to '".concat(e.question,"' It seems there was an error with the query. Let me rectify this and try again."),timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(n),(t=r.messages).push.apply(t,s(a.messages))),new Promise((function(e){return setTimeout((function(){return e({data:a})}),2e3)}))}},{key:"continueChatRun",value:function(e){alert("continueChatRun() not implemented")}},{key:"deleteConversation",value:function(e){return this.conversations=this.conversations.filter((function(t){return t.id!==e})),new Promise((function(e){return setTimeout((function(){return e()}),2e3)}))}},{key:"createConversation",value:function(e){var t={id:"thread_".concat(this.conversations.length),name:"Thread ".concat(this.conversations.length),timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);var n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}},{key:"getAgents",value:function(){return new Promise((function(e){return setTimeout((function(){return e({data:s(d)})}),2e3)}))}},{key:"getAgent",value:function(e){return Promise.resolve({data:Object(r.cloneDeep)(d.find((function(t){return t.id===e})))})}},{key:"createAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d.push(e),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"editAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d=d.map((function(t){return t.id===e.id?e:t})),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"deleteAgent",value:function(e){return d=d.filter((function(t){return t.id!==e})),Promise.resolve()}},{key:"getAgentDefaultValues",value:function(){return Promise.resolve({data:h})}},{key:"explainAgentSettings",value:function(){return Promise.resolve({data:{}})}},{key:"simulateHttpError",value:function(){return Promise.reject({status:500,message:"Internal Server Error"})}},{key:"explainResponse",value:function(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}])&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),m=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}],d=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}],h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},375:function(e,t,n){"use strict";n.r(t);var r=n(286);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",a),a.$inject=["$http"];var o="".concat("rest/chat/conversations","/explain");function a(e){new r.TtygRestServiceFakeBackend;return{getConversation:function(t){return e.get("".concat("rest/chat/conversations","/").concat(t))},renameConversation:function(t,n){return e.put("".concat("rest/chat/conversations","/").concat(t),n)},exportConversation:function(t){return e.get("".concat("rest/chat/conversations","/export/").concat(t),{responseType:"blob"})},askQuestion:function(t){return e.post("".concat("rest/chat/conversations"),t)},continueChatRun:function(t){return e.post("".concat("rest/chat/conversations","/continue"),t)},getConversations:function(){return e.get("rest/chat/conversations")},deleteConversation:function(t){return e.delete("".concat("rest/chat/conversations","/").concat(t))},createConversation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post("rest/chat/conversations",t)},getAgents:function(){return e.get("rest/chat/agents")},getAgent:function(t){return e.get("".concat("rest/chat/agents","/").concat(t))},createAgent:function(t){return e.post("rest/chat/agents",t)},editAgent:function(t){return e.put("".concat("rest/chat/agents"),t)},deleteAgent:function(t){return e.delete("".concat("rest/chat/agents","/").concat(t))},explainResponse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post(o,t)},getAgentDefaultValues:function(){return e.get("".concat("rest/chat/agents","/default"))},explainAgentSettings:function(t){return e.post("".concat("rest/chat/agents","/explain"),t)}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8,133,333],{108:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,"ChatMessageModel",(function(){return s})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return i}));var s=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=1e3*t.timestamp},(t=[{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"role",get:function(){return this._role},set:function(e){this._role=e}},{key:"message",get:function(){return this._message},set:function(e){this._message=e}},{key:"timestamp",get:function(){return this._timestamp},set:function(e){this._timestamp=e}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),i={USER:"user",ASSISTANT:"assistant"}},286:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return l}));var r=n(24),o=n(108);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.conversations=[].concat(m)},(t=[{key:"getConversations",value:function(){var e=this;return new Promise((function(t){setTimeout((function(){return t({data:Object(r.cloneDeep)(e.conversations)})}),2e3)}))}},{key:"getConversation",value:function(e){var t=this;return new Promise((function(n){setTimeout((function(){return n({data:Object(r.cloneDeep)(t.conversations.find((function(t){return t.id===e})))})}),2e3)}))}},{key:"renameConversation",value:function(e,t){var n=this.conversations.find((function(t){return t.id===e}));return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}},{key:"exportConversation",value:function(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}},{key:"askQuestion",value:function(e){var t,n={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:"".concat(e.question),role:o.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find((function(t){return t.id===e.conversationId})),a={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:"Reply to '".concat(e.question,"' It seems there was an error with the query. Let me rectify this and try again."),timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(n),(t=r.messages).push.apply(t,s(a.messages))),new Promise((function(e){return setTimeout((function(){return e({data:a})}),2e3)}))}},{key:"continueChatRun",value:function(e){alert("continueChatRun() not implemented")}},{key:"deleteConversation",value:function(e){return this.conversations=this.conversations.filter((function(t){return t.id!==e})),new Promise((function(e){return setTimeout((function(){return e()}),2e3)}))}},{key:"createConversation",value:function(e){var t={id:"thread_".concat(this.conversations.length),name:"Thread ".concat(this.conversations.length),timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);var n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}},{key:"getAgents",value:function(){return new Promise((function(e){return setTimeout((function(){return e({data:s(d)})}),2e3)}))}},{key:"getAgent",value:function(e){return Promise.resolve({data:Object(r.cloneDeep)(d.find((function(t){return t.id===e})))})}},{key:"createAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d.push(e),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"editAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d=d.map((function(t){return t.id===e.id?e:t})),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"deleteAgent",value:function(e){return d=d.filter((function(t){return t.id!==e})),Promise.resolve()}},{key:"getAgentDefaultValues",value:function(){return Promise.resolve({data:h})}},{key:"explainAgentSettings",value:function(){return Promise.resolve({data:{}})}},{key:"simulateHttpError",value:function(){return Promise.reject({status:500,message:"Internal Server Error"})}},{key:"explainResponse",value:function(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}])&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),m=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}],d=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}],h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},375:function(e,t,n){"use strict";n.r(t);var r=n(286);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",a),a.$inject=["$http"];var o="".concat("rest/chat/conversations","/explain");function a(e){new r.TtygRestServiceFakeBackend;return{getConversation:function(t){return e.get("".concat("rest/chat/conversations","/").concat(t))},renameConversation:function(t,n){return e.put("".concat("rest/chat/conversations","/").concat(t),n)},exportConversation:function(t){return e.get("".concat("rest/chat/conversations","/export/").concat(t),{responseType:"blob"})},askQuestion:function(t){return e.post("".concat("rest/chat/conversations"),t)},continueChatRun:function(t){return e.post("".concat("rest/chat/conversations","/continue"),t)},getConversations:function(){return e.get("rest/chat/conversations")},deleteConversation:function(t){return e.delete("".concat("rest/chat/conversations","/").concat(t))},createConversation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post("rest/chat/conversations",t)},getAgents:function(){return e.get("rest/chat/agents")},getAgent:function(t){return e.get("".concat("rest/chat/agents","/").concat(t))},createAgent:function(t){return e.post("rest/chat/agents",t)},editAgent:function(t){return e.put("".concat("rest/chat/agents"),t)},deleteAgent:function(t){return e.delete("".concat("rest/chat/agents","/").concat(t))},explainResponse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post(o,t)},getAgentDefaultValues:function(){return e.get("".concat("rest/chat/agents","/default"))},explainAgentSettings:function(t){return e.post("".concat("rest/chat/agents","/explain"),t)}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[79,26,261,263,264],{105:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},151:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},177:function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}r.r(e),r.d(e,"ImportParsingSettings",(function(){return a}));var a=i((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}))},224:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return c}));var o=r(105),n=r(177),i=r(151);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,u(o.key),o)}}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return t=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hash=r(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new n.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0},(e=[{key:"isDirectory",value:function(){return i.ImportResourceType.DIRECTORY===this.type}},{key:"isFile",value:function(){return i.ImportResourceType.FILE===this.type||i.ImportResourceType.URL===this.type||i.ImportResourceType.TEXT===this.type}},{key:"isURL",value:function(){return i.ImportResourceType.URL===this.type}},{key:"isText",value:function(){return i.ImportResourceType.TEXT===this.type}}])&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[80,26,261,263,264],{105:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},152:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},177:function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}r.r(e),r.d(e,"ImportParsingSettings",(function(){return a}));var a=i((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}))},224:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return c}));var o=r(105),n=r(177),i=r(152);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,u(o.key),o)}}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return t=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hash=r(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new n.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0},(e=[{key:"isDirectory",value:function(){return i.ImportResourceType.DIRECTORY===this.type}},{key:"isFile",value:function(){return i.ImportResourceType.FILE===this.type||i.ImportResourceType.URL===this.type||i.ImportResourceType.TEXT===this.type}},{key:"isURL",value:function(){return i.ImportResourceType.URL===this.type}},{key:"isText",value:function(){return i.ImportResourceType.TEXT===this.type}}])&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[80,93,276,277],{232:function(e,r,t){"use strict";t.r(r),t.d(r,"MonitoringTrackRecordType",(function(){return n}));var n={QUERY:"QUERY",UPDATE:"UPDATE",GRAPHQL:"GRAPHQL",ANY:"ANY"}},233:function(e,r,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,r,t){return r&&o(e.prototype,r),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var r=function(e,r){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==n(r)?r:r+""}function s(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}t.r(r),t.d(r,"MonitoringTrackRecord",(function(){return u}));var u=i((function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.trackId=r.trackId,this.trackAlias=r.trackAlias,this.username=r.username,this.node=r.node,this.isRequestedToStop=r.isRequestedToStop,this.sparqlString=r.sparqlString,this.state=r.state,this.type=r.type,this.numberOfOperations=r.numberOfOperations||0,this.msSinceCreated=r.msSinceCreated||0,this.humanLifetime=r.humanLifetime}))},361:function(e,r,t){"use strict";t.r(r);t(10),t(55);var n=t(233),o=t(232),i=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);i.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,r,t,i,a,s,u,c,l,d){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;var p=document.createElement("a");e.parseNode=function(e){if(null==e)return null;var r="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){p.href=e;var t=p.hostname;(function(e){for(var r=e.split("."),t=0,n=0;t<r.length;t++)if(parseInt(r[t],10)>=0&&parseInt(r[t],10)<=255?n++:n=0,4===n)return!0;return!1})(p.hostname)||(t=p.hostname.split(".")[0]),r=t+":"+p.port}var n=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[n[2],r,n[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!a.getActiveRepository()||(e.getQueriesRunning=!0,c.monitorQuery(a.getActiveRepository()).success((function(r){var t=r;e.noQueries=0===t.length,e.queries={};for(var o=0;o<t.length;o++)t[o].parsedNode=e.parseNode(t[o].node),e.queries[t[o].trackId]=new n.MonitoringTrackRecord(t[o]);e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(r){e.error=getError(r),e.loader=!1,e.getQueriesRunning=!1})))};var f=i((function(){a.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){i.cancel(f)})),e.deleteQueryHttp=function(r){e.loader=!0,c.deleteQuery(r,a.getActiveRepository()).success((function(){t.success(l.instant("abort.request.sent.msg")),e.loader=!1})).error((function(r){var n=getError(r);t.error(n,l.instant("common.error")),e.loader=!1}))},e.abortQuery=function(r){u.openSimpleModal({title:l.instant("confirm.abort"),message:l.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(r)}))},e.downloadQuery=function(e){var r=e.trackId,t="query_"+r+(e.type===o.MonitoringTrackRecordType.GRAPHQL?".json":".rq"),n="rest/monitor/repository/"+a.getActiveRepository()+"/query/download?query="+encodeURIComponent(r)+"&filename="+encodeURIComponent(t);s.isAuthenticated()&&(n=n+"&authToken="+encodeURIComponent(d.getAuthToken())),window.open(n,"_blank")},e.toggleQueryExpanded=function(r){e.expanded[r]=!e.expanded[r]}}]),i.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,r){e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])},463:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(361);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[81,95,276,277],{232:function(e,r,t){"use strict";t.r(r),t.d(r,"MonitoringTrackRecordType",(function(){return n}));var n={QUERY:"QUERY",UPDATE:"UPDATE",GRAPHQL:"GRAPHQL",ANY:"ANY"}},233:function(e,r,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,r,t){return r&&o(e.prototype,r),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var r=function(e,r){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==n(r)?r:r+""}function s(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}t.r(r),t.d(r,"MonitoringTrackRecord",(function(){return u}));var u=i((function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.trackId=r.trackId,this.trackAlias=r.trackAlias,this.username=r.username,this.node=r.node,this.isRequestedToStop=r.isRequestedToStop,this.sparqlString=r.sparqlString,this.state=r.state,this.type=r.type,this.numberOfOperations=r.numberOfOperations||0,this.msSinceCreated=r.msSinceCreated||0,this.humanLifetime=r.humanLifetime}))},361:function(e,r,t){"use strict";t.r(r);t(10),t(55);var n=t(233),o=t(232),i=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);i.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,r,t,i,a,s,u,c,l,d){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;var p=document.createElement("a");e.parseNode=function(e){if(null==e)return null;var r="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){p.href=e;var t=p.hostname;(function(e){for(var r=e.split("."),t=0,n=0;t<r.length;t++)if(parseInt(r[t],10)>=0&&parseInt(r[t],10)<=255?n++:n=0,4===n)return!0;return!1})(p.hostname)||(t=p.hostname.split(".")[0]),r=t+":"+p.port}var n=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[n[2],r,n[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!a.getActiveRepository()||(e.getQueriesRunning=!0,c.monitorQuery(a.getActiveRepository()).success((function(r){var t=r;e.noQueries=0===t.length,e.queries={};for(var o=0;o<t.length;o++)t[o].parsedNode=e.parseNode(t[o].node),e.queries[t[o].trackId]=new n.MonitoringTrackRecord(t[o]);e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(r){e.error=getError(r),e.loader=!1,e.getQueriesRunning=!1})))};var f=i((function(){a.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){i.cancel(f)})),e.deleteQueryHttp=function(r){e.loader=!0,c.deleteQuery(r,a.getActiveRepository()).success((function(){t.success(l.instant("abort.request.sent.msg")),e.loader=!1})).error((function(r){var n=getError(r);t.error(n,l.instant("common.error")),e.loader=!1}))},e.abortQuery=function(r){u.openSimpleModal({title:l.instant("confirm.abort"),message:l.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(r)}))},e.downloadQuery=function(e){var r=e.trackId,t="query_"+r+(e.type===o.MonitoringTrackRecordType.GRAPHQL?".json":".rq"),n="rest/monitor/repository/"+a.getActiveRepository()+"/query/download?query="+encodeURIComponent(r)+"&filename="+encodeURIComponent(t);s.isAuthenticated()&&(n=n+"&authToken="+encodeURIComponent(d.getAuthToken())),window.open(n,"_blank")},e.toggleQueryExpanded=function(r){e.expanded[r]=!e.expanded[r]}}]),i.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,r){e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])},463:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(361);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[81,95,318,319],{106:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndexType",(function(){return n}));var n={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:function(t){return n.TEXT===t},isTextLiteralType:function(t){return n.TEXT_LITERAL===t},isPredicationType:function(t){return n.PREDICATION===t}}},107:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndexStatus",(function(){return n}));var n={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:function(t){return n.CREATING===t},isBuildingStatus:function(t){return n.BUILDING===t},isBuiltStatus:function(t){return n.BUILT===t},isRebuildingStatus:function(t){return n.REBUILDING===t},isOutdatedStatus:function(t){return n.OUTDATED===t},isInterruptedStatus:function(t){return n.INTERRUPTED===t},isObsoleteStatus:function(t){return n.OBSOLETE===t},isFailedStatus:function(t){return n.FAILED===t}}},110:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndex",(function(){return o}));var n=e(106),r=e(107);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var i=function(t,i){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==u(i)?i:i+""}var o=function(){return t=function t(){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=n.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""},(i=[{key:"isTextType",value:function(){return n.SimilarityIndexType.isTextType(this.type)}},{key:"isTextLiteralType",value:function(){return n.SimilarityIndexType.isTextLiteralType(this.type)}},{key:"isPredicationType",value:function(){return n.SimilarityIndexType.isPredicationType(this.type)}},{key:"isCreatingStatus",value:function(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}},{key:"isBuildingStatus",value:function(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}},{key:"isBuiltStatus",value:function(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}},{key:"isRebuildingStatus",value:function(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}},{key:"isOutdatedStatus",value:function(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}},{key:"isInterruptedStatus",value:function(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}},{key:"isObsoleteStatus",value:function(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}},{key:"isFailedStatus",value:function(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}])&&s(t.prototype,i),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i,e}()},117:function(t,i,e){"use strict";e.r(i),e.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var n=e(110),r=function(t){return t.map((function(t){var i=new n.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i}))}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[82,97,318,319],{106:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndexType",(function(){return n}));var n={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:function(t){return n.TEXT===t},isTextLiteralType:function(t){return n.TEXT_LITERAL===t},isPredicationType:function(t){return n.PREDICATION===t}}},107:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndexStatus",(function(){return n}));var n={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:function(t){return n.CREATING===t},isBuildingStatus:function(t){return n.BUILDING===t},isBuiltStatus:function(t){return n.BUILT===t},isRebuildingStatus:function(t){return n.REBUILDING===t},isOutdatedStatus:function(t){return n.OUTDATED===t},isInterruptedStatus:function(t){return n.INTERRUPTED===t},isObsoleteStatus:function(t){return n.OBSOLETE===t},isFailedStatus:function(t){return n.FAILED===t}}},110:function(t,i,e){"use strict";e.r(i),e.d(i,"SimilarityIndex",(function(){return o}));var n=e(106),r=e(107);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var i=function(t,i){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==u(i)?i:i+""}var o=function(){return t=function t(){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=n.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""},(i=[{key:"isTextType",value:function(){return n.SimilarityIndexType.isTextType(this.type)}},{key:"isTextLiteralType",value:function(){return n.SimilarityIndexType.isTextLiteralType(this.type)}},{key:"isPredicationType",value:function(){return n.SimilarityIndexType.isPredicationType(this.type)}},{key:"isCreatingStatus",value:function(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}},{key:"isBuildingStatus",value:function(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}},{key:"isBuiltStatus",value:function(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}},{key:"isRebuildingStatus",value:function(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}},{key:"isOutdatedStatus",value:function(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}},{key:"isInterruptedStatus",value:function(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}},{key:"isObsoleteStatus",value:function(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}},{key:"isFailedStatus",value:function(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}])&&s(t.prototype,i),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i,e}()},117:function(t,i,e){"use strict";e.r(i),e.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var n=e(110),r=function(t){return t.map((function(t){var i=new n.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i}))}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[82,131,332,333],{108:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function o(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatMessageModel",(function(){return s})),n.d(e,"CHAT_MESSAGE_ROLE",(function(){return u}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp},(e=[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"role",get:function(){return this._role},set:function(t){this._role=t}},{key:"message",get:function(){return this._message},set:function(t){this._message=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),u={USER:"user",ASSISTANT:"assistant"}},112:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatItemModel",(function(){return c})),n.d(e,"ChatItemsListModel",(function(){return f}));var i=n(108);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var c=function(){return u((function t(e,n){o(this,t),this._chatId=e,this._agentId=void 0,this._question=n,this._answers=[]}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"agentId",get:function(){return this._agentId},set:function(t){this._agentId=t}},{key:"question",get:function(){return this._question},set:function(t){this._question=t}},{key:"answers",get:function(){return this._answers},set:function(t){this._answers=t}},{key:"setQuestionMessage",value:function(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}},{key:"getQuestionMessage",value:function(){return this._question.message}},{key:"toCreateChatRequestPayload",value:function(){return{agentId:this._agentId,question:this._question.message}}},{key:"toAskRequestPayload",value:function(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}},{key:"toExplainResponsePayload",value:function(t){return{conversationId:this._chatId,answerId:t}}}])}(),f=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this._items=e}),[{key:"isEmpty",value:function(){return 0===this._items.length}},{key:"appendItem",value:function(t){this._items.push(t)}},{key:"items",get:function(){return this._items},set:function(t){this._items=t||[]}},{key:"getLast",value:function(){if(!this.isEmpty())return this._items[this._items.length-1]}}])}()},148:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatAnswerModel",(function(){return a})),n.d(e,"ContinueChatRun",(function(){return c}));var a=function(){return s((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[],this._continueRunId=e.continueRunId}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"chatName",get:function(){return this._chatName},set:function(t){this._chatName=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"continueRunId",get:function(){return this._continueRunId},set:function(t){this._continueRunId=t}}])}(),c=function(){return s((function t(e,n){r(this,t),this._chatItem=e,this._runId=n}),[{key:"chatId",get:function(){return this._chatItem.chatId}},{key:"toContinueRunRequestPayload",value:function(){return{conversationId:this.chatId,runId:this._runId,agentId:this._chatItem.agentId,tzOffset:-(new Date).getTimezoneOffset()}}}])}()},184:function(t,e,n){"use strict";n.r(e),n.d(e,"chatMessageModelListMapper",(function(){return s})),n.d(e,"chatItemsModelMapper",(function(){return u})),n.d(e,"chatMessageModelMapper",(function(){return a})),n.d(e,"chatAnswerModelMapper",(function(){return c}));var i=n(108),r=n(112),o=n(148),s=function(t){return t?t.map((function(t){return a(t)})):[]},u=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((function(e){var o=e.conversationId;i.CHAT_MESSAGE_ROLE.USER===e.role?(t&&n.push(t),t=new r.ChatItemModel(o,a(e))):(t||(t=new r.ChatItemModel(o,null)),t.answers.push(a(e)),t.agentId=e.agentId)})),t&&n.push(t),new r.ChatItemsListModel(n)},a=function(t){if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},c=function(t){if(t)return new o.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:s(t.messages),continueRunId:t.continueRunId})}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[83,132,332,333],{108:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function o(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatMessageModel",(function(){return s})),n.d(e,"CHAT_MESSAGE_ROLE",(function(){return u}));var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp},(e=[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"role",get:function(){return this._role},set:function(t){this._role=t}},{key:"message",get:function(){return this._message},set:function(t){this._message=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),u={USER:"user",ASSISTANT:"assistant"}},112:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatItemModel",(function(){return c})),n.d(e,"ChatItemsListModel",(function(){return f}));var i=n(108);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var c=function(){return u((function t(e,n){o(this,t),this._chatId=e,this._agentId=void 0,this._question=n,this._answers=[]}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"agentId",get:function(){return this._agentId},set:function(t){this._agentId=t}},{key:"question",get:function(){return this._question},set:function(t){this._question=t}},{key:"answers",get:function(){return this._answers},set:function(t){this._answers=t}},{key:"setQuestionMessage",value:function(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}},{key:"getQuestionMessage",value:function(){return this._question.message}},{key:"toCreateChatRequestPayload",value:function(){return{agentId:this._agentId,question:this._question.message}}},{key:"toAskRequestPayload",value:function(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}},{key:"toExplainResponsePayload",value:function(t){return{conversationId:this._chatId,answerId:t}}}])}(),f=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this._items=e}),[{key:"isEmpty",value:function(){return 0===this._items.length}},{key:"appendItem",value:function(t){this._items.push(t)}},{key:"items",get:function(){return this._items},set:function(t){this._items=t||[]}},{key:"getLast",value:function(){if(!this.isEmpty())return this._items[this._items.length-1]}}])}()},149:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatAnswerModel",(function(){return a})),n.d(e,"ContinueChatRun",(function(){return c}));var a=function(){return s((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[],this._continueRunId=e.continueRunId}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"chatName",get:function(){return this._chatName},set:function(t){this._chatName=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"continueRunId",get:function(){return this._continueRunId},set:function(t){this._continueRunId=t}}])}(),c=function(){return s((function t(e,n){r(this,t),this._chatItem=e,this._runId=n}),[{key:"chatId",get:function(){return this._chatItem.chatId}},{key:"toContinueRunRequestPayload",value:function(){return{conversationId:this.chatId,runId:this._runId,agentId:this._chatItem.agentId,tzOffset:-(new Date).getTimezoneOffset()}}}])}()},184:function(t,e,n){"use strict";n.r(e),n.d(e,"chatMessageModelListMapper",(function(){return s})),n.d(e,"chatItemsModelMapper",(function(){return u})),n.d(e,"chatMessageModelMapper",(function(){return a})),n.d(e,"chatAnswerModelMapper",(function(){return c}));var i=n(108),r=n(112),o=n(149),s=function(t){return t?t.map((function(t){return a(t)})):[]},u=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((function(e){var o=e.conversationId;i.CHAT_MESSAGE_ROLE.USER===e.role?(t&&n.push(t),t=new r.ChatItemModel(o,a(e))):(t||(t=new r.ChatItemModel(o,null)),t.answers.push(a(e)),t.agentId=e.agentId)})),t&&n.push(t),new r.ChatItemsListModel(n)},a=function(t){if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},c=function(t){if(t)return new o.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:s(t.messages),continueRunId:t.continueRunId})}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[83,146,346,369],{238:function(e,r,t){"use strict";t.r(r);t(10),t(54);function o(e,r,t,o,n){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,o.getStatistics().then((function(r){e.settings.statistics="true"===r.data,e.supportsStatistics=!0}),(function(t){if(404===t.status)e.supportsStatistics=!1;else{var o=getError(t.data);r.error(o,n.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,o.toggleStatistics(e.settings.statistics).then((function(){t.close(),r.success(n.instant("saving.settings.success"))}),(function(e){var t=getError(e.data);r.error(t,n.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){t.dismiss("cancel")}}function n(e,r,t,o,n,i,s,a){e.loadingLicense=function(){return t.loadingLicense()},t.checkLicenseStatus(),e.removeLicense=function(){i.openSimpleModal({title:s.instant("confirm.operation"),message:s.instant("remove.license.warning.msg"),warning:!0}).result.then((function(){r.unregisterLicense().success((function(){t.checkLicenseStatus().then((function(){return a.applyTrackingConsent()})).catch((function(e){var r=getError(e.data,e.status);o.error(r,s.instant("common.error"))}))}))}))}}function i(e,r,t,o,n,i,s,a){e.$on("securityInit",(function(){s.isAdmin()||t.path("/license")})),e.sendLicenseToValidateAndActivate=l;var c=$(".license-textarea");function l(e){r.sendLicenseToValidate(e).success((function(t){t.present?(c.val(e),function(e,t){o.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=c.val());if(e){var t=atob(e.replace(/\s/g,""));r.registerLicense(t).success((function(){i.history.back()})).error((function(e){n.error(e,a.instant("license.register.error"))}))}else n.error(a.instant("no.license.code.error"))}(t)}))}(t,e)):(c.val(""),n.error(t.message))})).error((function(){n.error(a.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){var t=e.currentFile;r.extractFromLicenseFile(t).success((function(e){l(e)})).error((function(){n.error(a.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){i.history.back()}}function s(e,r,t){e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")},e.license=t}function a(e){e.loader=!0,e.setLoader=function(r){e.loader=r}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",o).controller("ValidateLicenseModalCtrl",s).controller("LicenseCtrl",n).controller("RegisterLicenseCtrl",i).controller("LoaderSamplesCtrl",a),o.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],n.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate","TrackingService"],i.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],s.$inject=["$scope","$uibModalInstance","license"],a.$inject=["$scope"]},363:function(e,r){function t(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){c=!0,s=e},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw s}}}}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function n(e,r,o,n){return{restrict:"E",scope:!0,templateUrl:"js/angular/repositories/templates/fedx-repo.html",link:function(i){var s="ResolvableRepository";i.fedxMembers=[],i.knownRepos=[],i.allAttachedRepos=[],i.editRepoPage&&(i.fedxMembers=i.repositoryInfo.params.member.value.slice());function a(){var e,r=t(i.fedxMembers);try{var o=function(){var r=e.value;i.knownRepos=i.knownRepos.filter((function(e){return r.repositoryServer?e.id!==r.repositoryName||e.location!==r.repositoryServer:e.id!==r.repositoryName||!e.local}))};for(r.s();!(e=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}}function c(){r.getRepositories(i.repositoryInfo.location).success((function(e){var r=[];_.values(e).forEach((function(e){r.push.apply(r,e)})),i.allAttachedRepos=_.cloneDeep(r)})).error((function(e){var r=getError(e);o.error(r,n.instant("common.error"))})).then((function(){i.knownRepos=i.allAttachedRepos.slice(),a()}))}i.setWritableRepo=function(e){var r=i.fedxMembers.find((function(e){return"true"===e.writable}));r&&((r.store!==s||e.store===s&&r.repositoryName===e.repositoryName)&&("RemoteRepository"!==r.store||"RemoteRepository"===e.store&&r.repositoryName===e.repositoryName&&r.repositoryServer===e.repositoryServer)||(r.writable="false")),e.writable=JSON.stringify("false"===e.writable)},i.getActiveClass=function(e){return"true"===e.writable?" active":""},i.checkIfRepoExist=function(e){return!i.allAttachedRepos.length||(e.store===s?i.allAttachedRepos.find((function(r){return r.id===e.repositoryName&&!r.location})):"RemoteRepository"!==e.store||i.allAttachedRepos.find((function(r){return r.id===e.repositoryName&&r.location===e.repositoryServer})))},i.getRepositoryServer=function(e){return e.local?"Local":e.location};var l=setInterval((function(){c()}),5e3);function p(e){i.fedxMembers.push(e),i.repositoryInfo.params.member.value=i.fedxMembers}function u(e){return"/"===e.slice(-1)?e.slice(0,-1):e}function d(){return i.editRepoPage&&!i.editRepoPage||!i.model.editMode}i.$on("$destroy",(function(){clearInterval(l)})),i.addMember=function(e){var r;r="Local"===i.getRepositoryServer(e)?{store:s,repositoryName:e.id,repoType:e.type,respectRights:"true",writable:"false"}:{store:"RemoteRepository",repositoryName:e.id,repositoryServer:e.location,username:"",password:"",supportsASKQueries:"true",writable:"false"},i.knownRepos=i.knownRepos.filter((function(r){return r.id!==e.id||r.location!==e.location})),p(r)},i.removeMember=function(e){e.store&&e.store===s?(i.fedxMembers=i.fedxMembers.filter((function(r){return r.store!==e.store||r.repositoryName!==e.repositoryName&&!r.repositoryServer})),c()):e.store&&"SPARQLEndpoint"===e.store?i.fedxMembers=i.fedxMembers.filter((function(r){return r.endpoint!==e.endpoint})):e.store&&"NativeStore"===e.store?i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryLocation!==e.repositoryLocation})):e.store&&"RemoteRepository"===e.store&&(i.fedxMembers=i.fedxMembers.filter((function(r){return r.store!==e.store||r.repositoryName!==e.repositoryName||r.repositoryServer!==e.repositoryServer})),c()),i.repositoryInfo.params.member.value=i.fedxMembers},i.addRemoteMember=function(){i.mode="remote",i.model={editMode:!1,store:"RemoteRepository",repositoryName:"",repositoryServer:"",sparqlEndpoint:"",username:"",password:"",supportsASKQueries:"true",writable:"false"},i.$uibModalInstance=e.open({templateUrl:"js/angular/templates/modal/add-fedx-remote-repo.html",scope:i})},i.getMemberIcon=function(e){return e.repoType?"icon-repo-"+e.repoType:"NativeStore"===e.store?"icon-warning":"icon-link"},i.editFedXRepository=function(r){r.store===s?(i.mode="local",i.model={editMode:!0,store:r.store,respectRights:r.respectRights,repositoryName:r.repositoryName,repoType:r.repoType,writable:r.writable}):(i.mode="remote",i.model={editMode:!0,store:r.store,repositoryName:r.repositoryName,repositoryServer:r.repositoryServer,sparqlEndpoint:"SPARQLEndpoint"===r.store?r.endpoint:r.repositoryLocation,username:r.username,password:r.password,supportsASKQueries:r.supportsASKQueries,writable:r.writable}),i.$uibModalInstance=e.open({templateUrl:"js/angular/templates/modal/add-fedx-remote-repo.html",scope:i})},i.resolveName=function(e){switch(e.store){case s:return e.repositoryName;case"RemoteRepository":return e.repositoryName+"@"+e.repositoryServer;case"SPARQLEndpoint":return e.endpoint;case"NativeStore":return e.repositoryLocation;default:return""}},i.cancel=function(){i.$uibModalInstance.dismiss("cancel")},i.ok=function(){var e;if(i.model.repositoryName&&i.model.store===s)e={store:s,repositoryName:i.model.repositoryName,repoType:i.model.repoType,respectRights:i.model.respectRights,writable:i.model.writable},i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryName!==e.repositoryName||r.store!==e.store}));else if(i.model.repositoryName&&"RemoteRepository"===i.model.store){if(e={store:"RemoteRepository",repositoryName:i.model.repositoryName,repositoryServer:u(i.model.repositoryServer),username:i.model.username,password:i.model.password,writable:i.model.writable},d()&&i.fedxMembers.find((function(r){return r.repositoryName===e.repositoryName&&r.repositoryServer===e.repositoryServer}))){var r=i.resolveName(e);return o.error(n.instant("fedx.repo.already.added.member.error",{name:r})),void i.$uibModalInstance.close()}i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryName!==e.repositoryName||r.repositoryServer!==e.repositoryServer}))}else{if(e={store:"SPARQLEndpoint",endpoint:u(i.model.sparqlEndpoint),username:i.model.username,password:i.model.password,supportsASKQueries:i.model.supportsASKQueries,writable:i.model.writable},d()&&i.fedxMembers.find((function(r){return r.endpoint===e.endpoint}))){var t=i.resolveName(e);return o.error(n.instant("fedx.repo.already.added.sparql.endpoint.error",{name:t})),void i.$uibModalInstance.close()}i.fedxMembers=i.fedxMembers.filter((function(r){return r.endpoint!==e.endpoint}))}p(e),a(),i.$uibModalInstance.close()},i.$on("changedLocation",(function(){i.fedxMembers=[],c()})),c()}}}angular.module("graphdb.framework.repositories.fedx-repo.directive",[]).directive("fedxRepo",n),n.$inject=["$uibModal","RepositoriesRestService","toastr","$translate"]},364:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(35),t(238),t(65),t(66),t(54),t(98),t(99);function o(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function n(e,r,t){e.$on("$locationChangeStart",(function(){t.isLicenseHardcoded()&&"/license/register"===r.url()&&r.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(o).run(n),o.$inject=["$httpProvider","$routeProvider"],n.$inject=["$rootScope","$location","$licenseService"]},467:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(58),t(248),t(379),t(363),t(53),t(364),t(98),t(99);angular.module("graphdb.framework.repositories",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.repositories.controllers","graphdb.framework.repositories.ontop-repo.directive","graphdb.framework.repositories.fedx-repo.directive","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers","graphdb.framework.settings"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[84,147,346,369],{238:function(e,r,t){"use strict";t.r(r);t(10),t(54);function o(e,r,t,o,n){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,o.getStatistics().then((function(r){e.settings.statistics="true"===r.data,e.supportsStatistics=!0}),(function(t){if(404===t.status)e.supportsStatistics=!1;else{var o=getError(t.data);r.error(o,n.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,o.toggleStatistics(e.settings.statistics).then((function(){t.close(),r.success(n.instant("saving.settings.success"))}),(function(e){var t=getError(e.data);r.error(t,n.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){t.dismiss("cancel")}}function n(e,r,t,o,n,i,s,a){e.loadingLicense=function(){return t.loadingLicense()},t.checkLicenseStatus(),e.removeLicense=function(){i.openSimpleModal({title:s.instant("confirm.operation"),message:s.instant("remove.license.warning.msg"),warning:!0}).result.then((function(){r.unregisterLicense().success((function(){t.checkLicenseStatus().then((function(){return a.applyTrackingConsent()})).catch((function(e){var r=getError(e.data,e.status);o.error(r,s.instant("common.error"))}))}))}))}}function i(e,r,t,o,n,i,s,a){e.$on("securityInit",(function(){s.isAdmin()||t.path("/license")})),e.sendLicenseToValidateAndActivate=l;var c=$(".license-textarea");function l(e){r.sendLicenseToValidate(e).success((function(t){t.present?(c.val(e),function(e,t){o.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=c.val());if(e){var t=atob(e.replace(/\s/g,""));r.registerLicense(t).success((function(){i.history.back()})).error((function(e){n.error(e,a.instant("license.register.error"))}))}else n.error(a.instant("no.license.code.error"))}(t)}))}(t,e)):(c.val(""),n.error(t.message))})).error((function(){n.error(a.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){var t=e.currentFile;r.extractFromLicenseFile(t).success((function(e){l(e)})).error((function(){n.error(a.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){i.history.back()}}function s(e,r,t){e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")},e.license=t}function a(e){e.loader=!0,e.setLoader=function(r){e.loader=r}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",o).controller("ValidateLicenseModalCtrl",s).controller("LicenseCtrl",n).controller("RegisterLicenseCtrl",i).controller("LoaderSamplesCtrl",a),o.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],n.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate","TrackingService"],i.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],s.$inject=["$scope","$uibModalInstance","license"],a.$inject=["$scope"]},363:function(e,r){function t(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){c=!0,s=e},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw s}}}}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function n(e,r,o,n){return{restrict:"E",scope:!0,templateUrl:"js/angular/repositories/templates/fedx-repo.html",link:function(i){var s="ResolvableRepository";i.fedxMembers=[],i.knownRepos=[],i.allAttachedRepos=[],i.editRepoPage&&(i.fedxMembers=i.repositoryInfo.params.member.value.slice());function a(){var e,r=t(i.fedxMembers);try{var o=function(){var r=e.value;i.knownRepos=i.knownRepos.filter((function(e){return r.repositoryServer?e.id!==r.repositoryName||e.location!==r.repositoryServer:e.id!==r.repositoryName||!e.local}))};for(r.s();!(e=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}}function c(){r.getRepositories(i.repositoryInfo.location).success((function(e){var r=[];_.values(e).forEach((function(e){r.push.apply(r,e)})),i.allAttachedRepos=_.cloneDeep(r)})).error((function(e){var r=getError(e);o.error(r,n.instant("common.error"))})).then((function(){i.knownRepos=i.allAttachedRepos.slice(),a()}))}i.setWritableRepo=function(e){var r=i.fedxMembers.find((function(e){return"true"===e.writable}));r&&((r.store!==s||e.store===s&&r.repositoryName===e.repositoryName)&&("RemoteRepository"!==r.store||"RemoteRepository"===e.store&&r.repositoryName===e.repositoryName&&r.repositoryServer===e.repositoryServer)||(r.writable="false")),e.writable=JSON.stringify("false"===e.writable)},i.getActiveClass=function(e){return"true"===e.writable?" active":""},i.checkIfRepoExist=function(e){return!i.allAttachedRepos.length||(e.store===s?i.allAttachedRepos.find((function(r){return r.id===e.repositoryName&&!r.location})):"RemoteRepository"!==e.store||i.allAttachedRepos.find((function(r){return r.id===e.repositoryName&&r.location===e.repositoryServer})))},i.getRepositoryServer=function(e){return e.local?"Local":e.location};var l=setInterval((function(){c()}),5e3);function p(e){i.fedxMembers.push(e),i.repositoryInfo.params.member.value=i.fedxMembers}function u(e){return"/"===e.slice(-1)?e.slice(0,-1):e}function d(){return i.editRepoPage&&!i.editRepoPage||!i.model.editMode}i.$on("$destroy",(function(){clearInterval(l)})),i.addMember=function(e){var r;r="Local"===i.getRepositoryServer(e)?{store:s,repositoryName:e.id,repoType:e.type,respectRights:"true",writable:"false"}:{store:"RemoteRepository",repositoryName:e.id,repositoryServer:e.location,username:"",password:"",supportsASKQueries:"true",writable:"false"},i.knownRepos=i.knownRepos.filter((function(r){return r.id!==e.id||r.location!==e.location})),p(r)},i.removeMember=function(e){e.store&&e.store===s?(i.fedxMembers=i.fedxMembers.filter((function(r){return r.store!==e.store||r.repositoryName!==e.repositoryName&&!r.repositoryServer})),c()):e.store&&"SPARQLEndpoint"===e.store?i.fedxMembers=i.fedxMembers.filter((function(r){return r.endpoint!==e.endpoint})):e.store&&"NativeStore"===e.store?i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryLocation!==e.repositoryLocation})):e.store&&"RemoteRepository"===e.store&&(i.fedxMembers=i.fedxMembers.filter((function(r){return r.store!==e.store||r.repositoryName!==e.repositoryName||r.repositoryServer!==e.repositoryServer})),c()),i.repositoryInfo.params.member.value=i.fedxMembers},i.addRemoteMember=function(){i.mode="remote",i.model={editMode:!1,store:"RemoteRepository",repositoryName:"",repositoryServer:"",sparqlEndpoint:"",username:"",password:"",supportsASKQueries:"true",writable:"false"},i.$uibModalInstance=e.open({templateUrl:"js/angular/templates/modal/add-fedx-remote-repo.html",scope:i})},i.getMemberIcon=function(e){return e.repoType?"icon-repo-"+e.repoType:"NativeStore"===e.store?"icon-warning":"icon-link"},i.editFedXRepository=function(r){r.store===s?(i.mode="local",i.model={editMode:!0,store:r.store,respectRights:r.respectRights,repositoryName:r.repositoryName,repoType:r.repoType,writable:r.writable}):(i.mode="remote",i.model={editMode:!0,store:r.store,repositoryName:r.repositoryName,repositoryServer:r.repositoryServer,sparqlEndpoint:"SPARQLEndpoint"===r.store?r.endpoint:r.repositoryLocation,username:r.username,password:r.password,supportsASKQueries:r.supportsASKQueries,writable:r.writable}),i.$uibModalInstance=e.open({templateUrl:"js/angular/templates/modal/add-fedx-remote-repo.html",scope:i})},i.resolveName=function(e){switch(e.store){case s:return e.repositoryName;case"RemoteRepository":return e.repositoryName+"@"+e.repositoryServer;case"SPARQLEndpoint":return e.endpoint;case"NativeStore":return e.repositoryLocation;default:return""}},i.cancel=function(){i.$uibModalInstance.dismiss("cancel")},i.ok=function(){var e;if(i.model.repositoryName&&i.model.store===s)e={store:s,repositoryName:i.model.repositoryName,repoType:i.model.repoType,respectRights:i.model.respectRights,writable:i.model.writable},i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryName!==e.repositoryName||r.store!==e.store}));else if(i.model.repositoryName&&"RemoteRepository"===i.model.store){if(e={store:"RemoteRepository",repositoryName:i.model.repositoryName,repositoryServer:u(i.model.repositoryServer),username:i.model.username,password:i.model.password,writable:i.model.writable},d()&&i.fedxMembers.find((function(r){return r.repositoryName===e.repositoryName&&r.repositoryServer===e.repositoryServer}))){var r=i.resolveName(e);return o.error(n.instant("fedx.repo.already.added.member.error",{name:r})),void i.$uibModalInstance.close()}i.fedxMembers=i.fedxMembers.filter((function(r){return r.repositoryName!==e.repositoryName||r.repositoryServer!==e.repositoryServer}))}else{if(e={store:"SPARQLEndpoint",endpoint:u(i.model.sparqlEndpoint),username:i.model.username,password:i.model.password,supportsASKQueries:i.model.supportsASKQueries,writable:i.model.writable},d()&&i.fedxMembers.find((function(r){return r.endpoint===e.endpoint}))){var t=i.resolveName(e);return o.error(n.instant("fedx.repo.already.added.sparql.endpoint.error",{name:t})),void i.$uibModalInstance.close()}i.fedxMembers=i.fedxMembers.filter((function(r){return r.endpoint!==e.endpoint}))}p(e),a(),i.$uibModalInstance.close()},i.$on("changedLocation",(function(){i.fedxMembers=[],c()})),c()}}}angular.module("graphdb.framework.repositories.fedx-repo.directive",[]).directive("fedxRepo",n),n.$inject=["$uibModal","RepositoriesRestService","toastr","$translate"]},364:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(35),t(238),t(65),t(66),t(54),t(98),t(99);function o(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function n(e,r,t){e.$on("$locationChangeStart",(function(){t.isLicenseHardcoded()&&"/license/register"===r.url()&&r.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(o).run(n),o.$inject=["$httpProvider","$routeProvider"],n.$inject=["$rootScope","$location","$licenseService"]},467:function(e,r,t){"use strict";t.r(r);t(10),t(52),t(58),t(248),t(379),t(363),t(53),t(364),t(98),t(99);angular.module("graphdb.framework.repositories",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.repositories.controllers","graphdb.framework.repositories.ontop-repo.directive","graphdb.framework.repositories.fedx-repo.directive","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers","graphdb.framework.settings"])}}]);