graphdb-workbench 2.8.0-TR2 → 2.8.0-TR3
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/{1.a0b75d45735a22f37ddc.bundle.js → 1.2dda9a5cb7583ef78f5c.bundle.js} +1 -1
- package/dist/10.d5925e58aa46c190355c.bundle.js +1 -0
- package/dist/{101.033154cfbe16d0474fc2.bundle.js → 101.36c2d56e11e392b20f52.bundle.js} +1 -1
- package/dist/{10.898fa2a36737f95067a6.bundle.js → 11.7dd13f73090a380d7884.bundle.js} +1 -1
- package/dist/{111.4cf8ef55422eab73d874.bundle.js → 111.50a450e85aba9de91fdc.bundle.js} +1 -1
- package/dist/{112.401fb8c98ab73e208730.bundle.js → 112.b07ed5633bcc5388a2ba.bundle.js} +1 -1
- package/dist/113.6823f4e7dc7b7c6a02d3.bundle.js +1 -0
- package/dist/{119.e46cd3518e0dbf3169bb.bundle.js → 119.daaf67dc419095bd957c.bundle.js} +1 -1
- package/dist/{11.e430b38a9a250b880d28.bundle.js → 12.173d48c02678a24fe199.bundle.js} +1 -1
- package/dist/{121.a9992f7ff46cf77b304c.bundle.js → 121.db7131aafbfbe030ea35.bundle.js} +1 -1
- package/dist/{122.1c9c84436c94b46fe056.bundle.js → 122.84e526566281dfe79ede.bundle.js} +1 -1
- package/dist/{123.83252c0af670f08d60cd.bundle.js → 123.c71d121e1573d4e732c0.bundle.js} +1 -1
- package/dist/{124.cf9703439aa0c9313b50.bundle.js → 124.1d2113ee6e00c6a13c91.bundle.js} +1 -1
- package/dist/{126.8c636a630d2d121743c5.bundle.js → 126.647aad60fac180a58296.bundle.js} +1 -1
- package/dist/{127.332e86694914476a6176.bundle.js → 127.099000071b2c1e40bd35.bundle.js} +1 -1
- package/dist/128.4fea7408f39af1661363.bundle.js +1 -0
- package/dist/{129.047b0311e394c752a6a9.bundle.js → 129.2bb252b6083db5cbfccf.bundle.js} +1 -1
- package/dist/{12.afb551efb4792fb9eb1d.bundle.js → 13.06c49327a3b1a4c80ad6.bundle.js} +1 -1
- package/dist/{131.ef612c8696bb612a9331.bundle.js → 131.d620cb87c7bce0386b4f.bundle.js} +1 -1
- package/dist/{134.191e4cec3a9f7d292909.bundle.js → 134.4db49e7aeaad82c760a6.bundle.js} +1 -1
- package/dist/14.2595a3b694cb9dc1f604.bundle.js +2 -0
- package/dist/{14.86cc7f1cd846ca4c89f0.bundle.js → 15.2baef0055d58658c7ea8.bundle.js} +1 -1
- package/dist/{15.926edf6efc64325909c5.bundle.js → 16.cdbcf340f02b0c8977b8.bundle.js} +1 -1
- package/dist/{165.43dabca3ac2700b7a4c0.bundle.js → 165.eaf6deb8350b98160966.bundle.js} +1 -1
- package/dist/168.7fe1f6eb6698093fa80c.bundle.js +1 -1
- package/dist/{16.8bc6a8a10c03ec785174.bundle.js → 17.2310d8a43230a4a587cc.bundle.js} +1 -1
- package/dist/{178.b4a67f2d275aa4e7c7e6.bundle.js → 178.9b1842e598ad462cd17b.bundle.js} +1 -1
- package/dist/{179.90b68b334b6faf134682.bundle.js → 179.e5b4cccecf38f13f6a41.bundle.js} +1 -1
- package/dist/{17.0add578b712aeaedb5a0.bundle.js → 18.bbbc086a88d188729ac0.bundle.js} +1 -1
- package/dist/{187.34becb6d27cbfd4b074d.bundle.js → 187.5a7992e400ef07f94f16.bundle.js} +1 -1
- package/dist/{189.7b0a1c093716b939fd52.bundle.js → 189.ccc44faa2fc4cca06c72.bundle.js} +1 -1
- package/dist/{18.9b6042eb938bed7eb676.bundle.js → 19.f30c48aa8a599e62fc76.bundle.js} +1 -1
- package/dist/{190.ea276a38d182b5f1ee5d.bundle.js → 190.dff617079c829ec6d17d.bundle.js} +1 -1
- package/dist/{191.bd22587f391925a001a4.bundle.js → 191.ea991b8037f39257f684.bundle.js} +1 -1
- package/dist/{196.fbea7e355a6df1f8aee0.bundle.js → 196.0d98ec3b872108f046bc.bundle.js} +1 -1
- package/dist/{197.9750357510c52edc3a12.bundle.js → 197.e344caec4f0cb4d2012b.bundle.js} +1 -1
- package/dist/{198.d25dbf25a09e68bed5a8.bundle.js → 198.1bd94bb0be99782ea98c.bundle.js} +1 -1
- package/dist/{199.727623492df97b809e5f.bundle.js → 199.b43a12bd069705c3c29f.bundle.js} +1 -1
- package/dist/2.83ac91f6c9d0d7ab1819.bundle.js +2 -0
- package/dist/{19.f1b9c74ef0c256da2eca.bundle.js → 20.5be549e284f9d9ef9e79.bundle.js} +2 -2
- package/dist/200.4c9bc00fd17bb2192bd9.bundle.js +1 -0
- package/dist/{205.d7c86c03230059559e3b.bundle.js → 205.6c74e9480df3f72a358f.bundle.js} +1 -1
- package/dist/{207.af83fd1ffcdc9a322f6c.bundle.js → 207.9ead4a33702a134fca3b.bundle.js} +1 -1
- package/dist/{20.4c4d231852e056d4c705.bundle.js → 21.6bffc436fdd37503c522.bundle.js} +2 -2
- package/dist/{213.9cbbf239525e01e98b16.bundle.js → 213.4e5867645049ff1e5184.bundle.js} +1 -1
- package/dist/{214.ee6729fffbd79f1304e3.bundle.js → 214.3a9d944eb79dc5fb6dba.bundle.js} +1 -1
- package/dist/22.8dccb31dce30f0b00d7f.bundle.js +1 -0
- package/dist/{223.b7e2302ce49d6efe51f1.bundle.js → 223.e5f58b0691d3d21099dd.bundle.js} +1 -1
- package/dist/{229.cc86db36d4eed5ffc13d.bundle.js → 229.3dd9c23a3b95ffa6e948.bundle.js} +1 -1
- package/dist/23.d27e1bdf1f2e6bb62fa4.bundle.js +2 -0
- package/dist/{232.9da2520175cf682c5ba9.bundle.js → 232.566b87ef4976f79cea65.bundle.js} +1 -1
- package/dist/{238.e7da1693dc6480734527.bundle.js → 238.5e228bd5c12ece1093cc.bundle.js} +1 -1
- package/dist/{239.5a0e3e9d302c61c9dd2a.bundle.js → 239.8e061122b61743b3465f.bundle.js} +1 -1
- package/dist/{23.65519943d430769ff624.bundle.js → 24.92bf4e49692b9c75a55d.bundle.js} +1 -1
- package/dist/241.f9f39df3f0ec396ae5b5.bundle.js +1 -0
- package/dist/{242.4b96aef3e71a70c1c5dc.bundle.js → 242.c3f7c90837740f461b3b.bundle.js} +1 -1
- package/dist/{244.38f4a20f1b3a17482909.bundle.js → 244.3110bb5a8300d195e1f2.bundle.js} +1 -1
- package/dist/{246.69bb254202ff33946ba4.bundle.js → 246.2d6e5f29e5f75762eb07.bundle.js} +1 -1
- package/dist/248.037043809398c10fc5ef.bundle.js +1 -0
- package/dist/{24.ce44938fc8e7e0dd20a8.bundle.js → 25.76313d3de180de838f79.bundle.js} +1 -1
- package/dist/{250.1e06d075be2d6fab28da.bundle.js → 250.abf997bb3a868bcffa61.bundle.js} +1 -1
- package/dist/{25.dc83aef89e5a2d728c9a.bundle.js → 26.babc1c6662b9ba067177.bundle.js} +1 -1
- package/dist/{263.74a323fb27a3b00879e9.bundle.js → 263.2ff1f20fd7dc88370164.bundle.js} +1 -1
- package/dist/{267.c0c12cb49bc1e89c7b94.bundle.js → 267.5f65d2ac3a94255050c6.bundle.js} +1 -1
- package/dist/{26.810adeabe76dd0774dcd.bundle.js → 27.ed092438f83fe9075f02.bundle.js} +1 -1
- package/dist/{270.785670697c0455ac4b52.bundle.js → 270.df0269e47d234e3c7b53.bundle.js} +1 -1
- package/dist/{275.dcef80da1502f7da8c09.bundle.js → 275.963caf205807a9629ce2.bundle.js} +1 -1
- package/dist/{278.384136e3d0926f51464c.bundle.js → 278.aac622323c504e577b2a.bundle.js} +1 -1
- package/dist/{27.b41b821eff22e1910c8e.bundle.js → 28.48b50b803b4baaa34846.bundle.js} +1 -1
- package/dist/{282.bb843b144879c7953fae.bundle.js → 282.dd2315477a98a3ff5f83.bundle.js} +1 -1
- package/dist/{285.eb0437c8ef1eb29f15a2.bundle.js → 285.fe1f3516ae2d0723a085.bundle.js} +1 -1
- package/dist/{28.2a5850ca91ebaccf5ed6.bundle.js → 29.55c290bfb5c4616d2d81.bundle.js} +1 -1
- package/dist/294.b7b4f37beb07369dd85e.bundle.js +1 -0
- package/dist/{29.9f64f22c46c7b02a0ec8.bundle.js → 30.1b73d7094674c61834ba.bundle.js} +1 -1
- package/dist/{302.b20c8d1e643b2fdc4564.bundle.js → 302.89060f1450aaaa8329bf.bundle.js} +1 -1
- package/dist/{304.28ee878b3769022514fe.bundle.js → 304.65aa89b76b934124dbee.bundle.js} +1 -1
- package/dist/{30.75b398d38eabe765da4e.bundle.js → 31.85e82cea20093fb38001.bundle.js} +1 -1
- package/dist/{31.6e0bf46006dfb4b7338c.bundle.js → 32.febd6dc42d5e2a4244c8.bundle.js} +1 -1
- package/dist/326.8a369e8cb3db85e5fd21.bundle.js +1 -1
- package/dist/329.95f8d46ef472c45724ef.bundle.js +1 -1
- package/dist/{32.60795cfcb9c447399fc2.bundle.js → 33.94d61e47c49d1dc0d799.bundle.js} +1 -1
- package/dist/330.b557e07136977ad81a04.bundle.js +1 -1
- package/dist/331.70b775db910815aec7d5.bundle.js +1 -1
- package/dist/{33.d19f2c40b3b42b314591.bundle.js → 34.1fd643b9432470f8a604.bundle.js} +1 -1
- package/dist/{34.cd22a42400934b4cdf87.bundle.js → 35.af4ea855fb946c6455a8.bundle.js} +1 -1
- package/dist/{35.cfb69109b2c7ebc2d1ef.bundle.js → 36.0530100261e4e11638bf.bundle.js} +1 -1
- package/dist/361.48dd1b79917eaa9b7e6a.bundle.js +1 -1
- package/dist/{36.a7b1ed685913595d40e9.bundle.js → 37.8cd574980043ce8ce2c5.bundle.js} +1 -1
- package/dist/372.5e3859739cd36c6ffd8a.bundle.js +1 -1
- package/dist/373.6e2258b5ab6ced0f532d.bundle.js +1 -1
- package/dist/374.9e21d915726536564967.bundle.js +1 -1
- package/dist/375.fd66d9e99c21bb8621a7.bundle.js +1 -1
- package/dist/378.655ee2a6b9445fb98536.bundle.js +1 -0
- package/dist/{37.7a0d6e8f543f2ab93d6d.bundle.js → 38.50c1f0dadd0b2a1f2d5b.bundle.js} +1 -1
- package/dist/380.a1095e01a9df1355fd0a.bundle.js +1 -1
- package/dist/381.d57b46174191d9f426e9.bundle.js +1 -0
- package/dist/{38.f53ead5a867b583684cc.bundle.js → 39.17dd78ea525a513bc542.bundle.js} +1 -1
- package/dist/4.9a24659420974a60e2bd.bundle.js +1 -0
- package/dist/{39.b424e4c3cad0e7af5ac6.bundle.js → 40.135a8b3dbb9bfe3a30b4.bundle.js} +1 -1
- package/dist/{40.6479ea8c327190f89451.bundle.js → 41.b736d1963250d40b37f8.bundle.js} +1 -1
- package/dist/{42.c8adf98ad0104887b4ec.bundle.js → 42.edb1b0aa4f57312318a3.bundle.js} +1 -1
- package/dist/{43.f49aac05f6879c3dac89.bundle.js → 43.b67550476de4e84f6d54.bundle.js} +1 -1
- package/dist/{44.4322dcdd5bf0de55e04e.bundle.js → 44.0dcf36e865d7ccc58a98.bundle.js} +2 -2
- package/dist/45.27d67df97d00698f054a.bundle.js +1 -0
- package/dist/{47.0d580dbe9ed87bce496c.bundle.js → 47.d1aedf3c8b21df0c0db6.bundle.js} +1 -1
- package/dist/{48.fb09364abedeac430971.bundle.js → 48.d80d61369975c89e80db.bundle.js} +1 -1
- package/dist/{5.d34980533e122f4791f4.bundle.js → 5.016cab5488e6dabbbcb7.bundle.js} +1 -1
- package/dist/50.ec14ac614772913e0be0.bundle.js +1 -1
- package/dist/{51.8689b92a13bd2b2a3074.bundle.js → 51.ea2981187a41b2830b12.bundle.js} +1 -1
- package/dist/{53.3d653040b7defd01415f.bundle.js → 53.9230da51045afcd8b497.bundle.js} +1 -1
- package/dist/{57.0d4caf8a82a7ff1f1dca.bundle.js → 57.eeae8574f1671e69cc95.bundle.js} +1 -1
- package/dist/{58.c4cb8de207c705cee7a1.bundle.js → 58.bca4759e835334e5e710.bundle.js} +1 -1
- package/dist/{59.821da70e952924981e80.bundle.js → 59.aa594f0e5ea5ef6ab2a2.bundle.js} +1 -1
- package/dist/6.b9f1177353b195a6d88e.bundle.js +1 -0
- package/dist/{60.8deab4881eaf63bcd6a4.bundle.js → 60.039181bd14444d1ea257.bundle.js} +1 -1
- package/dist/61.7736faf8cd8733139f11.bundle.js +1 -1
- package/dist/{62.518759d544e052fd9256.bundle.js → 62.a1550d756c7796721dc1.bundle.js} +1 -1
- package/dist/{63.31bff84c37ea1de0acef.bundle.js → 63.57c05d1f522958467257.bundle.js} +1 -1
- package/dist/{64.3bac8674c52226912630.bundle.js → 64.3d6c08808a56fda8c18a.bundle.js} +1 -1
- package/dist/{65.a36fbde317ab57cce415.bundle.js → 65.530bfe6d5589879af56a.bundle.js} +1 -1
- package/dist/{66.8f8126d5175f62c3face.bundle.js → 66.592b440583a6e7c48336.bundle.js} +1 -1
- package/dist/{6.c639b6efdd4f0ac3d584.bundle.js → 7.542348a49b096f91f943.bundle.js} +1 -1
- package/dist/70.b7bc7b875addfff41525.bundle.js +1 -0
- package/dist/{74.e9db7f3271c826c88a78.bundle.js → 74.b027d1ed936bc8477060.bundle.js} +1 -1
- package/dist/{75.c25619a16d098a2721be.bundle.js → 75.46b361955c7b29de651b.bundle.js} +1 -1
- package/dist/{76.14ae4b937c879f457b25.bundle.js → 76.a33b72d5a897ff6f997e.bundle.js} +1 -1
- package/dist/{77.463f82a88b3c6e954c01.bundle.js → 77.66e2f439385f8b80c2d0.bundle.js} +1 -1
- package/dist/{78.1fa69d08bd50f06f636a.bundle.js → 78.1e4e853ae303c2980a07.bundle.js} +1 -1
- package/dist/{79.d5735446205c02c627cb.bundle.js → 79.91afac30b1857d2c92a7.bundle.js} +1 -1
- package/dist/8.f209baf701ce824606aa.bundle.js +1 -0
- package/dist/{80.9c57ff6117953efd9e90.bundle.js → 80.13225c4f7ca42fa0d371.bundle.js} +1 -1
- package/dist/81.cc5452e74f002eb3fc9d.bundle.js +1 -0
- package/dist/82.bb1512ea446fc990ee27.bundle.js +1 -0
- package/dist/{83.f9c096421bb5c0b29ba9.bundle.js → 83.ddb9d63112221a854b07.bundle.js} +1 -1
- package/dist/{84.514756b3a32bb6873cc1.bundle.js → 84.7979d2956e92650723eb.bundle.js} +1 -1
- package/dist/{85.70d008d869c71199d1e9.bundle.js → 85.f16029ac40b8d3d39fc0.bundle.js} +1 -1
- package/dist/{86.08b4429bf0ec0b5dcde0.bundle.js → 86.3e1118b3b3b2afa9bb66.bundle.js} +1 -1
- package/dist/{87.1b3837e239bd74b553ee.bundle.js → 87.678958410087d805075c.bundle.js} +1 -1
- package/dist/{89.6355fb17f7c9088bd61d.bundle.js → 89.6ac5c16928e147cba2dc.bundle.js} +1 -1
- package/dist/{8.b2bab85e9d32868938e8.bundle.js → 9.d94d4bf6e7269f1f1727.bundle.js} +1 -1
- package/dist/{90.c0be68f3cc4c02f18818.bundle.js → 90.1e1e6b754b039dd0b8de.bundle.js} +1 -1
- package/dist/{91.8a23e41280e7b69dba09.bundle.js → 91.e3a89118ae2dc2f1dc0f.bundle.js} +1 -1
- package/dist/{93.d7428790221f27764822.bundle.js → 93.a1f7a0484491627fbcc7.bundle.js} +1 -1
- package/dist/{94.f353e48cd582c9a3eeea.bundle.js → 94.3b61b1bbef667eb95aca.bundle.js} +1 -1
- package/dist/{95.2b1230102fa575c74b94.bundle.js → 95.4901c21c6119f2dcf99c.bundle.js} +1 -1
- package/dist/96.48ec2dc5cafc428581d6.bundle.js +1 -0
- package/dist/98.7bac7bac2ad7abf2e083.bundle.js +1 -0
- package/dist/{bundle.3cbc347e3527f274db18.bundle.js → bundle.08cbe1859ba528283283.bundle.js} +4 -4
- package/dist/i18n/locale-en.json +10 -2
- package/dist/i18n/locale-fr.json +10 -2
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker-static.json +7 -0
- package/dist/license-checker.json +2 -2
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +3 -3
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +1 -1
- package/dist/113.6d341bb94caa74a19866.bundle.js +0 -1
- package/dist/128.f414d604bcd013bf911d.bundle.js +0 -1
- package/dist/13.dd3daf303c726658ee20.bundle.js +0 -2
- package/dist/2.5ecba6f91ee9aba0f72b.bundle.js +0 -2
- package/dist/200.92f1a086ea5aef9edf3b.bundle.js +0 -1
- package/dist/21.54344d162b6a34c9b801.bundle.js +0 -1
- package/dist/22.d0b623eb0f96c9aa6b24.bundle.js +0 -2
- package/dist/241.0d40fca2dbe1e4286b0a.bundle.js +0 -1
- package/dist/248.1c51c8776dafd2938c2f.bundle.js +0 -1
- package/dist/294.2cce50bef12473652329.bundle.js +0 -1
- package/dist/378.3bd7c408c54fcd423c10.bundle.js +0 -1
- package/dist/381.104beacb095b894100a3.bundle.js +0 -1
- package/dist/4.a6011f0d50143709767a.bundle.js +0 -1
- package/dist/41.4d964baeed672c11337a.bundle.js +0 -1
- package/dist/45.c7588a46eb35e1030511.bundle.js +0 -1
- package/dist/7.83006fb76d213f065ce3.bundle.js +0 -1
- package/dist/70.70bb2af41d1cec8e2fa0.bundle.js +0 -1
- package/dist/81.6abcbb0a4f0c5371da19.bundle.js +0 -1
- package/dist/82.3a7ddfc6c1efaf493f3f.bundle.js +0 -1
- package/dist/9.c92dd64e96b478a92d2e.bundle.js +0 -1
- package/dist/96.701d4c87469fd1ae6073.bundle.js +0 -1
- package/dist/98.9ce0dc28adca0979eac7.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],Array(489).concat([function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t}},,,,function(t,r,n){var e=n(515),o=n(619),u=n(620),i=e?e.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):u(t)}},,,,,,,function(t,r,n){var e=n(560),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},,,function(t,r){var n=Array.isArray;t.exports=n},,function(t,r){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},,,,function(t,r){(function(r){t.exports=r}).call(this,{})},,function(t,r,n){var e=n(559),o=n(622);t.exports=function(t,r){var n=o(t,r);return e(n)?n:void 0}},function(t,r,n){var e=n(651),o=n(545),u=n(652),i=n(653),c=n(654),f=n(493),a=n(562),s=a(e),p=a(o),v=a(u),l=a(i),b=a(c),x=f;(e&&"[object DataView]"!=x(new e(new ArrayBuffer(1)))||o&&"[object Map]"!=x(new o)||u&&"[object Promise]"!=x(u.resolve())||i&&"[object Set]"!=x(new i)||c&&"[object WeakMap]"!=x(new c))&&(x=function(t){var r=f(t),n="[object Object]"==r?t.constructor:void 0,e=n?a(n):"";if(e)switch(e){case s:return"[object DataView]";case p:return"[object Map]";case v:return"[object Promise]";case l:return"[object Set]";case b:return"[object WeakMap]"}return r}),t.exports=x},,,function(t,r,n){var e=n(500).Symbol;t.exports=e},function(t,r,n){var e=n(566),o=n(568),u=n(519);t.exports=function(t){return u(t)?e(t):o(t)}},function(t,r){t.exports=function(t){return function(r){return t(r)}}},function(t,r,n){(function(t){var e=n(560),o=r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o&&e.process,c=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=c}).call(this,n(166)(t))},function(t,r,n){var e=n(531),o=n(547);t.exports=function(t){return null!=t&&o(t.length)&&!e(t)}},,function(t,r){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,r,n){var e=n(564),o=n(565);t.exports=function(t,r,n,u){var i=!n;n||(n={});for(var c=-1,f=r.length;++c<f;){var a=r[c],s=u?u(n[a],t[a],a,n,t):void 0;void 0===s&&(s=t[a]),i?o(n,a,s):e(n,a,s)}return n}},function(t,r,n){(function(t){var e=n(500),o=n(567),u=r&&!r.nodeType&&r,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u?e.Buffer:void 0,f=(c?c.isBuffer:void 0)||o;t.exports=f}).call(this,n(166)(t))},,,,function(t,r,n){var e=n(544),o=n(635),u=n(564),i=n(637),c=n(643),f=n(646),a=n(570),s=n(647),p=n(649),v=n(574),l=n(650),b=n(512),x=n(655),y=n(656),j=n(661),h=n(503),d=n(523),_=n(577),g=n(505),O=n(578),w=n(516),A=n(536),m={};m["[object Arguments]"]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object DataView]"]=m["[object Boolean]"]=m["[object Date]"]=m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Map]"]=m["[object Number]"]=m["[object Object]"]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object Symbol]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m["[object Error]"]=m["[object Function]"]=m["[object WeakMap]"]=!1,t.exports=function t(r,n,S,E,P,z){var M,k=1&n,F=2&n,I=4&n;if(S&&(M=P?S(r,E,P,z):S(r)),void 0!==M)return M;if(!g(r))return r;var B=h(r);if(B){if(M=x(r),!k)return a(r,M)}else{var D=b(r),N="[object Function]"==D||"[object GeneratorFunction]"==D;if(d(r))return f(r,k);if("[object Object]"==D||"[object Arguments]"==D||N&&!P){if(M=F||N?{}:j(r),!k)return F?p(r,c(M,r)):s(r,i(M,r))}else{if(!m[D])return P?r:{};M=y(r,D,k)}}z||(z=new e);var U=z.get(r);if(U)return U;z.set(r,M),O(r)?r.forEach((function(e){M.add(t(e,n,S,e,r,z))})):_(r)&&r.forEach((function(e,o){M.set(o,t(e,n,S,o,r,z))}));var T=B?void 0:(I?F?l:v:F?A:w)(r);return o(T||r,(function(e,o){T&&(e=r[o=e]),u(M,o,t(e,n,S,o,r,z))})),M}},function(t,r,n){var e=n(609),o=n(610),u=n(611),i=n(612),c=n(613);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(530);t.exports=function(t,r){for(var n=t.length;n--;)if(e(t[n][0],r))return n;return-1}},function(t,r){t.exports=function(t,r){return t===r||t!=t&&r!=r}},function(t,r,n){var e=n(493),o=n(505);t.exports=function(t){if(!o(t))return!1;var r=e(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},function(t,r,n){var e=n(511)(Object,"create");t.exports=e},function(t,r,n){var e=n(631);t.exports=function(t,r){var n=t.__data__;return e(r)?n["string"==typeof r?"string":"hash"]:n.map}},function(t,r,n){var e=n(641),o=n(517),u=n(518),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,r){var n=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||n)}},function(t,r,n){var e=n(566),o=n(644),u=n(519);t.exports=function(t){return u(t)?e(t,!0):o(t)}},function(t,r,n){var e=n(551);t.exports=function(t){return function(r,n){return"string"==typeof r&&"string"==typeof n||(r=e(r),n=e(n)),t(r,n)}}},function(t,r,n){var e=n(583);t.exports=function(t){var r=e(t),n=r%1;return r==r?n?r-n:r:0}},,,,,,function(t,r,n){var e=n(528),o=n(614),u=n(615),i=n(616),c=n(617),f=n(618);function a(t){var r=this.__data__=new e(t);this.size=r.size}a.prototype.clear=o,a.prototype.delete=u,a.prototype.get=i,a.prototype.has=c,a.prototype.set=f,t.exports=a},function(t,r,n){var e=n(511)(n(500),"Map");t.exports=e},function(t,r,n){var e=n(639),o=n(489),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,f=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=f},function(t,r){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,r,n){var e=n(648),o=n(571),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(t){return null==t?[]:(t=Object(t),e(i(t),(function(r){return u.call(t,r)})))}:o;t.exports=c},function(t,r,n){var e=n(569)(Object.getPrototypeOf,Object);t.exports=e},function(t,r,n){var e=n(576);t.exports=function(t){var r=new t.constructor(t.byteLength);return new e(r).set(new e(t)),r}},function(t,r,n){var e=n(672),o=n(505),u=n(552),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,a=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(u(t))return NaN;if(o(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=o(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var n=c.test(t);return n||f.test(t)?a(t.slice(2),n?2:8):i.test(t)?NaN:+t}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==e(t)}},function(t,r,n){var e=n(493),o=n(549),u=n(489),i=Function.prototype,c=Object.prototype,f=i.toString,a=c.hasOwnProperty,s=f.call(Object);t.exports=function(t){if(!u(t)||"[object Object]"!=e(t))return!1;var r=o(t);if(null===r)return!0;var n=a.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==s}},function(t,r,n){var e=n(684),o=n(489);t.exports=function t(r,n,u,i,c){return r===n||(null==r||null==n||!o(r)&&!o(n)?r!=r&&n!=n:e(r,n,u,i,t,c))}},,,,,function(t,r,n){var e=n(531),o=n(621),u=n(505),i=n(562),c=/^\[object .+?Constructor\]$/,f=Function.prototype,a=Object.prototype,s=f.toString,p=a.hasOwnProperty,v=RegExp("^"+s.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(e(t)?v:c).test(i(t))}},function(t,r,n){(function(r){var n="object"==typeof r&&r&&r.Object===Object&&r;t.exports=n}).call(this,n(12))},function(t,r,n){var e=n(500)["__core-js_shared__"];t.exports=e},function(t,r){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,r,n){var e=n(623),o=n(630),u=n(632),i=n(633),c=n(634);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(565),o=n(530),u=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){var i=t[r];u.call(t,r)&&o(i,n)&&(void 0!==n||r in t)||e(t,r,n)}},function(t,r,n){var e=n(636);t.exports=function(t,r,n){"__proto__"==r&&e?e(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}},function(t,r,n){var e=n(638),o=n(546),u=n(503),i=n(523),c=n(640),f=n(534),a=Object.prototype.hasOwnProperty;t.exports=function(t,r){var n=u(t),s=!n&&o(t),p=!n&&!s&&i(t),v=!n&&!s&&!p&&f(t),l=n||s||p||v,b=l?e(t.length,String):[],x=b.length;for(var y in t)!r&&!a.call(t,y)||l&&("length"==y||p&&("offset"==y||"parent"==y)||v&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,x))||b.push(y);return b}},function(t,r){t.exports=function(){return!1}},function(t,r,n){var e=n(535),o=n(642),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return o(t);var r=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&r.push(n);return r}},function(t,r){t.exports=function(t,r){return function(n){return t(r(n))}}},function(t,r){t.exports=function(t,r){var n=-1,e=t.length;for(r||(r=Array(e));++n<e;)r[n]=t[n];return r}},function(t,r){t.exports=function(){return[]}},function(t,r,n){var e=n(573),o=n(549),u=n(548),i=n(571),c=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)e(r,u(t)),t=o(t);return r}:i;t.exports=c},function(t,r){t.exports=function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}},function(t,r,n){var e=n(575),o=n(548),u=n(516);t.exports=function(t){return e(t,u,o)}},function(t,r,n){var e=n(573),o=n(503);t.exports=function(t,r,n){var u=r(t);return o(t)?u:e(u,n(t))}},function(t,r,n){var e=n(500).Uint8Array;t.exports=e},function(t,r,n){var e=n(663),o=n(517),u=n(518),i=u&&u.isMap,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(664),o=n(517),u=n(518),i=u&&u.isSet,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(685),o=n(688),u=n(689);t.exports=function(t,r,n,i,c,f){var a=1&n,s=t.length,p=r.length;if(s!=p&&!(a&&p>s))return!1;var v=f.get(t),l=f.get(r);if(v&&l)return v==r&&l==t;var b=-1,x=!0,y=2&n?new e:void 0;for(f.set(t,r),f.set(r,t);++b<s;){var j=t[b],h=r[b];if(i)var d=a?i(h,j,b,r,t,f):i(j,h,b,t,r,f);if(void 0!==d){if(d)continue;x=!1;break}if(y){if(!o(r,(function(t,r){if(!u(y,r)&&(j===t||c(j,t,n,i,f)))return y.push(r)}))){x=!1;break}}else if(j!==h&&!c(j,h,n,i,f)){x=!1;break}}return f.delete(t),f.delete(r),x}},function(t,r){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach((function(t,e){n[++r]=[e,t]})),n}},function(t,r){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach((function(t){n[++r]=t})),n}},function(t,r,n){var e=n(538);t.exports=function(t){return"number"==typeof t&&t==e(t)}},function(t,r,n){var e=n(551);t.exports=function(t){return t?(t=e(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,r,n){var e=n(544),o=n(554);t.exports=function(t,r,n,u){var i=n.length,c=i,f=!u;if(null==t)return!c;for(t=Object(t);i--;){var a=n[i];if(f&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<c;){var s=(a=n[i])[0],p=t[s],v=a[1];if(f&&a[2]){if(void 0===p&&!(s in t))return!1}else{var l=new e;if(u)var b=u(p,v,s,t,r,l);if(!(void 0===b?o(v,p,3,u,l):b))return!1}}return!0}},function(t,r,n){var e=n(696),o=n(516);t.exports=function(t){for(var r=o(t),n=r.length;n--;){var u=r[n],i=t[u];r[n]=[u,i,e(i)]}return r}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==e(t)}},function(t,r,n){var e=n(493),o=n(503),u=n(489);t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&"[object String]"==e(t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length,o=Array(e);++n<e;)o[n]=r(t[n],n,t);return o}},function(t,r){t.exports=function(t,r,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==r&&(t=t>=r?t:r)),t}},,,,,,,,,,,,,,,,,function(t,r,n){t.exports={castArray:n(607),clone:n(608),cloneDeep:n(665),cloneDeepWith:n(666),cloneWith:n(667),conformsTo:n(668),eq:n(530),gt:n(670),gte:n(674),isArguments:n(546),isArray:n(503),isArrayBuffer:n(675),isArrayLike:n(519),isArrayLikeObject:n(677),isBoolean:n(678),isBuffer:n(523),isDate:n(679),isElement:n(681),isEmpty:n(682),isEqual:n(683),isEqualWith:n(692),isError:n(693),isFinite:n(694),isFunction:n(531),isInteger:n(582),isLength:n(547),isMap:n(577),isMatch:n(695),isMatchWith:n(697),isNaN:n(698),isNative:n(699),isNil:n(701),isNull:n(702),isNumber:n(586),isObject:n(505),isObjectLike:n(489),isPlainObject:n(553),isRegExp:n(703),isSafeInteger:n(705),isSet:n(578),isString:n(587),isSymbol:n(552),isTypedArray:n(534),isUndefined:n(706),isWeakMap:n(707),isWeakSet:n(708),lt:n(709),lte:n(711),toArray:n(712),toFinite:n(583),toInteger:n(538),toLength:n(720),toNumber:n(551),toPlainObject:n(721),toSafeInteger:n(722),toString:n(723)}},function(t,r,n){var e=n(503);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return e(t)?t:[t]}},function(t,r,n){var e=n(527);t.exports=function(t){return e(t,4)}},function(t,r){t.exports=function(){this.__data__=[],this.size=0}},function(t,r,n){var e=n(529),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,n=e(r,t);return!(n<0)&&(n==r.length-1?r.pop():o.call(r,n,1),--this.size,!0)}},function(t,r,n){var e=n(529);t.exports=function(t){var r=this.__data__,n=e(r,t);return n<0?void 0:r[n][1]}},function(t,r,n){var e=n(529);t.exports=function(t){return e(this.__data__,t)>-1}},function(t,r,n){var e=n(529);t.exports=function(t,r){var n=this.__data__,o=e(n,t);return o<0?(++this.size,n.push([t,r])):n[o][1]=r,this}},function(t,r,n){var e=n(528);t.exports=function(){this.__data__=new e,this.size=0}},function(t,r){t.exports=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}},function(t,r){t.exports=function(t){return this.__data__.get(t)}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,n){var e=n(528),o=n(545),u=n(563);t.exports=function(t,r){var n=this.__data__;if(n instanceof e){var i=n.__data__;if(!o||i.length<199)return i.push([t,r]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,r),this.size=n.size,this}},function(t,r,n){var e=n(515),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,c=e?e.toStringTag:void 0;t.exports=function(t){var r=u.call(t,c),n=t[c];try{t[c]=void 0;var e=!0}catch(t){}var o=i.call(t);return e&&(r?t[c]=n:delete t[c]),o}},function(t,r){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,r,n){var e,o=n(561),u=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";t.exports=function(t){return!!u&&u in t}},function(t,r){t.exports=function(t,r){return null==t?void 0:t[r]}},function(t,r,n){var e=n(624),o=n(528),u=n(545);t.exports=function(){this.size=0,this.__data__={hash:new e,map:new(u||o),string:new e}}},function(t,r,n){var e=n(625),o=n(626),u=n(627),i=n(628),c=n(629);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(532);t.exports=function(){this.__data__=e?e(null):{},this.size=0}},function(t,r){t.exports=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}},function(t,r,n){var e=n(532),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;if(e){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(r,t)?r[t]:void 0}},function(t,r,n){var e=n(532),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;return e?void 0!==r[t]:o.call(r,t)}},function(t,r,n){var e=n(532);t.exports=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=e&&void 0===r?"__lodash_hash_undefined__":r,this}},function(t,r,n){var e=n(533);t.exports=function(t){var r=e(this,t).delete(t);return this.size-=r?1:0,r}},function(t,r){t.exports=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},function(t,r,n){var e=n(533);t.exports=function(t){return e(this,t).get(t)}},function(t,r,n){var e=n(533);t.exports=function(t){return e(this,t).has(t)}},function(t,r,n){var e=n(533);t.exports=function(t,r){var n=e(this,t),o=n.size;return n.set(t,r),this.size+=n.size==o?0:1,this}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n,t););return t}},function(t,r,n){var e=n(511),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,r,n){var e=n(522),o=n(516);t.exports=function(t,r){return t&&e(r,o(r),t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object Arguments]"==e(t)}},function(t,r){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&n.test(t))&&t>-1&&t%1==0&&t<r}},function(t,r,n){var e=n(493),o=n(547),u=n(489),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[e(t)]}},function(t,r,n){var e=n(569)(Object.keys,Object);t.exports=e},function(t,r,n){var e=n(522),o=n(536);t.exports=function(t,r){return t&&e(r,o(r),t)}},function(t,r,n){var e=n(505),o=n(535),u=n(645),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return u(t);var r=o(t),n=[];for(var c in t)("constructor"!=c||!r&&i.call(t,c))&&n.push(c);return n}},function(t,r){t.exports=function(t){var r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}},function(t,r,n){(function(t){var e=n(500),o=r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o?e.Buffer:void 0,c=i?i.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var n=t.length,e=c?c(n):new t.constructor(n);return t.copy(e),e}}).call(this,n(166)(t))},function(t,r,n){var e=n(522),o=n(548);t.exports=function(t,r){return e(t,o(t),r)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length,o=0,u=[];++n<e;){var i=t[n];r(i,n,t)&&(u[o++]=i)}return u}},function(t,r,n){var e=n(522),o=n(572);t.exports=function(t,r){return e(t,o(t),r)}},function(t,r,n){var e=n(575),o=n(572),u=n(536);t.exports=function(t){return e(t,u,o)}},function(t,r,n){var e=n(511)(n(500),"DataView");t.exports=e},function(t,r,n){var e=n(511)(n(500),"Promise");t.exports=e},function(t,r,n){var e=n(511)(n(500),"Set");t.exports=e},function(t,r,n){var e=n(511)(n(500),"WeakMap");t.exports=e},function(t,r){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,e=new t.constructor(r);return r&&"string"==typeof t[0]&&n.call(t,"index")&&(e.index=t.index,e.input=t.input),e}},function(t,r,n){var e=n(550),o=n(657),u=n(658),i=n(659),c=n(660);t.exports=function(t,r,n){var f=t.constructor;switch(r){case"[object ArrayBuffer]":return e(t);case"[object Boolean]":case"[object Date]":return new f(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,n);case"[object Map]":return new f;case"[object Number]":case"[object String]":return new f(t);case"[object RegExp]":return u(t);case"[object Set]":return new f;case"[object Symbol]":return i(t)}}},function(t,r,n){var e=n(550);t.exports=function(t,r){var n=r?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},function(t,r){var n=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,n.exec(t));return r.lastIndex=t.lastIndex,r}},function(t,r,n){var e=n(515),o=e?e.prototype:void 0,u=o?o.valueOf:void 0;t.exports=function(t){return u?Object(u.call(t)):{}}},function(t,r,n){var e=n(550);t.exports=function(t,r){var n=r?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,r,n){var e=n(662),o=n(549),u=n(535);t.exports=function(t){return"function"!=typeof t.constructor||u(t)?{}:e(o(t))}},function(t,r,n){var e=n(505),o=Object.create,u=function(){function t(){}return function(r){if(!e(r))return{};if(o)return o(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}();t.exports=u},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object Map]"==e(t)}},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object Set]"==e(t)}},function(t,r,n){var e=n(527);t.exports=function(t){return e(t,5)}},function(t,r,n){var e=n(527);t.exports=function(t,r){return e(t,5,r="function"==typeof r?r:void 0)}},function(t,r,n){var e=n(527);t.exports=function(t,r){return e(t,4,r="function"==typeof r?r:void 0)}},function(t,r,n){var e=n(669),o=n(516);t.exports=function(t,r){return null==r||e(t,r,o(r))}},function(t,r){t.exports=function(t,r,n){var e=n.length;if(null==t)return!e;for(t=Object(t);e--;){var o=n[e],u=r[o],i=t[o];if(void 0===i&&!(o in t)||!u(i))return!1}return!0}},function(t,r,n){var e=n(671),o=n(537)(e);t.exports=o},function(t,r){t.exports=function(t,r){return t>r}},function(t,r,n){var e=n(673),o=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(o,""):t}},function(t,r){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},function(t,r,n){var e=n(537)((function(t,r){return t>=r}));t.exports=e},function(t,r,n){var e=n(676),o=n(517),u=n(518),i=u&&u.isArrayBuffer,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object ArrayBuffer]"==e(t)}},function(t,r,n){var e=n(519),o=n(489);t.exports=function(t){return o(t)&&e(t)}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==e(t)}},function(t,r,n){var e=n(680),o=n(517),u=n(518),i=u&&u.isDate,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object Date]"==e(t)}},function(t,r,n){var e=n(489),o=n(553);t.exports=function(t){return e(t)&&1===t.nodeType&&!o(t)}},function(t,r,n){var e=n(568),o=n(512),u=n(546),i=n(503),c=n(519),f=n(523),a=n(535),s=n(534),p=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(c(t)&&(i(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||s(t)||u(t)))return!t.length;var r=o(t);if("[object Map]"==r||"[object Set]"==r)return!t.size;if(a(t))return!e(t).length;for(var n in t)if(p.call(t,n))return!1;return!0}},function(t,r,n){var e=n(554);t.exports=function(t,r){return e(t,r)}},function(t,r,n){var e=n(544),o=n(579),u=n(690),i=n(691),c=n(512),f=n(503),a=n(523),s=n(534),p="[object Object]",v=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,l,b,x){var y=f(t),j=f(r),h=y?"[object Array]":c(t),d=j?"[object Array]":c(r),_=(h="[object Arguments]"==h?p:h)==p,g=(d="[object Arguments]"==d?p:d)==p,O=h==d;if(O&&a(t)){if(!a(r))return!1;y=!0,_=!1}if(O&&!_)return x||(x=new e),y||s(t)?o(t,r,n,l,b,x):u(t,r,h,n,l,b,x);if(!(1&n)){var w=_&&v.call(t,"__wrapped__"),A=g&&v.call(r,"__wrapped__");if(w||A){var m=w?t.value():t,S=A?r.value():r;return x||(x=new e),b(m,S,n,l,x)}}return!!O&&(x||(x=new e),i(t,r,n,l,b,x))}},function(t,r,n){var e=n(563),o=n(686),u=n(687);function i(t){var r=-1,n=null==t?0:t.length;for(this.__data__=new e;++r<n;)this.add(t[r])}i.prototype.add=i.prototype.push=o,i.prototype.has=u,t.exports=i},function(t,r){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e;)if(r(t[n],n,t))return!0;return!1}},function(t,r){t.exports=function(t,r){return t.has(r)}},function(t,r,n){var e=n(515),o=n(576),u=n(530),i=n(579),c=n(580),f=n(581),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;t.exports=function(t,r,n,e,a,p,v){switch(n){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=r.byteLength||!p(new o(t),new o(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var l=c;case"[object Set]":var b=1&e;if(l||(l=f),t.size!=r.size&&!b)return!1;var x=v.get(t);if(x)return x==r;e|=2,v.set(t,r);var y=i(l(t),l(r),e,a,p,v);return v.delete(t),y;case"[object Symbol]":if(s)return s.call(t)==s.call(r)}return!1}},function(t,r,n){var e=n(574),o=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,u,i,c){var f=1&n,a=e(t),s=a.length;if(s!=e(r).length&&!f)return!1;for(var p=s;p--;){var v=a[p];if(!(f?v in r:o.call(r,v)))return!1}var l=c.get(t),b=c.get(r);if(l&&b)return l==r&&b==t;var x=!0;c.set(t,r),c.set(r,t);for(var y=f;++p<s;){var j=t[v=a[p]],h=r[v];if(u)var d=f?u(h,j,v,r,t,c):u(j,h,v,t,r,c);if(!(void 0===d?j===h||i(j,h,n,u,c):d)){x=!1;break}y||(y="constructor"==v)}if(x&&!y){var _=t.constructor,g=r.constructor;_==g||!("constructor"in t)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof g&&g instanceof g||(x=!1)}return c.delete(t),c.delete(r),x}},function(t,r,n){var e=n(554);t.exports=function(t,r,n){var o=(n="function"==typeof n?n:void 0)?n(t,r):void 0;return void 0===o?e(t,r,void 0,n):!!o}},function(t,r,n){var e=n(493),o=n(489),u=n(553);t.exports=function(t){if(!o(t))return!1;var r=e(t);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof t.message&&"string"==typeof t.name&&!u(t)}},function(t,r,n){var e=n(500).isFinite;t.exports=function(t){return"number"==typeof t&&e(t)}},function(t,r,n){var e=n(584),o=n(585);t.exports=function(t,r){return t===r||e(t,r,o(r))}},function(t,r,n){var e=n(505);t.exports=function(t){return t==t&&!e(t)}},function(t,r,n){var e=n(584),o=n(585);t.exports=function(t,r,n){return n="function"==typeof n?n:void 0,e(t,r,o(r),n)}},function(t,r,n){var e=n(586);t.exports=function(t){return e(t)&&t!=+t}},function(t,r,n){var e=n(559),o=n(700);t.exports=function(t){if(o(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return e(t)}},function(t,r,n){var e=n(561),o=n(531),u=n(567),i=e?o:u;t.exports=i},function(t,r){t.exports=function(t){return null==t}},function(t,r){t.exports=function(t){return null===t}},function(t,r,n){var e=n(704),o=n(517),u=n(518),i=u&&u.isRegExp,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object RegExp]"==e(t)}},function(t,r,n){var e=n(582);t.exports=function(t){return e(t)&&t>=-9007199254740991&&t<=9007199254740991}},function(t,r){t.exports=function(t){return void 0===t}},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object WeakMap]"==e(t)}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object WeakSet]"==e(t)}},function(t,r,n){var e=n(710),o=n(537)(e);t.exports=o},function(t,r){t.exports=function(t,r){return t<r}},function(t,r,n){var e=n(537)((function(t,r){return t<=r}));t.exports=e},function(t,r,n){var e=n(515),o=n(570),u=n(512),i=n(519),c=n(587),f=n(713),a=n(580),s=n(581),p=n(714),v=n(718),l=e?e.iterator:void 0;t.exports=function(t){if(!t)return[];if(i(t))return c(t)?p(t):o(t);if(l&&t[l])return f(t[l]());var r=u(t);return("[object Map]"==r?a:"[object Set]"==r?s:v)(t)}},function(t,r){t.exports=function(t){for(var r,n=[];!(r=t.next()).done;)n.push(r.value);return n}},function(t,r,n){var e=n(715),o=n(716),u=n(717);t.exports=function(t){return o(t)?u(t):e(t)}},function(t,r){t.exports=function(t){return t.split("")}},function(t,r){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},function(t,r){var n="[\\ud800-\\udfff]",e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",u="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+e+"|"+o+")"+"?",a="[\\ufe0e\\ufe0f]?"+f+("(?:\\u200d(?:"+[u,i,c].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*"),s="(?:"+[u+e+"?",e,i,c,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+s+a,"g");t.exports=function(t){return t.match(p)||[]}},function(t,r,n){var e=n(719),o=n(516);t.exports=function(t){return null==t?[]:e(t,o(t))}},function(t,r,n){var e=n(588);t.exports=function(t,r){return e(r,(function(r){return t[r]}))}},function(t,r,n){var e=n(589),o=n(538);t.exports=function(t){return t?e(o(t),0,4294967295):0}},function(t,r,n){var e=n(522),o=n(536);t.exports=function(t){return e(t,o(t))}},function(t,r,n){var e=n(589),o=n(538);t.exports=function(t){return t?e(o(t),-9007199254740991,9007199254740991):0===t?t:0}},function(t,r,n){var e=n(724);t.exports=function(t){return null==t?"":e(t)}},function(t,r,n){var e=n(515),o=n(588),u=n(503),i=n(552),c=e?e.prototype:void 0,f=c?c.toString:void 0;t.exports=function t(r){if("string"==typeof r)return r;if(u(r))return o(r,t)+"";if(i(r))return f?f.call(r):"";var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}}])]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],Array(489).concat([function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t}},,,,function(t,r,n){var e=n(515),o=n(619),u=n(620),i=e?e.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):u(t)}},,,,,,,function(t,r,n){var e=n(560),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},,,function(t,r){var n=Array.isArray;t.exports=n},,function(t,r){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},,,,function(t,r){(function(r){t.exports=r}).call(this,{})},,function(t,r,n){var e=n(559),o=n(622);t.exports=function(t,r){var n=o(t,r);return e(n)?n:void 0}},function(t,r,n){var e=n(651),o=n(545),u=n(652),i=n(653),c=n(654),f=n(493),a=n(562),s=a(e),p=a(o),v=a(u),l=a(i),b=a(c),x=f;(e&&"[object DataView]"!=x(new e(new ArrayBuffer(1)))||o&&"[object Map]"!=x(new o)||u&&"[object Promise]"!=x(u.resolve())||i&&"[object Set]"!=x(new i)||c&&"[object WeakMap]"!=x(new c))&&(x=function(t){var r=f(t),n="[object Object]"==r?t.constructor:void 0,e=n?a(n):"";if(e)switch(e){case s:return"[object DataView]";case p:return"[object Map]";case v:return"[object Promise]";case l:return"[object Set]";case b:return"[object WeakMap]"}return r}),t.exports=x},,,function(t,r,n){var e=n(500).Symbol;t.exports=e},function(t,r,n){var e=n(566),o=n(568),u=n(519);t.exports=function(t){return u(t)?e(t):o(t)}},function(t,r){t.exports=function(t){return function(r){return t(r)}}},function(t,r,n){(function(t){var e=n(560),o=r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o&&e.process,c=function(){try{var t=u&&u.require&&u.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=c}).call(this,n(164)(t))},function(t,r,n){var e=n(531),o=n(547);t.exports=function(t){return null!=t&&o(t.length)&&!e(t)}},,function(t,r){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,r,n){var e=n(564),o=n(565);t.exports=function(t,r,n,u){var i=!n;n||(n={});for(var c=-1,f=r.length;++c<f;){var a=r[c],s=u?u(n[a],t[a],a,n,t):void 0;void 0===s&&(s=t[a]),i?o(n,a,s):e(n,a,s)}return n}},function(t,r,n){(function(t){var e=n(500),o=n(567),u=r&&!r.nodeType&&r,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===u?e.Buffer:void 0,f=(c?c.isBuffer:void 0)||o;t.exports=f}).call(this,n(164)(t))},,,,function(t,r,n){var e=n(544),o=n(635),u=n(564),i=n(637),c=n(643),f=n(646),a=n(570),s=n(647),p=n(649),v=n(574),l=n(650),b=n(512),x=n(655),y=n(656),j=n(661),h=n(503),d=n(523),_=n(577),g=n(505),O=n(578),w=n(516),A=n(536),m={};m["[object Arguments]"]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object DataView]"]=m["[object Boolean]"]=m["[object Date]"]=m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Map]"]=m["[object Number]"]=m["[object Object]"]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object Symbol]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m["[object Error]"]=m["[object Function]"]=m["[object WeakMap]"]=!1,t.exports=function t(r,n,S,E,P,z){var M,k=1&n,F=2&n,I=4&n;if(S&&(M=P?S(r,E,P,z):S(r)),void 0!==M)return M;if(!g(r))return r;var B=h(r);if(B){if(M=x(r),!k)return a(r,M)}else{var D=b(r),N="[object Function]"==D||"[object GeneratorFunction]"==D;if(d(r))return f(r,k);if("[object Object]"==D||"[object Arguments]"==D||N&&!P){if(M=F||N?{}:j(r),!k)return F?p(r,c(M,r)):s(r,i(M,r))}else{if(!m[D])return P?r:{};M=y(r,D,k)}}z||(z=new e);var U=z.get(r);if(U)return U;z.set(r,M),O(r)?r.forEach((function(e){M.add(t(e,n,S,e,r,z))})):_(r)&&r.forEach((function(e,o){M.set(o,t(e,n,S,o,r,z))}));var T=B?void 0:(I?F?l:v:F?A:w)(r);return o(T||r,(function(e,o){T&&(e=r[o=e]),u(M,o,t(e,n,S,o,r,z))})),M}},function(t,r,n){var e=n(609),o=n(610),u=n(611),i=n(612),c=n(613);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(530);t.exports=function(t,r){for(var n=t.length;n--;)if(e(t[n][0],r))return n;return-1}},function(t,r){t.exports=function(t,r){return t===r||t!=t&&r!=r}},function(t,r,n){var e=n(493),o=n(505);t.exports=function(t){if(!o(t))return!1;var r=e(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},function(t,r,n){var e=n(511)(Object,"create");t.exports=e},function(t,r,n){var e=n(631);t.exports=function(t,r){var n=t.__data__;return e(r)?n["string"==typeof r?"string":"hash"]:n.map}},function(t,r,n){var e=n(641),o=n(517),u=n(518),i=u&&u.isTypedArray,c=i?o(i):e;t.exports=c},function(t,r){var n=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||n)}},function(t,r,n){var e=n(566),o=n(644),u=n(519);t.exports=function(t){return u(t)?e(t,!0):o(t)}},function(t,r,n){var e=n(551);t.exports=function(t){return function(r,n){return"string"==typeof r&&"string"==typeof n||(r=e(r),n=e(n)),t(r,n)}}},function(t,r,n){var e=n(583);t.exports=function(t){var r=e(t),n=r%1;return r==r?n?r-n:r:0}},,,,,,function(t,r,n){var e=n(528),o=n(614),u=n(615),i=n(616),c=n(617),f=n(618);function a(t){var r=this.__data__=new e(t);this.size=r.size}a.prototype.clear=o,a.prototype.delete=u,a.prototype.get=i,a.prototype.has=c,a.prototype.set=f,t.exports=a},function(t,r,n){var e=n(511)(n(500),"Map");t.exports=e},function(t,r,n){var e=n(639),o=n(489),u=Object.prototype,i=u.hasOwnProperty,c=u.propertyIsEnumerable,f=e(function(){return arguments}())?e:function(t){return o(t)&&i.call(t,"callee")&&!c.call(t,"callee")};t.exports=f},function(t,r){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,r,n){var e=n(648),o=n(571),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(t){return null==t?[]:(t=Object(t),e(i(t),(function(r){return u.call(t,r)})))}:o;t.exports=c},function(t,r,n){var e=n(569)(Object.getPrototypeOf,Object);t.exports=e},function(t,r,n){var e=n(576);t.exports=function(t){var r=new t.constructor(t.byteLength);return new e(r).set(new e(t)),r}},function(t,r,n){var e=n(672),o=n(505),u=n(552),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,a=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(u(t))return NaN;if(o(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=o(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var n=c.test(t);return n||f.test(t)?a(t.slice(2),n?2:8):i.test(t)?NaN:+t}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==e(t)}},function(t,r,n){var e=n(493),o=n(549),u=n(489),i=Function.prototype,c=Object.prototype,f=i.toString,a=c.hasOwnProperty,s=f.call(Object);t.exports=function(t){if(!u(t)||"[object Object]"!=e(t))return!1;var r=o(t);if(null===r)return!0;var n=a.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==s}},function(t,r,n){var e=n(684),o=n(489);t.exports=function t(r,n,u,i,c){return r===n||(null==r||null==n||!o(r)&&!o(n)?r!=r&&n!=n:e(r,n,u,i,t,c))}},,,,,function(t,r,n){var e=n(531),o=n(621),u=n(505),i=n(562),c=/^\[object .+?Constructor\]$/,f=Function.prototype,a=Object.prototype,s=f.toString,p=a.hasOwnProperty,v=RegExp("^"+s.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(e(t)?v:c).test(i(t))}},function(t,r,n){(function(r){var n="object"==typeof r&&r&&r.Object===Object&&r;t.exports=n}).call(this,n(12))},function(t,r,n){var e=n(500)["__core-js_shared__"];t.exports=e},function(t,r){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,r,n){var e=n(623),o=n(630),u=n(632),i=n(633),c=n(634);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(565),o=n(530),u=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){var i=t[r];u.call(t,r)&&o(i,n)&&(void 0!==n||r in t)||e(t,r,n)}},function(t,r,n){var e=n(636);t.exports=function(t,r,n){"__proto__"==r&&e?e(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}},function(t,r,n){var e=n(638),o=n(546),u=n(503),i=n(523),c=n(640),f=n(534),a=Object.prototype.hasOwnProperty;t.exports=function(t,r){var n=u(t),s=!n&&o(t),p=!n&&!s&&i(t),v=!n&&!s&&!p&&f(t),l=n||s||p||v,b=l?e(t.length,String):[],x=b.length;for(var y in t)!r&&!a.call(t,y)||l&&("length"==y||p&&("offset"==y||"parent"==y)||v&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,x))||b.push(y);return b}},function(t,r){t.exports=function(){return!1}},function(t,r,n){var e=n(535),o=n(642),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return o(t);var r=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&r.push(n);return r}},function(t,r){t.exports=function(t,r){return function(n){return t(r(n))}}},function(t,r){t.exports=function(t,r){var n=-1,e=t.length;for(r||(r=Array(e));++n<e;)r[n]=t[n];return r}},function(t,r){t.exports=function(){return[]}},function(t,r,n){var e=n(573),o=n(549),u=n(548),i=n(571),c=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)e(r,u(t)),t=o(t);return r}:i;t.exports=c},function(t,r){t.exports=function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}},function(t,r,n){var e=n(575),o=n(548),u=n(516);t.exports=function(t){return e(t,u,o)}},function(t,r,n){var e=n(573),o=n(503);t.exports=function(t,r,n){var u=r(t);return o(t)?u:e(u,n(t))}},function(t,r,n){var e=n(500).Uint8Array;t.exports=e},function(t,r,n){var e=n(663),o=n(517),u=n(518),i=u&&u.isMap,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(664),o=n(517),u=n(518),i=u&&u.isSet,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(685),o=n(688),u=n(689);t.exports=function(t,r,n,i,c,f){var a=1&n,s=t.length,p=r.length;if(s!=p&&!(a&&p>s))return!1;var v=f.get(t),l=f.get(r);if(v&&l)return v==r&&l==t;var b=-1,x=!0,y=2&n?new e:void 0;for(f.set(t,r),f.set(r,t);++b<s;){var j=t[b],h=r[b];if(i)var d=a?i(h,j,b,r,t,f):i(j,h,b,t,r,f);if(void 0!==d){if(d)continue;x=!1;break}if(y){if(!o(r,(function(t,r){if(!u(y,r)&&(j===t||c(j,t,n,i,f)))return y.push(r)}))){x=!1;break}}else if(j!==h&&!c(j,h,n,i,f)){x=!1;break}}return f.delete(t),f.delete(r),x}},function(t,r){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach((function(t,e){n[++r]=[e,t]})),n}},function(t,r){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach((function(t){n[++r]=t})),n}},function(t,r,n){var e=n(538);t.exports=function(t){return"number"==typeof t&&t==e(t)}},function(t,r,n){var e=n(551);t.exports=function(t){return t?(t=e(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,r,n){var e=n(544),o=n(554);t.exports=function(t,r,n,u){var i=n.length,c=i,f=!u;if(null==t)return!c;for(t=Object(t);i--;){var a=n[i];if(f&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<c;){var s=(a=n[i])[0],p=t[s],v=a[1];if(f&&a[2]){if(void 0===p&&!(s in t))return!1}else{var l=new e;if(u)var b=u(p,v,s,t,r,l);if(!(void 0===b?o(v,p,3,u,l):b))return!1}}return!0}},function(t,r,n){var e=n(696),o=n(516);t.exports=function(t){for(var r=o(t),n=r.length;n--;){var u=r[n],i=t[u];r[n]=[u,i,e(i)]}return r}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==e(t)}},function(t,r,n){var e=n(493),o=n(503),u=n(489);t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&"[object String]"==e(t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length,o=Array(e);++n<e;)o[n]=r(t[n],n,t);return o}},function(t,r){t.exports=function(t,r,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==r&&(t=t>=r?t:r)),t}},,,,,,,,,,,,,,,,,function(t,r,n){t.exports={castArray:n(607),clone:n(608),cloneDeep:n(665),cloneDeepWith:n(666),cloneWith:n(667),conformsTo:n(668),eq:n(530),gt:n(670),gte:n(674),isArguments:n(546),isArray:n(503),isArrayBuffer:n(675),isArrayLike:n(519),isArrayLikeObject:n(677),isBoolean:n(678),isBuffer:n(523),isDate:n(679),isElement:n(681),isEmpty:n(682),isEqual:n(683),isEqualWith:n(692),isError:n(693),isFinite:n(694),isFunction:n(531),isInteger:n(582),isLength:n(547),isMap:n(577),isMatch:n(695),isMatchWith:n(697),isNaN:n(698),isNative:n(699),isNil:n(701),isNull:n(702),isNumber:n(586),isObject:n(505),isObjectLike:n(489),isPlainObject:n(553),isRegExp:n(703),isSafeInteger:n(705),isSet:n(578),isString:n(587),isSymbol:n(552),isTypedArray:n(534),isUndefined:n(706),isWeakMap:n(707),isWeakSet:n(708),lt:n(709),lte:n(711),toArray:n(712),toFinite:n(583),toInteger:n(538),toLength:n(720),toNumber:n(551),toPlainObject:n(721),toSafeInteger:n(722),toString:n(723)}},function(t,r,n){var e=n(503);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return e(t)?t:[t]}},function(t,r,n){var e=n(527);t.exports=function(t){return e(t,4)}},function(t,r){t.exports=function(){this.__data__=[],this.size=0}},function(t,r,n){var e=n(529),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,n=e(r,t);return!(n<0)&&(n==r.length-1?r.pop():o.call(r,n,1),--this.size,!0)}},function(t,r,n){var e=n(529);t.exports=function(t){var r=this.__data__,n=e(r,t);return n<0?void 0:r[n][1]}},function(t,r,n){var e=n(529);t.exports=function(t){return e(this.__data__,t)>-1}},function(t,r,n){var e=n(529);t.exports=function(t,r){var n=this.__data__,o=e(n,t);return o<0?(++this.size,n.push([t,r])):n[o][1]=r,this}},function(t,r,n){var e=n(528);t.exports=function(){this.__data__=new e,this.size=0}},function(t,r){t.exports=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}},function(t,r){t.exports=function(t){return this.__data__.get(t)}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,n){var e=n(528),o=n(545),u=n(563);t.exports=function(t,r){var n=this.__data__;if(n instanceof e){var i=n.__data__;if(!o||i.length<199)return i.push([t,r]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,r),this.size=n.size,this}},function(t,r,n){var e=n(515),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,c=e?e.toStringTag:void 0;t.exports=function(t){var r=u.call(t,c),n=t[c];try{t[c]=void 0;var e=!0}catch(t){}var o=i.call(t);return e&&(r?t[c]=n:delete t[c]),o}},function(t,r){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,r,n){var e,o=n(561),u=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";t.exports=function(t){return!!u&&u in t}},function(t,r){t.exports=function(t,r){return null==t?void 0:t[r]}},function(t,r,n){var e=n(624),o=n(528),u=n(545);t.exports=function(){this.size=0,this.__data__={hash:new e,map:new(u||o),string:new e}}},function(t,r,n){var e=n(625),o=n(626),u=n(627),i=n(628),c=n(629);function f(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}f.prototype.clear=e,f.prototype.delete=o,f.prototype.get=u,f.prototype.has=i,f.prototype.set=c,t.exports=f},function(t,r,n){var e=n(532);t.exports=function(){this.__data__=e?e(null):{},this.size=0}},function(t,r){t.exports=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}},function(t,r,n){var e=n(532),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;if(e){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(r,t)?r[t]:void 0}},function(t,r,n){var e=n(532),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;return e?void 0!==r[t]:o.call(r,t)}},function(t,r,n){var e=n(532);t.exports=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=e&&void 0===r?"__lodash_hash_undefined__":r,this}},function(t,r,n){var e=n(533);t.exports=function(t){var r=e(this,t).delete(t);return this.size-=r?1:0,r}},function(t,r){t.exports=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},function(t,r,n){var e=n(533);t.exports=function(t){return e(this,t).get(t)}},function(t,r,n){var e=n(533);t.exports=function(t){return e(this,t).has(t)}},function(t,r,n){var e=n(533);t.exports=function(t,r){var n=e(this,t),o=n.size;return n.set(t,r),this.size+=n.size==o?0:1,this}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n,t););return t}},function(t,r,n){var e=n(511),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,r,n){var e=n(522),o=n(516);t.exports=function(t,r){return t&&e(r,o(r),t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object Arguments]"==e(t)}},function(t,r){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&n.test(t))&&t>-1&&t%1==0&&t<r}},function(t,r,n){var e=n(493),o=n(547),u=n(489),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[e(t)]}},function(t,r,n){var e=n(569)(Object.keys,Object);t.exports=e},function(t,r,n){var e=n(522),o=n(536);t.exports=function(t,r){return t&&e(r,o(r),t)}},function(t,r,n){var e=n(505),o=n(535),u=n(645),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return u(t);var r=o(t),n=[];for(var c in t)("constructor"!=c||!r&&i.call(t,c))&&n.push(c);return n}},function(t,r){t.exports=function(t){var r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}},function(t,r,n){(function(t){var e=n(500),o=r&&!r.nodeType&&r,u=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=u&&u.exports===o?e.Buffer:void 0,c=i?i.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var n=t.length,e=c?c(n):new t.constructor(n);return t.copy(e),e}}).call(this,n(164)(t))},function(t,r,n){var e=n(522),o=n(548);t.exports=function(t,r){return e(t,o(t),r)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length,o=0,u=[];++n<e;){var i=t[n];r(i,n,t)&&(u[o++]=i)}return u}},function(t,r,n){var e=n(522),o=n(572);t.exports=function(t,r){return e(t,o(t),r)}},function(t,r,n){var e=n(575),o=n(572),u=n(536);t.exports=function(t){return e(t,u,o)}},function(t,r,n){var e=n(511)(n(500),"DataView");t.exports=e},function(t,r,n){var e=n(511)(n(500),"Promise");t.exports=e},function(t,r,n){var e=n(511)(n(500),"Set");t.exports=e},function(t,r,n){var e=n(511)(n(500),"WeakMap");t.exports=e},function(t,r){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,e=new t.constructor(r);return r&&"string"==typeof t[0]&&n.call(t,"index")&&(e.index=t.index,e.input=t.input),e}},function(t,r,n){var e=n(550),o=n(657),u=n(658),i=n(659),c=n(660);t.exports=function(t,r,n){var f=t.constructor;switch(r){case"[object ArrayBuffer]":return e(t);case"[object Boolean]":case"[object Date]":return new f(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,n);case"[object Map]":return new f;case"[object Number]":case"[object String]":return new f(t);case"[object RegExp]":return u(t);case"[object Set]":return new f;case"[object Symbol]":return i(t)}}},function(t,r,n){var e=n(550);t.exports=function(t,r){var n=r?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},function(t,r){var n=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,n.exec(t));return r.lastIndex=t.lastIndex,r}},function(t,r,n){var e=n(515),o=e?e.prototype:void 0,u=o?o.valueOf:void 0;t.exports=function(t){return u?Object(u.call(t)):{}}},function(t,r,n){var e=n(550);t.exports=function(t,r){var n=r?e(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,r,n){var e=n(662),o=n(549),u=n(535);t.exports=function(t){return"function"!=typeof t.constructor||u(t)?{}:e(o(t))}},function(t,r,n){var e=n(505),o=Object.create,u=function(){function t(){}return function(r){if(!e(r))return{};if(o)return o(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}();t.exports=u},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object Map]"==e(t)}},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object Set]"==e(t)}},function(t,r,n){var e=n(527);t.exports=function(t){return e(t,5)}},function(t,r,n){var e=n(527);t.exports=function(t,r){return e(t,5,r="function"==typeof r?r:void 0)}},function(t,r,n){var e=n(527);t.exports=function(t,r){return e(t,4,r="function"==typeof r?r:void 0)}},function(t,r,n){var e=n(669),o=n(516);t.exports=function(t,r){return null==r||e(t,r,o(r))}},function(t,r){t.exports=function(t,r,n){var e=n.length;if(null==t)return!e;for(t=Object(t);e--;){var o=n[e],u=r[o],i=t[o];if(void 0===i&&!(o in t)||!u(i))return!1}return!0}},function(t,r,n){var e=n(671),o=n(537)(e);t.exports=o},function(t,r){t.exports=function(t,r){return t>r}},function(t,r,n){var e=n(673),o=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(o,""):t}},function(t,r){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},function(t,r,n){var e=n(537)((function(t,r){return t>=r}));t.exports=e},function(t,r,n){var e=n(676),o=n(517),u=n(518),i=u&&u.isArrayBuffer,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object ArrayBuffer]"==e(t)}},function(t,r,n){var e=n(519),o=n(489);t.exports=function(t){return o(t)&&e(t)}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==e(t)}},function(t,r,n){var e=n(680),o=n(517),u=n(518),i=u&&u.isDate,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object Date]"==e(t)}},function(t,r,n){var e=n(489),o=n(553);t.exports=function(t){return e(t)&&1===t.nodeType&&!o(t)}},function(t,r,n){var e=n(568),o=n(512),u=n(546),i=n(503),c=n(519),f=n(523),a=n(535),s=n(534),p=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(c(t)&&(i(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||s(t)||u(t)))return!t.length;var r=o(t);if("[object Map]"==r||"[object Set]"==r)return!t.size;if(a(t))return!e(t).length;for(var n in t)if(p.call(t,n))return!1;return!0}},function(t,r,n){var e=n(554);t.exports=function(t,r){return e(t,r)}},function(t,r,n){var e=n(544),o=n(579),u=n(690),i=n(691),c=n(512),f=n(503),a=n(523),s=n(534),p="[object Object]",v=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,l,b,x){var y=f(t),j=f(r),h=y?"[object Array]":c(t),d=j?"[object Array]":c(r),_=(h="[object Arguments]"==h?p:h)==p,g=(d="[object Arguments]"==d?p:d)==p,O=h==d;if(O&&a(t)){if(!a(r))return!1;y=!0,_=!1}if(O&&!_)return x||(x=new e),y||s(t)?o(t,r,n,l,b,x):u(t,r,h,n,l,b,x);if(!(1&n)){var w=_&&v.call(t,"__wrapped__"),A=g&&v.call(r,"__wrapped__");if(w||A){var m=w?t.value():t,S=A?r.value():r;return x||(x=new e),b(m,S,n,l,x)}}return!!O&&(x||(x=new e),i(t,r,n,l,b,x))}},function(t,r,n){var e=n(563),o=n(686),u=n(687);function i(t){var r=-1,n=null==t?0:t.length;for(this.__data__=new e;++r<n;)this.add(t[r])}i.prototype.add=i.prototype.push=o,i.prototype.has=u,t.exports=i},function(t,r){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e;)if(r(t[n],n,t))return!0;return!1}},function(t,r){t.exports=function(t,r){return t.has(r)}},function(t,r,n){var e=n(515),o=n(576),u=n(530),i=n(579),c=n(580),f=n(581),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;t.exports=function(t,r,n,e,a,p,v){switch(n){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=r.byteLength||!p(new o(t),new o(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var l=c;case"[object Set]":var b=1&e;if(l||(l=f),t.size!=r.size&&!b)return!1;var x=v.get(t);if(x)return x==r;e|=2,v.set(t,r);var y=i(l(t),l(r),e,a,p,v);return v.delete(t),y;case"[object Symbol]":if(s)return s.call(t)==s.call(r)}return!1}},function(t,r,n){var e=n(574),o=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,u,i,c){var f=1&n,a=e(t),s=a.length;if(s!=e(r).length&&!f)return!1;for(var p=s;p--;){var v=a[p];if(!(f?v in r:o.call(r,v)))return!1}var l=c.get(t),b=c.get(r);if(l&&b)return l==r&&b==t;var x=!0;c.set(t,r),c.set(r,t);for(var y=f;++p<s;){var j=t[v=a[p]],h=r[v];if(u)var d=f?u(h,j,v,r,t,c):u(j,h,v,t,r,c);if(!(void 0===d?j===h||i(j,h,n,u,c):d)){x=!1;break}y||(y="constructor"==v)}if(x&&!y){var _=t.constructor,g=r.constructor;_==g||!("constructor"in t)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof g&&g instanceof g||(x=!1)}return c.delete(t),c.delete(r),x}},function(t,r,n){var e=n(554);t.exports=function(t,r,n){var o=(n="function"==typeof n?n:void 0)?n(t,r):void 0;return void 0===o?e(t,r,void 0,n):!!o}},function(t,r,n){var e=n(493),o=n(489),u=n(553);t.exports=function(t){if(!o(t))return!1;var r=e(t);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof t.message&&"string"==typeof t.name&&!u(t)}},function(t,r,n){var e=n(500).isFinite;t.exports=function(t){return"number"==typeof t&&e(t)}},function(t,r,n){var e=n(584),o=n(585);t.exports=function(t,r){return t===r||e(t,r,o(r))}},function(t,r,n){var e=n(505);t.exports=function(t){return t==t&&!e(t)}},function(t,r,n){var e=n(584),o=n(585);t.exports=function(t,r,n){return n="function"==typeof n?n:void 0,e(t,r,o(r),n)}},function(t,r,n){var e=n(586);t.exports=function(t){return e(t)&&t!=+t}},function(t,r,n){var e=n(559),o=n(700);t.exports=function(t){if(o(t))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return e(t)}},function(t,r,n){var e=n(561),o=n(531),u=n(567),i=e?o:u;t.exports=i},function(t,r){t.exports=function(t){return null==t}},function(t,r){t.exports=function(t){return null===t}},function(t,r,n){var e=n(704),o=n(517),u=n(518),i=u&&u.isRegExp,c=i?o(i):e;t.exports=c},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object RegExp]"==e(t)}},function(t,r,n){var e=n(582);t.exports=function(t){return e(t)&&t>=-9007199254740991&&t<=9007199254740991}},function(t,r){t.exports=function(t){return void 0===t}},function(t,r,n){var e=n(512),o=n(489);t.exports=function(t){return o(t)&&"[object WeakMap]"==e(t)}},function(t,r,n){var e=n(493),o=n(489);t.exports=function(t){return o(t)&&"[object WeakSet]"==e(t)}},function(t,r,n){var e=n(710),o=n(537)(e);t.exports=o},function(t,r){t.exports=function(t,r){return t<r}},function(t,r,n){var e=n(537)((function(t,r){return t<=r}));t.exports=e},function(t,r,n){var e=n(515),o=n(570),u=n(512),i=n(519),c=n(587),f=n(713),a=n(580),s=n(581),p=n(714),v=n(718),l=e?e.iterator:void 0;t.exports=function(t){if(!t)return[];if(i(t))return c(t)?p(t):o(t);if(l&&t[l])return f(t[l]());var r=u(t);return("[object Map]"==r?a:"[object Set]"==r?s:v)(t)}},function(t,r){t.exports=function(t){for(var r,n=[];!(r=t.next()).done;)n.push(r.value);return n}},function(t,r,n){var e=n(715),o=n(716),u=n(717);t.exports=function(t){return o(t)?u(t):e(t)}},function(t,r){t.exports=function(t){return t.split("")}},function(t,r){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},function(t,r){var n="[\\ud800-\\udfff]",e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",u="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+e+"|"+o+")"+"?",a="[\\ufe0e\\ufe0f]?"+f+("(?:\\u200d(?:"+[u,i,c].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*"),s="(?:"+[u+e+"?",e,i,c,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+s+a,"g");t.exports=function(t){return t.match(p)||[]}},function(t,r,n){var e=n(719),o=n(516);t.exports=function(t){return null==t?[]:e(t,o(t))}},function(t,r,n){var e=n(588);t.exports=function(t,r){return e(r,(function(r){return t[r]}))}},function(t,r,n){var e=n(589),o=n(538);t.exports=function(t){return t?e(o(t),0,4294967295):0}},function(t,r,n){var e=n(522),o=n(536);t.exports=function(t){return e(t,o(t))}},function(t,r,n){var e=n(589),o=n(538);t.exports=function(t){return t?e(o(t),-9007199254740991,9007199254740991):0===t?t:0}},function(t,r,n){var e=n(724);t.exports=function(t){return null==t?"":e(t)}},function(t,r,n){var e=n(515),o=n(588),u=n(503),i=n(552),c=e?e.prototype:void 0,f=c?c.toString:void 0;t.exports=function t(r){if("string"==typeof r)return r;if(u(r))return o(r,t)+"";if(i(r))return f?f.call(r):"";var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}}])]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[10,63,82,173,175,176],{126: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"}},179:function(t,e,n){"use strict";n.r(e);var s=n(180),a=n(98),r=n(85);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"]},180:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(126),a=n(85);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}},85: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}));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"}},98: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(85),a=n(30);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)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[101,265],{259:function(e,r,t){"use strict";t.r(r);var n=t(492);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let s;const a=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),s.setOption(r.chart.chartOptions)});function o(){s.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),s.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){s.resize()}r.$watch("chart",(function(){s=n.a(t[0],null,{renderer:"svg"}),s.setOption(r.chart.chartOptions),s.showLoading(),s.on("legendselectchanged",c),r.chart.registerRefreshHandler(o),r.chart.translateLabels(),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){s.on("legendselectchanged"),s.dispose(),r.chart.unregisterRefreshHandler(o),a(),window.removeEventListener("resize",i)}))}}}])},350:function(e,r,t){"use strict";t.r(r);t(7),t(31),t(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[101,265],{259:function(e,r,t){"use strict";t.r(r);var n=t(492);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let s;const a=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),s.setOption(r.chart.chartOptions)});function o(){s.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),s.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){s.resize()}r.$watch("chart",(function(){s=n.a(t[0],null,{renderer:"svg"}),s.setOption(r.chart.chartOptions),s.showLoading(),s.on("legendselectchanged",c),r.chart.registerRefreshHandler(o),r.chart.translateLabels(),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){s.on("legendselectchanged"),s.dispose(),r.chart.unregisterRefreshHandler(o),a(),window.removeEventListener("resize",i)}))}}}])},350:function(e,r,t){"use strict";t.r(r);t(7),t(31),t(163),t(32),t(492),t(259);angular.module("graphdb.framework.jmx.resources",["toastr","ui.bootstrap","graphdb.framework.jmx.resources.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.resources.directives"])}}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{495: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},497:function(e,t,n){"use strict";const o=n(504),r=n(495),i=n(555).IdentifierIssuer,a=n(498),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},498: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}}},504:function(e,t,n){"use strict";const o=n(495),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}},506:function(e,t,n){"use strict";const o=n(495),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)},513:function(e,t,n){"use strict";const o=n(497),r=n(498),{isArray:i,isObject:a,isString:s,isUndefined:l}=n(495),{isAbsolute:c,isRelative:d,prependBase:u}=n(506),{handleEvent:p}=n(524),{REGEX_BCP47:f,REGEX_KEYWORD:h,asArray:v,compareShortestLeast:g}=n(497),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}
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{495: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},497:function(e,t,n){"use strict";const o=n(504),r=n(495),i=n(555).IdentifierIssuer,a=n(498),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},498: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}}},504:function(e,t,n){"use strict";const o=n(495),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}},506:function(e,t,n){"use strict";const o=n(495),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)},513:function(e,t,n){"use strict";const o=n(497),r=n(498),{isArray:i,isObject:a,isString:s,isUndefined:l}=n(495),{isAbsolute:c,isRelative:d,prependBase:u}=n(506),{handleEvent:p}=n(524),{REGEX_BCP47:f,REGEX_KEYWORD:h,asArray:v,compareShortestLeast:g}=n(497),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
2
|
// disallow aliasing @context and @preserve
|
|
3
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}},524:function(e,t,n){"use strict";const o=n(498),{isArray:r}=n(495),{asArray:i}=n(497),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}},539:function(e,t,n){"use strict";
|
|
4
4
|
/*!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[111,282],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[111,282],{162:function(e,t,n){"use strict";n.r(t);n(7),n(33);function r(e,t,n,r,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,r.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,r.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,r,i,s,o){e.loadingLicense=function(){return n.loadingLicense},n.checkLicenseStatus(),e.revertToFree=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus()}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){r.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(){i.error(c.instant("license.register.error"))}))}else i.error(c.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(c.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(c.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){s.history.back()}}function o(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function c(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",r).controller("ValidateLicenseModalCtrl",o).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",s).controller("LoaderSamplesCtrl",c),r.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},258:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(18),n(162),n(43),n(44),n(33),n(65),n(66);function r(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function i(e,t,n){e.$on("$locationChangeStart",(function(){n.isLicenseHardcoded&&"/license/register"===t.url()&&t.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(r).run(i),r.$inject=["$httpProvider","$routeProvider"],i.$inject=["$rootScope","$location","$licenseService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[112,302],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[112,302],{106:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return o}));const o={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},184:function(e,n,r){"use strict";r.r(n);var o=r(106);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(n,r){let a=`${e()}?${o.RouteConstants.savedQueryName}=${encodeURIComponent(n)}`;null!=r&&(a+=`&${o.RouteConstants.savedQueryOwner}=${encodeURIComponent(r)}`);return a},createShareQueryLink:function(n){return e()+"?"+$.param({name:n.name,query:n.body,infer:n.inference||!0,sameAs:n.sameAs||!0})}};function e(){return[location.protocol,"//",location.host,location.pathname].join("")}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[113,295],{266:function(e,t,n){"use strict";n.r(t);var a=n(0),E=n(75);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(c,T,i)=>{c.selectedAgent=void 0,c.selectedAgentsFilter=void 0,c.deletingAgent=void 0,c.onEditAgent=t=>{e.emit(E.TTYGEventName.EDIT_AGENT,t)},c.onCloneAgent=e=>{console.log("Clone agent",e)},c.onDeleteAgent=c=>{const T=n.instant("ttyg.agent.delete_agent_modal.title"),i=Object(a.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:c.name}));t.openConfirmation(T,i,()=>e.emit(E.TTYGEventName.DELETE_AGENT,c))},c.onAgentsFilterChange=e=>{c.selectedAgentsFilter=e,c.agentList.filterByRepository(c.selectedAgentsFilter.key)};const A=()=>{const e=c.agentListFilterModel.find(e=>e.selected);c.selectedAgentsFilter=e||c.agentListFilterModel[0],c.onAgentsFilterChange(c.selectedAgentsFilter)},l=[];l.push(c.$watch("agentListFilterModel",A)),l.push(e.subscribe(E.TTYGEventName.DELETING_AGENT,e=>{c.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{c.selectedAgent=e})),c.$on("$destroy",()=>{l.forEach(e=>e())}),A()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",c),c.$inject=["TTYGContextService","ModalService","$translate"]},75:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return c}));var a=n(30);function E(e){let t=void 0,n=void 0,E=void 0,T=void 0;const i=()=>Object(a.cloneDeep)(t),A=()=>Object(a.cloneDeep)(n),l=()=>Object(a.cloneDeep)(E),o=()=>Object(a.cloneDeep)(T),s=(t,n)=>{e.emitSync(t,Object(a.cloneDeep)(n))},C=(t,n)=>e.subscribeSync(t,e=>n(e));return{emit:s,subscribe:C,getChats:A,updateChats:e=>{n=Object(a.cloneDeep)(e),s(c.CHAT_LIST_UPDATED,A())},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(A()),C(c.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:l,selectChat:e=>{E&&E.id===e||(E=Object(a.cloneDeep)(e),s(c.SELECT_CHAT,l()))},onSelectedChatChanged:e=>(E&&angular.isFunction(e)&&e(l()),C(c.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{E&&E.id!==e.id||(E=Object(a.cloneDeep)(e),s(c.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:e=>(E&&angular.isFunction(e)&&e(l()),C(c.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),s(c.AGENT_LIST_UPDATED,i())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(i()),C(c.AGENT_LIST_UPDATED,t=>e(t))),getAgents:i,selectAgent:e=>{T=Object(a.cloneDeep)(e),s(c.AGENT_SELECTED,o())},getSelectedAgent:o,onSelectedAgentChanged:e=>(T&&angular.isFunction(e)&&e(o()),C(c.AGENT_SELECTED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",E),E.$inject=["EventEmitterService"];const c={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",LOAD_CHAT:"loadChat",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",COPY_ANSWER_TO_CLIPBOARD:"copyAnswerToClipboard",COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL:"copyAnswerToClipboardSuccess",COPY_ANSWER_TO_CLIPBOARD_FAILURE:"copyAnswerToClipboardFailure"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[119],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[119],{169: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"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[11,58,77,78,79,121,122,123,124,126,127,268],{172:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},173:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},174:function(e,t,o){"use strict";o.r(t);o(81);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},175:function(e,t,o){"use strict";o.r(t);o(81);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},176:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},177:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},178:function(e,t,o){"use strict";o.r(t);o(91);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},179:function(e,t,o){"use strict";o.r(t);o(81),o(91);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},273:function(e,t,o){"use strict";o.r(t);o(81),o(91),o(172),o(173),o(174),o(175),o(176),o(177),o(178),o(179);var n=o(30),r=o(85),s=o(92);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},91:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},92:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[12,58,77,78,79,121,122,123,124,126,127,268],{170:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},171:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},172:function(e,t,o){"use strict";o.r(t);o(81);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},173:function(e,t,o){"use strict";o.r(t);o(81);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},174:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},175:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},176:function(e,t,o){"use strict";o.r(t);o(90);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},177:function(e,t,o){"use strict";o.r(t);o(81),o(90);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},273:function(e,t,o){"use strict";o.r(t);o(81),o(90),o(170),o(171),o(172),o(173),o(174),o(175),o(176),o(177);var n=o(30),r=o(85),s=o(91);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},90:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},91:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[121],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[121],{175:function(o,n){function t(o,n,t,e,a){o.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},o.docBase=function(o){return"https://graphdb.ontotext.com/documentation/"+o.productShortVersion}(e),o.isValidLocation=()=>(o.newLocation.uri.length<6||0===o.newLocation.uri.indexOf("http:")||0===o.newLocation.uri.indexOf("https:"))&&o.newLocation.uri.indexOf("/repositories")<=-1,o.ok=()=>{o.newLocation?n.close(o.newLocation):t.error(a.instant("location.cannot.be.empty.error"))},o.cancel=()=>{n.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",t),t.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[122],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[122],{174:function(e,c){function l(e,c){e.forceDelete=!1,e.ok=()=>{c.close(e.forceDelete)},e.cancel=()=>{c.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",l),l.$inject=["$scope","$uibModalInstance"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[123],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[123],{171:function(e,o){function s(e,o,s){const n=_.cloneDeep(s.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(o,s)=>{s.shouldRemove=!s.shouldRemove,s.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const s=e.clusterNodes.filter(e=>e.shouldRemove);o.close(s)},e.cancel=()=>{o.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",s),s.$inject=["$scope","$uibModalInstance","data"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{91:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[126],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[126],{170: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"]}}]);
|