rapidfireai 0.0.1__py3-none-any.whl → 0.9.9__py3-none-any.whl
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.
Potentially problematic release.
This version of rapidfireai might be problematic. Click here for more details.
- rapidfireai/__init__.py +11 -5
- rapidfireai/automl/__init__.py +20 -0
- rapidfireai/automl/base.py +48 -0
- rapidfireai/automl/datatypes.py +42 -0
- rapidfireai/automl/grid_search.py +125 -0
- rapidfireai/automl/model_config.py +102 -0
- rapidfireai/automl/random_search.py +145 -0
- rapidfireai/backend/__init__.py +0 -0
- rapidfireai/backend/chunks.py +63 -0
- rapidfireai/backend/controller.py +637 -0
- rapidfireai/backend/scheduler.py +137 -0
- rapidfireai/backend/worker.py +272 -0
- rapidfireai/cli.py +380 -0
- rapidfireai/db/__init__.py +0 -0
- rapidfireai/db/db_interface.py +135 -0
- rapidfireai/db/rf_db.py +694 -0
- rapidfireai/db/tables.sql +64 -0
- rapidfireai/dispatcher/dispatcher.py +391 -0
- rapidfireai/dispatcher/gunicorn.conf.py +25 -0
- rapidfireai/experiment.py +168 -0
- rapidfireai/frontend/build/asset-manifest.json +276 -0
- rapidfireai/frontend/build/favicon.ico +0 -0
- rapidfireai/frontend/build/index.html +1 -0
- rapidfireai/frontend/build/manifest.json +15 -0
- rapidfireai/frontend/build/pdf.worker.js +1 -0
- rapidfireai/frontend/build/report.html +39 -0
- rapidfireai/frontend/build/static/css/1482.3b7bf531.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/2730.3f8937ff.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/318.0def90a7.css +7 -0
- rapidfireai/frontend/build/static/css/4762.9b7b71f7.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/4950.487ecc8b.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/5170.2574ce9d.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6121.4d541986.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6343.dd6979f2.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6534.433c213f.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/6920.ffac4b2a.css +2 -0
- rapidfireai/frontend/build/static/css/7246.bf2f0c87.css +9 -0
- rapidfireai/frontend/build/static/css/7367.dd6979f2.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/8690.05d081e5.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/9531.d0910d3c.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/9780.363e4943.chunk.css +1 -0
- rapidfireai/frontend/build/static/css/main~d91a9049.c0be472c.css +1 -0
- rapidfireai/frontend/build/static/js/1000.e5ed264b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1012.ac98ab59.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1079.6c13ac0d.js +1 -0
- rapidfireai/frontend/build/static/js/110.9059f3b8.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1142.872d0010.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1167.9a6da14c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1248.60890b4f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1262.83dc7673.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/1273.56da3e13.chunk.js.LICENSE.txt +9 -0
- rapidfireai/frontend/build/static/js/1303.7d19305c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1351.45076ff3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1355.b896a592.js +1 -0
- rapidfireai/frontend/build/static/js/1357.02c46a02.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1470.c51d60c6.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1482.23b74f50.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1500.19799d8d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1648.d3b9edc7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1860.7d96e3f9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1909.5b1d9ff4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/1928.44245110.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/1928.44245110.chunk.js.LICENSE.txt +11 -0
- rapidfireai/frontend/build/static/js/1933.deba26ca.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/21.aac92802.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2103.0ca12071.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2258.b3b8fab4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2289.9ad51e87.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2323.7dd927d7.js +2 -0
- rapidfireai/frontend/build/static/js/2323.7dd927d7.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/2346.ed99ca72.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2386.0a660834.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2402.465048f9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/243.5a83bbca.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2589.68571e16.js +1 -0
- rapidfireai/frontend/build/static/js/2647.65092bab.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2691.65d4a4e7.js +1 -0
- rapidfireai/frontend/build/static/js/2730.b38dd6f3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2746.ef752da4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2779.580d4491.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2799.fe5993b2.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2844.9708db79.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/2901.ee0c606b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2932.7cc0689b.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/2956.a393c8cc.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2972.679bed05.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/2985.7e51cdfa.chunk.js.LICENSE.txt +51 -0
- rapidfireai/frontend/build/static/js/3093.488df653.js +1 -0
- rapidfireai/frontend/build/static/js/3145.66ee61b9.js +1 -0
- rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/3170.a22f966a.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/3307.f6fb258c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3325.d5b03d65.js +1 -0
- rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/3334.2d6704df.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/3387.bb8edad3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3448.438e6579.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3460.735eea87.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3505.7fd3921a.js +2 -0
- rapidfireai/frontend/build/static/js/3505.7fd3921a.js.LICENSE.txt +9 -0
- rapidfireai/frontend/build/static/js/3510.cd167a00.js +2 -0
- rapidfireai/frontend/build/static/js/3510.cd167a00.js.LICENSE.txt +18 -0
- rapidfireai/frontend/build/static/js/3563.cc828e19.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/359.08960b84.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/359.08960b84.chunk.js.LICENSE.txt +4 -0
- rapidfireai/frontend/build/static/js/3608.403b4b79.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3652.cb8add7f.js +1 -0
- rapidfireai/frontend/build/static/js/3775.5230b157.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3817.53555d18.js +2 -0
- rapidfireai/frontend/build/static/js/3817.53555d18.js.LICENSE.txt +18 -0
- rapidfireai/frontend/build/static/js/3835.d9946ff9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3964.874f0297.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3968.275cbc3d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/3999.765cbd82.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4020.4452c046.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4138.2f6f6d9f.js +1 -0
- rapidfireai/frontend/build/static/js/4160.f424554c.js +1 -0
- rapidfireai/frontend/build/static/js/4180.50cea095.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4221.b0bba3f5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4250.5bb49278.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4297.15777d8f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4349.c965f2de.js +2 -0
- rapidfireai/frontend/build/static/js/4349.c965f2de.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js +2 -0
- rapidfireai/frontend/build/static/js/4484.4cbe5e7f.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/4578.a8124588.js +1 -0
- rapidfireai/frontend/build/static/js/4596.89a97480.js +1 -0
- rapidfireai/frontend/build/static/js/4748.566f435a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4762.928e8a90.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4768.7945be63.js +2 -0
- rapidfireai/frontend/build/static/js/4768.7945be63.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/4804.26b50dd4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4850.62390a45.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4862.a0ccb221.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/491.5dc8ed40.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/492.9262f038.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/492.9262f038.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/4943.6d345fd3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/4950.bc182e62.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5042.d4f0c65a.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/5170.0065e96f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5222.35c74a52.js +2 -0
- rapidfireai/frontend/build/static/js/5222.35c74a52.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5223.3224f019.chunk.js.LICENSE.txt +3 -0
- rapidfireai/frontend/build/static/js/5229.7dd42316.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5286.4c1ad26b.js +1 -0
- rapidfireai/frontend/build/static/js/5486.21cff711.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5526.7b368956.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5605.1ee4d87b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5682.40b42d8b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5794.9433d867.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/5826.38a56e8c.chunk.js.LICENSE.txt +1 -0
- rapidfireai/frontend/build/static/js/5862.50f42a0b.js +1 -0
- rapidfireai/frontend/build/static/js/5895.e26742f1.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/5919.edd4a5cf.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/598.a0e792ae.js +1 -0
- rapidfireai/frontend/build/static/js/6058.74162bf9.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/618.06051134.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/618.06051134.chunk.js.LICENSE.txt +21 -0
- rapidfireai/frontend/build/static/js/6335.9fca442d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6336.e05e1154.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6343.2bcd28ff.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6363.a319b8f2.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6478.344abf25.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6504.1c004564.js +1 -0
- rapidfireai/frontend/build/static/js/6534.ec7e149b.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6715.55a5c19c.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6756.e6cb993c.chunk.js.LICENSE.txt +10 -0
- rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6762.acfde9fd.chunk.js.LICENSE.txt +19 -0
- rapidfireai/frontend/build/static/js/6846.67103d0e.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6861.34cf0198.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/6899.0eaf36a8.chunk.js.LICENSE.txt +5 -0
- rapidfireai/frontend/build/static/js/6933.8b564944.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/699.d0437920.js +1 -0
- rapidfireai/frontend/build/static/js/7076.4182f63a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7186.42ad86d5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7248.a46635fd.js +1 -0
- rapidfireai/frontend/build/static/js/725.6b15a14a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7266.3575539d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7270.0a1e84fc.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7367.7120474f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7436.8e226055.js +1 -0
- rapidfireai/frontend/build/static/js/7504.ef223844.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7603.ee049fe3.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7670.2835b49a.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7721.7390b3cc.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7731.5796cced.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/775.660a5deb.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/7832.7976a3e4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7844.72cc2e81.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/7948.48eab032.js +1 -0
- rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/7972.085079d4.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8017.a9e7dc5a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8023.75f1f3df.js +2 -0
- rapidfireai/frontend/build/static/js/8023.75f1f3df.js.LICENSE.txt +41 -0
- rapidfireai/frontend/build/static/js/8123.b69db974.js +1 -0
- rapidfireai/frontend/build/static/js/813.065a87e5.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/819.2056f122.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/819.2056f122.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8262.04bc17d1.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8300.75adcc4f.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8336.b1d3e764.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8365.26cf64ea.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8398.8bca8e0e.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/847.33ceed50.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8486.8ec852a7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8497.19378265.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8541.4c55c9f4.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8690.e305a804.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8712.a9445fe6.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8763.61761e08.js +1 -0
- rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8823.baf9bffd.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/8867.767462b7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8953.c0f88dea.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/8960.357cb1eb.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9.f4492795.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9.f4492795.chunk.js.LICENSE.txt +12 -0
- rapidfireai/frontend/build/static/js/9079.88a8d2a3.js +1 -0
- rapidfireai/frontend/build/static/js/9082.37c40520.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9133.90ae330d.js +2 -0
- rapidfireai/frontend/build/static/js/9133.90ae330d.js.LICENSE.txt +8 -0
- rapidfireai/frontend/build/static/js/9151.1ac359d5.js +2 -0
- rapidfireai/frontend/build/static/js/9151.1ac359d5.js.LICENSE.txt +8 -0
- rapidfireai/frontend/build/static/js/9168.027bf2fd.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9194.9c5cc548.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9244.026f4aee.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/936.2e02d037.js +2 -0
- rapidfireai/frontend/build/static/js/936.2e02d037.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9369.7d1a0a1d.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9427.7c8442e7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/944.55948859.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9499.c53a82da.js +2 -0
- rapidfireai/frontend/build/static/js/9499.c53a82da.js.LICENSE.txt +62 -0
- rapidfireai/frontend/build/static/js/9531.3ce05781.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9547.92fac952.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9620.b6e973a7.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9645.6fddfa65.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9669.d38dda6d.js +1 -0
- rapidfireai/frontend/build/static/js/9682.41b6b807.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9720.19d5ae76.chunk.js.LICENSE.txt +23 -0
- rapidfireai/frontend/build/static/js/9723.d3c7fe9e.js +1 -0
- rapidfireai/frontend/build/static/js/9780.02a27630.chunk.js +10 -0
- rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js +2 -0
- rapidfireai/frontend/build/static/js/9808.d0ca9674.chunk.js.LICENSE.txt +6 -0
- rapidfireai/frontend/build/static/js/9815.b8db3c5d.js +1 -0
- rapidfireai/frontend/build/static/js/9886.2940b53a.chunk.js +1 -0
- rapidfireai/frontend/build/static/js/main~1f912138.fa9d03b1.js +1 -0
- rapidfireai/frontend/build/static/js/main~43dd7041.2e00860d.js +1 -0
- rapidfireai/frontend/build/static/js/main~84781932.68deffff.js +1 -0
- rapidfireai/frontend/build/static/media/404-overflow.fad9a31861b0afba6f921ebb8e769688.svg +32 -0
- rapidfireai/frontend/build/static/media/RapidFire_Square_Bug.27ceb48296314a4bc0d4.png +0 -0
- rapidfireai/frontend/build/static/media/chart-bar.0fd4a63680fba840a7b69fbf07969f79.svg +7 -0
- rapidfireai/frontend/build/static/media/chart-contour.0d4b306f2669f3ad25375568935e3ce3.svg +5 -0
- rapidfireai/frontend/build/static/media/chart-difference.16174216d6f3b7c24f40e3541fe0ca2c.svg +20 -0
- rapidfireai/frontend/build/static/media/chart-image.cc434c4dc50780966344e2385a15f8fe.svg +6 -0
- rapidfireai/frontend/build/static/media/chart-line.0adaa2036bb4eb5956db6d0c7e925a3d.svg +4 -0
- rapidfireai/frontend/build/static/media/chart-parallel.da7dedf539b2af4b654d377c679173e4.svg +7 -0
- rapidfireai/frontend/build/static/media/chart-scatter.69118d0023a6ff3973f7fa913834ac47.svg +9 -0
- rapidfireai/frontend/build/static/media/default-error.f246ddf367c6fbd67942e5a13382a7f1.svg +26 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.1e59d2330b4c6deb84b3.ttf +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.20fd1704ea223900efa9.woff2 +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.8b43027f47b20503057d.eot +0 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.c1e38fd9e0e74ba58f7a.svg +2671 -0
- rapidfireai/frontend/build/static/media/fontawesome-webfont.f691f37e57f04c152e23.woff +0 -0
- rapidfireai/frontend/build/static/media/icon-visible-fill.8d34cd35303828fdfc15154f5536e63b.svg +7 -0
- rapidfireai/frontend/build/static/media/no-experiments.0e4f4a114ef73e7d81c09474aba64b6c.svg +22 -0
- rapidfireai/frontend/build/static/media/parallel-chart-placeholder.234ef0c5b220ef2a5a6fa5bafff173f7.svg +16 -0
- rapidfireai/frontend/build/static/media/permission-denied-lock.16036747d57cd663d7df223781a447b2.svg +14 -0
- rapidfireai/frontend/build/static/media/promo-modal-content.e3b2c6c568ac192b9bec54b838b54850.svg +30 -0
- rapidfireai/frontend/build/static/media/registered-model-grey-ok.8274b58d39504c8d1b8c358aa1c9aa35.svg +23 -0
- rapidfireai/frontend/build/static/media/warning.290a3b14118933547965e91ea61c5a61.svg +3 -0
- rapidfireai/frontend/proxy_middleware.py +233 -0
- rapidfireai/frontend/server.py +25 -0
- rapidfireai/ml/__init__.py +0 -0
- rapidfireai/ml/callbacks.py +176 -0
- rapidfireai/ml/checkpoint_utils.py +540 -0
- rapidfireai/ml/trainer.py +309 -0
- rapidfireai/start.sh +634 -0
- rapidfireai/utils/__init__.py +0 -0
- rapidfireai/utils/automl_utils.py +51 -0
- rapidfireai/utils/constants.py +141 -0
- rapidfireai/utils/datapaths.py +69 -0
- rapidfireai/utils/exceptions.py +82 -0
- rapidfireai/utils/experiment_utils.py +370 -0
- rapidfireai/utils/logging.py +87 -0
- rapidfireai/utils/mlflow_manager.py +121 -0
- rapidfireai/utils/serialize.py +15 -0
- rapidfireai/utils/shm_manager.py +469 -0
- rapidfireai/utils/trainer_config.py +23 -0
- rapidfireai/utils/worker_manager.py +219 -0
- rapidfireai/version.py +6 -0
- rapidfireai-0.9.9.dist-info/METADATA +242 -0
- rapidfireai-0.9.9.dist-info/RECORD +318 -0
- rapidfireai-0.9.9.dist-info/entry_points.txt +2 -0
- rapidfireai-0.0.1.dist-info/METADATA +0 -37
- rapidfireai-0.0.1.dist-info/RECORD +0 -6
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.9.dist-info}/WHEEL +0 -0
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.9.dist-info}/licenses/LICENSE +0 -0
- {rapidfireai-0.0.1.dist-info → rapidfireai-0.9.9.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @licstart The following is the entire license notice for the
|
|
3
|
+
* Javascript code in this page
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2018 Mozilla Foundation
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* @licend The above is the entire license notice for the
|
|
20
|
+
* Javascript code in this page
|
|
21
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3307],{68375:function(e,t,o){o.d(t,{B8:function(){return m}});var i=o(7243),r=o(29765),l=o.n(r),n=o(88249),s=o.n(n),a=o(93508),d=o(42906),c=o(98337),h=o(39532),u=o(50560),f=o(31014),p=o(87483),_=function(e){function t(){var e,o,i,r;(0,a.default)(this,t);for(var n=arguments.length,d=Array(n),h=0;h<n;h++)d[h]=arguments[h];return o=i=(0,c.default)(this,(e=t.__proto__||s()(t)).call.apply(e,[this].concat(d))),i._cellRenderer=function(e){var t=e.parent,o=e.rowIndex,r=e.style,n=e.isScrolling,s=e.isVisible,a=e.key,d=i.props.rowRenderer;return l()(r,"width").writable&&(r.width="100%"),d({index:o,style:r,isScrolling:n,isVisible:s,key:a,parent:t})},i._setRef=function(e){i.Grid=e},i._onScroll=function(e){var t=e.clientHeight,o=e.scrollHeight,r=e.scrollTop;(0,i.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:r})},i._onSectionRendered=function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,r=e.rowStartIndex,l=e.rowStopIndex;(0,i.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:r,stopIndex:l})},r=o,(0,c.default)(i,r)}return(0,h.default)(t,e),(0,d.default)(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,i=e.rowIndex,r=void 0===i?0:i;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,columnIndex:o})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.noRowsRenderer,r=e.scrollToIndex,l=e.width,n=(0,p.default)("ReactVirtualized__List",t);return f.createElement(u.Ay,(0,i.default)({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:n,columnWidth:l,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),t}(f.PureComponent);_.defaultProps={autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:u.kc,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}},_.propTypes=null;var m=_},41894:function(e,t,o){var i=o(7243),r=o(83614),l=o(88249),n=o.n(l),s=o(93508),a=o(42906),d=o(98337),c=o(39532),h=o(87483),u=o(31014),f=o(58843),p=o(20062),_=o(77583),m=function(){function e(){(0,s.default)(this,e),this._columnSizeMap={},this._intervalTree=(0,_.A)(),this._leftMap={}}return(0,a.default)(e,[{key:"estimateTotalHeight",value:function(e,t,o){var i=e-this.count;return this.tallestColumnSize+Math.ceil(i/t)*o}},{key:"range",value:function(e,t,o){var i=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=(0,p.A)(e,3),r=t[0],l=(t[1],t[2]);return o(l,i._leftMap[l],r)}))}},{key:"setPosition",value:function(e,t,o,i){this._intervalTree.insert([o,o+i,e]),this._leftMap[e]=t;var r=this._columnSizeMap,l=r[t];r[t]=void 0===l?o+i:Math.max(l,o+i)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var i=e[o];t=0===t?i:Math.min(t,i)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var o in e){var i=e[o];t=Math.max(t,i)}return t}}]),e}(),v=o(68388),g=function(e){function t(){var e,o,i,r;(0,s.default)(this,t);for(var l=arguments.length,a=Array(l),c=0;c<l;c++)a[c]=arguments[c];return o=i=(0,d.default)(this,(e=t.__proto__||n()(t)).call.apply(e,[this].concat(a))),i.state={isScrolling:!1,scrollTop:0},i._invalidateOnUpdateStartIndex=null,i._invalidateOnUpdateStopIndex=null,i._positionCache=new m,i._startIndex=null,i._startIndexMemoized=null,i._stopIndex=null,i._stopIndexMemoized=null,i._debounceResetIsScrollingCallback=function(){i.setState({isScrolling:!1})},i._setScrollingContainerRef=function(e){i._scrollingContainer=e},i._onScroll=function(e){var t=i.props.height,o=e.currentTarget.scrollTop,r=Math.min(Math.max(0,i._getEstimatedTotalHeight()-t),o);o===r&&(i._debounceResetIsScrolling(),i.state.scrollTop!==r&&i.setState({isScrolling:!0,scrollTop:r}))},r=o,(0,d.default)(i,r)}return(0,c.default)(t,e),(0,a.default)(t,[{key:"clearCellPositions",value:function(){this._positionCache=new m,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new m,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&(0,v.qp)(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e=this,t=this.props,o=t.autoHeight,l=t.cellCount,n=t.cellMeasurerCache,s=t.cellRenderer,a=t.className,d=t.height,c=t.id,f=t.keyMapper,p=t.overscanByPixels,_=t.role,m=t.style,v=t.tabIndex,g=t.width,w=t.rowDirection,R=this.state,y=R.isScrolling,S=R.scrollTop,x=[],C=this._getEstimatedTotalHeight(),I=this._positionCache.shortestColumnSize,G=this._positionCache.count,b=0,T=void 0;if(this._positionCache.range(Math.max(0,S-p),d+2*p,(function(t,o,i){var l;"undefined"===typeof T?(b=t,T=t):(b=Math.min(b,t),T=Math.max(T,t)),x.push(s({index:t,isScrolling:y,key:f(t),parent:e,style:(l={height:n.getHeight(t)},(0,r.A)(l,"ltr"===w?"left":"right",o),(0,r.A)(l,"position","absolute"),(0,r.A)(l,"top",i),(0,r.A)(l,"width",n.getWidth(t)),l)}))})),I<S+d+p&&G<l)for(var k=Math.min(l-G,Math.ceil((S+d+p-I)/n.defaultHeight*g/n.defaultWidth)),L=G;L<G+k;L++)T=L,x.push(s({index:L,isScrolling:y,key:f(L),parent:this,style:{width:n.getWidth(L)}}));return this._startIndex=b,this._stopIndex=T,u.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,h.default)("ReactVirtualized__Masonry",a),id:c,onScroll:this._onScroll,role:_,style:(0,i.default)({boxSizing:"border-box",direction:"ltr",height:o?"auto":d,overflowX:"hidden",overflowY:C<d?"hidden":"auto",position:"relative",width:g,WebkitOverflowScrolling:"touch",willChange:"transform"},m),tabIndex:v},u.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:C,maxWidth:"100%",maxHeight:C,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"}},x))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"===typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&(0,v.qp)(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=(0,v.zW)(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,o=e.cellMeasurerCache,i=e.width,r=Math.max(1,Math.floor(i/o.defaultWidth));return this._positionCache.estimateTotalHeight(t,r,o.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,o=e.onScroll,i=this.state.scrollTop;this._onScrollMemoized!==i&&(o({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:i}),this._onScrollMemoized=i)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var o=this.props,i=o.cellMeasurerCache,r=o.cellPositioner,l=e;l<=t;l++){var n=r(l),s=n.left,a=n.top;this._positionCache.setPosition(l,s,a,i.getHeight(l))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}]),t}(u.PureComponent);function w(){}g.defaultProps={autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:w,onScroll:w,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"},g.propTypes=null;(0,f.polyfill)(g)},61962:function(e,t,o){var i=o(7243),r=o(87270),l=o(88249),n=o.n(l),s=o(93508),a=o(42906),d=o(98337),c=o(39532),h=o(31014),u=o(58843),f=(o(88335),function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)(this,e),this.columnWidth=function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})},this.rowHeight=function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})};var i=o.cellMeasurerCache,r=o.columnIndexOffset,l=void 0===r?0:r,n=o.rowIndexOffset,a=void 0===n?0:n;this._cellMeasurerCache=i,this._columnIndexOffset=l,this._rowIndexOffset=a}return(0,a.default)(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,o,i){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,o,i)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}()),p=f,_=o(50560),m=function(e){function t(e,o){(0,s.default)(this,t);var i=(0,d.default)(this,(t.__proto__||n()(t)).call(this,e,o));v.call(i);var r=e.deferredMeasurementCache,l=e.fixedColumnCount,a=e.fixedRowCount;return i._maybeCalculateCachedStyles(!0),r&&(i._deferredMeasurementCacheBottomLeftGrid=a>0?new p({cellMeasurerCache:r,columnIndexOffset:0,rowIndexOffset:a}):r,i._deferredMeasurementCacheBottomRightGrid=l>0||a>0?new p({cellMeasurerCache:r,columnIndexOffset:l,rowIndexOffset:a}):r,i._deferredMeasurementCacheTopRightGrid=l>0?new p({cellMeasurerCache:r,columnIndexOffset:l,rowIndexOffset:0}):r),i}return(0,c.default)(t,e),(0,a.default)(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,i=e.rowIndex,r=void 0===i?0:i;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,o):o,this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,i=e.rowIndex,r=void 0===i?0:i,l=this.props,n=l.fixedColumnCount,s=l.fixedRowCount,a=Math.max(0,o-n),d=Math.max(0,r-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:d}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:a,rowIndex:d}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:o,rowIndex:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,o=e.scrollTop;if(t>0||o>0){var i={};t>0&&(i.scrollLeft=t),o>0&&(i.scrollTop=o),this.setState(i)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,o=e.onSectionRendered,l=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),n=(e.scrollTop,e.scrollToRow),s=(0,r.default)(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var a=this.state,d=a.scrollLeft,c=a.scrollTop;return h.createElement("div",{style:this._containerOuterStyle},h.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(s),this._renderTopRightGrid((0,i.default)({},s,{onScroll:t,scrollLeft:d}))),h.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid((0,i.default)({},s,{onScroll:t,scrollTop:c})),this._renderBottomRightGrid((0,i.default)({},s,{onScroll:t,onSectionRendered:o,scrollLeft:d,scrollToColumn:l,scrollToRow:n,scrollTop:c}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,o=e.columnWidth;if(null==this._leftGridWidth)if("function"===typeof o){for(var i=0,r=0;r<t;r++)i+=o({index:r});this._leftGridWidth=i}else this._leftGridWidth=o*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,o=e.rowHeight;if(null==this._topGridHeight)if("function"===typeof o){for(var i=0,r=0;r<t;r++)i+=o({index:r});this._topGridHeight=i}else this._topGridHeight=o*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"===typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,o=t.columnWidth,r=t.enableFixedColumnScroll,l=t.enableFixedRowScroll,n=t.height,s=t.fixedColumnCount,a=t.fixedRowCount,d=t.rowHeight,c=t.style,h=t.styleBottomLeftGrid,u=t.styleBottomRightGrid,f=t.styleTopLeftGrid,p=t.styleTopRightGrid,_=t.width,m=e||n!==this._lastRenderedHeight||_!==this._lastRenderedWidth,v=e||o!==this._lastRenderedColumnWidth||s!==this._lastRenderedFixedColumnCount,g=e||a!==this._lastRenderedFixedRowCount||d!==this._lastRenderedRowHeight;(e||m||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=(0,i.default)({height:n,overflow:"visible",width:_},c)),(e||m||g)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:_},this._containerBottomStyle={height:n-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:_}),(e||h!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=(0,i.default)({left:0,overflowX:"hidden",overflowY:r?"auto":"hidden",position:"absolute"},h)),(e||v||u!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=(0,i.default)({left:this._getLeftGridWidth(this.props),position:"absolute"},u)),(e||f!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=(0,i.default)({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},f)),(e||v||p!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=(0,i.default)({left:this._getLeftGridWidth(this.props),overflowX:l?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},p)),this._lastRenderedColumnWidth=o,this._lastRenderedFixedColumnCount=s,this._lastRenderedFixedRowCount=a,this._lastRenderedHeight=n,this._lastRenderedRowHeight=d,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=h,this._lastRenderedStyleBottomRightGrid=u,this._lastRenderedStyleTopLeftGrid=f,this._lastRenderedStyleTopRightGrid=p,this._lastRenderedWidth=_}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,o=e.fixedColumnCount,r=e.fixedRowCount,l=e.rowCount,n=e.hideBottomLeftGridScrollbar,s=this.state.showVerticalScrollbar;if(!o)return null;var a=s?1:0,d=this._getBottomGridHeight(e),c=this._getLeftGridWidth(e),u=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,f=n?c+u:c,p=h.createElement(_.Ay,(0,i.default)({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:o,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:d,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,l-r)+a,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:f}));return n?h.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:(0,i.default)({},this._bottomLeftGridStyle,{height:d,width:c,overflowY:"hidden"})},p):p}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,o=e.fixedColumnCount,r=e.fixedRowCount,l=e.rowCount,n=e.scrollToColumn,s=e.scrollToRow;return h.createElement(_.Ay,(0,i.default)({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-o),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,l-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:n-o,scrollToRow:s-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,o=e.fixedRowCount;return t&&o?h.createElement(_.Ay,(0,i.default)({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:o,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,o=e.enableFixedRowScroll,r=e.fixedColumnCount,l=e.fixedRowCount,n=e.scrollLeft,s=e.hideTopRightGridScrollbar,a=this.state,d=a.showHorizontalScrollbar,c=a.scrollbarSize;if(!l)return null;var u=d?1:0,f=this._getTopGridHeight(e),p=this._getRightGridWidth(e),m=d?c:0,v=f,g=this._topRightGridStyle;s&&(v=f+m,g=(0,i.default)({},this._topRightGridStyle,{left:0}));var w=h.createElement(_.Ay,(0,i.default)({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-r)+u,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:v,onScroll:o?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:l,scrollLeft:n,style:g,tabIndex:null,width:p}));return s?h.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:(0,i.default)({},this._topRightGridStyle,{height:f,width:p,overflowX:"hidden"})},w):w}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(h.PureComponent);m.defaultProps={classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1};var v=function(){var e=this;this.state={scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1},this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this._bottomLeftGridRef=function(t){e._bottomLeftGrid=t},this._bottomRightGridRef=function(t){e._bottomRightGrid=t},this._cellRendererBottomLeftGrid=function(t){var o=t.rowIndex,l=(0,r.default)(t,["rowIndex"]),n=e.props,s=n.cellRenderer,a=n.fixedRowCount;return o===n.rowCount-a?h.createElement("div",{key:l.key,style:(0,i.default)({},l.style,{height:20})}):s((0,i.default)({},l,{parent:e,rowIndex:o+a}))},this._cellRendererBottomRightGrid=function(t){var o=t.columnIndex,l=t.rowIndex,n=(0,r.default)(t,["columnIndex","rowIndex"]),s=e.props,a=s.cellRenderer,d=s.fixedColumnCount,c=s.fixedRowCount;return a((0,i.default)({},n,{columnIndex:o+d,parent:e,rowIndex:l+c}))},this._cellRendererTopRightGrid=function(t){var o=t.columnIndex,l=(0,r.default)(t,["columnIndex"]),n=e.props,s=n.cellRenderer,a=n.columnCount,d=n.fixedColumnCount;return o===a-d?h.createElement("div",{key:l.key,style:(0,i.default)({},l.style,{width:20})}):s((0,i.default)({},l,{columnIndex:o+d,parent:e}))},this._columnWidthRightGrid=function(t){var o=t.index,i=e.props,r=i.columnCount,l=i.fixedColumnCount,n=i.columnWidth,s=e.state,a=s.scrollbarSize;return s.showHorizontalScrollbar&&o===r-l?a:"function"===typeof n?n({index:o+l}):n},this._onScroll=function(t){var o=t.scrollLeft,i=t.scrollTop;e.setState({scrollLeft:o,scrollTop:i});var r=e.props.onScroll;r&&r(t)},this._onScrollbarPresenceChange=function(t){var o=t.horizontal,i=t.size,r=t.vertical,l=e.state,n=l.showHorizontalScrollbar,s=l.showVerticalScrollbar;if(o!==n||r!==s){e.setState({scrollbarSize:i,showHorizontalScrollbar:o,showVerticalScrollbar:r});var a=e.props.onScrollbarPresenceChange;"function"===typeof a&&a({horizontal:o,size:i,vertical:r})}},this._onScrollLeft=function(t){var o=t.scrollLeft;e._onScroll({scrollLeft:o,scrollTop:e.state.scrollTop})},this._onScrollTop=function(t){var o=t.scrollTop;e._onScroll({scrollTop:o,scrollLeft:e.state.scrollLeft})},this._rowHeightBottomGrid=function(t){var o=t.index,i=e.props,r=i.fixedRowCount,l=i.rowCount,n=i.rowHeight,s=e.state,a=s.scrollbarSize;return s.showVerticalScrollbar&&o===l-r?a:"function"===typeof n?n({index:o+r}):n},this._topLeftGridRef=function(t){e._topLeftGrid=t},this._topRightGridRef=function(t){e._topRightGrid=t}};m.propTypes={},(0,u.polyfill)(m)},61500:function(e,t,o){var i=o(88249),r=o.n(i),l=o(93508),n=o(42906),s=o(98337),a=o(39532),d=function(e){function t(e,o){(0,l.default)(this,t);var i=(0,s.default)(this,(t.__proto__||r()(t)).call(this,e,o));return i.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},i._onScroll=i._onScroll.bind(i),i}return(0,a.default)(t,e),(0,n.default)(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,i=t.clientWidth,r=t.scrollHeight,l=t.scrollLeft,n=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:i,onScroll:this._onScroll,scrollHeight:r,scrollLeft:l,scrollTop:n,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,i=e.scrollHeight,r=e.scrollLeft,l=e.scrollTop,n=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:i,scrollLeft:r,scrollTop:l,scrollWidth:n})}}]),t}(o(31014).PureComponent);d.propTypes={}},46294:function(e,t,o){o(48446);var i=o(31014);function r(e){var t=e.className,o=e.columns,r=e.style;return i.createElement("div",{className:t,role:"row",style:r},o)}r.propTypes=null;var l=o(87483),n={ASC:"ASC",DESC:"DESC"};function s(e){var t=e.sortDirection,o=(0,l.default)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===n.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===n.DESC});return i.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===n.ASC?i.createElement("path",{d:"M7 14l5-5 5 5z"}):i.createElement("path",{d:"M7 10l5 5 5-5z"}),i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function a(e){var t=e.dataKey,o=e.label,r=e.sortBy,l=e.sortDirection,n=r===t,a=[i.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"===typeof o?o:null},o)];return n&&a.push(i.createElement(s,{key:"SortIndicator",sortDirection:l})),a}s.propTypes={},a.propTypes=null;var d=o(7243);function c(e){var t=e.className,o=e.columns,r=e.index,l=e.key,n=e.onRowClick,s=e.onRowDoubleClick,a=e.onRowMouseOut,c=e.onRowMouseOver,h=e.onRowRightClick,u=e.rowData,f=e.style,p={"aria-rowindex":r+1};return(n||s||a||c||h)&&(p["aria-label"]="row",p.tabIndex=0,n&&(p.onClick=function(e){return n({event:e,index:r,rowData:u})}),s&&(p.onDoubleClick=function(e){return s({event:e,index:r,rowData:u})}),a&&(p.onMouseOut=function(e){return a({event:e,index:r,rowData:u})}),c&&(p.onMouseOver=function(e){return c({event:e,index:r,rowData:u})}),h&&(p.onContextMenu=function(e){return h({event:e,index:r,rowData:u})})),i.createElement("div",(0,d.default)({},p,{className:t,key:l,role:"row",style:f}),o)}c.propTypes=null;var h=o(88249),u=o.n(h),f=o(93508),p=o(98337),_=o(39532),m=function(e){function t(){return(0,f.default)(this,t),(0,p.default)(this,(t.__proto__||u()(t)).apply(this,arguments))}return(0,_.default)(t,e),t}(i.Component);m.defaultProps={cellDataGetter:function(e){var t=e.dataKey,o=e.rowData;return"function"===typeof o.get?o.get(t):o[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:n.ASC,flexGrow:0,flexShrink:1,headerRenderer:a,style:{}};m.propTypes={};var v=o(42906),g=o(21751),w=o(50560),R=function(e){function t(e){(0,f.default)(this,t);var o=(0,p.default)(this,(t.__proto__||u()(t)).call(this,e));return o.state={scrollbarWidth:0},o._createColumn=o._createColumn.bind(o),o._createRow=o._createRow.bind(o),o._onScroll=o._onScroll.bind(o),o._onSectionRendered=o._onSectionRendered.bind(o),o._setRef=o._setRef.bind(o),o}return(0,_.default)(t,e),(0,v.default)(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,o=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:o}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,o=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:o,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,i=e.rowIndex,r=void 0===i?0:i;this.Grid&&this.Grid.recomputeGridSize({rowIndex:r,columnIndex:o})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=(0,g.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,o=t.children,r=t.className,n=t.disableHeader,s=t.gridClassName,a=t.gridStyle,c=t.headerHeight,h=t.headerRowRenderer,u=t.height,f=t.id,p=t.noRowsRenderer,_=t.rowClassName,m=t.rowStyle,v=t.scrollToIndex,g=t.style,R=t.width,y=this.state.scrollbarWidth,S=n?u:u-c,x="function"===typeof _?_({index:-1}):_,C="function"===typeof m?m({index:-1}):m;return this._cachedColumnStyles=[],i.Children.toArray(o).forEach((function(t,o){var i=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=(0,d.default)({overflow:"hidden"},i)})),i.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":i.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:(0,l.default)("ReactVirtualized__Table",r),id:f,role:"grid",style:g},!n&&h({className:(0,l.default)("ReactVirtualized__Table__headerRow",x),columns:this._getHeaderColumns(),style:(0,d.default)({height:c,overflow:"hidden",paddingRight:y,width:R},C)}),i.createElement(w.Ay,(0,d.default)({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:(0,l.default)("ReactVirtualized__Table__Grid",s),cellRenderer:this._createRow,columnWidth:R,columnCount:1,height:S,id:void 0,noContentRenderer:p,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y,scrollToRow:v,style:(0,d.default)({},a,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,r=e.isScrolling,n=e.parent,s=e.rowData,a=e.rowIndex,d=this.props.onColumnClick,c=t.props,h=c.cellDataGetter,u=c.cellRenderer,f=c.className,p=c.columnData,_=c.dataKey,m=c.id,v=u({cellData:h({columnData:p,dataKey:_,rowData:s}),columnData:p,columnIndex:o,dataKey:_,isScrolling:r,parent:n,rowData:s,rowIndex:a}),g=this._cachedColumnStyles[o],w="string"===typeof v?v:null;return i.createElement("div",{"aria-colindex":o+1,"aria-describedby":m,className:(0,l.default)("ReactVirtualized__Table__rowColumn",f),key:"Row"+a+"-Col"+o,onClick:function(e){d&&d({columnData:p,dataKey:_,event:e})},role:"gridcell",style:g,title:w},v)}},{key:"_createHeader",value:function(e){var t=e.column,o=e.index,r=this.props,s=r.headerClassName,a=r.headerStyle,c=r.onHeaderClick,h=r.sort,u=r.sortBy,f=r.sortDirection,p=t.props,_=p.columnData,m=p.dataKey,v=p.defaultSortDirection,g=p.disableSort,w=p.headerRenderer,R=p.id,y=p.label,S=!g&&h,x=(0,l.default)("ReactVirtualized__Table__headerColumn",s,t.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:S}),C=this._getFlexStyleForColumn(t,(0,d.default)({},a,t.props.headerStyle)),I=w({columnData:_,dataKey:m,disableSort:g,label:y,sortBy:u,sortDirection:f}),G=void 0,b=void 0,T=void 0,k=void 0,L=void 0;if(S||c){var H=u!==m?v:f===n.DESC?n.ASC:n.DESC,M=function(e){S&&h({defaultSortDirection:v,event:e,sortBy:m,sortDirection:H}),c&&c({columnData:_,dataKey:m,event:e})};L=t.props["aria-label"]||y||m,k="none",T=0,G=M,b=function(e){"Enter"!==e.key&&" "!==e.key||M(e)}}return u===m&&(k=f===n.ASC?"ascending":"descending"),i.createElement("div",{"aria-label":L,"aria-sort":k,className:x,id:R,key:"Header-Col"+o,onClick:G,onKeyDown:b,role:"columnheader",style:C,tabIndex:T},I)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,r=e.isScrolling,n=e.key,s=e.parent,a=e.style,c=this.props,h=c.children,u=c.onRowClick,f=c.onRowDoubleClick,p=c.onRowRightClick,_=c.onRowMouseOver,m=c.onRowMouseOut,v=c.rowClassName,g=c.rowGetter,w=c.rowRenderer,R=c.rowStyle,y=this.state.scrollbarWidth,S="function"===typeof v?v({index:o}):v,x="function"===typeof R?R({index:o}):R,C=g({index:o}),I=i.Children.toArray(h).map((function(e,i){return t._createColumn({column:e,columnIndex:i,isScrolling:r,parent:s,rowData:C,rowIndex:o,scrollbarWidth:y})})),G=(0,l.default)("ReactVirtualized__Table__row",S),b=(0,d.default)({},a,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:y},x);return w({className:G,columns:I,index:o,isScrolling:r,key:n,onRowClick:u,onRowDoubleClick:f,onRowRightClick:p,onRowMouseOver:_,onRowMouseOut:m,rowData:C,style:b})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.props.flexGrow+" "+e.props.flexShrink+" "+e.props.width+"px",i=(0,d.default)({},t,{flex:o,msFlex:o,WebkitFlex:o});return e.props.maxWidth&&(i.maxWidth=e.props.maxWidth),e.props.minWidth&&(i.minWidth=e.props.minWidth),i}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,o=t.children;return(t.disableHeader?[]:i.Children.toArray(o)).map((function(t,o){return e._createHeader({column:t,index:o})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"===typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.scrollHeight,i=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:o,scrollTop:i})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,o=e.rowOverscanStopIndex,i=e.rowStartIndex,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:i,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(i.PureComponent);R.defaultProps={disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:w.kc,overscanRowCount:10,rowRenderer:c,headerRowRenderer:r,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}};R.propTypes={}},44595:function(e,t,o){var i=o(7243),r=o(88249),l=o.n(r),n=o(93508),s=o(42906),a=o(98337),d=o(39532),c=o(31014),h=o(21751),u=o(68388),f=[],p=null,_=null;function m(){_&&(_=null,document.body&&null!=p&&(document.body.style.pointerEvents=p),p=null)}function v(){m(),f.forEach((function(e){return e.__resetIsScrolling()}))}function g(e){e.currentTarget===window&&null==p&&document.body&&(p=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){_&&(0,u.qp)(_);var e=0;f.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),_=(0,u.zW)(v,e)}(),f.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function w(e,t){f.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",g),f.push(e)}function R(e,t){(f=f.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",g),_&&((0,u.qp)(_),m()))}var y=function(e){return e===window},S=function(e){return e.getBoundingClientRect()};function x(e,t){if(e){if(y(e)){var o=window,i=o.innerHeight,r=o.innerWidth;return{height:"number"===typeof i?i:0,width:"number"===typeof r?r:0}}return S(e)}return{height:t.serverHeight,width:t.serverWidth}}function C(e){return y(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var I=o(26026),G=function(){return"undefined"!==typeof window?window:void 0},b=function(e){function t(){var e,o,r,s;(0,n.default)(this,t);for(var d=arguments.length,c=Array(d),h=0;h<d;h++)c[h]=arguments[h];return o=r=(0,a.default)(this,(e=t.__proto__||l()(t)).call.apply(e,[this].concat(c))),r._window=G(),r._isMounted=!1,r._positionFromTop=0,r._positionFromLeft=0,r.state=(0,i.default)({},x(r.props.scrollElement,r.props),{isScrolling:!1,scrollLeft:0,scrollTop:0}),r._registerChild=function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),r._child=e,r.updatePosition()},r._onChildScroll=function(e){var t=e.scrollTop;if(r.state.scrollTop!==t){var o=r.props.scrollElement;o&&("function"===typeof o.scrollTo?o.scrollTo(0,t+r._positionFromTop):o.scrollTop=t+r._positionFromTop)}},r._registerResizeListener=function(e){e===window?window.addEventListener("resize",r._onResize,!1):r._detectElementResize.addResizeListener(e,r._onResize)},r._unregisterResizeListener=function(e){e===window?window.removeEventListener("resize",r._onResize,!1):e&&r._detectElementResize.removeResizeListener(e,r._onResize)},r._onResize=function(){r.updatePosition()},r.__handleWindowScrollEvent=function(){if(r._isMounted){var e=r.props.onScroll,t=r.props.scrollElement;if(t){var o=C(t),i=Math.max(0,o.left-r._positionFromLeft),l=Math.max(0,o.top-r._positionFromTop);r.setState({isScrolling:!0,scrollLeft:i,scrollTop:l}),e({scrollLeft:i,scrollTop:l})}}},r.__resetIsScrolling=function(){r.setState({isScrolling:!1})},s=o,(0,a.default)(r,s)}return(0,d.default)(t,e),(0,s.default)(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,i=o.height,r=o.width,l=this._child||h.findDOMNode(this);if(l instanceof Element&&e){var n=function(e,t){if(y(t)&&document.documentElement){var o=document.documentElement,i=S(e),r=S(o);return{top:i.top-r.top,left:i.left-r.left}}var l=C(t),n=S(e),s=S(t);return{top:n.top+l.top-s.top,left:n.left+l.left-s.left}}(l,e);this._positionFromTop=n.top,this._positionFromLeft=n.left}var s=x(e,this.props);i===s.height&&r===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=(0,I.A)(),this.updatePosition(e),e&&(w(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.scrollElement,i=e.scrollElement;i!==o&&null!=i&&null!=o&&(this.updatePosition(o),R(this,i),w(this,o),this._unregisterResizeListener(i),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(R(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.isScrolling,i=t.scrollTop,r=t.scrollLeft,l=t.height,n=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:l,isScrolling:o,scrollLeft:r,scrollTop:i,width:n})}}]),t}(c.PureComponent);b.defaultProps={onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:G(),serverHeight:0,serverWidth:0},b.propTypes=null}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3325],{59988:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach((function(e){t.addRange(e)})),e&&e.focus()}}},80665:function(t,e,n){"use strict";n.r(e),n.d(e,{__assign:function(){return s},__asyncDelegator:function(){return q},__asyncGenerator:function(){return S},__asyncValues:function(){return _},__await:function(){return P},__awaiter:function(){return p},__classPrivateFieldGet:function(){return x},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return D},__createBinding:function(){return v},__decorate:function(){return a},__esDecorate:function(){return c},__exportStar:function(){return m},__extends:function(){return i},__generator:function(){return y},__importDefault:function(){return j},__importStar:function(){return A},__makeTemplateObject:function(){return E},__metadata:function(){return d},__param:function(){return u},__propKey:function(){return l},__read:function(){return g},__rest:function(){return o},__runInitializers:function(){return h},__setFunctionName:function(){return f},__spread:function(){return w},__spreadArray:function(){return C},__spreadArrays:function(){return O},__values:function(){return b}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var s=function(){return s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)};function o(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function a(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e,n,r,i,s){function o(t){if(void 0!==t&&"function"!==typeof t)throw new TypeError("Function expected");return t}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",h=!e&&t?r.static?t:t.prototype:null,l=e||(h?Object.getOwnPropertyDescriptor(h,r.name):{}),f=!1,d=n.length-1;d>=0;d--){var p={};for(var y in r)p[y]="access"===y?{}:r[y];for(var y in r.access)p.access[y]=r.access[y];p.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(o(t||null))};var v=(0,n[d])("accessor"===u?{get:l.get,set:l.set}:l[c],p);if("accessor"===u){if(void 0===v)continue;if(null===v||"object"!==typeof v)throw new TypeError("Object expected");(a=o(v.get))&&(l.get=a),(a=o(v.set))&&(l.set=a),(a=o(v.init))&&i.push(a)}else(a=o(v))&&("field"===u?i.push(a):l[c]=a)}h&&Object.defineProperty(h,r.name,l),f=!0}function h(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function l(t){return"symbol"===typeof t?t:"".concat(t)}function f(t,e,n){return"symbol"===typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function d(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(t,e,n,r){return new(n||(n=Promise))((function(i,s){function o(t){try{u(r.next(t))}catch(e){s(e)}}function a(t){try{u(r.throw(t))}catch(e){s(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}u((r=r.apply(t,e||[])).next())}))}function y(t,e){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var v=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function m(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||v(e,t,n)}function b(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function w(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g(arguments[e]));return t}function O(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function C(t,e,n){if(n||2===arguments.length)for(var r,i=0,s=e.length;i<s;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function P(t){return this instanceof P?(this.v=t,this):new P(t)}function S(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){s.push([t,e,n,r])>1||a(t,e)}))})}function a(t,e){try{(n=i[t](e)).value instanceof P?Promise.resolve(n.value.v).then(u,c):h(s[0][2],n)}catch(r){h(s[0][3],r)}var n}function u(t){a("next",t)}function c(t){a("throw",t)}function h(t,e){t(e),s.shift(),s.length&&a(s[0][0],s[0][1])}}function q(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:P(t[r](e)),done:!1}:i?i(e):e}:i}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=b(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function E(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var F=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function A(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&v(e,t,n);return F(e,t),e}function j(t){return t&&t.__esModule?t:{default:t}}function x(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function D(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function T(t,e){if(null===e||"object"!==typeof e&&"function"!==typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof t?e===t:t.has(e)}},17225:function(t,e,n){"use strict";n.d(e,{S:function(){return i}});var r=n(31014);function i(t,e){return function(t,e){var n=(0,r.useState)((function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(t){var e=n.value;e!==t&&(n.value=t,n.callback(t,e))}}}}))[0];return n.callback=e,n.facade}(e||null,(function(e){return t.forEach((function(t){return function(t,e){return"function"===typeof t?t(e):t&&(t.current=e),t}(t,e)}))}))}},48393:function(t,e,n){"use strict";n.d(e,{m:function(){return o}});var r=n(80665),i=n(31014),s=function(t){var e=t.sideCar,n=(0,r.__rest)(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=e.read();if(!s)throw new Error("Sidecar medium not found");return i.createElement(s,(0,r.__assign)({},n))};function o(t,e){return t.useMedium(e),s}s.isSideCarExport=!0},96235:function(t,e,n){"use strict";n.d(e,{f:function(){return o}});var r=n(80665);function i(t){return t}function s(t,e){void 0===e&&(e=i);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(t){var i=e(t,r);return n.push(i),function(){n=n.filter((function(t){return t!==i}))}},assignSyncMedium:function(t){for(r=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){r=!0;var e=[];if(n.length){var i=n;n=[],i.forEach(t),e=n}var s=function(){var n=e;e=[],n.forEach(t)},o=function(){return Promise.resolve().then(s)};o(),n={push:function(t){e.push(t),o()},filter:function(t){return e=e.filter(t),n}}}}}function o(t){void 0===t&&(t={});var e=s(null);return e.options=(0,r.__assign)({async:!0,ssr:!1},t),e}},2024:function(t,e,n){"use strict";n.d(e,{E:function(){return K}});var r="undefined"===typeof window||"Deno"in globalThis;function i(){}function s(t,e){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:u}=t;if(o)if(r){if(e.queryHash!==a(o,e.options))return!1}else if(!c(e.queryKey,o))return!1;if("all"!==n){const t=e.isActive();if("active"===n&&!t)return!1;if("inactive"===n&&t)return!1}return("boolean"!==typeof u||e.isStale()===u)&&((!i||i===e.state.fetchStatus)&&!(s&&!s(e)))}function o(t,e){const{exact:n,status:r,predicate:i,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(n){if(u(e.options.mutationKey)!==u(s))return!1}else if(!c(e.options.mutationKey,s))return!1}return(!r||e.state.status===r)&&!(i&&!i(e))}function a(t,e){return(e?.queryKeyHashFn||u)(t)}function u(t){return JSON.stringify(t,((t,e)=>f(e)?Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{}):e))}function c(t,e){return t===e||typeof t===typeof e&&(!(!t||!e||"object"!==typeof t||"object"!==typeof e)&&!Object.keys(e).some((n=>!c(t[n],e[n]))))}function h(t,e){if(t===e)return t;const n=l(t)&&l(e);if(n||f(t)&&f(e)){const r=n?t:Object.keys(t),i=r.length,s=n?e:Object.keys(e),o=s.length,a=n?[]:{};let u=0;for(let c=0;c<o;c++){const i=n?c:s[c];(!n&&r.includes(i)||n)&&void 0===t[i]&&void 0===e[i]?(a[i]=void 0,u++):(a[i]=h(t[i],e[i]),a[i]===t[i]&&void 0!==t[i]&&u++)}return i===o&&u===i?t:a}return e}function l(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function f(t){if(!d(t))return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!!d(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype)}function d(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t,e,n){return"function"===typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?h(t,e):e}function y(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[...t,e];return n&&r.length>n?r.slice(1):r}function v(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var m=Symbol(),b=(t,e)=>!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==m?t.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`));var g=function(){let t=[],e=0,n=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0);const s=r=>{e?t.push(r):i((()=>{n(r)}))},o=()=>{const e=t;t=[],e.length&&i((()=>{r((()=>{e.forEach((t=>{n(t)}))}))}))};return{batch:t=>{let n;e++;try{n=t()}finally{e--,e||o()}return n},batchCalls:t=>function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];s((()=>{t(...n)}))},schedule:s,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}(),w=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},O=new class extends w{#t;#e;#n;constructor(){super(),this.#n=t=>{if(!r&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t((t=>{"boolean"===typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach((e=>{e(t)}))}isFocused(){return"boolean"===typeof this.#t?this.#t:"hidden"!==globalThis.document?.visibilityState}},C=new class extends w{#r=!0;#e;#n;constructor(){super(),this.#n=t=>{if(!r&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#r!==t&&(this.#r=t,this.listeners.forEach((e=>{e(t)})))}isOnline(){return this.#r}};function P(t){return Math.min(1e3*2**t,3e4)}function S(t){return"online"!==(t??"online")||C.isOnline()}var q=class{constructor(t){this.revert=t?.revert,this.silent=t?.silent}};function _(t){return t instanceof q}function E(t){let e,n,i,s=!1,o=0,a=!1;const u=new Promise(((t,e)=>{n=t,i=e})),c=()=>O.isFocused()&&("always"===t.networkMode||C.isOnline())&&t.canRun(),h=()=>S(t.networkMode)&&t.canRun(),l=r=>{a||(a=!0,t.onSuccess?.(r),e?.(),n(r))},f=n=>{a||(a=!0,t.onError?.(n),e?.(),i(n))},d=()=>new Promise((n=>{e=t=>{(a||c())&&n(t)},t.onPause?.()})).then((()=>{e=void 0,a||t.onContinue?.()})),p=()=>{if(a)return;let e;const n=0===o?t.initialPromise:void 0;try{e=n??t.fn()}catch(i){e=Promise.reject(i)}Promise.resolve(e).then(l).catch((e=>{if(a)return;const n=t.retry??(r?0:3),i=t.retryDelay??P,u="function"===typeof i?i(o,e):i,h=!0===n||"number"===typeof n&&o<n||"function"===typeof n&&n(o,e);var l;!s&&h?(o++,t.onFail?.(o,e),(l=u,new Promise((t=>{setTimeout(t,l)}))).then((()=>c()?void 0:d())).then((()=>{s?f(e):p()}))):f(e)}))};return{promise:u,cancel:e=>{a||(f(new q(e)),t.abort?.())},continue:()=>(e?.(),u),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:h,start:()=>(h()?p():d().then(p),u)}}var F=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){var t;this.clearGcTimeout(),"number"===typeof(t=this.gcTime)&&t>=0&&t!==1/0&&(this.#i=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(r?1/0:3e5))}clearGcTimeout(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}},A=class extends F{#s;#o;#a;#u;#c;#h;constructor(t){super(),this.#h=!1,this.#c=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#s=t.state||function(t){const e="function"===typeof t.initialData?t.initialData():t.initialData,n=void 0!==e,r=n?"function"===typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(t){this.options={...this.#c,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#a.remove(this)}setData(t,e){const n=p(this.state.data,t,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#l({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#u?.promise;return this.#u?.cancel(t),e?e.then(i).catch(i):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some((t=>!1!==t.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((t=>t.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||void 0===this.state.data||!function(t,e){return Math.max(t+(e||0)-Date.now(),0)}(this.state.dataUpdatedAt,t)}onFocus(){const t=this.observers.find((t=>t.shouldFetchOnWindowFocus()));t?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){const t=this.observers.find((t=>t.shouldFetchOnReconnect()));t?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter((e=>e!==t)),this.observers.length||(this.#u&&(this.#h?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise;if(t&&this.setOptions(t),!this.options.queryFn){const t=this.observers.find((t=>t.options.queryFn));t&&this.setOptions(t.options)}const n=new AbortController,r=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#h=!0,n.signal)})},i={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const t=b(this.options,e),n={queryKey:this.queryKey,meta:this.meta};return r(n),this.#h=!1,this.options.persister?this.options.persister(t,n,this):t(n)}};r(i),this.options.behavior?.onFetch(i,this),this.#o=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#l({type:"fetch",meta:i.fetchOptions?.meta});const s=t=>{_(t)&&t.silent||this.#l({type:"error",error:t}),_(t)||(this.#a.config.onError?.(t,this),this.#a.config.onSettled?.(this.state.data,t,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#u=E({initialPromise:e?.initialPromise,fn:i.fetchFn,abort:n.abort.bind(n),onSuccess:t=>{void 0!==t?(this.setData(t),this.#a.config.onSuccess?.(t,this),this.#a.config.onSettled?.(t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(t,e)=>{this.#l({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}),this.#u.start()}#l(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...(n=e.data,r=this.options,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:S(r.networkMode)?"fetching":"paused",...void 0===n&&{error:null,status:"pending"}}),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return _(i)&&i.revert&&this.#o?{...this.#o,fetchStatus:"idle"}:{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}var n,r})(this.state),g.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate()})),this.#a.notify({query:this,type:"updated",action:t})}))}};var j=class extends w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config=t,this.#f=new Map}#f;build(t,e,n){const r=e.queryKey,i=e.queryHash??a(r,e);let s=this.get(i);return s||(s=new A({cache:this,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(r)}),this.add(s)),s}add(t){this.#f.has(t.queryHash)||(this.#f.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#f.get(t.queryHash);e&&(t.destroy(),e===t&&this.#f.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){g.batch((()=>{this.getAll().forEach((t=>{this.remove(t)}))}))}get(t){return this.#f.get(t)}getAll(){return[...this.#f.values()]}find(t){const e={exact:!0,...t};return this.getAll().find((t=>s(e,t)))}findAll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=this.getAll();return Object.keys(t).length>0?e.filter((e=>s(t,e))):e}notify(t){g.batch((()=>{this.listeners.forEach((e=>{e(t)}))}))}onFocus(){g.batch((()=>{this.getAll().forEach((t=>{t.onFocus()}))}))}onOnline(){g.batch((()=>{this.getAll().forEach((t=>{t.onOnline()}))}))}},x=class extends F{#d;#p;#u;constructor(t){super(),this.mutationId=t.mutationId,this.#p=t.mutationCache,this.#d=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#d.includes(t)||(this.#d.push(t),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#d=this.#d.filter((e=>e!==t)),this.scheduleGc(),this.#p.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#d.length||("pending"===this.state.status?this.scheduleGc():this.#p.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(t){this.#u=E({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(t,e)=>{this.#l({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#p.canRun(this)});const e="pending"===this.state.status,n=!this.#u.canStart();try{if(!e){this.#l({type:"pending",variables:t,isPaused:n}),await(this.#p.config.onMutate?.(t,this));const e=await(this.options.onMutate?.(t));e!==this.state.context&&this.#l({type:"pending",context:e,variables:t,isPaused:n})}const r=await this.#u.start();return await(this.#p.config.onSuccess?.(r,t,this.state.context,this)),await(this.options.onSuccess?.(r,t,this.state.context)),await(this.#p.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,t,this.state.context)),this.#l({type:"success",data:r}),r}catch(r){try{throw await(this.#p.config.onError?.(r,t,this.state.context,this)),await(this.options.onError?.(r,t,this.state.context)),await(this.#p.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,r,t,this.state.context)),r}finally{this.#l({type:"error",error:r})}}finally{this.#p.runNext(this)}}#l(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),g.batch((()=>{this.#d.forEach((e=>{e.onMutationUpdate(t)})),this.#p.notify({mutation:this,type:"updated",action:t})}))}};var D=class extends w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config=t,this.#y=new Map,this.#v=Date.now()}#y;#v;build(t,e,n){const r=new x({mutationCache:this,mutationId:++this.#v,options:t.defaultMutationOptions(e),state:n});return this.add(r),r}add(t){const e=T(t),n=this.#y.get(e)??[];n.push(t),this.#y.set(e,n),this.notify({type:"added",mutation:t})}remove(t){const e=T(t);if(this.#y.has(e)){const n=this.#y.get(e)?.filter((e=>e!==t));n&&(0===n.length?this.#y.delete(e):this.#y.set(e,n))}this.notify({type:"removed",mutation:t})}canRun(t){const e=this.#y.get(T(t))?.find((t=>"pending"===t.state.status));return!e||e===t}runNext(t){const e=this.#y.get(T(t))?.find((e=>e!==t&&e.state.isPaused));return e?.continue()??Promise.resolve()}clear(){g.batch((()=>{this.getAll().forEach((t=>{this.remove(t)}))}))}getAll(){return[...this.#y.values()].flat()}find(t){const e={exact:!0,...t};return this.getAll().find((t=>o(e,t)))}findAll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter((e=>o(t,e)))}notify(t){g.batch((()=>{this.listeners.forEach((e=>{e(t)}))}))}resumePausedMutations(){const t=this.getAll().filter((t=>t.state.isPaused));return g.batch((()=>Promise.all(t.map((t=>t.continue().catch(i))))))}};function T(t){return t.options.scope?.id??String(t.mutationId)}function M(t){return{onFetch:(e,n)=>{const r=async()=>{const n=e.options,r=e.fetchOptions?.meta?.fetchMore?.direction,i=e.state.data?.pages||[],s=e.state.data?.pageParams||[],o={pages:[],pageParams:[]};let a=!1;const u=b(e.options,e.fetchOptions),c=async(t,n,r)=>{if(a)return Promise.reject();if(null==n&&t.pages.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:n,direction:r?"backward":"forward",meta:e.options.meta};var s;s=i,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(e.signal.aborted?a=!0:e.signal.addEventListener("abort",(()=>{a=!0})),e.signal)});const o=await u(i),{maxPages:c}=e.options,h=r?v:y;return{pages:h(t.pages,o,c),pageParams:h(t.pageParams,n,c)}};let h;if(r&&i.length){const t="backward"===r,e={pages:i,pageParams:s},o=(t?Q:R)(n,e);h=await c(e,o,t)}else{h=await c(o,s[0]??n.initialPageParam);const e=t??i.length;for(let t=1;t<e;t++){const t=R(n,h);h=await c(h,t)}}return h};e.options.persister?e.fetchFn=()=>e.options.persister?.(r,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=r}}}function R(t,e){let{pages:n,pageParams:r}=e;const i=n.length-1;return t.getNextPageParam(n[i],n,r[i],r)}function Q(t,e){let{pages:n,pageParams:r}=e;return t.getPreviousPageParam?.(n[0],n,r[0],r)}var K=class{#m;#p;#c;#b;#g;#w;#O;#C;constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.#m=t.queryCache||new j,this.#p=t.mutationCache||new D,this.#c=t.defaultOptions||{},this.#b=new Map,this.#g=new Map,this.#w=0}mount(){this.#w++,1===this.#w&&(this.#O=O.subscribe((async t=>{t&&(await this.resumePausedMutations(),this.#m.onFocus())})),this.#C=C.subscribe((async t=>{t&&(await this.resumePausedMutations(),this.#m.onOnline())})))}unmount(){this.#w--,0===this.#w&&(this.#O?.(),this.#O=void 0,this.#C?.(),this.#C=void 0)}isFetching(t){return this.#m.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#p.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#m.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(void 0===e)return this.fetchQuery(t);{const n=this.defaultQueryOptions(t),r=this.#m.build(this,n);return t.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(e)}}getQueriesData(t){return this.#m.findAll(t).map((t=>{let{queryKey:e,state:n}=t;return[e,n.data]}))}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),i=this.#m.get(r.queryHash),s=i?.state.data,o=function(t,e){return"function"===typeof t?t(e):t}(e,s);if(void 0!==o)return this.#m.build(this,r).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return g.batch((()=>this.#m.findAll(t).map((t=>{let{queryKey:r}=t;return[r,this.setQueryData(r,e,n)]}))))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#m.get(e.queryHash)?.state}removeQueries(t){const e=this.#m;g.batch((()=>{e.findAll(t).forEach((t=>{e.remove(t)}))}))}resetQueries(t,e){const n=this.#m,r={type:"active",...t};return g.batch((()=>(n.findAll(t).forEach((t=>{t.reset()})),this.refetchQueries(r,e))))}cancelQueries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e={revert:!0,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},n=g.batch((()=>this.#m.findAll(t).map((t=>t.cancel(e)))));return Promise.all(n).then(i).catch(i)}invalidateQueries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g.batch((()=>{if(this.#m.findAll(t).forEach((t=>{t.invalidate()})),"none"===t.refetchType)return Promise.resolve();const n={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(n,e)}))}refetchQueries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const n={...e,cancelRefetch:e?.cancelRefetch??!0},r=g.batch((()=>this.#m.findAll(t).filter((t=>!t.isDisabled())).map((t=>{let e=t.fetch(void 0,n);return n.throwOnError||(e=e.catch(i)),"paused"===t.state.fetchStatus?Promise.resolve():e}))));return Promise.all(r).then(i)}fetchQuery(t){const e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);const n=this.#m.build(this,e);return n.isStaleByTime(e.staleTime)?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(i).catch(i)}fetchInfiniteQuery(t){return t.behavior=M(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(i).catch(i)}resumePausedMutations(){return C.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#m}getMutationCache(){return this.#p}getDefaultOptions(){return this.#c}setDefaultOptions(t){this.#c=t}setQueryDefaults(t,e){this.#b.set(u(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#b.values()];let n={};return e.forEach((e=>{c(t,e.queryKey)&&(n={...n,...e.defaultOptions})})),n}setMutationDefaults(t,e){this.#g.set(u(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#g.values()];let n={};return e.forEach((e=>{c(t,e.mutationKey)&&(n={...n,...e.defaultOptions})})),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#c.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=a(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),!0!==e.enabled&&e.queryFn===m&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#c.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#m.clear(),this.#p.clear()}}},41825:function(t,e,n){"use strict";n.d(e,{Ht:function(){return o}});var r=n(31014),i=n(46550),s=r.createContext(void 0),o=t=>{let{client:e,children:n}=t;return r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,i.jsx)(s.Provider,{value:e,children:n})}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3334.2d6704df.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3334],{73334:function(e,t,r){"use strict";r.r(t);var i=r(31014),n=r(77484),s=r(82589),a=r(88443),o=r(32311),u=r.n(o),h=r(8220),f=r(50111);var l={name:"is2v8y",styles:"overscroll-behavior-x:contain;overflow-x:scroll;margin:10px"},d={name:"zl1inp",styles:"display:flex;justify-content:center"};const c=e=>{let{runUuid:t,path:r,getArtifact:o}=e;const[c,p]=(0,i.useState)(!0),[g,m]=(0,i.useState)(),[_,y]=(0,i.useState)(),[v,k]=(0,i.useState)(),[w,b]=(0,i.useState)();if((0,i.useEffect)((()=>{m(),y(),k(),b(),p(!0),function(e){const t=(0,n.To)(e.path,e.runUuid);e.getArtifact(t).then((e=>{try{const t=u().parse(e,{header:!0,preview:500,skipEmptyLines:"greedy",dynamicTyping:!0}),r=t.data;if(t.errors.length>0)throw Error(t.errors[0].message);p(!1),k(t.meta.fields),y(r)}catch(t){p(!1),b(e)}})).catch((e=>{m(e),p(!1)}))}({path:r,runUuid:t,getArtifact:o})}),[t,r,o]),c)return(0,f.Y)(h.$,{className:"artifact-text-view-loading"});if(g)return(0,f.Y)("div",{className:"artifact-text-view-error",children:"Oops we couldn't load your file because of an error."});if(_){const e=v.map((e=>({title:e,dataIndex:e,key:e,sorter:(t,r)=>"string"===typeof t[e]?t[e].localeCompare(r[e]):t[e]-r[e],width:200,ellipsis:{showTitle:!0}}))),t=_.length;return(0,f.FD)("div",{css:l,children:[(0,f.Y)("span",{css:d,children:(0,f.Y)(a.A,{id:"SrXYrV",defaultMessage:"Previewing the first {numRows} rows",values:{numRows:t}})}),(0,f.Y)(s.qXK,{columns:e,dataSource:_,pagination:!1,sticky:!0,scroll:{x:"min-content",y:!0}})]})}return(0,f.Y)("div",{className:"ShowArtifactPage",children:(0,f.Y)("div",{className:"text-area-border-box",children:w})})};c.defaultProps={getArtifact:n.Y0},t.default=c},32311:function(e,t){var r,i,n;i=[],r=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,i=r&&/blob:/i.test((t.location||{}).protocol),n={},s=0,a={parse:function(r,i){var o=(i=i||{}).dynamicTyping||!1;if(w(o)&&(i.dynamicTypingFunction=o,o={}),i.dynamicTyping=o,i.transform=!!w(i.transform)&&i.transform,i.worker&&a.WORKERS_SUPPORTED){var u=function(){if(!a.WORKERS_SUPPORTED)return!1;var r,i,o=(r=t.URL||t.webkitURL||null,i=e.toString(),a.BLOB_URL||(a.BLOB_URL=r.createObjectURL(new Blob(["(",i,")();"],{type:"text/javascript"})))),u=new t.Worker(o);return u.onmessage=m,u.id=s++,n[u.id]=u}();return u.userStep=i.step,u.userChunk=i.chunk,u.userComplete=i.complete,u.userError=i.error,i.step=w(i.step),i.chunk=w(i.chunk),i.complete=w(i.complete),i.error=w(i.error),delete i.worker,void u.postMessage({input:r,config:i,workerId:u.id})}var c=null;return a.NODE_STREAM_INPUT,"string"==typeof r?c=i.download?new h(i):new l(i):!0===r.readable&&w(r.read)&&w(r.on)?c=new d(i):(t.File&&r instanceof File||r instanceof Object)&&(c=new f(i)),c.stream(r)},unparse:function(e,t){var r=!1,i=!0,n=",",s="\r\n",o='"',u=o+o,h=!1,f=null,l=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(n=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(h=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(o=t.quoteChar),"boolean"==typeof t.header&&(i=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");f=t.columns}void 0!==t.escapeChar&&(u=t.escapeChar+o),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(l=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var d=new RegExp(p(o),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return c(null,e,h);if("object"==typeof e[0])return c(f||Object.keys(e[0]),e,h)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||f),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),c(e.fields||[],e.data||[],h);throw new Error("Unable to serialize unrecognized input");function c(e,t,r){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var o=Array.isArray(e)&&0<e.length,u=!Array.isArray(t[0]);if(o&&i){for(var h=0;h<e.length;h++)0<h&&(a+=n),a+=g(e[h],h);0<t.length&&(a+=s)}for(var f=0;f<t.length;f++){var l=o?e.length:t[f].length,d=!1,c=o?0===Object.keys(t[f]).length:0===t[f].length;if(r&&!o&&(d="greedy"===r?""===t[f].join("").trim():1===t[f].length&&0===t[f][0].length),"greedy"===r&&o){for(var p=[],m=0;m<l;m++){var _=u?e[m]:m;p.push(t[f][_])}d=""===p.join("").trim()}if(!d){for(var y=0;y<l;y++){0<y&&!c&&(a+=n);var v=o&&u?e[y]:y;a+=g(t[f][v],y)}f<t.length-1&&(!r||0<l&&!c)&&(a+=s)}}return a}function g(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var i=!1;l&&"string"==typeof e&&l.test(e)&&(e="'"+e,i=!0);var s=e.toString().replace(d,u);return(i=i||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||function(e,t){for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1}(s,a.BAD_DELIMITERS)||-1<s.indexOf(n)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?o+s+o:s}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=g,a.ParserHandle=c,a.NetworkStreamer=h,a.FileStreamer=f,a.StringStreamer=l,a.ReadableStreamStreamer=d,t.jQuery){var o=t.jQuery;o.fn.parse=function(e){var r=e.config||{},i=[];return this.each((function(e){if("INPUT"!==o(this).prop("tagName").toUpperCase()||"file"!==o(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var n=0;n<this.files.length;n++)i.push({file:this.files[n],inputElem:this,instanceConfig:o.extend({},r)})})),n(),this;function n(){if(0!==i.length){var t,r,n,u,h=i[0];if(w(e.before)){var f=e.before(h.file,h.inputElem);if("object"==typeof f){if("abort"===f.action)return t="AbortError",r=h.file,n=h.inputElem,u=f.reason,void(w(e.error)&&e.error({name:t},r,n,u));if("skip"===f.action)return void s();"object"==typeof f.config&&(h.instanceConfig=o.extend(h.instanceConfig,f.config))}else if("skip"===f)return void s()}var l=h.instanceConfig.complete;h.instanceConfig.complete=function(e){w(l)&&l(e,h.file,h.inputElem),s()},a.parse(h.file,h.instanceConfig)}else w(e.complete)&&e.complete()}function s(){i.splice(0,1),n()}}}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=v(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new c(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,r){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var n=this._config.beforeFirstChunk(e);void 0!==n&&(e=n)}this.isFirstChunk=!1,this._halted=!1;var s=this._partialLine+e;this._partialLine="";var o=this._handle.parse(s,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var u=o.meta.cursor;this._finished||(this._partialLine=s.substring(u-this._baseIndex),this._baseIndex=u),o&&o.data&&(this._rowCount+=o.data.length);var h=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(i)t.postMessage({results:o,workerId:a.WORKER_ID,finished:h});else if(w(this._config.chunk)&&!r){if(this._config.chunk(o,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);o=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(o.data),this._completeResults.errors=this._completeResults.errors.concat(o.errors),this._completeResults.meta=o.meta),this._completed||!h||!w(this._config.complete)||o&&o.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),h||o&&o.meta.paused||this._nextChunk(),o}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):i&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function h(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),u.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var i in e)t.setRequestHeader(i,e[i])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+n)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var r=t.statusText||e;this._sendError(new Error(r))}}function f(e){var t,r;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),u.call(this,e);var i="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,i?((t=new FileReader).onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);e=r.call(e,this._start,n)}var s=t.readAsText(e,this._config.encoding);i||this._chunkLoaded({target:{result:s}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function l(e){var t;u.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,r=this._config.chunkSize;return r?(e=t.substring(0,r),t=t.substring(r)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function d(e){u.call(this,e=e||{});var t=[],r=!0,i=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=k((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=k((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=k((function(){this._streamCleanUp(),i=!0,this._streamData("")}),this),this._streamCleanUp=k((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function c(e){var t,r,i,n=Math.pow(2,53),s=-n,o=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,h=this,f=0,l=0,d=!1,c=!1,m=[],_={data:[],errors:[],meta:{}};if(w(e.step)){var y=e.step;e.step=function(t){if(_=t,E())b();else{if(b(),0===_.data.length)return;f+=t.data.length,e.preview&&f>e.preview?r.abort():(_.data=_.data[0],y(_,h))}}}function k(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function b(){return _&&i&&(R("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),i=!1),e.skipEmptyLines&&(_.data=_.data.filter((function(e){return!k(e)}))),E()&&function(){if(_)if(Array.isArray(_.data[0])){for(var t=0;E()&&t<_.data.length;t++)_.data[t].forEach(r);_.data.splice(0,1)}else _.data.forEach(r);function r(t,r){w(e.transformHeader)&&(t=e.transformHeader(t,r)),m.push(t)}}(),function(){if(!_||!e.header&&!e.dynamicTyping&&!e.transform)return _;function t(t,r){var i,n=e.header?{}:[];for(i=0;i<t.length;i++){var s=i,a=t[i];e.header&&(s=i>=m.length?"__parsed_extra":m[i]),e.transform&&(a=e.transform(a,s)),a=C(s,a),"__parsed_extra"===s?(n[s]=n[s]||[],n[s].push(a)):n[s]=a}return e.header&&(i>m.length?R("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+i,l+r):i<m.length&&R("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+i,l+r)),n}var r=1;return!_.data.length||Array.isArray(_.data[0])?(_.data=_.data.map(t),r=_.data.length):_.data=t(_.data,0),e.header&&_.meta&&(_.meta.fields=m),l+=r,_}()}function E(){return e.header&&0===m.length}function C(t,r){return i=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[i]&&(e.dynamicTyping[i]=e.dynamicTypingFunction(i)),!0===(e.dynamicTyping[i]||e.dynamicTyping)?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&(function(e){if(o.test(e)){var t=parseFloat(e);if(s<t&&t<n)return!0}return!1}(r)?parseFloat(r):u.test(r)?new Date(r):""===r?null:r):r;var i}function R(e,t,r,i){var n={type:e,code:t,message:r};void 0!==i&&(n.row=i),_.errors.push(n)}this.parse=function(n,s,o){var u=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var r=new RegExp(p(t)+"([^]*?)"+p(t),"gm"),i=(e=e.replace(r,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<i[0].length;if(1===i.length||s)return"\n";for(var a=0,o=0;o<i.length;o++)"\n"===i[o][0]&&a++;return a>=i.length/2?"\r\n":"\r"}(n,u)),i=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(n),_.meta.delimiter=e.delimiter);else{var h=function(t,r,i,n,s){var o,u,h,f;s=s||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var l=0;l<s.length;l++){var d=s[l],c=0,p=0,m=0;h=void 0;for(var _=new g({comments:n,delimiter:d,newline:r,preview:10}).parse(t),y=0;y<_.data.length;y++)if(i&&k(_.data[y]))m++;else{var v=_.data[y].length;p+=v,void 0!==h?0<v&&(c+=Math.abs(v-h),h=v):h=v}0<_.data.length&&(p/=_.data.length-m),(void 0===u||c<=u)&&(void 0===f||f<p)&&1.99<p&&(u=c,o=d,f=p)}return{successful:!!(e.delimiter=o),bestDelimiter:o}}(n,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);h.successful?e.delimiter=h.bestDelimiter:(i=!0,e.delimiter=a.DefaultDelimiter),_.meta.delimiter=e.delimiter}var f=v(e);return e.preview&&e.header&&f.preview++,t=n,r=new g(f),_=r.parse(t,s,o),b(),d?{meta:{paused:!0}}:_||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,r.abort(),t=w(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){h.streamer._halted?(d=!1,h.streamer.parseChunk(t,!0)):setTimeout(h.resume,3)},this.aborted=function(){return c},this.abort=function(){c=!0,r.abort(),_.meta.aborted=!0,w(e.complete)&&e.complete(_),t=""}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t,r=(e=e||{}).delimiter,i=e.newline,n=e.comments,s=e.step,o=e.preview,u=e.fastMode,h=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(h=e.escapeChar),("string"!=typeof r||-1<a.BAD_DELIMITERS.indexOf(r))&&(r=","),n===r)throw new Error("Comment character same as delimiter");!0===n?n="#":("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var f=0,l=!1;this.parse=function(e,a,d){if("string"!=typeof e)throw new Error("Input must be a string");var c=e.length,g=r.length,m=i.length,_=n.length,y=w(s),v=[],k=[],b=[],E=f=0;if(!e)return M();if(u||!1!==u&&-1===e.indexOf(t)){for(var C=e.split(i),R=0;R<C.length;R++){if(b=C[R],f+=b.length,R!==C.length-1)f+=i.length;else if(d)return M();if(!n||b.substring(0,_)!==n){if(y){if(v=[],D(b.split(r)),j(),l)return M()}else D(b.split(r));if(o&&o<=R)return v=v.slice(0,o),M(!0)}}return M()}for(var S=e.indexOf(r,f),x=e.indexOf(i,f),O=new RegExp(p(h)+p(t),"g"),T=e.indexOf(t,f);;)if(e[f]!==t)if(n&&0===b.length&&e.substring(f,f+_)===n){if(-1===x)return M();f=x+m,x=e.indexOf(i,f),S=e.indexOf(r,f)}else if(-1!==S&&(S<x||-1===x))b.push(e.substring(f,S)),f=S+g,S=e.indexOf(r,f);else{if(-1===x)break;if(b.push(e.substring(f,x)),z(x+m),y&&(j(),l))return M();if(o&&v.length>=o)return M(!0)}else for(T=f,f++;;){if(-1===(T=e.indexOf(t,T+1)))return d||k.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:v.length,index:f}),F();if(T===c-1)return F(e.substring(f,T).replace(O,t));if(t!==h||e[T+1]!==h){if(t===h||0===T||e[T-1]!==h){-1!==S&&S<T+1&&(S=e.indexOf(r,T+1)),-1!==x&&x<T+1&&(x=e.indexOf(i,T+1));var A=L(-1===x?S:Math.min(S,x));if(e.substr(T+1+A,g)===r){b.push(e.substring(f,T).replace(O,t)),e[f=T+1+A+g]!==t&&(T=e.indexOf(t,f)),S=e.indexOf(r,f),x=e.indexOf(i,f);break}var I=L(x);if(e.substring(T+1+I,T+1+I+m)===i){if(b.push(e.substring(f,T).replace(O,t)),z(T+1+I+m),S=e.indexOf(r,f),T=e.indexOf(t,f),y&&(j(),l))return M();if(o&&v.length>=o)return M(!0);break}k.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:v.length,index:f}),T++}}else T++}return F();function D(e){v.push(e),E=f}function L(t){var r=0;if(-1!==t){var i=e.substring(T+1,t);i&&""===i.trim()&&(r=i.length)}return r}function F(t){return d||(void 0===t&&(t=e.substring(f)),b.push(t),f=c,D(b),y&&j()),M()}function z(t){f=t,D(b),b=[],x=e.indexOf(i,f)}function M(e){return{data:v,errors:k,meta:{delimiter:r,linebreak:i,aborted:l,truncated:!!e,cursor:E+(a||0)}}}function j(){s(M()),v=[],k=[]}},this.abort=function(){l=!0},this.getCharIndex=function(){return f}}function m(e){var t=e.data,r=n[t.workerId],i=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var s={abort:function(){i=!0,_(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(w(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},s),!i);a++);delete t.results}else w(r.userChunk)&&(r.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!i&&_(t.workerId,t.results)}function _(e,t){var r=n[e];w(r.userComplete)&&r.userComplete(t),r.terminate(),delete n[e]}function y(){throw new Error("Not implemented.")}function v(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var r in e)t[r]=v(e[r]);return t}function k(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return i&&(t.onmessage=function(e){var r=e.data;if(void 0===a.WORKER_ID&&r&&(a.WORKER_ID=r.workerId),"string"==typeof r.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(r.input,r.config),finished:!0});else if(t.File&&r.input instanceof File||r.input instanceof Object){var i=a.parse(r.input,r.config);i&&t.postMessage({workerId:a.WORKER_ID,results:i,finished:!0})}}),(h.prototype=Object.create(u.prototype)).constructor=h,(f.prototype=Object.create(u.prototype)).constructor=f,(l.prototype=Object.create(l.prototype)).constructor=l,(d.prototype=Object.create(u.prototype)).constructor=d,a},void 0===(n="function"===typeof r?r.apply(t,i):r)||(e.exports=n)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3387],{13717:function(e,r,t){var a=t(62282);e.exports=function(e){for(var r,t,i=a.layoutArrayContainers,s=a.layoutArrayRegexes,o=e.split("[")[0],n=0;n<s.length;n++)if((t=e.match(s[n]))&&0===t.index){r=t[0];break}if(r||(r=i[i.indexOf(o)]),!r)return!1;var l=e.substr(r.length);return l?!!(t=l.match(/^\[(0|[1-9][0-9]*)\](\.(.+))?$/))&&{array:r,index:Number(t[1]),property:t[3]||""}:{array:r,index:"",property:""}}},17342:function(e,r,t){var a=t(47401),i=a.extendFlat,s=a.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* (re)plots but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},n={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* (re)plots but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},l=o.flags.slice().concat(["fullReplot"]),c=n.flags.slice().concat("layoutReplot");function d(e){for(var r={},t=0;t<e.length;t++)r[e[t]]=!1;return r}function y(e,r,t){var a=i({},e);for(var o in a){var n=a[o];s(n)&&(a[o]=u(n,r,t,o))}return"from-root"===t&&(a.editType=r),a}function u(e,r,t,a){if(e.valType){var s=i({},e);if(s.editType=r,Array.isArray(e.items)){s.items=new Array(e.items.length);for(var o=0;o<e.items.length;o++)s.items[o]=u(e.items[o],r,"from-root")}return s}return y(e,r,"_"===a.charAt(0)?"nested":"from-root")}e.exports={traces:o,layout:n,traceFlags:function(){return d(l)},layoutFlags:function(){return d(c)},update:function(e,r){var t=r.editType;if(t&&"none"!==t)for(var a=t.split("+"),i=0;i<a.length;i++)e[a[i]]=!0},overrideAll:y}},65143:function(e,r,t){var a=t(83491),i=t(15838),s=t(62282),o=t(47401),n=t(35722),l=t(77063),c=t(31454),d=l.cleanId,y=l.getFromTrace,u=s.traceIs;function f(e,r){var t=e[r],a=r.charAt(0);t&&"paper"!==t&&(e[r]=d(t,a,!0))}function g(e){function r(r,t){var a=e[r],i=e.title&&e.title[t];a&&!i&&(e.title||(e.title={}),e.title[t]=e[r],delete e[r])}e&&("string"!==typeof e.title&&"number"!==typeof e.title||(e.title={text:e.title}),r("titlefont","font"),r("titleposition","position"),r("titleside","side"),r("titleoffset","offset"))}function p(e){if(!o.isPlainObject(e))return!1;var r=e.name;return delete e.name,delete e.showlegend,("string"===typeof r||"number"===typeof r)&&String(r)}function h(e,r,t,a){if(t&&!a)return e;if(a&&!t)return r;if(!e.trim())return r;if(!r.trim())return e;var i,s=Math.min(e.length,r.length);for(i=0;i<s&&e.charAt(i)===r.charAt(i);i++);return e.substr(0,i).trim()}function m(e){var r="middle",t="center";return"string"===typeof e&&(-1!==e.indexOf("top")?r="top":-1!==e.indexOf("bottom")&&(r="bottom"),-1!==e.indexOf("left")?t="left":-1!==e.indexOf("right")&&(t="right")),r+" "+t}function x(e,r){return r in e&&"object"===typeof e[r]&&0===Object.keys(e[r]).length}r.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&o.log("Clearing previous rejected promises from queue."),e._promises=[]},r.cleanLayout=function(e){var t,a;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var s=(n.subplotsRegistry.cartesian||{}).attrRegex,l=(n.subplotsRegistry.polar||{}).attrRegex,y=(n.subplotsRegistry.ternary||{}).attrRegex,u=(n.subplotsRegistry.gl3d||{}).attrRegex,p=Object.keys(e);for(t=0;t<p.length;t++){var h=p[t];if(s&&s.test(h)){var m=e[h];m.anchor&&"free"!==m.anchor&&(m.anchor=d(m.anchor)),m.overlaying&&(m.overlaying=d(m.overlaying)),m.type||(m.isdate?m.type="date":m.islog?m.type="log":!1===m.isdate&&!1===m.islog&&(m.type="linear")),"withzero"!==m.autorange&&"tozero"!==m.autorange||(m.autorange=!0,m.rangemode="tozero"),delete m.islog,delete m.isdate,delete m.categories,x(m,"domain")&&delete m.domain,void 0!==m.autotick&&(void 0===m.tickmode&&(m.tickmode=m.autotick?"auto":"linear"),delete m.autotick),g(m)}else if(l&&l.test(h)){g(e[h].radialaxis)}else if(y&&y.test(h)){var v=e[h];g(v.aaxis),g(v.baxis),g(v.caxis)}else if(u&&u.test(h)){var b=e[h],w=b.cameraposition;if(Array.isArray(w)&&4===w[0].length){var A=w[0],_=w[1],k=w[2],T=i([],A),j=[];for(a=0;a<3;++a)j[a]=_[a]+k*T[2+4*a];b.camera={eye:{x:j[0],y:j[1],z:j[2]},center:{x:_[0],y:_[1],z:_[2]},up:{x:0,y:0,z:1}},delete b.cameraposition}g(b.xaxis),g(b.yaxis),g(b.zaxis)}}var O=Array.isArray(e.annotations)?e.annotations.length:0;for(t=0;t<O;t++){var P=e.annotations[t];o.isPlainObject(P)&&(P.ref&&("paper"===P.ref?(P.xref="paper",P.yref="paper"):"data"===P.ref&&(P.xref="x",P.yref="y"),delete P.ref),f(P,"xref"),f(P,"yref"))}var R=Array.isArray(e.shapes)?e.shapes.length:0;for(t=0;t<R;t++){var z=e.shapes[t];o.isPlainObject(z)&&(f(z,"xref"),f(z,"yref"))}var I=Array.isArray(e.images)?e.images.length:0;for(t=0;t<I;t++){var C=e.images[t];o.isPlainObject(C)&&(f(C,"xref"),f(C,"yref"))}var F=e.legend;return F&&(F.x>3?(F.x=1.02,F.xanchor="left"):F.x<-2&&(F.x=-.02,F.xanchor="right"),F.y>3?(F.y=1.02,F.yanchor="bottom"):F.y<-2&&(F.y=-.02,F.yanchor="top")),g(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),c.clean(e),e.template&&e.template.layout&&r.cleanLayout(e.template.layout),e},r.cleanData=function(e){for(var t=0;t<e.length;t++){var a,i=e[t];if("histogramy"===i.type&&"xbins"in i&&!("ybins"in i)&&(i.ybins=i.xbins,delete i.xbins),i.error_y&&"opacity"in i.error_y){var l=c.defaults,y=i.error_y.color||(u(i,"bar")?c.defaultLine:l[t%l.length]);i.error_y.color=c.addOpacity(c.rgb(y),c.opacity(y)*i.error_y.opacity),delete i.error_y.opacity}if("bardir"in i&&("h"!==i.bardir||!u(i,"bar")&&"histogram"!==i.type.substr(0,9)||(i.orientation="h",r.swapXYData(i)),delete i.bardir),"histogramy"===i.type&&r.swapXYData(i),"histogramx"!==i.type&&"histogramy"!==i.type||(i.type="histogram"),"scl"in i&&!("colorscale"in i)&&(i.colorscale=i.scl,delete i.scl),"reversescl"in i&&!("reversescale"in i)&&(i.reversescale=i.reversescl,delete i.reversescl),i.xaxis&&(i.xaxis=d(i.xaxis,"x")),i.yaxis&&(i.yaxis=d(i.yaxis,"y")),u(i,"gl3d")&&i.scene&&(i.scene=n.subplotsRegistry.gl3d.cleanId(i.scene)),!u(i,"pie-like")&&!u(i,"bar-like"))if(Array.isArray(i.textposition))for(a=0;a<i.textposition.length;a++)i.textposition[a]=m(i.textposition[a]);else i.textposition&&(i.textposition=m(i.textposition));var f=s.getModule(i);if(f&&f.colorbar){var v=f.colorbar.container,b=v?i[v]:i;b&&b.colorscale&&("YIGnBu"===b.colorscale&&(b.colorscale="YlGnBu"),"YIOrRd"===b.colorscale&&(b.colorscale="YlOrRd"))}if("surface"===i.type&&o.isPlainObject(i.contours)){var w=["x","y","z"];for(a=0;a<w.length;a++){var A=i.contours[w[a]];o.isPlainObject(A)&&(A.highlightColor&&(A.highlightcolor=A.highlightColor,delete A.highlightColor),A.highlightWidth&&(A.highlightwidth=A.highlightWidth,delete A.highlightWidth))}}if("candlestick"===i.type||"ohlc"===i.type){var _=!1!==(i.increasing||{}).showlegend,k=!1!==(i.decreasing||{}).showlegend,T=p(i.increasing),j=p(i.decreasing);if(!1!==T&&!1!==j){var O=h(T,j,_,k);O&&(i.name=O)}else!T&&!j||i.name||(i.name=T||j)}if(Array.isArray(i.transforms)){var P=i.transforms;for(a=0;a<P.length;a++){var R=P[a];if(o.isPlainObject(R))switch(R.type){case"filter":R.filtersrc&&(R.target=R.filtersrc,delete R.filtersrc),R.calendar&&(R.valuecalendar||(R.valuecalendar=R.calendar),delete R.calendar);break;case"groupby":if(R.styles=R.styles||R.style,R.styles&&!Array.isArray(R.styles)){var z=R.styles,I=Object.keys(z);R.styles=[];for(var C=0;C<I.length;C++)R.styles.push({target:I[C],value:z[I[C]]})}}}}x(i,"line")&&delete i.line,"marker"in i&&(x(i.marker,"line")&&delete i.marker.line,x(i,"marker")&&delete i.marker),c.clean(i),i.autobinx&&(delete i.autobinx,delete i.xbins),i.autobiny&&(delete i.autobiny,delete i.ybins),g(i),i.colorbar&&g(i.colorbar),i.marker&&i.marker.colorbar&&g(i.marker.colorbar),i.line&&i.line.colorbar&&g(i.line.colorbar),i.aaxis&&g(i.aaxis),i.baxis&&g(i.baxis)}},r.swapXYData=function(e){var r;if(o.swapAttrs(e,["?","?0","d?","?bins","nbins?","autobin?","?src","error_?"]),Array.isArray(e.z)&&Array.isArray(e.z[0])&&(e.transpose?delete e.transpose:e.transpose=!0),e.error_x&&e.error_y){var t=e.error_y,a="copy_ystyle"in t?t.copy_ystyle:!(t.color||t.thickness||t.width);o.swapAttrs(e,["error_?.copy_ystyle"]),a&&o.swapAttrs(e,["error_?.color","error_?.thickness","error_?.width"])}if("string"===typeof e.hoverinfo){var i=e.hoverinfo.split("+");for(r=0;r<i.length;r++)"x"===i[r]?i[r]="y":"y"===i[r]&&(i[r]="x");e.hoverinfo=i.join("+")}},r.coerceTraceIndices=function(e,r){if(a(r))return[r];if(!Array.isArray(r)||!r.length)return e.data.map((function(e,r){return r}));if(Array.isArray(r)){for(var t=[],i=0;i<r.length;i++)o.isIndex(r[i],e.data.length)?t.push(r[i]):o.warn("trace index (",r[i],") is not a number or is out of bounds");return t}return r},r.manageArrayContainers=function(e,r,t){var i=e.obj,s=e.parts,n=s.length,l=s[n-1],c=a(l);if(c&&null===r){var d=s.slice(0,n-1).join(".");o.nestedProperty(i,d).get().splice(l,1)}else c&&void 0===e.get()?(void 0===e.get()&&(t[e.astr]=null),e.set(r)):e.set(r)};var v=/(\.[^\[\]\.]+|\[[^\[\]\.]+\])$/;function b(e){var r=e.search(v);if(r>0)return e.substr(0,r)}r.hasParent=function(e,r){for(var t=b(r);t;){if(t in e)return!0;t=b(t)}return!1};var w=["x","y","z"];r.clearAxisTypes=function(e,r,t){for(var a=0;a<r.length;a++)for(var i=e._fullData[a],s=0;s<3;s++){var n=y(e,i,w[s]);if(n&&"log"!==n.type){var l=n._name,c=n._id.substr(1);if("scene"===c.substr(0,5)){if(void 0!==t[c])continue;l=c+"."+l}var d=l+".type";void 0===t[l]&&void 0===t[d]&&o.nestedProperty(e.layout,d).set(null)}}}},48454:function(e,r,t){var a=t(9772);r._doPlot=a._doPlot,r.newPlot=a.newPlot,r.restyle=a.restyle,r.relayout=a.relayout,r.redraw=a.redraw,r.update=a.update,r._guiRestyle=a._guiRestyle,r._guiRelayout=a._guiRelayout,r._guiUpdate=a._guiUpdate,r._storeDirectGUIEdit=a._storeDirectGUIEdit,r.react=a.react,r.extendTraces=a.extendTraces,r.prependTraces=a.prependTraces,r.addTraces=a.addTraces,r.deleteTraces=a.deleteTraces,r.moveTraces=a.moveTraces,r.purge=a.purge,r.addFrames=a.addFrames,r.deleteFrames=a.deleteFrames,r.animate=a.animate,r.setPlotConfig=a.setPlotConfig,r.toImage=t(58555),r.validate=t(45170),r.downloadImage=t(75172);var i=t(47213);r.makeTemplate=i.makeTemplate,r.validateTemplate=i.validateTemplate}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3448],{3046:function(e,t,r){var a=r(97451),n=r(20184).axisHoverFormat,o=r(4216).r,i=r(49762),l=r(42837),s=r(87241).extendFlat,c={x:{valType:"data_array",editType:"calc+clearAxisTypes",description:"Sets the x coordinates of the vector field."},y:{valType:"data_array",editType:"calc+clearAxisTypes",description:"Sets the y coordinates of the vector field."},z:{valType:"data_array",editType:"calc+clearAxisTypes",description:"Sets the z coordinates of the vector field."},u:{valType:"data_array",editType:"calc",description:"Sets the x components of the vector field."},v:{valType:"data_array",editType:"calc",description:"Sets the y components of the vector field."},w:{valType:"data_array",editType:"calc",description:"Sets the z components of the vector field."},starts:{x:{valType:"data_array",editType:"calc",description:["Sets the x components of the starting position of the streamtubes"].join(" ")},y:{valType:"data_array",editType:"calc",description:["Sets the y components of the starting position of the streamtubes"].join(" ")},z:{valType:"data_array",editType:"calc",description:["Sets the z components of the starting position of the streamtubes"].join(" ")},editType:"calc"},maxdisplayed:{valType:"integer",min:0,dflt:1e3,editType:"calc",description:["The maximum number of displayed segments in a streamtube."].join(" ")},sizeref:{valType:"number",editType:"calc",min:0,dflt:1,description:["The scaling factor for the streamtubes.","The default is 1, which avoids two max divergence tubes from touching","at adjacent starting positions."].join(" ")},text:{valType:"string",dflt:"",editType:"calc",description:["Sets a text element associated with this trace.","If trace `hoverinfo` contains a *text* flag,","this text element will be seen in all hover labels.","Note that streamtube traces do not support array `text` values."].join(" ")},hovertext:{valType:"string",dflt:"",editType:"calc",description:"Same as `text`."},hovertemplate:o({editType:"calc"},{keys:["tubex","tubey","tubez","tubeu","tubev","tubew","norm","divergence"]}),uhoverformat:n("u",1),vhoverformat:n("v",1),whoverformat:n("w",1),xhoverformat:n("x"),yhoverformat:n("y"),zhoverformat:n("z"),showlegend:s({},l.showlegend,{dflt:!1})};s(c,a("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"}));["opacity","lightposition","lighting"].forEach((function(e){c[e]=i[e]})),c.hoverinfo=s({},l.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","divergence","text","name"],dflt:"x+y+z+norm+text+name"}),c.transforms=void 0,e.exports=c},73698:function(e,t,r){var a=r(47401),n=r(92171);function o(e){var t,r,n,o,l,s,c,u,h,d,f,p,v=e._x,m=e._y,g=e._z,y=e._len,x=-1/0,b=1/0,w=-1/0,T=1/0,_=-1/0,k=1/0,S="";for(y&&(c=v[0],h=m[0],f=g[0]),y>1&&(u=v[y-1],d=m[y-1],p=g[y-1]),t=0;t<y;t++)x=Math.max(x,v[t]),b=Math.min(b,v[t]),w=Math.max(w,m[t]),T=Math.min(T,m[t]),_=Math.max(_,g[t]),k=Math.min(k,g[t]),o||v[t]===c||(o=!0,S+="x"),l||m[t]===h||(l=!0,S+="y"),s||g[t]===f||(s=!0,S+="z");o||(S+="x"),l||(S+="y"),s||(S+="z");var z=i(e._x),C=i(e._y),M=i(e._z);S=(S=(S=S.replace("x",(c>u?"-":"+")+"x")).replace("y",(h>d?"-":"+")+"y")).replace("z",(f>p?"-":"+")+"z");var P=function(){y=0,z=[],C=[],M=[]};(!y||y<z.length*C.length*M.length)&&P();var A=function(e){return"x"===e?v:"y"===e?m:g},I=function(e){return"x"===e?z:"y"===e?C:M},O=function(e){return e[y-1]<e[0]?-1:1},L=A(S[1]),H=A(S[3]),j=A(S[5]),R=I(S[1]).length,D=I(S[3]).length,B=I(S[5]).length,F=!1,E=function(e,t,r){return R*(D*e+t)+r},W=O(A(S[1])),Y=O(A(S[3])),V=O(A(S[5]));for(t=0;t<B-1;t++){for(r=0;r<D-1;r++){for(n=0;n<R-1;n++){var N=E(t,r,n),X=E(t,r,n+1),K=E(t,r+1,n),Z=E(t+1,r,n);if(L[N]*W<L[X]*W&&H[N]*Y<H[K]*Y&&j[N]*V<j[Z]*V||(F=!0),F)break}if(F)break}if(F)break}return F&&(a.warn("Encountered arbitrary coordinates! Unable to input data grid."),P()),{xMin:b,yMin:T,zMin:k,xMax:x,yMax:w,zMax:_,Xs:z,Ys:C,Zs:M,len:y,fill:S}}function i(e){return a.distinctVals(e).vals}function l(e,t){if(void 0===t&&(t=e.length),a.isTypedArray(e))return e.subarray(0,t);for(var r=[],n=0;n<t;n++)r[n]=+e[n];return r}e.exports={calc:function(e,t){t._len=Math.min(t.u.length,t.v.length,t.w.length,t.x.length,t.y.length,t.z.length),t._u=l(t.u,t._len),t._v=l(t.v,t._len),t._w=l(t.w,t._len),t._x=l(t.x,t._len),t._y=l(t.y,t._len),t._z=l(t.z,t._len);var r=o(t);t._gridFill=r.fill,t._Xs=r.Xs,t._Ys=r.Ys,t._Zs=r.Zs,t._len=r.len;var a,i,s,c=0;t.starts&&(a=l(t.starts.x||[]),i=l(t.starts.y||[]),s=l(t.starts.z||[]),c=Math.min(a.length,i.length,s.length)),t._startsX=a||[],t._startsY=i||[],t._startsZ=s||[];var u,h=0,d=1/0;for(u=0;u<t._len;u++){var f=t._u[u],p=t._v[u],v=t._w[u],m=Math.sqrt(f*f+p*p+v*v);h=Math.max(h,m),d=Math.min(d,m)}for(n(e,t,{vals:[d,h],containerStr:"",cLetter:"c"}),u=0;u<c;u++){var g=a[u];r.xMax=Math.max(r.xMax,g),r.xMin=Math.min(r.xMin,g);var y=i[u];r.yMax=Math.max(r.yMax,y),r.yMin=Math.min(r.yMin,y);var x=s[u];r.zMax=Math.max(r.zMax,x),r.zMin=Math.min(r.zMin,x)}t._slen=c,t._normMax=h,t._xbnds=[r.xMin,r.xMax],t._ybnds=[r.yMin,r.yMax],t._zbnds=[r.zMin,r.zMax]},filter:l,processGrid:o}},66243:function(e,t,r){var a=r(94794),n=a.createTubeMesh,o=r(47401),i=r(63750).parseColorScale,l=r(47624).extractOpts,s=r(35839),c={xaxis:0,yaxis:1,zaxis:2};function u(e,t){this.scene=e,this.uid=t,this.mesh=null,this.data=null}var h=u.prototype;function d(e){var t=e.length;return t>2?e.slice(1,t-1):2===t?[(e[0]+e[1])/2]:e}function f(e){var t=e.length;return 1===t?[.5,.5]:[e[1]-e[0],e[t-1]-e[t-2]]}function p(e,t){var r=e.fullSceneLayout,n=e.dataScale,u=t._len,h={};function p(e,t){var a=r[t],i=n[c[t]];return o.simpleMap(e,(function(e){return a.d2l(e)*i}))}if(h.vectors=s(p(t._u,"xaxis"),p(t._v,"yaxis"),p(t._w,"zaxis"),u),!u)return{positions:[],cells:[]};var v=p(t._Xs,"xaxis"),m=p(t._Ys,"yaxis"),g=p(t._Zs,"zaxis");if(h.meshgrid=[v,m,g],h.gridFill=t._gridFill,t._slen)h.startingPositions=s(p(t._startsX,"xaxis"),p(t._startsY,"yaxis"),p(t._startsZ,"zaxis"));else{for(var y=m[0],x=d(v),b=d(g),w=new Array(x.length*b.length),T=0,_=0;_<x.length;_++)for(var k=0;k<b.length;k++)w[T++]=[x[_],y,b[k]];h.startingPositions=w}h.colormap=i(t),h.tubeSize=t.sizeref,h.maxLength=t.maxdisplayed;var S=p(t._xbnds,"xaxis"),z=p(t._ybnds,"yaxis"),C=p(t._zbnds,"zaxis"),M=f(v),P=f(m),A=f(g),I=[[S[0]-M[0],z[0]-P[0],C[0]-A[0]],[S[1]+M[1],z[1]+P[1],C[1]+A[1]]],O=a(h,I),L=l(t);O.vertexIntensityBounds=[L.min/t._normMax,L.max/t._normMax];var H=t.lightposition;return O.lightPosition=[H.x,H.y,H.z],O.ambient=t.lighting.ambient,O.diffuse=t.lighting.diffuse,O.specular=t.lighting.specular,O.roughness=t.lighting.roughness,O.fresnel=t.lighting.fresnel,O.opacity=t.opacity,t._pad=O.tubeScale*t.sizeref*2,O}h.handlePick=function(e){var t=this.scene.fullSceneLayout,r=this.scene.dataScale;function a(e,a){var n=t[a],o=r[c[a]];return n.l2c(e)/o}if(e.object===this.mesh){var n=e.data.position,o=e.data.velocity;return e.traceCoordinate=[a(n[0],"xaxis"),a(n[1],"yaxis"),a(n[2],"zaxis"),a(o[0],"xaxis"),a(o[1],"yaxis"),a(o[2],"zaxis"),e.data.intensity*this.data._normMax,e.data.divergence],e.textLabel=this.data.hovertext||this.data.text,!0}},h.update=function(e){this.data=e;var t=p(this.scene,e);this.mesh.update(t)},h.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(e,t){var r=e.glplot.gl,a=p(e,t),o=n(r,a),i=new u(e,t.uid);return i.mesh=o,i.data=t,o._trace=i,e.glplot.add(o),i}},65009:function(e,t,r){var a=r(47401),n=r(94060),o=r(3046);e.exports=function(e,t,r,i){function l(r,n){return a.coerce(e,t,o,r,n)}var s=l("u"),c=l("v"),u=l("w"),h=l("x"),d=l("y"),f=l("z");s&&s.length&&c&&c.length&&u&&u.length&&h&&h.length&&d&&d.length&&f&&f.length?(l("starts.x"),l("starts.y"),l("starts.z"),l("maxdisplayed"),l("sizeref"),l("lighting.ambient"),l("lighting.diffuse"),l("lighting.specular"),l("lighting.roughness"),l("lighting.fresnel"),l("lightposition.x"),l("lightposition.y"),l("lightposition.z"),n(e,t,i,l,{prefix:"",cLetter:"c"}),l("text"),l("hovertext"),l("hovertemplate"),l("uhoverformat"),l("vhoverformat"),l("whoverformat"),l("xhoverformat"),l("yhoverformat"),l("zhoverformat"),t._length=null):t.visible=!1}},9111:function(e,t,r){e.exports={moduleType:"trace",name:"streamtube",basePlotModule:r(6727),categories:["gl3d","showLegend"],attributes:r(3046),supplyDefaults:r(65009),colorbar:{min:"cmin",max:"cmax"},calc:r(73698).calc,plot:r(66243),eventData:function(e,t){return e.tubex=e.x,e.tubey=e.y,e.tubez=e.z,e.tubeu=t.traceCoordinate[3],e.tubev=t.traceCoordinate[4],e.tubew=t.traceCoordinate[5],e.norm=t.traceCoordinate[6],e.divergence=t.traceCoordinate[7],delete e.x,delete e.y,delete e.z,e},meta:{description:["Use a streamtube trace to visualize flow in a vector field.","","Specify a vector field using 6 1D arrays of equal length,","3 position arrays `x`, `y` and `z`","and 3 vector component arrays `u`, `v`, and `w`.","","By default, the tubes' starting positions will be cut from the vector field's","x-z plane at its minimum y value.","To specify your own starting position, use attributes `starts.x`, `starts.y`","and `starts.z`.","The color is encoded by the norm of (u, v, w), and the local radius","by the divergence of (u, v, w)."].join(" ")}}},44244:function(e,t,r){var a=r(42837),n=r(4216).r,o=r(4216).a,i=r(97451),l=r(16688).u,s=r(86692),c=r(84160),u=r(87241).extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},s.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},s.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:s.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:o({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:u({},a.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextorientation:s.insidetextorientation,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:s.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst/treemap/icicle trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:l({name:"sunburst",trace:!0,editType:"calc"})}},58548:function(e,t,r){var a=r(35722);t.name="sunburst",t.plot=function(e,r,n,o){a.plotBasePlot(t.name,e,r,n,o)},t.clean=function(e,r,n,o){a.cleanBasePlot(t.name,e,r,n,o)}},23348:function(e,t,r){var a=r(43566),n=r(83491),o=r(47401),i=r(47624).makeColorScaleFuncFromTrace,l=r(93444).makePullColorFn,s=r(93444).generateExtendedColors,c=r(47624).calc,u=r(9405).ALMOST_EQUAL,h={},d={},f={};function p(e,t,r){var a=0,n=e.children;if(n){for(var o=n.length,i=0;i<o;i++)a+=p(n[i],t,r);r.branches&&a++}else r.leaves&&a++;return e.value=e.data.data.value=a,t._values||(t._values=[]),t._values[e.data.data.i]=a,a}t.calc=function(e,t){var r,s,h,d,f,v,m=e._fullLayout,g=t.ids,y=o.isArrayOrTypedArray(g),x=t.labels,b=t.parents,w=t.values,T=o.isArrayOrTypedArray(w),_=[],k={},S={},z=function(e){return e||"number"===typeof e},C=function(e){return!T||n(w[e])&&w[e]>=0};y?(r=Math.min(g.length,b.length),s=function(e){return z(g[e])&&C(e)},h=function(e){return String(g[e])}):(r=Math.min(x.length,b.length),s=function(e){return z(x[e])&&C(e)},h=function(e){return String(x[e])}),T&&(r=Math.min(r,w.length));for(var M=0;M<r;M++)if(s(M)){var P=h(M),A=z(b[M])?String(b[M]):"",I={i:M,id:P,pid:A,label:z(x[M])?String(x[M]):""};T&&(I.v=+w[M]),_.push(I),f=P,k[d=A]?k[d].push(f):k[d]=[f],S[f]=1}if(k[""]){if(k[""].length>1){for(var O=o.randstr(),L=0;L<_.length;L++)""===_[L].pid&&(_[L].pid=O);_.unshift({hasMultipleRoots:!0,id:O,pid:"",label:""})}}else{var H,j=[];for(H in k)S[H]||j.push(H);if(1!==j.length)return o.warn(["Multiple implied roots, cannot build",t.type,"hierarchy of",t.name+".","These roots include:",j.join(", ")].join(" "));H=j[0],_.unshift({hasImpliedRoot:!0,id:H,pid:"",label:H})}try{v=a.stratify().id((function(e){return e.id})).parentId((function(e){return e.pid}))(_)}catch(Y){return o.warn(["Failed to build",t.type,"hierarchy of",t.name+".","Error:",Y.message].join(" "))}var R=a.hierarchy(v),D=!1;if(T)switch(t.branchvalues){case"remainder":R.sum((function(e){return e.data.v}));break;case"total":R.each((function(e){var r=e.data.data,a=r.v;if(e.children){var n=e.children.reduce((function(e,t){return e+t.data.data.v}),0);if((r.hasImpliedRoot||r.hasMultipleRoots)&&(a=n),a<n*u)return D=!0,o.warn(["Total value for node",e.data.data.id,"of",t.name,"is smaller than the sum of its children.","\nparent value =",a,"\nchildren sum =",n].join(" "))}e.value=a}))}else p(R,t,{branches:-1!==t.count.indexOf("branches"),leaves:-1!==t.count.indexOf("leaves")});if(!D){var B,F;t.sort&&R.sort((function(e,t){return t.value-e.value}));var E=t.marker.colors||[],W=!!E.length;return t._hasColorscale?(W||(E=T?t.values:t._values),c(e,t,{vals:E,containerStr:"marker",cLetter:"c"}),F=i(t.marker)):B=l(m["_"+t.type+"colormap"]),R.each((function(e){var r=e.data.data;r.color=t._hasColorscale?F(E[r.i]):B(E[r.i],r.id)})),_[0].hierarchy=R,_}},t._runCrossTraceCalc=function(e,t){var r=t._fullLayout,a=t.calcdata,n=r[e+"colorway"],o=r["_"+e+"colormap"];r["extend"+e+"colors"]&&(n=s(n,"icicle"===e?f:"treemap"===e?d:h));var i,l=0;function c(e){var t=e.data.data,r=t.id;!1===t.color&&(o[r]?t.color=o[r]:e.parent?e.parent.parent?t.color=e.parent.data.data.color:(o[r]=t.color=n[l%n.length],l++):t.color=i)}for(var u=0;u<a.length;u++){var p=a[u][0];p.trace.type===e&&p.hierarchy&&(i=p.trace.root.color,p.hierarchy.each(c))}},t.crossTraceCalc=function(e){return t._runCrossTraceCalc("sunburst",e)}},84160:function(e){e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}},13443:function(e,t,r){var a=r(47401),n=r(44244),o=r(16688).N,i=r(18878).handleText,l=r(47624),s=l.hasColorscale,c=l.handleDefaults;e.exports=function(e,t,r,l){function u(r,o){return a.coerce(e,t,n,r,o)}var h=u("labels"),d=u("parents");if(h&&h.length&&d&&d.length){var f=u("values");f&&f.length?u("branchvalues"):u("count"),u("level"),u("maxdepth"),u("marker.line.width")&&u("marker.line.color",l.paper_bgcolor),u("marker.colors");var p=t._hasColorscale=s(e,"marker","colors")||(e.marker||{}).coloraxis;p&&c(e,t,l,u,{prefix:"marker.",cLetter:"c"}),u("leaf.opacity",p?1:.7);var v=u("text");u("texttemplate"),t.texttemplate||u("textinfo",Array.isArray(v)?"text+label":"label"),u("hovertext"),u("hovertemplate");i(e,t,l,u,"auto",{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),u("insidetextorientation"),u("sort"),u("rotation"),u("root.color"),o(t,l,u),t._length=null}else t.visible=!1}},21379:function(e,t,r){var a=r(62258),n=r(62282),o=r(14904).appendArrayPointValue,i=r(21661),l=r(47401),s=r(19428),c=r(94276),u=r(80084).formatPieValue;function h(e,t,r){for(var a=e.data.data,n={curveNumber:t.index,pointNumber:a.i,data:t._input,fullData:t},i=0;i<r.length;i++){var l=r[i];l in e&&(n[l]=e[l])}return"parentString"in e&&!c.isHierarchyRoot(e)&&(n.parent=e.parentString),o(n,t,a.i),n}e.exports=function(e,t,r,o,d){var f=o[0],p=f.trace,v=f.hierarchy,m="sunburst"===p.type,g="treemap"===p.type||"icicle"===p.type;"_hasHoverLabel"in p||(p._hasHoverLabel=!1),"_hasHoverEvent"in p||(p._hasHoverEvent=!1);e.on("mouseover",(function(n){var o=r._fullLayout;if(!r._dragging&&!1!==o.hovermode){var s,y=r._fullData[p.index],x=n.data.data,b=x.i,w=c.isHierarchyRoot(n),T=c.getParent(v,n),_=c.getValue(n),k=function(e){return l.castOption(y,b,e)},S=k("hovertemplate"),z=i.castHoverinfo(y,o,b),C=o.separators;if(S||z&&"none"!==z&&"skip"!==z){var M,P;m&&(M=f.cx+n.pxmid[0]*(1-n.rInscribed),P=f.cy+n.pxmid[1]*(1-n.rInscribed)),g&&(M=n._hoverX,P=n._hoverY);var A,I={},O=[],L=[],H=function(e){return-1!==O.indexOf(e)};z&&(O="all"===z?y._module.attributes.hoverinfo.flags:z.split("+")),I.label=x.label,H("label")&&I.label&&L.push(I.label),x.hasOwnProperty("v")&&(I.value=x.v,I.valueLabel=u(I.value,C),H("value")&&L.push(I.valueLabel)),I.currentPath=n.currentPath=c.getPath(n.data),H("current path")&&!w&&L.push(I.currentPath);var j=[],R=function(){-1===j.indexOf(A)&&(L.push(A),j.push(A))};I.percentParent=n.percentParent=_/c.getValue(T),I.parent=n.parentString=c.getPtLabel(T),H("percent parent")&&(A=c.formatPercent(I.percentParent,C)+" of "+I.parent,R()),I.percentEntry=n.percentEntry=_/c.getValue(t),I.entry=n.entry=c.getPtLabel(t),!H("percent entry")||w||n.onPathbar||(A=c.formatPercent(I.percentEntry,C)+" of "+I.entry,R()),I.percentRoot=n.percentRoot=_/c.getValue(v),I.root=n.root=c.getPtLabel(v),H("percent root")&&!w&&(A=c.formatPercent(I.percentRoot,C)+" of "+I.root,R()),I.text=k("hovertext")||k("text"),H("text")&&(A=I.text,l.isValidTextValue(A)&&L.push(A)),s=[h(n,y,d.eventDataKeys)];var D={trace:y,y:P,_x0:n._x0,_x1:n._x1,_y0:n._y0,_y1:n._y1,text:L.join("<br>"),name:S||H("name")?y.name:void 0,color:k("hoverlabel.bgcolor")||x.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:S,hovertemplateLabels:I,eventData:s};m&&(D.x0=M-n.rInscribed*n.rpx1,D.x1=M+n.rInscribed*n.rpx1,D.idealAlign=n.pxmid[0]<0?"left":"right"),g&&(D.x=M,D.idealAlign=M<0?"left":"right");var B=[];i.loneHover(D,{container:o._hoverlayer.node(),outerContainer:o._paper.node(),gd:r,inOut_bbox:B}),s[0].bbox=B[0],p._hasHoverLabel=!0}if(g){var F=e.select("path.surface");d.styleOne(F,n,y,{hovered:!0})}p._hasHoverEvent=!0,r.emit("plotly_hover",{points:s||[h(n,y,d.eventDataKeys)],event:a.event})}})),e.on("mouseout",(function(t){var n=r._fullLayout,o=r._fullData[p.index],l=a.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=a.event,r.emit("plotly_unhover",{points:[h(l,o,d.eventDataKeys)],event:a.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(i.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),g){var s=e.select("path.surface");d.styleOne(s,l,o,{hovered:!1})}})),e.on("click",(function(e){var t=r._fullLayout,o=r._fullData[p.index],l=m&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),f=c.isEntry(e)?c.findEntryWithChild(v,u):c.findEntryWithLevel(v,u),g=c.getPtId(f),y={points:[h(e,o,d.eventDataKeys)],event:a.event};l||(y.nextLevel=g);var x=s.triggerHandler(r,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(r._hoverdata=[h(e,o,d.eventDataKeys)],i.click(r,a.event)),!l&&!1!==x&&!r._dragging&&!r._transitioning){n.call("_storeDirectGUIEdit",o,t._tracePreGUI[o.uid],{level:o.level});var b={data:[{level:g}],traces:[p.index]},w={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:"immediate",fromcurrent:!0};i.loneUnhover(t._hoverlayer.node()),n.call("animate",r,b,w)}}))}},94276:function(e,t,r){var a=r(47401),n=r(31454),o=r(82559),i=r(80084);function l(e){return e.data.data.pid}t.findEntryWithLevel=function(e,r){var a;return r&&e.eachAfter((function(e){if(t.getPtId(e)===r)return a=e.copy()})),a||e},t.findEntryWithChild=function(e,r){var a;return e.eachAfter((function(e){for(var n=e.children||[],o=0;o<n.length;o++){var i=n[o];if(t.getPtId(i)===r)return a=e.copy()}})),a||e},t.isEntry=function(e){return!e.parent},t.isLeaf=function(e){return!e.children},t.getPtId=function(e){return e.data.data.id},t.getPtLabel=function(e){return e.data.data.label},t.getValue=function(e){return e.value},t.isHierarchyRoot=function(e){return""===l(e)},t.setSliceCursor=function(e,r,a){var n=a.isTransitioning;if(!n){var i=e.datum();n=a.hideOnRoot&&t.isHierarchyRoot(i)||a.hideOnLeaves&&t.isLeaf(i)}o(e,n?null:"pointer")},t.getInsideTextFontKey=function(e,t,r,n,o){var i=(o||{}).onPathbar?"pathbar.textfont":"insidetextfont",l=r.data.data.i;return a.castOption(t,l,i+"."+e)||a.castOption(t,l,"textfont."+e)||n.size},t.getOutsideTextFontKey=function(e,t,r,n){var o=r.data.data.i;return a.castOption(t,o,"outsidetextfont."+e)||a.castOption(t,o,"textfont."+e)||n.size},t.isOutsideText=function(e,r){return!e._hasColorscale&&t.isHierarchyRoot(r)},t.determineTextFont=function(e,r,o,i){return t.isOutsideText(e,r)?function(e,r,a){return{color:t.getOutsideTextFontKey("color",e,r,a),family:t.getOutsideTextFontKey("family",e,r,a),size:t.getOutsideTextFontKey("size",e,r,a)}}(e,r,o):function(e,r,o,i){var l=(i||{}).onPathbar,s=r.data.data,c=s.i,u=a.castOption(e,c,(l?"pathbar.textfont":"insidetextfont")+".color");return!u&&e._input.textfont&&(u=a.castOption(e._input,c,"textfont.color")),{color:u||n.contrast(s.color),family:t.getInsideTextFontKey("family",e,r,o,i),size:t.getInsideTextFontKey("size",e,r,o,i)}}(e,r,o,i)},t.hasTransition=function(e){return!!(e&&e.duration>0)},t.getMaxDepth=function(e){return e.maxdepth>=0?e.maxdepth:1/0},t.isHeader=function(e,r){return!(t.isLeaf(e)||e.depth===r._maxDepth-1)},t.getParent=function(e,r){return t.findEntryWithLevel(e,l(r))},t.listPath=function(e,r){var a=e.parent;if(!a)return[];var n=r?[a.data[r]]:[a];return t.listPath(a,r).concat(n)},t.getPath=function(e){return t.listPath(e,"label").join("/")+"/"},t.formatValue=i.formatPieValue,t.formatPercent=function(e,t){var r=a.formatPercent(e,0);return"0%"===r&&(r=i.formatPiePercent(e,t)),r}},98233:function(e,t,r){e.exports={moduleType:"trace",name:"sunburst",basePlotModule:r(58548),categories:[],animatable:!0,attributes:r(44244),layoutAttributes:r(96671),supplyDefaults:r(13443),supplyLayoutDefaults:r(20696),calc:r(23348).calc,crossTraceCalc:r(23348).crossTraceCalc,plot:r(48662).plot,style:r(45036).style,colorbar:r(78666),meta:{description:["Visualize hierarchal data spanning outward radially from root to leaves.","The sunburst sectors are determined by the entries in *labels* or *ids*","and in *parents*."].join(" ")}}},96671:function(e){e.exports={sunburstcolorway:{valType:"colorlist",editType:"calc",description:["Sets the default sunburst slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendsunburstcolors`."].join(" ")},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc",description:["If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},20696:function(e,t,r){var a=r(47401),n=r(96671);e.exports=function(e,t){function r(r,o){return a.coerce(e,t,n,r,o)}r("sunburstcolorway",t.colorway),r("extendsunburstcolors")}},48662:function(e,t,r){var a=r(62258),n=r(43566),o=r(87717).GW,i=r(41707),l=r(47401),s=r(43995),c=r(77846),u=c.recordMinTextSize,h=c.clearMinTextSize,d=r(59718),f=r(80084).getRotationAngle,p=d.computeTransform,v=d.transformInsideText,m=r(45036).styleOne,g=r(49651).resizeText,y=r(21379),x=r(84160),b=r(94276);function w(e,r,c,h){var d=e._fullLayout,g=!d.uniformtext.mode&&b.hasTransition(h),w=a.select(c).selectAll("g.slice"),_=r[0],k=_.trace,S=_.hierarchy,z=b.findEntryWithLevel(S,k.level),C=b.getMaxDepth(k),M=d._size,P=k.domain,A=M.w*(P.x[1]-P.x[0]),I=M.h*(P.y[1]-P.y[0]),O=.5*Math.min(A,I),L=_.cx=M.l+M.w*(P.x[1]+P.x[0])/2,H=_.cy=M.t+M.h*(1-P.y[0])-I/2;if(!z)return w.remove();var j=null,R={};g&&w.each((function(e){R[b.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!j&&b.isEntry(e)&&(j=e)}));var D=function(e){return n.partition().size([2*Math.PI,e.height+1])(e)}(z).descendants(),B=z.height+1,F=0,E=C;_.hasMultipleRoots&&b.isHierarchyRoot(z)&&(D=D.slice(1),B-=1,F=1,E+=1),D=D.filter((function(e){return e.y1<=E}));var W=f(k.rotation);W&&D.forEach((function(e){e.x0+=W,e.x1+=W}));var Y=Math.min(B,C),V=function(e){return(e-F)/Y*O},N=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},X=function(e){return l.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,L,H)},K=function(e){return L+T(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},Z=function(e){return H+T(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};(w=w.data(D,b.getPtId)).enter().append("g").classed("slice",!0),g?w.exit().transition().each((function(){var e=a.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var t=function(e){var t,r=b.getPtId(e),a=R[r],n=R[b.getPtId(z)];if(n){var i=(e.x1>n.x1?2*Math.PI:0)+W;t=e.rpx1<n.rpx1?{x0:e.x0,x1:e.x1,rpx0:0,rpx1:0}:{x0:i,x1:i,rpx0:e.rpx0,rpx1:e.rpx1}}else{var l,s=b.getPtId(e.parent);w.each((function(e){if(b.getPtId(e)===s)return l=e}));var c,u=l.children;u.forEach((function(e,t){if(b.getPtId(e)===r)return c=t}));var h=u.length,d=o(l.x0,l.x1);t={rpx0:O,rpx1:O,x0:d(c/h),x1:d((c+1)/h)}}return o(a,t)}(e);return function(e){return X(t(e))}})),e.select("g.slicetext").attr("opacity",0)})).remove():w.exit().remove(),w.order();var U=null;if(g&&j){var G=b.getPtId(j);w.each((function(e){null===U&&b.getPtId(e)===G&&(U=e.x1)}))}var q=w;function $(e){var t=e.parent,r=R[b.getPtId(t)],a={};if(r){var n=t.children,i=n.indexOf(e),l=n.length,s=o(r.x0,r.x1);a.x0=s(i/l),a.x1=s(i/l)}else a.x0=a.x1=0;return a}g&&(q=q.transition().each("end",(function(){var t=a.select(this);b.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})}))),q.each((function(n){var c=a.select(this),h=l.ensureSingle(c,"path","surface",(function(e){e.style("pointer-events","all")}));n.rpx0=V(n.y0),n.rpx1=V(n.y1),n.xmid=(n.x0+n.x1)/2,n.pxmid=N(n.rpx1,n.xmid),n.midangle=-(n.xmid-Math.PI/2),n.startangle=-(n.x0-Math.PI/2),n.stopangle=-(n.x1-Math.PI/2),n.halfangle=.5*Math.min(l.angleDelta(n.x0,n.x1)||Math.PI,Math.PI),n.ring=1-n.rpx0/n.rpx1,n.rInscribed=function(e){return 0===e.rpx0&&l.isFullCircle([e.x0,e.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2))}(n),g?h.transition().attrTween("d",(function(e){var t=function(e){var t,r=R[b.getPtId(e)],a={x0:e.x0,x1:e.x1,rpx0:e.rpx0,rpx1:e.rpx1};if(r)t=r;else if(j)if(e.parent)if(U){var n=(e.x1>U?2*Math.PI:0)+W;t={x0:n,x1:n}}else t={rpx0:O,rpx1:O},l.extendFlat(t,$(e));else t={rpx0:0,rpx1:0};else t={x0:W,x1:W};return o(t,a)}(e);return function(e){return X(t(e))}})):h.attr("d",X),c.call(y,z,e,r,{eventDataKeys:x.eventDataKeys,transitionTime:x.CLICK_TRANSITION_TIME,transitionEasing:x.CLICK_TRANSITION_EASING}).call(b.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),h.call(m,n,k);var f=l.ensureSingle(c,"g","slicetext"),w=l.ensureSingle(f,"text","",(function(e){e.attr("data-notex",1)})),T=l.ensureUniformFontSize(e,b.determineTextFont(k,n,d.font));w.text(t.formatSliceLabel(n,z,k,r,d)).classed("slicetext",!0).attr("text-anchor","middle").call(i.font,T).call(s.convertToTspans,e);var S=i.bBox(w.node());n.transform=v(S,n,_),n.transform.targetX=K(n),n.transform.targetY=Z(n);var C=function(e,t){var r=e.transform;return p(r,t),r.fontSize=T.size,u(k.type,r,d),l.getTextTransform(r)};g?w.transition().attrTween("transform",(function(e){var t=function(e){var t,r=R[b.getPtId(e)],a=e.transform;if(r)t=r;else if(t={rpx1:e.rpx1,transform:{textPosAngle:a.textPosAngle,scale:0,rotate:a.rotate,rCenter:a.rCenter,x:a.x,y:a.y}},j)if(e.parent)if(U){var n=e.x1>U?2*Math.PI:0;t.x0=t.x1=n}else l.extendFlat(t,$(e));else t.x0=t.x1=W;else t.x0=t.x1=W;var i=o(t.transform.textPosAngle,e.transform.textPosAngle),s=o(t.rpx1,e.rpx1),c=o(t.x0,e.x0),h=o(t.x1,e.x1),f=o(t.transform.scale,a.scale),p=o(t.transform.rotate,a.rotate),v=0===a.rCenter?3:0===t.transform.rCenter?1/3:1,m=o(t.transform.rCenter,a.rCenter),g=function(e){return m(Math.pow(e,v))};return function(e){var t=s(e),r=c(e),n=h(e),o=g(e),l={pxmid:N(t,(r+n)/2),rpx1:t,transform:{textPosAngle:i(e),rCenter:o,x:a.x,y:a.y}};return u(k.type,a,d),{transform:{targetX:K(l),targetY:Z(l),scale:f(e),rotate:p(e),rCenter:o}}}}(e);return function(e){return C(t(e),S)}})):w.attr("transform",C(n,S))}))}function T(e){return t=e.rpx1,r=e.transform.textPosAngle,[t*Math.sin(r),-t*Math.cos(r)];var t,r}t.plot=function(e,t,r,n){var o,i,l=e._fullLayout,s=l._sunburstlayer,c=!r,u=!l.uniformtext.mode&&b.hasTransition(r);(h("sunburst",l),(o=s.selectAll("g.trace.sunburst").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),o.order(),u)?(n&&(i=n()),a.transition().duration(r.duration).ease(r.easing).each("end",(function(){i&&i()})).each("interrupt",(function(){i&&i()})).each((function(){s.selectAll("g.trace").each((function(t){w(e,t,this,r)}))}))):(o.each((function(t){w(e,t,this,r)})),l.uniformtext.mode&&g(e,l._sunburstlayer.selectAll(".trace"),"sunburst"));c&&o.exit().remove()},t.formatSliceLabel=function(e,t,r,a,n){var o=r.texttemplate,i=r.textinfo;if(!o&&(!i||"none"===i))return"";var s=n.separators,c=a[0],u=e.data.data,h=c.hierarchy,d=b.isHierarchyRoot(e),f=b.getParent(h,e),p=b.getValue(e);if(!o){var v,m=i.split("+"),g=function(e){return-1!==m.indexOf(e)},y=[];if(g("label")&&u.label&&y.push(u.label),u.hasOwnProperty("v")&&g("value")&&y.push(b.formatValue(u.v,s)),!d){g("current path")&&y.push(b.getPath(e.data));var x=0;g("percent parent")&&x++,g("percent entry")&&x++,g("percent root")&&x++;var w=x>1;if(x){var T,_=function(e){v=b.formatPercent(T,s),w&&(v+=" of "+e),y.push(v)};g("percent parent")&&!d&&(T=p/b.getValue(f),_("parent")),g("percent entry")&&(T=p/b.getValue(t),_("entry")),g("percent root")&&(T=p/b.getValue(h),_("root"))}}return g("text")&&(v=l.castOption(r,u.i,"text"),l.isValidTextValue(v)&&y.push(v)),y.join("<br>")}var k=l.castOption(r,u.i,"texttemplate");if(!k)return"";var S={};u.label&&(S.label=u.label),u.hasOwnProperty("v")&&(S.value=u.v,S.valueLabel=b.formatValue(u.v,s)),S.currentPath=b.getPath(e.data),d||(S.percentParent=p/b.getValue(f),S.percentParentLabel=b.formatPercent(S.percentParent,s),S.parent=b.getPtLabel(f)),S.percentEntry=p/b.getValue(t),S.percentEntryLabel=b.formatPercent(S.percentEntry,s),S.entry=b.getPtLabel(t),S.percentRoot=p/b.getValue(h),S.percentRootLabel=b.formatPercent(S.percentRoot,s),S.root=b.getPtLabel(h),u.hasOwnProperty("color")&&(S.color=u.color);var z=l.castOption(r,u.i,"text");return(l.isValidTextValue(z)||""===z)&&(S.text=z),S.customdata=l.castOption(r,u.i,"customdata"),l.texttemplateString(k,S,n._d3locale,S,r._meta||{})}},45036:function(e,t,r){var a=r(62258),n=r(31454),o=r(47401),i=r(77846).resizeText;function l(e,t,r){var a=t.data.data,i=!t.children,l=a.i,s=o.castOption(r,l,"marker.line.color")||n.defaultLine,c=o.castOption(r,l,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,a.color).call(n.stroke,s).style("opacity",i?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");i(e,t,"sunburst"),t.each((function(e){var t=a.select(this),r=e[0].trace;t.style("opacity",r.opacity),t.selectAll("path.surface").each((function(e){a.select(this).call(l,e,r)}))}))},styleOne:l}},20755:function(e,t,r){var a=r(31454),n=r(97451),o=r(20184).axisHoverFormat,i=r(4216).r,l=r(42837),s=r(87241).extendFlat,c=r(17342).overrideAll;function u(e){return{valType:"boolean",dflt:!1,description:["Determines whether or not these contour lines are projected","on the",e,"plane.","If `highlight` is set to *true* (the default), the projected","lines are shown on hover.","If `show` is set to *true*, the projected lines are shown","in permanence."].join(" ")}}function h(e){return{show:{valType:"boolean",dflt:!1,description:["Determines whether or not contour lines about the",e,"dimension are drawn."].join(" ")},start:{valType:"number",dflt:null,editType:"plot",description:["Sets the starting contour level value.","Must be less than `contours.end`"].join(" ")},end:{valType:"number",dflt:null,editType:"plot",description:["Sets the end contour level value.","Must be more than `contours.start`"].join(" ")},size:{valType:"number",dflt:null,min:0,editType:"plot",description:["Sets the step between each contour level.","Must be positive."].join(" ")},project:{x:u("x"),y:u("y"),z:u("z")},color:{valType:"color",dflt:a.defaultLine,description:"Sets the color of the contour lines."},usecolormap:{valType:"boolean",dflt:!1,description:["An alternate to *color*.","Determines whether or not the contour lines are colored using","the trace *colorscale*."].join(" ")},width:{valType:"number",min:1,max:16,dflt:2,description:"Sets the width of the contour lines."},highlight:{valType:"boolean",dflt:!0,description:["Determines whether or not contour lines about the",e,"dimension are highlighted on hover."].join(" ")},highlightcolor:{valType:"color",dflt:a.defaultLine,description:"Sets the color of the highlighted contour lines."},highlightwidth:{valType:"number",min:1,max:16,dflt:2,description:"Sets the width of the highlighted contour lines."}}}var d=e.exports=c(s({z:{valType:"data_array",description:"Sets the z coordinates."},x:{valType:"data_array",description:"Sets the x coordinates."},y:{valType:"data_array",description:"Sets the y coordinates."},text:{valType:"string",dflt:"",arrayOk:!0,description:["Sets the text elements associated with each z value.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",dflt:"",arrayOk:!0,description:"Same as `text`."},hovertemplate:i(),xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in."].join(" ")},surfacecolor:{valType:"data_array",description:["Sets the surface color values,","used for setting a color scale independent of `z`."].join(" ")}},n("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:h("x"),y:h("y"),z:h("z")},hidesurface:{valType:"boolean",dflt:!1,description:["Determines whether or not a surface is drawn.","For example, set `hidesurface` to *false*","`contours.x.show` to *true* and","`contours.y.show` to *true* to draw a wire frame plot."].join(" ")},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10,description:"Numeric vector, representing the X coordinate for each vertex."},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4,description:"Numeric vector, representing the Y coordinate for each vertex."},z:{valType:"number",min:-1e5,max:1e5,dflt:0,description:"Numeric vector, representing the Z coordinate for each vertex."}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8,description:"Ambient light increases overall color visibility but can wash out the image."},diffuse:{valType:"number",min:0,max:1,dflt:.8,description:"Represents the extent that incident rays are reflected in a range of angles."},specular:{valType:"number",min:0,max:2,dflt:.05,description:"Represents the level that incident rays are reflected in a single direction, causing shine."},roughness:{valType:"number",min:0,max:1,dflt:.5,description:"Alters specular reflection; the rougher the surface, the wider and less contrasty the shine."},fresnel:{valType:"number",min:0,max:5,dflt:.2,description:["Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective","when viewing it from the edge of the paper (almost 90 degrees), causing shine."].join(" ")}},opacity:{valType:"number",min:0,max:1,dflt:1,description:["Sets the opacity of the surface.","Please note that in the case of using high `opacity` values for example a value","greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an","overlay of multiple transparent surfaces may not perfectly be sorted in depth by the","webgl API. This behavior may be improved in the near future and is subject to change."].join(" ")},opacityscale:{valType:"any",editType:"calc",description:["Sets the opacityscale."," The opacityscale must be an array containing"," arrays mapping a normalized value to an opacity value."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 1], [0.5, 0.2], [1, 1]]` means that higher/lower values would have"," higher opacity values and those in the middle would be more transparent"," Alternatively, `opacityscale` may be a palette name string"," of the following list: 'min', 'max', 'extremes' and 'uniform'."," The default is 'uniform'."].join("")},_deprecated:{zauto:s({},n.zauto,{description:"Obsolete. Use `cauto` instead."}),zmin:s({},n.zmin,{description:"Obsolete. Use `cmin` instead."}),zmax:s({},n.zmax,{description:"Obsolete. Use `cmax` instead."})},hoverinfo:s({},l.hoverinfo),showlegend:s({},l.showlegend,{dflt:!1})}),"calc","nested");d.x.editType=d.y.editType=d.z.editType="calc+clearAxisTypes",d.transforms=void 0},89907:function(e,t,r){var a=r(92171);e.exports=function(e,t){t.surfacecolor?a(e,t,{vals:t.surfacecolor,containerStr:"",cLetter:"c"}):a(e,t,{vals:t.z,containerStr:"",cLetter:"c"})}},8391:function(e,t,r){var a=r(16802),n=r(98968),o=r(46370).d2,i=r(82335),l=r(93290),s=r(47401).isArrayOrTypedArray,c=r(63750).parseColorScale,u=r(42770),h=r(47624).extractOpts;function d(e,t,r){this.scene=e,this.uid=r,this.surface=t,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var f=d.prototype;f.getXat=function(e,t,r,a){var n=s(this.data.x)?s(this.data.x[0])?this.data.x[t][e]:this.data.x[e]:e;return void 0===r?n:a.d2l(n,0,r)},f.getYat=function(e,t,r,a){var n=s(this.data.y)?s(this.data.y[0])?this.data.y[t][e]:this.data.y[t]:t;return void 0===r?n:a.d2l(n,0,r)},f.getZat=function(e,t,r,a){var n=this.data.z[t][e];return null===n&&this.data.connectgaps&&this.data._interpolatedZ&&(n=this.data._interpolatedZ[t][e]),void 0===r?n:a.d2l(n,0,r)},f.handlePick=function(e){if(e.object===this.surface){var t=(e.data.index[0]-1)/this.dataScaleX-1,r=(e.data.index[1]-1)/this.dataScaleY-1,a=Math.max(Math.min(Math.round(t),this.data.z[0].length-1),0),n=Math.max(Math.min(Math.round(r),this.data._ylength-1),0);e.index=[a,n],e.traceCoordinate=[this.getXat(a,n),this.getYat(a,n),this.getZat(a,n)],e.dataCoordinate=[this.getXat(a,n,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(a,n,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(a,n,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var o=0;o<3;o++){var i=e.dataCoordinate[o];null!==i&&void 0!==i&&(e.dataCoordinate[o]*=this.scene.dataScale[o])}var l=this.data.hovertext||this.data.text;return Array.isArray(l)&&l[n]&&void 0!==l[n][a]?e.textLabel=l[n][a]:e.textLabel=l||"",e.data.dataCoordinate=e.dataCoordinate.slice(),this.surface.highlight(e.data),this.scene.glplot.spikes.position=e.dataCoordinate,!0}};var p=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function v(e,t){if(e<t)return 0;for(var r=0;0===Math.floor(e%t);)e/=t,r++;return r}function m(e){for(var t=[],r=0;r<p.length;r++){var a=p[r];t.push(v(e,a))}return t}function g(e){for(var t=m(e),r=e,a=0;a<p.length;a++)if(t[a]>0){r=p[a];break}return r}function y(e,t){if(!(e<1||t<1)){for(var r=m(e),a=m(t),n=1,o=0;o<p.length;o++)n*=Math.pow(p[o],Math.max(r[o],a[o]));return n}}f.calcXnums=function(e){var t,r=[];for(t=1;t<e;t++){var a=this.getXat(t-1,0),n=this.getXat(t,0);r[t-1]=n!==a&&void 0!==a&&null!==a&&void 0!==n&&null!==n?Math.abs(n-a):0}var o=0;for(t=1;t<e;t++)o+=r[t-1];for(t=1;t<e;t++)0===r[t-1]?r[t-1]=1:r[t-1]=Math.round(o/r[t-1]);return r},f.calcYnums=function(e){var t,r=[];for(t=1;t<e;t++){var a=this.getYat(0,t-1),n=this.getYat(0,t);r[t-1]=n!==a&&void 0!==a&&null!==a&&void 0!==n&&null!==n?Math.abs(n-a):0}var o=0;for(t=1;t<e;t++)o+=r[t-1];for(t=1;t<e;t++)0===r[t-1]?r[t-1]=1:r[t-1]=Math.round(o/r[t-1]);return r};var x=[1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260],b=x[9],w=x[13];function T(e,t,r){var a=r[8]+r[2]*t[0]+r[5]*t[1];return e[0]=(r[6]+r[0]*t[0]+r[3]*t[1])/a,e[1]=(r[7]+r[1]*t[0]+r[4]*t[1])/a,e}function _(e,t,r){return function(e,t,r,a){for(var n=[0,0],i=e.shape[0],l=e.shape[1],s=0;s<i;s++)for(var c=0;c<l;c++)r(n,[s,c],a),e.set(s,c,o(t,n[0],n[1]))}(e,t,T,r),e}function k(e,t){for(var r=!1,a=0;a<e.length;a++)if(t===e[a]){r=!0;break}!1===r&&e.push(t)}f.estimateScale=function(e,t){for(var r=1+function(e){if(0!==e.length){for(var t=1,r=0;r<e.length;r++)t=y(t,e[r]);return t}}(0===t?this.calcXnums(e):this.calcYnums(e));r<b;)r*=2;for(;r>w;)r--,r/=g(r),++r<b&&(r=w);var a=Math.round(r/e);return a>1?a:1},f.refineCoords=function(e){for(var t=this.dataScaleX,r=this.dataScaleY,a=e[0].shape[0],o=e[0].shape[1],i=0|Math.floor(e[0].shape[0]*t+1),l=0|Math.floor(e[0].shape[1]*r+1),s=1+a+1,c=1+o+1,u=n(new Float32Array(s*c),[s,c]),h=[1/t,0,0,0,1/r,0,0,0,1],d=0;d<e.length;++d){this.surface.padField(u,e[d]);var f=n(new Float32Array(i*l),[i,l]);_(f,u,h),e[d]=f}},f.setContourLevels=function(){var e,t,r,a=[[],[],[]],n=[!1,!1,!1],o=!1;for(e=0;e<3;++e)if(this.showContour[e]&&(o=!0,this.contourSize[e]>0&&null!==this.contourStart[e]&&null!==this.contourEnd[e]&&this.contourEnd[e]>this.contourStart[e]))for(n[e]=!0,t=this.contourStart[e];t<this.contourEnd[e];t+=this.contourSize[e])r=t*this.scene.dataScale[e],k(a[e],r);if(o){var i=[[],[],[]];for(e=0;e<3;++e)this.showContour[e]&&(i[e]=n[e]?a[e]:this.scene.contourLevels[e]);this.surface.update({levels:i})}},f.update=function(e){var t,r,a,o,s=this.scene,d=s.fullSceneLayout,f=this.surface,p=c(e),v=s.dataScale,m=e.z[0].length,g=e._ylength,y=s.contourLevels;this.data=e;var x=[];for(t=0;t<3;t++)for(x[t]=[],r=0;r<m;r++)x[t][r]=[];for(r=0;r<m;r++)for(a=0;a<g;a++)x[0][r][a]=this.getXat(r,a,e.xcalendar,d.xaxis),x[1][r][a]=this.getYat(r,a,e.ycalendar,d.yaxis),x[2][r][a]=this.getZat(r,a,e.zcalendar,d.zaxis);if(e.connectgaps)for(e._emptypoints=l(x[2]),i(x[2],e._emptypoints),e._interpolatedZ=[],r=0;r<m;r++)for(e._interpolatedZ[r]=[],a=0;a<g;a++)e._interpolatedZ[r][a]=x[2][r][a];for(t=0;t<3;t++)for(r=0;r<m;r++)for(a=0;a<g;a++)null===(o=x[t][r][a])||void 0===o?x[t][r][a]=NaN:o=x[t][r][a]*=v[t];for(t=0;t<3;t++)for(r=0;r<m;r++)for(a=0;a<g;a++)null!==(o=x[t][r][a])&&void 0!==o&&(this.minValues[t]>o&&(this.minValues[t]=o),this.maxValues[t]<o&&(this.maxValues[t]=o));for(t=0;t<3;t++)this.objectOffset[t]=.5*(this.minValues[t]+this.maxValues[t]);for(t=0;t<3;t++)for(r=0;r<m;r++)for(a=0;a<g;a++)null!==(o=x[t][r][a])&&void 0!==o&&(x[t][r][a]-=this.objectOffset[t]);var b=[n(new Float32Array(m*g),[m,g]),n(new Float32Array(m*g),[m,g]),n(new Float32Array(m*g),[m,g])];for(t=0;t<3;t++)for(r=0;r<m;r++)for(a=0;a<g;a++)b[t].set(r,a,x[t][r][a]);x=[];var T={colormap:p,levels:[[],[],[]],showContour:[!0,!0,!0],showSurface:!e.hidesurface,contourProject:[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],contourWidth:[1,1,1],contourColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],contourTint:[1,1,1],dynamicColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],dynamicWidth:[1,1,1],dynamicTint:[1,1,1],opacityscale:e.opacityscale,opacity:e.opacity},_=h(e);if(T.intensityBounds=[_.min,_.max],e.surfacecolor){var k=n(new Float32Array(m*g),[m,g]);for(r=0;r<m;r++)for(a=0;a<g;a++)k.set(r,a,e.surfacecolor[a][r]);b.push(k)}else T.intensityBounds[0]*=v[2],T.intensityBounds[1]*=v[2];(w<b[0].shape[0]||w<b[0].shape[1])&&(this.refineData=!1),!0===this.refineData&&(this.dataScaleX=this.estimateScale(b[0].shape[0],0),this.dataScaleY=this.estimateScale(b[0].shape[1],1),1===this.dataScaleX&&1===this.dataScaleY||this.refineCoords(b)),e.surfacecolor&&(T.intensity=b.pop());var S=[!0,!0,!0],z=["x","y","z"];for(t=0;t<3;++t){var C=e.contours[z[t]];S[t]=C.highlight,T.showContour[t]=C.show||C.highlight,T.showContour[t]&&(T.contourProject[t]=[C.project.x,C.project.y,C.project.z],C.show?(this.showContour[t]=!0,T.levels[t]=y[t],f.highlightColor[t]=T.contourColor[t]=u(C.color),C.usecolormap?f.highlightTint[t]=T.contourTint[t]=0:f.highlightTint[t]=T.contourTint[t]=1,T.contourWidth[t]=C.width,this.contourStart[t]=C.start,this.contourEnd[t]=C.end,this.contourSize[t]=C.size):(this.showContour[t]=!1,this.contourStart[t]=null,this.contourEnd[t]=null,this.contourSize[t]=0),C.highlight&&(T.dynamicColor[t]=u(C.highlightcolor),T.dynamicWidth[t]=C.highlightwidth))}(function(e){var t=e[0].rgb,r=e[e.length-1].rgb;return t[0]===r[0]&&t[1]===r[1]&&t[2]===r[2]&&t[3]===r[3]})(p)&&(T.vertexColor=!0),T.objectOffset=this.objectOffset,T.coords=b,f.update(T),f.visible=e.visible,f.enableDynamic=S,f.enableHighlight=S,f.snapToData=!0,"lighting"in e&&(f.ambientLight=e.lighting.ambient,f.diffuseLight=e.lighting.diffuse,f.specularLight=e.lighting.specular,f.roughness=e.lighting.roughness,f.fresnel=e.lighting.fresnel),"lightposition"in e&&(f.lightPosition=[e.lightposition.x,e.lightposition.y,e.lightposition.z])},f.dispose=function(){this.scene.glplot.remove(this.surface),this.surface.dispose()},e.exports=function(e,t){var r=e.glplot.gl,n=a({gl:r}),o=new d(e,n,t.uid);return n._trace=o,o.update(t),e.glplot.add(n),o}},48884:function(e,t,r){var a=r(62282),n=r(47401),o=r(94060),i=r(20755),l=.1;function s(e,t,r,a){var n=a("opacityscale");"max"===n?t.opacityscale=[[0,l],[1,1]]:"min"===n?t.opacityscale=[[0,1],[1,l]]:"extremes"===n?t.opacityscale=function(e,t){for(var r=[],a=0;a<32;a++){var n=a/31,o=t+(1-t)*(1-Math.pow(Math.sin(e*n*Math.PI),2));r.push([n,Math.max(0,Math.min(1,o))])}return r}(1,l):function(e){var t=0;if(!Array.isArray(e)||e.length<2)return!1;if(!e[0]||!e[e.length-1])return!1;if(0!==+e[0][0]||1!==+e[e.length-1][0])return!1;for(var r=0;r<e.length;r++){var a=e[r];if(2!==a.length||+a[0]<t)return!1;t=+a[0]}return!0}(n)||(t.opacityscale=void 0)}function c(e,t,r){t in e&&!(r in e)&&(e[r]=e[t])}e.exports={supplyDefaults:function(e,t,r,l){var u,h;function d(r,a){return n.coerce(e,t,i,r,a)}var f=d("x"),p=d("y"),v=d("z");if(!v||!v.length||f&&f.length<1||p&&p.length<1)t.visible=!1;else{t._xlength=Array.isArray(f)&&n.isArrayOrTypedArray(f[0])?v.length:v[0].length,t._ylength=v.length,a.getComponentMethod("calendars","handleTraceDefaults")(e,t,["x","y","z"],l),d("text"),d("hovertext"),d("hovertemplate"),d("xhoverformat"),d("yhoverformat"),d("zhoverformat"),["lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lightposition.x","lightposition.y","lightposition.z","hidesurface","connectgaps","opacity"].forEach((function(e){d(e)}));var m=d("surfacecolor"),g=["x","y","z"];for(u=0;u<3;++u){var y="contours."+g[u],x=d(y+".show"),b=d(y+".highlight");if(x||b)for(h=0;h<3;++h)d(y+".project."+g[h]);x&&(d(y+".color"),d(y+".width"),d(y+".usecolormap")),b&&(d(y+".highlightcolor"),d(y+".highlightwidth")),d(y+".start"),d(y+".end"),d(y+".size")}m||(c(e,"zmin","cmin"),c(e,"zmax","cmax"),c(e,"zauto","cauto")),o(e,t,l,d,{prefix:"",cLetter:"c"}),s(e,t,l,d),t._length=null}},opacityscaleDefaults:s}},16704:function(e,t,r){e.exports={attributes:r(20755),supplyDefaults:r(48884).supplyDefaults,colorbar:{min:"cmin",max:"cmax"},calc:r(89907),plot:r(8391),moduleType:"trace",name:"surface",basePlotModule:r(6727),categories:["gl3d","2dMap","showLegend"],meta:{description:["The data the describes the coordinates of the surface is set in `z`.","Data in `z` should be a {2D array}.","Coordinates in `x` and `y` can either be 1D {arrays}","or {2D arrays} (e.g. to graph parametric surfaces).","If not provided in `x` and `y`, the x and y coordinates are assumed","to be linear starting at 0 with a unit step.","The color scale corresponds to the `z` values by default.","For custom color scales, use `surfacecolor` which should be a {2D array},","where its bounds can be controlled using `cmin` and `cmax`."].join(" ")}}},39433:function(e,t,r){var a=r(10494),n=r(87241).extendFlat,o=r(17342).overrideAll,i=r(5153),l=r(16688).u,s=r(20184).descriptionOnlyNumbers;(e.exports=o({domain:l({name:"table",trace:!0}),columnwidth:{valType:"number",arrayOk:!0,dflt:null,description:["The width of columns expressed as a ratio. Columns fill the available width","in proportion of their specified column widths."].join(" ")},columnorder:{valType:"data_array",description:["Specifies the rendered order of the data columns; for example, a value `2` at position `0`","means that column index `0` in the data will be rendered as the","third column, as columns have an index base of zero."].join(" ")},header:{values:{valType:"data_array",dflt:[],description:["Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`,","therefore the `values[m]` vector length for all columns must be the same (longer vectors","will be truncated). Each value must be a finite number or a string."].join(" ")},format:{valType:"data_array",dflt:[],description:s("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null,description:"Prefix for cell values."},suffix:{valType:"string",arrayOk:!0,dflt:null,description:"Suffix for cell values."},height:{valType:"number",dflt:28,description:"The height of cells."},align:n({},a.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white",description:["Sets the cell fill color. It accepts either a specific color"," or an array of colors or a 2D array of colors."].join("")}},font:n({},i({arrayOk:!0}))},cells:{values:{valType:"data_array",dflt:[],description:["Cell values. `values[m][n]` represents the value of the `n`th point in column `m`,","therefore the `values[m]` vector length for all columns must be the same (longer vectors","will be truncated). Each value must be a finite number or a string."].join(" ")},format:{valType:"data_array",dflt:[],description:s("cell value")},prefix:{valType:"string",arrayOk:!0,dflt:null,description:"Prefix for cell values."},suffix:{valType:"string",arrayOk:!0,dflt:null,description:"Suffix for cell values."},height:{valType:"number",dflt:20,description:"The height of cells."},align:n({},a.align,{arrayOk:!0}),line:{width:{valType:"number",arrayOk:!0,dflt:1},color:{valType:"color",arrayOk:!0,dflt:"grey"}},fill:{color:{valType:"color",arrayOk:!0,dflt:"white",description:["Sets the cell fill color. It accepts either a specific color"," or an array of colors or a 2D array of colors."].join("")}},font:n({},i({arrayOk:!0}))}},"calc","from-root")).transforms=void 0},58198:function(e,t,r){var a=r(13373).eV,n=r(42256),o="table";t.name=o,t.plot=function(e){var t=a(e.calcdata,o)[0];t.length&&n(e,t)},t.clean=function(e,t,r,a){var n=a._has&&a._has(o),i=t._has&&t._has(o);n&&!i&&a._paperdiv.selectAll(".table").remove()}},73266:function(e,t,r){var a=r(84941).wrap;e.exports=function(){return a({})}},82730:function(e){e.exports={cellPad:8,columnExtentOffset:10,columnTitleOffset:28,emptyHeaderHeight:16,latexCheck:/^\$.*\$$/,goldenRatio:1.618,lineBreaker:"<br>",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},14404:function(e,t,r){var a=r(82730),n=r(87241).extendFlat,o=r(83491);function i(e){if(Array.isArray(e)){for(var t=0,r=0;r<e.length;r++)t=Math.max(t,i(e[r]));return t}return e}function l(e,t){return e+t}function s(e){var t,r=e.slice(),a=1/0,n=0;for(t=0;t<r.length;t++)Array.isArray(r[t])||(r[t]=[r[t]]),a=Math.min(a,r[t].length),n=Math.max(n,r[t].length);if(a!==n)for(t=0;t<r.length;t++){var o=n-r[t].length;o&&(r[t]=r[t].concat(c(o)))}return r}function c(e){for(var t=new Array(e),r=0;r<e;r++)t[r]="";return t}function u(e){return e.calcdata.columns.reduce((function(t,r){return r.xIndex<e.xIndex?t+r.columnWidth:t}),0)}function h(e,t){return Object.keys(e).map((function(r){return n({},e[r],{auxiliaryBlocks:t})}))}function d(e,t){for(var r,a={},n=0,o=0,i={firstRowIndex:null,lastRowIndex:null,rows:[]},l=0,s=0,c=0;c<e.length;c++)r=e[c],i.rows.push({rowIndex:c,rowHeight:r}),((o+=r)>=t||c===e.length-1)&&(a[n]=i,i.key=s++,i.firstRowIndex=l,i.lastRowIndex=c,i={firstRowIndex:null,lastRowIndex:null,rows:[]},n+=o,l=c+1,o=0);return a}e.exports=function(e,t){var r=s(t.cells.values),f=function(e){return e.slice(t.header.values.length,e.length)},p=s(t.header.values);p.length&&!p[0].length&&(p[0]=[""],p=s(p));var v=p.concat(f(r).map((function(){return c((p[0]||[""]).length)}))),m=t.domain,g=Math.floor(e._fullLayout._size.w*(m.x[1]-m.x[0])),y=Math.floor(e._fullLayout._size.h*(m.y[1]-m.y[0])),x=t.header.values.length?v[0].map((function(){return t.header.height})):[a.emptyHeaderHeight],b=r.length?r[0].map((function(){return t.cells.height})):[],w=x.reduce(l,0),T=d(b,y-w+a.uplift),_=h(d(x,w),[]),k=h(T,_),S={},z=t._fullInput.columnorder.concat(f(r.map((function(e,t){return t})))),C=v.map((function(e,r){var a=Array.isArray(t.columnwidth)?t.columnwidth[Math.min(r,t.columnwidth.length-1)]:t.columnwidth;return o(a)?Number(a):1})),M=C.reduce(l,0);C=C.map((function(e){return e/M*g}));var P=Math.max(i(t.header.line.width),i(t.cells.line.width)),A={key:t.uid+e._context.staticPlot,translateX:m.x[0]*e._fullLayout._size.w,translateY:e._fullLayout._size.h*(1-m.y[1]),size:e._fullLayout._size,width:g,maxLineWidth:P,height:y,columnOrder:z,groupHeight:y,rowBlocks:k,headerRowBlocks:_,scrollY:0,cells:n({},t.cells,{values:r}),headerCells:n({},t.header,{values:v}),gdColumns:v.map((function(e){return e[0]})),gdColumnsOriginalOrder:v.map((function(e){return e[0]})),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:v.map((function(e,t){var r=S[e];return S[e]=(r||0)+1,{key:e+"__"+S[e],label:e,specIndex:t,xIndex:z[t],xScale:u,x:void 0,calcdata:void 0,columnWidth:C[t]}}))};return A.columns.forEach((function(e){e.calcdata=A,e.x=u(e)})),A}},20226:function(e,t,r){var a=r(87241).extendFlat;t.splitToPanels=function(e){var t=[0,0],r=a({},e,{key:"header",type:"header",page:0,prevPages:t,currentRepaint:[null,null],dragHandle:!0,values:e.calcdata.headerCells.values[e.specIndex],rowBlocks:e.calcdata.headerRowBlocks,calcdata:a({},e.calcdata,{cells:e.calcdata.headerCells})});return[a({},e,{key:"cells1",type:"cells",page:0,prevPages:t,currentRepaint:[null,null],dragHandle:!1,values:e.calcdata.cells.values[e.specIndex],rowBlocks:e.calcdata.rowBlocks}),a({},e,{key:"cells2",type:"cells",page:1,prevPages:t,currentRepaint:[null,null],dragHandle:!1,values:e.calcdata.cells.values[e.specIndex],rowBlocks:e.calcdata.rowBlocks}),r]},t.splitToCells=function(e){var t=function(e){var t=e.rowBlocks[e.page],r=t?t.rows[0].rowIndex:0,a=t?r+t.rows.length:0;return[r,a]}(e);return(e.values||[]).slice(t[0],t[1]).map((function(r,a){return{keyWithinBlock:a+("string"===typeof r&&r.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:t[0]+a,column:e,calcdata:e.calcdata,page:e.page,rowBlocks:e.rowBlocks,value:r}}))}},37377:function(e,t,r){var a=r(47401),n=r(39433),o=r(16688).N;e.exports=function(e,t,r,i){function l(r,o){return a.coerce(e,t,n,r,o)}o(t,i,l),l("columnwidth"),l("header.values"),l("header.format"),l("header.align"),l("header.prefix"),l("header.suffix"),l("header.height"),l("header.line.width"),l("header.line.color"),l("header.fill.color"),a.coerceFont(l,"header.font",a.extendFlat({},i.font)),function(e,t){for(var r=e.columnorder||[],a=e.header.values.length,n=r.slice(0,a),o=n.slice().sort((function(e,t){return e-t})),i=n.map((function(e){return o.indexOf(e)})),l=i.length;l<a;l++)i.push(l);t("columnorder",i)}(t,l),l("cells.values"),l("cells.format"),l("cells.align"),l("cells.prefix"),l("cells.suffix"),l("cells.height"),l("cells.line.width"),l("cells.line.color"),l("cells.fill.color"),a.coerceFont(l,"cells.font",a.extendFlat({},i.font)),t._length=null}},9991:function(e,t,r){e.exports={attributes:r(39433),supplyDefaults:r(37377),calc:r(73266),plot:r(42256),moduleType:"trace",name:"table",basePlotModule:r(58198),categories:["noOpacity"],meta:{description:["Table view for detailed data viewing.","The data are arranged in a grid of rows and columns.","Most styling can be specified for columns, rows or individual cells.","Table is using a column-major order, ie. the grid is represented as a vector of column vectors."].join(" ")}}},42256:function(e,t,r){var a=r(82730),n=r(62258),o=r(47401).numberFormat,i=r(84941),l=r(41707),s=r(43995),c=r(47401).raiseToTop,u=r(47401).strTranslate,h=r(47401).cancelTransition,d=r(14404),f=r(20226),p=r(31454);function v(e){return Math.ceil(e.calcdata.maxLineWidth/2)}function m(e,t){return"clip"+e._fullLayout._uid+"_scrollAreaBottomClip_"+t.key}function g(e,t){return"clip"+e._fullLayout._uid+"_columnBoundaryClippath_"+t.calcdata.key+"_"+t.specIndex}function y(e){return[].concat.apply([],e.map((function(e){return e}))).map((function(e){return e.__data__}))}function x(e,t,r){var o=e.selectAll("."+a.cn.scrollbarKit).data(i.repeat,i.keyFun);o.enter().append("g").classed(a.cn.scrollbarKit,!0).style("shape-rendering","geometricPrecision"),o.each((function(e){var t=e.scrollbarState;t.totalHeight=function(e){var t=e.rowBlocks;return j(t,t.length-1)+(t.length?R(t[t.length-1],1/0):1)}(e),t.scrollableAreaHeight=e.groupHeight-C(e),t.currentlyVisibleHeight=Math.min(t.totalHeight,t.scrollableAreaHeight),t.ratio=t.currentlyVisibleHeight/t.totalHeight,t.barLength=Math.max(t.ratio*t.currentlyVisibleHeight,a.goldenRatio*a.scrollbarWidth),t.barWiggleRoom=t.currentlyVisibleHeight-t.barLength,t.wiggleRoom=Math.max(0,t.totalHeight-t.scrollableAreaHeight),t.topY=0===t.barWiggleRoom?0:e.scrollY/t.wiggleRoom*t.barWiggleRoom,t.bottomY=t.topY+t.barLength,t.dragMultiplier=t.wiggleRoom/t.barWiggleRoom})).attr("transform",(function(e){var t=e.width+a.scrollbarWidth/2+a.scrollbarOffset;return u(t,C(e))}));var l=o.selectAll("."+a.cn.scrollbar).data(i.repeat,i.keyFun);l.enter().append("g").classed(a.cn.scrollbar,!0);var s=l.selectAll("."+a.cn.scrollbarSlider).data(i.repeat,i.keyFun);s.enter().append("g").classed(a.cn.scrollbarSlider,!0),s.attr("transform",(function(e){return u(0,e.scrollbarState.topY||0)}));var c=s.selectAll("."+a.cn.scrollbarGlyph).data(i.repeat,i.keyFun);c.enter().append("line").classed(a.cn.scrollbarGlyph,!0).attr("stroke","black").attr("stroke-width",a.scrollbarWidth).attr("stroke-linecap","round").attr("y1",a.scrollbarWidth/2),c.attr("y2",(function(e){return e.scrollbarState.barLength-a.scrollbarWidth/2})).attr("stroke-opacity",(function(e){return e.columnDragInProgress||!e.scrollbarState.barWiggleRoom||r?0:.4})),c.transition().delay(0).duration(0),c.transition().delay(a.scrollbarHideDelay).duration(a.scrollbarHideDuration).attr("stroke-opacity",0);var h=l.selectAll("."+a.cn.scrollbarCaptureZone).data(i.repeat,i.keyFun);h.enter().append("line").classed(a.cn.scrollbarCaptureZone,!0).attr("stroke","white").attr("stroke-opacity",.01).attr("stroke-width",a.scrollbarCaptureWidth).attr("stroke-linecap","butt").attr("y1",0).on("mousedown",(function(r){var a=n.event.y,o=this.getBoundingClientRect(),i=r.scrollbarState,l=a-o.top,s=n.scale.linear().domain([0,i.scrollableAreaHeight]).range([0,i.totalHeight]).clamp(!0);i.topY<=l&&l<=i.bottomY||P(t,e,null,s(l-i.barLength/2))(r)})).call(n.behavior.drag().origin((function(e){return n.event.stopPropagation(),e.scrollbarState.scrollbarScrollInProgress=!0,e})).on("drag",P(t,e)).on("dragend",(function(){}))),h.attr("y2",(function(e){return e.scrollbarState.scrollableAreaHeight})),t._context.staticPlot&&(c.remove(),h.remove())}function b(e,t,r,o){var s=function(e){var t=e.selectAll("."+a.cn.columnCells).data(i.repeat,i.keyFun);return t.enter().append("g").classed(a.cn.columnCells,!0),t.exit().remove(),t}(r),c=function(e){var t=e.selectAll("."+a.cn.columnCell).data(f.splitToCells,(function(e){return e.keyWithinBlock}));return t.enter().append("g").classed(a.cn.columnCell,!0),t.exit().remove(),t}(s);!function(e){e.each((function(e,t){var r=e.calcdata.cells.font,a=e.column.specIndex,n={size:_(r.size,a,t),color:_(r.color,a,t),family:_(r.family,a,t)};e.rowNumber=e.key,e.align=_(e.calcdata.cells.align,a,t),e.cellBorderWidth=_(e.calcdata.cells.line.width,a,t),e.font=n}))}(c);var u=function(e){var t=e.selectAll("."+a.cn.cellRect).data(i.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("rect").classed(a.cn.cellRect,!0),t}(c);!function(e){e.attr("width",(function(e){return e.column.columnWidth})).attr("stroke-width",(function(e){return e.cellBorderWidth})).each((function(e){var t=n.select(this);p.stroke(t,_(e.calcdata.cells.line.color,e.column.specIndex,e.rowNumber)),p.fill(t,_(e.calcdata.cells.fill.color,e.column.specIndex,e.rowNumber))}))}(u);var h=function(e){var t=e.selectAll("."+a.cn.cellTextHolder).data(i.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("g").classed(a.cn.cellTextHolder,!0).style("shape-rendering","geometricPrecision"),t}(c),d=function(e){var t=e.selectAll("."+a.cn.cellText).data(i.repeat,(function(e){return e.keyWithinBlock}));return t.enter().append("text").classed(a.cn.cellText,!0).style("cursor",(function(){return"auto"})).on("mousedown",(function(){n.event.stopPropagation()})),t}(h);!function(e){e.each((function(e){l.font(n.select(this),e.font)}))}(d),w(d,t,o,e),H(c)}function w(e,t,r,i){e.text((function(e){var t=e.column.specIndex,r=e.rowNumber,n=e.value,i="string"===typeof n,l=i&&n.match(/<br>/i),s=!i||l;e.mayHaveMarkup=i&&n.match(/[<&>]/);var c,u="string"===typeof(c=n)&&c.match(a.latexCheck);e.latex=u;var h,d,f=u?"":_(e.calcdata.cells.prefix,t,r)||"",p=u?"":_(e.calcdata.cells.suffix,t,r)||"",v=u?null:_(e.calcdata.cells.format,t,r)||null,m=f+(v?o(v)(e.value):e.value)+p;if(e.wrappingNeeded=!e.wrapped&&!s&&!u&&(h=T(m)),e.cellHeightMayIncrease=l||u||e.mayHaveMarkup||(void 0===h?T(m):h),e.needsConvertToTspans=e.mayHaveMarkup||e.wrappingNeeded||e.latex,e.wrappingNeeded){var g=(" "===a.wrapSplitCharacter?m.replace(/<a href=/gi,"<a_href="):m).split(a.wrapSplitCharacter),y=" "===a.wrapSplitCharacter?g.map((function(e){return e.replace(/<a_href=/gi,"<a href=")})):g;e.fragments=y.map((function(e){return{text:e,width:null}})),e.fragments.push({fragment:a.wrapSpacer,width:null}),d=y.join(a.lineBreaker)+a.lineBreaker+a.wrapSpacer}else delete e.fragments,d=m;return d})).attr("dy",(function(e){return e.needsConvertToTspans?0:"0.75em"})).each((function(e){var o=this,l=n.select(o),c=e.wrappingNeeded?I:O;e.needsConvertToTspans?s.convertToTspans(l,i,c(r,o,t,i,e)):n.select(o.parentNode).attr("transform",(function(e){return u(L(e),a.cellPad)})).attr("text-anchor",(function(e){return{left:"start",center:"middle",right:"end"}[e.align]}))}))}function T(e){return-1!==e.indexOf(a.wrapSplitCharacter)}function _(e,t,r){if(Array.isArray(e)){var a=e[Math.min(t,e.length-1)];return Array.isArray(a)?a[Math.min(r,a.length-1)]:a}return e}function k(e,t,r){e.transition().ease(a.releaseTransitionEase).duration(a.releaseTransitionDuration).attr("transform",u(t.x,r))}function S(e){return"cells"===e.type}function z(e){return"header"===e.type}function C(e){return(e.rowBlocks.length?e.rowBlocks[0].auxiliaryBlocks:[]).reduce((function(e,t){return e+R(t,1/0)}),0)}function M(e,t,r){var a=y(t)[0];if(void 0!==a){var n=a.rowBlocks,o=a.calcdata,i=j(n,n.length),l=a.calcdata.groupHeight-C(a),s=o.scrollY=Math.max(0,Math.min(i-l,o.scrollY)),c=function(e,t,r){for(var a=[],n=0,o=0;o<e.length;o++){for(var i=e[o],l=i.rows,s=0,c=0;c<l.length;c++)s+=l[c].rowHeight;i.allRowsHeight=s,t<n+s&&t+r>n&&a.push(o),n+=s}return a}(n,s,l);1===c.length&&(c[0]===n.length-1?c.unshift(c[0]-1):c.push(c[0]+1)),c[0]%2&&c.reverse(),t.each((function(e,t){e.page=c[t],e.scrollY=s})),t.attr("transform",(function(e){var t=j(e.rowBlocks,e.page)-e.scrollY;return u(0,t)})),e&&(A(e,r,t,c,a.prevPages,a,0),A(e,r,t,c,a.prevPages,a,1),x(r,e))}}function P(e,t,r,o){return function(i){var l=i.calcdata?i.calcdata:i,s=t.filter((function(e){return l.key===e.key})),c=r||l.scrollbarState.dragMultiplier,u=l.scrollY;l.scrollY=void 0===o?l.scrollY+c*n.event.dy:o;var h=s.selectAll("."+a.cn.yColumn).selectAll("."+a.cn.columnBlock).filter(S);return M(e,h,s),l.scrollY===u}}function A(e,t,r,a,n,o,i){a[i]!==n[i]&&(clearTimeout(o.currentRepaint[i]),o.currentRepaint[i]=setTimeout((function(){var o=r.filter((function(e,t){return t===i&&a[t]!==n[t]}));b(e,t,o,r),n[i]=a[i]})))}function I(e,t,r,o){return function(){var i=n.select(t.parentNode);i.each((function(e){var t=e.fragments;i.selectAll("tspan.line").each((function(e,r){t[r].width=this.getComputedTextLength()}));var r,n,o=t[t.length-1].width,l=t.slice(0,-1),s=[],c=0,u=e.column.columnWidth-2*a.cellPad;for(e.value="";l.length;)c+(n=(r=l.shift()).width+o)>u&&(e.value+=s.join(a.wrapSpacer)+a.lineBreaker,s=[],c=0),s.push(r.text),c+=n;c&&(e.value+=s.join(a.wrapSpacer)),e.wrapped=!0})),i.selectAll("tspan.line").remove(),w(i.select("."+a.cn.cellText),r,e,o),n.select(t.parentNode.parentNode).call(H)}}function O(e,t,r,o,i){return function(){if(!i.settledY){var l=n.select(t.parentNode),s=B(i),c=i.key-s.firstRowIndex,h=s.rows[c].rowHeight,d=i.cellHeightMayIncrease?t.parentNode.getBoundingClientRect().height+2*a.cellPad:h,f=Math.max(d,h);f-s.rows[c].rowHeight&&(s.rows[c].rowHeight=f,e.selectAll("."+a.cn.columnCell).call(H),M(null,e.filter(S),0),x(r,o,!0)),l.attr("transform",(function(){var e=this,t=e.parentNode.getBoundingClientRect(),r=n.select(e.parentNode).select("."+a.cn.cellRect).node().getBoundingClientRect(),o=e.transform.baseVal.consolidate(),l=r.top-t.top+(o?o.matrix.f:a.cellPad);return u(L(i,n.select(e.parentNode).select("."+a.cn.cellTextHolder).node().getBoundingClientRect().width),l)})),i.settledY=!0}}}function L(e,t){switch(e.align){case"left":default:return a.cellPad;case"right":return e.column.columnWidth-(t||0)-a.cellPad;case"center":return(e.column.columnWidth-(t||0))/2}}function H(e){e.attr("transform",(function(e){var t=e.rowBlocks[0].auxiliaryBlocks.reduce((function(e,t){return e+R(t,1/0)}),0),r=R(B(e),e.key);return u(0,r+t)})).selectAll("."+a.cn.cellRect).attr("height",(function(e){return(t=B(e),r=e.key,t.rows[r-t.firstRowIndex]).rowHeight;var t,r}))}function j(e,t){for(var r=0,a=t-1;a>=0;a--)r+=D(e[a]);return r}function R(e,t){for(var r=0,a=0;a<e.rows.length&&e.rows[a].rowIndex<t;a++)r+=e.rows[a].rowHeight;return r}function D(e){var t=e.allRowsHeight;if(void 0!==t)return t;for(var r=0,a=0;a<e.rows.length;a++)r+=e.rows[a].rowHeight;return e.allRowsHeight=r,r}function B(e){return e.rowBlocks[e.page]}e.exports=function(e,t){var r=!e._context.staticPlot,o=e._fullLayout._paper.selectAll("."+a.cn.table).data(t.map((function(t){var r=i.unwrap(t).trace;return d(e,r)})),i.keyFun);o.exit().remove(),o.enter().append("g").classed(a.cn.table,!0).attr("overflow","visible").style("box-sizing","content-box").style("position","absolute").style("left",0).style("overflow","visible").style("shape-rendering","crispEdges").style("pointer-events","all"),o.attr("width",(function(e){return e.width+e.size.l+e.size.r})).attr("height",(function(e){return e.height+e.size.t+e.size.b})).attr("transform",(function(e){return u(e.translateX,e.translateY)}));var s=o.selectAll("."+a.cn.tableControlView).data(i.repeat,i.keyFun),p=s.enter().append("g").classed(a.cn.tableControlView,!0).style("box-sizing","content-box");if(r){var w="onwheel"in document?"wheel":"mousewheel";p.on("mousemove",(function(t){s.filter((function(e){return t===e})).call(x,e)})).on(w,(function(t){if(!t.scrollbarState.wheeling){t.scrollbarState.wheeling=!0;var r=t.scrollY+n.event.deltaY;P(e,s,null,r)(t)||(n.event.stopPropagation(),n.event.preventDefault()),t.scrollbarState.wheeling=!1}})).call(x,e,!0)}s.attr("transform",(function(e){return u(e.size.l,e.size.t)}));var T=s.selectAll("."+a.cn.scrollBackground).data(i.repeat,i.keyFun);T.enter().append("rect").classed(a.cn.scrollBackground,!0).attr("fill","none"),T.attr("width",(function(e){return e.width})).attr("height",(function(e){return e.height})),s.each((function(t){l.setClipUrl(n.select(this),m(e,t),e)}));var _=s.selectAll("."+a.cn.yColumn).data((function(e){return e.columns}),i.keyFun);_.enter().append("g").classed(a.cn.yColumn,!0),_.exit().remove(),_.attr("transform",(function(e){return u(e.x,0)})),r&&_.call(n.behavior.drag().origin((function(t){return k(n.select(this),t,-a.uplift),c(this),t.calcdata.columnDragInProgress=!0,x(s.filter((function(e){return t.calcdata.key===e.key})),e),t})).on("drag",(function(e){var t=n.select(this),r=function(t){return(e===t?n.event.x:t.x)+t.columnWidth/2};e.x=Math.max(-a.overdrag,Math.min(e.calcdata.width+a.overdrag-e.columnWidth,n.event.x)),y(_).filter((function(t){return t.calcdata.key===e.calcdata.key})).sort((function(e,t){return r(e)-r(t)})).forEach((function(t,r){t.xIndex=r,t.x=e===t?t.x:t.xScale(t)})),_.filter((function(t){return e!==t})).transition().ease(a.transitionEase).duration(a.transitionDuration).attr("transform",(function(e){return u(e.x,0)})),t.call(h).attr("transform",u(e.x,-a.uplift))})).on("dragend",(function(t){var r=n.select(this),a=t.calcdata;t.x=t.xScale(t),t.calcdata.columnDragInProgress=!1,k(r,t,0),function(e,t,r){var a=t.gdColumnsOriginalOrder;t.gdColumns.sort((function(e,t){return r[a.indexOf(e)]-r[a.indexOf(t)]})),t.columnorder=r,e.emit("plotly_restyle")}(e,a,a.columns.map((function(e){return e.xIndex})))}))),_.each((function(t){l.setClipUrl(n.select(this),g(e,t),e)}));var C=_.selectAll("."+a.cn.columnBlock).data(f.splitToPanels,i.keyFun);C.enter().append("g").classed(a.cn.columnBlock,!0).attr("id",(function(e){return e.key})),C.style("cursor",(function(e){return e.dragHandle?"ew-resize":e.calcdata.scrollbarState.barWiggleRoom?"ns-resize":"default"}));var A=C.filter(z),I=C.filter(S);r&&I.call(n.behavior.drag().origin((function(e){return n.event.stopPropagation(),e})).on("drag",P(e,s,-1)).on("dragend",(function(){}))),b(e,s,A,C),b(e,s,I,C);var O=s.selectAll("."+a.cn.scrollAreaClip).data(i.repeat,i.keyFun);O.enter().append("clipPath").classed(a.cn.scrollAreaClip,!0).attr("id",(function(t){return m(e,t)}));var L=O.selectAll("."+a.cn.scrollAreaClipRect).data(i.repeat,i.keyFun);L.enter().append("rect").classed(a.cn.scrollAreaClipRect,!0).attr("x",-a.overdrag).attr("y",-a.uplift).attr("fill","none"),L.attr("width",(function(e){return e.width+2*a.overdrag})).attr("height",(function(e){return e.height+a.uplift})),_.selectAll("."+a.cn.columnBoundary).data(i.repeat,i.keyFun).enter().append("g").classed(a.cn.columnBoundary,!0);var H=_.selectAll("."+a.cn.columnBoundaryClippath).data(i.repeat,i.keyFun);H.enter().append("clipPath").classed(a.cn.columnBoundaryClippath,!0),H.attr("id",(function(t){return g(e,t)}));var j=H.selectAll("."+a.cn.columnBoundaryRect).data(i.repeat,i.keyFun);j.enter().append("rect").classed(a.cn.columnBoundaryRect,!0).attr("fill","none"),j.attr("width",(function(e){return e.columnWidth+2*v(e)})).attr("height",(function(e){return e.calcdata.height+2*v(e)+a.uplift})).attr("x",(function(e){return-v(e)})).attr("y",(function(e){return-v(e)})),M(null,I,s)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3460],{60574:function(t,e,o){o.d(e,{A:function(){return h}});var n=o(6788),r=o(72925),i=o(88114),s=o(16892),c=o(69882),l=o(97998),a=o(25644),d=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),u=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},p=function(t,e){return function(o,n){e(o,n,t)}},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.setBeans=function(t){this.logger=t.create("selectionService"),this.reset()},e.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.addManagedListener(this.eventService,i.s.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},e.prototype.setLastSelectedNode=function(t){this.lastSelectedNode=t},e.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},e.prototype.getSelectedNodes=function(){var t=[];return(0,l.iterateObject)(this.selectedNodes,(function(e,o){o&&t.push(o)})),t},e.prototype.getSelectedRows=function(){var t=[];return(0,l.iterateObject)(this.selectedNodes,(function(e,o){o&&o.data&&t.push(o.data)})),t},e.prototype.removeGroupsFromSelection=function(){var t=this;(0,l.iterateObject)(this.selectedNodes,(function(e,o){o&&o.group&&(t.selectedNodes[o.id]=void 0)}))},e.prototype.updateGroupsFromChildrenSelections=function(t){if(this.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowModel.getType()===s.Y.ROW_MODEL_TYPE_CLIENT_SIDE){var e=this.rowModel.getRootNode();t||(t=new c.k(!0,e)).setInactive(),t.forEachChangedNodeDepthFirst((function(t){t!==e&&t.calculateSelectedFromChildren()}))}},e.prototype.getNodeForIdIfSelected=function(t){return this.selectedNodes[t]},e.prototype.clearOtherNodes=function(t){var e=this,o={},n=0;return(0,l.iterateObject)(this.selectedNodes,(function(r,i){if(i&&i.id!==t.id){var s=e.selectedNodes[i.id];n+=s.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0}),e.groupSelectsChildren&&i.parent&&(o[i.parent.id]=i.parent)}})),(0,l.iterateObject)(o,(function(t,e){e.calculateSelectedFromChildren()})),n},e.prototype.onRowSelected=function(t){var e=t.node;this.groupSelectsChildren&&e.group||(e.isSelected()?this.selectedNodes[e.id]=e:this.selectedNodes[e.id]=void 0)},e.prototype.syncInRowNode=function(t,e){this.syncInOldRowNode(t,e),this.syncInNewRowNode(t)},e.prototype.syncInOldRowNode=function(t,e){if((0,a.exists)(e)&&t.id!==e.id&&e){var o=e.id;this.selectedNodes[o]==t&&(this.selectedNodes[e.id]=e)}},e.prototype.syncInNewRowNode=function(t){(0,a.exists)(this.selectedNodes[t.id])?(t.setSelectedInitialValue(!0),this.selectedNodes[t.id]=t):t.setSelectedInitialValue(!1)},e.prototype.reset=function(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null},e.prototype.getBestCostNodeSelection=function(){if(this.rowModel.getType()===s.Y.ROW_MODEL_TYPE_CLIENT_SIDE){var t=this.rowModel.getTopLevelNodes();if(null!==t){var e=[];return function t(o){for(var n=0,r=o.length;n<r;n++){var i=o[n];if(i.isSelected())e.push(i);else{var s=i;s.group&&s.children&&t(s.children)}}}(t),e}console.warn("AG Grid: `selectAll` not available doing `rowModel=virtual`")}else console.warn("AG Grid: `getBestCostNodeSelection` is only available when using normal row model")},e.prototype.setRowModel=function(t){this.rowModel=t},e.prototype.isEmpty=function(){var t=0;return(0,l.iterateObject)(this.selectedNodes,(function(e,o){o&&t++})),0===t},e.prototype.deselectAllRowNodes=function(t){void 0===t&&(t=!1);var e=function(t){return t.selectThisNode(!1)},o=this.rowModel.getType()===s.Y.ROW_MODEL_TYPE_CLIENT_SIDE;if(t){if(!o)return void console.error("AG Grid: selecting just filtered only works with In Memory Row Model");this.rowModel.forEachNodeAfterFilter(e)}else(0,l.iterateObject)(this.selectedNodes,(function(t,o){o&&e(o)})),this.reset();o&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var n={type:i.s.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)},e.prototype.selectAllRowNodes=function(t){if(void 0===t&&(t=!1),this.rowModel.getType()!==s.Y.ROW_MODEL_TYPE_CLIENT_SIDE)throw new Error("selectAll only available with normal row model, ie not "+this.rowModel.getType());var e=this.rowModel,o=function(t){return t.selectThisNode(!0)};t?e.forEachNodeAfterFilter(o):e.forEachNode(o),this.rowModel.getType()===s.Y.ROW_MODEL_TYPE_CLIENT_SIDE&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var n={type:i.s.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)},e.prototype.selectNode=function(t,e){t&&t.setSelectedParams({newValue:!0,clearSelection:!e})},e.prototype.deselectIndex=function(t){var e=this.rowModel.getRow(t);this.deselectNode(e)},e.prototype.deselectNode=function(t){t&&t.setSelectedParams({newValue:!1,clearSelection:!1})},e.prototype.selectIndex=function(t,e){var o=this.rowModel.getRow(t);this.selectNode(o,e)},u([(0,n.ds)("rowModel")],e.prototype,"rowModel",void 0),u([(0,n.ds)("columnApi")],e.prototype,"columnApi",void 0),u([(0,n.ds)("gridApi")],e.prototype,"gridApi",void 0),u([p(0,(0,n.Vf)("loggerFactory"))],e.prototype,"setBeans",null),u([n.o7],e.prototype,"init",null),e=u([(0,n.dR)("selectionService")],e)}(r.X)},25691:function(t,e,o){o.d(e,{x:function(){return a}});var n=o(6788),r=o(72925),i=o(16892),s=o(88114),c=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),l=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var o;return c(e,t),o=e,e.prototype.progressSort=function(t,e,o){var n=this.getNextSortDirection(t);this.setSortForColumn(t,n,e,o)},e.prototype.setSortForColumn=function(t,e,o,n){e!==i.Y.SORT_ASC&&e!==i.Y.SORT_DESC&&(e=null),t.setSort(e,n),(o||this.gridOptionsWrapper.isAlwaysMultiSort())&&!this.gridOptionsWrapper.isSuppressMultiSort()||this.clearSortBarThisColumn(t,n),this.updateSortIndex(t),this.dispatchSortChangedEvents(n)},e.prototype.updateSortIndex=function(t){var e=this.getColumnsWithSortingOrdered(),o=0;e.forEach((function(e){e!==t&&(e.setSortIndex(o),o++)})),t.getSort()&&t.setSortIndex(o),this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter((function(t){return null==t.getSort()})).forEach((function(t){return t.setSortIndex()}))},e.prototype.onSortChanged=function(t){this.dispatchSortChangedEvents(t)},e.prototype.isSortActive=function(){var t=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter((function(t){return!!t.getSort()}));return t&&t.length>0},e.prototype.dispatchSortChangedEvents=function(t){var e={type:s.s.EVENT_SORT_CHANGED,api:this.gridApi,columnApi:this.columnApi,source:t};this.eventService.dispatchEvent(e)},e.prototype.clearSortBarThisColumn=function(t,e){this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach((function(o){o!==t&&o.setSort(void 0,e)}))},e.prototype.getNextSortDirection=function(t){var e;if(e=t.getColDef().sortingOrder?t.getColDef().sortingOrder:this.gridOptionsWrapper.getSortingOrder()?this.gridOptionsWrapper.getSortingOrder():o.DEFAULT_SORTING_ORDER,!Array.isArray(e)||e.length<=0)return console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's "+e),null;var n,r=e.indexOf(t.getSort()),i=r<0,s=r==e.length-1;return n=i||s?e[0]:e[r+1],o.DEFAULT_SORTING_ORDER.indexOf(n)<0?(console.warn("AG Grid: invalid sort type "+n),null):n},e.prototype.getColumnsWithSortingOrdered=function(){var t=this.columnModel.getPrimaryAndSecondaryAndAutoColumns(),e=t.filter((function(t){return!!t.getSort()})),o={};return t.forEach((function(t,e){return o[t.getId()]=e})),e.sort((function(t,e){var n=t.getSortIndex(),r=e.getSortIndex();return null!=n&&null!=r?n-r:null==n&&null==r?o[t.getId()]>o[e.getId()]?1:-1:null==r?-1:1})),e},e.prototype.getSortModel=function(){return this.getColumnsWithSortingOrdered().map((function(t){return{sort:t.getSort(),colId:t.getId()}}))},e.prototype.getSortOptions=function(){return this.getColumnsWithSortingOrdered().map((function(t){return{sort:t.getSort(),column:t}}))},e.DEFAULT_SORTING_ORDER=[i.Y.SORT_ASC,i.Y.SORT_DESC,null],l([(0,n.ds)("columnModel")],e.prototype,"columnModel",void 0),l([(0,n.ds)("columnApi")],e.prototype,"columnApi",void 0),l([(0,n.ds)("gridApi")],e.prototype,"gridApi",void 0),e=o=l([(0,n.dR)("sortController")],e)}(r.X)},76962:function(t,e,o){o.d(e,{Z:function(){return d},g:function(){return n}});var n,r=o(16892),i=o(6788),s=o(75570),c=o(72925),l=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),a=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s};!function(t){t.AUTO_HEIGHT="ag-layout-auto-height",t.NORMAL="ag-layout-normal",t.PRINT="ag-layout-print"}(n||(n={}));var d=function(t){function e(e){var o=t.call(this)||this;return o.view=e,o}return l(e,t),e.prototype.postConstruct=function(){this.addManagedListener(this.gridOptionsWrapper,s.a.PROP_DOM_LAYOUT,this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()},e.prototype.updateLayoutClasses=function(){var t=this.gridOptionsWrapper.getDomLayout(),e={autoHeight:t===r.Y.DOM_LAYOUT_AUTO_HEIGHT,normal:t===r.Y.DOM_LAYOUT_NORMAL,print:t===r.Y.DOM_LAYOUT_PRINT},o=e.autoHeight?n.AUTO_HEIGHT:e.print?n.PRINT:n.NORMAL;this.view.updateLayoutClasses(o,e)},a([(0,i.ds)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),a([i.o7],e.prototype,"postConstruct",null),e}(c.X)},39453:function(t,e,o){o.d(e,{E:function(){return c}});var n=o(6788),r=o(72925),i=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.processAllCellClasses=function(t,e,o,n){this.processClassRules(t.cellClassRules,e,o,n),this.processStaticCellClasses(t,e,o)},e.prototype.processClassRules=function(t,e,o,n){if(null!=t){for(var r=Object.keys(t),i={},s={},c=function(o){var n,c=r[o],a=t[c];"string"===typeof a?n=l.expressionService.evaluate(a,e):"function"===typeof a&&(n=a(e)),c.split(" ").forEach((function(t){null!=t&&""!=t.trim()&&(n?i[t]=!0:s[t]=!0)}))},l=this,a=0;a<r.length;a++)c(a);n&&Object.keys(s).forEach(n),Object.keys(i).forEach(o)}},e.prototype.getStaticCellClasses=function(t,e){var o,n=t.cellClass;if(!n)return[];"function"===typeof n?o=n(e):o=n;return"string"===typeof o&&(o=[o]),o||[]},e.prototype.processStaticCellClasses=function(t,e,o){this.getStaticCellClasses(t,e).forEach((function(t){o(t)}))},s([(0,n.ds)("expressionService")],e.prototype,"expressionService",void 0),e=s([(0,n.dR)("stylingService")],e)}(r.X)},50762:function(t,e,o){o.d(e,{I:function(){return c}});var n=o(6788),r=o(72925),i=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.templateCache={},e.waitingCallbacks={},e}return i(e,t),e.prototype.getTemplate=function(t,e){var o=this.templateCache[t];if(o)return o;var n=this.waitingCallbacks[t],r=this;if(!n){n=[],this.waitingCallbacks[t]=n;var i=new XMLHttpRequest;i.onload=function(){r.handleHttpResult(this,t)},i.open("GET",t),i.send()}return e&&n.push(e),null},e.prototype.handleHttpResult=function(t,e){if(200===t.status&&null!==t.response){this.templateCache[e]=t.response||t.responseText;for(var o=this.waitingCallbacks[e],n=0;n<o.length;n++){(0,o[n])()}}else console.warn("AG Grid: Unable to get template error "+t.status+" - "+e)},e=s([(0,n.dR)("templateService")],e)}(r.X)},45091:function(t,e,o){o.d(e,{c:function(){return g}});var n=o(6788),r=o(20635),i=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=function(t){this.cellValueChanges=t},c=function(t){function e(e,o,n){var r=t.call(this,e)||this;return r.initialRange=o,r.finalRange=n,r}return i(e,t),e}(s),l=function(){function t(e){this.actionStack=[],this.maxStackSize=e||t.DEFAULT_STACK_SIZE,this.actionStack=new Array(this.maxStackSize)}return t.prototype.pop=function(){return this.actionStack.pop()},t.prototype.push=function(t){t.cellValueChanges&&t.cellValueChanges.length>0&&(this.actionStack.length===this.maxStackSize&&this.actionStack.shift(),this.actionStack.push(t))},t.prototype.clear=function(){this.actionStack=[]},t.prototype.getCurrentStackSize=function(){return this.actionStack.length},t.DEFAULT_STACK_SIZE=10,t}(),a=o(16892),d=o(94189),u=o(42614),p=o(72925),h=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),f=function(t,e,o,n){var r,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(i<3?r(s):i>3?r(e,o,s):r(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cellValueChanges=[],e.activeCellEdit=null,e.activeRowEdit=null,e.isPasting=!1,e.isFilling=!1,e.onCellValueChanged=function(t){var o={column:t.column,rowIndex:t.rowIndex,rowPinned:t.rowPinned},n=null!==e.activeCellEdit&&e.cellPositionUtils.equals(e.activeCellEdit,o),r=null!==e.activeRowEdit&&e.rowPositionUtils.sameRow(e.activeRowEdit,o);if(n||r||e.isPasting||e.isFilling){var i=t.rowPinned,s=t.rowIndex,c=t.column,l=t.oldValue,a=t.value,d={rowPinned:i,rowIndex:s,columnId:c.getColId(),newValue:a,oldValue:l};e.cellValueChanges.push(d)}},e.clearStacks=function(){e.undoStack.clear(),e.redoStack.clear()},e}return h(e,t),e.prototype.init=function(){if(this.gridOptionsWrapper.isUndoRedoCellEditing()){var t=this.gridOptionsWrapper.getUndoRedoCellEditingLimit();t<=0||(this.undoStack=new l(t),this.redoStack=new l(t),this.addRowEditingListeners(),this.addCellEditingListeners(),this.addPasteListeners(),this.addFillListeners(),this.addManagedListener(this.eventService,r.s.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged),this.addManagedListener(this.eventService,r.s.EVENT_MODEL_UPDATED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_NEW_COLUMNS_LOADED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_GROUP_OPENED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_MOVED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_PINNED,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_COLUMN_VISIBLE,this.clearStacks),this.addManagedListener(this.eventService,r.s.EVENT_ROW_DRAG_END,this.clearStacks))}},e.prototype.getCurrentUndoStackSize=function(){return this.undoStack?this.undoStack.getCurrentStackSize():0},e.prototype.getCurrentRedoStackSize=function(){return this.redoStack?this.redoStack.getCurrentStackSize():0},e.prototype.undo=function(){if(this.undoStack){var t=this.undoStack.pop();t&&t.cellValueChanges&&(this.processAction(t,(function(t){return t.oldValue})),t instanceof c?this.processRangeAndCellFocus(t.cellValueChanges,t.initialRange):this.processRangeAndCellFocus(t.cellValueChanges),this.redoStack.push(t))}},e.prototype.redo=function(){if(this.redoStack){var t=this.redoStack.pop();t&&t.cellValueChanges&&(this.processAction(t,(function(t){return t.newValue})),t instanceof c?this.processRangeAndCellFocus(t.cellValueChanges,t.finalRange):this.processRangeAndCellFocus(t.cellValueChanges),this.undoStack.push(t))}},e.prototype.processAction=function(t,e){var o=this;t.cellValueChanges.forEach((function(t){var n=t.rowIndex,r=t.rowPinned,i=t.columnId,s={rowIndex:n,rowPinned:r},c=o.getRowNode(s);c.displayed&&c.setDataValue(i,e(t))}))},e.prototype.processRangeAndCellFocus=function(t,e){var o;if(e){var n=e.startRow,r=e.endRow;o={rowPinned:n.rowPinned,rowIndex:n.rowIndex,columnId:e.startColumn.getColId()},this.setLastFocusedCell(o);var i={rowStartIndex:n.rowIndex,rowStartPinned:n.rowPinned,rowEndIndex:r.rowIndex,rowEndPinned:r.rowPinned,columnStart:e.startColumn,columns:e.columns};this.gridApi.addCellRange(i)}else{var s=t[0],c={rowIndex:s.rowIndex,rowPinned:s.rowPinned},l=this.getRowNode(c);o={rowPinned:s.rowPinned,rowIndex:l.rowIndex,columnId:s.columnId},this.setLastFocusedCell(o)}},e.prototype.setLastFocusedCell=function(t){var e=t.rowIndex,o=t.columnId,n=t.rowPinned;this.gridApi.ensureIndexVisible(e),this.gridApi.ensureColumnVisible(o),u.s.isRegistered(d.z.RangeSelectionModule)&&this.gridApi.clearRangeSelection(),this.focusService.setFocusedCell(e,o,n,!0)},e.prototype.addRowEditingListeners=function(){var t=this;this.addManagedListener(this.eventService,r.s.EVENT_ROW_EDITING_STARTED,(function(e){t.activeRowEdit={rowIndex:e.rowIndex,rowPinned:e.rowPinned}})),this.addManagedListener(this.eventService,r.s.EVENT_ROW_EDITING_STOPPED,(function(){var e=new s(t.cellValueChanges);t.pushActionsToUndoStack(e),t.activeRowEdit=null}))},e.prototype.addCellEditingListeners=function(){var t=this;this.addManagedListener(this.eventService,r.s.EVENT_CELL_EDITING_STARTED,(function(e){t.activeCellEdit={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned}})),this.addManagedListener(this.eventService,r.s.EVENT_CELL_EDITING_STOPPED,(function(){if(t.activeCellEdit=null,!t.activeRowEdit&&!t.isPasting&&!t.isFilling){var e=new s(t.cellValueChanges);t.pushActionsToUndoStack(e)}}))},e.prototype.addPasteListeners=function(){var t=this;this.addManagedListener(this.eventService,r.s.EVENT_PASTE_START,(function(){t.isPasting=!0})),this.addManagedListener(this.eventService,r.s.EVENT_PASTE_END,(function(){var e=new s(t.cellValueChanges);t.pushActionsToUndoStack(e),t.isPasting=!1}))},e.prototype.addFillListeners=function(){var t=this;this.addManagedListener(this.eventService,r.s.EVENT_FILL_START,(function(){t.isFilling=!0})),this.addManagedListener(this.eventService,r.s.EVENT_FILL_END,(function(e){var o=new c(t.cellValueChanges,e.initialRange,e.finalRange);t.pushActionsToUndoStack(o),t.isFilling=!1}))},e.prototype.pushActionsToUndoStack=function(t){this.undoStack.push(t),this.cellValueChanges=[],this.redoStack.clear()},e.prototype.getRowNode=function(t){switch(t.rowPinned){case a.Y.PINNED_TOP:return this.pinnedRowModel.getPinnedTopRowData()[t.rowIndex];case a.Y.PINNED_BOTTOM:return this.pinnedRowModel.getPinnedBottomRowData()[t.rowIndex];default:return this.rowModel.getRow(t.rowIndex)}},f([(0,n.ds)("focusService")],e.prototype,"focusService",void 0),f([(0,n.ds)("gridApi")],e.prototype,"gridApi",void 0),f([(0,n.ds)("rowModel")],e.prototype,"rowModel",void 0),f([(0,n.ds)("pinnedRowModel")],e.prototype,"pinnedRowModel",void 0),f([(0,n.ds)("cellPositionUtils")],e.prototype,"cellPositionUtils",void 0),f([(0,n.ds)("rowPositionUtils")],e.prototype,"rowPositionUtils",void 0),f([n.o7],e.prototype,"init",null),e=f([(0,n.dR)("undoRedoService")],e)}(p.X)}}]);
|