graphdb-workbench 2.8.0-Test → 2.8.1-TR1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/0.ae02baa403fbd1a7cc93.bundle.js +25 -0
- package/dist/1.d11629dd3d4ac454a102.bundle.js +1 -0
- package/dist/10.55bd5dc8999bc1cb1bcc.bundle.js +1 -0
- package/dist/100.3abbd576e5536d4292f3.bundle.js +1 -0
- package/dist/101.b68d884189e2d782f9db.bundle.js +1 -0
- package/dist/102.fd735d839ebbc2f9d40b.bundle.js +1 -0
- package/dist/103.41f921c4a65160dce11a.bundle.js +1 -0
- package/dist/104.56df8dfc430d6245d0fd.bundle.js +1 -0
- package/dist/105.18a79e9a55d9a7506d01.bundle.js +1 -0
- package/dist/106.cd544c47e948789ee528.bundle.js +1 -0
- package/dist/107.0acbdea31c1be05780a6.bundle.js +1 -0
- package/dist/108.131328ca1d67057fdb43.bundle.js +1 -0
- package/dist/109.ab2007ce0897221e9dc7.bundle.js +1 -0
- package/dist/11.89e2336d213a154b77f8.bundle.js +1 -0
- package/dist/110.66e0266aa1d8819e4956.bundle.js +1 -0
- package/dist/111.79d8512ffc6546c7d07a.bundle.js +1 -0
- package/dist/112.642f037985264473114e.bundle.js +1 -0
- package/dist/113.f57327392686a0436c59.bundle.js +1 -0
- package/dist/114.0b6bf50017f3a18cb2bb.bundle.js +1 -0
- package/dist/115.0bef2edf8104cfe9fcb1.bundle.js +1 -0
- package/dist/116.5098c4d565f343d82aa7.bundle.js +1 -0
- package/dist/117.f8e9008ec361c561359c.bundle.js +1 -0
- package/dist/118.cf2c44198e836a0b9ba0.bundle.js +1 -0
- package/dist/119.f10b6373c066a482c1f9.bundle.js +1 -0
- package/dist/12.10e84465b7ad808dad8b.bundle.js +1 -0
- package/dist/120.8595c6770e907e21f0fd.bundle.js +1 -0
- package/dist/121.2f6de9cd737026fda3b2.bundle.js +1 -0
- package/dist/122.b3177006c337fb555c21.bundle.js +1 -0
- package/dist/123.65cd6a98a6c3e27a1e60.bundle.js +1 -0
- package/dist/124.e89e3fee558b4edf4bad.bundle.js +1 -0
- package/dist/125.de1c18a0eb08e22e3624.bundle.js +1 -0
- package/dist/126.fb13c3af04bb0f1577cc.bundle.js +1 -0
- package/dist/127.32f4a1c4a2ed2e324f4d.bundle.js +1 -0
- package/dist/128.01074ce4644234d25596.bundle.js +1 -0
- package/dist/129.e0661aa4cfee8e2aaf06.bundle.js +1 -0
- package/dist/13.88cfe4e5391b6b678cd8.bundle.js +1 -0
- package/dist/130.0ce3a70e7e5705e61670.bundle.js +1 -0
- package/dist/131.5b9e755403cd78bf2b2f.bundle.js +1 -0
- package/dist/132.25094e9c07f5efcb34b2.bundle.js +1 -0
- package/dist/133.254cc76bc5e6850ff2e8.bundle.js +1 -0
- package/dist/134.61834d7c29cc4312afb9.bundle.js +1 -0
- package/dist/135.a9fc7400422a5a15a95f.bundle.js +1 -0
- package/dist/136.7fe96393bad12fb51207.bundle.js +1 -0
- package/dist/137.50d3f73e37365e6d1927.bundle.js +1 -0
- package/dist/138.f33533d8b2eba5d8ec0d.bundle.js +1 -0
- package/dist/139.c050f1e6081b3519d83e.bundle.js +1 -0
- package/dist/14.92d6b6761ef6cd70b36d.bundle.js +73 -0
- package/dist/140.8ae98afa44c78803dd4e.bundle.js +1 -0
- package/dist/141.b7e2e629537686c8cac8.bundle.js +1 -0
- package/dist/142.092408f98ed8dbe207c9.bundle.js +1 -0
- package/dist/143.8b89f3d9b87ee69267a9.bundle.js +1 -0
- package/dist/144.d51f731d7bc6cdfe08eb.bundle.js +1 -0
- package/dist/145.28e851b70237b9b3e33e.bundle.js +1 -0
- package/dist/146.2830d16d8a9bc73aa0eb.bundle.js +1 -0
- package/dist/147.7b3e99b032b256496ea8.bundle.js +1 -0
- package/dist/148.81254fa8e58524a4f382.bundle.js +1 -0
- package/dist/149.cc98899ce3a16ecf43c2.bundle.js +1 -0
- package/dist/15.e804c8ea193f9f0401c0.bundle.js +1 -0
- package/dist/150.39a1061a85b84c1b7dd3.bundle.js +1 -0
- package/dist/151.ce6630508d2265e89d34.bundle.js +1 -0
- package/dist/152.219c9e850d8847ddfa60.bundle.js +1 -0
- package/dist/153.c2c3d34c96b4bb7c2bdb.bundle.js +1 -0
- package/dist/154.96c6a0b9aa0e3297cd9d.bundle.js +1 -0
- package/dist/155.824842fa18302aebe5a4.bundle.js +1 -0
- package/dist/156.550f4d5775a92a66350d.bundle.js +1 -0
- package/dist/157.b0c4feabee929ccf8a5c.bundle.js +1 -0
- package/dist/158.ad2422d97d11cf851db5.bundle.js +1 -0
- package/dist/159.0eaaf667316687f57ded.bundle.js +1 -0
- package/dist/16.e7b01ccdf70c5485402f.bundle.js +1 -0
- package/dist/160.ec43997746f31cbcb3c0.bundle.js +1 -0
- package/dist/161.0ca082da47c2c380b3fb.bundle.js +1 -0
- package/dist/162.4462cbff9f2deceb8d55.bundle.js +1 -0
- package/dist/163.9b606dc8b334c4590e80.bundle.js +1 -0
- package/dist/164.6fbbef35e36e128626c1.bundle.js +1 -0
- package/dist/165.8c936f8350a0352fe33a.bundle.js +1 -0
- package/dist/166.52d6a35cba64be7d7d3e.bundle.js +1 -0
- package/dist/167.51430f40df772b3a70dd.bundle.js +1 -0
- package/dist/168.38dbbebd88da57b3ae35.bundle.js +1 -0
- package/dist/169.245ee4b967e1b8879358.bundle.js +1 -0
- package/dist/17.fd8a9a8ebe5f4d9e2f11.bundle.js +1 -0
- package/dist/170.e253c0170034a3f97336.bundle.js +1 -0
- package/dist/171.fb19b792123f0251daaf.bundle.js +1 -0
- package/dist/172.c2999c73126f04810b46.bundle.js +1 -0
- package/dist/173.f10cc8249c5c6bd4a853.bundle.js +1 -0
- package/dist/174.6ae0de8881f3c2379c53.bundle.js +1 -0
- package/dist/175.3da8cdc348e5341ca1c9.bundle.js +1 -0
- package/dist/176.f78a6898f07f2d523227.bundle.js +1 -0
- package/dist/177.88a27f82ee6835f26e09.bundle.js +1 -0
- package/dist/178.0fa14533f1a361282a18.bundle.js +1 -0
- package/dist/179.507b9f6d22b008299110.bundle.js +1 -0
- package/dist/18.c79beb000f78666dc1ea.bundle.js +2 -0
- package/dist/180.58fe04c74100d9f113f2.bundle.js +1 -0
- package/dist/181.50637e050234a6966c94.bundle.js +1 -0
- package/dist/182.4f990626ad1fd98ce257.bundle.js +1 -0
- package/dist/183.53e87e91190814612b6e.bundle.js +1 -0
- package/dist/184.3fd50441f089e2201a51.bundle.js +1 -0
- package/dist/185.b8ca04cdc7a919e8ef0c.bundle.js +1 -0
- package/dist/186.2c2a3daf2e31a391bc75.bundle.js +1 -0
- package/dist/187.255f4746e6f1c0c48c35.bundle.js +1 -0
- package/dist/188.7949088dd5b10c4c99f5.bundle.js +1 -0
- package/dist/189.8cbd6dbda31320678237.bundle.js +1 -0
- package/dist/19.d93a2a4183d72e8cb0d6.bundle.js +1 -0
- package/dist/190.673e03d17a314b96e12b.bundle.js +1 -0
- package/dist/191.c981e0fba087d2e799a6.bundle.js +1 -0
- package/dist/192.60efcfbb8ae8f134a396.bundle.js +1 -0
- package/dist/193.4c02ced7a1c44850598f.bundle.js +1 -0
- package/dist/194.7ec15a64658c1f97c8eb.bundle.js +1 -0
- package/dist/195.9049135a54192e8d8254.bundle.js +1 -0
- package/dist/196.ef896ced6d6a055931ee.bundle.js +1 -0
- package/dist/197.2a0f5d280127e30e6a21.bundle.js +1 -0
- package/dist/198.ea0abe93c519289fb8be.bundle.js +1 -0
- package/dist/199.4cf122243f582e12bffa.bundle.js +1 -0
- package/dist/2.900ef83c7a6b380aca5e.bundle.js +2 -0
- package/dist/20.4e8e5f274166f7216846.bundle.js +1 -0
- package/dist/200.5f869906cf7cd298c139.bundle.js +1 -0
- package/dist/201.ecd6f5a0b1e07259609b.bundle.js +1 -0
- package/dist/202.940493f04e558c20ebeb.bundle.js +1 -0
- package/dist/203.e6fa0158b83067a522b6.bundle.js +1 -0
- package/dist/204.90c80b56283809b7025e.bundle.js +1 -0
- package/dist/205.a3cb6b3f5907d142cf95.bundle.js +1 -0
- package/dist/206.24181d86be3eff88d52c.bundle.js +1 -0
- package/dist/207.439cff6991fd256e5aa1.bundle.js +1 -0
- package/dist/208.c653cb276b43b29cce49.bundle.js +1 -0
- package/dist/209.8285dee1da75e605749e.bundle.js +1 -0
- package/dist/21.e71d40f83086661e7f61.bundle.js +1 -0
- package/dist/210.a2ea30efd2122d5a8f2f.bundle.js +1 -0
- package/dist/211.de53552e0b8e59e26d71.bundle.js +1 -0
- package/dist/212.f80d06d279d2dc0aae74.bundle.js +1 -0
- package/dist/213.3b1ed0016e75a097798d.bundle.js +1 -0
- package/dist/214.e66c5e02cd8628abb86d.bundle.js +1 -0
- package/dist/215.bd7d215f0b4c30c41150.bundle.js +1 -0
- package/dist/216.596ffaba4897a3b8f57e.bundle.js +1 -0
- package/dist/217.f23953e7013fe9628984.bundle.js +1 -0
- package/dist/218.c9ebeca0a0601cbfdd49.bundle.js +1 -0
- package/dist/219.49b7f67206dc1b550fcd.bundle.js +1 -0
- package/dist/22.26828925f52d93debe51.bundle.js +7 -0
- package/dist/220.60aae5815d2081a0e83a.bundle.js +1 -0
- package/dist/221.9ddd6a25f2977a63833b.bundle.js +1 -0
- package/dist/222.ca41fa6721e4e66ed399.bundle.js +1 -0
- package/dist/223.54c4cac06e4519e3efb0.bundle.js +1 -0
- package/dist/224.f7199477314a1768db47.bundle.js +1 -0
- package/dist/225.6a3fe206268377dad69d.bundle.js +1 -0
- package/dist/226.7924f3c96e16c5e72c5b.bundle.js +1 -0
- package/dist/227.ae93e62e09fd4d381d07.bundle.js +1 -0
- package/dist/228.2c598157be22f2119a80.bundle.js +1 -0
- package/dist/229.7a0284ae7edfa27eb8a1.bundle.js +1 -0
- package/dist/23.543c375f0f86d771dbf0.bundle.js +3 -0
- package/dist/230.1d9ce4dbc6dc22371a26.bundle.js +1 -0
- package/dist/231.c353755e4c1b58e65ec4.bundle.js +1 -0
- package/dist/232.5a8fdf0f56be1ae7cc82.bundle.js +1 -0
- package/dist/233.d6ef0f5bb2b6375bd52f.bundle.js +1 -0
- package/dist/234.0a6bc5430424d7ca0803.bundle.js +1 -0
- package/dist/235.cdfa5405484e4f6e1645.bundle.js +1 -0
- package/dist/236.bff8d95f9f4986ce7f76.bundle.js +1 -0
- package/dist/237.377279922b3917eb2125.bundle.js +1 -0
- package/dist/238.dbeb2c0bf3dccf39339b.bundle.js +1 -0
- package/dist/239.6b9bf48532f001f4c735.bundle.js +1 -0
- package/dist/24.d7b7127e0cd0c8bbef98.bundle.js +2 -0
- package/dist/240.727e415c23c389be7664.bundle.js +1 -0
- package/dist/241.9226188eb93223b74add.bundle.js +1 -0
- package/dist/242.bd036e6b1bdd54dd1ae7.bundle.js +1 -0
- package/dist/243.684335d32b3e2db71742.bundle.js +1 -0
- package/dist/244.4a6251926a6647e4835d.bundle.js +1 -0
- package/dist/245.fdb7b2fe10dcea472879.bundle.js +1 -0
- package/dist/246.c8b41d4b12b1250e01ed.bundle.js +1 -0
- package/dist/247.37b6eb2ecc53b255c33a.bundle.js +1 -0
- package/dist/248.0c33aa07abd48a74725d.bundle.js +1 -0
- package/dist/249.88fea9574f0fce1953cf.bundle.js +1 -0
- package/dist/25.3a2036abc3774ed24148.bundle.js +2 -0
- package/dist/250.137f3fe61ea786d8f59d.bundle.js +1 -0
- package/dist/251.59720f599bbb696550e4.bundle.js +1 -0
- package/dist/252.93d6b6a7e44fb9741804.bundle.js +1 -0
- package/dist/253.930cda0de4ec25344bff.bundle.js +1 -0
- package/dist/254.62b9a64574f43df868d2.bundle.js +1 -0
- package/dist/255.20192dfc724463dab127.bundle.js +1 -0
- package/dist/256.0ea3fb2a99a478742080.bundle.js +1 -0
- package/dist/257.e14524fd21f234ac1f42.bundle.js +1 -0
- package/dist/258.5e650bcb69718b27339f.bundle.js +1 -0
- package/dist/259.d1e40e9081a9dc913ad9.bundle.js +1 -0
- package/dist/26.2393280351ab069f6f30.bundle.js +3 -0
- package/dist/260.db455f2124cbe43df61c.bundle.js +1 -0
- package/dist/261.9c82a592fef22b855787.bundle.js +1 -0
- package/dist/262.c9dea482117872e4b07c.bundle.js +1 -0
- package/dist/263.9313cb2696d2d844849a.bundle.js +1 -0
- package/dist/264.bc7ad7396bfced9e76ef.bundle.js +1 -0
- package/dist/265.ffbab37e1a761ec07b60.bundle.js +1 -0
- package/dist/266.a96fe8809d67e0eac7e5.bundle.js +1 -0
- package/dist/267.c07b3f034458a2331538.bundle.js +1 -0
- package/dist/268.bce40e9eab7d39e60750.bundle.js +1 -0
- package/dist/269.8e8d3873f1c7018bedbc.bundle.js +1 -0
- package/dist/27.b9a244767f6c3482fdb8.bundle.js +2 -0
- package/dist/270.4ccea89d95972bf06d46.bundle.js +1 -0
- package/dist/271.f24ebd16b309e6f32e37.bundle.js +1 -0
- package/dist/272.c8862e179fb9241e5bc2.bundle.js +1 -0
- package/dist/273.4c4d99e6c4378d9822ac.bundle.js +1 -0
- package/dist/274.0bfb73e6f7b0a64435f6.bundle.js +1 -0
- package/dist/275.9fb6914974d62188bb11.bundle.js +1 -0
- package/dist/276.3e3057cfdd25bc12ab02.bundle.js +1 -0
- package/dist/277.0797f2c46650c7afe350.bundle.js +1 -0
- package/dist/278.b2ecdbeb6efe166a4138.bundle.js +1 -0
- package/dist/279.a9cab23ebf26fca2a9cf.bundle.js +1 -0
- package/dist/28.b587ba8cc784632a83fc.bundle.js +1 -0
- package/dist/280.5c4b2ddc7618a469c7fe.bundle.js +1 -0
- package/dist/281.da8c8f1fe4d4bb38d1e2.bundle.js +1 -0
- package/dist/282.e2cbab0c480d7b8dfa6a.bundle.js +1 -0
- package/dist/283.983f0f381134b6bdcb04.bundle.js +1 -0
- package/dist/284.f361457d23176846d939.bundle.js +1 -0
- package/dist/285.ef26d39638b16bacab4c.bundle.js +1 -0
- package/dist/286.34a20634e387664f2a6d.bundle.js +1 -0
- package/dist/287.f7bc3db6a00eb98cf7b5.bundle.js +1 -0
- package/dist/288.efa7e26e063c5b6f875d.bundle.js +1 -0
- package/dist/289.4e5af5efc77a8ba6f954.bundle.js +1 -0
- package/dist/29.19532418f4f5cf80a5a5.bundle.js +1 -0
- package/dist/290.eacfa7804d4617359162.bundle.js +1 -0
- package/dist/291.34e6e289ace8f72b99b0.bundle.js +1 -0
- package/dist/292.5a049771b8c51d82bdc7.bundle.js +1 -0
- package/dist/293.7607c41b310a02aebfd3.bundle.js +1 -0
- package/dist/294.39c3b65bcd461dd1b7cb.bundle.js +1 -0
- package/dist/295.495163add3be67d633b4.bundle.js +1 -0
- package/dist/296.c15d4b1955a9cae0e972.bundle.js +1 -0
- package/dist/297.044db6bb92a9a96f6817.bundle.js +1 -0
- package/dist/298.672e33981e1947a19e26.bundle.js +1 -0
- package/dist/299.6f683f57d08083d34d24.bundle.js +1 -0
- package/dist/3.6563d17b2cd41128890b.bundle.js +1 -0
- package/dist/30.c95fbd1f309468fbcb34.bundle.js +1 -0
- package/dist/300.c62fd23507752ba6daba.bundle.js +1 -0
- package/dist/301.5939b5c8326708c4f387.bundle.js +1 -0
- package/dist/302.05370654ff61fd4a2554.bundle.js +1 -0
- package/dist/303.81dc35aa6f7747755f19.bundle.js +1 -0
- package/dist/304.f306e53916885bda3c4b.bundle.js +1 -0
- package/dist/305.5835c4a6e2f972ee490f.bundle.js +1 -0
- package/dist/306.4776f920572ba67d87f7.bundle.js +1 -0
- package/dist/307.a8f42225ca98e3ebf656.bundle.js +1 -0
- package/dist/308.2be4226a575d34b0cd73.bundle.js +1 -0
- package/dist/309.c84682804a521a8b2a77.bundle.js +1 -0
- package/dist/31.e88ecb2b45e6f4de62d3.bundle.js +1 -0
- package/dist/310.e6762b117cb6ae5ad44f.bundle.js +1 -0
- package/dist/311.1eb3449e915d4daf5c1d.bundle.js +1 -0
- package/dist/312.c4b2d6fa63a3389f22d3.bundle.js +1 -0
- package/dist/313.1ebabec29606c0b5c29e.bundle.js +1 -0
- package/dist/314.366b9d03d5e93dd8779d.bundle.js +1 -0
- package/dist/315.3579a19e49a159f01af3.bundle.js +1 -0
- package/dist/316.1714889dd79b839b2c13.bundle.js +1 -0
- package/dist/317.03873f861bdb32a06fd1.bundle.js +1 -0
- package/dist/318.f165089ab6a2347d6270.bundle.js +1 -0
- package/dist/319.6551554a97d7ae4741a3.bundle.js +1 -0
- package/dist/32.6f28c2b0829f31822825.bundle.js +1 -0
- package/dist/320.68be8ddd757494458e92.bundle.js +1 -0
- package/dist/321.4b5c5975a3eb3290576a.bundle.js +1 -0
- package/dist/322.37874a32a3b840b2bc18.bundle.js +1 -0
- package/dist/323.e4db3f0a06377f6d5ffd.bundle.js +1 -0
- package/dist/324.19edead008e4e4ed38de.bundle.js +1 -0
- package/dist/325.f5af4954c4c7b5edd6b5.bundle.js +1 -0
- package/dist/326.104705396eb92eb1ad1d.bundle.js +1 -0
- package/dist/327.bf1af0af04aa7aff6074.bundle.js +1 -0
- package/dist/328.341f20bda7f187c90eae.bundle.js +1 -0
- package/dist/329.3531904303a06d96871a.bundle.js +1 -0
- package/dist/33.a0d9678fb193cff2d255.bundle.js +1 -0
- package/dist/330.f4a8e20c39fcf8a6329e.bundle.js +1 -0
- package/dist/336.530f8a7a8a94a6f90e10.bundle.js +1 -0
- package/dist/337.ca72e3a0564046837b16.bundle.js +1 -0
- package/dist/338.374161b39b10166c9383.bundle.js +1 -0
- package/dist/339.d60015ae962cb45f5c9f.bundle.js +1 -0
- package/dist/34.63bcd4f233c8c700d893.bundle.js +1 -0
- package/dist/340.d7764886e9fa2462e226.bundle.js +1 -0
- package/dist/341.2f072aee67e9e07bdd9f.bundle.js +1 -0
- package/dist/342.38fb6bf2b408a6d47190.bundle.js +1 -0
- package/dist/343.2d31c04a850624d7b8f0.bundle.js +1 -0
- package/dist/344.bdb757ea72b5f4f5b3aa.bundle.js +1 -0
- package/dist/345.546419e39affcfcd1852.bundle.js +1 -0
- package/dist/346.d32c26eea6a80b8cc37c.bundle.js +1 -0
- package/dist/347.57ed4a385e855cad7c0b.bundle.js +1 -0
- package/dist/348.2af6c86e359a89205966.bundle.js +1 -0
- package/dist/349.c408af02db127f8869f1.bundle.js +1 -0
- package/dist/35.f556eeb37786469e255c.bundle.js +1 -0
- package/dist/350.5e899a92f38c16489e02.bundle.js +1 -0
- package/dist/351.c09d36a810cf40b9c25f.bundle.js +1 -0
- package/dist/352.55911f19f713e462dbad.bundle.js +1 -0
- package/dist/353.bca7ad8f953be01367f2.bundle.js +1 -0
- package/dist/354.9817814cea17732668b8.bundle.js +1 -0
- package/dist/355.ad0bf431f6c11d1ae224.bundle.js +1 -0
- package/dist/356.5a005a80d3da9112a320.bundle.js +1 -0
- package/dist/357.7153867a09520f642644.bundle.js +1 -0
- package/dist/358.48b6152e563fe4c8f16a.bundle.js +1 -0
- package/dist/359.f3d0c391ee07446ccb3e.bundle.js +1 -0
- package/dist/36.1d7577b17840cacdf0cc.bundle.js +1 -0
- package/dist/360.abbeb351a52651620fcd.bundle.js +1 -0
- package/dist/361.ed52a00185c531e08c48.bundle.js +1 -0
- package/dist/362.efb136eaecbd5340f6ed.bundle.js +1 -0
- package/dist/363.63d642cc9d857de99c9d.bundle.js +1 -0
- package/dist/364.f2cb7cb3a22233473def.bundle.js +1 -0
- package/dist/365.2f51a94cafaa642980ca.bundle.js +1 -0
- package/dist/366.ad3baaa586d05913abe3.bundle.js +1 -0
- package/dist/367.4211395aff6ef7bf4849.bundle.js +1 -0
- package/dist/368.c47ba2c9fff8b9f81b5c.bundle.js +1 -0
- package/dist/369.aea9209ff82df8dcf091.bundle.js +1 -0
- package/dist/37.ca1a4d87ac7adf39ed4b.bundle.js +1 -0
- package/dist/370.6926f2217ab428187508.bundle.js +1 -0
- package/dist/371.7d843569095a7b1c0ddf.bundle.js +1 -0
- package/dist/372.c77982eeb32da732bb18.bundle.js +1 -0
- package/dist/373.d1af1eb63f347c74a705.bundle.js +1 -0
- package/dist/374.4e6e769c5c54037fb87a.bundle.js +1 -0
- package/dist/375.98162ba8ec236ad62a94.bundle.js +1 -0
- package/dist/376.f1a33b8eac5cba3b866a.bundle.js +1 -0
- package/dist/377.add679f2b5606f856749.bundle.js +1 -0
- package/dist/378.a6934451c464b146fc17.bundle.js +1 -0
- package/dist/379.189bd477d9aa69f43690.bundle.js +1 -0
- package/dist/38.1cc8c47552b3606e309f.bundle.js +1 -0
- package/dist/380.dc7f6c4f308e03531407.bundle.js +1 -0
- package/dist/381.9c2eb155a9c97c017380.bundle.js +1 -0
- package/dist/382.3ab1a4612dbcf4892073.bundle.js +1 -0
- package/dist/383.5da272f5acd1fac32aad.bundle.js +1 -0
- package/dist/384.5fcf059ada3b8a42d706.bundle.js +1 -0
- package/dist/385.9c0b96788faa18f9e560.bundle.js +1 -0
- package/dist/386.ef99a1daa887f9994e02.bundle.js +1 -0
- package/dist/387.a4e4d616ffd96e2fadab.bundle.js +1 -0
- package/dist/388.5886ae70a4fa56638410.bundle.js +1 -0
- package/dist/389.af5d3bd2d739b142bc81.bundle.js +1 -0
- package/dist/39.038879a8833f3817093d.bundle.js +1 -0
- package/dist/390.a85b5054ed766528011f.bundle.js +1 -0
- package/dist/391.306af114af5986fd635d.bundle.js +1 -0
- package/dist/392.8672da919405465e4104.bundle.js +1 -0
- package/dist/393.c5d035ecc740781c04d7.bundle.js +1 -0
- package/dist/394.3e722468bccbfdd42b01.bundle.js +1 -0
- package/dist/395.34e869837c0dfc05fc52.bundle.js +1 -0
- package/dist/396.b4940df42a9388a1fa65.bundle.js +1 -0
- package/dist/397.b25d94494ea955deb1e0.bundle.js +1 -0
- package/dist/398.dce5ba48d746a385c600.bundle.js +1 -0
- package/dist/399.bb00f12527eb3e8488bb.bundle.js +1 -0
- package/dist/4.f88e5bb228972375cc28.bundle.js +1 -0
- package/dist/40.05a9805a5b07c189df24.bundle.js +1 -0
- package/dist/400.43f8b04da11b234ec8b1.bundle.js +1 -0
- package/dist/401.c44df443cf8caf6d4d6b.bundle.js +1 -0
- package/dist/402.a27c7d3020fb83fd9603.bundle.js +1 -0
- package/dist/403.340a87b8c2061a671b16.bundle.js +1 -0
- package/dist/404.5a27d40ab9205fafb83a.bundle.js +1 -0
- package/dist/405.b8d7877478a3993e20ff.bundle.js +1 -0
- package/dist/406.8b992547c2ab764d77a5.bundle.js +1 -0
- package/dist/407.2d842a4b317f06b71c7f.bundle.js +1 -0
- package/dist/408.7e584653eb94469c494e.bundle.js +1 -0
- package/dist/409.fa5069507e3bec5dfa50.bundle.js +1 -0
- package/dist/41.fa23b31a4328e38c548e.bundle.js +1 -0
- package/dist/410.3ce11777a703060d76f3.bundle.js +1 -0
- package/dist/411.3c7dd0b42a140940c407.bundle.js +1 -0
- package/dist/412.d5252e14455696e1b76a.bundle.js +1 -0
- package/dist/413.88a5f43d77d65cb580f4.bundle.js +1 -0
- package/dist/414.67b4c86161dbd68e0b2a.bundle.js +1 -0
- package/dist/415.9ce7901f1e74412c17a9.bundle.js +1 -0
- package/dist/416.750f6233af2097d0fa6e.bundle.js +1 -0
- package/dist/417.d48c24e509334bf68dfd.bundle.js +1 -0
- package/dist/42.d7d9449579c0f3794663.bundle.js +1 -0
- package/dist/43.ea28943c80d79daa0649.bundle.js +1 -0
- package/dist/44.de4dcb467d772c868306.bundle.js +1 -0
- package/dist/45.805cb81e8bd5e16d6614.bundle.js +1 -0
- package/dist/46.8519664b24972b0782c8.bundle.js +1 -0
- package/dist/47.4c05c24b7972bf3f4cf6.bundle.js +1 -0
- package/dist/48.279b5e18079ae3236125.bundle.js +1 -0
- package/dist/49.994126a85737bdb7b895.bundle.js +1 -0
- package/dist/5.48db74b2d08bc31e6609.bundle.js +1 -0
- package/dist/50.b67a8bf19f5ba40d211d.bundle.js +1 -0
- package/dist/51.3a62c4f9dd49b6f26247.bundle.js +1 -0
- package/dist/52.10366c2c972b0c368dd5.bundle.js +1 -0
- package/dist/53.1c209e38bc652bc802a3.bundle.js +1 -0
- package/dist/54.7e75dbcdbc39dbec90c4.bundle.js +1 -0
- package/dist/55.55159c353664aaa65f20.bundle.js +1 -0
- package/dist/56.cad4e885a180e8f5ba16.bundle.js +1 -0
- package/dist/57.628c8edb7f3ea7559aeb.bundle.js +1 -0
- package/dist/58.ff52db4cd6651f271ee6.bundle.js +1 -0
- package/dist/59.e24c0d3a5a2e99964322.bundle.js +1 -0
- package/dist/6.feadde6ea1b3951e6ffc.bundle.js +1 -0
- package/dist/60.73f28fb466ff93ea8c99.bundle.js +1 -0
- package/dist/61.d7dbf4e7c0e4c9e8c961.bundle.js +1 -0
- package/dist/62.64013e3b3891db8e214b.bundle.js +1 -0
- package/dist/63.42acb9c680477bb60dda.bundle.js +1 -0
- package/dist/64.cb099060a9e5142b2a34.bundle.js +1 -0
- package/dist/65.7374263e745ee8ac5e5f.bundle.js +1 -0
- package/dist/66.3b2834055886e18be670.bundle.js +1 -0
- package/dist/67.e57d5c01f9c358ce95c4.bundle.js +2 -0
- package/dist/68.bfe1be4722764506c724.bundle.js +2 -0
- package/dist/69.6a091bc2232315eb1162.bundle.js +1 -0
- package/dist/7.26ca23aa2fc78c5134fa.bundle.js +1 -0
- package/dist/70.379b070afa69e89fc19d.bundle.js +1 -0
- package/dist/71.a5708253786dc076b748.bundle.js +1 -0
- package/dist/72.9b46af75f4baffcb308d.bundle.js +1 -0
- package/dist/73.b9b252f90e6eb21b4555.bundle.js +1 -0
- package/dist/74.49f8cf2b5302352d9954.bundle.js +1 -0
- package/dist/75.1eaa235bbff5daf4df2d.bundle.js +1 -0
- package/dist/76.461a1852e8e09de07620.bundle.js +1 -0
- package/dist/77.edb359682edd6fa840f5.bundle.js +1 -0
- package/dist/78.c2c29a6779cc45af6d80.bundle.js +1 -0
- package/dist/79.fc5434d77790bf63fb1d.bundle.js +1 -0
- package/dist/8.3e745f7c7feea8ef0d89.bundle.js +1 -0
- package/dist/80.640f01c06722e92cc871.bundle.js +1 -0
- package/dist/81.8499c3cd340fbbdab7ba.bundle.js +1 -0
- package/dist/82.6fddce14fa5db6d3d2e4.bundle.js +2 -0
- package/dist/83.f53e5a2963a770c3b641.bundle.js +1 -0
- package/dist/84.9c2217ed7d51b9587b34.bundle.js +1 -0
- package/dist/85.f5022d593fa18e7b6e2f.bundle.js +1 -0
- package/dist/86.b1867ffb28ea1d2ee860.bundle.js +1 -0
- package/dist/87.a2d4ca7f2399981400e7.bundle.js +1 -0
- package/dist/88.1d5fba0d6977f63971c0.bundle.js +1 -0
- package/dist/89.f6e7f0c79bf4e83e25d3.bundle.js +1 -0
- package/dist/9.456bbf3bb8220ce89c06.bundle.js +1 -0
- package/dist/90.f8be0eeac11bfa1fccb5.bundle.js +1 -0
- package/dist/91.bce03a05674b18e50d4e.bundle.js +1 -0
- package/dist/92.ffa46df6b348e925334a.bundle.js +1 -0
- package/dist/93.9435148522ff648ea355.bundle.js +1 -0
- package/dist/94.dd874799e2cc8044e246.bundle.js +1 -0
- package/dist/95.d15d8c36116342281f3a.bundle.js +1 -0
- package/dist/96.b0ae820f47d0afb0c2c0.bundle.js +1 -0
- package/dist/97.82170f92dbcfc1351625.bundle.js +1 -0
- package/dist/98.8eacc969d96df474a5d1.bundle.js +1 -0
- package/dist/99.42e89f1af83b86c2838e.bundle.js +1 -0
- package/dist/bundle.ef9d667043403016bf13.bundle.js +95 -0
- package/dist/css/bootstrap-graphdb-theme-dark-auto.css +0 -10
- package/dist/css/bootstrap-graphdb-theme.css +42 -12
- package/dist/css/cluster-nodes-configuration.css +100 -0
- package/dist/css/clustermanagement.css +146 -0
- package/dist/css/common.css +11 -0
- package/dist/css/cookie-policy.css +52 -0
- package/dist/css/create-similarity-index.css +6 -0
- package/dist/css/find.css +1 -1
- package/dist/css/import.css +0 -17
- package/dist/css/rdf-resource-search.css +11 -4
- package/dist/css/repositories.css +17 -3
- package/dist/css/ttyg/agent-instructions-explain-modal.css +12 -0
- package/dist/css/ttyg/agent-list.css +16 -4
- package/dist/css/ttyg/agent-select-menu.css +36 -2
- package/dist/css/ttyg/agent-settings-modal.css +80 -26
- package/dist/css/ttyg/chat-item-details.css +158 -0
- package/dist/css/ttyg/chat-list.css +23 -5
- package/dist/css/ttyg/chat-panel.css +77 -76
- package/dist/css/ttyg/no-agents-view.css +4 -0
- package/dist/css/ttyg/ttyg.css +30 -36
- package/dist/css/workbench-custom.css +4 -0
- package/dist/i18n/languages.json +7 -0
- package/dist/i18n/locale-en.json +385 -103
- package/dist/i18n/locale-fr.json +459 -192
- package/dist/index.html +13 -9
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +37 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-nodes.html +15 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html +86 -0
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +146 -0
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +389 -0
- package/dist/js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html +24 -19
- package/dist/js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html +64 -103
- package/dist/js/angular/clustermanagement/templates/modal/edit-cluster-nodes-modal.html +17 -0
- package/dist/js/angular/clustermanagement/templates/modal/secondary-mode-modal.html +40 -0
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html +2 -2
- 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 +10 -5
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +9 -0
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +48 -0
- package/dist/js/angular/core/templates/modal/modal-simple.html +11 -9
- package/dist/js/angular/core/templates/modal/modal-warning.html +15 -14
- package/dist/js/angular/core/templates/search-resource-input.html +1 -1
- package/dist/js/angular/import/templates/import-resource-status-info.html +1 -1
- package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +36 -9
- package/dist/js/angular/security/templates/user.html +10 -3
- package/dist/js/angular/security/templates/users.html +1 -5
- package/dist/js/angular/templates/pageInfoTooltip.html +6 -0
- package/dist/js/angular/templates/titlePopoverTemplate.html +8 -4
- package/dist/js/angular/ttyg/templates/agent-list.html +13 -15
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +21 -18
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +88 -21
- package/dist/js/angular/ttyg/templates/chat-list.html +52 -42
- package/dist/js/angular/ttyg/templates/chat-panel.html +42 -14
- package/dist/js/angular/ttyg/templates/chatInfo.html +4 -4
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +26 -0
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +215 -89
- package/dist/js/angular/ttyg/templates/no-agents-view.html +13 -6
- package/dist/js/angular/ttyg/templates/ttyg.html +44 -43
- package/dist/license-checker.json +51 -129
- package/dist/main.b38aec450958f3ee4f14.bundle.js +1 -0
- package/dist/main.f6983968e07a3fb0fdd4.css +1 -0
- package/dist/pages/aclmanagement.html +8 -12
- package/dist/pages/autocomplete.html +2 -6
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +8 -23
- package/dist/pages/connectorsInfo.html +1 -5
- package/dist/pages/create-index.html +13 -5
- package/dist/pages/dependencies.html +2 -6
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +3 -3
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +5 -9
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +10 -10
- package/dist/pages/graphs-visualizations.html +13 -17
- package/dist/pages/guides.html +2 -6
- package/dist/pages/home.html +2 -2
- package/dist/pages/import.html +7 -9
- package/dist/pages/info.html +1 -5
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/jdbc.html +1 -5
- package/dist/pages/licenseInfo.html +4 -10
- package/dist/pages/login.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +2 -8
- package/dist/pages/monitor/queries.html +2 -6
- package/dist/pages/monitor/resources.html +2 -6
- package/dist/pages/namespaces.html +3 -7
- package/dist/pages/plugins.html +2 -6
- package/dist/pages/rdfClassHierarchyInfo.html +8 -12
- package/dist/pages/rdfrank.html +3 -7
- package/dist/pages/repositories.html +165 -144
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +14 -18
- package/dist/pages/sparql-editor.html +2 -6
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/sparql-templates.html +1 -5
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/ux-test2.html +31 -0
- package/dist/pages/webapi.html +3 -7
- package/dist/plugins.js +91 -50
- package/dist/polyfills-dom.00375ac99a037cb2ab69.bundle.js +19 -0
- package/dist/res/swagger5/fonts/fa-sharp-regular-400.woff2 +0 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/vendor.29baf59ddf58b8e375ed.bundle.js +27 -0
- package/dist/vendor.54210054e552a2a96fb6.css +26 -0
- package/dist/vendors~polyfills-core-js.bf6de4f5103f78d69ccf.bundle.js +1 -0
- package/package.json +3 -4
- package/dist/0.0a1170a45e17382e4a5d.bundle.js +0 -25
- package/dist/1.c30be489ed39606b2f05.bundle.js +0 -1
- package/dist/10.72feb8642673ff99c3da.bundle.js +0 -1
- package/dist/100.ac947bd8c6a4ddb921a3.bundle.js +0 -1
- package/dist/101.bf0fde51522a5d10b6ce.bundle.js +0 -1
- package/dist/102.93de8da2b05854b7a2f6.bundle.js +0 -1
- package/dist/103.ec756e552ca154fe9249.bundle.js +0 -1
- package/dist/104.5aedd8bbdec3f65d8075.bundle.js +0 -1
- package/dist/105.efa7f6ae768f558255da.bundle.js +0 -1
- package/dist/106.1c2686a7db08aa33e094.bundle.js +0 -1
- package/dist/107.05c1fa57812c93dee908.bundle.js +0 -1
- package/dist/108.158be0de3faa959ea085.bundle.js +0 -1
- package/dist/109.832fa2db484029ae6ac1.bundle.js +0 -1
- package/dist/11.1322d3e0bab99b918c7f.bundle.js +0 -1
- package/dist/110.83bcc3c2b65bdf035da7.bundle.js +0 -1
- package/dist/111.f12532c15e219c23d5a1.bundle.js +0 -1
- package/dist/112.4ff0e8c2ac67ad5cd08e.bundle.js +0 -1
- package/dist/113.a00cdcd090f2985d4f29.bundle.js +0 -1
- package/dist/114.d195868566828742895a.bundle.js +0 -1
- package/dist/115.fdc4bfe30f11c8ddf59f.bundle.js +0 -1
- package/dist/116.6b7edf5d23952ca4ace3.bundle.js +0 -1
- package/dist/117.4910ccbeaf6fd451b718.bundle.js +0 -1
- package/dist/118.fa3d881d5580e05dbd05.bundle.js +0 -1
- package/dist/119.e7b8ff4c3358263cddb0.bundle.js +0 -1
- package/dist/12.8462b9d8fa51db60a50d.bundle.js +0 -73
- package/dist/120.881ed5b94615ce5aed9c.bundle.js +0 -1
- package/dist/121.3af3488244cafeabadb1.bundle.js +0 -1
- package/dist/122.d33f91e410e0fd02775b.bundle.js +0 -1
- package/dist/123.e5da21362b19df85f596.bundle.js +0 -1
- package/dist/124.0fd77686faa2740e8e15.bundle.js +0 -1
- package/dist/125.e582125b0bc248be36b9.bundle.js +0 -1
- package/dist/126.e3c07992a8c2297ab3ba.bundle.js +0 -1
- package/dist/127.9c54fa4bd2fdb0b95cd8.bundle.js +0 -1
- package/dist/128.83168f47ace99f55b749.bundle.js +0 -1
- package/dist/129.7ecff8ecf2d2d5d574e0.bundle.js +0 -1
- package/dist/13.4ad80d43dfe8b11cd336.bundle.js +0 -1
- package/dist/130.d61c14cf75b26f176fa5.bundle.js +0 -1
- package/dist/131.a092d31500571d5559a2.bundle.js +0 -1
- package/dist/132.252aa274f5441069e887.bundle.js +0 -1
- package/dist/133.e7dff3c968b909c3f14a.bundle.js +0 -1
- package/dist/134.795ce48dfe5c42858b5c.bundle.js +0 -1
- package/dist/135.d8459891aab457980f3d.bundle.js +0 -1
- package/dist/136.a2e66dd7c1802cf71923.bundle.js +0 -1
- package/dist/137.cd0bd3c852d91cd52039.bundle.js +0 -1
- package/dist/138.392e19b553d396d3abf8.bundle.js +0 -1
- package/dist/139.c06fdfc66490871efcba.bundle.js +0 -1
- package/dist/14.e52beb145d6035144888.bundle.js +0 -1
- package/dist/140.aa3fc67ac98214208518.bundle.js +0 -1
- package/dist/141.1b6a2011d56c43aacbb0.bundle.js +0 -1
- package/dist/142.36b7fef40b5e09859bd6.bundle.js +0 -1
- package/dist/143.79fab644a1361180938a.bundle.js +0 -1
- package/dist/144.8877519f3bd8ea7c0568.bundle.js +0 -1
- package/dist/145.10fbb7d25cd97d85fef2.bundle.js +0 -1
- package/dist/146.7b84006e2a961f6f023b.bundle.js +0 -1
- package/dist/147.34fbf0960a2ce820c415.bundle.js +0 -1
- package/dist/148.9c73e275c18413fe3efe.bundle.js +0 -1
- package/dist/149.97d1aa6bc64585e2e23d.bundle.js +0 -1
- package/dist/15.90d54ab745b4267b8cf1.bundle.js +0 -2
- package/dist/150.df6d28b1b46ca0bf38ef.bundle.js +0 -1
- package/dist/151.dff3fca027d218f50ed4.bundle.js +0 -1
- package/dist/152.4a999af7f3dc9e6c159f.bundle.js +0 -1
- package/dist/153.2dc0877cab53cb924cde.bundle.js +0 -1
- package/dist/154.26d1e0d5308232e88b69.bundle.js +0 -1
- package/dist/155.e86fa748e7554cf097e3.bundle.js +0 -1
- package/dist/156.e5172964d1412cefad39.bundle.js +0 -1
- package/dist/157.5a7f61f966b5a2eb4420.bundle.js +0 -1
- package/dist/158.b2f1c58bc01dd26ca852.bundle.js +0 -1
- package/dist/159.80badfff4ffdfbcd46a7.bundle.js +0 -1
- package/dist/16.49e725b3eb1bd20c2ff5.bundle.js +0 -1
- package/dist/160.326fff68c80e555d90e7.bundle.js +0 -1
- package/dist/161.dd36d91f4beb933e2c9d.bundle.js +0 -1
- package/dist/162.d0dbc522f3c9dc56bc28.bundle.js +0 -1
- package/dist/163.d0c210b5a5ea1868d1ed.bundle.js +0 -1
- package/dist/164.ee0515a0cc9a0f2a552f.bundle.js +0 -1
- package/dist/165.0f4bc8028ad240b067fa.bundle.js +0 -1
- package/dist/166.def18fe351170a84e86a.bundle.js +0 -1
- package/dist/167.30a2775fe78753b6ab44.bundle.js +0 -1
- package/dist/168.82cc64f579f71efa0f87.bundle.js +0 -1
- package/dist/169.d21d5f6b6634970890a0.bundle.js +0 -1
- package/dist/17.fa580868599e0c3532f8.bundle.js +0 -1
- package/dist/170.ef2dd1938db8d42f4170.bundle.js +0 -1
- package/dist/171.741ac4f6bd1f8720e3e3.bundle.js +0 -1
- package/dist/172.7daa5ea2d11254243b09.bundle.js +0 -1
- package/dist/173.7679a569b2856271d02c.bundle.js +0 -1
- package/dist/174.6290a7e043902d841a22.bundle.js +0 -1
- package/dist/175.ab734ac53eda1ba41ccc.bundle.js +0 -1
- package/dist/176.df8dc30bb3371efb0b84.bundle.js +0 -1
- package/dist/177.89fd2896caf754387b73.bundle.js +0 -1
- package/dist/178.b6538a0f9bf804cd2bc7.bundle.js +0 -1
- package/dist/179.ad8a1782d49cb8e8c026.bundle.js +0 -1
- package/dist/18.d2a66ede807651fc37ed.bundle.js +0 -1
- package/dist/180.160549bca59487c2a43d.bundle.js +0 -1
- package/dist/181.ed2632b1f8ac34b94659.bundle.js +0 -1
- package/dist/182.778b4e67bc23fd060af4.bundle.js +0 -1
- package/dist/183.8e6b64734d649c39f021.bundle.js +0 -1
- package/dist/184.6c98d7df343301d1d4b6.bundle.js +0 -1
- package/dist/185.25ba9c0786d908ccdc50.bundle.js +0 -1
- package/dist/186.d15421a31f7f10340da4.bundle.js +0 -1
- package/dist/187.904bd80a98ad539b2592.bundle.js +0 -1
- package/dist/188.a56f0936629ccab35ca2.bundle.js +0 -1
- package/dist/189.873d9aa43dfe811ffa48.bundle.js +0 -1
- package/dist/19.569028a02a8d77dd69cc.bundle.js +0 -1
- package/dist/190.86ce0d4c0b0dc1a1fb23.bundle.js +0 -1
- package/dist/191.03abff482589f32b7f9c.bundle.js +0 -1
- package/dist/192.a19f5585db9597f4f820.bundle.js +0 -1
- package/dist/193.33bf94da78d90312eef3.bundle.js +0 -1
- package/dist/194.9707760a814efb506855.bundle.js +0 -1
- package/dist/195.104b381eda0ef9277da7.bundle.js +0 -1
- package/dist/196.f11dd3333bb0445de17e.bundle.js +0 -1
- package/dist/197.6cf1498dbcfc760fd06d.bundle.js +0 -1
- package/dist/198.be8084629b80b14d4023.bundle.js +0 -1
- package/dist/199.f2512e7b856b4e78dd1f.bundle.js +0 -1
- package/dist/2.5a076be9e6117cea6484.bundle.js +0 -2
- package/dist/20.3d9c36dfa41a39fde200.bundle.js +0 -7
- package/dist/200.e31d71adfe8af5b7bda5.bundle.js +0 -1
- package/dist/201.c5c4eb20d791aa5a03ce.bundle.js +0 -1
- package/dist/202.4d12ae7a521ec4ecb697.bundle.js +0 -1
- package/dist/203.a149b7b9b48294d1a568.bundle.js +0 -1
- package/dist/204.0f6c56736301d078f872.bundle.js +0 -1
- package/dist/205.5964d31ea49f335e2153.bundle.js +0 -1
- package/dist/206.15d1de79787c216601a7.bundle.js +0 -1
- package/dist/207.b26bfd5bb6c5c8d1c9ff.bundle.js +0 -1
- package/dist/208.4a9c880a284a4e4fb40f.bundle.js +0 -1
- package/dist/209.e0891ad459f70f205eee.bundle.js +0 -1
- package/dist/21.bed2d6df5d871e6e3c59.bundle.js +0 -3
- package/dist/210.a6bdca00a853c90fbe7f.bundle.js +0 -1
- package/dist/211.32e20a7e58bdb271853a.bundle.js +0 -1
- package/dist/212.41276ef98d3d5f6afd71.bundle.js +0 -1
- package/dist/213.6759f7210457cb0d5146.bundle.js +0 -1
- package/dist/214.9604307091b5f5ba76ed.bundle.js +0 -1
- package/dist/215.fbb8b24f1b8c038182ca.bundle.js +0 -1
- package/dist/216.c97eb34eec625c81ba23.bundle.js +0 -1
- package/dist/217.886f3692cc9aa3a53e70.bundle.js +0 -1
- package/dist/218.071a38664321f618ab1e.bundle.js +0 -1
- package/dist/219.a08f6ea1d2038595bcd8.bundle.js +0 -1
- package/dist/22.6ed49c9ec5c4f8bef98f.bundle.js +0 -2
- package/dist/220.7b80583065875f30bdbb.bundle.js +0 -1
- package/dist/221.ffaddce1d0ae75b2f1c0.bundle.js +0 -1
- package/dist/222.1a3aa503cc56d775dace.bundle.js +0 -1
- package/dist/223.286fa893af9f9afd8c92.bundle.js +0 -1
- package/dist/224.1121f671e1b6a08ec6b2.bundle.js +0 -1
- package/dist/225.12f1d1f6d09186dbeea7.bundle.js +0 -1
- package/dist/226.2115665b253bb7d033b4.bundle.js +0 -1
- package/dist/227.a4eb17ab2119a9a1c2e1.bundle.js +0 -1
- package/dist/228.597753e80634d51c71a6.bundle.js +0 -1
- package/dist/229.cc462aed4d32c542a22f.bundle.js +0 -1
- package/dist/23.5b4b7b30a9ee54898bbb.bundle.js +0 -2
- package/dist/230.beb30a748147d535f158.bundle.js +0 -1
- package/dist/231.c276c9532f44836654dc.bundle.js +0 -1
- package/dist/232.62da43fcb09f04e81c7c.bundle.js +0 -1
- package/dist/233.eaf04175e1ae92919f88.bundle.js +0 -1
- package/dist/234.15deae35fbee401c5de1.bundle.js +0 -1
- package/dist/235.0364f71fb697fe6001f4.bundle.js +0 -1
- package/dist/236.6164dde1d14a9958dbe3.bundle.js +0 -1
- package/dist/237.f4167bccb6cc3098acf4.bundle.js +0 -1
- package/dist/238.c1d9ecf1f009436e1cd9.bundle.js +0 -1
- package/dist/239.750828c356c342abd9b0.bundle.js +0 -1
- package/dist/24.ef0d7437101e6a30dec7.bundle.js +0 -2
- package/dist/240.259c7aba5490d8f0b801.bundle.js +0 -1
- package/dist/241.ed67df23a8438bd541fc.bundle.js +0 -1
- package/dist/242.80b4c1062c39d124482d.bundle.js +0 -1
- package/dist/243.2797e72f076d2d531556.bundle.js +0 -1
- package/dist/244.f957102de9568bd62a52.bundle.js +0 -1
- package/dist/245.af726a643fd5f141e2ad.bundle.js +0 -1
- package/dist/246.11aa5e8c3a5cf4db5f89.bundle.js +0 -1
- package/dist/247.9edfeccd89601ad98fe2.bundle.js +0 -1
- package/dist/248.5a4d7374460366d79c15.bundle.js +0 -1
- package/dist/249.50b3d12ac980097c58c7.bundle.js +0 -1
- package/dist/25.46a7eb669f635d567ce7.bundle.js +0 -3
- package/dist/250.50810c6bf9afb6732b26.bundle.js +0 -1
- package/dist/251.36c1c2df005d2ed6d5d4.bundle.js +0 -1
- package/dist/252.50b98b9146e2383548db.bundle.js +0 -1
- package/dist/253.44a6bda88d9ad7686933.bundle.js +0 -1
- package/dist/254.468c9ecc6b0c55102133.bundle.js +0 -1
- package/dist/255.c64487f249acf9172524.bundle.js +0 -1
- package/dist/256.2a4dcf964f8f9823ea87.bundle.js +0 -1
- package/dist/257.d972f52e0e7c5734f508.bundle.js +0 -1
- package/dist/258.1e4fa1c21f15bcd2a299.bundle.js +0 -1
- package/dist/259.33e72474b9fb5dd79259.bundle.js +0 -1
- package/dist/26.1c83ef992fffd73d1243.bundle.js +0 -2
- package/dist/260.01b159571d499cfabd40.bundle.js +0 -1
- package/dist/261.2e7e0eb588a47182ac0e.bundle.js +0 -1
- package/dist/262.62b11c3cee19afce2e3f.bundle.js +0 -1
- package/dist/263.41501892e03f9cdd31be.bundle.js +0 -1
- package/dist/264.4e93f511f8124added0e.bundle.js +0 -1
- package/dist/265.cb8b76c9b36537e854a2.bundle.js +0 -1
- package/dist/266.fded0594ff94fbf19b96.bundle.js +0 -1
- package/dist/267.628a25b11f7a33fcff24.bundle.js +0 -1
- package/dist/268.ff64ff06004b62b5611d.bundle.js +0 -1
- package/dist/269.791351b99216622cb145.bundle.js +0 -1
- package/dist/27.dc5c95d1588f782e31d0.bundle.js +0 -1
- package/dist/270.7443decd8c92834274fc.bundle.js +0 -1
- package/dist/271.f513ed4052f334fc5d1a.bundle.js +0 -1
- package/dist/272.6b7242f3f4f40b4d32e9.bundle.js +0 -1
- package/dist/273.767c40d9ab0683794017.bundle.js +0 -1
- package/dist/274.b145270cefa7deeabfba.bundle.js +0 -1
- package/dist/275.fdc05b1c15c963298172.bundle.js +0 -1
- package/dist/276.7f7e05c659737293c5d6.bundle.js +0 -1
- package/dist/277.aeefb2e2230751d0a6cd.bundle.js +0 -1
- package/dist/278.ea9f1652476f591efc66.bundle.js +0 -1
- package/dist/279.d67759d35a409e74a6cf.bundle.js +0 -1
- package/dist/28.15f63a47c5b1011c2888.bundle.js +0 -1
- package/dist/280.2a6a92493c2b8eb53de7.bundle.js +0 -1
- package/dist/281.8ca4dfc70e6d75eaa25e.bundle.js +0 -1
- package/dist/282.31327afb93e1b52f8f19.bundle.js +0 -1
- package/dist/283.0a03f90fa1c267819ffa.bundle.js +0 -1
- package/dist/284.13eea8bdd7b3c7ca401b.bundle.js +0 -1
- package/dist/285.a1fc5f7cbd7cc6d3a7c2.bundle.js +0 -1
- package/dist/286.178d6ec580c5530e7c35.bundle.js +0 -1
- package/dist/287.ba6c7aff6284d841fdee.bundle.js +0 -1
- package/dist/288.4b34882ffa5fe1232b20.bundle.js +0 -1
- package/dist/289.82e1c2c605fdbb38ce8e.bundle.js +0 -1
- package/dist/29.da95f87aaa34ccf8f98f.bundle.js +0 -1
- package/dist/290.e7c552655449d0a6ee1f.bundle.js +0 -1
- package/dist/291.0254bcc0cd338b6e1fac.bundle.js +0 -1
- package/dist/292.d912c7464e852a5dded1.bundle.js +0 -1
- package/dist/293.73aaa9854fde9946364e.bundle.js +0 -1
- package/dist/294.6a1f0eeb8cfdef3192d4.bundle.js +0 -1
- package/dist/295.05f3f0f4fa85e5b141d9.bundle.js +0 -1
- package/dist/296.868f14b9bd1b53a16a11.bundle.js +0 -1
- package/dist/297.e9b1c12ce25cc7be2d72.bundle.js +0 -1
- package/dist/298.d40774bcdba10c5d2ebc.bundle.js +0 -1
- package/dist/299.8dda014cab35ba1815b1.bundle.js +0 -1
- package/dist/3.1677b68c47f7c79c00ff.bundle.js +0 -8
- package/dist/30.bba4de583145f2ece8c0.bundle.js +0 -1
- package/dist/300.4245627536cbeede19bf.bundle.js +0 -1
- package/dist/301.476fd3a75e03f03860ac.bundle.js +0 -1
- package/dist/302.a565cb68a40f87aebea0.bundle.js +0 -1
- package/dist/303.699b6974d96a62873716.bundle.js +0 -1
- package/dist/304.49f2e7808825a9be05ee.bundle.js +0 -1
- package/dist/305.b1bb41c32f7fe619cba1.bundle.js +0 -1
- package/dist/306.507664ee51d0379932c2.bundle.js +0 -1
- package/dist/307.fa58fde8655a882f9ccb.bundle.js +0 -1
- package/dist/308.69a7f26516c5629c2288.bundle.js +0 -1
- package/dist/309.709585a817666bd3ea97.bundle.js +0 -1
- package/dist/31.f6e59c66649edd6a264c.bundle.js +0 -1
- package/dist/315.52f392ef91a926596c8d.bundle.js +0 -1
- package/dist/316.8a37b5419fe1a8c09942.bundle.js +0 -1
- package/dist/317.b3355e812e0dbe84bbaa.bundle.js +0 -1
- package/dist/318.985516a21ddb304f613e.bundle.js +0 -1
- package/dist/319.08ac1b3691b48bd285a1.bundle.js +0 -1
- package/dist/32.81c457d2ad85a3237199.bundle.js +0 -1
- package/dist/320.5a7c42a73bb68d70657b.bundle.js +0 -1
- package/dist/321.f8ef6de623edd9d04b8e.bundle.js +0 -1
- package/dist/322.f08dac69268b076c2919.bundle.js +0 -1
- package/dist/323.a044b7f7803f1f95826d.bundle.js +0 -1
- package/dist/324.2489213c43a115ec4a8e.bundle.js +0 -1
- package/dist/325.82bd9fe7a732eb08cf8a.bundle.js +0 -1
- package/dist/326.2b85a4ad715fb78944d6.bundle.js +0 -1
- package/dist/327.bb3ddb0f4af2e3b1d2e5.bundle.js +0 -1
- package/dist/328.98db2f4529a6eee55b55.bundle.js +0 -1
- package/dist/329.58f4110367458a8f506c.bundle.js +0 -1
- package/dist/33.fbf5953513194ec3f2dc.bundle.js +0 -1
- package/dist/330.3e70a1666dd0786bc6fa.bundle.js +0 -1
- package/dist/331.5122cfbe626e52fd02d1.bundle.js +0 -1
- package/dist/332.a273f6816278db249098.bundle.js +0 -1
- package/dist/333.7797033996e875cef5e4.bundle.js +0 -1
- package/dist/334.f39f43aa65127d86c0de.bundle.js +0 -1
- package/dist/335.bdf002d5311bbafa3b6b.bundle.js +0 -1
- package/dist/336.046bf6011f6f55306f7d.bundle.js +0 -1
- package/dist/337.f52bb6c2a48bfbae3e5d.bundle.js +0 -1
- package/dist/338.9fd4917b8b109b611a9d.bundle.js +0 -1
- package/dist/339.c1a491da5ccc1dda2d1a.bundle.js +0 -1
- package/dist/34.48c99bc7d0f5bcde9141.bundle.js +0 -1
- package/dist/340.a2230a350b08b31e9dcc.bundle.js +0 -1
- package/dist/341.6d7d6e2c347a5f7183ff.bundle.js +0 -1
- package/dist/342.cec8ff30ba1b2f0db64c.bundle.js +0 -1
- package/dist/343.39f84908d8aeac04de37.bundle.js +0 -1
- package/dist/344.32f2947e868b2ca1cf7c.bundle.js +0 -1
- package/dist/345.9519a0c1e8610d921507.bundle.js +0 -1
- package/dist/346.a234d0d7ab110f944600.bundle.js +0 -1
- package/dist/347.89e881a6a192dd983f60.bundle.js +0 -1
- package/dist/348.14ae3944ca71fc347833.bundle.js +0 -1
- package/dist/349.606184ff5d01acc3e6b6.bundle.js +0 -1
- package/dist/35.ea0dce5bc217da95a8e4.bundle.js +0 -1
- package/dist/350.9c44a2eddf2008a38a00.bundle.js +0 -1
- package/dist/351.23289a06b4697246ce9e.bundle.js +0 -1
- package/dist/352.3046ed1ee36a576d5c93.bundle.js +0 -1
- package/dist/353.af973c793bfa22e15fac.bundle.js +0 -1
- package/dist/354.fa248513f541c160e67c.bundle.js +0 -1
- package/dist/355.f524cdb727598e6d4fc3.bundle.js +0 -1
- package/dist/356.0482816218131d48de41.bundle.js +0 -1
- package/dist/357.c4f789b05483439e31bf.bundle.js +0 -1
- package/dist/358.d057bdfaaf7136305108.bundle.js +0 -1
- package/dist/359.9e68265babe6c3029901.bundle.js +0 -1
- package/dist/36.72b60f0dadcb9a3602c3.bundle.js +0 -1
- package/dist/360.6644ba58cb7fa55434a1.bundle.js +0 -1
- package/dist/361.346b783405475ff949b3.bundle.js +0 -1
- package/dist/362.e2dea4b91c16395af08b.bundle.js +0 -1
- package/dist/363.03cc3e776f5e7d936e62.bundle.js +0 -1
- package/dist/364.2b194c33842b7293286f.bundle.js +0 -1
- package/dist/365.4b5c136170ff6bd5cfa5.bundle.js +0 -1
- package/dist/366.fb289ab7e21ccebf2e81.bundle.js +0 -1
- package/dist/367.c2fdbfd858869b8cfa02.bundle.js +0 -1
- package/dist/368.88e91f9d577e4a24c393.bundle.js +0 -1
- package/dist/369.42cd152c380da070e17d.bundle.js +0 -1
- package/dist/37.979dafa06b4ac706175f.bundle.js +0 -1
- package/dist/370.9854cfd406fdb9a960d1.bundle.js +0 -1
- package/dist/371.162dd124d4ba999559f2.bundle.js +0 -1
- package/dist/372.7ef0b402b34de8fa7de3.bundle.js +0 -1
- package/dist/373.9d1186f68be57f69bf19.bundle.js +0 -1
- package/dist/374.fcf294a736f3cbfb2abd.bundle.js +0 -1
- package/dist/375.61bfa3705d0a5b5e130f.bundle.js +0 -1
- package/dist/376.bac4c4a317961264a74e.bundle.js +0 -1
- package/dist/377.9e726e205a4febd06881.bundle.js +0 -1
- package/dist/378.50b7c82a6f2ba7f7f1a0.bundle.js +0 -1
- package/dist/379.4a16971091276efef7ea.bundle.js +0 -1
- package/dist/38.6c4d98e2f8d52004ee09.bundle.js +0 -1
- package/dist/380.29ecd94330c14efa4786.bundle.js +0 -1
- package/dist/381.1c5879a7d41b1fc0811c.bundle.js +0 -1
- package/dist/382.2e8bbae9cb4f64322dd7.bundle.js +0 -1
- package/dist/383.3291512a191c74755806.bundle.js +0 -1
- package/dist/384.ac1029daf540d96ab1ba.bundle.js +0 -1
- package/dist/385.dcf0f30562fec30d81ae.bundle.js +0 -1
- package/dist/386.b0dcb641d78184c9cd9a.bundle.js +0 -1
- package/dist/387.53c1171594a47e46d973.bundle.js +0 -1
- package/dist/388.5fc49decfc830a511eef.bundle.js +0 -1
- package/dist/389.3a0b6965084e6963a174.bundle.js +0 -1
- package/dist/39.df1815db4cd3cf39819f.bundle.js +0 -1
- package/dist/390.5c30dfdf6beb8fc1cfc5.bundle.js +0 -1
- package/dist/391.5e23157e8a90a7fc552f.bundle.js +0 -1
- package/dist/392.55fd2759761bf0209940.bundle.js +0 -1
- package/dist/4.aff67673cf6b0533d362.bundle.js +0 -1
- package/dist/40.63661029e5734fd5562f.bundle.js +0 -1
- package/dist/41.0d3377c5004cb06d9ec5.bundle.js +0 -1
- package/dist/42.22de61ed85fccbb2f70f.bundle.js +0 -1
- package/dist/43.134daf93e10cc14378bf.bundle.js +0 -1
- package/dist/44.987d20d3ac6c478ae000.bundle.js +0 -1
- package/dist/45.e78d204e8b77f6c8378b.bundle.js +0 -1
- package/dist/46.4d533b484c1b03410eb3.bundle.js +0 -1
- package/dist/47.094ce29352480a54c186.bundle.js +0 -1
- package/dist/48.68c92758daa2e09f72ed.bundle.js +0 -1
- package/dist/49.528a09f441b28bf08064.bundle.js +0 -2
- package/dist/5.1aa40b3ef6411ef4e8bb.bundle.js +0 -1
- package/dist/50.bf792163b8764b926168.bundle.js +0 -1
- package/dist/51.a90d10cc476db680948c.bundle.js +0 -1
- package/dist/52.2823d09c200882322ae5.bundle.js +0 -1
- package/dist/53.96f2ad442baa9f720c6a.bundle.js +0 -1
- package/dist/54.86a25a049a434243e725.bundle.js +0 -1
- package/dist/55.5a1aa4dcdd6933de413b.bundle.js +0 -1
- package/dist/56.59d91178e564f8808d62.bundle.js +0 -1
- package/dist/57.26d7d4f33d5f226943c6.bundle.js +0 -1
- package/dist/58.e6cbcfea71d0f5dc97d8.bundle.js +0 -1
- package/dist/59.421ee2b1ea2721dedac8.bundle.js +0 -2
- package/dist/6.22d45d855c48545f09aa.bundle.js +0 -1
- package/dist/60.da92690cb0d953cab0a1.bundle.js +0 -1
- package/dist/61.b538e6950ca149a7e75b.bundle.js +0 -1
- package/dist/62.e7161db8cb36f588edaf.bundle.js +0 -1
- package/dist/63.259cba761b15f620a198.bundle.js +0 -1
- package/dist/64.56aea2ad2c856287190c.bundle.js +0 -1
- package/dist/65.98acc51a9d5dd9a86665.bundle.js +0 -1
- package/dist/66.7f4aa7b917ae36e0bae9.bundle.js +0 -1
- package/dist/67.3160625ff03b48f4188d.bundle.js +0 -1
- package/dist/68.ad5a293f3cca442615c0.bundle.js +0 -1
- package/dist/69.7d308309b390704d1493.bundle.js +0 -1
- package/dist/7.a51db761d9c64e0ce870.bundle.js +0 -1
- package/dist/70.d1b703ea44c96894d09e.bundle.js +0 -1
- package/dist/71.db1b70da8f6fefccf527.bundle.js +0 -1
- package/dist/72.b5e64cea3d34ce9cfdd4.bundle.js +0 -1
- package/dist/73.a21b5393676f3e1707a2.bundle.js +0 -1
- package/dist/74.620c1813dfcb15bbbc24.bundle.js +0 -1
- package/dist/75.c1c8c7e9c459e0ee60c2.bundle.js +0 -1
- package/dist/76.53ea6c6f22d3681f8837.bundle.js +0 -2
- package/dist/77.6611d9338986b1a12868.bundle.js +0 -1
- package/dist/78.f6e3f127ae7da2f57ac3.bundle.js +0 -1
- package/dist/79.1d3d629022ded5fbd984.bundle.js +0 -1
- package/dist/8.101df7c69717778e920f.bundle.js +0 -1
- package/dist/80.cc0811a26bf10316f9c7.bundle.js +0 -1
- package/dist/81.4d6864805c077f3a633f.bundle.js +0 -1
- package/dist/82.252c34f7f437d36937c0.bundle.js +0 -1
- package/dist/83.fcffee43e09e1e76cc7d.bundle.js +0 -1
- package/dist/84.d72d91884ff43e148b7b.bundle.js +0 -1
- package/dist/85.97eaab6abd1ed466fc88.bundle.js +0 -1
- package/dist/86.5a49f7e16001eb9e3c71.bundle.js +0 -1
- package/dist/87.a091d78e666c7408fc90.bundle.js +0 -1
- package/dist/88.a4d1f06b166b6572a071.bundle.js +0 -1
- package/dist/89.53fc565430f4836f7f2c.bundle.js +0 -1
- package/dist/9.d5f26ca3c7c77b6cc0ac.bundle.js +0 -1
- package/dist/90.56c33a7601972e3e67d6.bundle.js +0 -1
- package/dist/91.bd0add73fd8dfcaaf5e7.bundle.js +0 -1
- package/dist/92.85cd3847caf6206077c7.bundle.js +0 -1
- package/dist/93.9e44d8527d129ad3acf1.bundle.js +0 -1
- package/dist/94.b2ff0d4f0f1446e34048.bundle.js +0 -1
- package/dist/95.49ca08a06e31cad93026.bundle.js +0 -1
- package/dist/96.034bd4c7e0e8c36d076f.bundle.js +0 -1
- package/dist/97.b898cf5aacd5400a7410.bundle.js +0 -1
- package/dist/98.200bfd438d2ea40e05e0.bundle.js +0 -1
- package/dist/99.aa44f325807ab43663ef.bundle.js +0 -1
- package/dist/bundle.6d55f24bf710dc734eaf.bundle.js +0 -95
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css +0 -2337
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css.map +0 -7
- package/dist/font/font-awesome/4.3.0/css/font-awesome.min.css +0 -4
- package/dist/font/font-awesome/4.3.0/fonts/FontAwesome.otf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.eot +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.svg +0 -2671
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/font/fontawesome-webfont.674f50d287a8c48dc19ba404d20fe713.eot +0 -0
- package/dist/img/fontawesome-webfont.912ec66d7572ff821749319396470bde.svg +0 -2671
- package/dist/js/angular/clustermanagement/templates/cluster-configuration.html +0 -89
- package/dist/js/angular/clustermanagement/templates/modal/add-nodes-dialog.html +0 -67
- package/dist/js/angular/clustermanagement/templates/modal/cluster-create-dialog.html +0 -173
- package/dist/js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html +0 -39
- package/dist/js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html +0 -86
- package/dist/js/angular/ttyg/templates/chat1.html +0 -113
- package/dist/js/angular/ttyg/templates/modal/settings.html +0 -61
- package/dist/main.9383f2ad934cf3bacb79.bundle.js +0 -1
- package/dist/main.98c547eac0aca6db48bb.css +0 -1
- package/dist/polyfills-dom.f5c2e0835a269ea70ac8.bundle.js +0 -19
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff +0 -0
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/vendor.0dbd09f6d69e78b19728.css +0 -25
- package/dist/vendor.30a6591bfdc394bd3913.bundle.js +0 -27
- package/dist/vendors~polyfills-core-js.e7feaf41f75b46b008db.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[127],{148:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return l})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return h})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var r=s(18);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,l,c){const u=a.createRule(e,t,s,r,i,o,n,l,c);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=h.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||p.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||p.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||p.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,h,p){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,h,r);case _.PLUGIN:return new l(s,t,p,r);case _.CLEAR_GRAPH:return new c(s,t,h);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const h={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[128],{324:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo",documentationUrl:"managing-fgac-workbench.html"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[129],{215:function(e,t,o){"use strict";o.r(t);o(26);var n=o(24),r=o(0);function i(e,t,o,i,c,a,s,l,u,d,f,p,g){let m;function b(){m&&t.cancel(m)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const I=function(){f.checkAutocompleteStatus().then(t=>{e.autocompleteEnabled=t,g.setAutocompleteEnabled(t)}).catch(e=>{o.error(getError(e))})},L=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},h=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(R(),I(),L(),v(),h()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const A=function(){m=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&v()}),5e3)};e.$on("$destroy",(function(){b()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){I(),v()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){L(),v()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){v()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=u.expandPrefix(n,e.namespaces),u.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){h(),v()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){h(),v()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){b(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),A())}));const R=()=>{l.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),A())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","AutocompleteService","$translate","WorkbenchContextService"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,74,91,193,195,196],{126:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(97),a=n(18);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},157:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},224:function(t,e,n){"use strict";n.r(e);var s=n(225),a=n(126),r=n(97);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},225:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(157),a=n(97);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},97:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r})),n.d(e,"TopologyState",(function(){return o}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"},o={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{326:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo",documentationUrl:"autocomplete-index.html"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{216:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{328:function(e,r){PluginRegistry.add("route",{url:"/monitor/backup-and-restore",module:"graphdb.framework.monitoring.backupandrestore",path:"backup-and-restore/app",chunk:"monitor-backup-and-restore",controller:"BackupAndRestoreCtrl",templateUrl:"pages/monitor/backup-and-restore.html",title:"view.monitoring.backup_and_restore.title",helpInfo:"view.monitoring.backup_and_restore.helpInfo",documentationUrl:"backup-and-restore.html#monitoring-your-recovery-operations"}),PluginRegistry.add("main.menu",{items:[{label:"Backup and Restore",labelKey:"menu.backup_and_restore.label",href:"monitor/backup-and-restore",order:2,parent:"Monitor",guideSelector:"sub-menu-backup-and-restore"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{220:function(e,o){function n(e,o){e.forceDelete=!1,e.ok=()=>{o.close(e.forceDelete)},e.cancel=()=>{o.dismiss("cancel")},e.onClick=e=>{e.stopPropagation()}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",n),n.$inject=["$scope","$uibModalInstance"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{221:function(e,t,s){"use strict";s.r(t);s(222);var n=s(18);function a(e,t,s,a,o,l){const i=[];e.isValid=o.isValid(),e.ok=()=>{const e=o.getClusterView();e.hasCluster()?t.close(Object(n.cloneDeep)(e.getUpdateActions())):t.close(Object(n.cloneDeep)(e.getUpdateActions().clusterConfiguration))},e.cancel=()=>{e.isChanged?l.openSimpleModal({title:s.instant("common.warning"),message:s.instant("page.leave.pristine.warning"),warning:!0}).result.then(()=>{t.dismiss("cancel")}):t.dismiss("cancel")};const r=()=>{i.forEach(e=>e())};i.push(o.onClusterValidityChanged(t=>{e.isValid=t})),i.push(o.onClusterViewChanged(()=>{if(!e.hasCluster&&0===o.getAttached().length){const e=o.getLocalNode();o.addLocation(e)}e.isChanged=o.isChanged()})),e.$on("$destroy",()=>{r(),o.setClusterView(void 0)}),o.setClusterView(a.clusterModel),e.hasCluster=a.clusterModel.hasCluster}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster-nodes-modal",["graphdb.framework.clustermanagement.services.cluster-context"]).controller("EditClusterNodesModalController",a),a.$inject=["$scope","$uibModalInstance","$translate","data","ClusterContextService","ModalService"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{159:function(e,t){function r(){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-nodes.html",scope:{currentNode:"=",clusterModel:"="}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-nodes",[]).directive("clusterNodes",r),r.$inject=[]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{108:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{330:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title",documentationUrl:"creating-a-cluster.html#using-the-workbench"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[138],{218:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{217:function(t,r,e){"use strict";e.r(r);e(50);function n(t,r,e,n,o){return{addLocationHttp:function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})},getLocationsWithRpcAddresses:a,createNewLocation:function(t){return{uri:t,authType:"signature",username:"",password:"",active:!1,clusterMode:!0,isLocal:!1}},isInCluster:function(t,r){return t.some(t=>r.rpcAddress===t.address)}};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{540:function(e,t,n){"use strict";const o={};e.exports=o,o.isArray=Array.isArray,o.isBoolean=e=>"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e),o.isDouble=e=>o.isNumber(e)&&(-1!==String(e).indexOf(".")||Math.abs(e)>=1e21),o.isEmptyObject=e=>o.isObject(e)&&0===Object.keys(e).length,o.isNumber=e=>"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e),o.isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),o.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),o.isString=e=>"string"==typeof e||"[object String]"===Object.prototype.toString.call(e),o.isUndefined=e=>void 0===e},542:function(e,t,n){"use strict";const o=n(552),r=n(540),i=n(601).IdentifierIssuer,a=n(543),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,l=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,c=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,d={accept:"application/ld+json, application/json"},u={};e.exports=u,u.IdentifierIssuer=i,u.REGEX_BCP47=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,u.REGEX_KEYWORD=/^@[a-zA-Z]+$/,u.clone=function(e){if(e&&"object"==typeof e){let t;if(r.isArray(e)){t=[];for(let n=0;n<e.length;++n)t[n]=u.clone(e[n])}else if(e instanceof Map){t=new Map;for(const[n,o]of e)t.set(n,u.clone(o))}else if(e instanceof Set){t=new Set;for(const n of e)t.add(u.clone(n))}else if(r.isObject(e)){t={};for(const n in e)t[n]=u.clone(e[n])}else t=e.toString();return t}return e},u.asArray=function(e){return Array.isArray(e)?e:[e]},u.buildHeaders=(e={})=>{if(Object.keys(e).some(e=>"accept"===e.toLowerCase()))throw new RangeError('Accept header may not be specified; only "'+d.accept+'" is supported.');return Object.assign({Accept:d.accept},e)},u.parseLinkHeader=e=>{const t={},n=e.match(s);for(let e=0;e<n.length;++e){let o=n[e].match(l);if(!o)continue;const r={target:o[1]},i=o[2];for(;o=c.exec(i);)r[o[1]]=void 0===o[2]?o[3]:o[2];const a=r.rel||"";Array.isArray(t[a])?t[a].push(r):t.hasOwnProperty(a)?t[a]=[t[a],r]:t[a]=r}return t},u.validateTypeValue=(e,t)=>{if(!(r.isString(e)||r.isArray(e)&&e.every(e=>r.isString(e)))){if(t&&r.isObject(e))switch(Object.keys(e).length){case 0:return;case 1:if("@default"in e&&u.asArray(e["@default"]).every(e=>r.isString(e)))return}throw new a('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}},u.hasProperty=(e,t)=>{if(e.hasOwnProperty(t)){const n=e[t];return!r.isArray(n)||n.length>0}return!1},u.hasValue=(e,t,n)=>{if(u.hasProperty(e,t)){let i=e[t];const a=o.isList(i);if(r.isArray(i)||a){a&&(i=i["@list"]);for(let e=0;e<i.length;++e)if(u.compareValues(n,i[e]))return!0}else if(!r.isArray(n))return u.compareValues(n,i)}return!1},u.addValue=(e,t,n,o)=>{if("propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1),"valueIsArray"in o||(o.valueIsArray=!1),"allowDuplicate"in o||(o.allowDuplicate=!0),"prependValue"in o||(o.prependValue=!1),o.valueIsArray)e[t]=n;else if(r.isArray(n)){0===n.length&&o.propertyIsArray&&!e.hasOwnProperty(t)&&(e[t]=[]),o.prependValue&&(n=n.concat(e[t]),e[t]=[]);for(let r=0;r<n.length;++r)u.addValue(e,t,n[r],o)}else if(e.hasOwnProperty(t)){const i=!o.allowDuplicate&&u.hasValue(e,t,n);r.isArray(e[t])||i&&!o.propertyIsArray||(e[t]=[e[t]]),i||(o.prependValue?e[t].unshift(n):e[t].push(n))}else e[t]=o.propertyIsArray?[n]:n},u.getValues=(e,t)=>[].concat(e[t]||[]),u.removeProperty=(e,t)=>{delete e[t]},u.removeValue=(e,t,n,o)=>{"propertyIsArray"in(o=o||{})||(o.propertyIsArray=!1);const r=u.getValues(e,t).filter(e=>!u.compareValues(e,n));0===r.length?u.removeProperty(e,t):1!==r.length||o.propertyIsArray?e[t]=r:e[t]=r[0]},u.relabelBlankNodes=(e,t)=>function e(t,n){if(r.isArray(n))for(let o=0;o<n.length;++o)n[o]=e(t,n[o]);else if(o.isList(n))n["@list"]=e(t,n["@list"]);else if(r.isObject(n)){o.isBlankNode(n)&&(n["@id"]=t.getId(n["@id"]));const r=Object.keys(n).sort();for(let o=0;o<r.length;++o){const i=r[o];"@id"!==i&&(n[i]=e(t,n[i]))}}return n}((t=t||{}).issuer||new i("_:b"),e),u.compareValues=(e,t)=>e===t||(!(!o.isValue(e)||!o.isValue(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(r.isObject(e)&&"@id"in e&&r.isObject(t)&&"@id"in t)&&e["@id"]===t["@id"]),u.compareShortestLeast=(e,t)=>e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1},543:function(e,t,n){"use strict";e.exports=class extends Error{constructor(e="An unspecified JSON-LD error occurred.",t="jsonld.Error",n={}){super(e),this.name=t,this.message=e,this.details=n}}},552:function(e,t,n){"use strict";const o=n(540),r={};e.exports=r,r.isSubject=e=>{if(o.isObject(e)&&!("@value"in e||"@set"in e||"@list"in e)){return Object.keys(e).length>1||!("@id"in e)}return!1},r.isSubjectReference=e=>o.isObject(e)&&1===Object.keys(e).length&&"@id"in e,r.isValue=e=>o.isObject(e)&&"@value"in e,r.isList=e=>o.isObject(e)&&"@list"in e,r.isGraph=e=>o.isObject(e)&&"@graph"in e&&1===Object.keys(e).filter(e=>"@id"!==e&&"@index"!==e).length,r.isSimpleGraph=e=>r.isGraph(e)&&!("@id"in e),r.isBlankNode=e=>{if(o.isObject(e)){if("@id"in e){const t=e["@id"];return!o.isString(t)||0===t.indexOf("_:")}return 0===Object.keys(e).length||!("@value"in e||"@set"in e||"@list"in e)}return!1}},554:function(e,t,n){"use strict";const o=n(540),r={};e.exports=r,r.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},r.parse=(e,t)=>{const n={},o=r.parsers[t||"full"],i=o.regex.exec(e);let a=o.keys.length;for(;a--;)n[o.keys[a]]=void 0===i[a]?null:i[a];return("https"===n.scheme&&"443"===n.port||"http"===n.scheme&&"80"===n.port)&&(n.href=n.href.replace(":"+n.port,""),n.authority=n.authority.replace(":"+n.port,""),n.port=null),n.normalizedPath=r.removeDotSegments(n.path),n},r.prependBase=(e,t)=>{if(null===e)return t;if(r.isAbsolute(t))return t;e&&!o.isString(e)||(e=r.parse(e||""));const n=r.parse(t),i={protocol:e.protocol||""};if(null!==n.authority)i.authority=n.authority,i.path=n.path,i.query=n.query;else if(i.authority=e.authority,""===n.path)i.path=e.path,null!==n.query?i.query=n.query:i.query=e.query;else{if(0===n.path.indexOf("/"))i.path=n.path;else{let t=e.path;t=t.substr(0,t.lastIndexOf("/")+1),(t.length>0||e.authority)&&"/"!==t.substr(-1)&&(t+="/"),t+=n.path,i.path=t}i.query=n.query}""!==n.path&&(i.path=r.removeDotSegments(i.path));let a=i.protocol;return null!==i.authority&&(a+="//"+i.authority),a+=i.path,null!==i.query&&(a+="?"+i.query),null!==n.fragment&&(a+="#"+n.fragment),""===a&&(a="./"),a},r.removeBase=(e,t)=>{if(null===e)return t;e&&!o.isString(e)||(e=r.parse(e||""));let n="";if(""!==e.href?n+=(e.protocol||"")+"//"+(e.authority||""):t.indexOf("//")&&(n+="//"),0!==t.indexOf(n))return t;const i=r.parse(t.substr(n.length)),a=e.normalizedPath.split("/"),s=i.normalizedPath.split("/"),l=i.fragment||i.query?0:1;for(;a.length>0&&s.length>l&&a[0]===s[0];)a.shift(),s.shift();let c="";if(a.length>0){a.pop();for(let e=0;e<a.length;++e)c+="../"}return c+=s.join("/"),null!==i.query&&(c+="?"+i.query),null!==i.fragment&&(c+="#"+i.fragment),""===c&&(c="./"),c},r.removeDotSegments=e=>{if(0===e.length)return"";const t=e.split("/"),n=[];for(;t.length>0;){const e=t.shift(),o=0===t.length;"."!==e?".."!==e?n.push(e):(n.pop(),o&&n.push("")):o&&n.push("")}return"/"===e[0]&&n.length>0&&""!==n[0]&&n.unshift(""),1===n.length&&""===n[0]?"/":n.join("/")};const i=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;r.isAbsolute=e=>o.isString(e)&&i.test(e),r.isRelative=e=>o.isString(e)},559:function(e,t,n){"use strict";const o=n(542),r=n(543),{isArray:i,isObject:a,isString:s,isUndefined:l}=n(540),{isAbsolute:c,isRelative:d,prependBase:u}=n(554),{handleEvent:p}=n(569),{REGEX_BCP47:f,REGEX_KEYWORD:h,asArray:v,compareShortestLeast:g}=n(542),y=new Map,m={};function x(e,t,n,o,r,i){if(null===t||!s(t)||m.isKeyword(t))return t;if(t.match(h))return null;if(o&&o.hasOwnProperty(t)&&!0!==r.get(t)&&m.createTermDefinition({activeCtx:e,localCtx:o,term:t,defined:r,options:i}),(n=n||{}).vocab){const n=e.mappings.get(t);if(null===n)return null;if(a(n)&&"@id"in n)return n["@id"]}const l=t.indexOf(":");if(l>0){const n=t.substr(0,l),a=t.substr(l+1);if("_"===n||0===a.indexOf("//"))return t;o&&o.hasOwnProperty(n)&&m.createTermDefinition({activeCtx:e,localCtx:o,term:n,defined:r,options:i});const s=e.mappings.get(n);if(s&&s._prefix)return s["@id"]+a;if(c(t))return t}if(n.vocab&&"@vocab"in e){t=e["@vocab"]+t}else if(n.base){let n,o;"@base"in e?e["@base"]?(o=u(i.base,e["@base"]),n=u(o,t)):(o=e["@base"],n=t):(o=i.base,n=u(i.base,t)),t=n}return t}e.exports=m,m.process=async({activeCtx:e,localCtx:t,options:n,propagate:o=!0,overrideProtected:l=!1,cycles:h=new Set})=>{a(t)&&"@context"in t&&i(t["@context"])&&(t=t["@context"]);if(0===v(t).length)return e;const g=[],y=[({event:e,next:t})=>{g.push(e),t()}];n.eventHandler&&y.push(n.eventHandler);const b=n;n={...n,eventHandler:y};const w=await n.contextResolver.resolve({activeCtx:e,context:t,documentLoader:n.documentLoader,base:n.base});a(w[0].document)&&"boolean"==typeof w[0].document["@propagate"]&&(o=w[0].document["@propagate"]);let j=e;o||j.previousContext||(j=j.clone(),j.previousContext=e);for(const o of w){let{document:i}=o;if(e=j,null===i){if(!l&&0!==Object.keys(e.protected).length)throw new r("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});j=e=m.getInitialContext(n).clone();continue}const v=o.getProcessed(e);if(v){if(b.eventHandler)for(const e of v.events)p({event:e,options:b});j=e=v.context;continue}if(a(i)&&"@context"in i&&(i=i["@context"]),!a(i))throw new r("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:i});j=j.clone();const y=new Map;if("@version"in i){if(1.1!==i["@version"])throw new r("Unsupported JSON-LD version: "+i["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:i});if(e.processingMode&&"json-ld-1.0"===e.processingMode)throw new r("@version: "+i["@version"]+" not compatible with "+e.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:i});j.processingMode="json-ld-1.1",j["@version"]=i["@version"],y.set("@version",!0)}if(j.processingMode=j.processingMode||e.processingMode,"@base"in i){let e=i["@base"];if(null===e||c(e));else{if(!d(e))throw new r('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:i});e=u(j["@base"],e)}j["@base"]=e,y.set("@base",!0)}if("@vocab"in i){const e=i["@vocab"];if(null===e)delete j["@vocab"];else{if(!s(e))throw new r('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:i});if(!c(e)&&m.processingMode(j,1))throw new r('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:i});{const t=x(j,e,{vocab:!0,base:!0},void 0,void 0,n);c(t)||n.eventHandler&&p({event:{type:["JsonLdEvent"],code:"relative @vocab reference",level:"warning",message:"Relative @vocab reference found.",details:{vocab:t}},options:n}),j["@vocab"]=t}}y.set("@vocab",!0)}if("@language"in i){const e=i["@language"];if(null===e)delete j["@language"];else{if(!s(e))throw new r('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:i});e.match(f)||n.eventHandler&&p({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:n}),j["@language"]=e.toLowerCase()}y.set("@language",!0)}if("@direction"in i){const t=i["@direction"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @direction not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:i});if(null===t)delete j["@direction"];else{if("ltr"!==t&&"rtl"!==t)throw new r('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:i});j["@direction"]=t}y.set("@direction",!0)}if("@propagate"in i){const n=i["@propagate"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @propagate not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:i});if("boolean"!=typeof n)throw new r("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:t});y.set("@propagate",!0)}if("@import"in i){const o=i["@import"];if("json-ld-1.0"===e.processingMode)throw new r("Invalid JSON-LD syntax; @import not compatible with "+e.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:i});if(!s(o))throw new r("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:t});const a=await n.contextResolver.resolve({activeCtx:e,context:o,documentLoader:n.documentLoader,base:n.base});if(1!==a.length)throw new r("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:t});const l=a[0].getProcessed(e);if(l)i=l;else{const n=a[0].document;if("@import"in n)throw new r("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:t});for(const e in n)i.hasOwnProperty(e)||(i[e]=n[e]);a[0].setProcessed(e,i)}y.set("@import",!0)}y.set("@protected",i["@protected"]||!1);for(const e in i)if(m.createTermDefinition({activeCtx:j,localCtx:i,term:e,defined:y,options:n,overrideProtected:l}),a(i[e])&&"@context"in i[e]){const t=i[e]["@context"];let o=!0;if(s(t)){const e=u(n.base,t);h.has(e)?o=!1:h.add(e)}if(o)try{await m.process({activeCtx:j.clone(),localCtx:i[e]["@context"],overrideProtected:!0,options:n,cycles:h})}catch(t){throw new r("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:i[e]["@context"],term:e})}}o.setProcessed(e,{context:j,events:g})}return j},m.createTermDefinition=({activeCtx:e,localCtx:t,term:n,defined:o,options:l,overrideProtected:d=!1})=>{if(o.has(n)){if(o.get(n))return;throw new r("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:t,term:n})}let u;if(o.set(n,!1),t.hasOwnProperty(n)&&(u=t[n]),"@type"===n&&a(u)&&"@set"===(u["@container"]||"@set")&&m.processingMode(e,1.1)){const e=["@container","@id","@protected"],o=Object.keys(u);if(0===o.length||o.some(t=>!e.includes(t)))throw new r("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:n})}else{if(m.isKeyword(n))throw new r("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:n});if(n.match(h))return void(l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved term",level:"warning",message:'Terms beginning with "@" are reserved for future use and dropped.',details:{term:n}},options:l}));if(""===n)throw new r("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:t})}const f=e.mappings.get(n);e.mappings.has(n)&&e.mappings.delete(n);let v=!1;if((s(u)||null===u)&&(v=!0,u={"@id":u}),!a(u))throw new r("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:t});const g={};e.mappings.set(n,g),g.reverse=!1;const y=["@container","@id","@language","@reverse","@type"];m.processingMode(e,1.1)&&y.push("@context","@direction","@index","@nest","@prefix","@protected");for(const e in u)if(!y.includes(e))throw new r("Invalid JSON-LD syntax; a term definition must not contain "+e,"jsonld.SyntaxError",{code:"invalid term definition",context:t});const b=n.indexOf(":");if(g._termHasColon=b>0,"@reverse"in u){if("@id"in u)throw new r("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});if("@nest"in u)throw new r("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});const i=u["@reverse"];if(!s(i))throw new r("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(i.match(h))return l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved @reverse value",level:"warning",message:'@reverse values beginning with "@" are reserved for future use and dropped.',details:{reverse:i}},options:l}),void(f?e.mappings.set(n,f):e.mappings.delete(n));const a=x(e,i,{vocab:!0,base:!1},t,o,l);if(!c(a))throw new r("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});g["@id"]=a,g.reverse=!0}else if("@id"in u){let i=u["@id"];if(i&&!s(i))throw new r("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(null===i)g["@id"]=null;else{if(!m.isKeyword(i)&&i.match(h))return l.eventHandler&&p({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:'@id values beginning with "@" are reserved for future use and dropped.',details:{id:i}},options:l}),void(f?e.mappings.set(n,f):e.mappings.delete(n));if(i!==n){if(i=x(e,i,{vocab:!0,base:!1},t,o,l),!c(i)&&!m.isKeyword(i))throw new r("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(n.match(/(?::[^:])|\//)){if(x(e,n,{vocab:!0,base:!1},t,new Map(o).set(n,!0),l)!==i)throw new r("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t})}g["@id"]=i,g._prefix=v&&!g._termHasColon&&null!==i.match(/[:\/\?#\[\]@]$/)}}}if(!("@id"in g))if(g._termHasColon){const r=n.substr(0,b);if(t.hasOwnProperty(r)&&m.createTermDefinition({activeCtx:e,localCtx:t,term:r,defined:o,options:l}),e.mappings.has(r)){const t=n.substr(b+1);g["@id"]=e.mappings.get(r)["@id"]+t}else g["@id"]=n}else if("@type"===n)g["@id"]=n;else{if(!("@vocab"in e))throw new r("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t,term:n});g["@id"]=e["@vocab"]+n}if((!0===u["@protected"]||!0===o.get("@protected")&&!1!==u["@protected"])&&(e.protected[n]=!0,g.protected=!0),o.set(n,!0),"@type"in u){let n=u["@type"];if(!s(n))throw new r("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if("@json"===n||"@none"===n){if(m.processingMode(e,1))throw new r(`Invalid JSON-LD syntax; an @context @type value must not be "${n}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:t})}else if("@id"!==n&&"@vocab"!==n){if(n=x(e,n,{vocab:!0,base:!1},t,o,l),!c(n))throw new r("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if(0===n.indexOf("_:"))throw new r("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}g["@type"]=n}if("@container"in u){const n=s(u["@container"])?[u["@container"]]:u["@container"]||[],o=["@list","@set","@index","@language"];let a=!0;const l=n.includes("@set");if(m.processingMode(e,1.1)){if(o.push("@graph","@id","@type"),n.includes("@list")){if(1!==n.length)throw new r("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else if(n.includes("@graph")){if(n.some(e=>"@graph"!==e&&"@id"!==e&&"@index"!==e&&"@set"!==e))throw new r("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else a&=n.length<=(l?2:1);if(n.includes("@type")&&(g["@type"]=g["@type"]||"@id",!["@id","@vocab"].includes(g["@type"])))throw new r("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}else a&=!i(u["@container"]),a&=n.length<=1;if(a&=n.every(e=>o.includes(e)),a&=!(l&&n.includes("@list")),!a)throw new r("Invalid JSON-LD syntax; @context @container value must be one of the following: "+o.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:t});if(g.reverse&&!n.every(e=>["@index","@set"].includes(e)))throw new r("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});g["@container"]=n}if("@index"in u){if(!("@container"in u)||!g["@container"].includes("@index"))throw new r(`Invalid JSON-LD syntax; @index without @index in @container: "${u["@index"]}" on term "${n}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:t});if(!s(u["@index"])||0===u["@index"].indexOf("@"))throw new r(`Invalid JSON-LD syntax; @index must expand to an IRI: "${u["@index"]}" on term "${n}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:t});g["@index"]=u["@index"]}if("@context"in u&&(g["@context"]=u["@context"]),"@language"in u&&!("@type"in u)){let e=u["@language"];if(null!==e&&!s(e))throw new r("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:t});null!==e&&(e=e.toLowerCase()),g["@language"]=e}if("@prefix"in u){if(n.match(/:|\//))throw new r("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:t});if(m.isKeyword(g["@id"]))throw new r("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:t});if("boolean"!=typeof u["@prefix"])throw new r("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:t});g._prefix=!0===u["@prefix"]}if("@direction"in u){const e=u["@direction"];if(null!==e&&"ltr"!==e&&"rtl"!==e)throw new r('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:t});g["@direction"]=e}if("@nest"in u){const e=u["@nest"];if(!s(e)||"@nest"!==e&&0===e.indexOf("@"))throw new r("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:t});g["@nest"]=e}
|
|
2
|
+
// disallow aliasing @context and @preserve
|
|
3
|
+
const w=g["@id"];if("@context"===w||"@preserve"===w)throw new r("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:t});if(f&&f.protected&&!d&&(e.protected[n]=!0,g.protected=!0,!function e(t,n){if(!t||"object"!=typeof t||!n||"object"!=typeof n)return t===n;const o=Array.isArray(t);if(o!==Array.isArray(n))return!1;if(o){if(t.length!==n.length)return!1;for(let o=0;o<t.length;++o)if(!e(t[o],n[o]))return!1;return!0}const r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;for(const o in t){let r=t[o],i=n[o];if("@container"===o&&Array.isArray(r)&&Array.isArray(i)&&(r=r.slice().sort(),i=i.slice().sort()),!e(r,i))return!1}return!0}(f,g)))throw new r("Invalid JSON-LD syntax; tried to redefine a protected term.","jsonld.SyntaxError",{code:"protected term redefinition",context:t,term:n})},m.expandIri=(e,t,n,o)=>x(e,t,n,void 0,void 0,o),m.getInitialContext=e=>{const t=JSON.stringify({processingMode:e.processingMode}),n=y.get(t);if(n)return n;const r={processingMode:e.processingMode,mappings:new Map,inverse:null,getInverse:function(){const e=this;if(e.inverse)return e.inverse;const t=e.inverse={},n=e.fastCurieMap={},o={},r=(e["@language"]||"@none").toLowerCase(),s=e["@direction"],l=e.mappings,c=[...l.keys()].sort(g);for(const e of c){const i=l.get(e);if(null===i)continue;let c=i["@container"]||"@none";if(c=[].concat(c).sort().join(""),null===i["@id"])continue;const d=v(i["@id"]);for(const l of d){let d=t[l];const u=m.isKeyword(l);if(d)u||i._termHasColon||o[l].push(e);else if(t[l]=d={},!u&&!i._termHasColon){o[l]=[e];const t={iri:l,terms:o[l]};l[0]in n?n[l[0]].push(t):n[l[0]]=[t]}if(d[c]||(d[c]={"@language":{},"@type":{},"@any":{}}),d=d[c],a(e,d["@any"],"@none"),i.reverse)a(e,d["@type"],"@reverse");else if("@none"===i["@type"])a(e,d["@any"],"@none"),a(e,d["@language"],"@none"),a(e,d["@type"],"@none");else if("@type"in i)a(e,d["@type"],i["@type"]);else if("@language"in i&&"@direction"in i){const t=i["@language"],n=i["@direction"];a(e,d["@language"],t&&n?`${t}_${n}`.toLowerCase():t?t.toLowerCase():n?"_"+n:"@null")}else"@language"in i?a(e,d["@language"],(i["@language"]||"@null").toLowerCase()):"@direction"in i?i["@direction"]?a(e,d["@language"],"_"+i["@direction"]):a(e,d["@language"],"@none"):s?(a(e,d["@language"],"_"+s),a(e,d["@language"],"@none"),a(e,d["@type"],"@none")):(a(e,d["@language"],r),a(e,d["@language"],"@none"),a(e,d["@type"],"@none"))}}for(const e in n)i(n,e,1);return t},clone:function(){const e={};e.mappings=o.clone(this.mappings),e.clone=this.clone,e.inverse=null,e.getInverse=this.getInverse,e.protected=o.clone(this.protected),this.previousContext&&(e.previousContext=this.previousContext.clone());e.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(e["@base"]=this["@base"]);"@language"in this&&(e["@language"]=this["@language"]);"@vocab"in this&&(e["@vocab"]=this["@vocab"]);return e},revertToPreviousContext:function(){if(!this.previousContext)return this;return this.previousContext.clone()},protected:{}};return 1e4===y.size&&y.clear(),y.set(t,r),r;function i(e,t,n){const o=e[t],r=e[t]={};let a,s;for(const e of o)a=e.iri,s=n>=a.length?"":a[n],s in r?r[s].push(e):r[s]=[e];for(const e in r)""!==e&&i(r,e,n+1)}function a(e,t,n){t.hasOwnProperty(n)||(t[n]=e)}},m.getContextValue=(e,t,n)=>{if(null===t){if("@context"===n)return;return null}if(e.mappings.has(t)){const o=e.mappings.get(t);if(l(n))return o;if(o.hasOwnProperty(n))return o[n]}return"@language"===n&&n in e||"@direction"===n&&n in e?e[n]:"@context"!==n?null:void 0},m.processingMode=(e,t)=>t.toString()>="1.1"?!e.processingMode||e.processingMode>="json-ld-"+t.toString():"json-ld-1.0"===e.processingMode,m.isKeyword=e=>{if(!s(e)||"@"!==e[0])return!1;switch(e){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1}},569:function(e,t,n){"use strict";const o=n(543),{isArray:r}=n(540),{asArray:i}=n(542),a={};e.exports=a,a.defaultEventHandler=null,a.setupEventHandler=({options:e={}})=>{const t=[].concat(e.safe?a.safeEventHandler:[],e.eventHandler?i(e.eventHandler):[],a.defaultEventHandler?a.defaultEventHandler:[]);return 0===t.length?null:t},a.handleEvent=({event:e,options:t})=>{!function e({event:t,handlers:n}){let i=!0;for(let a=0;i&&a<n.length;++a){i=!1;const s=n[a];if(r(s))i=e({event:t,handlers:s});else if("function"==typeof s)s({event:t,next:()=>{i=!0}});else{if("object"!=typeof s)throw new o("Invalid event handler.","jsonld.InvalidEventHandler",{event:t});t.code in s?s[t.code]({event:t,next:()=>{i=!0}}):i=!0}}return i}({event:e,handlers:t.eventHandler})};const s=new Set(["empty object","free-floating scalar","invalid @language value","invalid property","null @id value","null @value value","object with only @id","object with only @language","object with only @list","object with only @value","relative @id reference","relative @type reference","relative @vocab reference","reserved @id value","reserved @reverse value","reserved term","blank node predicate","relative graph reference","relative object reference","relative predicate reference","relative subject reference","rdfDirection not set"]);a.safeEventHandler=function({event:e,next:t}){if("warning"===e.level&&s.has(e.code))throw new o("Safe mode validation error.","jsonld.ValidationError",{event:e});t()},a.logEventHandler=function({event:e,next:t}){console.log("EVENT: "+e.message,{event:e}),t()},a.logWarningEventHandler=function({event:e,next:t}){"warning"===e.level&&console.warn("WARNING: "+e.message,{event:e}),t()},a.unhandledEventHandler=function({event:e}){throw new o("No handler for event.","jsonld.UnhandledEvent",{event:e})},a.setDefaultEventHandler=function({eventHandler:e}={}){a.defaultEventHandler=e?i(e):null}},583:function(e,t,n){"use strict";
|
|
4
|
+
/*!
|
|
5
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
6
|
+
*/n(644);const o=self.crypto||self.msCrypto;e.exports=class{constructor(e){if(!o||!o.subtle)throw new Error("crypto.subtle not found.");if("sha256"===e)this.algorithm={name:"SHA-256"};else{if("sha1"!==e)throw new Error(`Unsupported algorithm "${e}".`);this.algorithm={name:"SHA-1"}}this._content=""}update(e){this._content+=e}async digest(){const e=(new TextEncoder).encode(this._content),t=new Uint8Array(await o.subtle.digest(this.algorithm,e));let n="";for(let e=0;e<t.length;++e)n+=t[e].toString(16).padStart(2,"0");return n}}},584:function(e,t,n){"use strict";const{isKeyword:o}=n(559),r=n(552),i=n(540),a=n(542),s=n(543),l={};e.exports=l,l.createMergedNodeMap=(e,t)=>{const n=(t=t||{}).issuer||new a.IdentifierIssuer("_:b"),o={"@default":{}};return l.createNodeMap(e,o,"@default",n),l.mergeNodeMaps(o)},l.createNodeMap=(e,t,n,c,d,u)=>{if(i.isArray(e)){for(const o of e)l.createNodeMap(o,t,n,c,void 0,u);return}if(!i.isObject(e))return void(u&&u.push(e));if(r.isValue(e)){if("@type"in e){let t=e["@type"];0===t.indexOf("_:")&&(e["@type"]=t=c.getId(t))}return void(u&&u.push(e))}if(u&&r.isList(e)){const o=[];return l.createNodeMap(e["@list"],t,n,c,d,o),void u.push({"@list":o})}if("@type"in e){const t=e["@type"];for(const e of t)0===e.indexOf("_:")&&c.getId(e)}i.isUndefined(d)&&(d=r.isBlankNode(e)?c.getId(e["@id"]):e["@id"]),u&&u.push({"@id":d});const p=t[n],f=p[d]=p[d]||{};f["@id"]=d;const h=Object.keys(e).sort();for(let i of h){if("@id"===i)continue;if("@reverse"===i){const o={"@id":d},i=e["@reverse"];for(const e in i){const s=i[e];for(const i of s){let s=i["@id"];r.isBlankNode(i)&&(s=c.getId(s)),l.createNodeMap(i,t,n,c,s),a.addValue(p[s],e,o,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if("@graph"===i){d in t||(t[d]={}),l.createNodeMap(e[i],t,d,c);continue}if("@included"===i){l.createNodeMap(e[i],t,n,c);continue}if("@type"!==i&&o(i)){if("@index"===i&&i in f&&(e[i]!==f[i]||e[i]["@id"]!==f[i]["@id"]))throw new s("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:f});f[i]=e[i];continue}const u=e[i];if(0===i.indexOf("_:")&&(i=c.getId(i)),0!==u.length)for(let e of u)if("@type"===i&&(e=0===e.indexOf("_:")?c.getId(e):e),r.isSubject(e)||r.isSubjectReference(e)){if("@id"in e&&!e["@id"])continue;const o=r.isBlankNode(e)?c.getId(e["@id"]):e["@id"];a.addValue(f,i,{"@id":o},{propertyIsArray:!0,allowDuplicate:!1}),l.createNodeMap(e,t,n,c,o)}else if(r.isValue(e))a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1});else if(r.isList(e)){const o=[];l.createNodeMap(e["@list"],t,n,c,d,o),e={"@list":o},a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1})}else l.createNodeMap(e,t,n,c,d),a.addValue(f,i,e,{propertyIsArray:!0,allowDuplicate:!1});else a.addValue(f,i,[],{propertyIsArray:!0})}},l.mergeNodeMapGraphs=e=>{const t={};for(const n of Object.keys(e).sort())for(const r of Object.keys(e[n]).sort()){const i=e[n][r];r in t||(t[r]={"@id":r});const s=t[r];for(const e of Object.keys(i).sort())if(o(e)&&"@type"!==e)s[e]=a.clone(i[e]);else for(const t of i[e])a.addValue(s,e,a.clone(t),{propertyIsArray:!0,allowDuplicate:!1})}return t},l.mergeNodeMaps=e=>{const t=e["@default"],n=Object.keys(e).sort();for(const o of n){if("@default"===o)continue;const n=e[o];let i=t[o];i?"@graph"in i||(i["@graph"]=[]):t[o]=i={"@id":o,"@graph":[]};const a=i["@graph"];for(const e of Object.keys(n).sort()){const t=n[e];r.isSubjectReference(t)||a.push(t)}}return t}},601:function(e,t,n){e.exports=n(783)},602:function(e,t,n){"use strict";e.exports=class e{constructor(e,t=new Map,n=0){this.prefix=e,this._existing=t,this.counter=n}clone(){const{prefix:t,_existing:n,counter:o}=this;return new e(t,new Map(n),o)}getId(e){const t=e&&this._existing.get(e);if(t)return t;const n=this.prefix+this.counter;return this.counter++,e&&this._existing.set(e,n),n}hasId(e){return this._existing.has(e)}getOldIds(){return[...this._existing.keys()]}}},603:function(e,t,n){"use strict";
|
|
7
|
+
/*!
|
|
8
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
9
|
+
*/const o="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",r="http://www.w3.org/2001/XMLSchema#string",i={};function a(e,t){return e.subject.termType===t.subject.termType&&e.object.termType===t.object.termType&&(e.subject.value===t.subject.value&&e.predicate.value===t.predicate.value&&e.object.value===t.object.value&&("Literal"!==e.object.termType||e.object.datatype.termType===t.object.datatype.termType&&e.object.language===t.object.language&&e.object.datatype.value===t.object.datatype.value))}i.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,i.empty=new RegExp("^[ \\t]*$"),i.quad=new RegExp('^[ \\t]*(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]+(?:<([^:]+:[^>]*)>)[ \\t]+(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?)|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^(?:<([^:]+:[^>]*)>))|(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*)))?))[ \\t]*(?:\\.|(?:(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]*\\.))[ \\t]*$'),e.exports=class e{static parse(e){const t=[],n={},s=e.split(i.eoln);let c=0;for(const e of s){if(c++,i.empty.test(e))continue;const s=e.match(i.quad);if(null===s)throw new Error("N-Quads parse error on line "+c+".");const d={subject:null,predicate:null,object:null,graph:null};if(void 0!==s[1]?d.subject={termType:"NamedNode",value:s[1]}:d.subject={termType:"BlankNode",value:s[2]},d.predicate={termType:"NamedNode",value:s[3]},void 0!==s[4]?d.object={termType:"NamedNode",value:s[4]}:void 0!==s[5]?d.object={termType:"BlankNode",value:s[5]}:(d.object={termType:"Literal",value:void 0,datatype:{termType:"NamedNode"}},void 0!==s[7]?d.object.datatype.value=s[7]:void 0!==s[8]?(d.object.datatype.value=o,d.object.language=s[8]):d.object.datatype.value=r,d.object.value=s[6].replace(l,(function(e,t,n,o){if(t)switch(t){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(n)return String.fromCharCode(parseInt(n,16));if(o)throw new Error("Unsupported U escape")}))),void 0!==s[9]?d.graph={termType:"NamedNode",value:s[9]}:void 0!==s[10]?d.graph={termType:"BlankNode",value:s[10]}:d.graph={termType:"DefaultGraph",value:""},d.graph.value in n){let e=!0;const o=n[d.graph.value];for(const t of o)if(a(t,d)){e=!1;break}e&&(o.push(d),t.push(d))}else n[d.graph.value]=[d],t.push(d)}return t}static serialize(t){Array.isArray(t)||(t=e.legacyDatasetToQuads(t));const n=[];for(const o of t)n.push(e.serializeQuad(o));return n.sort().join("")}static serializeQuadComponents(e,t,n,i){let a="";return"NamedNode"===e.termType?a+=`<${e.value}>`:a+=""+e.value,a+=` <${t.value}> `,"NamedNode"===n.termType?a+=`<${n.value}>`:"BlankNode"===n.termType?a+=n.value:(a+=`"${function(e){return e.replace(s,(function(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}(n.value)}"`,n.datatype.value===o?n.language&&(a+="@"+n.language):n.datatype.value!==r&&(a+=`^^<${n.datatype.value}>`)),"NamedNode"===i.termType?a+=` <${i.value}>`:"BlankNode"===i.termType&&(a+=" "+i.value),a+=" .\n",a}static serializeQuad(t){return e.serializeQuadComponents(t.subject,t.predicate,t.object,t.graph)}static legacyDatasetToQuads(e){const t=[],n={"blank node":"BlankNode",IRI:"NamedNode",literal:"Literal"};for(const i in e){e[i].forEach(e=>{const a={};for(const t in e){const i=e[t],s={termType:n[i.type],value:i.value};"Literal"===s.termType&&(s.datatype={termType:"NamedNode"},"datatype"in i&&(s.datatype.value=i.datatype),"language"in i?("datatype"in i||(s.datatype.value=o),s.language=i.language):"datatype"in i||(s.datatype.value=r)),a[t]=s}a.graph="@default"===i?{termType:"DefaultGraph",value:""}:{termType:i.startsWith("_:")?"BlankNode":"NamedNode",value:i},t.push(a)})}return t}};const s=/["\\\n\r]/g;const l=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g},604:function(e,t,n){"use strict";const o="http://www.w3.org/1999/02/22-rdf-syntax-ns#",r="http://www.w3.org/2001/XMLSchema#";e.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:o,RDF_LIST:o+"List",RDF_FIRST:o+"first",RDF_REST:o+"rest",RDF_NIL:o+"nil",RDF_TYPE:o+"type",RDF_PLAIN_LITERAL:o+"PlainLiteral",RDF_XML_LITERAL:o+"XMLLiteral",RDF_JSON_LITERAL:o+"JSON",RDF_OBJECT:o+"object",RDF_LANGSTRING:o+"langString",XSD:r,XSD_BOOLEAN:r+"boolean",XSD_DOUBLE:r+"double",XSD_INTEGER:r+"integer",XSD_STRING:r+"string"}},642:function(e,t,n){
|
|
10
|
+
/**
|
|
11
|
+
* A JavaScript implementation of the JSON-LD API.
|
|
12
|
+
*
|
|
13
|
+
* @author Dave Longley
|
|
14
|
+
*
|
|
15
|
+
* @license BSD 3-Clause License
|
|
16
|
+
* Copyright (c) 2011-2022 Digital Bazaar, Inc.
|
|
17
|
+
* All rights reserved.
|
|
18
|
+
*
|
|
19
|
+
* Redistribution and use in source and binary forms, with or without
|
|
20
|
+
* modification, are permitted provided that the following conditions are met:
|
|
21
|
+
*
|
|
22
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
23
|
+
* this list of conditions and the following disclaimer.
|
|
24
|
+
*
|
|
25
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
26
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
27
|
+
* documentation and/or other materials provided with the distribution.
|
|
28
|
+
*
|
|
29
|
+
* Neither the name of the Digital Bazaar, Inc. nor the names of its
|
|
30
|
+
* contributors may be used to endorse or promote products derived from
|
|
31
|
+
* this software without specific prior written permission.
|
|
32
|
+
*
|
|
33
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
34
|
+
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
35
|
+
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
36
|
+
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
37
|
+
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
38
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
39
|
+
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
40
|
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
41
|
+
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
42
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
44
|
+
*/
|
|
45
|
+
const o=n(601),r=n(788),i=n(542),a=n(790),s=i.IdentifierIssuer,l=n(543),c=n(649),d=n(794),{expand:u}=n(795),{flatten:p}=n(796),{fromRDF:f}=n(797),{toRDF:h}=n(798),{frameMergedOrDefault:v,cleanupNull:g}=n(800),{isArray:y,isObject:m,isString:x}=n(540),{isSubjectReference:b}=n(552),{expandIri:w,getInitialContext:j,process:I,processingMode:N}=n(559),{compact:S,compactIri:E}=n(801),{createNodeMap:O,createMergedNodeMap:k,mergeNodeMaps:D}=n(584),{logEventHandler:C,logWarningEventHandler:L,safeEventHandler:T,setDefaultEventHandler:R,setupEventHandler:A,strictEventHandler:_,unhandledEventHandler:M}=n(569),J=function(e){const t={},J=new c({max:100});function P(t,{documentLoader:n=e.documentLoader,...o}){if(t&&"compactionMap"in t)throw new l('"compactionMap" not supported.',"jsonld.OptionsError");if(t&&"expansionMap"in t)throw new l('"expansionMap" not supported.',"jsonld.OptionsError");return Object.assign({},{documentLoader:n},o,t,{eventHandler:A({options:t})})}return e.compact=async function(t,n,o){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(null===n)throw new l("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(null===t)return null;let r;(o=P(o,{base:x(t)?t:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new s("_:b"),contextResolver:new a({sharedCache:J})})).link&&(o.skipExpansion=!0),o.compactToRelative||delete o.base,r=o.skipExpansion?t:await e.expand(t,o);const c=await e.processContext(j(o),n,o);let d=await S({activeCtx:c,element:r,options:o});o.compactArrays&&!o.graph&&y(d)?1===d.length?d=d[0]:0===d.length&&(d={}):o.graph&&m(d)&&(d=[d]),m(n)&&"@context"in n&&(n=n["@context"]),n=i.clone(n),y(n)||(n=[n]);const u=n;n=[];for(let e=0;e<u.length;++e)(!m(u[e])||Object.keys(u[e]).length>0)&&n.push(u[e]);const p=n.length>0;if(1===n.length&&(n=n[0]),y(d)){const e=E({activeCtx:c,iri:"@graph",relativeTo:{vocab:!0}}),t=d;d={},p&&(d["@context"]=n),d[e]=t}else if(m(d)&&p){const e=d;d={"@context":n};for(const t in e)d[t]=e[t]}return d},e.expand=async function(t,n){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");const o={},r=[];if("expandContext"in(n=P(n,{keepFreeFloatingNodes:!1,contextResolver:new a({sharedCache:J})}))){const e=i.clone(n.expandContext);m(e)&&"@context"in e?o.expandContext=e:o.expandContext={"@context":e},r.push(o.expandContext)}let s;if(x(t)){const i=await e.get(t,n);s=i.documentUrl,o.input=i.document,i.contextUrl&&(o.remoteContext={"@context":i.contextUrl},r.push(o.remoteContext))}else o.input=i.clone(t);"base"in n||(n.base=s||"");let l=j(n);for(const e of r)l=await I({activeCtx:l,localCtx:e,options:n});let c=await u({activeCtx:l,element:o.input,options:n});return m(c)&&"@graph"in c&&1===Object.keys(c).length?c=c["@graph"]:null===c&&(c=[]),y(c)||(c=[c]),c},e.flatten=async function(t,n,o){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");n="function"==typeof n?null:n||null,o=P(o,{base:x(t)?t:"",contextResolver:new a({sharedCache:J})});const r=await e.expand(t,o),i=p(r);if(null===n)return i;o.graph=!0,o.skipExpansion=!0;const s=await e.compact(i,n,o);return s},e.frame=async function(t,n,o){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(o=P(o,{base:x(t)?t:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new a({sharedCache:J})}),x(n)){const t=await e.get(n,o);if(n=t.document,t.contextUrl){let e=n["@context"];e?y(e)?e.push(t.contextUrl):e=[e,t.contextUrl]:e=t.contextUrl,n["@context"]=e}}const r=n&&n["@context"]||{},i=await e.processContext(j(o),r,o);o.hasOwnProperty("omitGraph")||(o.omitGraph=N(i,1.1)),o.hasOwnProperty("pruneBlankNodeIdentifiers")||(o.pruneBlankNodeIdentifiers=N(i,1.1));const s=await e.expand(t,o),l={...o};l.isFrame=!0,l.keepFreeFloatingNodes=!0;const c=await e.expand(n,l),d=Object.keys(n).map(e=>w(i,e,{vocab:!0}));l.merged=!d.includes("@graph"),l.is11=N(i,1.1);const u=v(s,c,l);l.graph=!o.omitGraph,l.skipExpansion=!0,l.link={},l.framing=!0;let p=await e.compact(u,r,l);return l.link={},p=g(p,l),p},e.link=async function(t,n,o){const r={};return n&&(r["@context"]=n),r["@embed"]="@link",e.frame(t,r,o)},e.normalize=e.canonize=async function(t,n){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if("inputFormat"in(n=P(n,{base:x(t)?t:null,algorithm:"URDNA2015",skipExpansion:!1,safe:!0,contextResolver:new a({sharedCache:J})}))){if("application/n-quads"!==n.inputFormat&&"application/nquads"!==n.inputFormat)throw new l("Unknown canonicalization input format.","jsonld.CanonizeError");const e=d.parse(t);return o.canonize(e,n)}const r={...n};delete r.format,r.produceGeneralizedRdf=!1;const i=await e.toRDF(t,r);return o.canonize(i,n)},e.fromRDF=async function(e,n){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");n=P(n,{format:x(e)?"application/n-quads":void 0});const{format:o}=n;let{rdfParser:r}=n;if(o){if(r=r||t[o],!r)throw new l("Unknown input format.","jsonld.UnknownFormat",{format:o})}else r=()=>e;const i=await r(e);return f(i,n)},e.toRDF=async function(t,n){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");let o;o=(n=P(n,{base:x(t)?t:"",skipExpansion:!1,contextResolver:new a({sharedCache:J})})).skipExpansion?t:await e.expand(t,n);const r=h(o,n);if(n.format){if("application/n-quads"===n.format||"application/nquads"===n.format)return d.serialize(r);throw new l("Unknown output format.","jsonld.UnknownFormat",{format:n.format})}return r},e.createNodeMap=async function(t,n){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");n=P(n,{base:x(t)?t:"",contextResolver:new a({sharedCache:J})});const o=await e.expand(t,n);return k(o,n)},e.merge=async function(t,n,o){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!y(t))throw new TypeError('Could not merge, "docs" must be an array.');n="function"==typeof n?null:n||null,o=P(o,{contextResolver:new a({sharedCache:J})});const r=await Promise.all(t.map(t=>{const n={...o};return e.expand(t,n)}));let l=!0;"mergeNodes"in o&&(l=o.mergeNodes);const c=o.issuer||new s("_:b"),d={"@default":{}};for(let e=0;e<r.length;++e){const t=i.relabelBlankNodes(r[e],{issuer:new s("_:b"+e+"-")}),n=l||0===e?d:{"@default":{}};if(O(t,n,"@default",c),n!==d)for(const e in n){const t=n[e];if(!(e in d)){d[e]=t;continue}const o=d[e];for(const e in t)e in o||(o[e]=t[e])}}const u=D(d),p=[],f=Object.keys(u).sort();for(let e=0;e<f.length;++e){const t=u[f[e]];b(t)||p.push(t)}if(null===n)return p;o.graph=!0,o.skipExpansion=!0;const h=await e.compact(p,n,o);return h},Object.defineProperty(e,"documentLoader",{get:()=>e._documentLoader,set:t=>e._documentLoader=t}),e.documentLoader=async e=>{throw new l("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:e})},e.get=async function(t,n){let o;o="function"==typeof n.documentLoader?n.documentLoader:e.documentLoader;const r=await o(t);try{if(!r.document)throw new l("No remote document found at the given URL.","jsonld.NullRemoteDocument");x(r.document)&&(r.document=JSON.parse(r.document))}catch(e){throw new l("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:e,remoteDoc:r})}return r},e.processContext=async function(e,t,n){return n=P(n,{base:"",contextResolver:new a({sharedCache:J})}),null===t?j(n):(t=i.clone(t),m(t)&&"@context"in t||(t={"@context":t}),I({activeCtx:e,localCtx:t,options:n}))},e.getContextValue=n(559).getContextValue,e.documentLoaders={},e.useDocumentLoader=function(t){if(!(t in e.documentLoaders))throw new l('Unknown document loader type: "'+t+'"',"jsonld.UnknownDocumentLoader",{type:t});e.documentLoader=e.documentLoaders[t].apply(e,Array.prototype.slice.call(arguments,1))},e.registerRDFParser=function(e,n){t[e]=n},e.unregisterRDFParser=function(e){delete t[e]},e.registerRDFParser("application/n-quads",d.parse),e.registerRDFParser("application/nquads",d.parse),e.url=n(554),e.logEventHandler=C,e.logWarningEventHandler=L,e.safeEventHandler=T,e.setDefaultEventHandler=R,e.strictEventHandler=_,e.unhandledEventHandler=M,e.util=i,Object.assign(e,i),e.promises=e,e.RequestQueue=n(648),e.JsonLdProcessor=n(802)(e),r.setupGlobals(e),r.setupDocumentLoaders(e),e},P=function(){return J((function(){return P()}))};J(P),e.exports=P},643:function(e,t,n){"use strict";(function(t){
|
|
46
|
+
/*!
|
|
47
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
48
|
+
*/
|
|
49
|
+
const o=n(602),r=n(583),i=n(645),a=n(603);function s(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}e.exports=class{constructor({createMessageDigest:e=(()=>new r("sha256")),canonicalIdMap:t=new Map,maxDeepIterations:n=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",t),this.createMessageDigest=e,this.maxDeepIterations=n,this.quads=null,this.deepIterations=null}async main(e){this.deepIterations=new Map,this.quads=e;for(const t of e)this._addBlankNodeQuadInfo({quad:t,component:t.subject}),this._addBlankNodeQuadInfo({quad:t,component:t.object}),this._addBlankNodeQuadInfo({quad:t,component:t.graph});const t=new Map,n=[...this.blankNodeInfo.keys()];let r=0;for(const e of n)++r%100==0&&await this._yield(),await this._hashAndTrackBlankNode({id:e,hashToBlankNodes:t});const i=[...t.keys()].sort(),l=[];for(const e of i){const n=t.get(e);if(n.length>1){l.push(n);continue}const o=n[0];this.canonicalIssuer.getId(o)}for(const e of l){const t=[];for(const n of e){if(this.canonicalIssuer.hasId(n))continue;const e=new o("_:b");e.getId(n);const r=await this.hashNDegreeQuads(n,e);t.push(r)}t.sort(s);for(const e of t){const t=e.issuer.getOldIds();for(const e of t)this.canonicalIssuer.getId(e)}}const c=[];for(const e of this.quads){const t=a.serializeQuadComponents(this._componentWithCanonicalId(e.subject),e.predicate,this._componentWithCanonicalId(e.object),this._componentWithCanonicalId(e.graph));c.push(t)}return c.sort(),c.join("")}async hashFirstDegreeQuads(e){const t=[],n=this.blankNodeInfo.get(e),o=n.quads;for(const n of o){const o={subject:null,predicate:n.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(e,n.subject,"subject"),o.object=this.modifyFirstDegreeComponent(e,n.object,"object"),o.graph=this.modifyFirstDegreeComponent(e,n.graph,"graph"),t.push(a.serializeQuad(o))}t.sort();const r=this.createMessageDigest();for(const e of t)r.update(e);return n.hash=await r.digest(),n.hash}async hashRelatedBlankNode(e,t,n,o){let r;r=this.canonicalIssuer.hasId(e)?this.canonicalIssuer.getId(e):n.hasId(e)?n.getId(e):this.blankNodeInfo.get(e).hash;const i=this.createMessageDigest();return i.update(o),"g"!==o&&i.update(this.getRelatedPredicate(t)),i.update(r),i.digest()}async hashNDegreeQuads(e,t){const n=this.deepIterations.get(e)||0;if(n>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(e,n+1);const o=this.createMessageDigest(),r=await this.createHashToRelated(e,t),a=[...r.keys()].sort();for(const e of a){o.update(e);let n,a="";const s=new i(r.get(e));let l=0;for(;s.hasNext();){const e=s.next();++l%3==0&&await this._yield();let o=t.clone(),r="";const i=[];let c=!1;for(const t of e)if(this.canonicalIssuer.hasId(t)?r+=this.canonicalIssuer.getId(t):(o.hasId(t)||i.push(t),r+=o.getId(t)),0!==a.length&&r>a){c=!0;break}if(!c){for(const e of i){const t=await this.hashNDegreeQuads(e,o);if(r+=o.getId(e),r+=`<${t.hash}>`,o=t.issuer,0!==a.length&&r>a){c=!0;break}}c||(0===a.length||r<a)&&(a=r,n=o)}}o.update(a),t=n}return{hash:await o.digest(),issuer:t}}modifyFirstDegreeComponent(e,t){return"BlankNode"!==t.termType?t:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return`<${e.predicate.value}>`}async createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;let r=0;for(const i of o)++r%100==0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:i,component:i.subject,position:"s",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:i,component:i.object,position:"o",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:i,component:i.graph,position:"g",id:e,issuer:t,hashToRelated:n})]);return n}async _hashAndTrackBlankNode({id:e,hashToBlankNodes:t}){const n=await this.hashFirstDegreeQuads(e),o=t.get(n);o?o.push(e):t.set(n,[e])}_addBlankNodeQuadInfo({quad:e,component:t}){if("BlankNode"!==t.termType)return;const n=t.value,o=this.blankNodeInfo.get(n);o?o.quads.add(e):this.blankNodeInfo.set(n,{quads:new Set([e]),hash:null})}async _addRelatedBlankNodeHash({quad:e,component:t,position:n,id:o,issuer:r,hashToRelated:i}){if("BlankNode"!==t.termType||t.value===o)return;const a=t.value,s=await this.hashRelatedBlankNode(a,e,r,n),l=i.get(s);l?l.push(a):i.set(s,[a])}_componentWithCanonicalId(e){return"BlankNode"!==e.termType||e.value.startsWith(this.canonicalIssuer.prefix)?e:{termType:"BlankNode",value:this.canonicalIssuer.getId(e.value)}}async _yield(){return new Promise(e=>t(e))}}}).call(this,n(784).setImmediate)},644:function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,r,i,a,s,l=1,c={},d=!1,u=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},o=function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),o=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[l]=r,o(l),l++},p.clearImmediate=f}function f(e){delete c[e]}function h(e){if(d)setTimeout(h,0,e);else{var t=c[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(15),n(785))},645:function(e,t,n){"use strict";
|
|
50
|
+
/*!
|
|
51
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
52
|
+
*/e.exports=class{constructor(e){this.current=e.sort(),this.done=!1,this.dir=new Map;for(let t=0;t<e.length;++t)this.dir.set(e[t],!0)}hasNext(){return!this.done}next(){const{current:e,dir:t}=this,n=e.slice();let o=null,r=0;const i=e.length;for(let n=0;n<i;++n){const a=e[n],s=t.get(a);(null===o||a>o)&&(s&&n>0&&a>e[n-1]||!s&&n<i-1&&a>e[n+1])&&(o=a,r=n)}if(null===o)this.done=!0;else{const n=t.get(o)?r-1:r+1;e[r]=e[n],e[n]=o;for(const n of e)n>o&&t.set(n,!t.get(n))}return n}}},646:function(e,t,n){"use strict";
|
|
53
|
+
/*!
|
|
54
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
55
|
+
*/const o=n(602),r=n(583),i=n(645),a=n(603);function s(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}e.exports=class{constructor({createMessageDigest:e=(()=>new r("sha256")),canonicalIdMap:t=new Map,maxDeepIterations:n=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new o("_:c14n",t),this.createMessageDigest=e,this.maxDeepIterations=n,this.quads=null,this.deepIterations=null}main(e){this.deepIterations=new Map,this.quads=e;for(const t of e)this._addBlankNodeQuadInfo({quad:t,component:t.subject}),this._addBlankNodeQuadInfo({quad:t,component:t.object}),this._addBlankNodeQuadInfo({quad:t,component:t.graph});const t=new Map,n=[...this.blankNodeInfo.keys()];for(const e of n)this._hashAndTrackBlankNode({id:e,hashToBlankNodes:t});const r=[...t.keys()].sort(),i=[];for(const e of r){const n=t.get(e);if(n.length>1){i.push(n);continue}const o=n[0];this.canonicalIssuer.getId(o)}for(const e of i){const t=[];for(const n of e){if(this.canonicalIssuer.hasId(n))continue;const e=new o("_:b");e.getId(n);const r=this.hashNDegreeQuads(n,e);t.push(r)}t.sort(s);for(const e of t){const t=e.issuer.getOldIds();for(const e of t)this.canonicalIssuer.getId(e)}}const l=[];for(const e of this.quads){const t=a.serializeQuadComponents(this._componentWithCanonicalId({component:e.subject}),e.predicate,this._componentWithCanonicalId({component:e.object}),this._componentWithCanonicalId({component:e.graph}));l.push(t)}return l.sort(),l.join("")}hashFirstDegreeQuads(e){const t=[],n=this.blankNodeInfo.get(e),o=n.quads;for(const n of o){const o={subject:null,predicate:n.predicate,object:null,graph:null};o.subject=this.modifyFirstDegreeComponent(e,n.subject,"subject"),o.object=this.modifyFirstDegreeComponent(e,n.object,"object"),o.graph=this.modifyFirstDegreeComponent(e,n.graph,"graph"),t.push(a.serializeQuad(o))}t.sort();const r=this.createMessageDigest();for(const e of t)r.update(e);return n.hash=r.digest(),n.hash}hashRelatedBlankNode(e,t,n,o){let r;r=this.canonicalIssuer.hasId(e)?this.canonicalIssuer.getId(e):n.hasId(e)?n.getId(e):this.blankNodeInfo.get(e).hash;const i=this.createMessageDigest();return i.update(o),"g"!==o&&i.update(this.getRelatedPredicate(t)),i.update(r),i.digest()}hashNDegreeQuads(e,t){const n=this.deepIterations.get(e)||0;if(n>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(e,n+1);const o=this.createMessageDigest(),r=this.createHashToRelated(e,t),a=[...r.keys()].sort();for(const e of a){o.update(e);let n,a="";const s=new i(r.get(e));for(;s.hasNext();){const e=s.next();let o=t.clone(),r="";const i=[];let l=!1;for(const t of e)if(this.canonicalIssuer.hasId(t)?r+=this.canonicalIssuer.getId(t):(o.hasId(t)||i.push(t),r+=o.getId(t)),0!==a.length&&r>a){l=!0;break}if(!l){for(const e of i){const t=this.hashNDegreeQuads(e,o);if(r+=o.getId(e),r+=`<${t.hash}>`,o=t.issuer,0!==a.length&&r>a){l=!0;break}}l||(0===a.length||r<a)&&(a=r,n=o)}}o.update(a),t=n}return{hash:o.digest(),issuer:t}}modifyFirstDegreeComponent(e,t){return"BlankNode"!==t.termType?t:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return`<${e.predicate.value}>`}createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;for(const r of o)this._addRelatedBlankNodeHash({quad:r,component:r.subject,position:"s",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:r,component:r.object,position:"o",id:e,issuer:t,hashToRelated:n}),this._addRelatedBlankNodeHash({quad:r,component:r.graph,position:"g",id:e,issuer:t,hashToRelated:n});return n}_hashAndTrackBlankNode({id:e,hashToBlankNodes:t}){const n=this.hashFirstDegreeQuads(e),o=t.get(n);o?o.push(e):t.set(n,[e])}_addBlankNodeQuadInfo({quad:e,component:t}){if("BlankNode"!==t.termType)return;const n=t.value,o=this.blankNodeInfo.get(n);o?o.quads.add(e):this.blankNodeInfo.set(n,{quads:new Set([e]),hash:null})}_addRelatedBlankNodeHash({quad:e,component:t,position:n,id:o,issuer:r,hashToRelated:i}){if("BlankNode"!==t.termType||t.value===o)return;const a=t.value,s=this.hashRelatedBlankNode(a,e,r,n),l=i.get(s);l?l.push(a):i.set(s,[a])}_componentWithCanonicalId({component:e}){return"BlankNode"!==e.termType||e.value.startsWith(this.canonicalIssuer.prefix)?e:{termType:"BlankNode",value:this.canonicalIssuer.getId(e.value)}}}},648:function(e,t,n){"use strict";e.exports=class{constructor(){this._requests={}}wrapLoader(e){const t=this;return t._loader=e,function(){return t.add.apply(t,arguments)}}async add(e){let t=this._requests[e];if(t)return Promise.resolve(t);t=this._requests[e]=this._loader(e);try{return await t}finally{delete this._requests[e]}}}},649:function(e,t,n){"use strict";const o=n(792),r=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),d=Symbol("noDisposeOnSet"),u=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),h=()=>1;const v=(e,t,n)=>{const o=e[p].get(t);if(o){const t=o.value;if(g(e,t)){if(m(e,o),!e[s])return}else n&&(e[f]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},y=e=>{if(e[i]>e[r])for(let t=e[u].tail;e[i]>e[r]&&null!==t;){const n=t.prev;m(e,t),t=n}},m=(e,t)=>{if(t){const n=t.value;e[c]&&e[c](n.key,n.value),e[i]-=n.length,e[p].delete(n.key),e[u].removeNode(t)}};class x{constructor(e,t,n,o,r){this.key=e,this.value=t,this.length=n,this.now=o,this.maxAge=r||0}}const b=(e,t,n,o)=>{let r=n.value;g(e,r)&&(m(e,n),e[s]||(r=void 0)),r&&t.call(o,r.value,r.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[r]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[d]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||1/0,y(this)}get max(){return this[r]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[i]=0,this[u].forEach(e=>{e.length=this[a](e.value,e.key),this[i]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const o=n.prev;b(this,e,n,t),n=o}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const o=n.next;b(this,e,n,t),n=o}}keys(){return this[u].toArray().map(e=>e.key)}values(){return this[u].toArray().map(e=>e.value)}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach(e=>this[c](e.key,e.value)),this[p]=new Map,this[u]=new o,this[i]=0}dump(){return this[u].map(e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const o=n?Date.now():0,s=this[a](t,e);if(this[p].has(e)){if(s>this[r])return m(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[c]&&(this[d]||this[c](e,a.value)),a.now=o,a.maxAge=n,a.value=t,this[i]+=s-a.length,a.length=s,this.get(e),y(this),!0}const f=new x(e,t,s,o,n);return f.length>this[r]?(this[c]&&this[c](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),y(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!g(this,t)}get(e){return v(this,e,!0)}peek(e){return v(this,e,!1)}pop(){const e=this[u].tail;return e?(m(this,e),e.value):null}del(e){m(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const o=e[n],r=o.e||0;if(0===r)this.set(o.k,o.v);else{const e=r-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach((e,t)=>v(this,t,!1))}}},783:function(e,t,n){"use strict";const o=n(643),r=n(786),i=n(646),a=n(787);let s;try{s=n(647)}catch(e){}function l(e){return Array.isArray(e)?e:t.NQuads.legacyDatasetToQuads(e)}t.NQuads=n(603),t.IdentifierIssuer=n(602),t._rdfCanonizeNative=function(e){return e&&(s=e),s},t.canonize=async function(e,t){const n=l(e);if(t.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise((e,o)=>s.canonize(n,t,(t,n)=>t?o(t):e(n)))}if("URDNA2015"===t.algorithm)return new o(t).main(n);if("URGNA2012"===t.algorithm){if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new r(t).main(n)}if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)},t._canonizeSync=function(e,t){const n=l(e);if(t.useNative){if(!s)throw new Error("rdf-canonize-native not available");if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return s.canonizeSync(n,t)}if("URDNA2015"===t.algorithm)return new i(t).main(n);if("URGNA2012"===t.algorithm){if(t.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new a(t).main(n)}if(!("algorithm"in t))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)}},784:function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(644),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(15))},785:function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var l,c=[],d=!1,u=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||d||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},786:function(e,t,n){"use strict";
|
|
56
|
+
/*!
|
|
57
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
58
|
+
*/const o=n(583),r=n(643);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}async createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;let r=0;for(const i of o){let o,a;if("BlankNode"===i.subject.termType&&i.subject.value!==e)a=i.subject.value,o="p";else{if("BlankNode"!==i.object.termType||i.object.value===e)continue;a=i.object.value,o="r"}++r%100==0&&await this._yield();const s=await this.hashRelatedBlankNode(a,i,t,o),l=n.get(s);l?l.push(a):n.set(s,[a])}return n}}},787:function(e,t,n){"use strict";
|
|
59
|
+
/*!
|
|
60
|
+
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
61
|
+
*/const o=n(583),r=n(646);e.exports=class extends r{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new o("sha1")}modifyFirstDegreeComponent(e,t,n){return"BlankNode"!==t.termType?t:"graph"===n?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:t.value===e?"_:a":"_:z"}}getRelatedPredicate(e){return e.predicate.value}createHashToRelated(e,t){const n=new Map,o=this.blankNodeInfo.get(e).quads;for(const r of o){let o,i;if("BlankNode"===r.subject.termType&&r.subject.value!==e)i=r.subject.value,o="p";else{if("BlankNode"!==r.object.termType||r.object.value===e)continue;i=r.object.value,o="r"}const a=this.hashRelatedBlankNode(i,r,t,o),s=n.get(a);s?s.push(i):n.set(a,[i])}return n}}},788:function(e,t,n){"use strict";const o=n(789),r={};e.exports=r,r.setupDocumentLoaders=function(e){"undefined"!=typeof XMLHttpRequest&&(e.documentLoaders.xhr=o,e.useDocumentLoader("xhr"))},r.setupGlobals=function(e){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:e.JsonLdProcessor})}},789:function(e,t,n){"use strict";const{parseLinkHeader:o,buildHeaders:r}=n(542),{LINK_HEADER_CONTEXT:i}=n(604),a=n(543),s=n(648),{prependBase:l}=n(554),c=/(^|(\r\n))link:/i;e.exports=({secure:e,headers:t={},xhr:n}={headers:{}})=>{t=r(t);return(new s).wrapLoader((async function r(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new a('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(e&&0!==s.indexOf("https"))throw new a('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let d;try{d=await function(e,t,n){const o=new(e=e||XMLHttpRequest);return new Promise((e,r)=>{o.onload=()=>e(o),o.onerror=e=>r(e),o.open("GET",t,!0);for(const e in n)o.setRequestHeader(e,n[e]);o.send()})}(n,s,t)}catch(e){throw new a("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:e})}if(d.status>=400)throw new a("URL could not be dereferenced: "+d.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:d.status});let u={contextUrl:null,documentUrl:s,document:d.response},p=null;const f=d.getResponseHeader("Content-Type");let h;c.test(d.getAllResponseHeaders())&&(h=d.getResponseHeader("Link"));if(h&&"application/ld+json"!==f){const e=o(h),t=e[i];if(Array.isArray(t))throw new a("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});t&&(u.contextUrl=t.target),p=e.alternate,p&&"application/ld+json"==p.type&&!(f||"").match(/^application\/(\w*\+)?json$/)&&(u=await r(l(s,p.target)))}return u}))}},790:function(e,t,n){"use strict";const{isArray:o,isObject:r,isString:i}=n(540),{asArray:a}=n(542),{prependBase:s}=n(554),l=n(543),c=n(791);function d(e){throw new l("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:e})}e.exports=class{constructor({sharedCache:e}){this.perOpCache=new Map,this.sharedCache=e}async resolve({activeCtx:e,context:t,documentLoader:n,base:s,cycles:l=new Set}){t&&r(t)&&t["@context"]&&(t=t["@context"]),t=a(t);const u=[];for(const a of t){if(i(a)){let t=this._get(a);t||(t=await this._resolveRemoteContext({activeCtx:e,url:a,documentLoader:n,base:s,cycles:l})),o(t)?u.push(...t):u.push(t);continue}if(null===a){u.push(new c({document:null}));continue}r(a)||d(t);const p=JSON.stringify(a);let f=this._get(p);f||(f=new c({document:a}),this._cacheResolvedContext({key:p,resolved:f,tag:"static"})),u.push(f)}return u}_get(e){let t=this.perOpCache.get(e);if(!t){const n=this.sharedCache.get(e);n&&(t=n.get("static"),t&&this.perOpCache.set(e,t))}return t}_cacheResolvedContext({key:e,resolved:t,tag:n}){if(this.perOpCache.set(e,t),void 0!==n){let o=this.sharedCache.get(e);o||(o=new Map,this.sharedCache.set(e,o)),o.set(n,t)}return t}async _resolveRemoteContext({activeCtx:e,url:t,documentLoader:n,base:a,cycles:l}){t=s(a,t);const{context:c,remoteDoc:d}=await this._fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:l});(function e({context:t,base:n}){if(!t)return;const a=t["@context"];if(i(a))return void(t["@context"]=s(n,a));if(o(a)){for(let t=0;t<a.length;++t){const o=a[t];i(o)?a[t]=s(n,o):r(o)&&e({context:{"@context":o},base:n})}return}if(!r(a))return;for(const t in a)e({context:a[t],base:n})})({context:c,base:a=d.documentUrl||t});const u=await this.resolve({activeCtx:e,context:c,documentLoader:n,base:a,cycles:l});return this._cacheResolvedContext({key:t,resolved:u,tag:d.tag}),u}async _fetchContext({activeCtx:e,url:t,documentLoader:n,cycles:a}){if(a.size>10)throw new l("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"loading remote context failed":"context overflow",max:10});if(a.has(t))throw new l("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===e.processingMode?"recursive context inclusion":"context overflow",url:t});let s,c;a.add(t);try{c=await n(t),s=c.document||null,i(s)&&(s=JSON.parse(s))}catch(e){throw new l("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:t,cause:e})}if(!r(s))throw new l("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:t});return s="@context"in s?{"@context":s["@context"]}:{"@context":{}},c.contextUrl&&(o(s["@context"])||(s["@context"]=[s["@context"]]),s["@context"].push(c.contextUrl)),{context:s,remoteDoc:c}}}},791:function(e,t,n){"use strict";const o=n(649);e.exports=class{constructor({document:e}){this.document=e,this.cache=new o({max:10})}getProcessed(e){return this.cache.get(e)}setProcessed(e,t){this.cache.set(e,t)}}},792:function(e,t,n){"use strict";function o(e){var t=this;if(t instanceof o||(t=new o),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}function r(e,t,n){var o=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function i(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,o){if(!(this instanceof s))return new s(e,t,n,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=o,o.Node=s,o.create=o,o.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},o.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},o.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},o.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},o.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},o.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},o.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},o.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,o=0;null!==n;o++)e.call(t,n.value,o,this),n=n.next},o.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,o=this.length-1;null!==n;o--)e.call(t,n.value,o,this),n=n.prev},o.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},o.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},o.prototype.map=function(e,t){t=t||this;for(var n=new o,r=this.head;null!==r;)n.push(e.call(t,r.value,this)),r=r.next;return n},o.prototype.mapReverse=function(e,t){t=t||this;for(var n=new o,r=this.tail;null!==r;)n.push(e.call(t,r.value,this)),r=r.prev;return n},o.prototype.reduce=function(e,t){var n,o=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,n=this.head.value}for(var r=0;null!==o;r++)n=e(n,o.value,r),o=o.next;return n},o.prototype.reduceReverse=function(e,t){var n,o=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,n=this.tail.value}for(var r=this.length-1;null!==o;r--)n=e(n,o.value,r),o=o.prev;return n},o.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},o.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},o.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;for(;null!==i&&r<t;r++,i=i.next)n.push(i.value);return n},o.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new o;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,i=this.tail;null!==i&&r>t;r--)i=i.prev;for(;null!==i&&r>e;r--,i=i.prev)n.push(i.value);return n},o.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;var a=[];for(o=0;i&&o<t;o++)a.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(o=0;o<n.length;o++)i=r(this,i,n[o]);return a},o.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var o=n.prev;n.prev=n.next,n.next=o}return this.head=t,this.tail=e,this};try{n(793)(o)}catch(e){}},793:function(e,t,n){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},794:function(e,t,n){"use strict";e.exports=n(601).NQuads},795:function(e,t,n){"use strict";const o=n(543),{isArray:r,isObject:i,isEmptyObject:a,isString:s,isUndefined:l}=n(540),{isList:c,isValue:d,isGraph:u,isSubject:p}=n(552),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(559),{isAbsolute:m}=n(554),{REGEX_BCP47:x,REGEX_KEYWORD:b,addValue:w,asArray:j,getValues:I,validateTypeValue:N}=n(542),{handleEvent:S}=n(569),E={};function O({value:e,count:t,options:n}){if(0===t||"@value"in e||"@list"in e||1===t&&"@id"in e){if(n.eventHandler){let o,r;0===t?(o="empty object",r="Dropping empty object."):"@value"in e?(o="object with only @value",r="Dropping object with only @value."):"@list"in e?(o="object with only @list",r="Dropping object with only @list."):1===t&&"@id"in e&&(o="object with only @id",r="Dropping object with only @id."),S({event:{type:["JsonLdEvent"],code:o,level:"warning",message:r,details:{value:e}},options:n})}return null}return e}function k({activeCtx:e,activeProperty:t,value:n,options:o}){if(null==n)return null;const r=f(e,t,{vocab:!0},o);if("@id"===r)return f(e,n,{base:!0},o);if("@type"===r)return f(e,n,{vocab:!0,base:!0},{...o,typeExpansion:!0});const i=h(e,t,"@type");if(("@id"===i||"@graph"===r)&&s(n)){const r=f(e,n,{base:!0},o);return null===r&&n.match(b)&&o.eventHandler&&S({event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:t}},options:o}),{"@id":r}}if("@vocab"===i&&s(n))return{"@id":f(e,n,{vocab:!0,base:!0},o)};if(v(r))return n;const a={};if(i&&!["@id","@vocab","@none"].includes(i))a["@type"]=i;else if(s(n)){const n=h(e,t,"@language");null!==n&&(a["@language"]=n);const o=h(e,t,"@direction");null!==o&&(a["@direction"]=o)}return["boolean","number","string"].includes(typeof n)||(n=n.toString()),a["@value"]=n,a}function D(e,t,n,i){const a=[],l=Object.keys(t).sort();for(const c of l){const l=f(e,c,{vocab:!0},i);let d=t[c];r(d)||(d=[d]);for(const e of d){if(null===e)continue;if(!s(e))throw new o("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:t});const r={"@value":e};"@none"!==l&&(c.match(x)||i.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:c}},options:i}),r["@language"]=c.toLowerCase()),n&&(r["@direction"]=n),a.push(r)}}return a}async function C({activeCtx:e,options:t,activeProperty:n,value:i,asGraph:a,indexKey:s,propertyIndex:c}){const p=[],v=Object.keys(i).sort(),y="@type"===s;for(let m of v){if(y){const n=h(e,m,"@context");l(n)||(e=await g({activeCtx:e,localCtx:n,propagate:!1,options:t}))}let v,x=i[m];r(x)||(x=[x]),x=await E.expand({activeCtx:e,activeProperty:n,element:x,options:t,insideList:!1,insideIndex:!0}),v=c?"@none"===m?"@none":k({activeCtx:e,activeProperty:s,value:m,options:t}):f(e,m,{vocab:!0},t),"@id"===s?m=f(e,m,{base:!0},t):y&&(m=v);for(let e of x){if(a&&!u(e)&&(e={"@graph":[e]}),"@type"===s)"@none"===v||(e["@type"]?e["@type"]=[m].concat(e["@type"]):e["@type"]=[m]);else{if(d(e)&&!["@language","@type","@index"].includes(s))throw new o(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${s}".`,"jsonld.SyntaxError",{code:"invalid value object",value:e});c?"@none"!==v&&w(e,c,v,{propertyIsArray:!0,prependValue:!0}):"@none"===v||s in e||(e[s]=m)}p.push(e)}}return p}e.exports=E,E.expand=async({activeCtx:e,activeProperty:t=null,element:n,options:u={},insideList:b=!1,insideIndex:L=!1,typeScopedContext:T=null})=>{if(null==n)return null;if("@default"===t&&(u=Object.assign({},u,{isFrame:!1})),!r(n)&&!i(n))return b||null!==t&&"@graph"!==f(e,t,{vocab:!0},u)?k({activeCtx:e,activeProperty:t,value:n,options:u}):(u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"free-floating scalar",level:"warning",message:"Dropping free-floating scalar not in a list.",details:{value:n}},options:u}),null);if(r(n)){let o=[];const i=h(e,t,"@container")||[];b=b||i.includes("@list");for(let i=0;i<n.length;++i){let a=await E.expand({activeCtx:e,activeProperty:t,element:n[i],options:u,insideIndex:L,typeScopedContext:T});b&&r(a)&&(a={"@list":a}),null!==a&&(r(a)?o=o.concat(a):o.push(a))}return o}const R=f(e,t,{vocab:!0},u),A=h(e,t,"@context");T=T||(e.previousContext?e:null);let _=Object.keys(n).sort(),M=!L;if(M&&T&&_.length<=2&&!_.includes("@context"))for(const t of _){const n=f(T,t,{vocab:!0},u);if("@value"===n){M=!1,e=T;break}if("@id"===n&&1===_.length){M=!1;break}}M&&(e=e.revertToPreviousContext()),l(A)||(e=await g({activeCtx:e,localCtx:A,propagate:!0,overrideProtected:!0,options:u})),"@context"in n&&(e=await g({activeCtx:e,localCtx:n["@context"],options:u})),T=e;let J=null;for(const t of _){if("@type"===f(e,t,{vocab:!0},u)){J=J||t;const o=n[t],r=Array.isArray(o)?o.length>1?o.slice().sort():o:[o];for(const t of r){const n=h(T,t,"@context");l(n)||(e=await g({activeCtx:e,localCtx:n,options:u,propagate:!1}))}}}let P={};await async function e({activeCtx:t,activeProperty:n,expandedActiveProperty:u,element:b,expandedParent:I,options:k={},insideList:L,typeKey:T,typeScopedContext:R}){const A=Object.keys(b).sort(),_=[];let M;const J=b[T]&&"@json"===f(t,r(b[T])?b[T][0]:b[T],{vocab:!0},{...k,typeExpansion:!0});for(const e of A){let L,T=b[e];if("@context"===e)continue;const A=f(t,e,{vocab:!0},k);if(null===A||!m(A)&&!v(A)){k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid property",level:"warning",message:"Dropping property that did not expand into an absolute IRI or keyword.",details:{property:e,expandedProperty:A}},options:k});continue}if(v(A)){if("@reverse"===u)throw new o("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:T});if(A in I&&"@included"!==A&&"@type"!==A)throw new o("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:A})}if("@id"===A){if(!s(T)){if(!k.isFrame)throw new o('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:T});if(i(T)){if(!a(T))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T})}else{if(!r(T))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T});if(!T.every(e=>s(e)))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:T})}}w(I,"@id",j(T).map(e=>{if(s(e)){const n=f(t,e,{base:!0},k);return k.eventHandler&&(null===n?S(null===e?{event:{type:["JsonLdEvent"],code:"null @id value",level:"warning",message:"Null @id found.",details:{id:e}},options:k}:{event:{type:["JsonLdEvent"],code:"reserved @id value",level:"warning",message:"Reserved @id found.",details:{id:e}},options:k}):m(n)||S({event:{type:["JsonLdEvent"],code:"relative @id reference",level:"warning",message:"Relative @id reference found.",details:{id:e,expandedId:n}},options:k})),n}return e}),{propertyIsArray:k.isFrame});continue}if("@type"===A){i(T)&&(T=Object.fromEntries(Object.entries(T).map(([e,t])=>[f(R,e,{vocab:!0}),j(t).map(e=>f(R,e,{base:!0,vocab:!0},{...k,typeExpansion:!0}))]))),N(T,k.isFrame),w(I,"@type",j(T).map(e=>{if(s(e)){const t=f(R,e,{base:!0,vocab:!0},{...k,typeExpansion:!0});return"@json"===t||m(t)||k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"relative @type reference",level:"warning",message:"Relative @type reference found.",details:{type:e}},options:k}),t}return e}),{propertyIsArray:!!k.isFrame});continue}if("@included"===A&&y(t,1.1)){const e=j(await E.expand({activeCtx:t,activeProperty:n,element:T,options:k}));if(!e.every(e=>p(e)))throw new o("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:T});w(I,"@included",e,{propertyIsArray:!0});continue}if("@graph"===A&&!i(T)&&!r(T))throw new o('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:T});if("@value"===A){M=T,J&&y(t,1.1)?I["@value"]=T:w(I,"@value",T,{propertyIsArray:k.isFrame});continue}if("@language"===A){if(null===T)continue;if(!s(T)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:T});T=j(T).map(e=>s(e)?e.toLowerCase():e);for(const e of T)s(e)&&!e.match(x)&&k.eventHandler&&S({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:k});w(I,"@language",T,{propertyIsArray:k.isFrame});continue}if("@direction"===A){if(!s(T)&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:T});T=j(T);for(const e of T)if(s(e)&&"ltr"!==e&&"rtl"!==e)throw new o('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:T});w(I,"@direction",T,{propertyIsArray:k.isFrame});continue}if("@index"===A){if(!s(T))throw new o('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:T});w(I,"@index",T);continue}if("@reverse"===A){if(!i(T))throw new o('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:T});if(L=await E.expand({activeCtx:t,activeProperty:"@reverse",element:T,options:k}),"@reverse"in L)for(const e in L["@reverse"])w(I,e,L["@reverse"][e],{propertyIsArray:!0});let e=I["@reverse"]||null;for(const t in L){if("@reverse"===t)continue;null===e&&(e=I["@reverse"]={}),w(e,t,[],{propertyIsArray:!0});const n=L[t];for(let r=0;r<n.length;++r){const i=n[r];if(d(i)||c(i))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:L});w(e,t,i,{propertyIsArray:!0})}}continue}if("@nest"===A){_.push(e);continue}let P=t;const B=h(t,e,"@context");l(B)||(P=await g({activeCtx:t,localCtx:B,propagate:!0,overrideProtected:!0,options:k}));const H=h(t,e,"@container")||[];if(H.includes("@language")&&i(T)){const t=h(P,e,"@direction");L=D(P,T,t,k)}else if(H.includes("@index")&&i(T)){const n=H.includes("@graph"),o=h(P,e,"@index")||"@index",r="@index"!==o&&f(t,o,{vocab:!0},k);L=await C({activeCtx:P,options:k,activeProperty:e,value:T,asGraph:n,indexKey:o,propertyIndex:r})}else if(H.includes("@id")&&i(T)){const t=H.includes("@graph");L=await C({activeCtx:P,options:k,activeProperty:e,value:T,asGraph:t,indexKey:"@id"})}else if(H.includes("@type")&&i(T))L=await C({activeCtx:P.revertToPreviousContext(),options:k,activeProperty:e,value:T,asGraph:!1,indexKey:"@type"});else{const o="@list"===A;if(o||"@set"===A){let e=n;o&&"@graph"===u&&(e=null),L=await E.expand({activeCtx:P,activeProperty:e,element:T,options:k,insideList:o})}else L="@json"===h(t,e,"@type")?{"@type":"@json","@value":T}:await E.expand({activeCtx:P,activeProperty:e,element:T,options:k,insideList:!1})}if(null!==L||"@value"===A){if("@list"!==A&&!c(L)&&H.includes("@list")&&(L={"@list":j(L)}),H.includes("@graph")&&!H.some(e=>"@id"===e||"@index"===e)){if(L=j(L),k.isFrame||(L=L.filter(e=>null!==O({value:e,count:Object.keys(e).length,options:k}))),0===L.length)continue;L=L.map(e=>({"@graph":j(e)}))}if(P.mappings.has(e)&&P.mappings.get(e).reverse){const e=I["@reverse"]=I["@reverse"]||{};L=j(L);for(let t=0;t<L.length;++t){const n=L[t];if(d(n)||c(n))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:L});w(e,A,n,{propertyIsArray:!0})}}else w(I,A,L,{propertyIsArray:!0})}}if("@value"in I)if("@json"===I["@type"]&&y(t,1.1));else if((i(M)||r(M))&&!k.isFrame)throw new o('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:M});for(const a of _){const s=r(b[a])?b[a]:[b[a]];for(const r of s){if(!i(r)||Object.keys(r).some(e=>"@value"===f(t,e,{vocab:!0},k)))throw new o("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:r});await e({activeCtx:t,activeProperty:n,expandedActiveProperty:u,element:r,expandedParent:I,options:k,insideList:L,typeScopedContext:R,typeKey:T})}}}({activeCtx:e,activeProperty:t,expandedActiveProperty:R,element:n,expandedParent:P,options:u,insideList:b,typeKey:J,typeScopedContext:T}),_=Object.keys(P);let B=_.length;if("@value"in P){if("@type"in P&&("@language"in P||"@direction"in P))throw new o('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:P});let t=B-1;if("@type"in P&&(t-=1),"@index"in P&&(t-=1),"@language"in P&&(t-=1),"@direction"in P&&(t-=1),0!==t)throw new o('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:P});const n=null===P["@value"]?[]:j(P["@value"]),r=I(P,"@type");if(y(e,1.1)&&r.includes("@json")&&1===r.length);else if(0===n.length)u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"null @value value",level:"warning",message:"Dropping null @value value.",details:{value:P}},options:u}),P=null;else{if(!n.every(e=>s(e)||a(e))&&"@language"in P)throw new o("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:P});if(!r.every(e=>m(e)&&!(s(e)&&0===e.indexOf("_:"))||a(e)))throw new o('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:P})}}else if("@type"in P&&!r(P["@type"]))P["@type"]=[P["@type"]];else if("@set"in P||"@list"in P){if(B>1&&(2!==B||!("@index"in P)))throw new o('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:P});"@set"in P&&(P=P["@set"],_=Object.keys(P),B=_.length)}else 1===B&&"@language"in P&&(u.eventHandler&&S({event:{type:["JsonLdEvent"],code:"object with only @language",level:"warning",message:"Dropping object with only @language.",details:{value:P}},options:u}),P=null);return!i(P)||u.keepFreeFloatingNodes||b||null!==t&&"@graph"!==R&&!(h(e,t,"@container")||[]).includes("@graph")||(P=O({value:P,count:B,options:u})),P}},796:function(e,t,n){"use strict";const{isSubjectReference:o}=n(552),{createMergedNodeMap:r}=n(584),i={};e.exports=i,i.flatten=e=>{const t=r(e),n=[],i=Object.keys(t).sort();for(let e=0;e<i.length;++e){const r=t[i[e]];o(r)||n.push(r)}return n}},797:function(e,t,n){"use strict";const o=n(543),r=n(552),i=n(540),{REGEX_BCP47:a,addValue:s}=n(542),{handleEvent:l}=n(569),{RDF_LIST:c,RDF_FIRST:d,RDF_REST:u,RDF_NIL:p,RDF_TYPE:f,RDF_JSON_LITERAL:h,XSD_BOOLEAN:v,XSD_DOUBLE:g,XSD_INTEGER:y,XSD_STRING:m}=n(604),x={};function b(e,t,n,r){if(e.termType.endsWith("Node"))return{"@id":e.value};const s={"@value":e.value};if(e.language)e.language.match(a)||r.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e.language}},options:r}),s["@language"]=e.language;else{let c=e.datatype.value;if(c||(c=m),c===h){c="@json";try{s["@value"]=JSON.parse(s["@value"])}catch(e){throw new o("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:s["@value"],cause:e})}}if(t){if(c===v)"true"===s["@value"]?s["@value"]=!0:"false"===s["@value"]&&(s["@value"]=!1);else if(i.isNumeric(s["@value"]))if(c===y){const e=parseInt(s["@value"],10);e.toFixed(0)===s["@value"]&&(s["@value"]=e)}else c===g&&(s["@value"]=parseFloat(s["@value"]));[v,y,g,m].includes(c)||(s["@type"]=c)}else if("i18n-datatype"===n&&c.startsWith("https://www.w3.org/ns/i18n#")){const[,e,t]=c.split(/[#_]/);e.length>0&&(s["@language"]=e,e.match(a)||r.eventHandler&&l({event:{type:["JsonLdEvent"],code:"invalid @language value",level:"warning",message:"@language value must be valid BCP47.",details:{language:e}},options:r})),s["@direction"]=t}else c!==m&&(s["@type"]=c)}return s}e.exports=x,x.fromRDF=async(e,t)=>{const{useRdfType:n=!1,useNativeTypes:a=!1,rdfDirection:l=null}=t,h={},v={"@default":h},g={};if(l){if("compound-literal"===l)throw new o("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:l});if("i18n-datatype"!==l)throw new o("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:l})}for(const o of e){const e="DefaultGraph"===o.graph.termType?"@default":o.graph.value;e in v||(v[e]={}),"@default"===e||e in h||(h[e]={"@id":e});const r=v[e],i=o.subject.value,c=o.predicate.value,d=o.object;i in r||(r[i]={"@id":i});const u=r[i],y=d.termType.endsWith("Node");if(y&&!(d.value in r)&&(r[d.value]={"@id":d.value}),c===f&&!n&&y){s(u,"@type",d.value,{propertyIsArray:!0});continue}const m=b(d,a,l,t);if(s(u,c,m,{propertyIsArray:!0}),y)if(d.value===p){const e=r[d.value];"usages"in e||(e.usages=[]),e.usages.push({node:u,property:c,value:m})}else d.value in g?g[d.value]=!1:g[d.value]={node:u,property:c,value:m}}for(const e in v){const t=v[e];if(!(p in t))continue;const n=t[p];if(n.usages){for(let e of n.usages){let n=e.node,o=e.property,a=e.value;const s=[],l=[];let p=Object.keys(n).length;for(;o===u&&i.isObject(g[n["@id"]])&&i.isArray(n[d])&&1===n[d].length&&i.isArray(n[u])&&1===n[u].length&&(3===p||4===p&&i.isArray(n["@type"])&&1===n["@type"].length&&n["@type"][0]===c)&&(s.push(n[d][0]),l.push(n["@id"]),e=g[n["@id"]],n=e.node,o=e.property,a=e.value,p=Object.keys(n).length,r.isBlankNode(n)););delete a["@id"],a["@list"]=s.reverse();for(const e of l)delete t[e]}delete n.usages}}const y=[],m=Object.keys(h).sort();for(const e of m){const t=h[e];if(e in v){const n=t["@graph"]=[],o=v[e],i=Object.keys(o).sort();for(const e of i){const t=o[e];r.isSubjectReference(t)||n.push(t)}}r.isSubjectReference(t)||y.push(t)}return y}},798:function(e,t,n){"use strict";const{createNodeMap:o}=n(584),{isKeyword:r}=n(559),i=n(552),a=n(799),s=n(543),l=n(540),c=n(542),{handleEvent:d}=n(569),{RDF_FIRST:u,RDF_REST:p,RDF_NIL:f,RDF_TYPE:h,RDF_JSON_LITERAL:v,RDF_LANGSTRING:g,XSD_BOOLEAN:y,XSD_DOUBLE:m,XSD_INTEGER:x,XSD_STRING:b}=n(604),{isAbsolute:w}=n(554),j={};function I(e,t,n,o,i){const a=Object.keys(t).sort();for(const s of a){const a=t[s],l=Object.keys(a).sort();for(let t of l){const l=a[t];if("@type"===t)t=h;else if(r(t))continue;for(const r of l){const a={termType:s.startsWith("_:")?"BlankNode":"NamedNode",value:s};if(!w(s)){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative subject reference",level:"warning",message:"Relative subject reference found.",details:{subject:s}},options:i});continue}const l={termType:t.startsWith("_:")?"BlankNode":"NamedNode",value:t};if(!w(t)){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative predicate reference",level:"warning",message:"Relative predicate reference found.",details:{predicate:t}},options:i});continue}if("BlankNode"===l.termType&&!i.produceGeneralizedRdf){i.eventHandler&&d({event:{type:["JsonLdEvent"],code:"blank node predicate",level:"warning",message:"Dropping blank node predicate.",details:{property:o.getOldIds().find(e=>o.getId(e)===t)}},options:i});continue}const c=N(r,o,e,n,i.rdfDirection,i);c&&e.push({subject:a,predicate:l,object:c,graph:n})}}}}function N(e,t,n,o,r,c){const h={};if(i.isValue(e)){h.termType="Literal",h.value=void 0,h.datatype={termType:"NamedNode"};let t=e["@value"];const n=e["@type"]||null;if("@json"===n)h.value=a(t),h.datatype.value=v;else if(l.isBoolean(t))h.value=t.toString(),h.datatype.value=n||y;else if(l.isDouble(t)||n===m)l.isDouble(t)||(t=parseFloat(t)),h.value=t.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),h.datatype.value=n||m;else if(l.isNumber(t))h.value=t.toFixed(0),h.datatype.value=n||x;else if("@direction"in e&&"i18n-datatype"===r){const n=`https://www.w3.org/ns/i18n#${(e["@language"]||"").toLowerCase()}_${e["@direction"]}`;h.datatype.value=n,h.value=t}else{if("@direction"in e&&"compound-literal"===r)throw new s("Unsupported rdfDirection value.","jsonld.InvalidRdfDirection",{value:r});if("@direction"in e&&r)throw new s("Unknown rdfDirection value.","jsonld.InvalidRdfDirection",{value:r});"@language"in e?("@direction"in e&&!r&&c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:h.value}},options:c}),h.value=t,h.datatype.value=n||g,h.language=e["@language"]):("@direction"in e&&!r&&c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"rdfDirection not set",level:"warning",message:"rdfDirection not set for @direction.",details:{object:h.value}},options:c}),h.value=t,h.datatype.value=n||b)}}else if(i.isList(e)){const i=function(e,t,n,o,r,i){const a={termType:"NamedNode",value:u},s={termType:"NamedNode",value:p},l={termType:"NamedNode",value:f},c=e.pop(),d=c?{termType:"BlankNode",value:t.getId()}:l;let h=d;for(const l of e){const e=N(l,t,n,o,r,i),c={termType:"BlankNode",value:t.getId()};n.push({subject:h,predicate:a,object:e,graph:o}),n.push({subject:h,predicate:s,object:c,graph:o}),h=c}if(c){const e=N(c,t,n,o,r,i);n.push({subject:h,predicate:a,object:e,graph:o}),n.push({subject:h,predicate:s,object:l,graph:o})}return d}(e["@list"],t,n,o,r,c);h.termType=i.termType,h.value=i.value}else{const t=l.isObject(e)?e["@id"]:e;h.termType=t.startsWith("_:")?"BlankNode":"NamedNode",h.value=t}return"NamedNode"!==h.termType||w(h.value)?h:(c.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative object reference",level:"warning",message:"Relative object reference found.",details:{object:h.value}},options:c}),null)}e.exports=j,j.toRDF=(e,t)=>{const n=new c.IdentifierIssuer("_:b"),r={"@default":{}};o(e,r,"@default",n);const i=[],a=Object.keys(r).sort();for(const e of a){let o;if("@default"===e)o={termType:"DefaultGraph",value:""};else{if(!w(e)){t.eventHandler&&d({event:{type:["JsonLdEvent"],code:"relative graph reference",level:"warning",message:"Relative graph reference found.",details:{graph:e}},options:t});continue}o=e.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},o.value=e}I(i,r[e],o,n,t)}return i}},799:function(e,t,n){"use strict";e.exports=function e(t){return null===t||"object"!=typeof t||null!=t.toJSON?JSON.stringify(t):Array.isArray(t)?"["+t.reduce((t,n,o)=>t+(0===o?"":",")+e(void 0===n||"symbol"==typeof n?null:n),"")+"]":"{"+Object.keys(t).sort().reduce((n,o,r)=>{if(void 0===t[o]||"symbol"==typeof t[o])return n;return n+(0===n.length?"":",")+e(o)+":"+e(t[o])},"")+"}"}},800:function(e,t,n){"use strict";const{isKeyword:o}=n(559),r=n(552),i=n(540),a=n(542),s=n(554),l=n(543),{createNodeMap:c,mergeNodeMapGraphs:d}=n(584),u={};function p(e){const t={};for(const n in e)void 0!==e[n]&&(t["@"+n]=[e[n]]);return[t]}function f(e,t,n){for(let o=n.length-1;o>=0;--o){const r=n[o];if(r.graph===t&&r.subject["@id"]===e["@id"])return!0}return!1}function h(e,t,n){const o="@"+n;let r=o in e?e[o][0]:t[n];if("embed"===n)if(!0===r)r="@once";else if(!1===r)r="@never";else if("@always"!==r&&"@never"!==r&&"@link"!==r&&"@first"!==r&&"@last"!==r&&"@once"!==r)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:e});return r}function v(e){if(!i.isArray(e)||1!==e.length||!i.isObject(e[0]))throw new l("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e});if("@id"in e[0])for(const t of a.asArray(e[0]["@id"]))if(!i.isObject(t)&&!s.isAbsolute(t)||i.isString(t)&&0===t.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e});if("@type"in e[0])for(const t of a.asArray(e[0]["@type"]))if(!i.isObject(t)&&!s.isAbsolute(t)&&"@json"!==t||i.isString(t)&&0===t.indexOf("_:"))throw new l("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:e})}function g(e,t,n,s){let l=!0,c=!1;for(const d in n){let u=!1;const p=a.getValues(t,d),f=0===a.getValues(n,d).length;if("@id"===d){if(i.isEmptyObject(n["@id"][0]||{})?u=!0:n["@id"].length>=0&&(u=n["@id"].includes(p[0])),!s.requireAll)return u}else if("@type"===d){if(l=!1,f){if(p.length>0)return!1;u=!0}else if(1===n["@type"].length&&i.isEmptyObject(n["@type"][0]))u=p.length>0;else for(const e of n["@type"])u=!(!i.isObject(e)||!("@default"in e))||(u||p.some(t=>t===e));if(!s.requireAll)return u}else{if(o(d))continue;{const t=a.getValues(n,d)[0];let o=!1;if(t&&(v([t]),o="@default"in t),l=!1,0===p.length&&o)continue;if(p.length>0&&f)return!1;if(void 0===t){if(p.length>0)return!1;u=!0}else if(r.isList(t)){const n=t["@list"][0];if(r.isList(p[0])){const t=p[0]["@list"];r.isValue(n)?u=t.some(e=>b(n,e)):(r.isSubject(n)||r.isSubjectReference(n))&&(u=t.some(t=>x(e,n,t,s)))}}else u=r.isValue(t)?p.some(e=>b(t,e)):r.isSubjectReference(t)?p.some(n=>x(e,t,n,s)):!!i.isObject(t)&&p.length>0}}if(!u&&s.requireAll)return!1;c=c||u}return l||c}function y(e,t){const n=e.uniqueEmbeds[e.graph],o=n[t],r=o.parent,s=o.property,l={"@id":t};if(i.isArray(r)){for(let e=0;e<r.length;++e)if(a.compareValues(r[e],l)){r[e]=l;break}}else{const e=i.isArray(r[s]);a.removeValue(r,s,l,{propertyIsArray:e}),a.addValue(r,s,l,{propertyIsArray:e})}const c=e=>{const t=Object.keys(n);for(const o of t)o in n&&i.isObject(n[o].parent)&&n[o].parent["@id"]===e&&(delete n[o],c(o))};c(t)}
|
|
62
|
+
/**
|
|
63
|
+
* Removes the @preserve keywords from expanded result of framing.
|
|
64
|
+
*
|
|
65
|
+
* @param input the framed, framed output.
|
|
66
|
+
* @param options the framing options used.
|
|
67
|
+
*
|
|
68
|
+
* @return the resulting output.
|
|
69
|
+
*/function m(e,t,n){i.isObject(e)?a.addValue(e,t,n,{propertyIsArray:!0}):e.push(n)}function x(e,t,n,o){if(!("@id"in n))return!1;const r=e.subjects[n["@id"]];return r&&g(e,r,t,o)}function b(e,t){const n=t["@value"],o=t["@type"],r=t["@language"],a=e["@value"]?i.isArray(e["@value"])?e["@value"]:[e["@value"]]:[],s=e["@type"]?i.isArray(e["@type"])?e["@type"]:[e["@type"]]:[],l=e["@language"]?i.isArray(e["@language"])?e["@language"]:[e["@language"]]:[];return 0===a.length&&0===s.length&&0===l.length||!(!a.includes(n)&&!i.isEmptyObject(a[0]))&&(!!(!o&&0===s.length||s.includes(o)||o&&i.isEmptyObject(s[0]))&&!!(!r&&0===l.length||l.includes(r)||r&&i.isEmptyObject(l[0])))}e.exports=u,u.frameMergedOrDefault=(e,t,n)=>{const o={options:n,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},s=new a.IdentifierIssuer("_:b");c(e,o.graphMap,"@default",s),n.merged&&(o.graphMap["@merged"]=d(o.graphMap),o.graph="@merged"),o.subjects=o.graphMap[o.graph];const l=[];return u.frame(o,Object.keys(o.subjects).sort(),t,l),n.pruneBlankNodeIdentifiers&&(n.bnodesToClear=Object.keys(o.bnodeMap).filter(e=>1===o.bnodeMap[e].length)),
|
|
70
|
+
// remove @preserve from results
|
|
71
|
+
n.link={},function e(t,n){if(i.isArray(t))return t.map(t=>e(t,n));if(i.isObject(t)){
|
|
72
|
+
// remove @preserve
|
|
73
|
+
if("@preserve"in t)return t["@preserve"][0];if(r.isValue(t))return t;if(r.isList(t))return t["@list"]=e(t["@list"],n),t;if("@id"in t){const e=t["@id"];if(n.link.hasOwnProperty(e)){const o=n.link[e].indexOf(t);if(-1!==o)return n.link[e][o];n.link[e].push(t)}else n.link[e]=[t]}for(const o in t)"@id"===o&&n.bnodesToClear.includes(t[o])?delete t["@id"]:t[o]=e(t[o],n)}return t}(l,n)},u.frame=(e,t,n,s,c=null)=>{v(n),n=n[0];const d=e.options,x={embed:h(n,d,"embed"),explicit:h(n,d,"explicit"),requireAll:h(n,d,"requireAll")};e.link.hasOwnProperty(e.graph)||(e.link[e.graph]={});const w=e.link[e.graph],j=function(e,t,n,o){const r={};for(const i of t){const t=e.graphMap[e.graph][i];g(e,t,n,o)&&(r[i]=t)}return r}(e,t,n,x),I=Object.keys(j).sort();for(const v of I){const g=j[v];if(null===c?e.uniqueEmbeds={[e.graph]:{}}:e.uniqueEmbeds[e.graph]=e.uniqueEmbeds[e.graph]||{},"@link"===x.embed&&v in w){m(s,c,w[v]);continue}const I={"@id":v};if(0===v.indexOf("_:")&&a.addValue(e.bnodeMap,v,I,{propertyIsArray:!0}),w[v]=I,("@first"===x.embed||"@last"===x.embed)&&e.is11)throw new l("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:n});if(e.embedded||!e.uniqueEmbeds[e.graph].hasOwnProperty(v))if(!e.embedded||"@never"!==x.embed&&!f(g,e.graph,e.subjectStack))if(!e.embedded||"@first"!=x.embed&&"@once"!=x.embed||!e.uniqueEmbeds[e.graph].hasOwnProperty(v)){if("@last"===x.embed&&v in e.uniqueEmbeds[e.graph]&&y(e,v),e.uniqueEmbeds[e.graph][v]={parent:s,property:c},e.subjectStack.push({subject:g,graph:e.graph}),v in e.graphMap){let t=!1,o=null;"@graph"in n?(o=n["@graph"][0],t=!("@merged"===v||"@default"===v),i.isObject(o)||(o={})):(t="@merged"!==e.graph,o={}),t&&u.frame({...e,graph:v,embedded:!1},Object.keys(e.graphMap[v]).sort(),[o],I,"@graph")}"@included"in n&&u.frame({...e,embedded:!1},t,n["@included"],I,"@included");for(const t of Object.keys(g).sort())if(o(t)){if(I[t]=a.clone(g[t]),"@type"===t)for(const t of g["@type"])0===t.indexOf("_:")&&a.addValue(e.bnodeMap,t,I,{propertyIsArray:!0})}else if(!x.explicit||t in n)for(const o of g[t]){const i=t in n?n[t]:p(x);if(r.isList(o)){const i=n[t]&&n[t][0]&&n[t][0]["@list"]?n[t][0]["@list"]:p(x),s={"@list":[]};m(I,t,s);const l=o["@list"];for(const t of l)r.isSubjectReference(t)?u.frame({...e,embedded:!0},[t["@id"]],i,s,"@list"):m(s,"@list",a.clone(t))}else r.isSubjectReference(o)?u.frame({...e,embedded:!0},[o["@id"]],i,I,t):b(i[0],o)&&m(I,t,a.clone(o))}for(const e of Object.keys(n).sort()){if("@type"===e){if(!i.isObject(n[e][0])||!("@default"in n[e][0]))continue}else if(o(e))continue;const t=n[e][0]||{};if(!h(t,d,"omitDefault")&&!(e in I)){let n="@null";"@default"in t&&(n=a.clone(t["@default"])),i.isArray(n)||(n=[n]),I[e]=[{"@preserve":n}]}}for(const t of Object.keys(n["@reverse"]||{}).sort()){const o=n["@reverse"][t];for(const n of Object.keys(e.subjects)){a.getValues(e.subjects[n],t).some(e=>e["@id"]===v)&&(I["@reverse"]=I["@reverse"]||{},a.addValue(I["@reverse"],t,[],{propertyIsArray:!0}),u.frame({...e,embedded:!0},[n],o,I["@reverse"][t],c))}}m(s,c,I),e.subjectStack.pop()}else m(s,c,I);else m(s,c,I)}},u.cleanupNull=(e,t)=>{if(i.isArray(e)){return e.map(e=>u.cleanupNull(e,t)).filter(e=>e)}if("@null"===e)return null;if(i.isObject(e)){if("@id"in e){const n=e["@id"];if(t.link.hasOwnProperty(n)){const o=t.link[n].indexOf(e);if(-1!==o)return t.link[n][o];t.link[n].push(e)}else t.link[n]=[e]}for(const n in e)e[n]=u.cleanupNull(e[n],t)}return e}},801:function(e,t,n){"use strict";const o=n(543),{isArray:r,isObject:i,isString:a,isUndefined:s}=n(540),{isList:l,isValue:c,isGraph:d,isSimpleGraph:u,isSubjectReference:p}=n(552),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(559),{removeBase:m,prependBase:x}=n(554),{REGEX_KEYWORD:b,addValue:w,asArray:j,compareShortestLeast:I}=n(542),N={};function S(e,t,n){if("@nest"!==f(e,t,{vocab:!0},n))throw new o("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}e.exports=N,N.compact=async({activeCtx:e,activeProperty:t=null,element:n,options:f={}})=>{if(r(n)){let o=[];for(let r=0;r<n.length;++r){const i=await N.compact({activeCtx:e,activeProperty:t,element:n[r],options:f});null!==i&&o.push(i)}if(f.compactArrays&&1===o.length){0===(h(e,t,"@container")||[]).length&&(o=o[0])}return o}const m=h(e,t,"@context");if(s(m)||(e=await g({activeCtx:e,localCtx:m,propagate:!0,overrideProtected:!0,options:f})),i(n)){if(f.link&&"@id"in n&&f.link.hasOwnProperty(n["@id"])){const e=f.link[n["@id"]];for(let t=0;t<e.length;++t)if(e[t].expanded===n)return e[t].compacted}if(c(n)||p(n)){const o=N.compactValue({activeCtx:e,activeProperty:t,value:n,options:f});return f.link&&p(n)&&(f.link.hasOwnProperty(n["@id"])||(f.link[n["@id"]]=[]),f.link[n["@id"]].push({expanded:n,compacted:o})),o}if(l(n)){if((h(e,t,"@container")||[]).includes("@list"))return N.compact({activeCtx:e,activeProperty:t,element:n["@list"],options:f})}const m="@reverse"===t,x={},b=e;c(n)||p(n)||(e=e.revertToPreviousContext());const I=h(b,t,"@context");s(I)||(e=await g({activeCtx:e,localCtx:I,propagate:!0,overrideProtected:!0,options:f})),f.link&&"@id"in n&&(f.link.hasOwnProperty(n["@id"])||(f.link[n["@id"]]=[]),f.link[n["@id"]].push({expanded:n,compacted:x}));let E=n["@type"]||[];E.length>1&&(E=Array.from(E).sort());const O=e;for(const t of E){const n=N.compactIri({activeCtx:O,iri:t,relativeTo:{vocab:!0}}),o=h(b,n,"@context");s(o)||(e=await g({activeCtx:e,localCtx:o,options:f,propagate:!1}))}const k=Object.keys(n).sort();for(const s of k){const p=n[s];if("@id"!==s)if("@type"!==s)if("@reverse"!==s)if("@preserve"!==s)if("@index"!==s)if("@graph"!==s&&"@list"!==s&&"@included"!==s&&v(s)){const t=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,t,p)}else{if(!r(p))throw new o("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(0===p.length){const t=N.compactIri({activeCtx:e,iri:s,value:p,relativeTo:{vocab:!0},reverse:m}),n=e.mappings.has(t)?e.mappings.get(t)["@nest"]:null;let o=x;n&&(S(e,n,f),i(x[n])||(x[n]={}),o=x[n]),w(o,t,p,{propertyIsArray:!0})}for(const t of p){const n=N.compactIri({activeCtx:e,iri:s,value:t,relativeTo:{vocab:!0},reverse:m}),o=e.mappings.has(n)?e.mappings.get(n)["@nest"]:null;let p=x;o&&(S(e,o,f),i(x[o])||(x[o]={}),p=x[o]);const v=h(e,n,"@container")||[],g=d(t),y=l(t);let b;y?b=t["@list"]:g&&(b=t["@graph"]);let I=await N.compact({activeCtx:e,activeProperty:n,element:y||g?b:t,options:f});if(y){if(r(I)||(I=[I]),v.includes("@list")){w(p,n,I,{valueIsArray:!0,allowDuplicate:!0});continue}I={[N.compactIri({activeCtx:e,iri:"@list",relativeTo:{vocab:!0}})]:I},"@index"in t&&(I[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=t["@index"])}if(g)if(v.includes("@graph")&&(v.includes("@id")||v.includes("@index")&&u(t))){let o;p.hasOwnProperty(n)?o=p[n]:p[n]=o={};const r=(v.includes("@id")?t["@id"]:t["@index"])||N.compactIri({activeCtx:e,iri:"@none",relativeTo:{vocab:!0}});w(o,r,I,{propertyIsArray:!f.compactArrays||v.includes("@set")})}else v.includes("@graph")&&u(t)?(r(I)&&I.length>1&&(I={"@included":I}),w(p,n,I,{propertyIsArray:!f.compactArrays||v.includes("@set")})):(r(I)&&1===I.length&&f.compactArrays&&(I=I[0]),I={[N.compactIri({activeCtx:e,iri:"@graph",relativeTo:{vocab:!0}})]:I},"@id"in t&&(I[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]=t["@id"]),"@index"in t&&(I[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=t["@index"]),w(p,n,I,{propertyIsArray:!f.compactArrays||v.includes("@set")}));else if(v.includes("@language")||v.includes("@index")||v.includes("@id")||v.includes("@type")){let o,r;if(p.hasOwnProperty(n)?o=p[n]:p[n]=o={},v.includes("@language"))c(I)&&(I=I["@value"]),r=t["@language"];else if(v.includes("@index")){const o=h(e,n,"@index")||"@index",i=N.compactIri({activeCtx:e,iri:o,relativeTo:{vocab:!0}});if("@index"===o)r=t["@index"],delete I[i];else{let e;if([r,...e]=j(I[o]||[]),a(r))switch(e.length){case 0:delete I[o];break;case 1:I[o]=e[0];break;default:I[o]=e}else r=null}}else if(v.includes("@id")){const t=N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}});r=I[t],delete I[t]}else if(v.includes("@type")){const o=N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}});let i;switch([r,...i]=j(I[o]||[]),i.length){case 0:delete I[o];break;case 1:I[o]=i[0];break;default:I[o]=i}1===Object.keys(I).length&&"@id"in t&&(I=await N.compact({activeCtx:e,activeProperty:n,element:{"@id":t["@id"]},options:f}))}r||(r=N.compactIri({activeCtx:e,iri:"@none",relativeTo:{vocab:!0}})),w(o,r,I,{propertyIsArray:v.includes("@set")})}else{const e=!f.compactArrays||v.includes("@set")||v.includes("@list")||r(I)&&0===I.length||"@list"===s||"@graph"===s;w(p,n,I,{propertyIsArray:e})}}}else{if((h(e,t,"@container")||[]).includes("@index"))continue;const n=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,n,p)}else{const n=await N.compact({activeCtx:e,activeProperty:t,element:p,options:f});r(n)&&0===n.length||w(x,s,n)}else{const t=await N.compact({activeCtx:e,activeProperty:"@reverse",element:p,options:f});for(const n in t)if(e.mappings.has(n)&&e.mappings.get(n).reverse){const o=t[n],r=(h(e,n,"@container")||[]).includes("@set")||!f.compactArrays;w(x,n,o,{propertyIsArray:r}),delete t[n]}if(Object.keys(t).length>0){const n=N.compactIri({activeCtx:e,iri:s,relativeTo:{vocab:!0}});w(x,n,t)}}else{let t=j(p).map(e=>N.compactIri({activeCtx:b,iri:e,relativeTo:{vocab:!0}}));1===t.length&&(t=t[0]);const n=N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}}),o=(h(e,n,"@container")||[]).includes("@set")&&y(e,1.1)||r(t)&&0===p.length;w(x,n,t,{propertyIsArray:o})}else{let t=j(p).map(t=>N.compactIri({activeCtx:e,iri:t,relativeTo:{vocab:!1},base:f.base}));1===t.length&&(t=t[0]);x[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]=t}}return x}return n},N.compactIri=({activeCtx:e,iri:t,value:n=null,relativeTo:r={vocab:!1},reverse:a=!1,base:s=null})=>{if(null===t)return t;e.isPropertyTermScoped&&e.previousContext&&(e=e.previousContext);const u=e.getInverse();if(v(t)&&t in u&&"@none"in u[t]&&"@type"in u[t]["@none"]&&"@none"in u[t]["@none"]["@type"])return u[t]["@none"]["@type"]["@none"];if(r.vocab&&t in u){const o=e["@language"]||"@none",r=[];i(n)&&"@index"in n&&!("@graph"in n)&&r.push("@index","@index@set"),i(n)&&"@preserve"in n&&(n=n["@preserve"][0]),d(n)?("@index"in n&&r.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n&&r.push("@graph@id","@graph@id@set"),r.push("@graph","@graph@set","@set"),"@index"in n||r.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n||r.push("@graph@id","@graph@id@set")):i(n)&&!c(n)&&r.push("@id","@id@set","@type","@set@type");let s="@language",u="@null";if(a)s="@type",u="@reverse",r.push("@set");else if(l(n)){"@index"in n||r.push("@list");const e=n["@list"];if(0===e.length)s="@any",u="@none";else{let t=0===e.length?o:null,n=null;for(let o=0;o<e.length;++o){const r=e[o];let i="@none",a="@none";if(c(r))if("@direction"in r){i=`${(r["@language"]||"").toLowerCase()}_${r["@direction"]}`}else"@language"in r?i=r["@language"].toLowerCase():"@type"in r?a=r["@type"]:i="@null";else a="@id";if(null===t?t=i:i!==t&&c(r)&&(t="@none"),null===n?n=a:a!==n&&(n="@none"),"@none"===t&&"@none"===n)break}t=t||"@none",n=n||"@none","@none"!==n?(s="@type",u=n):u=t}}else{if(c(n))if("@language"in n&&!("@index"in n)){r.push("@language","@language@set"),u=n["@language"];const e=n["@direction"];e&&(u=`${u}_${e}`)}else"@direction"in n&&!("@index"in n)?u="_"+n["@direction"]:"@type"in n&&(s="@type",u=n["@type"]);else s="@type",u="@id";r.push("@set")}r.push("@none"),i(n)&&!("@index"in n)&&r.push("@index","@index@set"),c(n)&&1===Object.keys(n).length&&r.push("@language","@language@set");const p=function(e,t,n,o,r,a){null===a&&(a="@null");const s=[];if(("@id"===a||"@reverse"===a)&&i(n)&&"@id"in n){"@reverse"===a&&s.push("@reverse");const t=N.compactIri({activeCtx:e,iri:n["@id"],relativeTo:{vocab:!0}});e.mappings.has(t)&&e.mappings.get(t)&&e.mappings.get(t)["@id"]===n["@id"]?s.push.apply(s,["@vocab","@id"]):s.push.apply(s,["@id","@vocab"])}else{s.push(a);const e=s.find(e=>e.includes("_"));e&&s.push(e.replace(/^[^_]+_/,"_"))}s.push("@none");const l=e.inverse[t];for(const e of o){if(!(e in l))continue;const t=l[e][r];for(const e of s)if(e in t)return t[e]}return null}(e,t,n,r,s,u);if(null!==p)return p}if(r.vocab&&"@vocab"in e){const n=e["@vocab"];if(0===t.indexOf(n)&&t!==n){const o=t.substr(n.length);if(!e.mappings.has(o))return o}}let p=null;const f=[];let h=e.fastCurieMap;const g=t.length-1;for(let e=0;e<g&&t[e]in h;++e)h=h[t[e]],""in h&&f.push(h[""][0]);for(let o=f.length-1;o>=0;--o){const r=f[o],i=r.terms;for(const o of i){const i=o+":"+t.substr(r.iri.length);e.mappings.get(o)._prefix&&(!e.mappings.has(i)||null===n&&e.mappings.get(i)["@id"]===t)&&(null===p||I(i,p)<0)&&(p=i)}}if(null!==p)return p;for(const[n,r]of e.mappings)if(r&&r._prefix&&t.startsWith(n+":"))throw new o(`Absolute IRI "${t}" confused with prefix "${n}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:e});if(!r.vocab){if("@base"in e){if(e["@base"]){const n=m(x(s,e["@base"]),t);return b.test(n)?"./"+n:n}return t}return m(s,t)}return t},N.compactValue=({activeCtx:e,activeProperty:t,value:n,options:o})=>{if(c(n)){const o=h(e,t,"@type"),r=h(e,t,"@language"),i=h(e,t,"@direction"),s=h(e,t,"@container")||[],l="@index"in n&&!s.includes("@index");if(!l&&"@none"!==o){if(n["@type"]===o)return n["@value"];if("@language"in n&&n["@language"]===r&&"@direction"in n&&n["@direction"]===i)return n["@value"];if("@language"in n&&n["@language"]===r)return n["@value"];if("@direction"in n&&n["@direction"]===i)return n["@value"]}const c=Object.keys(n).length,d=1===c||2===c&&"@index"in n&&!l,u="@language"in e,p=a(n["@value"]),f=e.mappings.has(t)&&null===e.mappings.get(t)["@language"];if(d&&"@none"!==o&&(!u||!p||f))return n["@value"];const v={};return l&&(v[N.compactIri({activeCtx:e,iri:"@index",relativeTo:{vocab:!0}})]=n["@index"]),"@type"in n?v[N.compactIri({activeCtx:e,iri:"@type",relativeTo:{vocab:!0}})]=N.compactIri({activeCtx:e,iri:n["@type"],relativeTo:{vocab:!0}}):"@language"in n&&(v[N.compactIri({activeCtx:e,iri:"@language",relativeTo:{vocab:!0}})]=n["@language"]),"@direction"in n&&(v[N.compactIri({activeCtx:e,iri:"@direction",relativeTo:{vocab:!0}})]=n["@direction"]),v[N.compactIri({activeCtx:e,iri:"@value",relativeTo:{vocab:!0}})]=n["@value"],v}const r=f(e,t,{vocab:!0},o),i=h(e,t,"@type"),s=N.compactIri({activeCtx:e,iri:n["@id"],relativeTo:{vocab:"@vocab"===i},base:o.base});return"@id"===i||"@vocab"===i||"@graph"===r?s:{[N.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}})]:s}}},802:function(e,t,n){"use strict";e.exports=e=>{class t{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(t,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(t.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:t}),t.compact=function(t,n){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):e.compact(t,n)},t.expand=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):e.expand(t)},t.flatten=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):e.flatten(t)},t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{127:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{135:function(i,r){angular.module("graphdb.framework.core.directives.ascii-validator",[]).directive("asciiValidator",(function(){return{restrict:"A",require:"ngModel",link:function(i,r,t,e){function a(i){const r=/^[\x21-\x7E]*$/.test(i);return e.$setValidity("asciiValidator",r),i}e.$parsers.push(a),e.$formatters.push(a)}}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{229:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{137:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{136:function(n,e){angular.module("graphdb.framework.core.directives.length-validator",[]).directive("lengthValidator",(function(){return{restrict:"A",require:"ngModel",link:function(n,e,t,r){function i(n){const e=t.minLength?parseInt(t.minLength,10):0,i=t.maxLength?parseInt(t.maxLength,10):1/0,a=n&&n.length>=e&&n.length<=i;return r.$setValidity("lengthValidator",a),n}r.$parsers.push(i),r.$formatters.push(i)}}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{231:function(t,e,n){"use strict";n.r(e);var o=n(0);function i(t,e,n,i){return{template:'\n <style>\n .open-in-sparql-editor-btn {\n line-height: 0.75;\n }\n .open-in-sparql-editor-btn .fa:nth-child(2) {\n margin-left: -0.2em;\n margin-right: -0.2em;\n font-size: 0.9em;\n }\n </style>\n <button class="btn btn-link btn-sm open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()">\n <i class="fa fa-bracket-curly"></i><i class="fa fa-ellipsis"></i><i class="fa fa-bracket-curly-right"></i>\n </button>\n ',restrict:"E",scope:{query:"@",repositoryId:"@",executeQuery:"@"},link:function(r,a){r.tooltipText="ttyg.chat_panel.btn.open_in_sparql_editor.tooltip";const s="true"===r.executeQuery;r.onGoToSparqlEditorView=()=>{const i=t.getActiveRepository();i&&i===r.repositoryId?p(r.query):n.openConfirmationModal({title:e.instant("common.confirm"),message:Object(o.decodeHTML)(e.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:r.repositoryId})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{t.setRepository(t.getRepository(r.repositoryId)),p(r.query)})};const p=t=>{i.open(`/sparql?query=${encodeURIComponent(t)}&execute=${s}`,"_blank")}}}}angular.module("graphdb.framework.core.directives.open-in-sparql-editor",[]).directive("openInSparqlEditor",i),i.$inject=["$repositories","$translate","ModalService","$window"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{117:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{228:function(e,i){angular.module("graphdb.framework.core.directives.validate-duplicate-url",[]).directive("validateDuplicateUrl",(function(){return{restrict:"A",require:"ngModel",scope:{excludedUrls:"="},link:function(e,i,l,r){r.$validators.duplicateUrl=function(i,l){return e.excludedUrls&&e.excludedUrls.includes(l)?(r.$setValidity("duplicateUrl",!1),!1):(r.$setValidity("duplicateUrl",!0),!0)}}}}))}}]);
|