runcell 0.1.15a6__py3-none-any.whl → 0.1.15a9__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.
- d5m_ai/_version.py +1 -1
- d5m_ai/labextension/package.json +3 -2
- d5m_ai/labextension/schemas/runcell/package.json.orig +2 -1
- d5m_ai/labextension/static/2971.60c60668c130ed05d493.js +1 -0
- d5m_ai/labextension/static/{3318.90e5872c9583afa9e903.js → 3318.6c485073dbf905d6f3e0.js} +1 -1
- d5m_ai/labextension/static/remoteEntry.e78d9a0d4d946ea02c9b.js +1 -0
- d5m_ai/labextension/static/third-party-licenses.json +6 -0
- d5m_ai/tools/registry.py +32 -8
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/package.json +3 -2
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/package.json.orig +2 -1
- runcell-0.1.15a9.data/data/share/jupyter/labextensions/runcell/static/2971.60c60668c130ed05d493.js +1 -0
- runcell-0.1.15a6.data/data/share/jupyter/labextensions/runcell/static/3318.90e5872c9583afa9e903.js → runcell-0.1.15a9.data/data/share/jupyter/labextensions/runcell/static/3318.6c485073dbf905d6f3e0.js +1 -1
- runcell-0.1.15a9.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.e78d9a0d4d946ea02c9b.js +1 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/third-party-licenses.json +6 -0
- {runcell-0.1.15a6.dist-info → runcell-0.1.15a9.dist-info}/METADATA +1 -1
- {runcell-0.1.15a6.dist-info → runcell-0.1.15a9.dist-info}/RECORD +388 -386
- d5m_ai/labextension/static/remoteEntry.4d1ed10e084eb74f61ca.js +0 -1
- runcell-0.1.15a6.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.4d1ed10e084eb74f61ca.js +0 -1
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/etc/jupyter/jupyter_server_config.d/d5m_ai.json +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/etc/jupyter/jupyter_server_config.d/runcell.json +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/install.json +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/plugin.json +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1045.a76db59a7c20953976f0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1055.87aafb19805530488a2c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/108.d7dbe40ec7e0ae1a68f8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1104.a2b939bacec5e69efd99.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/111.911e778bfff66b6edf5e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1161.8d253f35262e756fd46a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1171.130d3cc54764cac92856.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1178.3e25fad4a45450e227c9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1203.5deaeee9e57ffc718f19.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1226.ff48aa5741f77eb739fe.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1273.4c5992b03f129c9e3025.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1285.cf3bab9529c47ac9288d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1307.d98ceb66a2401e5f4ddd.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1328.38964f7daa84901e866f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1377.edf5c2163aedef75c6a1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1391.ab61eb03aed289d9d44c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1402.a0e3b3c012e73f6a5362.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1431.a691b4fa7cf229072fc0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1477.710069d762ddef3ca754.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1521.9f3807c4a4dd19a6ab8c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1524.188ff9d525210d499ff3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1534.39ba9b2bf5712b697b63.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1540.9eba7e882fd8e00a782a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1544.63647539bd593f50adf1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1552.5203480dcdda6574ef51.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1555.686745d50bd19fd9d271.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1618.9abd2093263741894755.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1635.84bd383b17e41c9fe103.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1678.57b141401f73a26257c8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1685.842997eb9757846fe690.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1745.e6bb2c6882da5bf9883a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1752.8c4ecff560428215fe75.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1797.f8ca14c3ec1c0f51f403.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1877.041c966f3ba0df81d5b8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1897.7cca7a664a9ca9b486ac.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1902.364fa5e977055fe14150.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1915.b55b7d52608421a7fc41.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1960.914b9e221586e3dedc59.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/1970.dff4fcccbb6cadb04d0c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/200.f1d30c245c18bbb03312.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/207.f5bd6d1b383a6b01ca69.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2072.a4d04cc98bb118e689a1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2075.5d6a026d7308b71b70a1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2111.a3c1f620c0a31e54cb9f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2152.4db0fcf1f4dccf54b600.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2173.9fddf72b827a6d629bad.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2198.e195afcaabb2e4063da9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2224.c86b12cf9e2165904033.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2225.8d31eec53891ca7775b7.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2271.69d9ea25d4ddd02710f6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2331.00b3689d320a2f2bdfa4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2331.00b3689d320a2f2bdfa4.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2349.e7c5b5e507c7a81d1427.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2353.d3aed951ac4803f9d6d2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2382.9e67478cc4b31aede22c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2385.cd85a7dd4acb5be739da.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2460.bf102b98f56e88aebceb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/248.693fd98760ec6ce42219.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2498.d143bb29ab92e12f4e37.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2517.46e5c27d44c4bfd9a568.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2555.7168a2616a6071addb97.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2576.56496d8cba50d3d69eb5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2636.ec58d1feba0ff4fbc92d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2639.eb2553a7be688366d9f3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2654.2453f6b5846a4719dba4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/267.829ce2ca38940b778c91.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2690.b6d2023c4d97720d9a97.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/270.9409a2f5631a31c79cd9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2711.3b98e2cbf471f244fc06.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2768.9e5b7c6ed84b2486f835.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2789.12830cdb21c09111668d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2838.2e689afee276e5e21c57.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2843.65aeb8be3744d20229b8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2868.7eab7f242aa920c61cba.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2897.7bc91ca284ea12b863e8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/2905.0d34ef7a481f9a968f05.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/299.8600f54b39a11eeff427.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3028.953cd3b9865063969086.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3041.4059f9ba4f9eba56672a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3045.a457aa1d023ba5f799c2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3092.fad665f8cdb1da61b55b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3142.7df01050c977ede2b13b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3157.bcb9f8ff06fa4af27b6a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3214.a986c1896fa590b2da27.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3239.4562297487744a7cc1d4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3246.aa2cfa5fa8d2402d7cdf.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3246.aa2cfa5fa8d2402d7cdf.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/325.bd1e5cab3b6e068b25bc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3254.9e1aa1fee12644fea2d9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3267.ff884bf47b52ac634854.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3291.156ad2d1520857115575.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3311.dc97fd544e85acac8477.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3319.687f07bb2f993c1dc44b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3325.c100f45711f539a7f262.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3407.cbbf99a2ff4805726f3e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3424.92b1a820ff2aa6156c36.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3426.27afd4c41cfad8e1a63d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3436.ea677bb3e7f3ce87d7fd.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3449.5d8818fac081c207ce79.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3514.c8a1863df3cfd5390617.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/355.45290b03d6d4be49a58e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3551.87e6eb270a212d08b1b5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3564.53d37f4f2dee00141a5d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/359.1463d2cf955623ecceae.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3619.3dfa7c4eaa067a407275.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3645.5ea37d9f483120f69f4e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3659.056fa5e4e39b72bc358b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3688.7bd1ba5006b22ed5616e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3722.688cdfd335ffeac13492.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3724.06a5a1b542ff978df3b4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/376.f9c52e5bbd650da7b67f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3793.d20ed278ab88aa2cec25.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3794.c0236d400b2129ac42a9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3799.714d7319723cee44b83b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3914.6c47919debdfd8fa81e2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3930.b142768bad429b3ebb04.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/3973.23478d0ffd48740c4ae3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4.80abd6b9b8e5f2be85f1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4003.95678dd199222938923b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4017.d35a7557e5338be92770.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4050.00a6bfc9f23c6ef07199.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4087.ea430b62171512019400.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/410.fd643a255d72a83c1be6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4127.0e783d9a497298e9fe18.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/415.c2838574e93d05eb13ea.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4175.d23c246efa6921b45150.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4238.bd4642c4f9256441aea5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4246.d8aedd2b15d1a95f1288.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4251.f9f6dbd8634150bdddcf.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4272.c92c9a0d98749863c853.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4296.22c023f73b9ef8838492.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4317.1ba9f3c33b7a1484c5df.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4328.c50ba81ca9bf67d0fff1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4353.6a83dae11a48e9d1b345.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4358.53a6106c5c93c3fda026.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4364.e87c307df69aa50a5b2a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4365.b2b4496cc260301256b9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4371.647bc44642d1ad0e99e4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4390.1cafd3d4635b09e0c945.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4425.a34c4f44daa5996eeec4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4447.3ad32bafee045d2c0bab.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4477.d9e871faf650e6ad238a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/45.560ee8b955f55e6a7471.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4503.794c4dd58c6bf2e6a66d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4584.c610d4a425b036b86759.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/460.f12a395b90fcc7e71ee6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4613.05840d3fc617590fff51.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4630.a78300f70b9af36897eb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4682.1b69aa450cedd96227c9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4713.4e4e598399fd6de85f5d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4725.5447994a36dfeda58b9f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4734.4e6afd0c5fd50926f67c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4755.74d46f71eb4d23e4bca2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4786.b9ded45759224359e493.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4838.688e36ea43737e72dbdc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/485.d27de91b0124447cf435.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4856.21de771d6841de1cd9a8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4872.1404f5d25464532c27c2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4886.443bcf6af7b83f72b4b5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4913.d226f3c41ebb36489ce3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/492.a7f5e972b35c8c877bf1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/4928.5c8ad7f80ba081dfdbba.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5097.897ce0d45020c2251c3f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5146.45d9b015343e5a7cace1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5183.8c5527ebc7a807107471.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/524.927c6a42244b04ee834f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5244.309822e0f470ef7545dd.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5244.309822e0f470ef7545dd.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5253.2cea0b927b50c952fe98.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5331.c971f98ac4fd9e9751a4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5408.f0ba6921f1e4477b4a96.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5409.6449d76b8cfdaafd9907.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5431.528d309549815d363599.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5447.1267bc4aa4938bd0f08d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5466.e1da4e862af22e314f82.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5473.7ac9ad0a3e047bfeceb0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5509.c8c8ddebaabc3579daba.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5570.57fe0021e7ca0b4f4348.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5590.fd188e01caa78afb3ec4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5620.cd3cd230d09209b34fb5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5636.ca803ffcf0d43c2402c9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5672.156ad2d1520857115575.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5695.0da6228c48571d9386f3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5715.66ad4e7324b22a5e27fb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5739.df1aea3019fae9aa1c68.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5741.edd8fd814866705aad98.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5748.53eb48f5623074a948ba.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5754.5eccecedb66c9aeb5ee8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5763.dca9d855a6b45fd3f23e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5765.e957d823cdfe2746a356.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5788.b9c62804c0698b91ca8a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5882.b40b5d690d3f6f67f09a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5885.8cd4d3e3008fdb31ce2a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5900.6dca06924caef83a5b52.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5906.870c0d7bb4e022aaca9d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5908.e81f83f7a9906d9d7542.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/5977.d264e9baaebc417e35c0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6007.987a9850d5891b1908ae.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6079.5c80b9de6aabb0be08d2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6084.bf8d6b1da6c4cad209bb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6089.109731a48a9dac466095.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6094.f96654ca0070f8f391b1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/611.5ae7fb260af8629f1528.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6176.bd441d4d6fe942889bf3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6190.3ebc92f8b76d7c97c9d2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/620.e56412fe3a5e5e2fe2fa.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6221.457e64a4f06be421eaa4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6266.4f2bcc95c2d61cdaacbc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/627.84c4aa26f69662abb72d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6293.823b9bfe50fdfd62dd42.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6299.b14c1d46ba4ad9799f63.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6306.8d22227d6aa1dfc32da5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6320.b844d6686eebcb036643.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6322.997db39a5d4b63e72b21.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6336.92de365c5fb0f261f799.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6366.5049626e7d5bb38a8574.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/640.ebfad36f1dde45e9cd05.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/642.817a48a77e1c16e6e65d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6520.ff2a9ec2e50dd45868ac.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6573.7899a873adb98c3c0190.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6648.b7ed5e9a732275dc85ac.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6676.1a71900a6131dbe02aad.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6678.fe58c12ce33b0f5706f5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6772.01fcccfcabd525210aee.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6774.1e0a751d7079179f8f73.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6795.1c49fa950817836e3f1e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6803.eccda2da06d869b0acda.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6822.5bf91484ea172f864747.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6853.48004207e7c689ec55b4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6880.c3cfce260b3d25d9ef5e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6906.1f65b08daf64af8d1f27.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/6982.d9f1a29fe7834b53c855.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7005.9f8920f4e58652fe3ef9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/711.5c259d7417620cf8eef8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7131.cab088ddb371234f1fd6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7161.f03be5c4590ae6db98c1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7166.6e64d20ff3d06bb0726a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7181.1d3f5611193e734beaf4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/72.081fe34e2c76320135d0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7232.5969981a73dac6835b93.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7273.9e6765278092fd30a14f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7280.5862e5cf2b594fd45f82.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7336.b8136533f61cd1b71adc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7359.7bc0ef939742600dba39.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7399.6fa42c5d34d3659f9f68.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7400.ea48afe8766bd82b3741.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7441.bce20fb0ea3d8638bc30.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7488.f63b5ad13eb23dbc3915.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/751.48ddf412afdd781e868f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7572.937d1e5ce68a384389e9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7652.cf086dfcd950ff2c4554.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7672.61e8e5299259407f1ee1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7705.962a56002e394e3755aa.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7719.9dbadc40622a97c6fa90.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7771.efa5c4cf41907b4c8cfc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/779.c50f60eeca2b40bf96db.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7792.e67368a87fa703a97f25.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7812.1b53bb1f6cce555d0b70.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7890.c8c8ddebaabc3579daba.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7954.b02433d4bd38b648ec0e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7959.75734676fe5e861ad899.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7967.ccc236f921abba961fcb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/7981.c14b5974541e98a1b340.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8056.06f4e4d87d7ccc1e4662.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8066.ad6692e614937d4dc480.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8122.f671cfb05d97b5e220fa.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8146.fc69595fa9fb4dc989ec.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8151.e18e503723ffa9d576f7.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8177.d8e81718e82279286385.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8179.33453f3165561d33347d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8181.0f15741bcd037cfaf528.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8221.81d1cabd617e083b8b0b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8249.01410b92489460697717.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8295.39003c08c2539bf22593.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8304.075c39345f3b817edfb1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8321.3ba6a40e5ed74b977afc.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8343.31e93467f566af5fb10e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8366.55b8257f92b23e6f49ec.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8369.80293e64ec102044c767.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/84.3575d43472885d2b7714.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8400.7d8ed1bca69c56f67486.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8404.1c1c675dc23d7d9d80de.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8437.795ac38d87895b50d98e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8480.6698a41d2cf895aafe0f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8482.85d03122dfec6d4f9307.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/851.9faa523fb28cedcd6b88.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8522.dd261948e958bcf4ae64.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8524.4c79a5ea5e22a1389a1f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8649.b722755e4bccf4a39cd5.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8659.76f388593c73460e6c1e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8675.ffadeba0edbfd8d2285d.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8748.bb9c4496cf4ab7577e74.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8751.e80b9f51b9cdb544d16b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8768.4aba875e6cfb350edfa7.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/880.0bcd5ab06196cb9533c4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8824.4b08a890046be218bb35.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8829.c51ecb2bf77a1ca2a962.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8856.6e271445d6d3837302ec.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8857.15291fad6383004d865a.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8860.c824d17d8869a6dd6207.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8867.81c22f89f28a7dc63104.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8887.6480b4ee0c5fa187c2d7.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8929.3329d360058c1764e201.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/8957.4f33250ba35099dbe048.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9014.0e67032c3d7119ce3370.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/904.60333ec0aebf2d092197.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9040.9376593b8e7caa5ed6a0.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9055.7b9ab3136d6a82b298a4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9071.d8aea526bf53118639a9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9113.f9e25015d31ee397e490.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9115.c30adf6f374eb1bd3b93.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9125.26a8a929493c19af9f50.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9165.8b0907227f85ba27306b.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9180.7d6cded0c9f36ac75093.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9184.33de87e8d509010a9bdf.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9193.3666b71cf376fdec58b4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9205.a2f5f2a2c0b69582717e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9251.822a5aa9397713d54ea2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9255.ad693b359f0d12767fe1.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9262.bebc0ed75d7f86d722f2.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9277.f3623a34b457ca052d80.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9285.2d3c4984387ebca606d4.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9289.9fb56f7beb83d721e654.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/934.3ce5b696b827323e706e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9402.b8868b6860051723bf48.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9404.f6ff67c04b5dfb52e3d9.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9412.fe8cf617636a0df90247.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9456.2f96fda82d4be6b0448e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9494.b4ae8d6a63ec84cc4ec3.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9513.0db046603be52099c3ec.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9514.458d7630c50b4b658200.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9559.07e6563cb0b401ff88a6.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9576.b2d6c2e9831fda63f41f.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9607.a4f836281d0337527f6e.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9621.55ea68ee13d702908a10.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9640.c489050f3a1342328779.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9650.b4d4a115ac2fca1dfbe8.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9704.f4c6d15183531d37b825.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9734.63cf17414a5103d290bb.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9754.2f617d267f5167be63ed.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9885.f84ed1b0565de3b61e99.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9912.b6643895a628f9ea506c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9926.6e52dbb62a19476aae87.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9939.eab64dfd409dd1df1844.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9986.e953beace913bfa7ba74.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/9997.bc013b353c8eda57ad1c.js +0 -0
- {runcell-0.1.15a6.data → runcell-0.1.15a9.data}/data/share/jupyter/labextensions/runcell/static/style.js +0 -0
- {runcell-0.1.15a6.dist-info → runcell-0.1.15a9.dist-info}/WHEEL +0 -0
- {runcell-0.1.15a6.dist-info → runcell-0.1.15a9.dist-info}/entry_points.txt +0 -0
- {runcell-0.1.15a6.dist-info → runcell-0.1.15a9.dist-info}/licenses/LICENSE +0 -0
d5m_ai/_version.py
CHANGED
d5m_ai/labextension/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runcell",
|
|
3
|
-
"version": "0.1.15-alpha.
|
|
3
|
+
"version": "0.1.15-alpha.9",
|
|
4
4
|
"description": "AI Agent for Jupyter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"nanoid": "^5.1.5",
|
|
97
97
|
"next-themes": "^0.4.6",
|
|
98
98
|
"openai": "^4.0.0",
|
|
99
|
+
"posthog-js": "^1.302.2",
|
|
99
100
|
"react": "^18.2.0",
|
|
100
101
|
"react-dom": "^18.2.0",
|
|
101
102
|
"react-markdown": "^10.1.0",
|
|
@@ -152,7 +153,7 @@
|
|
|
152
153
|
"outputDir": "d5m_ai/labextension",
|
|
153
154
|
"schemaDir": "schema",
|
|
154
155
|
"_build": {
|
|
155
|
-
"load": "static/remoteEntry.
|
|
156
|
+
"load": "static/remoteEntry.e78d9a0d4d946ea02c9b.js",
|
|
156
157
|
"extension": "./extension",
|
|
157
158
|
"style": "./style"
|
|
158
159
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runcell",
|
|
3
|
-
"version": "0.1.15-alpha.
|
|
3
|
+
"version": "0.1.15-alpha.9",
|
|
4
4
|
"description": "AI Agent for Jupyter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"nanoid": "^5.1.5",
|
|
97
97
|
"next-themes": "^0.4.6",
|
|
98
98
|
"openai": "^4.0.0",
|
|
99
|
+
"posthog-js": "^1.302.2",
|
|
99
100
|
"react": "^18.2.0",
|
|
100
101
|
"react-dom": "^18.2.0",
|
|
101
102
|
"react-markdown": "^10.1.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[2971],{22971:(e,t,i)=>{i.r(t),i.d(t,{COPY_AUTOCAPTURE_EVENT:()=>ei,Compression:()=>ti,DisplaySurveyType:()=>In,PostHog:()=>Ea,SurveyEventName:()=>Fn,SurveyEventProperties:()=>$n,SurveyEventType:()=>yn,SurveyPosition:()=>wn,SurveyQuestionBranchingType:()=>Sn,SurveyQuestionType:()=>kn,SurveySchedule:()=>Pn,SurveyTabPosition:()=>En,SurveyType:()=>xn,SurveyWidgetType:()=>bn,default:()=>ka,posthog:()=>ka,severityLevels:()=>ii});var r="undefined"!=typeof window?window:void 0,s="undefined"!=typeof globalThis?globalThis:r;"undefined"==typeof self&&(s.self=s),"undefined"==typeof File&&(s.File=function(){});var n=Array.prototype,a=n.forEach,o=n.indexOf,l=null==s?void 0:s.navigator,c=null==s?void 0:s.document,u=null==s?void 0:s.location,h=null==s?void 0:s.fetch,d=null!=s&&s.XMLHttpRequest&&"withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:void 0,p=null==s?void 0:s.AbortController,v=null==l?void 0:l.userAgent,g=null!=r?r:{},_={DEBUG:!1,LIB_VERSION:"1.302.2"};function f(e,t,i,r,s,n,a){try{var o=e[n](a),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(r,s)}function m(e){return function(){var t=this,i=arguments;return new Promise(function(r,s){var n=e.apply(t,i);function a(e){f(n,r,s,a,o,"next",e)}function o(e){f(n,r,s,a,o,"throw",e)}a(void 0)})}}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},y.apply(null,arguments)}function b(e,t){if(null==e)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;i[r]=e[r]}return i}var w=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],E=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var i=e.toLowerCase();return w.concat(t).some(e=>{var t=e.toLowerCase();return-1!==i.indexOf(t)})},x=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function k(e,t){return-1!==e.indexOf(t)}var S=function(e){return e.trim()},P=function(e){return e.replace(/^\$/,"")},F=Array.isArray,$=Object.prototype,I=$.hasOwnProperty,O=$.toString,C=F||function(e){return"[object Array]"===O.call(e)},R=e=>"function"==typeof e,T=e=>e===Object(e)&&!C(e),A=e=>{if(T(e)){for(var t in e)if(I.call(e,t))return!1;return!0}return!1},M=e=>void 0===e,L=e=>"[object String]"==O.call(e),D=e=>L(e)&&0===e.trim().length,N=e=>null===e,j=e=>M(e)||N(e),H=e=>"[object Number]"==O.call(e),q=e=>"[object Boolean]"===O.call(e),U=e=>k(x,e);function B(e){return null===e||"object"!=typeof e}function V(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function G(e){return!M(Event)&&function(e,t){try{return e instanceof t}catch(e){return!1}}(e,Event)}var W=[!0,"true",1,"1","yes"],z=e=>k(W,e),Y=[!1,"false",0,"0","no"];function X(e,t,i,r,s){return t>i&&(r.warn("min cannot be greater than max."),t=i),H(e)?e>i?(r.warn(" cannot be greater than max: "+i+". Using max value instead."),i):e<t?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+i+", fallback: "+s),X(s||i,t,i,r))}class J{constructor(e){this.t={},this.i=e.i,this.o=X(e.bucketSize,0,100,e.h),this.m=X(e.refillRate,0,this.o,e.h),this.S=X(e.refillInterval,0,864e5,e.h)}$(e,t){var i=t-e.lastAccess,r=Math.floor(i/this.S);if(r>0){var s=r*this.m;e.tokens=Math.min(e.tokens+s,this.o),e.lastAccess=e.lastAccess+r*this.S}}consumeRateLimit(e){var t,i=Date.now(),r=String(e),s=this.t[r];return s?this.$(s,i):(s={tokens:this.o,lastAccess:i},this.t[r]=s),0===s.tokens||(s.tokens--,0===s.tokens&&(null==(t=this.i)||t.call(this,e)),0===s.tokens)}stop(){this.t={}}}var K,Z,Q,ee=e=>e instanceof Error;function te(e){var t=globalThis._posthogChunkIds;if(t){var i=Object.keys(t);return Q&&i.length===Z||(Z=i.length,Q=i.reduce((i,r)=>{K||(K={});var s=K[r];if(s)i[s[0]]=s[1];else for(var n=e(r),a=n.length-1;a>=0;a--){var o=n[a],l=null==o?void 0:o.filename,c=t[r];if(l&&c){i[l]=c,K[r]=[l,c];break}}return i},{})),Q}}class ie{constructor(e,t,i){void 0===i&&(i=[]),this.coercers=e,this.stackParser=t,this.modifiers=i}buildFromUnknown(e,t){void 0===t&&(t={});var i=t&&t.mechanism||{handled:!0,type:"generic"},r=this.buildCoercingContext(i,t,0).apply(e),s=this.buildParsingContext(),n=this.parseStacktrace(r,s);return{$exception_list:this.convertToExceptionList(n,i),$exception_level:"error"}}modifyFrames(e){var t=this;return m(function*(){for(var i of e)i.stacktrace&&i.stacktrace.frames&&C(i.stacktrace.frames)&&(i.stacktrace.frames=yield t.applyModifiers(i.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var i,r;return null!=e.cause&&(i=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(r=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?1:0),t.chunkIdMap)),y({},e,{cause:i,stack:r})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var i of this.coercers)if(i.match(e))return i.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return m(function*(){var i=e;for(var r of t.modifiers)i=yield r(i);return i})()}convertToExceptionList(e,t){var i,r,s,n={type:e.type,value:e.value,mechanism:{type:null!==(i=t.type)&&void 0!==i?i:"generic",handled:null===(r=t.handled)||void 0===r||r,synthetic:null!==(s=e.synthetic)&&void 0!==s&&s}};e.stack&&(n.stacktrace={type:"raw",frames:e.stack});var a=[n];return null!=e.cause&&a.push(...this.convertToExceptionList(e.cause,y({},t,{handled:!0}))),a}buildParsingContext(){return{chunkIdMap:te(this.stackParser)}}buildCoercingContext(e,t,i){void 0===i&&(i=0);var r=(i,r)=>{if(r<=4){var s=this.buildCoercingContext(e,t,r);return this.applyCoercers(i,s)}};return y({},t,{syntheticException:0==i?t.syntheticException:void 0,mechanism:e,apply:e=>r(e,i),next:e=>r(e,i+1)})}}var re="?";function se(e,t,i,r,s){var n={platform:e,filename:t,function:"<anonymous>"===i?re:i,in_app:!0};return M(r)||(n.lineno=r),M(s)||(n.colno=s),n}var ne=(e,t)=>{var i=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return i||r?[-1!==e.indexOf("@")?e.split("@")[0]:re,i?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},ae=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,oe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,le=/\((\S*)(?::(\d+))(?::(\d+))\)/,ce=(e,t)=>{var i=ae.exec(e);if(i){var[,r,s,n]=i;return se(t,r,re,+s,+n)}var a=oe.exec(e);if(a){if(a[2]&&0===a[2].indexOf("eval")){var o=le.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[l,c]=ne(a[1]||re,a[2]);return se(t,c,l,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},ue=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,he=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,de=(e,t)=>{var i=ue.exec(e);if(i){if(i[3]&&i[3].indexOf(" > eval")>-1){var r=he.exec(i[3]);r&&(i[1]=i[1]||"eval",i[3]=r[1],i[4]=r[2],i[5]="")}var s=i[3],n=i[1]||re;return[n,s]=ne(n,s),se(t,s,n,i[4]?+i[4]:void 0,i[5]?+i[5]:void 0)}},pe=/\(error: (.*)\)/;class ve{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var i=L(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:i?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return V(e,"DOMException")}isDOMError(e){return V(e,"DOMError")}}class ge{match(e){return(e=>e instanceof Error)(e)}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var i=e.message;return i.error&&"string"==typeof i.error.message?String(i.error.message):String(i)}getStack(e){return e.stacktrace||e.stack||void 0}}class _e{constructor(){}match(e){return V(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var i;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(i=t.syntheticException)?void 0:i.stack,synthetic:!0}}}var fe=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class me{match(e){return"string"==typeof e}coerce(e,t){var i,[r,s]=this.getInfos(e);return{type:null!=r?r:"Error",value:null!=s?s:e,stack:null==(i=t.syntheticException)?void 0:i.stack,synthetic:!0}}getInfos(e){var t="Error",i=e,r=e.match(fe);return r&&(t=r[1],i=r[2]),[t,i]}}var ye=["fatal","error","warning","log","info","debug"];function be(e,t){void 0===t&&(t=40);var i=Object.keys(e);if(i.sort(),!i.length)return"[object has no keys]";for(var r=i.length;r>0;r--){var s=i.slice(0,r).join(", ");if(!(s.length>t))return r===i.length||s.length<=t?s:s.slice(0,t)+"..."}return""}class we{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var i,r=this.getErrorPropertyFromObject(e);return r?t.apply(r):{type:this.getType(e),value:this.getValue(e),stack:null==(i=t.syntheticException)?void 0:i.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return G(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var i=this.getObjectClassName(e);return(i&&"Object"!==i?"'"+i+"'":"Object")+" captured as exception with keys: "+be(e)}isSeverityLevel(e){return L(e)&&!D(e)&&ye.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var i=e[t];if(ee(i))return i}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){return}}}class Ee{match(e){return G(e)}coerce(e,t){var i,r=e.constructor.name;return{type:r,value:r+" captured as exception with keys: "+be(e),stack:null==(i=t.syntheticException)?void 0:i.stack,synthetic:!0}}}class xe{match(e){return B(e)}coerce(e,t){var i;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(i=t.syntheticException)?void 0:i.stack,synthetic:!0}}}class ke{match(e){return V(e,"PromiseRejectionEvent")}coerce(e,t){var i,r=this.getUnhandledRejectionReason(e);return B(r)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(r),stack:null==(i=t.syntheticException)?void 0:i.stack,synthetic:!0}:t.apply(r)}getUnhandledRejectionReason(e){if(B(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}}var Se=function(e,t){var{debugEnabled:i}=void 0===t?{}:t,s={k:function(t){if(r&&(_.DEBUG||g.POSTHOG_DEBUG||i)&&!M(r.console)&&r.console){for(var s=("__rrweb_original__"in r.console[t]?r.console[t].__rrweb_original__:r.console[t]),n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];s(e,...a)}},info:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];s.k("log",...t)},warn:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];s.k("warn",...t)},error:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];s.k("error",...t)},critical:function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];console.error(e,...i)},uninitializedWarning:e=>{s.error("You must initialize PostHog before calling "+e)},createLogger:(t,i)=>Se(e+" "+t,i)};return s},Pe=Se("[PostHog.js]"),Fe=Pe.createLogger,$e=Fe("[ExternalScriptsLoader]"),Ie=(e,t,i)=>{if(e.config.disable_external_dependency_loading)return $e.warn(t+" was requested but loading of external scripts is disabled."),i("Loading of external scripts is disabled");var r=null==c?void 0:c.querySelectorAll("script");if(r)for(var s,n=function(){if(r[a].src===t){var e=r[a];return e.__posthog_loading_callback_fired?{v:i()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,i(void 0,t)}),e.onerror=e=>i(e),{v:void 0})}},a=0;a<r.length;a++)if(s=n())return s.v;var o=()=>{if(!c)return i("document not found");var r=c.createElement("script");if(r.type="text/javascript",r.crossOrigin="anonymous",r.src=t,r.onload=e=>{r.__posthog_loading_callback_fired=!0,i(void 0,e)},r.onerror=e=>i(e),e.config.prepare_external_dependency_script&&(r=e.config.prepare_external_dependency_script(r)),!r)return i("prepare_external_dependency_script returned null");var s,n=c.querySelectorAll("body > script");n.length>0?null==(s=n[0].parentNode)||s.insertBefore(r,n[0]):c.body.appendChild(r)};null!=c&&c.body?o():null==c||c.addEventListener("DOMContentLoaded",o)};g.__PosthogExtensions__=g.__PosthogExtensions__||{},g.__PosthogExtensions__.loadExternalDependency=(e,t,i)=>{var r="/static/"+t+".js?v="+e.version;if("remote-config"===t&&(r="/array/"+e.config.token+"/config.js"),"toolbar"===t){var s=3e5;r=r+"&t="+Math.floor(Date.now()/s)*s}var n=e.requestRouter.endpointFor("assets",r);Ie(e,n,i)},g.__PosthogExtensions__.loadSiteApp=(e,t,i)=>{var r=e.requestRouter.endpointFor("api",t);Ie(e,r,i)};var Oe={};function Ce(e,t,i){if(C(e))if(a&&e.forEach===a)e.forEach(t,i);else if("length"in e&&e.length===+e.length)for(var r=0,s=e.length;r<s;r++)if(r in e&&t.call(i,e[r],r)===Oe)return}function Re(e,t,i){if(!j(e)){if(C(e))return Ce(e,t,i);if((e=>e instanceof FormData)(e)){for(var r of e.entries())if(t.call(i,r[1],r[0])===Oe)return}else for(var s in e)if(I.call(e,s)&&t.call(i,e[s],s)===Oe)return}}var Te=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return Ce(i,function(t){for(var i in t)void 0!==t[i]&&(e[i]=t[i])}),e},Ae=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return Ce(i,function(t){Ce(t,function(t){e.push(t)})}),e};function Me(e){for(var t=Object.keys(e),i=t.length,r=new Array(i);i--;)r[i]=[t[i],e[t[i]]];return r}var Le=function(e){try{return e()}catch(e){return}},De=function(e){return function(){try{for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return e.apply(this,i)}catch(e){Pe.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Pe.critical(e)}}},Ne=function(e){var t={};return Re(e,function(e,i){(L(e)&&e.length>0||H(e))&&(t[i]=e)}),t},je=["herokuapp.com","vercel.app","netlify.app"];function He(e){var t=null==e?void 0:e.hostname;if(!L(t))return!1;var i=t.split(".").slice(-2).join(".");for(var r of je)if(i===r)return!1;return!0}function qe(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return e[i]}function Ue(e,t,i,r){var{capture:s=!1,passive:n=!0}=null!=r?r:{};null==e||e.addEventListener(t,i,{capture:s,passive:n})}var Be="$people_distinct_id",Ve="__alias",Ge="__timers",We="$autocapture_disabled_server_side",ze="$heatmaps_enabled_server_side",Ye="$exception_capture_enabled_server_side",Xe="$error_tracking_suppression_rules",Je="$error_tracking_capture_extension_exceptions",Ke="$web_vitals_enabled_server_side",Ze="$dead_clicks_enabled_server_side",Qe="$web_vitals_allowed_metrics",et="$session_recording_remote_config",tt="$sesid",it="$session_is_sampled",rt="$enabled_feature_flags",st="$early_access_features",nt="$feature_flag_details",at="$stored_person_properties",ot="$stored_group_properties",lt="$surveys",ct="$surveys_activated",ut="$flag_call_reported",ht="$user_state",dt="$client_session_props",pt="$capture_rate_limit",vt="$initial_campaign_params",gt="$initial_referrer_info",_t="$initial_person_info",ft="$epp",mt="__POSTHOG_TOOLBAR__",yt="$posthog_cookieless",bt=[Be,Ve,"__cmpns",Ge,"$session_recording_enabled_server_side",ze,tt,rt,Xe,ht,st,nt,ot,at,lt,ut,dt,pt,vt,gt,ft,_t];function wt(e){return e instanceof Element&&(e.id===mt||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function Et(e){return!!e&&1===e.nodeType}function xt(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function kt(e){return!!e&&3===e.nodeType}function St(e){return!!e&&11===e.nodeType}function Pt(e){return e?S(e).split(/\s+/):[]}function Ft(e){var t=null==r?void 0:r.location.href;return!!(t&&e&&e.some(e=>t.match(e)))}function $t(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return Pt(t)}function It(e){return j(e)?null:S(e).split(/(\s+)/).filter(e=>zt(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Ot(e){var t="";return jt(e)&&!Ht(e)&&e.childNodes&&e.childNodes.length&&Re(e.childNodes,function(e){var i;kt(e)&&e.textContent&&(t+=null!==(i=It(e.textContent))&&void 0!==i?i:"")}),S(t)}function Ct(e){return M(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var Rt=["a","button","form","input","select","textarea","label"];function Tt(e,t){if(M(t))return!0;var i,r=function(e){if(t.some(t=>e.matches(t)))return{v:!0}};for(var s of e)if(i=r(s))return i.v;return!1}function At(e){var t=e.parentNode;return!(!t||!Et(t))&&t}var Mt=["next","previous","prev",">","<"],Lt=[".ph-no-rageclick",".ph-no-capture"],Dt=e=>!e||xt(e,"html")||!Et(e),Nt=(e,t)=>{if(!r||Dt(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var i=!1,s=[e],n=e;n.parentNode&&!xt(n,"body");)if(St(n.parentNode))s.push(n.parentNode.host),n=n.parentNode.host;else{var a=At(n);if(!a)break;if(t||Rt.indexOf(a.tagName.toLowerCase())>-1)i=!0;else{var o=r.getComputedStyle(a);o&&"pointer"===o.getPropertyValue("cursor")&&(i=!0)}s.push(a),n=a}return{parentIsUsefulElement:i,targetElementList:s}};function jt(e){for(var t=e;t.parentNode&&!xt(t,"body");t=t.parentNode){var i=$t(t);if(k(i,"ph-sensitive")||k(i,"ph-no-capture"))return!1}if(k($t(e),"ph-include"))return!0;var r=e.type||"";if(L(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var s=e.name||e.id||"";return!L(s)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(s.replace(/[^a-zA-Z0-9]/g,""))}function Ht(e){return!!(xt(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||xt(e,"select")||xt(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var qt="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",Ut=new RegExp("^(?:"+qt+")$"),Bt=new RegExp(qt),Vt="\\d{3}-?\\d{2}-?\\d{4}",Gt=new RegExp("^("+Vt+")$"),Wt=new RegExp("("+Vt+")");function zt(e,t){if(void 0===t&&(t=!0),j(e))return!1;if(L(e)){if(e=S(e),(t?Ut:Bt).test((e||"").replace(/[- ]/g,"")))return!1;if((t?Gt:Wt).test(e))return!1}return!0}function Yt(e){var t=Ot(e);return zt(t=(t+" "+Xt(e)).trim())?t:""}function Xt(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Re(e.childNodes,function(e){var i;if(e&&"span"===(null==(i=e.tagName)?void 0:i.toLowerCase()))try{var r=Ot(e);t=(t+" "+r).trim(),e.childNodes&&e.childNodes.length&&(t=(t+" "+Xt(e)).trim())}catch(e){Pe.error("[AutoCapture]",e)}}),t}function Jt(e){return function(e){var t=e.map(e=>{var t,i,r="";if(e.tag_name&&(r+=e.tag_name),e.attr_class)for(var s of(e.attr_class.sort(),e.attr_class))r+="."+s.replace(/"/g,"");var n=y({},e.text?{text:e.text}:{},{"nth-child":null!==(t=e.nth_child)&&void 0!==t?t:0,"nth-of-type":null!==(i=e.nth_of_type)&&void 0!==i?i:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),a={};return Me(n).sort((e,t)=>{var[i]=e,[r]=t;return i.localeCompare(r)}).forEach(e=>{var[t,i]=e;return a[Kt(t.toString())]=Kt(i.toString())}),(r+=":")+Me(a).map(e=>{var[t,i]=e;return t+'="'+i+'"'}).join("")});return t.join(";")}(function(e){return e.map(e=>{var t,i,r={text:null==(t=e.$el_text)?void 0:t.slice(0,400),tag_name:e.tag_name,href:null==(i=e.attr__href)?void 0:i.slice(0,2048),attr_class:Zt(e),attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return Me(e).filter(e=>{var[t]=e;return 0===t.indexOf("attr__")}).forEach(e=>{var[t,i]=e;return r.attributes[t]=i}),r})}(e))}function Kt(e){return e.replace(/"|\\"/g,'\\"')}function Zt(e){var t=e.attr__class;return t?C(t)?t:Pt(t):void 0}class Qt{constructor(e){this.disabled=!1===e;var t=T(e)?e:{};this.thresholdPx=t.threshold_px||30,this.timeoutMs=t.timeout_ms||1e3,this.clickCount=t.click_count||3,this.clicks=[]}isRageClick(e,t,i){if(this.disabled)return!1;var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<this.thresholdPx&&i-r.timestamp<this.timeoutMs){if(this.clicks.push({x:e,y:t,timestamp:i}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:t,timestamp:i}];return!1}}var ei="$copy_autocapture",ti=function(e){return e.GZipJS="gzip-js",e.Base64="base64",e}({}),ii=["fatal","error","warning","log","info","debug"],ri=e=>{var t=null==c?void 0:c.createElement("a");return M(t)?null:(t.href=e,t)},si=function(e,t){for(var i,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),s=0;s<r.length;s++){var n=r[s].split("=");if(n[0]===t){i=n;break}}if(!C(i)||i.length<2)return"";var a=i[1];try{a=decodeURIComponent(a)}catch(e){Pe.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},ni=function(e,t,i){if(!e||!t||!t.length)return e;for(var r=e.split("#"),s=r[0]||"",n=r[1],a=s.split("?"),o=a[1],l=a[0],c=(o||"").split("&"),u=[],h=0;h<c.length;h++){var d=c[h].split("=");C(d)&&(t.includes(d[0])?u.push(d[0]+"="+i):u.push(c[h]))}var p=l;return null!=o&&(p+="?"+u.join("&")),null!=n&&(p+="#"+n),p},ai=function(e,t){var i=e.match(new RegExp(t+"=([^&]*)"));return i?i[1]:null},oi=Fe("[AutoCapture]");function li(e,t){return t.length>e?t.slice(0,e)+"...":t}function ci(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do{t=t.previousSibling}while(t&&!Et(t));return t}class ui{constructor(e){this.P=!1,this.T=null,this.R=!1,this.instance=e,this.rageclicks=new Qt(e.config.rageclick),this.I=null}get F(){var e,t,i=T(this.instance.config.autocapture)?this.instance.config.autocapture:{};return i.url_allowlist=null==(e=i.url_allowlist)?void 0:e.map(e=>new RegExp(e)),i.url_ignorelist=null==(t=i.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),i}C(){if(this.isBrowserSupported()){if(r&&c){var e=e=>{e=e||(null==r?void 0:r.event);try{this.M(e)}catch(e){oi.error("Failed to capture event",e)}};if(Ue(c,"submit",e,{capture:!0}),Ue(c,"change",e,{capture:!0}),Ue(c,"click",e,{capture:!0}),this.F.capture_copied_text){var t=e=>{e=e||(null==r?void 0:r.event),this.M(e,ei)};Ue(c,"copy",t,{capture:!0}),Ue(c,"cut",t,{capture:!0})}}}else oi.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.P&&(this.C(),this.P=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.R=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[We]:!!e.autocapture_opt_out}),this.T=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.I=e}getElementSelectors(e){var t,i=[];return null==(t=this.I)||t.forEach(t=>{var r=null==c?void 0:c.querySelectorAll(t);null==r||r.forEach(r=>{e===r&&i.push(t)})}),i}get isEnabled(){var e,t,i=null==(e=this.instance.persistence)?void 0:e.props[We],r=this.T;if(N(r)&&!q(i)&&!this.instance.O())return!1;var s=null!==(t=this.T)&&void 0!==t?t:!!i;return!!this.instance.config.autocapture&&!s}M(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var i,s=Ct(e);kt(s)&&(s=s.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(i=this.rageclicks)&&i.isRageClick(e.clientX,e.clientY,e.timeStamp||(new Date).getTime())&&function(e,t){if(!r||Dt(e))return!1;var i,s,n;if(q(t)?(i=!!t&&Lt,s=void 0):(i=null!==(n=null==t?void 0:t.css_selector_ignorelist)&&void 0!==n?n:Lt,s=null==t?void 0:t.content_ignorelist),!1===i)return!1;var{targetElementList:a}=Nt(e,!1);return!function(e,t){if(!1===e||M(e))return!1;var i;if(!0===e)i=Mt;else{if(!C(e))return!1;if(e.length>10)return Pe.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;i=e.map(e=>e.toLowerCase())}return t.some(e=>{var{safeText:t,ariaLabel:r}=e;return i.some(e=>t.includes(e)||r.includes(e))})}(s,a.map(e=>{var t;return{safeText:Ot(e).toLowerCase(),ariaLabel:(null==(t=e.getAttribute("aria-label"))?void 0:t.toLowerCase().trim())||""}}))&&!Tt(a,i)}(s,this.instance.config.rageclick)&&this.M(e,"$rageclick");var n=t===ei;if(s&&function(e,t,i,s,n){var a,o,l,c;if(void 0===i&&(i=void 0),!r||Dt(e))return!1;if(null!=(a=i)&&a.url_allowlist&&!Ft(i.url_allowlist))return!1;if(null!=(o=i)&&o.url_ignorelist&&Ft(i.url_ignorelist))return!1;if(null!=(l=i)&&l.dom_event_allowlist){var u=i.dom_event_allowlist;if(u&&!u.some(e=>t.type===e))return!1}var{parentIsUsefulElement:h,targetElementList:d}=Nt(e,s);if(!function(e,t){var i=null==t?void 0:t.element_allowlist;if(M(i))return!0;var r,s=function(e){if(i.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var n of e)if(r=s(n))return r.v;return!1}(d,i))return!1;if(!Tt(d,null==(c=i)?void 0:c.css_selector_allowlist))return!1;var p=r.getComputedStyle(e);if(p&&"pointer"===p.getPropertyValue("cursor")&&"click"===t.type)return!0;var v=e.tagName.toLowerCase();switch(v){case"html":return!1;case"form":return(n||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(n||["change","click"]).indexOf(t.type)>=0;default:return h?(n||["click"]).indexOf(t.type)>=0:(n||["click"]).indexOf(t.type)>=0&&(Rt.indexOf(v)>-1||"true"===e.getAttribute("contenteditable"))}}(s,e,this.F,n,n?["copy","cut"]:void 0)){var{props:a,explicitNoCapture:o}=function(e,t){for(var i,s,{e:n,maskAllElementAttributes:a,maskAllText:o,elementAttributeIgnoreList:l,elementsChainAsString:c}=t,u=[e],h=e;h.parentNode&&!xt(h,"body");)St(h.parentNode)?(u.push(h.parentNode.host),h=h.parentNode.host):(u.push(h.parentNode),h=h.parentNode);var d,p=[],v={},g=!1,_=!1;if(Re(u,e=>{var t=jt(e);"a"===e.tagName.toLowerCase()&&(g=e.getAttribute("href"),g=t&&g&&zt(g)&&g),k($t(e),"ph-no-capture")&&(_=!0),p.push(function(e,t,i,r){var s=e.tagName.toLowerCase(),n={tag_name:s};Rt.indexOf(s)>-1&&!i&&("a"===s.toLowerCase()||"button"===s.toLowerCase()?n.$el_text=li(1024,Yt(e)):n.$el_text=li(1024,Ot(e)));var a=$t(e);a.length>0&&(n.classes=a.filter(function(e){return""!==e})),Re(e.attributes,function(i){var s;if((!Ht(e)||-1!==["name","id","class","aria-label"].indexOf(i.name))&&(null==r||!r.includes(i.name))&&!t&&zt(i.value)&&(s=i.name,!L(s)||"_ngcontent"!==s.substring(0,10)&&"_nghost"!==s.substring(0,7))){var a=i.value;"class"===i.name&&(a=Pt(a).join(" ")),n["attr__"+i.name]=li(1024,a)}});for(var o=1,l=1,c=e;c=ci(c);)o++,c.tagName===e.tagName&&l++;return n.nth_child=o,n.nth_of_type=l,n}(e,a,o,l));var i=function(e){if(!jt(e))return{};var t={};return Re(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var i=e.name.replace("data-ph-capture-attribute-",""),r=e.value;i&&r&&zt(r)&&(t[i]=r)}}),t}(e);Te(v,i)}),_)return{props:{},explicitNoCapture:_};if(o||("a"===e.tagName.toLowerCase()||"button"===e.tagName.toLowerCase()?p[0].$el_text=Yt(e):p[0].$el_text=Ot(e)),g){var f,m;p[0].attr__href=g;var y=null==(f=ri(g))?void 0:f.host,b=null==r||null==(m=r.location)?void 0:m.host;y&&b&&y!==b&&(d=g)}return{props:Te({$event_type:n.type,$ce_version:1},c?{}:{$elements:p},{$elements_chain:Jt(p)},null!=(i=p[0])&&i.$el_text?{$el_text:null==(s=p[0])?void 0:s.$el_text}:{},d&&"click"===n.type?{$external_click_url:d}:{},v)}}(s,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.F.element_attribute_ignorelist,elementsChainAsString:this.R});if(o)return!1;var l=this.getElementSelectors(s);if(l&&l.length>0&&(a.$element_selectors=l),t===ei){var c,u=It(null==r||null==(c=r.getSelection())?void 0:c.toString()),h=e.type||"clipboard";if(!u)return!1;a.$selected_content=u,a.$copy_type=h}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return R(null==c?void 0:c.querySelectorAll)}}Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return H(e)&&isFinite(e)&&Math.floor(e)===e});var hi="0123456789abcdef";class di{constructor(e){if(this.bytes=e,16!==e.length)throw new TypeError("not 128-bit length")}static fromFieldsV7(e,t,i,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(i)||!Number.isInteger(r)||e<0||t<0||i<0||r<0||e>0xffffffffffff||t>4095||i>1073741823||r>4294967295)throw new RangeError("invalid field value");var s=new Uint8Array(16);return s[0]=e/Math.pow(2,40),s[1]=e/Math.pow(2,32),s[2]=e/Math.pow(2,24),s[3]=e/Math.pow(2,16),s[4]=e/Math.pow(2,8),s[5]=e,s[6]=112|t>>>8,s[7]=t,s[8]=128|i>>>24,s[9]=i>>>16,s[10]=i>>>8,s[11]=i,s[12]=r>>>24,s[13]=r>>>16,s[14]=r>>>8,s[15]=r,new di(s)}toString(){for(var e="",t=0;t<this.bytes.length;t++)e=e+hi.charAt(this.bytes[t]>>>4)+hi.charAt(15&this.bytes[t]),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw new Error("Invalid UUIDv7 was generated");return e}clone(){return new di(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;t<16;t++){var i=this.bytes[t]-e.bytes[t];if(0!==i)return Math.sign(i)}return 0}}class pi{constructor(){this.A=0,this.D=0,this.j=new _i}generate(){var e=this.generateOrAbort();if(M(e)){this.A=0;var t=this.generateOrAbort();if(M(t))throw new Error("Could not generate UUID after timestamp reset");return t}return e}generateOrAbort(){var e=Date.now();if(e>this.A)this.A=e,this.L();else{if(!(e+1e4>this.A))return;this.D++,this.D>4398046511103&&(this.A++,this.L())}return di.fromFieldsV7(this.A,Math.trunc(this.D/Math.pow(2,30)),this.D&Math.pow(2,30)-1,this.j.nextUint32())}L(){this.D=1024*this.j.nextUint32()+(1023&this.j.nextUint32())}}var vi,gi=e=>{if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};r&&!M(r.crypto)&&crypto.getRandomValues&&(gi=e=>crypto.getRandomValues(e));class _i{constructor(){this.N=new Uint32Array(8),this.U=1/0}nextUint32(){return this.U>=this.N.length&&(gi(this.N),this.U=0),this.N[this.U++]}}var fi=()=>mi().toString(),mi=()=>(vi||(vi=new pi)).generate(),yi="",bi=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,wi={H:()=>!!c,B:function(e){Pe.error("cookieStore error: "+e)},q:function(e){if(c){try{for(var t=e+"=",i=c.cookie.split(";").filter(e=>e.length),r=0;r<i.length;r++){for(var s=i[r];" "==s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return decodeURIComponent(s.substring(t.length,s.length))}}catch(e){}return null}},W:function(e){var t;try{t=JSON.parse(wi.q(e))||{}}catch(e){}return t},G:function(e,t,i,r,s){if(c)try{var n="",a="",o=function(e,t){if(t){var i=function(e,t){if(void 0===t&&(t=c),yi)return yi;if(!t)return"";if(["localhost","127.0.0.1"].includes(e))return"";for(var i=e.split("."),r=Math.min(i.length,8),s="dmn_chk_"+fi();!yi&&r--;){var n=i.slice(r).join("."),a=s+"=1;domain=."+n+";path=/";t.cookie=a+";max-age=3",t.cookie.includes(s)&&(t.cookie=a+";max-age=0",yi=n)}return yi}(e);if(!i){var r=(e=>{var t=e.match(bi);return t?t[0]:""})(e);r!==i&&Pe.info("Warning: cookie subdomain discovery mismatch",r,i),i=r}return i?"; domain=."+i:""}return""}(c.location.hostname,r);if(i){var l=new Date;l.setTime(l.getTime()+24*i*60*60*1e3),n="; expires="+l.toUTCString()}s&&(a="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+n+"; SameSite=Lax; path=/"+o+a;return u.length>3686.4&&Pe.warn("cookieStore warning: large cookie, len="+u.length),c.cookie=u,u}catch(e){return}},V:function(e,t){if(null!=c&&c.cookie)try{wi.G(e,"",-1,t)}catch(e){return}}},Ei=null,xi={H:function(){if(!N(Ei))return Ei;var e=!0;if(M(r))e=!1;else try{var t="__mplssupport__";xi.G(t,"xyz"),'"xyz"'!==xi.q(t)&&(e=!1),xi.V(t)}catch(t){e=!1}return e||Pe.error("localStorage unsupported; falling back to cookie store"),Ei=e,e},B:function(e){Pe.error("localStorage error: "+e)},q:function(e){try{return null==r?void 0:r.localStorage.getItem(e)}catch(e){xi.B(e)}return null},W:function(e){try{return JSON.parse(xi.q(e))||{}}catch(e){}return null},G:function(e,t){try{null==r||r.localStorage.setItem(e,JSON.stringify(t))}catch(e){xi.B(e)}},V:function(e){try{null==r||r.localStorage.removeItem(e)}catch(e){xi.B(e)}}},ki=["distinct_id",tt,it,ft,_t],Si=y({},xi,{W:function(e){try{var t={};try{t=wi.W(e)||{}}catch(e){}var i=Te(t,JSON.parse(xi.q(e)||"{}"));return xi.G(e,i),i}catch(e){}return null},G:function(e,t,i,r,s,n){try{xi.G(e,t,void 0,void 0,n);var a={};ki.forEach(e=>{t[e]&&(a[e]=t[e])}),Object.keys(a).length&&wi.G(e,a,i,r,s,n)}catch(e){xi.B(e)}},V:function(e,t){try{null==r||r.localStorage.removeItem(e),wi.V(e,t)}catch(e){xi.B(e)}}}),Pi={},Fi={H:function(){return!0},B:function(e){Pe.error("memoryStorage error: "+e)},q:function(e){return Pi[e]||null},W:function(e){return Pi[e]||null},G:function(e,t){Pi[e]=t},V:function(e){delete Pi[e]}},$i=null,Ii={H:function(){if(!N($i))return $i;if($i=!0,M(r))$i=!1;else try{var e="__support__";Ii.G(e,"xyz"),'"xyz"'!==Ii.q(e)&&($i=!1),Ii.V(e)}catch(e){$i=!1}return $i},B:function(e){Pe.error("sessionStorage error: ",e)},q:function(e){try{return null==r?void 0:r.sessionStorage.getItem(e)}catch(e){Ii.B(e)}return null},W:function(e){try{return JSON.parse(Ii.q(e))||null}catch(e){}return null},G:function(e,t){try{null==r||r.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){Ii.B(e)}},V:function(e){try{null==r||r.sessionStorage.removeItem(e)}catch(e){Ii.B(e)}}},Oi=function(e){return e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED",e}({});class Ci{constructor(e){this._instance=e}get F(){return this._instance.config}get consent(){return this.J()?Oi.DENIED:this.K}isOptedOut(){return"always"===this.F.cookieless_mode||this.consent===Oi.DENIED||this.consent===Oi.PENDING&&(this.F.opt_out_capturing_by_default||"on_reject"===this.F.cookieless_mode)}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===Oi.DENIED}optInOut(e){this.Y.G(this.X,e?1:0,this.F.cookie_expiration,this.F.cross_subdomain_cookie,this.F.secure_cookie)}reset(){this.Y.V(this.X,this.F.cross_subdomain_cookie)}get X(){var{token:e,opt_out_capturing_cookie_prefix:t,consent_persistence_name:i}=this._instance.config;return i||(t?t+e:"__ph_opt_in_out_"+e)}get K(){var e=this.Y.q(this.X);return z(e)?Oi.GRANTED:k(Y,e)?Oi.DENIED:Oi.PENDING}get Y(){if(!this.Z){var e=this.F.opt_out_capturing_persistence_type;this.Z="localStorage"===e?xi:wi;var t="localStorage"===e?wi:xi;t.q(this.X)&&(this.Z.q(this.X)||this.optInOut(z(t.q(this.X))),t.V(this.X,this.F.cross_subdomain_cookie))}return this.Z}J(){return!!this.F.respect_dnt&&!!qe([null==l?void 0:l.doNotTrack,null==l?void 0:l.msDoNotTrack,g.doNotTrack],e=>z(e))}}var Ri=Fe("[Dead Clicks]"),Ti=()=>!0,Ai=e=>{var t,i=!(null==(t=e.instance.persistence)||!t.get_property(Ze)),r=e.instance.config.capture_dead_clicks;return q(r)?r:!!T(r)||i};class Mi{get lazyLoadedDeadClicksAutocapture(){return this.tt}constructor(e,t,i){this.instance=e,this.isEnabled=t,this.onCapture=i,this.startIfEnabled()}onRemoteConfig(e){this.instance.persistence&&this.instance.persistence.register({[Ze]:null==e?void 0:e.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.it(()=>{this.et()})}it(e){var t,i;null!=(t=g.__PosthogExtensions__)&&t.initDeadClicksAutocapture&&e(),null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?Ri.error("failed to load script",t):e()})}et(){var e;if(c){if(!this.tt&&null!=(e=g.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=T(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.tt=g.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.tt.start(c),Ri.info("starting...")}}else Ri.error("`document` not found. Cannot start.")}stop(){this.tt&&(this.tt.stop(),this.tt=void 0,Ri.info("stopping..."))}}var Li=Fe("[ExceptionAutocapture]");class Di{constructor(e){var t,i,s;this.rt=()=>{var e;if(r&&this.isEnabled&&null!=(e=g.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=g.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,i=g.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,s=g.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.st&&this.F.capture_unhandled_errors&&(this.st=t(this.captureException.bind(this))),!this.nt&&this.F.capture_unhandled_rejections&&(this.nt=i(this.captureException.bind(this))),!this.ot&&this.F.capture_console_errors&&(this.ot=s(this.captureException.bind(this)))}catch(e){Li.error("failed to start",e),this.lt()}}},this._instance=e,this.ut=!(null==(t=this._instance.persistence)||!t.props[Ye]),this.F=this.ht(),this.vt=new J({refillRate:null!==(i=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)&&void 0!==i?i:1,bucketSize:null!==(s=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)&&void 0!==s?s:10,refillInterval:1e4,h:Li}),this.startIfEnabled()}ht(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return T(e)?t=y({},t,e):(M(e)?this.ut:e)&&(t=y({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.F.capture_console_errors||this.F.capture_unhandled_errors||this.F.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(Li.info("enabled"),this.it(this.rt))}it(e){var t,i;null!=(t=g.__PosthogExtensions__)&&t.errorWrappingFunctions&&e(),null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return Li.error("failed to load script",t);e()})}lt(){var e,t,i;null==(e=this.st)||e.call(this),this.st=void 0,null==(t=this.nt)||t.call(this),this.nt=void 0,null==(i=this.ot)||i.call(this),this.ot=void 0}onRemoteConfig(e){var t=e.autocaptureExceptions;this.ut=!!t||!1,this.F=this.ht(),this._instance.persistence&&this._instance.persistence.register({[Ye]:this.ut}),this.startIfEnabled()}captureException(e){var t,i,r=null!==(t=null==e||null==(i=e.$exception_list)||null==(i=i[0])?void 0:i.type)&&void 0!==t?t:"Exception";this.vt.consumeRateLimit(r)?Li.info("Skipping exception capture because of client rate limiting.",{exception:r}):this._instance.exceptions.sendExceptionEvent(e)}}function Ni(e,t,i){try{if(!(t in e))return()=>{};var r=e[t],s=i(r);return R(s)&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=s,()=>{e[t]=r}}catch(e){return()=>{}}}class ji{constructor(e){var t;this._instance=e,this.dt=(null==r||null==(t=r.location)?void 0:t.pathname)||""}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(Pe.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.ct&&this.ct(),this.ct=void 0,Pe.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(r&&r.history){var i=this;null!=(e=r.history.pushState)&&e.__posthog_wrapped__||Ni(r.history,"pushState",e=>function(t,r,s){e.call(this,t,r,s),i.ft("pushState")}),null!=(t=r.history.replaceState)&&t.__posthog_wrapped__||Ni(r.history,"replaceState",e=>function(t,r,s){e.call(this,t,r,s),i.ft("replaceState")}),this.gt()}}ft(e){try{var t,i=null==r||null==(t=r.location)?void 0:t.pathname;if(!i)return;i!==this.dt&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:e}),this.dt=i}catch(t){Pe.error("Error capturing "+e+" pageview",t)}}gt(){if(!this.ct){var e=()=>{this.ft("popstate")};Ue(r,"popstate",e),this.ct=()=>{r&&r.removeEventListener("popstate",e)}}}}var Hi=Fe("[SegmentIntegration]"),qi="posthog-js";function Ui(e,t){var{organization:i,projectId:r,prefix:s,severityAllowList:n=["error"],sendExceptionsToPostHog:a=!0}=void 0===t?{}:t;return t=>{var o,l,c,u,h;if("*"!==n&&!n.includes(t.level)||!e.__loaded)return t;t.tags||(t.tags={});var d=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());t.tags["PostHog Person URL"]=d,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var p=(null==(o=t.exception)?void 0:o.values)||[],v=p.map(e=>y({},e,{stacktrace:e.stacktrace?y({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>y({},e,{platform:"web:javascript"}))}):void 0})),g={$exception_message:(null==(l=p[0])?void 0:l.value)||t.message,$exception_type:null==(c=p[0])?void 0:c.type,$exception_level:t.level,$exception_list:v,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(u=p[0])?void 0:u.value)||t.message,$sentry_exception_type:null==(h=p[0])?void 0:h.type,$sentry_tags:t.tags};return i&&r&&(g.$sentry_url=(s||"https://sentry.io/organizations/")+i+"/issues/?project="+r+"&query="+t.event_id),a&&e.exceptions.sendExceptionEvent(g),t}}class Bi{constructor(e,t,i,r,s,n){this.name=qi,this.setupOnce=function(a){a(Ui(e,{organization:t,projectId:i,prefix:r,severityAllowList:s,sendExceptionsToPostHog:null==n||n}))}}}var Vi=null!=r&&r.location?ai(r.location.hash,"__posthog")||ai(location.hash,"state"):null,Gi="_postHogToolbarParams",Wi=Fe("[Toolbar]"),zi=function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED",e}(zi||{});class Yi{constructor(e){this.instance=e}_t(e){g.ph_toolbar_state=e}yt(){var e;return null!==(e=g.ph_toolbar_state)&&void 0!==e?e:zi.UNINITIALIZED}maybeLoadToolbar(e,t,i){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===i&&(i=void 0),!r||!c)return!1;e=null!=e?e:r.location,i=null!=i?i:r.history;try{if(!t){try{r.localStorage.setItem("test","test"),r.localStorage.removeItem("test")}catch(e){return!1}t=null==r?void 0:r.localStorage}var s,n=Vi||ai(e.hash,"__posthog")||ai(e.hash,"state"),a=n?Le(()=>JSON.parse(atob(decodeURIComponent(n))))||Le(()=>JSON.parse(decodeURIComponent(n))):null;return a&&"ph_authorize"===a.action?((s=a).source="url",s&&Object.keys(s).length>0&&(a.desiredHash?e.hash=a.desiredHash:i?i.replaceState(i.state,"",e.pathname+e.search):e.hash="")):((s=JSON.parse(t.getItem(Gi)||"{}")).source="localstorage",delete s.userIntent),!(!s.token||this.instance.config.token!==s.token||(this.loadToolbar(s),0))}catch(e){return!1}}bt(e){var t=g.ph_load_toolbar||g.ph_load_editor;!j(t)&&R(t)?t(e,this.instance):Wi.warn("No toolbar load function found")}loadToolbar(e){var t=!(null==c||!c.getElementById(mt));if(!r||t)return!1;var i="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,s=y({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},i?{instrument:!1}:{});if(r.localStorage.setItem(Gi,JSON.stringify(y({},s,{source:void 0}))),this.yt()===zi.LOADED)this.bt(s);else if(this.yt()===zi.UNINITIALIZED){var n;this._t(zi.LOADING),null==(n=g.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this.instance,"toolbar",e=>{if(e)return Wi.error("[Toolbar] Failed to load",e),void this._t(zi.UNINITIALIZED);this._t(zi.LOADED),this.bt(s)}),Ue(r,"turbolinks:load",()=>{this._t(zi.UNINITIALIZED),this.loadToolbar(s)})}return!0}wt(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,i){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===i&&(i=void 0),this.maybeLoadToolbar(e,t,i)}}var Xi=Fe("[TracingHeaders]");class Ji{constructor(e){this.xt=void 0,this.St=void 0,this.rt=()=>{var e,t;M(this.xt)&&(null==(e=g.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)||e._patchXHR(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager)),M(this.St)&&(null==(t=g.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)||t._patchFetch(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}it(e){var t,i;null!=(t=g.__PosthogExtensions__)&&t.tracingHeadersPatchFns&&e(),null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return Xi.error("failed to load script",t);e()})}startIfEnabledOrStop(){var e,t;this._instance.config.__add_tracing_headers?this.it(this.rt):(null==(e=this.xt)||e.call(this),null==(t=this.St)||t.call(this),this.xt=void 0,this.St=void 0)}}var Ki="Mobile",Zi="iOS",Qi="Android",er="Tablet",tr=Qi+" "+er,ir="iPad",rr="Apple",sr=rr+" Watch",nr="Safari",ar="BlackBerry",or="Samsung",lr=or+"Browser",cr=or+" Internet",ur="Chrome",hr=ur+" OS",dr=ur+" "+Zi,pr="Internet Explorer",vr=pr+" "+Ki,gr="Opera",_r=gr+" Mini",fr="Edge",mr="Microsoft "+fr,yr="Firefox",br=yr+" "+Zi,wr="Nintendo",Er="PlayStation",xr="Xbox",kr=Qi+" "+Ki,Sr=Ki+" "+nr,Pr="Windows",Fr=Pr+" Phone",$r="Nokia",Ir="Ouya",Or="Generic",Cr=Or+" "+Ki.toLowerCase(),Rr=Or+" "+er.toLowerCase(),Tr="Konqueror",Ar="(\\d+(\\.\\d+)?)",Mr=new RegExp("Version/"+Ar),Lr=new RegExp(xr,"i"),Dr=new RegExp(Er+" \\w+","i"),Nr=new RegExp(wr+" \\w+","i"),jr=new RegExp(ar+"|PlayBook|BB10","i"),Hr={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},qr=function(e,t){return t=t||"",k(e," OPR/")&&k(e,"Mini")?_r:k(e," OPR/")?gr:jr.test(e)?ar:k(e,"IE"+Ki)||k(e,"WPDesktop")?vr:k(e,lr)?cr:k(e,fr)||k(e,"Edg/")?mr:k(e,"FBIOS")?"Facebook "+Ki:k(e,"UCWEB")||k(e,"UCBrowser")?"UC Browser":k(e,"CriOS")?dr:k(e,"CrMo")||k(e,ur)?ur:k(e,Qi)&&k(e,nr)?kr:k(e,"FxiOS")?br:k(e.toLowerCase(),Tr.toLowerCase())?Tr:((e,t)=>t&&k(t,rr)||function(e){return k(e,nr)&&!k(e,ur)&&!k(e,Qi)}(e))(e,t)?k(e,Ki)?Sr:nr:k(e,yr)?yr:k(e,"MSIE")||k(e,"Trident/")?pr:k(e,"Gecko")?yr:""},Ur={[vr]:[new RegExp("rv:"+Ar)],[mr]:[new RegExp(fr+"?\\/"+Ar)],[ur]:[new RegExp("("+ur+"|CrMo)\\/"+Ar)],[dr]:[new RegExp("CriOS\\/"+Ar)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Ar)],[nr]:[Mr],[Sr]:[Mr],[gr]:[new RegExp("(Opera|OPR)\\/"+Ar)],[yr]:[new RegExp(yr+"\\/"+Ar)],[br]:[new RegExp("FxiOS\\/"+Ar)],[Tr]:[new RegExp("Konqueror[:/]?"+Ar,"i")],[ar]:[new RegExp(ar+" "+Ar),Mr],[kr]:[new RegExp("android\\s"+Ar,"i")],[cr]:[new RegExp(lr+"\\/"+Ar)],[pr]:[new RegExp("(rv:|MSIE )"+Ar)],Mozilla:[new RegExp("rv:"+Ar)]},Br=function(e,t){var i=qr(e,t),r=Ur[i];if(M(r))return null;for(var s=0;s<r.length;s++){var n=r[s],a=e.match(n);if(a)return parseFloat(a[a.length-2])}return null},Vr=[[new RegExp(xr+"; "+xr+" (.*?)[);]","i"),e=>[xr,e&&e[1]||""]],[new RegExp(wr,"i"),[wr,""]],[new RegExp(Er,"i"),[Er,""]],[jr,[ar,""]],[new RegExp(Pr,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[Fr,""];if(new RegExp(Ki).test(t)&&!/IEMobile\b/.test(t))return[Pr+" "+Ki,""];var i=/Windows NT ([0-9.]+)/i.exec(t);if(i&&i[1]){var r=i[1],s=Hr[r]||"";return/arm/i.test(t)&&(s="RT"),[Pr,s]}return[Pr,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>{if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[Zi,t.join(".")]}return[Zi,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=M(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Qi+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Qi+")","i"),e=>{if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[Qi,t.join(".")]}return[Qi,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var i=[e[1],e[2],e[3]||"0"];t[1]=i.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[hr,""]],[/Linux|debian/i,["Linux",""]]],Gr=function(e){return Nr.test(e)?wr:Dr.test(e)?Er:Lr.test(e)?xr:new RegExp(Ir,"i").test(e)?Ir:new RegExp("("+Fr+"|WPDesktop)","i").test(e)?Fr:/iPad/.test(e)?ir:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?sr:jr.test(e)?ar:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp($r,"i").test(e)?$r:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?!new RegExp(Ki).test(e)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)?/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Qi:tr:Qi:new RegExp("(pda|"+Ki+")","i").test(e)?Cr:new RegExp(er,"i").test(e)&&!new RegExp(er+" pc","i").test(e)?Rr:""},Wr="https?://(.*)",zr=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],Yr=Ae(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],zr),Xr="<masked>",Jr=["li_fat_id"];function Kr(e,t,i){if(!c)return{};var r,s=t?Ae([],zr,i||[]):[],n=Zr(ni(c.URL,s,Xr),e),a=(r={},Re(Jr,function(e){var t=wi.q(e);r[e]=t||null}),r);return Te(a,n)}function Zr(e,t){var i=Yr.concat(t||[]),r={};return Re(i,function(t){var i=si(e,t);r[t]=i||null}),r}function Qr(e){var t=function(e){return e?0===e.search(Wr+"google.([^/?]*)")?"google":0===e.search(Wr+"bing.com")?"bing":0===e.search(Wr+"yahoo.com")?"yahoo":0===e.search(Wr+"duckduckgo.com")?"duckduckgo":null:null}(e),i="yahoo"!=t?"q":"p",r={};if(!N(t)){r.$search_engine=t;var s=c?si(c.referrer,i):"";s.length&&(r.ph_keyword=s)}return r}function es(){return navigator.language||navigator.userLanguage}function ts(){return(null==c?void 0:c.referrer)||"$direct"}function is(e,t){var i=e?Ae([],zr,t||[]):[],r=null==u?void 0:u.href.substring(0,1e3);return{r:ts().substring(0,1e3),u:r?ni(r,i,Xr):void 0}}function rs(e){var t,{r:i,u:r}=e,s={$referrer:i,$referring_domain:null==i?void 0:"$direct"==i?"$direct":null==(t=ri(i))?void 0:t.host};if(r){s.$current_url=r;var n=ri(r);s.$host=null==n?void 0:n.host,s.$pathname=null==n?void 0:n.pathname;var a=Zr(r);Te(s,a)}if(i){var o=Qr(i);Te(s,o)}return s}function ss(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}function ns(){try{return(new Date).getTimezoneOffset()}catch(e){return}}function as(e,t){if(!v)return{};var i,s,n,a=e?Ae([],zr,t||[]):[],[o,l]=function(e){for(var t=0;t<Vr.length;t++){var[i,r]=Vr[t],s=i.exec(e),n=s&&(R(r)?r(s,e):r);if(n)return n}return["",""]}(v);return Te(Ne({$os:o,$os_version:l,$browser:qr(v,navigator.vendor),$device:Gr(v),$device_type:(s=v,n=Gr(s),n===ir||n===tr||"Kobo"===n||"Kindle Fire"===n||n===Rr?er:n===wr||n===xr||n===Er||n===Ir?"Console":n===sr?"Wearable":n?Ki:"Desktop"),$timezone:ss(),$timezone_offset:ns()}),{$current_url:ni(null==u?void 0:u.href,a,Xr),$host:null==u?void 0:u.host,$pathname:null==u?void 0:u.pathname,$raw_user_agent:v.length>1e3?v.substring(0,997)+"...":v,$browser_version:Br(v,navigator.vendor),$browser_language:es(),$browser_language_prefix:(i=es(),"string"==typeof i?i.split("-")[0]:void 0),$screen_height:null==r?void 0:r.screen.height,$screen_width:null==r?void 0:r.screen.width,$viewport_height:null==r?void 0:r.innerHeight,$viewport_width:null==r?void 0:r.innerWidth,$lib:"web",$lib_version:_.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}var os=Fe("[Web Vitals]"),ls=9e5;class cs{constructor(e){var t;this.Et=!1,this.P=!1,this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.$t=()=>{clearTimeout(this.kt),0!==this.N.metrics.length&&(this._instance.capture("$web_vitals",this.N.metrics.reduce((e,t)=>y({},e,{["$web_vitals_"+t.name+"_event"]:y({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.N={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Pt=e=>{var t,i=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0);if(M(i))os.error("Could not read session ID. Dropping metrics!");else{this.N=this.N||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var r=this.Tt();M(r)||(j(null==e?void 0:e.name)||j(null==e?void 0:e.value)?os.error("Invalid metric received",e):this.Rt&&e.value>=this.Rt?os.error("Ignoring metric with value >= "+this.Rt,e):(this.N.url!==r&&(this.$t(),this.kt=setTimeout(this.$t,this.flushToCaptureTimeoutMs)),M(this.N.url)&&(this.N.url=r),this.N.firstMetricTimestamp=M(this.N.firstMetricTimestamp)?Date.now():this.N.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0),this.N.metrics.push(y({},e,{$current_url:r,$session_id:i.sessionId,$window_id:i.windowId,timestamp:Date.now()})),this.N.metrics.length===this.allowedMetrics.length&&this.$t()))}},this.rt=()=>{var e,t,i,r,s=g.__PosthogExtensions__;M(s)||M(s.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:i,onINP:r}=s.postHogWebVitalsCallbacks),e&&t&&i&&r?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.Pt.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.Pt.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&i(this.Pt.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&r(this.Pt.bind(this)),this.P=!0):os.error("web vitals callbacks not loaded - not starting")},this._instance=e,this.Et=!(null==(t=this._instance.persistence)||!t.props[Ke]),this.startIfEnabled()}get allowedMetrics(){var e,t,i=T(this._instance.config.capture_performance)?null==(e=this._instance.config.capture_performance)?void 0:e.web_vitals_allowed_metrics:void 0;return M(i)?(null==(t=this._instance.persistence)?void 0:t.props[Qe])||["CLS","FCP","INP","LCP"]:i}get flushToCaptureTimeoutMs(){return(T(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get Rt(){var e=T(this._instance.config.capture_performance)&&H(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:ls;return 0<e&&e<=6e4?ls:e}get isEnabled(){var e=null==u?void 0:u.protocol;if("http:"!==e&&"https:"!==e)return os.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=T(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:q(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return q(t)?t:this.Et}startIfEnabled(){this.isEnabled&&!this.P&&(os.info("enabled, starting..."),this.it(this.rt))}onRemoteConfig(e){var t=T(e.capturePerformance)&&!!e.capturePerformance.web_vitals,i=T(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[Ke]:t}),this._instance.persistence.register({[Qe]:i})),this.Et=t,this.startIfEnabled()}it(e){var t,i;null!=(t=g.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks&&e(),null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,"web-vitals",t=>{t?os.error("failed to load script",t):e()})}Tt(){var e=r?r.location.href:void 0;if(e){var t=this._instance.config.mask_personal_data_properties,i=this._instance.config.custom_personal_data_properties,s=t?Ae([],zr,i||[]):[];return ni(e,s,Xr)}os.error("Could not determine current URL")}}var us=Fe("[Heatmaps]");function hs(e){return T(e)&&"clientX"in e&&"clientY"in e&&H(e.clientX)&&H(e.clientY)}class ds{constructor(e){var t;this.Et=!1,this.P=!1,this.It=null,this.instance=e,this.Et=!(null==(t=this.instance.persistence)||!t.props[ze]),this.rageclicks=new Qt(e.config.rageclick)}get flushIntervalMilliseconds(){var e=5e3;return T(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(e=this.instance.config.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return M(this.instance.config.capture_heatmaps)?M(this.instance.config.enable_heatmaps)?this.Et:this.instance.config.enable_heatmaps:!1!==this.instance.config.capture_heatmaps}startIfEnabled(){if(this.isEnabled){if(this.P)return;us.info("starting..."),this.Ft(),this.Ct()}else{var e;clearInterval(null!==(e=this.It)&&void 0!==e?e:void 0),this.Mt(),this.getAndClearBuffer()}}onRemoteConfig(e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[ze]:t}),this.Et=t,this.startIfEnabled()}getAndClearBuffer(){var e=this.N;return this.N=void 0,e}Ot(e){this.At(e.originalEvent,"deadclick")}Ct(){this.It&&clearInterval(this.It),this.It=function(e){return"visible"===(null==e?void 0:e.visibilityState)}(c)?setInterval(this.Dt.bind(this),this.flushIntervalMilliseconds):null}Ft(){r&&c&&(this.jt=this.Dt.bind(this),Ue(r,"beforeunload",this.jt),this.Lt=e=>this.At(e||(null==r?void 0:r.event)),Ue(c,"click",this.Lt,{capture:!0}),this.Nt=e=>this.Ut(e||(null==r?void 0:r.event)),Ue(c,"mousemove",this.Nt,{capture:!0}),this.zt=new Mi(this.instance,Ti,this.Ot.bind(this)),this.zt.startIfEnabled(),this.Ht=this.Ct.bind(this),Ue(c,"visibilitychange",this.Ht),this.P=!0)}Mt(){var e;r&&c&&(this.jt&&r.removeEventListener("beforeunload",this.jt),this.Lt&&c.removeEventListener("click",this.Lt,{capture:!0}),this.Nt&&c.removeEventListener("mousemove",this.Nt,{capture:!0}),this.Ht&&c.removeEventListener("visibilitychange",this.Ht),clearTimeout(this.Bt),null==(e=this.zt)||e.stop(),this.P=!1)}qt(e,t){var i=this.instance.scrollManager.scrollY(),s=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),a=function(e,t,i){for(var s=e;s&&Et(s)&&!xt(s,"body");){if(s===i)return!1;if(k(t,null==r?void 0:r.getComputedStyle(s).position))return!0;s=At(s)}return!1}(Ct(e),["fixed","sticky"],n);return{x:e.clientX+(a?0:s),y:e.clientY+(a?0:i),target_fixed:a,type:t}}At(e,t){var i;if(void 0===t&&(t="click"),!wt(e.target)&&hs(e)){var r=this.qt(e,t);null!=(i=this.rageclicks)&&i.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this.Wt(y({},r,{type:"rageclick"})),this.Wt(r)}}Ut(e){!wt(e.target)&&hs(e)&&(clearTimeout(this.Bt),this.Bt=setTimeout(()=>{this.Wt(this.qt(e,"mousemove"))},500))}Wt(e){if(r){var t=r.location.href,i=this.instance.config.mask_personal_data_properties,s=this.instance.config.custom_personal_data_properties,n=i?Ae([],zr,s||[]):[],a=ni(t,n,Xr);this.N=this.N||{},this.N[a]||(this.N[a]=[]),this.N[a].push(e)}}Dt(){this.N&&!A(this.N)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}class ps{constructor(e){this._instance=e}doPageView(e,t){var i,s=this.Gt(e,t);return this.Vt={pathname:null!==(i=null==r?void 0:r.location.pathname)&&void 0!==i?i:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),s}doPageLeave(e){var t;return this.Gt(e,null==(t=this.Vt)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.Vt)?void 0:e.pageViewId}}Gt(e,t){var i=this.Vt;if(!i)return{$pageview_id:t};var r={$pageview_id:t,$prev_pageview_id:i.pageViewId},s=this._instance.scrollManager.getContext();if(s&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:n,lastScrollY:a,maxScrollY:o,maxContentHeight:l,lastContentY:c,maxContentY:u}=s;if(!(M(n)||M(a)||M(o)||M(l)||M(c)||M(u))){n=Math.ceil(n),a=Math.ceil(a),o=Math.ceil(o),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u);var h=n<=1?1:X(a/n,0,1,Pe),d=n<=1?1:X(o/n,0,1,Pe),p=l<=1?1:X(c/l,0,1,Pe),v=l<=1?1:X(u/l,0,1,Pe);r=Te(r,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:h,$prev_pageview_max_scroll:o,$prev_pageview_max_scroll_percentage:d,$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:p,$prev_pageview_max_content:u,$prev_pageview_max_content_percentage:v})}}return i.pathname&&(r.$prev_pageview_pathname=i.pathname),i.timestamp&&(r.$prev_pageview_duration=(e.getTime()-i.timestamp.getTime())/1e3),r}}var vs=Uint8Array,gs=Uint16Array,_s=Uint32Array,fs=new vs([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ms=new vs([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ys=new vs([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),bs=function(e,t){for(var i=new gs(31),r=0;r<31;++r)i[r]=t+=1<<e[r-1];var s=new _s(i[30]);for(r=1;r<30;++r)for(var n=i[r];n<i[r+1];++n)s[n]=n-i[r]<<5|r;return[i,s]},ws=bs(fs,2),Es=ws[0],xs=ws[1];Es[28]=258,xs[258]=28;for(var ks=bs(ms,0)[1],Ss=new gs(32768),Ps=0;Ps<32768;++Ps){var Fs=(43690&Ps)>>>1|(21845&Ps)<<1;Fs=(61680&(Fs=(52428&Fs)>>>2|(13107&Fs)<<2))>>>4|(3855&Fs)<<4,Ss[Ps]=((65280&Fs)>>>8|(255&Fs)<<8)>>>1}var $s=function(e,t,i){for(var r=e.length,s=0,n=new gs(t);s<r;++s)++n[e[s]-1];var a,o=new gs(t);for(s=0;s<t;++s)o[s]=o[s-1]+n[s-1]<<1;if(i){a=new gs(1<<t);var l=15-t;for(s=0;s<r;++s)if(e[s])for(var c=s<<4|e[s],u=t-e[s],h=o[e[s]-1]++<<u,d=h|(1<<u)-1;h<=d;++h)a[Ss[h]>>>l]=c}else for(a=new gs(r),s=0;s<r;++s)a[s]=Ss[o[e[s]-1]++]>>>15-e[s];return a},Is=new vs(288);for(Ps=0;Ps<144;++Ps)Is[Ps]=8;for(Ps=144;Ps<256;++Ps)Is[Ps]=9;for(Ps=256;Ps<280;++Ps)Is[Ps]=7;for(Ps=280;Ps<288;++Ps)Is[Ps]=8;var Os=new vs(32);for(Ps=0;Ps<32;++Ps)Os[Ps]=5;var Cs=$s(Is,9,0),Rs=$s(Os,5,0),Ts=function(e){return(e/8|0)+(7&e&&1)},As=function(e,t,i){(null==i||i>e.length)&&(i=e.length);var r=new(e instanceof gs?gs:e instanceof _s?_s:vs)(i-t);return r.set(e.subarray(t,i)),r},Ms=function(e,t,i){i<<=7&t;var r=t/8|0;e[r]|=i,e[r+1]|=i>>>8},Ls=function(e,t,i){i<<=7&t;var r=t/8|0;e[r]|=i,e[r+1]|=i>>>8,e[r+2]|=i>>>16},Ds=function(e,t){for(var i=[],r=0;r<e.length;++r)e[r]&&i.push({s:r,f:e[r]});var s=i.length,n=i.slice();if(!s)return[new vs(0),0];if(1==s){var a=new vs(i[0].s+1);return a[i[0].s]=1,[a,1]}i.sort(function(e,t){return e.f-t.f}),i.push({s:-1,f:25001});var o=i[0],l=i[1],c=0,u=1,h=2;for(i[0]={s:-1,f:o.f+l.f,l:o,r:l};u!=s-1;)o=i[i[c].f<i[h].f?c++:h++],l=i[c!=u&&i[c].f<i[h].f?c++:h++],i[u++]={s:-1,f:o.f+l.f,l:o,r:l};var d=n[0].s;for(r=1;r<s;++r)n[r].s>d&&(d=n[r].s);var p=new gs(d+1),v=Ns(i[u-1],p,0);if(v>t){r=0;var g=0,_=v-t,f=1<<_;for(n.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});r<s;++r){var m=n[r].s;if(!(p[m]>t))break;g+=f-(1<<v-p[m]),p[m]=t}for(g>>>=_;g>0;){var y=n[r].s;p[y]<t?g-=1<<t-p[y]++-1:++r}for(;r>=0&&g;--r){var b=n[r].s;p[b]==t&&(--p[b],++g)}v=t}return[new vs(p),v]},Ns=function(e,t,i){return-1==e.s?Math.max(Ns(e.l,t,i+1),Ns(e.r,t,i+1)):t[e.s]=i},js=function(e){for(var t=e.length;t&&!e[--t];);for(var i=new gs(++t),r=0,s=e[0],n=1,a=function(e){i[r++]=e},o=1;o<=t;++o)if(e[o]==s&&o!=t)++n;else{if(!s&&n>2){for(;n>138;n-=138)a(32754);n>2&&(a(n>10?n-11<<5|28690:n-3<<5|12305),n=0)}else if(n>3){for(a(s),--n;n>6;n-=6)a(8304);n>2&&(a(n-3<<5|8208),n=0)}for(;n--;)a(s);n=1,s=e[o]}return[i.subarray(0,r),t]},Hs=function(e,t){for(var i=0,r=0;r<t.length;++r)i+=e[r]*t[r];return i},qs=function(e,t,i){var r=i.length,s=Ts(t+2);e[s]=255&r,e[s+1]=r>>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var n=0;n<r;++n)e[s+n+4]=i[n];return 8*(s+4+r)},Us=function(e,t,i,r,s,n,a,o,l,c,u){Ms(t,u++,i),++s[256];for(var h=Ds(s,15),d=h[0],p=h[1],v=Ds(n,15),g=v[0],_=v[1],f=js(d),m=f[0],y=f[1],b=js(g),w=b[0],E=b[1],x=new gs(19),k=0;k<m.length;++k)x[31&m[k]]++;for(k=0;k<w.length;++k)x[31&w[k]]++;for(var S=Ds(x,7),P=S[0],F=S[1],$=19;$>4&&!P[ys[$-1]];--$);var I,O,C,R,T=c+5<<3,A=Hs(s,Is)+Hs(n,Os)+a,M=Hs(s,d)+Hs(n,g)+a+14+3*$+Hs(x,P)+(2*x[16]+3*x[17]+7*x[18]);if(T<=A&&T<=M)return qs(t,u,e.subarray(l,l+c));if(Ms(t,u,1+(M<A)),u+=2,M<A){I=$s(d,p,0),O=d,C=$s(g,_,0),R=g;var L=$s(P,F,0);for(Ms(t,u,y-257),Ms(t,u+5,E-1),Ms(t,u+10,$-4),u+=14,k=0;k<$;++k)Ms(t,u+3*k,P[ys[k]]);u+=3*$;for(var D=[m,w],N=0;N<2;++N){var j=D[N];for(k=0;k<j.length;++k){var H=31&j[k];Ms(t,u,L[H]),u+=P[H],H>15&&(Ms(t,u,j[k]>>>5&127),u+=j[k]>>>12)}}}else I=Cs,O=Is,C=Rs,R=Os;for(k=0;k<o;++k)if(r[k]>255){H=r[k]>>>18&31,Ls(t,u,I[H+257]),u+=O[H+257],H>7&&(Ms(t,u,r[k]>>>23&31),u+=fs[H]);var q=31&r[k];Ls(t,u,C[q]),u+=R[q],q>3&&(Ls(t,u,r[k]>>>5&8191),u+=ms[q])}else Ls(t,u,I[r[k]]),u+=O[r[k]];return Ls(t,u,I[256]),u+O[256]},Bs=new _s([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Vs=function(){for(var e=new _s(256),t=0;t<256;++t){for(var i=t,r=9;--r;)i=(1&i&&3988292384)^i>>>1;e[t]=i}return e}(),Gs=function(e,t,i){for(;i;++t)e[t]=i,i>>>=8};var Ws=!!d||!!h,zs="text/plain",Ys=function(e,t,i){var r;void 0===i&&(i=!0);var[s,n]=e.split("?"),a=y({},t),o=null!==(r=null==n?void 0:n.split("&").map(e=>{var t,[r,s]=e.split("="),n=i&&null!==(t=a[r])&&void 0!==t?t:s;return delete a[r],r+"="+n}))&&void 0!==r?r:[],l=function(e,t){var i,r;void 0===t&&(t="&");var s=[];return Re(e,function(e,t){M(e)||M(t)||"undefined"===t||(i=encodeURIComponent((e=>e instanceof File)(e)?e.name:e.toString()),r=encodeURIComponent(t),s[s.length]=r+"="+i)}),s.join(t)}(a);return l&&o.push(l),s+"?"+o.join("&")},Xs=(e,t)=>JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t),Js=e=>{var{data:t,compression:i}=e;if(t){if(i===ti.GZipJS){var r=function(e,t){void 0===t&&(t={});var i=function(){var e=4294967295;return{p:function(t){for(var i=e,r=0;r<t.length;++r)i=Vs[255&i^t[r]]^i>>>8;e=i},d:function(){return 4294967295^e}}}(),r=e.length;i.p(e);var s,n=function(e,t,i){return function(e,t,i,r,s,n){var a=e.length,o=new vs(r+a+5*(1+Math.floor(a/7e3))+8),l=o.subarray(r,o.length-8),c=0;if(!t||a<8)for(var u=0;u<=a;u+=65535){var h=u+65535;h<a?c=qs(l,c,e.subarray(u,h)):(l[u]=n,c=qs(l,c,e.subarray(u,a)))}else{for(var d=Bs[t-1],p=d>>>13,v=8191&d,g=(1<<i)-1,_=new gs(32768),f=new gs(g+1),m=Math.ceil(i/3),y=2*m,b=function(t){return(e[t]^e[t+1]<<m^e[t+2]<<y)&g},w=new _s(25e3),E=new gs(288),x=new gs(32),k=0,S=0,P=(u=0,0),F=0,$=0;u<a;++u){var I=b(u),O=32767&u,C=f[I];if(_[O]=C,f[I]=O,F<=u){var R=a-u;if((k>7e3||P>24576)&&R>423){c=Us(e,l,0,w,E,x,S,P,$,u-$,c),P=k=S=0,$=u;for(var T=0;T<286;++T)E[T]=0;for(T=0;T<30;++T)x[T]=0}var A=2,M=0,L=v,D=O-C&32767;if(R>2&&I==b(u-D))for(var N=Math.min(p,R)-1,j=Math.min(32767,u),H=Math.min(258,R);D<=j&&--L&&O!=C;){if(e[u+A]==e[u+A-D]){for(var q=0;q<H&&e[u+q]==e[u+q-D];++q);if(q>A){if(A=q,M=D,q>N)break;var U=Math.min(D,q-2),B=0;for(T=0;T<U;++T){var V=u-D+T+32768&32767,G=V-_[V]+32768&32767;G>B&&(B=G,C=V)}}}D+=(O=C)-(C=_[O])+32768&32767}if(M){w[P++]=268435456|xs[A]<<18|ks[M];var W=31&xs[A],z=31&ks[M];S+=fs[W]+ms[z],++E[257+W],++x[z],F=u+A,++k}else w[P++]=e[u],++E[e[u]]}}c=Us(e,l,n,w,E,x,S,P,$,u-$,c)}return As(o,0,r+Ts(c)+8)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,i,0,!0)}(e,t,10+((s=t).filename&&s.filename.length+1||0)),a=n.length;return function(e,t){var i=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&Gs(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),i){e[3]=8;for(var r=0;r<=i.length;++r)e[r+10]=i.charCodeAt(r)}}(n,t),Gs(n,a-8,i.d()),Gs(n,a-4,r),n}(function(e){var t=e.length;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var i=new vs(e.length+(e.length>>>1)),r=0,s=function(e){i[r++]=e},n=0;n<t;++n){if(r+5>i.length){var a=new vs(r+8+(t-n<<1));a.set(i),i=a}var o=e.charCodeAt(n);o<128?s(o):o<2048?(s(192|o>>>6),s(128|63&o)):o>55295&&o<57344?(s(240|(o=65536+(1047552&o)|1023&e.charCodeAt(++n))>>>18),s(128|o>>>12&63),s(128|o>>>6&63),s(128|63&o)):(s(224|o>>>12),s(128|o>>>6&63),s(128|63&o))}return As(i,0,r)}(Xs(t)),{mtime:0}),s=new Blob([r],{type:zs});return{contentType:zs,body:s,estimatedSize:s.size}}if(i===ti.Base64){var n=function(e){var t,i,r,s,n,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,l=0,c="",u=[];if(!e)return e;e=function(e){var t,i,r,s,n="";for(t=i=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,s=0;s<r;s++){var a=e.charCodeAt(s),o=null;a<128?i++:o=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),N(o)||(i>t&&(n+=e.substring(t,i)),n+=o,t=i=s+1)}return i>t&&(n+=e.substring(t,e.length)),n}(e);do{t=(n=e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<8|e.charCodeAt(o++))>>18&63,i=n>>12&63,r=n>>6&63,s=63&n,u[l++]=a.charAt(t)+a.charAt(i)+a.charAt(r)+a.charAt(s)}while(o<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c}(Xs(t)),a=(e=>"data="+encodeURIComponent("string"==typeof e?e:Xs(e)))(n);return{contentType:"application/x-www-form-urlencoded",body:a,estimatedSize:new Blob([a]).size}}var o=Xs(t);return{contentType:"application/json",body:o,estimatedSize:new Blob([o]).size}}},Ks=[];h&&Ks.push({transport:"fetch",method:e=>{var t,i,{contentType:r,body:s,estimatedSize:n}=null!==(t=Js(e))&&void 0!==t?t:{},a=new Headers;Re(e.headers,function(e,t){a.append(t,e)}),r&&a.append("Content-Type",r);var o=e.url,l=null;if(p){var c=new p;l={signal:c.signal,timeout:setTimeout(()=>c.abort(),e.timeout)}}h(o,y({method:(null==e?void 0:e.method)||"GET",headers:a,keepalive:"POST"===e.method&&(n||0)<52428.8,body:s,signal:null==(i=l)?void 0:i.signal},e.fetchOptions)).then(t=>t.text().then(i=>{var r={statusCode:t.status,text:i};if(200===t.status)try{r.json=JSON.parse(i)}catch(e){Pe.error(e)}null==e.callback||e.callback(r)})).catch(t=>{Pe.error(t),null==e.callback||e.callback({statusCode:0,text:t})}).finally(()=>l?clearTimeout(l.timeout):null)}}),d&&Ks.push({transport:"XHR",method:e=>{var t,i=new d;i.open(e.method||"GET",e.url,!0);var{contentType:r,body:s}=null!==(t=Js(e))&&void 0!==t?t:{};Re(e.headers,function(e,t){i.setRequestHeader(t,e)}),r&&i.setRequestHeader("Content-Type",r),e.timeout&&(i.timeout=e.timeout),e.disableXHRCredentials||(i.withCredentials=!0),i.onreadystatechange=()=>{if(4===i.readyState){var t={statusCode:i.status,text:i.responseText};if(200===i.status)try{t.json=JSON.parse(i.responseText)}catch(e){}null==e.callback||e.callback(t)}},i.send(s)}}),null!=l&&l.sendBeacon&&Ks.push({transport:"sendBeacon",method:e=>{var t=Ys(e.url,{beacon:"1"});try{var i,{contentType:r,body:s}=null!==(i=Js(e))&&void 0!==i?i:{},n="string"==typeof s?new Blob([s],{type:r}):s;l.sendBeacon(t,n)}catch(e){}}});var Zs=function(e,t){if(!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch(e){return!1}};function Qs(e,t,i){return Xs({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:i})}var en={exact:(e,t)=>t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>Zs(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!Zs(t,e))),icontains:(e,t)=>t.map(tn).some(t=>e.map(tn).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(tn).every(t=>e.map(tn).every(e=>!t.includes(e)))},tn=e=>e.toLowerCase();function rn(e,t){return!e||Object.entries(e).every(e=>{var[i,r]=e,s=null==t?void 0:t[i];if(M(s)||N(s))return!1;var n=[String(s)],a=en[r.operator];return!!a&&a(r.values,n)})}var sn=Fe("[Error tracking]");class nn{constructor(e){var t,i;this.Jt=[],this.Kt=new ie([new ve,new ke,new _e,new ge,new Ee,new we,new me,new xe],function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return function(t,r){void 0===r&&(r=0);for(var s=[],n=t.split("\n"),a=r;a<n.length;a++){var o=n[a];if(!(o.length>1024)){var l=pe.test(o)?o.replace(pe,"$1"):o;if(!l.match(/\S*Error: /)){for(var c of i){var u=c(l,e);if(u){s.push(u);break}}if(s.length>=50)break}}}return function(e){if(!e.length)return[];var t=Array.from(e);return t.reverse(),t.slice(0,50).map(e=>{return y({},e,{filename:e.filename||(i=t,i[i.length-1]||{}).filename,function:e.function||re});var i})}(s)}}("web:javascript",ce,de)),this._instance=e,this.Jt=null!==(t=null==(i=this._instance.persistence)?void 0:i.get_property(Xe))&&void 0!==t?t:[]}onRemoteConfig(e){var t,i,r,s=null!==(t=null==(i=e.errorTracking)?void 0:i.suppressionRules)&&void 0!==t?t:[],n=null==(r=e.errorTracking)?void 0:r.captureExtensionExceptions;this.Jt=s,this._instance.persistence&&this._instance.persistence.register({[Xe]:this.Jt,[Je]:n})}get Yt(){var e,t=!!this._instance.get_property(Je),i=this._instance.config.error_tracking.captureExtensionExceptions;return null!==(e=null!=i?i:t)&&void 0!==e&&e}buildProperties(e,t){return this.Kt.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}sendExceptionEvent(e){var t=e.$exception_list;if(this.Xt(t)){if(this.Qt(t))return void sn.info("Skipping exception capture because a suppression rule matched");if(!this.Yt&&this.Zt(t))return void sn.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ti(t))return void sn.info("Skipping exception capture because it was thrown by the PostHog SDK")}return this._instance.capture("$exception",e,{_noTruncate:!0,_batchKey:"exceptionEvent"})}Qt(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>{var{type:i,value:r}=t;return L(i)&&i.length>0&&e.$exception_types.push(i),L(r)&&r.length>0&&e.$exception_values.push(r),e},{$exception_types:[],$exception_values:[]});return this.Jt.some(e=>{var i=e.values.map(e=>{var i,r=en[e.operator],s=C(e.value)?e.value:[e.value],n=null!==(i=t[e.key])&&void 0!==i?i:[];return s.length>0&&r(s,n)});return"OR"===e.type?i.some(Boolean):i.every(Boolean)})}Zt(e){return e.flatMap(e=>{var t,i;return null!==(t=null==(i=e.stacktrace)?void 0:i.frames)&&void 0!==t?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}ti(e){if(e.length>0){var t,i,r,s,n=null!==(t=null==(i=e[0].stacktrace)?void 0:i.frames)&&void 0!==t?t:[],a=n[n.length-1];return null!==(r=null==a||null==(s=a.filename)?void 0:s.includes("posthog.com/static"))&&void 0!==r&&r}return!1}Xt(e){return!j(e)&&C(e)}}var an=Fe("[FeatureFlags]"),on=Fe("[FeatureFlags]",{debugEnabled:!0}),ln="$active_feature_flags",cn="$override_feature_flags",un="$feature_flag_payloads",hn="$override_feature_flag_payloads",dn="$feature_flag_request_id",pn="$feature_flag_evaluated_at",vn=e=>{var t={};for(var[i,r]of Me(e||{}))r&&(t[i]=r);return t},gn=function(e){return e.FeatureFlags="feature_flags",e.Recordings="recordings",e}({});class _n{constructor(e){this.ii=!1,this.ei=!1,this.ri=!1,this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this._instance=e,this.featureFlagEventHandlers=[]}li(){var e=this._instance.config.evaluation_environments;return null!=e&&e.length?e.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||an.error("Invalid evaluation environment found:",e,"Expected non-empty string"),t}):[]}ui(){return this.li().length>0}flags(){if(this._instance.config.__preview_remote_config)this.oi=!0;else{var e=!this.hi&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.vi({disableFlags:e})}}get hasLoadedFlags(){return this.ei}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this._instance.get_property(nt),t=this._instance.get_property(cn),i=this._instance.get_property(hn);if(!i&&!t)return e||{};var r=Te({},e||{}),s=[...new Set([...Object.keys(i||{}),...Object.keys(t||{})])];for(var n of s){var a,o,l=r[n],c=null==t?void 0:t[n],u=M(c)?null!==(a=null==l?void 0:l.enabled)&&void 0!==a&&a:!!c,h=M(c)?l.variant:"string"==typeof c?c:void 0,d=null==i?void 0:i[n],p=y({},l,{enabled:u,variant:u?null!=h?h:null==l?void 0:l.variant:void 0});u!==(null==l?void 0:l.enabled)&&(p.original_enabled=null==l?void 0:l.enabled),h!==(null==l?void 0:l.variant)&&(p.original_variant=null==l?void 0:l.variant),d&&(p.metadata=y({},null==l?void 0:l.metadata,{payload:d,original_payload:null==l||null==(o=l.metadata)?void 0:o.payload})),r[n]=p}return this.ii||(an.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:i,finalDetails:r}),this.ii=!0),r}getFlagVariants(){var e=this._instance.get_property(rt),t=this._instance.get_property(cn);if(!t)return e||{};for(var i=Te({},e),r=Object.keys(t),s=0;s<r.length;s++)i[r[s]]=t[r[s]];return this.ii||(an.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:i}),this.ii=!0),i}getFlagPayloads(){var e=this._instance.get_property(un),t=this._instance.get_property(hn);if(!t)return e||{};for(var i=Te({},e||{}),r=Object.keys(t),s=0;s<r.length;s++)i[r[s]]=t[r[s]];return this.ii||(an.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:i}),this.ii=!0),i}reloadFeatureFlags(){this.si||this._instance.config.advanced_disable_feature_flags||this.hi||(this.hi=setTimeout(()=>{this.vi()},5))}di(){clearTimeout(this.hi),this.hi=void 0}ensureFlagsLoaded(){this.ei||this.ri||this.hi||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.si=e}vi(e){var t;if(this.di(),!this._instance.O())if(this.ri)this.ni=!0;else{var i={token:this._instance.config.token,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:y({},(null==(t=this._instance.persistence)?void 0:t.get_initial_props())||{},this._instance.get_property(at)||{}),group_properties:this._instance.get_property(ot)};(null!=e&&e.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(i.disable_flags=!0),this.ui()&&(i.evaluation_environments=this.li());var r=this._instance.config.__preview_remote_config,s=r?"/flags/?v=2":"/flags/?v=2&config=true",n=this._instance.config.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":"",a=this._instance.requestRouter.endpointFor("flags",s+n);r&&(i.timezone=ss()),this.ri=!0,this._instance.ci({method:"POST",url:a,data:i,compression:this._instance.config.disable_compression?void 0:ti.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:e=>{var t,r,s=!0;if(200===e.statusCode&&(this.ni||(this.$anon_distinct_id=void 0),s=!1),this.ri=!1,this.oi||(this.oi=!0,this._instance.fi(null!==(r=e.json)&&void 0!==r?r:{})),!i.disable_flags||this.ni)if(this.ai=!s,e.json&&null!=(t=e.json.quotaLimited)&&t.includes(gn.FeatureFlags))an.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more.");else{var n;i.disable_flags||this.receivedFeatureFlags(null!==(n=e.json)&&void 0!==n?n:{},s),this.ni&&(this.ni=!1,this.vi())}}})}}getFeatureFlag(e,t){if(void 0===t&&(t={}),this.ei||this.getFlags()&&this.getFlags().length>0){var i=this.getFlagVariants()[e],r=""+i,s=this._instance.get_property(dn)||void 0,n=this._instance.get_property(pn)||void 0,a=this._instance.get_property(ut)||{};if((t.send_event||!("send_event"in t))&&(!(e in a)||!a[e].includes(r))){var o,l,c,u,h,d,p,v,g;C(a[e])?a[e].push(r):a[e]=[r],null==(o=this._instance.persistence)||o.register({[ut]:a});var _=this.getFeatureFlagDetails(e),f={$feature_flag:e,$feature_flag_response:i,$feature_flag_payload:this.getFeatureFlagPayload(e)||null,$feature_flag_request_id:s,$feature_flag_evaluated_at:n,$feature_flag_bootstrapped_response:(null==(l=this._instance.config.bootstrap)||null==(l=l.featureFlags)?void 0:l[e])||null,$feature_flag_bootstrapped_payload:(null==(c=this._instance.config.bootstrap)||null==(c=c.featureFlagPayloads)?void 0:c[e])||null,$used_bootstrap_value:!this.ai};M(null==_||null==(u=_.metadata)?void 0:u.version)||(f.$feature_flag_version=_.metadata.version);var m,y=null!==(h=null==_||null==(d=_.reason)?void 0:d.description)&&void 0!==h?h:null==_||null==(p=_.reason)?void 0:p.code;y&&(f.$feature_flag_reason=y),null!=_&&null!=(v=_.metadata)&&v.id&&(f.$feature_flag_id=_.metadata.id),M(null==_?void 0:_.original_variant)&&M(null==_?void 0:_.original_enabled)||(f.$feature_flag_original_response=M(_.original_variant)?_.original_enabled:_.original_variant),null!=_&&null!=(g=_.metadata)&&g.original_payload&&(f.$feature_flag_original_payload=null==_||null==(m=_.metadata)?void 0:m.original_payload),this._instance.capture("$feature_flag_called",f)}return i}an.warn('getFeatureFlag for key "'+e+"\" failed. Feature flags didn't load in time.")}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){return this.getFlagPayloads()[e]}getRemoteConfigPayload(e,t){var i=this._instance.config.token,r={distinct_id:this._instance.get_distinct_id(),token:i};this.ui()&&(r.evaluation_environments=this.li()),this._instance.ci({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2&config=true"),data:r,compression:this._instance.config.disable_compression?void 0:ti.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:i=>{var r,s=null==(r=i.json)?void 0:r.featureFlagPayloads;t((null==s?void 0:s[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),this.ei||this.getFlags()&&this.getFlags().length>0){var i=this.getFeatureFlag(e,t);return M(i)?void 0:!!i}an.warn('isFeatureEnabled for key "'+e+"\" failed. Feature flags didn't load in time.")}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t){if(this._instance.persistence){this.ei=!0;var i=this.getFlagVariants(),r=this.getFlagPayloads(),s=this.getFlagsWithDetails();!function(e,t,i,r,s){void 0===i&&(i={}),void 0===r&&(r={}),void 0===s&&(s={});var n=(e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map(e=>{var i;return[e,null!==(i=t[e].variant)&&void 0!==i?i:t[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter(e=>t[e].enabled).filter(e=>{var i;return null==(i=t[e].metadata)?void 0:i.payload}).map(e=>{var i;return[e,null==(i=t[e].metadata)?void 0:i.payload]}))):an.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e})(e),a=n.flags,o=n.featureFlags,l=n.featureFlagPayloads;if(o){var c=e.requestId,u=e.evaluatedAt;if(C(o)){an.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var h={};if(o)for(var d=0;d<o.length;d++)h[o[d]]=!0;t&&t.register({[ln]:o,[rt]:h})}else{var p=o,v=l,g=a;e.errorsWhileComputingFlags&&(p=y({},i,p),v=y({},r,v),g=y({},s,g)),t&&t.register(y({[ln]:Object.keys(vn(p)),[rt]:p||{},[un]:v||{},[nt]:g||{}},c?{[dn]:c}:{},u?{[pn]:u}:{}))}}}(e,this._instance.persistence,i,r,s),this.pi(t)}}override(e,t){void 0===t&&(t=!1),an.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this._instance.persistence)return an.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this._instance.persistence.unregister(cn),this._instance.persistence.unregister(hn),this.pi(),on.info("All overrides cleared");if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){var t,i=e;if(this.ii=Boolean(null!==(t=i.suppressWarning)&&void 0!==t&&t),"flags"in i)if(!1===i.flags)this._instance.persistence.unregister(cn),on.info("Flag overrides cleared");else if(i.flags){if(C(i.flags)){for(var r={},s=0;s<i.flags.length;s++)r[i.flags[s]]=!0;this._instance.persistence.register({[cn]:r})}else this._instance.persistence.register({[cn]:i.flags});on.info("Flag overrides set",{flags:i.flags})}return"payloads"in i&&(!1===i.payloads?(this._instance.persistence.unregister(hn),on.info("Payload overrides cleared")):i.payloads&&(this._instance.persistence.register({[hn]:i.payloads}),on.info("Payload overrides set",{payloads:i.payloads}))),void this.pi()}this.pi()}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.ei){var{flags:t,flagVariants:i}=this.gi();e(t,i)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,i){var r,s=(this._instance.get_property(st)||[]).find(t=>t.flagKey===e),n={["$feature_enrollment/"+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:n};s&&(a.$early_access_feature_name=s.name),i&&(a.$feature_enrollment_stage=i),this._instance.capture("$feature_enrollment_update",a),this.setPersonPropertiesForFlags(n,!1);var o=y({},this.getFlagVariants(),{[e]:t});null==(r=this._instance.persistence)||r.register({[ln]:Object.keys(vn(o)),[rt]:o}),this.pi()}getEarlyAccessFeatures(e,t,i){void 0===t&&(t=!1);var r=this._instance.get_property(st),s=i?"&"+i.map(e=>"stage="+e).join("&"):"";if(r&&!t)return e(r);this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+s),method:"GET",callback:t=>{var i,r;if(t.json){var s=t.json.earlyAccessFeatures;return null==(i=this._instance.persistence)||i.unregister(st),null==(r=this._instance.persistence)||r.register({[st]:s}),e(s)}}})}gi(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,i)=>(e[i]=t[i],e),{})}}pi(e){var{flags:t,flagVariants:i}=this.gi();this.featureFlagEventHandlers.forEach(r=>r(t,i,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var i=this._instance.get_property(at)||{};this._instance.register({[at]:y({},i,e)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(at)}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var i=this._instance.get_property(ot)||{};0!==Object.keys(i).length&&Object.keys(i).forEach(t=>{i[t]=y({},i[t],e[t]),delete e[t]}),this._instance.register({[ot]:y({},i,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this._instance.get_property(ot)||{};this._instance.register({[ot]:y({},t,{[e]:{}})})}else this._instance.unregister(ot)}reset(){this.ei=!1,this.ri=!1,this.si=!1,this.ni=!1,this.oi=!1,this.ai=!1,this.$anon_distinct_id=void 0,this.di(),this.ii=!1}}var fn=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class mn{constructor(e,t){this.F=e,this.props={},this.mi=!1,this.yi=(e=>{var t="";return e.token&&(t=e.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),e.persistence_name?"ph_"+e.persistence_name:"ph_"+t+"_posthog"})(e),this.Y=this.bi(e),this.load(),e.debug&&Pe.info("Persistence loaded",e.persistence,y({},this.props)),this.update_config(e,e,t),this.save()}isDisabled(){return!!this.wi}bi(e){-1===fn.indexOf(e.persistence.toLowerCase())&&(Pe.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t=e.persistence.toLowerCase();return"localstorage"===t&&xi.H()?xi:"localstorage+cookie"===t&&Si.H()?Si:"sessionstorage"===t&&Ii.H()?Ii:"memory"===t?Fi:"cookie"===t?wi:Si.H()?Si:wi}properties(){var e={};return Re(this.props,function(t,i){if(i===rt&&T(t))for(var r=Object.keys(t),s=0;s<r.length;s++)e["$feature/"+r[s]]=t[r[s]];else a=i,l=!1,(N(n=bt)?l:o&&n.indexOf===o?-1!=n.indexOf(a):(Re(n,function(e){if(l||(l=e===a))return Oe}),l))||(e[i]=t);var n,a,l}),e}load(){if(!this.wi){var e=this.Y.W(this.yi);e&&(this.props=Te({},e))}}save(){this.wi||this.Y.G(this.yi,this.props,this.xi,this.Si,this.Ei,this.F.debug)}remove(){this.Y.V(this.yi,!1),this.Y.V(this.yi,!0)}clear(){this.remove(),this.props={}}register_once(e,t,i){if(T(e)){M(t)&&(t="None"),this.xi=M(i)?this.$i:i;var r=!1;if(Re(e,(e,i)=>{this.props.hasOwnProperty(i)&&this.props[i]!==t||(this.props[i]=e,r=!0)}),r)return this.save(),!0}return!1}register(e,t){if(T(e)){this.xi=M(t)?this.$i:t;var i=!1;if(Re(e,(t,r)=>{e.hasOwnProperty(r)&&this.props[r]!==t&&(this.props[r]=t,i=!0)}),i)return this.save(),!0}return!1}unregister(e){e in this.props&&(delete this.props[e],this.save())}update_campaign_params(){if(!this.mi){var e=Kr(this.F.custom_campaign_params,this.F.mask_personal_data_properties,this.F.custom_personal_data_properties);A(Ne(e))||this.register(e),this.mi=!0}}update_search_keyword(){var e;this.register((e=null==c?void 0:c.referrer)?Qr(e):{})}update_referrer_info(){var e;this.register_once({$referrer:ts(),$referring_domain:null!=c&&c.referrer&&(null==(e=ri(c.referrer))?void 0:e.host)||"$direct"},void 0)}set_initial_person_info(){this.props[vt]||this.props[gt]||this.register_once({[_t]:is(this.F.mask_personal_data_properties,this.F.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};Re([gt,vt],t=>{var i=this.props[t];i&&Re(i,function(t,i){e["$initial_"+P(i)]=t})});var t,i,r=this.props[_t];if(r){var s=(t=rs(r),i={},Re(t,function(e,t){i["$initial_"+P(t)]=e}),i);Te(e,s)}return e}safe_merge(e){return Re(this.props,function(t,i){i in e||(e[i]=t)}),e}update_config(e,t,i){if(this.$i=this.xi=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!i),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==t.persistence){var r=this.bi(e),s=this.props;this.clear(),this.Y=r,this.props=s,this.save()}}set_disabled(e){this.wi=e,this.wi?this.remove():this.save()}set_cross_subdomain(e){e!==this.Si&&(this.Si=e,this.remove(),this.save())}set_secure(e){e!==this.Ei&&(this.Ei=e,this.remove(),this.save())}set_event_timer(e,t){var i=this.props[Ge]||{};i[e]=t,this.props[Ge]=i,this.save()}remove_event_timer(e){var t=(this.props[Ge]||{})[e];return M(t)||(delete this.props[Ge][e],this.save()),t}get_property(e){return this.props[e]}set_property(e,t){this.props[e]=t,this.save()}}var yn=function(e){return e.Activation="events",e.Cancellation="cancelEvents",e}({}),bn=function(e){return e.Button="button",e.Tab="tab",e.Selector="selector",e}({}),wn=function(e){return e.TopLeft="top_left",e.TopRight="top_right",e.TopCenter="top_center",e.MiddleLeft="middle_left",e.MiddleRight="middle_right",e.MiddleCenter="middle_center",e.Left="left",e.Center="center",e.Right="right",e.NextToTrigger="next_to_trigger",e}({}),En=function(e){return e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom",e}({}),xn=function(e){return e.Popover="popover",e.API="api",e.Widget="widget",e.ExternalSurvey="external_survey",e}({}),kn=function(e){return e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link",e}({}),Sn=function(e){return e.NextQuestion="next_question",e.End="end",e.ResponseBased="response_based",e.SpecificQuestion="specific_question",e}({}),Pn=function(e){return e.Once="once",e.Recurring="recurring",e.Always="always",e}({}),Fn=function(e){return e.SHOWN="survey shown",e.DISMISSED="survey dismissed",e.SENT="survey sent",e}({}),$n=function(e){return e.SURVEY_ID="$survey_id",e.SURVEY_NAME="$survey_name",e.SURVEY_RESPONSE="$survey_response",e.SURVEY_ITERATION="$survey_iteration",e.SURVEY_ITERATION_START_DATE="$survey_iteration_start_date",e.SURVEY_PARTIALLY_COMPLETED="$survey_partially_completed",e.SURVEY_SUBMISSION_ID="$survey_submission_id",e.SURVEY_QUESTIONS="$survey_questions",e.SURVEY_COMPLETED="$survey_completed",e}({}),In=function(e){return e.Popover="popover",e.Inline="inline",e}({});class On{constructor(){this.ki={},this.ki={}}on(e,t){return this.ki[e]||(this.ki[e]=[]),this.ki[e].push(t),()=>{this.ki[e]=this.ki[e].filter(e=>e!==t)}}emit(e,t){for(var i of this.ki[e]||[])i(t);for(var r of this.ki["*"]||[])r(e,t)}}function Cn(e,t,i){if(j(e))return!1;switch(i){case"exact":return e===t;case"contains":var r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(r,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch(e){return!1}default:return!1}}class Rn{constructor(e){this.Pi=new On,this.Ti=(e,t)=>this.Ri(e,t)&&this.Ii(e,t)&&this.Fi(e,t)&&this.Ci(e,t),this.Ri=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.Mi=new Set,this.Oi=new Set}init(){var e,t;M(null==(e=this._instance)?void 0:e.Ai)||null==(t=this._instance)||t.Ai((e,t)=>{this.on(e,t)})}register(e){var t,i;if(!M(null==(t=this._instance)?void 0:t.Ai)&&(e.forEach(e=>{var t,i;null==(t=this.Oi)||t.add(e),null==(i=e.steps)||i.forEach(e=>{var t;null==(t=this.Mi)||t.add((null==e?void 0:e.event)||"")})}),null!=(i=this._instance)&&i.autocapture)){var r,s=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&s.add(null==e?void 0:e.selector)})}),null==(r=this._instance)||r.autocapture.setElementSelectors(s)}}on(e,t){var i;null!=t&&0!=e.length&&(this.Mi.has(e)||this.Mi.has(null==t?void 0:t.event))&&this.Oi&&(null==(i=this.Oi)?void 0:i.size)>0&&this.Oi.forEach(e=>{this.Di(t,e)&&this.Pi.emit("actionCaptured",e.name)})}ji(e){this.onAction("actionCaptured",t=>e(t))}Di(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var i of t.steps)if(this.Ti(e,i))return!0;return!1}onAction(e,t){return this.Pi.on(e,t)}Ii(e,t){if(null!=t&&t.url){var i,r=null==e||null==(i=e.properties)?void 0:i.$current_url;if(!r||"string"!=typeof r)return!1;if(!Cn(r,t.url,t.url_matching||"contains"))return!1}return!0}Fi(e,t){return!!this.Li(e,t)&&!!this.Ni(e,t)&&!!this.Ui(e,t)}Li(e,t){var i;if(null==t||!t.href)return!0;var r=this.zi(e);if(r.length>0)return r.some(e=>Cn(e.href,t.href,t.href_matching||"exact"));var s,n=(null==e||null==(i=e.properties)?void 0:i.$elements_chain)||"";return!!n&&Cn((s=n.match(/(?::|")href="(.*?)"/))?s[1]:"",t.href,t.href_matching||"exact")}Ni(e,t){var i;if(null==t||!t.text)return!0;var r=this.zi(e);if(r.length>0)return r.some(e=>Cn(e.text,t.text,t.text_matching||"exact")||Cn(e.$el_text,t.text,t.text_matching||"exact"));var s,n,a,o=(null==e||null==(i=e.properties)?void 0:i.$elements_chain)||"";return!!o&&(s=function(e){for(var t,i=[],r=/(?::|")text="(.*?)"/g;!j(t=r.exec(e));)i.includes(t[1])||i.push(t[1]);return i}(o),n=t.text,a=t.text_matching||"exact",s.some(e=>Cn(e,n,a)))}Ui(e,t){var i,r;if(null==t||!t.selector)return!0;var s=null==e||null==(i=e.properties)?void 0:i.$element_selectors;if(null!=s&&s.includes(t.selector))return!0;var n=(null==e||null==(r=e.properties)?void 0:r.$elements_chain)||"";if(t.selector_regex&&n)try{return new RegExp(t.selector_regex).test(n)}catch(e){return!1}return!1}zi(e){var t;return null==(null==e||null==(t=e.properties)?void 0:t.$elements)?[]:null==e?void 0:e.properties.$elements}Ci(e,t){return null==t||!t.properties||0===t.properties.length||rn(t.properties.reduce((e,t)=>{var i=C(t.value)?t.value.map(String):null!=t.value?[String(t.value)]:[];return e[t.key]={values:i,operator:t.operator||"exact"},e},{}),null==e?void 0:e.properties)}}var Tn=Fe("[Surveys]"),An="seenSurvey_",Mn=(e,t)=>{var i="$survey_"+t+"/"+e.id;return e.current_iteration&&e.current_iteration>0&&(i="$survey_"+t+"/"+e.id+"/"+e.current_iteration),i},Ln=e=>{var t=""+An+e.id;return e.current_iteration&&e.current_iteration>0&&(t=""+An+e.id+"_"+e.current_iteration),t},Dn=[xn.Popover,xn.Widget,xn.API],Nn={ignoreConditions:!1,ignoreDelay:!1,displayType:In.Popover};class jn{constructor(e){this._instance=e,this.Hi=new Map,this.Bi=new Map,this.qi=new Map}Wi(e,t){return!!e&&rn(e.propertyFilters,null==t?void 0:t.properties)}Gi(e,t){var i=new Map;return e.forEach(e=>{var r;null==(r=e.conditions)||null==(r=r[t])||null==(r=r.values)||r.forEach(t=>{if(null!=t&&t.name){var r=i.get(t.name)||[];r.push(e.id),i.set(t.name,r)}})}),i}Vi(e,t,i){var r,s=(i===yn.Activation?this.Hi:this.Bi).get(e),n=[];return null==(r=this._instance)||r.getSurveys(e=>{n=e.filter(e=>null==s?void 0:s.includes(e.id))}),n.filter(r=>{var s,n=null==(s=r.conditions)||null==(s=s[i])||null==(s=s.values)?void 0:s.find(t=>t.name===e);return this.Wi(n,t)})}register(e){var t;M(null==(t=this._instance)?void 0:t.Ai)||(this.Ji(e),this.Ki(e))}Ki(e){var t=e.filter(e=>{var t,i;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(i=e.conditions)||null==(i=i.actions)||null==(i=i.values)?void 0:i.length)>0});0!==t.length&&(null==this.Yi&&(this.Yi=new Rn(this._instance),this.Yi.init(),this.Yi.ji(e=>{this.onAction(e)})),t.forEach(e=>{var t,i,r,s,n;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(i=e.conditions)&&null!=(i=i.actions)&&i.values&&(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)?void 0:r.length)>0&&(null==(s=this.Yi)||s.register(e.conditions.actions.values),null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)||n.forEach(t=>{if(t&&t.name){var i=this.qi.get(t.name);i&&i.push(e.id),this.qi.set(t.name,i||[e.id])}}))}))}Ji(e){var t,i=e.filter(e=>{var t,i;return(null==(t=e.conditions)?void 0:t.events)&&(null==(i=e.conditions)||null==(i=i.events)||null==(i=i.values)?void 0:i.length)>0}),r=e.filter(e=>{var t,i;return(null==(t=e.conditions)?void 0:t.cancelEvents)&&(null==(i=e.conditions)||null==(i=i.cancelEvents)||null==(i=i.values)?void 0:i.length)>0});0===i.length&&0===r.length||(null==(t=this._instance)||t.Ai((e,t)=>{this.onEvent(e,t)}),this.Hi=this.Gi(e,yn.Activation),this.Bi=this.Gi(e,yn.Cancellation))}onEvent(e,t){var i,r=(null==(i=this._instance)||null==(i=i.persistence)?void 0:i.props[ct])||[];if(Fn.SHOWN===e&&t&&r.length>0){var s;Tn.info("survey event matched, removing survey from activated surveys",{event:e,eventPayload:t,existingActivatedSurveys:r});var n=null==t||null==(s=t.properties)?void 0:s.$survey_id;if(n){var a=r.indexOf(n);a>=0&&(r.splice(a,1),this.Xi(r))}}else{if(this.Bi.has(e)){var o=this.Vi(e,t,yn.Cancellation);o.length>0&&(Tn.info("cancel event matched, cancelling surveys",{event:e,surveysToCancel:o.map(e=>e.id)}),o.forEach(e=>{var t,i=r.indexOf(e.id);i>=0&&r.splice(i,1),null==(t=this._instance)||t.cancelPendingSurvey(e.id)}),this.Xi(r))}if(this.Hi.has(e)){Tn.info("survey event name matched",{event:e,eventPayload:t,surveys:this.Hi.get(e)});var l=this.Vi(e,t,yn.Activation);this.Xi(r.concat(l.map(e=>e.id)||[]))}}}onAction(e){var t,i=(null==(t=this._instance)||null==(t=t.persistence)?void 0:t.props[ct])||[];this.qi.has(e)&&this.Xi(i.concat(this.qi.get(e)||[]))}Xi(e){var t;Tn.info("updating activated surveys",{activatedSurveys:e}),null==(t=this._instance)||null==(t=t.persistence)||t.register({[ct]:[...new Set(e)]})}getSurveys(){var e;return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[ct])||[]}getEventToSurveys(){return this.Hi}Qi(){return this.Yi}}class Hn{constructor(e){this.Zi=void 0,this._surveyManager=null,this.te=!1,this.ie=!1,this.ee=[],this._instance=e,this._surveyEventReceiver=null}onRemoteConfig(e){if(!this._instance.config.disable_surveys){var t=e.surveys;if(j(t))return Tn.warn("Flags not loaded yet. Not loading surveys.");var i=C(t);this.Zi=i?t.length>0:t,Tn.info("flags response received, isSurveysEnabled: "+this.Zi),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var i=localStorage.key(t);(null!=i&&i.startsWith(An)||null!=i&&i.startsWith("inProgressSurvey_"))&&e.push(i)}e.forEach(e=>localStorage.removeItem(e))}loadIfEnabled(){if(!this._surveyManager)if(this.ie)Tn.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)Tn.info("Disabled. Not loading surveys.");else if(this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())Tn.info("Not loading surveys in cookieless mode without consent.");else{var e=null==g?void 0:g.__PosthogExtensions__;if(e){if(!M(this.Zi)||this._instance.config.advanced_enable_surveys){var t=this.Zi||this._instance.config.advanced_enable_surveys;this.ie=!0;try{var i=e.generateSurveys;if(i)return void this.re(i,t);var r=e.loadExternalDependency;if(!r)return void this.se("PostHog loadExternalDependency extension not found.");r(this._instance,"surveys",i=>{i||!e.generateSurveys?this.se("Could not load surveys script",i):this.re(e.generateSurveys,t)})}catch(e){throw this.se("Error initializing surveys",e),e}finally{this.ie=!1}}}else Tn.error("PostHog Extensions not found.")}}re(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new jn(this._instance),Tn.info("Surveys loaded successfully"),this.ne({isLoaded:!0})}se(e,t){Tn.error(e,t),this.ne({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.ee.push(e),this._surveyManager&&this.ne({isLoaded:!0}),()=>{this.ee=this.ee.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this._instance.config.disable_surveys)return Tn.info("Disabled. Not loading surveys."),e([]);var i=this._instance.get_property(lt);if(i&&!t)return e(i,{isLoaded:!0});if(this.te)return e([],{isLoaded:!1,error:"Surveys are already being loaded"});try{this.te=!0,this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:t=>{var i;this.te=!1;var r=t.statusCode;if(200!==r||!t.json){var s="Surveys API could not be loaded, status: "+r;return Tn.error(s),e([],{isLoaded:!1,error:s})}var n,a=t.json.surveys||[],o=a.filter(e=>function(e){return!(!e.start_date||e.end_date)}(e)&&(function(e){var t;return!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)}(e)||function(e){var t;return!(null==(t=e.conditions)||null==(t=t.actions)||null==(t=t.values)||!t.length)}(e)));return o.length>0&&(null==(n=this._surveyEventReceiver)||n.register(o)),null==(i=this._instance.persistence)||i.register({[lt]:a}),e(a,{isLoaded:!0})}})}catch(e){throw this.te=!1,e}}ne(e){for(var t of this.ee)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(e){Tn.error("Error in survey callback",e)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!j(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Tn.warn("init was not called")}oe(e){var t=null;return this.getSurveys(i=>{var r;t=null!==(r=i.find(t=>t.id===e))&&void 0!==r?r:null}),t}ae(e){if(j(this._surveyManager))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var t="string"==typeof e?this.oe(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(j(this._surveyManager))return Tn.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var t=this.ae(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return j(this._surveyManager)?(Tn.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise(i=>{this.getSurveys(t=>{var r,s=null!==(r=t.find(t=>t.id===e))&&void 0!==r?r:null;if(s){var n=this.ae(s);i({visible:n.eligible,disabledReason:n.reason})}else i({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t){var i;if(j(this._surveyManager))Tn.warn("init was not called");else{var r="string"==typeof e?this.oe(e):e;if(null!=r&&r.id)if(Dn.includes(r.type)){var s=null==c?void 0:c.querySelector(t);if(s)return null!=(i=r.appearance)&&i.surveyPopupDelaySeconds?(Tn.info("Rendering survey "+r.id+" with delay of "+r.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;Tn.info("Rendering survey "+r.id+" with delay of "+(null==(e=r.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(r,s),Tn.info("Survey "+r.id+" rendered")},1e3*r.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(r,s);Tn.warn("Survey element not found")}else Tn.warn("Surveys of type "+r.type+" cannot be rendered in the app");else Tn.warn("Survey not found")}}displaySurvey(e,t){var i;if(j(this._surveyManager))Tn.warn("init was not called");else{var r=this.oe(e);if(r){var s=r;if(null!=(i=r.appearance)&&i.surveyPopupDelaySeconds&&t.ignoreDelay&&(s=y({},r,{appearance:y({},r.appearance,{surveyPopupDelaySeconds:0})})),!1===t.ignoreConditions){var n=this.canRenderSurvey(r);if(!n.visible)return void Tn.warn("Survey is not eligible to be displayed: ",n.disabledReason)}t.displayType!==In.Inline?this._surveyManager.handlePopoverSurvey(s):this.renderSurvey(s,t.selector)}else Tn.warn("Survey not found")}}cancelPendingSurvey(e){j(this._surveyManager)?Tn.warn("init was not called"):this._surveyManager.cancelSurvey(e)}}var qn=Fe("[RateLimiter]");class Un{constructor(e){var t,i;this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{qn.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(e){return void qn.warn('could not rate limit - continuing. Error: "'+(null==e?void 0:e.message)+'"',{text:t})}},this.instance=e,this.captureEventsPerSecond=(null==(t=e.config.rate_limiting)?void 0:t.events_per_second)||10,this.captureEventsBurstLimit=Math.max((null==(i=e.config.rate_limiting)?void 0:i.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(e){var t,i,r;void 0===e&&(e=!1);var s=(new Date).getTime(),n=null!==(t=null==(i=this.instance.persistence)?void 0:i.get_property(pt))&&void 0!==t?t:{tokens:this.captureEventsBurstLimit,last:s};n.tokens+=(s-n.last)/1e3*this.captureEventsPerSecond,n.last=s,n.tokens>this.captureEventsBurstLimit&&(n.tokens=this.captureEventsBurstLimit);var a=n.tokens<1;return a||e||(n.tokens=Math.max(0,n.tokens-1)),!a||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+this.captureEventsPerSecond+" events per second and "+this.captureEventsBurstLimit+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=a,null==(r=this.instance.persistence)||r.set_property(pt,n),{isRateLimited:a,remainingTokens:n.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var Bn=Fe("[RemoteConfig]");class Vn{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=g._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}le(e){var t,i;null!=(t=g.__PosthogExtensions__)&&t.loadExternalDependency?null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):(Bn.error("PostHog Extensions not found. Cannot load remote config."),e())}ue(e){this._instance.ci({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:t=>{e(t.json)}})}load(){try{if(this.remoteConfig)return Bn.info("Using preloaded remote config",this.remoteConfig),void this.fi(this.remoteConfig);if(this._instance.O())return void Bn.warn("Remote config is disabled. Falling back to local config.");this.le(e=>{if(!e)return Bn.info("No config found after loading remote JS config. Falling back to JSON."),void this.ue(e=>{this.fi(e)});this.fi(e)})}catch(e){Bn.error("Error loading remote config",e)}}fi(e){e?this._instance.config.__preview_remote_config?(this._instance.fi(e),!1!==e.hasFeatureFlags&&this._instance.featureFlags.ensureFlagsLoaded()):Bn.info("__preview_remote_config is disabled. Logging config instead",e):Bn.error("Failed to fetch remote config from PostHog.")}}var Gn=3e3;class Wn{constructor(e,t){this.he=!0,this.ve=[],this.de=X((null==t?void 0:t.flush_interval_ms)||Gn,250,5e3,Pe.createLogger("flush interval"),Gn),this.ce=e}enqueue(e){this.ve.push(e),this.fe||this.pe()}unload(){this.ge();var e=this.ve.length>0?this._e():{},t=Object.values(e);[...t.filter(e=>0===e.url.indexOf("/e")),...t.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.ce(y({},e,{transport:"sendBeacon"}))})}enable(){this.he=!1,this.pe()}pe(){var e=this;this.he||(this.fe=setTimeout(()=>{if(this.ge(),this.ve.length>0){var t=this._e(),i=function(){var i=t[r],s=(new Date).getTime();i.data&&C(i.data)&&Re(i.data,e=>{e.offset=Math.abs(e.timestamp-s),delete e.timestamp}),e.ce(i)};for(var r in t)i()}},this.de))}ge(){clearTimeout(this.fe),this.fe=void 0}_e(){var e={};return Re(this.ve,t=>{var i,r=t,s=(r?r.batchKey:null)||r.url;M(e[s])&&(e[s]=y({},r,{data:[]})),null==(i=e[s].data)||i.push(r.data)}),this.ve=[],e}}var zn=["retriesPerformedSoFar"];class Yn{constructor(e){this.me=!1,this.ye=3e3,this.ve=[],this._instance=e,this.ve=[],this.be=!0,!M(r)&&"onLine"in r.navigator&&(this.be=r.navigator.onLine,this.we=()=>{this.be=!0,this.Dt()},this.xe=()=>{this.be=!1},Ue(r,"online",this.we),Ue(r,"offline",this.xe))}get length(){return this.ve.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,i=b(e,zn);H(t)&&t>0&&(i.url=Ys(i.url,{retry_count:t})),this._instance.ci(y({},i,{callback:e=>{200!==e.statusCode&&(e.statusCode<400||e.statusCode>=500)&&(null!=t?t:0)<10?this.Se(y({retriesPerformedSoFar:t},i)):null==i.callback||i.callback(e)}}))}Se(e){var t=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=t+1;var i=function(e){var t=3e3*Math.pow(2,e),i=t/2,r=Math.min(18e5,t),s=(Math.random()-.5)*(r-i);return Math.ceil(r+s)}(t),r=Date.now()+i;this.ve.push({retryAt:r,requestOptions:e});var s="Enqueued failed request for retry in "+i;navigator.onLine||(s+=" (Browser is offline)"),Pe.warn(s),this.me||(this.me=!0,this.Ee())}Ee(){if(this.$e&&clearTimeout(this.$e),0===this.ve.length)return this.me=!1,void(this.$e=void 0);this.$e=setTimeout(()=>{this.be&&this.ve.length>0&&this.Dt(),this.Ee()},this.ye)}Dt(){var e=Date.now(),t=[],i=this.ve.filter(i=>i.retryAt<e||(t.push(i),!1));if(this.ve=t,i.length>0)for(var{requestOptions:r}of i)this.retriableRequest(r)}unload(){for(var{requestOptions:e}of(this.$e&&(clearTimeout(this.$e),this.$e=void 0),this.me=!1,M(r)||(this.we&&(r.removeEventListener("online",this.we),this.we=void 0),this.xe&&(r.removeEventListener("offline",this.xe),this.xe=void 0)),this.ve))try{this._instance.ci(y({},e,{transport:"sendBeacon"}))}catch(e){Pe.error(e)}this.ve=[]}}class Xn{constructor(e){this.ke=()=>{var e,t,i,r;this.Pe||(this.Pe={});var s=this.scrollElement(),n=this.scrollY(),a=s?Math.max(0,s.scrollHeight-s.clientHeight):0,o=n+((null==s?void 0:s.clientHeight)||0),l=(null==s?void 0:s.scrollHeight)||0;this.Pe.lastScrollY=Math.ceil(n),this.Pe.maxScrollY=Math.max(n,null!==(e=this.Pe.maxScrollY)&&void 0!==e?e:0),this.Pe.maxScrollHeight=Math.max(a,null!==(t=this.Pe.maxScrollHeight)&&void 0!==t?t:0),this.Pe.lastContentY=o,this.Pe.maxContentY=Math.max(o,null!==(i=this.Pe.maxContentY)&&void 0!==i?i:0),this.Pe.maxContentHeight=Math.max(l,null!==(r=this.Pe.maxContentHeight)&&void 0!==r?r:0)},this._instance=e}getContext(){return this.Pe}resetContext(){var e=this.Pe;return setTimeout(this.ke,0),e}startMeasuringScrollPosition(){Ue(r,"scroll",this.ke,{capture:!0}),Ue(r,"scrollend",this.ke,{capture:!0}),Ue(r,"resize",this.ke)}scrollElement(){if(!this._instance.config.scroll_root_selector)return null==r?void 0:r.document.documentElement;var e=C(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector];for(var t of e){var i=null==r?void 0:r.document.querySelector(t);if(i)return i}}scrollY(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollTop||0}return r&&(r.scrollY||r.pageYOffset||r.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var e=this.scrollElement();return e&&e.scrollLeft||0}return r&&(r.scrollX||r.pageXOffset||r.document.documentElement.scrollLeft)||0}}var Jn=e=>is(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties);class Kn{constructor(e,t,i,r){this.Te=e=>{var t=this.Re();if(!t||t.sessionId!==e){var i={sessionId:e,props:this.Ie(this._instance)};this.Fe.register({[dt]:i})}},this._instance=e,this.Ce=t,this.Fe=i,this.Ie=r||Jn,this.Ce.onSessionId(this.Te)}Re(){return this.Fe.props[dt]}getSetOnceProps(){var e,t=null==(e=this.Re())?void 0:e.props;return t?"r"in t?rs(t):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return Re(Ne(this.getSetOnceProps()),(t,i)=>{"$current_url"===i&&(i="url"),e["$session_entry_"+P(i)]=t}),e}}var Zn=Fe("[SessionId]");class Qn{on(e,t){return this.Me.on(e,t)}constructor(e,t,i){var r;if(this.Oe=[],this.Ae=void 0,this.Me=new On,this.De=(e,t)=>Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if("always"===e.config.cookieless_mode)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.F=e.config,this.Fe=e.persistence,this.je=void 0,this.Le=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Ne=t||fi,this.Ue=i||fi;var s=this.F.persistence_name||this.F.token,n=this.F.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*X(n,60,36e3,Zn.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.ze(),this.He="ph_"+s+"_window_id",this.Be="ph_"+s+"_primary_window_exists",this.qe()){var a=Ii.W(this.He),o=Ii.W(this.Be);a&&!o?this.je=a:Ii.V(this.He),Ii.G(this.Be,!0)}if(null!=(r=this.F.bootstrap)&&r.sessionID)try{var l=(()=>{var e=this.F.bootstrap.sessionID.replace(/-/g,"");if(32!==e.length)throw new Error("Not a valid UUID");if("7"!==e[12])throw new Error("Not a UUIDv7");return parseInt(e.substring(0,12),16)})();this.We(this.F.bootstrap.sessionID,(new Date).getTime(),l)}catch(e){Zn.error("Invalid sessionID in bootstrap",e)}this.Ge()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return M(this.Oe)&&(this.Oe=[]),this.Oe.push(e),this.Le&&e(this.Le,this.je),()=>{this.Oe=this.Oe.filter(t=>t!==e)}}qe(){return"memory"!==this.F.persistence&&!this.Fe.wi&&Ii.H()}Ve(e){e!==this.je&&(this.je=e,this.qe()&&Ii.G(this.He,e))}Je(){return this.je?this.je:this.qe()?Ii.W(this.He):null}We(e,t,i){e===this.Le&&t===this._sessionActivityTimestamp&&i===this._sessionStartTimestamp||(this._sessionStartTimestamp=i,this._sessionActivityTimestamp=t,this.Le=e,this.Fe.register({[tt]:[t,e,i]}))}Ke(){var e=this.Fe.props[tt];return C(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.We(null,null,null)}destroy(){clearTimeout(this.Ye),this.Ye=void 0,this.Ae&&r&&(r.removeEventListener("beforeunload",this.Ae,{capture:!1}),this.Ae=void 0),this.Oe=[]}Ge(){this.Ae=()=>{this.qe()&&Ii.V(this.Be)},Ue(r,"beforeunload",this.Ae,{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),"always"===this.F.cookieless_mode)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var i=t||(new Date).getTime(),[r,s,n]=this.Ke(),a=this.Je(),o=H(n)&&n>0&&Math.abs(i-n)>864e5,l=!1,c=!s,u=!c&&!e&&this.De(i,r);c||u||o?(s=this.Ne(),a=this.Ue(),Zn.info("new session ID generated",{sessionId:s,windowId:a,changeReason:{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}}),n=i,l=!0):a||(a=this.Ue(),l=!0);var h=0===r||!e||o?i:r,d=0===n?(new Date).getTime():n;return this.Ve(a),this.We(s,h,d),e||this.ze(),l&&this.Oe.forEach(e=>e(s,a,l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}:void 0)),{sessionId:s,windowId:a,sessionStartTimestamp:d,changeReason:l?{noSessionId:c,activityTimeout:u,sessionPastMaximumLength:o}:void 0,lastActivityTimestamp:r}}ze(){clearTimeout(this.Ye),this.Ye=setTimeout(()=>{var[e]=this.Ke();if(this.De((new Date).getTime(),e)){var t=this.Le;this.resetSessionId(),this.Me.emit("forcedIdleReset",{idleSessionId:t})}},1.1*this.sessionTimeoutMs)}}var ea=["$set_once","$set"],ta=Fe("[SiteApps]");class ia{constructor(e){this._instance=e,this.Xe=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Qe(e,t){if(t){var i=this.globalsForEvent(t);this.Xe.push(i),this.Xe.length>1e3&&(this.Xe=this.Xe.slice(10))}}get siteAppLoaders(){var e;return null==(e=g._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}init(){if(this.isEnabled){var e=this._instance.Ai(this.Qe.bind(this));this.Ze=()=>{e(),this.Xe=[],this.Ze=void 0}}}globalsForEvent(e){var t,i,r,s,n,a,o;if(!e)throw new Error("Event payload is required");var l={},c=this._instance.get_property("$groups")||[],u=this._instance.get_property("$stored_group_properties")||{};for(var[h,d]of Object.entries(u))l[h]={id:c[h],type:h,properties:d};var{$set_once:p,$set:v}=e;return{event:y({},b(e,ea),{properties:y({},e.properties,v?{$set:y({},null!==(t=null==(i=e.properties)?void 0:i.$set)&&void 0!==t?t:{},v)}:{},p?{$set_once:y({},null!==(r=null==(s=e.properties)?void 0:s.$set_once)&&void 0!==r?r:{},p)}:{}),elements_chain:null!==(n=null==(a=e.properties)?void 0:a.$elements_chain)&&void 0!==n?n:"",distinct_id:null==(o=e.properties)?void 0:o.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],i=()=>{var i;!t.errored&&this.Xe.length&&(ta.info("Processing "+this.Xe.length+" events for site app with id "+e.id),this.Xe.forEach(e=>null==t.processEvent?void 0:t.processEvent(e)),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(i=this.Ze)||i.call(this))},r=!1,s=s=>{t.errored=!s,t.loaded=!0,ta.info("Site app with id "+e.id+" "+(s?"loaded":"errored")),r&&i()};try{var{processEvent:n}=e.init({posthog:this._instance,callback:e=>{s(e)}});n&&(t.processEvent=n),r=!0}catch(t){ta.error("Error while initializing PostHog app with config id "+e.id,t),s(!1)}if(r&&t.loaded)try{i()}catch(i){ta.error("Error while processing buffered events PostHog app with config id "+e.id,i),t.errored=!0}}tr(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var i of e)this.setupSiteApp(i)}ir(e){if(0!==Object.keys(this.apps).length){var t=this.globalsForEvent(e);for(var i of Object.values(this.apps))try{null==i.processEvent||i.processEvent(t)}catch(t){ta.error("Error while processing event "+e.event+" for site app "+i.id,t)}}}onRemoteConfig(e){var t,i,r,s=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.tr(),void this._instance.on("eventCaptured",e=>this.ir(e))):void ta.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(i=this.Ze)||i.call(this),null!=(r=e.siteApps)&&r.length)if(this.isEnabled){var n=function(e){var t;g["__$$ph_site_app_"+e]=s._instance,null==(t=g.__PosthogExtensions__)||null==t.loadSiteApp||t.loadSiteApp(s._instance,o,t=>{if(t)return ta.error("Error while initializing PostHog app with config id "+e,t)})};for(var{id:a,url:o}of e.siteApps)n(a)}else ta.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}var ra=function(e,t){if(!e)return!1;var i=e.userAgent;if(i&&E(i,t))return!0;try{var r=null==e?void 0:e.userAgentData;if(null!=r&&r.brands&&r.brands.some(e=>E(null==e?void 0:e.brand,t)))return!0}catch(e){}return!!e.webdriver},sa=function(e){return e.US="us",e.EU="eu",e.CUSTOM="custom",e}({}),na="i.posthog.com";class aa{constructor(e){this.er={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+na,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.er[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.er[this.apiHost]=sa.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.er[this.apiHost]=sa.EU:this.er[this.apiHost]=sa.CUSTOM),this.er[this.apiHost]}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if("flags"===e)return this.flagsApiHost+t;if(this.region===sa.CUSTOM)return this.apiHost+t;var i=na+t;switch(e){case"assets":return"https://"+this.region+"-assets."+i;case"api":return"https://"+this.region+"."+i}}}var oa={icontains:(e,t)=>!!r&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!r&&-1===t.href.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>!!r&&Zs(t.href,e),not_regex:(e,t)=>!!r&&!Zs(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class la{constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{la.rr("retrieved web experiments from the server"),t.sr=new Map,e.forEach(e=>{if(e.feature_flag_key){var i;t.sr&&(la.rr("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(i=t.sr)||i.set(e.feature_flag_key,e));var r=t._instance.getFeatureFlag(e.feature_flag_key);L(r)&&e.variants[r]&&t.nr(e.name,r,e.variants[r].transforms)}else if(e.variants)for(var s in e.variants){var n=e.variants[s];la.ar(n)&&t.nr(e.name,s,n.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}onFeatureFlags(e){if(this._is_bot())la.rr("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(j(this.sr))return this.sr=new Map,this.loadIfEnabled(),void this.previewWebExperiment();la.rr("applying feature flags",e),e.forEach(e=>{var t;if(this.sr&&null!=(t=this.sr)&&t.has(e)){var i,r=this._instance.getFeatureFlag(e),s=null==(i=this.sr)?void 0:i.get(e);r&&null!=s&&s.variants[r]&&this.nr(s.name,r,s.variants[r].transforms)}})}}previewWebExperiment(){var e=la.getWindowLocation();if(null!=e&&e.search){var t=si(null==e?void 0:e.search,"__experiment_id"),i=si(null==e?void 0:e.search,"__experiment_variant");t&&i&&(la.rr("previewing web experiments "+t+" && "+i),this.getWebExperiments(e=>{this.lr(parseInt(t),i,e)},!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,i){if(this._instance.config.disable_web_experiments&&!i)return e([]);var r=this._instance.get_property("$web_experiments");if(r&&!t)return e(r);this._instance.ci({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:t=>{if(200!==t.statusCode||!t.json)return e([]);var i=t.json.experiments||[];return e(i)}})}lr(e,t,i){var r=i.filter(t=>t.id===e);r&&r.length>0&&(la.rr("Previewing web experiment ["+r[0].name+"] with variant ["+t+"]"),this.nr(r[0].name,t,r[0].variants[t].transforms))}static ar(e){return!j(e.conditions)&&la.ur(e)&&la.hr(e)}static ur(e){var t;if(j(e.conditions)||j(null==(t=e.conditions)?void 0:t.url))return!0;var i,r,s,n=la.getWindowLocation();return!!n&&(null==(i=e.conditions)||!i.url||oa[null!==(r=null==(s=e.conditions)?void 0:s.urlMatchType)&&void 0!==r?r:"icontains"](e.conditions.url,n))}static getWindowLocation(){return null==r?void 0:r.location}static hr(e){var t;if(j(e.conditions)||j(null==(t=e.conditions)?void 0:t.utm))return!0;var i=Kr();if(i.utm_source){var r,s,n,a,o,l,c,u,h=null==(r=e.conditions)||null==(r=r.utm)||!r.utm_campaign||(null==(s=e.conditions)||null==(s=s.utm)?void 0:s.utm_campaign)==i.utm_campaign,d=null==(n=e.conditions)||null==(n=n.utm)||!n.utm_source||(null==(a=e.conditions)||null==(a=a.utm)?void 0:a.utm_source)==i.utm_source,p=null==(o=e.conditions)||null==(o=o.utm)||!o.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==i.utm_medium,v=null==(c=e.conditions)||null==(c=c.utm)||!c.utm_term||(null==(u=e.conditions)||null==(u=u.utm)?void 0:u.utm_term)==i.utm_term;return h&&p&&v&&d}return!1}static rr(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];Pe.info("[WebExperiments] "+e,i)}nr(e,t,i){this._is_bot()?la.rr("Refusing to render web experiment since the viewer is a likely bot"):"control"!==t?i.forEach(i=>{if(i.selector){var r;la.rr("applying transform of variant "+t+" for experiment "+e+" ",i);var s=null==(r=document)?void 0:r.querySelectorAll(i.selector);null==s||s.forEach(e=>{var t=e;i.html&&(t.innerHTML=i.html),i.css&&t.setAttribute("style",i.css)})}}):la.rr("Control variants leave the page unmodified.")}_is_bot(){return l&&this._instance?ra(l,this._instance.config.custom_blocked_useragents):void 0}}var ca=Fe("[PostHog ExternalIntegrations]"),ua={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class ha{constructor(e){this._instance=e}it(e,t){var i;null==(i=g.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,e,e=>{if(e)return ca.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e=this,t=function(t){var i,s,n;!r||null!=(i=g.__PosthogExtensions__)&&null!=(i=i.integrations)&&i[t]||e.it(ua[t],()=>{var i;null==(i=g.__PosthogExtensions__)||null==(i=i.integrations)||null==(i=i[t])||i.start(e._instance)}),!r&&null!=(s=g.__PosthogExtensions__)&&null!=(s=s.integrations)&&s[t]&&(null==(n=g.__PosthogExtensions__)||null==(n=n.integrations)||null==(n=n[t])||n.stop())};for(var[i,r]of Object.entries(null!==(s=this._instance.config.integrations)&&void 0!==s?s:{})){var s;t(i)}}}var da="[SessionRecording]",pa=Fe(da);class va{get started(){var e;return!(null==(e=this.vr)||!e.isStarted)}get status(){return this.vr?this.vr.status:this.dr&&!this.cr?"disabled":"lazy_loading"}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.dr=!1,this.pr=void 0,this._instance=e,!this._instance.sessionManager)throw pa.error("started without valid sessionManager"),new Error(da+" started without valid sessionManager. This is a bug.");if("always"===this._instance.config.cookieless_mode)throw new Error(da+' cannot be used with cookieless_mode="always"')}get cr(){var e,t=!(null==(e=this._instance.get_property(et))||!e.enabled),i=!this._instance.config.disable_session_recording,s=this._instance.config.disable_session_recording||this._instance.consent.isOptedOut();return r&&t&&i&&!s}startIfEnabledOrStop(e){var t;if(!this.cr||null==(t=this.vr)||!t.isStarted){var i=!M(Object.assign)&&!M(Array.from);this.cr&&i?(this.gr(e),pa.info("starting")):this.stopRecording()}}gr(e){var t,i,r;this.cr&&(null!=g&&null!=(t=g.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(i=g.__PosthogExtensions__)&&i.initSessionRecording?this._r(e):null==(r=g.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,this.mr,t=>{if(t)return pa.error("could not load recorder",t);this._r(e)}))}stopRecording(){var e,t;null==(e=this.pr)||e.call(this),this.pr=void 0,null==(t=this.vr)||t.stop()}yr(){var e;null==(e=this._instance.persistence)||e.unregister(it)}br(e){if(this._instance.persistence){var t,i,r=this._instance.persistence,s=()=>{var t=!1===e.sessionRecording?void 0:e.sessionRecording,i=null==t?void 0:t.sampleRate,s=j(i)?null:parseFloat(i);j(s)&&this.yr();var n=null==t?void 0:t.minimumDurationMilliseconds;r.register({[et]:y({enabled:!!t},t,{networkPayloadCapture:y({capturePerformance:e.capturePerformance},null==t?void 0:t.networkPayloadCapture),canvasRecording:{enabled:null==t?void 0:t.recordCanvas,fps:null==t?void 0:t.canvasFps,quality:null==t?void 0:t.canvasQuality},sampleRate:s,minimumDurationMilliseconds:M(n)?null:n,endpoint:null==t?void 0:t.endpoint,triggerMatchType:null==t?void 0:t.triggerMatchType,masking:null==t?void 0:t.masking,urlTriggers:null==t?void 0:t.urlTriggers})})};s(),null==(t=this.pr)||t.call(this),this.pr=null==(i=this._instance.sessionManager)?void 0:i.onSessionId(s)}}onRemoteConfig(e){"sessionRecording"in e?!1!==e.sessionRecording?(this.br(e),this.dr=!0,this.startIfEnabledOrStop()):this.dr=!0:pa.info("skipping remote config with no sessionRecording",e)}log(e,t){var i;void 0===t&&(t="log"),null!=(i=this.vr)&&i.log?this.vr.log(e,t):pa.warn("log called before recorder was ready")}get mr(){var e,t,i=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(et);return(null==i||null==(t=i.scriptConfig)?void 0:t.script)||"lazy-recorder"}_r(e){var t,i;if(null==(t=g.__PosthogExtensions__)||!t.initSessionRecording)throw Error("Called on script loaded before session recording is available");this.vr||(this.vr=null==(i=g.__PosthogExtensions__)?void 0:i.initSessionRecording(this._instance),this.vr._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),this.vr.start(e)}onRRwebEmit(e){var t;null==(t=this.vr)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.vr||null==(t=this._instance.persistence)||t.register({$replay_override_linked_flag:!0}),null==(e=this.vr)||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.vr||null==(t=this._instance.persistence)||t.register({$replay_override_sampling:!0}),null==(e=this.vr)||e.overrideSampling()}overrideTrigger(e){var t,i;this.vr||null==(i=this._instance.persistence)||i.register({["url"===e?"$replay_override_url_trigger":"$replay_override_event_trigger"]:!0}),null==(t=this.vr)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.vr)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var i;return!(null==(i=this.vr)||!i.tryAddCustomEvent(e,t))}}var ga={},_a=()=>{},fa="posthog",ma=!Ws&&-1===(null==v?void 0:v.indexOf("MSIE"))&&-1===(null==v?void 0:v.indexOf("Mozilla")),ya=e=>{var t;return y({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:He(null==c?void 0:c.location),persistence:"localStorage+cookie",persistence_name:"",loaded:_a,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",__preview_deferred_init_extensions:!1,debug:u&&L(null==u?void 0:u.search)&&-1!==u.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==r||null==(t=r.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:e=>{var t="Bad HTTP status: "+e.statusCode+" "+e.text;Pe.error(t)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:Gn},error_tracking:{},_onCapture:_a,__preview_eager_load_replay:!1},(e=>({rageclick:!(e&&e>="2025-11-30")||{content_ignorelist:!0},capture_pageview:!(e&&e>="2025-05-24")||"history_change",session_recording:e&&e>="2025-11-30"?{strictMinimumDuration:!0}:{}}))(e))},ba=e=>{var t={};M(e.process_person)||(t.person_profiles=e.process_person),M(e.xhr_headers)||(t.request_headers=e.xhr_headers),M(e.cookie_name)||(t.persistence_name=e.cookie_name),M(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),M(e.store_google)||(t.save_campaign_params=e.store_google),M(e.verbose)||(t.debug=e.verbose);var i=Te({},t,e);return C(e.property_blacklist)&&(M(e.property_denylist)?i.property_denylist=e.property_blacklist:C(e.property_denylist)?i.property_denylist=[...e.property_blacklist,...e.property_denylist]:Pe.error("Invalid value for property_denylist config: "+e.property_denylist)),i};class wa{constructor(){this.__forceAllowLocalhost=!1}get wr(){return this.__forceAllowLocalhost}set wr(e){Pe.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class Ea{get decideEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}get flagsEndpointWasHit(){var e,t;return null!==(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&void 0!==e&&e}constructor(){this.webPerformance=new wa,this.Sr=!1,this.version=_.LIB_VERSION,this.Er=new On,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=ya(),this.SentryIntegration=Bi,this.sentryIntegration=e=>function(e,t){var i=Ui(e,t);return{name:qi,processEvent:e=>i(e)}}(this,e),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.$r=!1,this.kr=null,this.Pr=null,this.Tr=null,this.featureFlags=new _n(this),this.toolbar=new Yi(this),this.scrollManager=new Xn(this),this.pageViewManager=new ps(this),this.surveys=new Hn(this),this.experiments=new la(this),this.exceptions=new nn(this),this.rateLimiter=new Un(this),this.requestRouter=new aa(this),this.consent=new Ci(this),this.externalIntegrations=new ha(this),this.people={set:(e,t,i)=>{var r=L(e)?{[e]:t}:e;this.setPersonProperties(r),null==i||i({})},set_once:(e,t,i)=>{var r=L(e)?{[e]:t}:e;this.setPersonProperties(void 0,r),null==i||i({})}},this.on("eventCaptured",e=>Pe.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,i){if(i&&i!==fa){var r,s=null!==(r=ga[i])&&void 0!==r?r:new Ea;return s._init(e,t,i),ga[i]=s,ga[fa][i]=s,s}return this._init(e,t,i)}_init(e,t,i){var s;if(void 0===t&&(t={}),M(e)||D(e))return Pe.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},t.debug=this.Rr(t.debug),this.Ir=t,this.Fr=[],t.person_profiles&&(this.Pr=t.person_profiles),this.set_config(Te({},ya(t.defaults),ba(t),{name:i,token:e})),this.config.on_xhr_error&&Pe.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:ti.GZipJS;var n=this.Cr();this.persistence=new mn(this.config,n),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new mn(y({},this.config,{persistence:"sessionStorage"}),n);var a=y({},this.persistence.props),o=y({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.Mr=new Wn(e=>this.Or(e),this.config.request_queue_config),this.Ar=new Yn(this),this.__request_queue=[];var l="always"===this.config.cookieless_mode||"on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut();if(l||(this.sessionManager=new Qn(this),this.sessionPropsManager=new Kn(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Pe.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.Dr(l)},0)):(Pe.info("Initializing extensions synchronously"),this.Dr(l)),_.DEBUG=_.DEBUG||this.config.debug,_.DEBUG&&Pe.info("Starting in debug mode",{this:this,config:t,thisC:y({},this.config),p:a,s:o}),void 0!==(null==(s=t.bootstrap)?void 0:s.distinctID)){var c,u,h=this.config.get_device_id(fi()),d=null!=(c=t.bootstrap)&&c.isIdentifiedID?h:t.bootstrap.distinctID;this.persistence.set_property(ht,null!=(u=t.bootstrap)&&u.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:t.bootstrap.distinctID,$device_id:d})}if(this.jr()){var p,v,g=Object.keys((null==(p=t.bootstrap)?void 0:p.featureFlags)||{}).filter(e=>{var i;return!(null==(i=t.bootstrap)||null==(i=i.featureFlags)||!i[e])}).reduce((e,i)=>{var r;return e[i]=(null==(r=t.bootstrap)||null==(r=r.featureFlags)?void 0:r[i])||!1,e},{}),f=Object.keys((null==(v=t.bootstrap)?void 0:v.featureFlagPayloads)||{}).filter(e=>g[e]).reduce((e,i)=>{var r,s;return null!=(r=t.bootstrap)&&null!=(r=r.featureFlagPayloads)&&r[i]&&(e[i]=null==(s=t.bootstrap)||null==(s=s.featureFlagPayloads)?void 0:s[i]),e},{});this.featureFlags.receivedFeatureFlags({featureFlags:g,featureFlagPayloads:f})}if(l)this.register_once({distinct_id:yt,$device_id:null},"");else if(!this.get_distinct_id()){var m=this.config.get_device_id(fi());this.register_once({distinct_id:m,$device_id:m},""),this.persistence.set_property(ht,"anonymous")}return Ue(r,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),t.segment?function(e,t){var i=e.config.segment;if(!i)return t();!function(e,t){var i=e.config.segment;if(!i)return t();var r=i=>{var r=()=>i.anonymousId()||fi();e.config.get_device_id=r,i.id()&&(e.register({distinct_id:i.id(),$device_id:r()}),e.persistence.set_property(ht,"identified")),t()},s=i.user();"then"in s&&R(s.then)?s.then(e=>r(e)):r(s)}(e,()=>{i.register((e=>{Promise&&Promise.resolve||Hi.warn("This browser does not have Promise support, and can not use the segment integration");var t=(t,i)=>{if(!i)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(Hi.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(Hi.info("UserId set, identifying with PostHog"),e.identify(t.event.userId));var r=e.calculateEventProperties(i,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>t(e,e.event.event),page:e=>t(e,"$pageview"),identify:e=>t(e,"$identify"),screen:e=>t(e,"$screen")}})(e)).then(()=>{t()})})}(this,()=>this.Lr()):this.Lr(),R(this.config._onCapture)&&this.config._onCapture!==_a&&(Pe.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&Pe.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Dr(e){var t=performance.now();this.historyAutocapture=new ji(this),this.historyAutocapture.startIfEnabled();var i=[];i.push(()=>{new Ji(this).startIfEnabledOrStop()}),i.push(()=>{var e;this.siteApps=new ia(this),null==(e=this.siteApps)||e.init()}),e||i.push(()=>{this.sessionRecording=new va(this),this.sessionRecording.startIfEnabledOrStop()}),this.config.disable_scroll_properties||i.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),i.push(()=>{this.autocapture=new ui(this),this.autocapture.startIfEnabled()}),i.push(()=>{this.surveys.loadIfEnabled()}),i.push(()=>{this.heatmaps=new ds(this),this.heatmaps.startIfEnabled()}),i.push(()=>{this.webVitalsAutocapture=new cs(this)}),i.push(()=>{this.exceptionObserver=new Di(this),this.exceptionObserver.startIfEnabled()}),i.push(()=>{this.deadClicksAutocapture=new Mi(this,Ai),this.deadClicksAutocapture.startIfEnabled()}),i.push(()=>{if(this.Nr){var e=this.Nr;this.Nr=void 0,this.fi(e)}}),this.Ur(i,t)}Ur(e,t){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-t>=30&&e.length>0)return void setTimeout(()=>{this.Ur(e,t)},0);var i=e.shift();if(i)try{i()}catch(e){Pe.error("Error initializing extension:",e)}}var r=Math.round(performance.now()-t);this.register_for_session({$sdk_debug_extensions_init_method:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",$sdk_debug_extensions_init_time_ms:r}),this.config.__preview_deferred_init_extensions&&Pe.info("PostHog extensions initialized ("+r+"ms)")}fi(e){var t,i,r,s,n,a,o,l;if(!c||!c.body)return Pe.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.fi(e)},500);this.config.__preview_deferred_init_extensions&&(this.Nr=e),this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=k(e.supportedCompression,ti.GZipJS)?ti.GZipJS:k(e.supportedCompression,ti.Base64)?ti.Base64:void 0),null!=(t=e.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.Pr?this.Pr:"identified_only"}),null==(i=this.siteApps)||i.onRemoteConfig(e),null==(r=this.sessionRecording)||r.onRemoteConfig(e),null==(s=this.autocapture)||s.onRemoteConfig(e),null==(n=this.heatmaps)||n.onRemoteConfig(e),this.surveys.onRemoteConfig(e),null==(a=this.webVitalsAutocapture)||a.onRemoteConfig(e),null==(o=this.exceptionObserver)||o.onRemoteConfig(e),this.exceptions.onRemoteConfig(e),null==(l=this.deadClicksAutocapture)||l.onRemoteConfig(e)}Lr(){try{this.config.loaded(this)}catch(e){Pe.critical("`loaded` function failed",e)}this.zr(),this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||"always"===this.config.cookieless_mode)&&this.Hr()},1),new Vn(this).load(),this.featureFlags.flags()}zr(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.Mr)||e.enable())}_dom_loaded(){this.is_capturing()&&Ce(this.__request_queue,e=>this.Or(e)),this.__request_queue=[],this.zr()}_handle_unload(){var e,t;this.config.request_batching?(this.Br()&&this.capture("$pageleave"),null==(e=this.Mr)||e.unload(),null==(t=this.Ar)||t.unload()):this.Br()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}ci(e){this.__loaded&&(ma?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=Ys(e.url,{ip:this.config.ip?1:0}),e.headers=y({},this.config.request_headers),e.compression="best-available"===e.compression?this.compression:e.compression,e.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,(e=>{var t,i,r,s=y({},e);s.timeout=s.timeout||6e4,s.url=Ys(s.url,{_:(new Date).getTime().toString(),ver:_.LIB_VERSION,compression:s.compression});var n=null!==(t=s.transport)&&void 0!==t?t:"fetch",a=Ks.filter(e=>!s.disableTransport||!e.transport||!s.disableTransport.includes(e.transport)),o=null!==(i=null==(r=qe(a,e=>e.transport===n))?void 0:r.method)&&void 0!==i?i:a[0].method;if(!o)throw new Error("No available transport method");o(s)})(y({},e,{callback:t=>{var i,r;this.rateLimiter.checkForLimiting(t),t.statusCode>=400&&(null==(i=(r=this.config).on_request_error)||i.call(r,t)),null==e.callback||e.callback(t)}}))))}Or(e){this.Ar?this.Ar.retriableRequest(e):this.ci(e)}_execute_array(e){var t,i=[],r=[],s=[];Ce(e,e=>{e&&(t=e[0],C(t)?s.push(e):R(e)?e.call(this):C(e)&&"alias"===t?i.push(e):C(e)&&-1!==t.indexOf("capture")&&R(this[t])?s.push(e):r.push(e))});var n=function(e,t){Ce(e,function(e){if(C(e[0])){var i=t;Re(e,function(e){i=i[e[0]].apply(i,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};n(i,this),n(r,this),n(s,this)}jr(){var e,t;return(null==(e=this.config.bootstrap)?void 0:e.featureFlags)&&Object.keys(null==(t=this.config.bootstrap)?void 0:t.featureFlags).length>0||!1}push(e){this._execute_array([e])}capture(e,t,i){var r;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Mr){if(this.is_capturing())if(!M(e)&&L(e)){var s=!this.config.opt_out_useragent_filter&&this._is_bot();if(!s||this.config.__preview_capture_bot_pageviews){var n=null!=i&&i.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==n||!n.isRateLimited){null!=t&&t.$current_url&&!L(null==t?void 0:t.$current_url)&&(Pe.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var a=new Date,o=(null==i?void 0:i.timestamp)||a,l=fi(),c={uuid:l,event:e,properties:this.calculateEventProperties(e,t||{},o,l)};"$pageview"===e&&this.config.__preview_capture_bot_pageviews&&s&&(c.event="$bot_pageview",c.properties.$browser_type="bot"),n&&(c.properties.$lib_rate_limit_remaining_tokens=n.remainingTokens),(null==i?void 0:i.$set)&&(c.$set=null==i?void 0:i.$set);var u,h=this.qr(null==i?void 0:i.$set_once);if(h&&(c.$set_once=h),(c=function(e,t){return i=e,r=e=>L(e)&&!N(t)?e.slice(0,t):e,s=new Set,function e(t,i){return t!==Object(t)?r?r(t):t:s.has(t)?void 0:(s.add(t),C(t)?(n=[],Ce(t,t=>{n.push(e(t))})):(n={},Re(t,(t,i)=>{s.has(t)||(n[i]=e(t))})),n);var n}(i);var i,r,s}(c,null!=i&&i._noTruncate?null:this.config.properties_string_max_length)).timestamp=o,M(null==i?void 0:i.timestamp)||(c.properties.$event_time_override_provided=!0,c.properties.$event_time_override_system_time=a),e===Fn.DISMISSED||e===Fn.SENT){var d=null==t?void 0:t[$n.SURVEY_ID],p=null==t?void 0:t[$n.SURVEY_ITERATION];u={id:d,current_iteration:p},localStorage.getItem(Ln(u))||localStorage.setItem(Ln(u),"true"),c.$set=y({},c.$set,{[Mn({id:d,current_iteration:p},e===Fn.SENT?"responded":"dismissed")]:!0})}var v=y({},c.properties.$set,c.$set);if(A(v)||this.setPersonPropertiesForFlags(v),!j(this.config.before_send)){var g=this.Wr(c);if(!g)return;c=g}this.Er.emit("eventCaptured",c);var _={method:"POST",url:null!==(r=null==i?void 0:i._url)&&void 0!==r?r:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:c,compression:"best-available",batchKey:null==i?void 0:i._batchKey};return!this.config.request_batching||i&&(null==i||!i._batchKey)||null!=i&&i.send_instantly?this.Or(_):this.Mr.enqueue(_),c}Pe.critical("This capture call is ignored due to client rate limiting.")}}else Pe.error("No event name provided to posthog.capture")}else Pe.uninitializedWarning("posthog.capture")}Ai(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,i,r,s){if(i=i||new Date,!this.persistence||!this.sessionPersistence)return t;var n=s?void 0:this.persistence.remove_event_timer(e),a=y({},t);if(a.token=this.config.token,a.$config_defaults=this.config.defaults,("always"==this.config.cookieless_mode||"on_reject"==this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut())&&(a.$cookieless_mode=!0),"$snapshot"===e){var o=y({},this.persistence.properties(),this.sessionPersistence.properties());return a.distinct_id=o.distinct_id,(!L(a.distinct_id)&&!H(a.distinct_id)||D(a.distinct_id))&&Pe.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),a}var l,u=as(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:h,windowId:d}=this.sessionManager.checkAndGetSessionAndWindowId(s,i.getTime());a.$session_id=h,a.$window_id=d}this.sessionPropsManager&&Te(a,this.sessionPropsManager.getSessionProps());try{var p;this.sessionRecording&&Te(a,this.sessionRecording.sdkDebugProperties),a.$sdk_debug_retry_queue_size=null==(p=this.Ar)?void 0:p.length}catch(e){a.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===sa.CUSTOM&&(a.$lib_custom_api_host=this.config.api_host),l="$pageview"!==e||s?"$pageleave"!==e||s?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(i):this.pageViewManager.doPageView(i,r),a=Te(a,l),"$pageview"===e&&c&&(a.title=c.title),!M(n)){var g=i.getTime()-n;a.$duration=parseFloat((g/1e3).toFixed(3))}v&&this.config.opt_out_useragent_filter&&(a.$browser_type=this._is_bot()?"bot":"browser"),(a=Te({},u,this.persistence.properties(),this.sessionPersistence.properties(),a)).$is_identified=this._isIdentified(),C(this.config.property_denylist)?Re(this.config.property_denylist,function(e){delete a[e]}):Pe.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var _=this.config.sanitize_properties;_&&(Pe.error("sanitize_properties is deprecated. Use before_send instead"),a=_(a,e));var f=this.Gr();return a.$process_person_profile=f,f&&!s&&this.Vr("_calculate_event_properties"),a}qr(e){var t;if(!this.persistence||!this.Gr())return e;if(this.Sr)return e;var i=this.persistence.get_initial_props(),r=null==(t=this.sessionPropsManager)?void 0:t.getSetOnceProps(),s=Te({},i,r||{},e||{}),n=this.config.sanitize_properties;return n&&(Pe.error("sanitize_properties is deprecated. Use before_send instead"),s=n(s,"$set_once")),this.Sr=!0,A(s)?void 0:s}register(e,t){var i;null==(i=this.persistence)||i.register(e,t)}register_once(e,t,i){var r;null==(r=this.persistence)||r.register_once(e,t,i)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}Jr(e,t){this.register({[e]:t})}getFeatureFlag(e,t){return this.featureFlags.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch(e){return t}}isFeatureEnabled(e,t){return this.featureFlags.isFeatureEnabled(e,t)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(e,t,i){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,t,i)}getEarlyAccessFeatures(e,t,i){return void 0===t&&(t=!1),this.featureFlags.getEarlyAccessFeatures(e,t,i)}on(e,t){return this.Er.on(e,t)}onFeatureFlags(e){return this.featureFlags.onFeatureFlags(e)}onSurveysLoaded(e){return this.surveys.onSurveysLoaded(e)}onSessionId(e){var t,i;return null!==(t=null==(i=this.sessionManager)?void 0:i.onSessionId(e))&&void 0!==t?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys.getSurveys(e,t)}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys.getActiveMatchingSurveys(e,t)}renderSurvey(e,t){this.surveys.renderSurvey(e,t)}displaySurvey(e,t){void 0===t&&(t=Nn),this.surveys.displaySurvey(e,t)}cancelPendingSurvey(e){this.surveys.cancelPendingSurvey(e)}canRenderSurvey(e){return this.surveys.canRenderSurvey(e)}canRenderSurveyAsync(e,t){return void 0===t&&(t=!1),this.surveys.canRenderSurveyAsync(e,t)}identify(e,t,i){if(!this.__loaded||!this.persistence)return Pe.uninitializedWarning("posthog.identify");if(H(e)&&(e=e.toString(),Pe.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),e)if(["distinct_id","distinctid"].includes(e.toLowerCase()))Pe.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.');else if(e!==yt){if(this.Vr("posthog.identify")){var r=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property("$device_id")){var s=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:s},"")}e!==r&&e!==this.get_property(Ve)&&(this.unregister(Ve),this.register({distinct_id:e}));var n="anonymous"===(this.persistence.get_property(ht)||"anonymous");e!==r&&n?(this.persistence.set_property(ht,"identified"),this.setPersonPropertiesForFlags(y({},i||{},t||{}),!1),this.capture("$identify",{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:i||{}}),this.Tr=Qs(e,t,i),this.featureFlags.setAnonymousDistinctId(r)):(t||i)&&this.setPersonProperties(t,i),e!==r&&(this.reloadFeatureFlags(),this.unregister(ut))}}else Pe.critical('The string "'+yt+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.');else Pe.error("Unique user id has not been set in posthog.identify")}setPersonProperties(e,t){if((e||t)&&this.Vr("posthog.setPersonProperties")){var i=Qs(this.get_distinct_id(),e,t);this.Tr!==i?(this.setPersonPropertiesForFlags(y({},t||{},e||{})),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.Tr=i):Pe.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(e,t,i){if(e&&t){if(this.Vr("posthog.group")){var r=this.getGroups();r[e]!==t&&this.resetGroupPropertiesForFlags(e),this.register({$groups:y({},r,{[e]:t})}),i&&(this.capture("$groupidentify",{$group_type:e,$group_key:t,$group_set:i}),this.setGroupPropertiesForFlags({[e]:i})),r[e]===t||i||this.reloadFeatureFlags()}}else Pe.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0),this.featureFlags.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0),this.Vr("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(e,t)}resetGroupPropertiesForFlags(e){this.featureFlags.resetGroupPropertiesForFlags(e)}reset(e){var t,i,r,s;if(Pe.info("reset"),!this.__loaded)return Pe.uninitializedWarning("posthog.reset");var n=this.get_property("$device_id");if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(i=this.sessionPersistence)||i.clear(),this.surveys.reset(),this.featureFlags.reset(),null==(r=this.persistence)||r.set_property(ht,"anonymous"),null==(s=this.sessionManager)||s.resetSessionId(),this.Tr=null,"always"===this.config.cookieless_mode)this.register_once({distinct_id:yt,$device_id:null},"");else{var a=this.config.get_device_id(fi());this.register_once({distinct_id:a,$device_id:e?a:n},"")}this.register({$last_posthog_reset:(new Date).toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!==(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)&&void 0!==e?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:t,sessionStartTimestamp:i}=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t);if(null!=e&&e.withTimestamp&&i){var s,n=null!==(s=e.timestampLookBack)&&void 0!==s?s:10;if(!i)return r;r+="?t="+Math.max(Math.floor(((new Date).getTime()-i)/1e3)-n,0)}return r}alias(e,t){return e===this.get_property(Be)?(Pe.critical("Attempting to create alias for existing People user - aborting."),-2):this.Vr("posthog.alias")?(M(t)&&(t=this.get_distinct_id()),e!==t?(this.Jr(Ve,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(Pe.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=y({},this.config);if(T(e)){var i,r,s,n,a;Te(this.config,ba(e));var o=this.Cr();null==(i=this.persistence)||i.update_config(this.config,t,o),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new mn(y({},this.config,{persistence:"sessionStorage"}),o);var l=this.Rr(this.config.debug);q(l)&&(this.config.debug=l),q(this.config.debug)&&(this.config.debug?(_.DEBUG=!0,xi.H()&&xi.G("ph_debug","true"),Pe.info("set_config",{config:e,oldConfig:t,newConfig:y({},this.config)})):(_.DEBUG=!1,xi.H()&&xi.V("ph_debug"))),null==(r=this.sessionRecording)||r.startIfEnabledOrStop(),null==(s=this.autocapture)||s.startIfEnabled(),null==(n=this.heatmaps)||n.startIfEnabled(),this.surveys.loadIfEnabled(),this.Kr(),null==(a=this.externalIntegrations)||a.startIfEnabledOrStop()}}startSessionRecording(e){var t,i,r,s,n,a=!0===e,o={sampling:a||!(null==e||!e.sampling),linked_flag:a||!(null==e||!e.linked_flag),url_trigger:a||!(null==e||!e.url_trigger),event_trigger:a||!(null==e||!e.event_trigger)};Object.values(o).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),o.sampling&&(null==(i=this.sessionRecording)||i.overrideSampling()),o.linked_flag&&(null==(r=this.sessionRecording)||r.overrideLinkedFlag()),o.url_trigger&&(null==(s=this.sessionRecording)||s.overrideTrigger("url")),o.event_trigger&&(null==(n=this.sessionRecording)||n.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){var i=new Error("PostHog syntheticException"),r=this.exceptions.buildProperties(e,{handled:!0,syntheticException:i});return this.exceptions.sendExceptionEvent(y({},r,t))}loadToolbar(e){return this.toolbar.loadToolbar(e)}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!==(e=this.config.name)&&void 0!==e?e:fa;return t!==fa&&(t=fa+"."+t),t}_isIdentified(){var e,t;return"identified"===(null==(e=this.persistence)?void 0:e.get_property(ht))||"identified"===(null==(t=this.sessionPersistence)?void 0:t.get_property(ht))}Gr(){var e,t;return!("never"===this.config.person_profiles||"identified_only"===this.config.person_profiles&&!this._isIdentified()&&A(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[Ve])&&(null==(t=this.persistence)||null==(t=t.props)||!t[ft]))}Br(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.Gr()||this.Vr("posthog.createPersonProfile")&&this.setPersonProperties({},{})}Vr(e){return"never"===this.config.person_profiles?(Pe.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.Jr(ft,!0),!0)}Cr(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut(),t=this.config.opt_out_persistence_by_default||"on_reject"===this.config.cookieless_mode;return this.config.disable_persistence||e&&!!t}Kr(){var e,t,i,r,s=this.Cr();return(null==(e=this.persistence)?void 0:e.wi)!==s&&(null==(i=this.persistence)||i.set_disabled(s)),(null==(t=this.sessionPersistence)?void 0:t.wi)!==s&&(null==(r=this.sessionPersistence)||r.set_disabled(s)),s}opt_in_capturing(e){var t,i,r;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isExplicitlyOptedOut()&&(this.reset(!0),null==(i=this.sessionManager)||i.destroy(),this.sessionManager=new Qn(this),this.persistence&&(this.sessionPropsManager=new Kn(this,this.sessionManager,this.persistence)),this.sessionRecording=new va(this),this.sessionRecording.startIfEnabledOrStop()),this.consent.optInOut(!0),this.Kr(),this.zr(),null==(t=this.sessionRecording)||t.startIfEnabledOrStop(),"on_reject"==this.config.cookieless_mode&&this.surveys.loadIfEnabled(),(M(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!==(r=null==e?void 0:e.captureEventName)&&void 0!==r?r:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Hr()):Pe.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}opt_out_capturing(){var e,t;"always"!==this.config.cookieless_mode?("on_reject"===this.config.cookieless_mode&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.Kr(),"on_reject"===this.config.cookieless_mode&&(this.register({distinct_id:yt,$device_id:null}),null==(e=this.sessionManager)||e.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,null==(t=this.sessionRecording)||t.stopRecording(),this.sessionRecording=void 0,this.Hr())):Pe.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return e===Oi.GRANTED?"granted":e===Oi.DENIED?"denied":"pending"}is_capturing(){return"always"===this.config.cookieless_mode||("on_reject"===this.config.cookieless_mode?this.consent.isExplicitlyOptedOut()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.Kr()}_is_bot(){return l?ra(l,this.config.custom_blocked_useragents):void 0}Hr(){c&&("visible"===c.visibilityState?this.$r||(this.$r=!0,this.capture("$pageview",{title:c.title},{send_instantly:!0}),this.kr&&(c.removeEventListener("visibilitychange",this.kr),this.kr=null)):this.kr||(this.kr=this.Hr.bind(this),Ue(c,"visibilitychange",this.kr)))}debug(e){!1===e?(null==r||r.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==r||r.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}O(){var e,t,i,r,s,n,a=this.Ir||{};return"advanced_disable_flags"in a?!!a.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(Pe.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(i="advanced_disable_decide",r=Pe,s=(t="advanced_disable_flags")in(e=a)&&!M(e[t]),n=i in e&&!M(e[i]),s?e[t]:!!n&&(r&&r.warn("Config field '"+i+"' is deprecated. Please use '"+t+"' instead. The old field will be removed in a future major version."),e[i]))}Wr(e){if(j(this.config.before_send))return e;var t=C(this.config.before_send)?this.config.before_send:[this.config.before_send],i=e;for(var r of t){if(i=r(i),j(i)){var s="Event '"+e.event+"' was rejected in beforeSend function";return U(e.event)?Pe.warn(s+". This can cause unexpected behavior."):Pe.info(s),null}i.properties&&!A(i.properties)||Pe.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}return i}getPageViewId(){var e;return null==(e=this.pageViewManager.Vt)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,i){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(i)})}Rr(e){var t=q(e)&&!e,i=xi.H()&&"true"===xi.q("ph_debug");return!t&&(!!i||e)}}!function(e,t){for(var i=0;i<t.length;i++)e.prototype[t[i]]=De(e.prototype[t[i]])}(Ea,["identify"]);var xa,ka=(xa=ga[fa]=new Ea,function(){function e(){e.done||(e.done=!0,ma=!1,Re(ga,function(e){e._dom_loaded()}))}null!=c&&c.addEventListener?"complete"===c.readyState?e():Ue(c,"DOMContentLoaded",e,{capture:!1}):r&&Pe.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),xa)}}]);
|