graphdb-workbench 2.8.0-TR8 → 2.8.0-TR9
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.
- package/dist/{0.fe4729a97f549d99e76c.bundle.js → 0.93d87420a8f6f497a752.bundle.js} +3 -3
- package/dist/{1.7eaaf20521951cc7a34b.bundle.js → 1.1d48970931b02943cf4a.bundle.js} +1 -1
- package/dist/{10.1b9fbe84bc39ee775860.bundle.js → 10.744322001f79eeeebc2f.bundle.js} +1 -1
- package/dist/{100.3c25fd5fbf68ae226f3d.bundle.js → 100.e29b5efe2fbc0bb7a5f4.bundle.js} +1 -1
- package/dist/{101.efee805298ed9cca96df.bundle.js → 101.fe24aecb4730a999e647.bundle.js} +1 -1
- package/dist/{102.ef703a292a5ee7aa66af.bundle.js → 102.63518bce2a8c1c78fe7c.bundle.js} +1 -1
- package/dist/103.7965a437228ca8030cf8.bundle.js +1 -0
- package/dist/{104.93934ce6ee9d1071af34.bundle.js → 104.b780c6c0242f75eab14f.bundle.js} +1 -1
- package/dist/{105.52556dcf30d72aa57237.bundle.js → 105.5dc23ad3a20b69b5c68a.bundle.js} +1 -1
- package/dist/{106.b2e134406918991254c8.bundle.js → 106.10f1e7151b931d781873.bundle.js} +1 -1
- package/dist/{107.ad5741bd760d84cfc5e8.bundle.js → 107.cd7e922cc13ca484361c.bundle.js} +1 -1
- package/dist/{108.5e35a9902a05a571a342.bundle.js → 108.531a56a37c358c7eb716.bundle.js} +1 -1
- package/dist/{109.33f1be47a70db0de4dbb.bundle.js → 109.219fe067efe2c5c13905.bundle.js} +1 -1
- package/dist/{11.f585c7887b0c7058f132.bundle.js → 11.3cbcbb21d886fff027c5.bundle.js} +1 -1
- package/dist/{110.88a666b809893a80ed10.bundle.js → 110.1d8dc2d3db4cc484364a.bundle.js} +1 -1
- package/dist/{111.5795ff600dae99d135b3.bundle.js → 111.7c5283968657e2ef686c.bundle.js} +1 -1
- package/dist/{112.5d580a4e68f29bd96072.bundle.js → 112.bdc85f2a318f69194f55.bundle.js} +1 -1
- package/dist/{113.dc84c0d9d10073168a66.bundle.js → 113.62ca17b2447622176856.bundle.js} +1 -1
- package/dist/{114.9c6c37cccff476323479.bundle.js → 114.52f802379ffc63f04bda.bundle.js} +1 -1
- package/dist/{115.f5db213caf686c4c4bf0.bundle.js → 115.526878d1ad85ef966589.bundle.js} +1 -1
- package/dist/{116.c14833d4340ae24b1add.bundle.js → 116.872724459e1ffba3355f.bundle.js} +1 -1
- package/dist/{117.5769784e4fe7d9b070ee.bundle.js → 117.2254713ace6a2ee1b3e6.bundle.js} +1 -1
- package/dist/{118.5565a6a7e6a6fd913f6c.bundle.js → 118.475538f514784a48c496.bundle.js} +1 -1
- package/dist/{119.71cacd8d5417aacdfee9.bundle.js → 119.3e860b52440fb02b07b1.bundle.js} +1 -1
- package/dist/{12.0312a2d90554c15d3009.bundle.js → 12.9d7774b721e218c0d1a8.bundle.js} +1 -1
- package/dist/{120.cdf6131a41b72d728a14.bundle.js → 120.d0a082faf2c1d48f3d39.bundle.js} +1 -1
- package/dist/{121.493c36d2d1a28d55a109.bundle.js → 121.19e849dc6ee838e394b2.bundle.js} +1 -1
- package/dist/{122.e789cad9a683b5eb05ce.bundle.js → 122.83bc9c335b278ed23f7e.bundle.js} +1 -1
- package/dist/{123.b788446b2f91f3a5904b.bundle.js → 123.225acf6a6b6225a0bdc7.bundle.js} +1 -1
- package/dist/{124.686544ec11c83be3e837.bundle.js → 124.22f485a993d2d5f0c3fe.bundle.js} +1 -1
- package/dist/{125.671763e149e1f0d072c3.bundle.js → 125.a0120c9bbf263871f1f2.bundle.js} +1 -1
- package/dist/{126.dec860491ecb0179a5d6.bundle.js → 126.6c6361f8a794c25f03c3.bundle.js} +1 -1
- package/dist/{127.b9d72edac7300bdf5465.bundle.js → 127.9695ad415ea407a5766d.bundle.js} +1 -1
- package/dist/{128.99cc83ce5b72779f96d1.bundle.js → 128.efaa3c64cc680871c101.bundle.js} +1 -1
- package/dist/{129.2567d1b4e4f8da910706.bundle.js → 129.6e076a0591f2535f20e7.bundle.js} +1 -1
- package/dist/{13.713ba0eb2efb2fae5581.bundle.js → 13.3ceee67e787b33ff65bd.bundle.js} +11 -11
- package/dist/{131.406a0bd6d18805b233bd.bundle.js → 131.1150f3770fcd7254facc.bundle.js} +1 -1
- package/dist/{132.eeb929e6e556a5896695.bundle.js → 132.5b35a91b7faf35ac5fc1.bundle.js} +1 -1
- package/dist/{135.e871091835d86128fdeb.bundle.js → 135.2412e9ff08269c7629e4.bundle.js} +1 -1
- package/dist/{139.49a76322eb779c1eef80.bundle.js → 139.e89c0ccc2363622ad4c7.bundle.js} +1 -1
- package/dist/{14.0a895a968a030eb0581c.bundle.js → 14.d3b8465c006f4a7ce30c.bundle.js} +1 -1
- package/dist/{140.dbac87117c8e9e49228e.bundle.js → 140.0536e559a9baabc76030.bundle.js} +1 -1
- package/dist/{141.054afe20ca27c6c05d43.bundle.js → 141.dfd47bb9fcc11ac8a30b.bundle.js} +1 -1
- package/dist/{142.3ccc1b25778c2c3b5a05.bundle.js → 142.1227bc64cacbe76f16d9.bundle.js} +1 -1
- package/dist/{143.bf5fd5ebf5352923407c.bundle.js → 143.5545959797ea89b40e59.bundle.js} +1 -1
- package/dist/{144.fa80298e34eb03ee93ee.bundle.js → 144.5b140731425a34cf125a.bundle.js} +1 -1
- package/dist/{145.d661c97bb62292f5bb80.bundle.js → 145.28b77f4c246bdc8df93a.bundle.js} +1 -1
- package/dist/{146.518bf4c2d2cf71e19f4e.bundle.js → 146.6fef463bb43f86016d1e.bundle.js} +1 -1
- package/dist/{147.781930c4156e2696be30.bundle.js → 147.815687d4dbe9b1b37b18.bundle.js} +1 -1
- package/dist/{148.093f49fb6e5e1d4df64b.bundle.js → 148.b3b5fa19ce5fa37e87a3.bundle.js} +1 -1
- package/dist/{149.6223eb2c20cab24ecb8d.bundle.js → 149.f0176599fd805fe1c9e3.bundle.js} +1 -1
- package/dist/{15.92b811f2e6eea4754d16.bundle.js → 15.8766865adcae6bca8ef1.bundle.js} +1 -1
- package/dist/{150.efc851a1070bd0fb5a86.bundle.js → 150.6ee46dd0446cd91c5df5.bundle.js} +1 -1
- package/dist/{151.44aa4778a8a0f9da4676.bundle.js → 151.fdeaee5624ebd2eb1ff6.bundle.js} +1 -1
- package/dist/{152.4011d597b045cf49ec04.bundle.js → 152.809817ae7b07996f0e13.bundle.js} +1 -1
- package/dist/{153.91676bcd55e8fa5f4068.bundle.js → 153.f4af131f932f79445edf.bundle.js} +1 -1
- package/dist/{154.82a197ccff717f884416.bundle.js → 154.3b0d779ea269d2e0f964.bundle.js} +1 -1
- package/dist/{155.e5598e56d652d0e734e1.bundle.js → 155.52205389c28320f9201f.bundle.js} +1 -1
- package/dist/{156.caaf5e2dc7ad352e4167.bundle.js → 156.c8b3277de77670d24eee.bundle.js} +1 -1
- package/dist/{157.a9ac969b11cafb114fe6.bundle.js → 157.261634b5278ba4c5eebf.bundle.js} +1 -1
- package/dist/{158.d34c5e566402660056fd.bundle.js → 158.ef35149a736ccb14c53a.bundle.js} +1 -1
- package/dist/{159.37d0c0d38532bce4bd69.bundle.js → 159.a43b2a42dc2a88c0b99f.bundle.js} +1 -1
- package/dist/{16.fdb09f13284c6dc639fb.bundle.js → 16.5c0032b87470da10a81f.bundle.js} +2 -2
- package/dist/{160.1d6d6162b3eb43dcefb3.bundle.js → 160.68a3c092234acef47e77.bundle.js} +1 -1
- package/dist/{161.d771712f872e8f544c18.bundle.js → 161.d1d70b8f86ea38c9ea5c.bundle.js} +1 -1
- package/dist/{162.8429e153861fd2b302bb.bundle.js → 162.d277865cf49b2368c9e2.bundle.js} +1 -1
- package/dist/{163.6e296e35e6932d5daca6.bundle.js → 163.f8f2a84efe4ecc4f954d.bundle.js} +1 -1
- package/dist/{164.d693d8a8bfa464acfc74.bundle.js → 164.a90934fa38d7275dfd80.bundle.js} +1 -1
- package/dist/{165.c01039936fb423ccf51c.bundle.js → 165.d1dba76f79111f728339.bundle.js} +1 -1
- package/dist/{166.3f358f4a87c4378ed5b9.bundle.js → 166.87f1eaff82bc80cc4b2a.bundle.js} +1 -1
- package/dist/{167.42d50892a010d5a75c09.bundle.js → 167.738f243edcf3972dd55f.bundle.js} +1 -1
- package/dist/{168.69f3b3a8a9791e2e5edc.bundle.js → 168.ce724b818621b0bf69cc.bundle.js} +1 -1
- package/dist/{169.a1195cdb8a0e5b2dfecd.bundle.js → 169.3194692379d22d85fe3f.bundle.js} +1 -1
- package/dist/{17.4dbd72d61bcedd36557b.bundle.js → 17.73a7e201cb4694d56da8.bundle.js} +1 -1
- package/dist/{170.1e2a82f30966c069477f.bundle.js → 170.705370e83f0e3976dd91.bundle.js} +1 -1
- package/dist/{171.dbc9f5b2817163416c56.bundle.js → 171.8f776b3339a02d4177f2.bundle.js} +1 -1
- package/dist/{172.946bdd782f0275b9884f.bundle.js → 172.c468ce9c646c173d5a7f.bundle.js} +1 -1
- package/dist/{173.b8b00521f95d4aba2f9f.bundle.js → 173.50adf001265b609010d2.bundle.js} +1 -1
- package/dist/{174.911f8d2b06ca89f8c3a3.bundle.js → 174.1904d8d341c1771fd4e8.bundle.js} +1 -1
- package/dist/{175.f582f57e61e06b61b4b4.bundle.js → 175.2db920b9a065c1000a6b.bundle.js} +1 -1
- package/dist/{176.d9fc0b81b2953b785f9e.bundle.js → 176.e707680bb419334004af.bundle.js} +1 -1
- package/dist/{177.06beada483a3c4530d3e.bundle.js → 177.91c01025d11dbdbd9476.bundle.js} +1 -1
- package/dist/{178.dc278f0da09752d361cb.bundle.js → 178.187817c27b17d9360b0e.bundle.js} +1 -1
- package/dist/{179.f4e42a8c8b9eb5eaeb74.bundle.js → 179.01f66e46cf05d51a33a6.bundle.js} +1 -1
- package/dist/{18.ee45f234dbf94c7e2814.bundle.js → 18.90f671cf3c97c97e5b82.bundle.js} +1 -1
- package/dist/{180.9f2035bda77debb45e2c.bundle.js → 180.ca0e5f5df0a4ad862df1.bundle.js} +1 -1
- package/dist/{183.9a8142d365eab50ab7d6.bundle.js → 183.11c9d0e4592a5c5a2c71.bundle.js} +1 -1
- package/dist/{187.c89f00b398527bee26ea.bundle.js → 187.12693c3384e8c2c1fc65.bundle.js} +1 -1
- package/dist/{188.7e75f9c8409f9d908224.bundle.js → 188.862160c1f5ebd87f09f7.bundle.js} +1 -1
- package/dist/{189.58559840e81404c86872.bundle.js → 189.70422e07b43dab5dbcb6.bundle.js} +1 -1
- package/dist/{19.547ac3d529d4741e0cff.bundle.js → 19.ba0c978148343715a79d.bundle.js} +1 -1
- package/dist/{190.23de1e648923c57c5de9.bundle.js → 190.80daee3e34a56cf67f9b.bundle.js} +1 -1
- package/dist/{193.b5336580d9b1849b12d3.bundle.js → 193.c50bf4da4b6e6eccd7a8.bundle.js} +1 -1
- package/dist/{194.755b8df4b2dd4fc1c5e4.bundle.js → 194.510bceaaed6b6444c598.bundle.js} +1 -1
- package/dist/{195.0928127a9c096b869019.bundle.js → 195.b38c4f61b0af57e81c6b.bundle.js} +1 -1
- package/dist/{196.75b2886d663b05f6e2e4.bundle.js → 196.a1f2fcc36a9897095927.bundle.js} +1 -1
- package/dist/{197.38dcc5af239359644b83.bundle.js → 197.c3c4bb58e8dfde422a21.bundle.js} +1 -1
- package/dist/{198.442356545385965bbd9e.bundle.js → 198.7259b2dd4193106d5448.bundle.js} +1 -1
- package/dist/{199.d0f52eae00e4997299fc.bundle.js → 199.fac7a8faeddb8eb056cf.bundle.js} +1 -1
- package/dist/{2.1045166ecba51c8b93e5.bundle.js → 2.5a1c3220c519d29070ff.bundle.js} +2 -2
- package/dist/{20.3ada5ce82eb84da122f8.bundle.js → 20.a1bdd8399a6a51a601ae.bundle.js} +1 -1
- package/dist/{200.f1b287b032cd4499dd12.bundle.js → 200.12311f99b956ce538a9a.bundle.js} +1 -1
- package/dist/{201.b8d314499cb33b65585e.bundle.js → 201.343f666a1864faac9b81.bundle.js} +1 -1
- package/dist/{202.bf731cba90da2436ac3d.bundle.js → 202.19bb71680d959bb69cc7.bundle.js} +1 -1
- package/dist/{204.f781c5984d8060eb678f.bundle.js → 204.650f7ec1f82a0abe854c.bundle.js} +1 -1
- package/dist/{205.05d4a4ac8e9123c7b500.bundle.js → 205.73d4316aba11f69685a0.bundle.js} +1 -1
- package/dist/{206.6e7b582fb838b410fdeb.bundle.js → 206.87348349d08a30adfe92.bundle.js} +1 -1
- package/dist/207.b4e0ed1bb40e2bcf6cf4.bundle.js +1 -0
- package/dist/{208.61b9626ef8371b3366d6.bundle.js → 208.1cb310372fd5a6561b89.bundle.js} +1 -1
- package/dist/{209.1e83cf061191f60bb5ee.bundle.js → 209.3363d93d2efb2258b90d.bundle.js} +1 -1
- package/dist/{21.7c74d95df583201a0699.bundle.js → 21.8d3e63a2f5875dcfaca7.bundle.js} +1 -1
- package/dist/{210.b5bb325832f83596bccb.bundle.js → 210.e0c3298389d55519c46a.bundle.js} +1 -1
- package/dist/{211.f0b97ccd1215e8dd2f79.bundle.js → 211.2f2086dc512733f834c9.bundle.js} +1 -1
- package/dist/{213.04e0fadfdcb67c1ccc9d.bundle.js → 213.904b87fe88638fa860ae.bundle.js} +1 -1
- package/dist/{214.a761e9dbd6f032b694fa.bundle.js → 214.94246e747ea0f27767d3.bundle.js} +1 -1
- package/dist/{215.ce43c2db6d24089e5603.bundle.js → 215.376ec9fbb7f020cba0c4.bundle.js} +1 -1
- package/dist/{216.7515086f361a6245b09b.bundle.js → 216.73685c47844fac21340c.bundle.js} +1 -1
- package/dist/{217.2e12a90085c042f971ee.bundle.js → 217.4acdfe41f8f508c401a4.bundle.js} +1 -1
- package/dist/{218.31d21222e9978e8085c7.bundle.js → 218.23d5c5b68f6bcde4572b.bundle.js} +1 -1
- package/dist/{219.88d5c34bccaf06fd6d0d.bundle.js → 219.09dc44d1ec255159788b.bundle.js} +1 -1
- package/dist/22.421d4099235c120e3bdf.bundle.js +2 -0
- package/dist/{223.4ceb027f84293f3b2eb9.bundle.js → 223.2241b4a8460e45fe6cde.bundle.js} +1 -1
- package/dist/{224.ee51e5422a1dd53aeee3.bundle.js → 224.d91d61ce4a050ebf5574.bundle.js} +1 -1
- package/dist/{225.b7e040f97b2ebc9a861c.bundle.js → 225.37e61008f9c558fbcb85.bundle.js} +1 -1
- package/dist/{226.154c9b61e401eff99e3f.bundle.js → 226.6f7e28882ff9b5ad7cfe.bundle.js} +1 -1
- package/dist/227.c66d9038f3dbf7f19446.bundle.js +1 -0
- package/dist/{228.3aa01cfaea6432f582c2.bundle.js → 228.2dde53a417be761d8b08.bundle.js} +1 -1
- package/dist/229.b50655ee434e21efb86e.bundle.js +1 -0
- package/dist/23.bed6c1d218c005398a3f.bundle.js +2 -0
- package/dist/{231.7e3e47f031029b7a9b6a.bundle.js → 231.07f8b07a6229b7efccf6.bundle.js} +1 -1
- package/dist/{232.8aa23a2eee0888f61b8e.bundle.js → 232.960b33cc7ef460f08872.bundle.js} +1 -1
- package/dist/{233.2d9399a6553b87d292ec.bundle.js → 233.e72cfb683e619f25968a.bundle.js} +1 -1
- package/dist/{234.4fa557a12b75a3baf485.bundle.js → 234.6891f7482bb44454ac60.bundle.js} +1 -1
- package/dist/{235.32264adcbe959a115b68.bundle.js → 235.7a5fc597d268171457c8.bundle.js} +1 -1
- package/dist/{237.399f3d86a51ecbadcd28.bundle.js → 237.fa38be2df8222e03a2ee.bundle.js} +1 -1
- package/dist/{238.0b98592bdbaf79ae0d7a.bundle.js → 238.06a024edf2fb4cf05145.bundle.js} +1 -1
- package/dist/{239.b0dded9896beea2a05cd.bundle.js → 239.e68127e932877e92e455.bundle.js} +1 -1
- package/dist/24.9586b091416fa3b62d76.bundle.js +2 -0
- package/dist/240.8537eba206b20c1f85b6.bundle.js +1 -0
- package/dist/241.118dca6897721042eb6a.bundle.js +1 -0
- package/dist/{244.593bad338bf30575a472.bundle.js → 244.42df15649bf6fbb6ae28.bundle.js} +1 -1
- package/dist/{245.b20863a2ccbb64fe53a6.bundle.js → 245.0d38643706328b1baed8.bundle.js} +1 -1
- package/dist/{247.95963a9c901b345c2a9f.bundle.js → 247.8229753949301befe9d7.bundle.js} +1 -1
- package/dist/248.b16d2d06fefb398ef703.bundle.js +1 -0
- package/dist/{249.52d524f77f6be60d49b0.bundle.js → 249.0a068e835b94e2043bbf.bundle.js} +1 -1
- package/dist/{25.b4ef0514cf67fa14dadd.bundle.js → 25.4283e906c915f232dd2f.bundle.js} +1 -1
- package/dist/250.2254d9c1c0e8a5beed71.bundle.js +1 -0
- package/dist/{252.7635279320eb6a239ca1.bundle.js → 252.f011e1d343e4a00c142c.bundle.js} +1 -1
- package/dist/254.dc60f2f2f4f144b671e4.bundle.js +1 -0
- package/dist/255.a324feec76f0b7246b0f.bundle.js +1 -0
- package/dist/{255.d8ac37b36b2048c7e7ba.bundle.js → 256.ab2a628ebde4359d0673.bundle.js} +1 -1
- package/dist/{256.7f5642e727432bd6ff3d.bundle.js → 257.36b881ac4bcf848e28f6.bundle.js} +1 -1
- package/dist/{257.0bc18837a59d02bcb767.bundle.js → 258.8321c950b90a8f15b0a6.bundle.js} +1 -1
- package/dist/{258.468e5be7015024a40c88.bundle.js → 259.b00cb1b126cf8d458c67.bundle.js} +1 -1
- package/dist/{26.b09663905438d5e0e747.bundle.js → 26.73c69a12be6239cf9566.bundle.js} +2 -2
- package/dist/{259.0f461681b6909a59e29f.bundle.js → 260.d03fa5b869b733bea327.bundle.js} +1 -1
- package/dist/{260.9385058fed480ba9030f.bundle.js → 261.67a700b678c8033328fe.bundle.js} +1 -1
- package/dist/{261.b1e1eb194503a210dafd.bundle.js → 262.98b498dab7614d027278.bundle.js} +1 -1
- package/dist/{262.aef3d631f6d18ab2210c.bundle.js → 263.16a41a007b4a7e5ebb22.bundle.js} +1 -1
- package/dist/{263.7a02fde0b7b038003886.bundle.js → 264.470339e4a94ddbb274d4.bundle.js} +1 -1
- package/dist/{264.444a3cf33b22a6b61cb4.bundle.js → 265.990fa5974f1cf58a374b.bundle.js} +1 -1
- package/dist/{265.ca67da93ec8846ee88f9.bundle.js → 266.5f39042b3bf4743d8edf.bundle.js} +1 -1
- package/dist/{266.4af796128f0b3b91ee7e.bundle.js → 267.9ce9c7bb96ffd9d671b9.bundle.js} +1 -1
- package/dist/{267.a440b39768214550147e.bundle.js → 268.5589bbc57e2ebb420a1f.bundle.js} +1 -1
- package/dist/{268.25d03ac949ce6865530d.bundle.js → 269.288caed26aff5b00f6d9.bundle.js} +1 -1
- package/dist/{27.d08a19ce94cd4c6c3d34.bundle.js → 27.b0d33a93fa7077e40ff6.bundle.js} +1 -1
- package/dist/{269.68951622feff78bcb23d.bundle.js → 270.e9ffa72d075b6a58ce94.bundle.js} +1 -1
- package/dist/{270.760735c6f2fb27736669.bundle.js → 271.5e24cf3832610585483f.bundle.js} +1 -1
- package/dist/{271.48ef066c15b89c0ef5fc.bundle.js → 272.454bbf7ef91181f534c5.bundle.js} +1 -1
- package/dist/{272.b245c03cdaa0ad5072e7.bundle.js → 273.9b038599a001d5ac1f31.bundle.js} +1 -1
- package/dist/{273.d9baafa2a8931439fbe3.bundle.js → 274.a95f19ff813366a5ef87.bundle.js} +1 -1
- package/dist/{274.71db0c42104b588a6c4d.bundle.js → 275.364f5b07c2f8474949c0.bundle.js} +1 -1
- package/dist/{275.72a78697cab01477def9.bundle.js → 276.8669778e0f02fbaf1359.bundle.js} +1 -1
- package/dist/{276.79a816a8806d75e88497.bundle.js → 277.d6bcae3d265394d526b3.bundle.js} +1 -1
- package/dist/{277.89f5dd9ccd6e2f821274.bundle.js → 278.4b72240c92be90867667.bundle.js} +1 -1
- package/dist/{278.61662f0bcb1a9671901a.bundle.js → 279.30543bcc71ca936d4340.bundle.js} +1 -1
- package/dist/{28.554c6d5d8a14a1ee7182.bundle.js → 28.5d0ce77be09856232b24.bundle.js} +1 -1
- package/dist/{279.dfb4b85aefb5818824e8.bundle.js → 280.d348199223ecf9cecd79.bundle.js} +1 -1
- package/dist/{280.cf11048fde866074c4f3.bundle.js → 281.8aece5d8599fff8d14ca.bundle.js} +1 -1
- package/dist/{281.840b86089e1b8bd080d8.bundle.js → 282.5d37a44da02faf0fb797.bundle.js} +1 -1
- package/dist/{282.a9a83c1abbe7c2153a49.bundle.js → 283.b340a561c1afa4b3f297.bundle.js} +1 -1
- package/dist/{283.b39b007262985068075e.bundle.js → 284.cbb69a27e9bcded6ba2b.bundle.js} +1 -1
- package/dist/{284.62c192f1563600964bf6.bundle.js → 285.b30a4a122f6c27de6103.bundle.js} +1 -1
- package/dist/{285.b9425f91ce9fb23058ec.bundle.js → 286.f6c62a90e755adc06762.bundle.js} +1 -1
- package/dist/{286.a9ab317f853da1d4333e.bundle.js → 287.8bb14bbe169e89e1b2b6.bundle.js} +1 -1
- package/dist/{287.034b587d54e4ab503952.bundle.js → 288.9345bf900149ec91ab59.bundle.js} +1 -1
- package/dist/{288.7914bd27985475d11f05.bundle.js → 289.b2b24ddffb097ca701c0.bundle.js} +1 -1
- package/dist/{29.91dc63db7647528ebd4e.bundle.js → 29.c5ac5a3feca4eaa518a7.bundle.js} +1 -1
- package/dist/{289.da1df07952674740df5c.bundle.js → 290.2ea84ef2ad86f1c2d863.bundle.js} +1 -1
- package/dist/{290.ac405d3744deb57f4bf0.bundle.js → 291.4d040a1e236e406aa1de.bundle.js} +1 -1
- package/dist/{291.30c6e26ef3089d2a6f87.bundle.js → 292.2a9f08229b90a0427504.bundle.js} +1 -1
- package/dist/{292.21028c9b350fc161d4a8.bundle.js → 293.df46d21552d860c45398.bundle.js} +1 -1
- package/dist/{293.39714683e1f4eacc9325.bundle.js → 294.bdc65413d8e7bcfd697d.bundle.js} +1 -1
- package/dist/{294.907c09b471f72da1d788.bundle.js → 295.a114ad1b8a636323e5d8.bundle.js} +1 -1
- package/dist/{295.45c088acd720897346a0.bundle.js → 296.707abfe8b4d18d3198e2.bundle.js} +1 -1
- package/dist/{296.62c018f482a9330a2831.bundle.js → 297.b000b9d469a624b01215.bundle.js} +1 -1
- package/dist/{297.377ad2cd881b4fe78f45.bundle.js → 298.9d114949fba6dddcc7b7.bundle.js} +1 -1
- package/dist/{298.4698889e39f751d943c7.bundle.js → 299.79c639fcb1b54de984be.bundle.js} +1 -1
- package/dist/{3.46387e7948bf0752336d.bundle.js → 3.72e3071998a5aa3045f3.bundle.js} +2 -2
- package/dist/{30.6c5b49074ac06af91049.bundle.js → 30.de7e273062d0657d01de.bundle.js} +1 -1
- package/dist/{299.fd53c0387b6faa81365f.bundle.js → 300.7afa3a8aa332b422aa1d.bundle.js} +1 -1
- package/dist/{300.e61864e8bc342274abd9.bundle.js → 301.f91cc8bea08c5db19eff.bundle.js} +1 -1
- package/dist/{301.4fb1fb7c212ac5fce386.bundle.js → 302.7445c9a4e8af056b8cc4.bundle.js} +1 -1
- package/dist/{302.eba5cf7f0e5ff20aa3c0.bundle.js → 303.9fdacf8b8c443f7b8217.bundle.js} +1 -1
- package/dist/{303.740a5d2c455be704d879.bundle.js → 304.602469b7a9fec89b3555.bundle.js} +1 -1
- package/dist/{304.6ea4004c6da83008c7f1.bundle.js → 305.7dd9df0bedade69bbd5e.bundle.js} +1 -1
- package/dist/{305.60114e848d959fb56f52.bundle.js → 306.e8f7a45e7fe6afa1a564.bundle.js} +1 -1
- package/dist/{306.c3588aa36cc751742b70.bundle.js → 307.7f35f097388d622dd09c.bundle.js} +1 -1
- package/dist/{307.5cf989e284c672c7e62f.bundle.js → 308.ac64f16ed6c9f65b08f1.bundle.js} +1 -1
- package/dist/{308.8eb6581a6a087cf3beb1.bundle.js → 309.2e406070cb5adf9c2a2e.bundle.js} +1 -1
- package/dist/{31.c314747b9716e4173311.bundle.js → 31.8b63905275172e3ce73c.bundle.js} +1 -1
- package/dist/{309.3b450562045747a430ec.bundle.js → 310.4ed15bd416516b6086a3.bundle.js} +1 -1
- package/dist/{310.a01265d3c0b260c052ff.bundle.js → 311.c07b7d2776bd9b7204c6.bundle.js} +1 -1
- package/dist/317.539a83f222bfb863424b.bundle.js +1 -0
- package/dist/{317.98acd4037581c232c885.bundle.js → 318.50a10e61b351659669a1.bundle.js} +1 -1
- package/dist/{318.a05b290d37087e21d5b9.bundle.js → 319.07b537f2e1fa45daae36.bundle.js} +1 -1
- package/dist/{32.f247c759a308094e52ec.bundle.js → 32.a21378622614124fc023.bundle.js} +1 -1
- package/dist/{319.52d4c899fc21abb073a6.bundle.js → 320.87c72b25fd048e43fd12.bundle.js} +1 -1
- package/dist/{320.5780cd7c15894fb7d5f3.bundle.js → 321.af2e33bfd4a89e90a3b7.bundle.js} +1 -1
- package/dist/{321.ccc9466dd7b50b58efd0.bundle.js → 322.178da090de958969ee95.bundle.js} +1 -1
- package/dist/{322.61882e32cb8ff5d0ac42.bundle.js → 323.88dfb6b03490c60b427e.bundle.js} +1 -1
- package/dist/{323.9cdc521583861ef7d691.bundle.js → 324.cff9069709afaa207cbf.bundle.js} +1 -1
- package/dist/{324.18784e1b5b2d0abe1dd3.bundle.js → 325.0cec7cb7809cfb51b811.bundle.js} +1 -1
- package/dist/{325.0ac20b17a40c08f4d02e.bundle.js → 326.1e041209f2856388aefb.bundle.js} +1 -1
- package/dist/{326.7061b8ac29132fef01e8.bundle.js → 327.9aa83c9626391fdccd0a.bundle.js} +1 -1
- package/dist/{327.5324c193e9a1a272bcef.bundle.js → 328.d3b9ec522db9ea2b40e7.bundle.js} +1 -1
- package/dist/{328.3af1aa532908e1a419c8.bundle.js → 329.76a8c31d1416ff070581.bundle.js} +1 -1
- package/dist/{33.5b384171bc7249b55963.bundle.js → 33.4d10c139640859c6facb.bundle.js} +1 -1
- package/dist/{329.0a924dc3aa47965caed7.bundle.js → 330.17d9fc7092fbb5376ad5.bundle.js} +1 -1
- package/dist/{330.212ca2f0efe3fdff1f28.bundle.js → 331.72550834ebd98825cff4.bundle.js} +1 -1
- package/dist/{331.ccc8a037fb43c77a30a9.bundle.js → 332.baa17fb5d46d9f500d58.bundle.js} +1 -1
- package/dist/{332.987a9a868c50f9f69bc6.bundle.js → 333.8473d9d0e59977006ec1.bundle.js} +1 -1
- package/dist/{333.95634a0b1e95c3da0e5e.bundle.js → 334.63e62f07e83fb55ee3ac.bundle.js} +1 -1
- package/dist/{334.b428358000898f716bb4.bundle.js → 335.b455d0c1e91b7085684b.bundle.js} +1 -1
- package/dist/{335.46132546438846af8acf.bundle.js → 336.2593a403d137da998ab7.bundle.js} +1 -1
- package/dist/{336.cd436b91dab720f38d7f.bundle.js → 337.207acb52f033fcbcc14e.bundle.js} +1 -1
- package/dist/{337.9c1364dcd6ad396b59c5.bundle.js → 338.bd56ea9f343686e8ddfa.bundle.js} +1 -1
- package/dist/{338.d74c5e4cb57553185e16.bundle.js → 339.808f22c90c9535d7d056.bundle.js} +1 -1
- package/dist/{34.a679acf3de6c9a78d4ab.bundle.js → 34.dfde4d36337fd5a7d51a.bundle.js} +1 -1
- package/dist/{339.62834d08f4919fcf0295.bundle.js → 340.427f24f1ff7800e051a6.bundle.js} +1 -1
- package/dist/{340.817b046248f6a225349c.bundle.js → 341.7458c41fa14d5855fed9.bundle.js} +1 -1
- package/dist/{341.0b1619913d91524dc929.bundle.js → 342.baf0064845e5a02f2fa2.bundle.js} +1 -1
- package/dist/{342.bd8fe31e81474008c10c.bundle.js → 343.9264ef42da1a81dc01e2.bundle.js} +1 -1
- package/dist/{343.c8c94af8f79ad5d2e7bd.bundle.js → 344.ea07eff4352299e91792.bundle.js} +1 -1
- package/dist/{344.126a4052cc71aed3c054.bundle.js → 345.c1f98fd181cfc058a674.bundle.js} +1 -1
- package/dist/{345.d06ff51c885469c2f459.bundle.js → 346.e18d15a0d654f7020267.bundle.js} +1 -1
- package/dist/{346.920c2338f0876455d1cd.bundle.js → 347.5ae52ad022076cebc98b.bundle.js} +1 -1
- package/dist/{347.582553a13245778e20e4.bundle.js → 348.e384c1330c6c02a8cbce.bundle.js} +1 -1
- package/dist/{348.c6b1ac8d0432da01864d.bundle.js → 349.ffe280435cb5b4dbc32f.bundle.js} +1 -1
- package/dist/{35.85ac5e22c134d6a84fa6.bundle.js → 35.c2b997ef90bbf4667fcd.bundle.js} +1 -1
- package/dist/{349.e8e86c44622b16114a53.bundle.js → 350.4fe2b334b61ab206a887.bundle.js} +1 -1
- package/dist/{350.8f33af1501b6b6d1608f.bundle.js → 351.238886e694cddbce7a5b.bundle.js} +1 -1
- package/dist/{351.d6c0e13ba99b9def2553.bundle.js → 352.bee54a3fd5eb57170ab5.bundle.js} +1 -1
- package/dist/{352.c75bd217e6af63b9e1db.bundle.js → 353.f2971cb75c24a461587e.bundle.js} +1 -1
- package/dist/{353.8f37a5893488443f2e73.bundle.js → 354.d6ecf14ab2e6a10c974f.bundle.js} +1 -1
- package/dist/{354.7d52606017657766f54e.bundle.js → 355.980c02b324dad42b864e.bundle.js} +1 -1
- package/dist/{355.e8974bc859beb279dae7.bundle.js → 356.0c0cb87286734584dd0f.bundle.js} +1 -1
- package/dist/{356.e847ac0bda9a3d3d6515.bundle.js → 357.57fc6817eb60156ecff9.bundle.js} +1 -1
- package/dist/{357.530b8eab5c9d6ec85bb4.bundle.js → 358.00fbdcb2fbcfa30eb71a.bundle.js} +1 -1
- package/dist/{358.72a45fc49b5af56c8c83.bundle.js → 359.4aca3f259a23b5038ca5.bundle.js} +1 -1
- package/dist/36.9175ff19c49b4e32c6ce.bundle.js +1 -0
- package/dist/{359.74a5aaf1f07331f0fce8.bundle.js → 360.0e250b26c1ab9613559a.bundle.js} +1 -1
- package/dist/{360.5ae2a7fa8276fd593054.bundle.js → 361.0d2df26c4f7cd4aa9736.bundle.js} +1 -1
- package/dist/{361.ee3de77e66f7aeeabbc9.bundle.js → 362.34cc651b36ad9d19ca36.bundle.js} +1 -1
- package/dist/{362.8064f0b57eabe8a22daa.bundle.js → 363.1d19f99bf6a7aaf28776.bundle.js} +1 -1
- package/dist/{363.25d8036dd1c6113142fa.bundle.js → 364.5682c86fb09af3fdbb32.bundle.js} +1 -1
- package/dist/{364.bac4e345df7064c7c831.bundle.js → 365.920400a2703b5ae19133.bundle.js} +1 -1
- package/dist/{365.2b5fb57c8ec547737679.bundle.js → 366.9b618919ae47b957f3a3.bundle.js} +1 -1
- package/dist/{366.6ccd17f983a50aec2a68.bundle.js → 367.6c5ee2773a79a50e226e.bundle.js} +1 -1
- package/dist/{367.bd054621a4d5a14440eb.bundle.js → 368.bc2b4971ab9f3094004d.bundle.js} +1 -1
- package/dist/{368.c6f86cd91f7620d802bc.bundle.js → 369.d60e61d8b761876b6a31.bundle.js} +1 -1
- package/dist/37.eb67d499239c4763932f.bundle.js +1 -0
- package/dist/{369.b3feddd586e2b74bca4d.bundle.js → 370.4fb6df487083484497fe.bundle.js} +1 -1
- package/dist/{370.470582b1e445f6b8452a.bundle.js → 371.b1d4d0c1890966e34395.bundle.js} +1 -1
- package/dist/{371.7af95b0719a21f2a3c5d.bundle.js → 372.af48f00db28f03bc45bc.bundle.js} +1 -1
- package/dist/{372.93c770810fd312a80d57.bundle.js → 373.b3932d31b9ee77c20097.bundle.js} +1 -1
- package/dist/{373.9cd13cc8d3eb6a33cc4e.bundle.js → 374.dd3c6e969a4e504826d0.bundle.js} +1 -1
- package/dist/{374.adecd7b8570e3a9af29a.bundle.js → 375.ba9408df2ede9e451a2e.bundle.js} +1 -1
- package/dist/{375.93939a0b395afc7b8785.bundle.js → 376.f6b57ce0f97aabdc675c.bundle.js} +1 -1
- package/dist/{376.a99027c9da6e16e18ce3.bundle.js → 377.bee6a6edc6750a23a3d3.bundle.js} +1 -1
- package/dist/{377.7c982d01ad6902aa11fe.bundle.js → 378.612178aa3dae146a8871.bundle.js} +1 -1
- package/dist/{378.c83a099fc04d829f42fa.bundle.js → 379.a27466e91e0efd164ce0.bundle.js} +1 -1
- package/dist/{38.deabf19067d9014d2e47.bundle.js → 38.9762682c14dd82db8f90.bundle.js} +1 -1
- package/dist/380.82c22d1d8a846226b974.bundle.js +1 -0
- package/dist/{380.4dbff3c0418f325f225b.bundle.js → 381.48f54c2f85df19f2aa85.bundle.js} +1 -1
- package/dist/{381.272e24d29dfe31967284.bundle.js → 382.e0b470b574035bee27d4.bundle.js} +1 -1
- package/dist/{382.0272ca71acd6c581c12e.bundle.js → 383.3e806a60df03bac9c821.bundle.js} +1 -1
- package/dist/{383.8c65069d2d28c8f447e7.bundle.js → 384.18bd7d8fe60814e473c6.bundle.js} +1 -1
- package/dist/{384.3568a7e387ccb1a1a1e6.bundle.js → 385.8580c2280d17a66f49c5.bundle.js} +1 -1
- package/dist/{385.84d2d363225b87bdad81.bundle.js → 386.1c032e92f5d20915527d.bundle.js} +1 -1
- package/dist/{386.cc46cb544e66bd95ba20.bundle.js → 387.4db8d808a82bb7523f33.bundle.js} +1 -1
- package/dist/{387.4b3c3a13839e8ebffe53.bundle.js → 388.f8aac673dc45a5445e93.bundle.js} +1 -1
- package/dist/389.2b8ec720c6e833befc74.bundle.js +1 -0
- package/dist/{39.74d0147b651a2921bfa5.bundle.js → 39.cc2eab1715e30f1dad71.bundle.js} +1 -1
- package/dist/390.86edacf0ea98943071af.bundle.js +1 -0
- package/dist/{390.f19d6f2c0fa69b846fac.bundle.js → 391.6427098b78a42177c068.bundle.js} +1 -1
- package/dist/{391.df84d8db6f80d1cfce85.bundle.js → 392.8eaa08b34afb9d3c3792.bundle.js} +1 -1
- package/dist/{392.fe2934219941c93e53ab.bundle.js → 393.e58b899fa345dee02ac6.bundle.js} +1 -1
- package/dist/{393.a424b5a07cbc92499695.bundle.js → 394.ae0420fcabd869157187.bundle.js} +1 -1
- package/dist/{4.6874a674be5e66d6010d.bundle.js → 4.7b26ae3c486b50349043.bundle.js} +1 -1
- package/dist/{40.bae4d8b899e2260d4217.bundle.js → 40.ac2205773eaafdbb3563.bundle.js} +1 -1
- package/dist/{41.7f93ef52f04a6a8941a1.bundle.js → 41.6cda4247c4e6cdb6542a.bundle.js} +1 -1
- package/dist/{42.c00198433fd0b776a783.bundle.js → 42.5820b0041a692de4eb8d.bundle.js} +1 -1
- package/dist/{43.81cdf306217a195fe044.bundle.js → 43.afeb12fc559f12e973db.bundle.js} +1 -1
- package/dist/{44.477255f5019965fc8828.bundle.js → 44.f0901e0abe43ea7a898e.bundle.js} +1 -1
- package/dist/{45.276ded2fb0f97d0174a0.bundle.js → 45.27168510290727e3ecdb.bundle.js} +1 -1
- package/dist/46.195e4e42ab64d2430ed5.bundle.js +1 -0
- package/dist/{46.f67ae5c4ee8b09063342.bundle.js → 47.c85867c005fc8903a887.bundle.js} +1 -1
- package/dist/{47.671b2dd510c22032ba65.bundle.js → 48.d5ea8f391640308bbcd8.bundle.js} +1 -1
- package/dist/{48.1ffb25241ca90bfd1074.bundle.js → 49.583b0583a80750253c19.bundle.js} +1 -1
- package/dist/{5.ffb1a5bbbd546de34e62.bundle.js → 5.7b6b14d384cc99866f24.bundle.js} +1 -1
- package/dist/50.6ec1bafbdd1414e0002d.bundle.js +1 -0
- package/dist/{51.238e197f2070ea110ff5.bundle.js → 51.bfd314f2bba3c733d2e7.bundle.js} +1 -1
- package/dist/{52.2d89a2d4e1ef7f0084bb.bundle.js → 52.575b7f0607c0bd7d8f35.bundle.js} +1 -1
- package/dist/{53.e1d2a90d8734099f23fe.bundle.js → 53.4a87b3dcd191cb319ecf.bundle.js} +1 -1
- package/dist/{54.b82f0985932100b7619f.bundle.js → 54.fce153121f81edaaf8c9.bundle.js} +1 -1
- package/dist/{55.06c2948b92d3ea48b30d.bundle.js → 55.d8f0848f95d1dc1224d0.bundle.js} +1 -1
- package/dist/{56.6b4f9d5058cb928a5c1c.bundle.js → 56.3d223ff6a7027aaf4222.bundle.js} +1 -1
- package/dist/{57.046acb83c27892958839.bundle.js → 57.841a76b910f4aeb6d346.bundle.js} +1 -1
- package/dist/{58.280625b370aecc781978.bundle.js → 58.297babf6b2bff44c12d9.bundle.js} +1 -1
- package/dist/{59.326d4c5c932c80e4e517.bundle.js → 59.b110322dea862519c3da.bundle.js} +1 -1
- package/dist/6.357ec507621869997c53.bundle.js +1 -0
- package/dist/{60.d8d342663dadd63c7d28.bundle.js → 60.89030184a19b4a046323.bundle.js} +1 -1
- package/dist/61.36612101e6a37e466063.bundle.js +1 -0
- package/dist/62.4a16f37fba9dde1353ad.bundle.js +1 -0
- package/dist/{62.a0e63e0984c332c50110.bundle.js → 63.2f52b8251ea20e7114e4.bundle.js} +2 -2
- package/dist/{63.9cd306ea7fa604dd20e9.bundle.js → 64.fc4b203d6801e8b2cb03.bundle.js} +1 -1
- package/dist/{64.c66a8271861ff3be44dd.bundle.js → 65.bd90f480aaac8ab6a62d.bundle.js} +1 -1
- package/dist/{65.ce24a6b4c331abce8a87.bundle.js → 66.a0165643326bf0fd6e45.bundle.js} +1 -1
- package/dist/{66.7f8a616898e1f7b82bcb.bundle.js → 67.d8ecb3b1cd08f4014bfb.bundle.js} +1 -1
- package/dist/68.aff4a20f5bc96a1419ee.bundle.js +1 -0
- package/dist/{68.e6f360d874e28ec0172c.bundle.js → 69.5a4556693688fa5e26e0.bundle.js} +1 -1
- package/dist/{7.1ab6fd0419611ee43426.bundle.js → 7.678a56ac42543ff54f0f.bundle.js} +1 -1
- package/dist/{69.37b0954aadcebf8d5dd8.bundle.js → 70.a0f8034299faa2f6ab75.bundle.js} +1 -1
- package/dist/{70.661eb20259bb7fc8fb95.bundle.js → 71.cbb57dfb91a6a2e106af.bundle.js} +1 -1
- package/dist/{71.9843c14baa4bb2dde9e2.bundle.js → 72.24a71af9fe0d66223c95.bundle.js} +1 -1
- package/dist/{72.351c12ddb821e76d05c7.bundle.js → 73.0401dbcda81badc90b10.bundle.js} +1 -1
- package/dist/{73.faf0eaf848b09bf956dc.bundle.js → 74.4e59c7982d0dad1714e7.bundle.js} +1 -1
- package/dist/{74.d45f796b9a14f803536e.bundle.js → 75.55b2254ad7d4ceed8959.bundle.js} +1 -1
- package/dist/76.ed7b48a3cc473945ccba.bundle.js +1 -0
- package/dist/{77.5c32ef9bef825ac7a321.bundle.js → 77.f74d7b9c7522c9427b39.bundle.js} +1 -1
- package/dist/{78.c3adcb24a209da6c4cfb.bundle.js → 78.0516889e88c7a0af33bb.bundle.js} +1 -1
- package/dist/{79.27440c831f8bbc3a7b5a.bundle.js → 79.58c2a93aae41ce74fab8.bundle.js} +1 -1
- package/dist/{8.5b802c6713ee7fb07b43.bundle.js → 8.81d8b3bb065afeb08360.bundle.js} +1 -1
- package/dist/{80.f647b339b6ba54089eeb.bundle.js → 80.5e8dae199ab50de40921.bundle.js} +1 -1
- package/dist/{81.c4205dfc9a8892c0de65.bundle.js → 81.ffdf6bc5232d8a241ad6.bundle.js} +1 -1
- package/dist/{82.4b590557f3ba6dad7536.bundle.js → 82.9eb734602aec23f83632.bundle.js} +1 -1
- package/dist/{83.8824ca32a8f597415688.bundle.js → 83.725028846ee253436a03.bundle.js} +1 -1
- package/dist/{84.5a1dd7db83ee83d8c565.bundle.js → 84.032d2e2a4130d57bdb8b.bundle.js} +1 -1
- package/dist/{85.9233857e6859f31c7721.bundle.js → 85.eedc74a4c0c7e98a5e30.bundle.js} +1 -1
- package/dist/{86.df715086cb3c4e8052dc.bundle.js → 86.c85fcd75cbecaef0e936.bundle.js} +1 -1
- package/dist/{87.9064bc5cde8d4fa97f59.bundle.js → 87.59863379688b54dccfaa.bundle.js} +1 -1
- package/dist/{89.82d7ddb3f05a0a5b5b3c.bundle.js → 89.6820e4fc3caf6707d43c.bundle.js} +1 -1
- package/dist/{9.55b9e707a7ef0f82bcd1.bundle.js → 9.1a9f6211a9f06c9ba0df.bundle.js} +1 -1
- package/dist/{90.f6225d1b922aa62816fd.bundle.js → 90.ae10f084b83fd0fd29b4.bundle.js} +1 -1
- package/dist/{91.5226bd9321f33612c966.bundle.js → 91.b845def1c3068aa07148.bundle.js} +1 -1
- package/dist/{92.defe00bf0a1f18255ab6.bundle.js → 92.4d8f669441b95a34ec48.bundle.js} +1 -1
- package/dist/{93.00fbb729c3de32014526.bundle.js → 93.b42cb51b73c930deebfd.bundle.js} +1 -1
- package/dist/{94.7d3d1427a56cecca82d3.bundle.js → 94.00cbe462754df578a9ca.bundle.js} +1 -1
- package/dist/{96.7cc86300aeac5a8128eb.bundle.js → 96.eb73b3aec448bb3e44bc.bundle.js} +1 -1
- package/dist/{98.2905de59c59e79242346.bundle.js → 98.e7ce23f2e26626e8e422.bundle.js} +1 -1
- package/dist/{99.081ae98c7bbd579a54d9.bundle.js → 99.ea41a6b2ea895615b2fb.bundle.js} +1 -1
- package/dist/{bundle.eb7cff0aedbdc947d0e2.bundle.js → bundle.a50b4410f74f90e68cca.bundle.js} +13 -13
- package/dist/css/ttyg/agent-settings-modal.css +4 -2
- package/dist/css/ttyg/chat-item-details.css +2 -2
- package/dist/i18n/locale-en.json +3 -2
- package/dist/i18n/locale-fr.json +3 -2
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +64 -57
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +25 -24
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/{main.82de0694b7d19a4cab61.bundle.js → main.014ea04a26eb617c4024.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/{polyfills-dom.d1843ca566e17b4b1389.bundle.js → polyfills-dom.22135bdcc72573088982.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.04cef52d1346a38cf00c.bundle.js → vendor.8ea54fa36da2ce4394ca.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.61f9dd1f3887c91e25bb.bundle.js → vendors~polyfills-core-js.c4633b3e70914563160a.bundle.js} +1 -1
- package/package.json +2 -2
- package/dist/103.f3f23e844de200847c30.bundle.js +0 -1
- package/dist/207.48cb3bd030543ce08b4d.bundle.js +0 -1
- package/dist/22.7a22f130166bbcfdb732.bundle.js +0 -2
- package/dist/227.3911bd60f0a93164efb7.bundle.js +0 -1
- package/dist/229.a6db6a971efdcd35f9d5.bundle.js +0 -1
- package/dist/23.095ef6bddb907243daba.bundle.js +0 -2
- package/dist/24.ffb4eadf2878e827c89d.bundle.js +0 -2
- package/dist/240.397bbb478ff40d668bc5.bundle.js +0 -1
- package/dist/241.938f0e227f1f3761b18c.bundle.js +0 -1
- package/dist/248.c2aeb2bcdfcb57a23a3f.bundle.js +0 -1
- package/dist/250.8e3d6340175a20a61d25.bundle.js +0 -1
- package/dist/254.5ac93995961700e483f7.bundle.js +0 -1
- package/dist/316.36e1f90aec20170f0aee.bundle.js +0 -1
- package/dist/36.274634c99ad83311ecb5.bundle.js +0 -1
- package/dist/37.29e0bf775d0f5f018502.bundle.js +0 -1
- package/dist/379.6547fe36779f3b2f4a82.bundle.js +0 -1
- package/dist/388.f3794c0b9cc5b82118d9.bundle.js +0 -1
- package/dist/389.b35dc3ef93611e0dd78a.bundle.js +0 -1
- package/dist/49.f72052e5055b2af12b37.bundle.js +0 -1
- package/dist/50.7df502b78e66a8cafea4.bundle.js +0 -1
- package/dist/6.ccda5918e23a9aa6945c.bundle.js +0 -1
- package/dist/61.a294b07bd697d2f31d0c.bundle.js +0 -1
- package/dist/67.b717a0c68a33b11e4418.bundle.js +0 -1
- package/dist/75.23f38593d25799d118cd.bundle.js +0 -1
- package/dist/76.ed46e801207efea41499.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[210],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[210],{141:function(s,e,n){"use strict";n.r(e),n.d(e,"CountQueryResponseEvent",(function(){return t}));var o=n(30);class t{constructor(s){this.TYPE=s.TYPE,this.response=s.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(o.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(s){this.response.body.totalElements=s}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[211],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[211],{143:function(a,s,n){"use strict";n.r(s),n.d(s,"DownloadAsEvent",(function(){return e}));class e{constructor(a){this.TYPE=a.TYPE,this.contentType=a.payload.value,this.pluginName=a.payload.pluginName,this.query=a.payload.query,this.infer=a.payload.infer,this.sameAs=a.payload.sameAs}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[213],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[213],{139:function(n,t,s){"use strict";s.r(t),s.d(t,"EventData",(function(){return o}));class o{constructor(n,t){this.TYPE=n,this.payload=t}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[214],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[214],{203:function(_,e,E){"use strict";E.r(e),E.d(e,"KeyboardShortcutName",(function(){return t}));const t={TRIGGER_AUTOCOMPLETION:"trigger_autocompletion",DELETE_CURRENT_LINE:"delete_current_line",COMMENT_SELECTED_LINE:"comment_selected_line",COPY_LINE_DOWN:"copy_line_down",COPY_LINE_UP:"copy_line_up",AUTO_FORMAT_SELECTED_LINE:"auto_format_selected_line",INDENT_CURRENT_LINE_MORE:"indent_current_line_more",INDENT_CURRENT_LINE_LESS:"indent_current_line_less",EXECUTE_QUERY_OR_UPDATE:"execute_query_or_update",EXECUTE_EXPLAIN_PLAN_FOR_QUERY:"execute_explain_plan_for_query",EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY:"execute_chat_gpt_explain_plan_for_query",CREATE_TAB:"create_tab",CREATE_SAVE_QUERY:"create_save_query",SWITCH_NEXT_TAB:"switch_next_tab",SWITCH_PREVIOUS_TAB:"switch_previous_tab",CLOSES_ALL_TABS:"closes_all_tabs",FULL_SCREEN:"full_screen",ESC:"esc"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[215],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[215],{144:function(s,e,a){"use strict";a.r(e),a.d(e,"NotificationMessageEvent",(function(){return o}));class o{constructor(s){this.TYPE=s.TYPE,this.message=s.payload.message,this.code=s.payload.code,this.messageType=s.payload.messageType}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[216],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[216],{330:function(n,o,s){"use strict";s.r(o),s.d(o,"NotificationMessageType",(function(){return i}));const i={SUCCESS:"success",WARNING:"warning",ERROR:"error",INFO:"info"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[217],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[217],{331:function(n,s,t){"use strict";t.r(s),t.d(s,"OngoingRequestsInfo",(function(){return o}));class o{constructor(n,s){this.queriesCount=n,this.updatesCount=s}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[218],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[218],{145:function(t,n,o){"use strict";o.r(n),o.d(n,"QueryExecutedEvent",(function(){return a}));class a{constructor(t){this.TYPE=t.TYPE,this.duration=t.payload.duration,this.tabId=t.payload.tabId}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[219],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[219],{140:function(e,t,a){"use strict";a.r(t),a.d(t,"QueryRequestEvent",(function(){return s}));class s{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[22,24,136,139,187,298,302],{102:function(e,t,n){"use strict";n.r(t);n(87);var a=n(69);function o(e,t,n,o,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(s,r,c)=>{s.MarkdownService=o,s.explainResponseModel={},s.loadingExplainResponse={},s.regenerateQuestion=()=>{s.onRegenerateQuestion({chatItem:s.chatItemDetail})},s.explainResponse=a=>{n.hasExplainResponse(a)?n.toggleExplainResponse(a):(s.loadingExplainResponse[a]=!0,i.explainResponse(s.chatItemDetail,a).then(e=>{s.explainResponseModel=e,n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>s.loadingExplainResponse[a]=!1))},s.onAskHowAnswerWasDerived=()=>{s.onAskHowDeliveredAnswer({chatItem:s.chatItemDetail})},s.onOpenInSparqlEditor=e=>{if(s.chatItemDetail.agentId){const t=n.getAgent(s.chatItemDetail.agentId);n.emit(a.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:t.repositoryId})}};const l=()=>{s.chatItemDetail.answers.forEach(e=>{s.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},d=[];d.push(n.onExplainResponseCacheUpdated(()=>{l()})),s.$on("$destroy",()=>{d.forEach(e=>e())}),l()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.services.markdown-service"]).directive("chatItemDetail",o),o.$inject=["toastr","$translate","TTYGContextService","MarkdownService","TTYGService"]},119:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return a}));const a={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},120:function(e,t,n){"use strict";n.r(t);n(95);var a=n(0),o=n(69);n(85),n(16);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:(s,r,c)=>{s.selectedChat=void 0,s.renamedChat=void 0,s.deletingChat=void 0,s.onSelectChatForRenaming=e=>{s.renamedChat=e},s.onSelectChat=t=>{if(!s.selectedChat||s.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),s.renamedChat=void 0}},s.onDeleteChat=i=>{const s=n.instant("ttyg.dialog.delete.title"),r=Object(a.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:i.name}));t.openConfirmation(s,r,()=>e.emit(o.TTYGEventName.DELETE_CHAT,i))},s.onRenameChat=(t,n)=>{n.name=t,s.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},s.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},s.onCancelChatRenaming=()=>{s.renamedChat=void 0},s.getHumanReadableTimestamp=e=>{const t=new Date(e),a=new Date,o=new Date(a.getFullYear(),a.getMonth(),a.getDate()),s=new Date(o);s.setDate(o.getDate()-1);const r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return r.getTime()===o.getTime()?n.instant("common.dates.today"):r.getTime()===s.getTime()?n.instant("common.dates.yesterday"):i("date")(t,"yyyy-MM-dd")};const l=e=>{s.selectedChat=e},d=[];d.push(e.onSelectedChatChanged(l)),d.push(e.onSelectedChatUpdated(l)),d.push(e.onChatsListChanged(e=>{s.chatList=e})),d.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{s.deletingChat=e})),s.$on("$destroy",()=>{d.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",i),i.$inject=["TTYGContextService","ModalService","$translate","$filter"]},121:function(e,t,n){"use strict";n.r(t);n(102);var a=n(69),o=n(71),i=n(75),s=n(30),r=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(s.cloneDeep)(e.chatItem),e.chatItem.chatId?g(e.chatItem):d(),e.chatItem=m(),p(),u()},e.regenerateQuestion=t=>{const n=m();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,g(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=m();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(s.cloneDeep)(n),g(n),p()},e.getAgentName=e=>{const a=n.getAgent(e);return a?a.name:Object(r.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const d=()=>{n.emit(a.TTYGEventName.CREATE_CHAT,e.chatItem)},g=e=>{n.emit(a.TTYGEventName.ASK_QUESTION,e)},h=()=>{e.chatItem=Object(s.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},m=()=>{const t=new i.ChatItemModel;return t.question=new o.ChatMessageModel({role:o.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},u=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e.scrollTop=e.scrollHeight})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=m(),e.askingChatItem=void 0,u()},E=[];E.push(e.$watchCollection("chat.chatHistory.items",p)),E.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t.id||!e.askingChatItem){if(e.loadingChat=!1,e.chatItem=m(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}u()}})),E.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),E.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=m(),u()})),E.push(n.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=m(),u()})),E.push(n.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{E.forEach(e=>e())}),e.chatItem=m(),u()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},122:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n(69);function i(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(i,s,r)=>{i.selectedAgent=void 0,i.selectedAgentsFilter=void 0,i.deletingAgent=void 0,i.onEditAgent=t=>{e.emit(o.TTYGEventName.EDIT_AGENT,t)},i.onCloneAgent=t=>{e.emit(o.TTYGEventName.CLONE_AGENT,t)},i.onDeleteAgent=i=>{const s=n.instant("ttyg.agent.delete_agent_modal.title"),r=Object(a.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:i.name}));t.openConfirmation(s,r,()=>e.emit(o.TTYGEventName.DELETE_AGENT,i))},i.onAgentsFilterChange=e=>{i.selectedAgentsFilter=e,i.selectedAgentsFilter&&i.agentList.filterByRepository(i.selectedAgentsFilter.key)};const c=()=>{const e=i.agentListFilterModel.find(e=>e.selected);i.selectedAgentsFilter=e||i.agentListFilterModel[0],i.onAgentsFilterChange(i.selectedAgentsFilter)},l=[];l.push(i.$watch("agentListFilterModel",c)),l.push(e.subscribe(o.TTYGEventName.DELETING_AGENT,e=>{i.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{i.selectedAgent=e})),i.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",i),i.$inject=["TTYGContextService","ModalService","$translate"]},123:function(e,t,n){"use strict";n.r(t);var a=n(74),o=n(69);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{s(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=a=>{const r=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(r,c,()=>e.emit(o.TTYGEventName.EDIT_AGENT,a.data.agent)),s(a),n.selectedAgent=a.data.agent,e.selectAgent(a.data.agent)};const s=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},r=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{r(e)})),c.push(e.subscribe(o.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{s(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]},124:function(e,t,n){"use strict";n.r(t);var a=n(69);function o(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,n,o)=>{t.onCreateAgent=()=>{e.emit(a.TTYGEventName.OPEN_AGENT_SETTINGS)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",o),o.$inject=["TTYGContextService"]},125:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},a=()=>{let a=e.get(t.TTYG);return a||(a=n),a.agent||(a.agent={}),a.chat||(a.chat={}),a};return{saveAgent:function(n){const o=a();o.agent.id=n?n.id:void 0,e.set(t.TTYG,o)},getAgentId:function(){const e=a();if(e.agent)return e.agent.id},saveChat:function(n){const o=a();o.chat.id=n?n.id:void 0,e.set(t.TTYG,o)},getChatId:function(){const e=a();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},126:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return a}));class a{constructor(e,t,n,a){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=a}}},176:function(e,t,n){"use strict";n.r(t);n(120),n(121),n(122),n(123),n(124),n(179),n(150);var a=n(69),o=(n(125),n(80)),i=n(79),s=n(85),r=n(152),c=n(74),l=n(19),d=n(503),g=n(126),h=n(0),m=n(119),u=n(16);function p(e,t,n,p,T,E,A,v,f,y,C,b,S,_){const I=[],w={filter_all:E.instant("ttyg.agent.btn.filter.all")};n.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",n.isHelpVisible=!1,n.showChats=!0,n.showAgents=!0,n.chats=void 0,n.loadingChats=!1,n.loadingChat=!1,n.agents=void 0,n.selectedAgent=void 0,n.loadingAgents=!1,n.reloadingAgents=!1,n.connectorID=void 0,n.agentListFilterModel=[],n.activeRepositoryList=[],n.history=[],n.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},n.startNewChat=()=>{let e=S.getChats().getNonPersistedChat();e||(e=L(),S.addChat(e)),S.selectChat(e)},n.onopen=n.onclose=()=>angular.noop(),n.toggleChatsListSidebar=()=>{n.showChats=!n.showChats},n.toggleAgentsListSidebar=()=>{n.showAgents=!n.showAgents},n.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",n.clear=()=>{y.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){n.history=[],R()}))},n.openSettings=()=>{A.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:n.askSettings,connectorID:n.connectorID}}}}).result.then((function(e){n.connectorID=e.connectorID,n.askSettings=e.askSettings,R()}))},n.onOpenHelp=()=>{n.isHelpVisible=!0},n.onExportSelectedChat=()=>{k(S.getSelectedChat())};const N=()=>{const e=S.getDefaultAgent();return e?Promise.resolve(e):b.getDefaultAgent().then(e=>(S.setDefaultAgent(e),e))};n.onOpenNewAgentSettings=()=>{N().then(e=>{const t=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject());e.repositoryId=t.id;const a=Object(r.agentFormModelMapper)(new i.AgentModel({}),e,!0);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,n.activeRepositoryList,a,o.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{A.open(e).result.then(O)})},n.onOpenAgentSettings=e=>{let t=e;t||(t=S.getSelectedAgent()),N().then(e=>{const a=Object(r.agentFormModelMapper)(t,e),i=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(i,n.activeRepositoryList,a,o.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{A.open(e).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})})},n.onOpenCloneAgentSettings=e=>{const t=Object(r.agentFormModelMapper)(e,e);t.name="clone-"+t.name;const a=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject()),i={templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(a,n.activeRepositoryList,t,o.AGENT_OPERATION.CLONE)}},size:"lg"};A.open(i).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})};const R=()=>{const e=C.get("ttyg")||{};e[v.getActiveRepository()]={history:n.history,connectorID:n.connectorID,askSettings:n.askSettings},C.set("ttyg",e)},G=()=>(n.loadingChats=!0,b.getConversations().then(e=>S.updateChats(e)).catch(e=>{f.error(getError(e,0,100)),D(new s.ChatsListModel)}).finally(()=>{n.loadingChats=!1})),O=()=>(n.reloadingAgents=!0,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{n.reloadingAgents=!1})),L=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new s.ChatModel(e,Object(u.md5HashGenerator)())},D=e=>{e.isEmpty()?n.showChats=!1:(n.showChats=!0,S.getSelectedChat()||S.selectChat(n.chats.getFirstChat()))},k=e=>{b.exportConversation(e.id).then((function({data:t,filename:n}){Object(d.saveAs)(t,n),S.emit(a.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)})).catch(()=>{S.emit(a.TTYGEventName.CHAT_EXPORT_FAILURE),f.error(E.instant("ttyg.chat.messages.export_failure"))})},M=()=>{const e=v.getActiveRepository(),t=v.getReadableGraphdbRepositories().map(t=>new i.AgentListFilterModel(t.id,t.id,t.id===e));n.agentListFilterModel=[new i.AgentListFilterModel(o.AGENTS_FILTER_ALL_KEY,w.filter_all),...t]},Y=e=>{y.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){S.deleteChat(e)}))},U=()=>{e.open("/similarity/index/create","_blank")},H=()=>{e.open("/connectors","_blank")},x=t=>{e.open(`/sparql?query=${encodeURIComponent(t)}&execute=true`,"_blank")};I.push(n.$watch(n.getActiveRepositoryObject,e=>{e&&((()=>{const e=_.getAgentId();e&&b.getAgent(e).then(e=>{e&&S.selectAgent(e)})})(),(()=>{const e=_.getChatId();e&&b.getConversation(e).then(e=>{e&&S.selectChat(e)})})(),n.activeRepositoryList=v.getReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(n.loadingAgents=e,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{n.loadingAgents=!1})))().then(()=>(M(),G())),(()=>{const e=v.getActiveRepository();if(e){const t=C.get("ttyg");if(t&&t[e]){const a=t[e];a.history&&(n.history=a.history),n.connectorID=a.connectorID,a.askSettings&&(n.askSettings=a.askSettings)}}})())})),I.push(S.onSelectedChatChanged(e=>{e&&e.id?b.getConversation(e.id).then(t=>{S.updateSelectedChat(t),_.saveChat(e)}).catch(t=>{t.status===m.status.NOT_FOUND&&(Y(e),S.emit(a.TTYGEventName.LOAD_CHAT_FAILURE,e))}):S.updateSelectedChat(e)})),I.push(S.onChatsListChanged(e=>{n.chats=e,D(e)})),I.push(S.subscribe(S.onAgentsListChanged(e=>{n.agents=e,n.showAgents=!e.isEmpty()}))),I.push(S.subscribe(a.TTYGEventName.CREATE_CHAT,e=>{n.startNewChat(),b.createConversation(e).then(e=>(S.emit(a.TTYGEventName.CREATE_CHAT_SUCCESSFUL),b.getConversation(e.chatId))).then(e=>{const t=S.getSelectedChat();if(t&&!t.id){const t=S.getChats().getNonPersistedChat();S.updateSelectedChat(e),S.replaceChat(e,t)}S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.CREATE_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.create_failure"))})})),I.push(S.subscribe(a.TTYGEventName.RENAME_CHAT,e=>{b.renameConversation(e).then(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_SUCCESSFUL),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.rename_failure"))})})),I.push(S.subscribe(a.TTYGEventName.DELETE_CHAT,e=>{S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),b.deleteConversation(e.id).then(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),I.push(S.subscribe(a.TTYGEventName.CHAT_EXPORT,k)),I.push(S.subscribe(a.TTYGEventName.ASK_QUESTION,e=>{b.askQuestion(e).then(t=>{const n=S.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const a=e;e.answers=t.messages,n.chatHistory.appendItem(a),S.updateSelectedChat(n)}}).catch(e=>{S.emit(a.TTYGEventName.ASK_QUESTION_FAILURE),f.error(getError(e,0,100))})})),I.push(S.subscribe(a.TTYGEventName.LOAD_CHATS,G)),I.push(S.subscribe(a.TTYGEventName.OPEN_AGENT_SETTINGS,n.onOpenNewAgentSettings)),I.push(S.subscribe(a.TTYGEventName.EDIT_AGENT,n.onOpenAgentSettings)),I.push(S.subscribe(a.TTYGEventName.CLONE_AGENT,n.onOpenCloneAgentSettings)),I.push(S.subscribe(a.TTYGEventName.DELETE_AGENT,e=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),b.deleteAgent(e.id).then(()=>O()).then(()=>{S.emit(a.TTYGEventName.AGENT_DELETED,e),n.selectedAgent&&n.selectedAgent.id===e.id&&(n.selectedAgent=void 0)}).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),I.push(S.subscribe(a.TTYGEventName.AGENT_SELECTED,e=>{n.selectedAgent=e,_.saveAgent(e)})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),()=>{v.setRepository(t),U()})}else U()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),()=>{v.setRepository(t),H()})}else H()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{v.setRepository(t),x(e.query)})}else x(e.query)})),I.push(t.$on("$translateChangeSuccess",()=>{w.filter_all=E.instant("ttyg.agent.btn.filter.all"),M()})),n.$on("$destroy",(function(){I.forEach(e=>e()),S.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},370:function(e,t,n){"use strict";n.r(t);n(176);angular.module("graphdb.framework.ttyg",["ngRoute","graphdb.framework.ttyg.controllers.ttyg-view"])},502:function(e,t){(function(t){e.exports=t}).call(this,{})},503:function(e,t,n){var a,o=o||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},a=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,i=e.requestFileSystem||o||e.mozRequestFileSystem,s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},r=0,c=function(t){var a=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?a():setTimeout(a,500)},l=function(e,t,n){for(var a=(t=[].concat(t)).length;a--;){var o=e["on"+t[a]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){s(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},g=function(t,s){t=d(t);var g,h,m,u=this,p=t.type,T=!1,E=function(){l(u,"writestart progress write writeend".split(" "))},A=function(){(!T&&g||(g=n().createObjectURL(t)),h)?h.location.href=g:null==e.open(g,"_blank")&&"undefined"!=typeof safari&&(e.location.href=g);u.readyState=u.DONE,E(),c(g)},v=function(e){return function(){if(u.readyState!==u.DONE)return e.apply(this,arguments)}},f={create:!0,exclusive:!1};if(u.readyState=u.INIT,s||(s="download"),a)return g=n().createObjectURL(t),a.href=g,a.download=s,void setTimeout((function(){var e,t;e=a,t=new MouseEvent("click"),e.dispatchEvent(t),E(),c(g),u.readyState=u.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(m=t.slice||t.webkitSlice,t=m.call(t,0,t.size,"application/octet-stream"),T=!0),o&&"download"!==s&&(s+=".download"),("application/octet-stream"===p||o)&&(h=e),i?(r+=t.size,i(e.TEMPORARY,r,v((function(e){e.root.getDirectory("saved",f,v((function(e){var n=function(){e.getFile(s,f,v((function(e){e.createWriter(v((function(n){n.onwriteend=function(t){h.location.href=e.toURL(),u.readyState=u.DONE,l(u,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&A()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=u["on"+e]})),n.write(t),u.abort=function(){n.abort(),u.readyState=u.DONE},u.readyState=u.WRITING})),A)})),A)};e.getFile(s,{create:!1},v((function(e){e.remove(),n()})),v((function(e){e.code===e.NOT_FOUND_ERR?n():A()})))})),A)})),A)):A()},h=g.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(h.abort=function(){this.readyState=this.DONE,l(this,"abort")},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t){return new g(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=o:null!==n(509)&&null!=n(502)&&(void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a))},509:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},87:function(e,t,n){"use strict";n.r(t);var a=n(530),o=n(528),i=n.n(o);const s={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function r(e){const t=Object(a.a)().use(i.a,s);return{renderMarkdown:n=>{try{return e.trustAsHtml((o?Object(a.a)().use(i.a,o):t).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",r),r.$inject=["$sce"]},95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const a=[];let o;t.onKeydown=e=>{"Enter"===e.key?(s(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&i()},t.onCancelEditing=()=>{i()},t.onSelect=()=>{o?(s(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),s()}),250)};const i=()=>{s(),t.onCancel()},s=()=>{e.cancel(o),o=void 0};a.push(t.$watch("isEditing",a=>{a&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{a.forEach(e=>e()),s()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[223],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[223],{147:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[224],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[224],{146:function(t,n,a){"use strict";a.r(n),a.d(n,"SaveQueryOpened",(function(){return e}));class e{constructor(t){this.tab=t.payload.tab}getTab(){return this.tab}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[225],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[225],{333:function(t,s,n){"use strict";n.r(s),n.d(s,"Tab",(function(){return i}));class i{constructor(t){this.tab=t,this.yasgui=t.yasgui}getId(){return this.tab.getId()}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[226],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[226],{261:function(n,i,o){"use strict";o.r(i),o.d(i,"YasguiOrientation",(function(){return t}));const t={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[227],{262:function(n,t,o){"use strict";o.r(t),o.d(t,"YasguiQueryHttpMethod",(function(){return s}));const s={POST:"POST",GET:"GET"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[228],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[228],{334:function(s,e,t){"use strict";t.r(e),t.d(e,"YasguiResetFlags",(function(){return r}));class r{constructor(s,e,t,r){this.resetCurrentTab=s,this.resetInferResults=e,this.resetSameAs=t,this.resetYasr=r}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[229],{335:function(n,o,t){"use strict";t.r(o),t.d(o,"YasqeActionButtonDefinition",(function(){return c}));class c{constructor(n,o){}}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[23,24,136,139,187,298,302],{102:function(e,t,n){"use strict";n.r(t);n(87);var a=n(69);function o(e,t,n,o,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(i,r,c)=>{i.MarkdownService=o,i.explainResponseModel={},i.loadingExplainResponse={},i.regenerateQuestion=()=>{i.onRegenerateQuestion({chatItem:i.chatItemDetail})},i.explainResponse=a=>{n.hasExplainResponse(a)?n.toggleExplainResponse(a):(i.loadingExplainResponse[a]=!0,s.explainResponse(i.chatItemDetail,a).then(e=>{i.explainResponseModel=e,n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>i.loadingExplainResponse[a]=!1))},i.onAskHowAnswerWasDerived=()=>{i.onAskHowDeliveredAnswer({chatItem:i.chatItemDetail})},i.onOpenInSparqlEditor=e=>{if(i.chatItemDetail.agentId){const t=n.getAgent(i.chatItemDetail.agentId);n.emit(a.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:t.repositoryId})}};const l=()=>{i.chatItemDetail.answers.forEach(e=>{i.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},g=[];g.push(n.onExplainResponseCacheUpdated(()=>{l()})),i.$on("$destroy",()=>{g.forEach(e=>e())}),l()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.services.markdown-service"]).directive("chatItemDetail",o),o.$inject=["toastr","$translate","TTYGContextService","MarkdownService","TTYGService"]},119:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return a}));const a={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},120:function(e,t,n){"use strict";n.r(t);n(95);var a=n(0),o=n(69);n(85),n(16);function s(e,t,n,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:(i,r,c)=>{i.selectedChat=void 0,i.renamedChat=void 0,i.deletingChat=void 0,i.onSelectChatForRenaming=e=>{i.renamedChat=e},i.onSelectChat=t=>{if(!i.selectedChat||i.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),i.renamedChat=void 0}},i.onDeleteChat=s=>{const i=n.instant("ttyg.dialog.delete.title"),r=Object(a.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:s.name}));t.openConfirmation(i,r,()=>e.emit(o.TTYGEventName.DELETE_CHAT,s))},i.onRenameChat=(t,n)=>{n.name=t,i.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},i.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},i.onCancelChatRenaming=()=>{i.renamedChat=void 0},i.getHumanReadableTimestamp=e=>{const t=new Date(e),a=new Date,o=new Date(a.getFullYear(),a.getMonth(),a.getDate()),i=new Date(o);i.setDate(o.getDate()-1);const r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return r.getTime()===o.getTime()?n.instant("common.dates.today"):r.getTime()===i.getTime()?n.instant("common.dates.yesterday"):s("date")(t,"yyyy-MM-dd")};const l=e=>{i.selectedChat=e},g=[];g.push(e.onSelectedChatChanged(l)),g.push(e.onSelectedChatUpdated(l)),g.push(e.onChatsListChanged(e=>{i.chatList=e})),g.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{i.deletingChat=e})),i.$on("$destroy",()=>{g.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",s),s.$inject=["TTYGContextService","ModalService","$translate","$filter"]},121:function(e,t,n){"use strict";n.r(t);n(102);var a=n(69),o=n(71),s=n(75),i=n(30),r=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(i.cloneDeep)(e.chatItem),e.chatItem.chatId?d(e.chatItem):g(),e.chatItem=u(),p(),m()},e.regenerateQuestion=t=>{const n=u();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,d(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=u();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(i.cloneDeep)(n),d(n),p()},e.getAgentName=e=>{const a=n.getAgent(e);return a?a.name:Object(r.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const g=()=>{n.emit(a.TTYGEventName.CREATE_CHAT,e.chatItem)},d=e=>{n.emit(a.TTYGEventName.ASK_QUESTION,e)},h=()=>{e.chatItem=Object(i.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},u=()=>{const t=new s.ChatItemModel;return t.question=new o.ChatMessageModel({role:o.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},m=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e.scrollTop=e.scrollHeight})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=u(),e.askingChatItem=void 0,m()},E=[];E.push(e.$watchCollection("chat.chatHistory.items",p)),E.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t.id||!e.askingChatItem){if(e.loadingChat=!1,e.chatItem=u(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}m()}})),E.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),E.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=u(),m()})),E.push(n.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=u(),m()})),E.push(n.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{E.forEach(e=>e())}),e.chatItem=u(),m()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},122:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n(69);function s(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(s,i,r)=>{s.selectedAgent=void 0,s.selectedAgentsFilter=void 0,s.deletingAgent=void 0,s.onEditAgent=t=>{e.emit(o.TTYGEventName.EDIT_AGENT,t)},s.onCloneAgent=t=>{e.emit(o.TTYGEventName.CLONE_AGENT,t)},s.onDeleteAgent=s=>{const i=n.instant("ttyg.agent.delete_agent_modal.title"),r=Object(a.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:s.name}));t.openConfirmation(i,r,()=>e.emit(o.TTYGEventName.DELETE_AGENT,s))},s.onAgentsFilterChange=e=>{s.selectedAgentsFilter=e,s.selectedAgentsFilter&&s.agentList.filterByRepository(s.selectedAgentsFilter.key)};const c=()=>{const e=s.agentListFilterModel.find(e=>e.selected);s.selectedAgentsFilter=e||s.agentListFilterModel[0],s.onAgentsFilterChange(s.selectedAgentsFilter)},l=[];l.push(s.$watch("agentListFilterModel",c)),l.push(e.subscribe(o.TTYGEventName.DELETING_AGENT,e=>{s.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{s.selectedAgent=e})),s.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",s),s.$inject=["TTYGContextService","ModalService","$translate"]},123:function(e,t,n){"use strict";n.r(t);var a=n(74),o=n(69);function s(e,t,n,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{i(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=a=>{const r=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");s.openConfirmation(r,c,()=>e.emit(o.TTYGEventName.EDIT_AGENT,a.data.agent)),i(a),n.selectedAgent=a.data.agent,e.selectAgent(a.data.agent)};const i=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},r=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{r(e)})),c.push(e.subscribe(o.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{i(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",s),s.$inject=["TTYGContextService","$translate","$sce","ModalService"]},124:function(e,t,n){"use strict";n.r(t);var a=n(69);function o(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,n,o)=>{t.onCreateAgent=()=>{e.emit(a.TTYGEventName.OPEN_AGENT_SETTINGS)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",o),o.$inject=["TTYGContextService"]},125:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},a=()=>{let a=e.get(t.TTYG);return a||(a=n),a.agent||(a.agent={}),a.chat||(a.chat={}),a};return{saveAgent:function(n){const o=a();o.agent.id=n?n.id:void 0,e.set(t.TTYG,o)},getAgentId:function(){const e=a();if(e.agent)return e.agent.id},saveChat:function(n){const o=a();o.chat.id=n?n.id:void 0,e.set(t.TTYG,o)},getChatId:function(){const e=a();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},126:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return a}));class a{constructor(e,t,n,a){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=a}}},176:function(e,t,n){"use strict";n.r(t);n(120),n(121),n(122),n(123),n(124),n(179),n(150);var a=n(69),o=(n(125),n(80)),s=n(79),i=n(85),r=n(152),c=n(74),l=n(19),g=n(503),d=n(126),h=n(0),u=n(119),m=n(16);function p(e,t,n,p,T,E,A,f,v,y,C,b,S,_){const I=[],w={filter_all:E.instant("ttyg.agent.btn.filter.all")};n.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",n.isHelpVisible=!1,n.showChats=!0,n.showAgents=!0,n.chats=void 0,n.loadingChats=!1,n.loadingChat=!1,n.agents=void 0,n.selectedAgent=void 0,n.loadingAgents=!1,n.reloadingAgents=!1,n.connectorID=void 0,n.agentListFilterModel=[],n.activeRepositoryList=[],n.history=[],n.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},n.startNewChat=()=>{let e=S.getChats().getNonPersistedChat();e||(e=L(),S.addChat(e)),S.selectChat(e)},n.onopen=n.onclose=()=>angular.noop(),n.toggleChatsListSidebar=()=>{n.showChats=!n.showChats},n.toggleAgentsListSidebar=()=>{n.showAgents=!n.showAgents},n.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",n.clear=()=>{y.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){n.history=[],R()}))},n.openSettings=()=>{A.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:n.askSettings,connectorID:n.connectorID}}}}).result.then((function(e){n.connectorID=e.connectorID,n.askSettings=e.askSettings,R()}))},n.onOpenHelp=()=>{n.isHelpVisible=!0},n.onExportSelectedChat=()=>{k(S.getSelectedChat())};const N=()=>{const e=S.getDefaultAgent();return e?Promise.resolve(e):b.getDefaultAgent().then(e=>(S.setDefaultAgent(e),e))};n.onOpenNewAgentSettings=()=>{N().then(e=>{const t=Object(l.repositoryInfoMapper)(f.getActiveRepositoryObject());e.repositoryId=t.id;const a=Object(r.agentFormModelMapper)(new s.AgentModel({}),e,!0);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new d.AgentSettingsModal(t,n.activeRepositoryList,a,o.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{A.open(e).result.then(G)})},n.onOpenAgentSettings=e=>{let t=e;t||(t=S.getSelectedAgent()),N().then(e=>{const a=Object(r.agentFormModelMapper)(t,e),s=Object(l.repositoryInfoMapper)(f.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new d.AgentSettingsModal(s,n.activeRepositoryList,a,o.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{A.open(e).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),G()})})},n.onOpenCloneAgentSettings=e=>{const t=Object(r.agentFormModelMapper)(e,e);t.name="clone-"+t.name;const a=Object(l.repositoryInfoMapper)(f.getActiveRepositoryObject()),s={templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new d.AgentSettingsModal(a,n.activeRepositoryList,t,o.AGENT_OPERATION.CLONE)}},size:"lg"};A.open(s).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),G()})};const R=()=>{const e=C.get("ttyg")||{};e[f.getActiveRepository()]={history:n.history,connectorID:n.connectorID,askSettings:n.askSettings},C.set("ttyg",e)},O=()=>(n.loadingChats=!0,b.getConversations().then(e=>S.updateChats(e)).catch(e=>{v.error(getError(e,0,100)),D(new i.ChatsListModel)}).finally(()=>{n.loadingChats=!1})),G=()=>(n.reloadingAgents=!0,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{v.error(getError(e,0,100))}).finally(()=>{n.reloadingAgents=!1})),L=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new i.ChatModel(e,Object(m.md5HashGenerator)())},D=e=>{e.isEmpty()?n.showChats=!1:(n.showChats=!0,S.getSelectedChat()||S.selectChat(n.chats.getFirstChat()))},k=e=>{b.exportConversation(e.id).then((function({data:t,filename:n}){Object(g.saveAs)(t,n),S.emit(a.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)})).catch(()=>{S.emit(a.TTYGEventName.CHAT_EXPORT_FAILURE),v.error(E.instant("ttyg.chat.messages.export_failure"))})},M=()=>{const e=f.getActiveRepository(),t=f.getReadableGraphdbRepositories().map(t=>new s.AgentListFilterModel(t.id,t.id,t.id===e));n.agentListFilterModel=[new s.AgentListFilterModel(o.AGENTS_FILTER_ALL_KEY,w.filter_all),...t]},Y=e=>{y.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){S.deleteChat(e)}))},U=()=>{e.open("/similarity/index/create","_blank")},$=()=>{e.open("/connectors","_blank")},H=t=>{e.open(`/sparql?query=${encodeURIComponent(t)}&execute=true`,"_blank")};I.push(n.$watch(n.getActiveRepositoryObject,e=>{e&&((()=>{const e=_.getAgentId();e&&b.getAgent(e).then(e=>{e&&S.selectAgent(e)})})(),(()=>{const e=_.getChatId();e&&b.getConversation(e).then(e=>{e&&S.selectChat(e)})})(),n.activeRepositoryList=f.getReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(n.loadingAgents=e,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{v.error(getError(e,0,100))}).finally(()=>{n.loadingAgents=!1})))().then(()=>(M(),O())),(()=>{const e=f.getActiveRepository();if(e){const t=C.get("ttyg");if(t&&t[e]){const a=t[e];a.history&&(n.history=a.history),n.connectorID=a.connectorID,a.askSettings&&(n.askSettings=a.askSettings)}}})())})),I.push(S.onSelectedChatChanged(e=>{e&&e.id?b.getConversation(e.id).then(t=>{S.updateSelectedChat(t),_.saveChat(e)}).catch(t=>{t.status===u.status.NOT_FOUND&&(Y(e),S.emit(a.TTYGEventName.LOAD_CHAT_FAILURE,e))}):S.updateSelectedChat(e)})),I.push(S.onChatsListChanged(e=>{n.chats=e,D(e)})),I.push(S.subscribe(S.onAgentsListChanged(e=>{n.agents=e,n.showAgents=!e.isEmpty()}))),I.push(S.subscribe(a.TTYGEventName.CREATE_CHAT,e=>{n.startNewChat(),b.createConversation(e).then(e=>(S.emit(a.TTYGEventName.CREATE_CHAT_SUCCESSFUL),b.getConversation(e.chatId))).then(e=>{const t=S.getSelectedChat();if(t&&!t.id){const t=S.getChats().getNonPersistedChat();S.updateSelectedChat(e),S.replaceChat(e,t)}S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.CREATE_CHAT_FAILURE),v.error(E.instant("ttyg.chat.messages.create_failure"))})})),I.push(S.subscribe(a.TTYGEventName.RENAME_CHAT,e=>{b.renameConversation(e).then(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_SUCCESSFUL),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_FAILURE),v.error(E.instant("ttyg.chat.messages.rename_failure"))})})),I.push(S.subscribe(a.TTYGEventName.DELETE_CHAT,e=>{S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),b.deleteConversation(e.id).then(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_FAILURE),v.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),I.push(S.subscribe(a.TTYGEventName.CHAT_EXPORT,k)),I.push(S.subscribe(a.TTYGEventName.ASK_QUESTION,e=>{b.askQuestion(e).then(t=>{const n=S.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const a=e;e.answers=t.messages,n.chatHistory.appendItem(a),S.updateSelectedChat(n)}}).catch(e=>{S.emit(a.TTYGEventName.ASK_QUESTION_FAILURE),v.error(getError(e,0,100))})})),I.push(S.subscribe(a.TTYGEventName.LOAD_CHATS,O)),I.push(S.subscribe(a.TTYGEventName.OPEN_AGENT_SETTINGS,n.onOpenNewAgentSettings)),I.push(S.subscribe(a.TTYGEventName.EDIT_AGENT,n.onOpenAgentSettings)),I.push(S.subscribe(a.TTYGEventName.CLONE_AGENT,n.onOpenCloneAgentSettings)),I.push(S.subscribe(a.TTYGEventName.DELETE_AGENT,e=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),b.deleteAgent(e.id).then(()=>G()).then(()=>{S.emit(a.TTYGEventName.AGENT_DELETED,e),n.selectedAgent&&n.selectedAgent.id===e.id&&(n.selectedAgent=void 0)}).catch(e=>{v.error(getError(e,0,100))}).finally(()=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),I.push(S.subscribe(a.TTYGEventName.AGENT_SELECTED,e=>{n.selectedAgent=e,_.saveAgent(e)})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==f.getActiveRepository()){const t=f.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),()=>{f.setRepository(t),U()})}else U()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==f.getActiveRepository()){const t=f.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),()=>{f.setRepository(t),$()})}else $()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==f.getActiveRepository()){const t=f.getRepository(e.repositoryId);t&&y.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{f.setRepository(t),H(e.query)})}else H(e.query)})),I.push(t.$on("$translateChangeSuccess",()=>{w.filter_all=E.instant("ttyg.agent.btn.filter.all"),M()})),n.$on("$destroy",(function(){I.forEach(e=>e()),S.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},371:function(e,t,n){"use strict";n.r(t);n(176);function a(e,t,n,a){e.dialogTitle=t.instant("ttyg.settings.title"),e.save=function(){if(e.form.$valid){const t={queryTemplate:JSON.parse(e.queryTemplate),groundTruths:e.groundTruths.split("\n"),topK:e.topK,echoVectorQuery:e.echoVectorQuery};n.close({askSettings:t,connectorID:e.connectorID})}},e.cancel=function(){n.dismiss("cancel")},e.connectorID=a.connectorID,e.queryTemplate=JSON.stringify(a.askSettings.queryTemplate,null," "),e.topK=a.askSettings.topK,e.echoVectorQuery=a.askSettings.echoVectorQuery,e.groundTruths=a.askSettings.groundTruths.map(e=>e.trim()).filter(e=>""!==e).join("\n")}angular.module("graphdb.framework.ttyg.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("AgentSettingsDialogCtrl",a),a.$inject=["$scope","$translate","$uibModalInstance","data"]},502:function(e,t){(function(t){e.exports=t}).call(this,{})},503:function(e,t,n){var a,o=o||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},a=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,s=e.requestFileSystem||o||e.mozRequestFileSystem,i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},r=0,c=function(t){var a=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?a():setTimeout(a,500)},l=function(e,t,n){for(var a=(t=[].concat(t)).length;a--;){var o=e["on"+t[a]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){i(e)}}},g=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},d=function(t,i){t=g(t);var d,h,u,m=this,p=t.type,T=!1,E=function(){l(m,"writestart progress write writeend".split(" "))},A=function(){(!T&&d||(d=n().createObjectURL(t)),h)?h.location.href=d:null==e.open(d,"_blank")&&"undefined"!=typeof safari&&(e.location.href=d);m.readyState=m.DONE,E(),c(d)},f=function(e){return function(){if(m.readyState!==m.DONE)return e.apply(this,arguments)}},v={create:!0,exclusive:!1};if(m.readyState=m.INIT,i||(i="download"),a)return d=n().createObjectURL(t),a.href=d,a.download=i,void setTimeout((function(){var e,t;e=a,t=new MouseEvent("click"),e.dispatchEvent(t),E(),c(d),m.readyState=m.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(u=t.slice||t.webkitSlice,t=u.call(t,0,t.size,"application/octet-stream"),T=!0),o&&"download"!==i&&(i+=".download"),("application/octet-stream"===p||o)&&(h=e),s?(r+=t.size,s(e.TEMPORARY,r,f((function(e){e.root.getDirectory("saved",v,f((function(e){var n=function(){e.getFile(i,v,f((function(e){e.createWriter(f((function(n){n.onwriteend=function(t){h.location.href=e.toURL(),m.readyState=m.DONE,l(m,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&A()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=m["on"+e]})),n.write(t),m.abort=function(){n.abort(),m.readyState=m.DONE},m.readyState=m.WRITING})),A)})),A)};e.getFile(i,{create:!1},f((function(e){e.remove(),n()})),f((function(e){e.code===e.NOT_FOUND_ERR?n():A()})))})),A)})),A)):A()},h=d.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(g(e),t)}:(h.abort=function(){this.readyState=this.DONE,l(this,"abort")},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t){return new d(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=o:null!==n(509)&&null!=n(502)&&(void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a))},509:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},87:function(e,t,n){"use strict";n.r(t);var a=n(530),o=n(528),s=n.n(o);const i={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function r(e){const t=Object(a.a)().use(s.a,i);return{renderMarkdown:n=>{try{return e.trustAsHtml((o?Object(a.a)().use(s.a,o):t).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",r),r.$inject=["$sce"]},95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const a=[];let o;t.onKeydown=e=>{"Enter"===e.key?(i(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&s()},t.onCancelEditing=()=>{s()},t.onSelect=()=>{o?(i(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),i()}),250)};const s=()=>{i(),t.onCancel()},i=()=>{e.cancel(o),o=void 0};a.push(t.$watch("isEditing",a=>{a&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{a.forEach(e=>e()),i()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{336:function(s,e,t){"use strict";t.r(e),t.d(e,"YasrBeforeUpdateQueryResult",(function(){return i}));class i{constructor(){this.status=void 0,this.message=void 0,this.messageLabelKey=void 0,this.parameters=void 0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[232],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[232],{148:function(n,e,s){"use strict";s.r(e),s.d(e,"YasrPluginName",(function(){return t}));const t={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[233],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[233],{337:function(s,n,e){"use strict";e.r(n),e.d(n,"YasrQueryResponseStatus",(function(){return o}));const o={ERROR:"error",SUCCESS:"success"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{338:function(t,e,s){"use strict";s.r(e),s.d(e,"YasrToolbarPlugin",(function(){return n}));class n{constructor(){this.createElement=t=>{},this.updateElement=(t,e)=>{},this.getOrder=()=>0,this.destroy=(t,e)=>{}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[235],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[235],{339:function(o,s,t){"use strict";t.r(s),t.d(s,"ProductInfo",(function(){return n}));class n{constructor(){this.Workbench="",this.connectors=[],this.productShortVersion="",this.productType="",this.productVersion="",this.sesame=""}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[237],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[237],{117:function(i,o,t){"use strict";t.r(o),t.d(o,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[238],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[238],{340:function(n,s,e){"use strict";e.r(s),e.d(s,"ResourceGraphResponse",(function(){return r})),e.d(s,"ResourceGraphResponseHead",(function(){return c})),e.d(s,"ResourceGraphResponseResults",(function(){return o})),e.d(s,"ResourceGraphResponseBinding",(function(){return t})),e.d(s,"ResourceGraphResponseBindingContext",(function(){return u})),e.d(s,"ResourceGraphResponseBindingObject",(function(){return i})),e.d(s,"ResourceGraphResponseBindingPredicate",(function(){return a})),e.d(s,"ResourceGraphResponseBindingSubject",(function(){return p}));class r{constructor(n=new c,s=new o){}}class c{constructor(n={vars:[]}){}}class o{constructor(n={bindings:[]}){}}class t{constructor(n,s,e,r){}}class u{constructor(n,s){}}class i{constructor(n,s){}}class a{constructor(n,s){}}class p{constructor(n,s){}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[239],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[239],{156:function(e,n,t){"use strict";t.r(n),t.d(n,"RoleType",(function(){return c}));const c={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[24,136,139,187,298,302],{102:function(e,t,n){"use strict";n.r(t);n(87);var a=n(69);function o(e,t,n,o,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(s,r,c)=>{s.MarkdownService=o,s.explainResponseModel={},s.loadingExplainResponse={},s.regenerateQuestion=()=>{s.onRegenerateQuestion({chatItem:s.chatItemDetail})},s.explainResponse=a=>{n.hasExplainResponse(a)?n.toggleExplainResponse(a):(s.loadingExplainResponse[a]=!0,i.explainResponse(s.chatItemDetail,a).then(e=>{s.explainResponseModel=e,n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>s.loadingExplainResponse[a]=!1))},s.onAskHowAnswerWasDerived=()=>{s.onAskHowDeliveredAnswer({chatItem:s.chatItemDetail})},s.onOpenInSparqlEditor=e=>{if(s.chatItemDetail.agentId){const t=n.getAgent(s.chatItemDetail.agentId);n.emit(a.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:t.repositoryId})}};const l=()=>{s.chatItemDetail.answers.forEach(e=>{s.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},d=[];d.push(n.onExplainResponseCacheUpdated(()=>{l()})),s.$on("$destroy",()=>{d.forEach(e=>e())}),l()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.services.markdown-service"]).directive("chatItemDetail",o),o.$inject=["toastr","$translate","TTYGContextService","MarkdownService","TTYGService"]},119:function(e,t,n){"use strict";n.r(t),n.d(t,"status",(function(){return a}));const a={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,CONFLICT:409,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVAILABLE:503}},120:function(e,t,n){"use strict";n.r(t);n(95);var a=n(0),o=n(69);n(85),n(16);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:(s,r,c)=>{s.selectedChat=void 0,s.renamedChat=void 0,s.deletingChat=void 0,s.onSelectChatForRenaming=e=>{s.renamedChat=e},s.onSelectChat=t=>{if(!s.selectedChat||s.selectedChat.id!==t.id){const n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),s.renamedChat=void 0}},s.onDeleteChat=i=>{const s=n.instant("ttyg.dialog.delete.title"),r=Object(a.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:i.name}));t.openConfirmation(s,r,()=>e.emit(o.TTYGEventName.DELETE_CHAT,i))},s.onRenameChat=(t,n)=>{n.name=t,s.renamedChat=void 0,e.emit(o.TTYGEventName.RENAME_CHAT,n)},s.onExportChat=t=>{e.emit(o.TTYGEventName.CHAT_EXPORT,t)},s.onCancelChatRenaming=()=>{s.renamedChat=void 0},s.getHumanReadableTimestamp=e=>{const t=new Date(e),a=new Date,o=new Date(a.getFullYear(),a.getMonth(),a.getDate()),s=new Date(o);s.setDate(o.getDate()-1);const r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return r.getTime()===o.getTime()?n.instant("common.dates.today"):r.getTime()===s.getTime()?n.instant("common.dates.yesterday"):i("date")(t,"yyyy-MM-dd")};const l=e=>{s.selectedChat=e},d=[];d.push(e.onSelectedChatChanged(l)),d.push(e.onSelectedChatUpdated(l)),d.push(e.onChatsListChanged(e=>{s.chatList=e})),d.push(e.subscribe(o.TTYGEventName.DELETING_CHAT,e=>{s.deletingChat=e})),s.$on("$destroy",()=>{d.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",i),i.$inject=["TTYGContextService","ModalService","$translate","$filter"]},121:function(e,t,n){"use strict";n.r(t);n(102);var a=n(69),o=n(71),i=n(75),s=n(30),r=n(0);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(e,c,l)=>{e.chat=void 0,e.selectedAgent=void 0,e.chatItem=void 0,e.askingChatItem=void 0,e.loadingChat=!1,e.ask=()=>{e.askingChatItem=Object(s.cloneDeep)(e.chatItem),e.chatItem.chatId?g(e.chatItem):d(),e.chatItem=m(),p(),u()},e.regenerateQuestion=t=>{const n=m();n.setQuestionMessage(t.getQuestionMessage()),e.askingChatItem=n,g(n),p()},e.onKeypressOnInput=t=>{"Enter"!==t.key||t.shiftKey||t.ctrlKey||e.ask()},e.onAskHowDeliveredAnswer=()=>{const n=m();n.setQuestionMessage(t.instant("ttyg.chat_panel.btn.derive_answer.label")),e.askingChatItem=Object(s.cloneDeep)(n),g(n),p()},e.getAgentName=e=>{const a=n.getAgent(e);return a?a.name:Object(r.decodeHTML)(t.instant("ttyg.chat_panel.deleted_agent"))};const d=()=>{n.emit(a.TTYGEventName.CREATE_CHAT,e.chatItem)},g=e=>{n.emit(a.TTYGEventName.ASK_QUESTION,e)},h=()=>{e.chatItem=Object(s.cloneDeep)(e.askingChatItem),e.askingChatItem=void 0},m=()=>{const t=new i.ChatItemModel;return t.question=new o.ChatMessageModel({role:o.CHAT_MESSAGE_ROLE.USER}),e.chat&&(t.chatId=e.chat.id),e.selectedAgent&&(t.agentId=e.selectedAgent.id),t},u=()=>{c.find(".question-input")[0].focus()},p=()=>{setTimeout(()=>{const e=c.find(".chat-details")[0];e.scrollTop=e.scrollHeight})},T=()=>{e.chat=void 0,e.loadingChat=!1,e.chatItem=m(),e.askingChatItem=void 0,u()},E=[];E.push(e.$watchCollection("chat.chatHistory.items",p)),E.push(n.onSelectedChatUpdated(t=>{if(e.chat=t,t.id||!e.askingChatItem){if(e.loadingChat=!1,e.chatItem=m(),e.askingChatItem=void 0,e.chat){const t=e.chat.chatHistory.getLast();t&&t.agentId&&n.selectAgent(n.getAgent(t.agentId))}u()}})),E.push(n.onSelectedAgentChanged(t=>{e.selectedAgent=t,e.selectedAgent&&e.chatItem&&(e.chatItem.agentId=e.selectedAgent.id)})),E.push(n.onSelectedChatChanged(t=>{e.loadingChat=t&&t.id,e.chatItem=m(),u()})),E.push(n.subscribe(a.TTYGEventName.LOAD_CHAT_FAILURE,()=>{e.loadingChat=!1,e.chatItem=m(),u()})),E.push(n.subscribe(a.TTYGEventName.ASK_QUESTION_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.CREATE_CHAT_FAILURE,h)),E.push(n.subscribe(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,t=>{e.chat&&t.id===e.chat.id&&T()})),e.$on("$destroy",()=>{E.forEach(e=>e())}),e.chatItem=m(),u()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},122:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n(69);function i(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(i,s,r)=>{i.selectedAgent=void 0,i.selectedAgentsFilter=void 0,i.deletingAgent=void 0,i.onEditAgent=t=>{e.emit(o.TTYGEventName.EDIT_AGENT,t)},i.onCloneAgent=t=>{e.emit(o.TTYGEventName.CLONE_AGENT,t)},i.onDeleteAgent=i=>{const s=n.instant("ttyg.agent.delete_agent_modal.title"),r=Object(a.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:i.name}));t.openConfirmation(s,r,()=>e.emit(o.TTYGEventName.DELETE_AGENT,i))},i.onAgentsFilterChange=e=>{i.selectedAgentsFilter=e,i.selectedAgentsFilter&&i.agentList.filterByRepository(i.selectedAgentsFilter.key)};const c=()=>{const e=i.agentListFilterModel.find(e=>e.selected);i.selectedAgentsFilter=e||i.agentListFilterModel[0],i.onAgentsFilterChange(i.selectedAgentsFilter)},l=[];l.push(i.$watch("agentListFilterModel",c)),l.push(e.subscribe(o.TTYGEventName.DELETING_AGENT,e=>{i.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{i.selectedAgent=e})),i.$on("$destroy",()=>{l.forEach(e=>e())}),c()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",i),i.$inject=["TTYGContextService","ModalService","$translate"]},123:function(e,t,n){"use strict";n.r(t);var a=n(74),o=n(69);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=t=>{s(t),n.selectedAgent=t,e.selectAgent(t)},n.onAgentWithoutRepoSelected=a=>{const r=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),c=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(r,c,()=>e.emit(o.TTYGEventName.EDIT_AGENT,a.data.agent)),s(a),n.selectedAgent=a.data.agent,e.selectAgent(a.data.agent)};const s=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},r=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{r(e)})),c.push(e.subscribe(o.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{s(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]},124:function(e,t,n){"use strict";n.r(t);var a=n(69);function o(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,n,o)=>{t.onCreateAgent=()=>{e.emit(a.TTYGEventName.OPEN_AGENT_SETTINGS)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",o),o.$inject=["TTYGContextService"]},125:function(e,t){function n(e,t){const n={agent:{id:void 0},chat:{id:void 0}},a=()=>{let a=e.get(t.TTYG);return a||(a=n),a.agent||(a.agent={}),a.chat||(a.chat={}),a};return{saveAgent:function(n){const o=a();o.agent.id=n?n.id:void 0,e.set(t.TTYG,o)},getAgentId:function(){const e=a();if(e.agent)return e.agent.id},saveChat:function(n){const o=a();o.chat.id=n?n.id:void 0,e.set(t.TTYG,o)},getChatId:function(){const e=a();if(e.chat)return e.chat.id}}}angular.module("graphdb.framework.ttyg.services.ttygstorage",[]).factory("TTYGStorageService",n),n.$inject=["LocalStorageAdapter","LSKeys"]},126:function(e,t,n){"use strict";n.r(t),n.d(t,"AgentSettingsModal",(function(){return a}));class a{constructor(e,t,n,a){this.activeRepositoryInfo=e,this.activeRepositoryList=t,this.agentFormModel=n,this.operation=a}}},176:function(e,t,n){"use strict";n.r(t);n(120),n(121),n(122),n(123),n(124),n(179),n(150);var a=n(69),o=(n(125),n(80)),i=n(79),s=n(85),r=n(152),c=n(74),l=n(19),d=n(503),g=n(126),h=n(0),m=n(119),u=n(16);function p(e,t,n,p,T,E,A,v,f,C,y,b,S,_){const I=[],w={filter_all:E.instant("ttyg.agent.btn.filter.all")};n.helpTemplateUrl="js/angular/ttyg/templates/chatInfo.html",n.isHelpVisible=!1,n.showChats=!0,n.showAgents=!0,n.chats=void 0,n.loadingChats=!1,n.loadingChat=!1,n.agents=void 0,n.selectedAgent=void 0,n.loadingAgents=!1,n.reloadingAgents=!1,n.connectorID=void 0,n.agentListFilterModel=[],n.activeRepositoryList=[],n.history=[],n.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5},n.startNewChat=()=>{let e=S.getChats().getNonPersistedChat();e||(e=L(),S.addChat(e)),S.selectChat(e)},n.onopen=n.onclose=()=>angular.noop(),n.toggleChatsListSidebar=()=>{n.showChats=!n.showChats},n.toggleAgentsListSidebar=()=>{n.showAgents=!n.showAgents},n.getIcon=e=>"question"===e?"user":"assistant"===e?"data":"help",n.clear=()=>{C.openSimpleModal({title:E.instant("common.confirm"),message:E.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){n.history=[],R()}))},n.openSettings=()=>{A.open({templateUrl:"js/angular/ttyg/templates/modal/settings.html",controller:"AgentSettingsDialogCtrl",size:"lg",resolve:{data:function(){return{askSettings:n.askSettings,connectorID:n.connectorID}}}}).result.then((function(e){n.connectorID=e.connectorID,n.askSettings=e.askSettings,R()}))},n.onOpenHelp=()=>{n.isHelpVisible=!0},n.onExportSelectedChat=()=>{k(S.getSelectedChat())};const N=()=>{const e=S.getDefaultAgent();return e?Promise.resolve(e):b.getDefaultAgent().then(e=>(S.setDefaultAgent(e),e))};n.onOpenNewAgentSettings=()=>{N().then(e=>{const t=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject());e.repositoryId=t.id;const a=Object(r.agentFormModelMapper)(new i.AgentModel({}),e,!0);return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(t,n.activeRepositoryList,a,o.AGENT_OPERATION.CREATE)}},size:"lg"}}).then(e=>{A.open(e).result.then(O)})},n.onOpenAgentSettings=e=>{let t=e;t||(t=S.getSelectedAgent()),N().then(e=>{const a=Object(r.agentFormModelMapper)(t,e),i=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject());return{templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(i,n.activeRepositoryList,a,o.AGENT_OPERATION.EDIT)}},size:"lg"}}).then(e=>{A.open(e).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})})},n.onOpenCloneAgentSettings=e=>{const t=Object(r.agentFormModelMapper)(e,e);t.name="clone-"+t.name;const a=Object(l.repositoryInfoMapper)(v.getActiveRepositoryObject()),i={templateUrl:"js/angular/ttyg/templates/modal/agent-settings-modal.html",controller:"AgentSettingsModalController",windowClass:"agent-settings-modal",resolve:{dialogModel:function(){return new g.AgentSettingsModal(a,n.activeRepositoryList,t,o.AGENT_OPERATION.CLONE)}},size:"lg"};A.open(i).result.then(e=>{const t=S.getSelectedAgent();t&&e.id===t.id&&S.selectAgent(e),O()})};const R=()=>{const e=y.get("ttyg")||{};e[v.getActiveRepository()]={history:n.history,connectorID:n.connectorID,askSettings:n.askSettings},y.set("ttyg",e)},G=()=>(n.loadingChats=!0,b.getConversations().then(e=>S.updateChats(e)).catch(e=>{f.error(getError(e,0,100)),D(new s.ChatsListModel)}).finally(()=>{n.loadingChats=!1})),O=()=>(n.reloadingAgents=!0,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{n.reloadingAgents=!1})),L=()=>{const e={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new s.ChatModel(e,Object(u.md5HashGenerator)())},D=e=>{e.isEmpty()?n.showChats=!1:(n.showChats=!0,S.getSelectedChat()||S.selectChat(n.chats.getFirstChat()))},k=e=>{b.exportConversation(e.id).then((function({data:t,filename:n}){Object(d.saveAs)(t,n),S.emit(a.TTYGEventName.CHAT_EXPORT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)})).catch(()=>{S.emit(a.TTYGEventName.CHAT_EXPORT_FAILURE),f.error(E.instant("ttyg.chat.messages.export_failure"))})},M=()=>{const e=v.getActiveRepository(),t=v.getReadableGraphdbRepositories().map(t=>new i.AgentListFilterModel(t.id,t.id,t.id===e));n.agentListFilterModel=[new i.AgentListFilterModel(o.AGENTS_FILTER_ALL_KEY,w.filter_all),...t]},Y=e=>{C.openModalAlert({title:E.instant("ttyg.chat.dialog.chat_is_missing.title"),message:E.instant("ttyg.chat.dialog.chat_is_missing.body")}).result.then((function(){S.deleteChat(e)}))},U=()=>{e.open("/similarity/index/create","_blank")},H=()=>{e.open("/connectors","_blank")},x=t=>{e.open(`/sparql?query=${encodeURIComponent(t)}&execute=true`,"_blank")};I.push(n.$watch(n.getActiveRepositoryObject,e=>{e&&((()=>{const e=_.getAgentId();e&&b.getAgent(e).then(e=>{e&&S.selectAgent(e)})})(),(()=>{const e=_.getChatId();e&&b.getConversation(e).then(e=>{e&&S.selectChat(e)})})(),n.activeRepositoryList=v.getReadableGraphdbRepositories().map(e=>new c.SelectMenuOptionsModel({value:e.id,label:e.id,data:{repository:e}})),((e=!0)=>(n.loadingAgents=e,b.getAgents().then(e=>S.updateAgents(e)).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{n.loadingAgents=!1})))().then(()=>(M(),G())),(()=>{const e=v.getActiveRepository();if(e){const t=y.get("ttyg");if(t&&t[e]){const a=t[e];a.history&&(n.history=a.history),n.connectorID=a.connectorID,a.askSettings&&(n.askSettings=a.askSettings)}}})())})),I.push(S.onSelectedChatChanged(e=>{e&&e.id?b.getConversation(e.id).then(t=>{S.updateSelectedChat(t),_.saveChat(e)}).catch(t=>{t.status===m.status.NOT_FOUND&&(Y(e),S.emit(a.TTYGEventName.LOAD_CHAT_FAILURE,e))}):S.updateSelectedChat(e)})),I.push(S.onChatsListChanged(e=>{n.chats=e,D(e)})),I.push(S.subscribe(S.onAgentsListChanged(e=>{n.agents=e,n.showAgents=!e.isEmpty()}))),I.push(S.subscribe(a.TTYGEventName.CREATE_CHAT,e=>{n.startNewChat(),b.createConversation(e).then(e=>(S.emit(a.TTYGEventName.CREATE_CHAT_SUCCESSFUL),b.getConversation(e.chatId))).then(e=>{const t=S.getSelectedChat();if(t&&!t.id){const t=S.getChats().getNonPersistedChat();S.updateSelectedChat(e),S.replaceChat(e,t)}S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.CREATE_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.create_failure"))})})),I.push(S.subscribe(a.TTYGEventName.RENAME_CHAT,e=>{b.renameConversation(e).then(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_SUCCESSFUL),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.RENAME_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.rename_failure"))})})),I.push(S.subscribe(a.TTYGEventName.DELETE_CHAT,e=>{S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!0}),b.deleteConversation(e.id).then(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_SUCCESSFUL,e),S.emit(a.TTYGEventName.LOAD_CHATS)}).catch(()=>{S.emit(a.TTYGEventName.DELETE_CHAT_FAILURE),f.error(E.instant("ttyg.chat.messages.delete_failure"))}).finally(()=>S.emit(a.TTYGEventName.DELETING_CHAT,{chatId:e.id,inProgress:!1}))})),I.push(S.subscribe(a.TTYGEventName.CHAT_EXPORT,k)),I.push(S.subscribe(a.TTYGEventName.ASK_QUESTION,e=>{b.askQuestion(e).then(t=>{const n=S.getSelectedChat();if(n&&n.id===e.chatId){n.timestamp=t.timestamp;const a=e;e.answers=t.messages,n.chatHistory.appendItem(a),S.updateSelectedChat(n)}}).catch(e=>{S.emit(a.TTYGEventName.ASK_QUESTION_FAILURE),f.error(getError(e,0,100))})})),I.push(S.subscribe(a.TTYGEventName.LOAD_CHATS,G)),I.push(S.subscribe(a.TTYGEventName.OPEN_AGENT_SETTINGS,n.onOpenNewAgentSettings)),I.push(S.subscribe(a.TTYGEventName.EDIT_AGENT,n.onOpenAgentSettings)),I.push(S.subscribe(a.TTYGEventName.CLONE_AGENT,n.onOpenCloneAgentSettings)),I.push(S.subscribe(a.TTYGEventName.DELETE_AGENT,e=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!0}),b.deleteAgent(e.id).then(()=>O()).then(()=>{S.emit(a.TTYGEventName.AGENT_DELETED,e),n.selectedAgent&&n.selectedAgent.id===e.id&&(n.selectedAgent=void 0)}).catch(e=>{f.error(getError(e,0,100))}).finally(()=>{S.emit(a.TTYGEventName.DELETING_AGENT,{agentId:e.id,inProgress:!1})})})),I.push(S.subscribe(a.TTYGEventName.AGENT_SELECTED,e=>{n.selectedAgent=e,_.saveAgent(e)})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&C.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_similarity.body",{repositoryId:t.id})),()=>{v.setRepository(t),U()})}else U()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_CONNECTORS_VIEW,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&C.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.agent.create_agent_modal.dialog.confirm_repository_change_before_open_connectors.body",{repositoryId:t.id})),()=>{v.setRepository(t),H()})}else H()})),I.push(S.subscribe(a.TTYGEventName.GO_TO_SPARQL_EDITOR,e=>{if(e.repositoryId!==v.getActiveRepository()){const t=v.getRepository(e.repositoryId);t&&C.openConfirmation(E.instant("common.confirm"),Object(h.decodeHTML)(E.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:e.repositoryId})),()=>{v.setRepository(t),x(e.query)})}else x(e.query)})),I.push(t.$on("$translateChangeSuccess",()=>{w.filter_all=E.instant("ttyg.agent.btn.filter.all"),M()})),n.$on("$destroy",(function(){I.forEach(e=>e()),S.resetContext()}))}angular.module("graphdb.framework.ttyg.controllers.ttyg-view",["toastr","graphdb.framework.utils.localstorageadapter","graphdb.framework.core.services.ttyg-service","graphdb.framework.ttyg.services.ttygcontext","graphdb.framework.ttyg.services.ttygstorage","graphdb.framework.ttyg.directives.chat-list","graphdb.framework.ttyg.directives.chat-panel","graphdb.framework.ttyg.directives.agent-list","graphdb.framework.ttyg.directives.agent-select-menu","graphdb.framework.ttyg.directives.no-agents-view","graphdb.framework.ttyg.controllers.agent-settings-modal"]).controller("TTYGViewCtrl",p),p.$inject=["$window","$rootScope","$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter","TTYGService","TTYGContextService","TTYGStorageService"]},502:function(e,t){(function(t){e.exports=t}).call(this,{})},503:function(e,t,n){var a,o=o||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},a=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,i=e.requestFileSystem||o||e.mozRequestFileSystem,s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},r=0,c=function(t){var a=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?a():setTimeout(a,500)},l=function(e,t,n){for(var a=(t=[].concat(t)).length;a--;){var o=e["on"+t[a]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){s(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},g=function(t,s){t=d(t);var g,h,m,u=this,p=t.type,T=!1,E=function(){l(u,"writestart progress write writeend".split(" "))},A=function(){(!T&&g||(g=n().createObjectURL(t)),h)?h.location.href=g:null==e.open(g,"_blank")&&"undefined"!=typeof safari&&(e.location.href=g);u.readyState=u.DONE,E(),c(g)},v=function(e){return function(){if(u.readyState!==u.DONE)return e.apply(this,arguments)}},f={create:!0,exclusive:!1};if(u.readyState=u.INIT,s||(s="download"),a)return g=n().createObjectURL(t),a.href=g,a.download=s,void setTimeout((function(){var e,t;e=a,t=new MouseEvent("click"),e.dispatchEvent(t),E(),c(g),u.readyState=u.DONE}));e.chrome&&p&&"application/octet-stream"!==p&&(m=t.slice||t.webkitSlice,t=m.call(t,0,t.size,"application/octet-stream"),T=!0),o&&"download"!==s&&(s+=".download"),("application/octet-stream"===p||o)&&(h=e),i?(r+=t.size,i(e.TEMPORARY,r,v((function(e){e.root.getDirectory("saved",f,v((function(e){var n=function(){e.getFile(s,f,v((function(e){e.createWriter(v((function(n){n.onwriteend=function(t){h.location.href=e.toURL(),u.readyState=u.DONE,l(u,"writeend",t),c(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&A()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=u["on"+e]})),n.write(t),u.abort=function(){n.abort(),u.readyState=u.DONE},u.readyState=u.WRITING})),A)})),A)};e.getFile(s,{create:!1},v((function(e){e.remove(),n()})),v((function(e){e.code===e.NOT_FOUND_ERR?n():A()})))})),A)})),A)):A()},h=g.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(h.abort=function(){this.readyState=this.DONE,l(this,"abort")},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t){return new g(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
|
|
2
|
+
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=o:null!==n(509)&&null!=n(502)&&(void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a))},509:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},87:function(e,t,n){"use strict";n.r(t);var a=n(530),o=n(528),i=n.n(o);const s={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function r(e){const t=Object(a.a)().use(i.a,s);return{renderMarkdown:n=>{try{return e.trustAsHtml((o?Object(a.a)().use(i.a,o):t).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",r),r.$inject=["$sce"]},95:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const a=[];let o;t.onKeydown=e=>{"Enter"===e.key?(s(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&i()},t.onCancelEditing=()=>{i()},t.onSelect=()=>{o?(s(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),s()}),250)};const i=()=>{s(),t.onCancel()},s=()=>{e.cancel(o),o=void 0};a.push(t.$watch("isEditing",a=>{a&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{a.forEach(e=>e()),s()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[240],{341:function(n,e,o){"use strict";o.r(e),o.d(e,"WorkbenchSettingsModel",(function(){return t}));const t={theme:"",mode:""}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[241],{263:function(n,r,i){"use strict";i.r(r),i.d(r,"SimilarityIndexError",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[244],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[244],{134:function(A,n,i){"use strict";i.r(n),i.d(n,"SimilarityQueryType",(function(){return o}));const o={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[245],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[245],{170:function(e,t,T){"use strict";T.r(t),T.d(t,"SimilarityResultType",(function(){return s}));const s={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>s.DOCUMENT_RESULT===e,isResultTermType:e=>s.TERM_RESULT===e}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[247],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[247],{265:function(n,i,o){"use strict";o.r(i),o.d(i,"SimilarityViewMode",(function(){return E}));const E={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[248],{173:function(r,n,e){"use strict";e.r(n),e.d(n,"SparqlTemplateError",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[249],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[249],{174:function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_SPARQL_QUERY",(function(){return s})),n.d(t,"SparqlTemplateInfo",(function(){return i}));const s="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n";class i{constructor(e=s,t=!0,n){this.query=e,this.templateID=n,this.isNewTemplate=t,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}}}}]);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[25,73,135,141,143,222,236,237,239,277,303],{115:function(e,t){angular.module("graphdb.workbench.utils.filetypes",[]).value("FileTypes",[{name:"JSON",translateKey:"download.as.json",type:"application/rdf+json",extension:".json"},{name:"JSON-LD",translateKey:"download.as.jsonld",type:"application/ld+json",extension:".jsonld"},{name:"NDJSON-LD",translateKey:"download.as.ndjsonld",type:"application/x-ld+ndjson",extension:".ndjsonld"},{name:"RDF-XML",translateKey:"download.as.rdfxml",type:"application/rdf+xml",extension:".rdf"},{name:"N3",translateKey:"download.as.n3",type:"text/rdf+n3",extension:".n3"},{name:"N-Triples",translateKey:"download.as.ntriples",type:"text/plain",extension:".nt"},{name:"N-Quads",translateKey:"download.as.nquads",type:"text/x-nquads",extension:".nq"},{name:"Turtle",translateKey:"download.as.turtle",type:"text/turtle",extension:".ttl"},{name:"Turtle*",translateKey:"download.as.turtlestar",type:"application/x-turtlestar",extension:".ttls"},{name:"TriX",translateKey:"download.as.trix",type:"application/trix",extension:".trix"},{name:"TriG",translateKey:"download.as.trig",type:"application/x-trig",extension:".trig"},{name:"TriG*",translateKey:"download.as.trigstar",type:"application/x-trigstar",extension:".trigs"},{name:"Binary RDF",translateKey:"download.as.binaryrdf",type:"application/x-binary-rdf",extension:".brf"}])},116:function(e,t,n){"use strict";n.r(t),n.d(t,"ResourceDetails",(function(){return r}));class r{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},153:function(e,t){angular.module("graphdb.framework.rest.explore.rest.service",[]).factory("ExploreRestService",n),n.$inject=["$http"];function n(e){return{getResourceDetails:(t,n,r,o)=>e.get("rest/explore/details",{params:{uri:t,triple:n,context:r},headers:{Accept:o||"application/json"}}),getGraph:(t,n,r)=>e.get("rest/explore/graph",{params:{uri:t.uri,triple:t.triple,inference:t.contextType.id,role:t.role,bnodes:t.blanks,sameAs:t.sameAs,context:t.context},headers:{Accept:n||"application/x-graphdb-table-results+json",Link:r?"<"+r+">":""}}).then(e=>e.data)}}},154:function(e,t,n){"use strict";n.r(t),n.d(t,"ResourceInfo",(function(){return i}));var r=n(116),o=n(99);class i{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=o.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new r.ResourceDetails,this.blanks=!0}}},155:function(e,t,n){"use strict";n.r(t),n.d(t,"RoleType",(function(){return r}));const r={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}},197:function(e,t){function n(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,n,r){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:r.fitTextMin||"inherit",max:r.fitTextMax||"inherit",calcSize:10,lines:1},i=n.parent(),a=n[0],s=a.style,l=window.getComputedStyle(n[0],null),c=n.children().length||o.lines,u="inherit"===o.min?l["font-size"]:o.min,d="inherit"===o.max?l["font-size"]:o.max,p=l["line-height"],g=l.display;let f;function m(){const e=o.calcSize*c/a.offsetWidth/c;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(i[0]).paddingLeft),n=parseFloat(getComputedStyle(i[0]).paddingRight);return(i[0].offsetWidth-(t+n))*e*o.compressor}(e),parseFloat(d)),parseFloat(u))}function h(){f&&e.cancel(f),f=e((function(){a.offsetHeight*a.offsetWidth!=0&&(s.fontSize=o.calcSize+"px",s.lineHeight="1",s.display="inline-block",s.fontSize=m()+"px",s.lineHeight=p,s.display=g)}),o.loadDelay)}t.$watch((function(){return[i[0].offsetWidth,n[0].offsetWidth].join("_")}),(function(){h()})),$(window).on("resize",o.debounce((function(){t.$apply(h)}),o.delay)),t.$on("$destroy",(function(){f&&e.cancel(f),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",n),n.$inject=["$timeout"]},210:function(e,t){function n(){return{transformToTrig:function(e){let t="";const n={};for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r.context?r.context="":r.context=_.trim(r.context),angular.isUndefined(n[r.context])){const e=[];e.push(r),n[r.context]=e}else n[r.context].push(r)}const r=Object.keys(n);for(let e=0;e<r.length;e++){const o=r[e];t+=""===o?"\n{":"\n<"+o+"> {";const i=n[o];for(let e=0;e<i.length;e++){const n=i[e];t+="\n\t<"+n.subject+"> <"+n.predicate+"> ";let r=n.object.value;"uri"===n.object.type?t+="<"+r+"> .":r.toString().includes('"')?("'"===r[0]&&(r='"'+r.slice(1,r.length)),r[r.length-1]&&(r=r.slice(0,-1)+'"'),t+="'''"+r+"'''"+(n.object.datatype?"^^<"+n.object.datatype+">":n.object.lang?"@"+n.object.lang:"")+" ."):t+='"""'+r+'"""'+(n.object.datatype?"^^<"+n.object.datatype+">":n.object.lang?"@"+n.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const n=[];if(!_.isEmpty(e.data)){const r=e.data[t],o=Object.keys(r);for(let e=0;e<o.length;e++){const i=o[e],a=r[i];for(let e=0;e<a.length;e++){const r=a[e];for(let e=0;e<r.graphs.length;e++){let o=r.graphs[e];"http://www.ontotext.com/explicit"===o&&(o=""),r.lang&&(r.datatype=""),r.datatype||(r.datatype=""),n.push({subject:t,predicate:i,object:{value:r.value,type:r.type,datatype:r.datatype,lang:r.lang},context:o})}}}}return n},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",n),n.$inject=[]},211:function(e,t,n){"use strict";n.r(t);n(115),n(153);var r=n(502),o=n(0),i=n(154),a=n(99),s=n(155),l=n(72),c=n(15),u=n(604),d=n(104);function p(e,t,n,o,p,g,f,m,h,w,x,v,y,b){let S;e.ContextTypes=a.ContextTypes,e.contextTypes=a.ContextType.getAllType(),e.currentContextTypeId=a.ContextTypes.EXPLICIT.id,e.roles=[s.RoleType.SUBJECT,s.RoleType.PREDICATE,s.RoleType.OBJECT,s.RoleType.CONTEXT,s.RoleType.ALL],e.resourceInfo=void 0,e.isLoading=!1,e.fileTypes=w,e.toggleSameAs=()=>{e.resourceInfo.sameAs=!e.resourceInfo.sameAs,e.exploreResource()},e.getActiveRepository=()=>p.getActiveRepository(),e.isTripleResource=()=>!!e.resourceInfo.triple,e.encodeURIComponent=e=>encodeURIComponent(e),e.getRdfStarLocalNames=e=>{let t=e.slice();return e.replace(/[<>]+/g,"").split(" ").forEach(e=>{t=t.replace(e,f.getLocalName(e))}),t},e.getLocalName=e=>f.getLocalName(e);e.loadResource=()=>{b.getResourceDetails(e.resourceInfo.uri,e.resourceInfo.triple,e.resourceInfo.context).success(t=>{e.resourceInfo.details=t,e.resourceInfo.context=e.resourceInfo.details.context,"object"!==e.resourceInfo.uri&&(e.resourceInfo.details.encodeURI=encodeURIComponent(e.resourceInfo.details.uri))}).error(e=>n.error(v.instant("explore.error.resource.details",{data:getError(e)}))),e.exploreResource()},e.isContextAvailable=()=>null!==e.resourceInfo.context&&"http://rdf4j.org/schema/rdf4j#SHACLShapeGraph"===e.resourceInfo.context,e.goToGraphsViz=()=>{t.path("graphs-visualizations").search("uri",e.resourceInfo.uri)},e.exploreResource=()=>{I(!0),null!=o.context&&(e.resourceInfo.context=o.context),t.search("role",e.resourceInfo.role),t.replace(),T()},e.downloadExport=t=>{b.getGraph(e.resourceInfo,t.type).then(e=>{t.type.indexOf("json")>-1&&(e=JSON.stringify(e));const n=navigator.userAgent.toLowerCase();if(-1!==n.indexOf("safari")&&-1===n.indexOf("chrome"))window.open('data:attachment/csv;filename="statements.'+t.extension+'",'+encodeURIComponent(e),"statements."+t.extension);else{const n=new Blob([e],{type:t.type});Object(r.saveAs)(n,"statements"+t.extension)}}).catch(e=>{n.error(getError(e),v.instant("common.error"))}).finally(()=>{I(!1)})},e.openJSONLDExportSettings=function(t){g.open({templateUrl:"js/angular/core/components/export-settings-modal/exportSettingsModal.html",controller:d.ExportSettingsCtrl,size:"lg",scope:e,resolve:{format:function(){return t.name}}}).result.then((function(n){e.downloadJSONLDExport(t,n.link,n.currentMode)}))},e.downloadJSONLDExport=function(t,o,i){b.getGraph(e.resourceInfo,t.type,o).then((async function(e){if("JSON"===t.name&&(e=JSON.stringify(e)),"JSON-LD"===t.name)switch(i.name){case"expanded":e=await u.expand(e),e=JSON.stringify(e);break;case"flattened":e=await u.flatten(e,o),e=JSON.stringify(e);break;case"compacted":e=await u.compact(e,o),e=JSON.stringify(e);break;case"context":e=await u.context(e,o),e=JSON.stringify(e);break;case"frame":e=await u.frame(e,o),e=JSON.stringify(e);break;case"framed":e=await u.compact(e,o),e=JSON.stringify(e)}const n=navigator.userAgent.toLowerCase();if(-1!==n.indexOf("safari")&&-1===n.indexOf("chrome"))window.open('data:attachment/csv;filename="statements.'+t.extension+'",'+encodeURIComponent(e),"statements."+t.extension);else{const n=new Blob([e],{type:t.type});Object(r.saveAs)(n,"statements"+t.extension)}})).catch((function(e){const t=getError(e);n.error(t,v.instant("common.error"))}))},e.changeRole=t=>{e.resourceInfo.role=t,e.resourceInfo.role===s.RoleType.CONTEXT&&(e.resourceInfo.contextType=a.ContextTypes.EXPLICIT),e.exploreResource()},e.changeInference=t=>{e.resourceInfo.contextType=a.ContextType.getContextType(t),e.exploreResource()},e.copyToClipboardResult=e=>{m.openCopyToClipboardModal(e)};const R=()=>{var n;e.resourceInfo||(e.resourceInfo=new i.ResourceInfo,n=e.resourceInfo,o.prefix&&o.localName&&S[o.prefix]?n.uri=S[o.prefix]+o.localName:t.search().uri?n.uri=t.search().uri+(t.hash()?"#"+t.hash():""):t.search().triple?n.triple=t.search().triple+(t.hash()?"#"+t.hash():""):n.uri=t.absUrl(),n.uri=n.uri&&n.uri.replace(/<|>/g,""),null!=o.context&&(e.resourceInfo.context=o.context),e.resourceInfo.role=t.search().role?t.search().role:s.RoleType.SUBJECT)},I=t=>{e.isLoading=!!t},C=()=>({showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showResultInfo:!0,downloadAsOn:!1,showQueryButton:!1,componentId:"resource-view-component",prefixes:S,maxPersistentResponseSize:0,render:l.RenderingMode.YASR,showYasqeActionButtons:!1,yasqeActionButtons:c.DISABLE_YASQE_BUTTONS_CONFIGURATION}),T=()=>{b.getGraph(e.resourceInfo).then(t=>{((t={})=>{const n={};angular.extend(n,e.yasguiConfig||C(),t),e.yasguiConfig=n})({sparqlResponse:t})}).catch(e=>{n.error(v.instant("explore.error.resource",{data:getError(e)}))}).finally(()=>{I(!1)})},$=t=>{e.resourceInfo.contextType=t.appSettings.DEFAULT_INFERENCE&&!e.resourceInfo.role===s.RoleType.CONTEXT?a.ContextTypes.ALL:a.ContextTypes.EXPLICIT,e.resourceInfo.sameAs=t.appSettings.DEFAULT_INFERENCE&&t.appSettings.DEFAULT_SAMEAS};e.$on("$destroy",()=>{L.forEach(e=>e())});const L=[];L.push(e.$watch((function(){return e.getActiveRepositoryObject()}),(function(t){t&&Promise.all([x.getPrincipal(),p.getPrefixes(p.getActiveRepository())]).then(([t,n])=>{R(),$(t),S=n,e.loadResource()}).catch(e=>{n.error(v.instant("get.namespaces.error.msg",{error:getError(e)}))})})))}function g(e,t,n,r,i,a,s,l,c,u,d,p){function g(){l.checkAutocompleteStatus().success((function(t){if(!t){const e=Object(o.decodeHTML)(p.instant("explore.autocomplete.warning.msg"));s.warning("",`<div class="autocomplete-toast"><a href="autocomplete">${e}</a></div>`,{allowHtml:!0})}e.autocompleteEnabled=t})).error((function(){s.error(p.instant("explore.error.autocomplete"))}))}function f(){d.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}})),e.loader=!1})).error((function(t){const n=getError(t);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e){const t=e.indexOf("<")>=0&&e.lastIndexOf(">")===e.length-1,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?[http|urn].*>?$/.test(e)&&(t||n);let o=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");o=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(o=e.substring(4).length>0);return r&&o}let h,w;function x(t){function r(t){a((function(){e.form&&(e.form.$dirty=t)}))}t||(t=document.getElementById("resources_finder_value").value),t&&m(t)?(r(!1),n.path("resource").search("uri",t)):(r(!0),t&&s.error(p.instant("explore.error.invalid.input")))}e.submit=x,e.getAutocompleteSuggestions=function(t){if(!/<|>/.test(t)&&":"===t.slice(-1)){const n=c.getNamespaceUriForPrefix(e.namespaces,t.slice(0,-1));w=n!==w?n:w,w&&$("#resources_finder_value").val(w)}let n;if(e.autocompleteEnabled){const e=t.replace(w,w+";");n=l.getAutocompleteSuggestions(e)}else n=i.when(e.autocompleteEnabled);return n},e.inputChangedFn=function(){h=document.getElementById("resources_finder_value").value,e.form.$dirty=!(h&&m(h))},e.selectedUriCallback=function(t){e.selectedUri={name:t.title},x(e.selectedUri.name)},e.selectedUri={name:""},e.autocompleteEnabled=!1,angular.isDefined(u.search)&&a((function(){$("#resources_finder_value").val(u.search),$(".search-button").click()}),500),e.getActiveRepository()&&(g(),f()),e.$on("repositoryIsSet",(function(){g(),f()}))}function f(e,t,n,r,o,i,a,s,l,c,u,d){e.uriParam=n.search().uri,e.newRow={subject:e.uriParam,object:{type:"uri",datatype:""}},e.newResource=!1,e.datatypeOptions=l.getDatatypeOptions(),e.activeRepository=function(){return o.getActiveRepository()},e.getClassInstancesDetails=function(){c.getNamespaces(e.activeRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}})),e.loader=!1})).error((function(t){const n=getError(t);r.error(n,u.instant("common.error")),e.loader=!1})),s.getDetails(e.uriParam).success((function(t){e.details=t,e.details.encodeURI=encodeURIComponent(e.details.uri)})).error((function(e){r.error(u.instant("explore.error.resource.details",{data:getError(e)}))})),s.getGraph(e.uriParam).then((function(t){const n=l.buildStatements(t,e.uriParam);e.statements=n,e.newResource=!n.length}))},e.addStatement=function(){e.newRowPredicate.$setSubmitted(),e.newRowObject.$setSubmitted(),e.newRowContext.$setSubmitted(),e.newRowPredicate.$valid&&e.newRowObject.$valid&&e.newRowContext.$valid&&(e.statements.push(_.cloneDeep(e.newRow)),e.newRow={subject:e.uriParam,object:{type:"uri",datatype:""}},e.newRowPredicate.$setPristine(),e.newRowPredicate.$setUntouched(),e.newRowObject.$setPristine(),e.newRowObject.$setUntouched(),e.newRowContext.$setPristine(),e.newRowContext.$setUntouched())},e.removeStatement=function(t){e.statements.splice(t,1)},e.getLocalName=function(e){return s.getLocalName(e)},e.checkValid=function(e){if(!angular.isUndefined(e))return!0;return u.instant("explore.validation")},e.validEditRow=function(){return e.rowform.$valid},e.viewTrig=function(){i.open({templateUrl:"js/angular/explore/templates/viewTrig.html",controller:"ViewTrigCtrl",size:"lg",resolve:{data:function(){return l.transformToTrig(e.statements)}}})},e.save=function(){const o=e.newResource?"POST":"PUT";t({method:o,url:"rest/resource?uri="+encodeURIComponent(e.uriParam),headers:{"Content-Type":"application/x-trig"},data:l.transformToTrig(e.statements)}).success((function(){r.success(u.instant("explore.resource.saved"));const t=a((function(){n.path("resource").search("uri",e.uriParam)}),500);e.$on("$destroy",(function(){a.cancel(t)}))})).error((function(e){r.error(getError(e))}))},e.$watch((function(){return o.getActiveRepository()}),(function(){e.activeRepository()&&e.getClassInstancesDetails()})),e.hasAdminRole=()=>d.isAuthenticated()&&d.hasAdminRole(),e.validateUri=function(t){let n=!0;const r=t||"";if(-1===r.indexOf(":"))n=!1;else{const t=r.substring(0,r.indexOf(":"));if(""===s.getNamespaceUriForPrefix(e.namespaces,t)){!1===/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(r)&&(n=!1);const e=r.match(/\//g);(void 0===e||e.length<3)&&(n=!1)}else{r.substring(r.indexOf(":")+1).trim().length<1&&(n=!1)}}return n}}function m(e,t,n){e.trig=n,e.cancel=function(){t.dismiss("cancel")}}angular.module("graphdb.framework.explore.controllers",["ngCookies","ngRoute","ui.bootstrap","toastr","graphdb.framework.core","graphdb.framework.core.services.repositories","graphdb.framework.explore.services","graphdb.workbench.utils.filetypes","graphdb.framework.rest.explore.rest.service"]).controller("FindResourceCtrl",g).controller("ExploreCtrl",p).controller("EditResourceCtrl",f).controller("ViewTrigCtrl",m),p.$inject=["$scope","$location","toastr","$routeParams","$repositories","$uibModal","ClassInstanceDetailsService","ModalService","RDF4JRepositoriesRestService","FileTypes","$jwtAuth","$translate","$q","ExploreRestService"],g.$inject=["$scope","$http","$location","$repositories","$q","$timeout","toastr","AutocompleteRestService","ClassInstanceDetailsService","$routeParams","RDF4JRepositoriesRestService","$translate"],f.$inject=["$scope","$http","$location","toastr","$repositories","$uibModal","$timeout","ClassInstanceDetailsService","StatementsService","RDF4JRepositoriesRestService","$translate","$jwtAuth"],m.$inject=["$scope","$uibModalInstance","data"]},212:function(e,t,n){"use strict";n.r(t);n(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(e){return{require:"ngModel",link:function(t,n,r,o){o.$parsers.unshift((function(t){if(!angular.isUndefined(t)&&t.length>0){const n=e.validateRdfUri(t);return o.$setValidity("searchStr",n),n?t:void 0}return o.$setValidity("searchStr",!0),t})),o.$formatters.unshift((function(t){return angular.isUndefined(t)||o.$setValidity("searchStr",e.validateRdfUri),t}))}}}])},295:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(210),n(211),n(212),n(612),n(766),n(197),n(111);angular.module("graphdb.framework.explore",["ngRoute","toastr","xeditable","angucomplete-alt-onto","graphdb.framework.explore.services","graphdb.framework.explore.controllers","graphdb.framework.explore.directives","graphdb.framework.core.directives.fittext","graphdb.framework.core.directives.yasgui-component"])},609:function(e,t){},72:function(e,t,n){"use strict";n.r(t),n.d(t,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},766:function(e,t){
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[25,74,135,141,143,222,236,237,239,278,304],{116:function(e,t){angular.module("graphdb.workbench.utils.filetypes",[]).value("FileTypes",[{name:"JSON",translateKey:"download.as.json",type:"application/rdf+json",extension:".json"},{name:"JSON-LD",translateKey:"download.as.jsonld",type:"application/ld+json",extension:".jsonld"},{name:"NDJSON-LD",translateKey:"download.as.ndjsonld",type:"application/x-ld+ndjson",extension:".ndjsonld"},{name:"RDF-XML",translateKey:"download.as.rdfxml",type:"application/rdf+xml",extension:".rdf"},{name:"N3",translateKey:"download.as.n3",type:"text/rdf+n3",extension:".n3"},{name:"N-Triples",translateKey:"download.as.ntriples",type:"text/plain",extension:".nt"},{name:"N-Quads",translateKey:"download.as.nquads",type:"text/x-nquads",extension:".nq"},{name:"Turtle",translateKey:"download.as.turtle",type:"text/turtle",extension:".ttl"},{name:"Turtle*",translateKey:"download.as.turtlestar",type:"application/x-turtlestar",extension:".ttls"},{name:"TriX",translateKey:"download.as.trix",type:"application/trix",extension:".trix"},{name:"TriG",translateKey:"download.as.trig",type:"application/x-trig",extension:".trig"},{name:"TriG*",translateKey:"download.as.trigstar",type:"application/x-trigstar",extension:".trigs"},{name:"Binary RDF",translateKey:"download.as.binaryrdf",type:"application/x-binary-rdf",extension:".brf"}])},117:function(e,t,n){"use strict";n.r(t),n.d(t,"ResourceDetails",(function(){return r}));class r{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},154:function(e,t){angular.module("graphdb.framework.rest.explore.rest.service",[]).factory("ExploreRestService",n),n.$inject=["$http"];function n(e){return{getResourceDetails:(t,n,r,o)=>e.get("rest/explore/details",{params:{uri:t,triple:n,context:r},headers:{Accept:o||"application/json"}}),getGraph:(t,n,r)=>e.get("rest/explore/graph",{params:{uri:t.uri,triple:t.triple,inference:t.contextType.id,role:t.role,bnodes:t.blanks,sameAs:t.sameAs,context:t.context},headers:{Accept:n||"application/x-graphdb-table-results+json",Link:r?"<"+r+">":""}}).then(e=>e.data)}}},155:function(e,t,n){"use strict";n.r(t),n.d(t,"ResourceInfo",(function(){return i}));var r=n(117),o=n(99);class i{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=o.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new r.ResourceDetails,this.blanks=!0}}},156:function(e,t,n){"use strict";n.r(t),n.d(t,"RoleType",(function(){return r}));const r={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}},198:function(e,t){function n(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,n,r){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:r.fitTextMin||"inherit",max:r.fitTextMax||"inherit",calcSize:10,lines:1},i=n.parent(),a=n[0],s=a.style,l=window.getComputedStyle(n[0],null),c=n.children().length||o.lines,u="inherit"===o.min?l["font-size"]:o.min,d="inherit"===o.max?l["font-size"]:o.max,p=l["line-height"],g=l.display;let f;function m(){const e=o.calcSize*c/a.offsetWidth/c;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(i[0]).paddingLeft),n=parseFloat(getComputedStyle(i[0]).paddingRight);return(i[0].offsetWidth-(t+n))*e*o.compressor}(e),parseFloat(d)),parseFloat(u))}function h(){f&&e.cancel(f),f=e((function(){a.offsetHeight*a.offsetWidth!=0&&(s.fontSize=o.calcSize+"px",s.lineHeight="1",s.display="inline-block",s.fontSize=m()+"px",s.lineHeight=p,s.display=g)}),o.loadDelay)}t.$watch((function(){return[i[0].offsetWidth,n[0].offsetWidth].join("_")}),(function(){h()})),$(window).on("resize",o.debounce((function(){t.$apply(h)}),o.delay)),t.$on("$destroy",(function(){f&&e.cancel(f),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",n),n.$inject=["$timeout"]},211:function(e,t){function n(){return{transformToTrig:function(e){let t="";const n={};for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r.context?r.context="":r.context=_.trim(r.context),angular.isUndefined(n[r.context])){const e=[];e.push(r),n[r.context]=e}else n[r.context].push(r)}const r=Object.keys(n);for(let e=0;e<r.length;e++){const o=r[e];t+=""===o?"\n{":"\n<"+o+"> {";const i=n[o];for(let e=0;e<i.length;e++){const n=i[e];t+="\n\t<"+n.subject+"> <"+n.predicate+"> ";let r=n.object.value;"uri"===n.object.type?t+="<"+r+"> .":r.toString().includes('"')?("'"===r[0]&&(r='"'+r.slice(1,r.length)),r[r.length-1]&&(r=r.slice(0,-1)+'"'),t+="'''"+r+"'''"+(n.object.datatype?"^^<"+n.object.datatype+">":n.object.lang?"@"+n.object.lang:"")+" ."):t+='"""'+r+'"""'+(n.object.datatype?"^^<"+n.object.datatype+">":n.object.lang?"@"+n.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const n=[];if(!_.isEmpty(e.data)){const r=e.data[t],o=Object.keys(r);for(let e=0;e<o.length;e++){const i=o[e],a=r[i];for(let e=0;e<a.length;e++){const r=a[e];for(let e=0;e<r.graphs.length;e++){let o=r.graphs[e];"http://www.ontotext.com/explicit"===o&&(o=""),r.lang&&(r.datatype=""),r.datatype||(r.datatype=""),n.push({subject:t,predicate:i,object:{value:r.value,type:r.type,datatype:r.datatype,lang:r.lang},context:o})}}}}return n},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",n),n.$inject=[]},212:function(e,t,n){"use strict";n.r(t);n(116),n(154);var r=n(503),o=n(0),i=n(155),a=n(99),s=n(156),l=n(72),c=n(15),u=n(605),d=n(104);function p(e,t,n,o,p,g,f,m,h,w,x,v,y,b){let S;e.ContextTypes=a.ContextTypes,e.contextTypes=a.ContextType.getAllType(),e.currentContextTypeId=a.ContextTypes.EXPLICIT.id,e.roles=[s.RoleType.SUBJECT,s.RoleType.PREDICATE,s.RoleType.OBJECT,s.RoleType.CONTEXT,s.RoleType.ALL],e.resourceInfo=void 0,e.isLoading=!1,e.fileTypes=w,e.toggleSameAs=()=>{e.resourceInfo.sameAs=!e.resourceInfo.sameAs,e.exploreResource()},e.getActiveRepository=()=>p.getActiveRepository(),e.isTripleResource=()=>!!e.resourceInfo.triple,e.encodeURIComponent=e=>encodeURIComponent(e),e.getRdfStarLocalNames=e=>{let t=e.slice();return e.replace(/[<>]+/g,"").split(" ").forEach(e=>{t=t.replace(e,f.getLocalName(e))}),t},e.getLocalName=e=>f.getLocalName(e);e.loadResource=()=>{b.getResourceDetails(e.resourceInfo.uri,e.resourceInfo.triple,e.resourceInfo.context).success(t=>{e.resourceInfo.details=t,e.resourceInfo.context=e.resourceInfo.details.context,"object"!==e.resourceInfo.uri&&(e.resourceInfo.details.encodeURI=encodeURIComponent(e.resourceInfo.details.uri))}).error(e=>n.error(v.instant("explore.error.resource.details",{data:getError(e)}))),e.exploreResource()},e.isContextAvailable=()=>null!==e.resourceInfo.context&&"http://rdf4j.org/schema/rdf4j#SHACLShapeGraph"===e.resourceInfo.context,e.goToGraphsViz=()=>{t.path("graphs-visualizations").search("uri",e.resourceInfo.uri)},e.exploreResource=()=>{I(!0),null!=o.context&&(e.resourceInfo.context=o.context),t.search("role",e.resourceInfo.role),t.replace(),T()},e.downloadExport=t=>{b.getGraph(e.resourceInfo,t.type).then(e=>{t.type.indexOf("json")>-1&&(e=JSON.stringify(e));const n=navigator.userAgent.toLowerCase();if(-1!==n.indexOf("safari")&&-1===n.indexOf("chrome"))window.open('data:attachment/csv;filename="statements.'+t.extension+'",'+encodeURIComponent(e),"statements."+t.extension);else{const n=new Blob([e],{type:t.type});Object(r.saveAs)(n,"statements"+t.extension)}}).catch(e=>{n.error(getError(e),v.instant("common.error"))}).finally(()=>{I(!1)})},e.openJSONLDExportSettings=function(t){g.open({templateUrl:"js/angular/core/components/export-settings-modal/exportSettingsModal.html",controller:d.ExportSettingsCtrl,size:"lg",scope:e,resolve:{format:function(){return t.name}}}).result.then((function(n){e.downloadJSONLDExport(t,n.link,n.currentMode)}))},e.downloadJSONLDExport=function(t,o,i){b.getGraph(e.resourceInfo,t.type,o).then((async function(e){if("JSON"===t.name&&(e=JSON.stringify(e)),"JSON-LD"===t.name)switch(i.name){case"expanded":e=await u.expand(e),e=JSON.stringify(e);break;case"flattened":e=await u.flatten(e,o),e=JSON.stringify(e);break;case"compacted":e=await u.compact(e,o),e=JSON.stringify(e);break;case"context":e=await u.context(e,o),e=JSON.stringify(e);break;case"frame":e=await u.frame(e,o),e=JSON.stringify(e);break;case"framed":e=await u.compact(e,o),e=JSON.stringify(e)}const n=navigator.userAgent.toLowerCase();if(-1!==n.indexOf("safari")&&-1===n.indexOf("chrome"))window.open('data:attachment/csv;filename="statements.'+t.extension+'",'+encodeURIComponent(e),"statements."+t.extension);else{const n=new Blob([e],{type:t.type});Object(r.saveAs)(n,"statements"+t.extension)}})).catch((function(e){const t=getError(e);n.error(t,v.instant("common.error"))}))},e.changeRole=t=>{e.resourceInfo.role=t,e.resourceInfo.role===s.RoleType.CONTEXT&&(e.resourceInfo.contextType=a.ContextTypes.EXPLICIT),e.exploreResource()},e.changeInference=t=>{e.resourceInfo.contextType=a.ContextType.getContextType(t),e.exploreResource()},e.copyToClipboardResult=e=>{m.openCopyToClipboardModal(e)};const R=()=>{var n;e.resourceInfo||(e.resourceInfo=new i.ResourceInfo,n=e.resourceInfo,o.prefix&&o.localName&&S[o.prefix]?n.uri=S[o.prefix]+o.localName:t.search().uri?n.uri=t.search().uri+(t.hash()?"#"+t.hash():""):t.search().triple?n.triple=t.search().triple+(t.hash()?"#"+t.hash():""):n.uri=t.absUrl(),n.uri=n.uri&&n.uri.replace(/<|>/g,""),null!=o.context&&(e.resourceInfo.context=o.context),e.resourceInfo.role=t.search().role?t.search().role:s.RoleType.SUBJECT)},I=t=>{e.isLoading=!!t},C=()=>({showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showResultInfo:!0,downloadAsOn:!1,showQueryButton:!1,componentId:"resource-view-component",prefixes:S,maxPersistentResponseSize:0,render:l.RenderingMode.YASR,showYasqeActionButtons:!1,yasqeActionButtons:c.DISABLE_YASQE_BUTTONS_CONFIGURATION}),T=()=>{b.getGraph(e.resourceInfo).then(t=>{((t={})=>{const n={};angular.extend(n,e.yasguiConfig||C(),t),e.yasguiConfig=n})({sparqlResponse:t})}).catch(e=>{n.error(v.instant("explore.error.resource",{data:getError(e)}))}).finally(()=>{I(!1)})},$=t=>{e.resourceInfo.contextType=t.appSettings.DEFAULT_INFERENCE&&!e.resourceInfo.role===s.RoleType.CONTEXT?a.ContextTypes.ALL:a.ContextTypes.EXPLICIT,e.resourceInfo.sameAs=t.appSettings.DEFAULT_INFERENCE&&t.appSettings.DEFAULT_SAMEAS};e.$on("$destroy",()=>{L.forEach(e=>e())});const L=[];L.push(e.$watch((function(){return e.getActiveRepositoryObject()}),(function(t){t&&Promise.all([x.getPrincipal(),p.getPrefixes(p.getActiveRepository())]).then(([t,n])=>{R(),$(t),S=n,e.loadResource()}).catch(e=>{n.error(v.instant("get.namespaces.error.msg",{error:getError(e)}))})})))}function g(e,t,n,r,i,a,s,l,c,u,d,p){function g(){l.checkAutocompleteStatus().success((function(t){if(!t){const e=Object(o.decodeHTML)(p.instant("explore.autocomplete.warning.msg"));s.warning("",`<div class="autocomplete-toast"><a href="autocomplete">${e}</a></div>`,{allowHtml:!0})}e.autocompleteEnabled=t})).error((function(){s.error(p.instant("explore.error.autocomplete"))}))}function f(){d.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}})),e.loader=!1})).error((function(t){const n=getError(t);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e){const t=e.indexOf("<")>=0&&e.lastIndexOf(">")===e.length-1,n=-1===e.indexOf("<")&&-1===e.lastIndexOf(">"),r=/^<?[http|urn].*>?$/.test(e)&&(t||n);let o=!1;if(r)if(e.indexOf("http")>=0){const t=e.indexOf("//");o=t>4&&e.substring(t+2).length>0}else e.indexOf("urn")>=0&&(o=e.substring(4).length>0);return r&&o}let h,w;function x(t){function r(t){a((function(){e.form&&(e.form.$dirty=t)}))}t||(t=document.getElementById("resources_finder_value").value),t&&m(t)?(r(!1),n.path("resource").search("uri",t)):(r(!0),t&&s.error(p.instant("explore.error.invalid.input")))}e.submit=x,e.getAutocompleteSuggestions=function(t){if(!/<|>/.test(t)&&":"===t.slice(-1)){const n=c.getNamespaceUriForPrefix(e.namespaces,t.slice(0,-1));w=n!==w?n:w,w&&$("#resources_finder_value").val(w)}let n;if(e.autocompleteEnabled){const e=t.replace(w,w+";");n=l.getAutocompleteSuggestions(e)}else n=i.when(e.autocompleteEnabled);return n},e.inputChangedFn=function(){h=document.getElementById("resources_finder_value").value,e.form.$dirty=!(h&&m(h))},e.selectedUriCallback=function(t){e.selectedUri={name:t.title},x(e.selectedUri.name)},e.selectedUri={name:""},e.autocompleteEnabled=!1,angular.isDefined(u.search)&&a((function(){$("#resources_finder_value").val(u.search),$(".search-button").click()}),500),e.getActiveRepository()&&(g(),f()),e.$on("repositoryIsSet",(function(){g(),f()}))}function f(e,t,n,r,o,i,a,s,l,c,u,d){e.uriParam=n.search().uri,e.newRow={subject:e.uriParam,object:{type:"uri",datatype:""}},e.newResource=!1,e.datatypeOptions=l.getDatatypeOptions(),e.activeRepository=function(){return o.getActiveRepository()},e.getClassInstancesDetails=function(){c.getNamespaces(e.activeRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,uri:e.namespace.value}})),e.loader=!1})).error((function(t){const n=getError(t);r.error(n,u.instant("common.error")),e.loader=!1})),s.getDetails(e.uriParam).success((function(t){e.details=t,e.details.encodeURI=encodeURIComponent(e.details.uri)})).error((function(e){r.error(u.instant("explore.error.resource.details",{data:getError(e)}))})),s.getGraph(e.uriParam).then((function(t){const n=l.buildStatements(t,e.uriParam);e.statements=n,e.newResource=!n.length}))},e.addStatement=function(){e.newRowPredicate.$setSubmitted(),e.newRowObject.$setSubmitted(),e.newRowContext.$setSubmitted(),e.newRowPredicate.$valid&&e.newRowObject.$valid&&e.newRowContext.$valid&&(e.statements.push(_.cloneDeep(e.newRow)),e.newRow={subject:e.uriParam,object:{type:"uri",datatype:""}},e.newRowPredicate.$setPristine(),e.newRowPredicate.$setUntouched(),e.newRowObject.$setPristine(),e.newRowObject.$setUntouched(),e.newRowContext.$setPristine(),e.newRowContext.$setUntouched())},e.removeStatement=function(t){e.statements.splice(t,1)},e.getLocalName=function(e){return s.getLocalName(e)},e.checkValid=function(e){if(!angular.isUndefined(e))return!0;return u.instant("explore.validation")},e.validEditRow=function(){return e.rowform.$valid},e.viewTrig=function(){i.open({templateUrl:"js/angular/explore/templates/viewTrig.html",controller:"ViewTrigCtrl",size:"lg",resolve:{data:function(){return l.transformToTrig(e.statements)}}})},e.save=function(){const o=e.newResource?"POST":"PUT";t({method:o,url:"rest/resource?uri="+encodeURIComponent(e.uriParam),headers:{"Content-Type":"application/x-trig"},data:l.transformToTrig(e.statements)}).success((function(){r.success(u.instant("explore.resource.saved"));const t=a((function(){n.path("resource").search("uri",e.uriParam)}),500);e.$on("$destroy",(function(){a.cancel(t)}))})).error((function(e){r.error(getError(e))}))},e.$watch((function(){return o.getActiveRepository()}),(function(){e.activeRepository()&&e.getClassInstancesDetails()})),e.hasAdminRole=()=>d.isAuthenticated()&&d.hasAdminRole(),e.validateUri=function(t){let n=!0;const r=t||"";if(-1===r.indexOf(":"))n=!1;else{const t=r.substring(0,r.indexOf(":"));if(""===s.getNamespaceUriForPrefix(e.namespaces,t)){!1===/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(r)&&(n=!1);const e=r.match(/\//g);(void 0===e||e.length<3)&&(n=!1)}else{r.substring(r.indexOf(":")+1).trim().length<1&&(n=!1)}}return n}}function m(e,t,n){e.trig=n,e.cancel=function(){t.dismiss("cancel")}}angular.module("graphdb.framework.explore.controllers",["ngCookies","ngRoute","ui.bootstrap","toastr","graphdb.framework.core","graphdb.framework.core.services.repositories","graphdb.framework.explore.services","graphdb.workbench.utils.filetypes","graphdb.framework.rest.explore.rest.service"]).controller("FindResourceCtrl",g).controller("ExploreCtrl",p).controller("EditResourceCtrl",f).controller("ViewTrigCtrl",m),p.$inject=["$scope","$location","toastr","$routeParams","$repositories","$uibModal","ClassInstanceDetailsService","ModalService","RDF4JRepositoriesRestService","FileTypes","$jwtAuth","$translate","$q","ExploreRestService"],g.$inject=["$scope","$http","$location","$repositories","$q","$timeout","toastr","AutocompleteRestService","ClassInstanceDetailsService","$routeParams","RDF4JRepositoriesRestService","$translate"],f.$inject=["$scope","$http","$location","toastr","$repositories","$uibModal","$timeout","ClassInstanceDetailsService","StatementsService","RDF4JRepositoriesRestService","$translate","$jwtAuth"],m.$inject=["$scope","$uibModalInstance","data"]},213:function(e,t,n){"use strict";n.r(t);n(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(e){return{require:"ngModel",link:function(t,n,r,o){o.$parsers.unshift((function(t){if(!angular.isUndefined(t)&&t.length>0){const n=e.validateRdfUri(t);return o.$setValidity("searchStr",n),n?t:void 0}return o.$setValidity("searchStr",!0),t})),o.$formatters.unshift((function(t){return angular.isUndefined(t)||o.$setValidity("searchStr",e.validateRdfUri),t}))}}}])},296:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(211),n(212),n(213),n(613),n(767),n(198),n(111);angular.module("graphdb.framework.explore",["ngRoute","toastr","xeditable","angucomplete-alt-onto","graphdb.framework.explore.services","graphdb.framework.explore.controllers","graphdb.framework.explore.directives","graphdb.framework.core.directives.fittext","graphdb.framework.core.directives.yasgui-component"])},610:function(e,t){},72:function(e,t,n){"use strict";n.r(t),n.d(t,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},767:function(e,t){
|
|
2
2
|
/*! Copyright (c) 2014 Hidenari Nozaki and contributors | Licensed under the MIT license */
|
|
3
3
|
!function(e,t){"use strict";!function(e){e.module("angucomplete-alt-onto",[]).directive("angucompleteAltOnto",["$q","$parse","$http","$sce","$timeout","$templateCache","$interpolate","$rootScope",function(e,t,n,r,o,i,a,s){function l(t,i,a,s){var l,c,u,d,p,g,f=i.find("input"),m=3,h=null,w="autocomplete-required",x=null,v=null,y=i[0].querySelector(".angucomplete-dropdown"),b=!1,S=null;function R(e,n){e&&("object"==typeof e?(t.uri=$(e),T({originalObject:e})):"string"==typeof e&&e.length>0?t.uri=e:console&&console.error&&console.error("Tried to set "+(n?"initial":"")+" value of angucomplete to",e,"which is an invalid value"),j(!0))}function I(e){S=null,t.hideResults(e),document.body.removeEventListener("click",I)}function C(e){return e.which?e.which:e.keyCode}function T(e){"function"==typeof t.selectedObject?t.selectedObject(e):t.selectedObject=e,j(!!e)}function $(e){return t.titleField.split(",").map((function(t){return L(e,t)})).join(" ")}function L(e,t){var n,r;if(t){n=t.split("."),r=e;for(var o=0;o<n.length;o++)r=r[n[o]]}else r=e;return r}function O(e,n){var o,i,a;if(a=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),e)return e.match&&e.replace||(e=e.toString()),o=(i=e.match(a))?e.replace(a,'<span class="'+t.matchClass+'">'+i[0]+"</span>"):e,r.trustAsHtml(o)}function j(e){t.notEmpty=e,x=t.uri,t.fieldRequired&&s&&t.inputName&&s[t.inputName].$setValidity(w,e)}function E(e){!t.overrideSuggestions||t.selectedObject&&t.selectedObject.originalObject===t.uri||(e&&e.preventDefault(),o.cancel(h),k(),T({originalObject:t.uri}),t.clearSelected&&(t.uri=null),P())}function A(){return i[0].querySelectorAll(".angucomplete-row")[t.currentIndex]}function D(e){y.scrollTop=y.scrollTop+e}function U(){var e=t.results[t.currentIndex];if(t.matchClass){var n=$(e.originalObject);n=n.replace(/<b>|<\/b>/g,""),f.val(n)}else f.val(e.title)}function N(e){return function(n,r,o,i){r||o||i||!n.data||(n=n.data),t.searching=!1,B(L(c(n),t.remoteUrlDataField),e)}}function M(e,n,r,o){0!==n&&-1!==n&&(n||r||o||(n=e.status),t.remoteUrlErrorCallback?t.remoteUrlErrorCallback(e,n,r,o):console&&console.error&&console.error("http error"))}function k(){v&&v.resolve()}function F(r){var o={},i=t.remoteUrl+encodeuriComponent(r);t.remoteUrlRequestFormatter&&(o={params:t.remoteUrlRequestFormatter(r)},i=t.remoteUrl),t.remoteUrlRequestWithCredentials&&(o.withCredentials=!0),k(),v=e.defer(),o.timeout=v.promise,n.get(i,o).success(N(r)).error(M)}function X(n){k(),v=e.defer(),t.remoteApiHandler(n,v.promise).then(N(n)).catch(M)}function P(){t.showDropdown=!1,t.results=[],y&&(y.scrollTop=0)}function q(){t.showDropdown=d,t.currentIndex=t.focusFirst?0:-1,t.results=[]}function J(e){!e||e.length<m||(t.localData?t.$apply((function(){var n;n=void 0!==t.localSearch()?t.localSearch()(e):function(e){var n,r,o,i,a=t.searchFields.split(","),s=[];for(void 0!==t.parseInput()&&(e=t.parseInput()(e)),n=0;n<t.localData.length;n++){for(r=!1,o=0;o<a.length;o++)i=L(t.localData[n],a[o])||"",r=r||i.toString().toLowerCase().indexOf(e.toString().toLowerCase())>=0;r&&(s[s.length]=t.localData[n])}return s}(e),t.searching=!1,B(n,e)})):t.remoteApiHandler?X(e):F(e))}function B(e,n){var r,o,i,a,s,l;if(e&&e.length>0)for(t.results=[],r=0;r<e.length;r++)t.titleField&&""!==t.titleField&&(a=s=$(e[r])),o="",t.descriptionField&&(o=l=L(e[r],t.descriptionField)),i="",t.imageField&&(i=L(e[r],t.imageField)),t.matchClass&&(s=O(a,n),l=O(o,n)),t.results[t.results.length]={title:s,description:l,image:i,originalObject:e[r]};else t.results=[];t.autoMatch&&1===t.results.length&&function(e,n,r){if(!r)return!1;for(var o in n)if(n[o].toLowerCase()===r.toLowerCase())return t.selectResult(e),!0;return!1}(t.results[0],{title:a,desc:o||""},t.uri)?t.showDropdown=!1:0!==t.results.length||p?t.showDropdown=!0:t.showDropdown=!1}function _(){t.localData?B(t.localData,""):t.remoteApiHandler?X(""):F("")}i.on("mousedown",(function(e){e.target.id?(S=e.target.id)===t.id+"_dropdown"&&document.body.addEventListener("click",I):S=e.target.className})),t.currentIndex=t.focusFirst?0:null,t.searching=!1,u=t.$watch("initialValue",(function(e){e&&(u(),R(e,!0))})),t.$watch("fieldRequired",(function(e,n){e!==n&&(e?x&&-1!==t.currentIndex?j(!0):j(!1):s[t.inputName].$setValidity(w,!0))})),t.$on("angucomplete-alt:clearInput",(function(e,n){n&&n!==t.id||(t.uri=null,T(),j(!1),P())})),t.$on("angucomplete-alt:changeInput",(function(e,n,r){n&&n===t.id&&R(r)})),t.onFocusHandler=function(){t.focusIn&&t.focusIn(),0!==m||t.uri&&0!==t.uri.length||(t.currentIndex=t.focusFirst?0:t.currentIndex,t.showDropdown=!0,_())},t.hideResults=function(){S&&(S===t.id+"_dropdown"||S.indexOf("angucomplete")>=0)?S=null:(l=o((function(){P(),t.$apply((function(){t.uri&&t.uri.length>0&&f.val(t.uri)}))}),200),k(),t.focusOut&&t.focusOut(),t.overrideSuggestions&&t.uri&&t.uri.length>0&&-1===t.currentIndex&&E())},t.resetHideResults=function(){l&&o.cancel(l)},t.hoverRow=function(e){t.currentIndex=e},t.selectResult=function(e){t.matchClass&&(e.title=$(e.originalObject),"string"==typeof e.title&&(e.title=e.title.replace(/<b>|<\/b>/g,"")),e.description=L(e.originalObject,t.descriptionField)),t.clearSelected?t.uri=null:t.uri=e.title,T(e),P()},t.inputChangeHandler=function(e){return e.length<m?(k(),P()):0===e.length&&0===m&&(t.searching=!1,_()),t.inputChanged&&(e=t.inputChanged(e)),e},t.fieldRequiredClass&&""!==t.fieldRequiredClass&&(w=t.fieldRequiredClass),t.minlength&&""!==t.minlength&&(m=parseInt(t.minlength,10)),t.pause||(t.pause=500),t.clearSelected||(t.clearSelected=!1),t.overrideSuggestions||(t.overrideSuggestions=!1),t.fieldRequired&&s&&(t.initialValue?j(!0):j(!1)),t.inputType=a.type?a.type:"text",t.textSearching=a.textSearching?a.textSearching:"Searching...",t.textNoResults=a.textNoResults?a.textNoResults:"No results found",d="false"!==t.textSearching,p="false"!==t.textNoResults,t.maxlength=a.maxlength?a.maxlength:524288,f.on("keydown",(function(e){var n=C(e),r=null,o=null;13===n&&t.results?(t.currentIndex>=0&&t.currentIndex<t.results.length?(e.preventDefault(),t.selectResult(t.results[t.currentIndex])):(E(e),P()),t.$apply()):40===n&&t.results?(e.preventDefault(),t.currentIndex+1<t.results.length&&t.showDropdown&&(t.$apply((function(){t.currentIndex++,U()})),b&&(r=A(),y.getBoundingClientRect().top+parseInt(getComputedStyle(y).maxHeight,10)<r.getBoundingClientRect().bottom&&D(function(e){var t=getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}(r))))):38===n&&t.results?(e.preventDefault(),t.currentIndex>=1?(t.$apply((function(){t.currentIndex--,U()})),b&&(o=A().getBoundingClientRect().top-(y.getBoundingClientRect().top+parseInt(getComputedStyle(y).paddingTop,10)))<0&&D(o-1)):0===t.currentIndex&&t.$apply((function(){t.currentIndex=-1,f.val(t.uri)}))):9===n?t.results&&t.results.length>0&&t.showDropdown?-1===t.currentIndex&&t.overrideSuggestions?E():(-1===t.currentIndex&&(t.currentIndex=0),t.selectResult(t.results[t.currentIndex]),t.$digest()):t.uri&&t.uri.length>0&&E():27===n&&e.preventDefault()})),f.on("keyup",(function(e){var n=C(e);if(37!==n&&39!==n)if(38===n||13===n)e.preventDefault();else if(40===n)e.preventDefault(),!t.showDropdown&&t.uri&&t.uri.length>=m&&(q(),t.searching=!0,J(t.uri));else if(27===n)P(),t.$apply((function(){f.val(t.uri)}));else{if(0===m&&!t.uri)return;t.uri&&""!==t.uri?t.uri.length>=m&&(q(),h&&o.cancel(h),t.searching=!0,h=o((function(){J(t.uri)}),t.pause)):t.showDropdown=!1,x&&x!==t.uri&&!t.clearSelected&&t.$apply((function(){T()}))}})),g="remoteUrlResponseFormatter",c=function(e){return t[g]?t[g](e):e},o((function(){var e=getComputedStyle(y);b=e.maxHeight&&"auto"===e.overflowY}))}return i.put("/angucomplete-alt/index.html",'<div class="angucomplete-holder" ng-class="{\'angucomplete-dropdown-visible\': showDropdown}"> <input id="{{id}}_value" name="{{inputName}}" tabindex="{{fieldTabindex}}" ng-class="{\'angucomplete-input-not-empty\': notEmpty}" ng-model="uri" ng-disabled="disableInput" type="{{inputType}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" ng-focus="onFocusHandler()" class="{{inputClass}}" ng-focus="resetHideResults()" ng-blur="hideResults($event)" autocapitalize="off" autocorrect="off" autocomplete="off" ng-change="inputChangeHandler(uri)" style="overflow: hidden; padding-right: .5em;"/> <div id="{{id}}_dropdown" class="angucomplete-dropdown" ng-show="disableSuggestions && showDropdown"> <div class="angucomplete-searching" ng-show="searching" ng-bind="textSearching"></div> <div class="angucomplete-searching" ng-show="!searching && (!results || results.length == 0)" ng-bind="textNoResults"></div> <div class="angucomplete-row" ng-repeat="result in results" ng-click="selectResult(result)" ng-mouseenter="hoverRow($index)" ng-class="{\'angucomplete-selected-row\': $index == currentIndex}"> <div ng-if="imageField" class="angucomplete-image-holder"> <img ng-if="result.image && result.image != \'\'" ng-src="{{result.image}}" class="angucomplete-image"/> <div ng-if="!result.image && result.image != \'\'" class="angucomplete-image-default"></div> </div> <div class="angucomplete-title" ng-if="matchClass" ng-bind-html="result.title"></div> <div class="angucomplete-title" ng-if="!matchClass">{{ result.title }}</div> <div ng-if="matchClass && result.description && result.description != \'\'" class="angucomplete-description" ng-bind-html="result.description"></div> <div ng-if="!matchClass && result.description && result.description != \'\'" class="angucomplete-description">{{result.description}}</div> </div> </div></div>'),{restrict:"EA",require:"^?form",scope:{selectedObject:"=",disableInput:"=",disableSuggestions:"=",initialValue:"=",localData:"=",localSearch:"&",remoteUrlRequestFormatter:"=",remoteUrlRequestWithCredentials:"@",remoteUrlResponseFormatter:"=",remoteUrlErrorCallback:"=",remoteApiHandler:"=",id:"@",type:"@",placeholder:"@",remoteUrl:"@",remoteUrlDataField:"@",titleField:"@",descriptionField:"@",imageField:"@",inputClass:"@",pause:"@",searchFields:"@",minlength:"@",matchClass:"@",clearSelected:"@",overrideSuggestions:"@",fieldRequired:"=",fieldRequiredClass:"@",inputChanged:"=",autoMatch:"@",focusOut:"&",focusIn:"&",fieldTabindex:"@",inputName:"@",focusFirst:"@",parseInput:"&"},templateUrl:function(e,t){return t.templateUrl||"/angucomplete-alt/index.html"},compile:function(e){var t=a.startSymbol(),n=a.endSymbol();if("{{"!==t||"}}"!==n){var r=e.html().replace(/\{\{/g,t).replace(/\}\}/g,n);e.html(r)}return l}}}])}(window.angular)}()},99:function(e,t,n){"use strict";n.r(t),n.d(t,"ContextType",(function(){return r})),n.d(t,"ContextTypes",(function(){return o}));class r{constructor(e,t){this.id=e,this.labelKey=t}static getAllType(){return[o.ALL,o.EXPLICIT,o.IMPLICIT]}static getContextType(e){return this.getAllType().find(t=>t.id===e)}}const o={ALL:new r("all","explore.explicit.implicit"),EXPLICIT:new r("explicit","explore.explicit"),IMPLICIT:new r("implicit","explore.implicit")}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[250],{172:function(n,r,e){"use strict";e.r(r),e.d(r,"CancelAbortingQuery",(function(){return o}));class o extends Error{}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[252],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[252],{342:function(s,t,n){"use strict";n.r(t),n.d(t,"MAX_VISIBLE_ERROR_CHARACTERS",(function(){return r})),n.d(t,"SparqlQueryErrorInfo",(function(){return o}));const r=160;class o{constructor(s="",t="",n=""){n&&n.length>r&&(this.shortenErrorMessage=n.substring(0,r)),this.status=s,this.statusText=t,this.responseText=n}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[254],{343:function(n,e,o){"use strict";o.r(e),o.d(e,"ThemeModel",(function(){return c}));const c={name:"",label:"",mode:""}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[255],{115:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatAnswerModel",(function(){return a}));class a{constructor(t={}){this._chatId=t.chatId,this._chatName=t.chatName||"",this._timestamp=t.timestamp,this._messages=t.messages||[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get chatName(){return this._chatName}set chatName(t){this._chatName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get messages(){return this._messages}set messages(t){this._messages=t}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[256],{71:function(s,t,e){"use strict";e.r(t),e.d(t,"ChatMessageModel",(function(){return i})),e.d(t,"CHAT_MESSAGE_ROLE",(function(){return r}));class i{constructor(s){this._id=s.id,this._role=s.role,this._message=s.message,this._timestamp=s.timestamp}get id(){return this._id}set id(s){this._id=s}get role(){return this._role}set role(s){this._role=s}get message(){return this._message}set message(s){this._message=s}get timestamp(){return this._timestamp}set timestamp(s){this._timestamp=s}}const r={USER:"user",ASSISTANT:"assistant"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[257],{153:function(e,t,r){"use strict";r.r(t),r.d(t,"ExplainResponseModel",(function(){return s})),r.d(t,"ExplainQueryMethodsListModel",(function(){return d})),r.d(t,"ExplainQueryMethodModel",(function(){return n}));class s{constructor(e={}){this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get answerId(){return this._answerId}set answerId(e){this._answerId=e}get queryMethods(){return this._queryMethods}set queryMethods(e){this._queryMethods=e}get expanded(){return this._expanded}set expanded(e){this._expanded=e}}class d{constructor(e={}){this._queryMothods=e.queryMethods||[]}get queryMothods(){return this._queryMothods}set queryMothods(e){this._queryMothods=e}}class n{constructor(e={}){this._name=e._name,this._rawQuery=e._rawQuery,this._query=e._query}get name(){return this._name}set name(e){this._name=e}get rawQuery(){return this._rawQuery}set rawQuery(e){this._rawQuery=e}get query(){return this._query}set query(e){this._query=e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{202:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponent",(function(){return o}));var s=n(15);class o{constructor(e=s.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")){this.yasguiComponent=e}changeRenderMode(e){return this.yasguiComponent.changeRenderMode(e)}setQuery(e){return this.yasguiComponent.setQuery(e)}query(e){return this.yasguiComponent.query(e)}getQuery(){return this.yasguiComponent.getQuery()}isQueryValid(){return this.yasguiComponent.isQueryValid()}openTab(e){return this.yasguiComponent.openTab(e)}getQueryMode(){return this.yasguiComponent.getQueryMode()}getQueryType(){return this.yasguiComponent.getQueryType()}getEmbeddedResultAsJson(){return this.yasguiComponent.getEmbeddedResultAsJson()}getEmbeddedResultAsCSV(){return this.yasguiComponent.getEmbeddedResultAsCSV()}hideYasqeActionButton(e){return this.yasguiComponent.hideYasqeActionButton(e)}showYasqeActionButton(e){return this.yasguiComponent.showYasqeActionButton(e)}abortQuery(){return this.yasguiComponent.abortQuery()}getOngoingRequestsInfo(){return this.yasguiComponent.getOngoingRequestsInfo()}abortAllRequests(){return this.yasguiComponent.abortAllRequests()}reInitYasgui(e){return this.yasguiComponent.reInitYasgui(e)}}}}]);
|