graphdb-workbench 2.8.0-RC2 → 2.8.0-RC4
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.b18306b2cadb110a4706.bundle.js +25 -0
- package/dist/1.448206bdf418ae6f4bb1.bundle.js +1 -0
- package/dist/10.68a799e9740094ae6dca.bundle.js +1 -0
- package/dist/100.09a30a5e44435c837f2a.bundle.js +1 -0
- package/dist/101.caacc7236547367b3490.bundle.js +1 -0
- package/dist/102.4eeca7f968a33676bd37.bundle.js +1 -0
- package/dist/103.51d530c22201d78caa93.bundle.js +1 -0
- package/dist/104.38201bee605ebc344d8a.bundle.js +1 -0
- package/dist/105.e11b21c6d94f5df2b6c0.bundle.js +1 -0
- package/dist/106.9f79d102d74f6c666426.bundle.js +1 -0
- package/dist/107.57f4a826dcecb39b5cff.bundle.js +1 -0
- package/dist/108.685698b895a5e16ba92f.bundle.js +1 -0
- package/dist/109.7e1872c8dc363801a73a.bundle.js +1 -0
- package/dist/11.fb254db6ab09d415273d.bundle.js +1 -0
- package/dist/110.be87cfc050d9a4f51e6c.bundle.js +1 -0
- package/dist/111.2ce44854edbaa2238fa4.bundle.js +1 -0
- package/dist/112.28febaaf610eba64128b.bundle.js +1 -0
- package/dist/113.9ad88652dd2d85f3dd2e.bundle.js +1 -0
- package/dist/114.f68e86a5c96abb1ee21c.bundle.js +1 -0
- package/dist/115.a627783d082869bde43e.bundle.js +1 -0
- package/dist/116.37799a5fbee1455a6a54.bundle.js +1 -0
- package/dist/117.aee330b983bf5c50f8c1.bundle.js +1 -0
- package/dist/118.97b6ec864fd41bc2aed8.bundle.js +1 -0
- package/dist/119.fb10ef86ec9300396424.bundle.js +1 -0
- package/dist/12.aea46cc96155a0219494.bundle.js +1 -0
- package/dist/120.c5617b13f324abddd2eb.bundle.js +1 -0
- package/dist/121.6064dd0a23e54b173692.bundle.js +1 -0
- package/dist/122.d09e905c00bfdc8e819c.bundle.js +1 -0
- package/dist/123.277f71995a92fc780150.bundle.js +1 -0
- package/dist/124.5546d1169cf1cd85a80a.bundle.js +1 -0
- package/dist/125.577c4efc0f0f4aaf6104.bundle.js +1 -0
- package/dist/126.40a15e56f739d5afeb9a.bundle.js +1 -0
- package/dist/127.883c16bae272fa231f2a.bundle.js +1 -0
- package/dist/128.a7f9973153bcb25c1f8f.bundle.js +1 -0
- package/dist/129.52e5b0f138bd41938143.bundle.js +1 -0
- package/dist/13.a4143780b628e2fa079e.bundle.js +1 -0
- package/dist/130.d6d5350813d4be3f4bb9.bundle.js +1 -0
- package/dist/131.18d1d6707a36a49acf81.bundle.js +1 -0
- package/dist/132.288cfa82dc82357a8f20.bundle.js +1 -0
- package/dist/133.6269f897deb2b5d1b734.bundle.js +1 -0
- package/dist/134.9d6ec1c346ccc0d29367.bundle.js +1 -0
- package/dist/135.1003cea170e7cc563d7e.bundle.js +1 -0
- package/dist/136.5903c06aaa6c3e2ffb94.bundle.js +1 -0
- package/dist/137.7aee8a081b5b3bb40453.bundle.js +1 -0
- package/dist/138.aa34288a887f892ec5b8.bundle.js +1 -0
- package/dist/139.f941d14574b513055316.bundle.js +1 -0
- package/dist/14.fcda4963e80d7ed89952.bundle.js +73 -0
- package/dist/140.984ea48adce39951c9c6.bundle.js +1 -0
- package/dist/141.842ee11d12b8205bf779.bundle.js +1 -0
- package/dist/142.80cbe981daac3fadb374.bundle.js +1 -0
- package/dist/143.b9e266bdae34f5807898.bundle.js +1 -0
- package/dist/144.6ac9bf46ac40bef252a6.bundle.js +1 -0
- package/dist/145.54e47d651b85080af814.bundle.js +1 -0
- package/dist/146.06eb1f7fad6a997ce599.bundle.js +1 -0
- package/dist/147.a79ce7406724d200aa40.bundle.js +1 -0
- package/dist/148.f858b14c733ac66234f2.bundle.js +1 -0
- package/dist/149.8ea2179cbd2b37bd7fc9.bundle.js +1 -0
- package/dist/15.8a1172142b37104705f4.bundle.js +1 -0
- package/dist/150.a89bf930768b00296cf2.bundle.js +1 -0
- package/dist/151.341d3c1e0a807ea028ff.bundle.js +1 -0
- package/dist/152.cb606b2e29d0ed211393.bundle.js +1 -0
- package/dist/153.05a8742cb29b3a462a16.bundle.js +1 -0
- package/dist/154.6e565221bccc175c1108.bundle.js +1 -0
- package/dist/155.72bb7cc06d05273c5c80.bundle.js +1 -0
- package/dist/156.cd11334661dc42349670.bundle.js +1 -0
- package/dist/157.40975d0dfdc019625f93.bundle.js +1 -0
- package/dist/158.db6a06ef20338c27bbe8.bundle.js +1 -0
- package/dist/159.db706dea000e1f0bb7b6.bundle.js +1 -0
- package/dist/16.63883919105a1da4d0f2.bundle.js +1 -0
- package/dist/160.3d8e18b58dc2fa30620c.bundle.js +1 -0
- package/dist/161.e7b42e2e61898d16340b.bundle.js +1 -0
- package/dist/162.177a114825eb9bb2f64c.bundle.js +1 -0
- package/dist/163.5632f146b007b7c5b651.bundle.js +1 -0
- package/dist/164.39225bdfaec366b1e002.bundle.js +1 -0
- package/dist/165.c998450dcdfb148f9437.bundle.js +1 -0
- package/dist/166.fdd8b408b4ffc6613106.bundle.js +1 -0
- package/dist/167.eafc82608c6dc1f2b1f4.bundle.js +1 -0
- package/dist/168.ae99c3d32903e94a4fdc.bundle.js +1 -0
- package/dist/169.b7caec5f442177ac9af4.bundle.js +1 -0
- package/dist/17.2a66a1b22ee5fd2e5188.bundle.js +2 -0
- package/dist/170.539e36297ae66e786055.bundle.js +1 -0
- package/dist/171.5042692bf21358d4cc13.bundle.js +1 -0
- package/dist/172.4a5a1655f275c1e76a8e.bundle.js +1 -0
- package/dist/173.8f37db05a2eccb1338e1.bundle.js +1 -0
- package/dist/174.3a835bc4586dd3be2127.bundle.js +1 -0
- package/dist/175.a295324d2a50b9f3788f.bundle.js +1 -0
- package/dist/176.4894021d44b59a93d0c5.bundle.js +1 -0
- package/dist/177.fc36db9ae6d2d507633e.bundle.js +1 -0
- package/dist/178.45843921d2eeb59d94ad.bundle.js +1 -0
- package/dist/179.dacbc3288deaea6b4b2d.bundle.js +1 -0
- package/dist/18.68db9e46f52c336f9882.bundle.js +1 -0
- package/dist/180.5c117f9cff77d6b25ea5.bundle.js +1 -0
- package/dist/181.4e8ff24fbb350c7b3b56.bundle.js +1 -0
- package/dist/182.78cd0ca67c114d4083b0.bundle.js +1 -0
- package/dist/183.a923584c5000b5a438e3.bundle.js +1 -0
- package/dist/184.9a0b9a3991efda186ea4.bundle.js +1 -0
- package/dist/185.7ab1c7b6eeeb6781cd99.bundle.js +1 -0
- package/dist/186.4a9ff497b3db9ea494e2.bundle.js +1 -0
- package/dist/187.ef6208e299a07f5f0334.bundle.js +1 -0
- package/dist/188.3029a2fc07ee161ffaeb.bundle.js +1 -0
- package/dist/189.012126382569e603f621.bundle.js +1 -0
- package/dist/19.ef19be06bbc801cb999f.bundle.js +1 -0
- package/dist/190.56e27ca9cbda2c67173e.bundle.js +1 -0
- package/dist/191.bcb776be3822dfe4cde1.bundle.js +1 -0
- package/dist/192.eefdfa8a64adc02ad0b4.bundle.js +1 -0
- package/dist/193.d4e1ad5cb8479a52d46b.bundle.js +1 -0
- package/dist/194.2a55ba6912d19408b435.bundle.js +1 -0
- package/dist/195.e941fc5e7f9378c8ab17.bundle.js +1 -0
- package/dist/196.71a74578eb6a02973e37.bundle.js +1 -0
- package/dist/197.3d35c2ec219cd3d7bfb8.bundle.js +1 -0
- package/dist/198.41a1c12d702b8eea05cb.bundle.js +1 -0
- package/dist/199.307a221895d1caf18a5c.bundle.js +1 -0
- package/dist/2.0a0dec9390b72e19b311.bundle.js +2 -0
- package/dist/20.1e1f5194b0bf7ee695ef.bundle.js +1 -0
- package/dist/200.bef000050c58e422e7c2.bundle.js +1 -0
- package/dist/201.973002fd688954a9c8d3.bundle.js +1 -0
- package/dist/202.eee2a68f67f81d75f2bb.bundle.js +1 -0
- package/dist/203.1cbd8dfff56ca2ec7ede.bundle.js +1 -0
- package/dist/204.7ebfdc337e93ae87170b.bundle.js +1 -0
- package/dist/205.e1eb8d6a79d414e06380.bundle.js +1 -0
- package/dist/206.a553de5fdb17b24c8dc2.bundle.js +1 -0
- package/dist/207.fb14c8bf4459323e849d.bundle.js +1 -0
- package/dist/208.19f9c901ae486326fc98.bundle.js +1 -0
- package/dist/209.d8063aa7350f75bac278.bundle.js +1 -0
- package/dist/21.de32d5c65457afa2851e.bundle.js +7 -0
- package/dist/210.5304eabe571eec1c2b81.bundle.js +1 -0
- package/dist/211.f9a5cdef1f2ddeb689b1.bundle.js +1 -0
- package/dist/212.ccea27a7be519d5f0757.bundle.js +1 -0
- package/dist/213.0eca28ecfc4802e125de.bundle.js +1 -0
- package/dist/214.e040526722e17347d84c.bundle.js +1 -0
- package/dist/215.b800566c0700c7b8c4cd.bundle.js +1 -0
- package/dist/216.b9fda0a7848f41ed40ab.bundle.js +1 -0
- package/dist/217.6d32c1bed20438834a78.bundle.js +1 -0
- package/dist/218.104544e4b49e62764ca5.bundle.js +1 -0
- package/dist/219.15c1b79bf625228f47cb.bundle.js +1 -0
- package/dist/22.13bcebaa12a3b6a7fc1f.bundle.js +3 -0
- package/dist/220.f4ba0c5153acc78befc4.bundle.js +1 -0
- package/dist/221.5639c32db29b47e60ceb.bundle.js +1 -0
- package/dist/222.431a31dfc100558127d2.bundle.js +1 -0
- package/dist/223.8fdcf71c23342ad508e3.bundle.js +1 -0
- package/dist/224.a07c2cd53365458b55a4.bundle.js +1 -0
- package/dist/225.c840f4a43ed6003b1c16.bundle.js +1 -0
- package/dist/226.24e3e9d84938a6a6eabf.bundle.js +1 -0
- package/dist/227.1a67bed102a40f2f9ec0.bundle.js +1 -0
- package/dist/228.22e230cd5fc561469a69.bundle.js +1 -0
- package/dist/229.d3761019da85e0658fff.bundle.js +1 -0
- package/dist/23.698dec59afa5f43dcfea.bundle.js +2 -0
- package/dist/230.e4296329f772553ad850.bundle.js +1 -0
- package/dist/231.225bd343729ebbe1e0d5.bundle.js +1 -0
- package/dist/232.78a074ea22fd72fb8ef8.bundle.js +1 -0
- package/dist/233.bc36adcaeb1cbf7be85f.bundle.js +1 -0
- package/dist/234.02a294874e6cd8a3c262.bundle.js +1 -0
- package/dist/235.af02bcdf218e584a9303.bundle.js +1 -0
- package/dist/236.4b4edf5ad5693dbd5abf.bundle.js +1 -0
- package/dist/237.cb3f9d5743c45490a7fa.bundle.js +1 -0
- package/dist/238.19c1a0889632baadd488.bundle.js +1 -0
- package/dist/239.bad995b4d6f03d272bdf.bundle.js +1 -0
- package/dist/24.6abe7678c6b87b169f18.bundle.js +2 -0
- package/dist/240.0dec87a0f31102e36391.bundle.js +1 -0
- package/dist/241.6e91c98c8555ff376e83.bundle.js +1 -0
- package/dist/242.047a0d8236c488473600.bundle.js +1 -0
- package/dist/243.96f2f187d39b4125760e.bundle.js +1 -0
- package/dist/244.6079a1e8227c55deca7b.bundle.js +1 -0
- package/dist/245.a83f7acd7d8871aada1f.bundle.js +1 -0
- package/dist/246.8f1b7dcf59027abbee88.bundle.js +1 -0
- package/dist/247.69933abdb3ac6473f39a.bundle.js +1 -0
- package/dist/248.d0a8b9678a6b7f6ca48e.bundle.js +1 -0
- package/dist/249.9a21eb19f42a0137d9ca.bundle.js +1 -0
- package/dist/25.80e686f280eafd8c7664.bundle.js +3 -0
- package/dist/250.afa8def1fef396da6206.bundle.js +1 -0
- package/dist/251.44f0ad72f2e2ae880b1f.bundle.js +1 -0
- package/dist/252.798aa3fa53ade809df13.bundle.js +1 -0
- package/dist/253.490a4f5bc8f155fa0fc2.bundle.js +1 -0
- package/dist/254.7a4d2839c0aae9ac6883.bundle.js +1 -0
- package/dist/255.706cb4baf3519dfba49c.bundle.js +1 -0
- package/dist/256.0a1b5a98ab0f964c8ef2.bundle.js +1 -0
- package/dist/257.d99c4d31a05376c3f843.bundle.js +1 -0
- package/dist/258.89724a72f0d594fd807f.bundle.js +1 -0
- package/dist/259.5be44d1f2b55d67f3607.bundle.js +1 -0
- package/dist/26.0ee8122dea38e7d63213.bundle.js +2 -0
- package/dist/260.783eff3ffb08e7fa4a8a.bundle.js +1 -0
- package/dist/261.0ce68d027610b2847725.bundle.js +1 -0
- package/dist/262.371d0ce39c547830ad1c.bundle.js +1 -0
- package/dist/263.c7acda74d3dbb1cd304b.bundle.js +1 -0
- package/dist/264.aedec62c0dc39d44b4ad.bundle.js +1 -0
- package/dist/265.c0ea38a64927308a1b7a.bundle.js +1 -0
- package/dist/266.052b282e1b16c6e72836.bundle.js +1 -0
- package/dist/267.d0d17712a0f80512c8a3.bundle.js +1 -0
- package/dist/268.aa19ee9c8013f92dcb37.bundle.js +1 -0
- package/dist/269.920b703620f5aee4db65.bundle.js +1 -0
- package/dist/27.8856a51632932276e7e5.bundle.js +1 -0
- package/dist/270.b78ec99c364f8f1a6b0d.bundle.js +1 -0
- package/dist/271.a3dbddf9fea6e4dfd1a8.bundle.js +1 -0
- package/dist/272.7cf9ca0b8223d413db9b.bundle.js +1 -0
- package/dist/273.9748c07378184f419d9f.bundle.js +1 -0
- package/dist/274.502fae4622f3761e659b.bundle.js +1 -0
- package/dist/275.0513f0175abb80c78611.bundle.js +1 -0
- package/dist/276.386a0e533ebd0cd3cdad.bundle.js +1 -0
- package/dist/277.ca2031feaeed71250acf.bundle.js +1 -0
- package/dist/278.4e762ecad5dfb540582c.bundle.js +1 -0
- package/dist/279.7d3222c1187c2a8af6c1.bundle.js +1 -0
- package/dist/28.6275b1d899c2bb12f8b3.bundle.js +1 -0
- package/dist/280.f7c9c937a5ad4df3c776.bundle.js +1 -0
- package/dist/281.6d164e70a537421f3583.bundle.js +1 -0
- package/dist/282.436cb89900efb14f0e27.bundle.js +1 -0
- package/dist/283.9103fa93e7c82c62ec66.bundle.js +1 -0
- package/dist/284.5019105aee7925d4b092.bundle.js +1 -0
- package/dist/285.fdc130b4c824ec5d1cbe.bundle.js +1 -0
- package/dist/286.5dc436a24b127c95da4a.bundle.js +1 -0
- package/dist/287.2b3402507a7d4a71726d.bundle.js +1 -0
- package/dist/288.27cfaf5bc952ebe4de86.bundle.js +1 -0
- package/dist/289.e86c412b657356e1b345.bundle.js +1 -0
- package/dist/29.95ab7220eb7def6e7416.bundle.js +1 -0
- package/dist/290.705bec39ac6fcd67ad8a.bundle.js +1 -0
- package/dist/291.311b21c6a3479a6da0c7.bundle.js +1 -0
- package/dist/292.c23eb4ce9a64e6043123.bundle.js +1 -0
- package/dist/293.99ab6c45e68e7ecad9e8.bundle.js +1 -0
- package/dist/294.8270fa1ffb8203ca1cc3.bundle.js +1 -0
- package/dist/295.7bad90be385fcda06014.bundle.js +1 -0
- package/dist/296.f92f730629029a0dc6f5.bundle.js +1 -0
- package/dist/297.58bfbc1ea7dff42e109d.bundle.js +1 -0
- package/dist/298.b86326f23cf40ce223ad.bundle.js +1 -0
- package/dist/299.4d8ae690d0fa6d898b37.bundle.js +1 -0
- package/dist/3.24d929991cd69f80ef8b.bundle.js +1 -0
- package/dist/30.1ec37731f3b0df265413.bundle.js +1 -0
- package/dist/300.471c4c0c346532201460.bundle.js +1 -0
- package/dist/301.cea05be97634a58db214.bundle.js +1 -0
- package/dist/302.ede2bb7d60ffdccb3abf.bundle.js +1 -0
- package/dist/303.01161175bae4fe4fb327.bundle.js +1 -0
- package/dist/304.f81c644b70d285cb155c.bundle.js +1 -0
- package/dist/305.37546faea1450e64fd64.bundle.js +1 -0
- package/dist/306.f340b1965ea84420e5ca.bundle.js +1 -0
- package/dist/307.99fa859b8ddf91742c05.bundle.js +1 -0
- package/dist/308.32808960941dcf27889e.bundle.js +1 -0
- package/dist/309.50dba7f6704e28502a25.bundle.js +1 -0
- package/dist/31.1dc7125bd98d362a1c3a.bundle.js +1 -0
- package/dist/310.9d9091c885408782ded3.bundle.js +1 -0
- package/dist/311.b1fa5974a44a860981bb.bundle.js +1 -0
- package/dist/312.a7d1eaf803d04f490dda.bundle.js +1 -0
- package/dist/313.9892d397a1ef74dc3246.bundle.js +1 -0
- package/dist/314.8fada0aa3e9615994573.bundle.js +1 -0
- package/dist/315.c59f4c4ee0f446eb3ad2.bundle.js +1 -0
- package/dist/316.988d54f02efb8211aed0.bundle.js +1 -0
- package/dist/317.e288b28fe2a995c47a1d.bundle.js +1 -0
- package/dist/318.01ae6d6ab01df5a8323e.bundle.js +1 -0
- package/dist/319.c1530887f9ceae9c73a1.bundle.js +1 -0
- package/dist/32.6006167b7a4dd794eedd.bundle.js +1 -0
- package/dist/320.9371c672401796d6edbc.bundle.js +1 -0
- package/dist/321.a4b79742c85844545a6d.bundle.js +1 -0
- package/dist/322.2909303415e952e92a19.bundle.js +1 -0
- package/dist/323.e16e96761d188a8833a3.bundle.js +1 -0
- package/dist/324.d4da0726bd089f2452b2.bundle.js +1 -0
- package/dist/33.ee00b23e5898b06e9d39.bundle.js +1 -0
- package/dist/330.3cda043d8a4f43d52219.bundle.js +1 -0
- package/dist/331.c2de2e82638496ea5d94.bundle.js +1 -0
- package/dist/332.eb7968637b591e432b40.bundle.js +1 -0
- package/dist/333.5080aa875f7a9c9dcc6a.bundle.js +1 -0
- package/dist/334.84d54c19de812615fd02.bundle.js +1 -0
- package/dist/335.5214afe77fa497f009d2.bundle.js +1 -0
- package/dist/336.6d785bb54171657c30ff.bundle.js +1 -0
- package/dist/337.758b1a71933d97eda859.bundle.js +1 -0
- package/dist/338.7bcd3c70a017970cc3e5.bundle.js +1 -0
- package/dist/339.40c538257c91895af690.bundle.js +1 -0
- package/dist/34.5fc9a74572694e984363.bundle.js +1 -0
- package/dist/340.5982841392c052586445.bundle.js +1 -0
- package/dist/341.6eb6b427ced82f22560b.bundle.js +1 -0
- package/dist/342.8ae2e43b4a5a15e9d447.bundle.js +1 -0
- package/dist/343.0a7a71474836fc8e64bb.bundle.js +1 -0
- package/dist/344.b79958d7e67bc51ac74a.bundle.js +1 -0
- package/dist/345.ad526192db3541576676.bundle.js +1 -0
- package/dist/346.e4e76912b08faedc1ad9.bundle.js +1 -0
- package/dist/347.118ca575ab87cb19ce76.bundle.js +1 -0
- package/dist/348.b66e869463d89757632c.bundle.js +1 -0
- package/dist/349.2b88eb8ae560d7ba5291.bundle.js +1 -0
- package/dist/35.1a48bf64f65cd345abc2.bundle.js +1 -0
- package/dist/350.c8218ae833103bf52abf.bundle.js +1 -0
- package/dist/351.8a5f28a009ef04d0167d.bundle.js +1 -0
- package/dist/352.739323a4a0d80fa64a83.bundle.js +1 -0
- package/dist/353.e9821df37c8a8f529f2b.bundle.js +1 -0
- package/dist/354.5b2d83dbc08d59ece66c.bundle.js +1 -0
- package/dist/355.698a8825eb6c8c14c900.bundle.js +1 -0
- package/dist/356.64b32e22c857ec1941a8.bundle.js +1 -0
- package/dist/357.633f1ec2bb4f7aaad08c.bundle.js +1 -0
- package/dist/358.712444d717ab6016e061.bundle.js +1 -0
- package/dist/359.f490d1cd5bd0129ff5b8.bundle.js +1 -0
- package/dist/36.aac2ef57fe3df2918f1b.bundle.js +1 -0
- package/dist/360.62558fe8ea27dda9b767.bundle.js +1 -0
- package/dist/361.6a61caaca065617b2b20.bundle.js +1 -0
- package/dist/362.ddbdb2c98ca0050223c1.bundle.js +1 -0
- package/dist/363.8162d94c452625b7dba2.bundle.js +1 -0
- package/dist/364.df576cf78783fbda560d.bundle.js +1 -0
- package/dist/365.c1b330bbee71b66c6e7d.bundle.js +1 -0
- package/dist/366.f274b147f1fd2385edc4.bundle.js +1 -0
- package/dist/367.ccc2198ed5d2d9b56917.bundle.js +1 -0
- package/dist/368.d1bda6a51fc34a479b56.bundle.js +1 -0
- package/dist/369.feb0175b8dfd9bd143c2.bundle.js +1 -0
- package/dist/37.0a225dfd2f11c5b53ed5.bundle.js +1 -0
- package/dist/370.07d42a26f84b75cacf05.bundle.js +1 -0
- package/dist/371.5fd92bdd8f8ffb242213.bundle.js +1 -0
- package/dist/372.4a22dee44a456abedd3d.bundle.js +1 -0
- package/dist/373.ce1c01e608feb5cd354f.bundle.js +1 -0
- package/dist/374.3ae6c657ff865c4644c7.bundle.js +1 -0
- package/dist/375.a5c32971453bb62103f5.bundle.js +1 -0
- package/dist/376.1721960c5ff0e6307090.bundle.js +1 -0
- package/dist/377.17de81e958f2f38140c9.bundle.js +1 -0
- package/dist/378.e81f14ca32cdeb91b857.bundle.js +1 -0
- package/dist/379.371dd8bf3cb796582e68.bundle.js +1 -0
- package/dist/38.e4bbd711edc6129814be.bundle.js +1 -0
- package/dist/380.cbfd2023e142f3a48c34.bundle.js +1 -0
- package/dist/381.31836243f690cac41488.bundle.js +1 -0
- package/dist/382.b191c3409d24e5b84db3.bundle.js +1 -0
- package/dist/383.7d3c8474dcabceb72ad2.bundle.js +1 -0
- package/dist/384.d092675a415f87c59ebb.bundle.js +1 -0
- package/dist/385.1b48f8fd2a6c13372310.bundle.js +1 -0
- package/dist/386.f7eba8712e0146432fae.bundle.js +1 -0
- package/dist/387.f20ac43e9573d1bf2cc0.bundle.js +1 -0
- package/dist/388.dbe8b4a8d674906030c2.bundle.js +1 -0
- package/dist/389.d757e5bcb889385da864.bundle.js +1 -0
- package/dist/39.7b2fb34ede6e3eb03543.bundle.js +1 -0
- package/dist/390.fb3d315def37abb72c83.bundle.js +1 -0
- package/dist/391.e91eb0dad6c7507f1d9e.bundle.js +1 -0
- package/dist/392.08902ee038af0130a1bb.bundle.js +1 -0
- package/dist/393.ab19e87c78f15a1efa4a.bundle.js +1 -0
- package/dist/394.bd6cf8a58a6125028809.bundle.js +1 -0
- package/dist/395.679acc45f1c3ec6e8e86.bundle.js +1 -0
- package/dist/396.64e6e967b19be45aaf42.bundle.js +1 -0
- package/dist/397.fb643ad79378b15ce832.bundle.js +1 -0
- package/dist/398.86b51249d3390a580fc0.bundle.js +1 -0
- package/dist/399.313a67359a2156ac8034.bundle.js +1 -0
- package/dist/4.7869e46dd1e461d2a308.bundle.js +1 -0
- package/dist/40.12ff537a70c56a4d7db6.bundle.js +1 -0
- package/dist/400.10fd33b06610a0992944.bundle.js +1 -0
- package/dist/401.46048116cf65befbce56.bundle.js +1 -0
- package/dist/402.5fd9fff1cbe21d970ebe.bundle.js +1 -0
- package/dist/403.3841f7aaaae7caf2255f.bundle.js +1 -0
- package/dist/404.4dc9ee7188b9d2893515.bundle.js +1 -0
- package/dist/405.676926ad412a22f2fbeb.bundle.js +1 -0
- package/dist/406.fac49242989bf5bd6c3c.bundle.js +1 -0
- package/dist/407.c6e72e1d06d9a88ff0ef.bundle.js +1 -0
- package/dist/408.e4b580b91a4d2e7bae39.bundle.js +1 -0
- package/dist/409.ef1fe0a86ae00924b36f.bundle.js +1 -0
- package/dist/41.40c3d7b8512190b33ab8.bundle.js +1 -0
- package/dist/410.64c4c5bca0fd1177632a.bundle.js +1 -0
- package/dist/411.f14f388ae0c6938b2d78.bundle.js +1 -0
- package/dist/42.be35a3551bb3d2f3ea0d.bundle.js +1 -0
- package/dist/43.7f0c15d16cdac0a2da0e.bundle.js +1 -0
- package/dist/44.252d834ea9ffc35b6598.bundle.js +1 -0
- package/dist/45.c51d3862fd2d47236bc5.bundle.js +1 -0
- package/dist/46.9d389b688ec36cd263bf.bundle.js +1 -0
- package/dist/47.19dbb262272e0b7157ef.bundle.js +1 -0
- package/dist/48.eb684d0a5125b4b18d93.bundle.js +1 -0
- package/dist/49.73257e723398975ed270.bundle.js +1 -0
- package/dist/5.9a97267eba2b4178729d.bundle.js +1 -0
- package/dist/50.f5224b94dfc174541293.bundle.js +1 -0
- package/dist/51.2fc2a5a0b09cbb966ac5.bundle.js +1 -0
- package/dist/52.8a2a53097a771b3e9669.bundle.js +1 -0
- package/dist/53.627531dc1740b8db4a76.bundle.js +1 -0
- package/dist/54.dd9da0061488636aab94.bundle.js +2 -0
- package/dist/55.e3907bcbd21994967f06.bundle.js +1 -0
- package/dist/56.9ae2a535fe8e01907992.bundle.js +1 -0
- package/dist/57.0959ae1c799c1763d134.bundle.js +1 -0
- package/dist/58.3796144f75d9bdebed5a.bundle.js +1 -0
- package/dist/59.4be5c7e1550359c21a9f.bundle.js +1 -0
- package/dist/6.7cc41abda36b65ad5840.bundle.js +1 -0
- package/dist/60.b1461706f705563364df.bundle.js +1 -0
- package/dist/61.e42f998a53a0b7fee628.bundle.js +1 -0
- package/dist/62.f4381093d6b3e08c9f09.bundle.js +1 -0
- package/dist/63.7aae8d391a169e4e0222.bundle.js +1 -0
- package/dist/64.4ce03b3d619cbd788a73.bundle.js +1 -0
- package/dist/65.5d65a68f261af60ac82d.bundle.js +2 -0
- package/dist/66.6b2f8fb2e77bd6368832.bundle.js +1 -0
- package/dist/67.d58cfe3f39280b74aabe.bundle.js +1 -0
- package/dist/68.5c5c07ecddafaa87139a.bundle.js +1 -0
- package/dist/69.c4a95cb341a5ddff6f63.bundle.js +1 -0
- package/dist/7.4eee720422b3fc5afff8.bundle.js +1 -0
- package/dist/70.8796413c83479a2d289a.bundle.js +1 -0
- package/dist/71.300bfdede485053ff6ad.bundle.js +1 -0
- package/dist/72.a3507db36af0a119f134.bundle.js +1 -0
- package/dist/73.549bd6b48569d03fff6f.bundle.js +1 -0
- package/dist/74.2bb76c2b1fec4bf3904d.bundle.js +1 -0
- package/dist/75.4179bf924060f596b5c3.bundle.js +1 -0
- package/dist/76.1dc77d16d009a3a60dc6.bundle.js +1 -0
- package/dist/77.1fef81e5ff349d22a31e.bundle.js +1 -0
- package/dist/78.66a9b8f60dcb519e6e18.bundle.js +1 -0
- package/dist/79.a53b02dd026c5444d356.bundle.js +1 -0
- package/dist/8.c5cc2eb4e83affbbe4e0.bundle.js +1 -0
- package/dist/80.c3e98de533be05d33c4e.bundle.js +2 -0
- package/dist/81.4ca4b112b1a9acda1067.bundle.js +1 -0
- package/dist/82.196dffd2af62f257a06e.bundle.js +1 -0
- package/dist/83.57f7c159d51528ed6e0f.bundle.js +1 -0
- package/dist/84.582c7b1e0e8d9560c896.bundle.js +1 -0
- package/dist/85.a5896df819bc62ed857b.bundle.js +1 -0
- package/dist/86.59cd3fc7143e513de9d8.bundle.js +1 -0
- package/dist/87.ba5b94f7848cbf41a1b0.bundle.js +1 -0
- package/dist/88.a9bf78d48bafff308c64.bundle.js +1 -0
- package/dist/89.39f3e479004eac9fe1f7.bundle.js +1 -0
- package/dist/9.0aeb629f3625bc6f0777.bundle.js +1 -0
- package/dist/90.47d51a7e5dda73f6112f.bundle.js +1 -0
- package/dist/91.8e7ab09b3702954f26de.bundle.js +1 -0
- package/dist/92.6b310a47587f1c0e73cc.bundle.js +1 -0
- package/dist/93.2f4ad7230e90ecddb840.bundle.js +1 -0
- package/dist/94.c9dff0ba2448d2a26193.bundle.js +1 -0
- package/dist/95.7bb038bae141529ed428.bundle.js +1 -0
- package/dist/96.67f668289fbf473429e8.bundle.js +1 -0
- package/dist/97.416025b95def8b73233e.bundle.js +1 -0
- package/dist/98.36c45849b797f091484c.bundle.js +1 -0
- package/dist/99.ef2db01f95590908fab6.bundle.js +1 -0
- package/dist/bundle.954eb29a80feba4e229b.bundle.js +95 -0
- package/dist/css/bootstrap-graphdb-theme.css +25 -9
- package/dist/css/common.css +1 -0
- package/dist/css/cookie-policy.css +3 -1
- package/dist/css/ttyg/agent-select-menu.css +36 -2
- package/dist/css/ttyg/chat-item-details.css +7 -23
- package/dist/css/ttyg/chat-panel.css +1 -0
- package/dist/css/ttyg/ttyg.css +1 -22
- package/dist/i18n/locale-en.json +20 -27
- package/dist/i18n/locale-fr.json +22 -29
- package/dist/index.html +5 -5
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +1 -1
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-nodes.html +3 -3
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html +1 -1
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +7 -7
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +10 -10
- package/dist/js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html +2 -2
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +4 -3
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +27 -29
- package/dist/js/angular/security/templates/user.html +3 -3
- package/dist/js/angular/templates/titlePopoverTemplate.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +7 -7
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +12 -8
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +6 -6
- package/dist/js/angular/ttyg/templates/chat-list.html +5 -5
- package/dist/js/angular/ttyg/templates/chat-panel.html +2 -2
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +11 -9
- package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -2
- package/dist/js/angular/ttyg/templates/ttyg.html +4 -4
- package/dist/license-checker.json +4 -17
- package/dist/main.0e3d6114868b1818d519.bundle.js +1 -0
- package/dist/main.f6983968e07a3fb0fdd4.css +1 -0
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +4 -4
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +3 -3
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +8 -8
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/licenseInfo.html +3 -5
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/ux-test2.html +31 -0
- package/dist/pages/webapi.html +2 -2
- package/dist/polyfills-dom.d30d58efeadc8ed60dd0.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.54210054e552a2a96fb6.css +26 -0
- package/dist/vendor.567467e33e9cfc654cb6.bundle.js +27 -0
- package/dist/vendors~polyfills-core-js.1aeb97dbe0d90dbb7983.bundle.js +1 -0
- package/package.json +2 -3
- package/dist/0.6fccb7d4f7a105e4ba57.bundle.js +0 -25
- package/dist/1.696c90502652cad45599.bundle.js +0 -1
- package/dist/10.147f53a5ea44870bf22f.bundle.js +0 -1
- package/dist/100.20c7f6682406039b3e33.bundle.js +0 -1
- package/dist/101.2b45a035211bed0f0f36.bundle.js +0 -1
- package/dist/102.dd9171ee224255c7343f.bundle.js +0 -1
- package/dist/103.2eb445db81053148af68.bundle.js +0 -1
- package/dist/104.5176258dc8be8207c8e3.bundle.js +0 -1
- package/dist/105.f1f5759395f8ba9fff6f.bundle.js +0 -1
- package/dist/106.f7388c791885eb1821b5.bundle.js +0 -1
- package/dist/107.107487e88882ca2fd401.bundle.js +0 -1
- package/dist/108.607c898602b8aef120f4.bundle.js +0 -1
- package/dist/109.71906e10f15ffe465015.bundle.js +0 -1
- package/dist/11.ab83107e00bb6db40b51.bundle.js +0 -1
- package/dist/110.b3097fe4d0c37c9f0026.bundle.js +0 -1
- package/dist/111.f8c51684ae0f7ad90178.bundle.js +0 -1
- package/dist/112.816f8b42e48be5994b8c.bundle.js +0 -1
- package/dist/113.88f9efd20e7e3055216a.bundle.js +0 -1
- package/dist/114.8689bcaf0568908b5c8b.bundle.js +0 -1
- package/dist/115.c9cb1da64c438a625923.bundle.js +0 -1
- package/dist/116.403d966851eb52deabe3.bundle.js +0 -1
- package/dist/117.08dc12ca3db77ed71621.bundle.js +0 -1
- package/dist/118.51cd4731d90a198df613.bundle.js +0 -1
- package/dist/119.df4176e883802f1d8836.bundle.js +0 -1
- package/dist/12.c25b1cd8a651d96849e5.bundle.js +0 -1
- package/dist/120.6c837a364aab22985ee2.bundle.js +0 -1
- package/dist/121.02a90a9c414c360d8d7f.bundle.js +0 -1
- package/dist/122.abb68e41f0e4dc48c50e.bundle.js +0 -1
- package/dist/123.359e0f5b35f48d79db07.bundle.js +0 -1
- package/dist/124.51e65b42a8955594b5e8.bundle.js +0 -1
- package/dist/125.b77dd96c5932a7f4efe7.bundle.js +0 -1
- package/dist/126.bba8cbc92bbc44ab7836.bundle.js +0 -1
- package/dist/127.b1624473dadf3dfb5aa8.bundle.js +0 -1
- package/dist/128.400111e39238b257835a.bundle.js +0 -1
- package/dist/129.f61594b669a00eeeab79.bundle.js +0 -1
- package/dist/13.87b1203affd4f642eede.bundle.js +0 -1
- package/dist/130.05ec93306b6919f67248.bundle.js +0 -1
- package/dist/131.3c9529c9b18b455057a1.bundle.js +0 -1
- package/dist/132.25672e01487b4c5b3d04.bundle.js +0 -1
- package/dist/133.022cefb99e160a24853f.bundle.js +0 -1
- package/dist/134.2f1098ed19b795ecf175.bundle.js +0 -1
- package/dist/135.857562a645f406e15c6d.bundle.js +0 -1
- package/dist/136.2a6988871361e139b122.bundle.js +0 -1
- package/dist/137.449da022b2b52ec280b5.bundle.js +0 -1
- package/dist/138.c278ed460f0663db75dc.bundle.js +0 -1
- package/dist/139.8d8d22045d6048650e6e.bundle.js +0 -1
- package/dist/14.cb915b67541966fad90b.bundle.js +0 -73
- package/dist/140.c158589aabe0bd04c5af.bundle.js +0 -1
- package/dist/141.f8433981395164aa69d0.bundle.js +0 -1
- package/dist/142.643c978261fc4ff6d3e9.bundle.js +0 -1
- package/dist/143.c07a675c98ec38985173.bundle.js +0 -1
- package/dist/144.2571ee66ed12db57bae8.bundle.js +0 -1
- package/dist/145.8181e66822d5659de3fb.bundle.js +0 -1
- package/dist/146.d317c444c8381b6e0e3c.bundle.js +0 -1
- package/dist/147.c26855af5a81a7c1cfe3.bundle.js +0 -1
- package/dist/148.69649a1b763040d6e134.bundle.js +0 -1
- package/dist/149.43b91b2dbdaef3d43016.bundle.js +0 -1
- package/dist/15.876e34f99e7fd14d2d9a.bundle.js +0 -1
- package/dist/150.321a0824490697369e5e.bundle.js +0 -1
- package/dist/151.f8e193cb753cc5af7e6b.bundle.js +0 -1
- package/dist/152.71ba488ddc01074e24ac.bundle.js +0 -1
- package/dist/153.6703f8326d49bc40a892.bundle.js +0 -1
- package/dist/154.4bec5410c6096553072e.bundle.js +0 -1
- package/dist/155.3530f56d1d34659875c0.bundle.js +0 -1
- package/dist/156.e1befa71b0adf3cfd004.bundle.js +0 -1
- package/dist/157.11756bbba046253ebee2.bundle.js +0 -1
- package/dist/158.28b5bd96484af5138cd1.bundle.js +0 -1
- package/dist/159.6a76419908ae6034c5d0.bundle.js +0 -1
- package/dist/16.de070cce604198c63fcc.bundle.js +0 -1
- package/dist/160.fe4d4a01b8787991442c.bundle.js +0 -1
- package/dist/161.d93b414694e1eae0a623.bundle.js +0 -1
- package/dist/162.6a10cab1819211d146be.bundle.js +0 -1
- package/dist/163.5885345dcc1948d4ef4f.bundle.js +0 -1
- package/dist/164.b268b259724c3e11a6b1.bundle.js +0 -1
- package/dist/165.31877975cc3251740b84.bundle.js +0 -1
- package/dist/166.876b761015f560e9927e.bundle.js +0 -1
- package/dist/167.3a60449fea6d67c1e620.bundle.js +0 -1
- package/dist/168.1e8e4a987176aeec6ee3.bundle.js +0 -1
- package/dist/169.39e2b7ec7a9578d81531.bundle.js +0 -1
- package/dist/17.7db01ced68d6898c84d8.bundle.js +0 -2
- package/dist/170.7d55a078d7202c44aa11.bundle.js +0 -1
- package/dist/171.33f4573df2a0ffc0da09.bundle.js +0 -1
- package/dist/172.14a0974626fe6e36a7ef.bundle.js +0 -1
- package/dist/173.70961a264129d6a9bf9c.bundle.js +0 -1
- package/dist/174.5e630d3ff6b7a2d48f4f.bundle.js +0 -1
- package/dist/175.a5e7464a34d110ef5918.bundle.js +0 -1
- package/dist/176.0caddc01a40d1f4d2f2c.bundle.js +0 -1
- package/dist/177.63fd7f2c38de14c890f9.bundle.js +0 -1
- package/dist/178.65ec65dc5248ae3fd1e3.bundle.js +0 -1
- package/dist/179.65fc02ac1fe9ef36df62.bundle.js +0 -1
- package/dist/18.c1d57158fa373c3bc343.bundle.js +0 -1
- package/dist/180.d7d942a545b24327e970.bundle.js +0 -1
- package/dist/181.4921c218d22ab09a32ae.bundle.js +0 -1
- package/dist/182.dfcc20ae89193db499d9.bundle.js +0 -1
- package/dist/183.d7fd69ef2a843e7a3ed6.bundle.js +0 -1
- package/dist/184.fcc220fd8878483ff26b.bundle.js +0 -1
- package/dist/185.e328f3ac3beb503433e5.bundle.js +0 -1
- package/dist/186.a5e68d985e6e81d8024b.bundle.js +0 -1
- package/dist/187.694385aeca824f03fd19.bundle.js +0 -1
- package/dist/188.27fb4950722b1dd469db.bundle.js +0 -1
- package/dist/189.452e70a058f0fd831549.bundle.js +0 -1
- package/dist/19.532d6d365c0d3ae3b838.bundle.js +0 -1
- package/dist/190.d5a8e69ff03e323b86ee.bundle.js +0 -1
- package/dist/191.e67b5c337fcf1544f4b6.bundle.js +0 -1
- package/dist/192.8fd1d0c10efa24a37855.bundle.js +0 -1
- package/dist/193.bf0655cd7bdcab60b5a7.bundle.js +0 -1
- package/dist/194.506457d31c38d8e13d84.bundle.js +0 -1
- package/dist/195.0dd35bf552c8d05d1612.bundle.js +0 -1
- package/dist/196.200f123d1bb8e74a360f.bundle.js +0 -1
- package/dist/197.0e943ac1059f880a6684.bundle.js +0 -1
- package/dist/198.ae0bf5421643962463f3.bundle.js +0 -1
- package/dist/199.b4f2414ff66b8d2272a3.bundle.js +0 -1
- package/dist/2.8582febe80404e9a2aaa.bundle.js +0 -2
- package/dist/20.a4675e9bb818bc7bcb8e.bundle.js +0 -1
- package/dist/200.2f6231b7d40fa2d8d11c.bundle.js +0 -1
- package/dist/201.229e208e5a15852d355e.bundle.js +0 -1
- package/dist/202.98de3bbab385dbc6ebf4.bundle.js +0 -1
- package/dist/203.8c73f066e9c0be4a3d8d.bundle.js +0 -1
- package/dist/204.1bb30e6aaa04e69ba7d4.bundle.js +0 -1
- package/dist/205.26b8d0e1f58c6d4db34a.bundle.js +0 -1
- package/dist/206.076af7cddca183df4dd6.bundle.js +0 -1
- package/dist/207.69f196e311e1bba7ae6e.bundle.js +0 -1
- package/dist/208.7ca3326c76cbe15c38fb.bundle.js +0 -1
- package/dist/209.bb3354a8793106464f03.bundle.js +0 -1
- package/dist/21.bbe21b3f3af654d8953d.bundle.js +0 -7
- package/dist/210.fbc625e821da76ef43c3.bundle.js +0 -1
- package/dist/211.50b24ac699d4485668a3.bundle.js +0 -1
- package/dist/212.2b3471abcead41f26d04.bundle.js +0 -1
- package/dist/213.bf848ad935a9ac72c602.bundle.js +0 -1
- package/dist/214.3257d8f4b6b1535e3d03.bundle.js +0 -1
- package/dist/215.da03d047ffd0119b66aa.bundle.js +0 -1
- package/dist/216.23066c5213b8ba14fc8b.bundle.js +0 -1
- package/dist/217.5fb01a16f92c3930d167.bundle.js +0 -1
- package/dist/218.d9bb5edcb56b308cbf2d.bundle.js +0 -1
- package/dist/219.a58d29697bbffb337c5f.bundle.js +0 -1
- package/dist/22.673ef35a23421e7dffcb.bundle.js +0 -3
- package/dist/220.6d0fb49c4a588ee66b2e.bundle.js +0 -1
- package/dist/221.5bf5e26a4fe1870f0c6f.bundle.js +0 -1
- package/dist/222.1ff4cff4b41c477b2f17.bundle.js +0 -1
- package/dist/223.6ad945aeeda0400464dc.bundle.js +0 -1
- package/dist/224.cf6d2e0f7b47a7517120.bundle.js +0 -1
- package/dist/225.aa99b64be9b934e9f5a4.bundle.js +0 -1
- package/dist/226.9360e0e8e5472b0dc6dc.bundle.js +0 -1
- package/dist/227.84e1388f9a1fbf9e05ba.bundle.js +0 -1
- package/dist/228.70e7de5ffd9e981c64e8.bundle.js +0 -1
- package/dist/229.d6c857dbad6a69d56840.bundle.js +0 -1
- package/dist/23.d09fb3b6db161d7b6ab9.bundle.js +0 -2
- package/dist/230.8c0a70b171945fd467de.bundle.js +0 -1
- package/dist/231.c2bcf9c4f251234aaabc.bundle.js +0 -1
- package/dist/232.ed27290543d6c0439080.bundle.js +0 -1
- package/dist/233.347032937e0ad24b3603.bundle.js +0 -1
- package/dist/234.6cbb9f0d93a917a53660.bundle.js +0 -1
- package/dist/235.e21ab62d2d4957458bae.bundle.js +0 -1
- package/dist/236.890a6af9634cbbaa67dc.bundle.js +0 -1
- package/dist/237.2eba9d34bf780be57354.bundle.js +0 -1
- package/dist/238.a53d175aab333fb2ac66.bundle.js +0 -1
- package/dist/239.667d1299bdbdcca9fec4.bundle.js +0 -1
- package/dist/24.2d6deb00fd0d093137a2.bundle.js +0 -2
- package/dist/240.6811e02cb40b1ec2fd30.bundle.js +0 -1
- package/dist/241.e6cc3c024d4515eb494f.bundle.js +0 -1
- package/dist/242.55783496bb74b18398a4.bundle.js +0 -1
- package/dist/243.ef8fed02d11764b49b8b.bundle.js +0 -1
- package/dist/244.7b3d2a9c11a2fdd1e9f1.bundle.js +0 -1
- package/dist/245.5c2eca009ee46219f11f.bundle.js +0 -1
- package/dist/246.dde7b2fec87cc11b7c0f.bundle.js +0 -1
- package/dist/247.86e4faacf2a49392844e.bundle.js +0 -1
- package/dist/248.398a39d069f847eed973.bundle.js +0 -1
- package/dist/249.a94f7b3b3390e11fad36.bundle.js +0 -1
- package/dist/25.3bd738f41172a60240be.bundle.js +0 -3
- package/dist/250.aef9880a18de28872579.bundle.js +0 -1
- package/dist/251.b6ce0d1bc855085a8ae1.bundle.js +0 -1
- package/dist/252.b369b6a3a4c6271660de.bundle.js +0 -1
- package/dist/253.cf69a80fe4f12d5a8c76.bundle.js +0 -1
- package/dist/254.db80b54511b929dbfaed.bundle.js +0 -1
- package/dist/255.0fdc9b0200cbd42dcfa0.bundle.js +0 -1
- package/dist/256.64ad96c3142d0c1a9ee3.bundle.js +0 -1
- package/dist/257.7779a024eb111ebc8b96.bundle.js +0 -1
- package/dist/258.1a9fae1257de85335a59.bundle.js +0 -1
- package/dist/259.6dd6674192d3f94269b4.bundle.js +0 -1
- package/dist/26.fd06047bfc37352ee2fd.bundle.js +0 -2
- package/dist/260.747d32f2a26346048ab6.bundle.js +0 -1
- package/dist/261.a3d9ffaabd4cbc04fdb2.bundle.js +0 -1
- package/dist/262.ac56cc2f2ffff6c1f8fa.bundle.js +0 -1
- package/dist/263.095c66612975f2b0376d.bundle.js +0 -1
- package/dist/264.afaa1b72929fa259d90e.bundle.js +0 -1
- package/dist/265.d128932eb1a7be270b66.bundle.js +0 -1
- package/dist/266.85a59f32b396251fa25a.bundle.js +0 -1
- package/dist/267.38b5840eef4dd8094705.bundle.js +0 -1
- package/dist/268.18b9bdd79cc5bd71970c.bundle.js +0 -1
- package/dist/269.70279dee2fda9f56fc3d.bundle.js +0 -1
- package/dist/27.0bef4e8a2036ac558363.bundle.js +0 -1
- package/dist/270.07409f3d222ebe3150fe.bundle.js +0 -1
- package/dist/271.a85777aa2bbb1da40e40.bundle.js +0 -1
- package/dist/272.cded4f133daefc7cb25c.bundle.js +0 -1
- package/dist/273.d345ea991d22c1adbe1e.bundle.js +0 -1
- package/dist/274.8aab0969efe260715d2a.bundle.js +0 -1
- package/dist/275.9390b9993b3fd336f70d.bundle.js +0 -1
- package/dist/276.4fb0d08d701aed04de59.bundle.js +0 -1
- package/dist/277.384ad6d401df5163ea02.bundle.js +0 -1
- package/dist/278.46fddb379d2113a26835.bundle.js +0 -1
- package/dist/279.e02861d8f2ef7b86a7dd.bundle.js +0 -1
- package/dist/28.d6c1a1ba87746831c687.bundle.js +0 -1
- package/dist/280.776127b3ea781e3433e5.bundle.js +0 -1
- package/dist/281.8ce61ae55bbc86da60dc.bundle.js +0 -1
- package/dist/282.2682e872b90be0e196e4.bundle.js +0 -1
- package/dist/283.bd6b1c9aaf1ea58cb89a.bundle.js +0 -1
- package/dist/284.1be566b40a0e79dbdc33.bundle.js +0 -1
- package/dist/285.6f7d22842609e3c64ca4.bundle.js +0 -1
- package/dist/286.27bd656e92bedc2a14b0.bundle.js +0 -1
- package/dist/287.06930d99f6786f4ad895.bundle.js +0 -1
- package/dist/288.622ffc5a7b68594d4ab1.bundle.js +0 -1
- package/dist/289.182a18e3e2ca4965deb6.bundle.js +0 -1
- package/dist/29.51e3a39f42f69fed2a6b.bundle.js +0 -1
- package/dist/290.f077f050efe8404c8d90.bundle.js +0 -1
- package/dist/291.a855523fe89d92b8e683.bundle.js +0 -1
- package/dist/292.ca71c628d6c02b41677d.bundle.js +0 -1
- package/dist/293.9c7d53c7b949ee315b0d.bundle.js +0 -1
- package/dist/294.e98df9781d773bdca800.bundle.js +0 -1
- package/dist/295.7252eeee12b96d3f2856.bundle.js +0 -1
- package/dist/296.9ec328906966feaceb70.bundle.js +0 -1
- package/dist/297.21ad8133e1c092299335.bundle.js +0 -1
- package/dist/298.b8b63b84e7f541adcf9a.bundle.js +0 -1
- package/dist/299.ee1ab83ba283674313e3.bundle.js +0 -1
- package/dist/3.6bd80cc286cfcf44dad6.bundle.js +0 -1
- package/dist/30.0a09aee7d0bd3364f98c.bundle.js +0 -1
- package/dist/300.e6a8cd429b2d84dc8a74.bundle.js +0 -1
- package/dist/301.cfe2d0a66a6eab576625.bundle.js +0 -1
- package/dist/302.9addbbdf6ba4d90c26a8.bundle.js +0 -1
- package/dist/303.608ba2f25b1c98c25112.bundle.js +0 -1
- package/dist/304.129b2a0b39f46a8ef319.bundle.js +0 -1
- package/dist/305.672849e9a2b16a307250.bundle.js +0 -1
- package/dist/306.6ae811df2bf4c8d8caf3.bundle.js +0 -1
- package/dist/307.7f73d30d6a89ed5cfc00.bundle.js +0 -1
- package/dist/308.b1f2498ea5b268f368a4.bundle.js +0 -1
- package/dist/309.66c544a6ae262331d497.bundle.js +0 -1
- package/dist/31.4025474d95a5437b9c8c.bundle.js +0 -1
- package/dist/310.f77d349564dc19e980e5.bundle.js +0 -1
- package/dist/311.ca0c67615377bf7ae1a0.bundle.js +0 -1
- package/dist/312.f82707696e903059544e.bundle.js +0 -1
- package/dist/313.b55b9a82595861ab1584.bundle.js +0 -1
- package/dist/314.a6cb37acad1b821d40f5.bundle.js +0 -1
- package/dist/315.ce9d149a621b4905ebf7.bundle.js +0 -1
- package/dist/316.45f86678a45c2ff5bec0.bundle.js +0 -1
- package/dist/317.38a5d19a5e2828e8ccc1.bundle.js +0 -1
- package/dist/318.dd62e8eddaa1a32003cc.bundle.js +0 -1
- package/dist/319.2a4ccca3a57a9e8f6be4.bundle.js +0 -1
- package/dist/32.12a7a9b625be47983994.bundle.js +0 -1
- package/dist/320.351bd26a9bf696b76ed2.bundle.js +0 -1
- package/dist/321.1fa7e8f232f5e6eba4ac.bundle.js +0 -1
- package/dist/322.32c5f354721666ada530.bundle.js +0 -1
- package/dist/323.07e2f0840fae80b40a13.bundle.js +0 -1
- package/dist/324.48baba475e2e0d93e8b5.bundle.js +0 -1
- package/dist/33.af2c6f75cf2552a3673a.bundle.js +0 -1
- package/dist/330.c44bdcf2dcde362e07b4.bundle.js +0 -1
- package/dist/331.729091ca0937ec5f5c7b.bundle.js +0 -1
- package/dist/332.f8db120ada0883fea78a.bundle.js +0 -1
- package/dist/333.d484a72faba45ed16271.bundle.js +0 -1
- package/dist/334.70117723f3f17c3855fe.bundle.js +0 -1
- package/dist/335.6085797f4a583d345a98.bundle.js +0 -1
- package/dist/336.198e6282c93b86080d99.bundle.js +0 -1
- package/dist/337.b4d76b700ebd1149efc9.bundle.js +0 -1
- package/dist/338.e411123cd51f14939b73.bundle.js +0 -1
- package/dist/339.cbd2f74d2f288b94dfe5.bundle.js +0 -1
- package/dist/34.106988365bcec51bdba0.bundle.js +0 -1
- package/dist/340.7aec004274c99d84ae51.bundle.js +0 -1
- package/dist/341.40c87b67067473b65948.bundle.js +0 -1
- package/dist/342.7882918281e4e8481054.bundle.js +0 -1
- package/dist/343.19e9d524c572a75c836f.bundle.js +0 -1
- package/dist/344.0739e226a071992713ca.bundle.js +0 -1
- package/dist/345.f1d19f2b4db4349680ea.bundle.js +0 -1
- package/dist/346.cf435a540da4792b1c4a.bundle.js +0 -1
- package/dist/347.9da36037aa6cf847fca9.bundle.js +0 -1
- package/dist/348.56b323a2aa4f5ec06833.bundle.js +0 -1
- package/dist/349.db8a03357633b2949048.bundle.js +0 -1
- package/dist/35.9d0310525864a934628a.bundle.js +0 -1
- package/dist/350.98af5dc7b011f3bb0cea.bundle.js +0 -1
- package/dist/351.4b24b91033c1f2ff99bc.bundle.js +0 -1
- package/dist/352.95aa115bee7aac6ad664.bundle.js +0 -1
- package/dist/353.23320eb168ae4ae33394.bundle.js +0 -1
- package/dist/354.979dc4d4d8495191a364.bundle.js +0 -1
- package/dist/355.a83179459c5a6d117b52.bundle.js +0 -1
- package/dist/356.886932191b09892354f8.bundle.js +0 -1
- package/dist/357.ca8a1ea312d0e486c02e.bundle.js +0 -1
- package/dist/358.5987f8f5a7755bc0b157.bundle.js +0 -1
- package/dist/359.8a3fdd528c67e87b16ea.bundle.js +0 -1
- package/dist/36.95d2c93937ff3305e6dc.bundle.js +0 -1
- package/dist/360.deef0a34f718a9c30310.bundle.js +0 -1
- package/dist/361.c81508306a03ae9999a9.bundle.js +0 -1
- package/dist/362.aa45f45ea6c49e581956.bundle.js +0 -1
- package/dist/363.0df738867d006d9ed43b.bundle.js +0 -1
- package/dist/364.9a8d77eeee69c61915d1.bundle.js +0 -1
- package/dist/365.c744d5e0363026ad1338.bundle.js +0 -1
- package/dist/366.4bad10d949be14a2c41f.bundle.js +0 -1
- package/dist/367.94ff423536de0de25524.bundle.js +0 -1
- package/dist/368.31e1759a70cac73b5bdc.bundle.js +0 -1
- package/dist/369.bef3d19902a7a7fa52f1.bundle.js +0 -1
- package/dist/37.c8167047f87648f6f4f8.bundle.js +0 -1
- package/dist/370.c3714ccfe9831be97376.bundle.js +0 -1
- package/dist/371.b7fe3575a8071ea0fc63.bundle.js +0 -1
- package/dist/372.add2d21075e2692ef2f0.bundle.js +0 -1
- package/dist/373.07c81b1b8991d7dee0a4.bundle.js +0 -1
- package/dist/374.09b11859dfc2c25a73df.bundle.js +0 -1
- package/dist/375.fb36fe5f55b92113f8f3.bundle.js +0 -1
- package/dist/376.49508c469a5b7ce3d77b.bundle.js +0 -1
- package/dist/377.6ae05055afabe2ce947f.bundle.js +0 -1
- package/dist/378.e2222138bb2a9689e105.bundle.js +0 -1
- package/dist/379.a746123021e4039477b1.bundle.js +0 -1
- package/dist/38.2803c76a236243ebecdf.bundle.js +0 -1
- package/dist/380.7cf3f02f67ee1c3f70ec.bundle.js +0 -1
- package/dist/381.852e81dce9bc809da0dc.bundle.js +0 -1
- package/dist/382.ad89e94aa54a896109fa.bundle.js +0 -1
- package/dist/383.aee997d6b214359782e1.bundle.js +0 -1
- package/dist/384.5538193bdeac0703bc47.bundle.js +0 -1
- package/dist/385.d9bf14638a419d6d50c4.bundle.js +0 -1
- package/dist/386.d5a6a8a15c2c83c9fa88.bundle.js +0 -1
- package/dist/387.5f557d08a1252656490b.bundle.js +0 -1
- package/dist/388.6307bcce8aec6af6c37d.bundle.js +0 -1
- package/dist/389.6f48d1fe9ccaa5ee6b1b.bundle.js +0 -1
- package/dist/39.1150b192cbb5deff1174.bundle.js +0 -1
- package/dist/390.c5eb7b31985b23645fe1.bundle.js +0 -1
- package/dist/391.1610c59676c72fe6a1ef.bundle.js +0 -1
- package/dist/392.fc5d667dc0afb4c99478.bundle.js +0 -1
- package/dist/393.40e9f039db22ae4bca69.bundle.js +0 -1
- package/dist/394.46b477aab7cf52b45658.bundle.js +0 -1
- package/dist/395.a428697ed4fef311c1ae.bundle.js +0 -1
- package/dist/396.c5a25717c4fc949419a7.bundle.js +0 -1
- package/dist/397.33463b93b02b13a80453.bundle.js +0 -1
- package/dist/398.b83b6410f7cceec4fc3f.bundle.js +0 -1
- package/dist/399.0916866cffd7814843af.bundle.js +0 -1
- package/dist/4.125ee31e4e7ad82b430d.bundle.js +0 -1
- package/dist/40.b00c7a6e879c74a81776.bundle.js +0 -1
- package/dist/400.1ce74b220dacdb1ab34c.bundle.js +0 -1
- package/dist/401.fa862d13b219b72325ea.bundle.js +0 -1
- package/dist/402.61aaab5f119f02d6a6c4.bundle.js +0 -1
- package/dist/403.203cccb77544e449317a.bundle.js +0 -1
- package/dist/404.b921697f6552cc581aac.bundle.js +0 -1
- package/dist/405.3e17362183cfe674af25.bundle.js +0 -1
- package/dist/406.2f1f3527fa27c052689b.bundle.js +0 -1
- package/dist/407.3c148e62b0c93838f1ab.bundle.js +0 -1
- package/dist/408.3adf8c654da246cfcfde.bundle.js +0 -1
- package/dist/409.eda37a177e948255f750.bundle.js +0 -1
- package/dist/41.edbd16a2fc60a997c1ee.bundle.js +0 -1
- package/dist/410.317004dd5a1ac99cada5.bundle.js +0 -1
- package/dist/411.2551a630498b20134ad0.bundle.js +0 -1
- package/dist/42.f76e5e500efcc079a9c7.bundle.js +0 -1
- package/dist/43.24c34016171665168fe9.bundle.js +0 -1
- package/dist/44.bd0f1d24bd242a7dd2ec.bundle.js +0 -1
- package/dist/45.a8f827d12b8575184ddd.bundle.js +0 -1
- package/dist/46.df13ca959b0509f6df95.bundle.js +0 -1
- package/dist/47.2e185076300f01b9854a.bundle.js +0 -1
- package/dist/48.49ca75d24206ea496ef5.bundle.js +0 -1
- package/dist/49.cb3092e45da0b746f614.bundle.js +0 -1
- package/dist/5.a9bd6bc0b71d9b0e2912.bundle.js +0 -1
- package/dist/50.e8f0f277f76e52566a89.bundle.js +0 -1
- package/dist/51.b5b607dc3231f411a577.bundle.js +0 -1
- package/dist/52.7af7f440f57c689b777f.bundle.js +0 -1
- package/dist/53.a429006d4cd89ca07d7f.bundle.js +0 -1
- package/dist/54.67fd45b757cfac4771c6.bundle.js +0 -2
- package/dist/55.2784168289f4ba6c01a8.bundle.js +0 -1
- package/dist/56.6156603e5ef7f91a0dc1.bundle.js +0 -1
- package/dist/57.4da80b5857640110e1d4.bundle.js +0 -1
- package/dist/58.a376b6636b2619ee8c18.bundle.js +0 -1
- package/dist/59.69785f5f7ae1e65841ff.bundle.js +0 -1
- package/dist/6.1143a99a77f0463b21b0.bundle.js +0 -1
- package/dist/60.d186c6c9995769e8ba91.bundle.js +0 -1
- package/dist/61.0c614c9547405a4f591e.bundle.js +0 -1
- package/dist/62.9571ed196c6dd1580b49.bundle.js +0 -1
- package/dist/63.a0263b4eb6f86b251960.bundle.js +0 -1
- package/dist/64.2f87215d70caab13c80d.bundle.js +0 -1
- package/dist/65.f41984fc2221c2b3eee7.bundle.js +0 -2
- package/dist/66.1351ec28033040f12fb8.bundle.js +0 -1
- package/dist/67.10a604d7e65b875f3295.bundle.js +0 -1
- package/dist/68.6a515f6e52682cfc35f9.bundle.js +0 -1
- package/dist/69.d3db235a7615963080ef.bundle.js +0 -1
- package/dist/7.026f990714e25f1aabf3.bundle.js +0 -1
- package/dist/70.4e944a1170802f15dc71.bundle.js +0 -1
- package/dist/71.d9ac89119995e284da45.bundle.js +0 -1
- package/dist/72.ea9fad86a1ec2c1a2989.bundle.js +0 -1
- package/dist/73.9e9d5150014db9ed9081.bundle.js +0 -1
- package/dist/74.6846854045cbfa11eaf8.bundle.js +0 -1
- package/dist/75.f6385ffbe1024b97d3ac.bundle.js +0 -1
- package/dist/76.a6ef7e10d47207b7fed1.bundle.js +0 -1
- package/dist/77.c518fffc84eb04d570a9.bundle.js +0 -1
- package/dist/78.a772e40828b0c5b0d3df.bundle.js +0 -1
- package/dist/79.0c5c94ac2cfa0820d003.bundle.js +0 -1
- package/dist/8.dbe0e96a82fd1d1727a6.bundle.js +0 -1
- package/dist/80.76cf515d22db8bfaabd1.bundle.js +0 -2
- package/dist/81.ab156f1d8c1d8a777439.bundle.js +0 -1
- package/dist/82.a3b10dc775618922f174.bundle.js +0 -1
- package/dist/83.5977399a6d40f1dfd902.bundle.js +0 -1
- package/dist/84.bd8f863759095882c493.bundle.js +0 -1
- package/dist/85.16da5c0ee758a56eea1f.bundle.js +0 -1
- package/dist/86.a3abf83199d4780c46e5.bundle.js +0 -1
- package/dist/87.2d6ff0cae47e1e9cf726.bundle.js +0 -1
- package/dist/88.d6c08054b0ef87bdbbdc.bundle.js +0 -1
- package/dist/89.b111fb5530afa7c8e45c.bundle.js +0 -1
- package/dist/9.41d42641d8dda77e4755.bundle.js +0 -1
- package/dist/90.a629079bc0e55698aa25.bundle.js +0 -1
- package/dist/91.c232f45eb6d09bc19b65.bundle.js +0 -1
- package/dist/92.1415558694eb59e71fb2.bundle.js +0 -1
- package/dist/93.74feaba49b8beaff917a.bundle.js +0 -1
- package/dist/94.73425dfd0d7d500c42d6.bundle.js +0 -1
- package/dist/95.0bc5ac45b6e79a406284.bundle.js +0 -1
- package/dist/96.2dc595b8228f896e877d.bundle.js +0 -1
- package/dist/97.3aa1138cec2312c47c78.bundle.js +0 -1
- package/dist/98.20aac276a515bae9da02.bundle.js +0 -1
- package/dist/99.17abe0b80fbb369a58e7.bundle.js +0 -1
- package/dist/bundle.e3f61721b37f1e215ee4.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/main.0f225d6478713d96193b.bundle.js +0 -1
- package/dist/main.21a95f6e91a8afd63566.css +0 -1
- package/dist/polyfills-dom.75a17e880e008a6b24a3.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.0588179b72e060ed4794.bundle.js +0 -27
- package/dist/vendor.0dbd09f6d69e78b19728.css +0 -25
- package/dist/vendors~polyfills-core-js.2975affb505f25b11ba2.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[127],{313: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([[128],{205: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([[129],{315: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([[13,72,89,188,190,191],{117: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(89),a=n(33);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)}},148: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"}},213:function(t,e,n){"use strict";n.r(e);var s=n(214),a=n(117),r=n(89);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"]},214:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(148),a=n(89);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}},89: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],{209: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([[131],{210:function(e,t,s){"use strict";s.r(t);s(211);var n=s(33);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([[132],{150: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([[133],{100: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([[134],{317: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([[135],{207: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([[136],{206:function(t,r,e){"use strict";e.r(r);e(44);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 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{118: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([[138],{126: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([[139],{218: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,73 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{527: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},529:function(e,t,n){"use strict";const o=n(539),r=n(527),i=n(588).IdentifierIssuer,a=n(530),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},530: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}}},539:function(e,t,n){"use strict";const o=n(527),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}},541:function(e,t,n){"use strict";const o=n(527),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)},546:function(e,t,n){"use strict";const o=n(529),r=n(530),{isArray:i,isObject:a,isString:s,isUndefined:l}=n(527),{isAbsolute:c,isRelative:d,prependBase:u}=n(541),{handleEvent:p}=n(556),{REGEX_BCP47:f,REGEX_KEYWORD:h,asArray:v,compareShortestLeast:g}=n(529),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}},556:function(e,t,n){"use strict";const o=n(530),{isArray:r}=n(527),{asArray:i}=n(529),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}},570:function(e,t,n){"use strict";
|
|
4
|
+
/*!
|
|
5
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
6
|
+
*/n(631);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}}},571:function(e,t,n){"use strict";const{isKeyword:o}=n(546),r=n(539),i=n(527),a=n(529),s=n(530),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}},588:function(e,t,n){e.exports=n(770)},589: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()]}}},590: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},591: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"}},629: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(588),r=n(775),i=n(529),a=n(777),s=i.IdentifierIssuer,l=n(530),c=n(636),d=n(781),{expand:u}=n(782),{flatten:p}=n(783),{fromRDF:f}=n(784),{toRDF:h}=n(785),{frameMergedOrDefault:v,cleanupNull:g}=n(787),{isArray:y,isObject:m,isString:x}=n(527),{isSubjectReference:b}=n(539),{expandIri:w,getInitialContext:j,process:I,processingMode:N}=n(546),{compact:S,compactIri:E}=n(788),{createNodeMap:O,createMergedNodeMap:k,mergeNodeMaps:D}=n(571),{logEventHandler:C,logWarningEventHandler:L,safeEventHandler:T,setDefaultEventHandler:R,setupEventHandler:A,strictEventHandler:_,unhandledEventHandler:M}=n(556),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(546).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(541),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(635),e.JsonLdProcessor=n(789)(e),r.setupGlobals(e),r.setupDocumentLoaders(e),e},P=function(){return J((function(){return P()}))};J(P),e.exports=P},630: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(589),r=n(570),i=n(632),a=n(590);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(771).setImmediate)},631: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(14),n(772))},632: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}}},633:function(e,t,n){"use strict";
|
|
53
|
+
/*!
|
|
54
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
55
|
+
*/const o=n(589),r=n(570),i=n(632),a=n(590);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)}}}},635: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]}}}},636:function(e,t,n){"use strict";const o=n(779),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))}}},770:function(e,t,n){"use strict";const o=n(630),r=n(773),i=n(633),a=n(774);let s;try{s=n(634)}catch(e){}function l(e){return Array.isArray(e)?e:t.NQuads.legacyDatasetToQuads(e)}t.NQuads=n(590),t.IdentifierIssuer=n(589),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)}},771: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(631),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(14))},772: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}},773:function(e,t,n){"use strict";
|
|
56
|
+
/*!
|
|
57
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
58
|
+
*/const o=n(570),r=n(630);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}}},774:function(e,t,n){"use strict";
|
|
59
|
+
/*!
|
|
60
|
+
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
61
|
+
*/const o=n(570),r=n(633);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}}},775:function(e,t,n){"use strict";const o=n(776),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})}},776:function(e,t,n){"use strict";const{parseLinkHeader:o,buildHeaders:r}=n(529),{LINK_HEADER_CONTEXT:i}=n(591),a=n(530),s=n(635),{prependBase:l}=n(541),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}))}},777:function(e,t,n){"use strict";const{isArray:o,isObject:r,isString:i}=n(527),{asArray:a}=n(529),{prependBase:s}=n(541),l=n(530),c=n(778);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}}}},778:function(e,t,n){"use strict";const o=n(636);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)}}},779: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(780)(o)}catch(e){}},780: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}}},781:function(e,t,n){"use strict";e.exports=n(588).NQuads},782:function(e,t,n){"use strict";const o=n(530),{isArray:r,isObject:i,isEmptyObject:a,isString:s,isUndefined:l}=n(527),{isList:c,isValue:d,isGraph:u,isSubject:p}=n(539),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(546),{isAbsolute:m}=n(541),{REGEX_BCP47:x,REGEX_KEYWORD:b,addValue:w,asArray:j,getValues:I,validateTypeValue:N}=n(529),{handleEvent:S}=n(556),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}},783:function(e,t,n){"use strict";const{isSubjectReference:o}=n(539),{createMergedNodeMap:r}=n(571),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}},784:function(e,t,n){"use strict";const o=n(530),r=n(539),i=n(527),{REGEX_BCP47:a,addValue:s}=n(529),{handleEvent:l}=n(556),{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(591),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}},785:function(e,t,n){"use strict";const{createNodeMap:o}=n(571),{isKeyword:r}=n(546),i=n(539),a=n(786),s=n(530),l=n(527),c=n(529),{handleEvent:d}=n(556),{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(591),{isAbsolute:w}=n(541),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}},786: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])},"")+"}"}},787:function(e,t,n){"use strict";const{isKeyword:o}=n(546),r=n(539),i=n(527),a=n(529),s=n(541),l=n(530),{createNodeMap:c,mergeNodeMapGraphs:d}=n(571),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}},788:function(e,t,n){"use strict";const o=n(530),{isArray:r,isObject:i,isString:a,isUndefined:s}=n(527),{isList:l,isValue:c,isGraph:d,isSimpleGraph:u,isSubjectReference:p}=n(539),{expandIri:f,getContextValue:h,isKeyword:v,process:g,processingMode:y}=n(546),{removeBase:m,prependBase:x}=n(541),{REGEX_KEYWORD:b,addValue:w,asArray:j,compareShortestLeast:I}=n(529),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}}},789: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],{128: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([[141],{127: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([[142],{220: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([[143],{110: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([[144],{217: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)}}}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{48:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{129:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownCodeCopyPlugin",(function(){return l}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,l=o[r],c=o[r].content.replaceAll('"',""").replaceAll("'","'"),s=e(...n);return"fence"===l.type&&s.trim()?`<div style="position: relative">\n ${s}\n <copy-to-clipboard\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${c}">\n </copy-to-clipboard>\n </div>`:s}}const l=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{130:function(e,n,r){"use strict";r.r(n),r.d(n,"markdownOpenInSparqlEditorPlugin",(function(){return s}));const t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(e,n){return n=_.merge({},t,n),(...r)=>{const[t,o]=r,s=t[o],l=t[o].content.replaceAll('"',""").replaceAll("'","'"),i=e(...r);return"fence"===s.type&&"sparql"===s.info&&i.trim()?`<div style="position: relative">\n ${i}\n <open-in-sparql-editor\n style="${n.buttonStyle}"\n class="${n.buttonClass}"\n execute-query="${n.executeQuery}"\n repository-id="${n.repositoryId}"\n query="${l}">\n </open-in-sparql-editor>\n </div>`:i}}const s=(e,n)=>{e.renderer.rules.code_block=o(e.renderer.rules.code_block,n),e.renderer.rules.fence=o(e.renderer.rules.fence,n)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{221:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{234:function(r,i,e){"use strict";e.r(i);e(38);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
|